| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1310 2012-03-26 15:45:02Z 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_libpcre_path |
| 785 |
|
enable_libpcre |
| 786 |
|
enable_openssl |
| 787 |
|
enable_assert |
| 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 |
| 1473 |
– |
--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). |
| 1472 |
|
|
| 2363 |
|
as_fn_append ac_func_list " usleep" |
| 2364 |
|
as_fn_append ac_func_list " strlcat" |
| 2365 |
|
as_fn_append ac_func_list " strlcpy" |
| 2370 |
– |
as_fn_append ac_func_list " socketpair" |
| 2366 |
|
as_fn_append ac_header_list " crypt.h" |
| 2372 |
– |
as_fn_append ac_header_list " inttypes.h" |
| 2373 |
– |
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" |
| 2376 |
– |
as_fn_append ac_header_list " errno.h" |
| 2377 |
– |
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" |
| 2382 |
– |
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 |
| 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 |
|
|
| 13511 |
– |
|
| 13512 |
– |
|
| 13501 |
|
# Checks for header files. |
| 13502 |
|
|
| 13503 |
|
|
| 13532 |
|
|
| 13533 |
|
|
| 13534 |
|
|
| 13547 |
– |
|
| 13548 |
– |
|
| 13549 |
– |
|
| 13550 |
– |
|
| 13551 |
– |
|
| 13552 |
– |
|
| 13553 |
– |
|
| 13554 |
– |
|
| 13555 |
– |
|
| 13556 |
– |
|
| 13557 |
– |
# check for /dev/null so we can use it to hold evil fd's |
| 13558 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 13559 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
| 13560 |
– |
if test -c /dev/null; then : |
| 13561 |
– |
|
| 13562 |
– |
|
| 13563 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 13564 |
– |
|
| 13565 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13566 |
– |
$as_echo "yes" >&6; } |
| 13567 |
– |
else |
| 13568 |
– |
|
| 13569 |
– |
|
| 13570 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 13571 |
– |
|
| 13572 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 13573 |
– |
$as_echo "no - using devnull.log" >&6; } |
| 13574 |
– |
fi |
| 13575 |
– |
|
| 13576 |
– |
|
| 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 |
|
|
| 13634 |
– |
|
| 13635 |
– |
|
| 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" |
| 13639 |
– |
fi |
| 13640 |
– |
|
| 13641 |
– |
|
| 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 |
| 13646 |
– |
libpcre=yes |
| 13647 |
– |
fi |
| 13648 |
– |
|
| 13649 |
– |
|
| 13650 |
– |
if test "$libpcre" = "yes"; then : |
| 13651 |
– |
|
| 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 |
| 13660 |
< |
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; } |
| 13690 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
| 13691 |
< |
|
| 13692 |
< |
LIBS="-lpcre $LIBS" |
| 13693 |
< |
|
| 13694 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13695 |
< |
|
| 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 |
|
|
| 13702 |
– |
else |
| 13703 |
– |
libpcre=no |
| 13654 |
|
fi |
| 13655 |
|
|
| 13656 |
+ |
fi |
| 13657 |
|
|
| 13658 |
|
|
| 13659 |
|
fi |
| 13709 |
– |
if test "$libpcre" = yes; then |
| 13710 |
– |
ENABLE_PCRE_TRUE= |
| 13711 |
– |
ENABLE_PCRE_FALSE='#' |
| 13712 |
– |
else |
| 13713 |
– |
ENABLE_PCRE_TRUE='#' |
| 13714 |
– |
ENABLE_PCRE_FALSE= |
| 13715 |
– |
fi |
| 13716 |
– |
|
| 13660 |
|
|
| 13661 |
|
|
| 13662 |
|
# Check whether --enable-openssl was given. |
| 14684 |
|
|
| 14685 |
|
|
| 14686 |
|
|
| 14744 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 14745 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
| 14746 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14747 |
– |
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 |