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

Comparing ircd-hybrid-7.2/configure (file contents):
Revision 1005 by michael, Mon Aug 31 23:07:43 2009 UTC vs.
Revision 1009 by michael, Sun Sep 13 15:02:30 2009 UTC

# Line 760 | Line 760 | EFNET_FALSE
760   EFNET_TRUE
761   ENABLE_SSL_FALSE
762   ENABLE_SSL_TRUE
763 + ENABLE_PCRE_FALSE
764 + ENABLE_PCRE_TRUE
765   LTDLOPEN
766   LT_CONFIG_H
767   subdirs
# Line 909 | Line 911 | with_ltdl_lib
911   enable_ltdl_install
912   with_zlib_path
913   enable_zlib
914 + with_libpcre_path
915 + enable_libpcre
916   enable_openssl
917   enable_assert
918   enable_small_net
# Line 1568 | Line 1572 | Optional Features:
1572    --disable-libtool-lock  avoid locking (might break parallel builds)
1573    --enable-ltdl-install   install libltdl
1574    --disable-zlib          Disable ziplinks support
1575 +  --disable-libpcre       Disable PCRE support
1576    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1577    --disable-openssl            Disable OpenSSL support.
1578    --enable-assert         Enable assert() statements
# Line 1596 | Line 1601 | Optional Packages:
1601    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1602    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1603    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1604 +  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1605    --with-nicklen=<value>  Set nickname length (default 9).
1606    --with-topiclen=<value> Set topic length (default 160).
1607    --with-syslog-facility=LOG
# Line 5118 | Line 5124 | if test "${lt_cv_nm_interface+set}" = se
5124   else
5125    lt_cv_nm_interface="BSD nm"
5126    echo "int some_variable = 0;" > conftest.$ac_ext
5127 <  (eval echo "\"\$as_me:5121: $ac_compile\"" >&5)
5127 >  (eval echo "\"\$as_me:5127: $ac_compile\"" >&5)
5128    (eval "$ac_compile" 2>conftest.err)
5129    cat conftest.err >&5
5130 <  (eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5130 >  (eval echo "\"\$as_me:5130: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5131    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5132    cat conftest.err >&5
5133 <  (eval echo "\"\$as_me:5127: output\"" >&5)
5133 >  (eval echo "\"\$as_me:5133: output\"" >&5)
5134    cat conftest.out >&5
5135    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5136      lt_cv_nm_interface="MS dumpbin"
# Line 6329 | Line 6335 | ia64-*-hpux*)
6335    ;;
6336   *-*-irix6*)
6337    # Find out which ABI we are using.
6338 <  echo '#line 6332 "configure"' > conftest.$ac_ext
6338 >  echo '#line 6338 "configure"' > conftest.$ac_ext
6339    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6340    (eval $ac_compile) 2>&5
6341    ac_status=$?
# Line 7853 | Line 7859 | else
7859     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7860     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7861     -e 's:$: $lt_compiler_flag:'`
7862 <   (eval echo "\"\$as_me:7856: $lt_compile\"" >&5)
7862 >   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
7863     (eval "$lt_compile" 2>conftest.err)
7864     ac_status=$?
7865     cat conftest.err >&5
7866 <   echo "$as_me:7860: \$? = $ac_status" >&5
7866 >   echo "$as_me:7866: \$? = $ac_status" >&5
7867     if (exit $ac_status) && test -s "$ac_outfile"; then
7868       # The compiler can only warn and ignore the option if not recognized
7869       # So say no if there are warnings other than the usual output.
# Line 8192 | Line 8198 | else
8198     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200     -e 's:$: $lt_compiler_flag:'`
8201 <   (eval echo "\"\$as_me:8195: $lt_compile\"" >&5)
8201 >   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8202     (eval "$lt_compile" 2>conftest.err)
8203     ac_status=$?
8204     cat conftest.err >&5
8205 <   echo "$as_me:8199: \$? = $ac_status" >&5
8205 >   echo "$as_me:8205: \$? = $ac_status" >&5
8206     if (exit $ac_status) && test -s "$ac_outfile"; then
8207       # The compiler can only warn and ignore the option if not recognized
8208       # So say no if there are warnings other than the usual output.
# Line 8297 | Line 8303 | else
8303     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305     -e 's:$: $lt_compiler_flag:'`
8306 <   (eval echo "\"\$as_me:8300: $lt_compile\"" >&5)
8306 >   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8307     (eval "$lt_compile" 2>out/conftest.err)
8308     ac_status=$?
8309     cat out/conftest.err >&5
8310 <   echo "$as_me:8304: \$? = $ac_status" >&5
8310 >   echo "$as_me:8310: \$? = $ac_status" >&5
8311     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8312     then
8313       # The compiler can only warn and ignore the option if not recognized
# Line 8352 | Line 8358 | else
8358     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360     -e 's:$: $lt_compiler_flag:'`
8361 <   (eval echo "\"\$as_me:8355: $lt_compile\"" >&5)
8361 >   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
8362     (eval "$lt_compile" 2>out/conftest.err)
8363     ac_status=$?
8364     cat out/conftest.err >&5
8365 <   echo "$as_me:8359: \$? = $ac_status" >&5
8365 >   echo "$as_me:8365: \$? = $ac_status" >&5
8366     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8367     then
8368       # The compiler can only warn and ignore the option if not recognized
# Line 10089 | Line 10095 | rm -f core conftest.err conftest.$ac_obj
10095    libsuff=
10096    case "$host_cpu" in
10097    x86_64*|s390x*|powerpc64*)
10098 <    echo '#line 10092 "configure"' > conftest.$ac_ext
10098 >    echo '#line 10098 "configure"' > conftest.$ac_ext
10099      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10100    (eval $ac_compile) 2>&5
10101    ac_status=$?
# Line 10742 | Line 10748 | else
10748    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10749    lt_status=$lt_dlunknown
10750    cat > conftest.$ac_ext <<_LT_EOF
10751 < #line 10745 "configure"
10751 > #line 10751 "configure"
10752   #include "confdefs.h"
10753  
10754   #if HAVE_DLFCN_H
# Line 10838 | Line 10844 | else
10844    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10845    lt_status=$lt_dlunknown
10846    cat > conftest.$ac_ext <<_LT_EOF
10847 < #line 10841 "configure"
10847 > #line 10847 "configure"
10848   #include "confdefs.h"
10849  
10850   #if HAVE_DLFCN_H
# Line 11510 | Line 11516 | else
11516    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11517    lt_status=$lt_dlunknown
11518    cat > conftest.$ac_ext <<_LT_EOF
11519 < #line 11513 "configure"
11519 > #line 11519 "configure"
11520   #include "confdefs.h"
11521  
11522   #if HAVE_DLFCN_H
# Line 12957 | Line 12963 | fi
12963   fi
12964  
12965  
12966 + # Check whether --with-libpcre-path was given.
12967 + if test "${with_libpcre_path+set}" = set; then :
12968 +  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12969 + fi
12970 +
12971 +
12972 + # Check whether --enable-libpcre was given.
12973 + if test "${enable_libpcre+set}" = set; then :
12974 +  enableval=$enable_libpcre; libpcre=$enableval
12975 + else
12976 +  libpcre=yes
12977 + fi
12978 +
12979 +
12980 + if test "$libpcre" = yes; then
12981 +  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12982 + if test "x$ac_cv_header_pcre_h" = x""yes; then :
12983 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12984 + $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12985 + if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12986 +  $as_echo_n "(cached) " >&6
12987 + else
12988 +  ac_check_lib_save_LIBS=$LIBS
12989 + LIBS="-lpcre  $LIBS"
12990 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 + /* end confdefs.h.  */
12992 +
12993 + /* Override any GCC internal prototype to avoid an error.
12994 +   Use char because int might match the return type of a GCC
12995 +   builtin and then its argument prototype would still apply.  */
12996 + #ifdef __cplusplus
12997 + extern "C"
12998 + #endif
12999 + char pcre_study ();
13000 + int
13001 + main ()
13002 + {
13003 + return pcre_study ();
13004 +  ;
13005 +  return 0;
13006 + }
13007 + _ACEOF
13008 + if ac_fn_c_try_link "$LINENO"; then :
13009 +  ac_cv_lib_pcre_pcre_study=yes
13010 + else
13011 +  ac_cv_lib_pcre_pcre_study=no
13012 + fi
13013 + rm -f core conftest.err conftest.$ac_objext \
13014 +    conftest$ac_exeext conftest.$ac_ext
13015 + LIBS=$ac_check_lib_save_LIBS
13016 + fi
13017 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13018 + $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13019 + if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
13020 +
13021 +      LIBS="-lpcre $LIBS"
13022 +
13023 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13024 +
13025 +
13026 + else
13027 +  libpcre=no
13028 + fi
13029 +
13030 +
13031 + else
13032 +  libpcre=no
13033 + fi
13034 +
13035 +
13036 + fi
13037 + if test "$libpcre" = yes; then
13038 +  ENABLE_PCRE_TRUE=
13039 +  ENABLE_PCRE_FALSE='#'
13040 + else
13041 +  ENABLE_PCRE_TRUE='#'
13042 +  ENABLE_PCRE_FALSE=
13043 + fi
13044 +
13045 +
13046 +
13047   # Check whether --enable-openssl was given.
13048   if test "${enable_openssl+set}" = set; then :
13049    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13742 | Line 13829 | _ACEOF
13829    test "$exec_prefix_NONE" && exec_prefix=NONE
13830  
13831  
13832 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
13832 > ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
13833  
13834  
13835   cat >confcache <<\_ACEOF
# Line 13888 | Line 13975 | LT_CONFIG_H=config.h
13975  
13976  
13977  
13978 + if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13979 +  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13980 + Usually this means the macro was only invoked conditionally." "$LINENO" 5
13981 + fi
13982   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
13983    as_fn_error "conditional \"ENABLE_SSL\" was never defined.
13984   Usually this means the macro was only invoked conditionally." "$LINENO" 5
# Line 14763 | Line 14854 | do
14854      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14855      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14856      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14766    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14767    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14857      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14858  
14859    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines