fixes compile for ldap module in php5
[openwrt/svn-archive/archive.git] / net / yafc / patches / 01-cross_compile.patch
1 --- yafc-1.1.1/configure 2005-10-06 08:26:31.000000000 +0200
2 +++ yafc-1.1.1.new/configure 2006-07-11 13:40:21.000000000 +0200
3 @@ -24640,7 +24640,7 @@
4
5 fi
6
7 -
8 +cross_compiling=no
9 echo "$as_me:$LINENO: checking for presence of POSIX-style sigsetjmp/siglongjmp" >&5
10 echo $ECHO_N "checking for presence of POSIX-style sigsetjmp/siglongjmp... $ECHO_C" >&6
11 if test "${bash_cv_func_sigsetjmp+set}" = set; then
12 @@ -24659,7 +24659,7 @@
13 cat confdefs.h >>conftest.$ac_ext
14 cat >>conftest.$ac_ext <<_ACEOF
15 /* end confdefs.h. */
16 -
17 +cross_compiling=yes
18 #ifdef HAVE_UNISTD_H
19 #include <unistd.h>
20 #endif