| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1664 2012-11-18 14:33:47Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1751 2013-01-16 18:30:52Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 723 |
|
MAINT |
| 724 |
|
MAINTAINER_MODE_FALSE |
| 725 |
|
MAINTAINER_MODE_TRUE |
| 726 |
+ |
AM_BACKSLASH |
| 727 |
+ |
AM_DEFAULT_VERBOSITY |
| 728 |
+ |
AM_DEFAULT_V |
| 729 |
+ |
AM_V |
| 730 |
|
am__untar |
| 731 |
|
am__tar |
| 732 |
|
AMTAR |
| 791 |
|
ac_subst_files='' |
| 792 |
|
ac_user_opts=' |
| 793 |
|
enable_option_checking |
| 794 |
+ |
enable_silent_rules |
| 795 |
|
enable_maintainer_mode |
| 796 |
|
enable_dependency_tracking |
| 797 |
|
enable_static |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 809 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 812 |
– |
with_nicklen |
| 813 |
– |
with_topiclen |
| 816 |
|
enable_halfops |
| 817 |
|
enable_debugging |
| 818 |
|
enable_warnings |
| 1446 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1447 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1448 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1449 |
+ |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1450 |
+ |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1451 |
|
--enable-maintainer-mode |
| 1452 |
|
enable make rules and dependencies not useful (and |
| 1453 |
|
sometimes confusing) to the casual installer |
| 1468 |
|
--enable-kqueue Force kqueue usage. |
| 1469 |
|
--enable-epoll Force epoll usage. |
| 1470 |
|
--enable-devpoll Force devpoll usage. |
| 1467 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1471 |
|
--enable-poll Force poll usage. |
| 1472 |
|
--enable-select Force select usage. |
| 1473 |
|
--enable-halfops Enable halfops support. |
| 1485 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1486 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1487 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1485 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1486 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1488 |
|
|
| 1489 |
|
Some influential environment variables: |
| 1490 |
|
CC C compiler command |
| 2453 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2454 |
|
|
| 2455 |
|
|
| 2456 |
< |
am__api_version='1.12' |
| 2456 |
> |
am__api_version='1.13' |
| 2457 |
|
|
| 2458 |
|
ac_aux_dir= |
| 2459 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2666 |
|
esac |
| 2667 |
|
fi |
| 2668 |
|
# Use eval to expand $SHELL |
| 2669 |
< |
if eval "$MISSING --run true"; then |
| 2670 |
< |
am_missing_run="$MISSING --run " |
| 2669 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2670 |
> |
am_missing_run="$MISSING " |
| 2671 |
|
else |
| 2672 |
|
am_missing_run= |
| 2673 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2907 |
|
fi |
| 2908 |
|
rmdir .tst 2>/dev/null |
| 2909 |
|
|
| 2910 |
+ |
# Check whether --enable-silent-rules was given. |
| 2911 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 2912 |
+ |
enableval=$enable_silent_rules; |
| 2913 |
+ |
fi |
| 2914 |
+ |
|
| 2915 |
+ |
case $enable_silent_rules in # ((( |
| 2916 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2917 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2918 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2919 |
+ |
esac |
| 2920 |
+ |
am_make=${MAKE-make} |
| 2921 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2922 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2923 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2924 |
+ |
$as_echo_n "(cached) " >&6 |
| 2925 |
+ |
else |
| 2926 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2927 |
+ |
BAR0=false |
| 2928 |
+ |
BAR1=true |
| 2929 |
+ |
V=1 |
| 2930 |
+ |
am__doit: |
| 2931 |
+ |
@$(TRUE) |
| 2932 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2933 |
+ |
am_cv_make_support_nested_variables=yes |
| 2934 |
+ |
else |
| 2935 |
+ |
am_cv_make_support_nested_variables=no |
| 2936 |
+ |
fi |
| 2937 |
+ |
fi |
| 2938 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2939 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2940 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 2941 |
+ |
AM_V='$(V)' |
| 2942 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2943 |
+ |
else |
| 2944 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2945 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2946 |
+ |
fi |
| 2947 |
+ |
AM_BACKSLASH='\' |
| 2948 |
+ |
|
| 2949 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2950 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2951 |
|
# is not polluted with repeated "-I." |
| 13780 |
|
fi |
| 13781 |
|
|
| 13782 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 13783 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 13784 |
< |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 13783 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8s or above" >&5 |
| 13784 |
> |
$as_echo_n "checking for OpenSSL 0.9.8s or above... " >&6; } |
| 13785 |
|
if test "$cross_compiling" = yes; then : |
| 13786 |
|
cf_openssl_version_ok=no |
| 13787 |
|
else |
| 13794 |
|
int |
| 13795 |
|
main () |
| 13796 |
|
{ |
| 13797 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 13797 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f)); |
| 13798 |
|
; |
| 13799 |
|
return 0; |
| 13800 |
|
} |
| 13990 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 13991 |
|
fi |
| 13992 |
|
|
| 13953 |
– |
# Check whether --enable-rtsigio was given. |
| 13954 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 13955 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 13956 |
– |
fi |
| 13957 |
– |
|
| 13993 |
|
# Check whether --enable-poll was given. |
| 13994 |
|
if test "${enable_poll+set}" = set; then : |
| 13995 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14173 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14174 |
|
|
| 14175 |
|
fi |
| 14176 |
< |
iopoll_mechanism_rtsigio=4 |
| 14142 |
< |
|
| 14143 |
< |
cat >>confdefs.h <<_ACEOF |
| 14144 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14145 |
< |
_ACEOF |
| 14146 |
< |
|
| 14147 |
< |
if test "$cross_compiling" = yes; then : |
| 14148 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14149 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14150 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14151 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14152 |
< |
else |
| 14153 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14154 |
< |
/* end confdefs.h. */ |
| 14155 |
< |
|
| 14156 |
< |
#define _GNU_SOURCE |
| 14157 |
< |
#include <fcntl.h> |
| 14158 |
< |
static unsigned int have_f_setsig = 0; |
| 14159 |
< |
|
| 14160 |
< |
int |
| 14161 |
< |
main () |
| 14162 |
< |
{ |
| 14163 |
< |
|
| 14164 |
< |
#ifdef F_SETSIG |
| 14165 |
< |
have_f_setsig = 1; |
| 14166 |
< |
#endif |
| 14167 |
< |
return have_f_setsig == 0; |
| 14168 |
< |
|
| 14169 |
< |
; |
| 14170 |
< |
return 0; |
| 14171 |
< |
} |
| 14172 |
< |
_ACEOF |
| 14173 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14174 |
< |
is_rtsigio_mechanism_available="yes" |
| 14175 |
< |
else |
| 14176 |
< |
is_rtsigio_mechanism_available="no" |
| 14177 |
< |
fi |
| 14178 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14179 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14180 |
< |
fi |
| 14181 |
< |
|
| 14182 |
< |
iopoll_mechanism_poll=5 |
| 14176 |
> |
iopoll_mechanism_poll=4 |
| 14177 |
|
|
| 14178 |
|
cat >>confdefs.h <<_ACEOF |
| 14179 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14227 |
|
fi |
| 14228 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14229 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14230 |
< |
iopoll_mechanism_select=6 |
| 14230 |
> |
iopoll_mechanism_select=5 |
| 14231 |
|
|
| 14232 |
|
cat >>confdefs.h <<_ACEOF |
| 14233 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14282 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14283 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14284 |
|
optimal_iopoll_mechanism="none" |
| 14285 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14285 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14286 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14287 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14288 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14319 |
|
|
| 14320 |
|
|
| 14321 |
|
|
| 14328 |
– |
|
| 14329 |
– |
# Check whether --with-nicklen was given. |
| 14330 |
– |
if test "${with_nicklen+set}" = set; then : |
| 14331 |
– |
withval=$with_nicklen; nicklen="$withval" |
| 14332 |
– |
else |
| 14333 |
– |
nicklen="9" |
| 14334 |
– |
fi |
| 14335 |
– |
|
| 14336 |
– |
|
| 14337 |
– |
cat >>confdefs.h <<_ACEOF |
| 14338 |
– |
#define NICKLEN ($nicklen) |
| 14339 |
– |
_ACEOF |
| 14340 |
– |
|
| 14341 |
– |
|
| 14342 |
– |
|
| 14343 |
– |
|
| 14344 |
– |
# Check whether --with-topiclen was given. |
| 14345 |
– |
if test "${with_topiclen+set}" = set; then : |
| 14346 |
– |
withval=$with_topiclen; topiclen="$withval" |
| 14347 |
– |
else |
| 14348 |
– |
topiclen="160" |
| 14349 |
– |
fi |
| 14350 |
– |
|
| 14351 |
– |
|
| 14352 |
– |
cat >>confdefs.h <<_ACEOF |
| 14353 |
– |
#define TOPICLEN ($topiclen) |
| 14354 |
– |
_ACEOF |
| 14355 |
– |
|
| 14356 |
– |
|
| 14357 |
– |
|
| 14322 |
|
# Check whether --enable-halfops was given. |
| 14323 |
|
if test "${enable_halfops+set}" = set; then : |
| 14324 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 14443 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 14444 |
|
|
| 14445 |
|
|
| 14446 |
< |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 14446 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 14447 |
|
|
| 14448 |
|
|
| 14449 |
|
cat >confcache <<\_ACEOF |
| 15488 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15489 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 15490 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15527 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 15491 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 15492 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 15493 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16091 |
|
|
| 16092 |
|
case $ac_file$ac_mode in |
| 16093 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 16094 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 16094 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16095 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16096 |
|
# if we detect the quoting. |
| 16097 |
|
case $CONFIG_FILES in |