# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../netkit-telnet/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-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"