aboutsummaryrefslogtreecommitdiffstats
path: root/packages/lighttpd/lighttpd/configure.in.patch
blob: 772103cf76a12511f1d0ca169a61463bc447a788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Index: lighttpd-1.4.13/configure.in
===================================================================
--- lighttpd-1.4.13.orig/configure.in	2006-10-09 18:19:34.000000000 +0200
+++ lighttpd-1.4.13/configure.in	2007-02-13 18:42:34.000000000 +0100
@@ -250,23 +250,23 @@
     [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
+#  if test x"$PCRECONFIG" != x; then
     PCRE_LIB=`$PCRECONFIG --libs`
     CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
     OLDLIBS="$LIBS"
     LIBS="$LIBS $PCRE_LIB"
-    AC_CHECK_LIB(pcre, pcre_compile, [
+#    AC_CHECK_LIB(pcre, pcre_compile, [
       AC_CHECK_HEADERS([pcre.h], [
         AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
         AC_DEFINE([HAVE_PCRE_H], [1])
       ])
-    ])
+#    ])
     LIBS="$OLDLIBS"
-  fi
-fi
+#  fi
+fi
 
 AC_SUBST(PCRE_LIB)