From 56f3f4077138b1366747d0824f5008b97e1d3d9b Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Thu, 2 Apr 2015 16:58:36 +0200 Subject: [PATCH] Revert gcc check to reenable cross compiling --- CHANGES | 6 +++++- configure.in | 2 +- test.sh | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 8bbff21..0af2d9e 100644 --- a/CHANGES +++ b/CHANGES @@ -190,7 +190,7 @@ corrections: Test: IGNOREEOF_REV Thanks to Franz Fasching for reporting this bug. - Address SYSTEM, when terminating, shutted down its parent addresses, + Address SYSTEM, when terminating, shut down its parent addresses, e.g. an SSL connection which the parent assumed to still be active. Test: SYSTEM_SHUTDOWN @@ -305,6 +305,10 @@ porting: Socat included instead of POSIX Thanks to John Spencer for reporting this issue. + Version 1.7.2.4 changed the check for gcc in configure.ac; this + broke cross compiling. The particular check gets reverted. + Thanks to Ross Burton and Danomi Manchego for reporting this issue. + new features: added option max-children that limits the number of concurrent child processes. Thanks to Sam Liddicott for providing the patch. diff --git a/configure.in b/configure.in index 3716fe8..9430290 100644 --- a/configure.in +++ b/configure.in @@ -41,7 +41,7 @@ AC_CHECK_PROG(AR, ar, ar, gar) # fail AC_LANG_COMPILER_REQUIRE() -if test "$CC" = "gcc"; then +if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses" ERRONWARN="-Werror -O0" elif test "$CC" = "clang"; then diff --git a/test.sh b/test.sh index c9446b8..d7826fe 100755 --- a/test.sh +++ b/test.sh @@ -190,8 +190,8 @@ case "$UNAME" in # ;; *) #PTYOPTS="echo=0,opost=0" - #PTYOPTS2="raw,echo=0" - PTYOPTS2="rawer" + PTYOPTS2="raw,echo=0" + #PTYOPTS2="rawer" ;; esac