update lighttpd from 1.4.11 to 1.4.13
[openwrt/svn-archive/archive.git] / net / lighttpd / patches / 500-configure_cross.patch
1 diff -ubr /tmp/lighttpd-1.4.13/configure lighttpd-1.4.13/configure
2 --- /tmp/lighttpd-1.4.13/configure 2006-10-09 16:39:03.000000000 -0500
3 +++ lighttpd-1.4.13/configure 2007-03-03 19:45:44.000000000 -0600
4 @@ -24587,7 +24587,7 @@
5 echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
6 echo "${ECHO_T}$WITH_PCRE" >&6
7
8 -if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
9 +if test "$WITH_PCRE" != "no"; then
10 # Extract the first word of "pcre-config", so it can be a program name with args.
11 set dummy pcre-config; ac_word=$2
12 echo "$as_me:$LINENO: checking for $ac_word" >&5
13 diff -ubr /tmp/lighttpd-1.4.13/configure.in lighttpd-1.4.13/configure.in
14 --- /tmp/lighttpd-1.4.13/configure.in 2006-10-09 11:19:34.000000000 -0500
15 +++ lighttpd-1.4.13/configure.in 2007-03-03 19:50:50.000000000 -0600
16 @@ -250,7 +250,7 @@
17 [WITH_PCRE=$withval],[WITH_PCRE=yes])
18 AC_MSG_RESULT([$WITH_PCRE])
19
20 -if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
21 +if test "$WITH_PCRE" != "no"; then
22 AC_PATH_PROG(PCRECONFIG, pcre-config)
23
24 if test x"$PCRECONFIG" != x; then