8f8099823fbc19ffa5fe1da9effb7187c52f0f3c
[openwrt/svn-archive/archive.git] / net / lighttpd / patches / 500-configure_cross.patch
1 diff -ruN lighttpd-1.4.2-old/configure lighttpd-1.4.2-new/configure
2 --- lighttpd-1.4.2-old/configure 2005-08-29 14:18:11.000000000 +0200
3 +++ lighttpd-1.4.2-new/configure 2005-09-01 09:06:29.000000000 +0200
4 @@ -23849,7 +23849,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 -ruN lighttpd-1.4.2-old/configure.in lighttpd-1.4.2-new/configure.in
14 --- lighttpd-1.4.2-old/configure.in 2005-08-29 14:06:03.000000000 +0200
15 +++ lighttpd-1.4.2-new/configure.in 2005-09-01 09:05:39.000000000 +0200
16 @@ -222,7 +222,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