| 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 1292 2012-02-12 20:36:27Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
| 5 |
|
# |
| 784 |
|
with_ltdl_include |
| 785 |
|
with_ltdl_lib |
| 786 |
|
enable_ltdl_install |
| 787 |
– |
with_zlib_path |
| 788 |
– |
enable_zlib |
| 787 |
|
with_libpcre_path |
| 788 |
|
enable_libpcre |
| 789 |
|
enable_openssl |
| 1443 |
|
optimize for fast installation [default=yes] |
| 1444 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1445 |
|
--enable-ltdl-install install libltdl |
| 1448 |
– |
--disable-zlib Disable ziplinks support |
| 1446 |
|
--disable-libpcre Disable PCRE support |
| 1447 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1448 |
|
--disable-openssl Disable OpenSSL support. |
| 1470 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1471 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1472 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1476 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1473 |
|
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1474 |
|
--with-nicklen=<value> Set nickname length (default 9). |
| 1475 |
|
--with-topiclen=<value> Set topic length (default 160). |
| 13633 |
|
|
| 13634 |
|
|
| 13635 |
|
|
| 13640 |
– |
# Check whether --with-zlib-path was given. |
| 13641 |
– |
if test "${with_zlib_path+set}" = set; then : |
| 13642 |
– |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13643 |
– |
fi |
| 13644 |
– |
|
| 13645 |
– |
|
| 13646 |
– |
# Check whether --enable-zlib was given. |
| 13647 |
– |
if test "${enable_zlib+set}" = set; then : |
| 13648 |
– |
enableval=$enable_zlib; zlib=$enableval |
| 13649 |
– |
else |
| 13650 |
– |
zlib=yes |
| 13651 |
– |
fi |
| 13652 |
– |
|
| 13653 |
– |
|
| 13654 |
– |
if test "$zlib" = "yes"; then : |
| 13655 |
– |
|
| 13656 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 13657 |
– |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13658 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 13659 |
– |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 13660 |
– |
if ${ac_cv_lib_z_zlibVersion+:} false; then : |
| 13661 |
– |
$as_echo_n "(cached) " >&6 |
| 13662 |
– |
else |
| 13663 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 13664 |
– |
LIBS="-lz $LIBS" |
| 13665 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13666 |
– |
/* end confdefs.h. */ |
| 13667 |
– |
|
| 13668 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 13669 |
– |
Use char because int might match the return type of a GCC |
| 13670 |
– |
builtin and then its argument prototype would still apply. */ |
| 13671 |
– |
#ifdef __cplusplus |
| 13672 |
– |
extern "C" |
| 13673 |
– |
#endif |
| 13674 |
– |
char zlibVersion (); |
| 13675 |
– |
int |
| 13676 |
– |
main () |
| 13677 |
– |
{ |
| 13678 |
– |
return zlibVersion (); |
| 13679 |
– |
; |
| 13680 |
– |
return 0; |
| 13681 |
– |
} |
| 13682 |
– |
_ACEOF |
| 13683 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 13684 |
– |
ac_cv_lib_z_zlibVersion=yes |
| 13685 |
– |
else |
| 13686 |
– |
ac_cv_lib_z_zlibVersion=no |
| 13687 |
– |
fi |
| 13688 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 13689 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 13690 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 13691 |
– |
fi |
| 13692 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 13693 |
– |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 13694 |
– |
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
| 13695 |
– |
|
| 13696 |
– |
LIBS="-lz $LIBS" |
| 13697 |
– |
|
| 13698 |
– |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 13699 |
– |
|
| 13700 |
– |
|
| 13701 |
– |
else |
| 13702 |
– |
zlib=no |
| 13703 |
– |
fi |
| 13704 |
– |
|
| 13705 |
– |
|
| 13706 |
– |
else |
| 13707 |
– |
zlib=no |
| 13708 |
– |
fi |
| 13709 |
– |
|
| 13710 |
– |
|
| 13711 |
– |
|
| 13712 |
– |
fi |
| 13713 |
– |
|
| 13714 |
– |
|
| 13636 |
|
# Check whether --with-libpcre-path was given. |
| 13637 |
|
if test "${with_libpcre_path+set}" = set; then : |
| 13638 |
|
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 14559 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 14560 |
|
|
| 14561 |
|
|
| 14562 |
< |
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" |
| 14562 |
> |
ac_config_files="$ac_config_files Makefile etc/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" |
| 14563 |
|
|
| 14564 |
|
|
| 14565 |
|
cat >confcache <<\_ACEOF |
| 15615 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 15616 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15617 |
|
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 15697 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 15618 |
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15619 |
|
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 15620 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |