| 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 977 2009-08-08 07:33: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) |
| 2664 |
|
as_fn_append ac_func_list " usleep" |
| 2665 |
|
as_fn_append ac_func_list " strlcat" |
| 2666 |
|
as_fn_append ac_func_list " strlcpy" |
| 2669 |
– |
as_fn_append ac_func_list " basename" |
| 2667 |
|
as_fn_append ac_header_list " crypt.h" |
| 2668 |
|
as_fn_append ac_header_list " inttypes.h" |
| 2669 |
|
as_fn_append ac_header_list " stdint.h" |
| 5120 |
|
else |
| 5121 |
|
lt_cv_nm_interface="BSD nm" |
| 5122 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5123 |
< |
(eval echo "\"\$as_me:5126: $ac_compile\"" >&5) |
| 5123 |
> |
(eval echo "\"\$as_me:5123: $ac_compile\"" >&5) |
| 5124 |
|
(eval "$ac_compile" 2>conftest.err) |
| 5125 |
|
cat conftest.err >&5 |
| 5126 |
< |
(eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5126 |
> |
(eval echo "\"\$as_me:5126: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5127 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 5128 |
|
cat conftest.err >&5 |
| 5129 |
< |
(eval echo "\"\$as_me:5132: output\"" >&5) |
| 5129 |
> |
(eval echo "\"\$as_me:5129: output\"" >&5) |
| 5130 |
|
cat conftest.out >&5 |
| 5131 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 5132 |
|
lt_cv_nm_interface="MS dumpbin" |
| 6331 |
|
;; |
| 6332 |
|
*-*-irix6*) |
| 6333 |
|
# Find out which ABI we are using. |
| 6334 |
< |
echo '#line 6337 "configure"' > conftest.$ac_ext |
| 6334 |
> |
echo '#line 6334 "configure"' > conftest.$ac_ext |
| 6335 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6336 |
|
(eval $ac_compile) 2>&5 |
| 6337 |
|
ac_status=$? |
| 7363 |
|
|
| 7364 |
|
# Set options |
| 7365 |
|
enable_dlopen=yes |
| 7366 |
< |
|
| 7367 |
< |
|
| 7368 |
< |
|
| 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} |
| 7366 |
> |
# Check whether --enable-static was given. |
| 7367 |
> |
if test "${enable_static+set}" = set; then : |
| 7368 |
> |
enableval=$enable_static; p=${PACKAGE-default} |
| 7369 |
|
case $enableval in |
| 7370 |
< |
yes) enable_shared=yes ;; |
| 7371 |
< |
no) enable_shared=no ;; |
| 7370 |
> |
yes) enable_static=yes ;; |
| 7371 |
> |
no) enable_static=no ;; |
| 7372 |
|
*) |
| 7373 |
< |
enable_shared=no |
| 7373 |
> |
enable_static=no |
| 7374 |
|
# Look at the argument we got. We use all the common list separators. |
| 7375 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7376 |
|
for pkg in $enableval; do |
| 7377 |
|
IFS="$lt_save_ifs" |
| 7378 |
|
if test "X$pkg" = "X$p"; then |
| 7379 |
< |
enable_shared=yes |
| 7379 |
> |
enable_static=yes |
| 7380 |
|
fi |
| 7381 |
|
done |
| 7382 |
|
IFS="$lt_save_ifs" |
| 7383 |
|
;; |
| 7384 |
|
esac |
| 7385 |
|
else |
| 7386 |
< |
enable_shared=yes |
| 7386 |
> |
enable_static=no |
| 7387 |
|
fi |
| 7388 |
|
|
| 7389 |
|
|
| 7394 |
|
|
| 7395 |
|
|
| 7396 |
|
|
| 7397 |
< |
# Check whether --enable-static was given. |
| 7398 |
< |
if test "${enable_static+set}" = set; then : |
| 7399 |
< |
enableval=$enable_static; p=${PACKAGE-default} |
| 7397 |
> |
|
| 7398 |
> |
|
| 7399 |
> |
enable_win32_dll=no |
| 7400 |
> |
|
| 7401 |
> |
|
| 7402 |
> |
# Check whether --enable-shared was given. |
| 7403 |
> |
if test "${enable_shared+set}" = set; then : |
| 7404 |
> |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7405 |
|
case $enableval in |
| 7406 |
< |
yes) enable_static=yes ;; |
| 7407 |
< |
no) enable_static=no ;; |
| 7406 |
> |
yes) enable_shared=yes ;; |
| 7407 |
> |
no) enable_shared=no ;; |
| 7408 |
|
*) |
| 7409 |
< |
enable_static=no |
| 7409 |
> |
enable_shared=no |
| 7410 |
|
# Look at the argument we got. We use all the common list separators. |
| 7411 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7412 |
|
for pkg in $enableval; do |
| 7413 |
|
IFS="$lt_save_ifs" |
| 7414 |
|
if test "X$pkg" = "X$p"; then |
| 7415 |
< |
enable_static=yes |
| 7415 |
> |
enable_shared=yes |
| 7416 |
|
fi |
| 7417 |
|
done |
| 7418 |
|
IFS="$lt_save_ifs" |
| 7419 |
|
;; |
| 7420 |
|
esac |
| 7421 |
|
else |
| 7422 |
< |
enable_static=yes |
| 7422 |
> |
enable_shared=yes |
| 7423 |
|
fi |
| 7424 |
|
|
| 7425 |
|
|
| 7431 |
|
|
| 7432 |
|
|
| 7433 |
|
|
| 7434 |
+ |
|
| 7435 |
|
# Check whether --with-pic was given. |
| 7436 |
|
if test "${with_pic+set}" = set; then : |
| 7437 |
|
withval=$with_pic; pic_mode="$withval" |
| 7855 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7856 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7857 |
|
-e 's:$: $lt_compiler_flag:'` |
| 7858 |
< |
(eval echo "\"\$as_me:7862: $lt_compile\"" >&5) |
| 7858 |
> |
(eval echo "\"\$as_me:7858: $lt_compile\"" >&5) |
| 7859 |
|
(eval "$lt_compile" 2>conftest.err) |
| 7860 |
|
ac_status=$? |
| 7861 |
|
cat conftest.err >&5 |
| 7862 |
< |
echo "$as_me:7866: \$? = $ac_status" >&5 |
| 7862 |
> |
echo "$as_me:7862: \$? = $ac_status" >&5 |
| 7863 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7864 |
|
# The compiler can only warn and ignore the option if not recognized |
| 7865 |
|
# So say no if there are warnings other than the usual output. |
| 8194 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8195 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8196 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8197 |
< |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
| 8197 |
> |
(eval echo "\"\$as_me:8197: $lt_compile\"" >&5) |
| 8198 |
|
(eval "$lt_compile" 2>conftest.err) |
| 8199 |
|
ac_status=$? |
| 8200 |
|
cat conftest.err >&5 |
| 8201 |
< |
echo "$as_me:8205: \$? = $ac_status" >&5 |
| 8201 |
> |
echo "$as_me:8201: \$? = $ac_status" >&5 |
| 8202 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 8203 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8204 |
|
# So say no if there are warnings other than the usual output. |
| 8299 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8300 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8301 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8302 |
< |
(eval echo "\"\$as_me:8306: $lt_compile\"" >&5) |
| 8302 |
> |
(eval echo "\"\$as_me:8302: $lt_compile\"" >&5) |
| 8303 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8304 |
|
ac_status=$? |
| 8305 |
|
cat out/conftest.err >&5 |
| 8306 |
< |
echo "$as_me:8310: \$? = $ac_status" >&5 |
| 8306 |
> |
echo "$as_me:8306: \$? = $ac_status" >&5 |
| 8307 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8308 |
|
then |
| 8309 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8354 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8355 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8356 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8357 |
< |
(eval echo "\"\$as_me:8361: $lt_compile\"" >&5) |
| 8357 |
> |
(eval echo "\"\$as_me:8357: $lt_compile\"" >&5) |
| 8358 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8359 |
|
ac_status=$? |
| 8360 |
|
cat out/conftest.err >&5 |
| 8361 |
< |
echo "$as_me:8365: \$? = $ac_status" >&5 |
| 8361 |
> |
echo "$as_me:8361: \$? = $ac_status" >&5 |
| 8362 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8363 |
|
then |
| 8364 |
|
# The compiler can only warn and ignore the option if not recognized |
| 10091 |
|
libsuff= |
| 10092 |
|
case "$host_cpu" in |
| 10093 |
|
x86_64*|s390x*|powerpc64*) |
| 10094 |
< |
echo '#line 10098 "configure"' > conftest.$ac_ext |
| 10094 |
> |
echo '#line 10094 "configure"' > conftest.$ac_ext |
| 10095 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10096 |
|
(eval $ac_compile) 2>&5 |
| 10097 |
|
ac_status=$? |
| 10744 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10745 |
|
lt_status=$lt_dlunknown |
| 10746 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10747 |
< |
#line 10751 "configure" |
| 10747 |
> |
#line 10747 "configure" |
| 10748 |
|
#include "confdefs.h" |
| 10749 |
|
|
| 10750 |
|
#if HAVE_DLFCN_H |
| 10840 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10841 |
|
lt_status=$lt_dlunknown |
| 10842 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10843 |
< |
#line 10847 "configure" |
| 10843 |
> |
#line 10843 "configure" |
| 10844 |
|
#include "confdefs.h" |
| 10845 |
|
|
| 10846 |
|
#if HAVE_DLFCN_H |
| 11512 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 11513 |
|
lt_status=$lt_dlunknown |
| 11514 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 11515 |
< |
#line 11519 "configure" |
| 11515 |
> |
#line 11515 "configure" |
| 11516 |
|
#include "confdefs.h" |
| 11517 |
|
|
| 11518 |
|
#if HAVE_DLFCN_H |
| 12765 |
|
|
| 12766 |
|
|
| 12767 |
|
|
| 12772 |
– |
|
| 12773 |
– |
|
| 12768 |
|
# Checks for header files. |
| 12769 |
|
|
| 12770 |
|
|
| 12855 |
|
return 0; |
| 12856 |
|
} |
| 12857 |
|
_ACEOF |
| 12858 |
< |
for ac_lib in '' crypt descrypt; do |
| 12858 |
> |
for ac_lib in '' crypt; do |
| 12859 |
|
if test -z "$ac_lib"; then |
| 12860 |
|
ac_res="none required" |
| 12861 |
|
else |
| 12887 |
|
|
| 12888 |
|
fi |
| 12889 |
|
|
| 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 |
– |
|
| 12890 |
|
|
| 12891 |
|
|
| 12892 |
|
|
| 13882 |
|
|
| 13883 |
|
|
| 13884 |
|
|
| 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 |
| 13885 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 13886 |
|
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
| 13887 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14485 |
|
delay_variable_subst='$delay_variable_subst' |
| 14486 |
|
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
| 14487 |
|
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"`' |
| 14488 |
|
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
| 14489 |
+ |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
| 14490 |
|
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
| 14491 |
|
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
| 14492 |
|
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
| 15496 |
|
macro_version=$macro_version |
| 15497 |
|
macro_revision=$macro_revision |
| 15498 |
|
|
| 15517 |
– |
# Whether or not to build shared libraries. |
| 15518 |
– |
build_libtool_libs=$enable_shared |
| 15519 |
– |
|
| 15499 |
|
# Whether or not to build static libraries. |
| 15500 |
|
build_old_libs=$enable_static |
| 15501 |
|
|
| 15502 |
+ |
# Whether or not to build shared libraries. |
| 15503 |
+ |
build_libtool_libs=$enable_shared |
| 15504 |
+ |
|
| 15505 |
|
# What type of objects to build. |
| 15506 |
|
pic_mode=$pic_mode |
| 15507 |
|
|