| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 982 2009-08-13 22:15:08Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4. |
| 5 |
|
# |
| 760 |
|
EFNET_TRUE |
| 761 |
|
ENABLE_SSL_FALSE |
| 762 |
|
ENABLE_SSL_TRUE |
| 763 |
– |
HAVE_CRYPT_FALSE |
| 764 |
– |
HAVE_CRYPT_TRUE |
| 763 |
|
LTDLOPEN |
| 764 |
|
LT_CONFIG_H |
| 765 |
|
subdirs |
| 897 |
|
enable_option_checking |
| 898 |
|
enable_maintainer_mode |
| 899 |
|
enable_dependency_tracking |
| 902 |
– |
enable_shared |
| 900 |
|
enable_static |
| 901 |
+ |
enable_shared |
| 902 |
|
with_pic |
| 903 |
|
enable_fast_install |
| 904 |
|
with_gnu_ld |
| 1561 |
|
(and sometimes confusing) to the casual installer |
| 1562 |
|
--disable-dependency-tracking speeds up one-time build |
| 1563 |
|
--enable-dependency-tracking do not reject slow dependency extractors |
| 1564 |
+ |
--enable-static[=PKGS] build static libraries [default=no] |
| 1565 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
| 1567 |
– |
--enable-static[=PKGS] build static libraries [default=yes] |
| 1566 |
|
--enable-fast-install[=PKGS] |
| 1567 |
|
optimize for fast installation [default=yes] |
| 1568 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 2657 |
|
|
| 2658 |
|
as_fn_append ac_func_list " snprintf" |
| 2659 |
|
as_fn_append ac_func_list " vsnprintf" |
| 2662 |
– |
as_fn_append ac_func_list " lrand48" |
| 2663 |
– |
as_fn_append ac_func_list " srand48" |
| 2660 |
|
as_fn_append ac_func_list " mmap" |
| 2661 |
|
as_fn_append ac_func_list " strtok_r" |
| 2662 |
|
as_fn_append ac_func_list " usleep" |
| 2663 |
|
as_fn_append ac_func_list " strlcat" |
| 2664 |
|
as_fn_append ac_func_list " strlcpy" |
| 2669 |
– |
as_fn_append ac_func_list " basename" |
| 2665 |
|
as_fn_append ac_header_list " crypt.h" |
| 2666 |
|
as_fn_append ac_header_list " inttypes.h" |
| 2667 |
|
as_fn_append ac_header_list " stdint.h" |
| 5118 |
|
else |
| 5119 |
|
lt_cv_nm_interface="BSD nm" |
| 5120 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5121 |
< |
(eval echo "\"\$as_me:5126: $ac_compile\"" >&5) |
| 5121 |
> |
(eval echo "\"\$as_me:5121: $ac_compile\"" >&5) |
| 5122 |
|
(eval "$ac_compile" 2>conftest.err) |
| 5123 |
|
cat conftest.err >&5 |
| 5124 |
< |
(eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5124 |
> |
(eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5125 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 5126 |
|
cat conftest.err >&5 |
| 5127 |
< |
(eval echo "\"\$as_me:5132: output\"" >&5) |
| 5127 |
> |
(eval echo "\"\$as_me:5127: output\"" >&5) |
| 5128 |
|
cat conftest.out >&5 |
| 5129 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 5130 |
|
lt_cv_nm_interface="MS dumpbin" |
| 6329 |
|
;; |
| 6330 |
|
*-*-irix6*) |
| 6331 |
|
# Find out which ABI we are using. |
| 6332 |
< |
echo '#line 6337 "configure"' > conftest.$ac_ext |
| 6332 |
> |
echo '#line 6332 "configure"' > conftest.$ac_ext |
| 6333 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6334 |
|
(eval $ac_compile) 2>&5 |
| 6335 |
|
ac_status=$? |
| 7361 |
|
|
| 7362 |
|
# Set options |
| 7363 |
|
enable_dlopen=yes |
| 7364 |
< |
|
| 7365 |
< |
|
| 7366 |
< |
|
| 7372 |
< |
|
| 7373 |
< |
enable_win32_dll=no |
| 7374 |
< |
|
| 7375 |
< |
|
| 7376 |
< |
# Check whether --enable-shared was given. |
| 7377 |
< |
if test "${enable_shared+set}" = set; then : |
| 7378 |
< |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7364 |
> |
# Check whether --enable-static was given. |
| 7365 |
> |
if test "${enable_static+set}" = set; then : |
| 7366 |
> |
enableval=$enable_static; p=${PACKAGE-default} |
| 7367 |
|
case $enableval in |
| 7368 |
< |
yes) enable_shared=yes ;; |
| 7369 |
< |
no) enable_shared=no ;; |
| 7368 |
> |
yes) enable_static=yes ;; |
| 7369 |
> |
no) enable_static=no ;; |
| 7370 |
|
*) |
| 7371 |
< |
enable_shared=no |
| 7371 |
> |
enable_static=no |
| 7372 |
|
# Look at the argument we got. We use all the common list separators. |
| 7373 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7374 |
|
for pkg in $enableval; do |
| 7375 |
|
IFS="$lt_save_ifs" |
| 7376 |
|
if test "X$pkg" = "X$p"; then |
| 7377 |
< |
enable_shared=yes |
| 7377 |
> |
enable_static=yes |
| 7378 |
|
fi |
| 7379 |
|
done |
| 7380 |
|
IFS="$lt_save_ifs" |
| 7381 |
|
;; |
| 7382 |
|
esac |
| 7383 |
|
else |
| 7384 |
< |
enable_shared=yes |
| 7384 |
> |
enable_static=no |
| 7385 |
|
fi |
| 7386 |
|
|
| 7387 |
|
|
| 7392 |
|
|
| 7393 |
|
|
| 7394 |
|
|
| 7395 |
< |
# Check whether --enable-static was given. |
| 7396 |
< |
if test "${enable_static+set}" = set; then : |
| 7397 |
< |
enableval=$enable_static; p=${PACKAGE-default} |
| 7395 |
> |
|
| 7396 |
> |
|
| 7397 |
> |
enable_win32_dll=no |
| 7398 |
> |
|
| 7399 |
> |
|
| 7400 |
> |
# Check whether --enable-shared was given. |
| 7401 |
> |
if test "${enable_shared+set}" = set; then : |
| 7402 |
> |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7403 |
|
case $enableval in |
| 7404 |
< |
yes) enable_static=yes ;; |
| 7405 |
< |
no) enable_static=no ;; |
| 7404 |
> |
yes) enable_shared=yes ;; |
| 7405 |
> |
no) enable_shared=no ;; |
| 7406 |
|
*) |
| 7407 |
< |
enable_static=no |
| 7407 |
> |
enable_shared=no |
| 7408 |
|
# Look at the argument we got. We use all the common list separators. |
| 7409 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7410 |
|
for pkg in $enableval; do |
| 7411 |
|
IFS="$lt_save_ifs" |
| 7412 |
|
if test "X$pkg" = "X$p"; then |
| 7413 |
< |
enable_static=yes |
| 7413 |
> |
enable_shared=yes |
| 7414 |
|
fi |
| 7415 |
|
done |
| 7416 |
|
IFS="$lt_save_ifs" |
| 7417 |
|
;; |
| 7418 |
|
esac |
| 7419 |
|
else |
| 7420 |
< |
enable_static=yes |
| 7420 |
> |
enable_shared=yes |
| 7421 |
|
fi |
| 7422 |
|
|
| 7423 |
|
|
| 7429 |
|
|
| 7430 |
|
|
| 7431 |
|
|
| 7432 |
+ |
|
| 7433 |
|
# Check whether --with-pic was given. |
| 7434 |
|
if test "${with_pic+set}" = set; then : |
| 7435 |
|
withval=$with_pic; pic_mode="$withval" |
| 7853 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7854 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7855 |
|
-e 's:$: $lt_compiler_flag:'` |
| 7856 |
< |
(eval echo "\"\$as_me:7862: $lt_compile\"" >&5) |
| 7856 |
> |
(eval echo "\"\$as_me:7856: $lt_compile\"" >&5) |
| 7857 |
|
(eval "$lt_compile" 2>conftest.err) |
| 7858 |
|
ac_status=$? |
| 7859 |
|
cat conftest.err >&5 |
| 7860 |
< |
echo "$as_me:7866: \$? = $ac_status" >&5 |
| 7860 |
> |
echo "$as_me:7860: \$? = $ac_status" >&5 |
| 7861 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7862 |
|
# The compiler can only warn and ignore the option if not recognized |
| 7863 |
|
# So say no if there are warnings other than the usual output. |
| 8192 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8193 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8194 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8195 |
< |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
| 8195 |
> |
(eval echo "\"\$as_me:8195: $lt_compile\"" >&5) |
| 8196 |
|
(eval "$lt_compile" 2>conftest.err) |
| 8197 |
|
ac_status=$? |
| 8198 |
|
cat conftest.err >&5 |
| 8199 |
< |
echo "$as_me:8205: \$? = $ac_status" >&5 |
| 8199 |
> |
echo "$as_me:8199: \$? = $ac_status" >&5 |
| 8200 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 8201 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8202 |
|
# So say no if there are warnings other than the usual output. |
| 8297 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8298 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8299 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8300 |
< |
(eval echo "\"\$as_me:8306: $lt_compile\"" >&5) |
| 8300 |
> |
(eval echo "\"\$as_me:8300: $lt_compile\"" >&5) |
| 8301 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8302 |
|
ac_status=$? |
| 8303 |
|
cat out/conftest.err >&5 |
| 8304 |
< |
echo "$as_me:8310: \$? = $ac_status" >&5 |
| 8304 |
> |
echo "$as_me:8304: \$? = $ac_status" >&5 |
| 8305 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8306 |
|
then |
| 8307 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8352 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8353 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8354 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8355 |
< |
(eval echo "\"\$as_me:8361: $lt_compile\"" >&5) |
| 8355 |
> |
(eval echo "\"\$as_me:8355: $lt_compile\"" >&5) |
| 8356 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8357 |
|
ac_status=$? |
| 8358 |
|
cat out/conftest.err >&5 |
| 8359 |
< |
echo "$as_me:8365: \$? = $ac_status" >&5 |
| 8359 |
> |
echo "$as_me:8359: \$? = $ac_status" >&5 |
| 8360 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8361 |
|
then |
| 8362 |
|
# The compiler can only warn and ignore the option if not recognized |
| 10089 |
|
libsuff= |
| 10090 |
|
case "$host_cpu" in |
| 10091 |
|
x86_64*|s390x*|powerpc64*) |
| 10092 |
< |
echo '#line 10098 "configure"' > conftest.$ac_ext |
| 10092 |
> |
echo '#line 10092 "configure"' > conftest.$ac_ext |
| 10093 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10094 |
|
(eval $ac_compile) 2>&5 |
| 10095 |
|
ac_status=$? |
| 10742 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10743 |
|
lt_status=$lt_dlunknown |
| 10744 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10745 |
< |
#line 10751 "configure" |
| 10745 |
> |
#line 10745 "configure" |
| 10746 |
|
#include "confdefs.h" |
| 10747 |
|
|
| 10748 |
|
#if HAVE_DLFCN_H |
| 10838 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10839 |
|
lt_status=$lt_dlunknown |
| 10840 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10841 |
< |
#line 10847 "configure" |
| 10841 |
> |
#line 10841 "configure" |
| 10842 |
|
#include "confdefs.h" |
| 10843 |
|
|
| 10844 |
|
#if HAVE_DLFCN_H |
| 11510 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 11511 |
|
lt_status=$lt_dlunknown |
| 11512 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 11513 |
< |
#line 11519 "configure" |
| 11513 |
> |
#line 11513 "configure" |
| 11514 |
|
#include "confdefs.h" |
| 11515 |
|
|
| 11516 |
|
#if HAVE_DLFCN_H |
| 12759 |
|
|
| 12760 |
|
|
| 12761 |
|
|
| 12768 |
– |
|
| 12769 |
– |
|
| 12770 |
– |
|
| 12771 |
– |
|
| 12772 |
– |
|
| 12773 |
– |
|
| 12762 |
|
# Checks for header files. |
| 12763 |
|
|
| 12764 |
|
|
| 12849 |
|
return 0; |
| 12850 |
|
} |
| 12851 |
|
_ACEOF |
| 12852 |
< |
for ac_lib in '' crypt descrypt; do |
| 12852 |
> |
for ac_lib in '' crypt; do |
| 12853 |
|
if test -z "$ac_lib"; then |
| 12854 |
|
ac_res="none required" |
| 12855 |
|
else |
| 12881 |
|
|
| 12882 |
|
fi |
| 12883 |
|
|
| 12896 |
– |
if test "$ac_cv_search_crypt" = "none required"; then |
| 12897 |
– |
HAVE_CRYPT_TRUE= |
| 12898 |
– |
HAVE_CRYPT_FALSE='#' |
| 12899 |
– |
else |
| 12900 |
– |
HAVE_CRYPT_TRUE='#' |
| 12901 |
– |
HAVE_CRYPT_FALSE= |
| 12902 |
– |
fi |
| 12903 |
– |
|
| 12884 |
|
|
| 12885 |
|
|
| 12886 |
|
|
| 13070 |
|
|
| 13071 |
|
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 13072 |
|
|
| 13073 |
+ |
|
| 13074 |
+ |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 13075 |
+ |
|
| 13076 |
+ |
|
| 13077 |
+ |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13078 |
+ |
|
| 13079 |
|
else |
| 13080 |
|
|
| 13081 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 13101 |
|
|
| 13102 |
|
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 13103 |
|
|
| 13104 |
+ |
|
| 13105 |
+ |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13106 |
+ |
|
| 13107 |
+ |
|
| 13108 |
+ |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13109 |
+ |
|
| 13110 |
|
fi |
| 13111 |
|
|
| 13112 |
|
|
| 13612 |
|
fi |
| 13613 |
|
|
| 13614 |
|
if test "$warnings" = "yes" ; then |
| 13615 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused" |
| 13615 |
> |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef" |
| 13616 |
|
fi |
| 13617 |
|
|
| 13618 |
|
|
| 13888 |
|
|
| 13889 |
|
|
| 13890 |
|
|
| 13899 |
– |
if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then |
| 13900 |
– |
as_fn_error "conditional \"HAVE_CRYPT\" was never defined. |
| 13901 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13902 |
– |
fi |
| 13891 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 13892 |
|
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
| 13893 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14491 |
|
delay_variable_subst='$delay_variable_subst' |
| 14492 |
|
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
| 14493 |
|
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
| 14506 |
– |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
| 14494 |
|
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
| 14495 |
+ |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
| 14496 |
|
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
| 14497 |
|
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
| 14498 |
|
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
| 15502 |
|
macro_version=$macro_version |
| 15503 |
|
macro_revision=$macro_revision |
| 15504 |
|
|
| 15517 |
– |
# Whether or not to build shared libraries. |
| 15518 |
– |
build_libtool_libs=$enable_shared |
| 15519 |
– |
|
| 15505 |
|
# Whether or not to build static libraries. |
| 15506 |
|
build_old_libs=$enable_static |
| 15507 |
|
|
| 15508 |
+ |
# Whether or not to build shared libraries. |
| 15509 |
+ |
build_libtool_libs=$enable_shared |
| 15510 |
+ |
|
| 15511 |
|
# What type of objects to build. |
| 15512 |
|
pic_mode=$pic_mode |
| 15513 |
|
|