1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../netkit-ftp/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-ftp-0.17/configure.vanilla 2009-03-20 10:46:47.000000000 +0100
18 +++ netkit-ftp-0.17/configure 2009-03-20 10:47:54.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
47 $CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1
48 - ./__conftest || exit 1
49 +# ./__conftest || exit 1
50 ) >/dev/null 2>&1; then
51 echo '-D__USE_BSD_SIGNAL'
52 CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
56 $CC $CFLAGS -D_GNU_SOURCE __conftest.c -o __conftest || exit 1
57 - ./__conftest || exit 1
58 +# ./__conftest || exit 1
59 ) >/dev/null 2>&1; then
61 CFLAGS="$CFLAGS -D_GNU_SOURCE"
65 $CC $CFLAGS __conftest.c $LIBBSD -o __conftest || exit 1
66 - ./__conftest || exit 1
67 +# ./__conftest || exit 1
68 ) >/dev/null 2>&1; then
72 $CC $CFLAGS __conftest.c -lsnprintf $LIBBSD -o __conftest || exit 1
73 - ./__conftest || exit 1
74 +# ./__conftest || exit 1
75 ) >/dev/null 2>&1; then
77 LIBS="$LIBS -lsnprintf"
80 $CC $CFLAGS __conftest.c -ldb $LIBBSD -o __conftest || exit 1
81 - ./__conftest || exit 1
82 +# ./__conftest || exit 1
83 ) >/dev/null 2>&1; then