Changeset 32968


Ignore:
Timestamp:
Aug 2, 2017, 1:16:25 AM (3 weeks ago)
Author:
brainslayer
Message:

just fix some local dep shit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/lighttpd/configure.ac

    r30904 r32968  
    415415AC_MSG_RESULT([$WITH_PCRE])
    416416
    417 if test "$WITH_PCRE" != "no"; then
    418                 if test "$WITH_PCRE" != "yes"; then
    419                         PCRE_LIB="-L$WITH_PCRE/lib -lpcre"
    420                         CPPFLAGS="$CPPFLAGS -I$WITH_PCRE/include"
    421                 else
    422                         AC_PATH_PROG(PCRECONFIG, pcre-config)
    423                         if test x"$PCRECONFIG" != x; then
    424                                 PCRE_LIB=`$PCRECONFIG --libs`
    425                                 CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
    426                         fi
    427                 fi
    428 
    429   if test x"$PCRE_LIB" != x; then
    430     AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
    431     AC_DEFINE([HAVE_PCRE_H], [1], [pcre.h])
    432     AC_SUBST(PCRE_LIB)
    433   else
    434     AC_MSG_ERROR([pcre-config not found, install the pcre-devel package or build with --without-pcre])
    435   fi
    436 fi
     417#if test "$WITH_PCRE" != "no"; then
     418#               if test "$WITH_PCRE" != "yes"; then
     419#                       PCRE_LIB="-L$WITH_PCRE/lib -lpcre"
     420#                       CPPFLAGS="$CPPFLAGS -I$WITH_PCRE/include"
     421#               else
     422                        #AC_PATH_PROG(PCRECONFIG, pcre-config)
     423                        #if test x"$PCRECONFIG" != x; then
     424                        #       PCRE_LIB=`$PCRECONFIG --libs`
     425                        #       CPPFLAGS="$CPPFLAGS `$PCRECONFIG --cflags`"
     426                        #fi
     427#               fi
     428#
     429# if test x"$PCRE_LIB" != x; then
     430#    AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
     431#    AC_DEFINE([HAVE_PCRE_H], [1], [pcre.h])
     432#    AC_SUBST(PCRE_LIB)
     433#  else
     434#    AC_MSG_ERROR([pcre-config not found, install the pcre-devel package or build with --without-pcre])
     435#  fi
     436#fi
     437AC_DEFINE([HAVE_LIBPCRE], [1], [libpcre])
     438AC_DEFINE([HAVE_PCRE_H], [1], [pcre.h])
     439AC_SUBST(PCRE_LIB)
    437440
    438441AC_MSG_CHECKING(for zlib support)
Note: See TracChangeset for help on using the changeset viewer.