ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/configure.ac
(Generate patch)

Comparing ircd-hybrid-7.2/configure.ac (file contents):
Revision 998 by michael, Sun Aug 23 12:43:17 2009 UTC vs.
Revision 1009 by michael, Sun Sep 13 15:02:30 2009 UTC

# Line 103 | Line 103 | if test "$zlib" = yes; then
103    ], zlib=no)
104   fi
105  
106 + AC_ARG_WITH(libpcre-path,
107 + AS_HELP_STRING([--with-libpcre-path=DIR], [Path to libpcre.so for PCRE support.]),
108 + [LDFLAGS="-L$withval $LDFLAGS"],)
109 +
110 + AC_ARG_ENABLE(libpcre, AS_HELP_STRING([--disable-libpcre],[Disable PCRE support]),
111 + [libpcre=$enableval],[libpcre=yes])
112 +
113 + if test "$libpcre" = yes; then
114 +  AC_CHECK_HEADER(pcre.h, [AC_CHECK_LIB(pcre, pcre_study,
115 +    [
116 +      LIBS="-lpcre $LIBS"
117 +      AC_DEFINE(HAVE_LIBPCRE, 1, [Define to 1 if libpcre (-lpcre) is available.])
118 +    ], libpcre=no)
119 +  ], libpcre=no)
120 + fi
121 + AM_CONDITIONAL(ENABLE_PCRE, [test "$libpcre" = yes])
122 +
123  
124   dnl Openssl checks
125   AC_ARG_ENABLE(openssl,
# Line 241 | Line 258 | AC_CONFIG_FILES(              \
258         help/Makefile          \
259                           help/opers/Makefile            \
260                           help/users/Makefile    \
244       lib/Makefile           \
245       lib/pcre/Makefile      \
261         tools/Makefile
262   )
263  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines