[Packages] net/lighttpd: Update to 1.4.19
[openwrt/svn-archive/archive.git] / net / lighttpd / patches / 500-configure_cross.patch
1 Index: lighttpd-1.4.19/configure
2 ===================================================================
3 --- lighttpd-1.4.19.orig/configure 2008-03-11 20:34:42.000000000 +0100
4 +++ lighttpd-1.4.19/configure 2008-03-11 20:34:42.000000000 +0100
5 @@ -23971,7 +23971,7 @@
6 { echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
7 echo "${ECHO_T}$WITH_PCRE" >&6; }
8
9 -if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
10 +if test "$WITH_PCRE" != "no"; then
11 # Extract the first word of "pcre-config", so it can be a program name with args.
12 set dummy pcre-config; ac_word=$2
13 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14 Index: lighttpd-1.4.19/configure.in
15 ===================================================================
16 --- lighttpd-1.4.19.orig/configure.in 2008-03-11 20:34:42.000000000 +0100
17 +++ lighttpd-1.4.19/configure.in 2008-03-11 20:34:42.000000000 +0100
18 @@ -251,7 +251,7 @@
19 [WITH_PCRE=$withval],[WITH_PCRE=yes])
20 AC_MSG_RESULT([$WITH_PCRE])
21
22 -if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
23 +if test "$WITH_PCRE" != "no"; then
24 AC_PATH_PROG(PCRECONFIG, pcre-config)
25
26 if test x"$PCRECONFIG" != x; then