| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1678 2012-12-18 17:59:33Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1706 2012-12-23 14:58:42Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8.0.3. |
| 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 |
| 816 |
|
with_nicklen |
| 1448 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1449 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1450 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1451 |
+ |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1452 |
+ |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1453 |
|
--enable-maintainer-mode |
| 1454 |
|
enable make rules and dependencies not useful (and |
| 1455 |
|
sometimes confusing) to the casual installer |
| 1470 |
|
--enable-kqueue Force kqueue usage. |
| 1471 |
|
--enable-epoll Force epoll usage. |
| 1472 |
|
--enable-devpoll Force devpoll usage. |
| 1467 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1473 |
|
--enable-poll Force poll usage. |
| 1474 |
|
--enable-select Force select usage. |
| 1475 |
|
--enable-halfops Enable halfops support. |
| 2458 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2459 |
|
|
| 2460 |
|
|
| 2461 |
< |
am__api_version='1.12' |
| 2461 |
> |
am__api_version='1.13' |
| 2462 |
|
|
| 2463 |
|
ac_aux_dir= |
| 2464 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2671 |
|
esac |
| 2672 |
|
fi |
| 2673 |
|
# Use eval to expand $SHELL |
| 2674 |
< |
if eval "$MISSING --run true"; then |
| 2675 |
< |
am_missing_run="$MISSING --run " |
| 2674 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2675 |
> |
am_missing_run="$MISSING " |
| 2676 |
|
else |
| 2677 |
|
am_missing_run= |
| 2678 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2912 |
|
fi |
| 2913 |
|
rmdir .tst 2>/dev/null |
| 2914 |
|
|
| 2915 |
+ |
# Check whether --enable-silent-rules was given. |
| 2916 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 2917 |
+ |
enableval=$enable_silent_rules; |
| 2918 |
+ |
fi |
| 2919 |
+ |
|
| 2920 |
+ |
case $enable_silent_rules in # ((( |
| 2921 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2922 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2923 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2924 |
+ |
esac |
| 2925 |
+ |
am_make=${MAKE-make} |
| 2926 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2927 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2928 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2929 |
+ |
$as_echo_n "(cached) " >&6 |
| 2930 |
+ |
else |
| 2931 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2932 |
+ |
BAR0=false |
| 2933 |
+ |
BAR1=true |
| 2934 |
+ |
V=1 |
| 2935 |
+ |
am__doit: |
| 2936 |
+ |
@$(TRUE) |
| 2937 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2938 |
+ |
am_cv_make_support_nested_variables=yes |
| 2939 |
+ |
else |
| 2940 |
+ |
am_cv_make_support_nested_variables=no |
| 2941 |
+ |
fi |
| 2942 |
+ |
fi |
| 2943 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2944 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2945 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 2946 |
+ |
AM_V='$(V)' |
| 2947 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2948 |
+ |
else |
| 2949 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2950 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2951 |
+ |
fi |
| 2952 |
+ |
AM_BACKSLASH='\' |
| 2953 |
+ |
|
| 2954 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2955 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2956 |
|
# is not polluted with repeated "-I." |
| 13992 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 13993 |
|
fi |
| 13994 |
|
|
| 13951 |
– |
# Check whether --enable-rtsigio was given. |
| 13952 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 13953 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 13954 |
– |
fi |
| 13955 |
– |
|
| 13995 |
|
# Check whether --enable-poll was given. |
| 13996 |
|
if test "${enable_poll+set}" = set; then : |
| 13997 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14175 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14176 |
|
|
| 14177 |
|
fi |
| 14178 |
< |
iopoll_mechanism_rtsigio=4 |
| 14140 |
< |
|
| 14141 |
< |
cat >>confdefs.h <<_ACEOF |
| 14142 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14143 |
< |
_ACEOF |
| 14144 |
< |
|
| 14145 |
< |
if test "$cross_compiling" = yes; then : |
| 14146 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14147 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14148 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14149 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14150 |
< |
else |
| 14151 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14152 |
< |
/* end confdefs.h. */ |
| 14153 |
< |
|
| 14154 |
< |
#define _GNU_SOURCE |
| 14155 |
< |
#include <fcntl.h> |
| 14156 |
< |
static unsigned int have_f_setsig = 0; |
| 14157 |
< |
|
| 14158 |
< |
int |
| 14159 |
< |
main () |
| 14160 |
< |
{ |
| 14161 |
< |
|
| 14162 |
< |
#ifdef F_SETSIG |
| 14163 |
< |
have_f_setsig = 1; |
| 14164 |
< |
#endif |
| 14165 |
< |
return have_f_setsig == 0; |
| 14166 |
< |
|
| 14167 |
< |
; |
| 14168 |
< |
return 0; |
| 14169 |
< |
} |
| 14170 |
< |
_ACEOF |
| 14171 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14172 |
< |
is_rtsigio_mechanism_available="yes" |
| 14173 |
< |
else |
| 14174 |
< |
is_rtsigio_mechanism_available="no" |
| 14175 |
< |
fi |
| 14176 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14177 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14178 |
< |
fi |
| 14179 |
< |
|
| 14180 |
< |
iopoll_mechanism_poll=5 |
| 14178 |
> |
iopoll_mechanism_poll=4 |
| 14179 |
|
|
| 14180 |
|
cat >>confdefs.h <<_ACEOF |
| 14181 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14229 |
|
fi |
| 14230 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14231 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14232 |
< |
iopoll_mechanism_select=6 |
| 14232 |
> |
iopoll_mechanism_select=5 |
| 14233 |
|
|
| 14234 |
|
cat >>confdefs.h <<_ACEOF |
| 14235 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14284 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14285 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14286 |
|
optimal_iopoll_mechanism="none" |
| 14287 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14287 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14288 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14289 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14290 |
|
optimal_iopoll_mechanism="$mechanism" |
| 16126 |
|
|
| 16127 |
|
case $ac_file$ac_mode in |
| 16128 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 16129 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 16129 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16130 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16131 |
|
# if we detect the quoting. |
| 16132 |
|
case $CONFIG_FILES in |