| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1349 2012-04-11 18:45:51Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
| 5 |
|
# |
| 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 |
| 782 |
|
with_ltdl_include |
| 783 |
|
with_ltdl_lib |
| 784 |
|
enable_ltdl_install |
| 787 |
– |
with_zlib_path |
| 788 |
– |
enable_zlib |
| 789 |
– |
with_libpcre_path |
| 785 |
|
enable_libpcre |
| 786 |
|
enable_openssl |
| 787 |
|
enable_assert |
| 794 |
|
enable_select |
| 795 |
|
with_nicklen |
| 796 |
|
with_topiclen |
| 802 |
– |
with_syslog_facility |
| 797 |
|
enable_efnet |
| 798 |
|
enable_halfops |
| 799 |
|
enable_debugging |
| 800 |
|
enable_warnings |
| 807 |
– |
enable_syslog |
| 801 |
|
' |
| 802 |
|
ac_precious_vars='build_alias |
| 803 |
|
host_alias |
| 1440 |
|
optimize for fast installation [default=yes] |
| 1441 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1442 |
|
--enable-ltdl-install install libltdl |
| 1450 |
– |
--disable-zlib Disable ziplinks support |
| 1443 |
|
--disable-libpcre Disable PCRE support |
| 1444 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1445 |
|
--disable-openssl Disable OpenSSL support. |
| 1455 |
|
--enable-halfops Enable halfops support. |
| 1456 |
|
--enable-debugging Enable debugging. |
| 1457 |
|
--enable-warnings Enable compiler warnings. |
| 1466 |
– |
--enable-syslog="EVENTS" |
| 1467 |
– |
Enable syslog for events: users oper (space |
| 1468 |
– |
separated in quotes; default: disabled). |
| 1458 |
|
|
| 1459 |
|
Optional Packages: |
| 1460 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 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 |
| 1481 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1482 |
– |
--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). |
| 1485 |
– |
--with-syslog-facility=LOG |
| 1486 |
– |
Define the syslog facility to use (default: |
| 1487 |
– |
LOG_LOCAL4) |
| 1472 |
|
|
| 1473 |
|
Some influential environment variables: |
| 1474 |
|
CC C compiler command |
| 2363 |
|
as_fn_append ac_func_list " usleep" |
| 2364 |
|
as_fn_append ac_func_list " strlcat" |
| 2365 |
|
as_fn_append ac_func_list " strlcpy" |
| 2382 |
– |
as_fn_append ac_func_list " socketpair" |
| 2366 |
|
as_fn_append ac_header_list " crypt.h" |
| 2384 |
– |
as_fn_append ac_header_list " inttypes.h" |
| 2385 |
– |
as_fn_append ac_header_list " stdint.h" |
| 2367 |
|
as_fn_append ac_header_list " sys/resource.h" |
| 2368 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2388 |
– |
as_fn_append ac_header_list " errno.h" |
| 2389 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
| 2369 |
|
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" |
| 2394 |
– |
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 |
| 2935 |
|
|
| 2936 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 2937 |
|
# some platforms. |
| 2938 |
< |
# Always define AMTAR for backward compatibility. |
| 2938 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2939 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
| 2940 |
> |
AMTAR='$${TAR-tar}' |
| 2941 |
|
|
| 2942 |
< |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 2963 |
< |
|
| 2964 |
< |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 2942 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 2943 |
|
|
| 2944 |
|
|
| 2945 |
|
|
| 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 |
| 13498 |
|
|
| 13499 |
|
|
| 13500 |
|
|
| 13523 |
– |
|
| 13524 |
– |
|
| 13501 |
|
# Checks for header files. |
| 13502 |
|
|
| 13503 |
|
|
| 13532 |
|
|
| 13533 |
|
|
| 13534 |
|
|
| 13559 |
– |
|
| 13560 |
– |
|
| 13561 |
– |
|
| 13562 |
– |
|
| 13563 |
– |
|
| 13564 |
– |
|
| 13565 |
– |
|
| 13566 |
– |
|
| 13567 |
– |
|
| 13568 |
– |
|
| 13569 |
– |
# check for /dev/null so we can use it to hold evil fd's |
| 13570 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 13571 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
| 13572 |
– |
if test -c /dev/null; then : |
| 13573 |
– |
|
| 13574 |
– |
|
| 13575 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 13576 |
– |
|
| 13577 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13578 |
– |
$as_echo "yes" >&6; } |
| 13579 |
– |
else |
| 13580 |
– |
|
| 13581 |
– |
|
| 13582 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 13583 |
– |
|
| 13584 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 13585 |
– |
$as_echo "no - using devnull.log" >&6; } |
| 13586 |
– |
fi |
| 13587 |
– |
|
| 13588 |
– |
|
| 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 : |
| 13589 |
|
fi |
| 13590 |
|
|
| 13591 |
|
|
| 13646 |
– |
|
| 13647 |
– |
|
| 13648 |
– |
# Check whether --with-zlib-path was given. |
| 13649 |
– |
if test "${with_zlib_path+set}" = set; then : |
| 13650 |
– |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13651 |
– |
fi |
| 13652 |
– |
|
| 13653 |
– |
|
| 13654 |
– |
# Check whether --enable-zlib was given. |
| 13655 |
– |
if test "${enable_zlib+set}" = set; then : |
| 13656 |
– |
enableval=$enable_zlib; zlib=$enableval |
| 13657 |
– |
else |
| 13658 |
– |
zlib=yes |
| 13659 |
– |
fi |
| 13660 |
– |
|
| 13661 |
– |
|
| 13662 |
– |
if test "$zlib" = "yes"; then : |
| 13663 |
– |
|
| 13664 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 13665 |
– |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13666 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 13667 |
– |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 13668 |
– |
if ${ac_cv_lib_z_zlibVersion+:} false; then : |
| 13669 |
– |
$as_echo_n "(cached) " >&6 |
| 13670 |
– |
else |
| 13671 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 13672 |
– |
LIBS="-lz $LIBS" |
| 13673 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13674 |
– |
/* end confdefs.h. */ |
| 13675 |
– |
|
| 13676 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 13677 |
– |
Use char because int might match the return type of a GCC |
| 13678 |
– |
builtin and then its argument prototype would still apply. */ |
| 13679 |
– |
#ifdef __cplusplus |
| 13680 |
– |
extern "C" |
| 13681 |
– |
#endif |
| 13682 |
– |
char zlibVersion (); |
| 13683 |
– |
int |
| 13684 |
– |
main () |
| 13685 |
– |
{ |
| 13686 |
– |
return zlibVersion (); |
| 13687 |
– |
; |
| 13688 |
– |
return 0; |
| 13689 |
– |
} |
| 13690 |
– |
_ACEOF |
| 13691 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 13692 |
– |
ac_cv_lib_z_zlibVersion=yes |
| 13693 |
– |
else |
| 13694 |
– |
ac_cv_lib_z_zlibVersion=no |
| 13695 |
– |
fi |
| 13696 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 13697 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 13698 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 13699 |
– |
fi |
| 13700 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 13701 |
– |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 13702 |
– |
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
| 13703 |
– |
|
| 13704 |
– |
LIBS="-lz $LIBS" |
| 13705 |
– |
|
| 13706 |
– |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 13707 |
– |
|
| 13708 |
– |
|
| 13709 |
– |
else |
| 13710 |
– |
zlib=no |
| 13711 |
– |
fi |
| 13712 |
– |
|
| 13713 |
– |
|
| 13714 |
– |
else |
| 13715 |
– |
zlib=no |
| 13716 |
– |
fi |
| 13717 |
– |
|
| 13718 |
– |
|
| 13719 |
– |
|
| 13720 |
– |
fi |
| 13721 |
– |
|
| 13722 |
– |
|
| 13723 |
– |
# Check whether --with-libpcre-path was given. |
| 13724 |
– |
if test "${with_libpcre_path+set}" = set; then : |
| 13725 |
– |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13726 |
– |
fi |
| 13727 |
– |
|
| 13728 |
– |
|
| 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 |
| 13733 |
– |
libpcre=yes |
| 13734 |
– |
fi |
| 13735 |
– |
|
| 13736 |
– |
|
| 13737 |
– |
if test "$libpcre" = "yes"; then : |
| 13738 |
– |
|
| 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 |
| 13747 |
< |
LIBS="-lpcre $LIBS" |
| 13603 |
> |
ac_func_search_save_LIBS=$LIBS |
| 13604 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13605 |
|
/* end confdefs.h. */ |
| 13606 |
|
|
| 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; } |
| 13777 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
| 13778 |
< |
|
| 13779 |
< |
LIBS="-lpcre $LIBS" |
| 13780 |
< |
|
| 13781 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13782 |
< |
|
| 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 |
|
|
| 13789 |
– |
else |
| 13790 |
– |
libpcre=no |
| 13654 |
|
fi |
| 13655 |
|
|
| 13656 |
+ |
fi |
| 13657 |
|
|
| 13658 |
|
|
| 13659 |
|
fi |
| 13796 |
– |
if test "$libpcre" = yes; then |
| 13797 |
– |
ENABLE_PCRE_TRUE= |
| 13798 |
– |
ENABLE_PCRE_FALSE='#' |
| 13799 |
– |
else |
| 13800 |
– |
ENABLE_PCRE_TRUE='#' |
| 13801 |
– |
ENABLE_PCRE_FALSE= |
| 13802 |
– |
fi |
| 13803 |
– |
|
| 13660 |
|
|
| 13661 |
|
|
| 13662 |
|
# Check whether --enable-openssl was given. |
| 13698 |
|
fi |
| 13699 |
|
|
| 13700 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 13845 |
– |
LIBS="-lcrypto -lssl $LIBS" |
| 13701 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13702 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
| 13703 |
|
cf_enable_openssl="yes" |
| 13849 |
– |
|
| 13850 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13851 |
– |
|
| 13704 |
|
else |
| 13705 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13706 |
|
$as_echo "not found. Please check your path." >&6; } |
| 13713 |
|
fi |
| 13714 |
|
|
| 13715 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 13716 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 13717 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 13716 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 13717 |
> |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 13718 |
|
if test "$cross_compiling" = yes; then : |
| 13719 |
|
cf_openssl_version_ok=no |
| 13720 |
|
else |
| 13727 |
|
int |
| 13728 |
|
main () |
| 13729 |
|
{ |
| 13730 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13730 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 13731 |
|
; |
| 13732 |
|
return 0; |
| 13733 |
|
} |
| 13746 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13747 |
|
$as_echo "found" >&6; } |
| 13748 |
|
|
| 13749 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13749 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 13750 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 13751 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 13752 |
> |
$as_echo_n "(cached) " >&6 |
| 13753 |
> |
else |
| 13754 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 13755 |
> |
LIBS="-lssl $LIBS" |
| 13756 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13757 |
> |
/* end confdefs.h. */ |
| 13758 |
> |
|
| 13759 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 13760 |
> |
Use char because int might match the return type of a GCC |
| 13761 |
> |
builtin and then its argument prototype would still apply. */ |
| 13762 |
> |
#ifdef __cplusplus |
| 13763 |
> |
extern "C" |
| 13764 |
> |
#endif |
| 13765 |
> |
char SSL_connect (); |
| 13766 |
> |
int |
| 13767 |
> |
main () |
| 13768 |
> |
{ |
| 13769 |
> |
return SSL_connect (); |
| 13770 |
> |
; |
| 13771 |
> |
return 0; |
| 13772 |
> |
} |
| 13773 |
> |
_ACEOF |
| 13774 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13775 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
| 13776 |
> |
else |
| 13777 |
> |
ac_cv_lib_ssl_SSL_connect=no |
| 13778 |
> |
fi |
| 13779 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13780 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 13781 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 13782 |
> |
fi |
| 13783 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 13784 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 13785 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 13786 |
> |
cat >>confdefs.h <<_ACEOF |
| 13787 |
> |
#define HAVE_LIBSSL 1 |
| 13788 |
> |
_ACEOF |
| 13789 |
> |
|
| 13790 |
> |
LIBS="-lssl $LIBS" |
| 13791 |
> |
|
| 13792 |
> |
fi |
| 13793 |
> |
|
| 13794 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
| 13795 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13796 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13797 |
|
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13798 |
|
$as_echo_n "(cached) " >&6 |
| 13837 |
|
|
| 13838 |
|
fi |
| 13839 |
|
|
| 13942 |
– |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 13943 |
– |
for ac_func in EVP_bf_cfb \ |
| 13944 |
– |
EVP_cast5_cfb \ |
| 13945 |
– |
EVP_idea_cfb \ |
| 13946 |
– |
EVP_rc5_32_12_16_cfb \ |
| 13947 |
– |
EVP_des_ede3_cfb \ |
| 13948 |
– |
EVP_des_cfb |
| 13949 |
– |
do : |
| 13950 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13951 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13952 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13953 |
– |
cat >>confdefs.h <<_ACEOF |
| 13954 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13955 |
– |
_ACEOF |
| 13956 |
– |
|
| 13957 |
– |
fi |
| 13958 |
– |
done |
| 13959 |
– |
|
| 13840 |
|
fi |
| 13841 |
|
|
| 13842 |
|
else |
| 13846 |
|
fi |
| 13847 |
|
fi |
| 13848 |
|
|
| 13849 |
< |
if test "$cf_enable_openssl" = yes; then |
| 13849 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = yes; then |
| 13850 |
|
ENABLE_SSL_TRUE= |
| 13851 |
|
ENABLE_SSL_FALSE='#' |
| 13852 |
|
else |
| 14370 |
|
|
| 14371 |
|
|
| 14372 |
|
|
| 14493 |
– |
|
| 14494 |
– |
# Check whether --with-syslog-facility was given. |
| 14495 |
– |
if test "${with_syslog_facility+set}" = set; then : |
| 14496 |
– |
withval=$with_syslog_facility; syslog_facility="$withval" |
| 14497 |
– |
else |
| 14498 |
– |
syslog_facility="LOG_LOCAL4" |
| 14499 |
– |
fi |
| 14500 |
– |
|
| 14501 |
– |
|
| 14502 |
– |
cat >>confdefs.h <<_ACEOF |
| 14503 |
– |
#define LOG_FACILITY $syslog_facility |
| 14504 |
– |
_ACEOF |
| 14505 |
– |
|
| 14506 |
– |
|
| 14507 |
– |
|
| 14373 |
|
# Check whether --enable-efnet was given. |
| 14374 |
|
if test "${enable_efnet+set}" = set; then : |
| 14375 |
|
enableval=$enable_efnet; efnet="$enableval" |
| 14440 |
|
fi |
| 14441 |
|
|
| 14442 |
|
|
| 14578 |
– |
for ac_header in syslog.h sys/syslog.h |
| 14579 |
– |
do : |
| 14580 |
– |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14581 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 14582 |
– |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 14583 |
– |
cat >>confdefs.h <<_ACEOF |
| 14584 |
– |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 14585 |
– |
_ACEOF |
| 14586 |
– |
|
| 14587 |
– |
fi |
| 14588 |
– |
|
| 14589 |
– |
done |
| 14590 |
– |
|
| 14591 |
– |
# Check whether --enable-syslog was given. |
| 14592 |
– |
if test "${enable_syslog+set}" = set; then : |
| 14593 |
– |
enableval=$enable_syslog; syslog="$enableval" |
| 14594 |
– |
else |
| 14595 |
– |
syslog="no" |
| 14596 |
– |
fi |
| 14597 |
– |
|
| 14598 |
– |
if test "$enableval" != "no" ; then |
| 14599 |
– |
for option in $enableval ; do |
| 14600 |
– |
case "$option" in |
| 14601 |
– |
users) |
| 14602 |
– |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
| 14603 |
– |
;; |
| 14604 |
– |
oper) |
| 14605 |
– |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
| 14606 |
– |
;; |
| 14607 |
– |
yes) : ;; |
| 14608 |
– |
*) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 14609 |
– |
esac |
| 14610 |
– |
done |
| 14611 |
– |
|
| 14612 |
– |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
| 14613 |
– |
|
| 14614 |
– |
fi |
| 14615 |
– |
|
| 14616 |
– |
|
| 14443 |
|
|
| 14444 |
|
prefix_NONE= |
| 14445 |
|
exec_prefix_NONE= |
| 14526 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 14527 |
|
|
| 14528 |
|
|
| 14529 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 14529 |
> |
ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 14530 |
|
|
| 14531 |
|
|
| 14532 |
|
cat >confcache <<\_ACEOF |
| 14684 |
|
|
| 14685 |
|
|
| 14686 |
|
|
| 14861 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 14862 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
| 14863 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14864 |
– |
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 |
| 15577 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 15578 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 15579 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15758 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 15759 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 15580 |
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15581 |
|
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 15582 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |