From 33f17a17ad36a8d5bc64543419dedc4e61802140 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 9 Oct 2008 02:25:30 +0000 Subject: Finally figured out PCRE for lighttpd. git-svn-id: http://svn.telesphoreo.org/trunk@489 514c082c-b64e-11dc-b46d-3d985efe055d --- data/lighttpd/pcre.diff | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 data/lighttpd/pcre.diff (limited to 'data/lighttpd/pcre.diff') diff --git a/data/lighttpd/pcre.diff b/data/lighttpd/pcre.diff new file mode 100644 index 000000000..11cf2da07 --- /dev/null +++ b/data/lighttpd/pcre.diff @@ -0,0 +1,23 @@ +diff -ru lighttpd-1.4.18/configure.in lighttpd-1.4.18+iPhone/configure.in +--- lighttpd-1.4.18/configure.in 2007-08-29 00:49:56.000000000 +0000 ++++ lighttpd-1.4.18+iPhone/configure.in 2008-10-09 02:21:21.000000000 +0000 +@@ -259,15 +259,16 @@ + CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`" + OLDLIBS="$LIBS" + LIBS="$LIBS $PCRE_LIB" ++ LIBS="$OLDLIBS" ++ fi ++fi ++ + 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 + + AC_SUBST(PCRE_LIB) + -- cgit v1.2.3