| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1095 2010-08-02 20:14:21Z 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 7.3-rc1. |
| 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='7.3-rc1' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 7.3-rc1' |
| 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 |
| 706 |
|
am__fastdepCC_FALSE |
| 707 |
|
am__fastdepCC_TRUE |
| 708 |
|
CCDEPMODE |
| 709 |
+ |
am__nodep |
| 710 |
|
AMDEPBACKSLASH |
| 711 |
|
AMDEP_FALSE |
| 712 |
|
AMDEP_TRUE |
| 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_zlib_path |
| 787 |
< |
enable_zlib |
| 788 |
< |
with_libpcre_path |
| 789 |
< |
enable_libpcre |
| 808 |
> |
enable_libgeoip |
| 809 |
|
enable_openssl |
| 810 |
|
enable_assert |
| 792 |
– |
enable_small_net |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 796 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 799 |
– |
with_nicklen |
| 800 |
– |
with_topiclen |
| 801 |
– |
with_syslog_facility |
| 802 |
– |
enable_efnet |
| 816 |
|
enable_halfops |
| 817 |
|
enable_debugging |
| 818 |
|
enable_warnings |
| 806 |
– |
enable_syslog |
| 819 |
|
' |
| 820 |
|
ac_precious_vars='build_alias |
| 821 |
|
host_alias |
| 1283 |
|
if test "x$host_alias" != x; then |
| 1284 |
|
if test "x$build_alias" = x; then |
| 1285 |
|
cross_compiling=maybe |
| 1274 |
– |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| 1275 |
– |
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 7.3-rc1 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 7.3-rc1:";; |
| 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-zlib Disable ziplinks support |
| 1450 |
< |
--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 |
| 1454 |
– |
--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. |
| 1458 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1471 |
|
--enable-poll Force poll usage. |
| 1472 |
|
--enable-select Force select usage. |
| 1461 |
– |
--enable-efnet For IRCDs running on EFnet. |
| 1473 |
|
--enable-halfops Enable halfops support. |
| 1474 |
|
--enable-debugging Enable debugging. |
| 1475 |
|
--enable-warnings Enable compiler warnings. |
| 1465 |
– |
--enable-syslog="EVENTS" |
| 1466 |
– |
Enable syslog for events: users oper (space |
| 1467 |
– |
separated in quotes; default: disabled). |
| 1476 |
|
|
| 1477 |
|
Optional Packages: |
| 1478 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1479 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1480 |
< |
--with-pic try to use only PIC/non-PIC objects [default=use |
| 1480 |
> |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1481 |
|
both] |
| 1482 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1483 |
|
--with-sysroot=DIR Search for dependent libraries within DIR |
| 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 |
| 1480 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1481 |
– |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1482 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1483 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1484 |
– |
--with-syslog-facility=LOG |
| 1485 |
– |
Define the syslog facility to use (default: |
| 1486 |
– |
LOG_LOCAL4) |
| 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 7.3-rc1 |
| 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 7.3-rc1, 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 |
|
|
| 2376 |
– |
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" |
| 2381 |
|
as_fn_append ac_header_list " crypt.h" |
| 2382 |
– |
as_fn_append ac_header_list " inttypes.h" |
| 2383 |
– |
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" |
| 2386 |
– |
as_fn_append ac_header_list " errno.h" |
| 2387 |
– |
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" |
| 2392 |
– |
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; } |
| 2587 |
– |
# Just in case |
| 2588 |
– |
sleep 1 |
| 2589 |
– |
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 |
| 2619 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2620 |
< |
# broken ls alias from the environment. This has actually |
| 2621 |
< |
# happened. Such a system could not be considered "sane". |
| 2622 |
< |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2623 |
< |
alias in your environment" "$LINENO" 5 |
| 2624 |
< |
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 |
|
|
| 2818 |
– |
mkdir_p="$MKDIR_P" |
| 2819 |
– |
case $mkdir_p in |
| 2820 |
– |
[\\/$]* | ?:[\\/]*) ;; |
| 2821 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2822 |
– |
esac |
| 2823 |
– |
|
| 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='7.3-rc1' |
| 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. |
| 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 |
|
|
| 2960 |
– |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 3018 |
|
|
| 2962 |
– |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 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; } |
| 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 |
| 3141 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3142 |
|
am_depcomp="$ac_aux_dir/depcomp" |
| 3143 |
|
AMDEPBACKSLASH='\' |
| 3144 |
+ |
am__nodep='_no' |
| 3145 |
|
fi |
| 3146 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3147 |
|
AMDEP_TRUE= |
| 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> |
| 3763 |
< |
#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 |
| 4019 |
|
# using a relative directory. |
| 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 |
| 4073 |
|
break |
| 4074 |
|
fi |
| 4075 |
|
;; |
| 4076 |
< |
msvisualcpp | msvcmsys) |
| 4077 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 4076 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 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 |
|
%% |
| 4532 |
|
|
| 4533 |
|
|
| 4534 |
|
|
| 4535 |
< |
macro_version='2.4' |
| 4536 |
< |
macro_revision='1.3293' |
| 4535 |
> |
macro_version='2.4.2' |
| 4536 |
> |
macro_revision='1.3337' |
| 4537 |
|
|
| 4538 |
|
|
| 4539 |
|
|
| 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 |
| 5378 |
|
lt_cv_sys_max_cmd_len=196608 |
| 5379 |
|
;; |
| 5380 |
|
|
| 5381 |
+ |
os2*) |
| 5382 |
+ |
# The test takes a long time on OS/2. |
| 5383 |
+ |
lt_cv_sys_max_cmd_len=8192 |
| 5384 |
+ |
;; |
| 5385 |
+ |
|
| 5386 |
|
osf*) |
| 5387 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5388 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 5422 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 5423 |
|
# maximum length that is only half of the actual maximum length, but |
| 5424 |
|
# we can't tell. |
| 5425 |
< |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 5425 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5426 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5427 |
|
test $i != 17 # 1/2 MB should be enough |
| 5428 |
|
do |
| 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 |
| 5851 |
|
lt_cv_deplibs_check_method=pass_all |
| 5852 |
|
;; |
| 5853 |
|
|
| 5854 |
< |
# This must be Linux ELF. |
| 5854 |
> |
# This must be glibc/ELF. |
| 5855 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 5856 |
|
lt_cv_deplibs_check_method=pass_all |
| 5857 |
|
;; |
| 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 |
| 6491 |
|
if test -n "$RANLIB"; then |
| 6492 |
|
case $host_os in |
| 6493 |
|
openbsd*) |
| 6494 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 6494 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 6495 |
|
;; |
| 6496 |
|
*) |
| 6497 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 6497 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 6498 |
|
;; |
| 6499 |
|
esac |
| 6500 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6500 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 6501 |
|
fi |
| 6502 |
|
|
| 6503 |
|
case $host_os in |
| 6644 |
|
# which start with @ or ?. |
| 6645 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 6646 |
|
" {last_section=section; section=\$ 3};"\ |
| 6647 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 6648 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 6649 |
|
" \$ 0!~/External *\|/{next};"\ |
| 6650 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 7033 |
|
CFLAGS="$SAVE_CFLAGS" |
| 7034 |
|
fi |
| 7035 |
|
;; |
| 7036 |
< |
sparc*-*solaris*) |
| 7036 |
> |
*-*solaris*) |
| 7037 |
|
# Find out which ABI we are using. |
| 7038 |
|
echo 'int i;' > conftest.$ac_ext |
| 7039 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7044 |
|
case `/usr/bin/file conftest.o` in |
| 7045 |
|
*64-bit*) |
| 7046 |
|
case $lt_cv_prog_gnu_ld in |
| 7047 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 7047 |
> |
yes*) |
| 7048 |
> |
case $host in |
| 7049 |
> |
i?86-*-solaris*) |
| 7050 |
> |
LD="${LD-ld} -m elf_x86_64" |
| 7051 |
> |
;; |
| 7052 |
> |
sparc*-*-solaris*) |
| 7053 |
> |
LD="${LD-ld} -m elf64_sparc" |
| 7054 |
> |
;; |
| 7055 |
> |
esac |
| 7056 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 7057 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 7058 |
> |
LD="${LD-ld}_sol2" |
| 7059 |
> |
fi |
| 7060 |
> |
;; |
| 7061 |
|
*) |
| 7062 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 7063 |
|
LD="${LD-ld} -64" |
| 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 |
| 7697 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 7698 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 7699 |
|
_lt_result=$? |
| 7700 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 7700 |
> |
# If there is a non-empty error log, and "single_module" |
| 7701 |
> |
# appears in it, assume the flag caused a linker warning |
| 7702 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
| 7703 |
> |
cat conftest.err >&5 |
| 7704 |
> |
# Otherwise, if the output was created with a 0 exit code from |
| 7705 |
> |
# the compiler, it worked. |
| 7706 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 7707 |
|
lt_cv_apple_cc_single_mod=yes |
| 7708 |
|
else |
| 7709 |
|
cat conftest.err >&5 |
| 7714 |
|
fi |
| 7715 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 7716 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 7717 |
+ |
|
| 7718 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 7719 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 7720 |
|
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 7747 |
|
fi |
| 7748 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7749 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7750 |
+ |
|
| 7751 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 7752 |
|
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 7753 |
|
if ${lt_cv_ld_force_load+:} false; then : |
| 7769 |
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 7770 |
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 7771 |
|
_lt_result=$? |
| 7772 |
< |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 7772 |
> |
if test -s conftest.err && $GREP force_load conftest.err; then |
| 7773 |
> |
cat conftest.err >&5 |
| 7774 |
> |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
| 7775 |
|
lt_cv_ld_force_load=yes |
| 7776 |
|
else |
| 7777 |
|
cat conftest.err >&5 |
| 8174 |
|
|
| 8175 |
|
# Check whether --with-pic was given. |
| 8176 |
|
if test "${with_pic+set}" = set; then : |
| 8177 |
< |
withval=$with_pic; pic_mode="$withval" |
| 8177 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
| 8178 |
> |
case $withval in |
| 8179 |
> |
yes|no) pic_mode=$withval ;; |
| 8180 |
> |
*) |
| 8181 |
> |
pic_mode=default |
| 8182 |
> |
# Look at the argument we got. We use all the common list separators. |
| 8183 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8184 |
> |
for lt_pkg in $withval; do |
| 8185 |
> |
IFS="$lt_save_ifs" |
| 8186 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
| 8187 |
> |
pic_mode=yes |
| 8188 |
> |
fi |
| 8189 |
> |
done |
| 8190 |
> |
IFS="$lt_save_ifs" |
| 8191 |
> |
;; |
| 8192 |
> |
esac |
| 8193 |
|
else |
| 8194 |
|
pic_mode=default |
| 8195 |
|
fi |
| 8267 |
|
|
| 8268 |
|
|
| 8269 |
|
|
| 8270 |
+ |
|
| 8271 |
+ |
|
| 8272 |
+ |
|
| 8273 |
+ |
|
| 8274 |
|
test -z "$LN_S" && LN_S="ln -s" |
| 8275 |
|
|
| 8276 |
|
|
| 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= |
| 8730 |
|
case $cc_basename in |
| 8731 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
| 8732 |
|
lt_prog_compiler_wl='-Xlinker ' |
| 8733 |
< |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
| 8733 |
> |
if test -n "$lt_prog_compiler_pic"; then |
| 8734 |
> |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 8735 |
> |
fi |
| 8736 |
|
;; |
| 8737 |
|
esac |
| 8738 |
|
else |
| 8823 |
|
;; |
| 8824 |
|
*) |
| 8825 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 8826 |
< |
*Sun\ F* | *Sun*Fortran*) |
| 8826 |
> |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 8827 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 8828 |
|
lt_prog_compiler_pic='-KPIC' |
| 8829 |
|
lt_prog_compiler_static='-Bstatic' |
| 8830 |
|
lt_prog_compiler_wl='' |
| 8831 |
|
;; |
| 8832 |
+ |
*Sun\ F* | *Sun*Fortran*) |
| 8833 |
+ |
lt_prog_compiler_pic='-KPIC' |
| 8834 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8835 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
| 8836 |
+ |
;; |
| 8837 |
|
*Sun\ C*) |
| 8838 |
|
# Sun C 5.9 |
| 8839 |
|
lt_prog_compiler_pic='-KPIC' |
| 8840 |
|
lt_prog_compiler_static='-Bstatic' |
| 8841 |
|
lt_prog_compiler_wl='-Wl,' |
| 8842 |
|
;; |
| 8843 |
+ |
*Intel*\ [CF]*Compiler*) |
| 8844 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 8845 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 8846 |
+ |
lt_prog_compiler_static='-static' |
| 8847 |
+ |
;; |
| 8848 |
+ |
*Portland\ Group*) |
| 8849 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 8850 |
+ |
lt_prog_compiler_pic='-fpic' |
| 8851 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8852 |
+ |
;; |
| 8853 |
|
esac |
| 8854 |
|
;; |
| 8855 |
|
esac |
| 9211 |
|
hardcode_direct=no |
| 9212 |
|
hardcode_direct_absolute=no |
| 9213 |
|
hardcode_libdir_flag_spec= |
| 8988 |
– |
hardcode_libdir_flag_spec_ld= |
| 9214 |
|
hardcode_libdir_separator= |
| 9215 |
|
hardcode_minus_L=no |
| 9216 |
|
hardcode_shlibpath_var=unsupported |
| 9460 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
| 9461 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 9462 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 9463 |
< |
hardcode_libdir_flag_spec= |
| 9239 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
| 9463 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9464 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 9465 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 9466 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9839 |
|
# The linker will not automatically build a static lib if we build a DLL. |
| 9840 |
|
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 9841 |
|
enable_shared_with_static_runtimes=yes |
| 9842 |
+ |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 9843 |
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9844 |
|
# Don't use ranlib |
| 9845 |
|
old_postinstall_cmds='chmod 644 $oldlib' |
| 9885 |
|
hardcode_shlibpath_var=unsupported |
| 9886 |
|
if test "$lt_cv_ld_force_load" = "yes"; then |
| 9887 |
|
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 9888 |
+ |
|
| 9889 |
|
else |
| 9890 |
|
whole_archive_flag_spec='' |
| 9891 |
|
fi |
| 9914 |
|
hardcode_shlibpath_var=no |
| 9915 |
|
;; |
| 9916 |
|
|
| 9691 |
– |
freebsd1*) |
| 9692 |
– |
ld_shlibs=no |
| 9693 |
– |
;; |
| 9694 |
– |
|
| 9917 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 9918 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
| 9919 |
|
# does not break anything, and helps significantly (at the cost of a little |
| 9926 |
|
;; |
| 9927 |
|
|
| 9928 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 9929 |
< |
freebsd2*) |
| 9929 |
> |
freebsd2.*) |
| 9930 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 9931 |
|
hardcode_direct=yes |
| 9932 |
|
hardcode_minus_L=yes |
| 9965 |
|
fi |
| 9966 |
|
if test "$with_gnu_ld" = no; then |
| 9967 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 9746 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
| 9968 |
|
hardcode_libdir_separator=: |
| 9969 |
|
hardcode_direct=yes |
| 9970 |
|
hardcode_direct_absolute=yes |
| 10588 |
|
|
| 10589 |
|
|
| 10590 |
|
|
| 10370 |
– |
|
| 10371 |
– |
|
| 10372 |
– |
|
| 10373 |
– |
|
| 10374 |
– |
|
| 10591 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 10592 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 10593 |
|
|
| 10677 |
|
|
| 10678 |
|
case $host_os in |
| 10679 |
|
aix3*) |
| 10680 |
< |
version_type=linux |
| 10680 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10681 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 10682 |
|
shlibpath_var=LIBPATH |
| 10683 |
|
|
| 10686 |
|
;; |
| 10687 |
|
|
| 10688 |
|
aix[4-9]*) |
| 10689 |
< |
version_type=linux |
| 10689 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10690 |
|
need_lib_prefix=no |
| 10691 |
|
need_version=no |
| 10692 |
|
hardcode_into_libs=yes |
| 10751 |
|
;; |
| 10752 |
|
|
| 10753 |
|
bsdi[45]*) |
| 10754 |
< |
version_type=linux |
| 10754 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10755 |
|
need_version=no |
| 10756 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 10757 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10890 |
|
;; |
| 10891 |
|
|
| 10892 |
|
dgux*) |
| 10893 |
< |
version_type=linux |
| 10893 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10894 |
|
need_lib_prefix=no |
| 10895 |
|
need_version=no |
| 10896 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 10898 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10899 |
|
;; |
| 10900 |
|
|
| 10685 |
– |
freebsd1*) |
| 10686 |
– |
dynamic_linker=no |
| 10687 |
– |
;; |
| 10688 |
– |
|
| 10901 |
|
freebsd* | dragonfly*) |
| 10902 |
|
# DragonFly does not have aout. When/if they implement a new |
| 10903 |
|
# versioning mechanism, adjust this. |
| 10905 |
|
objformat=`/usr/bin/objformat` |
| 10906 |
|
else |
| 10907 |
|
case $host_os in |
| 10908 |
< |
freebsd[123]*) objformat=aout ;; |
| 10908 |
> |
freebsd[23].*) objformat=aout ;; |
| 10909 |
|
*) objformat=elf ;; |
| 10910 |
|
esac |
| 10911 |
|
fi |
| 10923 |
|
esac |
| 10924 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10925 |
|
case $host_os in |
| 10926 |
< |
freebsd2*) |
| 10926 |
> |
freebsd2.*) |
| 10927 |
|
shlibpath_overrides_runpath=yes |
| 10928 |
|
;; |
| 10929 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
| 10943 |
|
;; |
| 10944 |
|
|
| 10945 |
|
gnu*) |
| 10946 |
< |
version_type=linux |
| 10946 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10947 |
|
need_lib_prefix=no |
| 10948 |
|
need_version=no |
| 10949 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 10950 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10951 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10952 |
+ |
shlibpath_overrides_runpath=no |
| 10953 |
|
hardcode_into_libs=yes |
| 10954 |
|
;; |
| 10955 |
|
|
| 10956 |
|
haiku*) |
| 10957 |
< |
version_type=linux |
| 10957 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10958 |
|
need_lib_prefix=no |
| 10959 |
|
need_version=no |
| 10960 |
|
dynamic_linker="$host_os runtime_loader" |
| 11015 |
|
;; |
| 11016 |
|
|
| 11017 |
|
interix[3-9]*) |
| 11018 |
< |
version_type=linux |
| 11018 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11019 |
|
need_lib_prefix=no |
| 11020 |
|
need_version=no |
| 11021 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11031 |
|
nonstopux*) version_type=nonstopux ;; |
| 11032 |
|
*) |
| 11033 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 11034 |
< |
version_type=linux |
| 11034 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11035 |
|
else |
| 11036 |
|
version_type=irix |
| 11037 |
|
fi ;; |
| 11068 |
|
dynamic_linker=no |
| 11069 |
|
;; |
| 11070 |
|
|
| 11071 |
< |
# This must be Linux ELF. |
| 11071 |
> |
# This must be glibc/ELF. |
| 11072 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 11073 |
< |
version_type=linux |
| 11073 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11074 |
|
need_lib_prefix=no |
| 11075 |
|
need_version=no |
| 11076 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11152 |
|
;; |
| 11153 |
|
|
| 11154 |
|
newsos6) |
| 11155 |
< |
version_type=linux |
| 11155 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11156 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11157 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11158 |
|
shlibpath_overrides_runpath=yes |
| 11221 |
|
;; |
| 11222 |
|
|
| 11223 |
|
solaris*) |
| 11224 |
< |
version_type=linux |
| 11224 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11225 |
|
need_lib_prefix=no |
| 11226 |
|
need_version=no |
| 11227 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11246 |
|
;; |
| 11247 |
|
|
| 11248 |
|
sysv4 | sysv4.3*) |
| 11249 |
< |
version_type=linux |
| 11249 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11250 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11251 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11252 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11270 |
|
|
| 11271 |
|
sysv4*MP*) |
| 11272 |
|
if test -d /usr/nec ;then |
| 11273 |
< |
version_type=linux |
| 11273 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11274 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 11275 |
|
soname_spec='$libname${shared_ext}.$major' |
| 11276 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11301 |
|
|
| 11302 |
|
tpf*) |
| 11303 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 11304 |
< |
version_type=linux |
| 11304 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11305 |
|
need_lib_prefix=no |
| 11306 |
|
need_version=no |
| 11307 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11311 |
|
;; |
| 11312 |
|
|
| 11313 |
|
uts4*) |
| 11314 |
< |
version_type=linux |
| 11314 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11315 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11316 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11317 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12093 |
|
|
| 12094 |
|
|
| 12095 |
|
|
| 12096 |
+ |
|
| 12097 |
+ |
|
| 12098 |
|
ac_config_commands="$ac_config_commands libtool" |
| 12099 |
|
|
| 12100 |
|
|
| 12111 |
|
|
| 12112 |
|
module=yes |
| 12113 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 12114 |
+ |
module=no |
| 12115 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
| 12116 |
|
|
| 12117 |
|
fi |
| 12118 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 12124 |
|
_ACEOF |
| 12125 |
|
|
| 12126 |
|
fi |
| 12127 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
| 12128 |
+ |
|
| 12129 |
+ |
cat >>confdefs.h <<_ACEOF |
| 12130 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
| 12131 |
+ |
_ACEOF |
| 12132 |
+ |
|
| 12133 |
+ |
fi |
| 12134 |
|
|
| 12135 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 12136 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 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 |
|
|
| 13010 |
– |
else |
| 13011 |
– |
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 |
|
|
| 13126 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
| 13127 |
– |
do : |
| 13128 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13129 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13130 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13131 |
– |
cat >>confdefs.h <<_ACEOF |
| 13132 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13133 |
– |
_ACEOF |
| 13134 |
– |
|
| 13135 |
– |
fi |
| 13136 |
– |
done |
| 13137 |
– |
|
| 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> |
| 13575 |
|
|
| 13576 |
|
|
| 13577 |
|
|
| 13578 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
| 13578 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13579 |
> |
" |
| 13580 |
|
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13581 |
|
|
| 13195 |
– |
cat >>confdefs.h <<_ACEOF |
| 13196 |
– |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
| 13197 |
– |
_ACEOF |
| 13198 |
– |
|
| 13199 |
– |
|
| 13200 |
– |
else |
| 13201 |
– |
|
| 13582 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
| 13583 |
|
|
| 13584 |
|
fi |
| 13837 |
|
|
| 13838 |
|
|
| 13839 |
|
|
| 13460 |
– |
|
| 13461 |
– |
|
| 13840 |
|
# Checks for header files. |
| 13841 |
|
|
| 13842 |
|
|
| 13871 |
|
|
| 13872 |
|
|
| 13873 |
|
|
| 13496 |
– |
|
| 13497 |
– |
|
| 13498 |
– |
|
| 13499 |
– |
|
| 13500 |
– |
|
| 13501 |
– |
|
| 13502 |
– |
|
| 13503 |
– |
|
| 13504 |
– |
|
| 13505 |
– |
|
| 13506 |
– |
# check for /dev/null so we can use it to hold evil fd's |
| 13507 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 13508 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
| 13509 |
– |
if test -c /dev/null; then : |
| 13510 |
– |
|
| 13511 |
– |
|
| 13512 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 13513 |
– |
|
| 13514 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13515 |
– |
$as_echo "yes" >&6; } |
| 13516 |
– |
else |
| 13517 |
– |
|
| 13518 |
– |
|
| 13519 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 13520 |
– |
|
| 13521 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 13522 |
– |
$as_echo "no - using devnull.log" >&6; } |
| 13523 |
– |
fi |
| 13524 |
– |
|
| 13525 |
– |
|
| 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-zlib-path was given. |
| 13934 |
< |
if test "${with_zlib_path+set}" = set; then : |
| 13935 |
< |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13936 |
< |
fi |
| 13937 |
< |
|
| 13938 |
< |
|
| 13939 |
< |
# Check whether --enable-zlib was given. |
| 13592 |
< |
if test "${enable_zlib+set}" = set; then : |
| 13593 |
< |
enableval=$enable_zlib; zlib=$enableval |
| 13594 |
< |
else |
| 13595 |
< |
zlib=yes |
| 13596 |
< |
fi |
| 13597 |
< |
|
| 13598 |
< |
|
| 13599 |
< |
if test "$zlib" = "yes"; then : |
| 13600 |
< |
|
| 13601 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 13602 |
< |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13603 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 13604 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 13605 |
< |
if ${ac_cv_lib_z_zlibVersion+:} 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 |
| 13609 |
< |
LIBS="-lz $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 zlibVersion (); |
| 13952 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 13953 |
|
int |
| 13954 |
|
main () |
| 13955 |
|
{ |
| 13956 |
< |
return zlibVersion (); |
| 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_z_zlibVersion=yes |
| 13963 |
< |
else |
| 13964 |
< |
ac_cv_lib_z_zlibVersion=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 |
| 13974 |
< |
fi |
| 13637 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 13638 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 13639 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
| 13640 |
< |
|
| 13641 |
< |
LIBS="-lz $LIBS" |
| 13642 |
< |
|
| 13643 |
< |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 13644 |
< |
|
| 13645 |
< |
|
| 13646 |
< |
else |
| 13647 |
< |
zlib=no |
| 13648 |
< |
fi |
| 13649 |
< |
|
| 13650 |
< |
|
| 13651 |
< |
else |
| 13652 |
< |
zlib=no |
| 13653 |
< |
fi |
| 13654 |
< |
|
| 13655 |
< |
|
| 13656 |
< |
|
| 13657 |
< |
fi |
| 13658 |
< |
|
| 13659 |
< |
|
| 13660 |
< |
# Check whether --with-libpcre-path was given. |
| 13661 |
< |
if test "${with_libpcre_path+set}" = set; then : |
| 13662 |
< |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13663 |
< |
fi |
| 13664 |
< |
|
| 13665 |
< |
|
| 13666 |
< |
# Check whether --enable-libpcre was given. |
| 13667 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 13668 |
< |
enableval=$enable_libpcre; libpcre=$enableval |
| 13669 |
< |
else |
| 13670 |
< |
libpcre=yes |
| 13972 |
> |
conftest$ac_exeext |
| 13973 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13974 |
> |
break |
| 13975 |
|
fi |
| 13976 |
+ |
done |
| 13977 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13978 |
|
|
| 13673 |
– |
|
| 13674 |
– |
if test "$libpcre" = "yes"; then : |
| 13675 |
– |
|
| 13676 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 13677 |
– |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 13678 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 13679 |
– |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 13680 |
– |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
| 13681 |
– |
$as_echo_n "(cached) " >&6 |
| 13979 |
|
else |
| 13980 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 13684 |
< |
LIBS="-lpcre $LIBS" |
| 13685 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13686 |
< |
/* end confdefs.h. */ |
| 13687 |
< |
|
| 13688 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 13689 |
< |
Use char because int might match the return type of a GCC |
| 13690 |
< |
builtin and then its argument prototype would still apply. */ |
| 13691 |
< |
#ifdef __cplusplus |
| 13692 |
< |
extern "C" |
| 13693 |
< |
#endif |
| 13694 |
< |
char pcre_study (); |
| 13695 |
< |
int |
| 13696 |
< |
main () |
| 13697 |
< |
{ |
| 13698 |
< |
return pcre_study (); |
| 13699 |
< |
; |
| 13700 |
< |
return 0; |
| 13701 |
< |
} |
| 13702 |
< |
_ACEOF |
| 13703 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13704 |
< |
ac_cv_lib_pcre_pcre_study=yes |
| 13705 |
< |
else |
| 13706 |
< |
ac_cv_lib_pcre_pcre_study=no |
| 13980 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 13981 |
|
fi |
| 13982 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13983 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13710 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 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_lib_pcre_pcre_study" >&5 |
| 13986 |
< |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 13987 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
| 13988 |
< |
|
| 13989 |
< |
LIBS="-lpcre $LIBS" |
| 13717 |
< |
|
| 13718 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 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 |
|
|
| 13721 |
– |
else |
| 13722 |
– |
libpcre=no |
| 13993 |
|
fi |
| 13994 |
|
|
| 13725 |
– |
|
| 13726 |
– |
else |
| 13727 |
– |
libpcre=no |
| 13995 |
|
fi |
| 13996 |
|
|
| 13997 |
|
|
| 13731 |
– |
|
| 13732 |
– |
fi |
| 13733 |
– |
if test "$libpcre" = yes; then |
| 13734 |
– |
ENABLE_PCRE_TRUE= |
| 13735 |
– |
ENABLE_PCRE_FALSE='#' |
| 13736 |
– |
else |
| 13737 |
– |
ENABLE_PCRE_TRUE='#' |
| 13738 |
– |
ENABLE_PCRE_FALSE= |
| 13998 |
|
fi |
| 13999 |
|
|
| 14000 |
|
|
| 14038 |
|
fi |
| 14039 |
|
|
| 14040 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 13782 |
– |
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" |
| 13786 |
– |
|
| 13787 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13788 |
– |
|
| 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 |
| 13895 |
– |
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. |
| 13932 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13933 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13934 |
< |
else |
| 13935 |
< |
small_net=no |
| 13936 |
< |
fi |
| 13937 |
< |
|
| 13938 |
< |
|
| 13939 |
< |
if test "$small_net" = "yes"; then : |
| 13940 |
< |
|
| 13941 |
< |
|
| 13942 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 13943 |
< |
|
| 13944 |
< |
|
| 13945 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 13946 |
< |
|
| 13947 |
< |
|
| 13948 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 13949 |
< |
|
| 13950 |
< |
|
| 13951 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 13952 |
< |
|
| 13953 |
< |
|
| 13954 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 13955 |
< |
|
| 13956 |
< |
|
| 13957 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 13958 |
< |
|
| 13959 |
< |
|
| 13960 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 13961 |
< |
|
| 13962 |
< |
|
| 13963 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 13964 |
< |
|
| 14214 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14215 |
|
|
| 13966 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14216 |
|
|
| 14217 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14218 |
|
|
| 13969 |
– |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 14219 |
|
|
| 14220 |
< |
else |
| 14220 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14221 |
|
|
| 14222 |
|
|
| 14223 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14224 |
|
|
| 13975 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 14225 |
|
|
| 14226 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14227 |
|
|
| 13978 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 14228 |
|
|
| 14229 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14230 |
|
|
| 13981 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 14231 |
|
|
| 14232 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14233 |
|
|
| 13984 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 14234 |
|
|
| 14235 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14236 |
|
|
| 13987 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14237 |
|
|
| 14238 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14239 |
|
|
| 13990 |
– |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14240 |
|
|
| 14241 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14242 |
|
|
| 13993 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14243 |
|
|
| 14244 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14245 |
|
|
| 13996 |
– |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 14246 |
|
|
| 14247 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14248 |
|
|
| 13999 |
– |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 14249 |
|
|
| 14250 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14251 |
|
|
| 14002 |
– |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 14252 |
|
|
| 14253 |
< |
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 |
|
|
| 14025 |
– |
# Check whether --enable-rtsigio was given. |
| 14026 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 14027 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 14028 |
– |
fi |
| 14029 |
– |
|
| 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 |
| 14214 |
< |
|
| 14215 |
< |
cat >>confdefs.h <<_ACEOF |
| 14216 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14217 |
< |
_ACEOF |
| 14218 |
< |
|
| 14219 |
< |
if test "$cross_compiling" = yes; then : |
| 14220 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14221 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14222 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14223 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14224 |
< |
else |
| 14225 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14226 |
< |
/* end confdefs.h. */ |
| 14227 |
< |
|
| 14228 |
< |
#define _GNU_SOURCE |
| 14229 |
< |
#include <fcntl.h> |
| 14230 |
< |
static unsigned int have_f_setsig = 0; |
| 14231 |
< |
|
| 14232 |
< |
int |
| 14233 |
< |
main () |
| 14234 |
< |
{ |
| 14235 |
< |
|
| 14236 |
< |
#ifdef F_SETSIG |
| 14237 |
< |
have_f_setsig = 1; |
| 14238 |
< |
#endif |
| 14239 |
< |
return have_f_setsig == 0; |
| 14240 |
< |
|
| 14241 |
< |
; |
| 14242 |
< |
return 0; |
| 14243 |
< |
} |
| 14244 |
< |
_ACEOF |
| 14245 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14246 |
< |
is_rtsigio_mechanism_available="yes" |
| 14247 |
< |
else |
| 14248 |
< |
is_rtsigio_mechanism_available="no" |
| 14249 |
< |
fi |
| 14250 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14251 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14252 |
< |
fi |
| 14253 |
< |
|
| 14254 |
< |
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 |
< |
# Check whether --with-topiclen was given. |
| 14702 |
< |
if test "${with_topiclen+set}" = set; then : |
| 14703 |
< |
withval=$with_topiclen; topiclen="$withval" |
| 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 |
< |
topiclen="160" |
| 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 |
> |
; |
| 14720 |
> |
return 0; |
| 14721 |
> |
} |
| 14722 |
> |
_ACEOF |
| 14723 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14724 |
> |
eval "$as_CACHEVAR=yes" |
| 14725 |
> |
else |
| 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 |
|
|
| 14828 |
< |
# Check whether --with-syslog-facility was given. |
| 14829 |
< |
if test "${with_syslog_facility+set}" = set; then : |
| 14830 |
< |
withval=$with_syslog_facility; syslog_facility="$withval" |
| 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 |
< |
syslog_facility="LOG_LOCAL4" |
| 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 |
< |
cat >>confdefs.h <<_ACEOF |
| 14888 |
< |
#define LOG_FACILITY $syslog_facility |
| 14887 |
> |
done |
| 14888 |
> |
|
| 14889 |
> |
|
| 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 |
+ |
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 |
+ |
|
| 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 |
+ |
|
| 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 |
|
|
| 14445 |
– |
# Check whether --enable-efnet was given. |
| 14446 |
– |
if test "${enable_efnet+set}" = set; then : |
| 14447 |
– |
enableval=$enable_efnet; efnet="$enableval" |
| 15009 |
|
else |
| 15010 |
< |
efnet="no" |
| 15010 |
> |
: |
| 15011 |
|
fi |
| 15012 |
|
|
| 15013 |
< |
if test "$efnet" = "yes" ; then |
| 14453 |
< |
use_efnet="yes" |
| 15013 |
> |
done |
| 15014 |
|
|
| 14455 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
| 15015 |
|
|
| 15016 |
|
|
| 15017 |
< |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 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 |
|
|
| 15025 |
< |
else |
| 15026 |
< |
use_efnet="no" |
| 15027 |
< |
fi |
| 15028 |
< |
if test "$use_efnet" = "yes"; then |
| 15029 |
< |
EFNET_TRUE= |
| 15030 |
< |
EFNET_FALSE='#' |
| 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 |
< |
EFNET_TRUE='#' |
| 15042 |
< |
EFNET_FALSE= |
| 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 |
+ |
else |
| 15073 |
+ |
: |
| 15074 |
+ |
fi |
| 15075 |
|
|
| 15076 |
+ |
done |
| 15077 |
|
|
| 15078 |
< |
# Check whether --enable-halfops was given. |
| 15079 |
< |
if test "${enable_halfops+set}" = set; then : |
| 15080 |
< |
enableval=$enable_halfops; halfops="$enableval" |
| 15078 |
> |
|
| 15079 |
> |
|
| 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 |
< |
halfops="no" |
| 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 |
> |
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 |
> |
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 "$halfops" = "yes" ; then |
| 15135 |
> |
else |
| 15136 |
> |
: |
| 15137 |
> |
fi |
| 15138 |
|
|
| 15139 |
< |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 15139 |
> |
done |
| 15140 |
|
|
| 14484 |
– |
fi |
| 15141 |
|
|
| 15142 |
|
|
| 15143 |
< |
# Check whether --enable-debugging was given. |
| 15144 |
< |
if test "${enable_debugging+set}" = set; then : |
| 15145 |
< |
enableval=$enable_debugging; debugging="$enableval" |
| 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 |
< |
debugging="no" |
| 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 |
< |
if test "$debugging" = "yes" ; then |
| 15198 |
> |
else |
| 15199 |
> |
: |
| 15200 |
> |
fi |
| 15201 |
|
|
| 15202 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 15202 |
> |
done |
| 15203 |
|
|
| 14498 |
– |
CFLAGS="-Wall -g -O0" |
| 14499 |
– |
else |
| 15204 |
|
|
| 14501 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 15205 |
|
|
| 15206 |
< |
fi |
| 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 |
< |
# Check whether --enable-warnings was given. |
| 15220 |
< |
if test "${enable_warnings+set}" = set; then : |
| 15221 |
< |
enableval=$enable_warnings; warnings="$enableval" |
| 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 |
< |
warnings="no" |
| 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 |
< |
if test "$warnings" = "yes" ; then |
| 15262 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 15263 |
< |
fi |
| 15261 |
> |
else |
| 15262 |
> |
: |
| 15263 |
> |
fi |
| 15264 |
> |
|
| 15265 |
> |
done |
| 15266 |
|
|
| 15267 |
|
|
| 15268 |
< |
for ac_header in syslog.h sys/syslog.h |
| 15269 |
< |
do : |
| 15270 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 15271 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 15272 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 15273 |
< |
cat >>confdefs.h <<_ACEOF |
| 15274 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 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 |
< |
# Check whether --enable-syslog was given. |
| 15394 |
< |
if test "${enable_syslog+set}" = set; then : |
| 15395 |
< |
enableval=$enable_syslog; syslog="$enableval" |
| 15396 |
< |
else |
| 15397 |
< |
syslog="no" |
| 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 |
< |
if test "$enableval" != "no" ; then |
| 15451 |
< |
for option in $enableval ; do |
| 15452 |
< |
case "$option" in |
| 14541 |
< |
users) |
| 14542 |
< |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
| 14543 |
< |
;; |
| 14544 |
< |
oper) |
| 14545 |
< |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
| 14546 |
< |
;; |
| 14547 |
< |
yes) : ;; |
| 14548 |
< |
*) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 14549 |
< |
esac |
| 14550 |
< |
done |
| 15450 |
> |
else |
| 15451 |
> |
: |
| 15452 |
> |
fi |
| 15453 |
|
|
| 15454 |
< |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
| 15454 |
> |
done |
| 15455 |
|
|
| 15456 |
|
fi |
| 15457 |
|
|
| 15542 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 15543 |
|
|
| 15544 |
|
|
| 15545 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile servlink/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 |
|
|
| 14801 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 14802 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
| 14803 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14804 |
– |
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 |
| 14809 |
– |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
| 14810 |
– |
as_fn_error $? "conditional \"EFNET\" was never defined. |
| 14811 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14812 |
– |
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 '\'' |
| 15190 |
< |
if test -d "$1"; then |
| 15191 |
< |
test -d "$1/."; |
| 15192 |
< |
else |
| 15193 |
< |
case $1 in #( |
| 15194 |
< |
-*)set "./$1";; |
| 15195 |
< |
esac; |
| 15196 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 15197 |
< |
???[sx]*):;;*)false;;esac;fi |
| 15198 |
< |
'\'' sh |
| 15199 |
< |
' |
| 15200 |
< |
fi |
| 15201 |
< |
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 7.3-rc1, 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 7.3-rc1 |
| 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' |
| 16312 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 16313 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 16314 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 16315 |
+ |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 16316 |
|
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 16317 |
|
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 16318 |
|
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 16395 |
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 16396 |
|
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 16397 |
|
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 15507 |
– |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
| 16398 |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 16399 |
|
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 16400 |
|
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 16450 |
|
# Quote evaled strings. |
| 16451 |
|
for var in SHELL \ |
| 16452 |
|
ECHO \ |
| 16453 |
+ |
PATH_SEPARATOR \ |
| 16454 |
|
SED \ |
| 16455 |
|
GREP \ |
| 16456 |
|
EGREP \ |
| 16501 |
|
allow_undefined_flag \ |
| 16502 |
|
no_undefined_flag \ |
| 16503 |
|
hardcode_libdir_flag_spec \ |
| 15613 |
– |
hardcode_libdir_flag_spec_ld \ |
| 16504 |
|
hardcode_libdir_separator \ |
| 16505 |
|
exclude_expsyms \ |
| 16506 |
|
include_expsyms \ |
| 16585 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16586 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16587 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15698 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 15699 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 15700 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15701 |
– |
"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" ;; |
| 15704 |
– |
"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" ;; |
| 15709 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15710 |
– |
"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"` |
| 16361 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 16362 |
– |
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" || |
| 17301 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 17302 |
|
# |
| 17303 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 17304 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 17305 |
< |
# Inc. |
| 17304 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 17305 |
> |
# Foundation, Inc. |
| 17306 |
|
# Written by Gordon Matzigkeit, 1996 |
| 17307 |
|
# |
| 17308 |
|
# This file is part of GNU Libtool. |
| 17356 |
|
# An echo program that protects backslashes. |
| 17357 |
|
ECHO=$lt_ECHO |
| 17358 |
|
|
| 17359 |
+ |
# The PATH separator for the build system. |
| 17360 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 17361 |
+ |
|
| 17362 |
|
# The host system. |
| 17363 |
|
host_alias=$host_alias |
| 17364 |
|
host=$host |
| 17660 |
|
# This must work even if \$libdir does not exist |
| 17661 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 17662 |
|
|
| 16779 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
| 16780 |
– |
# during linking. This must work even if \$libdir does not exist. |
| 16781 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
| 16782 |
– |
|
| 17663 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
| 17664 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 17665 |
|
|