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

Comparing ircd-hybrid-8/configure (file contents):
Revision 1373 by michael, Fri Apr 27 07:32:34 2012 UTC vs.
Revision 1521 by michael, Sun Sep 9 10:41:35 2012 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1358 2012-04-22 13:49:23Z michael .
2 > # From configure.ac Id: configure.ac 1517 2012-08-30 15:11:32Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta1.
4 > # Generated by GNU Autoconf 2.69 for ircd-hybrid 8.0.0rc1.
5   #
6   # Report bugs to <bugs@ircd-hybrid.org>.
7   #
# Line 593 | Line 593 | MAKEFLAGS=
593   # Identity of this package.
594   PACKAGE_NAME='ircd-hybrid'
595   PACKAGE_TARNAME='ircd-hybrid'
596 < PACKAGE_VERSION='8beta1'
597 < PACKAGE_STRING='ircd-hybrid 8beta1'
596 > PACKAGE_VERSION='8.0.0rc1'
597 > PACKAGE_STRING='ircd-hybrid 8.0.0rc1'
598   PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
599   PACKAGE_URL=''
600  
# Line 648 | Line 648 | DATADIR
648   LIBDIR
649   SYSCONFDIR
650   PREFIX
651 EFNET_FALSE
652 EFNET_TRUE
651   ENABLE_SSL_FALSE
652   ENABLE_SSL_TRUE
653   LTDLOPEN
# Line 805 | Line 803 | enable_ltdl_install
803   enable_libpcre
804   enable_openssl
805   enable_assert
808 enable_small_net
806   enable_kqueue
807   enable_epoll
808   enable_devpoll
# Line 814 | Line 811 | enable_poll
811   enable_select
812   with_nicklen
813   with_topiclen
817 enable_efnet
814   enable_halfops
815   enable_debugging
816   enable_warnings
# Line 1370 | Line 1366 | if test "$ac_init_help" = "long"; then
1366    # Omit some internal or obsolete options to make the list less imposing.
1367    # This message is too long to be a string in the A/UX 3.1 sh.
1368    cat <<_ACEOF
1369 < \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1369 > \`configure' configures ircd-hybrid 8.0.0rc1 to adapt to many kinds of systems.
1370  
1371   Usage: $0 [OPTION]... [VAR=VALUE]...
1372  
# Line 1440 | Line 1436 | fi
1436  
1437   if test -n "$ac_init_help"; then
1438    case $ac_init_help in
1439 <     short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1439 >     short | recursive ) echo "Configuration of ircd-hybrid 8.0.0rc1:";;
1440     esac
1441    cat <<\_ACEOF
1442  
# Line 1465 | Line 1461 | Optional Features:
1461    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1462    --disable-openssl            Disable OpenSSL support.
1463    --enable-assert         Enable assert() statements
1468  --enable-small-net      Enable small network support.
1464    --enable-kqueue         Force kqueue usage.
1465    --enable-epoll          Force epoll usage.
1466    --enable-devpoll        Force devpoll usage.
1467    --enable-rtsigio        Force rtsigio usage.
1468    --enable-poll           Force poll usage.
1469    --enable-select         Force select usage.
1475  --enable-efnet          For IRCDs running on EFnet.
1470    --enable-halfops        Enable halfops support.
1471    --enable-debugging      Enable debugging.
1472    --enable-warnings       Enable compiler warnings.
# Line 1573 | Line 1567 | fi
1567   test -n "$ac_init_help" && exit $ac_status
1568   if $ac_init_version; then
1569    cat <<\_ACEOF
1570 < ircd-hybrid configure 8beta1
1570 > ircd-hybrid configure 8.0.0rc1
1571   generated by GNU Autoconf 2.69
1572  
1573   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 2099 | Line 2093 | cat >config.log <<_ACEOF
2093   This file contains any messages produced by compilers while
2094   running configure, to aid debugging if configure makes a mistake.
2095  
2096 < It was created by ircd-hybrid $as_me 8beta1, which was
2096 > It was created by ircd-hybrid $as_me 8.0.0rc1, which was
2097   generated by GNU Autoconf 2.69.  Invocation command line was
2098  
2099    $ $0 $@
# Line 2831 | Line 2825 | fi
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2826   $as_echo "$MKDIR_P" >&6; }
2827  
2834 mkdir_p="$MKDIR_P"
2835 case $mkdir_p in
2836  [\\/$]* | ?:[\\/]*) ;;
2837  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2838 esac
2839
2828   for ac_prog in gawk mawk nawk awk
2829   do
2830    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 2941 | Line 2929 | fi
2929  
2930   # Define the identity of the package.
2931   PACKAGE='ircd-hybrid'
2932 < VERSION='8beta1'
2932 > VERSION='8.0.0rc1'
2933  
2934  
2935   cat >>confdefs.h <<_ACEOF
# Line 2969 | Line 2957 | AUTOHEADER=${AUTOHEADER-"${am_missing_ru
2957  
2958   MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2959  
2960 + # For better backward compatibility.  To be removed once Automake 1.9.x
2961 + # dies out for good.  For more background, see:
2962 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2963 + # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2964 + mkdir_p='$(MKDIR_P)'
2965 +
2966   # We need awk for the "check" target.  The system "awk" is bad on
2967   # some platforms.
2968   # Always define AMTAR for backward compatibility.  Yes, it's still used
# Line 13782 | Line 13776 | fi
13776    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13777   $as_echo "found" >&6; }
13778  
13779 <    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13780 < $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13781 < if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13779 >    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13780 > $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13781 > if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13782    $as_echo_n "(cached) " >&6
13783   else
13784    ac_check_lib_save_LIBS=$LIBS
13785 < LIBS="-lssl  $LIBS"
13785 > LIBS="-lcrypto  $LIBS"
13786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787   /* end confdefs.h.  */
13788  
# Line 13798 | Line 13792 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13792   #ifdef __cplusplus
13793   extern "C"
13794   #endif
13795 < char SSL_connect ();
13795 > char RSA_free ();
13796   int
13797   main ()
13798   {
13799 < return SSL_connect ();
13799 > return RSA_free ();
13800    ;
13801    return 0;
13802   }
13803   _ACEOF
13804   if ac_fn_c_try_link "$LINENO"; then :
13805 <  ac_cv_lib_ssl_SSL_connect=yes
13805 >  ac_cv_lib_crypto_RSA_free=yes
13806   else
13807 <  ac_cv_lib_ssl_SSL_connect=no
13807 >  ac_cv_lib_crypto_RSA_free=no
13808   fi
13809   rm -f core conftest.err conftest.$ac_objext \
13810      conftest$ac_exeext conftest.$ac_ext
13811   LIBS=$ac_check_lib_save_LIBS
13812   fi
13813 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13814 < $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13815 < if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13813 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13814 > $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13815 > if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13816    cat >>confdefs.h <<_ACEOF
13817 < #define HAVE_LIBSSL 1
13817 > #define HAVE_LIBCRYPTO 1
13818   _ACEOF
13819  
13820 <  LIBS="-lssl $LIBS"
13820 >  LIBS="-lcrypto $LIBS"
13821  
13822   fi
13823  
13824 <    if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13825 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13826 < $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13827 < if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13824 >    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13825 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13826 > $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13827 > if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13828    $as_echo_n "(cached) " >&6
13829   else
13830    ac_check_lib_save_LIBS=$LIBS
13831 < LIBS="-lcrypto  $LIBS"
13831 > LIBS="-lssl  $LIBS"
13832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833   /* end confdefs.h.  */
13834  
# Line 13844 | Line 13838 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13838   #ifdef __cplusplus
13839   extern "C"
13840   #endif
13841 < char RSA_free ();
13841 > char SSL_connect ();
13842   int
13843   main ()
13844   {
13845 < return RSA_free ();
13845 > return SSL_connect ();
13846    ;
13847    return 0;
13848   }
13849   _ACEOF
13850   if ac_fn_c_try_link "$LINENO"; then :
13851 <  ac_cv_lib_crypto_RSA_free=yes
13851 >  ac_cv_lib_ssl_SSL_connect=yes
13852   else
13853 <  ac_cv_lib_crypto_RSA_free=no
13853 >  ac_cv_lib_ssl_SSL_connect=no
13854   fi
13855   rm -f core conftest.err conftest.$ac_objext \
13856      conftest$ac_exeext conftest.$ac_ext
13857   LIBS=$ac_check_lib_save_LIBS
13858   fi
13859 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13860 < $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13861 < if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13859 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13860 > $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13861 > if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13862    cat >>confdefs.h <<_ACEOF
13863 < #define HAVE_LIBCRYPTO 1
13863 > #define HAVE_LIBSSL 1
13864   _ACEOF
13865  
13866 <  LIBS="-lcrypto $LIBS"
13866 >  LIBS="-lssl $LIBS"
13867  
13868   fi
13869  
# Line 13882 | Line 13876 | $as_echo "no - OpenSSL support disabled"
13876   fi
13877   fi
13878  
13879 < if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13879 > if test "$ac_cv_lib_ssl_SSL_connect" = yes; then
13880    ENABLE_SSL_TRUE=
13881    ENABLE_SSL_FALSE='#'
13882   else
# Line 13907 | Line 13901 | $as_echo "#define NDEBUG 1" >>confdefs.h
13901   fi
13902  
13903  
13910 # Check whether --enable-small-net was given.
13911 if test "${enable_small_net+set}" = set; then :
13912  enableval=$enable_small_net; small_net=$enableval
13913 else
13914  small_net=no
13915 fi
13916
13917
13918 if test "$small_net" = "yes"; then :
13919
13920
13921 $as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h
13922
13923
13924 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13925
13926
13927 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13928
13929
13930 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13931
13932
13933 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13934
13935
13936 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13937
13938
13939 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13940
13941
13942 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13943
13944
13945 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13946
13947
13948 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13949
13950 else
13951
13952
13904  
13905   $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
13906  
# Line 13969 | Line 13920 | $as_echo "#define LCLIENT_HEAP_SIZE 512"
13920   $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13921  
13922  
13972 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13973
13974
13923   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13924  
13925  
13926 < $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13979 <
13926 > $as_echo "#define AUTH_HEAP_SIZE 256" >>confdefs.h
13927  
13981 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13928  
13929 < fi
13929 > $as_echo "#define DNS_HEAP_SIZE 256" >>confdefs.h
13930 > ])
13931  
13932  
13933   # Argument processing.
# Line 14386 | Line 14333 | fi
14333  
14334  
14335   cat >>confdefs.h <<_ACEOF
14336 < #define NICKLEN ($nicklen+1)
14336 > #define NICKLEN ($nicklen)
14337   _ACEOF
14338  
14339  
# Line 14406 | Line 14353 | _ACEOF
14353  
14354  
14355  
14409  # Check whether --enable-efnet was given.
14410 if test "${enable_efnet+set}" = set; then :
14411  enableval=$enable_efnet; efnet="$enableval"
14412 else
14413  efnet="no"
14414 fi
14415
14416  if test "$efnet" = "yes" ; then
14417                use_efnet="yes"
14418
14419 $as_echo "#define EFNET 1" >>confdefs.h
14420
14421        else
14422                use_efnet="no"
14423  fi
14424   if test "$use_efnet" = "yes"; then
14425  EFNET_TRUE=
14426  EFNET_FALSE='#'
14427 else
14428  EFNET_TRUE='#'
14429  EFNET_FALSE=
14430 fi
14431
14432
14433
14356    # Check whether --enable-halfops was given.
14357   if test "${enable_halfops+set}" = set; then :
14358    enableval=$enable_halfops; halfops="$enableval"
# Line 14732 | Line 14654 | if test -z "${ENABLE_SSL_TRUE}" && test
14654    as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14655   Usually this means the macro was only invoked conditionally." "$LINENO" 5
14656   fi
14735 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14736  as_fn_error $? "conditional \"EFNET\" was never defined.
14737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14738 fi
14657  
14658   : "${CONFIG_STATUS=./config.status}"
14659   ac_write_fail=0
# Line 15133 | Line 15051 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
15051   # report actual input values of CONFIG_FILES etc. instead of their
15052   # values after options handling.
15053   ac_log="
15054 < This file was extended by ircd-hybrid $as_me 8beta1, which was
15054 > This file was extended by ircd-hybrid $as_me 8.0.0rc1, which was
15055   generated by GNU Autoconf 2.69.  Invocation command line was
15056  
15057    CONFIG_FILES    = $CONFIG_FILES
# Line 15199 | Line 15117 | _ACEOF
15117   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15118   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15119   ac_cs_version="\\
15120 < ircd-hybrid config.status 8beta1
15120 > ircd-hybrid config.status 8.0.0rc1
15121   configured by $0, generated by GNU Autoconf 2.69,
15122    with options \\"\$ac_cs_config\\"
15123  

Diff Legend

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