fixes compile for ldap module in php5
[openwrt/svn-archive/archive.git] / net / pure-ftpd / patches / 01-cross_compile.patch
1 --- pure-ftpd-1.0.21/configure 2006-02-19 15:33:05.000000000 +0100
2 +++ pure-ftpd-1.0.21.new/configure 2006-12-11 16:07:29.000000000 +0100
3 @@ -9273,7 +9273,7 @@
4 if test "$cross_compiling" = yes; then
5 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
6 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
7 - { (exit 1); exit 1; }; }
8 + }
9 else
10 cat >conftest.$ac_ext <<_ACEOF
11 /* confdefs.h. */
12 @@ -9679,7 +9679,7 @@
13 if test "$cross_compiling" = yes; then
14 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16 - { (exit 1); exit 1; }; }
17 + }
18 else
19 cat >conftest.$ac_ext <<_ACEOF
20 /* confdefs.h. */
21 @@ -10085,7 +10085,7 @@
22 if test "$cross_compiling" = yes; then
23 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
24 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
25 - { (exit 1); exit 1; }; }
26 + }
27 else
28 cat >conftest.$ac_ext <<_ACEOF
29 /* confdefs.h. */
30 @@ -10491,7 +10491,7 @@
31 if test "$cross_compiling" = yes; then
32 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
33 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
34 - { (exit 1); exit 1; }; }
35 + }
36 else
37 cat >conftest.$ac_ext <<_ACEOF
38 /* confdefs.h. */
39 @@ -10897,7 +10897,7 @@
40 if test "$cross_compiling" = yes; then
41 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
42 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
43 - { (exit 1); exit 1; }; }
44 + }
45 else
46 cat >conftest.$ac_ext <<_ACEOF
47 /* confdefs.h. */
48 @@ -21379,7 +21379,7 @@
49 See \`config.log' for more details." >&5
50 echo "$as_me: error: cannot run test program while cross compiling
51 See \`config.log' for more details." >&2;}
52 - { (exit 1); exit 1; }; }
53 + }
54 else
55 cat >conftest.$ac_ext <<_ACEOF
56 /* confdefs.h. */
57 @@ -21453,7 +21453,7 @@
58 See \`config.log' for more details." >&5
59 echo "$as_me: error: cannot run test program while cross compiling
60 See \`config.log' for more details." >&2;}
61 - { (exit 1); exit 1; }; }
62 + }
63 else
64 cat >conftest.$ac_ext <<_ACEOF
65 /* confdefs.h. */
66 @@ -21521,7 +21521,7 @@
67 See \`config.log' for more details." >&5
68 echo "$as_me: error: cannot run test program while cross compiling
69 See \`config.log' for more details." >&2;}
70 - { (exit 1); exit 1; }; }
71 + }
72 else
73 cat >conftest.$ac_ext <<_ACEOF
74 /* confdefs.h. */
75 @@ -21627,7 +21627,7 @@
76 See \`config.log' for more details." >&5
77 echo "$as_me: error: cannot run test program while cross compiling
78 See \`config.log' for more details." >&2;}
79 - { (exit 1); exit 1; }; }
80 + }
81 else
82 cat >conftest.$ac_ext <<_ACEOF
83 /* confdefs.h. */
84 @@ -21696,7 +21696,7 @@
85 See \`config.log' for more details." >&5
86 echo "$as_me: error: cannot run test program while cross compiling
87 See \`config.log' for more details." >&2;}
88 - { (exit 1); exit 1; }; }
89 + }
90 else
91 cat >conftest.$ac_ext <<_ACEOF
92 /* confdefs.h. */
93 @@ -22483,7 +22483,7 @@
94 See \`config.log' for more details." >&5
95 echo "$as_me: error: cannot run test program while cross compiling
96 See \`config.log' for more details." >&2;}
97 - { (exit 1); exit 1; }; }
98 + }
99 else
100 cat >conftest.$ac_ext <<_ACEOF
101 /* confdefs.h. */
102 @@ -22886,7 +22886,7 @@
103 See \`config.log' for more details." >&5
104 echo "$as_me: error: cannot run test program while cross compiling
105 See \`config.log' for more details." >&2;}
106 - { (exit 1); exit 1; }; }
107 + }
108 else
109 cat >conftest.$ac_ext <<_ACEOF
110 /* confdefs.h. */