/[svn]/ircd-hybrid-8/configure.ac
ViewVC logotype

Diff of /ircd-hybrid-8/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1348 by michael, Wed Apr 11 17:04:22 2012 UTC revision 1349 by michael, Wed Apr 11 18:45:51 2012 UTC
# Line 49  AC_CHECK_HEADERS_ONCE(crypt.h        \ Line 49  AC_CHECK_HEADERS_ONCE(crypt.h        \
49    
50  AC_SEARCH_LIBS(crypt, crypt)  AC_SEARCH_LIBS(crypt, crypt)
51    
52    AC_ARG_ENABLE(libpcre,
53  AC_ARG_WITH(libpcre-path,    [AS_HELP_STRING([--disable-libpcre],[Disable PCRE support])], [],
54  AS_HELP_STRING([--with-libpcre-path=DIR], [Path to libpcre.so for PCRE support.]),      [AC_CHECK_HEADER(pcre.h,
55  [LDFLAGS="-L$withval $LDFLAGS"],)        [AC_SEARCH_LIBS(pcre_study, pcre,
56            [AC_DEFINE(HAVE_LIBPCRE, 1, [Define to 1 if libpcre (-lpcre) is available.])])])], [])
 AC_ARG_ENABLE(libpcre, AS_HELP_STRING([--disable-libpcre],[Disable PCRE support]),  
 [libpcre=$enableval],[libpcre=yes])  
   
 AS_IF([test "$libpcre" = "yes"], [  
   AC_CHECK_HEADER(pcre.h, [AC_CHECK_LIB(pcre, pcre_study,  
     [  
       LIBS="-lpcre $LIBS"  
       AC_DEFINE(HAVE_LIBPCRE, 1, [Define to 1 if libpcre (-lpcre) is available.])  
     ], libpcre=no)  
   ], libpcre=no)  
 ])  
 AM_CONDITIONAL(ENABLE_PCRE, [test "$libpcre" = yes])  
   
57    
58  dnl Openssl checks  dnl Openssl checks
59  AC_ARG_ENABLE(openssl,  AC_ARG_ENABLE(openssl,

Legend:
Removed from v.1348  
changed lines
  Added in v.1349

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26