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

Comparing ircd-hybrid-8/configure (file contents):
Revision 1338 by michael, Thu Apr 5 11:05:48 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 1329 2012-04-01 12:02:12Z 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 2374 | Line 2370 | as_fn_append ac_header_list " types.h"
2370   as_fn_append ac_header_list " socket.h"
2371   as_fn_append ac_header_list " sys/wait.h"
2372   as_fn_append ac_header_list " wait.h"
2377 as_fn_append ac_header_list " link.h"
2373   # Check that the precious variables saved in the cache have kept the same
2374   # value.
2375   ac_cache_corrupted=false
# Line 4137 | Line 4132 | fi
4132  
4133  
4134   if test "$ac_cv_prog_cc_c99" = "no"; then :
4135 <  as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4135 >  as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
4136   fi
4137   for ac_prog in 'bison -y' byacc
4138   do
# Line 13537 | Line 13532 | done
13532  
13533  
13534  
13540
13541
13535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13536   $as_echo_n "checking for library containing crypt... " >&6; }
13537   if ${ac_cv_search_crypt+:} false; then :
# Line 13596 | Line 13589 | if test "$ac_res" != no; then :
13589   fi
13590  
13591  
13599
13600
13601 # Check whether --with-libpcre-path was given.
13602 if test "${with_libpcre_path+set}" = set; then :
13603  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13604 fi
13605
13606
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
13611  libpcre=yes
13612 fi
13613
13614
13615 if test "$libpcre" = "yes"; then :
13616
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
13625 < LIBS="-lpcre  $LIBS"
13603 >  ac_func_search_save_LIBS=$LIBS
13604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605   /* end confdefs.h.  */
13606  
# Line 13641 | 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; }
13655 < if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13656 <
13657 <      LIBS="-lpcre $LIBS"
13658 <
13659 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13660 <
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  
13667 else
13668  libpcre=no
13654   fi
13655  
13656 + fi
13657  
13658  
13659   fi
13674 if test "$libpcre" = yes; then
13675  ENABLE_PCRE_TRUE=
13676  ENABLE_PCRE_FALSE='#'
13677 else
13678  ENABLE_PCRE_TRUE='#'
13679  ENABLE_PCRE_FALSE=
13680 fi
13681
13660  
13661  
13662   # Check whether --enable-openssl was given.
# Line 14706 | Line 14684 | LT_CONFIG_H=config.h
14684  
14685  
14686  
14709 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14710  as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14712 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)