1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 02:35:32 +03:00
openwrt-xburst/package/lighttpd/patches/500-configure_cross.patch
nico 2ae131f548 update to new upstream release (v1.4.2),
fix pcre detection in configure (thanks bero for reporting)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-01 07:18:47 +00:00

25 lines
1.1 KiB
Diff

diff -ruN lighttpd-1.4.2-old/configure lighttpd-1.4.2-new/configure
--- lighttpd-1.4.2-old/configure 2005-08-29 14:18:11.000000000 +0200
+++ lighttpd-1.4.2-new/configure 2005-09-01 09:06:29.000000000 +0200
@@ -23849,7 +23849,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 "$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 -ruN lighttpd-1.4.2-old/configure.in lighttpd-1.4.2-new/configure.in
--- lighttpd-1.4.2-old/configure.in 2005-08-29 14:06:03.000000000 +0200
+++ lighttpd-1.4.2-new/configure.in 2005-09-01 09:05:39.000000000 +0200
@@ -222,7 +222,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 "$WITH_PCRE" != "no"; then
AC_PATH_PROG(PCRECONFIG, pcre-config)
if test x"$PCRECONFIG" != x; then