Revert gcc check to reenable cross compiling

This commit is contained in:
Gerhard Rieger 2015-04-02 16:58:36 +02:00
parent 5c822eb3ef
commit 56f3f40771
3 changed files with 8 additions and 4 deletions

View file

@ -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 <sys/poll.h> instead of POSIX <poll.h>
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.

View file

@ -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

View file

@ -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