| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1106 2010-11-02 15:10:53Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2334 2013-06-23 17:32:44Z 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 |
| 1943 |
|
|
| 1944 |
|
} # ac_fn_c_check_type |
| 1945 |
|
|
| 1946 |
+ |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 1947 |
+ |
# -------------------------------------------- |
| 1948 |
+ |
# Tries to find the compile-time value of EXPR in a program that includes |
| 1949 |
+ |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
| 1950 |
+ |
# computed |
| 1951 |
+ |
ac_fn_c_compute_int () |
| 1952 |
+ |
{ |
| 1953 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1954 |
+ |
if test "$cross_compiling" = yes; then |
| 1955 |
+ |
# Depending upon the size, compute the lo and hi bounds. |
| 1956 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1957 |
+ |
/* end confdefs.h. */ |
| 1958 |
+ |
$4 |
| 1959 |
+ |
int |
| 1960 |
+ |
main () |
| 1961 |
+ |
{ |
| 1962 |
+ |
static int test_array [1 - 2 * !(($2) >= 0)]; |
| 1963 |
+ |
test_array [0] = 0; |
| 1964 |
+ |
return test_array [0]; |
| 1965 |
+ |
|
| 1966 |
+ |
; |
| 1967 |
+ |
return 0; |
| 1968 |
+ |
} |
| 1969 |
+ |
_ACEOF |
| 1970 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1971 |
+ |
ac_lo=0 ac_mid=0 |
| 1972 |
+ |
while :; do |
| 1973 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1974 |
+ |
/* end confdefs.h. */ |
| 1975 |
+ |
$4 |
| 1976 |
+ |
int |
| 1977 |
+ |
main () |
| 1978 |
+ |
{ |
| 1979 |
+ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 1980 |
+ |
test_array [0] = 0; |
| 1981 |
+ |
return test_array [0]; |
| 1982 |
+ |
|
| 1983 |
+ |
; |
| 1984 |
+ |
return 0; |
| 1985 |
+ |
} |
| 1986 |
+ |
_ACEOF |
| 1987 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1988 |
+ |
ac_hi=$ac_mid; break |
| 1989 |
+ |
else |
| 1990 |
+ |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
| 1991 |
+ |
if test $ac_lo -le $ac_mid; then |
| 1992 |
+ |
ac_lo= ac_hi= |
| 1993 |
+ |
break |
| 1994 |
+ |
fi |
| 1995 |
+ |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
| 1996 |
+ |
fi |
| 1997 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1998 |
+ |
done |
| 1999 |
+ |
else |
| 2000 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2001 |
+ |
/* end confdefs.h. */ |
| 2002 |
+ |
$4 |
| 2003 |
+ |
int |
| 2004 |
+ |
main () |
| 2005 |
+ |
{ |
| 2006 |
+ |
static int test_array [1 - 2 * !(($2) < 0)]; |
| 2007 |
+ |
test_array [0] = 0; |
| 2008 |
+ |
return test_array [0]; |
| 2009 |
+ |
|
| 2010 |
+ |
; |
| 2011 |
+ |
return 0; |
| 2012 |
+ |
} |
| 2013 |
+ |
_ACEOF |
| 2014 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2015 |
+ |
ac_hi=-1 ac_mid=-1 |
| 2016 |
+ |
while :; do |
| 2017 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2018 |
+ |
/* end confdefs.h. */ |
| 2019 |
+ |
$4 |
| 2020 |
+ |
int |
| 2021 |
+ |
main () |
| 2022 |
+ |
{ |
| 2023 |
+ |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2024 |
+ |
test_array [0] = 0; |
| 2025 |
+ |
return test_array [0]; |
| 2026 |
+ |
|
| 2027 |
+ |
; |
| 2028 |
+ |
return 0; |
| 2029 |
+ |
} |
| 2030 |
+ |
_ACEOF |
| 2031 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2032 |
+ |
ac_lo=$ac_mid; break |
| 2033 |
+ |
else |
| 2034 |
+ |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
| 2035 |
+ |
if test $ac_mid -le $ac_hi; then |
| 2036 |
+ |
ac_lo= ac_hi= |
| 2037 |
+ |
break |
| 2038 |
+ |
fi |
| 2039 |
+ |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
| 2040 |
+ |
fi |
| 2041 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2042 |
+ |
done |
| 2043 |
+ |
else |
| 2044 |
+ |
ac_lo= ac_hi= |
| 2045 |
+ |
fi |
| 2046 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2047 |
+ |
fi |
| 2048 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2049 |
+ |
# Binary search between lo and hi bounds. |
| 2050 |
+ |
while test "x$ac_lo" != "x$ac_hi"; do |
| 2051 |
+ |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
| 2052 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2053 |
+ |
/* end confdefs.h. */ |
| 2054 |
+ |
$4 |
| 2055 |
+ |
int |
| 2056 |
+ |
main () |
| 2057 |
+ |
{ |
| 2058 |
+ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2059 |
+ |
test_array [0] = 0; |
| 2060 |
+ |
return test_array [0]; |
| 2061 |
+ |
|
| 2062 |
+ |
; |
| 2063 |
+ |
return 0; |
| 2064 |
+ |
} |
| 2065 |
+ |
_ACEOF |
| 2066 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2067 |
+ |
ac_hi=$ac_mid |
| 2068 |
+ |
else |
| 2069 |
+ |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 2070 |
+ |
fi |
| 2071 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2072 |
+ |
done |
| 2073 |
+ |
case $ac_lo in #(( |
| 2074 |
+ |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 2075 |
+ |
'') ac_retval=1 ;; |
| 2076 |
+ |
esac |
| 2077 |
+ |
else |
| 2078 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2079 |
+ |
/* end confdefs.h. */ |
| 2080 |
+ |
$4 |
| 2081 |
+ |
static long int longval () { return $2; } |
| 2082 |
+ |
static unsigned long int ulongval () { return $2; } |
| 2083 |
+ |
#include <stdio.h> |
| 2084 |
+ |
#include <stdlib.h> |
| 2085 |
+ |
int |
| 2086 |
+ |
main () |
| 2087 |
+ |
{ |
| 2088 |
+ |
|
| 2089 |
+ |
FILE *f = fopen ("conftest.val", "w"); |
| 2090 |
+ |
if (! f) |
| 2091 |
+ |
return 1; |
| 2092 |
+ |
if (($2) < 0) |
| 2093 |
+ |
{ |
| 2094 |
+ |
long int i = longval (); |
| 2095 |
+ |
if (i != ($2)) |
| 2096 |
+ |
return 1; |
| 2097 |
+ |
fprintf (f, "%ld", i); |
| 2098 |
+ |
} |
| 2099 |
+ |
else |
| 2100 |
+ |
{ |
| 2101 |
+ |
unsigned long int i = ulongval (); |
| 2102 |
+ |
if (i != ($2)) |
| 2103 |
+ |
return 1; |
| 2104 |
+ |
fprintf (f, "%lu", i); |
| 2105 |
+ |
} |
| 2106 |
+ |
/* Do not output a trailing newline, as this causes \r\n confusion |
| 2107 |
+ |
on some platforms. */ |
| 2108 |
+ |
return ferror (f) || fclose (f) != 0; |
| 2109 |
+ |
|
| 2110 |
+ |
; |
| 2111 |
+ |
return 0; |
| 2112 |
+ |
} |
| 2113 |
+ |
_ACEOF |
| 2114 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 2115 |
+ |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 2116 |
+ |
else |
| 2117 |
+ |
ac_retval=1 |
| 2118 |
+ |
fi |
| 2119 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 2120 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2121 |
+ |
rm -f conftest.val |
| 2122 |
+ |
|
| 2123 |
+ |
fi |
| 2124 |
+ |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2125 |
+ |
as_fn_set_status $ac_retval |
| 2126 |
+ |
|
| 2127 |
+ |
} # ac_fn_c_compute_int |
| 2128 |
+ |
|
| 2129 |
|
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 2130 |
|
# ---------------------------------------------------- |
| 2131 |
|
# Tries to find if the field MEMBER exists in type AGGR, after including |
| 2277 |
|
This file contains any messages produced by compilers while |
| 2278 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2279 |
|
|
| 2280 |
< |
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
| 2281 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
| 2280 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
| 2281 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 2282 |
|
|
| 2283 |
|
$ $0 $@ |
| 2284 |
|
|
| 2557 |
|
>$cache_file |
| 2558 |
|
fi |
| 2559 |
|
|
| 2376 |
– |
as_fn_append ac_func_list " mmap" |
| 2560 |
|
as_fn_append ac_func_list " strtok_r" |
| 2561 |
|
as_fn_append ac_func_list " usleep" |
| 2562 |
|
as_fn_append ac_func_list " strlcat" |
| 2563 |
|
as_fn_append ac_func_list " strlcpy" |
| 2564 |
|
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" |
| 2565 |
|
as_fn_append ac_header_list " sys/resource.h" |
| 2566 |
|
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" |
| 2567 |
|
as_fn_append ac_header_list " types.h" |
| 2568 |
|
as_fn_append ac_header_list " socket.h" |
| 2569 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2570 |
|
as_fn_append ac_header_list " wait.h" |
| 2392 |
– |
as_fn_append ac_header_list " link.h" |
| 2571 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2572 |
|
# value. |
| 2573 |
|
ac_cache_corrupted=false |
| 2636 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2637 |
|
|
| 2638 |
|
|
| 2639 |
< |
am__api_version='1.11' |
| 2639 |
> |
am__api_version='1.14' |
| 2640 |
|
|
| 2641 |
|
ac_aux_dir= |
| 2642 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2704 |
|
# by default. |
| 2705 |
|
for ac_prog in ginstall scoinst install; do |
| 2706 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2707 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 2707 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2708 |
|
if test $ac_prog = install && |
| 2709 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2710 |
|
# AIX install. It has an incompatible calling convention. |
| 2762 |
|
|
| 2763 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2764 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2587 |
– |
# Just in case |
| 2588 |
– |
sleep 1 |
| 2589 |
– |
echo timestamp > conftest.file |
| 2765 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2766 |
|
# name. Accept space and tab only in the latter. |
| 2767 |
|
am_lf=' |
| 2772 |
|
esac |
| 2773 |
|
case $srcdir in |
| 2774 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2775 |
< |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2775 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 2776 |
|
esac |
| 2777 |
|
|
| 2778 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
| 2778 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
| 2779 |
|
# arguments. Must try -L first in case configure is actually a |
| 2780 |
|
# symlink; some systems play weird games with the mod time of symlinks |
| 2781 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
| 2782 |
|
# directory). |
| 2783 |
|
if ( |
| 2784 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2785 |
< |
if test "$*" = "X"; then |
| 2786 |
< |
# -L didn't work. |
| 2787 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2788 |
< |
fi |
| 2789 |
< |
rm -f conftest.file |
| 2790 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2791 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2792 |
< |
|
| 2793 |
< |
# 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 |
| 2784 |
> |
am_has_slept=no |
| 2785 |
> |
for am_try in 1 2; do |
| 2786 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
| 2787 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2788 |
> |
if test "$*" = "X"; then |
| 2789 |
> |
# -L didn't work. |
| 2790 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2791 |
> |
fi |
| 2792 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2793 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2794 |
|
|
| 2795 |
+ |
# If neither matched, then we have a broken ls. This can happen |
| 2796 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2797 |
+ |
# broken ls alias from the environment. This has actually |
| 2798 |
+ |
# happened. Such a system could not be considered "sane". |
| 2799 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2800 |
+ |
alias in your environment" "$LINENO" 5 |
| 2801 |
+ |
fi |
| 2802 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
| 2803 |
+ |
break |
| 2804 |
+ |
fi |
| 2805 |
+ |
# Just in case. |
| 2806 |
+ |
sleep 1 |
| 2807 |
+ |
am_has_slept=yes |
| 2808 |
+ |
done |
| 2809 |
|
test "$2" = conftest.file |
| 2810 |
|
) |
| 2811 |
|
then |
| 2817 |
|
fi |
| 2818 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2819 |
|
$as_echo "yes" >&6; } |
| 2820 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2821 |
+ |
# generated files are strictly newer. |
| 2822 |
+ |
am_sleep_pid= |
| 2823 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2824 |
+ |
( sleep 1 ) & |
| 2825 |
+ |
am_sleep_pid=$! |
| 2826 |
+ |
fi |
| 2827 |
+ |
|
| 2828 |
+ |
rm -f conftest.file |
| 2829 |
+ |
|
| 2830 |
|
test "$program_prefix" != NONE && |
| 2831 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2832 |
|
# Use a double $ so make ignores it. |
| 2849 |
|
esac |
| 2850 |
|
fi |
| 2851 |
|
# Use eval to expand $SHELL |
| 2852 |
< |
if eval "$MISSING --run true"; then |
| 2853 |
< |
am_missing_run="$MISSING --run " |
| 2852 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2853 |
> |
am_missing_run="$MISSING " |
| 2854 |
|
else |
| 2855 |
|
am_missing_run= |
| 2856 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
| 2857 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 2856 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2857 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2858 |
|
fi |
| 2859 |
|
|
| 2860 |
|
if test x"${install_sh}" != xset; then |
| 2866 |
|
esac |
| 2867 |
|
fi |
| 2868 |
|
|
| 2869 |
< |
# Installed binaries are usually stripped using `strip' when the user |
| 2870 |
< |
# run `make install-strip'. However `strip' might not be the right |
| 2869 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
| 2870 |
> |
# run "make install-strip". However 'strip' might not be the right |
| 2871 |
|
# tool to use in cross-compilation environments, therefore Automake |
| 2872 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
| 2872 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
| 2873 |
|
if test "$cross_compiling" != no; then |
| 2874 |
|
if test -n "$ac_tool_prefix"; then |
| 2875 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2888 |
|
IFS=$as_save_IFS |
| 2889 |
|
test -z "$as_dir" && as_dir=. |
| 2890 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2891 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2891 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2892 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2893 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2894 |
|
break 2 |
| 2928 |
|
IFS=$as_save_IFS |
| 2929 |
|
test -z "$as_dir" && as_dir=. |
| 2930 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2931 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2931 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2932 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 2933 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2934 |
|
break 2 |
| 2979 |
|
test -z "$as_dir" && as_dir=. |
| 2980 |
|
for ac_prog in mkdir gmkdir; do |
| 2981 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2982 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
| 2982 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2983 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2984 |
|
'mkdir (GNU coreutils) '* | \ |
| 2985 |
|
'mkdir (coreutils) '* | \ |
| 3008 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3009 |
|
$as_echo "$MKDIR_P" >&6; } |
| 3010 |
|
|
| 2818 |
– |
mkdir_p="$MKDIR_P" |
| 2819 |
– |
case $mkdir_p in |
| 2820 |
– |
[\\/$]* | ?:[\\/]*) ;; |
| 2821 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2822 |
– |
esac |
| 2823 |
– |
|
| 3011 |
|
for ac_prog in gawk mawk nawk awk |
| 3012 |
|
do |
| 3013 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3026 |
|
IFS=$as_save_IFS |
| 3027 |
|
test -z "$as_dir" && as_dir=. |
| 3028 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3029 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3029 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3030 |
|
ac_cv_prog_AWK="$ac_prog" |
| 3031 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3032 |
|
break 2 |
| 3090 |
|
fi |
| 3091 |
|
rmdir .tst 2>/dev/null |
| 3092 |
|
|
| 3093 |
+ |
# Check whether --enable-silent-rules was given. |
| 3094 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 3095 |
+ |
enableval=$enable_silent_rules; |
| 3096 |
+ |
fi |
| 3097 |
+ |
|
| 3098 |
+ |
case $enable_silent_rules in # ((( |
| 3099 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 3100 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 3101 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 3102 |
+ |
esac |
| 3103 |
+ |
am_make=${MAKE-make} |
| 3104 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3105 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 3106 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 3107 |
+ |
$as_echo_n "(cached) " >&6 |
| 3108 |
+ |
else |
| 3109 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 3110 |
+ |
BAR0=false |
| 3111 |
+ |
BAR1=true |
| 3112 |
+ |
V=1 |
| 3113 |
+ |
am__doit: |
| 3114 |
+ |
@$(TRUE) |
| 3115 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 3116 |
+ |
am_cv_make_support_nested_variables=yes |
| 3117 |
+ |
else |
| 3118 |
+ |
am_cv_make_support_nested_variables=no |
| 3119 |
+ |
fi |
| 3120 |
+ |
fi |
| 3121 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3122 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 3123 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 3124 |
+ |
AM_V='$(V)' |
| 3125 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3126 |
+ |
else |
| 3127 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 3128 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3129 |
+ |
fi |
| 3130 |
+ |
AM_BACKSLASH='\' |
| 3131 |
+ |
|
| 3132 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 3133 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3134 |
|
# is not polluted with repeated "-I." |
| 3151 |
|
|
| 3152 |
|
# Define the identity of the package. |
| 3153 |
|
PACKAGE='ircd-hybrid' |
| 3154 |
< |
VERSION='7.3-rc1' |
| 3154 |
> |
VERSION='TRUNK' |
| 3155 |
|
|
| 3156 |
|
|
| 3157 |
|
cat >>confdefs.h <<_ACEOF |
| 3179 |
|
|
| 3180 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3181 |
|
|
| 3182 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 3183 |
+ |
# dies out for good. For more background, see: |
| 3184 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3185 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3186 |
+ |
mkdir_p='$(MKDIR_P)' |
| 3187 |
+ |
|
| 3188 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 3189 |
|
# some platforms. |
| 3190 |
< |
# Always define AMTAR for backward compatibility. |
| 3190 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3191 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
| 3192 |
> |
AMTAR='$${TAR-tar}' |
| 3193 |
|
|
| 2960 |
– |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 3194 |
|
|
| 3195 |
< |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 3195 |
> |
# We'll loop over all known methods to create a tar archive until one works. |
| 3196 |
> |
_am_tools='gnutar pax cpio none' |
| 3197 |
|
|
| 3198 |
+ |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3199 |
|
|
| 3200 |
|
|
| 3201 |
|
|
| 3202 |
|
|
| 3203 |
|
|
| 3204 |
+ |
|
| 3205 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
| 3206 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
| 3207 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
| 3208 |
+ |
# actually supported "in the wild" to an acceptable degree. |
| 3209 |
+ |
# See automake bug#10828. |
| 3210 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
| 3211 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 3212 |
+ |
# user can still override this though. |
| 3213 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 3214 |
+ |
cat >&2 <<'END' |
| 3215 |
+ |
Oops! |
| 3216 |
+ |
|
| 3217 |
+ |
Your 'rm' program seems unable to run without file operands specified |
| 3218 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
| 3219 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
| 3220 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3221 |
+ |
|
| 3222 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
| 3223 |
+ |
of your $PATH and any error possibly output before this message. This |
| 3224 |
+ |
can help us improve future automake versions. |
| 3225 |
+ |
|
| 3226 |
+ |
END |
| 3227 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3228 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3229 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3230 |
+ |
echo >&2 |
| 3231 |
+ |
else |
| 3232 |
+ |
cat >&2 <<'END' |
| 3233 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
| 3234 |
+ |
|
| 3235 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
| 3236 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3237 |
+ |
|
| 3238 |
+ |
If you want to complete the configuration process using your problematic |
| 3239 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3240 |
+ |
to "yes", and re-run configure. |
| 3241 |
+ |
|
| 3242 |
+ |
END |
| 3243 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3244 |
+ |
fi |
| 3245 |
+ |
fi |
| 3246 |
+ |
|
| 3247 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3248 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3249 |
|
# Check whether --enable-maintainer-mode was given. |
| 3290 |
|
_am_result=none |
| 3291 |
|
# First try GNU make style include. |
| 3292 |
|
echo "include confinc" > confmf |
| 3293 |
< |
# Ignore all kinds of additional output from `make'. |
| 3293 |
> |
# Ignore all kinds of additional output from 'make'. |
| 3294 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3295 |
|
*the\ am__doit\ target*) |
| 3296 |
|
am__include=include |
| 3323 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3324 |
|
am_depcomp="$ac_aux_dir/depcomp" |
| 3325 |
|
AMDEPBACKSLASH='\' |
| 3326 |
+ |
am__nodep='_no' |
| 3327 |
|
fi |
| 3328 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3329 |
|
AMDEP_TRUE= |
| 3356 |
|
IFS=$as_save_IFS |
| 3357 |
|
test -z "$as_dir" && as_dir=. |
| 3358 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3359 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3359 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3360 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3361 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3362 |
|
break 2 |
| 3396 |
|
IFS=$as_save_IFS |
| 3397 |
|
test -z "$as_dir" && as_dir=. |
| 3398 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3399 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3399 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3400 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3401 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3402 |
|
break 2 |
| 3449 |
|
IFS=$as_save_IFS |
| 3450 |
|
test -z "$as_dir" && as_dir=. |
| 3451 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3452 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3452 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3453 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3454 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3455 |
|
break 2 |
| 3490 |
|
IFS=$as_save_IFS |
| 3491 |
|
test -z "$as_dir" && as_dir=. |
| 3492 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3493 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3493 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3494 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3495 |
|
ac_prog_rejected=yes |
| 3496 |
|
continue |
| 3548 |
|
IFS=$as_save_IFS |
| 3549 |
|
test -z "$as_dir" && as_dir=. |
| 3550 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3551 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3551 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3552 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3553 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3554 |
|
break 2 |
| 3592 |
|
IFS=$as_save_IFS |
| 3593 |
|
test -z "$as_dir" && as_dir=. |
| 3594 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3595 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3595 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3596 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3597 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3598 |
|
break 2 |
| 4038 |
|
/* end confdefs.h. */ |
| 4039 |
|
#include <stdarg.h> |
| 4040 |
|
#include <stdio.h> |
| 4041 |
< |
#include <sys/types.h> |
| 3763 |
< |
#include <sys/stat.h> |
| 4041 |
> |
struct stat; |
| 4042 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 4043 |
|
struct buf { int x; }; |
| 4044 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 4123 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4124 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4125 |
|
|
| 4126 |
+ |
ac_ext=c |
| 4127 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4128 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4129 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4130 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4131 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4132 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 4133 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 4134 |
+ |
$as_echo_n "(cached) " >&6 |
| 4135 |
+ |
else |
| 4136 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4137 |
+ |
/* end confdefs.h. */ |
| 4138 |
+ |
|
| 4139 |
+ |
int |
| 4140 |
+ |
main () |
| 4141 |
+ |
{ |
| 4142 |
+ |
|
| 4143 |
+ |
; |
| 4144 |
+ |
return 0; |
| 4145 |
+ |
} |
| 4146 |
+ |
_ACEOF |
| 4147 |
+ |
# Make sure it works both with $CC and with simple cc. |
| 4148 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 4149 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
| 4150 |
+ |
# though they will create one. |
| 4151 |
+ |
am_cv_prog_cc_c_o=yes |
| 4152 |
+ |
for am_i in 1 2; do |
| 4153 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 4154 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 4155 |
+ |
ac_status=$? |
| 4156 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4157 |
+ |
(exit $ac_status); } \ |
| 4158 |
+ |
&& test -f conftest2.$ac_objext; then |
| 4159 |
+ |
: OK |
| 4160 |
+ |
else |
| 4161 |
+ |
am_cv_prog_cc_c_o=no |
| 4162 |
+ |
break |
| 4163 |
+ |
fi |
| 4164 |
+ |
done |
| 4165 |
+ |
rm -f core conftest* |
| 4166 |
+ |
unset am_i |
| 4167 |
+ |
fi |
| 4168 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4169 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 4170 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 4171 |
+ |
# Losing compiler, so override with the script. |
| 4172 |
+ |
# FIXME: It is wrong to rewrite CC. |
| 4173 |
+ |
# But if we don't then we get into trouble of one sort or another. |
| 4174 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
| 4175 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4176 |
+ |
CC="$am_aux_dir/compile $CC" |
| 4177 |
+ |
fi |
| 4178 |
+ |
ac_ext=c |
| 4179 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4180 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4181 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4182 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4183 |
+ |
|
| 4184 |
+ |
|
| 4185 |
|
depcc="$CC" am_compiler_list= |
| 4186 |
|
|
| 4187 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4193 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 4194 |
|
# making bogus files that we don't know about and never remove. For |
| 4195 |
|
# instance it was reported that on HP-UX the gcc test will end up |
| 4196 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 4197 |
< |
# in D'. |
| 4196 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 4197 |
> |
# in D". |
| 4198 |
> |
rm -rf conftest.dir |
| 4199 |
|
mkdir conftest.dir |
| 4200 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 4201 |
|
# using a relative directory. |
| 4229 |
|
: > sub/conftest.c |
| 4230 |
|
for i in 1 2 3 4 5 6; do |
| 4231 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 4232 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 4233 |
< |
# Solaris 8's {/usr,}/bin/sh. |
| 4234 |
< |
touch sub/conftst$i.h |
| 4232 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 4233 |
> |
# Solaris 10 /bin/sh. |
| 4234 |
> |
echo '/* dummy */' > sub/conftst$i.h |
| 4235 |
|
done |
| 4236 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 4237 |
|
|
| 4238 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 4238 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 4239 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
| 4240 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
| 4241 |
< |
# versions had trouble with output in subdirs |
| 4240 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 4241 |
> |
# versions had trouble with output in subdirs. |
| 4242 |
|
am__obj=sub/conftest.${OBJEXT-o} |
| 4243 |
|
am__minus_obj="-o $am__obj" |
| 4244 |
|
case $depmode in |
| 4247 |
|
test "$am__universal" = false || continue |
| 4248 |
|
;; |
| 4249 |
|
nosideeffect) |
| 4250 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
| 4251 |
< |
# only be used when explicitly requested |
| 4250 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
| 4251 |
> |
# only be used when explicitly requested. |
| 4252 |
|
if test "x$enable_dependency_tracking" = xyes; then |
| 4253 |
|
continue |
| 4254 |
|
else |
| 4255 |
|
break |
| 4256 |
|
fi |
| 4257 |
|
;; |
| 4258 |
< |
msvisualcpp | msvcmsys) |
| 4259 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 4258 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 4259 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 4260 |
|
# not run yet. These depmodes are late enough in the game, and |
| 4261 |
|
# so weak that their functioning should not be impacted. |
| 4262 |
|
am__obj=conftest.${OBJEXT-o} |
| 4456 |
|
return 0; |
| 4457 |
|
} |
| 4458 |
|
_ACEOF |
| 4459 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4459 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| 4460 |
|
do |
| 4461 |
|
CC="$ac_save_CC $ac_arg" |
| 4462 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 4488 |
|
|
| 4489 |
|
|
| 4490 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4491 |
< |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4491 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
| 4492 |
|
fi |
| 4493 |
|
for ac_prog in 'bison -y' byacc |
| 4494 |
|
do |
| 4508 |
|
IFS=$as_save_IFS |
| 4509 |
|
test -z "$as_dir" && as_dir=. |
| 4510 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4511 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4511 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4512 |
|
ac_cv_prog_YACC="$ac_prog" |
| 4513 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4514 |
|
break 2 |
| 4552 |
|
IFS=$as_save_IFS |
| 4553 |
|
test -z "$as_dir" && as_dir=. |
| 4554 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4555 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4555 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4556 |
|
ac_cv_prog_LEX="$ac_prog" |
| 4557 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4558 |
|
break 2 |
| 4584 |
|
b { REJECT; } |
| 4585 |
|
c { yymore (); } |
| 4586 |
|
d { yyless (1); } |
| 4587 |
< |
e { yyless (input () != 0); } |
| 4587 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 4588 |
> |
yyless ((input () != 0)); } |
| 4589 |
|
f { unput (yytext[0]); } |
| 4590 |
|
. { BEGIN INITIAL; } |
| 4591 |
|
%% |
| 4714 |
|
|
| 4715 |
|
|
| 4716 |
|
|
| 4717 |
< |
macro_version='2.4' |
| 4718 |
< |
macro_revision='1.3293' |
| 4717 |
> |
macro_version='2.4.2' |
| 4718 |
> |
macro_revision='1.3337' |
| 4719 |
|
|
| 4720 |
|
|
| 4721 |
|
|
| 4893 |
|
for ac_prog in sed gsed; do |
| 4894 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4895 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 4896 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
| 4896 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
| 4897 |
|
# Check for GNU ac_path_SED and select it if it is found. |
| 4898 |
|
# Check for GNU $ac_path_SED |
| 4899 |
|
case `"$ac_path_SED" --version 2>&1` in |
| 4969 |
|
for ac_prog in grep ggrep; do |
| 4970 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4971 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4972 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4972 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
| 4973 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
| 4974 |
|
# Check for GNU $ac_path_GREP |
| 4975 |
|
case `"$ac_path_GREP" --version 2>&1` in |
| 5035 |
|
for ac_prog in egrep; do |
| 5036 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5037 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5038 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 5038 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 5039 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
| 5040 |
|
# Check for GNU $ac_path_EGREP |
| 5041 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
| 5102 |
|
for ac_prog in fgrep; do |
| 5103 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5104 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5105 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
| 5105 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
| 5106 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
| 5107 |
|
# Check for GNU $ac_path_FGREP |
| 5108 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
| 5358 |
|
IFS=$as_save_IFS |
| 5359 |
|
test -z "$as_dir" && as_dir=. |
| 5360 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5361 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5361 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5362 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5363 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5364 |
|
break 2 |
| 5402 |
|
IFS=$as_save_IFS |
| 5403 |
|
test -z "$as_dir" && as_dir=. |
| 5404 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5405 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5405 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5406 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5407 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5408 |
|
break 2 |
| 5560 |
|
lt_cv_sys_max_cmd_len=196608 |
| 5561 |
|
;; |
| 5562 |
|
|
| 5563 |
+ |
os2*) |
| 5564 |
+ |
# The test takes a long time on OS/2. |
| 5565 |
+ |
lt_cv_sys_max_cmd_len=8192 |
| 5566 |
+ |
;; |
| 5567 |
+ |
|
| 5568 |
|
osf*) |
| 5569 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5570 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 5604 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 5605 |
|
# maximum length that is only half of the actual maximum length, but |
| 5606 |
|
# we can't tell. |
| 5607 |
< |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 5607 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5608 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5609 |
|
test $i != 17 # 1/2 MB should be enough |
| 5610 |
|
do |
| 5826 |
|
IFS=$as_save_IFS |
| 5827 |
|
test -z "$as_dir" && as_dir=. |
| 5828 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5829 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5829 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5830 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 5831 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5832 |
|
break 2 |
| 5866 |
|
IFS=$as_save_IFS |
| 5867 |
|
test -z "$as_dir" && as_dir=. |
| 5868 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5869 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5869 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5870 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 5871 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5872 |
|
break 2 |
| 6033 |
|
lt_cv_deplibs_check_method=pass_all |
| 6034 |
|
;; |
| 6035 |
|
|
| 6036 |
< |
# This must be Linux ELF. |
| 6036 |
> |
# This must be glibc/ELF. |
| 6037 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 6038 |
|
lt_cv_deplibs_check_method=pass_all |
| 6039 |
|
;; |
| 6172 |
|
IFS=$as_save_IFS |
| 6173 |
|
test -z "$as_dir" && as_dir=. |
| 6174 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6175 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6175 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6176 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 6177 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6178 |
|
break 2 |
| 6212 |
|
IFS=$as_save_IFS |
| 6213 |
|
test -z "$as_dir" && as_dir=. |
| 6214 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6215 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6215 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6216 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 6217 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6218 |
|
break 2 |
| 6315 |
|
IFS=$as_save_IFS |
| 6316 |
|
test -z "$as_dir" && as_dir=. |
| 6317 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6318 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6318 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6319 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 6320 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6321 |
|
break 2 |
| 6359 |
|
IFS=$as_save_IFS |
| 6360 |
|
test -z "$as_dir" && as_dir=. |
| 6361 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6362 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6362 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6363 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6364 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6365 |
|
break 2 |
| 6484 |
|
IFS=$as_save_IFS |
| 6485 |
|
test -z "$as_dir" && as_dir=. |
| 6486 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6487 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6487 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6488 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 6489 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6490 |
|
break 2 |
| 6524 |
|
IFS=$as_save_IFS |
| 6525 |
|
test -z "$as_dir" && as_dir=. |
| 6526 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6527 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6527 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6528 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 6529 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6530 |
|
break 2 |
| 6583 |
|
IFS=$as_save_IFS |
| 6584 |
|
test -z "$as_dir" && as_dir=. |
| 6585 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6586 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6586 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6587 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6588 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6589 |
|
break 2 |
| 6623 |
|
IFS=$as_save_IFS |
| 6624 |
|
test -z "$as_dir" && as_dir=. |
| 6625 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6626 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6626 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6627 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6628 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6629 |
|
break 2 |
| 6673 |
|
if test -n "$RANLIB"; then |
| 6674 |
|
case $host_os in |
| 6675 |
|
openbsd*) |
| 6676 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 6676 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 6677 |
|
;; |
| 6678 |
|
*) |
| 6679 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 6679 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 6680 |
|
;; |
| 6681 |
|
esac |
| 6682 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6682 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 6683 |
|
fi |
| 6684 |
|
|
| 6685 |
|
case $host_os in |
| 6826 |
|
# which start with @ or ?. |
| 6827 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 6828 |
|
" {last_section=section; section=\$ 3};"\ |
| 6829 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 6830 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 6831 |
|
" \$ 0!~/External *\|/{next};"\ |
| 6832 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 7215 |
|
CFLAGS="$SAVE_CFLAGS" |
| 7216 |
|
fi |
| 7217 |
|
;; |
| 7218 |
< |
sparc*-*solaris*) |
| 7218 |
> |
*-*solaris*) |
| 7219 |
|
# Find out which ABI we are using. |
| 7220 |
|
echo 'int i;' > conftest.$ac_ext |
| 7221 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7226 |
|
case `/usr/bin/file conftest.o` in |
| 7227 |
|
*64-bit*) |
| 7228 |
|
case $lt_cv_prog_gnu_ld in |
| 7229 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 7229 |
> |
yes*) |
| 7230 |
> |
case $host in |
| 7231 |
> |
i?86-*-solaris*) |
| 7232 |
> |
LD="${LD-ld} -m elf_x86_64" |
| 7233 |
> |
;; |
| 7234 |
> |
sparc*-*-solaris*) |
| 7235 |
> |
LD="${LD-ld} -m elf64_sparc" |
| 7236 |
> |
;; |
| 7237 |
> |
esac |
| 7238 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 7239 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 7240 |
> |
LD="${LD-ld}_sol2" |
| 7241 |
> |
fi |
| 7242 |
> |
;; |
| 7243 |
|
*) |
| 7244 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 7245 |
|
LD="${LD-ld} -64" |
| 7272 |
|
IFS=$as_save_IFS |
| 7273 |
|
test -z "$as_dir" && as_dir=. |
| 7274 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7275 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7275 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7276 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 7277 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7278 |
|
break 2 |
| 7312 |
|
IFS=$as_save_IFS |
| 7313 |
|
test -z "$as_dir" && as_dir=. |
| 7314 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7315 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7315 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7316 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 7317 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7318 |
|
break 2 |
| 7392 |
|
IFS=$as_save_IFS |
| 7393 |
|
test -z "$as_dir" && as_dir=. |
| 7394 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7395 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7395 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7396 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 7397 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7398 |
|
break 2 |
| 7432 |
|
IFS=$as_save_IFS |
| 7433 |
|
test -z "$as_dir" && as_dir=. |
| 7434 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7435 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7435 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7436 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 7437 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7438 |
|
break 2 |
| 7484 |
|
IFS=$as_save_IFS |
| 7485 |
|
test -z "$as_dir" && as_dir=. |
| 7486 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7487 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7487 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7488 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 7489 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7490 |
|
break 2 |
| 7524 |
|
IFS=$as_save_IFS |
| 7525 |
|
test -z "$as_dir" && as_dir=. |
| 7526 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7527 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7527 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7528 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 7529 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7530 |
|
break 2 |
| 7576 |
|
IFS=$as_save_IFS |
| 7577 |
|
test -z "$as_dir" && as_dir=. |
| 7578 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7579 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7579 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7580 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 7581 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7582 |
|
break 2 |
| 7616 |
|
IFS=$as_save_IFS |
| 7617 |
|
test -z "$as_dir" && as_dir=. |
| 7618 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7619 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7619 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7620 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 7621 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7622 |
|
break 2 |
| 7668 |
|
IFS=$as_save_IFS |
| 7669 |
|
test -z "$as_dir" && as_dir=. |
| 7670 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7671 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7671 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7672 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 7673 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7674 |
|
break 2 |
| 7708 |
|
IFS=$as_save_IFS |
| 7709 |
|
test -z "$as_dir" && as_dir=. |
| 7710 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7711 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7711 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7712 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 7713 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7714 |
|
break 2 |
| 7760 |
|
IFS=$as_save_IFS |
| 7761 |
|
test -z "$as_dir" && as_dir=. |
| 7762 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7763 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7763 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7764 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 7765 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7766 |
|
break 2 |
| 7800 |
|
IFS=$as_save_IFS |
| 7801 |
|
test -z "$as_dir" && as_dir=. |
| 7802 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7803 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7803 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7804 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 7805 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7806 |
|
break 2 |
| 7879 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 7880 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 7881 |
|
_lt_result=$? |
| 7882 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 7882 |
> |
# If there is a non-empty error log, and "single_module" |
| 7883 |
> |
# appears in it, assume the flag caused a linker warning |
| 7884 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
| 7885 |
> |
cat conftest.err >&5 |
| 7886 |
> |
# Otherwise, if the output was created with a 0 exit code from |
| 7887 |
> |
# the compiler, it worked. |
| 7888 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 7889 |
|
lt_cv_apple_cc_single_mod=yes |
| 7890 |
|
else |
| 7891 |
|
cat conftest.err >&5 |
| 7896 |
|
fi |
| 7897 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 7898 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 7899 |
+ |
|
| 7900 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 7901 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 7902 |
|
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 7929 |
|
fi |
| 7930 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7931 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7932 |
+ |
|
| 7933 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 7934 |
|
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 7935 |
|
if ${lt_cv_ld_force_load+:} false; then : |
| 7951 |
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 7952 |
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 7953 |
|
_lt_result=$? |
| 7954 |
< |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 7954 |
> |
if test -s conftest.err && $GREP force_load conftest.err; then |
| 7955 |
> |
cat conftest.err >&5 |
| 7956 |
> |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
| 7957 |
|
lt_cv_ld_force_load=yes |
| 7958 |
|
else |
| 7959 |
|
cat conftest.err >&5 |
| 8356 |
|
|
| 8357 |
|
# Check whether --with-pic was given. |
| 8358 |
|
if test "${with_pic+set}" = set; then : |
| 8359 |
< |
withval=$with_pic; pic_mode="$withval" |
| 8359 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
| 8360 |
> |
case $withval in |
| 8361 |
> |
yes|no) pic_mode=$withval ;; |
| 8362 |
> |
*) |
| 8363 |
> |
pic_mode=default |
| 8364 |
> |
# Look at the argument we got. We use all the common list separators. |
| 8365 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8366 |
> |
for lt_pkg in $withval; do |
| 8367 |
> |
IFS="$lt_save_ifs" |
| 8368 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
| 8369 |
> |
pic_mode=yes |
| 8370 |
> |
fi |
| 8371 |
> |
done |
| 8372 |
> |
IFS="$lt_save_ifs" |
| 8373 |
> |
;; |
| 8374 |
> |
esac |
| 8375 |
|
else |
| 8376 |
|
pic_mode=default |
| 8377 |
|
fi |
| 8449 |
|
|
| 8450 |
|
|
| 8451 |
|
|
| 8452 |
+ |
|
| 8453 |
+ |
|
| 8454 |
+ |
|
| 8455 |
+ |
|
| 8456 |
|
test -z "$LN_S" && LN_S="ln -s" |
| 8457 |
|
|
| 8458 |
|
|
| 8908 |
|
case $cc_basename in |
| 8909 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
| 8910 |
|
lt_prog_compiler_wl='-Xlinker ' |
| 8911 |
< |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
| 8911 |
> |
if test -n "$lt_prog_compiler_pic"; then |
| 8912 |
> |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 8913 |
> |
fi |
| 8914 |
|
;; |
| 8915 |
|
esac |
| 8916 |
|
else |
| 9001 |
|
;; |
| 9002 |
|
*) |
| 9003 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 9004 |
< |
*Sun\ F* | *Sun*Fortran*) |
| 9004 |
> |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 9005 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 9006 |
|
lt_prog_compiler_pic='-KPIC' |
| 9007 |
|
lt_prog_compiler_static='-Bstatic' |
| 9008 |
|
lt_prog_compiler_wl='' |
| 9009 |
|
;; |
| 9010 |
+ |
*Sun\ F* | *Sun*Fortran*) |
| 9011 |
+ |
lt_prog_compiler_pic='-KPIC' |
| 9012 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 9013 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
| 9014 |
+ |
;; |
| 9015 |
|
*Sun\ C*) |
| 9016 |
|
# Sun C 5.9 |
| 9017 |
|
lt_prog_compiler_pic='-KPIC' |
| 9018 |
|
lt_prog_compiler_static='-Bstatic' |
| 9019 |
|
lt_prog_compiler_wl='-Wl,' |
| 9020 |
|
;; |
| 9021 |
+ |
*Intel*\ [CF]*Compiler*) |
| 9022 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 9023 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 9024 |
+ |
lt_prog_compiler_static='-static' |
| 9025 |
+ |
;; |
| 9026 |
+ |
*Portland\ Group*) |
| 9027 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 9028 |
+ |
lt_prog_compiler_pic='-fpic' |
| 9029 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 9030 |
+ |
;; |
| 9031 |
|
esac |
| 9032 |
|
;; |
| 9033 |
|
esac |
| 9389 |
|
hardcode_direct=no |
| 9390 |
|
hardcode_direct_absolute=no |
| 9391 |
|
hardcode_libdir_flag_spec= |
| 8988 |
– |
hardcode_libdir_flag_spec_ld= |
| 9392 |
|
hardcode_libdir_separator= |
| 9393 |
|
hardcode_minus_L=no |
| 9394 |
|
hardcode_shlibpath_var=unsupported |
| 9638 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
| 9639 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 9640 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 9641 |
< |
hardcode_libdir_flag_spec= |
| 9239 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
| 9641 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9642 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 9643 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 9644 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10017 |
|
# The linker will not automatically build a static lib if we build a DLL. |
| 10018 |
|
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 10019 |
|
enable_shared_with_static_runtimes=yes |
| 10020 |
+ |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 10021 |
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 10022 |
|
# Don't use ranlib |
| 10023 |
|
old_postinstall_cmds='chmod 644 $oldlib' |
| 10063 |
|
hardcode_shlibpath_var=unsupported |
| 10064 |
|
if test "$lt_cv_ld_force_load" = "yes"; then |
| 10065 |
|
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\"`' |
| 10066 |
+ |
|
| 10067 |
|
else |
| 10068 |
|
whole_archive_flag_spec='' |
| 10069 |
|
fi |
| 10092 |
|
hardcode_shlibpath_var=no |
| 10093 |
|
;; |
| 10094 |
|
|
| 9691 |
– |
freebsd1*) |
| 9692 |
– |
ld_shlibs=no |
| 9693 |
– |
;; |
| 9694 |
– |
|
| 10095 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 10096 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
| 10097 |
|
# does not break anything, and helps significantly (at the cost of a little |
| 10104 |
|
;; |
| 10105 |
|
|
| 10106 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 10107 |
< |
freebsd2*) |
| 10107 |
> |
freebsd2.*) |
| 10108 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 10109 |
|
hardcode_direct=yes |
| 10110 |
|
hardcode_minus_L=yes |
| 10143 |
|
fi |
| 10144 |
|
if test "$with_gnu_ld" = no; then |
| 10145 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 9746 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
| 10146 |
|
hardcode_libdir_separator=: |
| 10147 |
|
hardcode_direct=yes |
| 10148 |
|
hardcode_direct_absolute=yes |
| 10766 |
|
|
| 10767 |
|
|
| 10768 |
|
|
| 10370 |
– |
|
| 10371 |
– |
|
| 10372 |
– |
|
| 10373 |
– |
|
| 10374 |
– |
|
| 10769 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 10770 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 10771 |
|
|
| 10855 |
|
|
| 10856 |
|
case $host_os in |
| 10857 |
|
aix3*) |
| 10858 |
< |
version_type=linux |
| 10858 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10859 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 10860 |
|
shlibpath_var=LIBPATH |
| 10861 |
|
|
| 10864 |
|
;; |
| 10865 |
|
|
| 10866 |
|
aix[4-9]*) |
| 10867 |
< |
version_type=linux |
| 10867 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10868 |
|
need_lib_prefix=no |
| 10869 |
|
need_version=no |
| 10870 |
|
hardcode_into_libs=yes |
| 10929 |
|
;; |
| 10930 |
|
|
| 10931 |
|
bsdi[45]*) |
| 10932 |
< |
version_type=linux |
| 10932 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10933 |
|
need_version=no |
| 10934 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 10935 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11068 |
|
;; |
| 11069 |
|
|
| 11070 |
|
dgux*) |
| 11071 |
< |
version_type=linux |
| 11071 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11072 |
|
need_lib_prefix=no |
| 11073 |
|
need_version=no |
| 11074 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 11076 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11077 |
|
;; |
| 11078 |
|
|
| 10685 |
– |
freebsd1*) |
| 10686 |
– |
dynamic_linker=no |
| 10687 |
– |
;; |
| 10688 |
– |
|
| 11079 |
|
freebsd* | dragonfly*) |
| 11080 |
|
# DragonFly does not have aout. When/if they implement a new |
| 11081 |
|
# versioning mechanism, adjust this. |
| 11083 |
|
objformat=`/usr/bin/objformat` |
| 11084 |
|
else |
| 11085 |
|
case $host_os in |
| 11086 |
< |
freebsd[123]*) objformat=aout ;; |
| 11086 |
> |
freebsd[23].*) objformat=aout ;; |
| 11087 |
|
*) objformat=elf ;; |
| 11088 |
|
esac |
| 11089 |
|
fi |
| 11101 |
|
esac |
| 11102 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11103 |
|
case $host_os in |
| 11104 |
< |
freebsd2*) |
| 11104 |
> |
freebsd2.*) |
| 11105 |
|
shlibpath_overrides_runpath=yes |
| 11106 |
|
;; |
| 11107 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
| 11121 |
|
;; |
| 11122 |
|
|
| 11123 |
|
gnu*) |
| 11124 |
< |
version_type=linux |
| 11124 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11125 |
|
need_lib_prefix=no |
| 11126 |
|
need_version=no |
| 11127 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 11128 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11129 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11130 |
+ |
shlibpath_overrides_runpath=no |
| 11131 |
|
hardcode_into_libs=yes |
| 11132 |
|
;; |
| 11133 |
|
|
| 11134 |
|
haiku*) |
| 11135 |
< |
version_type=linux |
| 11135 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11136 |
|
need_lib_prefix=no |
| 11137 |
|
need_version=no |
| 11138 |
|
dynamic_linker="$host_os runtime_loader" |
| 11193 |
|
;; |
| 11194 |
|
|
| 11195 |
|
interix[3-9]*) |
| 11196 |
< |
version_type=linux |
| 11196 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11197 |
|
need_lib_prefix=no |
| 11198 |
|
need_version=no |
| 11199 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11209 |
|
nonstopux*) version_type=nonstopux ;; |
| 11210 |
|
*) |
| 11211 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 11212 |
< |
version_type=linux |
| 11212 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11213 |
|
else |
| 11214 |
|
version_type=irix |
| 11215 |
|
fi ;; |
| 11246 |
|
dynamic_linker=no |
| 11247 |
|
;; |
| 11248 |
|
|
| 11249 |
< |
# This must be Linux ELF. |
| 11249 |
> |
# This must be glibc/ELF. |
| 11250 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 11251 |
< |
version_type=linux |
| 11251 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11252 |
|
need_lib_prefix=no |
| 11253 |
|
need_version=no |
| 11254 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11330 |
|
;; |
| 11331 |
|
|
| 11332 |
|
newsos6) |
| 11333 |
< |
version_type=linux |
| 11333 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11334 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11335 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11336 |
|
shlibpath_overrides_runpath=yes |
| 11399 |
|
;; |
| 11400 |
|
|
| 11401 |
|
solaris*) |
| 11402 |
< |
version_type=linux |
| 11402 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11403 |
|
need_lib_prefix=no |
| 11404 |
|
need_version=no |
| 11405 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11424 |
|
;; |
| 11425 |
|
|
| 11426 |
|
sysv4 | sysv4.3*) |
| 11427 |
< |
version_type=linux |
| 11427 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11428 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11429 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11430 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11448 |
|
|
| 11449 |
|
sysv4*MP*) |
| 11450 |
|
if test -d /usr/nec ;then |
| 11451 |
< |
version_type=linux |
| 11451 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11452 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 11453 |
|
soname_spec='$libname${shared_ext}.$major' |
| 11454 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11479 |
|
|
| 11480 |
|
tpf*) |
| 11481 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 11482 |
< |
version_type=linux |
| 11482 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11483 |
|
need_lib_prefix=no |
| 11484 |
|
need_version=no |
| 11485 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11489 |
|
;; |
| 11490 |
|
|
| 11491 |
|
uts4*) |
| 11492 |
< |
version_type=linux |
| 11492 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11493 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11494 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11495 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12271 |
|
|
| 12272 |
|
|
| 12273 |
|
|
| 12274 |
+ |
|
| 12275 |
+ |
|
| 12276 |
|
ac_config_commands="$ac_config_commands libtool" |
| 12277 |
|
|
| 12278 |
|
|
| 12289 |
|
|
| 12290 |
|
module=yes |
| 12291 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 12292 |
+ |
module=no |
| 12293 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
| 12294 |
|
|
| 12295 |
|
fi |
| 12296 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 12302 |
|
_ACEOF |
| 12303 |
|
|
| 12304 |
|
fi |
| 12305 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
| 12306 |
+ |
|
| 12307 |
+ |
cat >>confdefs.h <<_ACEOF |
| 12308 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
| 12309 |
+ |
_ACEOF |
| 12310 |
+ |
|
| 12311 |
+ |
fi |
| 12312 |
|
|
| 12313 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 12314 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 13353 |
|
|
| 13354 |
|
LIBTOOL="$LIBTOOL --silent" |
| 13355 |
|
|
| 13356 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13357 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13358 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13359 |
+ |
# This bug is HP SR number 8606223364. |
| 13360 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 |
| 13361 |
+ |
$as_echo_n "checking size of short... " >&6; } |
| 13362 |
+ |
if ${ac_cv_sizeof_short+:} false; then : |
| 13363 |
+ |
$as_echo_n "(cached) " >&6 |
| 13364 |
+ |
else |
| 13365 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : |
| 13366 |
+ |
|
| 13367 |
+ |
else |
| 13368 |
+ |
if test "$ac_cv_type_short" = yes; then |
| 13369 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13370 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13371 |
+ |
as_fn_error 77 "cannot compute sizeof (short) |
| 13372 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13373 |
+ |
else |
| 13374 |
+ |
ac_cv_sizeof_short=0 |
| 13375 |
+ |
fi |
| 13376 |
+ |
fi |
| 13377 |
+ |
|
| 13378 |
+ |
fi |
| 13379 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 |
| 13380 |
+ |
$as_echo "$ac_cv_sizeof_short" >&6; } |
| 13381 |
+ |
|
| 13382 |
+ |
|
| 13383 |
+ |
|
| 13384 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13385 |
+ |
#define SIZEOF_SHORT $ac_cv_sizeof_short |
| 13386 |
+ |
_ACEOF |
| 13387 |
+ |
|
| 13388 |
+ |
|
| 13389 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13390 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13391 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13392 |
+ |
# This bug is HP SR number 8606223364. |
| 13393 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
| 13394 |
+ |
$as_echo_n "checking size of int... " >&6; } |
| 13395 |
+ |
if ${ac_cv_sizeof_int+:} false; then : |
| 13396 |
+ |
$as_echo_n "(cached) " >&6 |
| 13397 |
+ |
else |
| 13398 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : |
| 13399 |
+ |
|
| 13400 |
+ |
else |
| 13401 |
+ |
if test "$ac_cv_type_int" = yes; then |
| 13402 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13403 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13404 |
+ |
as_fn_error 77 "cannot compute sizeof (int) |
| 13405 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13406 |
+ |
else |
| 13407 |
+ |
ac_cv_sizeof_int=0 |
| 13408 |
+ |
fi |
| 13409 |
+ |
fi |
| 13410 |
+ |
|
| 13411 |
+ |
fi |
| 13412 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
| 13413 |
+ |
$as_echo "$ac_cv_sizeof_int" >&6; } |
| 13414 |
+ |
|
| 13415 |
+ |
|
| 13416 |
+ |
|
| 13417 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13418 |
+ |
#define SIZEOF_INT $ac_cv_sizeof_int |
| 13419 |
+ |
_ACEOF |
| 13420 |
+ |
|
| 13421 |
+ |
|
| 13422 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13423 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13424 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13425 |
+ |
# This bug is HP SR number 8606223364. |
| 13426 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
| 13427 |
+ |
$as_echo_n "checking size of long... " >&6; } |
| 13428 |
+ |
if ${ac_cv_sizeof_long+:} false; then : |
| 13429 |
+ |
$as_echo_n "(cached) " >&6 |
| 13430 |
+ |
else |
| 13431 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
| 13432 |
+ |
|
| 13433 |
+ |
else |
| 13434 |
+ |
if test "$ac_cv_type_long" = yes; then |
| 13435 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13436 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13437 |
+ |
as_fn_error 77 "cannot compute sizeof (long) |
| 13438 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13439 |
+ |
else |
| 13440 |
+ |
ac_cv_sizeof_long=0 |
| 13441 |
+ |
fi |
| 13442 |
+ |
fi |
| 13443 |
+ |
|
| 13444 |
+ |
fi |
| 13445 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
| 13446 |
+ |
$as_echo "$ac_cv_sizeof_long" >&6; } |
| 13447 |
+ |
|
| 13448 |
+ |
|
| 13449 |
+ |
|
| 13450 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13451 |
+ |
#define SIZEOF_LONG $ac_cv_sizeof_long |
| 13452 |
+ |
_ACEOF |
| 13453 |
+ |
|
| 13454 |
+ |
|
| 13455 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13456 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13457 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13458 |
+ |
# This bug is HP SR number 8606223364. |
| 13459 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 |
| 13460 |
+ |
$as_echo_n "checking size of void *... " >&6; } |
| 13461 |
+ |
if ${ac_cv_sizeof_void_p+:} false; then : |
| 13462 |
+ |
$as_echo_n "(cached) " >&6 |
| 13463 |
+ |
else |
| 13464 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : |
| 13465 |
+ |
|
| 13466 |
+ |
else |
| 13467 |
+ |
if test "$ac_cv_type_void_p" = yes; then |
| 13468 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13469 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13470 |
+ |
as_fn_error 77 "cannot compute sizeof (void *) |
| 13471 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13472 |
+ |
else |
| 13473 |
+ |
ac_cv_sizeof_void_p=0 |
| 13474 |
+ |
fi |
| 13475 |
+ |
fi |
| 13476 |
+ |
|
| 13477 |
+ |
fi |
| 13478 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 |
| 13479 |
+ |
$as_echo "$ac_cv_sizeof_void_p" >&6; } |
| 13480 |
+ |
|
| 13481 |
+ |
|
| 13482 |
+ |
|
| 13483 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13484 |
+ |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
| 13485 |
+ |
_ACEOF |
| 13486 |
+ |
|
| 13487 |
+ |
|
| 13488 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13489 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13490 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13491 |
+ |
# This bug is HP SR number 8606223364. |
| 13492 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
| 13493 |
+ |
$as_echo_n "checking size of int64_t... " >&6; } |
| 13494 |
+ |
if ${ac_cv_sizeof_int64_t+:} false; then : |
| 13495 |
+ |
$as_echo_n "(cached) " >&6 |
| 13496 |
+ |
else |
| 13497 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
| 13498 |
+ |
|
| 13499 |
+ |
else |
| 13500 |
+ |
if test "$ac_cv_type_int64_t" = yes; then |
| 13501 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13502 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13503 |
+ |
as_fn_error 77 "cannot compute sizeof (int64_t) |
| 13504 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13505 |
+ |
else |
| 13506 |
+ |
ac_cv_sizeof_int64_t=0 |
| 13507 |
+ |
fi |
| 13508 |
+ |
fi |
| 13509 |
+ |
|
| 13510 |
+ |
fi |
| 13511 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
| 13512 |
+ |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
| 13513 |
+ |
|
| 13514 |
+ |
|
| 13515 |
+ |
|
| 13516 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13517 |
+ |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 13518 |
+ |
_ACEOF |
| 13519 |
+ |
|
| 13520 |
+ |
|
| 13521 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13522 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13523 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13524 |
+ |
# This bug is HP SR number 8606223364. |
| 13525 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
| 13526 |
+ |
$as_echo_n "checking size of long long... " >&6; } |
| 13527 |
+ |
if ${ac_cv_sizeof_long_long+:} false; then : |
| 13528 |
+ |
$as_echo_n "(cached) " >&6 |
| 13529 |
+ |
else |
| 13530 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
| 13531 |
+ |
|
| 13532 |
+ |
else |
| 13533 |
+ |
if test "$ac_cv_type_long_long" = yes; then |
| 13534 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13535 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13536 |
+ |
as_fn_error 77 "cannot compute sizeof (long long) |
| 13537 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13538 |
+ |
else |
| 13539 |
+ |
ac_cv_sizeof_long_long=0 |
| 13540 |
+ |
fi |
| 13541 |
+ |
fi |
| 13542 |
+ |
|
| 13543 |
+ |
fi |
| 13544 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
| 13545 |
+ |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| 13546 |
+ |
|
| 13547 |
+ |
|
| 13548 |
+ |
|
| 13549 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13550 |
+ |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 13551 |
+ |
_ACEOF |
| 13552 |
+ |
|
| 13553 |
+ |
|
| 13554 |
+ |
|
| 13555 |
+ |
if test "$ac_cv_sizeof_int" = 2 ; then |
| 13556 |
+ |
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" |
| 13557 |
+ |
if test "x$ac_cv_type_int16_t" = xyes; then : |
| 13558 |
+ |
|
| 13559 |
+ |
else |
| 13560 |
+ |
|
| 13561 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13562 |
+ |
#define int16_t int |
| 13563 |
+ |
_ACEOF |
| 13564 |
+ |
|
| 13565 |
+ |
fi |
| 13566 |
+ |
|
| 13567 |
+ |
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
| 13568 |
+ |
if test "x$ac_cv_type_uint16_t" = xyes; then : |
| 13569 |
+ |
|
| 13570 |
+ |
else |
| 13571 |
+ |
|
| 13572 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13573 |
+ |
#define uint16_t unsigned int |
| 13574 |
+ |
_ACEOF |
| 13575 |
+ |
|
| 13576 |
+ |
fi |
| 13577 |
+ |
|
| 13578 |
+ |
elif test "$ac_cv_sizeof_short" = 2 ; then |
| 13579 |
+ |
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" |
| 13580 |
+ |
if test "x$ac_cv_type_int16_t" = xyes; then : |
| 13581 |
+ |
|
| 13582 |
+ |
else |
| 13583 |
+ |
|
| 13584 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13585 |
+ |
#define int16_t short |
| 13586 |
+ |
_ACEOF |
| 13587 |
+ |
|
| 13588 |
+ |
fi |
| 13589 |
+ |
|
| 13590 |
+ |
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
| 13591 |
+ |
if test "x$ac_cv_type_uint16_t" = xyes; then : |
| 13592 |
+ |
|
| 13593 |
+ |
else |
| 13594 |
+ |
|
| 13595 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13596 |
+ |
#define uint16_t unsigned short |
| 13597 |
+ |
_ACEOF |
| 13598 |
+ |
|
| 13599 |
+ |
fi |
| 13600 |
+ |
|
| 13601 |
+ |
else |
| 13602 |
+ |
as_fn_error $? "Cannot find a type with size of 16 bits" "$LINENO" 5 |
| 13603 |
+ |
fi |
| 13604 |
+ |
if test "$ac_cv_sizeof_int" = 4 ; then |
| 13605 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13606 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13607 |
+ |
|
| 13608 |
+ |
else |
| 13609 |
+ |
|
| 13610 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13611 |
+ |
#define int32_t int |
| 13612 |
+ |
_ACEOF |
| 13613 |
+ |
|
| 13614 |
+ |
fi |
| 13615 |
+ |
|
| 13616 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13617 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13618 |
+ |
|
| 13619 |
+ |
else |
| 13620 |
+ |
|
| 13621 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13622 |
+ |
#define uint32_t unsigned int |
| 13623 |
+ |
_ACEOF |
| 13624 |
+ |
|
| 13625 |
+ |
fi |
| 13626 |
+ |
|
| 13627 |
+ |
elif test "$ac_cv_sizeof_short" = 4 ; then |
| 13628 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13629 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13630 |
+ |
|
| 13631 |
+ |
else |
| 13632 |
+ |
|
| 13633 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13634 |
+ |
#define int32_t short |
| 13635 |
+ |
_ACEOF |
| 13636 |
+ |
|
| 13637 |
+ |
fi |
| 13638 |
+ |
|
| 13639 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13640 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13641 |
+ |
|
| 13642 |
+ |
else |
| 13643 |
+ |
|
| 13644 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13645 |
+ |
#define uint32_t unsigned short |
| 13646 |
+ |
_ACEOF |
| 13647 |
+ |
|
| 13648 |
+ |
fi |
| 13649 |
+ |
|
| 13650 |
+ |
elif test "$ac_cv_sizeof_long" = 4 ; then |
| 13651 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13652 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13653 |
+ |
|
| 13654 |
+ |
else |
| 13655 |
+ |
|
| 13656 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13657 |
+ |
#define int32_t long |
| 13658 |
+ |
_ACEOF |
| 13659 |
+ |
|
| 13660 |
+ |
fi |
| 13661 |
+ |
|
| 13662 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13663 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13664 |
+ |
|
| 13665 |
+ |
else |
| 13666 |
+ |
|
| 13667 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13668 |
+ |
#define uint32_t unsigned long |
| 13669 |
+ |
_ACEOF |
| 13670 |
+ |
|
| 13671 |
+ |
fi |
| 13672 |
+ |
|
| 13673 |
+ |
else |
| 13674 |
+ |
as_fn_error $? "Cannot find a type with size of 32 bits" "$LINENO" 5 |
| 13675 |
+ |
fi |
| 13676 |
+ |
if test "$ac_cv_sizeof_int64_t" = 8 ; then |
| 13677 |
+ |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 13678 |
+ |
if test "x$ac_cv_type_int64_t" = xyes; then : |
| 13679 |
+ |
|
| 13680 |
+ |
fi |
| 13681 |
+ |
|
| 13682 |
+ |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 13683 |
+ |
if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 13684 |
+ |
|
| 13685 |
+ |
fi |
| 13686 |
+ |
|
| 13687 |
+ |
elif test "$ac_cv_sizeof_long_long" = 8 ; then |
| 13688 |
+ |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 13689 |
+ |
if test "x$ac_cv_type_int64_t" = xyes; then : |
| 13690 |
+ |
|
| 13691 |
+ |
else |
| 13692 |
+ |
|
| 13693 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13694 |
+ |
#define int64_t long long |
| 13695 |
+ |
_ACEOF |
| 13696 |
+ |
|
| 13697 |
+ |
fi |
| 13698 |
+ |
|
| 13699 |
+ |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 13700 |
+ |
if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 13701 |
+ |
|
| 13702 |
+ |
else |
| 13703 |
+ |
|
| 13704 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13705 |
+ |
#define uint64_t unsigned long long |
| 13706 |
+ |
_ACEOF |
| 13707 |
+ |
|
| 13708 |
+ |
fi |
| 13709 |
+ |
|
| 13710 |
+ |
else |
| 13711 |
+ |
as_fn_error $? "Cannot find a type with size of 64 bits" "$LINENO" 5 |
| 13712 |
+ |
fi |
| 13713 |
+ |
|
| 13714 |
+ |
|
| 13715 |
|
# Checks for libraries. |
| 13716 |
|
|
| 13717 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13718 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13719 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13717 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13718 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13719 |
> |
|
| 13720 |
> |
else |
| 13721 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13722 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13723 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13724 |
|
$as_echo_n "(cached) " >&6 |
| 13725 |
|
else |
| 13726 |
|
ac_func_search_save_LIBS=$LIBS |
| 13733 |
|
#ifdef __cplusplus |
| 13734 |
|
extern "C" |
| 13735 |
|
#endif |
| 13736 |
< |
char socket (); |
| 13736 |
> |
char getaddrinfo (); |
| 13737 |
|
int |
| 13738 |
|
main () |
| 13739 |
|
{ |
| 13740 |
< |
return socket (); |
| 13740 |
> |
return getaddrinfo (); |
| 13741 |
|
; |
| 13742 |
|
return 0; |
| 13743 |
|
} |
| 13744 |
|
_ACEOF |
| 13745 |
< |
for ac_lib in '' socket; do |
| 13745 |
> |
for ac_lib in '' nsl; do |
| 13746 |
|
if test -z "$ac_lib"; then |
| 13747 |
|
ac_res="none required" |
| 13748 |
|
else |
| 13750 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13751 |
|
fi |
| 13752 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13753 |
< |
ac_cv_search_socket=$ac_res |
| 13753 |
> |
ac_cv_search_getaddrinfo=$ac_res |
| 13754 |
|
fi |
| 13755 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13756 |
|
conftest$ac_exeext |
| 13757 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13757 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13758 |
|
break |
| 13759 |
|
fi |
| 13760 |
|
done |
| 13761 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13761 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13762 |
|
|
| 13763 |
|
else |
| 13764 |
< |
ac_cv_search_socket=no |
| 13764 |
> |
ac_cv_search_getaddrinfo=no |
| 13765 |
|
fi |
| 13766 |
|
rm conftest.$ac_ext |
| 13767 |
|
LIBS=$ac_func_search_save_LIBS |
| 13768 |
|
fi |
| 13769 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13770 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13771 |
< |
ac_res=$ac_cv_search_socket |
| 13769 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13770 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13771 |
> |
ac_res=$ac_cv_search_getaddrinfo |
| 13772 |
|
if test "$ac_res" != no; then : |
| 13773 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13774 |
|
|
| 13010 |
– |
else |
| 13011 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13775 |
|
fi |
| 13776 |
|
|
| 13777 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13778 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13779 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13777 |
> |
fi |
| 13778 |
> |
|
| 13779 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13780 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13781 |
> |
|
| 13782 |
> |
else |
| 13783 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13784 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13785 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13786 |
|
$as_echo_n "(cached) " >&6 |
| 13787 |
|
else |
| 13788 |
|
ac_func_search_save_LIBS=$LIBS |
| 13795 |
|
#ifdef __cplusplus |
| 13796 |
|
extern "C" |
| 13797 |
|
#endif |
| 13798 |
< |
char inet_ntoa (); |
| 13798 |
> |
char getnameinfo (); |
| 13799 |
|
int |
| 13800 |
|
main () |
| 13801 |
|
{ |
| 13802 |
< |
return inet_ntoa (); |
| 13802 |
> |
return getnameinfo (); |
| 13803 |
|
; |
| 13804 |
|
return 0; |
| 13805 |
|
} |
| 13812 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13813 |
|
fi |
| 13814 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13815 |
< |
ac_cv_search_inet_ntoa=$ac_res |
| 13815 |
> |
ac_cv_search_getnameinfo=$ac_res |
| 13816 |
|
fi |
| 13817 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13818 |
|
conftest$ac_exeext |
| 13819 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13819 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13820 |
|
break |
| 13821 |
|
fi |
| 13822 |
|
done |
| 13823 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13823 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13824 |
|
|
| 13825 |
|
else |
| 13826 |
< |
ac_cv_search_inet_ntoa=no |
| 13826 |
> |
ac_cv_search_getnameinfo=no |
| 13827 |
|
fi |
| 13828 |
|
rm conftest.$ac_ext |
| 13829 |
|
LIBS=$ac_func_search_save_LIBS |
| 13830 |
|
fi |
| 13831 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13832 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13833 |
< |
ac_res=$ac_cv_search_inet_ntoa |
| 13831 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13832 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13833 |
> |
ac_res=$ac_cv_search_getnameinfo |
| 13834 |
|
if test "$ac_res" != no; then : |
| 13835 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13836 |
|
|
| 13837 |
|
fi |
| 13838 |
|
|
| 13839 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13840 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13841 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13839 |
> |
fi |
| 13840 |
> |
|
| 13841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13842 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13843 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13844 |
|
$as_echo_n "(cached) " >&6 |
| 13845 |
|
else |
| 13846 |
|
ac_func_search_save_LIBS=$LIBS |
| 13853 |
|
#ifdef __cplusplus |
| 13854 |
|
extern "C" |
| 13855 |
|
#endif |
| 13856 |
< |
char inet_aton (); |
| 13856 |
> |
char socket (); |
| 13857 |
|
int |
| 13858 |
|
main () |
| 13859 |
|
{ |
| 13860 |
< |
return inet_aton (); |
| 13860 |
> |
return socket (); |
| 13861 |
|
; |
| 13862 |
|
return 0; |
| 13863 |
|
} |
| 13864 |
|
_ACEOF |
| 13865 |
< |
for ac_lib in '' resolv; do |
| 13865 |
> |
for ac_lib in '' socket; do |
| 13866 |
|
if test -z "$ac_lib"; then |
| 13867 |
|
ac_res="none required" |
| 13868 |
|
else |
| 13870 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13871 |
|
fi |
| 13872 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13873 |
< |
ac_cv_search_inet_aton=$ac_res |
| 13873 |
> |
ac_cv_search_socket=$ac_res |
| 13874 |
|
fi |
| 13875 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13876 |
|
conftest$ac_exeext |
| 13877 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13877 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13878 |
|
break |
| 13879 |
|
fi |
| 13880 |
|
done |
| 13881 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13881 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13882 |
|
|
| 13883 |
|
else |
| 13884 |
< |
ac_cv_search_inet_aton=no |
| 13884 |
> |
ac_cv_search_socket=no |
| 13885 |
|
fi |
| 13886 |
|
rm conftest.$ac_ext |
| 13887 |
|
LIBS=$ac_func_search_save_LIBS |
| 13888 |
|
fi |
| 13889 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13890 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13891 |
< |
ac_res=$ac_cv_search_inet_aton |
| 13889 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13890 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13891 |
> |
ac_res=$ac_cv_search_socket |
| 13892 |
|
if test "$ac_res" != no; then : |
| 13893 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13894 |
|
|
| 13895 |
+ |
else |
| 13896 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13897 |
|
fi |
| 13898 |
|
|
| 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 |
– |
|
| 13899 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13900 |
|
#include <sys/socket.h> |
| 13901 |
|
#include <netdb.h> |
| 13950 |
|
|
| 13951 |
|
|
| 13952 |
|
|
| 13953 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
| 13953 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13954 |
> |
" |
| 13955 |
|
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13956 |
|
|
| 13195 |
– |
cat >>confdefs.h <<_ACEOF |
| 13196 |
– |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
| 13197 |
– |
_ACEOF |
| 13198 |
– |
|
| 13199 |
– |
|
| 13200 |
– |
else |
| 13201 |
– |
|
| 13957 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
| 13958 |
|
|
| 13959 |
|
fi |
| 14212 |
|
|
| 14213 |
|
|
| 14214 |
|
|
| 13460 |
– |
|
| 13461 |
– |
|
| 14215 |
|
# Checks for header files. |
| 14216 |
|
|
| 14217 |
|
|
| 14246 |
|
|
| 14247 |
|
|
| 14248 |
|
|
| 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 |
– |
|
| 14249 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 14250 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 14251 |
|
if ${ac_cv_search_crypt+:} false; then : |
| 14303 |
|
fi |
| 14304 |
|
|
| 14305 |
|
|
| 14306 |
< |
|
| 14307 |
< |
|
| 14308 |
< |
# Check whether --with-zlib-path was given. |
| 14309 |
< |
if test "${with_zlib_path+set}" = set; then : |
| 14310 |
< |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 14311 |
< |
fi |
| 14312 |
< |
|
| 14313 |
< |
|
| 14314 |
< |
# 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 : |
| 14306 |
> |
# Check whether --enable-libgeoip was given. |
| 14307 |
> |
if test "${enable_libgeoip+set}" = set; then : |
| 14308 |
> |
enableval=$enable_libgeoip; |
| 14309 |
> |
else |
| 14310 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 14311 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 14312 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14313 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 14314 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14315 |
|
$as_echo_n "(cached) " >&6 |
| 14316 |
|
else |
| 14317 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 13609 |
< |
LIBS="-lz $LIBS" |
| 14317 |
> |
ac_func_search_save_LIBS=$LIBS |
| 14318 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14319 |
|
/* end confdefs.h. */ |
| 14320 |
|
|
| 14324 |
|
#ifdef __cplusplus |
| 14325 |
|
extern "C" |
| 14326 |
|
#endif |
| 14327 |
< |
char zlibVersion (); |
| 14327 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 14328 |
|
int |
| 14329 |
|
main () |
| 14330 |
|
{ |
| 14331 |
< |
return zlibVersion (); |
| 14331 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
| 14332 |
|
; |
| 14333 |
|
return 0; |
| 14334 |
|
} |
| 14335 |
|
_ACEOF |
| 14336 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 14337 |
< |
ac_cv_lib_z_zlibVersion=yes |
| 14338 |
< |
else |
| 14339 |
< |
ac_cv_lib_z_zlibVersion=no |
| 14336 |
> |
for ac_lib in '' GeoIP; do |
| 14337 |
> |
if test -z "$ac_lib"; then |
| 14338 |
> |
ac_res="none required" |
| 14339 |
> |
else |
| 14340 |
> |
ac_res=-l$ac_lib |
| 14341 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14342 |
> |
fi |
| 14343 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14344 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 14345 |
|
fi |
| 14346 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14347 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 14348 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 14349 |
< |
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" |
| 14347 |
> |
conftest$ac_exeext |
| 14348 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14349 |
> |
break |
| 14350 |
|
fi |
| 14351 |
+ |
done |
| 14352 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14353 |
|
|
| 13665 |
– |
|
| 13666 |
– |
# Check whether --enable-libpcre was given. |
| 13667 |
– |
if test "${enable_libpcre+set}" = set; then : |
| 13668 |
– |
enableval=$enable_libpcre; libpcre=$enableval |
| 14354 |
|
else |
| 14355 |
< |
libpcre=yes |
| 14355 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 14356 |
|
fi |
| 14357 |
< |
|
| 14358 |
< |
|
| 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 |
| 13682 |
< |
else |
| 13683 |
< |
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 |
| 13707 |
< |
fi |
| 13708 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13709 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13710 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 14357 |
> |
rm conftest.$ac_ext |
| 14358 |
> |
LIBS=$ac_func_search_save_LIBS |
| 14359 |
|
fi |
| 14360 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 14361 |
< |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 14362 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
| 14363 |
< |
|
| 14364 |
< |
LIBS="-lpcre $LIBS" |
| 13717 |
< |
|
| 13718 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 14360 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14361 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 14362 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 14363 |
> |
if test "$ac_res" != no; then : |
| 14364 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14365 |
|
|
| 14366 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 14367 |
|
|
| 13721 |
– |
else |
| 13722 |
– |
libpcre=no |
| 14368 |
|
fi |
| 14369 |
|
|
| 13725 |
– |
|
| 13726 |
– |
else |
| 13727 |
– |
libpcre=no |
| 14370 |
|
fi |
| 14371 |
|
|
| 14372 |
|
|
| 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= |
| 14373 |
|
fi |
| 14374 |
|
|
| 14375 |
|
|
| 13742 |
– |
|
| 14376 |
|
# Check whether --enable-openssl was given. |
| 14377 |
|
if test "${enable_openssl+set}" = set; then : |
| 14378 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 14412 |
|
fi |
| 14413 |
|
|
| 14414 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 13782 |
– |
LIBS="-lcrypto -lssl $LIBS" |
| 14415 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 14416 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
| 14417 |
|
cf_enable_openssl="yes" |
| 13786 |
– |
|
| 13787 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13788 |
– |
|
| 14418 |
|
else |
| 14419 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 14420 |
|
$as_echo "not found. Please check your path." >&6; } |
| 14427 |
|
fi |
| 14428 |
|
|
| 14429 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 14430 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 14431 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 14430 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 14431 |
> |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 14432 |
|
if test "$cross_compiling" = yes; then : |
| 14433 |
|
cf_openssl_version_ok=no |
| 14434 |
|
else |
| 14441 |
|
int |
| 14442 |
|
main () |
| 14443 |
|
{ |
| 14444 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 14444 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 14445 |
|
; |
| 14446 |
|
return 0; |
| 14447 |
|
} |
| 14506 |
|
fi |
| 14507 |
|
|
| 14508 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 14509 |
< |
for ac_func in EVP_bf_cfb \ |
| 14510 |
< |
EVP_cast5_cfb \ |
| 14511 |
< |
EVP_idea_cfb \ |
| 14512 |
< |
EVP_rc5_32_12_16_cfb \ |
| 14513 |
< |
EVP_des_ede3_cfb \ |
| 14514 |
< |
EVP_des_cfb |
| 14515 |
< |
do : |
| 14516 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14517 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14518 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14509 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 14510 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 14511 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 14512 |
> |
$as_echo_n "(cached) " >&6 |
| 14513 |
> |
else |
| 14514 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14515 |
> |
LIBS="-lssl $LIBS" |
| 14516 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14517 |
> |
/* end confdefs.h. */ |
| 14518 |
> |
|
| 14519 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 14520 |
> |
Use char because int might match the return type of a GCC |
| 14521 |
> |
builtin and then its argument prototype would still apply. */ |
| 14522 |
> |
#ifdef __cplusplus |
| 14523 |
> |
extern "C" |
| 14524 |
> |
#endif |
| 14525 |
> |
char SSL_connect (); |
| 14526 |
> |
int |
| 14527 |
> |
main () |
| 14528 |
> |
{ |
| 14529 |
> |
return SSL_connect (); |
| 14530 |
> |
; |
| 14531 |
> |
return 0; |
| 14532 |
> |
} |
| 14533 |
> |
_ACEOF |
| 14534 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14535 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
| 14536 |
> |
else |
| 14537 |
> |
ac_cv_lib_ssl_SSL_connect=no |
| 14538 |
> |
fi |
| 14539 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 14540 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14541 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14542 |
> |
fi |
| 14543 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 14544 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 14545 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 14546 |
|
cat >>confdefs.h <<_ACEOF |
| 14547 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14547 |
> |
#define HAVE_LIBSSL 1 |
| 14548 |
|
_ACEOF |
| 14549 |
|
|
| 14550 |
+ |
LIBS="-lssl $LIBS" |
| 14551 |
+ |
|
| 14552 |
|
fi |
| 13895 |
– |
done |
| 14553 |
|
|
| 14554 |
|
fi |
| 14555 |
|
|
| 14560 |
|
fi |
| 14561 |
|
fi |
| 14562 |
|
|
| 14563 |
< |
if test "$cf_enable_openssl" = yes; then |
| 14563 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 14564 |
|
ENABLE_SSL_TRUE= |
| 14565 |
|
ENABLE_SSL_FALSE='#' |
| 14566 |
|
else |
| 14585 |
|
fi |
| 14586 |
|
|
| 14587 |
|
|
| 14588 |
< |
# 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 |
< |
|
| 14588 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14589 |
|
|
| 13960 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 14590 |
|
|
| 14591 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14592 |
|
|
| 13963 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 14593 |
|
|
| 14594 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14595 |
|
|
| 13966 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14596 |
|
|
| 14597 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14598 |
|
|
| 13969 |
– |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13970 |
– |
|
| 13971 |
– |
else |
| 14599 |
|
|
| 14600 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14601 |
|
|
| 14602 |
|
|
| 14603 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 14603 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14604 |
|
|
| 14605 |
|
|
| 14606 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 14606 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14607 |
|
|
| 14608 |
|
|
| 14609 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 14609 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14610 |
|
|
| 14611 |
|
|
| 14612 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 14612 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14613 |
|
|
| 14614 |
|
|
| 14615 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14615 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14616 |
|
|
| 14617 |
|
|
| 14618 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14618 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14619 |
|
|
| 14620 |
|
|
| 14621 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14621 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14622 |
|
|
| 14623 |
|
|
| 14624 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 14624 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14625 |
|
|
| 14626 |
|
|
| 14627 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 14000 |
< |
|
| 14001 |
< |
|
| 14002 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 14003 |
< |
|
| 14004 |
< |
fi |
| 14627 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14628 |
|
|
| 14629 |
|
|
| 14630 |
|
# Argument processing. |
| 14645 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 14646 |
|
fi |
| 14647 |
|
|
| 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 |
– |
|
| 14648 |
|
# Check whether --enable-poll was given. |
| 14649 |
|
if test "${enable_poll+set}" = set; then : |
| 14650 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14828 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14829 |
|
|
| 14830 |
|
fi |
| 14831 |
< |
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 |
| 14831 |
> |
iopoll_mechanism_poll=4 |
| 14832 |
|
|
| 14833 |
|
cat >>confdefs.h <<_ACEOF |
| 14834 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14882 |
|
fi |
| 14883 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14884 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14885 |
< |
iopoll_mechanism_select=6 |
| 14885 |
> |
iopoll_mechanism_select=5 |
| 14886 |
|
|
| 14887 |
|
cat >>confdefs.h <<_ACEOF |
| 14888 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14937 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14938 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14939 |
|
optimal_iopoll_mechanism="none" |
| 14940 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14940 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14941 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14942 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14943 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14974 |
|
|
| 14975 |
|
|
| 14976 |
|
|
| 14400 |
– |
|
| 14401 |
– |
# Check whether --with-nicklen was given. |
| 14402 |
– |
if test "${with_nicklen+set}" = set; then : |
| 14403 |
– |
withval=$with_nicklen; nicklen="$withval" |
| 14404 |
– |
else |
| 14405 |
– |
nicklen="9" |
| 14406 |
– |
fi |
| 14407 |
– |
|
| 14408 |
– |
|
| 14409 |
– |
cat >>confdefs.h <<_ACEOF |
| 14410 |
– |
#define NICKLEN ($nicklen+1) |
| 14411 |
– |
_ACEOF |
| 14412 |
– |
|
| 14413 |
– |
|
| 14414 |
– |
|
| 14415 |
– |
|
| 14416 |
– |
# Check whether --with-topiclen was given. |
| 14417 |
– |
if test "${with_topiclen+set}" = set; then : |
| 14418 |
– |
withval=$with_topiclen; topiclen="$withval" |
| 14419 |
– |
else |
| 14420 |
– |
topiclen="160" |
| 14421 |
– |
fi |
| 14422 |
– |
|
| 14423 |
– |
|
| 14424 |
– |
cat >>confdefs.h <<_ACEOF |
| 14425 |
– |
#define TOPICLEN ($topiclen) |
| 14426 |
– |
_ACEOF |
| 14427 |
– |
|
| 14428 |
– |
|
| 14429 |
– |
|
| 14430 |
– |
|
| 14431 |
– |
# Check whether --with-syslog-facility was given. |
| 14432 |
– |
if test "${with_syslog_facility+set}" = set; then : |
| 14433 |
– |
withval=$with_syslog_facility; syslog_facility="$withval" |
| 14434 |
– |
else |
| 14435 |
– |
syslog_facility="LOG_LOCAL4" |
| 14436 |
– |
fi |
| 14437 |
– |
|
| 14438 |
– |
|
| 14439 |
– |
cat >>confdefs.h <<_ACEOF |
| 14440 |
– |
#define LOG_FACILITY $syslog_facility |
| 14441 |
– |
_ACEOF |
| 14442 |
– |
|
| 14443 |
– |
|
| 14444 |
– |
|
| 14445 |
– |
# Check whether --enable-efnet was given. |
| 14446 |
– |
if test "${enable_efnet+set}" = set; then : |
| 14447 |
– |
enableval=$enable_efnet; efnet="$enableval" |
| 14448 |
– |
else |
| 14449 |
– |
efnet="no" |
| 14450 |
– |
fi |
| 14451 |
– |
|
| 14452 |
– |
if test "$efnet" = "yes" ; then |
| 14453 |
– |
use_efnet="yes" |
| 14454 |
– |
|
| 14455 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
| 14456 |
– |
|
| 14457 |
– |
|
| 14458 |
– |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 14459 |
– |
|
| 14460 |
– |
else |
| 14461 |
– |
use_efnet="no" |
| 14462 |
– |
fi |
| 14463 |
– |
if test "$use_efnet" = "yes"; then |
| 14464 |
– |
EFNET_TRUE= |
| 14465 |
– |
EFNET_FALSE='#' |
| 14466 |
– |
else |
| 14467 |
– |
EFNET_TRUE='#' |
| 14468 |
– |
EFNET_FALSE= |
| 14469 |
– |
fi |
| 14470 |
– |
|
| 14471 |
– |
|
| 14472 |
– |
|
| 14977 |
|
# Check whether --enable-halfops was given. |
| 14978 |
|
if test "${enable_halfops+set}" = set; then : |
| 14979 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 14996 |
|
fi |
| 14997 |
|
|
| 14998 |
|
if test "$debugging" = "yes" ; then |
| 14495 |
– |
|
| 14496 |
– |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 14497 |
– |
|
| 14999 |
|
CFLAGS="-Wall -g -O0" |
| 14499 |
– |
else |
| 14500 |
– |
|
| 14501 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 14502 |
– |
|
| 15000 |
|
fi |
| 15001 |
|
|
| 15002 |
|
|
| 15012 |
|
fi |
| 15013 |
|
|
| 15014 |
|
|
| 14518 |
– |
for ac_header in syslog.h sys/syslog.h |
| 14519 |
– |
do : |
| 14520 |
– |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14521 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 14522 |
– |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 14523 |
– |
cat >>confdefs.h <<_ACEOF |
| 14524 |
– |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 14525 |
– |
_ACEOF |
| 14526 |
– |
|
| 14527 |
– |
fi |
| 14528 |
– |
|
| 14529 |
– |
done |
| 14530 |
– |
|
| 14531 |
– |
# Check whether --enable-syslog was given. |
| 14532 |
– |
if test "${enable_syslog+set}" = set; then : |
| 14533 |
– |
enableval=$enable_syslog; syslog="$enableval" |
| 14534 |
– |
else |
| 14535 |
– |
syslog="no" |
| 14536 |
– |
fi |
| 14537 |
– |
|
| 14538 |
– |
if test "$enableval" != "no" ; then |
| 14539 |
– |
for option in $enableval ; do |
| 14540 |
– |
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 |
| 14551 |
– |
|
| 14552 |
– |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
| 14553 |
– |
|
| 14554 |
– |
fi |
| 14555 |
– |
|
| 14556 |
– |
|
| 15015 |
|
|
| 15016 |
|
prefix_NONE= |
| 15017 |
|
exec_prefix_NONE= |
| 15098 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 15099 |
|
|
| 15100 |
|
|
| 15101 |
< |
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" |
| 15101 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 15102 |
|
|
| 15103 |
|
|
| 15104 |
|
cat >confcache <<\_ACEOF |
| 15210 |
|
LTLIBOBJS=$ac_ltlibobjs |
| 15211 |
|
|
| 15212 |
|
|
| 15213 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 15214 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 15215 |
+ |
if test -n "$am_sleep_pid"; then |
| 15216 |
+ |
# Hide warnings about reused PIDs. |
| 15217 |
+ |
wait $am_sleep_pid 2>/dev/null |
| 15218 |
+ |
fi |
| 15219 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 15220 |
+ |
$as_echo "done" >&6; } |
| 15221 |
|
if test -n "$EXEEXT"; then |
| 15222 |
|
am__EXEEXT_TRUE= |
| 15223 |
|
am__EXEEXT_FALSE='#' |
| 15264 |
|
|
| 15265 |
|
|
| 15266 |
|
|
| 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 |
| 15267 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 15268 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 15269 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 15270 |
|
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 |
| 15271 |
|
|
| 15272 |
|
: "${CONFIG_STATUS=./config.status}" |
| 15273 |
|
ac_write_fail=0 |
| 15566 |
|
# ... but there are two gotchas: |
| 15567 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 15568 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 15569 |
< |
# In both cases, we have to default to `cp -p'. |
| 15569 |
> |
# In both cases, we have to default to `cp -pR'. |
| 15570 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 15571 |
< |
as_ln_s='cp -p' |
| 15571 |
> |
as_ln_s='cp -pR' |
| 15572 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 15573 |
|
as_ln_s=ln |
| 15574 |
|
else |
| 15575 |
< |
as_ln_s='cp -p' |
| 15575 |
> |
as_ln_s='cp -pR' |
| 15576 |
|
fi |
| 15577 |
|
else |
| 15578 |
< |
as_ln_s='cp -p' |
| 15578 |
> |
as_ln_s='cp -pR' |
| 15579 |
|
fi |
| 15580 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 15581 |
|
rmdir conf$$.dir 2>/dev/null |
| 15635 |
|
as_mkdir_p=false |
| 15636 |
|
fi |
| 15637 |
|
|
| 15638 |
< |
if test -x / >/dev/null 2>&1; then |
| 15639 |
< |
as_test_x='test -x' |
| 15640 |
< |
else |
| 15641 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 15642 |
< |
as_ls_L_option=L |
| 15643 |
< |
else |
| 15644 |
< |
as_ls_L_option= |
| 15645 |
< |
fi |
| 15646 |
< |
as_test_x=' |
| 15647 |
< |
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 |
| 15638 |
> |
|
| 15639 |
> |
# as_fn_executable_p FILE |
| 15640 |
> |
# ----------------------- |
| 15641 |
> |
# Test if FILE is an executable regular file. |
| 15642 |
> |
as_fn_executable_p () |
| 15643 |
> |
{ |
| 15644 |
> |
test -f "$1" && test -x "$1" |
| 15645 |
> |
} # as_fn_executable_p |
| 15646 |
> |
as_test_x='test -x' |
| 15647 |
> |
as_executable_p=as_fn_executable_p |
| 15648 |
|
|
| 15649 |
|
# Sed expression to map a string onto a valid CPP name. |
| 15650 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 15665 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15666 |
|
# values after options handling. |
| 15667 |
|
ac_log=" |
| 15668 |
< |
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
| 15669 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
| 15668 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 15669 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 15670 |
|
|
| 15671 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15672 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 15731 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15732 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15733 |
|
ac_cs_version="\\ |
| 15734 |
< |
ircd-hybrid config.status 7.3-rc1 |
| 15735 |
< |
configured by $0, generated by GNU Autoconf 2.68, |
| 15734 |
> |
ircd-hybrid config.status TRUNK |
| 15735 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
| 15736 |
|
with options \\"\$ac_cs_config\\" |
| 15737 |
|
|
| 15738 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 15738 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 15739 |
|
This config.status script is free software; the Free Software Foundation |
| 15740 |
|
gives unlimited permission to copy, distribute and modify it." |
| 15741 |
|
|
| 15826 |
|
_ACEOF |
| 15827 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15828 |
|
if \$ac_cs_recheck; then |
| 15829 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 15829 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 15830 |
|
shift |
| 15831 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 15832 |
|
CONFIG_SHELL='$SHELL' |
| 15868 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 15869 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 15870 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 15871 |
+ |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 15872 |
|
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 15873 |
|
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 15874 |
|
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 15951 |
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 15952 |
|
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 15953 |
|
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"`' |
| 15954 |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 15955 |
|
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 15956 |
|
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 16006 |
|
# Quote evaled strings. |
| 16007 |
|
for var in SHELL \ |
| 16008 |
|
ECHO \ |
| 16009 |
+ |
PATH_SEPARATOR \ |
| 16010 |
|
SED \ |
| 16011 |
|
GREP \ |
| 16012 |
|
EGREP \ |
| 16057 |
|
allow_undefined_flag \ |
| 16058 |
|
no_undefined_flag \ |
| 16059 |
|
hardcode_libdir_flag_spec \ |
| 15613 |
– |
hardcode_libdir_flag_spec_ld \ |
| 16060 |
|
hardcode_libdir_separator \ |
| 16061 |
|
exclude_expsyms \ |
| 16062 |
|
include_expsyms \ |
| 16141 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16142 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16143 |
|
"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" ;; |
| 16144 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 16145 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15704 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 16146 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 16147 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 16148 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16149 |
|
"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" ;; |
| 16150 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 16151 |
|
|
| 16152 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 16744 |
|
|
| 16745 |
|
case $ac_file$ac_mode in |
| 16746 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 16747 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 16747 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16748 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16749 |
|
# if we detect the quoting. |
| 16750 |
|
case $CONFIG_FILES in |
| 16757 |
|
# Strip MF so we end up with the name of the file. |
| 16758 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 16759 |
|
# Check whether this is an Automake generated Makefile or not. |
| 16760 |
< |
# We used to match only the files named `Makefile.in', but |
| 16760 |
> |
# We used to match only the files named 'Makefile.in', but |
| 16761 |
|
# some people rename them; so instead we look at the file content. |
| 16762 |
|
# Grep'ing the first line is not enough: some people post-process |
| 16763 |
|
# each Makefile.in and add a new line on top of each file to say so. |
| 16791 |
|
continue |
| 16792 |
|
fi |
| 16793 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
| 16794 |
< |
# from the Makefile without running `make'. |
| 16794 |
> |
# from the Makefile without running 'make'. |
| 16795 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16796 |
|
test -z "$DEPDIR" && continue |
| 16797 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16798 |
< |
test -z "am__include" && continue |
| 16798 |
> |
test -z "$am__include" && continue |
| 16799 |
|
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"` |
| 16800 |
|
# Find all dependency output files, they are included files with |
| 16801 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 16802 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 16803 |
|
# expansion. |
| 16804 |
|
for file in `sed -n " |
| 16805 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 16806 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 16806 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 16807 |
|
# Make sure the directory exists. |
| 16808 |
|
test -f "$dirpart/$file" && continue |
| 16809 |
|
fdir=`$as_dirname -- "$file" || |
| 16857 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 16858 |
|
# |
| 16859 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 16860 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 16861 |
< |
# Inc. |
| 16860 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 16861 |
> |
# Foundation, Inc. |
| 16862 |
|
# Written by Gordon Matzigkeit, 1996 |
| 16863 |
|
# |
| 16864 |
|
# This file is part of GNU Libtool. |
| 16912 |
|
# An echo program that protects backslashes. |
| 16913 |
|
ECHO=$lt_ECHO |
| 16914 |
|
|
| 16915 |
+ |
# The PATH separator for the build system. |
| 16916 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 16917 |
+ |
|
| 16918 |
|
# The host system. |
| 16919 |
|
host_alias=$host_alias |
| 16920 |
|
host=$host |
| 17216 |
|
# This must work even if \$libdir does not exist |
| 17217 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 17218 |
|
|
| 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 |
– |
|
| 17219 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
| 17220 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 17221 |
|
|