1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../netkit-base/configure.patch.cross
5 # Copyright (C) 2009 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- netkit-base-0.17/configure.vanilla 2009-03-20 10:37:27.000000000 +0100
18 +++ netkit-base-0.17/configure 2009-03-20 10:38:50.000000000 +0100
20 for TRY in egcs gcc g++ CC c++ cc; do
22 $TRY __conftest.c -o __conftest || exit 1;
23 - ./__conftest || exit 1;
24 +# ./__conftest || exit 1;
25 ) >/dev/null 2>&1 || continue;
29 echo -n 'Checking if C compiler works... '
31 $CC __conftest.c -o __conftest || exit 1
32 - ./__conftest || exit 1
33 +# ./__conftest || exit 1
34 ) >/dev/null 2>&1; then
40 $CC $CFLAGS __conftest.c -o __conftest || exit 1
41 - ./__conftest || exit 1
42 +# ./__conftest || exit 1
43 ) >/dev/null 2>&1; then
49 $CC $CFLAGS -D_GNU_SOURCE __conftest.c -o __conftest || exit 1
50 - ./__conftest || exit 1
51 +# ./__conftest || exit 1
52 ) >/dev/null 2>&1; then
54 CFLAGS="$CFLAGS -D_GNU_SOURCE"
58 $CC $CFLAGS __conftest.c $LIBBSD -o __conftest || exit 1
59 - ./__conftest || exit 1
60 +# ./__conftest || exit 1
61 ) >/dev/null 2>&1; then
65 $CC $CFLAGS __conftest.c -lsnprintf $LIBBSD -o __conftest || exit 1
66 - ./__conftest || exit 1
67 +# ./__conftest || exit 1
68 ) >/dev/null 2>&1; then
70 LIBS="$LIBS -lsnprintf"
73 $CC $CFLAGS __conftest.c -ldb $LIBBSD -o __conftest || exit 1
74 - ./__conftest || exit 1
75 +# ./__conftest || exit 1
76 ) >/dev/null 2>&1; then