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

Comparing ircd-hybrid-8/configure (file contents):
Revision 1348 by michael, Wed Apr 11 17:04:22 2012 UTC vs.
Revision 1349 by michael, Wed Apr 11 18:45:51 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1338 2012-04-05 11:05:48Z michael .
2 > # From configure.ac Id: configure.ac 1348 2012-04-11 17:04:22Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5   #
# Line 632 | Line 632 | EFNET_FALSE
632   EFNET_TRUE
633   ENABLE_SSL_FALSE
634   ENABLE_SSL_TRUE
635 ENABLE_PCRE_FALSE
636 ENABLE_PCRE_TRUE
635   LTDLOPEN
636   LT_CONFIG_H
637   CONVENIENCE_LTDL_FALSE
# Line 784 | Line 782 | with_included_ltdl
782   with_ltdl_include
783   with_ltdl_lib
784   enable_ltdl_install
787 with_libpcre_path
785   enable_libpcre
786   enable_openssl
787   enable_assert
# Line 1470 | Line 1467 | Optional Packages:
1467    --with-included-ltdl    use the GNU ltdl sources included here
1468    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1469    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1473  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1470    --with-nicklen=<value>  Set nickname length (default 9).
1471    --with-topiclen=<value> Set topic length (default 160).
1472  
# Line 13593 | Line 13589 | if test "$ac_res" != no; then :
13589   fi
13590  
13591  
13596
13597
13598 # Check whether --with-libpcre-path was given.
13599 if test "${with_libpcre_path+set}" = set; then :
13600  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13601 fi
13602
13603
13592   # Check whether --enable-libpcre was given.
13593   if test "${enable_libpcre+set}" = set; then :
13594 <  enableval=$enable_libpcre; libpcre=$enableval
13594 >  enableval=$enable_libpcre;
13595   else
13608  libpcre=yes
13609 fi
13610
13611
13612 if test "$libpcre" = "yes"; then :
13613
13596    ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13597   if test "x$ac_cv_header_pcre_h" = xyes; then :
13598 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13599 < $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13600 < if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13598 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13599 > $as_echo_n "checking for library containing pcre_study... " >&6; }
13600 > if ${ac_cv_search_pcre_study+:} false; then :
13601    $as_echo_n "(cached) " >&6
13602   else
13603 <  ac_check_lib_save_LIBS=$LIBS
13622 < LIBS="-lpcre  $LIBS"
13603 >  ac_func_search_save_LIBS=$LIBS
13604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605   /* end confdefs.h.  */
13606  
# Line 13638 | Line 13619 | return pcre_study ();
13619    return 0;
13620   }
13621   _ACEOF
13622 < if ac_fn_c_try_link "$LINENO"; then :
13623 <  ac_cv_lib_pcre_pcre_study=yes
13624 < else
13625 <  ac_cv_lib_pcre_pcre_study=no
13622 > for ac_lib in '' pcre; do
13623 >  if test -z "$ac_lib"; then
13624 >    ac_res="none required"
13625 >  else
13626 >    ac_res=-l$ac_lib
13627 >    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13628 >  fi
13629 >  if ac_fn_c_try_link "$LINENO"; then :
13630 >  ac_cv_search_pcre_study=$ac_res
13631   fi
13632   rm -f core conftest.err conftest.$ac_objext \
13633 <    conftest$ac_exeext conftest.$ac_ext
13634 < LIBS=$ac_check_lib_save_LIBS
13633 >    conftest$ac_exeext
13634 >  if ${ac_cv_search_pcre_study+:} false; then :
13635 >  break
13636   fi
13637 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13638 < $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13652 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13653 <
13654 <      LIBS="-lpcre $LIBS"
13655 <
13656 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13657 <
13637 > done
13638 > if ${ac_cv_search_pcre_study+:} false; then :
13639  
13640   else
13641 <  libpcre=no
13641 >  ac_cv_search_pcre_study=no
13642 > fi
13643 > rm conftest.$ac_ext
13644 > LIBS=$ac_func_search_save_LIBS
13645   fi
13646 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13647 + $as_echo "$ac_cv_search_pcre_study" >&6; }
13648 + ac_res=$ac_cv_search_pcre_study
13649 + if test "$ac_res" != no; then :
13650 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13651  
13652 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13653  
13664 else
13665  libpcre=no
13654   fi
13655  
13656 + fi
13657  
13658  
13659   fi
13671 if test "$libpcre" = yes; then
13672  ENABLE_PCRE_TRUE=
13673  ENABLE_PCRE_FALSE='#'
13674 else
13675  ENABLE_PCRE_TRUE='#'
13676  ENABLE_PCRE_FALSE=
13677 fi
13678
13660  
13661  
13662   # Check whether --enable-openssl was given.
# Line 14703 | Line 14684 | LT_CONFIG_H=config.h
14684  
14685  
14686  
14706 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14707  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14709 fi
14687   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14688    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14689   Usually this means the macro was only invoked conditionally." "$LINENO" 5

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)