Dash:
[t2.git] / package / network / netkit-base / configure.patch.cross
blobd69a43d75df8ce49c70eb5c8624720607208a94c
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: package/.../netkit-base/configure.patch.cross
5 # Copyright (C) 2009 The T2 SDE Project
6
7 # More information can be found in the files COPYING and README.
8
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
14 # version.
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
19 @@ -91,7 +91,7 @@
20      for TRY in egcs gcc g++ CC c++ cc; do
21         (
22             $TRY __conftest.c -o __conftest || exit 1;
23 -           ./__conftest || exit 1;
24 +#           ./__conftest || exit 1;
25         ) >/dev/null 2>&1 || continue;
26         CC=$TRY
27         break;
28 @@ -107,7 +107,7 @@
29      echo -n 'Checking if C compiler works... '
30      if (
31            $CC __conftest.c -o __conftest || exit 1
32 -          ./__conftest || exit 1
33 +#          ./__conftest || exit 1
34         ) >/dev/null 2>&1; then
35           echo 'yes'
36       else
37 @@ -187,7 +187,7 @@
38  EOF
39  if (
40        $CC $CFLAGS  __conftest.c  -o __conftest || exit 1
41 -      ./__conftest || exit 1
42 +#      ./__conftest || exit 1
43     ) >/dev/null 2>&1; then
44      echo 'yes'
45  else
46 @@ -266,7 +266,7 @@
47  else
48      if (
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
53          echo '-D_GNU_SOURCE'
54          CFLAGS="$CFLAGS -D_GNU_SOURCE"
55 @@ -297,20 +297,20 @@
56  EOF
57  if (
58        $CC $CFLAGS  __conftest.c $LIBBSD -o __conftest || exit 1
59 -      ./__conftest || exit 1
60 +#      ./__conftest || exit 1
61     ) >/dev/null 2>&1; then
62      echo 'ok'
63  else
64      if (
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
69          echo '-lsnprintf'
70          LIBS="$LIBS -lsnprintf"
71      else
72          if (
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
77              echo '-ldb'
78              LIBS="$LIBS -ldb"