# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../netkit-base/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-base-0.17/configure.vanilla 2009-03-20 10:37:27.000000000 +0100 +++ netkit-base-0.17/configure 2009-03-20 10:38:50.000000000 +0100 @@ -91,7 +91,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; @@ -107,7 +107,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 @@ -187,7 +187,7 @@ EOF if ( $CC $CFLAGS __conftest.c -o __conftest || exit 1 - ./__conftest || exit 1 +# ./__conftest || exit 1 ) >/dev/null 2>&1; then echo 'yes' else @@ -266,7 +266,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" @@ -297,20 +297,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"