Project

General

Profile

Bug #2276 ยป lighttpd-pcre.patch

configure.ac patchfile - sshore-iders, 2010-11-29 21:46

View differences:

lighttpd-1.4.28/configure.ac 2010-11-29 14:29:44.118624346 -0600
298 298
if test "$WITH_PCRE" != "no"; then
299 299
  AC_PATH_PROG(PCRECONFIG, pcre-config)
300 300

  
301
  if test x"$PCRECONFIG" != x; then
301
  if test "$WITH_PCRE" != "yes"; then
302
    PCRE_LIB="-L$WITH_PCRE/lib -lpcre"
303
    CPPFLAGS="$CPPFLAGS -I$WITH_PCRE/include"
304
    AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
305
    AC_DEFINE([HAVE_PCRE_H], [1], [pcre.h])
306
  elif test x"$PCRECONFIG" != x; then
302 307
    PCRE_LIB=`$PCRECONFIG --libs`
303 308
    CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
304 309
    AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
    (1-1/1)