# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/netkit-ftp/configure.patch.cross # Copyright (C) 2009 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-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"