tag rc6
[openwrt/svn-archive/openwrt.git] / package / lighttpd / patches / 500-configure_cross.patch
diff --git a/package/lighttpd/patches/500-configure_cross.patch b/package/lighttpd/patches/500-configure_cross.patch
new file mode 100644 (file)
index 0000000..101a1f9
--- /dev/null
@@ -0,0 +1,42 @@
+diff -urN lighttpd-1.4.11/configure lighttpd-1.4.11.new/configure
+--- lighttpd-1.4.11/configure  2006-03-07 13:21:15.000000000 +0100
++++ lighttpd-1.4.11.new/configure      2006-07-25 13:27:58.000000000 +0200
+@@ -24524,7 +24524,7 @@
+     LIBS="$OLDLIBS"
+-fi
++#fi
+ echo "$as_me:$LINENO: checking for perl regular expressions support" >&5
+ echo $ECHO_N "checking for perl regular expressions support... $ECHO_C" >&6
+@@ -24539,7 +24539,7 @@
+ echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
+ echo "${ECHO_T}$WITH_PCRE" >&6
+-if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
++#if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
+   # Extract the first word of "pcre-config", so it can be a program name with args.
+ set dummy pcre-config; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+diff -urN lighttpd-1.4.11/configure.in lighttpd-1.4.11.new/configure.in
+--- lighttpd-1.4.11/configure.in       2006-03-04 15:32:38.000000000 +0100
++++ lighttpd-1.4.11.new/configure.in   2006-07-25 13:28:07.000000000 +0200
+@@ -250,7 +250,7 @@
+     [WITH_PCRE=$withval],[WITH_PCRE=yes])
+ AC_MSG_RESULT([$WITH_PCRE])
+-if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
++#if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
+   AC_PATH_PROG(PCRECONFIG, pcre-config)
+   if test x"$PCRECONFIG" != x; then 
+@@ -266,7 +266,7 @@
+     ])
+     LIBS="$OLDLIBS"
+   fi
+-fi
++#fi
+ AC_SUBST(PCRE_LIB)