# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../netkit-ftp/configure.patch.cross # Copyright (C) 2009 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- netkit-ftp-0.17/configure.vanilla 2009-03-20 10:46:47.000000000 +0100 +++ netkit-ftp-0.17/configure 2009-03-20 10:47:54.000000000 +0100 @@ -70,7 +70,7 @@ for TRY in egcs gcc g++ CC c++ cc; do ( $TRY __conftest.c -o __conftest || exit 1; - ./__conftest || exit 1; +# ./__conftest || exit 1; ) >/dev/null 2>&1 || continue; CC=$TRY break; @@ -86,7 +86,7 @@ echo -n 'Checking if C compiler works... ' if ( $CC __conftest.c -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'yes' else @@ -166,13 +166,13 @@ EOF if ( $CC $CFLAGS __conftest.c -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'yes' else if ( $CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-D__USE_BSD_SIGNAL' CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL" @@ -348,7 +348,7 @@ else if ( $CC $CFLAGS -D_GNU_SOURCE __conftest.c -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-D_GNU_SOURCE' CFLAGS="$CFLAGS -D_GNU_SOURCE" @@ -379,20 +379,20 @@ EOF if ( $CC $CFLAGS __conftest.c $LIBBSD -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'ok' else if ( $CC $CFLAGS __conftest.c -lsnprintf $LIBBSD -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-lsnprintf' LIBS="$LIBS -lsnprintf" else if ( $CC $CFLAGS __conftest.c -ldb $LIBBSD -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-ldb' LIBS="$LIBS -ldb"