| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1856 2013-04-24 19:43:22Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1908 2013-04-27 21:25:11Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 805 |
|
with_ltdl_include |
| 806 |
|
with_ltdl_lib |
| 807 |
|
enable_ltdl_install |
| 808 |
– |
enable_libpcre |
| 808 |
|
enable_libGeoIP |
| 809 |
|
enable_openssl |
| 810 |
|
enable_assert |
| 1461 |
|
optimize for fast installation [default=yes] |
| 1462 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1463 |
|
--enable-ltdl-install install libltdl |
| 1465 |
– |
--disable-libpcre Disable PCRE support |
| 1464 |
|
--disable-libgeoip Disable GeoIP support |
| 1465 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1466 |
|
--disable-openssl Disable OpenSSL support. |
| 13655 |
|
|
| 13656 |
|
fi |
| 13657 |
|
|
| 13660 |
– |
|
| 13661 |
– |
# Check whether --enable-libpcre was given. |
| 13662 |
– |
if test "${enable_libpcre+set}" = set; then : |
| 13663 |
– |
enableval=$enable_libpcre; |
| 13664 |
– |
else |
| 13665 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13666 |
– |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13667 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
| 13668 |
– |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
| 13669 |
– |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13670 |
– |
$as_echo_n "(cached) " >&6 |
| 13671 |
– |
else |
| 13672 |
– |
ac_func_search_save_LIBS=$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 pcre_study (); |
| 13683 |
– |
int |
| 13684 |
– |
main () |
| 13685 |
– |
{ |
| 13686 |
– |
return pcre_study (); |
| 13687 |
– |
; |
| 13688 |
– |
return 0; |
| 13689 |
– |
} |
| 13690 |
– |
_ACEOF |
| 13691 |
– |
for ac_lib in '' pcre; do |
| 13692 |
– |
if test -z "$ac_lib"; then |
| 13693 |
– |
ac_res="none required" |
| 13694 |
– |
else |
| 13695 |
– |
ac_res=-l$ac_lib |
| 13696 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13697 |
– |
fi |
| 13698 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 13699 |
– |
ac_cv_search_pcre_study=$ac_res |
| 13700 |
– |
fi |
| 13701 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 13702 |
– |
conftest$ac_exeext |
| 13703 |
– |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13704 |
– |
break |
| 13705 |
– |
fi |
| 13706 |
– |
done |
| 13707 |
– |
if ${ac_cv_search_pcre_study+:} false; then : |
| 13708 |
– |
|
| 13709 |
– |
else |
| 13710 |
– |
ac_cv_search_pcre_study=no |
| 13711 |
– |
fi |
| 13712 |
– |
rm conftest.$ac_ext |
| 13713 |
– |
LIBS=$ac_func_search_save_LIBS |
| 13714 |
– |
fi |
| 13715 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
| 13716 |
– |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
| 13717 |
– |
ac_res=$ac_cv_search_pcre_study |
| 13718 |
– |
if test "$ac_res" != no; then : |
| 13719 |
– |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13720 |
– |
|
| 13721 |
– |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13722 |
– |
|
| 13723 |
– |
fi |
| 13724 |
– |
|
| 13725 |
– |
fi |
| 13726 |
– |
|
| 13727 |
– |
|
| 13728 |
– |
fi |
| 13729 |
– |
|
| 13658 |
|
|
| 13659 |
|
# Check whether --enable-libGeoIP was given. |
| 13660 |
|
if test "${enable_libGeoIP+set}" = set; then : |