# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/netkit-telnet/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-telnet-0.17/configure.vanilla 2009-03-20 10:55:22.000000000 +0100 +++ netkit-telnet-0.17/configure 2009-03-20 10:56:05.000000000 +0100 @@ -78,7 +78,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; @@ -94,7 +94,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 @@ -125,7 +125,7 @@ for TRY in egcs gcc g++ CC c++ cc; do ( $TRY __conftest.cc -o __conftest || exit 1; - ./__conftest || exit 1; +# ./__conftest || exit 1; ) >/dev/null 2>&1 || continue; CXX=$TRY break; @@ -141,7 +141,7 @@ echo -n 'Checking if C++ compiler works... ' if ( $CXX __conftest.cc -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'yes' else @@ -278,13 +278,13 @@ EOF if ( $CXX $CXXFLAGS __conftest.cc -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'yes' else if ( $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc -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" @@ -468,7 +468,7 @@ else if ( $CXX $CXXFLAGS -D_GNU_SOURCE __conftest.cc -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-D_GNU_SOURCE' CFLAGS="$CFLAGS -D_GNU_SOURCE" @@ -501,20 +501,20 @@ EOF if ( $CXX $CXXFLAGS __conftest.cc $LIBBSD -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'ok' else if ( $CXX $CXXFLAGS __conftest.cc -lsnprintf $LIBBSD -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-lsnprintf' LIBS="$LIBS -lsnprintf" else if ( $CXX $CXXFLAGS __conftest.cc -ldb $LIBBSD -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo '-ldb' LIBS="$LIBS -ldb"