1 |
#! /bin/sh |
#! /bin/sh |
2 |
# From configure.ac Id: configure.ac 1338 2012-04-05 11:05:48Z michael . |
# From configure.ac Id: configure.ac 1348 2012-04-11 17:04:22Z michael . |
3 |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
4 |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
5 |
# |
# |
632 |
EFNET_TRUE |
EFNET_TRUE |
633 |
ENABLE_SSL_FALSE |
ENABLE_SSL_FALSE |
634 |
ENABLE_SSL_TRUE |
ENABLE_SSL_TRUE |
|
ENABLE_PCRE_FALSE |
|
|
ENABLE_PCRE_TRUE |
|
635 |
LTDLOPEN |
LTDLOPEN |
636 |
LT_CONFIG_H |
LT_CONFIG_H |
637 |
CONVENIENCE_LTDL_FALSE |
CONVENIENCE_LTDL_FALSE |
782 |
with_ltdl_include |
with_ltdl_include |
783 |
with_ltdl_lib |
with_ltdl_lib |
784 |
enable_ltdl_install |
enable_ltdl_install |
|
with_libpcre_path |
|
785 |
enable_libpcre |
enable_libpcre |
786 |
enable_openssl |
enable_openssl |
787 |
enable_assert |
enable_assert |
1467 |
--with-included-ltdl use the GNU ltdl sources included here |
--with-included-ltdl use the GNU ltdl sources included here |
1468 |
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1469 |
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
|
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
|
1470 |
--with-nicklen=<value> Set nickname length (default 9). |
--with-nicklen=<value> Set nickname length (default 9). |
1471 |
--with-topiclen=<value> Set topic length (default 160). |
--with-topiclen=<value> Set topic length (default 160). |
1472 |
|
|
13589 |
fi |
fi |
13590 |
|
|
13591 |
|
|
|
|
|
|
|
|
|
# Check whether --with-libpcre-path was given. |
|
|
if test "${with_libpcre_path+set}" = set; then : |
|
|
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
|
|
fi |
|
|
|
|
|
|
|
13592 |
# Check whether --enable-libpcre was given. |
# Check whether --enable-libpcre was given. |
13593 |
if test "${enable_libpcre+set}" = set; then : |
if test "${enable_libpcre+set}" = set; then : |
13594 |
enableval=$enable_libpcre; libpcre=$enableval |
enableval=$enable_libpcre; |
13595 |
else |
else |
|
libpcre=yes |
|
|
fi |
|
|
|
|
|
|
|
|
if test "$libpcre" = "yes"; then : |
|
|
|
|
13596 |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
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 : |
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 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
13599 |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
13600 |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
if ${ac_cv_search_pcre_study+:} false; then : |
13601 |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
13602 |
else |
else |
13603 |
ac_check_lib_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
|
LIBS="-lpcre $LIBS" |
|
13604 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13605 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
13606 |
|
|
13619 |
return 0; |
return 0; |
13620 |
} |
} |
13621 |
_ACEOF |
_ACEOF |
13622 |
if ac_fn_c_try_link "$LINENO"; then : |
for ac_lib in '' pcre; do |
13623 |
ac_cv_lib_pcre_pcre_study=yes |
if test -z "$ac_lib"; then |
13624 |
else |
ac_res="none required" |
13625 |
ac_cv_lib_pcre_pcre_study=no |
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 |
fi |
13632 |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
13633 |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext |
13634 |
LIBS=$ac_check_lib_save_LIBS |
if ${ac_cv_search_pcre_study+:} false; then : |
13635 |
|
break |
13636 |
fi |
fi |
13637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
done |
13638 |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
if ${ac_cv_search_pcre_study+:} false; then : |
|
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
|
|
|
|
|
LIBS="-lpcre $LIBS" |
|
|
|
|
|
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
|
|
|
|
13639 |
|
|
13640 |
else |
else |
13641 |
libpcre=no |
ac_cv_search_pcre_study=no |
13642 |
|
fi |
13643 |
|
rm conftest.$ac_ext |
13644 |
|
LIBS=$ac_func_search_save_LIBS |
13645 |
fi |
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 |
|
|
|
else |
|
|
libpcre=no |
|
13654 |
fi |
fi |
13655 |
|
|
13656 |
|
fi |
13657 |
|
|
13658 |
|
|
13659 |
fi |
fi |
|
if test "$libpcre" = yes; then |
|
|
ENABLE_PCRE_TRUE= |
|
|
ENABLE_PCRE_FALSE='#' |
|
|
else |
|
|
ENABLE_PCRE_TRUE='#' |
|
|
ENABLE_PCRE_FALSE= |
|
|
fi |
|
|
|
|
13660 |
|
|
13661 |
|
|
13662 |
# Check whether --enable-openssl was given. |
# Check whether --enable-openssl was given. |
14684 |
|
|
14685 |
|
|
14686 |
|
|
|
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
|
|
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
|
fi |
|
14687 |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
14688 |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
14689 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |