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 2594 2013-11-21 17:20:41Z 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.14' |
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 |
3008 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
3009 |
|
AMTAR='$${TAR-tar}' |
3010 |
|
|
3011 |
+ |
|
3012 |
+ |
# We'll loop over all known methods to create a tar archive until one works. |
3013 |
+ |
_am_tools='gnutar pax cpio none' |
3014 |
+ |
|
3015 |
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3016 |
|
|
3017 |
|
|
3019 |
|
|
3020 |
|
|
3021 |
|
|
3022 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
3023 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
3024 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
3025 |
+ |
# actually supported "in the wild" to an acceptable degree. |
3026 |
+ |
# See automake bug#10828. |
3027 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
3028 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
3029 |
+ |
# user can still override this though. |
3030 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
3031 |
+ |
cat >&2 <<'END' |
3032 |
+ |
Oops! |
3033 |
+ |
|
3034 |
+ |
Your 'rm' program seems unable to run without file operands specified |
3035 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
3036 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
3037 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
3038 |
+ |
|
3039 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
3040 |
+ |
of your $PATH and any error possibly output before this message. This |
3041 |
+ |
can help us improve future automake versions. |
3042 |
+ |
|
3043 |
+ |
END |
3044 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
3045 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
3046 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
3047 |
+ |
echo >&2 |
3048 |
+ |
else |
3049 |
+ |
cat >&2 <<'END' |
3050 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
3051 |
+ |
|
3052 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
3053 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
3054 |
+ |
|
3055 |
+ |
If you want to complete the configuration process using your problematic |
3056 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3057 |
+ |
to "yes", and re-run configure. |
3058 |
+ |
|
3059 |
+ |
END |
3060 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3061 |
+ |
fi |
3062 |
+ |
fi |
3063 |
+ |
|
3064 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3065 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3066 |
|
# Check whether --enable-maintainer-mode was given. |
3083 |
|
MAINT=$MAINTAINER_MODE_TRUE |
3084 |
|
|
3085 |
|
|
3086 |
+ |
|
3087 |
|
ac_config_headers="$ac_config_headers config.h" |
3088 |
|
|
3089 |
|
|
3108 |
|
_am_result=none |
3109 |
|
# First try GNU make style include. |
3110 |
|
echo "include confinc" > confmf |
3111 |
< |
# Ignore all kinds of additional output from `make'. |
3111 |
> |
# Ignore all kinds of additional output from 'make'. |
3112 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
3113 |
|
*the\ am__doit\ target*) |
3114 |
|
am__include=include |
3174 |
|
IFS=$as_save_IFS |
3175 |
|
test -z "$as_dir" && as_dir=. |
3176 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3177 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3177 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3178 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3179 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3180 |
|
break 2 |
3214 |
|
IFS=$as_save_IFS |
3215 |
|
test -z "$as_dir" && as_dir=. |
3216 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3217 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3217 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3218 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3219 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3220 |
|
break 2 |
3267 |
|
IFS=$as_save_IFS |
3268 |
|
test -z "$as_dir" && as_dir=. |
3269 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3270 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3270 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3271 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3272 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3273 |
|
break 2 |
3308 |
|
IFS=$as_save_IFS |
3309 |
|
test -z "$as_dir" && as_dir=. |
3310 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3311 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3311 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3312 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3313 |
|
ac_prog_rejected=yes |
3314 |
|
continue |
3366 |
|
IFS=$as_save_IFS |
3367 |
|
test -z "$as_dir" && as_dir=. |
3368 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3369 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3369 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3370 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3371 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3372 |
|
break 2 |
3410 |
|
IFS=$as_save_IFS |
3411 |
|
test -z "$as_dir" && as_dir=. |
3412 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3413 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3413 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3414 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3415 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3416 |
|
break 2 |
3856 |
|
/* end confdefs.h. */ |
3857 |
|
#include <stdarg.h> |
3858 |
|
#include <stdio.h> |
3859 |
< |
#include <sys/types.h> |
3754 |
< |
#include <sys/stat.h> |
3859 |
> |
struct stat; |
3860 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3861 |
|
struct buf { int x; }; |
3862 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3941 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3942 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3943 |
|
|
3944 |
+ |
ac_ext=c |
3945 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3946 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3947 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3948 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3949 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3950 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3951 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
3952 |
+ |
$as_echo_n "(cached) " >&6 |
3953 |
+ |
else |
3954 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3955 |
+ |
/* end confdefs.h. */ |
3956 |
+ |
|
3957 |
+ |
int |
3958 |
+ |
main () |
3959 |
+ |
{ |
3960 |
+ |
|
3961 |
+ |
; |
3962 |
+ |
return 0; |
3963 |
+ |
} |
3964 |
+ |
_ACEOF |
3965 |
+ |
# Make sure it works both with $CC and with simple cc. |
3966 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3967 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
3968 |
+ |
# though they will create one. |
3969 |
+ |
am_cv_prog_cc_c_o=yes |
3970 |
+ |
for am_i in 1 2; do |
3971 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3972 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3973 |
+ |
ac_status=$? |
3974 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3975 |
+ |
(exit $ac_status); } \ |
3976 |
+ |
&& test -f conftest2.$ac_objext; then |
3977 |
+ |
: OK |
3978 |
+ |
else |
3979 |
+ |
am_cv_prog_cc_c_o=no |
3980 |
+ |
break |
3981 |
+ |
fi |
3982 |
+ |
done |
3983 |
+ |
rm -f core conftest* |
3984 |
+ |
unset am_i |
3985 |
+ |
fi |
3986 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3987 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3988 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
3989 |
+ |
# Losing compiler, so override with the script. |
3990 |
+ |
# FIXME: It is wrong to rewrite CC. |
3991 |
+ |
# But if we don't then we get into trouble of one sort or another. |
3992 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
3993 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3994 |
+ |
CC="$am_aux_dir/compile $CC" |
3995 |
+ |
fi |
3996 |
+ |
ac_ext=c |
3997 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3998 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3999 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4000 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4001 |
+ |
|
4002 |
+ |
|
4003 |
|
depcc="$CC" am_compiler_list= |
4004 |
|
|
4005 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4011 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
4012 |
|
# making bogus files that we don't know about and never remove. For |
4013 |
|
# instance it was reported that on HP-UX the gcc test will end up |
4014 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
4015 |
< |
# in D'. |
4014 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
4015 |
> |
# in D". |
4016 |
|
rm -rf conftest.dir |
4017 |
|
mkdir conftest.dir |
4018 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
4047 |
|
: > sub/conftest.c |
4048 |
|
for i in 1 2 3 4 5 6; do |
4049 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4050 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4051 |
< |
# Solaris 8's {/usr,}/bin/sh. |
4052 |
< |
touch sub/conftst$i.h |
4050 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
4051 |
> |
# Solaris 10 /bin/sh. |
4052 |
> |
echo '/* dummy */' > sub/conftst$i.h |
4053 |
|
done |
4054 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4055 |
|
|
4056 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4056 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
4057 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
4058 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
4059 |
< |
# versions had trouble with output in subdirs |
4058 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
4059 |
> |
# versions had trouble with output in subdirs. |
4060 |
|
am__obj=sub/conftest.${OBJEXT-o} |
4061 |
|
am__minus_obj="-o $am__obj" |
4062 |
|
case $depmode in |
4065 |
|
test "$am__universal" = false || continue |
4066 |
|
;; |
4067 |
|
nosideeffect) |
4068 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
4069 |
< |
# only be used when explicitly requested |
4068 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
4069 |
> |
# only be used when explicitly requested. |
4070 |
|
if test "x$enable_dependency_tracking" = xyes; then |
4071 |
|
continue |
4072 |
|
else |
4074 |
|
fi |
4075 |
|
;; |
4076 |
|
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4077 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
4077 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
4078 |
|
# not run yet. These depmodes are late enough in the game, and |
4079 |
|
# so weak that their functioning should not be impacted. |
4080 |
|
am__obj=conftest.${OBJEXT-o} |
4274 |
|
return 0; |
4275 |
|
} |
4276 |
|
_ACEOF |
4277 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
4277 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
4278 |
|
do |
4279 |
|
CC="$ac_save_CC $ac_arg" |
4280 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
4306 |
|
|
4307 |
|
|
4308 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4309 |
< |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
4309 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
4310 |
|
fi |
4311 |
|
for ac_prog in 'bison -y' byacc |
4312 |
|
do |
4326 |
|
IFS=$as_save_IFS |
4327 |
|
test -z "$as_dir" && as_dir=. |
4328 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4329 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4329 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4330 |
|
ac_cv_prog_YACC="$ac_prog" |
4331 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4332 |
|
break 2 |
4370 |
|
IFS=$as_save_IFS |
4371 |
|
test -z "$as_dir" && as_dir=. |
4372 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4373 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4373 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4374 |
|
ac_cv_prog_LEX="$ac_prog" |
4375 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4376 |
|
break 2 |
4402 |
|
b { REJECT; } |
4403 |
|
c { yymore (); } |
4404 |
|
d { yyless (1); } |
4405 |
< |
e { yyless (input () != 0); } |
4405 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
4406 |
> |
yyless ((input () != 0)); } |
4407 |
|
f { unput (yytext[0]); } |
4408 |
|
. { BEGIN INITIAL; } |
4409 |
|
%% |
4711 |
|
for ac_prog in sed gsed; do |
4712 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4713 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4714 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4714 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
4715 |
|
# Check for GNU ac_path_SED and select it if it is found. |
4716 |
|
# Check for GNU $ac_path_SED |
4717 |
|
case `"$ac_path_SED" --version 2>&1` in |
4787 |
|
for ac_prog in grep ggrep; do |
4788 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4789 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4790 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4790 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
4791 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
4792 |
|
# Check for GNU $ac_path_GREP |
4793 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4853 |
|
for ac_prog in egrep; do |
4854 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4855 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4856 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4856 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
4857 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
4858 |
|
# Check for GNU $ac_path_EGREP |
4859 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
4920 |
|
for ac_prog in fgrep; do |
4921 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4922 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4923 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
4923 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
4924 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
4925 |
|
# Check for GNU $ac_path_FGREP |
4926 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
5176 |
|
IFS=$as_save_IFS |
5177 |
|
test -z "$as_dir" && as_dir=. |
5178 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5179 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5179 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5180 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
5181 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5182 |
|
break 2 |
5220 |
|
IFS=$as_save_IFS |
5221 |
|
test -z "$as_dir" && as_dir=. |
5222 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5223 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5223 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5224 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
5225 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5226 |
|
break 2 |
5644 |
|
IFS=$as_save_IFS |
5645 |
|
test -z "$as_dir" && as_dir=. |
5646 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5647 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5647 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5648 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5649 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5650 |
|
break 2 |
5684 |
|
IFS=$as_save_IFS |
5685 |
|
test -z "$as_dir" && as_dir=. |
5686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5687 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5687 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5688 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5689 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5690 |
|
break 2 |
5990 |
|
IFS=$as_save_IFS |
5991 |
|
test -z "$as_dir" && as_dir=. |
5992 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5993 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5993 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5994 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5995 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5996 |
|
break 2 |
6030 |
|
IFS=$as_save_IFS |
6031 |
|
test -z "$as_dir" && as_dir=. |
6032 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6033 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6033 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6034 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
6035 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6036 |
|
break 2 |
6133 |
|
IFS=$as_save_IFS |
6134 |
|
test -z "$as_dir" && as_dir=. |
6135 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6136 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6136 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6137 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
6138 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6139 |
|
break 2 |
6177 |
|
IFS=$as_save_IFS |
6178 |
|
test -z "$as_dir" && as_dir=. |
6179 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6180 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6180 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6181 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
6182 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6183 |
|
break 2 |
6302 |
|
IFS=$as_save_IFS |
6303 |
|
test -z "$as_dir" && as_dir=. |
6304 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6305 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6305 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6306 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6307 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6308 |
|
break 2 |
6342 |
|
IFS=$as_save_IFS |
6343 |
|
test -z "$as_dir" && as_dir=. |
6344 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6345 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6345 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6346 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
6347 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6348 |
|
break 2 |
6401 |
|
IFS=$as_save_IFS |
6402 |
|
test -z "$as_dir" && as_dir=. |
6403 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6404 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6404 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6405 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6406 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6407 |
|
break 2 |
6441 |
|
IFS=$as_save_IFS |
6442 |
|
test -z "$as_dir" && as_dir=. |
6443 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6444 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6444 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6445 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6446 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6447 |
|
break 2 |
7090 |
|
IFS=$as_save_IFS |
7091 |
|
test -z "$as_dir" && as_dir=. |
7092 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7093 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7093 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7094 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
7095 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7096 |
|
break 2 |
7130 |
|
IFS=$as_save_IFS |
7131 |
|
test -z "$as_dir" && as_dir=. |
7132 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7133 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7133 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7134 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
7135 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7136 |
|
break 2 |
7210 |
|
IFS=$as_save_IFS |
7211 |
|
test -z "$as_dir" && as_dir=. |
7212 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7213 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7213 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7214 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
7215 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7216 |
|
break 2 |
7250 |
|
IFS=$as_save_IFS |
7251 |
|
test -z "$as_dir" && as_dir=. |
7252 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7253 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7253 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7254 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
7255 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7256 |
|
break 2 |
7302 |
|
IFS=$as_save_IFS |
7303 |
|
test -z "$as_dir" && as_dir=. |
7304 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7305 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7305 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7306 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
7307 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7308 |
|
break 2 |
7342 |
|
IFS=$as_save_IFS |
7343 |
|
test -z "$as_dir" && as_dir=. |
7344 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7345 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7345 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7346 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
7347 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7348 |
|
break 2 |
7394 |
|
IFS=$as_save_IFS |
7395 |
|
test -z "$as_dir" && as_dir=. |
7396 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7397 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7397 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7398 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
7399 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7400 |
|
break 2 |
7434 |
|
IFS=$as_save_IFS |
7435 |
|
test -z "$as_dir" && as_dir=. |
7436 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7437 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7437 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7438 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
7439 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7440 |
|
break 2 |
7486 |
|
IFS=$as_save_IFS |
7487 |
|
test -z "$as_dir" && as_dir=. |
7488 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7489 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7489 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7490 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
7491 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7492 |
|
break 2 |
7526 |
|
IFS=$as_save_IFS |
7527 |
|
test -z "$as_dir" && as_dir=. |
7528 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7529 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7529 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7530 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
7531 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7532 |
|
break 2 |
7578 |
|
IFS=$as_save_IFS |
7579 |
|
test -z "$as_dir" && as_dir=. |
7580 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7581 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7581 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7582 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
7583 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7584 |
|
break 2 |
7618 |
|
IFS=$as_save_IFS |
7619 |
|
test -z "$as_dir" && as_dir=. |
7620 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7621 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7621 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7622 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
7623 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7624 |
|
break 2 |
8560 |
|
$RM -r conftest* |
8561 |
|
|
8562 |
|
|
8563 |
+ |
## CAVEAT EMPTOR: |
8564 |
+ |
## There is no encapsulation within the following macros, do not change |
8565 |
+ |
## the running order or otherwise move them around unless you know exactly |
8566 |
+ |
## what you are doing... |
8567 |
|
if test -n "$compiler"; then |
8568 |
|
|
8569 |
|
lt_prog_compiler_no_builtin_flag= |
13177 |
|
|
13178 |
|
# Checks for libraries. |
13179 |
|
|
13180 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13181 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
13182 |
< |
if ${ac_cv_search_socket+:} false; then : |
13180 |
> |
|
13181 |
> |
if test "X$CC" != "X"; then |
13182 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13183 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13184 |
> |
if ${ssp_cv_cc+:} false; then : |
13185 |
> |
$as_echo_n "(cached) " >&6 |
13186 |
> |
else |
13187 |
> |
ssp_old_cflags="$CFLAGS" |
13188 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13189 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13190 |
> |
/* end confdefs.h. */ |
13191 |
> |
|
13192 |
> |
int |
13193 |
> |
main () |
13194 |
> |
{ |
13195 |
> |
|
13196 |
> |
; |
13197 |
> |
return 0; |
13198 |
> |
} |
13199 |
> |
_ACEOF |
13200 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13201 |
> |
ssp_cv_cc=yes |
13202 |
> |
else |
13203 |
> |
ssp_cv_cc=no |
13204 |
> |
fi |
13205 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13206 |
> |
CFLAGS="$ssp_old_cflags" |
13207 |
> |
|
13208 |
> |
fi |
13209 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13210 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
13211 |
> |
if test $ssp_cv_cc = yes; then |
13212 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13213 |
> |
|
13214 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13215 |
> |
|
13216 |
> |
fi |
13217 |
> |
fi |
13218 |
> |
|
13219 |
> |
|
13220 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5 |
13221 |
> |
$as_echo_n "checking whether C compiler accepts ... " >&6; } |
13222 |
> |
if ${ax_cv_check_cflags__+:} false; then : |
13223 |
> |
$as_echo_n "(cached) " >&6 |
13224 |
> |
else |
13225 |
> |
|
13226 |
> |
ax_check_save_flags=$CFLAGS |
13227 |
> |
CFLAGS="$CFLAGS " |
13228 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13229 |
> |
/* end confdefs.h. */ |
13230 |
> |
|
13231 |
> |
int |
13232 |
> |
main () |
13233 |
> |
{ |
13234 |
> |
|
13235 |
> |
; |
13236 |
> |
return 0; |
13237 |
> |
} |
13238 |
> |
_ACEOF |
13239 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13240 |
> |
ax_cv_check_cflags__=yes |
13241 |
> |
else |
13242 |
> |
ax_cv_check_cflags__=no |
13243 |
> |
fi |
13244 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13245 |
> |
CFLAGS=$ax_check_save_flags |
13246 |
> |
fi |
13247 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5 |
13248 |
> |
$as_echo "$ax_cv_check_cflags__" >&6; } |
13249 |
> |
if test x"$ax_cv_check_cflags__" = xyes; then : |
13250 |
> |
: |
13251 |
> |
else |
13252 |
> |
: |
13253 |
> |
fi |
13254 |
> |
|
13255 |
> |
if ${CFLAGS+:} false; then : |
13256 |
> |
case " $CFLAGS " in |
13257 |
> |
*" "*) |
13258 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5 |
13259 |
> |
(: CFLAGS already contains ) 2>&5 |
13260 |
> |
ac_status=$? |
13261 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13262 |
> |
test $ac_status = 0; } |
13263 |
> |
;; |
13264 |
> |
*) |
13265 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5 |
13266 |
> |
(: CFLAGS="$CFLAGS ") 2>&5 |
13267 |
> |
ac_status=$? |
13268 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13269 |
> |
test $ac_status = 0; } |
13270 |
> |
CFLAGS="$CFLAGS " |
13271 |
> |
;; |
13272 |
> |
esac |
13273 |
> |
else |
13274 |
> |
CFLAGS="" |
13275 |
> |
fi |
13276 |
> |
|
13277 |
> |
|
13278 |
> |
|
13279 |
> |
for flag in -fno-strict-aliasing; do |
13280 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
13281 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13282 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13283 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
13284 |
> |
$as_echo_n "(cached) " >&6 |
13285 |
> |
else |
13286 |
> |
|
13287 |
> |
ax_check_save_flags=$CFLAGS |
13288 |
> |
CFLAGS="$CFLAGS $flag" |
13289 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13290 |
> |
/* end confdefs.h. */ |
13291 |
> |
|
13292 |
> |
int |
13293 |
> |
main () |
13294 |
> |
{ |
13295 |
> |
|
13296 |
> |
; |
13297 |
> |
return 0; |
13298 |
> |
} |
13299 |
> |
_ACEOF |
13300 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13301 |
> |
eval "$as_CACHEVAR=yes" |
13302 |
> |
else |
13303 |
> |
eval "$as_CACHEVAR=no" |
13304 |
> |
fi |
13305 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13306 |
> |
CFLAGS=$ax_check_save_flags |
13307 |
> |
fi |
13308 |
> |
eval ac_res=\$$as_CACHEVAR |
13309 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13310 |
> |
$as_echo "$ac_res" >&6; } |
13311 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13312 |
> |
if ${CFLAGS+:} false; then : |
13313 |
> |
case " $CFLAGS " in |
13314 |
> |
*" $flag "*) |
13315 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13316 |
> |
(: CFLAGS already contains $flag) 2>&5 |
13317 |
> |
ac_status=$? |
13318 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13319 |
> |
test $ac_status = 0; } |
13320 |
> |
;; |
13321 |
> |
*) |
13322 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13323 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13324 |
> |
ac_status=$? |
13325 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13326 |
> |
test $ac_status = 0; } |
13327 |
> |
CFLAGS="$CFLAGS $flag" |
13328 |
> |
;; |
13329 |
> |
esac |
13330 |
> |
else |
13331 |
> |
CFLAGS="$flag" |
13332 |
> |
fi |
13333 |
> |
|
13334 |
> |
else |
13335 |
> |
: |
13336 |
> |
fi |
13337 |
> |
|
13338 |
> |
done |
13339 |
> |
|
13340 |
> |
|
13341 |
> |
|
13342 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13343 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13344 |
> |
|
13345 |
> |
else |
13346 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
13347 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
13348 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13349 |
|
$as_echo_n "(cached) " >&6 |
13350 |
|
else |
13351 |
|
ac_func_search_save_LIBS=$LIBS |
13358 |
|
#ifdef __cplusplus |
13359 |
|
extern "C" |
13360 |
|
#endif |
13361 |
< |
char socket (); |
13361 |
> |
char getaddrinfo (); |
13362 |
|
int |
13363 |
|
main () |
13364 |
|
{ |
13365 |
< |
return socket (); |
13365 |
> |
return getaddrinfo (); |
13366 |
|
; |
13367 |
|
return 0; |
13368 |
|
} |
13369 |
|
_ACEOF |
13370 |
< |
for ac_lib in '' socket; do |
13370 |
> |
for ac_lib in '' nsl; do |
13371 |
|
if test -z "$ac_lib"; then |
13372 |
|
ac_res="none required" |
13373 |
|
else |
13375 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13376 |
|
fi |
13377 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13378 |
< |
ac_cv_search_socket=$ac_res |
13378 |
> |
ac_cv_search_getaddrinfo=$ac_res |
13379 |
|
fi |
13380 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13381 |
|
conftest$ac_exeext |
13382 |
< |
if ${ac_cv_search_socket+:} false; then : |
13382 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13383 |
|
break |
13384 |
|
fi |
13385 |
|
done |
13386 |
< |
if ${ac_cv_search_socket+:} false; then : |
13386 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13387 |
|
|
13388 |
|
else |
13389 |
< |
ac_cv_search_socket=no |
13389 |
> |
ac_cv_search_getaddrinfo=no |
13390 |
|
fi |
13391 |
|
rm conftest.$ac_ext |
13392 |
|
LIBS=$ac_func_search_save_LIBS |
13393 |
|
fi |
13394 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13395 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
13396 |
< |
ac_res=$ac_cv_search_socket |
13394 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
13395 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
13396 |
> |
ac_res=$ac_cv_search_getaddrinfo |
13397 |
|
if test "$ac_res" != no; then : |
13398 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13399 |
|
|
13065 |
– |
else |
13066 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13400 |
|
fi |
13401 |
|
|
13402 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
13403 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
13404 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13402 |
> |
fi |
13403 |
> |
|
13404 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
13405 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
13406 |
> |
|
13407 |
> |
else |
13408 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
13409 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
13410 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13411 |
|
$as_echo_n "(cached) " >&6 |
13412 |
|
else |
13413 |
|
ac_func_search_save_LIBS=$LIBS |
13420 |
|
#ifdef __cplusplus |
13421 |
|
extern "C" |
13422 |
|
#endif |
13423 |
< |
char inet_ntoa (); |
13423 |
> |
char getnameinfo (); |
13424 |
|
int |
13425 |
|
main () |
13426 |
|
{ |
13427 |
< |
return inet_ntoa (); |
13427 |
> |
return getnameinfo (); |
13428 |
|
; |
13429 |
|
return 0; |
13430 |
|
} |
13437 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13438 |
|
fi |
13439 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13440 |
< |
ac_cv_search_inet_ntoa=$ac_res |
13440 |
> |
ac_cv_search_getnameinfo=$ac_res |
13441 |
|
fi |
13442 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13443 |
|
conftest$ac_exeext |
13444 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13444 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13445 |
|
break |
13446 |
|
fi |
13447 |
|
done |
13448 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13448 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13449 |
|
|
13450 |
|
else |
13451 |
< |
ac_cv_search_inet_ntoa=no |
13451 |
> |
ac_cv_search_getnameinfo=no |
13452 |
|
fi |
13453 |
|
rm conftest.$ac_ext |
13454 |
|
LIBS=$ac_func_search_save_LIBS |
13455 |
|
fi |
13456 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
13457 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
13458 |
< |
ac_res=$ac_cv_search_inet_ntoa |
13456 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
13457 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
13458 |
> |
ac_res=$ac_cv_search_getnameinfo |
13459 |
|
if test "$ac_res" != no; then : |
13460 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13461 |
|
|
13462 |
|
fi |
13463 |
|
|
13464 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
13465 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
13466 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13464 |
> |
fi |
13465 |
> |
|
13466 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13467 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
13468 |
> |
if ${ac_cv_search_socket+:} false; then : |
13469 |
|
$as_echo_n "(cached) " >&6 |
13470 |
|
else |
13471 |
|
ac_func_search_save_LIBS=$LIBS |
13478 |
|
#ifdef __cplusplus |
13479 |
|
extern "C" |
13480 |
|
#endif |
13481 |
< |
char inet_aton (); |
13481 |
> |
char socket (); |
13482 |
|
int |
13483 |
|
main () |
13484 |
|
{ |
13485 |
< |
return inet_aton (); |
13485 |
> |
return socket (); |
13486 |
|
; |
13487 |
|
return 0; |
13488 |
|
} |
13489 |
|
_ACEOF |
13490 |
< |
for ac_lib in '' resolv; do |
13490 |
> |
for ac_lib in '' socket; do |
13491 |
|
if test -z "$ac_lib"; then |
13492 |
|
ac_res="none required" |
13493 |
|
else |
13495 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13496 |
|
fi |
13497 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13498 |
< |
ac_cv_search_inet_aton=$ac_res |
13498 |
> |
ac_cv_search_socket=$ac_res |
13499 |
|
fi |
13500 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13501 |
|
conftest$ac_exeext |
13502 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13502 |
> |
if ${ac_cv_search_socket+:} false; then : |
13503 |
|
break |
13504 |
|
fi |
13505 |
|
done |
13506 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13506 |
> |
if ${ac_cv_search_socket+:} false; then : |
13507 |
|
|
13508 |
|
else |
13509 |
< |
ac_cv_search_inet_aton=no |
13509 |
> |
ac_cv_search_socket=no |
13510 |
|
fi |
13511 |
|
rm conftest.$ac_ext |
13512 |
|
LIBS=$ac_func_search_save_LIBS |
13513 |
|
fi |
13514 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
13515 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
13516 |
< |
ac_res=$ac_cv_search_inet_aton |
13514 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13515 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
13516 |
> |
ac_res=$ac_cv_search_socket |
13517 |
|
if test "$ac_res" != no; then : |
13518 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13519 |
|
|
13520 |
+ |
else |
13521 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13522 |
|
fi |
13523 |
|
|
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 |
– |
|
13524 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13525 |
|
#include <sys/socket.h> |
13526 |
|
#include <netdb.h> |
13837 |
|
|
13838 |
|
|
13839 |
|
|
13509 |
– |
|
13510 |
– |
|
13511 |
– |
|
13512 |
– |
|
13840 |
|
# Checks for header files. |
13841 |
|
|
13842 |
|
|
13871 |
|
|
13872 |
|
|
13873 |
|
|
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 |
– |
|
13874 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13875 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13876 |
|
if ${ac_cv_search_crypt+:} false; then : |
13928 |
|
fi |
13929 |
|
|
13930 |
|
|
13931 |
< |
|
13932 |
< |
|
13933 |
< |
# Check whether --with-libpcre-path was given. |
13934 |
< |
if test "${with_libpcre_path+set}" = set; then : |
13935 |
< |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
13936 |
< |
fi |
13937 |
< |
|
13938 |
< |
|
13939 |
< |
# 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 : |
13931 |
> |
# Check whether --enable-libgeoip was given. |
13932 |
> |
if test "${enable_libgeoip+set}" = set; then : |
13933 |
> |
enableval=$enable_libgeoip; |
13934 |
> |
else |
13935 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13936 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13937 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13938 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13939 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13940 |
|
$as_echo_n "(cached) " >&6 |
13941 |
|
else |
13942 |
< |
ac_check_lib_save_LIBS=$LIBS |
13660 |
< |
LIBS="-lpcre $LIBS" |
13942 |
> |
ac_func_search_save_LIBS=$LIBS |
13943 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13944 |
|
/* end confdefs.h. */ |
13945 |
|
|
13949 |
|
#ifdef __cplusplus |
13950 |
|
extern "C" |
13951 |
|
#endif |
13952 |
< |
char pcre_study (); |
13952 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13953 |
|
int |
13954 |
|
main () |
13955 |
|
{ |
13956 |
< |
return pcre_study (); |
13956 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13957 |
|
; |
13958 |
|
return 0; |
13959 |
|
} |
13960 |
|
_ACEOF |
13961 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13962 |
< |
ac_cv_lib_pcre_pcre_study=yes |
13963 |
< |
else |
13964 |
< |
ac_cv_lib_pcre_pcre_study=no |
13961 |
> |
for ac_lib in '' GeoIP; do |
13962 |
> |
if test -z "$ac_lib"; then |
13963 |
> |
ac_res="none required" |
13964 |
> |
else |
13965 |
> |
ac_res=-l$ac_lib |
13966 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13967 |
> |
fi |
13968 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13969 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13970 |
|
fi |
13971 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13972 |
< |
conftest$ac_exeext conftest.$ac_ext |
13973 |
< |
LIBS=$ac_check_lib_save_LIBS |
13972 |
> |
conftest$ac_exeext |
13973 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13974 |
> |
break |
13975 |
|
fi |
13976 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
13977 |
< |
$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 |
< |
|
13976 |
> |
done |
13977 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13978 |
|
|
13979 |
|
else |
13980 |
< |
libpcre=no |
13980 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13981 |
|
fi |
13982 |
+ |
rm conftest.$ac_ext |
13983 |
+ |
LIBS=$ac_func_search_save_LIBS |
13984 |
+ |
fi |
13985 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13986 |
+ |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13987 |
+ |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13988 |
+ |
if test "$ac_res" != no; then : |
13989 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13990 |
|
|
13991 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13992 |
|
|
13702 |
– |
else |
13703 |
– |
libpcre=no |
13993 |
|
fi |
13994 |
|
|
13995 |
+ |
fi |
13996 |
|
|
13997 |
|
|
13998 |
|
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 |
13999 |
|
|
14000 |
|
|
14001 |
|
|
14038 |
|
fi |
14039 |
|
|
14040 |
|
if test ! -z "$cf_openssl_basedir"; then |
13758 |
– |
LIBS="-lcrypto -lssl $LIBS" |
14041 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
14042 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
14043 |
|
cf_enable_openssl="yes" |
13762 |
– |
|
13763 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13764 |
– |
|
14044 |
|
else |
14045 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
14046 |
|
$as_echo "not found. Please check your path." >&6; } |
14053 |
|
fi |
14054 |
|
|
14055 |
|
if test "$cf_enable_openssl" != "no"; then : |
14056 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
14057 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
14056 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
14057 |
> |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
14058 |
|
if test "$cross_compiling" = yes; then : |
14059 |
|
cf_openssl_version_ok=no |
14060 |
|
else |
14067 |
|
int |
14068 |
|
main () |
14069 |
|
{ |
14070 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
14070 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
14071 |
|
; |
14072 |
|
return 0; |
14073 |
|
} |
14132 |
|
fi |
14133 |
|
|
14134 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
14135 |
< |
for ac_func in EVP_bf_cfb \ |
14136 |
< |
EVP_cast5_cfb \ |
14137 |
< |
EVP_idea_cfb \ |
14138 |
< |
EVP_rc5_32_12_16_cfb \ |
14139 |
< |
EVP_des_ede3_cfb \ |
14140 |
< |
EVP_des_cfb |
14141 |
< |
do : |
14142 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14143 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
14144 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
14135 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
14136 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
14137 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
14138 |
> |
$as_echo_n "(cached) " >&6 |
14139 |
> |
else |
14140 |
> |
ac_check_lib_save_LIBS=$LIBS |
14141 |
> |
LIBS="-lssl $LIBS" |
14142 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14143 |
> |
/* end confdefs.h. */ |
14144 |
> |
|
14145 |
> |
/* Override any GCC internal prototype to avoid an error. |
14146 |
> |
Use char because int might match the return type of a GCC |
14147 |
> |
builtin and then its argument prototype would still apply. */ |
14148 |
> |
#ifdef __cplusplus |
14149 |
> |
extern "C" |
14150 |
> |
#endif |
14151 |
> |
char SSL_connect (); |
14152 |
> |
int |
14153 |
> |
main () |
14154 |
> |
{ |
14155 |
> |
return SSL_connect (); |
14156 |
> |
; |
14157 |
> |
return 0; |
14158 |
> |
} |
14159 |
> |
_ACEOF |
14160 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
14161 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
14162 |
> |
else |
14163 |
> |
ac_cv_lib_ssl_SSL_connect=no |
14164 |
> |
fi |
14165 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
14166 |
> |
conftest$ac_exeext conftest.$ac_ext |
14167 |
> |
LIBS=$ac_check_lib_save_LIBS |
14168 |
> |
fi |
14169 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
14170 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
14171 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
14172 |
|
cat >>confdefs.h <<_ACEOF |
14173 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14173 |
> |
#define HAVE_LIBSSL 1 |
14174 |
|
_ACEOF |
14175 |
|
|
14176 |
+ |
LIBS="-lssl $LIBS" |
14177 |
+ |
|
14178 |
|
fi |
13871 |
– |
done |
14179 |
|
|
14180 |
|
fi |
14181 |
|
|
14186 |
|
fi |
14187 |
|
fi |
14188 |
|
|
14189 |
< |
if test "$cf_enable_openssl" = yes; then |
14189 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
14190 |
|
ENABLE_SSL_TRUE= |
14191 |
|
ENABLE_SSL_FALSE='#' |
14192 |
|
else |
14211 |
|
fi |
14212 |
|
|
14213 |
|
|
14214 |
< |
# 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 |
14214 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14215 |
|
|
14216 |
|
|
14217 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
14217 |
> |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14218 |
|
|
14219 |
|
|
14220 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
14220 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
14221 |
|
|
14222 |
|
|
14223 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
14223 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14224 |
|
|
14225 |
|
|
14226 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
14226 |
> |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14227 |
|
|
14228 |
|
|
14229 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
14229 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
14230 |
|
|
14231 |
|
|
14232 |
< |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
14232 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
14233 |
|
|
14234 |
|
|
14235 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
14235 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
14236 |
|
|
13947 |
– |
else |
13948 |
– |
|
13949 |
– |
|
13950 |
– |
|
13951 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
13952 |
– |
|
13953 |
– |
|
13954 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
13955 |
– |
|
13956 |
– |
|
13957 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
14237 |
|
|
14238 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
14239 |
|
|
13960 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
14240 |
|
|
14241 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
14242 |
|
|
13963 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
14243 |
|
|
14244 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14245 |
|
|
13966 |
– |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
14246 |
|
|
14247 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14248 |
|
|
13969 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
14249 |
|
|
14250 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14251 |
|
|
13972 |
– |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
14252 |
|
|
14253 |
< |
|
13975 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
13976 |
< |
|
13977 |
< |
|
13978 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
13979 |
< |
|
13980 |
< |
fi |
14253 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14254 |
|
|
14255 |
|
|
14256 |
|
# Argument processing. |
14271 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
14272 |
|
fi |
14273 |
|
|
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 |
– |
|
14274 |
|
# Check whether --enable-poll was given. |
14275 |
|
if test "${enable_poll+set}" = set; then : |
14276 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
14454 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14455 |
|
|
14456 |
|
fi |
14457 |
< |
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 |
14457 |
> |
iopoll_mechanism_poll=4 |
14458 |
|
|
14459 |
|
cat >>confdefs.h <<_ACEOF |
14460 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14508 |
|
fi |
14509 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14510 |
|
conftest$ac_exeext conftest.$ac_ext |
14511 |
< |
iopoll_mechanism_select=6 |
14511 |
> |
iopoll_mechanism_select=5 |
14512 |
|
|
14513 |
|
cat >>confdefs.h <<_ACEOF |
14514 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
14563 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14564 |
|
conftest$ac_exeext conftest.$ac_ext |
14565 |
|
optimal_iopoll_mechanism="none" |
14566 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
14566 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
14567 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14568 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14569 |
|
optimal_iopoll_mechanism="$mechanism" |
14600 |
|
|
14601 |
|
|
14602 |
|
|
14603 |
+ |
# Check whether --enable-halfops was given. |
14604 |
+ |
if test "${enable_halfops+set}" = set; then : |
14605 |
+ |
enableval=$enable_halfops; halfops="$enableval" |
14606 |
+ |
else |
14607 |
+ |
halfops="no" |
14608 |
+ |
fi |
14609 |
|
|
14610 |
< |
# Check whether --with-nicklen was given. |
14611 |
< |
if test "${with_nicklen+set}" = set; then : |
14612 |
< |
withval=$with_nicklen; nicklen="$withval" |
14610 |
> |
if test "$halfops" = "yes" ; then |
14611 |
> |
|
14612 |
> |
$as_echo "#define HALFOPS 1" >>confdefs.h |
14613 |
> |
|
14614 |
> |
fi |
14615 |
> |
|
14616 |
> |
|
14617 |
> |
# Check whether --enable-debugging was given. |
14618 |
> |
if test "${enable_debugging+set}" = set; then : |
14619 |
> |
enableval=$enable_debugging; debugging="$enableval" |
14620 |
|
else |
14621 |
< |
nicklen="9" |
14621 |
> |
debugging="no" |
14622 |
|
fi |
14623 |
|
|
14624 |
+ |
if test "$debugging" = "yes" ; then |
14625 |
+ |
CFLAGS="-Wall -g -O0" |
14626 |
+ |
fi |
14627 |
+ |
|
14628 |
|
|
14629 |
< |
cat >>confdefs.h <<_ACEOF |
14630 |
< |
#define NICKLEN ($nicklen+1) |
14629 |
> |
# Check whether --enable-warnings was given. |
14630 |
> |
if test "${enable_warnings+set}" = set; then : |
14631 |
> |
enableval=$enable_warnings; warnings="$enableval" |
14632 |
> |
else |
14633 |
> |
warnings="no" |
14634 |
> |
fi |
14635 |
> |
|
14636 |
> |
if test "$warnings" = "yes" ; then |
14637 |
> |
|
14638 |
> |
|
14639 |
> |
for flag in -Wall; do |
14640 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14641 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14642 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14643 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14644 |
> |
$as_echo_n "(cached) " >&6 |
14645 |
> |
else |
14646 |
> |
|
14647 |
> |
ax_check_save_flags=$CFLAGS |
14648 |
> |
CFLAGS="$CFLAGS $flag" |
14649 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14650 |
> |
/* end confdefs.h. */ |
14651 |
> |
|
14652 |
> |
int |
14653 |
> |
main () |
14654 |
> |
{ |
14655 |
> |
|
14656 |
> |
; |
14657 |
> |
return 0; |
14658 |
> |
} |
14659 |
|
_ACEOF |
14660 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14661 |
+ |
eval "$as_CACHEVAR=yes" |
14662 |
+ |
else |
14663 |
+ |
eval "$as_CACHEVAR=no" |
14664 |
+ |
fi |
14665 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14666 |
+ |
CFLAGS=$ax_check_save_flags |
14667 |
+ |
fi |
14668 |
+ |
eval ac_res=\$$as_CACHEVAR |
14669 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14670 |
+ |
$as_echo "$ac_res" >&6; } |
14671 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14672 |
+ |
if ${CFLAGS+:} false; then : |
14673 |
+ |
case " $CFLAGS " in |
14674 |
+ |
*" $flag "*) |
14675 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14676 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14677 |
+ |
ac_status=$? |
14678 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14679 |
+ |
test $ac_status = 0; } |
14680 |
+ |
;; |
14681 |
+ |
*) |
14682 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14683 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14684 |
+ |
ac_status=$? |
14685 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14686 |
+ |
test $ac_status = 0; } |
14687 |
+ |
CFLAGS="$CFLAGS $flag" |
14688 |
+ |
;; |
14689 |
+ |
esac |
14690 |
+ |
else |
14691 |
+ |
CFLAGS="$flag" |
14692 |
+ |
fi |
14693 |
|
|
14694 |
+ |
else |
14695 |
+ |
: |
14696 |
+ |
fi |
14697 |
+ |
|
14698 |
+ |
done |
14699 |
+ |
|
14700 |
+ |
|
14701 |
+ |
|
14702 |
+ |
for flag in -Wextra; do |
14703 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14704 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14705 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14706 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
14707 |
+ |
$as_echo_n "(cached) " >&6 |
14708 |
+ |
else |
14709 |
|
|
14710 |
+ |
ax_check_save_flags=$CFLAGS |
14711 |
+ |
CFLAGS="$CFLAGS $flag" |
14712 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14713 |
+ |
/* end confdefs.h. */ |
14714 |
|
|
14715 |
+ |
int |
14716 |
+ |
main () |
14717 |
+ |
{ |
14718 |
|
|
14719 |
< |
# Check whether --with-topiclen was given. |
14720 |
< |
if test "${with_topiclen+set}" = set; then : |
14721 |
< |
withval=$with_topiclen; topiclen="$withval" |
14719 |
> |
; |
14720 |
> |
return 0; |
14721 |
> |
} |
14722 |
> |
_ACEOF |
14723 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14724 |
> |
eval "$as_CACHEVAR=yes" |
14725 |
|
else |
14726 |
< |
topiclen="160" |
14726 |
> |
eval "$as_CACHEVAR=no" |
14727 |
> |
fi |
14728 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14729 |
> |
CFLAGS=$ax_check_save_flags |
14730 |
> |
fi |
14731 |
> |
eval ac_res=\$$as_CACHEVAR |
14732 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14733 |
> |
$as_echo "$ac_res" >&6; } |
14734 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14735 |
> |
if ${CFLAGS+:} false; then : |
14736 |
> |
case " $CFLAGS " in |
14737 |
> |
*" $flag "*) |
14738 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14739 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14740 |
> |
ac_status=$? |
14741 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14742 |
> |
test $ac_status = 0; } |
14743 |
> |
;; |
14744 |
> |
*) |
14745 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14746 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14747 |
> |
ac_status=$? |
14748 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14749 |
> |
test $ac_status = 0; } |
14750 |
> |
CFLAGS="$CFLAGS $flag" |
14751 |
> |
;; |
14752 |
> |
esac |
14753 |
> |
else |
14754 |
> |
CFLAGS="$flag" |
14755 |
|
fi |
14756 |
|
|
14757 |
+ |
else |
14758 |
+ |
: |
14759 |
+ |
fi |
14760 |
|
|
14761 |
< |
cat >>confdefs.h <<_ACEOF |
14762 |
< |
#define TOPICLEN ($topiclen) |
14761 |
> |
done |
14762 |
> |
|
14763 |
> |
|
14764 |
> |
|
14765 |
> |
for flag in -Wno-unused; do |
14766 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14767 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14768 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14769 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14770 |
> |
$as_echo_n "(cached) " >&6 |
14771 |
> |
else |
14772 |
> |
|
14773 |
> |
ax_check_save_flags=$CFLAGS |
14774 |
> |
CFLAGS="$CFLAGS $flag" |
14775 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14776 |
> |
/* end confdefs.h. */ |
14777 |
> |
|
14778 |
> |
int |
14779 |
> |
main () |
14780 |
> |
{ |
14781 |
> |
|
14782 |
> |
; |
14783 |
> |
return 0; |
14784 |
> |
} |
14785 |
|
_ACEOF |
14786 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14787 |
+ |
eval "$as_CACHEVAR=yes" |
14788 |
+ |
else |
14789 |
+ |
eval "$as_CACHEVAR=no" |
14790 |
+ |
fi |
14791 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14792 |
+ |
CFLAGS=$ax_check_save_flags |
14793 |
+ |
fi |
14794 |
+ |
eval ac_res=\$$as_CACHEVAR |
14795 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14796 |
+ |
$as_echo "$ac_res" >&6; } |
14797 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14798 |
+ |
if ${CFLAGS+:} false; then : |
14799 |
+ |
case " $CFLAGS " in |
14800 |
+ |
*" $flag "*) |
14801 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14802 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14803 |
+ |
ac_status=$? |
14804 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14805 |
+ |
test $ac_status = 0; } |
14806 |
+ |
;; |
14807 |
+ |
*) |
14808 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14809 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14810 |
+ |
ac_status=$? |
14811 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14812 |
+ |
test $ac_status = 0; } |
14813 |
+ |
CFLAGS="$CFLAGS $flag" |
14814 |
+ |
;; |
14815 |
+ |
esac |
14816 |
+ |
else |
14817 |
+ |
CFLAGS="$flag" |
14818 |
+ |
fi |
14819 |
|
|
14820 |
+ |
else |
14821 |
+ |
: |
14822 |
+ |
fi |
14823 |
+ |
|
14824 |
+ |
done |
14825 |
|
|
14826 |
|
|
14827 |
< |
# Check whether --enable-efnet was given. |
14828 |
< |
if test "${enable_efnet+set}" = set; then : |
14829 |
< |
enableval=$enable_efnet; efnet="$enableval" |
14827 |
> |
|
14828 |
> |
for flag in -Wcast-qual; do |
14829 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14830 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14831 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14832 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14833 |
> |
$as_echo_n "(cached) " >&6 |
14834 |
|
else |
14835 |
< |
efnet="no" |
14835 |
> |
|
14836 |
> |
ax_check_save_flags=$CFLAGS |
14837 |
> |
CFLAGS="$CFLAGS $flag" |
14838 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14839 |
> |
/* end confdefs.h. */ |
14840 |
> |
|
14841 |
> |
int |
14842 |
> |
main () |
14843 |
> |
{ |
14844 |
> |
|
14845 |
> |
; |
14846 |
> |
return 0; |
14847 |
> |
} |
14848 |
> |
_ACEOF |
14849 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14850 |
> |
eval "$as_CACHEVAR=yes" |
14851 |
> |
else |
14852 |
> |
eval "$as_CACHEVAR=no" |
14853 |
> |
fi |
14854 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14855 |
> |
CFLAGS=$ax_check_save_flags |
14856 |
> |
fi |
14857 |
> |
eval ac_res=\$$as_CACHEVAR |
14858 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14859 |
> |
$as_echo "$ac_res" >&6; } |
14860 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14861 |
> |
if ${CFLAGS+:} false; then : |
14862 |
> |
case " $CFLAGS " in |
14863 |
> |
*" $flag "*) |
14864 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14865 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14866 |
> |
ac_status=$? |
14867 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14868 |
> |
test $ac_status = 0; } |
14869 |
> |
;; |
14870 |
> |
*) |
14871 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14872 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14873 |
> |
ac_status=$? |
14874 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14875 |
> |
test $ac_status = 0; } |
14876 |
> |
CFLAGS="$CFLAGS $flag" |
14877 |
> |
;; |
14878 |
> |
esac |
14879 |
> |
else |
14880 |
> |
CFLAGS="$flag" |
14881 |
> |
fi |
14882 |
> |
|
14883 |
> |
else |
14884 |
> |
: |
14885 |
|
fi |
14886 |
|
|
14887 |
< |
if test "$efnet" = "yes" ; then |
14414 |
< |
use_efnet="yes" |
14887 |
> |
done |
14888 |
|
|
14416 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
14889 |
|
|
14890 |
< |
else |
14891 |
< |
use_efnet="no" |
14892 |
< |
fi |
14893 |
< |
if test "$use_efnet" = "yes"; then |
14894 |
< |
EFNET_TRUE= |
14895 |
< |
EFNET_FALSE='#' |
14890 |
> |
|
14891 |
> |
for flag in -Wcast-align; do |
14892 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14893 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14894 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14895 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14896 |
> |
$as_echo_n "(cached) " >&6 |
14897 |
> |
else |
14898 |
> |
|
14899 |
> |
ax_check_save_flags=$CFLAGS |
14900 |
> |
CFLAGS="$CFLAGS $flag" |
14901 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14902 |
> |
/* end confdefs.h. */ |
14903 |
> |
|
14904 |
> |
int |
14905 |
> |
main () |
14906 |
> |
{ |
14907 |
> |
|
14908 |
> |
; |
14909 |
> |
return 0; |
14910 |
> |
} |
14911 |
> |
_ACEOF |
14912 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14913 |
> |
eval "$as_CACHEVAR=yes" |
14914 |
|
else |
14915 |
< |
EFNET_TRUE='#' |
14916 |
< |
EFNET_FALSE= |
14915 |
> |
eval "$as_CACHEVAR=no" |
14916 |
> |
fi |
14917 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14918 |
> |
CFLAGS=$ax_check_save_flags |
14919 |
> |
fi |
14920 |
> |
eval ac_res=\$$as_CACHEVAR |
14921 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14922 |
> |
$as_echo "$ac_res" >&6; } |
14923 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14924 |
> |
if ${CFLAGS+:} false; then : |
14925 |
> |
case " $CFLAGS " in |
14926 |
> |
*" $flag "*) |
14927 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14928 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14929 |
> |
ac_status=$? |
14930 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14931 |
> |
test $ac_status = 0; } |
14932 |
> |
;; |
14933 |
> |
*) |
14934 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14935 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14936 |
> |
ac_status=$? |
14937 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14938 |
> |
test $ac_status = 0; } |
14939 |
> |
CFLAGS="$CFLAGS $flag" |
14940 |
> |
;; |
14941 |
> |
esac |
14942 |
> |
else |
14943 |
> |
CFLAGS="$flag" |
14944 |
|
fi |
14945 |
|
|
14946 |
+ |
else |
14947 |
+ |
: |
14948 |
+ |
fi |
14949 |
|
|
14950 |
+ |
done |
14951 |
|
|
14952 |
< |
# Check whether --enable-halfops was given. |
14953 |
< |
if test "${enable_halfops+set}" = set; then : |
14954 |
< |
enableval=$enable_halfops; halfops="$enableval" |
14952 |
> |
|
14953 |
> |
|
14954 |
> |
for flag in -Wbad-function-cast; do |
14955 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14956 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14957 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14958 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14959 |
> |
$as_echo_n "(cached) " >&6 |
14960 |
|
else |
14961 |
< |
halfops="no" |
14961 |
> |
|
14962 |
> |
ax_check_save_flags=$CFLAGS |
14963 |
> |
CFLAGS="$CFLAGS $flag" |
14964 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14965 |
> |
/* end confdefs.h. */ |
14966 |
> |
|
14967 |
> |
int |
14968 |
> |
main () |
14969 |
> |
{ |
14970 |
> |
|
14971 |
> |
; |
14972 |
> |
return 0; |
14973 |
> |
} |
14974 |
> |
_ACEOF |
14975 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14976 |
> |
eval "$as_CACHEVAR=yes" |
14977 |
> |
else |
14978 |
> |
eval "$as_CACHEVAR=no" |
14979 |
> |
fi |
14980 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14981 |
> |
CFLAGS=$ax_check_save_flags |
14982 |
> |
fi |
14983 |
> |
eval ac_res=\$$as_CACHEVAR |
14984 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14985 |
> |
$as_echo "$ac_res" >&6; } |
14986 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14987 |
> |
if ${CFLAGS+:} false; then : |
14988 |
> |
case " $CFLAGS " in |
14989 |
> |
*" $flag "*) |
14990 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14991 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14992 |
> |
ac_status=$? |
14993 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14994 |
> |
test $ac_status = 0; } |
14995 |
> |
;; |
14996 |
> |
*) |
14997 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14998 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14999 |
> |
ac_status=$? |
15000 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15001 |
> |
test $ac_status = 0; } |
15002 |
> |
CFLAGS="$CFLAGS $flag" |
15003 |
> |
;; |
15004 |
> |
esac |
15005 |
> |
else |
15006 |
> |
CFLAGS="$flag" |
15007 |
|
fi |
15008 |
|
|
15009 |
< |
if test "$halfops" = "yes" ; then |
15009 |
> |
else |
15010 |
> |
: |
15011 |
> |
fi |
15012 |
|
|
15013 |
< |
$as_echo "#define HALFOPS 1" >>confdefs.h |
15013 |
> |
done |
15014 |
|
|
14442 |
– |
fi |
15015 |
|
|
15016 |
|
|
15017 |
< |
# Check whether --enable-debugging was given. |
15018 |
< |
if test "${enable_debugging+set}" = set; then : |
15019 |
< |
enableval=$enable_debugging; debugging="$enableval" |
15017 |
> |
for flag in -Wmissing-declarations; do |
15018 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15019 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15020 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15021 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15022 |
> |
$as_echo_n "(cached) " >&6 |
15023 |
|
else |
15024 |
< |
debugging="no" |
15024 |
> |
|
15025 |
> |
ax_check_save_flags=$CFLAGS |
15026 |
> |
CFLAGS="$CFLAGS $flag" |
15027 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15028 |
> |
/* end confdefs.h. */ |
15029 |
> |
|
15030 |
> |
int |
15031 |
> |
main () |
15032 |
> |
{ |
15033 |
> |
|
15034 |
> |
; |
15035 |
> |
return 0; |
15036 |
> |
} |
15037 |
> |
_ACEOF |
15038 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15039 |
> |
eval "$as_CACHEVAR=yes" |
15040 |
> |
else |
15041 |
> |
eval "$as_CACHEVAR=no" |
15042 |
> |
fi |
15043 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15044 |
> |
CFLAGS=$ax_check_save_flags |
15045 |
> |
fi |
15046 |
> |
eval ac_res=\$$as_CACHEVAR |
15047 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15048 |
> |
$as_echo "$ac_res" >&6; } |
15049 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15050 |
> |
if ${CFLAGS+:} false; then : |
15051 |
> |
case " $CFLAGS " in |
15052 |
> |
*" $flag "*) |
15053 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15054 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15055 |
> |
ac_status=$? |
15056 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15057 |
> |
test $ac_status = 0; } |
15058 |
> |
;; |
15059 |
> |
*) |
15060 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15061 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15062 |
> |
ac_status=$? |
15063 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15064 |
> |
test $ac_status = 0; } |
15065 |
> |
CFLAGS="$CFLAGS $flag" |
15066 |
> |
;; |
15067 |
> |
esac |
15068 |
> |
else |
15069 |
> |
CFLAGS="$flag" |
15070 |
|
fi |
15071 |
|
|
15072 |
< |
if test "$debugging" = "yes" ; then |
15072 |
> |
else |
15073 |
> |
: |
15074 |
> |
fi |
15075 |
|
|
15076 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
15076 |
> |
done |
15077 |
|
|
14456 |
– |
CFLAGS="-Wall -g -O0" |
14457 |
– |
else |
15078 |
|
|
14459 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
15079 |
|
|
15080 |
< |
fi |
15080 |
> |
for flag in -Wmissing-prototypes; do |
15081 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15082 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15083 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15084 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15085 |
> |
$as_echo_n "(cached) " >&6 |
15086 |
> |
else |
15087 |
|
|
15088 |
+ |
ax_check_save_flags=$CFLAGS |
15089 |
+ |
CFLAGS="$CFLAGS $flag" |
15090 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15091 |
+ |
/* end confdefs.h. */ |
15092 |
|
|
15093 |
< |
# Check whether --enable-warnings was given. |
15094 |
< |
if test "${enable_warnings+set}" = set; then : |
15095 |
< |
enableval=$enable_warnings; warnings="$enableval" |
15093 |
> |
int |
15094 |
> |
main () |
15095 |
> |
{ |
15096 |
> |
|
15097 |
> |
; |
15098 |
> |
return 0; |
15099 |
> |
} |
15100 |
> |
_ACEOF |
15101 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15102 |
> |
eval "$as_CACHEVAR=yes" |
15103 |
|
else |
15104 |
< |
warnings="no" |
15104 |
> |
eval "$as_CACHEVAR=no" |
15105 |
> |
fi |
15106 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15107 |
> |
CFLAGS=$ax_check_save_flags |
15108 |
> |
fi |
15109 |
> |
eval ac_res=\$$as_CACHEVAR |
15110 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15111 |
> |
$as_echo "$ac_res" >&6; } |
15112 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15113 |
> |
if ${CFLAGS+:} false; then : |
15114 |
> |
case " $CFLAGS " in |
15115 |
> |
*" $flag "*) |
15116 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15117 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15118 |
> |
ac_status=$? |
15119 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15120 |
> |
test $ac_status = 0; } |
15121 |
> |
;; |
15122 |
> |
*) |
15123 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15124 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15125 |
> |
ac_status=$? |
15126 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15127 |
> |
test $ac_status = 0; } |
15128 |
> |
CFLAGS="$CFLAGS $flag" |
15129 |
> |
;; |
15130 |
> |
esac |
15131 |
> |
else |
15132 |
> |
CFLAGS="$flag" |
15133 |
|
fi |
15134 |
|
|
15135 |
< |
if test "$warnings" = "yes" ; then |
15136 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
15135 |
> |
else |
15136 |
> |
: |
15137 |
> |
fi |
15138 |
> |
|
15139 |
> |
done |
15140 |
> |
|
15141 |
> |
|
15142 |
> |
|
15143 |
> |
for flag in -Wnested-externs; do |
15144 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15145 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15146 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15147 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15148 |
> |
$as_echo_n "(cached) " >&6 |
15149 |
> |
else |
15150 |
> |
|
15151 |
> |
ax_check_save_flags=$CFLAGS |
15152 |
> |
CFLAGS="$CFLAGS $flag" |
15153 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15154 |
> |
/* end confdefs.h. */ |
15155 |
> |
|
15156 |
> |
int |
15157 |
> |
main () |
15158 |
> |
{ |
15159 |
> |
|
15160 |
> |
; |
15161 |
> |
return 0; |
15162 |
> |
} |
15163 |
> |
_ACEOF |
15164 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15165 |
> |
eval "$as_CACHEVAR=yes" |
15166 |
> |
else |
15167 |
> |
eval "$as_CACHEVAR=no" |
15168 |
> |
fi |
15169 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15170 |
> |
CFLAGS=$ax_check_save_flags |
15171 |
> |
fi |
15172 |
> |
eval ac_res=\$$as_CACHEVAR |
15173 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15174 |
> |
$as_echo "$ac_res" >&6; } |
15175 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15176 |
> |
if ${CFLAGS+:} false; then : |
15177 |
> |
case " $CFLAGS " in |
15178 |
> |
*" $flag "*) |
15179 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15180 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15181 |
> |
ac_status=$? |
15182 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15183 |
> |
test $ac_status = 0; } |
15184 |
> |
;; |
15185 |
> |
*) |
15186 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15187 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15188 |
> |
ac_status=$? |
15189 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15190 |
> |
test $ac_status = 0; } |
15191 |
> |
CFLAGS="$CFLAGS $flag" |
15192 |
> |
;; |
15193 |
> |
esac |
15194 |
> |
else |
15195 |
> |
CFLAGS="$flag" |
15196 |
> |
fi |
15197 |
> |
|
15198 |
> |
else |
15199 |
> |
: |
15200 |
> |
fi |
15201 |
> |
|
15202 |
> |
done |
15203 |
> |
|
15204 |
> |
|
15205 |
> |
|
15206 |
> |
for flag in -Wredundant-decls; do |
15207 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15208 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15209 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15210 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15211 |
> |
$as_echo_n "(cached) " >&6 |
15212 |
> |
else |
15213 |
> |
|
15214 |
> |
ax_check_save_flags=$CFLAGS |
15215 |
> |
CFLAGS="$CFLAGS $flag" |
15216 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15217 |
> |
/* end confdefs.h. */ |
15218 |
> |
|
15219 |
> |
int |
15220 |
> |
main () |
15221 |
> |
{ |
15222 |
> |
|
15223 |
> |
; |
15224 |
> |
return 0; |
15225 |
> |
} |
15226 |
> |
_ACEOF |
15227 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15228 |
> |
eval "$as_CACHEVAR=yes" |
15229 |
> |
else |
15230 |
> |
eval "$as_CACHEVAR=no" |
15231 |
> |
fi |
15232 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15233 |
> |
CFLAGS=$ax_check_save_flags |
15234 |
> |
fi |
15235 |
> |
eval ac_res=\$$as_CACHEVAR |
15236 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15237 |
> |
$as_echo "$ac_res" >&6; } |
15238 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15239 |
> |
if ${CFLAGS+:} false; then : |
15240 |
> |
case " $CFLAGS " in |
15241 |
> |
*" $flag "*) |
15242 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15243 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15244 |
> |
ac_status=$? |
15245 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15246 |
> |
test $ac_status = 0; } |
15247 |
> |
;; |
15248 |
> |
*) |
15249 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15250 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15251 |
> |
ac_status=$? |
15252 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15253 |
> |
test $ac_status = 0; } |
15254 |
> |
CFLAGS="$CFLAGS $flag" |
15255 |
> |
;; |
15256 |
> |
esac |
15257 |
> |
else |
15258 |
> |
CFLAGS="$flag" |
15259 |
> |
fi |
15260 |
> |
|
15261 |
> |
else |
15262 |
> |
: |
15263 |
> |
fi |
15264 |
> |
|
15265 |
> |
done |
15266 |
> |
|
15267 |
> |
|
15268 |
> |
|
15269 |
> |
for flag in -Wshadow; do |
15270 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15271 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15272 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15273 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15274 |
> |
$as_echo_n "(cached) " >&6 |
15275 |
> |
else |
15276 |
> |
|
15277 |
> |
ax_check_save_flags=$CFLAGS |
15278 |
> |
CFLAGS="$CFLAGS $flag" |
15279 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15280 |
> |
/* end confdefs.h. */ |
15281 |
> |
|
15282 |
> |
int |
15283 |
> |
main () |
15284 |
> |
{ |
15285 |
> |
|
15286 |
> |
; |
15287 |
> |
return 0; |
15288 |
> |
} |
15289 |
> |
_ACEOF |
15290 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15291 |
> |
eval "$as_CACHEVAR=yes" |
15292 |
> |
else |
15293 |
> |
eval "$as_CACHEVAR=no" |
15294 |
> |
fi |
15295 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15296 |
> |
CFLAGS=$ax_check_save_flags |
15297 |
> |
fi |
15298 |
> |
eval ac_res=\$$as_CACHEVAR |
15299 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15300 |
> |
$as_echo "$ac_res" >&6; } |
15301 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15302 |
> |
if ${CFLAGS+:} false; then : |
15303 |
> |
case " $CFLAGS " in |
15304 |
> |
*" $flag "*) |
15305 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15306 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15307 |
> |
ac_status=$? |
15308 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15309 |
> |
test $ac_status = 0; } |
15310 |
> |
;; |
15311 |
> |
*) |
15312 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15313 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15314 |
> |
ac_status=$? |
15315 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15316 |
> |
test $ac_status = 0; } |
15317 |
> |
CFLAGS="$CFLAGS $flag" |
15318 |
> |
;; |
15319 |
> |
esac |
15320 |
> |
else |
15321 |
> |
CFLAGS="$flag" |
15322 |
> |
fi |
15323 |
> |
|
15324 |
> |
else |
15325 |
> |
: |
15326 |
> |
fi |
15327 |
> |
|
15328 |
> |
done |
15329 |
> |
|
15330 |
> |
|
15331 |
> |
|
15332 |
> |
for flag in -Wwrite-strings; do |
15333 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15334 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15335 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15336 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15337 |
> |
$as_echo_n "(cached) " >&6 |
15338 |
> |
else |
15339 |
> |
|
15340 |
> |
ax_check_save_flags=$CFLAGS |
15341 |
> |
CFLAGS="$CFLAGS $flag" |
15342 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15343 |
> |
/* end confdefs.h. */ |
15344 |
> |
|
15345 |
> |
int |
15346 |
> |
main () |
15347 |
> |
{ |
15348 |
> |
|
15349 |
> |
; |
15350 |
> |
return 0; |
15351 |
> |
} |
15352 |
> |
_ACEOF |
15353 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15354 |
> |
eval "$as_CACHEVAR=yes" |
15355 |
> |
else |
15356 |
> |
eval "$as_CACHEVAR=no" |
15357 |
> |
fi |
15358 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15359 |
> |
CFLAGS=$ax_check_save_flags |
15360 |
> |
fi |
15361 |
> |
eval ac_res=\$$as_CACHEVAR |
15362 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15363 |
> |
$as_echo "$ac_res" >&6; } |
15364 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15365 |
> |
if ${CFLAGS+:} false; then : |
15366 |
> |
case " $CFLAGS " in |
15367 |
> |
*" $flag "*) |
15368 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15369 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15370 |
> |
ac_status=$? |
15371 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15372 |
> |
test $ac_status = 0; } |
15373 |
> |
;; |
15374 |
> |
*) |
15375 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15376 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15377 |
> |
ac_status=$? |
15378 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15379 |
> |
test $ac_status = 0; } |
15380 |
> |
CFLAGS="$CFLAGS $flag" |
15381 |
> |
;; |
15382 |
> |
esac |
15383 |
> |
else |
15384 |
> |
CFLAGS="$flag" |
15385 |
> |
fi |
15386 |
> |
|
15387 |
> |
else |
15388 |
> |
: |
15389 |
> |
fi |
15390 |
> |
|
15391 |
> |
done |
15392 |
> |
|
15393 |
> |
|
15394 |
> |
|
15395 |
> |
for flag in -Wundef; do |
15396 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15397 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15398 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15399 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15400 |
> |
$as_echo_n "(cached) " >&6 |
15401 |
> |
else |
15402 |
> |
|
15403 |
> |
ax_check_save_flags=$CFLAGS |
15404 |
> |
CFLAGS="$CFLAGS $flag" |
15405 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15406 |
> |
/* end confdefs.h. */ |
15407 |
> |
|
15408 |
> |
int |
15409 |
> |
main () |
15410 |
> |
{ |
15411 |
> |
|
15412 |
> |
; |
15413 |
> |
return 0; |
15414 |
> |
} |
15415 |
> |
_ACEOF |
15416 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15417 |
> |
eval "$as_CACHEVAR=yes" |
15418 |
> |
else |
15419 |
> |
eval "$as_CACHEVAR=no" |
15420 |
> |
fi |
15421 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15422 |
> |
CFLAGS=$ax_check_save_flags |
15423 |
> |
fi |
15424 |
> |
eval ac_res=\$$as_CACHEVAR |
15425 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15426 |
> |
$as_echo "$ac_res" >&6; } |
15427 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15428 |
> |
if ${CFLAGS+:} false; then : |
15429 |
> |
case " $CFLAGS " in |
15430 |
> |
*" $flag "*) |
15431 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15432 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15433 |
> |
ac_status=$? |
15434 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15435 |
> |
test $ac_status = 0; } |
15436 |
> |
;; |
15437 |
> |
*) |
15438 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15439 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15440 |
> |
ac_status=$? |
15441 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15442 |
> |
test $ac_status = 0; } |
15443 |
> |
CFLAGS="$CFLAGS $flag" |
15444 |
> |
;; |
15445 |
> |
esac |
15446 |
> |
else |
15447 |
> |
CFLAGS="$flag" |
15448 |
> |
fi |
15449 |
> |
|
15450 |
> |
else |
15451 |
> |
: |
15452 |
> |
fi |
15453 |
> |
|
15454 |
> |
done |
15455 |
> |
|
15456 |
|
fi |
15457 |
|
|
15458 |
|
|
15542 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
15543 |
|
|
15544 |
|
|
15545 |
< |
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" |
15545 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
15546 |
|
|
15547 |
|
|
15548 |
|
cat >confcache <<\_ACEOF |
15654 |
|
LTLIBOBJS=$ac_ltlibobjs |
15655 |
|
|
15656 |
|
|
15657 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
15658 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
15659 |
+ |
if test -n "$am_sleep_pid"; then |
15660 |
+ |
# Hide warnings about reused PIDs. |
15661 |
+ |
wait $am_sleep_pid 2>/dev/null |
15662 |
+ |
fi |
15663 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
15664 |
+ |
$as_echo "done" >&6; } |
15665 |
|
if test -n "$EXEEXT"; then |
15666 |
|
am__EXEEXT_TRUE= |
15667 |
|
am__EXEEXT_FALSE='#' |
15708 |
|
|
15709 |
|
|
15710 |
|
|
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 |
15711 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
15712 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
15713 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15714 |
|
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 |
15715 |
|
|
15716 |
|
: "${CONFIG_STATUS=./config.status}" |
15717 |
|
ac_write_fail=0 |
16010 |
|
# ... but there are two gotchas: |
16011 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
16012 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
16013 |
< |
# In both cases, we have to default to `cp -p'. |
16013 |
> |
# In both cases, we have to default to `cp -pR'. |
16014 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
16015 |
< |
as_ln_s='cp -p' |
16015 |
> |
as_ln_s='cp -pR' |
16016 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
16017 |
|
as_ln_s=ln |
16018 |
|
else |
16019 |
< |
as_ln_s='cp -p' |
16019 |
> |
as_ln_s='cp -pR' |
16020 |
|
fi |
16021 |
|
else |
16022 |
< |
as_ln_s='cp -p' |
16022 |
> |
as_ln_s='cp -pR' |
16023 |
|
fi |
16024 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
16025 |
|
rmdir conf$$.dir 2>/dev/null |
16079 |
|
as_mkdir_p=false |
16080 |
|
fi |
16081 |
|
|
16082 |
< |
if test -x / >/dev/null 2>&1; then |
16083 |
< |
as_test_x='test -x' |
16084 |
< |
else |
16085 |
< |
if ls -dL / >/dev/null 2>&1; then |
16086 |
< |
as_ls_L_option=L |
16087 |
< |
else |
16088 |
< |
as_ls_L_option= |
16089 |
< |
fi |
16090 |
< |
as_test_x=' |
16091 |
< |
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 |
16082 |
> |
|
16083 |
> |
# as_fn_executable_p FILE |
16084 |
> |
# ----------------------- |
16085 |
> |
# Test if FILE is an executable regular file. |
16086 |
> |
as_fn_executable_p () |
16087 |
> |
{ |
16088 |
> |
test -f "$1" && test -x "$1" |
16089 |
> |
} # as_fn_executable_p |
16090 |
> |
as_test_x='test -x' |
16091 |
> |
as_executable_p=as_fn_executable_p |
16092 |
|
|
16093 |
|
# Sed expression to map a string onto a valid CPP name. |
16094 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
16109 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
16110 |
|
# values after options handling. |
16111 |
|
ac_log=" |
16112 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
16113 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
16112 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
16113 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
16114 |
|
|
16115 |
|
CONFIG_FILES = $CONFIG_FILES |
16116 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
16175 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16176 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
16177 |
|
ac_cs_version="\\ |
16178 |
< |
ircd-hybrid config.status 8beta1 |
16179 |
< |
configured by $0, generated by GNU Autoconf 2.68, |
16178 |
> |
ircd-hybrid config.status TRUNK |
16179 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
16180 |
|
with options \\"\$ac_cs_config\\" |
16181 |
|
|
16182 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
16182 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
16183 |
|
This config.status script is free software; the Free Software Foundation |
16184 |
|
gives unlimited permission to copy, distribute and modify it." |
16185 |
|
|
16270 |
|
_ACEOF |
16271 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16272 |
|
if \$ac_cs_recheck; then |
16273 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16273 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16274 |
|
shift |
16275 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
16276 |
|
CONFIG_SHELL='$SHELL' |
16585 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
16586 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
16587 |
|
"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" ;; |
16588 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16589 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15622 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
16590 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
16591 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
16592 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16593 |
|
"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" ;; |
16594 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
16595 |
|
|
16596 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
17188 |
|
|
17189 |
|
case $ac_file$ac_mode in |
17190 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
17191 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
17191 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
17192 |
|
# are listed without --file. Let's play safe and only enable the eval |
17193 |
|
# if we detect the quoting. |
17194 |
|
case $CONFIG_FILES in |
17201 |
|
# Strip MF so we end up with the name of the file. |
17202 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
17203 |
|
# Check whether this is an Automake generated Makefile or not. |
17204 |
< |
# We used to match only the files named `Makefile.in', but |
17204 |
> |
# We used to match only the files named 'Makefile.in', but |
17205 |
|
# some people rename them; so instead we look at the file content. |
17206 |
|
# Grep'ing the first line is not enough: some people post-process |
17207 |
|
# each Makefile.in and add a new line on top of each file to say so. |
17235 |
|
continue |
17236 |
|
fi |
17237 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
17238 |
< |
# from the Makefile without running `make'. |
17238 |
> |
# from the Makefile without running 'make'. |
17239 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
17240 |
|
test -z "$DEPDIR" && continue |
17241 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
17242 |
< |
test -z "am__include" && continue |
17242 |
> |
test -z "$am__include" && continue |
17243 |
|
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"` |
17244 |
|
# Find all dependency output files, they are included files with |
17245 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
17246 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
17247 |
|
# expansion. |
17248 |
|
for file in `sed -n " |
17249 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
17250 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
17250 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
17251 |
|
# Make sure the directory exists. |
17252 |
|
test -f "$dirpart/$file" && continue |
17253 |
|
fdir=`$as_dirname -- "$file" || |