1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../netkit-telnet/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-telnet-0.17/configure.vanilla 2009-03-20 10:55:22.000000000 +0100
18 +++ netkit-telnet-0.17/configure 2009-03-20 10:56:05.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
38 for TRY in egcs gcc g++ CC c++ cc; do
40 $TRY __conftest.cc -o __conftest || exit 1;
41 - ./__conftest || exit 1;
42 +# ./__conftest || exit 1;
43 ) >/dev/null 2>&1 || continue;
47 echo -n 'Checking if C++ compiler works... '
49 $CXX __conftest.cc -o __conftest || exit 1
50 - ./__conftest || exit 1
51 +# ./__conftest || exit 1
52 ) >/dev/null 2>&1; then
58 $CXX $CXXFLAGS __conftest.cc -o __conftest || exit 1
59 - ./__conftest || exit 1
60 +# ./__conftest || exit 1
61 ) >/dev/null 2>&1; then
65 $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc -o __conftest || exit 1
66 - ./__conftest || exit 1
67 +รค ./__conftest || exit 1
68 ) >/dev/null 2>&1; then
69 echo '-D__USE_BSD_SIGNAL'
70 CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
74 $CXX $CXXFLAGS -D_GNU_SOURCE __conftest.cc -o __conftest || exit 1
75 - ./__conftest || exit 1
76 +# ./__conftest || exit 1
77 ) >/dev/null 2>&1; then
79 CFLAGS="$CFLAGS -D_GNU_SOURCE"
83 $CXX $CXXFLAGS __conftest.cc $LIBBSD -o __conftest || exit 1
84 - ./__conftest || exit 1
85 +# ./__conftest || exit 1
86 ) >/dev/null 2>&1; then
90 $CXX $CXXFLAGS __conftest.cc -lsnprintf $LIBBSD -o __conftest || exit 1
91 - ./__conftest || exit 1
92 +# ./__conftest || exit 1
93 ) >/dev/null 2>&1; then
95 LIBS="$LIBS -lsnprintf"
98 $CXX $CXXFLAGS __conftest.cc -ldb $LIBBSD -o __conftest || exit 1
99 - ./__conftest || exit 1
100 +# ./__conftest || exit 1
101 ) >/dev/null 2>&1; then