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