1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 1292 2012-02-12 20:36:27Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 1964 2013-05-08 14:27:02Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
5 |
|
# |
6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
7 |
|
# |
8 |
|
# |
9 |
< |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
10 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
11 |
< |
# Foundation, Inc. |
9 |
> |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
10 |
|
# |
11 |
|
# |
12 |
|
# This configure script is free software; the Free Software Foundation |
135 |
|
# CDPATH. |
136 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
137 |
|
|
138 |
+ |
# Use a proper internal environment variable to ensure we don't fall |
139 |
+ |
# into an infinite loop, continuously re-executing ourselves. |
140 |
+ |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
141 |
+ |
_as_can_reexec=no; export _as_can_reexec; |
142 |
+ |
# We cannot yet assume a decent shell, so we have to provide a |
143 |
+ |
# neutralization value for shells without unset; and this also |
144 |
+ |
# works around shells that cannot unset nonexistent variables. |
145 |
+ |
# Preserve -v and -x to the replacement shell. |
146 |
+ |
BASH_ENV=/dev/null |
147 |
+ |
ENV=/dev/null |
148 |
+ |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
149 |
+ |
case $- in # (((( |
150 |
+ |
*v*x* | *x*v* ) as_opts=-vx ;; |
151 |
+ |
*v* ) as_opts=-v ;; |
152 |
+ |
*x* ) as_opts=-x ;; |
153 |
+ |
* ) as_opts= ;; |
154 |
+ |
esac |
155 |
+ |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
156 |
+ |
# Admittedly, this is quite paranoid, since all the known shells bail |
157 |
+ |
# out after a failed `exec'. |
158 |
+ |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
159 |
+ |
as_fn_exit 255 |
160 |
+ |
fi |
161 |
+ |
# We don't want this to propagate to other subprocesses. |
162 |
+ |
{ _as_can_reexec=; unset _as_can_reexec;} |
163 |
|
if test "x$CONFIG_SHELL" = x; then |
164 |
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
165 |
|
emulate sh |
193 |
|
else |
194 |
|
exitcode=1; echo positional parameters were not saved. |
195 |
|
fi |
196 |
< |
test x\$exitcode = x0 || exit 1" |
196 |
> |
test x\$exitcode = x0 || exit 1 |
197 |
> |
test -x / || exit 1" |
198 |
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
199 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
200 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
247 |
|
|
248 |
|
|
249 |
|
if test "x$CONFIG_SHELL" != x; then : |
250 |
< |
# We cannot yet assume a decent shell, so we have to provide a |
251 |
< |
# neutralization value for shells without unset; and this also |
252 |
< |
# works around shells that cannot unset nonexistent variables. |
253 |
< |
# Preserve -v and -x to the replacement shell. |
254 |
< |
BASH_ENV=/dev/null |
255 |
< |
ENV=/dev/null |
256 |
< |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
257 |
< |
export CONFIG_SHELL |
258 |
< |
case $- in # (((( |
259 |
< |
*v*x* | *x*v* ) as_opts=-vx ;; |
260 |
< |
*v* ) as_opts=-v ;; |
261 |
< |
*x* ) as_opts=-x ;; |
262 |
< |
* ) as_opts= ;; |
263 |
< |
esac |
264 |
< |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
250 |
> |
export CONFIG_SHELL |
251 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
252 |
> |
# neutralization value for shells without unset; and this also |
253 |
> |
# works around shells that cannot unset nonexistent variables. |
254 |
> |
# Preserve -v and -x to the replacement shell. |
255 |
> |
BASH_ENV=/dev/null |
256 |
> |
ENV=/dev/null |
257 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
258 |
> |
case $- in # (((( |
259 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
260 |
> |
*v* ) as_opts=-v ;; |
261 |
> |
*x* ) as_opts=-x ;; |
262 |
> |
* ) as_opts= ;; |
263 |
> |
esac |
264 |
> |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
265 |
> |
# Admittedly, this is quite paranoid, since all the known shells bail |
266 |
> |
# out after a failed `exec'. |
267 |
> |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
268 |
> |
exit 255 |
269 |
|
fi |
270 |
|
|
271 |
|
if test x$as_have_required = xno; then : |
368 |
|
|
369 |
|
|
370 |
|
} # as_fn_mkdir_p |
371 |
+ |
|
372 |
+ |
# as_fn_executable_p FILE |
373 |
+ |
# ----------------------- |
374 |
+ |
# Test if FILE is an executable regular file. |
375 |
+ |
as_fn_executable_p () |
376 |
+ |
{ |
377 |
+ |
test -f "$1" && test -x "$1" |
378 |
+ |
} # as_fn_executable_p |
379 |
|
# as_fn_append VAR VALUE |
380 |
|
# ---------------------- |
381 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
497 |
|
chmod +x "$as_me.lineno" || |
498 |
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
499 |
|
|
500 |
+ |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
501 |
+ |
# already done that, so ensure we don't try to do so again and fall |
502 |
+ |
# in an infinite loop. This has already happened in practice. |
503 |
+ |
_as_can_reexec=no; export _as_can_reexec |
504 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
505 |
|
# (the dirname of $[0] is not the place where we might find the |
506 |
|
# original and so on. Autoconf is especially sensitive to this). |
535 |
|
# ... but there are two gotchas: |
536 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
537 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
538 |
< |
# In both cases, we have to default to `cp -p'. |
538 |
> |
# In both cases, we have to default to `cp -pR'. |
539 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
540 |
< |
as_ln_s='cp -p' |
540 |
> |
as_ln_s='cp -pR' |
541 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
542 |
|
as_ln_s=ln |
543 |
|
else |
544 |
< |
as_ln_s='cp -p' |
544 |
> |
as_ln_s='cp -pR' |
545 |
|
fi |
546 |
|
else |
547 |
< |
as_ln_s='cp -p' |
547 |
> |
as_ln_s='cp -pR' |
548 |
|
fi |
549 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
550 |
|
rmdir conf$$.dir 2>/dev/null |
556 |
|
as_mkdir_p=false |
557 |
|
fi |
558 |
|
|
559 |
< |
if test -x / >/dev/null 2>&1; then |
560 |
< |
as_test_x='test -x' |
521 |
< |
else |
522 |
< |
if ls -dL / >/dev/null 2>&1; then |
523 |
< |
as_ls_L_option=L |
524 |
< |
else |
525 |
< |
as_ls_L_option= |
526 |
< |
fi |
527 |
< |
as_test_x=' |
528 |
< |
eval sh -c '\'' |
529 |
< |
if test -d "$1"; then |
530 |
< |
test -d "$1/."; |
531 |
< |
else |
532 |
< |
case $1 in #( |
533 |
< |
-*)set "./$1";; |
534 |
< |
esac; |
535 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
536 |
< |
???[sx]*):;;*)false;;esac;fi |
537 |
< |
'\'' sh |
538 |
< |
' |
539 |
< |
fi |
540 |
< |
as_executable_p=$as_test_x |
559 |
> |
as_test_x='test -x' |
560 |
> |
as_executable_p=as_fn_executable_p |
561 |
|
|
562 |
|
# Sed expression to map a string onto a valid CPP name. |
563 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
593 |
|
# Identity of this package. |
594 |
|
PACKAGE_NAME='ircd-hybrid' |
595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
596 |
< |
PACKAGE_VERSION='8beta1' |
597 |
< |
PACKAGE_STRING='ircd-hybrid 8beta1' |
596 |
> |
PACKAGE_VERSION='TRUNK' |
597 |
> |
PACKAGE_STRING='ircd-hybrid TRUNK' |
598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
599 |
|
PACKAGE_URL='' |
600 |
|
|
648 |
|
LIBDIR |
649 |
|
SYSCONFDIR |
650 |
|
PREFIX |
631 |
– |
EFNET_FALSE |
632 |
– |
EFNET_TRUE |
651 |
|
ENABLE_SSL_FALSE |
652 |
|
ENABLE_SSL_TRUE |
635 |
– |
ENABLE_PCRE_FALSE |
636 |
– |
ENABLE_PCRE_TRUE |
653 |
|
LTDLOPEN |
654 |
|
LT_CONFIG_H |
655 |
|
CONVENIENCE_LTDL_FALSE |
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 |
805 |
|
with_ltdl_include |
806 |
|
with_ltdl_lib |
807 |
|
enable_ltdl_install |
808 |
< |
with_libpcre_path |
788 |
< |
enable_libpcre |
808 |
> |
enable_libGeoIP |
809 |
|
enable_openssl |
810 |
|
enable_assert |
791 |
– |
enable_small_net |
811 |
|
enable_kqueue |
812 |
|
enable_epoll |
813 |
|
enable_devpoll |
795 |
– |
enable_rtsigio |
814 |
|
enable_poll |
815 |
|
enable_select |
798 |
– |
with_nicklen |
799 |
– |
with_topiclen |
800 |
– |
enable_efnet |
816 |
|
enable_halfops |
817 |
|
enable_debugging |
818 |
|
enable_warnings |
1283 |
|
if test "x$host_alias" != x; then |
1284 |
|
if test "x$build_alias" = x; then |
1285 |
|
cross_compiling=maybe |
1271 |
– |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1272 |
– |
If a cross compiler is detected then cross compile mode will be used" >&2 |
1286 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1287 |
|
cross_compiling=yes |
1288 |
|
fi |
1368 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1369 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1370 |
|
cat <<_ACEOF |
1371 |
< |
\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. |
1371 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
1372 |
|
|
1373 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1374 |
|
|
1438 |
|
|
1439 |
|
if test -n "$ac_init_help"; then |
1440 |
|
case $ac_init_help in |
1441 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; |
1441 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
1442 |
|
esac |
1443 |
|
cat <<\_ACEOF |
1444 |
|
|
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-maintainer-mode enable make rules and dependencies not useful |
1450 |
< |
(and sometimes confusing) to the casual installer |
1451 |
< |
--disable-dependency-tracking speeds up one-time build |
1452 |
< |
--enable-dependency-tracking do not reject slow dependency extractors |
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 |
1454 |
> |
--enable-dependency-tracking |
1455 |
> |
do not reject slow dependency extractors |
1456 |
> |
--disable-dependency-tracking |
1457 |
> |
speeds up one-time build |
1458 |
|
--enable-static[=PKGS] build static libraries [default=no] |
1459 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
1460 |
|
--enable-fast-install[=PKGS] |
1461 |
|
optimize for fast installation [default=yes] |
1462 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1463 |
|
--enable-ltdl-install install libltdl |
1464 |
< |
--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. |
1467 |
|
--enable-assert Enable assert() statements |
1450 |
– |
--enable-small-net Enable small network support. |
1468 |
|
--enable-kqueue Force kqueue usage. |
1469 |
|
--enable-epoll Force epoll usage. |
1470 |
|
--enable-devpoll Force devpoll usage. |
1454 |
– |
--enable-rtsigio Force rtsigio usage. |
1471 |
|
--enable-poll Force poll usage. |
1472 |
|
--enable-select Force select usage. |
1457 |
– |
--enable-efnet For IRCDs running on EFnet. |
1473 |
|
--enable-halfops Enable halfops support. |
1474 |
|
--enable-debugging Enable debugging. |
1475 |
|
--enable-warnings Enable compiler warnings. |
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 |
1473 |
– |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
1474 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
1475 |
– |
--with-topiclen=<value> Set topic length (default 160). |
1488 |
|
|
1489 |
|
Some influential environment variables: |
1490 |
|
CC C compiler command |
1568 |
|
test -n "$ac_init_help" && exit $ac_status |
1569 |
|
if $ac_init_version; then |
1570 |
|
cat <<\_ACEOF |
1571 |
< |
ircd-hybrid configure 8beta1 |
1572 |
< |
generated by GNU Autoconf 2.68 |
1571 |
> |
ircd-hybrid configure TRUNK |
1572 |
> |
generated by GNU Autoconf 2.69 |
1573 |
|
|
1574 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
1574 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
1575 |
|
This configure script is free software; the Free Software Foundation |
1576 |
|
gives unlimited permission to copy, distribute and modify it. |
1577 |
|
_ACEOF |
1647 |
|
test ! -s conftest.err |
1648 |
|
} && test -s conftest$ac_exeext && { |
1649 |
|
test "$cross_compiling" = yes || |
1650 |
< |
$as_test_x conftest$ac_exeext |
1650 |
> |
test -x conftest$ac_exeext |
1651 |
|
}; then : |
1652 |
|
ac_retval=0 |
1653 |
|
else |
2094 |
|
This file contains any messages produced by compilers while |
2095 |
|
running configure, to aid debugging if configure makes a mistake. |
2096 |
|
|
2097 |
< |
It was created by ircd-hybrid $as_me 8beta1, which was |
2098 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
2097 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
2098 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
2099 |
|
|
2100 |
|
$ $0 $@ |
2101 |
|
|
2374 |
|
>$cache_file |
2375 |
|
fi |
2376 |
|
|
2365 |
– |
as_fn_append ac_func_list " mmap" |
2377 |
|
as_fn_append ac_func_list " strtok_r" |
2378 |
|
as_fn_append ac_func_list " usleep" |
2379 |
|
as_fn_append ac_func_list " strlcat" |
2380 |
|
as_fn_append ac_func_list " strlcpy" |
2370 |
– |
as_fn_append ac_func_list " socketpair" |
2381 |
|
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" |
2382 |
|
as_fn_append ac_header_list " sys/resource.h" |
2383 |
|
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" |
2384 |
|
as_fn_append ac_header_list " types.h" |
2385 |
|
as_fn_append ac_header_list " socket.h" |
2386 |
|
as_fn_append ac_header_list " sys/wait.h" |
2387 |
|
as_fn_append ac_header_list " wait.h" |
2382 |
– |
as_fn_append ac_header_list " link.h" |
2388 |
|
# Check that the precious variables saved in the cache have kept the same |
2389 |
|
# value. |
2390 |
|
ac_cache_corrupted=false |
2453 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2454 |
|
|
2455 |
|
|
2456 |
< |
am__api_version='1.11' |
2456 |
> |
am__api_version='1.13' |
2457 |
|
|
2458 |
|
ac_aux_dir= |
2459 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2521 |
|
# by default. |
2522 |
|
for ac_prog in ginstall scoinst install; do |
2523 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2524 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2524 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2525 |
|
if test $ac_prog = install && |
2526 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2527 |
|
# AIX install. It has an incompatible calling convention. |
2579 |
|
|
2580 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2581 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
2577 |
– |
# Just in case |
2578 |
– |
sleep 1 |
2579 |
– |
echo timestamp > conftest.file |
2582 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
2583 |
|
# name. Accept space and tab only in the latter. |
2584 |
|
am_lf=' |
2589 |
|
esac |
2590 |
|
case $srcdir in |
2591 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2592 |
< |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2592 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2593 |
|
esac |
2594 |
|
|
2595 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
2595 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
2596 |
|
# arguments. Must try -L first in case configure is actually a |
2597 |
|
# symlink; some systems play weird games with the mod time of symlinks |
2598 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
2599 |
|
# directory). |
2600 |
|
if ( |
2601 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2602 |
< |
if test "$*" = "X"; then |
2603 |
< |
# -L didn't work. |
2604 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
2605 |
< |
fi |
2606 |
< |
rm -f conftest.file |
2607 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2608 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2609 |
< |
|
2610 |
< |
# If neither matched, then we have a broken ls. This can happen |
2609 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2610 |
< |
# broken ls alias from the environment. This has actually |
2611 |
< |
# happened. Such a system could not be considered "sane". |
2612 |
< |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2613 |
< |
alias in your environment" "$LINENO" 5 |
2614 |
< |
fi |
2601 |
> |
am_has_slept=no |
2602 |
> |
for am_try in 1 2; do |
2603 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
2604 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2605 |
> |
if test "$*" = "X"; then |
2606 |
> |
# -L didn't work. |
2607 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
2608 |
> |
fi |
2609 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2610 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2611 |
|
|
2612 |
+ |
# If neither matched, then we have a broken ls. This can happen |
2613 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2614 |
+ |
# broken ls alias from the environment. This has actually |
2615 |
+ |
# happened. Such a system could not be considered "sane". |
2616 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2617 |
+ |
alias in your environment" "$LINENO" 5 |
2618 |
+ |
fi |
2619 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
2620 |
+ |
break |
2621 |
+ |
fi |
2622 |
+ |
# Just in case. |
2623 |
+ |
sleep 1 |
2624 |
+ |
am_has_slept=yes |
2625 |
+ |
done |
2626 |
|
test "$2" = conftest.file |
2627 |
|
) |
2628 |
|
then |
2634 |
|
fi |
2635 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2636 |
|
$as_echo "yes" >&6; } |
2637 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
2638 |
+ |
# generated files are strictly newer. |
2639 |
+ |
am_sleep_pid= |
2640 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2641 |
+ |
( sleep 1 ) & |
2642 |
+ |
am_sleep_pid=$! |
2643 |
+ |
fi |
2644 |
+ |
|
2645 |
+ |
rm -f conftest.file |
2646 |
+ |
|
2647 |
|
test "$program_prefix" != NONE && |
2648 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2649 |
|
# Use a double $ so make ignores it. |
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 |
2674 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2673 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2674 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2675 |
|
fi |
2676 |
|
|
2677 |
|
if test x"${install_sh}" != xset; then |
2683 |
|
esac |
2684 |
|
fi |
2685 |
|
|
2686 |
< |
# Installed binaries are usually stripped using `strip' when the user |
2687 |
< |
# run `make install-strip'. However `strip' might not be the right |
2686 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
2687 |
> |
# run "make install-strip". However 'strip' might not be the right |
2688 |
|
# tool to use in cross-compilation environments, therefore Automake |
2689 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
2689 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
2690 |
|
if test "$cross_compiling" != no; then |
2691 |
|
if test -n "$ac_tool_prefix"; then |
2692 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2705 |
|
IFS=$as_save_IFS |
2706 |
|
test -z "$as_dir" && as_dir=. |
2707 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2708 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2708 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2709 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2710 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2711 |
|
break 2 |
2745 |
|
IFS=$as_save_IFS |
2746 |
|
test -z "$as_dir" && as_dir=. |
2747 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2748 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2748 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2749 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
2750 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2751 |
|
break 2 |
2796 |
|
test -z "$as_dir" && as_dir=. |
2797 |
|
for ac_prog in mkdir gmkdir; do |
2798 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2799 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2799 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2800 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2801 |
|
'mkdir (GNU coreutils) '* | \ |
2802 |
|
'mkdir (coreutils) '* | \ |
2825 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2826 |
|
$as_echo "$MKDIR_P" >&6; } |
2827 |
|
|
2808 |
– |
mkdir_p="$MKDIR_P" |
2809 |
– |
case $mkdir_p in |
2810 |
– |
[\\/$]* | ?:[\\/]*) ;; |
2811 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
2812 |
– |
esac |
2813 |
– |
|
2828 |
|
for ac_prog in gawk mawk nawk awk |
2829 |
|
do |
2830 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2843 |
|
IFS=$as_save_IFS |
2844 |
|
test -z "$as_dir" && as_dir=. |
2845 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2846 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2846 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2847 |
|
ac_cv_prog_AWK="$ac_prog" |
2848 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2849 |
|
break 2 |
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." |
2968 |
|
|
2969 |
|
# Define the identity of the package. |
2970 |
|
PACKAGE='ircd-hybrid' |
2971 |
< |
VERSION='8beta1' |
2971 |
> |
VERSION='TRUNK' |
2972 |
|
|
2973 |
|
|
2974 |
|
cat >>confdefs.h <<_ACEOF |
2996 |
|
|
2997 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2998 |
|
|
2999 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
3000 |
+ |
# dies out for good. For more background, see: |
3001 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
3002 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
3003 |
+ |
mkdir_p='$(MKDIR_P)' |
3004 |
+ |
|
3005 |
|
# We need awk for the "check" target. The system "awk" is bad on |
3006 |
|
# some platforms. |
3007 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
3061 |
|
_am_result=none |
3062 |
|
# First try GNU make style include. |
3063 |
|
echo "include confinc" > confmf |
3064 |
< |
# Ignore all kinds of additional output from `make'. |
3064 |
> |
# Ignore all kinds of additional output from 'make'. |
3065 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
3066 |
|
*the\ am__doit\ target*) |
3067 |
|
am__include=include |
3127 |
|
IFS=$as_save_IFS |
3128 |
|
test -z "$as_dir" && as_dir=. |
3129 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3130 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3130 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3131 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3132 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3133 |
|
break 2 |
3167 |
|
IFS=$as_save_IFS |
3168 |
|
test -z "$as_dir" && as_dir=. |
3169 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3170 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3170 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3171 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3172 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3173 |
|
break 2 |
3220 |
|
IFS=$as_save_IFS |
3221 |
|
test -z "$as_dir" && as_dir=. |
3222 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3223 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3223 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3224 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3225 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3226 |
|
break 2 |
3261 |
|
IFS=$as_save_IFS |
3262 |
|
test -z "$as_dir" && as_dir=. |
3263 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3264 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3264 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3265 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3266 |
|
ac_prog_rejected=yes |
3267 |
|
continue |
3319 |
|
IFS=$as_save_IFS |
3320 |
|
test -z "$as_dir" && as_dir=. |
3321 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3322 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3322 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3323 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3324 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3325 |
|
break 2 |
3363 |
|
IFS=$as_save_IFS |
3364 |
|
test -z "$as_dir" && as_dir=. |
3365 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3366 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3366 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3367 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3368 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3369 |
|
break 2 |
3809 |
|
/* end confdefs.h. */ |
3810 |
|
#include <stdarg.h> |
3811 |
|
#include <stdio.h> |
3812 |
< |
#include <sys/types.h> |
3754 |
< |
#include <sys/stat.h> |
3812 |
> |
struct stat; |
3813 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3814 |
|
struct buf { int x; }; |
3815 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3905 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
3906 |
|
# making bogus files that we don't know about and never remove. For |
3907 |
|
# instance it was reported that on HP-UX the gcc test will end up |
3908 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
3909 |
< |
# in D'. |
3908 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
3909 |
> |
# in D". |
3910 |
|
rm -rf conftest.dir |
3911 |
|
mkdir conftest.dir |
3912 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
3941 |
|
: > sub/conftest.c |
3942 |
|
for i in 1 2 3 4 5 6; do |
3943 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3944 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3945 |
< |
# Solaris 8's {/usr,}/bin/sh. |
3946 |
< |
touch sub/conftst$i.h |
3944 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
3945 |
> |
# Solaris 10 /bin/sh. |
3946 |
> |
echo '/* dummy */' > sub/conftst$i.h |
3947 |
|
done |
3948 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3949 |
|
|
3950 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3950 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
3951 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
3952 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
3953 |
< |
# versions had trouble with output in subdirs |
3952 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
3953 |
> |
# versions had trouble with output in subdirs. |
3954 |
|
am__obj=sub/conftest.${OBJEXT-o} |
3955 |
|
am__minus_obj="-o $am__obj" |
3956 |
|
case $depmode in |
3959 |
|
test "$am__universal" = false || continue |
3960 |
|
;; |
3961 |
|
nosideeffect) |
3962 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
3963 |
< |
# only be used when explicitly requested |
3962 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
3963 |
> |
# only be used when explicitly requested. |
3964 |
|
if test "x$enable_dependency_tracking" = xyes; then |
3965 |
|
continue |
3966 |
|
else |
3968 |
|
fi |
3969 |
|
;; |
3970 |
|
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3971 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
3971 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
3972 |
|
# not run yet. These depmodes are late enough in the game, and |
3973 |
|
# so weak that their functioning should not be impacted. |
3974 |
|
am__obj=conftest.${OBJEXT-o} |
4168 |
|
return 0; |
4169 |
|
} |
4170 |
|
_ACEOF |
4171 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
4171 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
4172 |
|
do |
4173 |
|
CC="$ac_save_CC $ac_arg" |
4174 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
4200 |
|
|
4201 |
|
|
4202 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4203 |
< |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
4203 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
4204 |
|
fi |
4205 |
|
for ac_prog in 'bison -y' byacc |
4206 |
|
do |
4220 |
|
IFS=$as_save_IFS |
4221 |
|
test -z "$as_dir" && as_dir=. |
4222 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4223 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4223 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4224 |
|
ac_cv_prog_YACC="$ac_prog" |
4225 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4226 |
|
break 2 |
4264 |
|
IFS=$as_save_IFS |
4265 |
|
test -z "$as_dir" && as_dir=. |
4266 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4267 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4267 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4268 |
|
ac_cv_prog_LEX="$ac_prog" |
4269 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4270 |
|
break 2 |
4296 |
|
b { REJECT; } |
4297 |
|
c { yymore (); } |
4298 |
|
d { yyless (1); } |
4299 |
< |
e { yyless (input () != 0); } |
4299 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
4300 |
> |
yyless ((input () != 0)); } |
4301 |
|
f { unput (yytext[0]); } |
4302 |
|
. { BEGIN INITIAL; } |
4303 |
|
%% |
4605 |
|
for ac_prog in sed gsed; do |
4606 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4607 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4608 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4608 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
4609 |
|
# Check for GNU ac_path_SED and select it if it is found. |
4610 |
|
# Check for GNU $ac_path_SED |
4611 |
|
case `"$ac_path_SED" --version 2>&1` in |
4681 |
|
for ac_prog in grep ggrep; do |
4682 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4683 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4684 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4684 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
4685 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
4686 |
|
# Check for GNU $ac_path_GREP |
4687 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4747 |
|
for ac_prog in egrep; do |
4748 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4749 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4750 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4750 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
4751 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
4752 |
|
# Check for GNU $ac_path_EGREP |
4753 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
4814 |
|
for ac_prog in fgrep; do |
4815 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4816 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4817 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
4817 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
4818 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
4819 |
|
# Check for GNU $ac_path_FGREP |
4820 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
5070 |
|
IFS=$as_save_IFS |
5071 |
|
test -z "$as_dir" && as_dir=. |
5072 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5073 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5073 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5074 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
5075 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5076 |
|
break 2 |
5114 |
|
IFS=$as_save_IFS |
5115 |
|
test -z "$as_dir" && as_dir=. |
5116 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5117 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5117 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5118 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
5119 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5120 |
|
break 2 |
5538 |
|
IFS=$as_save_IFS |
5539 |
|
test -z "$as_dir" && as_dir=. |
5540 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5541 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5541 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5542 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5543 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5544 |
|
break 2 |
5578 |
|
IFS=$as_save_IFS |
5579 |
|
test -z "$as_dir" && as_dir=. |
5580 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5581 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5581 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5582 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5583 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5584 |
|
break 2 |
5884 |
|
IFS=$as_save_IFS |
5885 |
|
test -z "$as_dir" && as_dir=. |
5886 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5887 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5887 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5888 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5889 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5890 |
|
break 2 |
5924 |
|
IFS=$as_save_IFS |
5925 |
|
test -z "$as_dir" && as_dir=. |
5926 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5927 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5927 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5928 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5929 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5930 |
|
break 2 |
6027 |
|
IFS=$as_save_IFS |
6028 |
|
test -z "$as_dir" && as_dir=. |
6029 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6030 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6030 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6031 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
6032 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6033 |
|
break 2 |
6071 |
|
IFS=$as_save_IFS |
6072 |
|
test -z "$as_dir" && as_dir=. |
6073 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6074 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6074 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6075 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
6076 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6077 |
|
break 2 |
6196 |
|
IFS=$as_save_IFS |
6197 |
|
test -z "$as_dir" && as_dir=. |
6198 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6199 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6199 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6200 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6201 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6202 |
|
break 2 |
6236 |
|
IFS=$as_save_IFS |
6237 |
|
test -z "$as_dir" && as_dir=. |
6238 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6239 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6239 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6240 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
6241 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6242 |
|
break 2 |
6295 |
|
IFS=$as_save_IFS |
6296 |
|
test -z "$as_dir" && as_dir=. |
6297 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6298 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6298 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6299 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6300 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6301 |
|
break 2 |
6335 |
|
IFS=$as_save_IFS |
6336 |
|
test -z "$as_dir" && as_dir=. |
6337 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6338 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6338 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6339 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6340 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6341 |
|
break 2 |
6984 |
|
IFS=$as_save_IFS |
6985 |
|
test -z "$as_dir" && as_dir=. |
6986 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6987 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6987 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6988 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
6989 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6990 |
|
break 2 |
7024 |
|
IFS=$as_save_IFS |
7025 |
|
test -z "$as_dir" && as_dir=. |
7026 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7027 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7027 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7028 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
7029 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7030 |
|
break 2 |
7104 |
|
IFS=$as_save_IFS |
7105 |
|
test -z "$as_dir" && as_dir=. |
7106 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7107 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7107 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7108 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
7109 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7110 |
|
break 2 |
7144 |
|
IFS=$as_save_IFS |
7145 |
|
test -z "$as_dir" && as_dir=. |
7146 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7147 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7147 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7148 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
7149 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7150 |
|
break 2 |
7196 |
|
IFS=$as_save_IFS |
7197 |
|
test -z "$as_dir" && as_dir=. |
7198 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7199 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7199 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7200 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
7201 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7202 |
|
break 2 |
7236 |
|
IFS=$as_save_IFS |
7237 |
|
test -z "$as_dir" && as_dir=. |
7238 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7239 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7239 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7240 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
7241 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7242 |
|
break 2 |
7288 |
|
IFS=$as_save_IFS |
7289 |
|
test -z "$as_dir" && as_dir=. |
7290 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7291 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7291 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7292 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
7293 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7294 |
|
break 2 |
7328 |
|
IFS=$as_save_IFS |
7329 |
|
test -z "$as_dir" && as_dir=. |
7330 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7331 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7331 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7332 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
7333 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7334 |
|
break 2 |
7380 |
|
IFS=$as_save_IFS |
7381 |
|
test -z "$as_dir" && as_dir=. |
7382 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7383 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7383 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7384 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
7385 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7386 |
|
break 2 |
7420 |
|
IFS=$as_save_IFS |
7421 |
|
test -z "$as_dir" && as_dir=. |
7422 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7423 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7423 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7424 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
7425 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7426 |
|
break 2 |
7472 |
|
IFS=$as_save_IFS |
7473 |
|
test -z "$as_dir" && as_dir=. |
7474 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7475 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7475 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7476 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
7477 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7478 |
|
break 2 |
7512 |
|
IFS=$as_save_IFS |
7513 |
|
test -z "$as_dir" && as_dir=. |
7514 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7515 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7515 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7516 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
7517 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7518 |
|
break 2 |
13067 |
|
|
13068 |
|
# Checks for libraries. |
13069 |
|
|
13070 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13071 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
13072 |
< |
if ${ac_cv_search_socket+:} false; then : |
13070 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13071 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13072 |
> |
|
13073 |
> |
else |
13074 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
13075 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
13076 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13077 |
|
$as_echo_n "(cached) " >&6 |
13078 |
|
else |
13079 |
|
ac_func_search_save_LIBS=$LIBS |
13086 |
|
#ifdef __cplusplus |
13087 |
|
extern "C" |
13088 |
|
#endif |
13089 |
< |
char socket (); |
13089 |
> |
char getaddrinfo (); |
13090 |
|
int |
13091 |
|
main () |
13092 |
|
{ |
13093 |
< |
return socket (); |
13093 |
> |
return getaddrinfo (); |
13094 |
|
; |
13095 |
|
return 0; |
13096 |
|
} |
13097 |
|
_ACEOF |
13098 |
< |
for ac_lib in '' socket; do |
13098 |
> |
for ac_lib in '' nsl; do |
13099 |
|
if test -z "$ac_lib"; then |
13100 |
|
ac_res="none required" |
13101 |
|
else |
13103 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13104 |
|
fi |
13105 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13106 |
< |
ac_cv_search_socket=$ac_res |
13106 |
> |
ac_cv_search_getaddrinfo=$ac_res |
13107 |
|
fi |
13108 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13109 |
|
conftest$ac_exeext |
13110 |
< |
if ${ac_cv_search_socket+:} false; then : |
13110 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13111 |
|
break |
13112 |
|
fi |
13113 |
|
done |
13114 |
< |
if ${ac_cv_search_socket+:} false; then : |
13114 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13115 |
|
|
13116 |
|
else |
13117 |
< |
ac_cv_search_socket=no |
13117 |
> |
ac_cv_search_getaddrinfo=no |
13118 |
|
fi |
13119 |
|
rm conftest.$ac_ext |
13120 |
|
LIBS=$ac_func_search_save_LIBS |
13121 |
|
fi |
13122 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13123 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
13124 |
< |
ac_res=$ac_cv_search_socket |
13122 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
13123 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
13124 |
> |
ac_res=$ac_cv_search_getaddrinfo |
13125 |
|
if test "$ac_res" != no; then : |
13126 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13127 |
|
|
13065 |
– |
else |
13066 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13128 |
|
fi |
13129 |
|
|
13130 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
13131 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
13132 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13130 |
> |
fi |
13131 |
> |
|
13132 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
13133 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
13134 |
> |
|
13135 |
> |
else |
13136 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
13137 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
13138 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13139 |
|
$as_echo_n "(cached) " >&6 |
13140 |
|
else |
13141 |
|
ac_func_search_save_LIBS=$LIBS |
13148 |
|
#ifdef __cplusplus |
13149 |
|
extern "C" |
13150 |
|
#endif |
13151 |
< |
char inet_ntoa (); |
13151 |
> |
char getnameinfo (); |
13152 |
|
int |
13153 |
|
main () |
13154 |
|
{ |
13155 |
< |
return inet_ntoa (); |
13155 |
> |
return getnameinfo (); |
13156 |
|
; |
13157 |
|
return 0; |
13158 |
|
} |
13165 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13166 |
|
fi |
13167 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13168 |
< |
ac_cv_search_inet_ntoa=$ac_res |
13168 |
> |
ac_cv_search_getnameinfo=$ac_res |
13169 |
|
fi |
13170 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13171 |
|
conftest$ac_exeext |
13172 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13172 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13173 |
|
break |
13174 |
|
fi |
13175 |
|
done |
13176 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13176 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13177 |
|
|
13178 |
|
else |
13179 |
< |
ac_cv_search_inet_ntoa=no |
13179 |
> |
ac_cv_search_getnameinfo=no |
13180 |
|
fi |
13181 |
|
rm conftest.$ac_ext |
13182 |
|
LIBS=$ac_func_search_save_LIBS |
13183 |
|
fi |
13184 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
13185 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
13186 |
< |
ac_res=$ac_cv_search_inet_ntoa |
13184 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
13185 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
13186 |
> |
ac_res=$ac_cv_search_getnameinfo |
13187 |
|
if test "$ac_res" != no; then : |
13188 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13189 |
|
|
13190 |
|
fi |
13191 |
|
|
13192 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
13193 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
13194 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13192 |
> |
fi |
13193 |
> |
|
13194 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13195 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
13196 |
> |
if ${ac_cv_search_socket+:} false; then : |
13197 |
|
$as_echo_n "(cached) " >&6 |
13198 |
|
else |
13199 |
|
ac_func_search_save_LIBS=$LIBS |
13206 |
|
#ifdef __cplusplus |
13207 |
|
extern "C" |
13208 |
|
#endif |
13209 |
< |
char inet_aton (); |
13209 |
> |
char socket (); |
13210 |
|
int |
13211 |
|
main () |
13212 |
|
{ |
13213 |
< |
return inet_aton (); |
13213 |
> |
return socket (); |
13214 |
|
; |
13215 |
|
return 0; |
13216 |
|
} |
13217 |
|
_ACEOF |
13218 |
< |
for ac_lib in '' resolv; do |
13218 |
> |
for ac_lib in '' socket; do |
13219 |
|
if test -z "$ac_lib"; then |
13220 |
|
ac_res="none required" |
13221 |
|
else |
13223 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13224 |
|
fi |
13225 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13226 |
< |
ac_cv_search_inet_aton=$ac_res |
13226 |
> |
ac_cv_search_socket=$ac_res |
13227 |
|
fi |
13228 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13229 |
|
conftest$ac_exeext |
13230 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13230 |
> |
if ${ac_cv_search_socket+:} false; then : |
13231 |
|
break |
13232 |
|
fi |
13233 |
|
done |
13234 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13234 |
> |
if ${ac_cv_search_socket+:} false; then : |
13235 |
|
|
13236 |
|
else |
13237 |
< |
ac_cv_search_inet_aton=no |
13237 |
> |
ac_cv_search_socket=no |
13238 |
|
fi |
13239 |
|
rm conftest.$ac_ext |
13240 |
|
LIBS=$ac_func_search_save_LIBS |
13241 |
|
fi |
13242 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
13243 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
13244 |
< |
ac_res=$ac_cv_search_inet_aton |
13242 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13243 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
13244 |
> |
ac_res=$ac_cv_search_socket |
13245 |
|
if test "$ac_res" != no; then : |
13246 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13247 |
|
|
13248 |
+ |
else |
13249 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13250 |
|
fi |
13251 |
|
|
13181 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
13182 |
– |
do : |
13183 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13184 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13185 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13186 |
– |
cat >>confdefs.h <<_ACEOF |
13187 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13188 |
– |
_ACEOF |
13189 |
– |
|
13190 |
– |
fi |
13191 |
– |
done |
13192 |
– |
|
13252 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13253 |
|
#include <sys/socket.h> |
13254 |
|
#include <netdb.h> |
13565 |
|
|
13566 |
|
|
13567 |
|
|
13509 |
– |
|
13510 |
– |
|
13511 |
– |
|
13512 |
– |
|
13568 |
|
# Checks for header files. |
13569 |
|
|
13570 |
|
|
13599 |
|
|
13600 |
|
|
13601 |
|
|
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 |
– |
|
13602 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13603 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13604 |
|
if ${ac_cv_search_crypt+:} false; then : |
13656 |
|
fi |
13657 |
|
|
13658 |
|
|
13659 |
< |
|
13660 |
< |
|
13661 |
< |
# Check whether --with-libpcre-path was given. |
13662 |
< |
if test "${with_libpcre_path+set}" = set; then : |
13663 |
< |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
13664 |
< |
fi |
13665 |
< |
|
13666 |
< |
|
13667 |
< |
# Check whether --enable-libpcre was given. |
13643 |
< |
if test "${enable_libpcre+set}" = set; then : |
13644 |
< |
enableval=$enable_libpcre; libpcre=$enableval |
13645 |
< |
else |
13646 |
< |
libpcre=yes |
13647 |
< |
fi |
13648 |
< |
|
13649 |
< |
|
13650 |
< |
if test "$libpcre" = "yes"; then : |
13651 |
< |
|
13652 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
13653 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
13654 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
13655 |
< |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
13656 |
< |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
13659 |
> |
# Check whether --enable-libGeoIP was given. |
13660 |
> |
if test "${enable_libGeoIP+set}" = set; then : |
13661 |
> |
enableval=$enable_libGeoIP; |
13662 |
> |
else |
13663 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13664 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13665 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13666 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13667 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13668 |
|
$as_echo_n "(cached) " >&6 |
13669 |
|
else |
13670 |
< |
ac_check_lib_save_LIBS=$LIBS |
13660 |
< |
LIBS="-lpcre $LIBS" |
13670 |
> |
ac_func_search_save_LIBS=$LIBS |
13671 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13672 |
|
/* end confdefs.h. */ |
13673 |
|
|
13677 |
|
#ifdef __cplusplus |
13678 |
|
extern "C" |
13679 |
|
#endif |
13680 |
< |
char pcre_study (); |
13680 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13681 |
|
int |
13682 |
|
main () |
13683 |
|
{ |
13684 |
< |
return pcre_study (); |
13684 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13685 |
|
; |
13686 |
|
return 0; |
13687 |
|
} |
13688 |
|
_ACEOF |
13689 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13690 |
< |
ac_cv_lib_pcre_pcre_study=yes |
13691 |
< |
else |
13692 |
< |
ac_cv_lib_pcre_pcre_study=no |
13689 |
> |
for ac_lib in '' GeoIP; do |
13690 |
> |
if test -z "$ac_lib"; then |
13691 |
> |
ac_res="none required" |
13692 |
> |
else |
13693 |
> |
ac_res=-l$ac_lib |
13694 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13695 |
> |
fi |
13696 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13697 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13698 |
|
fi |
13699 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13700 |
< |
conftest$ac_exeext conftest.$ac_ext |
13701 |
< |
LIBS=$ac_check_lib_save_LIBS |
13700 |
> |
conftest$ac_exeext |
13701 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13702 |
> |
break |
13703 |
|
fi |
13704 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
13705 |
< |
$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 |
< |
|
13704 |
> |
done |
13705 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13706 |
|
|
13707 |
|
else |
13708 |
< |
libpcre=no |
13708 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13709 |
|
fi |
13710 |
+ |
rm conftest.$ac_ext |
13711 |
+ |
LIBS=$ac_func_search_save_LIBS |
13712 |
+ |
fi |
13713 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13714 |
+ |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13715 |
+ |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13716 |
+ |
if test "$ac_res" != no; then : |
13717 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13718 |
|
|
13719 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13720 |
|
|
13702 |
– |
else |
13703 |
– |
libpcre=no |
13721 |
|
fi |
13722 |
|
|
13723 |
+ |
fi |
13724 |
|
|
13725 |
|
|
13726 |
|
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 |
– |
|
13727 |
|
|
13728 |
|
|
13729 |
|
# Check whether --enable-openssl was given. |
13765 |
|
fi |
13766 |
|
|
13767 |
|
if test ! -z "$cf_openssl_basedir"; then |
13758 |
– |
LIBS="-lcrypto -lssl $LIBS" |
13768 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
13769 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
13770 |
|
cf_enable_openssl="yes" |
13762 |
– |
|
13763 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13764 |
– |
|
13771 |
|
else |
13772 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13773 |
|
$as_echo "not found. Please check your path." >&6; } |
13780 |
|
fi |
13781 |
|
|
13782 |
|
if test "$cf_enable_openssl" != "no"; then : |
13783 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
13784 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 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 >= 0x00907000)); |
13797 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f)); |
13798 |
|
; |
13799 |
|
return 0; |
13800 |
|
} |
13859 |
|
fi |
13860 |
|
|
13861 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
13862 |
< |
for ac_func in EVP_bf_cfb \ |
13863 |
< |
EVP_cast5_cfb \ |
13864 |
< |
EVP_idea_cfb \ |
13865 |
< |
EVP_rc5_32_12_16_cfb \ |
13866 |
< |
EVP_des_ede3_cfb \ |
13867 |
< |
EVP_des_cfb |
13868 |
< |
do : |
13869 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13870 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13871 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13862 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
13863 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
13864 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
13865 |
> |
$as_echo_n "(cached) " >&6 |
13866 |
> |
else |
13867 |
> |
ac_check_lib_save_LIBS=$LIBS |
13868 |
> |
LIBS="-lssl $LIBS" |
13869 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13870 |
> |
/* end confdefs.h. */ |
13871 |
> |
|
13872 |
> |
/* Override any GCC internal prototype to avoid an error. |
13873 |
> |
Use char because int might match the return type of a GCC |
13874 |
> |
builtin and then its argument prototype would still apply. */ |
13875 |
> |
#ifdef __cplusplus |
13876 |
> |
extern "C" |
13877 |
> |
#endif |
13878 |
> |
char SSL_connect (); |
13879 |
> |
int |
13880 |
> |
main () |
13881 |
> |
{ |
13882 |
> |
return SSL_connect (); |
13883 |
> |
; |
13884 |
> |
return 0; |
13885 |
> |
} |
13886 |
> |
_ACEOF |
13887 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13888 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
13889 |
> |
else |
13890 |
> |
ac_cv_lib_ssl_SSL_connect=no |
13891 |
> |
fi |
13892 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13893 |
> |
conftest$ac_exeext conftest.$ac_ext |
13894 |
> |
LIBS=$ac_check_lib_save_LIBS |
13895 |
> |
fi |
13896 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
13897 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
13898 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
13899 |
|
cat >>confdefs.h <<_ACEOF |
13900 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13900 |
> |
#define HAVE_LIBSSL 1 |
13901 |
|
_ACEOF |
13902 |
|
|
13903 |
+ |
LIBS="-lssl $LIBS" |
13904 |
+ |
|
13905 |
|
fi |
13871 |
– |
done |
13906 |
|
|
13907 |
|
fi |
13908 |
|
|
13913 |
|
fi |
13914 |
|
fi |
13915 |
|
|
13916 |
< |
if test "$cf_enable_openssl" = yes; then |
13916 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
13917 |
|
ENABLE_SSL_TRUE= |
13918 |
|
ENABLE_SSL_FALSE='#' |
13919 |
|
else |
13938 |
|
fi |
13939 |
|
|
13940 |
|
|
13941 |
< |
# Check whether --enable-small-net was given. |
13908 |
< |
if test "${enable_small_net+set}" = set; then : |
13909 |
< |
enableval=$enable_small_net; small_net=$enableval |
13910 |
< |
else |
13911 |
< |
small_net=no |
13912 |
< |
fi |
13913 |
< |
|
13914 |
< |
|
13915 |
< |
if test "$small_net" = "yes"; then : |
13916 |
< |
|
13917 |
< |
|
13918 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
13919 |
< |
|
13920 |
< |
|
13921 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
13922 |
< |
|
13923 |
< |
|
13924 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
13925 |
< |
|
13926 |
< |
|
13927 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
13928 |
< |
|
13929 |
< |
|
13930 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
13931 |
< |
|
13932 |
< |
|
13933 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
13941 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
13942 |
|
|
13943 |
|
|
13944 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
13944 |
> |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
13945 |
|
|
13946 |
|
|
13947 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
13947 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
13948 |
|
|
13949 |
|
|
13950 |
< |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
13950 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
13951 |
|
|
13952 |
|
|
13953 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
13946 |
< |
|
13947 |
< |
else |
13948 |
< |
|
13953 |
> |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
13954 |
|
|
13955 |
|
|
13956 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
13956 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
13957 |
|
|
13958 |
|
|
13959 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
13959 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
13960 |
|
|
13961 |
|
|
13962 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
13962 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
13963 |
|
|
13964 |
|
|
13965 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
13965 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
13966 |
|
|
13967 |
|
|
13968 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
13968 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
13969 |
|
|
13970 |
|
|
13971 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
13971 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
13972 |
|
|
13973 |
|
|
13974 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
13974 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
13975 |
|
|
13976 |
|
|
13977 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
13977 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
13978 |
|
|
13979 |
|
|
13980 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
13976 |
< |
|
13977 |
< |
|
13978 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
13979 |
< |
|
13980 |
< |
fi |
13980 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
13981 |
|
|
13982 |
|
|
13983 |
|
# Argument processing. |
13998 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
13999 |
|
fi |
14000 |
|
|
14001 |
– |
# Check whether --enable-rtsigio was given. |
14002 |
– |
if test "${enable_rtsigio+set}" = set; then : |
14003 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
14004 |
– |
fi |
14005 |
– |
|
14001 |
|
# Check whether --enable-poll was given. |
14002 |
|
if test "${enable_poll+set}" = set; then : |
14003 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
14181 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14182 |
|
|
14183 |
|
fi |
14184 |
< |
iopoll_mechanism_rtsigio=4 |
14190 |
< |
|
14191 |
< |
cat >>confdefs.h <<_ACEOF |
14192 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
14193 |
< |
_ACEOF |
14194 |
< |
|
14195 |
< |
if test "$cross_compiling" = yes; then : |
14196 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14197 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14198 |
< |
as_fn_error $? "cannot run test program while cross compiling |
14199 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
14200 |
< |
else |
14201 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14202 |
< |
/* end confdefs.h. */ |
14203 |
< |
|
14204 |
< |
#define _GNU_SOURCE |
14205 |
< |
#include <fcntl.h> |
14206 |
< |
static unsigned int have_f_setsig = 0; |
14207 |
< |
|
14208 |
< |
int |
14209 |
< |
main () |
14210 |
< |
{ |
14211 |
< |
|
14212 |
< |
#ifdef F_SETSIG |
14213 |
< |
have_f_setsig = 1; |
14214 |
< |
#endif |
14215 |
< |
return have_f_setsig == 0; |
14216 |
< |
|
14217 |
< |
; |
14218 |
< |
return 0; |
14219 |
< |
} |
14220 |
< |
_ACEOF |
14221 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
14222 |
< |
is_rtsigio_mechanism_available="yes" |
14223 |
< |
else |
14224 |
< |
is_rtsigio_mechanism_available="no" |
14225 |
< |
fi |
14226 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14227 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
14228 |
< |
fi |
14229 |
< |
|
14230 |
< |
iopoll_mechanism_poll=5 |
14184 |
> |
iopoll_mechanism_poll=4 |
14185 |
|
|
14186 |
|
cat >>confdefs.h <<_ACEOF |
14187 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14235 |
|
fi |
14236 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14237 |
|
conftest$ac_exeext conftest.$ac_ext |
14238 |
< |
iopoll_mechanism_select=6 |
14238 |
> |
iopoll_mechanism_select=5 |
14239 |
|
|
14240 |
|
cat >>confdefs.h <<_ACEOF |
14241 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
14290 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14291 |
|
conftest$ac_exeext conftest.$ac_ext |
14292 |
|
optimal_iopoll_mechanism="none" |
14293 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
14293 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
14294 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14295 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14296 |
|
optimal_iopoll_mechanism="$mechanism" |
14327 |
|
|
14328 |
|
|
14329 |
|
|
14376 |
– |
|
14377 |
– |
# Check whether --with-nicklen was given. |
14378 |
– |
if test "${with_nicklen+set}" = set; then : |
14379 |
– |
withval=$with_nicklen; nicklen="$withval" |
14380 |
– |
else |
14381 |
– |
nicklen="9" |
14382 |
– |
fi |
14383 |
– |
|
14384 |
– |
|
14385 |
– |
cat >>confdefs.h <<_ACEOF |
14386 |
– |
#define NICKLEN ($nicklen+1) |
14387 |
– |
_ACEOF |
14388 |
– |
|
14389 |
– |
|
14390 |
– |
|
14391 |
– |
|
14392 |
– |
# Check whether --with-topiclen was given. |
14393 |
– |
if test "${with_topiclen+set}" = set; then : |
14394 |
– |
withval=$with_topiclen; topiclen="$withval" |
14395 |
– |
else |
14396 |
– |
topiclen="160" |
14397 |
– |
fi |
14398 |
– |
|
14399 |
– |
|
14400 |
– |
cat >>confdefs.h <<_ACEOF |
14401 |
– |
#define TOPICLEN ($topiclen) |
14402 |
– |
_ACEOF |
14403 |
– |
|
14404 |
– |
|
14405 |
– |
|
14406 |
– |
# Check whether --enable-efnet was given. |
14407 |
– |
if test "${enable_efnet+set}" = set; then : |
14408 |
– |
enableval=$enable_efnet; efnet="$enableval" |
14409 |
– |
else |
14410 |
– |
efnet="no" |
14411 |
– |
fi |
14412 |
– |
|
14413 |
– |
if test "$efnet" = "yes" ; then |
14414 |
– |
use_efnet="yes" |
14415 |
– |
|
14416 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
14417 |
– |
|
14418 |
– |
else |
14419 |
– |
use_efnet="no" |
14420 |
– |
fi |
14421 |
– |
if test "$use_efnet" = "yes"; then |
14422 |
– |
EFNET_TRUE= |
14423 |
– |
EFNET_FALSE='#' |
14424 |
– |
else |
14425 |
– |
EFNET_TRUE='#' |
14426 |
– |
EFNET_FALSE= |
14427 |
– |
fi |
14428 |
– |
|
14429 |
– |
|
14430 |
– |
|
14330 |
|
# Check whether --enable-halfops was given. |
14331 |
|
if test "${enable_halfops+set}" = set; then : |
14332 |
|
enableval=$enable_halfops; halfops="$enableval" |
14349 |
|
fi |
14350 |
|
|
14351 |
|
if test "$debugging" = "yes" ; then |
14453 |
– |
|
14454 |
– |
$as_echo "#define DEBUG 1" >>confdefs.h |
14455 |
– |
|
14352 |
|
CFLAGS="-Wall -g -O0" |
14457 |
– |
else |
14458 |
– |
|
14459 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
14460 |
– |
|
14353 |
|
fi |
14354 |
|
|
14355 |
|
|
14451 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
14452 |
|
|
14453 |
|
|
14454 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
14454 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
14455 |
|
|
14456 |
|
|
14457 |
|
cat >confcache <<\_ACEOF |
14563 |
|
LTLIBOBJS=$ac_ltlibobjs |
14564 |
|
|
14565 |
|
|
14566 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
14567 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
14568 |
+ |
if test -n "$am_sleep_pid"; then |
14569 |
+ |
# Hide warnings about reused PIDs. |
14570 |
+ |
wait $am_sleep_pid 2>/dev/null |
14571 |
+ |
fi |
14572 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
14573 |
+ |
$as_echo "done" >&6; } |
14574 |
|
if test -n "$EXEEXT"; then |
14575 |
|
am__EXEEXT_TRUE= |
14576 |
|
am__EXEEXT_FALSE='#' |
14617 |
|
|
14618 |
|
|
14619 |
|
|
14720 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
14721 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
14722 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14723 |
– |
fi |
14620 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
14621 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
14622 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14623 |
|
fi |
14728 |
– |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
14729 |
– |
as_fn_error $? "conditional \"EFNET\" was never defined. |
14730 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14731 |
– |
fi |
14624 |
|
|
14625 |
|
: "${CONFIG_STATUS=./config.status}" |
14626 |
|
ac_write_fail=0 |
14919 |
|
# ... but there are two gotchas: |
14920 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
14921 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
14922 |
< |
# In both cases, we have to default to `cp -p'. |
14922 |
> |
# In both cases, we have to default to `cp -pR'. |
14923 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
14924 |
< |
as_ln_s='cp -p' |
14924 |
> |
as_ln_s='cp -pR' |
14925 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
14926 |
|
as_ln_s=ln |
14927 |
|
else |
14928 |
< |
as_ln_s='cp -p' |
14928 |
> |
as_ln_s='cp -pR' |
14929 |
|
fi |
14930 |
|
else |
14931 |
< |
as_ln_s='cp -p' |
14931 |
> |
as_ln_s='cp -pR' |
14932 |
|
fi |
14933 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
14934 |
|
rmdir conf$$.dir 2>/dev/null |
14988 |
|
as_mkdir_p=false |
14989 |
|
fi |
14990 |
|
|
14991 |
< |
if test -x / >/dev/null 2>&1; then |
14992 |
< |
as_test_x='test -x' |
14993 |
< |
else |
14994 |
< |
if ls -dL / >/dev/null 2>&1; then |
14995 |
< |
as_ls_L_option=L |
14996 |
< |
else |
14997 |
< |
as_ls_L_option= |
14998 |
< |
fi |
14999 |
< |
as_test_x=' |
15000 |
< |
eval sh -c '\'' |
15109 |
< |
if test -d "$1"; then |
15110 |
< |
test -d "$1/."; |
15111 |
< |
else |
15112 |
< |
case $1 in #( |
15113 |
< |
-*)set "./$1";; |
15114 |
< |
esac; |
15115 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
15116 |
< |
???[sx]*):;;*)false;;esac;fi |
15117 |
< |
'\'' sh |
15118 |
< |
' |
15119 |
< |
fi |
15120 |
< |
as_executable_p=$as_test_x |
14991 |
> |
|
14992 |
> |
# as_fn_executable_p FILE |
14993 |
> |
# ----------------------- |
14994 |
> |
# Test if FILE is an executable regular file. |
14995 |
> |
as_fn_executable_p () |
14996 |
> |
{ |
14997 |
> |
test -f "$1" && test -x "$1" |
14998 |
> |
} # as_fn_executable_p |
14999 |
> |
as_test_x='test -x' |
15000 |
> |
as_executable_p=as_fn_executable_p |
15001 |
|
|
15002 |
|
# Sed expression to map a string onto a valid CPP name. |
15003 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
15018 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
15019 |
|
# values after options handling. |
15020 |
|
ac_log=" |
15021 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
15022 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
15021 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
15022 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
15023 |
|
|
15024 |
|
CONFIG_FILES = $CONFIG_FILES |
15025 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
15084 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15085 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15086 |
|
ac_cs_version="\\ |
15087 |
< |
ircd-hybrid config.status 8beta1 |
15088 |
< |
configured by $0, generated by GNU Autoconf 2.68, |
15087 |
> |
ircd-hybrid config.status TRUNK |
15088 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
15089 |
|
with options \\"\$ac_cs_config\\" |
15090 |
|
|
15091 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
15091 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
15092 |
|
This config.status script is free software; the Free Software Foundation |
15093 |
|
gives unlimited permission to copy, distribute and modify it." |
15094 |
|
|
15179 |
|
_ACEOF |
15180 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15181 |
|
if \$ac_cs_recheck; then |
15182 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
15182 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
15183 |
|
shift |
15184 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
15185 |
|
CONFIG_SHELL='$SHELL' |
15494 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
15495 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
15496 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
15617 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
15618 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
15619 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
15497 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
15498 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15622 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
15499 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
15500 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
15501 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
15502 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
15627 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
15628 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
15503 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
15504 |
|
|
15505 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
16097 |
|
|
16098 |
|
case $ac_file$ac_mode in |
16099 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
16100 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
16100 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
16101 |
|
# are listed without --file. Let's play safe and only enable the eval |
16102 |
|
# if we detect the quoting. |
16103 |
|
case $CONFIG_FILES in |
16110 |
|
# Strip MF so we end up with the name of the file. |
16111 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
16112 |
|
# Check whether this is an Automake generated Makefile or not. |
16113 |
< |
# We used to match only the files named `Makefile.in', but |
16113 |
> |
# We used to match only the files named 'Makefile.in', but |
16114 |
|
# some people rename them; so instead we look at the file content. |
16115 |
|
# Grep'ing the first line is not enough: some people post-process |
16116 |
|
# each Makefile.in and add a new line on top of each file to say so. |
16144 |
|
continue |
16145 |
|
fi |
16146 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
16147 |
< |
# from the Makefile without running `make'. |
16147 |
> |
# from the Makefile without running 'make'. |
16148 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
16149 |
|
test -z "$DEPDIR" && continue |
16150 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
16151 |
|
test -z "am__include" && continue |
16152 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
16279 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
16280 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
16153 |
|
# Find all dependency output files, they are included files with |
16154 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
16155 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
16156 |
|
# expansion. |
16157 |
|
for file in `sed -n " |
16158 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
16159 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
16159 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
16160 |
|
# Make sure the directory exists. |
16161 |
|
test -f "$dirpart/$file" && continue |
16162 |
|
fdir=`$as_dirname -- "$file" || |