| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2481 2013-10-23 16:38:58Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.67 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 |
| 90 |
|
IFS=" "" $as_nl" |
| 91 |
|
|
| 92 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 93 |
+ |
as_myself= |
| 94 |
|
case $0 in #(( |
| 95 |
|
*[\\/]* ) as_myself=$0 ;; |
| 96 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 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 |
< |
BASH_ENV=/dev/null |
| 254 |
< |
ENV=/dev/null |
| 255 |
< |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 256 |
< |
export CONFIG_SHELL |
| 257 |
< |
exec "$CONFIG_SHELL" "$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' |
| 513 |
< |
else |
| 514 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 515 |
< |
as_ls_L_option=L |
| 516 |
< |
else |
| 517 |
< |
as_ls_L_option= |
| 518 |
< |
fi |
| 519 |
< |
as_test_x=' |
| 520 |
< |
eval sh -c '\'' |
| 521 |
< |
if test -d "$1"; then |
| 522 |
< |
test -d "$1/."; |
| 523 |
< |
else |
| 524 |
< |
case $1 in #( |
| 525 |
< |
-*)set "./$1";; |
| 526 |
< |
esac; |
| 527 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 528 |
< |
???[sx]*):;;*)false;;esac;fi |
| 529 |
< |
'\'' sh |
| 530 |
< |
' |
| 531 |
< |
fi |
| 532 |
< |
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 |
| 623 |
– |
EFNET_FALSE |
| 624 |
– |
EFNET_TRUE |
| 651 |
|
ENABLE_SSL_FALSE |
| 652 |
|
ENABLE_SSL_TRUE |
| 627 |
– |
ENABLE_PCRE_FALSE |
| 628 |
– |
ENABLE_PCRE_TRUE |
| 653 |
|
LTDLOPEN |
| 654 |
|
LT_CONFIG_H |
| 655 |
|
CONVENIENCE_LTDL_FALSE |
| 674 |
|
LIPO |
| 675 |
|
NMEDIT |
| 676 |
|
DSYMUTIL |
| 677 |
+ |
MANIFEST_TOOL |
| 678 |
|
RANLIB |
| 679 |
+ |
ac_ct_AR |
| 680 |
|
AR |
| 681 |
+ |
DLLTOOL |
| 682 |
|
OBJDUMP |
| 683 |
|
LN_S |
| 684 |
|
NM |
| 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 |
| 799 |
|
with_pic |
| 800 |
|
enable_fast_install |
| 801 |
|
with_gnu_ld |
| 802 |
+ |
with_sysroot |
| 803 |
|
enable_libtool_lock |
| 804 |
|
with_included_ltdl |
| 805 |
|
with_ltdl_include |
| 806 |
|
with_ltdl_lib |
| 807 |
|
enable_ltdl_install |
| 808 |
< |
with_zlib_path |
| 775 |
< |
enable_zlib |
| 776 |
< |
with_libpcre_path |
| 777 |
< |
enable_libpcre |
| 808 |
> |
enable_libgeoip |
| 809 |
|
enable_openssl |
| 810 |
|
enable_assert |
| 780 |
– |
enable_small_net |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 784 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 787 |
– |
with_nicklen |
| 788 |
– |
with_topiclen |
| 789 |
– |
with_syslog_facility |
| 790 |
– |
enable_efnet |
| 816 |
|
enable_halfops |
| 817 |
|
enable_debugging |
| 818 |
|
enable_warnings |
| 794 |
– |
enable_syslog |
| 819 |
|
' |
| 820 |
|
ac_precious_vars='build_alias |
| 821 |
|
host_alias |
| 1232 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1233 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1234 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1235 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1235 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1236 |
|
;; |
| 1237 |
|
|
| 1238 |
|
esac |
| 1283 |
|
if test "x$host_alias" != x; then |
| 1284 |
|
if test "x$build_alias" = x; then |
| 1285 |
|
cross_compiling=maybe |
| 1262 |
– |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| 1263 |
– |
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 |
| 1438 |
< |
--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 |
| 1442 |
– |
--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. |
| 1446 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1471 |
|
--enable-poll Force poll usage. |
| 1472 |
|
--enable-select Force select usage. |
| 1449 |
– |
--enable-efnet For IRCDs running on EFnet. |
| 1473 |
|
--enable-halfops Enable halfops support. |
| 1474 |
|
--enable-debugging Enable debugging. |
| 1475 |
|
--enable-warnings Enable compiler warnings. |
| 1453 |
– |
--enable-syslog="EVENTS" |
| 1454 |
– |
Enable syslog for events: users oper (space |
| 1455 |
– |
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 |
| 1484 |
+ |
(or the compiler's sysroot if not specified). |
| 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 |
| 1466 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1467 |
– |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1468 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1469 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1470 |
– |
--with-syslog-facility=LOG |
| 1471 |
– |
Define the syslog facility to use (default: |
| 1472 |
– |
LOG_LOCAL4) |
| 1488 |
|
|
| 1489 |
|
Some influential environment variables: |
| 1490 |
|
CC C compiler command |
| 1494 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1495 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1496 |
|
you have headers in a nonstandard directory <include dir> |
| 1497 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
| 1498 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
| 1497 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1498 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
| 1499 |
> |
`yacc'. |
| 1500 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1501 |
|
This script will default YFLAGS to the empty string to avoid a |
| 1502 |
|
default value of `-d' given by some make applications. |
| 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.67 |
| 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 |
| 1615 |
|
|
| 1616 |
|
ac_retval=1 |
| 1617 |
|
fi |
| 1618 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1618 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1619 |
|
as_fn_set_status $ac_retval |
| 1620 |
|
|
| 1621 |
|
} # ac_fn_c_try_compile |
| 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 |
| 1661 |
|
# interfere with the next link command; also delete a directory that is |
| 1662 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1663 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1664 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1664 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1665 |
|
as_fn_set_status $ac_retval |
| 1666 |
|
|
| 1667 |
|
} # ac_fn_c_try_link |
| 1675 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1676 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1677 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1678 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1678 |
> |
if eval \${$3+:} false; then : |
| 1679 |
|
$as_echo_n "(cached) " >&6 |
| 1680 |
|
else |
| 1681 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1693 |
|
eval ac_res=\$$3 |
| 1694 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1695 |
|
$as_echo "$ac_res" >&6; } |
| 1696 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1696 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1697 |
|
|
| 1698 |
|
} # ac_fn_c_check_header_compile |
| 1699 |
|
|
| 1729 |
|
|
| 1730 |
|
ac_retval=1 |
| 1731 |
|
fi |
| 1732 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1732 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1733 |
|
as_fn_set_status $ac_retval |
| 1734 |
|
|
| 1735 |
|
} # ac_fn_c_try_cpp |
| 1771 |
|
ac_retval=$ac_status |
| 1772 |
|
fi |
| 1773 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1774 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1774 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1775 |
|
as_fn_set_status $ac_retval |
| 1776 |
|
|
| 1777 |
|
} # ac_fn_c_try_run |
| 1784 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1785 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1786 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1787 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1787 |
> |
if eval \${$3+:} false; then : |
| 1788 |
|
$as_echo_n "(cached) " >&6 |
| 1789 |
|
else |
| 1790 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1839 |
|
eval ac_res=\$$3 |
| 1840 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1841 |
|
$as_echo "$ac_res" >&6; } |
| 1842 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1842 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1843 |
|
|
| 1844 |
|
} # ac_fn_c_check_func |
| 1845 |
|
|
| 1854 |
|
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 1855 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1856 |
|
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 1857 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1857 |
> |
if eval \${$3+:} false; then : |
| 1858 |
|
$as_echo_n "(cached) " >&6 |
| 1859 |
|
else |
| 1860 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1885 |
|
eval ac_res=\$$3 |
| 1886 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1887 |
|
$as_echo "$ac_res" >&6; } |
| 1888 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1888 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1889 |
|
|
| 1890 |
|
} # ac_fn_c_check_decl |
| 1891 |
|
|
| 1898 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1899 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1900 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1901 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 1901 |
> |
if eval \${$3+:} false; then : |
| 1902 |
|
$as_echo_n "(cached) " >&6 |
| 1903 |
|
else |
| 1904 |
|
eval "$3=no" |
| 1939 |
|
eval ac_res=\$$3 |
| 1940 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1941 |
|
$as_echo "$ac_res" >&6; } |
| 1942 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1942 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1943 |
|
|
| 1944 |
|
} # ac_fn_c_check_type |
| 1945 |
|
|
| 1952 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1953 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1954 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
| 1955 |
< |
if eval "test \"\${$4+set}\"" = set; then : |
| 1955 |
> |
if eval \${$4+:} false; then : |
| 1956 |
|
$as_echo_n "(cached) " >&6 |
| 1957 |
|
else |
| 1958 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1996 |
|
eval ac_res=\$$4 |
| 1997 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1998 |
|
$as_echo "$ac_res" >&6; } |
| 1999 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1999 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2000 |
|
|
| 2001 |
|
} # ac_fn_c_check_member |
| 2002 |
|
|
| 2008 |
|
ac_fn_c_check_header_mongrel () |
| 2009 |
|
{ |
| 2010 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2011 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 2011 |
> |
if eval \${$3+:} false; then : |
| 2012 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2013 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2014 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 2014 |
> |
if eval \${$3+:} false; then : |
| 2015 |
|
$as_echo_n "(cached) " >&6 |
| 2016 |
|
fi |
| 2017 |
|
eval ac_res=\$$3 |
| 2078 |
|
esac |
| 2079 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2080 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2081 |
< |
if eval "test \"\${$3+set}\"" = set; then : |
| 2081 |
> |
if eval \${$3+:} false; then : |
| 2082 |
|
$as_echo_n "(cached) " >&6 |
| 2083 |
|
else |
| 2084 |
|
eval "$3=\$ac_header_compiler" |
| 2087 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2088 |
|
$as_echo "$ac_res" >&6; } |
| 2089 |
|
fi |
| 2090 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2090 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2091 |
|
|
| 2092 |
|
} # ac_fn_c_check_header_mongrel |
| 2093 |
|
cat >config.log <<_ACEOF |
| 2094 |
|
This file contains any messages produced by compilers while |
| 2095 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2096 |
|
|
| 2097 |
< |
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
| 2098 |
< |
generated by GNU Autoconf 2.67. Invocation command line was |
| 2097 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
| 2098 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 2099 |
|
|
| 2100 |
|
$ $0 $@ |
| 2101 |
|
|
| 2374 |
|
>$cache_file |
| 2375 |
|
fi |
| 2376 |
|
|
| 2361 |
– |
as_fn_append ac_func_list " mmap" |
| 2377 |
|
as_fn_append ac_func_list " strtok_r" |
| 2378 |
|
as_fn_append ac_func_list " usleep" |
| 2379 |
|
as_fn_append ac_func_list " strlcat" |
| 2380 |
|
as_fn_append ac_func_list " strlcpy" |
| 2381 |
|
as_fn_append ac_header_list " crypt.h" |
| 2367 |
– |
as_fn_append ac_header_list " inttypes.h" |
| 2368 |
– |
as_fn_append ac_header_list " stdint.h" |
| 2382 |
|
as_fn_append ac_header_list " sys/resource.h" |
| 2383 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2371 |
– |
as_fn_append ac_header_list " errno.h" |
| 2372 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
| 2384 |
|
as_fn_append ac_header_list " types.h" |
| 2385 |
|
as_fn_append ac_header_list " socket.h" |
| 2386 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2387 |
|
as_fn_append ac_header_list " wait.h" |
| 2377 |
– |
as_fn_append ac_header_list " link.h" |
| 2388 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2389 |
|
# value. |
| 2390 |
|
ac_cache_corrupted=false |
| 2453 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2454 |
|
|
| 2455 |
|
|
| 2456 |
< |
am__api_version='1.11' |
| 2456 |
> |
am__api_version='1.14' |
| 2457 |
|
|
| 2458 |
|
ac_aux_dir= |
| 2459 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2501 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2502 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2503 |
|
if test -z "$INSTALL"; then |
| 2504 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
| 2504 |
> |
if ${ac_cv_path_install+:} false; then : |
| 2505 |
|
$as_echo_n "(cached) " >&6 |
| 2506 |
|
else |
| 2507 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2521 |
|
# by default. |
| 2522 |
|
for ac_prog in ginstall scoinst install; do |
| 2523 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2524 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 2524 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2525 |
|
if test $ac_prog = install && |
| 2526 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2527 |
|
# AIX install. It has an incompatible calling convention. |
| 2579 |
|
|
| 2580 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2581 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2572 |
– |
# Just in case |
| 2573 |
– |
sleep 1 |
| 2574 |
– |
echo timestamp > conftest.file |
| 2582 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2583 |
|
# name. Accept space and tab only in the latter. |
| 2584 |
|
am_lf=' |
| 2589 |
|
esac |
| 2590 |
|
case $srcdir in |
| 2591 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2592 |
< |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2592 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 2593 |
|
esac |
| 2594 |
|
|
| 2595 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
| 2595 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
| 2596 |
|
# arguments. Must try -L first in case configure is actually a |
| 2597 |
|
# symlink; some systems play weird games with the mod time of symlinks |
| 2598 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
| 2599 |
|
# directory). |
| 2600 |
|
if ( |
| 2601 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2602 |
< |
if test "$*" = "X"; then |
| 2603 |
< |
# -L didn't work. |
| 2604 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2605 |
< |
fi |
| 2606 |
< |
rm -f conftest.file |
| 2607 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2608 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2609 |
< |
|
| 2610 |
< |
# If neither matched, then we have a broken ls. This can happen |
| 2604 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2605 |
< |
# broken ls alias from the environment. This has actually |
| 2606 |
< |
# happened. Such a system could not be considered "sane". |
| 2607 |
< |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2608 |
< |
alias in your environment" "$LINENO" 5 |
| 2609 |
< |
fi |
| 2601 |
> |
am_has_slept=no |
| 2602 |
> |
for am_try in 1 2; do |
| 2603 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
| 2604 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2605 |
> |
if test "$*" = "X"; then |
| 2606 |
> |
# -L didn't work. |
| 2607 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2608 |
> |
fi |
| 2609 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2610 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2611 |
|
|
| 2612 |
+ |
# If neither matched, then we have a broken ls. This can happen |
| 2613 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2614 |
+ |
# broken ls alias from the environment. This has actually |
| 2615 |
+ |
# happened. Such a system could not be considered "sane". |
| 2616 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2617 |
+ |
alias in your environment" "$LINENO" 5 |
| 2618 |
+ |
fi |
| 2619 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
| 2620 |
+ |
break |
| 2621 |
+ |
fi |
| 2622 |
+ |
# Just in case. |
| 2623 |
+ |
sleep 1 |
| 2624 |
+ |
am_has_slept=yes |
| 2625 |
+ |
done |
| 2626 |
|
test "$2" = conftest.file |
| 2627 |
|
) |
| 2628 |
|
then |
| 2634 |
|
fi |
| 2635 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2636 |
|
$as_echo "yes" >&6; } |
| 2637 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2638 |
+ |
# generated files are strictly newer. |
| 2639 |
+ |
am_sleep_pid= |
| 2640 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2641 |
+ |
( sleep 1 ) & |
| 2642 |
+ |
am_sleep_pid=$! |
| 2643 |
+ |
fi |
| 2644 |
+ |
|
| 2645 |
+ |
rm -f conftest.file |
| 2646 |
+ |
|
| 2647 |
|
test "$program_prefix" != NONE && |
| 2648 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2649 |
|
# Use a double $ so make ignores it. |
| 2666 |
|
esac |
| 2667 |
|
fi |
| 2668 |
|
# Use eval to expand $SHELL |
| 2669 |
< |
if eval "$MISSING --run true"; then |
| 2670 |
< |
am_missing_run="$MISSING --run " |
| 2669 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2670 |
> |
am_missing_run="$MISSING " |
| 2671 |
|
else |
| 2672 |
|
am_missing_run= |
| 2673 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
| 2674 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 2673 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2674 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2675 |
|
fi |
| 2676 |
|
|
| 2677 |
|
if test x"${install_sh}" != xset; then |
| 2683 |
|
esac |
| 2684 |
|
fi |
| 2685 |
|
|
| 2686 |
< |
# Installed binaries are usually stripped using `strip' when the user |
| 2687 |
< |
# run `make install-strip'. However `strip' might not be the right |
| 2686 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
| 2687 |
> |
# run "make install-strip". However 'strip' might not be the right |
| 2688 |
|
# tool to use in cross-compilation environments, therefore Automake |
| 2689 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
| 2689 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
| 2690 |
|
if test "$cross_compiling" != no; then |
| 2691 |
|
if test -n "$ac_tool_prefix"; then |
| 2692 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2693 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2694 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2695 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2696 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 2696 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
| 2697 |
|
$as_echo_n "(cached) " >&6 |
| 2698 |
|
else |
| 2699 |
|
if test -n "$STRIP"; then |
| 2705 |
|
IFS=$as_save_IFS |
| 2706 |
|
test -z "$as_dir" && as_dir=. |
| 2707 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2708 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2708 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2709 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2710 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2711 |
|
break 2 |
| 2733 |
|
set dummy strip; ac_word=$2 |
| 2734 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2735 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2736 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 2736 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 2737 |
|
$as_echo_n "(cached) " >&6 |
| 2738 |
|
else |
| 2739 |
|
if test -n "$ac_ct_STRIP"; then |
| 2745 |
|
IFS=$as_save_IFS |
| 2746 |
|
test -z "$as_dir" && as_dir=. |
| 2747 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2748 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2748 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2749 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 2750 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2751 |
|
break 2 |
| 2786 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2787 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2788 |
|
if test -z "$MKDIR_P"; then |
| 2789 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
| 2789 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
| 2790 |
|
$as_echo_n "(cached) " >&6 |
| 2791 |
|
else |
| 2792 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2796 |
|
test -z "$as_dir" && as_dir=. |
| 2797 |
|
for ac_prog in mkdir gmkdir; do |
| 2798 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2799 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
| 2799 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2800 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2801 |
|
'mkdir (GNU coreutils) '* | \ |
| 2802 |
|
'mkdir (coreutils) '* | \ |
| 2825 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2826 |
|
$as_echo "$MKDIR_P" >&6; } |
| 2827 |
|
|
| 2803 |
– |
mkdir_p="$MKDIR_P" |
| 2804 |
– |
case $mkdir_p in |
| 2805 |
– |
[\\/$]* | ?:[\\/]*) ;; |
| 2806 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2807 |
– |
esac |
| 2808 |
– |
|
| 2828 |
|
for ac_prog in gawk mawk nawk awk |
| 2829 |
|
do |
| 2830 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2831 |
|
set dummy $ac_prog; ac_word=$2 |
| 2832 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2833 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2834 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
| 2834 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
| 2835 |
|
$as_echo_n "(cached) " >&6 |
| 2836 |
|
else |
| 2837 |
|
if test -n "$AWK"; then |
| 2843 |
|
IFS=$as_save_IFS |
| 2844 |
|
test -z "$as_dir" && as_dir=. |
| 2845 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2846 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2846 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2847 |
|
ac_cv_prog_AWK="$ac_prog" |
| 2848 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2849 |
|
break 2 |
| 2871 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2872 |
|
set x ${MAKE-make} |
| 2873 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2874 |
< |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
| 2874 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2875 |
|
$as_echo_n "(cached) " >&6 |
| 2876 |
|
else |
| 2877 |
|
cat >conftest.make <<\_ACEOF |
| 2907 |
|
fi |
| 2908 |
|
rmdir .tst 2>/dev/null |
| 2909 |
|
|
| 2910 |
+ |
# Check whether --enable-silent-rules was given. |
| 2911 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 2912 |
+ |
enableval=$enable_silent_rules; |
| 2913 |
+ |
fi |
| 2914 |
+ |
|
| 2915 |
+ |
case $enable_silent_rules in # ((( |
| 2916 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2917 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2918 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2919 |
+ |
esac |
| 2920 |
+ |
am_make=${MAKE-make} |
| 2921 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2922 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2923 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2924 |
+ |
$as_echo_n "(cached) " >&6 |
| 2925 |
+ |
else |
| 2926 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2927 |
+ |
BAR0=false |
| 2928 |
+ |
BAR1=true |
| 2929 |
+ |
V=1 |
| 2930 |
+ |
am__doit: |
| 2931 |
+ |
@$(TRUE) |
| 2932 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2933 |
+ |
am_cv_make_support_nested_variables=yes |
| 2934 |
+ |
else |
| 2935 |
+ |
am_cv_make_support_nested_variables=no |
| 2936 |
+ |
fi |
| 2937 |
+ |
fi |
| 2938 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2939 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2940 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 2941 |
+ |
AM_V='$(V)' |
| 2942 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2943 |
+ |
else |
| 2944 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2945 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2946 |
+ |
fi |
| 2947 |
+ |
AM_BACKSLASH='\' |
| 2948 |
+ |
|
| 2949 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2950 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2951 |
|
# is not polluted with repeated "-I." |
| 2968 |
|
|
| 2969 |
|
# Define the identity of the package. |
| 2970 |
|
PACKAGE='ircd-hybrid' |
| 2971 |
< |
VERSION='7.3-rc1' |
| 2971 |
> |
VERSION='TRUNK' |
| 2972 |
|
|
| 2973 |
|
|
| 2974 |
|
cat >>confdefs.h <<_ACEOF |
| 2996 |
|
|
| 2997 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2998 |
|
|
| 2999 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 3000 |
+ |
# dies out for good. For more background, see: |
| 3001 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3002 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3003 |
+ |
mkdir_p='$(MKDIR_P)' |
| 3004 |
+ |
|
| 3005 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 3006 |
|
# some platforms. |
| 3007 |
< |
# Always define AMTAR for backward compatibility. |
| 3007 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3008 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
| 3009 |
> |
AMTAR='$${TAR-tar}' |
| 3010 |
> |
|
| 3011 |
> |
|
| 3012 |
> |
# We'll loop over all known methods to create a tar archive until one works. |
| 3013 |
> |
_am_tools='gnutar pax cpio none' |
| 3014 |
|
|
| 3015 |
< |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 3015 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3016 |
|
|
| 2947 |
– |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 3017 |
|
|
| 3018 |
|
|
| 3019 |
|
|
| 3020 |
|
|
| 3021 |
|
|
| 3022 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
| 3023 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
| 3024 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
| 3025 |
+ |
# actually supported "in the wild" to an acceptable degree. |
| 3026 |
+ |
# See automake bug#10828. |
| 3027 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
| 3028 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 3029 |
+ |
# user can still override this though. |
| 3030 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 3031 |
+ |
cat >&2 <<'END' |
| 3032 |
+ |
Oops! |
| 3033 |
+ |
|
| 3034 |
+ |
Your 'rm' program seems unable to run without file operands specified |
| 3035 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
| 3036 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
| 3037 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3038 |
+ |
|
| 3039 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
| 3040 |
+ |
of your $PATH and any error possibly output before this message. This |
| 3041 |
+ |
can help us improve future automake versions. |
| 3042 |
+ |
|
| 3043 |
+ |
END |
| 3044 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3045 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3046 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3047 |
+ |
echo >&2 |
| 3048 |
+ |
else |
| 3049 |
+ |
cat >&2 <<'END' |
| 3050 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
| 3051 |
+ |
|
| 3052 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
| 3053 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3054 |
+ |
|
| 3055 |
+ |
If you want to complete the configuration process using your problematic |
| 3056 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3057 |
+ |
to "yes", and re-run configure. |
| 3058 |
+ |
|
| 3059 |
+ |
END |
| 3060 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3061 |
+ |
fi |
| 3062 |
+ |
fi |
| 3063 |
|
|
| 3064 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3065 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3083 |
|
MAINT=$MAINTAINER_MODE_TRUE |
| 3084 |
|
|
| 3085 |
|
|
| 3086 |
+ |
|
| 3087 |
|
ac_config_headers="$ac_config_headers config.h" |
| 3088 |
|
|
| 3089 |
|
|
| 3108 |
|
_am_result=none |
| 3109 |
|
# First try GNU make style include. |
| 3110 |
|
echo "include confinc" > confmf |
| 3111 |
< |
# Ignore all kinds of additional output from `make'. |
| 3111 |
> |
# Ignore all kinds of additional output from 'make'. |
| 3112 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3113 |
|
*the\ am__doit\ target*) |
| 3114 |
|
am__include=include |
| 3141 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3142 |
|
am_depcomp="$ac_aux_dir/depcomp" |
| 3143 |
|
AMDEPBACKSLASH='\' |
| 3144 |
+ |
am__nodep='_no' |
| 3145 |
|
fi |
| 3146 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 3147 |
|
AMDEP_TRUE= |
| 3162 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3163 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3164 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3165 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3165 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3166 |
|
$as_echo_n "(cached) " >&6 |
| 3167 |
|
else |
| 3168 |
|
if test -n "$CC"; then |
| 3174 |
|
IFS=$as_save_IFS |
| 3175 |
|
test -z "$as_dir" && as_dir=. |
| 3176 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3177 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3177 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3178 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3179 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3180 |
|
break 2 |
| 3202 |
|
set dummy gcc; ac_word=$2 |
| 3203 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3204 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3205 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3205 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3206 |
|
$as_echo_n "(cached) " >&6 |
| 3207 |
|
else |
| 3208 |
|
if test -n "$ac_ct_CC"; then |
| 3214 |
|
IFS=$as_save_IFS |
| 3215 |
|
test -z "$as_dir" && as_dir=. |
| 3216 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3217 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3217 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3218 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3219 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3220 |
|
break 2 |
| 3255 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3256 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3257 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3258 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3258 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3259 |
|
$as_echo_n "(cached) " >&6 |
| 3260 |
|
else |
| 3261 |
|
if test -n "$CC"; then |
| 3267 |
|
IFS=$as_save_IFS |
| 3268 |
|
test -z "$as_dir" && as_dir=. |
| 3269 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3270 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3270 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3271 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3272 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3273 |
|
break 2 |
| 3295 |
|
set dummy cc; ac_word=$2 |
| 3296 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3297 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3298 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3298 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3299 |
|
$as_echo_n "(cached) " >&6 |
| 3300 |
|
else |
| 3301 |
|
if test -n "$CC"; then |
| 3308 |
|
IFS=$as_save_IFS |
| 3309 |
|
test -z "$as_dir" && as_dir=. |
| 3310 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3311 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3311 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3312 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3313 |
|
ac_prog_rejected=yes |
| 3314 |
|
continue |
| 3354 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3355 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3356 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3357 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3357 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3358 |
|
$as_echo_n "(cached) " >&6 |
| 3359 |
|
else |
| 3360 |
|
if test -n "$CC"; then |
| 3366 |
|
IFS=$as_save_IFS |
| 3367 |
|
test -z "$as_dir" && as_dir=. |
| 3368 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3369 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3369 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3370 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3371 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3372 |
|
break 2 |
| 3398 |
|
set dummy $ac_prog; ac_word=$2 |
| 3399 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3400 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3401 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3401 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3402 |
|
$as_echo_n "(cached) " >&6 |
| 3403 |
|
else |
| 3404 |
|
if test -n "$ac_ct_CC"; then |
| 3410 |
|
IFS=$as_save_IFS |
| 3411 |
|
test -z "$as_dir" && as_dir=. |
| 3412 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3413 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3413 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3414 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3415 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3416 |
|
break 2 |
| 3681 |
|
ac_clean_files=$ac_clean_files_save |
| 3682 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3683 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3684 |
< |
if test "${ac_cv_objext+set}" = set; then : |
| 3684 |
> |
if ${ac_cv_objext+:} false; then : |
| 3685 |
|
$as_echo_n "(cached) " >&6 |
| 3686 |
|
else |
| 3687 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3732 |
|
ac_objext=$OBJEXT |
| 3733 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3734 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3735 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3735 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3736 |
|
$as_echo_n "(cached) " >&6 |
| 3737 |
|
else |
| 3738 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3769 |
|
ac_save_CFLAGS=$CFLAGS |
| 3770 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3771 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3772 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3772 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3773 |
|
$as_echo_n "(cached) " >&6 |
| 3774 |
|
else |
| 3775 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3847 |
|
fi |
| 3848 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3849 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3850 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3850 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 3851 |
|
$as_echo_n "(cached) " >&6 |
| 3852 |
|
else |
| 3853 |
|
ac_cv_prog_cc_c89=no |
| 3856 |
|
/* end confdefs.h. */ |
| 3857 |
|
#include <stdarg.h> |
| 3858 |
|
#include <stdio.h> |
| 3859 |
< |
#include <sys/types.h> |
| 3748 |
< |
#include <sys/stat.h> |
| 3859 |
> |
struct stat; |
| 3860 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3861 |
|
struct buf { int x; }; |
| 3862 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3941 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3942 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3943 |
|
|
| 3944 |
+ |
ac_ext=c |
| 3945 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3946 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3947 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3948 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3949 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 3950 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 3951 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 3952 |
+ |
$as_echo_n "(cached) " >&6 |
| 3953 |
+ |
else |
| 3954 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3955 |
+ |
/* end confdefs.h. */ |
| 3956 |
+ |
|
| 3957 |
+ |
int |
| 3958 |
+ |
main () |
| 3959 |
+ |
{ |
| 3960 |
+ |
|
| 3961 |
+ |
; |
| 3962 |
+ |
return 0; |
| 3963 |
+ |
} |
| 3964 |
+ |
_ACEOF |
| 3965 |
+ |
# Make sure it works both with $CC and with simple cc. |
| 3966 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 3967 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
| 3968 |
+ |
# though they will create one. |
| 3969 |
+ |
am_cv_prog_cc_c_o=yes |
| 3970 |
+ |
for am_i in 1 2; do |
| 3971 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 3972 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 3973 |
+ |
ac_status=$? |
| 3974 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3975 |
+ |
(exit $ac_status); } \ |
| 3976 |
+ |
&& test -f conftest2.$ac_objext; then |
| 3977 |
+ |
: OK |
| 3978 |
+ |
else |
| 3979 |
+ |
am_cv_prog_cc_c_o=no |
| 3980 |
+ |
break |
| 3981 |
+ |
fi |
| 3982 |
+ |
done |
| 3983 |
+ |
rm -f core conftest* |
| 3984 |
+ |
unset am_i |
| 3985 |
+ |
fi |
| 3986 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 3987 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 3988 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 3989 |
+ |
# Losing compiler, so override with the script. |
| 3990 |
+ |
# FIXME: It is wrong to rewrite CC. |
| 3991 |
+ |
# But if we don't then we get into trouble of one sort or another. |
| 3992 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
| 3993 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 3994 |
+ |
CC="$am_aux_dir/compile $CC" |
| 3995 |
+ |
fi |
| 3996 |
+ |
ac_ext=c |
| 3997 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 3998 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3999 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4000 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4001 |
+ |
|
| 4002 |
+ |
|
| 4003 |
|
depcc="$CC" am_compiler_list= |
| 4004 |
|
|
| 4005 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4006 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 4007 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
| 4007 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 4008 |
|
$as_echo_n "(cached) " >&6 |
| 4009 |
|
else |
| 4010 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4011 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 4012 |
|
# making bogus files that we don't know about and never remove. For |
| 4013 |
|
# instance it was reported that on HP-UX the gcc test will end up |
| 4014 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 4015 |
< |
# in D'. |
| 4014 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 4015 |
> |
# in D". |
| 4016 |
> |
rm -rf conftest.dir |
| 4017 |
|
mkdir conftest.dir |
| 4018 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 4019 |
|
# using a relative directory. |
| 4047 |
|
: > sub/conftest.c |
| 4048 |
|
for i in 1 2 3 4 5 6; do |
| 4049 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 4050 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 4051 |
< |
# Solaris 8's {/usr,}/bin/sh. |
| 4052 |
< |
touch sub/conftst$i.h |
| 4050 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 4051 |
> |
# Solaris 10 /bin/sh. |
| 4052 |
> |
echo '/* dummy */' > sub/conftst$i.h |
| 4053 |
|
done |
| 4054 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 4055 |
|
|
| 4056 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 4056 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 4057 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
| 4058 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
| 4059 |
< |
# versions had trouble with output in subdirs |
| 4058 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 4059 |
> |
# versions had trouble with output in subdirs. |
| 4060 |
|
am__obj=sub/conftest.${OBJEXT-o} |
| 4061 |
|
am__minus_obj="-o $am__obj" |
| 4062 |
|
case $depmode in |
| 4065 |
|
test "$am__universal" = false || continue |
| 4066 |
|
;; |
| 4067 |
|
nosideeffect) |
| 4068 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
| 4069 |
< |
# only be used when explicitly requested |
| 4068 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
| 4069 |
> |
# only be used when explicitly requested. |
| 4070 |
|
if test "x$enable_dependency_tracking" = xyes; then |
| 4071 |
|
continue |
| 4072 |
|
else |
| 4073 |
|
break |
| 4074 |
|
fi |
| 4075 |
|
;; |
| 4076 |
< |
msvisualcpp | msvcmsys) |
| 4077 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 4076 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 4077 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 4078 |
|
# not run yet. These depmodes are late enough in the game, and |
| 4079 |
|
# so weak that their functioning should not be impacted. |
| 4080 |
|
am__obj=conftest.${OBJEXT-o} |
| 4130 |
|
|
| 4131 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 4132 |
|
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 4133 |
< |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 4133 |
> |
if ${ac_cv_prog_cc_c99+:} false; then : |
| 4134 |
|
$as_echo_n "(cached) " >&6 |
| 4135 |
|
else |
| 4136 |
|
ac_cv_prog_cc_c99=no |
| 4274 |
|
return 0; |
| 4275 |
|
} |
| 4276 |
|
_ACEOF |
| 4277 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4277 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| 4278 |
|
do |
| 4279 |
|
CC="$ac_save_CC $ac_arg" |
| 4280 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 4306 |
|
|
| 4307 |
|
|
| 4308 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4309 |
< |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4309 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
| 4310 |
|
fi |
| 4311 |
|
for ac_prog in 'bison -y' byacc |
| 4312 |
|
do |
| 4314 |
|
set dummy $ac_prog; ac_word=$2 |
| 4315 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4316 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4317 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
| 4317 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
| 4318 |
|
$as_echo_n "(cached) " >&6 |
| 4319 |
|
else |
| 4320 |
|
if test -n "$YACC"; then |
| 4326 |
|
IFS=$as_save_IFS |
| 4327 |
|
test -z "$as_dir" && as_dir=. |
| 4328 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4329 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4329 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4330 |
|
ac_cv_prog_YACC="$ac_prog" |
| 4331 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4332 |
|
break 2 |
| 4358 |
|
set dummy $ac_prog; ac_word=$2 |
| 4359 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4360 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4361 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
| 4361 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
| 4362 |
|
$as_echo_n "(cached) " >&6 |
| 4363 |
|
else |
| 4364 |
|
if test -n "$LEX"; then |
| 4370 |
|
IFS=$as_save_IFS |
| 4371 |
|
test -z "$as_dir" && as_dir=. |
| 4372 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4373 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4373 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4374 |
|
ac_cv_prog_LEX="$ac_prog" |
| 4375 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4376 |
|
break 2 |
| 4402 |
|
b { REJECT; } |
| 4403 |
|
c { yymore (); } |
| 4404 |
|
d { yyless (1); } |
| 4405 |
< |
e { yyless (input () != 0); } |
| 4405 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 4406 |
> |
yyless ((input () != 0)); } |
| 4407 |
|
f { unput (yytext[0]); } |
| 4408 |
|
. { BEGIN INITIAL; } |
| 4409 |
|
%% |
| 4429 |
|
test $ac_status = 0; } |
| 4430 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 4431 |
|
$as_echo_n "checking lex output file root... " >&6; } |
| 4432 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
| 4432 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
| 4433 |
|
$as_echo_n "(cached) " >&6 |
| 4434 |
|
else |
| 4435 |
|
|
| 4448 |
|
if test -z "${LEXLIB+set}"; then |
| 4449 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 4450 |
|
$as_echo_n "checking lex library... " >&6; } |
| 4451 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
| 4451 |
> |
if ${ac_cv_lib_lex+:} false; then : |
| 4452 |
|
$as_echo_n "(cached) " >&6 |
| 4453 |
|
else |
| 4454 |
|
|
| 4478 |
|
|
| 4479 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 4480 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
| 4481 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
| 4481 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
| 4482 |
|
$as_echo_n "(cached) " >&6 |
| 4483 |
|
else |
| 4484 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
| 4489 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
| 4490 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4491 |
|
/* end confdefs.h. */ |
| 4492 |
< |
#define YYTEXT_POINTER 1 |
| 4492 |
> |
|
| 4493 |
> |
#define YYTEXT_POINTER 1 |
| 4494 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4495 |
|
_ACEOF |
| 4496 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 4532 |
|
|
| 4533 |
|
|
| 4534 |
|
|
| 4535 |
< |
macro_version='2.2.10' |
| 4536 |
< |
macro_revision='1.3175' |
| 4535 |
> |
macro_version='2.4.2' |
| 4536 |
> |
macro_revision='1.3337' |
| 4537 |
|
|
| 4538 |
|
|
| 4539 |
|
|
| 4555 |
|
|
| 4556 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4557 |
|
$as_echo_n "checking build system type... " >&6; } |
| 4558 |
< |
if test "${ac_cv_build+set}" = set; then : |
| 4558 |
> |
if ${ac_cv_build+:} false; then : |
| 4559 |
|
$as_echo_n "(cached) " >&6 |
| 4560 |
|
else |
| 4561 |
|
ac_build_alias=$build_alias |
| 4589 |
|
|
| 4590 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4591 |
|
$as_echo_n "checking host system type... " >&6; } |
| 4592 |
< |
if test "${ac_cv_host+set}" = set; then : |
| 4592 |
> |
if ${ac_cv_host+:} false; then : |
| 4593 |
|
$as_echo_n "(cached) " >&6 |
| 4594 |
|
else |
| 4595 |
|
if test "x$host_alias" = x; then |
| 4644 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 4645 |
|
$as_echo_n "checking how to print strings... " >&6; } |
| 4646 |
|
# Test print first, because it will be a builtin if present. |
| 4647 |
< |
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ |
| 4647 |
> |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 4648 |
|
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4649 |
|
ECHO='print -r --' |
| 4650 |
|
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4691 |
|
|
| 4692 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4693 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 4694 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
| 4694 |
> |
if ${ac_cv_path_SED+:} false; then : |
| 4695 |
|
$as_echo_n "(cached) " >&6 |
| 4696 |
|
else |
| 4697 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 4711 |
|
for ac_prog in sed gsed; do |
| 4712 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4713 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 4714 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
| 4714 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
| 4715 |
|
# Check for GNU ac_path_SED and select it if it is found. |
| 4716 |
|
# Check for GNU $ac_path_SED |
| 4717 |
|
case `"$ac_path_SED" --version 2>&1` in |
| 4773 |
|
|
| 4774 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4775 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4776 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
| 4776 |
> |
if ${ac_cv_path_GREP+:} false; then : |
| 4777 |
|
$as_echo_n "(cached) " >&6 |
| 4778 |
|
else |
| 4779 |
|
if test -z "$GREP"; then |
| 4787 |
|
for ac_prog in grep ggrep; do |
| 4788 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4789 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4790 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4790 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
| 4791 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
| 4792 |
|
# Check for GNU $ac_path_GREP |
| 4793 |
|
case `"$ac_path_GREP" --version 2>&1` in |
| 4836 |
|
|
| 4837 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4838 |
|
$as_echo_n "checking for egrep... " >&6; } |
| 4839 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
| 4839 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
| 4840 |
|
$as_echo_n "(cached) " >&6 |
| 4841 |
|
else |
| 4842 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4853 |
|
for ac_prog in egrep; do |
| 4854 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4855 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4856 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 4856 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 4857 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
| 4858 |
|
# Check for GNU $ac_path_EGREP |
| 4859 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
| 4903 |
|
|
| 4904 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 4905 |
|
$as_echo_n "checking for fgrep... " >&6; } |
| 4906 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
| 4906 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
| 4907 |
|
$as_echo_n "(cached) " >&6 |
| 4908 |
|
else |
| 4909 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 4920 |
|
for ac_prog in fgrep; do |
| 4921 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4922 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4923 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
| 4923 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
| 4924 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
| 4925 |
|
# Check for GNU $ac_path_FGREP |
| 4926 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
| 5034 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5035 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
| 5036 |
|
fi |
| 5037 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
| 5037 |
> |
if ${lt_cv_path_LD+:} false; then : |
| 5038 |
|
$as_echo_n "(cached) " >&6 |
| 5039 |
|
else |
| 5040 |
|
if test -z "$LD"; then |
| 5074 |
|
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 5075 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 5076 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 5077 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
| 5077 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
| 5078 |
|
$as_echo_n "(cached) " >&6 |
| 5079 |
|
else |
| 5080 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 5101 |
|
|
| 5102 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 5103 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 5104 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
| 5104 |
> |
if ${lt_cv_path_NM+:} false; then : |
| 5105 |
|
$as_echo_n "(cached) " >&6 |
| 5106 |
|
else |
| 5107 |
|
if test -n "$NM"; then |
| 5164 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5165 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5166 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5167 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
| 5167 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 5168 |
|
$as_echo_n "(cached) " >&6 |
| 5169 |
|
else |
| 5170 |
|
if test -n "$DUMPBIN"; then |
| 5176 |
|
IFS=$as_save_IFS |
| 5177 |
|
test -z "$as_dir" && as_dir=. |
| 5178 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5179 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5179 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5180 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5181 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5182 |
|
break 2 |
| 5208 |
|
set dummy $ac_prog; ac_word=$2 |
| 5209 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5210 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5211 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
| 5211 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 5212 |
|
$as_echo_n "(cached) " >&6 |
| 5213 |
|
else |
| 5214 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5220 |
|
IFS=$as_save_IFS |
| 5221 |
|
test -z "$as_dir" && as_dir=. |
| 5222 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5223 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5223 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5224 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5225 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5226 |
|
break 2 |
| 5280 |
|
|
| 5281 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5282 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 5283 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
| 5283 |
> |
if ${lt_cv_nm_interface+:} false; then : |
| 5284 |
|
$as_echo_n "(cached) " >&6 |
| 5285 |
|
else |
| 5286 |
|
lt_cv_nm_interface="BSD nm" |
| 5315 |
|
# find the maximum length of command line arguments |
| 5316 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5317 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5318 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
| 5318 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 5319 |
|
$as_echo_n "(cached) " >&6 |
| 5320 |
|
else |
| 5321 |
|
i=0 |
| 5378 |
|
lt_cv_sys_max_cmd_len=196608 |
| 5379 |
|
;; |
| 5380 |
|
|
| 5381 |
+ |
os2*) |
| 5382 |
+ |
# The test takes a long time on OS/2. |
| 5383 |
+ |
lt_cv_sys_max_cmd_len=8192 |
| 5384 |
+ |
;; |
| 5385 |
+ |
|
| 5386 |
|
osf*) |
| 5387 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 5388 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 5422 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 5423 |
|
# maximum length that is only half of the actual maximum length, but |
| 5424 |
|
# we can't tell. |
| 5425 |
< |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 5425 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5426 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5427 |
|
test $i != 17 # 1/2 MB should be enough |
| 5428 |
|
do |
| 5465 |
|
# Try some XSI features |
| 5466 |
|
xsi_shell=no |
| 5467 |
|
( _lt_dummy="a/b/c" |
| 5468 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
| 5469 |
< |
= c,a/b,, \ |
| 5468 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
| 5469 |
> |
= c,a/b,b/c, \ |
| 5470 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
| 5471 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 5472 |
|
&& xsi_shell=yes |
| 5515 |
|
|
| 5516 |
|
|
| 5517 |
|
|
| 5518 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5519 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
| 5520 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
| 5521 |
+ |
$as_echo_n "(cached) " >&6 |
| 5522 |
+ |
else |
| 5523 |
+ |
case $host in |
| 5524 |
+ |
*-*-mingw* ) |
| 5525 |
+ |
case $build in |
| 5526 |
+ |
*-*-mingw* ) # actually msys |
| 5527 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 5528 |
+ |
;; |
| 5529 |
+ |
*-*-cygwin* ) |
| 5530 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 5531 |
+ |
;; |
| 5532 |
+ |
* ) # otherwise, assume *nix |
| 5533 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 5534 |
+ |
;; |
| 5535 |
+ |
esac |
| 5536 |
+ |
;; |
| 5537 |
+ |
*-*-cygwin* ) |
| 5538 |
+ |
case $build in |
| 5539 |
+ |
*-*-mingw* ) # actually msys |
| 5540 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 5541 |
+ |
;; |
| 5542 |
+ |
*-*-cygwin* ) |
| 5543 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 5544 |
+ |
;; |
| 5545 |
+ |
* ) # otherwise, assume *nix |
| 5546 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 5547 |
+ |
;; |
| 5548 |
+ |
esac |
| 5549 |
+ |
;; |
| 5550 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
| 5551 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 5552 |
+ |
;; |
| 5553 |
+ |
esac |
| 5554 |
+ |
|
| 5555 |
+ |
fi |
| 5556 |
+ |
|
| 5557 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 5558 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5559 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
| 5560 |
+ |
|
| 5561 |
+ |
|
| 5562 |
+ |
|
| 5563 |
+ |
|
| 5564 |
+ |
|
| 5565 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5566 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
| 5567 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
| 5568 |
+ |
$as_echo_n "(cached) " >&6 |
| 5569 |
+ |
else |
| 5570 |
+ |
#assume ordinary cross tools, or native build. |
| 5571 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 5572 |
+ |
case $host in |
| 5573 |
+ |
*-*-mingw* ) |
| 5574 |
+ |
case $build in |
| 5575 |
+ |
*-*-mingw* ) # actually msys |
| 5576 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 5577 |
+ |
;; |
| 5578 |
+ |
esac |
| 5579 |
+ |
;; |
| 5580 |
+ |
esac |
| 5581 |
+ |
|
| 5582 |
+ |
fi |
| 5583 |
+ |
|
| 5584 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 5585 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 5586 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
| 5587 |
+ |
|
| 5588 |
+ |
|
| 5589 |
+ |
|
| 5590 |
+ |
|
| 5591 |
+ |
|
| 5592 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 5593 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 5594 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
| 5594 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
| 5595 |
|
$as_echo_n "(cached) " >&6 |
| 5596 |
|
else |
| 5597 |
|
lt_cv_ld_reload_flag='-r' |
| 5605 |
|
esac |
| 5606 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 5607 |
|
case $host_os in |
| 5608 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
| 5609 |
+ |
if test "$GCC" != yes; then |
| 5610 |
+ |
reload_cmds=false |
| 5611 |
+ |
fi |
| 5612 |
+ |
;; |
| 5613 |
|
darwin*) |
| 5614 |
|
if test "$GCC" = yes; then |
| 5615 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 5632 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 5633 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5634 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5635 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
| 5635 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 5636 |
|
$as_echo_n "(cached) " >&6 |
| 5637 |
|
else |
| 5638 |
|
if test -n "$OBJDUMP"; then |
| 5644 |
|
IFS=$as_save_IFS |
| 5645 |
|
test -z "$as_dir" && as_dir=. |
| 5646 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5647 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5647 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5648 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 5649 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5650 |
|
break 2 |
| 5672 |
|
set dummy objdump; ac_word=$2 |
| 5673 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5674 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5675 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
| 5675 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 5676 |
|
$as_echo_n "(cached) " >&6 |
| 5677 |
|
else |
| 5678 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5684 |
|
IFS=$as_save_IFS |
| 5685 |
|
test -z "$as_dir" && as_dir=. |
| 5686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5687 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5687 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5688 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 5689 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5690 |
|
break 2 |
| 5731 |
|
|
| 5732 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 5733 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 5734 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
| 5734 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
| 5735 |
|
$as_echo_n "(cached) " >&6 |
| 5736 |
|
else |
| 5737 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 5851 |
|
lt_cv_deplibs_check_method=pass_all |
| 5852 |
|
;; |
| 5853 |
|
|
| 5854 |
< |
# This must be Linux ELF. |
| 5854 |
> |
# This must be glibc/ELF. |
| 5855 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 5856 |
|
lt_cv_deplibs_check_method=pass_all |
| 5857 |
|
;; |
| 5933 |
|
fi |
| 5934 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 5935 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 5936 |
+ |
|
| 5937 |
+ |
file_magic_glob= |
| 5938 |
+ |
want_nocaseglob=no |
| 5939 |
+ |
if test "$build" = "$host"; then |
| 5940 |
+ |
case $host_os in |
| 5941 |
+ |
mingw* | pw32*) |
| 5942 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
| 5943 |
+ |
want_nocaseglob=yes |
| 5944 |
+ |
else |
| 5945 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 5946 |
+ |
fi |
| 5947 |
+ |
;; |
| 5948 |
+ |
esac |
| 5949 |
+ |
fi |
| 5950 |
+ |
|
| 5951 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
| 5952 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
| 5953 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 5963 |
|
|
| 5964 |
|
|
| 5965 |
|
|
| 5966 |
+ |
|
| 5967 |
+ |
|
| 5968 |
+ |
|
| 5969 |
+ |
|
| 5970 |
+ |
|
| 5971 |
+ |
|
| 5972 |
+ |
|
| 5973 |
+ |
|
| 5974 |
+ |
|
| 5975 |
+ |
|
| 5976 |
+ |
if test -n "$ac_tool_prefix"; then |
| 5977 |
+ |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 5978 |
+ |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 5979 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5980 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5981 |
+ |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
| 5982 |
+ |
$as_echo_n "(cached) " >&6 |
| 5983 |
+ |
else |
| 5984 |
+ |
if test -n "$DLLTOOL"; then |
| 5985 |
+ |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 5986 |
+ |
else |
| 5987 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5988 |
+ |
for as_dir in $PATH |
| 5989 |
+ |
do |
| 5990 |
+ |
IFS=$as_save_IFS |
| 5991 |
+ |
test -z "$as_dir" && as_dir=. |
| 5992 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5993 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5994 |
+ |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 5995 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5996 |
+ |
break 2 |
| 5997 |
+ |
fi |
| 5998 |
+ |
done |
| 5999 |
+ |
done |
| 6000 |
+ |
IFS=$as_save_IFS |
| 6001 |
+ |
|
| 6002 |
+ |
fi |
| 6003 |
+ |
fi |
| 6004 |
+ |
DLLTOOL=$ac_cv_prog_DLLTOOL |
| 6005 |
+ |
if test -n "$DLLTOOL"; then |
| 6006 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 6007 |
+ |
$as_echo "$DLLTOOL" >&6; } |
| 6008 |
+ |
else |
| 6009 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6010 |
+ |
$as_echo "no" >&6; } |
| 6011 |
+ |
fi |
| 6012 |
+ |
|
| 6013 |
+ |
|
| 6014 |
+ |
fi |
| 6015 |
+ |
if test -z "$ac_cv_prog_DLLTOOL"; then |
| 6016 |
+ |
ac_ct_DLLTOOL=$DLLTOOL |
| 6017 |
+ |
# Extract the first word of "dlltool", so it can be a program name with args. |
| 6018 |
+ |
set dummy dlltool; ac_word=$2 |
| 6019 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6020 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6021 |
+ |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
| 6022 |
+ |
$as_echo_n "(cached) " >&6 |
| 6023 |
+ |
else |
| 6024 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
| 6025 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 6026 |
+ |
else |
| 6027 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6028 |
+ |
for as_dir in $PATH |
| 6029 |
+ |
do |
| 6030 |
+ |
IFS=$as_save_IFS |
| 6031 |
+ |
test -z "$as_dir" && as_dir=. |
| 6032 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6033 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6034 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 6035 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6036 |
+ |
break 2 |
| 6037 |
+ |
fi |
| 6038 |
+ |
done |
| 6039 |
+ |
done |
| 6040 |
+ |
IFS=$as_save_IFS |
| 6041 |
+ |
|
| 6042 |
+ |
fi |
| 6043 |
+ |
fi |
| 6044 |
+ |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 6045 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
| 6046 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 6047 |
+ |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
| 6048 |
+ |
else |
| 6049 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6050 |
+ |
$as_echo "no" >&6; } |
| 6051 |
+ |
fi |
| 6052 |
+ |
|
| 6053 |
+ |
if test "x$ac_ct_DLLTOOL" = x; then |
| 6054 |
+ |
DLLTOOL="false" |
| 6055 |
+ |
else |
| 6056 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 6057 |
+ |
yes:) |
| 6058 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6059 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6060 |
+ |
ac_tool_warned=yes ;; |
| 6061 |
+ |
esac |
| 6062 |
+ |
DLLTOOL=$ac_ct_DLLTOOL |
| 6063 |
+ |
fi |
| 6064 |
+ |
else |
| 6065 |
+ |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 6066 |
+ |
fi |
| 6067 |
+ |
|
| 6068 |
+ |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 6069 |
+ |
|
| 6070 |
+ |
|
| 6071 |
+ |
|
| 6072 |
+ |
|
| 6073 |
+ |
|
| 6074 |
+ |
|
| 6075 |
+ |
|
| 6076 |
+ |
|
| 6077 |
+ |
|
| 6078 |
+ |
|
| 6079 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 6080 |
+ |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 6081 |
+ |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 6082 |
+ |
$as_echo_n "(cached) " >&6 |
| 6083 |
+ |
else |
| 6084 |
+ |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 6085 |
+ |
|
| 6086 |
+ |
case $host_os in |
| 6087 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
| 6088 |
+ |
# two different shell functions defined in ltmain.sh |
| 6089 |
+ |
# decide which to use based on capabilities of $DLLTOOL |
| 6090 |
+ |
case `$DLLTOOL --help 2>&1` in |
| 6091 |
+ |
*--identify-strict*) |
| 6092 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 6093 |
+ |
;; |
| 6094 |
+ |
*) |
| 6095 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 6096 |
+ |
;; |
| 6097 |
+ |
esac |
| 6098 |
+ |
;; |
| 6099 |
+ |
*) |
| 6100 |
+ |
# fallback: assume linklib IS sharedlib |
| 6101 |
+ |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
| 6102 |
+ |
;; |
| 6103 |
+ |
esac |
| 6104 |
+ |
|
| 6105 |
+ |
fi |
| 6106 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 6107 |
+ |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 6108 |
+ |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 6109 |
+ |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 6110 |
+ |
|
| 6111 |
+ |
|
| 6112 |
+ |
|
| 6113 |
+ |
|
| 6114 |
+ |
|
| 6115 |
+ |
|
| 6116 |
+ |
|
| 6117 |
|
if test -n "$ac_tool_prefix"; then |
| 6118 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 6119 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 6118 |
> |
for ac_prog in ar |
| 6119 |
> |
do |
| 6120 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 6121 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 6122 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6123 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6124 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
| 6124 |
> |
if ${ac_cv_prog_AR+:} false; then : |
| 6125 |
|
$as_echo_n "(cached) " >&6 |
| 6126 |
|
else |
| 6127 |
|
if test -n "$AR"; then |
| 6133 |
|
IFS=$as_save_IFS |
| 6134 |
|
test -z "$as_dir" && as_dir=. |
| 6135 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6136 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6137 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 6136 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6137 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 6138 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6139 |
|
break 2 |
| 6140 |
|
fi |
| 6154 |
|
fi |
| 6155 |
|
|
| 6156 |
|
|
| 6157 |
+ |
test -n "$AR" && break |
| 6158 |
+ |
done |
| 6159 |
|
fi |
| 6160 |
< |
if test -z "$ac_cv_prog_AR"; then |
| 6160 |
> |
if test -z "$AR"; then |
| 6161 |
|
ac_ct_AR=$AR |
| 6162 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
| 6163 |
< |
set dummy ar; ac_word=$2 |
| 6162 |
> |
for ac_prog in ar |
| 6163 |
> |
do |
| 6164 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6165 |
> |
set dummy $ac_prog; ac_word=$2 |
| 6166 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6167 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6168 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
| 6168 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 6169 |
|
$as_echo_n "(cached) " >&6 |
| 6170 |
|
else |
| 6171 |
|
if test -n "$ac_ct_AR"; then |
| 6177 |
|
IFS=$as_save_IFS |
| 6178 |
|
test -z "$as_dir" && as_dir=. |
| 6179 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6180 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6181 |
< |
ac_cv_prog_ac_ct_AR="ar" |
| 6180 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6181 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6182 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6183 |
|
break 2 |
| 6184 |
|
fi |
| 6197 |
|
$as_echo "no" >&6; } |
| 6198 |
|
fi |
| 6199 |
|
|
| 6200 |
+ |
|
| 6201 |
+ |
test -n "$ac_ct_AR" && break |
| 6202 |
+ |
done |
| 6203 |
+ |
|
| 6204 |
|
if test "x$ac_ct_AR" = x; then |
| 6205 |
|
AR="false" |
| 6206 |
|
else |
| 6212 |
|
esac |
| 6213 |
|
AR=$ac_ct_AR |
| 6214 |
|
fi |
| 5782 |
– |
else |
| 5783 |
– |
AR="$ac_cv_prog_AR" |
| 6215 |
|
fi |
| 6216 |
|
|
| 6217 |
< |
test -z "$AR" && AR=ar |
| 6218 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
| 6217 |
> |
: ${AR=ar} |
| 6218 |
> |
: ${AR_FLAGS=cru} |
| 6219 |
|
|
| 6220 |
|
|
| 6221 |
|
|
| 6227 |
|
|
| 6228 |
|
|
| 6229 |
|
|
| 6230 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6231 |
+ |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
| 6232 |
+ |
if ${lt_cv_ar_at_file+:} false; then : |
| 6233 |
+ |
$as_echo_n "(cached) " >&6 |
| 6234 |
+ |
else |
| 6235 |
+ |
lt_cv_ar_at_file=no |
| 6236 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6237 |
+ |
/* end confdefs.h. */ |
| 6238 |
+ |
|
| 6239 |
+ |
int |
| 6240 |
+ |
main () |
| 6241 |
+ |
{ |
| 6242 |
+ |
|
| 6243 |
+ |
; |
| 6244 |
+ |
return 0; |
| 6245 |
+ |
} |
| 6246 |
+ |
_ACEOF |
| 6247 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6248 |
+ |
echo conftest.$ac_objext > conftest.lst |
| 6249 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 6250 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6251 |
+ |
(eval $lt_ar_try) 2>&5 |
| 6252 |
+ |
ac_status=$? |
| 6253 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6254 |
+ |
test $ac_status = 0; } |
| 6255 |
+ |
if test "$ac_status" -eq 0; then |
| 6256 |
+ |
# Ensure the archiver fails upon bogus file names. |
| 6257 |
+ |
rm -f conftest.$ac_objext libconftest.a |
| 6258 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6259 |
+ |
(eval $lt_ar_try) 2>&5 |
| 6260 |
+ |
ac_status=$? |
| 6261 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6262 |
+ |
test $ac_status = 0; } |
| 6263 |
+ |
if test "$ac_status" -ne 0; then |
| 6264 |
+ |
lt_cv_ar_at_file=@ |
| 6265 |
+ |
fi |
| 6266 |
+ |
fi |
| 6267 |
+ |
rm -f conftest.* libconftest.a |
| 6268 |
+ |
|
| 6269 |
+ |
fi |
| 6270 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6271 |
+ |
|
| 6272 |
+ |
fi |
| 6273 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6274 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
| 6275 |
+ |
|
| 6276 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
| 6277 |
+ |
archiver_list_spec= |
| 6278 |
+ |
else |
| 6279 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
| 6280 |
+ |
fi |
| 6281 |
+ |
|
| 6282 |
+ |
|
| 6283 |
+ |
|
| 6284 |
+ |
|
| 6285 |
+ |
|
| 6286 |
+ |
|
| 6287 |
+ |
|
| 6288 |
|
if test -n "$ac_tool_prefix"; then |
| 6289 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 6290 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 6291 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6292 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6293 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 6293 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
| 6294 |
|
$as_echo_n "(cached) " >&6 |
| 6295 |
|
else |
| 6296 |
|
if test -n "$STRIP"; then |
| 6302 |
|
IFS=$as_save_IFS |
| 6303 |
|
test -z "$as_dir" && as_dir=. |
| 6304 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6305 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6305 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6306 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 6307 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6308 |
|
break 2 |
| 6330 |
|
set dummy strip; ac_word=$2 |
| 6331 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6332 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6333 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 6333 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 6334 |
|
$as_echo_n "(cached) " >&6 |
| 6335 |
|
else |
| 6336 |
|
if test -n "$ac_ct_STRIP"; then |
| 6342 |
|
IFS=$as_save_IFS |
| 6343 |
|
test -z "$as_dir" && as_dir=. |
| 6344 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6345 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6345 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6346 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 6347 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6348 |
|
break 2 |
| 6389 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6390 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6391 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6392 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 6392 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 6393 |
|
$as_echo_n "(cached) " >&6 |
| 6394 |
|
else |
| 6395 |
|
if test -n "$RANLIB"; then |
| 6401 |
|
IFS=$as_save_IFS |
| 6402 |
|
test -z "$as_dir" && as_dir=. |
| 6403 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6404 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6404 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6405 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6406 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6407 |
|
break 2 |
| 6429 |
|
set dummy ranlib; ac_word=$2 |
| 6430 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6431 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6432 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 6432 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6433 |
|
$as_echo_n "(cached) " >&6 |
| 6434 |
|
else |
| 6435 |
|
if test -n "$ac_ct_RANLIB"; then |
| 6441 |
|
IFS=$as_save_IFS |
| 6442 |
|
test -z "$as_dir" && as_dir=. |
| 6443 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6444 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6444 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6445 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6446 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6447 |
|
break 2 |
| 6491 |
|
if test -n "$RANLIB"; then |
| 6492 |
|
case $host_os in |
| 6493 |
|
openbsd*) |
| 6494 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 6494 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 6495 |
|
;; |
| 6496 |
|
*) |
| 6497 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 6497 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 6498 |
|
;; |
| 6499 |
|
esac |
| 6500 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 6500 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 6501 |
|
fi |
| 6502 |
|
|
| 6503 |
|
case $host_os in |
| 6558 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 6559 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 6560 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 6561 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
| 6561 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
| 6562 |
|
$as_echo_n "(cached) " >&6 |
| 6563 |
|
else |
| 6564 |
|
|
| 6619 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 6620 |
|
|
| 6621 |
|
# Transform an extracted symbol line into symbol name and symbol address |
| 6622 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 6623 |
< |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
| 6622 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 6623 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
| 6624 |
|
|
| 6625 |
|
# Handle CRLF in mingw tool chain |
| 6626 |
|
opt_cr= |
| 6644 |
|
# which start with @ or ?. |
| 6645 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 6646 |
|
" {last_section=section; section=\$ 3};"\ |
| 6647 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 6648 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 6649 |
|
" \$ 0!~/External *\|/{next};"\ |
| 6650 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 6657 |
|
else |
| 6658 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 6659 |
|
fi |
| 6660 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
| 6661 |
|
|
| 6662 |
|
# Check to see that the pipe works correctly. |
| 6663 |
|
pipe_works=no |
| 6699 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 6700 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 6701 |
|
cat <<_LT_EOF > conftest.$ac_ext |
| 6702 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 6703 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
| 6704 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
| 6705 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 6706 |
+ |
# define LT_DLSYM_CONST |
| 6707 |
+ |
#elif defined(__osf__) |
| 6708 |
+ |
/* This system does not cope well with relocations in const data. */ |
| 6709 |
+ |
# define LT_DLSYM_CONST |
| 6710 |
+ |
#else |
| 6711 |
+ |
# define LT_DLSYM_CONST const |
| 6712 |
+ |
#endif |
| 6713 |
+ |
|
| 6714 |
|
#ifdef __cplusplus |
| 6715 |
|
extern "C" { |
| 6716 |
|
#endif |
| 6722 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
| 6723 |
|
|
| 6724 |
|
/* The mapping between symbol names and symbols. */ |
| 6725 |
< |
const struct { |
| 6725 |
> |
LT_DLSYM_CONST struct { |
| 6726 |
|
const char *name; |
| 6727 |
|
void *address; |
| 6728 |
|
} |
| 6748 |
|
_LT_EOF |
| 6749 |
|
# Now try linking the two files. |
| 6750 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
| 6751 |
< |
lt_save_LIBS="$LIBS" |
| 6752 |
< |
lt_save_CFLAGS="$CFLAGS" |
| 6751 |
> |
lt_globsym_save_LIBS=$LIBS |
| 6752 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
| 6753 |
|
LIBS="conftstm.$ac_objext" |
| 6754 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 6755 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 6759 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 6760 |
|
pipe_works=yes |
| 6761 |
|
fi |
| 6762 |
< |
LIBS="$lt_save_LIBS" |
| 6763 |
< |
CFLAGS="$lt_save_CFLAGS" |
| 6762 |
> |
LIBS=$lt_globsym_save_LIBS |
| 6763 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
| 6764 |
|
else |
| 6765 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
| 6766 |
|
fi |
| 6797 |
|
$as_echo "ok" >&6; } |
| 6798 |
|
fi |
| 6799 |
|
|
| 6800 |
+ |
# Response file support. |
| 6801 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 6802 |
+ |
nm_file_list_spec='@' |
| 6803 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
| 6804 |
+ |
nm_file_list_spec='@' |
| 6805 |
+ |
fi |
| 6806 |
+ |
|
| 6807 |
|
|
| 6808 |
|
|
| 6809 |
|
|
| 6825 |
|
|
| 6826 |
|
|
| 6827 |
|
|
| 6828 |
+ |
|
| 6829 |
+ |
|
| 6830 |
+ |
|
| 6831 |
+ |
|
| 6832 |
+ |
|
| 6833 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 6834 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
| 6835 |
+ |
|
| 6836 |
+ |
# Check whether --with-sysroot was given. |
| 6837 |
+ |
if test "${with_sysroot+set}" = set; then : |
| 6838 |
+ |
withval=$with_sysroot; |
| 6839 |
+ |
else |
| 6840 |
+ |
with_sysroot=no |
| 6841 |
+ |
fi |
| 6842 |
+ |
|
| 6843 |
+ |
|
| 6844 |
+ |
lt_sysroot= |
| 6845 |
+ |
case ${with_sysroot} in #( |
| 6846 |
+ |
yes) |
| 6847 |
+ |
if test "$GCC" = yes; then |
| 6848 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
| 6849 |
+ |
fi |
| 6850 |
+ |
;; #( |
| 6851 |
+ |
/*) |
| 6852 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 6853 |
+ |
;; #( |
| 6854 |
+ |
no|'') |
| 6855 |
+ |
;; #( |
| 6856 |
+ |
*) |
| 6857 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
| 6858 |
+ |
$as_echo "${with_sysroot}" >&6; } |
| 6859 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 6860 |
+ |
;; |
| 6861 |
+ |
esac |
| 6862 |
+ |
|
| 6863 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 6864 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
| 6865 |
+ |
|
| 6866 |
+ |
|
| 6867 |
+ |
|
| 6868 |
+ |
|
| 6869 |
+ |
|
| 6870 |
|
# Check whether --enable-libtool-lock was given. |
| 6871 |
|
if test "${enable_libtool_lock+set}" = set; then : |
| 6872 |
|
enableval=$enable_libtool_lock; |
| 6992 |
|
CFLAGS="$CFLAGS -belf" |
| 6993 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 6994 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 6995 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
| 6995 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
| 6996 |
|
$as_echo_n "(cached) " >&6 |
| 6997 |
|
else |
| 6998 |
|
ac_ext=c |
| 7033 |
|
CFLAGS="$SAVE_CFLAGS" |
| 7034 |
|
fi |
| 7035 |
|
;; |
| 7036 |
< |
sparc*-*solaris*) |
| 7036 |
> |
*-*solaris*) |
| 7037 |
|
# Find out which ABI we are using. |
| 7038 |
|
echo 'int i;' > conftest.$ac_ext |
| 7039 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7044 |
|
case `/usr/bin/file conftest.o` in |
| 7045 |
|
*64-bit*) |
| 7046 |
|
case $lt_cv_prog_gnu_ld in |
| 7047 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 7047 |
> |
yes*) |
| 7048 |
> |
case $host in |
| 7049 |
> |
i?86-*-solaris*) |
| 7050 |
> |
LD="${LD-ld} -m elf_x86_64" |
| 7051 |
> |
;; |
| 7052 |
> |
sparc*-*-solaris*) |
| 7053 |
> |
LD="${LD-ld} -m elf64_sparc" |
| 7054 |
> |
;; |
| 7055 |
> |
esac |
| 7056 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 7057 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 7058 |
> |
LD="${LD-ld}_sol2" |
| 7059 |
> |
fi |
| 7060 |
> |
;; |
| 7061 |
|
*) |
| 7062 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 7063 |
|
LD="${LD-ld} -64" |
| 7073 |
|
|
| 7074 |
|
need_locks="$enable_libtool_lock" |
| 7075 |
|
|
| 7076 |
+ |
if test -n "$ac_tool_prefix"; then |
| 7077 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 7078 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 7079 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7080 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7081 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 7082 |
+ |
$as_echo_n "(cached) " >&6 |
| 7083 |
+ |
else |
| 7084 |
+ |
if test -n "$MANIFEST_TOOL"; then |
| 7085 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 7086 |
+ |
else |
| 7087 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7088 |
+ |
for as_dir in $PATH |
| 7089 |
+ |
do |
| 7090 |
+ |
IFS=$as_save_IFS |
| 7091 |
+ |
test -z "$as_dir" && as_dir=. |
| 7092 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7093 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7094 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 7095 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7096 |
+ |
break 2 |
| 7097 |
+ |
fi |
| 7098 |
+ |
done |
| 7099 |
+ |
done |
| 7100 |
+ |
IFS=$as_save_IFS |
| 7101 |
+ |
|
| 7102 |
+ |
fi |
| 7103 |
+ |
fi |
| 7104 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 7105 |
+ |
if test -n "$MANIFEST_TOOL"; then |
| 7106 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 7107 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
| 7108 |
+ |
else |
| 7109 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7110 |
+ |
$as_echo "no" >&6; } |
| 7111 |
+ |
fi |
| 7112 |
+ |
|
| 7113 |
+ |
|
| 7114 |
+ |
fi |
| 7115 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 7116 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 7117 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
| 7118 |
+ |
set dummy mt; ac_word=$2 |
| 7119 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7120 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7121 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
| 7122 |
+ |
$as_echo_n "(cached) " >&6 |
| 7123 |
+ |
else |
| 7124 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7125 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 7126 |
+ |
else |
| 7127 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7128 |
+ |
for as_dir in $PATH |
| 7129 |
+ |
do |
| 7130 |
+ |
IFS=$as_save_IFS |
| 7131 |
+ |
test -z "$as_dir" && as_dir=. |
| 7132 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7133 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7134 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 7135 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7136 |
+ |
break 2 |
| 7137 |
+ |
fi |
| 7138 |
+ |
done |
| 7139 |
+ |
done |
| 7140 |
+ |
IFS=$as_save_IFS |
| 7141 |
+ |
|
| 7142 |
+ |
fi |
| 7143 |
+ |
fi |
| 7144 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 7145 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7146 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 7147 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
| 7148 |
+ |
else |
| 7149 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7150 |
+ |
$as_echo "no" >&6; } |
| 7151 |
+ |
fi |
| 7152 |
+ |
|
| 7153 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 7154 |
+ |
MANIFEST_TOOL=":" |
| 7155 |
+ |
else |
| 7156 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 7157 |
+ |
yes:) |
| 7158 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7159 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7160 |
+ |
ac_tool_warned=yes ;; |
| 7161 |
+ |
esac |
| 7162 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 7163 |
+ |
fi |
| 7164 |
+ |
else |
| 7165 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 7166 |
+ |
fi |
| 7167 |
+ |
|
| 7168 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 7169 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 7170 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 7171 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
| 7172 |
+ |
$as_echo_n "(cached) " >&6 |
| 7173 |
+ |
else |
| 7174 |
+ |
lt_cv_path_mainfest_tool=no |
| 7175 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 7176 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 7177 |
+ |
cat conftest.err >&5 |
| 7178 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 7179 |
+ |
lt_cv_path_mainfest_tool=yes |
| 7180 |
+ |
fi |
| 7181 |
+ |
rm -f conftest* |
| 7182 |
+ |
fi |
| 7183 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7184 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 7185 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
| 7186 |
+ |
MANIFEST_TOOL=: |
| 7187 |
+ |
fi |
| 7188 |
+ |
|
| 7189 |
+ |
|
| 7190 |
+ |
|
| 7191 |
+ |
|
| 7192 |
+ |
|
| 7193 |
|
|
| 7194 |
|
case $host_os in |
| 7195 |
|
rhapsody* | darwin*) |
| 7198 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 7199 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7200 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7201 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
| 7201 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 7202 |
|
$as_echo_n "(cached) " >&6 |
| 7203 |
|
else |
| 7204 |
|
if test -n "$DSYMUTIL"; then |
| 7210 |
|
IFS=$as_save_IFS |
| 7211 |
|
test -z "$as_dir" && as_dir=. |
| 7212 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7213 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7213 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7214 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 7215 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7216 |
|
break 2 |
| 7238 |
|
set dummy dsymutil; ac_word=$2 |
| 7239 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7240 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7241 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
| 7241 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 7242 |
|
$as_echo_n "(cached) " >&6 |
| 7243 |
|
else |
| 7244 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 7250 |
|
IFS=$as_save_IFS |
| 7251 |
|
test -z "$as_dir" && as_dir=. |
| 7252 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7253 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7253 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7254 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 7255 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7256 |
|
break 2 |
| 7290 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 7291 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7292 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7293 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
| 7293 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
| 7294 |
|
$as_echo_n "(cached) " >&6 |
| 7295 |
|
else |
| 7296 |
|
if test -n "$NMEDIT"; then |
| 7302 |
|
IFS=$as_save_IFS |
| 7303 |
|
test -z "$as_dir" && as_dir=. |
| 7304 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7305 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7305 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7306 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 7307 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7308 |
|
break 2 |
| 7330 |
|
set dummy nmedit; ac_word=$2 |
| 7331 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7332 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7333 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
| 7333 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 7334 |
|
$as_echo_n "(cached) " >&6 |
| 7335 |
|
else |
| 7336 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 7342 |
|
IFS=$as_save_IFS |
| 7343 |
|
test -z "$as_dir" && as_dir=. |
| 7344 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7345 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7345 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7346 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 7347 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7348 |
|
break 2 |
| 7382 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 7383 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7384 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7385 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
| 7385 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
| 7386 |
|
$as_echo_n "(cached) " >&6 |
| 7387 |
|
else |
| 7388 |
|
if test -n "$LIPO"; then |
| 7394 |
|
IFS=$as_save_IFS |
| 7395 |
|
test -z "$as_dir" && as_dir=. |
| 7396 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7397 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7397 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7398 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 7399 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7400 |
|
break 2 |
| 7422 |
|
set dummy lipo; ac_word=$2 |
| 7423 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7424 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7425 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
| 7425 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 7426 |
|
$as_echo_n "(cached) " >&6 |
| 7427 |
|
else |
| 7428 |
|
if test -n "$ac_ct_LIPO"; then |
| 7434 |
|
IFS=$as_save_IFS |
| 7435 |
|
test -z "$as_dir" && as_dir=. |
| 7436 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7437 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7437 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7438 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 7439 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7440 |
|
break 2 |
| 7474 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 7475 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7476 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7477 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
| 7477 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
| 7478 |
|
$as_echo_n "(cached) " >&6 |
| 7479 |
|
else |
| 7480 |
|
if test -n "$OTOOL"; then |
| 7486 |
|
IFS=$as_save_IFS |
| 7487 |
|
test -z "$as_dir" && as_dir=. |
| 7488 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7489 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7489 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7490 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 7491 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7492 |
|
break 2 |
| 7514 |
|
set dummy otool; ac_word=$2 |
| 7515 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7516 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7517 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
| 7517 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 7518 |
|
$as_echo_n "(cached) " >&6 |
| 7519 |
|
else |
| 7520 |
|
if test -n "$ac_ct_OTOOL"; then |
| 7526 |
|
IFS=$as_save_IFS |
| 7527 |
|
test -z "$as_dir" && as_dir=. |
| 7528 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7529 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7529 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7530 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 7531 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7532 |
|
break 2 |
| 7566 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 7567 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7568 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7569 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
| 7569 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
| 7570 |
|
$as_echo_n "(cached) " >&6 |
| 7571 |
|
else |
| 7572 |
|
if test -n "$OTOOL64"; then |
| 7578 |
|
IFS=$as_save_IFS |
| 7579 |
|
test -z "$as_dir" && as_dir=. |
| 7580 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7581 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7581 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7582 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 7583 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7584 |
|
break 2 |
| 7606 |
|
set dummy otool64; ac_word=$2 |
| 7607 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7608 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 7609 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
| 7609 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 7610 |
|
$as_echo_n "(cached) " >&6 |
| 7611 |
|
else |
| 7612 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 7618 |
|
IFS=$as_save_IFS |
| 7619 |
|
test -z "$as_dir" && as_dir=. |
| 7620 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7621 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7621 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7622 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 7623 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7624 |
|
break 2 |
| 7681 |
|
|
| 7682 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 7683 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
| 7684 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
| 7684 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 7685 |
|
$as_echo_n "(cached) " >&6 |
| 7686 |
|
else |
| 7687 |
|
lt_cv_apple_cc_single_mod=no |
| 7697 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 7698 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 7699 |
|
_lt_result=$? |
| 7700 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 7700 |
> |
# If there is a non-empty error log, and "single_module" |
| 7701 |
> |
# appears in it, assume the flag caused a linker warning |
| 7702 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
| 7703 |
> |
cat conftest.err >&5 |
| 7704 |
> |
# Otherwise, if the output was created with a 0 exit code from |
| 7705 |
> |
# the compiler, it worked. |
| 7706 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 7707 |
|
lt_cv_apple_cc_single_mod=yes |
| 7708 |
|
else |
| 7709 |
|
cat conftest.err >&5 |
| 7714 |
|
fi |
| 7715 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 7716 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 7717 |
+ |
|
| 7718 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 7719 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 7720 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
| 7720 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 7721 |
|
$as_echo_n "(cached) " >&6 |
| 7722 |
|
else |
| 7723 |
|
lt_cv_ld_exported_symbols_list=no |
| 7747 |
|
fi |
| 7748 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7749 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7750 |
+ |
|
| 7751 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 7752 |
|
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 7753 |
< |
if test "${lt_cv_ld_force_load+set}" = set; then : |
| 7753 |
> |
if ${lt_cv_ld_force_load+:} false; then : |
| 7754 |
|
$as_echo_n "(cached) " >&6 |
| 7755 |
|
else |
| 7756 |
|
lt_cv_ld_force_load=no |
| 7769 |
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 7770 |
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 7771 |
|
_lt_result=$? |
| 7772 |
< |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 7772 |
> |
if test -s conftest.err && $GREP force_load conftest.err; then |
| 7773 |
> |
cat conftest.err >&5 |
| 7774 |
> |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
| 7775 |
|
lt_cv_ld_force_load=yes |
| 7776 |
|
else |
| 7777 |
|
cat conftest.err >&5 |
| 7829 |
|
CPP= |
| 7830 |
|
fi |
| 7831 |
|
if test -z "$CPP"; then |
| 7832 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
| 7832 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
| 7833 |
|
$as_echo_n "(cached) " >&6 |
| 7834 |
|
else |
| 7835 |
|
# Double quotes because CPP needs to be expanded |
| 7957 |
|
|
| 7958 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7959 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7960 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 7960 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 7961 |
|
$as_echo_n "(cached) " >&6 |
| 7962 |
|
else |
| 7963 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8088 |
|
do : |
| 8089 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 8090 |
|
" |
| 8091 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
| 8091 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 8092 |
|
cat >>confdefs.h <<_ACEOF |
| 8093 |
|
#define HAVE_DLFCN_H 1 |
| 8094 |
|
_ACEOF |
| 8174 |
|
|
| 8175 |
|
# Check whether --with-pic was given. |
| 8176 |
|
if test "${with_pic+set}" = set; then : |
| 8177 |
< |
withval=$with_pic; pic_mode="$withval" |
| 8177 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
| 8178 |
> |
case $withval in |
| 8179 |
> |
yes|no) pic_mode=$withval ;; |
| 8180 |
> |
*) |
| 8181 |
> |
pic_mode=default |
| 8182 |
> |
# Look at the argument we got. We use all the common list separators. |
| 8183 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8184 |
> |
for lt_pkg in $withval; do |
| 8185 |
> |
IFS="$lt_save_ifs" |
| 8186 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
| 8187 |
> |
pic_mode=yes |
| 8188 |
> |
fi |
| 8189 |
> |
done |
| 8190 |
> |
IFS="$lt_save_ifs" |
| 8191 |
> |
;; |
| 8192 |
> |
esac |
| 8193 |
|
else |
| 8194 |
|
pic_mode=default |
| 8195 |
|
fi |
| 8267 |
|
|
| 8268 |
|
|
| 8269 |
|
|
| 8270 |
+ |
|
| 8271 |
+ |
|
| 8272 |
+ |
|
| 8273 |
+ |
|
| 8274 |
|
test -z "$LN_S" && LN_S="ln -s" |
| 8275 |
|
|
| 8276 |
|
|
| 8292 |
|
|
| 8293 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8294 |
|
$as_echo_n "checking for objdir... " >&6; } |
| 8295 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
| 8295 |
> |
if ${lt_cv_objdir+:} false; then : |
| 8296 |
|
$as_echo_n "(cached) " >&6 |
| 8297 |
|
else |
| 8298 |
|
rm -f .libs 2>/dev/null |
| 8370 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 8371 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 8372 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 8373 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 8373 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8374 |
|
$as_echo_n "(cached) " >&6 |
| 8375 |
|
else |
| 8376 |
|
case $MAGIC_CMD in |
| 8436 |
|
if test -n "$ac_tool_prefix"; then |
| 8437 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 8438 |
|
$as_echo_n "checking for file... " >&6; } |
| 8439 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 8439 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8440 |
|
$as_echo_n "(cached) " >&6 |
| 8441 |
|
else |
| 8442 |
|
case $MAGIC_CMD in |
| 8560 |
|
$RM -r conftest* |
| 8561 |
|
|
| 8562 |
|
|
| 8563 |
+ |
## CAVEAT EMPTOR: |
| 8564 |
+ |
## There is no encapsulation within the following macros, do not change |
| 8565 |
+ |
## the running order or otherwise move them around unless you know exactly |
| 8566 |
+ |
## what you are doing... |
| 8567 |
|
if test -n "$compiler"; then |
| 8568 |
|
|
| 8569 |
|
lt_prog_compiler_no_builtin_flag= |
| 8578 |
|
|
| 8579 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 8580 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 8581 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
| 8581 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 8582 |
|
$as_echo_n "(cached) " >&6 |
| 8583 |
|
else |
| 8584 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
| 8631 |
|
lt_prog_compiler_pic= |
| 8632 |
|
lt_prog_compiler_static= |
| 8633 |
|
|
| 7919 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 7920 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 8634 |
|
|
| 8635 |
|
if test "$GCC" = yes; then |
| 8636 |
|
lt_prog_compiler_wl='-Wl,' |
| 8730 |
|
case $cc_basename in |
| 8731 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
| 8732 |
|
lt_prog_compiler_wl='-Xlinker ' |
| 8733 |
< |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
| 8733 |
> |
if test -n "$lt_prog_compiler_pic"; then |
| 8734 |
> |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 8735 |
> |
fi |
| 8736 |
|
;; |
| 8737 |
|
esac |
| 8738 |
|
else |
| 8797 |
|
lt_prog_compiler_pic='--shared' |
| 8798 |
|
lt_prog_compiler_static='--static' |
| 8799 |
|
;; |
| 8800 |
+ |
nagfor*) |
| 8801 |
+ |
# NAG Fortran compiler |
| 8802 |
+ |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 8803 |
+ |
lt_prog_compiler_pic='-PIC' |
| 8804 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8805 |
+ |
;; |
| 8806 |
|
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 8807 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 8808 |
|
# which looks to be a dead project) |
| 8823 |
|
;; |
| 8824 |
|
*) |
| 8825 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 8826 |
< |
*Sun\ F* | *Sun*Fortran*) |
| 8826 |
> |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 8827 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 8828 |
|
lt_prog_compiler_pic='-KPIC' |
| 8829 |
|
lt_prog_compiler_static='-Bstatic' |
| 8830 |
|
lt_prog_compiler_wl='' |
| 8831 |
|
;; |
| 8832 |
+ |
*Sun\ F* | *Sun*Fortran*) |
| 8833 |
+ |
lt_prog_compiler_pic='-KPIC' |
| 8834 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8835 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
| 8836 |
+ |
;; |
| 8837 |
|
*Sun\ C*) |
| 8838 |
|
# Sun C 5.9 |
| 8839 |
|
lt_prog_compiler_pic='-KPIC' |
| 8840 |
|
lt_prog_compiler_static='-Bstatic' |
| 8841 |
|
lt_prog_compiler_wl='-Wl,' |
| 8842 |
|
;; |
| 8843 |
+ |
*Intel*\ [CF]*Compiler*) |
| 8844 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 8845 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 8846 |
+ |
lt_prog_compiler_static='-static' |
| 8847 |
+ |
;; |
| 8848 |
+ |
*Portland\ Group*) |
| 8849 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 8850 |
+ |
lt_prog_compiler_pic='-fpic' |
| 8851 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 8852 |
+ |
;; |
| 8853 |
|
esac |
| 8854 |
|
;; |
| 8855 |
|
esac |
| 8937 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 8938 |
|
;; |
| 8939 |
|
esac |
| 8204 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
| 8205 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
| 8206 |
– |
|
| 8207 |
– |
|
| 8208 |
– |
|
| 8209 |
– |
|
| 8940 |
|
|
| 8941 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 8942 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 8943 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
| 8944 |
+ |
$as_echo_n "(cached) " >&6 |
| 8945 |
+ |
else |
| 8946 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 8947 |
+ |
fi |
| 8948 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 8949 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
| 8950 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 8951 |
|
|
| 8952 |
|
# |
| 8953 |
|
# Check to make sure the PIC flag actually works. |
| 8955 |
|
if test -n "$lt_prog_compiler_pic"; then |
| 8956 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 8957 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 8958 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
| 8958 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 8959 |
|
$as_echo_n "(cached) " >&6 |
| 8960 |
|
else |
| 8961 |
|
lt_cv_prog_compiler_pic_works=no |
| 9008 |
|
|
| 9009 |
|
|
| 9010 |
|
|
| 9011 |
+ |
|
| 9012 |
+ |
|
| 9013 |
+ |
|
| 9014 |
+ |
|
| 9015 |
+ |
|
| 9016 |
|
# |
| 9017 |
|
# Check to make sure the static flag actually works. |
| 9018 |
|
# |
| 9019 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 9020 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 9021 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 9022 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
| 9022 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 9023 |
|
$as_echo_n "(cached) " >&6 |
| 9024 |
|
else |
| 9025 |
|
lt_cv_prog_compiler_static_works=no |
| 9062 |
|
|
| 9063 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9064 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9065 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 9065 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 9066 |
|
$as_echo_n "(cached) " >&6 |
| 9067 |
|
else |
| 9068 |
|
lt_cv_prog_compiler_c_o=no |
| 9117 |
|
|
| 9118 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9119 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9120 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 9120 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 9121 |
|
$as_echo_n "(cached) " >&6 |
| 9122 |
|
else |
| 9123 |
|
lt_cv_prog_compiler_c_o=no |
| 9211 |
|
hardcode_direct=no |
| 9212 |
|
hardcode_direct_absolute=no |
| 9213 |
|
hardcode_libdir_flag_spec= |
| 8469 |
– |
hardcode_libdir_flag_spec_ld= |
| 9214 |
|
hardcode_libdir_separator= |
| 9215 |
|
hardcode_minus_L=no |
| 9216 |
|
hardcode_shlibpath_var=unsupported |
| 9362 |
|
allow_undefined_flag=unsupported |
| 9363 |
|
always_export_symbols=no |
| 9364 |
|
enable_shared_with_static_runtimes=yes |
| 9365 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9365 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
| 9366 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 9367 |
|
|
| 9368 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 9369 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 9411 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 9412 |
|
&& test "$tmp_diet" = no |
| 9413 |
|
then |
| 9414 |
< |
tmp_addflag= |
| 9414 |
> |
tmp_addflag=' $pic_flag' |
| 9415 |
|
tmp_sharedflag='-shared' |
| 9416 |
|
case $cc_basename,$host_cpu in |
| 9417 |
|
pgcc*) # Portland Group C compiler |
| 9460 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
| 9461 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 9462 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 9463 |
< |
hardcode_libdir_flag_spec= |
| 8719 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
| 9463 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9464 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 9465 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 9466 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9480 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9481 |
|
wlarc= |
| 9482 |
|
else |
| 9483 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9484 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9483 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9484 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9485 |
|
fi |
| 9486 |
|
;; |
| 9487 |
|
|
| 9499 |
|
|
| 9500 |
|
_LT_EOF |
| 9501 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9502 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9503 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9502 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9503 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9504 |
|
else |
| 9505 |
|
ld_shlibs=no |
| 9506 |
|
fi |
| 9546 |
|
|
| 9547 |
|
*) |
| 9548 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9549 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9550 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9549 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9550 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9551 |
|
else |
| 9552 |
|
ld_shlibs=no |
| 9553 |
|
fi |
| 9677 |
|
allow_undefined_flag='-berok' |
| 9678 |
|
# Determine the default libpath from the value encoded in an |
| 9679 |
|
# empty executable. |
| 9680 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9680 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 9681 |
> |
aix_libpath=$lt_cv_aix_libpath |
| 9682 |
> |
else |
| 9683 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
| 9684 |
> |
$as_echo_n "(cached) " >&6 |
| 9685 |
> |
else |
| 9686 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9687 |
|
/* end confdefs.h. */ |
| 9688 |
|
|
| 9689 |
|
int |
| 9696 |
|
_ACEOF |
| 9697 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9698 |
|
|
| 9699 |
< |
lt_aix_libpath_sed=' |
| 9700 |
< |
/Import File Strings/,/^$/ { |
| 9701 |
< |
/^0/ { |
| 9702 |
< |
s/^0 *\(.*\)$/\1/ |
| 9703 |
< |
p |
| 9704 |
< |
} |
| 9705 |
< |
}' |
| 9706 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9707 |
< |
# Check for a 64-bit object if we didn't find anything. |
| 9708 |
< |
if test -z "$aix_libpath"; then |
| 9709 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9710 |
< |
fi |
| 9699 |
> |
lt_aix_libpath_sed=' |
| 9700 |
> |
/Import File Strings/,/^$/ { |
| 9701 |
> |
/^0/ { |
| 9702 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
| 9703 |
> |
p |
| 9704 |
> |
} |
| 9705 |
> |
}' |
| 9706 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9707 |
> |
# Check for a 64-bit object if we didn't find anything. |
| 9708 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9709 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9710 |
> |
fi |
| 9711 |
|
fi |
| 9712 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9713 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9714 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 9714 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9715 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 9716 |
> |
fi |
| 9717 |
> |
|
| 9718 |
> |
fi |
| 9719 |
> |
|
| 9720 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
| 9721 |
> |
fi |
| 9722 |
|
|
| 9723 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9724 |
|
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 9730 |
|
else |
| 9731 |
|
# Determine the default libpath from the value encoded in an |
| 9732 |
|
# empty executable. |
| 9733 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9733 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 9734 |
> |
aix_libpath=$lt_cv_aix_libpath |
| 9735 |
> |
else |
| 9736 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
| 9737 |
> |
$as_echo_n "(cached) " >&6 |
| 9738 |
> |
else |
| 9739 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9740 |
|
/* end confdefs.h. */ |
| 9741 |
|
|
| 9742 |
|
int |
| 9749 |
|
_ACEOF |
| 9750 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 9751 |
|
|
| 9752 |
< |
lt_aix_libpath_sed=' |
| 9753 |
< |
/Import File Strings/,/^$/ { |
| 9754 |
< |
/^0/ { |
| 9755 |
< |
s/^0 *\(.*\)$/\1/ |
| 9756 |
< |
p |
| 9757 |
< |
} |
| 9758 |
< |
}' |
| 9759 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9760 |
< |
# Check for a 64-bit object if we didn't find anything. |
| 9761 |
< |
if test -z "$aix_libpath"; then |
| 9762 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9763 |
< |
fi |
| 9752 |
> |
lt_aix_libpath_sed=' |
| 9753 |
> |
/Import File Strings/,/^$/ { |
| 9754 |
> |
/^0/ { |
| 9755 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
| 9756 |
> |
p |
| 9757 |
> |
} |
| 9758 |
> |
}' |
| 9759 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9760 |
> |
# Check for a 64-bit object if we didn't find anything. |
| 9761 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9762 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 9763 |
> |
fi |
| 9764 |
|
fi |
| 9765 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 9766 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9767 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 9767 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
| 9768 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 9769 |
> |
fi |
| 9770 |
> |
|
| 9771 |
> |
fi |
| 9772 |
> |
|
| 9773 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
| 9774 |
> |
fi |
| 9775 |
|
|
| 9776 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9777 |
|
# Warning - without using the other run time loading flags, |
| 9816 |
|
# Microsoft Visual C++. |
| 9817 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
| 9818 |
|
# no search path for DLLs. |
| 9819 |
< |
hardcode_libdir_flag_spec=' ' |
| 9820 |
< |
allow_undefined_flag=unsupported |
| 9821 |
< |
# Tell ltmain to make .lib files, not .a files. |
| 9822 |
< |
libext=lib |
| 9823 |
< |
# Tell ltmain to make .dll files, not .so files. |
| 9824 |
< |
shrext_cmds=".dll" |
| 9825 |
< |
# FIXME: Setting linknames here is a bad hack. |
| 9826 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9827 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
| 9828 |
< |
old_archive_from_new_cmds='true' |
| 9829 |
< |
# FIXME: Should let the user specify the lib program. |
| 9830 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 9831 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
| 9832 |
< |
enable_shared_with_static_runtimes=yes |
| 9819 |
> |
case $cc_basename in |
| 9820 |
> |
cl*) |
| 9821 |
> |
# Native MSVC |
| 9822 |
> |
hardcode_libdir_flag_spec=' ' |
| 9823 |
> |
allow_undefined_flag=unsupported |
| 9824 |
> |
always_export_symbols=yes |
| 9825 |
> |
file_list_spec='@' |
| 9826 |
> |
# Tell ltmain to make .lib files, not .a files. |
| 9827 |
> |
libext=lib |
| 9828 |
> |
# Tell ltmain to make .dll files, not .so files. |
| 9829 |
> |
shrext_cmds=".dll" |
| 9830 |
> |
# FIXME: Setting linknames here is a bad hack. |
| 9831 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
| 9832 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 9833 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
| 9834 |
> |
else |
| 9835 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
| 9836 |
> |
fi~ |
| 9837 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 9838 |
> |
linknames=' |
| 9839 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
| 9840 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 9841 |
> |
enable_shared_with_static_runtimes=yes |
| 9842 |
> |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 9843 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 9844 |
> |
# Don't use ranlib |
| 9845 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
| 9846 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 9847 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 9848 |
> |
case $lt_outputfile in |
| 9849 |
> |
*.exe|*.EXE) ;; |
| 9850 |
> |
*) |
| 9851 |
> |
lt_outputfile="$lt_outputfile.exe" |
| 9852 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
| 9853 |
> |
;; |
| 9854 |
> |
esac~ |
| 9855 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
| 9856 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 9857 |
> |
$RM "$lt_outputfile.manifest"; |
| 9858 |
> |
fi' |
| 9859 |
> |
;; |
| 9860 |
> |
*) |
| 9861 |
> |
# Assume MSVC wrapper |
| 9862 |
> |
hardcode_libdir_flag_spec=' ' |
| 9863 |
> |
allow_undefined_flag=unsupported |
| 9864 |
> |
# Tell ltmain to make .lib files, not .a files. |
| 9865 |
> |
libext=lib |
| 9866 |
> |
# Tell ltmain to make .dll files, not .so files. |
| 9867 |
> |
shrext_cmds=".dll" |
| 9868 |
> |
# FIXME: Setting linknames here is a bad hack. |
| 9869 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 9870 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
| 9871 |
> |
old_archive_from_new_cmds='true' |
| 9872 |
> |
# FIXME: Should let the user specify the lib program. |
| 9873 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 9874 |
> |
enable_shared_with_static_runtimes=yes |
| 9875 |
> |
;; |
| 9876 |
> |
esac |
| 9877 |
|
;; |
| 9878 |
|
|
| 9879 |
|
darwin* | rhapsody*) |
| 9885 |
|
hardcode_shlibpath_var=unsupported |
| 9886 |
|
if test "$lt_cv_ld_force_load" = "yes"; then |
| 9887 |
|
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 9888 |
+ |
|
| 9889 |
|
else |
| 9890 |
|
whole_archive_flag_spec='' |
| 9891 |
|
fi |
| 9914 |
|
hardcode_shlibpath_var=no |
| 9915 |
|
;; |
| 9916 |
|
|
| 9102 |
– |
freebsd1*) |
| 9103 |
– |
ld_shlibs=no |
| 9104 |
– |
;; |
| 9105 |
– |
|
| 9917 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 9918 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
| 9919 |
|
# does not break anything, and helps significantly (at the cost of a little |
| 9926 |
|
;; |
| 9927 |
|
|
| 9928 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 9929 |
< |
freebsd2*) |
| 9929 |
> |
freebsd2.*) |
| 9930 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 9931 |
|
hardcode_direct=yes |
| 9932 |
|
hardcode_minus_L=yes |
| 9935 |
|
|
| 9936 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 9937 |
|
freebsd* | dragonfly*) |
| 9938 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
| 9938 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 9939 |
|
hardcode_libdir_flag_spec='-R$libdir' |
| 9940 |
|
hardcode_direct=yes |
| 9941 |
|
hardcode_shlibpath_var=no |
| 9943 |
|
|
| 9944 |
|
hpux9*) |
| 9945 |
|
if test "$GCC" = yes; then |
| 9946 |
< |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 9946 |
> |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 9947 |
|
else |
| 9948 |
|
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 9949 |
|
fi |
| 9959 |
|
|
| 9960 |
|
hpux10*) |
| 9961 |
|
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 9962 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9962 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9963 |
|
else |
| 9964 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 9965 |
|
fi |
| 9966 |
|
if test "$with_gnu_ld" = no; then |
| 9967 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 9157 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
| 9968 |
|
hardcode_libdir_separator=: |
| 9969 |
|
hardcode_direct=yes |
| 9970 |
|
hardcode_direct_absolute=yes |
| 9982 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 9983 |
|
;; |
| 9984 |
|
ia64*) |
| 9985 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9985 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 9986 |
|
;; |
| 9987 |
|
*) |
| 9988 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9988 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 9989 |
|
;; |
| 9990 |
|
esac |
| 9991 |
|
else |
| 10002 |
|
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 10003 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 10004 |
|
$as_echo_n "checking if $CC understands -b... " >&6; } |
| 10005 |
< |
if test "${lt_cv_prog_compiler__b+set}" = set; then : |
| 10005 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
| 10006 |
|
$as_echo_n "(cached) " >&6 |
| 10007 |
|
else |
| 10008 |
|
lt_cv_prog_compiler__b=no |
| 10064 |
|
|
| 10065 |
|
irix5* | irix6* | nonstopux*) |
| 10066 |
|
if test "$GCC" = yes; then |
| 10067 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 10067 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 10068 |
|
# Try to use the -exported_symbol ld option, if it does not |
| 10069 |
|
# work, assume that -exports_file does not work either and |
| 10070 |
|
# implicitly export all symbols. |
| 10071 |
< |
save_LDFLAGS="$LDFLAGS" |
| 10072 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 10073 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10071 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
| 10072 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 10073 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 10074 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
| 10075 |
> |
$as_echo_n "(cached) " >&6 |
| 10076 |
> |
else |
| 10077 |
> |
save_LDFLAGS="$LDFLAGS" |
| 10078 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 10079 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10080 |
|
/* end confdefs.h. */ |
| 10081 |
< |
int foo(void) {} |
| 10081 |
> |
int foo (void) { return 0; } |
| 10082 |
|
_ACEOF |
| 10083 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 10084 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 10085 |
< |
|
| 10084 |
> |
lt_cv_irix_exported_symbol=yes |
| 10085 |
> |
else |
| 10086 |
> |
lt_cv_irix_exported_symbol=no |
| 10087 |
|
fi |
| 10088 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 10089 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10090 |
< |
LDFLAGS="$save_LDFLAGS" |
| 10090 |
> |
LDFLAGS="$save_LDFLAGS" |
| 10091 |
> |
fi |
| 10092 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 10093 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| 10094 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
| 10095 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 10096 |
> |
fi |
| 10097 |
|
else |
| 10098 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
| 10099 |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
| 10178 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 10179 |
|
if test "$GCC" = yes; then |
| 10180 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 10181 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 10181 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 10182 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10183 |
|
else |
| 10184 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 10197 |
|
no_undefined_flag=' -z defs' |
| 10198 |
|
if test "$GCC" = yes; then |
| 10199 |
|
wlarc='${wl}' |
| 10200 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10200 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10201 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 10202 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 10202 |
> |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 10203 |
|
else |
| 10204 |
|
case `$CC -V 2>&1` in |
| 10205 |
|
*"Compilers 5.0"*) |
| 10387 |
|
# to ld, don't add -lc before -lgcc. |
| 10388 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 10389 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 10390 |
< |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : |
| 10390 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
| 10391 |
|
$as_echo_n "(cached) " >&6 |
| 10392 |
|
else |
| 10393 |
|
$RM conftest* |
| 10588 |
|
|
| 10589 |
|
|
| 10590 |
|
|
| 9768 |
– |
|
| 9769 |
– |
|
| 9770 |
– |
|
| 9771 |
– |
|
| 9772 |
– |
|
| 10591 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 10592 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 10593 |
|
|
| 10677 |
|
|
| 10678 |
|
case $host_os in |
| 10679 |
|
aix3*) |
| 10680 |
< |
version_type=linux |
| 10680 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10681 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 10682 |
|
shlibpath_var=LIBPATH |
| 10683 |
|
|
| 10686 |
|
;; |
| 10687 |
|
|
| 10688 |
|
aix[4-9]*) |
| 10689 |
< |
version_type=linux |
| 10689 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10690 |
|
need_lib_prefix=no |
| 10691 |
|
need_version=no |
| 10692 |
|
hardcode_into_libs=yes |
| 10751 |
|
;; |
| 10752 |
|
|
| 10753 |
|
bsdi[45]*) |
| 10754 |
< |
version_type=linux |
| 10754 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10755 |
|
need_version=no |
| 10756 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 10757 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10770 |
|
need_version=no |
| 10771 |
|
need_lib_prefix=no |
| 10772 |
|
|
| 10773 |
< |
case $GCC,$host_os in |
| 10774 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
| 10773 |
> |
case $GCC,$cc_basename in |
| 10774 |
> |
yes,*) |
| 10775 |
> |
# gcc |
| 10776 |
|
library_names_spec='$libname.dll.a' |
| 10777 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 10778 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
| 10805 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 10806 |
|
;; |
| 10807 |
|
esac |
| 10808 |
+ |
dynamic_linker='Win32 ld.exe' |
| 10809 |
+ |
;; |
| 10810 |
+ |
|
| 10811 |
+ |
*,cl*) |
| 10812 |
+ |
# Native MSVC |
| 10813 |
+ |
libname_spec='$name' |
| 10814 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 10815 |
+ |
library_names_spec='${libname}.dll.lib' |
| 10816 |
+ |
|
| 10817 |
+ |
case $build_os in |
| 10818 |
+ |
mingw*) |
| 10819 |
+ |
sys_lib_search_path_spec= |
| 10820 |
+ |
lt_save_ifs=$IFS |
| 10821 |
+ |
IFS=';' |
| 10822 |
+ |
for lt_path in $LIB |
| 10823 |
+ |
do |
| 10824 |
+ |
IFS=$lt_save_ifs |
| 10825 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
| 10826 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
| 10827 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 10828 |
+ |
done |
| 10829 |
+ |
IFS=$lt_save_ifs |
| 10830 |
+ |
# Convert to MSYS style. |
| 10831 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 10832 |
+ |
;; |
| 10833 |
+ |
cygwin*) |
| 10834 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
| 10835 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
| 10836 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
| 10837 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 10838 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
| 10839 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 10840 |
+ |
;; |
| 10841 |
+ |
*) |
| 10842 |
+ |
sys_lib_search_path_spec="$LIB" |
| 10843 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 10844 |
+ |
# It is most probably a Windows format PATH. |
| 10845 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 10846 |
+ |
else |
| 10847 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 10848 |
+ |
fi |
| 10849 |
+ |
# FIXME: find the short name or the path components, as spaces are |
| 10850 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
| 10851 |
+ |
;; |
| 10852 |
+ |
esac |
| 10853 |
+ |
|
| 10854 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 10855 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
| 10856 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 10857 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
| 10858 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
| 10859 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
| 10860 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 10861 |
+ |
dlpath=$dir/\$dldll~ |
| 10862 |
+ |
$RM \$dlpath' |
| 10863 |
+ |
shlibpath_overrides_runpath=yes |
| 10864 |
+ |
dynamic_linker='Win32 link.exe' |
| 10865 |
|
;; |
| 10866 |
|
|
| 10867 |
|
*) |
| 10868 |
+ |
# Assume MSVC wrapper |
| 10869 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
| 10870 |
+ |
dynamic_linker='Win32 ld.exe' |
| 10871 |
|
;; |
| 10872 |
|
esac |
| 9995 |
– |
dynamic_linker='Win32 ld.exe' |
| 10873 |
|
# FIXME: first we should search . and the directory the executable is in |
| 10874 |
|
shlibpath_var=PATH |
| 10875 |
|
;; |
| 10890 |
|
;; |
| 10891 |
|
|
| 10892 |
|
dgux*) |
| 10893 |
< |
version_type=linux |
| 10893 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10894 |
|
need_lib_prefix=no |
| 10895 |
|
need_version=no |
| 10896 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 10898 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10899 |
|
;; |
| 10900 |
|
|
| 10024 |
– |
freebsd1*) |
| 10025 |
– |
dynamic_linker=no |
| 10026 |
– |
;; |
| 10027 |
– |
|
| 10901 |
|
freebsd* | dragonfly*) |
| 10902 |
|
# DragonFly does not have aout. When/if they implement a new |
| 10903 |
|
# versioning mechanism, adjust this. |
| 10905 |
|
objformat=`/usr/bin/objformat` |
| 10906 |
|
else |
| 10907 |
|
case $host_os in |
| 10908 |
< |
freebsd[123]*) objformat=aout ;; |
| 10908 |
> |
freebsd[23].*) objformat=aout ;; |
| 10909 |
|
*) objformat=elf ;; |
| 10910 |
|
esac |
| 10911 |
|
fi |
| 10923 |
|
esac |
| 10924 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10925 |
|
case $host_os in |
| 10926 |
< |
freebsd2*) |
| 10926 |
> |
freebsd2.*) |
| 10927 |
|
shlibpath_overrides_runpath=yes |
| 10928 |
|
;; |
| 10929 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
| 10943 |
|
;; |
| 10944 |
|
|
| 10945 |
|
gnu*) |
| 10946 |
< |
version_type=linux |
| 10946 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10947 |
|
need_lib_prefix=no |
| 10948 |
|
need_version=no |
| 10949 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 10950 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 10951 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 10952 |
+ |
shlibpath_overrides_runpath=no |
| 10953 |
|
hardcode_into_libs=yes |
| 10954 |
|
;; |
| 10955 |
|
|
| 10956 |
|
haiku*) |
| 10957 |
< |
version_type=linux |
| 10957 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10958 |
|
need_lib_prefix=no |
| 10959 |
|
need_version=no |
| 10960 |
|
dynamic_linker="$host_os runtime_loader" |
| 11015 |
|
;; |
| 11016 |
|
|
| 11017 |
|
interix[3-9]*) |
| 11018 |
< |
version_type=linux |
| 11018 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11019 |
|
need_lib_prefix=no |
| 11020 |
|
need_version=no |
| 11021 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11031 |
|
nonstopux*) version_type=nonstopux ;; |
| 11032 |
|
*) |
| 11033 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 11034 |
< |
version_type=linux |
| 11034 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11035 |
|
else |
| 11036 |
|
version_type=irix |
| 11037 |
|
fi ;; |
| 11068 |
|
dynamic_linker=no |
| 11069 |
|
;; |
| 11070 |
|
|
| 11071 |
< |
# This must be Linux ELF. |
| 11071 |
> |
# This must be glibc/ELF. |
| 11072 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 11073 |
< |
version_type=linux |
| 11073 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11074 |
|
need_lib_prefix=no |
| 11075 |
|
need_version=no |
| 11076 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11080 |
|
shlibpath_overrides_runpath=no |
| 11081 |
|
|
| 11082 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 11083 |
< |
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : |
| 11083 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 11084 |
|
$as_echo_n "(cached) " >&6 |
| 11085 |
|
else |
| 11086 |
|
lt_cv_shlibpath_overrides_runpath=no |
| 11152 |
|
;; |
| 11153 |
|
|
| 11154 |
|
newsos6) |
| 11155 |
< |
version_type=linux |
| 11155 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11156 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11157 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11158 |
|
shlibpath_overrides_runpath=yes |
| 11221 |
|
;; |
| 11222 |
|
|
| 11223 |
|
solaris*) |
| 11224 |
< |
version_type=linux |
| 11224 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11225 |
|
need_lib_prefix=no |
| 11226 |
|
need_version=no |
| 11227 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11246 |
|
;; |
| 11247 |
|
|
| 11248 |
|
sysv4 | sysv4.3*) |
| 11249 |
< |
version_type=linux |
| 11249 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11250 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11251 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11252 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11270 |
|
|
| 11271 |
|
sysv4*MP*) |
| 11272 |
|
if test -d /usr/nec ;then |
| 11273 |
< |
version_type=linux |
| 11273 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11274 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 11275 |
|
soname_spec='$libname${shared_ext}.$major' |
| 11276 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11301 |
|
|
| 11302 |
|
tpf*) |
| 11303 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 11304 |
< |
version_type=linux |
| 11304 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11305 |
|
need_lib_prefix=no |
| 11306 |
|
need_version=no |
| 11307 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11311 |
|
;; |
| 11312 |
|
|
| 11313 |
|
uts4*) |
| 11314 |
< |
version_type=linux |
| 11314 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 11315 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11316 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 11317 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11500 |
|
# if libdl is installed we need to link against it |
| 11501 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 11502 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 11503 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 11503 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 11504 |
|
$as_echo_n "(cached) " >&6 |
| 11505 |
|
else |
| 11506 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11534 |
|
fi |
| 11535 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 11536 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 11537 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 11537 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 11538 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 11539 |
|
else |
| 11540 |
|
|
| 11548 |
|
|
| 11549 |
|
*) |
| 11550 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 11551 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 11551 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 11552 |
|
lt_cv_dlopen="shl_load" |
| 11553 |
|
else |
| 11554 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 11555 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 11556 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 11556 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 11557 |
|
$as_echo_n "(cached) " >&6 |
| 11558 |
|
else |
| 11559 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11587 |
|
fi |
| 11588 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 11589 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 11590 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 11590 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 11591 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 11592 |
|
else |
| 11593 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 11594 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
| 11594 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
| 11595 |
|
lt_cv_dlopen="dlopen" |
| 11596 |
|
else |
| 11597 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 11598 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 11599 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 11599 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 11600 |
|
$as_echo_n "(cached) " >&6 |
| 11601 |
|
else |
| 11602 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11630 |
|
fi |
| 11631 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 11632 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 11633 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 11633 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 11634 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 11635 |
|
else |
| 11636 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 11637 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 11638 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 11638 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 11639 |
|
$as_echo_n "(cached) " >&6 |
| 11640 |
|
else |
| 11641 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11669 |
|
fi |
| 11670 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 11671 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 11672 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 11672 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 11673 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 11674 |
|
else |
| 11675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 11676 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 11677 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 11677 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 11678 |
|
$as_echo_n "(cached) " >&6 |
| 11679 |
|
else |
| 11680 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11708 |
|
fi |
| 11709 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 11710 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 11711 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 11711 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 11712 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 11713 |
|
fi |
| 11714 |
|
|
| 11749 |
|
|
| 11750 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 11751 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 11752 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
| 11752 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
| 11753 |
|
$as_echo_n "(cached) " >&6 |
| 11754 |
|
else |
| 11755 |
|
if test "$cross_compiling" = yes; then : |
| 11802 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11803 |
|
correspondingly for the symbols needed. */ |
| 11804 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11805 |
< |
void fnord () __attribute__((visibility("default"))); |
| 11805 |
> |
int fnord () __attribute__((visibility("default"))); |
| 11806 |
|
#endif |
| 11807 |
|
|
| 11808 |
< |
void fnord () { int i=42; } |
| 11808 |
> |
int fnord () { return 42; } |
| 11809 |
|
int main () |
| 11810 |
|
{ |
| 11811 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 11855 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 11856 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 11857 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 11858 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
| 11858 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
| 11859 |
|
$as_echo_n "(cached) " >&6 |
| 11860 |
|
else |
| 11861 |
|
if test "$cross_compiling" = yes; then : |
| 11908 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 11909 |
|
correspondingly for the symbols needed. */ |
| 11910 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 11911 |
< |
void fnord () __attribute__((visibility("default"))); |
| 11911 |
> |
int fnord () __attribute__((visibility("default"))); |
| 11912 |
|
#endif |
| 11913 |
|
|
| 11914 |
< |
void fnord () { int i=42; } |
| 11914 |
> |
int fnord () { return 42; } |
| 11915 |
|
int main () |
| 11916 |
|
{ |
| 11917 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12093 |
|
|
| 12094 |
|
|
| 12095 |
|
|
| 12096 |
+ |
|
| 12097 |
+ |
|
| 12098 |
|
ac_config_commands="$ac_config_commands libtool" |
| 12099 |
|
|
| 12100 |
|
|
| 12105 |
|
|
| 12106 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
| 12107 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
| 12108 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
| 12108 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
| 12109 |
|
$as_echo_n "(cached) " >&6 |
| 12110 |
|
else |
| 12111 |
|
|
| 12112 |
|
module=yes |
| 12113 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 12114 |
+ |
module=no |
| 12115 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
| 12116 |
|
|
| 12117 |
|
fi |
| 12118 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 12124 |
|
_ACEOF |
| 12125 |
|
|
| 12126 |
|
fi |
| 12127 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
| 12128 |
+ |
|
| 12129 |
+ |
cat >>confdefs.h <<_ACEOF |
| 12130 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
| 12131 |
+ |
_ACEOF |
| 12132 |
+ |
|
| 12133 |
+ |
fi |
| 12134 |
|
|
| 12135 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 12136 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 12137 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
| 12137 |
> |
if ${lt_cv_module_path_var+:} false; then : |
| 12138 |
|
$as_echo_n "(cached) " >&6 |
| 12139 |
|
else |
| 12140 |
|
lt_cv_module_path_var="$shlibpath_var" |
| 12151 |
|
|
| 12152 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
| 12153 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
| 12154 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
| 12154 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
| 12155 |
|
$as_echo_n "(cached) " >&6 |
| 12156 |
|
else |
| 12157 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
| 12188 |
|
LIBADD_DLOPEN= |
| 12189 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 12190 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
| 12191 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12191 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12192 |
|
$as_echo_n "(cached) " >&6 |
| 12193 |
|
else |
| 12194 |
|
ac_func_search_save_LIBS=$LIBS |
| 12222 |
|
fi |
| 12223 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 12224 |
|
conftest$ac_exeext |
| 12225 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12225 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12226 |
|
break |
| 12227 |
|
fi |
| 12228 |
|
done |
| 12229 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 12229 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
| 12230 |
|
|
| 12231 |
|
else |
| 12232 |
|
ac_cv_search_dlopen=no |
| 12271 |
|
else |
| 12272 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12273 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12274 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 12274 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12275 |
|
$as_echo_n "(cached) " >&6 |
| 12276 |
|
else |
| 12277 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12305 |
|
fi |
| 12306 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12307 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12308 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 12308 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12309 |
|
|
| 12310 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 12311 |
|
|
| 12325 |
|
for ac_func in dlerror |
| 12326 |
|
do : |
| 12327 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
| 12328 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
| 12328 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
| 12329 |
|
cat >>confdefs.h <<_ACEOF |
| 12330 |
|
#define HAVE_DLERROR 1 |
| 12331 |
|
_ACEOF |
| 12339 |
|
|
| 12340 |
|
LIBADD_SHL_LOAD= |
| 12341 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12342 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 12342 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12343 |
|
|
| 12344 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 12345 |
|
|
| 12347 |
|
else |
| 12348 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12349 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12350 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 12350 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12351 |
|
$as_echo_n "(cached) " >&6 |
| 12352 |
|
else |
| 12353 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12381 |
|
fi |
| 12382 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12383 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12384 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 12384 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12385 |
|
|
| 12386 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 12387 |
|
|
| 12397 |
|
darwin[1567].*) |
| 12398 |
|
# We only want this for pre-Mac OS X 10.4. |
| 12399 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
| 12400 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
| 12400 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
| 12401 |
|
|
| 12402 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
| 12403 |
|
|
| 12411 |
|
cygwin* | mingw* | os2* | pw32*) |
| 12412 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
| 12413 |
|
" |
| 12414 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
| 12414 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
| 12415 |
|
ac_have_decl=1 |
| 12416 |
|
else |
| 12417 |
|
ac_have_decl=0 |
| 12427 |
|
|
| 12428 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12429 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12430 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 12430 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12431 |
|
$as_echo_n "(cached) " >&6 |
| 12432 |
|
else |
| 12433 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12461 |
|
fi |
| 12462 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12463 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12464 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 12464 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12465 |
|
|
| 12466 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
| 12467 |
|
|
| 12495 |
|
|
| 12496 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
| 12497 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
| 12498 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
| 12498 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
| 12499 |
|
$as_echo_n "(cached) " >&6 |
| 12500 |
|
else |
| 12501 |
|
lt_cv_sys_symbol_underscore=no |
| 12545 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
| 12546 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
| 12547 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
| 12548 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
| 12548 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
| 12549 |
|
$as_echo_n "(cached) " >&6 |
| 12550 |
|
else |
| 12551 |
|
libltdl_cv_need_uscore=unknown |
| 12601 |
|
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 12602 |
|
correspondingly for the symbols needed. */ |
| 12603 |
|
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12604 |
< |
void fnord () __attribute__((visibility("default"))); |
| 12604 |
> |
int fnord () __attribute__((visibility("default"))); |
| 12605 |
|
#endif |
| 12606 |
|
|
| 12607 |
< |
void fnord () { int i=42; } |
| 12607 |
> |
int fnord () { return 42; } |
| 12608 |
|
int main () |
| 12609 |
|
{ |
| 12610 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12661 |
|
|
| 12662 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
| 12663 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
| 12664 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
| 12664 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
| 12665 |
|
$as_echo_n "(cached) " >&6 |
| 12666 |
|
else |
| 12667 |
|
# PORTME does your system automatically load deplibs for dlopen? |
| 12767 |
|
do : |
| 12768 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
| 12769 |
|
" |
| 12770 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
| 12770 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
| 12771 |
|
cat >>confdefs.h <<_ACEOF |
| 12772 |
|
#define HAVE_ARGZ_H 1 |
| 12773 |
|
_ACEOF |
| 12781 |
|
# include <argz.h> |
| 12782 |
|
#endif |
| 12783 |
|
" |
| 12784 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
| 12784 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
| 12785 |
|
|
| 12786 |
|
cat >>confdefs.h <<_ACEOF |
| 12787 |
|
#define HAVE_ERROR_T 1 |
| 12821 |
|
if test -z "$ARGZ_H"; then : |
| 12822 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
| 12823 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
| 12824 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
| 12824 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
| 12825 |
|
$as_echo_n "(cached) " >&6 |
| 12826 |
|
else |
| 12827 |
|
case $host_os in #( |
| 12852 |
|
fi |
| 12853 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
| 12854 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
| 12855 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
| 12855 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
| 12856 |
|
|
| 12857 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
| 12858 |
|
|
| 12869 |
|
|
| 12870 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 12871 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
| 12872 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
| 12872 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
| 12873 |
|
$as_echo_n "(cached) " >&6 |
| 12874 |
|
else |
| 12875 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
| 12911 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
| 12912 |
|
|
| 12913 |
|
" |
| 12914 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
| 12914 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
| 12915 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
| 12916 |
|
#include <ltdl.h> |
| 12917 |
|
" |
| 12918 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
| 12918 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
| 12919 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
| 12920 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
| 12921 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
| 12921 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
| 12922 |
|
$as_echo_n "(cached) " >&6 |
| 12923 |
|
else |
| 12924 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12952 |
|
fi |
| 12953 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 12954 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
| 12955 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
| 12955 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
| 12956 |
|
with_included_ltdl=no |
| 12957 |
|
else |
| 12958 |
|
with_included_ltdl=yes |
| 13152 |
|
_ACEOF |
| 13153 |
|
|
| 13154 |
|
|
| 13155 |
+ |
name= |
| 13156 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
| 13157 |
+ |
|
| 13158 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13159 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
| 13160 |
+ |
_ACEOF |
| 13161 |
+ |
|
| 13162 |
+ |
|
| 13163 |
|
name=ltdl |
| 13164 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
| 13164 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
| 13165 |
|
|
| 13166 |
|
|
| 13167 |
|
|
| 13177 |
|
|
| 13178 |
|
# Checks for libraries. |
| 13179 |
|
|
| 13180 |
+ |
|
| 13181 |
+ |
if test "X$CC" != "X"; then |
| 13182 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 13183 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 13184 |
+ |
if ${ssp_cv_cc+:} false; then : |
| 13185 |
+ |
$as_echo_n "(cached) " >&6 |
| 13186 |
+ |
else |
| 13187 |
+ |
ssp_old_cflags="$CFLAGS" |
| 13188 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 13189 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13190 |
+ |
/* end confdefs.h. */ |
| 13191 |
+ |
|
| 13192 |
+ |
int |
| 13193 |
+ |
main () |
| 13194 |
+ |
{ |
| 13195 |
+ |
|
| 13196 |
+ |
; |
| 13197 |
+ |
return 0; |
| 13198 |
+ |
} |
| 13199 |
+ |
_ACEOF |
| 13200 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13201 |
+ |
ssp_cv_cc=yes |
| 13202 |
+ |
else |
| 13203 |
+ |
ssp_cv_cc=no |
| 13204 |
+ |
fi |
| 13205 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13206 |
+ |
CFLAGS="$ssp_old_cflags" |
| 13207 |
+ |
|
| 13208 |
+ |
fi |
| 13209 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 13210 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
| 13211 |
+ |
if test $ssp_cv_cc = yes; then |
| 13212 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 13213 |
+ |
|
| 13214 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 13215 |
+ |
|
| 13216 |
+ |
fi |
| 13217 |
+ |
fi |
| 13218 |
+ |
|
| 13219 |
+ |
|
| 13220 |
+ |
|
| 13221 |
+ |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13222 |
+ |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13223 |
+ |
|
| 13224 |
+ |
else |
| 13225 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13226 |
+ |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13227 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13228 |
+ |
$as_echo_n "(cached) " >&6 |
| 13229 |
+ |
else |
| 13230 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 13231 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13232 |
+ |
/* end confdefs.h. */ |
| 13233 |
+ |
|
| 13234 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 13235 |
+ |
Use char because int might match the return type of a GCC |
| 13236 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13237 |
+ |
#ifdef __cplusplus |
| 13238 |
+ |
extern "C" |
| 13239 |
+ |
#endif |
| 13240 |
+ |
char getaddrinfo (); |
| 13241 |
+ |
int |
| 13242 |
+ |
main () |
| 13243 |
+ |
{ |
| 13244 |
+ |
return getaddrinfo (); |
| 13245 |
+ |
; |
| 13246 |
+ |
return 0; |
| 13247 |
+ |
} |
| 13248 |
+ |
_ACEOF |
| 13249 |
+ |
for ac_lib in '' nsl; do |
| 13250 |
+ |
if test -z "$ac_lib"; then |
| 13251 |
+ |
ac_res="none required" |
| 13252 |
+ |
else |
| 13253 |
+ |
ac_res=-l$ac_lib |
| 13254 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13255 |
+ |
fi |
| 13256 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 13257 |
+ |
ac_cv_search_getaddrinfo=$ac_res |
| 13258 |
+ |
fi |
| 13259 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 13260 |
+ |
conftest$ac_exeext |
| 13261 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13262 |
+ |
break |
| 13263 |
+ |
fi |
| 13264 |
+ |
done |
| 13265 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13266 |
+ |
|
| 13267 |
+ |
else |
| 13268 |
+ |
ac_cv_search_getaddrinfo=no |
| 13269 |
+ |
fi |
| 13270 |
+ |
rm conftest.$ac_ext |
| 13271 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 13272 |
+ |
fi |
| 13273 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13274 |
+ |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13275 |
+ |
ac_res=$ac_cv_search_getaddrinfo |
| 13276 |
+ |
if test "$ac_res" != no; then : |
| 13277 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13278 |
+ |
|
| 13279 |
+ |
fi |
| 13280 |
+ |
|
| 13281 |
+ |
fi |
| 13282 |
+ |
|
| 13283 |
+ |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13284 |
+ |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13285 |
+ |
|
| 13286 |
+ |
else |
| 13287 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13288 |
+ |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13289 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13290 |
+ |
$as_echo_n "(cached) " >&6 |
| 13291 |
+ |
else |
| 13292 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 13293 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13294 |
+ |
/* end confdefs.h. */ |
| 13295 |
+ |
|
| 13296 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 13297 |
+ |
Use char because int might match the return type of a GCC |
| 13298 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13299 |
+ |
#ifdef __cplusplus |
| 13300 |
+ |
extern "C" |
| 13301 |
+ |
#endif |
| 13302 |
+ |
char getnameinfo (); |
| 13303 |
+ |
int |
| 13304 |
+ |
main () |
| 13305 |
+ |
{ |
| 13306 |
+ |
return getnameinfo (); |
| 13307 |
+ |
; |
| 13308 |
+ |
return 0; |
| 13309 |
+ |
} |
| 13310 |
+ |
_ACEOF |
| 13311 |
+ |
for ac_lib in '' nsl; do |
| 13312 |
+ |
if test -z "$ac_lib"; then |
| 13313 |
+ |
ac_res="none required" |
| 13314 |
+ |
else |
| 13315 |
+ |
ac_res=-l$ac_lib |
| 13316 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13317 |
+ |
fi |
| 13318 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 13319 |
+ |
ac_cv_search_getnameinfo=$ac_res |
| 13320 |
+ |
fi |
| 13321 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 13322 |
+ |
conftest$ac_exeext |
| 13323 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13324 |
+ |
break |
| 13325 |
+ |
fi |
| 13326 |
+ |
done |
| 13327 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13328 |
+ |
|
| 13329 |
+ |
else |
| 13330 |
+ |
ac_cv_search_getnameinfo=no |
| 13331 |
+ |
fi |
| 13332 |
+ |
rm conftest.$ac_ext |
| 13333 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 13334 |
+ |
fi |
| 13335 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13336 |
+ |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13337 |
+ |
ac_res=$ac_cv_search_getnameinfo |
| 13338 |
+ |
if test "$ac_res" != no; then : |
| 13339 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13340 |
+ |
|
| 13341 |
+ |
fi |
| 13342 |
+ |
|
| 13343 |
+ |
fi |
| 13344 |
+ |
|
| 13345 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13346 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
| 13347 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 13347 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13348 |
|
$as_echo_n "(cached) " >&6 |
| 13349 |
|
else |
| 13350 |
|
ac_func_search_save_LIBS=$LIBS |
| 13378 |
|
fi |
| 13379 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13380 |
|
conftest$ac_exeext |
| 13381 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 13381 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13382 |
|
break |
| 13383 |
|
fi |
| 13384 |
|
done |
| 13385 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
| 13385 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13386 |
|
|
| 13387 |
|
else |
| 13388 |
|
ac_cv_search_socket=no |
| 13400 |
|
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13401 |
|
fi |
| 13402 |
|
|
| 12345 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
| 12346 |
– |
do : |
| 12347 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12348 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12349 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12350 |
– |
cat >>confdefs.h <<_ACEOF |
| 12351 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12352 |
– |
_ACEOF |
| 12353 |
– |
|
| 12354 |
– |
fi |
| 12355 |
– |
done |
| 12356 |
– |
|
| 13403 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13404 |
|
#include <sys/socket.h> |
| 13405 |
|
#include <netdb.h> |
| 13406 |
|
|
| 13407 |
|
" |
| 13408 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
| 13408 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
| 13409 |
|
|
| 13410 |
|
cat >>confdefs.h <<_ACEOF |
| 13411 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
| 13418 |
|
#include <netdb.h> |
| 13419 |
|
|
| 13420 |
|
" |
| 13421 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
| 13421 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
| 13422 |
|
|
| 13423 |
|
cat >>confdefs.h <<_ACEOF |
| 13424 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
| 13431 |
|
#include <netdb.h> |
| 13432 |
|
|
| 13433 |
|
" |
| 13434 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
| 13434 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
| 13435 |
|
|
| 13436 |
|
cat >>confdefs.h <<_ACEOF |
| 13437 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
| 13443 |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 13444 |
|
<sys/socket.h> |
| 13445 |
|
" |
| 13446 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
| 13446 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
| 13447 |
|
|
| 13448 |
|
cat >>confdefs.h <<_ACEOF |
| 13449 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 13454 |
|
|
| 13455 |
|
|
| 13456 |
|
|
| 13457 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
| 13458 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
| 13459 |
< |
|
| 12414 |
< |
cat >>confdefs.h <<_ACEOF |
| 12415 |
< |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
| 12416 |
< |
_ACEOF |
| 12417 |
< |
|
| 12418 |
< |
|
| 12419 |
< |
else |
| 13457 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13458 |
> |
" |
| 13459 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13460 |
|
|
| 13461 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
| 13462 |
|
|
| 13467 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 13468 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 13469 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 13470 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
| 13470 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
| 13471 |
|
$as_echo_n "(cached) " >&6 |
| 13472 |
|
else |
| 13473 |
|
ac_cv_c_bigendian=unknown |
| 13716 |
|
|
| 13717 |
|
|
| 13718 |
|
|
| 12679 |
– |
|
| 12680 |
– |
|
| 13719 |
|
# Checks for header files. |
| 13720 |
|
|
| 13721 |
|
|
| 13750 |
|
|
| 13751 |
|
|
| 13752 |
|
|
| 12715 |
– |
|
| 12716 |
– |
|
| 12717 |
– |
|
| 12718 |
– |
|
| 12719 |
– |
|
| 12720 |
– |
|
| 12721 |
– |
|
| 12722 |
– |
|
| 12723 |
– |
|
| 12724 |
– |
|
| 12725 |
– |
# check for /dev/null so we can use it to hold evil fd's |
| 12726 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 12727 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
| 12728 |
– |
if test -c /dev/null; then : |
| 12729 |
– |
|
| 12730 |
– |
|
| 12731 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 12732 |
– |
|
| 12733 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12734 |
– |
$as_echo "yes" >&6; } |
| 12735 |
– |
else |
| 12736 |
– |
|
| 12737 |
– |
|
| 12738 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 12739 |
– |
|
| 12740 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 12741 |
– |
$as_echo "no - using devnull.log" >&6; } |
| 12742 |
– |
fi |
| 12743 |
– |
|
| 12744 |
– |
|
| 13753 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 13754 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 13755 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13755 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13756 |
|
$as_echo_n "(cached) " >&6 |
| 13757 |
|
else |
| 13758 |
|
ac_func_search_save_LIBS=$LIBS |
| 13786 |
|
fi |
| 13787 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13788 |
|
conftest$ac_exeext |
| 13789 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13789 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13790 |
|
break |
| 13791 |
|
fi |
| 13792 |
|
done |
| 13793 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 13793 |
> |
if ${ac_cv_search_crypt+:} false; then : |
| 13794 |
|
|
| 13795 |
|
else |
| 13796 |
|
ac_cv_search_crypt=no |
| 13807 |
|
fi |
| 13808 |
|
|
| 13809 |
|
|
| 13810 |
< |
|
| 13811 |
< |
|
| 13812 |
< |
# Check whether --with-zlib-path was given. |
| 13813 |
< |
if test "${with_zlib_path+set}" = set; then : |
| 13814 |
< |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 13815 |
< |
fi |
| 13816 |
< |
|
| 13817 |
< |
|
| 13818 |
< |
# Check whether --enable-zlib was given. |
| 12811 |
< |
if test "${enable_zlib+set}" = set; then : |
| 12812 |
< |
enableval=$enable_zlib; zlib=$enableval |
| 12813 |
< |
else |
| 12814 |
< |
zlib=yes |
| 12815 |
< |
fi |
| 12816 |
< |
|
| 12817 |
< |
|
| 12818 |
< |
if test "$zlib" = "yes"; then : |
| 12819 |
< |
|
| 12820 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 12821 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 12822 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 12823 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 12824 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
| 13810 |
> |
# Check whether --enable-libgeoip was given. |
| 13811 |
> |
if test "${enable_libgeoip+set}" = set; then : |
| 13812 |
> |
enableval=$enable_libgeoip; |
| 13813 |
> |
else |
| 13814 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 13815 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 13816 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13817 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 13818 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13819 |
|
$as_echo_n "(cached) " >&6 |
| 13820 |
|
else |
| 13821 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 12828 |
< |
LIBS="-lz $LIBS" |
| 13821 |
> |
ac_func_search_save_LIBS=$LIBS |
| 13822 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13823 |
|
/* end confdefs.h. */ |
| 13824 |
|
|
| 13828 |
|
#ifdef __cplusplus |
| 13829 |
|
extern "C" |
| 13830 |
|
#endif |
| 13831 |
< |
char zlibVersion (); |
| 13831 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 13832 |
|
int |
| 13833 |
|
main () |
| 13834 |
|
{ |
| 13835 |
< |
return zlibVersion (); |
| 13835 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
| 13836 |
|
; |
| 13837 |
|
return 0; |
| 13838 |
|
} |
| 13839 |
|
_ACEOF |
| 13840 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13841 |
< |
ac_cv_lib_z_zlibVersion=yes |
| 13842 |
< |
else |
| 13843 |
< |
ac_cv_lib_z_zlibVersion=no |
| 13840 |
> |
for ac_lib in '' GeoIP; do |
| 13841 |
> |
if test -z "$ac_lib"; then |
| 13842 |
> |
ac_res="none required" |
| 13843 |
> |
else |
| 13844 |
> |
ac_res=-l$ac_lib |
| 13845 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13846 |
> |
fi |
| 13847 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13848 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 13849 |
|
fi |
| 13850 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13851 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13852 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 13853 |
< |
fi |
| 12856 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 12857 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 12858 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
| 12859 |
< |
|
| 12860 |
< |
LIBS="-lz $LIBS" |
| 12861 |
< |
|
| 12862 |
< |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 12863 |
< |
|
| 12864 |
< |
|
| 12865 |
< |
else |
| 12866 |
< |
zlib=no |
| 12867 |
< |
fi |
| 12868 |
< |
|
| 12869 |
< |
|
| 12870 |
< |
else |
| 12871 |
< |
zlib=no |
| 12872 |
< |
fi |
| 12873 |
< |
|
| 12874 |
< |
|
| 12875 |
< |
|
| 12876 |
< |
fi |
| 12877 |
< |
|
| 12878 |
< |
|
| 12879 |
< |
# Check whether --with-libpcre-path was given. |
| 12880 |
< |
if test "${with_libpcre_path+set}" = set; then : |
| 12881 |
< |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12882 |
< |
fi |
| 12883 |
< |
|
| 12884 |
< |
|
| 12885 |
< |
# Check whether --enable-libpcre was given. |
| 12886 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 12887 |
< |
enableval=$enable_libpcre; libpcre=$enableval |
| 12888 |
< |
else |
| 12889 |
< |
libpcre=yes |
| 13851 |
> |
conftest$ac_exeext |
| 13852 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13853 |
> |
break |
| 13854 |
|
fi |
| 13855 |
+ |
done |
| 13856 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13857 |
|
|
| 12892 |
– |
|
| 12893 |
– |
if test "$libpcre" = "yes"; then : |
| 12894 |
– |
|
| 12895 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 12896 |
– |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
| 12897 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 12898 |
– |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 12899 |
– |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
| 12900 |
– |
$as_echo_n "(cached) " >&6 |
| 12901 |
– |
else |
| 12902 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 12903 |
– |
LIBS="-lpcre $LIBS" |
| 12904 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12905 |
– |
/* end confdefs.h. */ |
| 12906 |
– |
|
| 12907 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 12908 |
– |
Use char because int might match the return type of a GCC |
| 12909 |
– |
builtin and then its argument prototype would still apply. */ |
| 12910 |
– |
#ifdef __cplusplus |
| 12911 |
– |
extern "C" |
| 12912 |
– |
#endif |
| 12913 |
– |
char pcre_study (); |
| 12914 |
– |
int |
| 12915 |
– |
main () |
| 12916 |
– |
{ |
| 12917 |
– |
return pcre_study (); |
| 12918 |
– |
; |
| 12919 |
– |
return 0; |
| 12920 |
– |
} |
| 12921 |
– |
_ACEOF |
| 12922 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 12923 |
– |
ac_cv_lib_pcre_pcre_study=yes |
| 13858 |
|
else |
| 13859 |
< |
ac_cv_lib_pcre_pcre_study=no |
| 13859 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 13860 |
|
fi |
| 13861 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13862 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 12929 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 13861 |
> |
rm conftest.$ac_ext |
| 13862 |
> |
LIBS=$ac_func_search_save_LIBS |
| 13863 |
|
fi |
| 13864 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 13865 |
< |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 13866 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
| 13867 |
< |
|
| 13868 |
< |
LIBS="-lpcre $LIBS" |
| 12936 |
< |
|
| 12937 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 13864 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13865 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 13866 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 13867 |
> |
if test "$ac_res" != no; then : |
| 13868 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13869 |
|
|
| 13870 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 13871 |
|
|
| 12940 |
– |
else |
| 12941 |
– |
libpcre=no |
| 13872 |
|
fi |
| 13873 |
|
|
| 12944 |
– |
|
| 12945 |
– |
else |
| 12946 |
– |
libpcre=no |
| 13874 |
|
fi |
| 13875 |
|
|
| 13876 |
|
|
| 12950 |
– |
|
| 12951 |
– |
fi |
| 12952 |
– |
if test "$libpcre" = yes; then |
| 12953 |
– |
ENABLE_PCRE_TRUE= |
| 12954 |
– |
ENABLE_PCRE_FALSE='#' |
| 12955 |
– |
else |
| 12956 |
– |
ENABLE_PCRE_TRUE='#' |
| 12957 |
– |
ENABLE_PCRE_FALSE= |
| 13877 |
|
fi |
| 13878 |
|
|
| 13879 |
|
|
| 13917 |
|
fi |
| 13918 |
|
|
| 13919 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 13001 |
– |
LIBS="-lcrypto -lssl $LIBS" |
| 13920 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13921 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
| 13922 |
|
cf_enable_openssl="yes" |
| 13005 |
– |
|
| 13006 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13007 |
– |
|
| 13923 |
|
else |
| 13924 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13925 |
|
$as_echo "not found. Please check your path." >&6; } |
| 13932 |
|
fi |
| 13933 |
|
|
| 13934 |
|
if test "$cf_enable_openssl" != "no"; then : |
| 13935 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 13936 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 13935 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 13936 |
> |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 13937 |
|
if test "$cross_compiling" = yes; then : |
| 13938 |
|
cf_openssl_version_ok=no |
| 13939 |
|
else |
| 13940 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13941 |
|
/* end confdefs.h. */ |
| 13942 |
|
|
| 13943 |
+ |
|
| 13944 |
|
#include <openssl/opensslv.h> |
| 13945 |
|
#include <stdlib.h> |
| 13946 |
|
int |
| 13947 |
|
main () |
| 13948 |
|
{ |
| 13949 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 13949 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 13950 |
|
; |
| 13951 |
|
return 0; |
| 13952 |
|
} |
| 13967 |
|
|
| 13968 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13969 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13970 |
< |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
| 13970 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13971 |
|
$as_echo_n "(cached) " >&6 |
| 13972 |
|
else |
| 13973 |
|
ac_check_lib_save_LIBS=$LIBS |
| 14001 |
|
fi |
| 14002 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 14003 |
|
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 14004 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
| 14004 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 14005 |
|
cat >>confdefs.h <<_ACEOF |
| 14006 |
|
#define HAVE_LIBCRYPTO 1 |
| 14007 |
|
_ACEOF |
| 14011 |
|
fi |
| 14012 |
|
|
| 14013 |
|
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 14014 |
< |
for ac_func in EVP_bf_cfb \ |
| 14015 |
< |
EVP_cast5_cfb \ |
| 14016 |
< |
EVP_idea_cfb \ |
| 14017 |
< |
EVP_rc5_32_12_16_cfb \ |
| 14018 |
< |
EVP_des_ede3_cfb \ |
| 14019 |
< |
EVP_des_cfb |
| 14020 |
< |
do : |
| 14021 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14022 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14023 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14014 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 14015 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 14016 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 14017 |
> |
$as_echo_n "(cached) " >&6 |
| 14018 |
> |
else |
| 14019 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14020 |
> |
LIBS="-lssl $LIBS" |
| 14021 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14022 |
> |
/* end confdefs.h. */ |
| 14023 |
> |
|
| 14024 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 14025 |
> |
Use char because int might match the return type of a GCC |
| 14026 |
> |
builtin and then its argument prototype would still apply. */ |
| 14027 |
> |
#ifdef __cplusplus |
| 14028 |
> |
extern "C" |
| 14029 |
> |
#endif |
| 14030 |
> |
char SSL_connect (); |
| 14031 |
> |
int |
| 14032 |
> |
main () |
| 14033 |
> |
{ |
| 14034 |
> |
return SSL_connect (); |
| 14035 |
> |
; |
| 14036 |
> |
return 0; |
| 14037 |
> |
} |
| 14038 |
> |
_ACEOF |
| 14039 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 14040 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
| 14041 |
> |
else |
| 14042 |
> |
ac_cv_lib_ssl_SSL_connect=no |
| 14043 |
> |
fi |
| 14044 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 14045 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14046 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14047 |
> |
fi |
| 14048 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 14049 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 14050 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 14051 |
|
cat >>confdefs.h <<_ACEOF |
| 14052 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14052 |
> |
#define HAVE_LIBSSL 1 |
| 14053 |
|
_ACEOF |
| 14054 |
|
|
| 14055 |
+ |
LIBS="-lssl $LIBS" |
| 14056 |
+ |
|
| 14057 |
|
fi |
| 13113 |
– |
done |
| 14058 |
|
|
| 14059 |
|
fi |
| 14060 |
|
|
| 14065 |
|
fi |
| 14066 |
|
fi |
| 14067 |
|
|
| 14068 |
< |
if test "$cf_enable_openssl" = yes; then |
| 14068 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 14069 |
|
ENABLE_SSL_TRUE= |
| 14070 |
|
ENABLE_SSL_FALSE='#' |
| 14071 |
|
else |
| 14090 |
|
fi |
| 14091 |
|
|
| 14092 |
|
|
| 14093 |
< |
# Check whether --enable-small-net was given. |
| 13150 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13151 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13152 |
< |
else |
| 13153 |
< |
small_net=no |
| 13154 |
< |
fi |
| 13155 |
< |
|
| 13156 |
< |
|
| 13157 |
< |
if test "$small_net" = "yes"; then : |
| 14093 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14094 |
|
|
| 14095 |
|
|
| 14096 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 14096 |
> |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14097 |
|
|
| 14098 |
|
|
| 14099 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 14099 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14100 |
|
|
| 14101 |
|
|
| 14102 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 14102 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14103 |
|
|
| 14104 |
|
|
| 14105 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 14105 |
> |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14106 |
|
|
| 14107 |
|
|
| 14108 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 14108 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14109 |
|
|
| 14110 |
|
|
| 14111 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 14111 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14112 |
|
|
| 14113 |
|
|
| 14114 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 14114 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14115 |
|
|
| 14116 |
|
|
| 14117 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 14117 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14118 |
|
|
| 14119 |
|
|
| 14120 |
< |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14120 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14121 |
|
|
| 14122 |
|
|
| 14123 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13188 |
< |
|
| 13189 |
< |
else |
| 13190 |
< |
|
| 13191 |
< |
|
| 13192 |
< |
|
| 13193 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 13194 |
< |
|
| 13195 |
< |
|
| 13196 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 13197 |
< |
|
| 13198 |
< |
|
| 13199 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 13200 |
< |
|
| 13201 |
< |
|
| 13202 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 13203 |
< |
|
| 13204 |
< |
|
| 13205 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14123 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14124 |
|
|
| 14125 |
|
|
| 14126 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14126 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14127 |
|
|
| 14128 |
|
|
| 14129 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14129 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14130 |
|
|
| 14131 |
|
|
| 14132 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 13215 |
< |
|
| 13216 |
< |
|
| 13217 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13218 |
< |
|
| 13219 |
< |
|
| 13220 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13221 |
< |
|
| 13222 |
< |
fi |
| 14132 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14133 |
|
|
| 14134 |
|
|
| 14135 |
|
# Argument processing. |
| 14150 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 14151 |
|
fi |
| 14152 |
|
|
| 13243 |
– |
# Check whether --enable-rtsigio was given. |
| 13244 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 13245 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 13246 |
– |
fi |
| 13247 |
– |
|
| 14153 |
|
# Check whether --enable-poll was given. |
| 14154 |
|
if test "${enable_poll+set}" = set; then : |
| 14155 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14265 |
|
#endif |
| 14266 |
|
_syscall1(int, epoll_create, int, size) |
| 14267 |
|
#endif |
| 13363 |
– |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
| 14268 |
|
|
| 14269 |
+ |
int |
| 14270 |
+ |
main () |
| 14271 |
+ |
{ |
| 14272 |
+ |
return epoll_create(256) == -1 ? 1 : 0 |
| 14273 |
+ |
; |
| 14274 |
+ |
return 0; |
| 14275 |
+ |
} |
| 14276 |
|
_ACEOF |
| 14277 |
|
if ac_fn_c_try_run "$LINENO"; then : |
| 14278 |
|
is_epoll_mechanism_available="yes" |
| 14333 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14334 |
|
|
| 14335 |
|
fi |
| 14336 |
< |
iopoll_mechanism_rtsigio=4 |
| 13426 |
< |
|
| 13427 |
< |
cat >>confdefs.h <<_ACEOF |
| 13428 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 13429 |
< |
_ACEOF |
| 13430 |
< |
|
| 13431 |
< |
if test "$cross_compiling" = yes; then : |
| 13432 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13433 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13434 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 13435 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 13436 |
< |
else |
| 13437 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13438 |
< |
/* end confdefs.h. */ |
| 13439 |
< |
|
| 13440 |
< |
#include <fcntl.h> |
| 13441 |
< |
#ifdef F_SETSIG |
| 13442 |
< |
main () { return 0; } /* F_SETSIG defined */ |
| 13443 |
< |
#else |
| 13444 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
| 13445 |
< |
#endif |
| 13446 |
< |
|
| 13447 |
< |
int |
| 13448 |
< |
main () |
| 13449 |
< |
{ |
| 13450 |
< |
|
| 13451 |
< |
; |
| 13452 |
< |
return 0; |
| 13453 |
< |
} |
| 13454 |
< |
_ACEOF |
| 13455 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 13456 |
< |
is_rtsigio_mechanism_available="yes" |
| 13457 |
< |
else |
| 13458 |
< |
is_rtsigio_mechanism_available="no" |
| 13459 |
< |
fi |
| 13460 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13461 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13462 |
< |
fi |
| 13463 |
< |
|
| 13464 |
< |
iopoll_mechanism_poll=5 |
| 14336 |
> |
iopoll_mechanism_poll=4 |
| 14337 |
|
|
| 14338 |
|
cat >>confdefs.h <<_ACEOF |
| 14339 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14387 |
|
fi |
| 14388 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14389 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14390 |
< |
iopoll_mechanism_select=6 |
| 14390 |
> |
iopoll_mechanism_select=5 |
| 14391 |
|
|
| 14392 |
|
cat >>confdefs.h <<_ACEOF |
| 14393 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14442 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14443 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14444 |
|
optimal_iopoll_mechanism="none" |
| 14445 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14445 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14446 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14447 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14448 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14479 |
|
|
| 14480 |
|
|
| 14481 |
|
|
| 14482 |
+ |
# Check whether --enable-halfops was given. |
| 14483 |
+ |
if test "${enable_halfops+set}" = set; then : |
| 14484 |
+ |
enableval=$enable_halfops; halfops="$enableval" |
| 14485 |
+ |
else |
| 14486 |
+ |
halfops="no" |
| 14487 |
+ |
fi |
| 14488 |
+ |
|
| 14489 |
+ |
if test "$halfops" = "yes" ; then |
| 14490 |
+ |
|
| 14491 |
+ |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 14492 |
+ |
|
| 14493 |
+ |
fi |
| 14494 |
+ |
|
| 14495 |
|
|
| 14496 |
< |
# Check whether --with-nicklen was given. |
| 14497 |
< |
if test "${with_nicklen+set}" = set; then : |
| 14498 |
< |
withval=$with_nicklen; nicklen="$withval" |
| 14496 |
> |
# Check whether --enable-debugging was given. |
| 14497 |
> |
if test "${enable_debugging+set}" = set; then : |
| 14498 |
> |
enableval=$enable_debugging; debugging="$enableval" |
| 14499 |
|
else |
| 14500 |
< |
nicklen="9" |
| 14500 |
> |
debugging="no" |
| 14501 |
|
fi |
| 14502 |
|
|
| 14503 |
+ |
if test "$debugging" = "yes" ; then |
| 14504 |
+ |
CFLAGS="-Wall -g -O0" |
| 14505 |
+ |
fi |
| 14506 |
|
|
| 14507 |
< |
cat >>confdefs.h <<_ACEOF |
| 14508 |
< |
#define NICKLEN ($nicklen+1) |
| 14507 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5 |
| 14508 |
> |
$as_echo_n "checking whether C compiler accepts ... " >&6; } |
| 14509 |
> |
if ${ax_cv_check_cflags__+:} false; then : |
| 14510 |
> |
$as_echo_n "(cached) " >&6 |
| 14511 |
> |
else |
| 14512 |
> |
|
| 14513 |
> |
ax_check_save_flags=$CFLAGS |
| 14514 |
> |
CFLAGS="$CFLAGS " |
| 14515 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14516 |
> |
/* end confdefs.h. */ |
| 14517 |
> |
|
| 14518 |
> |
int |
| 14519 |
> |
main () |
| 14520 |
> |
{ |
| 14521 |
> |
|
| 14522 |
> |
; |
| 14523 |
> |
return 0; |
| 14524 |
> |
} |
| 14525 |
|
_ACEOF |
| 14526 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14527 |
+ |
ax_cv_check_cflags__=yes |
| 14528 |
+ |
else |
| 14529 |
+ |
ax_cv_check_cflags__=no |
| 14530 |
+ |
fi |
| 14531 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14532 |
+ |
CFLAGS=$ax_check_save_flags |
| 14533 |
+ |
fi |
| 14534 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5 |
| 14535 |
+ |
$as_echo "$ax_cv_check_cflags__" >&6; } |
| 14536 |
+ |
if test x"$ax_cv_check_cflags__" = xyes; then : |
| 14537 |
+ |
: |
| 14538 |
+ |
else |
| 14539 |
+ |
: |
| 14540 |
+ |
fi |
| 14541 |
|
|
| 14542 |
+ |
if ${CFLAGS+:} false; then : |
| 14543 |
+ |
case " $CFLAGS " in |
| 14544 |
+ |
*" "*) |
| 14545 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5 |
| 14546 |
+ |
(: CFLAGS already contains ) 2>&5 |
| 14547 |
+ |
ac_status=$? |
| 14548 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14549 |
+ |
test $ac_status = 0; } |
| 14550 |
+ |
;; |
| 14551 |
+ |
*) |
| 14552 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5 |
| 14553 |
+ |
(: CFLAGS="$CFLAGS ") 2>&5 |
| 14554 |
+ |
ac_status=$? |
| 14555 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14556 |
+ |
test $ac_status = 0; } |
| 14557 |
+ |
CFLAGS="$CFLAGS " |
| 14558 |
+ |
;; |
| 14559 |
+ |
esac |
| 14560 |
+ |
else |
| 14561 |
+ |
CFLAGS="" |
| 14562 |
+ |
fi |
| 14563 |
+ |
|
| 14564 |
+ |
|
| 14565 |
+ |
# Check whether --enable-warnings was given. |
| 14566 |
+ |
if test "${enable_warnings+set}" = set; then : |
| 14567 |
+ |
enableval=$enable_warnings; warnings="$enableval" |
| 14568 |
+ |
else |
| 14569 |
+ |
warnings="no" |
| 14570 |
+ |
fi |
| 14571 |
|
|
| 14572 |
+ |
if test "$warnings" = "yes" ; then |
| 14573 |
|
|
| 14574 |
|
|
| 14575 |
< |
# Check whether --with-topiclen was given. |
| 14576 |
< |
if test "${with_topiclen+set}" = set; then : |
| 14577 |
< |
withval=$with_topiclen; topiclen="$withval" |
| 14575 |
> |
for flag in -Wall; do |
| 14576 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14577 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14578 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14579 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14580 |
> |
$as_echo_n "(cached) " >&6 |
| 14581 |
|
else |
| 14582 |
< |
topiclen="160" |
| 14582 |
> |
|
| 14583 |
> |
ax_check_save_flags=$CFLAGS |
| 14584 |
> |
CFLAGS="$CFLAGS $flag" |
| 14585 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14586 |
> |
/* end confdefs.h. */ |
| 14587 |
> |
|
| 14588 |
> |
int |
| 14589 |
> |
main () |
| 14590 |
> |
{ |
| 14591 |
> |
|
| 14592 |
> |
; |
| 14593 |
> |
return 0; |
| 14594 |
> |
} |
| 14595 |
> |
_ACEOF |
| 14596 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14597 |
> |
eval "$as_CACHEVAR=yes" |
| 14598 |
> |
else |
| 14599 |
> |
eval "$as_CACHEVAR=no" |
| 14600 |
> |
fi |
| 14601 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14602 |
> |
CFLAGS=$ax_check_save_flags |
| 14603 |
> |
fi |
| 14604 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14605 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14606 |
> |
$as_echo "$ac_res" >&6; } |
| 14607 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14608 |
> |
if ${CFLAGS+:} false; then : |
| 14609 |
> |
case " $CFLAGS " in |
| 14610 |
> |
*" $flag "*) |
| 14611 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14612 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14613 |
> |
ac_status=$? |
| 14614 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14615 |
> |
test $ac_status = 0; } |
| 14616 |
> |
;; |
| 14617 |
> |
*) |
| 14618 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14619 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14620 |
> |
ac_status=$? |
| 14621 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14622 |
> |
test $ac_status = 0; } |
| 14623 |
> |
CFLAGS="$CFLAGS $flag" |
| 14624 |
> |
;; |
| 14625 |
> |
esac |
| 14626 |
> |
else |
| 14627 |
> |
CFLAGS="$flag" |
| 14628 |
> |
fi |
| 14629 |
> |
|
| 14630 |
> |
else |
| 14631 |
> |
: |
| 14632 |
|
fi |
| 14633 |
|
|
| 14634 |
+ |
done |
| 14635 |
|
|
| 14636 |
< |
cat >>confdefs.h <<_ACEOF |
| 14637 |
< |
#define TOPICLEN ($topiclen) |
| 14636 |
> |
|
| 14637 |
> |
|
| 14638 |
> |
for flag in -Wextra; do |
| 14639 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14640 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14641 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14642 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14643 |
> |
$as_echo_n "(cached) " >&6 |
| 14644 |
> |
else |
| 14645 |
> |
|
| 14646 |
> |
ax_check_save_flags=$CFLAGS |
| 14647 |
> |
CFLAGS="$CFLAGS $flag" |
| 14648 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14649 |
> |
/* end confdefs.h. */ |
| 14650 |
> |
|
| 14651 |
> |
int |
| 14652 |
> |
main () |
| 14653 |
> |
{ |
| 14654 |
> |
|
| 14655 |
> |
; |
| 14656 |
> |
return 0; |
| 14657 |
> |
} |
| 14658 |
|
_ACEOF |
| 14659 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14660 |
+ |
eval "$as_CACHEVAR=yes" |
| 14661 |
+ |
else |
| 14662 |
+ |
eval "$as_CACHEVAR=no" |
| 14663 |
+ |
fi |
| 14664 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14665 |
+ |
CFLAGS=$ax_check_save_flags |
| 14666 |
+ |
fi |
| 14667 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14668 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14669 |
+ |
$as_echo "$ac_res" >&6; } |
| 14670 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14671 |
+ |
if ${CFLAGS+:} false; then : |
| 14672 |
+ |
case " $CFLAGS " in |
| 14673 |
+ |
*" $flag "*) |
| 14674 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14675 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14676 |
+ |
ac_status=$? |
| 14677 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14678 |
+ |
test $ac_status = 0; } |
| 14679 |
+ |
;; |
| 14680 |
+ |
*) |
| 14681 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14682 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14683 |
+ |
ac_status=$? |
| 14684 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14685 |
+ |
test $ac_status = 0; } |
| 14686 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14687 |
+ |
;; |
| 14688 |
+ |
esac |
| 14689 |
+ |
else |
| 14690 |
+ |
CFLAGS="$flag" |
| 14691 |
+ |
fi |
| 14692 |
+ |
|
| 14693 |
+ |
else |
| 14694 |
+ |
: |
| 14695 |
+ |
fi |
| 14696 |
|
|
| 14697 |
+ |
done |
| 14698 |
|
|
| 14699 |
|
|
| 14700 |
|
|
| 14701 |
< |
# Check whether --with-syslog-facility was given. |
| 14702 |
< |
if test "${with_syslog_facility+set}" = set; then : |
| 14703 |
< |
withval=$with_syslog_facility; syslog_facility="$withval" |
| 14701 |
> |
for flag in -Wno-unused; do |
| 14702 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14703 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14704 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14705 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14706 |
> |
$as_echo_n "(cached) " >&6 |
| 14707 |
|
else |
| 14708 |
< |
syslog_facility="LOG_LOCAL4" |
| 14708 |
> |
|
| 14709 |
> |
ax_check_save_flags=$CFLAGS |
| 14710 |
> |
CFLAGS="$CFLAGS $flag" |
| 14711 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14712 |
> |
/* end confdefs.h. */ |
| 14713 |
> |
|
| 14714 |
> |
int |
| 14715 |
> |
main () |
| 14716 |
> |
{ |
| 14717 |
> |
|
| 14718 |
> |
; |
| 14719 |
> |
return 0; |
| 14720 |
> |
} |
| 14721 |
> |
_ACEOF |
| 14722 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14723 |
> |
eval "$as_CACHEVAR=yes" |
| 14724 |
> |
else |
| 14725 |
> |
eval "$as_CACHEVAR=no" |
| 14726 |
> |
fi |
| 14727 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14728 |
> |
CFLAGS=$ax_check_save_flags |
| 14729 |
> |
fi |
| 14730 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14731 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14732 |
> |
$as_echo "$ac_res" >&6; } |
| 14733 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14734 |
> |
if ${CFLAGS+:} false; then : |
| 14735 |
> |
case " $CFLAGS " in |
| 14736 |
> |
*" $flag "*) |
| 14737 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14738 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14739 |
> |
ac_status=$? |
| 14740 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14741 |
> |
test $ac_status = 0; } |
| 14742 |
> |
;; |
| 14743 |
> |
*) |
| 14744 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14745 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14746 |
> |
ac_status=$? |
| 14747 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14748 |
> |
test $ac_status = 0; } |
| 14749 |
> |
CFLAGS="$CFLAGS $flag" |
| 14750 |
> |
;; |
| 14751 |
> |
esac |
| 14752 |
> |
else |
| 14753 |
> |
CFLAGS="$flag" |
| 14754 |
|
fi |
| 14755 |
|
|
| 14756 |
+ |
else |
| 14757 |
+ |
: |
| 14758 |
+ |
fi |
| 14759 |
|
|
| 14760 |
< |
cat >>confdefs.h <<_ACEOF |
| 14761 |
< |
#define LOG_FACILITY $syslog_facility |
| 14760 |
> |
done |
| 14761 |
> |
|
| 14762 |
> |
|
| 14763 |
> |
|
| 14764 |
> |
for flag in -Wcast-qual; do |
| 14765 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14766 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14767 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14768 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14769 |
> |
$as_echo_n "(cached) " >&6 |
| 14770 |
> |
else |
| 14771 |
> |
|
| 14772 |
> |
ax_check_save_flags=$CFLAGS |
| 14773 |
> |
CFLAGS="$CFLAGS $flag" |
| 14774 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14775 |
> |
/* end confdefs.h. */ |
| 14776 |
> |
|
| 14777 |
> |
int |
| 14778 |
> |
main () |
| 14779 |
> |
{ |
| 14780 |
> |
|
| 14781 |
> |
; |
| 14782 |
> |
return 0; |
| 14783 |
> |
} |
| 14784 |
|
_ACEOF |
| 14785 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14786 |
+ |
eval "$as_CACHEVAR=yes" |
| 14787 |
+ |
else |
| 14788 |
+ |
eval "$as_CACHEVAR=no" |
| 14789 |
+ |
fi |
| 14790 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14791 |
+ |
CFLAGS=$ax_check_save_flags |
| 14792 |
+ |
fi |
| 14793 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 14794 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14795 |
+ |
$as_echo "$ac_res" >&6; } |
| 14796 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14797 |
+ |
if ${CFLAGS+:} false; then : |
| 14798 |
+ |
case " $CFLAGS " in |
| 14799 |
+ |
*" $flag "*) |
| 14800 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14801 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 14802 |
+ |
ac_status=$? |
| 14803 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14804 |
+ |
test $ac_status = 0; } |
| 14805 |
+ |
;; |
| 14806 |
+ |
*) |
| 14807 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14808 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14809 |
+ |
ac_status=$? |
| 14810 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14811 |
+ |
test $ac_status = 0; } |
| 14812 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14813 |
+ |
;; |
| 14814 |
+ |
esac |
| 14815 |
+ |
else |
| 14816 |
+ |
CFLAGS="$flag" |
| 14817 |
+ |
fi |
| 14818 |
+ |
|
| 14819 |
+ |
else |
| 14820 |
+ |
: |
| 14821 |
+ |
fi |
| 14822 |
+ |
|
| 14823 |
+ |
done |
| 14824 |
|
|
| 14825 |
|
|
| 14826 |
|
|
| 14827 |
< |
# Check whether --enable-efnet was given. |
| 14828 |
< |
if test "${enable_efnet+set}" = set; then : |
| 14829 |
< |
enableval=$enable_efnet; efnet="$enableval" |
| 14827 |
> |
for flag in -Wcast-align; do |
| 14828 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14829 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14830 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14831 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14832 |
> |
$as_echo_n "(cached) " >&6 |
| 14833 |
|
else |
| 14834 |
< |
efnet="no" |
| 14834 |
> |
|
| 14835 |
> |
ax_check_save_flags=$CFLAGS |
| 14836 |
> |
CFLAGS="$CFLAGS $flag" |
| 14837 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14838 |
> |
/* end confdefs.h. */ |
| 14839 |
> |
|
| 14840 |
> |
int |
| 14841 |
> |
main () |
| 14842 |
> |
{ |
| 14843 |
> |
|
| 14844 |
> |
; |
| 14845 |
> |
return 0; |
| 14846 |
> |
} |
| 14847 |
> |
_ACEOF |
| 14848 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14849 |
> |
eval "$as_CACHEVAR=yes" |
| 14850 |
> |
else |
| 14851 |
> |
eval "$as_CACHEVAR=no" |
| 14852 |
> |
fi |
| 14853 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14854 |
> |
CFLAGS=$ax_check_save_flags |
| 14855 |
> |
fi |
| 14856 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14857 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14858 |
> |
$as_echo "$ac_res" >&6; } |
| 14859 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14860 |
> |
if ${CFLAGS+:} false; then : |
| 14861 |
> |
case " $CFLAGS " in |
| 14862 |
> |
*" $flag "*) |
| 14863 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14864 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14865 |
> |
ac_status=$? |
| 14866 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14867 |
> |
test $ac_status = 0; } |
| 14868 |
> |
;; |
| 14869 |
> |
*) |
| 14870 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14871 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14872 |
> |
ac_status=$? |
| 14873 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14874 |
> |
test $ac_status = 0; } |
| 14875 |
> |
CFLAGS="$CFLAGS $flag" |
| 14876 |
> |
;; |
| 14877 |
> |
esac |
| 14878 |
> |
else |
| 14879 |
> |
CFLAGS="$flag" |
| 14880 |
> |
fi |
| 14881 |
> |
|
| 14882 |
> |
else |
| 14883 |
> |
: |
| 14884 |
|
fi |
| 14885 |
|
|
| 14886 |
< |
if test "$efnet" = "yes" ; then |
| 13663 |
< |
use_efnet="yes" |
| 14886 |
> |
done |
| 14887 |
|
|
| 13665 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
| 14888 |
|
|
| 14889 |
|
|
| 14890 |
< |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 14890 |
> |
for flag in -Wbad-function-cast; do |
| 14891 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14892 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14893 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14894 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14895 |
> |
$as_echo_n "(cached) " >&6 |
| 14896 |
> |
else |
| 14897 |
|
|
| 14898 |
< |
else |
| 14899 |
< |
use_efnet="no" |
| 14900 |
< |
fi |
| 14901 |
< |
if test "$use_efnet" = "yes"; then |
| 14902 |
< |
EFNET_TRUE= |
| 14903 |
< |
EFNET_FALSE='#' |
| 14898 |
> |
ax_check_save_flags=$CFLAGS |
| 14899 |
> |
CFLAGS="$CFLAGS $flag" |
| 14900 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14901 |
> |
/* end confdefs.h. */ |
| 14902 |
> |
|
| 14903 |
> |
int |
| 14904 |
> |
main () |
| 14905 |
> |
{ |
| 14906 |
> |
|
| 14907 |
> |
; |
| 14908 |
> |
return 0; |
| 14909 |
> |
} |
| 14910 |
> |
_ACEOF |
| 14911 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14912 |
> |
eval "$as_CACHEVAR=yes" |
| 14913 |
|
else |
| 14914 |
< |
EFNET_TRUE='#' |
| 14915 |
< |
EFNET_FALSE= |
| 14914 |
> |
eval "$as_CACHEVAR=no" |
| 14915 |
> |
fi |
| 14916 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14917 |
> |
CFLAGS=$ax_check_save_flags |
| 14918 |
> |
fi |
| 14919 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14920 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14921 |
> |
$as_echo "$ac_res" >&6; } |
| 14922 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14923 |
> |
if ${CFLAGS+:} false; then : |
| 14924 |
> |
case " $CFLAGS " in |
| 14925 |
> |
*" $flag "*) |
| 14926 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14927 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14928 |
> |
ac_status=$? |
| 14929 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14930 |
> |
test $ac_status = 0; } |
| 14931 |
> |
;; |
| 14932 |
> |
*) |
| 14933 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14934 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14935 |
> |
ac_status=$? |
| 14936 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14937 |
> |
test $ac_status = 0; } |
| 14938 |
> |
CFLAGS="$CFLAGS $flag" |
| 14939 |
> |
;; |
| 14940 |
> |
esac |
| 14941 |
> |
else |
| 14942 |
> |
CFLAGS="$flag" |
| 14943 |
|
fi |
| 14944 |
|
|
| 14945 |
+ |
else |
| 14946 |
+ |
: |
| 14947 |
+ |
fi |
| 14948 |
|
|
| 14949 |
+ |
done |
| 14950 |
|
|
| 14951 |
< |
# Check whether --enable-halfops was given. |
| 14952 |
< |
if test "${enable_halfops+set}" = set; then : |
| 14953 |
< |
enableval=$enable_halfops; halfops="$enableval" |
| 14951 |
> |
|
| 14952 |
> |
|
| 14953 |
> |
for flag in -Wmissing-declarations; do |
| 14954 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14955 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14956 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14957 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14958 |
> |
$as_echo_n "(cached) " >&6 |
| 14959 |
|
else |
| 14960 |
< |
halfops="no" |
| 14960 |
> |
|
| 14961 |
> |
ax_check_save_flags=$CFLAGS |
| 14962 |
> |
CFLAGS="$CFLAGS $flag" |
| 14963 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14964 |
> |
/* end confdefs.h. */ |
| 14965 |
> |
|
| 14966 |
> |
int |
| 14967 |
> |
main () |
| 14968 |
> |
{ |
| 14969 |
> |
|
| 14970 |
> |
; |
| 14971 |
> |
return 0; |
| 14972 |
> |
} |
| 14973 |
> |
_ACEOF |
| 14974 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14975 |
> |
eval "$as_CACHEVAR=yes" |
| 14976 |
> |
else |
| 14977 |
> |
eval "$as_CACHEVAR=no" |
| 14978 |
> |
fi |
| 14979 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14980 |
> |
CFLAGS=$ax_check_save_flags |
| 14981 |
> |
fi |
| 14982 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14983 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14984 |
> |
$as_echo "$ac_res" >&6; } |
| 14985 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 14986 |
> |
if ${CFLAGS+:} false; then : |
| 14987 |
> |
case " $CFLAGS " in |
| 14988 |
> |
*" $flag "*) |
| 14989 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14990 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14991 |
> |
ac_status=$? |
| 14992 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14993 |
> |
test $ac_status = 0; } |
| 14994 |
> |
;; |
| 14995 |
> |
*) |
| 14996 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 14997 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 14998 |
> |
ac_status=$? |
| 14999 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15000 |
> |
test $ac_status = 0; } |
| 15001 |
> |
CFLAGS="$CFLAGS $flag" |
| 15002 |
> |
;; |
| 15003 |
> |
esac |
| 15004 |
> |
else |
| 15005 |
> |
CFLAGS="$flag" |
| 15006 |
|
fi |
| 15007 |
|
|
| 15008 |
< |
if test "$halfops" = "yes" ; then |
| 15008 |
> |
else |
| 15009 |
> |
: |
| 15010 |
> |
fi |
| 15011 |
|
|
| 15012 |
< |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 15012 |
> |
done |
| 15013 |
|
|
| 13694 |
– |
fi |
| 15014 |
|
|
| 15015 |
|
|
| 15016 |
< |
# Check whether --enable-debugging was given. |
| 15017 |
< |
if test "${enable_debugging+set}" = set; then : |
| 15018 |
< |
enableval=$enable_debugging; debugging="$enableval" |
| 15016 |
> |
for flag in -Wmissing-prototypes; do |
| 15017 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15018 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15019 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15020 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15021 |
> |
$as_echo_n "(cached) " >&6 |
| 15022 |
|
else |
| 15023 |
< |
debugging="no" |
| 15023 |
> |
|
| 15024 |
> |
ax_check_save_flags=$CFLAGS |
| 15025 |
> |
CFLAGS="$CFLAGS $flag" |
| 15026 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15027 |
> |
/* end confdefs.h. */ |
| 15028 |
> |
|
| 15029 |
> |
int |
| 15030 |
> |
main () |
| 15031 |
> |
{ |
| 15032 |
> |
|
| 15033 |
> |
; |
| 15034 |
> |
return 0; |
| 15035 |
> |
} |
| 15036 |
> |
_ACEOF |
| 15037 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15038 |
> |
eval "$as_CACHEVAR=yes" |
| 15039 |
> |
else |
| 15040 |
> |
eval "$as_CACHEVAR=no" |
| 15041 |
> |
fi |
| 15042 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15043 |
> |
CFLAGS=$ax_check_save_flags |
| 15044 |
> |
fi |
| 15045 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15046 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15047 |
> |
$as_echo "$ac_res" >&6; } |
| 15048 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15049 |
> |
if ${CFLAGS+:} false; then : |
| 15050 |
> |
case " $CFLAGS " in |
| 15051 |
> |
*" $flag "*) |
| 15052 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15053 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15054 |
> |
ac_status=$? |
| 15055 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15056 |
> |
test $ac_status = 0; } |
| 15057 |
> |
;; |
| 15058 |
> |
*) |
| 15059 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15060 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15061 |
> |
ac_status=$? |
| 15062 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15063 |
> |
test $ac_status = 0; } |
| 15064 |
> |
CFLAGS="$CFLAGS $flag" |
| 15065 |
> |
;; |
| 15066 |
> |
esac |
| 15067 |
> |
else |
| 15068 |
> |
CFLAGS="$flag" |
| 15069 |
|
fi |
| 15070 |
|
|
| 15071 |
< |
if test "$debugging" = "yes" ; then |
| 15071 |
> |
else |
| 15072 |
> |
: |
| 15073 |
> |
fi |
| 15074 |
|
|
| 15075 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 15075 |
> |
done |
| 15076 |
|
|
| 13708 |
– |
CFLAGS="-Wall -g -O0" |
| 13709 |
– |
else |
| 15077 |
|
|
| 13711 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 15078 |
|
|
| 15079 |
< |
fi |
| 15079 |
> |
for flag in -Wnested-externs; do |
| 15080 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15081 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15082 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15083 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15084 |
> |
$as_echo_n "(cached) " >&6 |
| 15085 |
> |
else |
| 15086 |
|
|
| 15087 |
+ |
ax_check_save_flags=$CFLAGS |
| 15088 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15089 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15090 |
+ |
/* end confdefs.h. */ |
| 15091 |
|
|
| 15092 |
< |
# Check whether --enable-warnings was given. |
| 15093 |
< |
if test "${enable_warnings+set}" = set; then : |
| 15094 |
< |
enableval=$enable_warnings; warnings="$enableval" |
| 15092 |
> |
int |
| 15093 |
> |
main () |
| 15094 |
> |
{ |
| 15095 |
> |
|
| 15096 |
> |
; |
| 15097 |
> |
return 0; |
| 15098 |
> |
} |
| 15099 |
> |
_ACEOF |
| 15100 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15101 |
> |
eval "$as_CACHEVAR=yes" |
| 15102 |
|
else |
| 15103 |
< |
warnings="no" |
| 15103 |
> |
eval "$as_CACHEVAR=no" |
| 15104 |
> |
fi |
| 15105 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15106 |
> |
CFLAGS=$ax_check_save_flags |
| 15107 |
> |
fi |
| 15108 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15109 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15110 |
> |
$as_echo "$ac_res" >&6; } |
| 15111 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15112 |
> |
if ${CFLAGS+:} false; then : |
| 15113 |
> |
case " $CFLAGS " in |
| 15114 |
> |
*" $flag "*) |
| 15115 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15116 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15117 |
> |
ac_status=$? |
| 15118 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15119 |
> |
test $ac_status = 0; } |
| 15120 |
> |
;; |
| 15121 |
> |
*) |
| 15122 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15123 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15124 |
> |
ac_status=$? |
| 15125 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15126 |
> |
test $ac_status = 0; } |
| 15127 |
> |
CFLAGS="$CFLAGS $flag" |
| 15128 |
> |
;; |
| 15129 |
> |
esac |
| 15130 |
> |
else |
| 15131 |
> |
CFLAGS="$flag" |
| 15132 |
|
fi |
| 15133 |
|
|
| 15134 |
< |
if test "$warnings" = "yes" ; then |
| 15135 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 15136 |
< |
fi |
| 15134 |
> |
else |
| 15135 |
> |
: |
| 15136 |
> |
fi |
| 15137 |
|
|
| 15138 |
+ |
done |
| 15139 |
|
|
| 15140 |
< |
for ac_header in syslog.h sys/syslog.h |
| 15141 |
< |
do : |
| 15142 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 15143 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 15144 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 15145 |
< |
cat >>confdefs.h <<_ACEOF |
| 15146 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 15140 |
> |
|
| 15141 |
> |
|
| 15142 |
> |
for flag in -Wredundant-decls; do |
| 15143 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15144 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15145 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15146 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15147 |
> |
$as_echo_n "(cached) " >&6 |
| 15148 |
> |
else |
| 15149 |
> |
|
| 15150 |
> |
ax_check_save_flags=$CFLAGS |
| 15151 |
> |
CFLAGS="$CFLAGS $flag" |
| 15152 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15153 |
> |
/* end confdefs.h. */ |
| 15154 |
> |
|
| 15155 |
> |
int |
| 15156 |
> |
main () |
| 15157 |
> |
{ |
| 15158 |
> |
|
| 15159 |
> |
; |
| 15160 |
> |
return 0; |
| 15161 |
> |
} |
| 15162 |
|
_ACEOF |
| 15163 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15164 |
+ |
eval "$as_CACHEVAR=yes" |
| 15165 |
+ |
else |
| 15166 |
+ |
eval "$as_CACHEVAR=no" |
| 15167 |
+ |
fi |
| 15168 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15169 |
+ |
CFLAGS=$ax_check_save_flags |
| 15170 |
+ |
fi |
| 15171 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15172 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15173 |
+ |
$as_echo "$ac_res" >&6; } |
| 15174 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15175 |
+ |
if ${CFLAGS+:} false; then : |
| 15176 |
+ |
case " $CFLAGS " in |
| 15177 |
+ |
*" $flag "*) |
| 15178 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15179 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15180 |
+ |
ac_status=$? |
| 15181 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15182 |
+ |
test $ac_status = 0; } |
| 15183 |
+ |
;; |
| 15184 |
+ |
*) |
| 15185 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15186 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15187 |
+ |
ac_status=$? |
| 15188 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15189 |
+ |
test $ac_status = 0; } |
| 15190 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15191 |
+ |
;; |
| 15192 |
+ |
esac |
| 15193 |
+ |
else |
| 15194 |
+ |
CFLAGS="$flag" |
| 15195 |
+ |
fi |
| 15196 |
|
|
| 15197 |
+ |
else |
| 15198 |
+ |
: |
| 15199 |
|
fi |
| 15200 |
|
|
| 15201 |
|
done |
| 15202 |
|
|
| 15203 |
< |
# Check whether --enable-syslog was given. |
| 15204 |
< |
if test "${enable_syslog+set}" = set; then : |
| 15205 |
< |
enableval=$enable_syslog; syslog="$enableval" |
| 15206 |
< |
else |
| 15207 |
< |
syslog="no" |
| 15203 |
> |
|
| 15204 |
> |
|
| 15205 |
> |
for flag in -Wshadow; do |
| 15206 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15207 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15208 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15209 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15210 |
> |
$as_echo_n "(cached) " >&6 |
| 15211 |
> |
else |
| 15212 |
> |
|
| 15213 |
> |
ax_check_save_flags=$CFLAGS |
| 15214 |
> |
CFLAGS="$CFLAGS $flag" |
| 15215 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15216 |
> |
/* end confdefs.h. */ |
| 15217 |
> |
|
| 15218 |
> |
int |
| 15219 |
> |
main () |
| 15220 |
> |
{ |
| 15221 |
> |
|
| 15222 |
> |
; |
| 15223 |
> |
return 0; |
| 15224 |
> |
} |
| 15225 |
> |
_ACEOF |
| 15226 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15227 |
> |
eval "$as_CACHEVAR=yes" |
| 15228 |
> |
else |
| 15229 |
> |
eval "$as_CACHEVAR=no" |
| 15230 |
> |
fi |
| 15231 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15232 |
> |
CFLAGS=$ax_check_save_flags |
| 15233 |
> |
fi |
| 15234 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15235 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15236 |
> |
$as_echo "$ac_res" >&6; } |
| 15237 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15238 |
> |
if ${CFLAGS+:} false; then : |
| 15239 |
> |
case " $CFLAGS " in |
| 15240 |
> |
*" $flag "*) |
| 15241 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15242 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15243 |
> |
ac_status=$? |
| 15244 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15245 |
> |
test $ac_status = 0; } |
| 15246 |
> |
;; |
| 15247 |
> |
*) |
| 15248 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15249 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15250 |
> |
ac_status=$? |
| 15251 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15252 |
> |
test $ac_status = 0; } |
| 15253 |
> |
CFLAGS="$CFLAGS $flag" |
| 15254 |
> |
;; |
| 15255 |
> |
esac |
| 15256 |
> |
else |
| 15257 |
> |
CFLAGS="$flag" |
| 15258 |
|
fi |
| 15259 |
|
|
| 15260 |
< |
if test "$enableval" != "no" ; then |
| 15261 |
< |
for option in $enableval ; do |
| 15262 |
< |
case "$option" in |
| 15263 |
< |
users) |
| 15264 |
< |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
| 15265 |
< |
;; |
| 15266 |
< |
oper) |
| 15267 |
< |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
| 15268 |
< |
;; |
| 15269 |
< |
yes) : ;; |
| 15270 |
< |
*) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 15271 |
< |
esac |
| 15272 |
< |
done |
| 15260 |
> |
else |
| 15261 |
> |
: |
| 15262 |
> |
fi |
| 15263 |
> |
|
| 15264 |
> |
done |
| 15265 |
> |
|
| 15266 |
> |
|
| 15267 |
> |
|
| 15268 |
> |
for flag in -Wwrite-strings; do |
| 15269 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15270 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15271 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15272 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15273 |
> |
$as_echo_n "(cached) " >&6 |
| 15274 |
> |
else |
| 15275 |
|
|
| 15276 |
< |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
| 15276 |
> |
ax_check_save_flags=$CFLAGS |
| 15277 |
> |
CFLAGS="$CFLAGS $flag" |
| 15278 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15279 |
> |
/* end confdefs.h. */ |
| 15280 |
> |
|
| 15281 |
> |
int |
| 15282 |
> |
main () |
| 15283 |
> |
{ |
| 15284 |
> |
|
| 15285 |
> |
; |
| 15286 |
> |
return 0; |
| 15287 |
> |
} |
| 15288 |
> |
_ACEOF |
| 15289 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15290 |
> |
eval "$as_CACHEVAR=yes" |
| 15291 |
> |
else |
| 15292 |
> |
eval "$as_CACHEVAR=no" |
| 15293 |
> |
fi |
| 15294 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15295 |
> |
CFLAGS=$ax_check_save_flags |
| 15296 |
> |
fi |
| 15297 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15298 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15299 |
> |
$as_echo "$ac_res" >&6; } |
| 15300 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15301 |
> |
if ${CFLAGS+:} false; then : |
| 15302 |
> |
case " $CFLAGS " in |
| 15303 |
> |
*" $flag "*) |
| 15304 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15305 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15306 |
> |
ac_status=$? |
| 15307 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15308 |
> |
test $ac_status = 0; } |
| 15309 |
> |
;; |
| 15310 |
> |
*) |
| 15311 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15312 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15313 |
> |
ac_status=$? |
| 15314 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15315 |
> |
test $ac_status = 0; } |
| 15316 |
> |
CFLAGS="$CFLAGS $flag" |
| 15317 |
> |
;; |
| 15318 |
> |
esac |
| 15319 |
> |
else |
| 15320 |
> |
CFLAGS="$flag" |
| 15321 |
> |
fi |
| 15322 |
> |
|
| 15323 |
> |
else |
| 15324 |
> |
: |
| 15325 |
> |
fi |
| 15326 |
> |
|
| 15327 |
> |
done |
| 15328 |
> |
|
| 15329 |
> |
|
| 15330 |
> |
|
| 15331 |
> |
for flag in -Wundef; do |
| 15332 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15333 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15334 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15335 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 15336 |
> |
$as_echo_n "(cached) " >&6 |
| 15337 |
> |
else |
| 15338 |
> |
|
| 15339 |
> |
ax_check_save_flags=$CFLAGS |
| 15340 |
> |
CFLAGS="$CFLAGS $flag" |
| 15341 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15342 |
> |
/* end confdefs.h. */ |
| 15343 |
> |
|
| 15344 |
> |
int |
| 15345 |
> |
main () |
| 15346 |
> |
{ |
| 15347 |
> |
|
| 15348 |
> |
; |
| 15349 |
> |
return 0; |
| 15350 |
> |
} |
| 15351 |
> |
_ACEOF |
| 15352 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15353 |
> |
eval "$as_CACHEVAR=yes" |
| 15354 |
> |
else |
| 15355 |
> |
eval "$as_CACHEVAR=no" |
| 15356 |
> |
fi |
| 15357 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15358 |
> |
CFLAGS=$ax_check_save_flags |
| 15359 |
> |
fi |
| 15360 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15361 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15362 |
> |
$as_echo "$ac_res" >&6; } |
| 15363 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
| 15364 |
> |
if ${CFLAGS+:} false; then : |
| 15365 |
> |
case " $CFLAGS " in |
| 15366 |
> |
*" $flag "*) |
| 15367 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15368 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15369 |
> |
ac_status=$? |
| 15370 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15371 |
> |
test $ac_status = 0; } |
| 15372 |
> |
;; |
| 15373 |
> |
*) |
| 15374 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
| 15375 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
| 15376 |
> |
ac_status=$? |
| 15377 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15378 |
> |
test $ac_status = 0; } |
| 15379 |
> |
CFLAGS="$CFLAGS $flag" |
| 15380 |
> |
;; |
| 15381 |
> |
esac |
| 15382 |
> |
else |
| 15383 |
> |
CFLAGS="$flag" |
| 15384 |
> |
fi |
| 15385 |
> |
|
| 15386 |
> |
else |
| 15387 |
> |
: |
| 15388 |
> |
fi |
| 15389 |
> |
|
| 15390 |
> |
done |
| 15391 |
|
|
| 15392 |
|
fi |
| 15393 |
|
|
| 15478 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 15479 |
|
|
| 15480 |
|
|
| 15481 |
< |
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" |
| 15481 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 15482 |
|
|
| 15483 |
|
|
| 15484 |
|
cat >confcache <<\_ACEOF |
| 15545 |
|
:end' >>confcache |
| 15546 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 15547 |
|
if test -w "$cache_file"; then |
| 15548 |
< |
test "x$cache_file" != "x/dev/null" && |
| 15548 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 15549 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 15550 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 15551 |
< |
cat confcache >$cache_file |
| 15551 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 15552 |
> |
cat confcache >"$cache_file" |
| 15553 |
> |
else |
| 15554 |
> |
case $cache_file in #( |
| 15555 |
> |
*/* | ?:*) |
| 15556 |
> |
mv -f confcache "$cache_file"$$ && |
| 15557 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 15558 |
> |
*) |
| 15559 |
> |
mv -f confcache "$cache_file" ;; |
| 15560 |
> |
esac |
| 15561 |
> |
fi |
| 15562 |
> |
fi |
| 15563 |
|
else |
| 15564 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 15565 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 15590 |
|
LTLIBOBJS=$ac_ltlibobjs |
| 15591 |
|
|
| 15592 |
|
|
| 15593 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 15594 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 15595 |
+ |
if test -n "$am_sleep_pid"; then |
| 15596 |
+ |
# Hide warnings about reused PIDs. |
| 15597 |
+ |
wait $am_sleep_pid 2>/dev/null |
| 15598 |
+ |
fi |
| 15599 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 15600 |
+ |
$as_echo "done" >&6; } |
| 15601 |
|
if test -n "$EXEEXT"; then |
| 15602 |
|
am__EXEEXT_TRUE= |
| 15603 |
|
am__EXEEXT_FALSE='#' |
| 15644 |
|
|
| 15645 |
|
|
| 15646 |
|
|
| 14000 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 14001 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
| 14002 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14003 |
– |
fi |
| 15647 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 15648 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 15649 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 15650 |
|
fi |
| 14008 |
– |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
| 14009 |
– |
as_fn_error $? "conditional \"EFNET\" was never defined. |
| 14010 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14011 |
– |
fi |
| 15651 |
|
|
| 15652 |
< |
: ${CONFIG_STATUS=./config.status} |
| 15652 |
> |
: "${CONFIG_STATUS=./config.status}" |
| 15653 |
|
ac_write_fail=0 |
| 15654 |
|
ac_clean_files_save=$ac_clean_files |
| 15655 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 15750 |
|
IFS=" "" $as_nl" |
| 15751 |
|
|
| 15752 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 15753 |
+ |
as_myself= |
| 15754 |
|
case $0 in #(( |
| 15755 |
|
*[\\/]* ) as_myself=$0 ;; |
| 15756 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 15946 |
|
# ... but there are two gotchas: |
| 15947 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 15948 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 15949 |
< |
# In both cases, we have to default to `cp -p'. |
| 15949 |
> |
# In both cases, we have to default to `cp -pR'. |
| 15950 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 15951 |
< |
as_ln_s='cp -p' |
| 15951 |
> |
as_ln_s='cp -pR' |
| 15952 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 15953 |
|
as_ln_s=ln |
| 15954 |
|
else |
| 15955 |
< |
as_ln_s='cp -p' |
| 15955 |
> |
as_ln_s='cp -pR' |
| 15956 |
|
fi |
| 15957 |
|
else |
| 15958 |
< |
as_ln_s='cp -p' |
| 15958 |
> |
as_ln_s='cp -pR' |
| 15959 |
|
fi |
| 15960 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 15961 |
|
rmdir conf$$.dir 2>/dev/null |
| 16015 |
|
as_mkdir_p=false |
| 16016 |
|
fi |
| 16017 |
|
|
| 16018 |
< |
if test -x / >/dev/null 2>&1; then |
| 16019 |
< |
as_test_x='test -x' |
| 16020 |
< |
else |
| 16021 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 16022 |
< |
as_ls_L_option=L |
| 16023 |
< |
else |
| 16024 |
< |
as_ls_L_option= |
| 16025 |
< |
fi |
| 16026 |
< |
as_test_x=' |
| 16027 |
< |
eval sh -c '\'' |
| 14388 |
< |
if test -d "$1"; then |
| 14389 |
< |
test -d "$1/."; |
| 14390 |
< |
else |
| 14391 |
< |
case $1 in #( |
| 14392 |
< |
-*)set "./$1";; |
| 14393 |
< |
esac; |
| 14394 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 14395 |
< |
???[sx]*):;;*)false;;esac;fi |
| 14396 |
< |
'\'' sh |
| 14397 |
< |
' |
| 14398 |
< |
fi |
| 14399 |
< |
as_executable_p=$as_test_x |
| 16018 |
> |
|
| 16019 |
> |
# as_fn_executable_p FILE |
| 16020 |
> |
# ----------------------- |
| 16021 |
> |
# Test if FILE is an executable regular file. |
| 16022 |
> |
as_fn_executable_p () |
| 16023 |
> |
{ |
| 16024 |
> |
test -f "$1" && test -x "$1" |
| 16025 |
> |
} # as_fn_executable_p |
| 16026 |
> |
as_test_x='test -x' |
| 16027 |
> |
as_executable_p=as_fn_executable_p |
| 16028 |
|
|
| 16029 |
|
# Sed expression to map a string onto a valid CPP name. |
| 16030 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 16045 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 16046 |
|
# values after options handling. |
| 16047 |
|
ac_log=" |
| 16048 |
< |
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
| 16049 |
< |
generated by GNU Autoconf 2.67. Invocation command line was |
| 16048 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 16049 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
| 16050 |
|
|
| 16051 |
|
CONFIG_FILES = $CONFIG_FILES |
| 16052 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 16111 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16112 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 16113 |
|
ac_cs_version="\\ |
| 16114 |
< |
ircd-hybrid config.status 7.3-rc1 |
| 16115 |
< |
configured by $0, generated by GNU Autoconf 2.67, |
| 16114 |
> |
ircd-hybrid config.status TRUNK |
| 16115 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
| 16116 |
|
with options \\"\$ac_cs_config\\" |
| 16117 |
|
|
| 16118 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 16118 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 16119 |
|
This config.status script is free software; the Free Software Foundation |
| 16120 |
|
gives unlimited permission to copy, distribute and modify it." |
| 16121 |
|
|
| 16206 |
|
_ACEOF |
| 16207 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16208 |
|
if \$ac_cs_recheck; then |
| 16209 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16209 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16210 |
|
shift |
| 16211 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 16212 |
|
CONFIG_SHELL='$SHELL' |
| 16248 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 16249 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 16250 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 16251 |
+ |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 16252 |
|
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 16253 |
|
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 16254 |
|
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 16269 |
|
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 16270 |
|
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 16271 |
|
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 16272 |
+ |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 16273 |
+ |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 16274 |
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 16275 |
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 16276 |
|
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 16277 |
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 16278 |
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 16279 |
+ |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 16280 |
+ |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 16281 |
+ |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 16282 |
+ |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 16283 |
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 16284 |
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 16285 |
+ |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 16286 |
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 16287 |
|
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 16288 |
|
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 16297 |
|
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 16298 |
|
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 16299 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 16300 |
+ |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 16301 |
+ |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 16302 |
|
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 16303 |
|
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 16304 |
|
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 14667 |
– |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 16305 |
|
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 16306 |
+ |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 16307 |
|
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 16308 |
|
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 16309 |
|
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 16310 |
+ |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 16311 |
|
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 16312 |
|
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 16313 |
|
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 16331 |
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 16332 |
|
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 16333 |
|
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 14695 |
– |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
| 16334 |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 16335 |
|
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 16336 |
|
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 16339 |
|
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 16340 |
|
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 16341 |
|
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 14704 |
– |
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`' |
| 16342 |
|
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 16343 |
|
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 16344 |
|
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 16345 |
|
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 16346 |
|
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 16347 |
+ |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 16348 |
|
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 16349 |
|
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 16350 |
|
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 16386 |
|
# Quote evaled strings. |
| 16387 |
|
for var in SHELL \ |
| 16388 |
|
ECHO \ |
| 16389 |
+ |
PATH_SEPARATOR \ |
| 16390 |
|
SED \ |
| 16391 |
|
GREP \ |
| 16392 |
|
EGREP \ |
| 16400 |
|
OBJDUMP \ |
| 16401 |
|
deplibs_check_method \ |
| 16402 |
|
file_magic_cmd \ |
| 16403 |
+ |
file_magic_glob \ |
| 16404 |
+ |
want_nocaseglob \ |
| 16405 |
+ |
DLLTOOL \ |
| 16406 |
+ |
sharedlib_from_linklib_cmd \ |
| 16407 |
|
AR \ |
| 16408 |
|
AR_FLAGS \ |
| 16409 |
+ |
archiver_list_spec \ |
| 16410 |
|
STRIP \ |
| 16411 |
|
RANLIB \ |
| 16412 |
|
CC \ |
| 16416 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
| 16417 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
| 16418 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 16419 |
+ |
nm_file_list_spec \ |
| 16420 |
|
lt_prog_compiler_no_builtin_flag \ |
| 14776 |
– |
lt_prog_compiler_wl \ |
| 16421 |
|
lt_prog_compiler_pic \ |
| 16422 |
+ |
lt_prog_compiler_wl \ |
| 16423 |
|
lt_prog_compiler_static \ |
| 16424 |
|
lt_cv_prog_compiler_c_o \ |
| 16425 |
|
need_locks \ |
| 16426 |
+ |
MANIFEST_TOOL \ |
| 16427 |
|
DSYMUTIL \ |
| 16428 |
|
NMEDIT \ |
| 16429 |
|
LIPO \ |
| 16437 |
|
allow_undefined_flag \ |
| 16438 |
|
no_undefined_flag \ |
| 16439 |
|
hardcode_libdir_flag_spec \ |
| 14794 |
– |
hardcode_libdir_flag_spec_ld \ |
| 16440 |
|
hardcode_libdir_separator \ |
| 14796 |
– |
fix_srcfile_path \ |
| 16441 |
|
exclude_expsyms \ |
| 16442 |
|
include_expsyms \ |
| 16443 |
|
file_list_spec \ |
| 16473 |
|
module_expsym_cmds \ |
| 16474 |
|
export_symbols_cmds \ |
| 16475 |
|
prelink_cmds \ |
| 16476 |
+ |
postlink_cmds \ |
| 16477 |
|
postinstall_cmds \ |
| 16478 |
|
postuninstall_cmds \ |
| 16479 |
|
finish_cmds \ |
| 16521 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16522 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16523 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 14879 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 14880 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 14881 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 14882 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 16524 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 16525 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 14885 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 16526 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 16527 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 16528 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16529 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 14890 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 14891 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 16530 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 16531 |
|
|
| 16532 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 16552 |
|
# after its creation but before its name has been assigned to `$tmp'. |
| 16553 |
|
$debug || |
| 16554 |
|
{ |
| 16555 |
< |
tmp= |
| 16555 |
> |
tmp= ac_tmp= |
| 16556 |
|
trap 'exit_status=$? |
| 16557 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 16557 |
> |
: "${ac_tmp:=$tmp}" |
| 16558 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 16559 |
|
' 0 |
| 16560 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
| 16561 |
|
} |
| 16563 |
|
|
| 16564 |
|
{ |
| 16565 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 16566 |
< |
test -n "$tmp" && test -d "$tmp" |
| 16566 |
> |
test -d "$tmp" |
| 16567 |
|
} || |
| 16568 |
|
{ |
| 16569 |
|
tmp=./conf$$-$RANDOM |
| 16570 |
|
(umask 077 && mkdir "$tmp") |
| 16571 |
|
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 16572 |
+ |
ac_tmp=$tmp |
| 16573 |
|
|
| 16574 |
|
# Set up the scripts for CONFIG_FILES section. |
| 16575 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 16591 |
|
ac_cs_awk_cr=$ac_cr |
| 16592 |
|
fi |
| 16593 |
|
|
| 16594 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 16594 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 16595 |
|
_ACEOF |
| 16596 |
|
|
| 16597 |
|
|
| 16619 |
|
rm -f conf$$subs.sh |
| 16620 |
|
|
| 16621 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16622 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 16622 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 16623 |
|
_ACEOF |
| 16624 |
|
sed -n ' |
| 16625 |
|
h |
| 16667 |
|
rm -f conf$$subs.awk |
| 16668 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16669 |
|
_ACAWK |
| 16670 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 16670 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 16671 |
|
for (key in S) S_is_set[key] = 1 |
| 16672 |
|
FS = "" |
| 16673 |
|
|
| 16699 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 16700 |
|
else |
| 16701 |
|
cat |
| 16702 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 16702 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 16703 |
|
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 16704 |
|
_ACEOF |
| 16705 |
|
|
| 16733 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
| 16734 |
|
# This happens for instance with `./config.status Makefile'. |
| 16735 |
|
if test -n "$CONFIG_HEADERS"; then |
| 16736 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
| 16736 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 16737 |
|
BEGIN { |
| 16738 |
|
_ACEOF |
| 16739 |
|
|
| 16745 |
|
# handling of long lines. |
| 16746 |
|
ac_delim='%!_!# ' |
| 16747 |
|
for ac_last_try in false false :; do |
| 16748 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| 16749 |
< |
if test -z "$ac_t"; then |
| 16748 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 16749 |
> |
if test -z "$ac_tt"; then |
| 16750 |
|
break |
| 16751 |
|
elif $ac_last_try; then |
| 16752 |
|
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 16866 |
|
for ac_f |
| 16867 |
|
do |
| 16868 |
|
case $ac_f in |
| 16869 |
< |
-) ac_f="$tmp/stdin";; |
| 16869 |
> |
-) ac_f="$ac_tmp/stdin";; |
| 16870 |
|
*) # Look for the file first in the build tree, then in the source tree |
| 16871 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 16872 |
|
# because $ac_f cannot contain `:'. |
| 16901 |
|
esac |
| 16902 |
|
|
| 16903 |
|
case $ac_tag in |
| 16904 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 16904 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 16905 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 16906 |
|
esac |
| 16907 |
|
;; |
| 17038 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 17039 |
|
$ac_datarootdir_hack |
| 17040 |
|
" |
| 17041 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 17042 |
< |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17041 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 17042 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17043 |
|
|
| 17044 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 17045 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 17046 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 17045 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 17046 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 17047 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 17048 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17049 |
|
which seems to be undefined. Please make sure it is defined" >&5 |
| 17050 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17051 |
|
which seems to be undefined. Please make sure it is defined" >&2;} |
| 17052 |
|
|
| 17053 |
< |
rm -f "$tmp/stdin" |
| 17053 |
> |
rm -f "$ac_tmp/stdin" |
| 17054 |
|
case $ac_file in |
| 17055 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 17056 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 17055 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 17056 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 17057 |
|
esac \ |
| 17058 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17059 |
|
;; |
| 17064 |
|
if test x"$ac_file" != x-; then |
| 17065 |
|
{ |
| 17066 |
|
$as_echo "/* $configure_input */" \ |
| 17067 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 17068 |
< |
} >"$tmp/config.h" \ |
| 17067 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 17068 |
> |
} >"$ac_tmp/config.h" \ |
| 17069 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17070 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 17070 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 17071 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 17072 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 17073 |
|
else |
| 17074 |
|
rm -f "$ac_file" |
| 17075 |
< |
mv "$tmp/config.h" "$ac_file" \ |
| 17075 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
| 17076 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17077 |
|
fi |
| 17078 |
|
else |
| 17079 |
|
$as_echo "/* $configure_input */" \ |
| 17080 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 17080 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 17081 |
|
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 17082 |
|
fi |
| 17083 |
|
# Compute "$ac_file"'s index in $config_headers. |
| 17124 |
|
|
| 17125 |
|
case $ac_file$ac_mode in |
| 17126 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 17127 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 17127 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 17128 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 17129 |
|
# if we detect the quoting. |
| 17130 |
|
case $CONFIG_FILES in |
| 17137 |
|
# Strip MF so we end up with the name of the file. |
| 17138 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 17139 |
|
# Check whether this is an Automake generated Makefile or not. |
| 17140 |
< |
# We used to match only the files named `Makefile.in', but |
| 17140 |
> |
# We used to match only the files named 'Makefile.in', but |
| 17141 |
|
# some people rename them; so instead we look at the file content. |
| 17142 |
|
# Grep'ing the first line is not enough: some people post-process |
| 17143 |
|
# each Makefile.in and add a new line on top of each file to say so. |
| 17171 |
|
continue |
| 17172 |
|
fi |
| 17173 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
| 17174 |
< |
# from the Makefile without running `make'. |
| 17174 |
> |
# from the Makefile without running 'make'. |
| 17175 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 17176 |
|
test -z "$DEPDIR" && continue |
| 17177 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 17178 |
< |
test -z "am__include" && continue |
| 17178 |
> |
test -z "$am__include" && continue |
| 17179 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 15539 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 15540 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
| 17180 |
|
# Find all dependency output files, they are included files with |
| 17181 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 17182 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 17183 |
|
# expansion. |
| 17184 |
|
for file in `sed -n " |
| 17185 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 17186 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 17186 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 17187 |
|
# Make sure the directory exists. |
| 17188 |
|
test -f "$dirpart/$file" && continue |
| 17189 |
|
fdir=`$as_dirname -- "$file" || |
| 17237 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 17238 |
|
# |
| 17239 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 17240 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 17241 |
< |
# Inc. |
| 17240 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 17241 |
> |
# Foundation, Inc. |
| 17242 |
|
# Written by Gordon Matzigkeit, 1996 |
| 17243 |
|
# |
| 17244 |
|
# This file is part of GNU Libtool. |
| 17292 |
|
# An echo program that protects backslashes. |
| 17293 |
|
ECHO=$lt_ECHO |
| 17294 |
|
|
| 17295 |
+ |
# The PATH separator for the build system. |
| 17296 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 17297 |
+ |
|
| 17298 |
|
# The host system. |
| 17299 |
|
host_alias=$host_alias |
| 17300 |
|
host=$host |
| 17344 |
|
# turn newlines into spaces. |
| 17345 |
|
NL2SP=$lt_lt_NL2SP |
| 17346 |
|
|
| 17347 |
+ |
# convert \$build file names to \$host format. |
| 17348 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 17349 |
+ |
|
| 17350 |
+ |
# convert \$build files to toolchain format. |
| 17351 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 17352 |
+ |
|
| 17353 |
|
# An object symbol dumper. |
| 17354 |
|
OBJDUMP=$lt_OBJDUMP |
| 17355 |
|
|
| 17356 |
|
# Method to check whether dependent libraries are shared objects. |
| 17357 |
|
deplibs_check_method=$lt_deplibs_check_method |
| 17358 |
|
|
| 17359 |
< |
# Command to use when deplibs_check_method == "file_magic". |
| 17359 |
> |
# Command to use when deplibs_check_method = "file_magic". |
| 17360 |
|
file_magic_cmd=$lt_file_magic_cmd |
| 17361 |
|
|
| 17362 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
| 17363 |
+ |
file_magic_glob=$lt_file_magic_glob |
| 17364 |
+ |
|
| 17365 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 17366 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
| 17367 |
+ |
|
| 17368 |
+ |
# DLL creation program. |
| 17369 |
+ |
DLLTOOL=$lt_DLLTOOL |
| 17370 |
+ |
|
| 17371 |
+ |
# Command to associate shared and link libraries. |
| 17372 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 17373 |
+ |
|
| 17374 |
|
# The archiver. |
| 17375 |
|
AR=$lt_AR |
| 17376 |
+ |
|
| 17377 |
+ |
# Flags to create an archive. |
| 17378 |
|
AR_FLAGS=$lt_AR_FLAGS |
| 17379 |
|
|
| 17380 |
+ |
# How to feed a file listing to the archiver. |
| 17381 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
| 17382 |
+ |
|
| 17383 |
|
# A symbol stripping program. |
| 17384 |
|
STRIP=$lt_STRIP |
| 17385 |
|
|
| 17409 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
| 17410 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 17411 |
|
|
| 17412 |
+ |
# Specify filename containing input files for \$NM. |
| 17413 |
+ |
nm_file_list_spec=$lt_nm_file_list_spec |
| 17414 |
+ |
|
| 17415 |
+ |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
| 17416 |
+ |
lt_sysroot=$lt_sysroot |
| 17417 |
+ |
|
| 17418 |
|
# The name of the directory that contains temporary libtool files. |
| 17419 |
|
objdir=$objdir |
| 17420 |
|
|
| 17424 |
|
# Must we lock files when doing compilation? |
| 17425 |
|
need_locks=$lt_need_locks |
| 17426 |
|
|
| 17427 |
+ |
# Manifest tool. |
| 17428 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 17429 |
+ |
|
| 17430 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 17431 |
|
DSYMUTIL=$lt_DSYMUTIL |
| 17432 |
|
|
| 17541 |
|
# Compiler flag to turn off builtin functions. |
| 17542 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 17543 |
|
|
| 15870 |
– |
# How to pass a linker flag through the compiler. |
| 15871 |
– |
wl=$lt_lt_prog_compiler_wl |
| 15872 |
– |
|
| 17544 |
|
# Additional compiler flags for building library objects. |
| 17545 |
|
pic_flag=$lt_lt_prog_compiler_pic |
| 17546 |
|
|
| 17547 |
+ |
# How to pass a linker flag through the compiler. |
| 17548 |
+ |
wl=$lt_lt_prog_compiler_wl |
| 17549 |
+ |
|
| 17550 |
|
# Compiler flag to prevent dynamic linking. |
| 17551 |
|
link_static_flag=$lt_lt_prog_compiler_static |
| 17552 |
|
|
| 17596 |
|
# This must work even if \$libdir does not exist |
| 17597 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 17598 |
|
|
| 15925 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
| 15926 |
– |
# during linking. This must work even if \$libdir does not exist. |
| 15927 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
| 15928 |
– |
|
| 17599 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
| 17600 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 17601 |
|
|
| 17629 |
|
# Whether libtool must link a program against all its dependency libraries. |
| 17630 |
|
link_all_deplibs=$link_all_deplibs |
| 17631 |
|
|
| 15962 |
– |
# Fix the shell variable \$srcfile for the compiler. |
| 15963 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
| 15964 |
– |
|
| 17632 |
|
# Set to "yes" if exported symbols are required. |
| 17633 |
|
always_export_symbols=$always_export_symbols |
| 17634 |
|
|
| 17644 |
|
# Commands necessary for linking programs (against libraries) with templates. |
| 17645 |
|
prelink_cmds=$lt_prelink_cmds |
| 17646 |
|
|
| 17647 |
+ |
# Commands necessary for finishing linking programs. |
| 17648 |
+ |
postlink_cmds=$lt_postlink_cmds |
| 17649 |
+ |
|
| 17650 |
|
# Specify filename containing input files. |
| 17651 |
|
file_list_spec=$lt_file_list_spec |
| 17652 |
|
|
| 17679 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 17680 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
| 17681 |
|
# is reportedly fixed, but why not run on old versions too? |
| 17682 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
| 17683 |
< |
|| (rm -f "$cfgfile"; exit 1) |
| 16014 |
< |
|
| 16015 |
< |
case $xsi_shell in |
| 16016 |
< |
yes) |
| 16017 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16018 |
< |
|
| 16019 |
< |
# func_dirname file append nondir_replacement |
| 16020 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 16021 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
| 16022 |
< |
func_dirname () |
| 16023 |
< |
{ |
| 16024 |
< |
case ${1} in |
| 16025 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
| 16026 |
< |
* ) func_dirname_result="${3}" ;; |
| 16027 |
< |
esac |
| 16028 |
< |
} |
| 16029 |
< |
|
| 16030 |
< |
# func_basename file |
| 16031 |
< |
func_basename () |
| 16032 |
< |
{ |
| 16033 |
< |
func_basename_result="${1##*/}" |
| 16034 |
< |
} |
| 16035 |
< |
|
| 16036 |
< |
# func_dirname_and_basename file append nondir_replacement |
| 16037 |
< |
# perform func_basename and func_dirname in a single function |
| 16038 |
< |
# call: |
| 16039 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
| 16040 |
< |
# add APPEND to the result, otherwise set result |
| 16041 |
< |
# to NONDIR_REPLACEMENT. |
| 16042 |
< |
# value returned in "$func_dirname_result" |
| 16043 |
< |
# basename: Compute filename of FILE. |
| 16044 |
< |
# value retuned in "$func_basename_result" |
| 16045 |
< |
# Implementation must be kept synchronized with func_dirname |
| 16046 |
< |
# and func_basename. For efficiency, we do not delegate to |
| 16047 |
< |
# those functions but instead duplicate the functionality here. |
| 16048 |
< |
func_dirname_and_basename () |
| 16049 |
< |
{ |
| 16050 |
< |
case ${1} in |
| 16051 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
| 16052 |
< |
* ) func_dirname_result="${3}" ;; |
| 16053 |
< |
esac |
| 16054 |
< |
func_basename_result="${1##*/}" |
| 16055 |
< |
} |
| 16056 |
< |
|
| 16057 |
< |
# func_stripname prefix suffix name |
| 16058 |
< |
# strip PREFIX and SUFFIX off of NAME. |
| 16059 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
| 16060 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
| 16061 |
< |
# dot (in which case that matches only a dot). |
| 16062 |
< |
func_stripname () |
| 16063 |
< |
{ |
| 16064 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
| 16065 |
< |
# positional parameters, so assign one to ordinary parameter first. |
| 16066 |
< |
func_stripname_result=${3} |
| 16067 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
| 16068 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
| 16069 |
< |
} |
| 16070 |
< |
|
| 16071 |
< |
# func_opt_split |
| 16072 |
< |
func_opt_split () |
| 16073 |
< |
{ |
| 16074 |
< |
func_opt_split_opt=${1%%=*} |
| 16075 |
< |
func_opt_split_arg=${1#*=} |
| 16076 |
< |
} |
| 16077 |
< |
|
| 16078 |
< |
# func_lo2o object |
| 16079 |
< |
func_lo2o () |
| 16080 |
< |
{ |
| 16081 |
< |
case ${1} in |
| 16082 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
| 16083 |
< |
*) func_lo2o_result=${1} ;; |
| 16084 |
< |
esac |
| 16085 |
< |
} |
| 16086 |
< |
|
| 16087 |
< |
# func_xform libobj-or-source |
| 16088 |
< |
func_xform () |
| 16089 |
< |
{ |
| 16090 |
< |
func_xform_result=${1%.*}.lo |
| 16091 |
< |
} |
| 16092 |
< |
|
| 16093 |
< |
# func_arith arithmetic-term... |
| 16094 |
< |
func_arith () |
| 16095 |
< |
{ |
| 16096 |
< |
func_arith_result=$(( $* )) |
| 16097 |
< |
} |
| 16098 |
< |
|
| 16099 |
< |
# func_len string |
| 16100 |
< |
# STRING may not start with a hyphen. |
| 16101 |
< |
func_len () |
| 16102 |
< |
{ |
| 16103 |
< |
func_len_result=${#1} |
| 16104 |
< |
} |
| 16105 |
< |
|
| 16106 |
< |
_LT_EOF |
| 16107 |
< |
;; |
| 16108 |
< |
*) # Bourne compatible functions. |
| 16109 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16110 |
< |
|
| 16111 |
< |
# func_dirname file append nondir_replacement |
| 16112 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
| 16113 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
| 16114 |
< |
func_dirname () |
| 16115 |
< |
{ |
| 16116 |
< |
# Extract subdirectory from the argument. |
| 16117 |
< |
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
| 16118 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
| 16119 |
< |
func_dirname_result="${3}" |
| 16120 |
< |
else |
| 16121 |
< |
func_dirname_result="$func_dirname_result${2}" |
| 16122 |
< |
fi |
| 16123 |
< |
} |
| 16124 |
< |
|
| 16125 |
< |
# func_basename file |
| 16126 |
< |
func_basename () |
| 16127 |
< |
{ |
| 16128 |
< |
func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
| 16129 |
< |
} |
| 16130 |
< |
|
| 16131 |
< |
|
| 16132 |
< |
# func_stripname prefix suffix name |
| 16133 |
< |
# strip PREFIX and SUFFIX off of NAME. |
| 16134 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
| 16135 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
| 16136 |
< |
# dot (in which case that matches only a dot). |
| 16137 |
< |
# func_strip_suffix prefix name |
| 16138 |
< |
func_stripname () |
| 16139 |
< |
{ |
| 16140 |
< |
case ${2} in |
| 16141 |
< |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
| 16142 |
< |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
| 16143 |
< |
esac |
| 16144 |
< |
} |
| 16145 |
< |
|
| 16146 |
< |
# sed scripts: |
| 16147 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
| 16148 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
| 16149 |
< |
|
| 16150 |
< |
# func_opt_split |
| 16151 |
< |
func_opt_split () |
| 16152 |
< |
{ |
| 16153 |
< |
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` |
| 16154 |
< |
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` |
| 16155 |
< |
} |
| 16156 |
< |
|
| 16157 |
< |
# func_lo2o object |
| 16158 |
< |
func_lo2o () |
| 16159 |
< |
{ |
| 16160 |
< |
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
| 16161 |
< |
} |
| 16162 |
< |
|
| 16163 |
< |
# func_xform libobj-or-source |
| 16164 |
< |
func_xform () |
| 16165 |
< |
{ |
| 16166 |
< |
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` |
| 16167 |
< |
} |
| 16168 |
< |
|
| 16169 |
< |
# func_arith arithmetic-term... |
| 16170 |
< |
func_arith () |
| 16171 |
< |
{ |
| 16172 |
< |
func_arith_result=`expr "$@"` |
| 16173 |
< |
} |
| 16174 |
< |
|
| 16175 |
< |
# func_len string |
| 16176 |
< |
# STRING may not start with a hyphen. |
| 16177 |
< |
func_len () |
| 16178 |
< |
{ |
| 16179 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
| 16180 |
< |
} |
| 16181 |
< |
|
| 16182 |
< |
_LT_EOF |
| 16183 |
< |
esac |
| 16184 |
< |
|
| 16185 |
< |
case $lt_shell_append in |
| 16186 |
< |
yes) |
| 16187 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16188 |
< |
|
| 16189 |
< |
# func_append var value |
| 16190 |
< |
# Append VALUE to the end of shell variable VAR. |
| 16191 |
< |
func_append () |
| 16192 |
< |
{ |
| 16193 |
< |
eval "$1+=\$2" |
| 16194 |
< |
} |
| 16195 |
< |
_LT_EOF |
| 16196 |
< |
;; |
| 16197 |
< |
*) |
| 16198 |
< |
cat << \_LT_EOF >> "$cfgfile" |
| 16199 |
< |
|
| 16200 |
< |
# func_append var value |
| 16201 |
< |
# Append VALUE to the end of shell variable VAR. |
| 16202 |
< |
func_append () |
| 16203 |
< |
{ |
| 16204 |
< |
eval "$1=\$$1\$2" |
| 16205 |
< |
} |
| 16206 |
< |
|
| 16207 |
< |
_LT_EOF |
| 16208 |
< |
;; |
| 16209 |
< |
esac |
| 17682 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
| 17683 |
> |
|| (rm -f "$cfgfile"; exit 1) |
| 17684 |
|
|
| 17685 |
+ |
if test x"$xsi_shell" = xyes; then |
| 17686 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
| 17687 |
+ |
func_dirname ()\ |
| 17688 |
+ |
{\ |
| 17689 |
+ |
\ case ${1} in\ |
| 17690 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 17691 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
| 17692 |
+ |
\ esac\ |
| 17693 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17694 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17695 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17696 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17697 |
+ |
|
| 17698 |
+ |
|
| 17699 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
| 17700 |
+ |
func_basename ()\ |
| 17701 |
+ |
{\ |
| 17702 |
+ |
\ func_basename_result="${1##*/}"\ |
| 17703 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17704 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17705 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17706 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17707 |
+ |
|
| 17708 |
+ |
|
| 17709 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
| 17710 |
+ |
func_dirname_and_basename ()\ |
| 17711 |
+ |
{\ |
| 17712 |
+ |
\ case ${1} in\ |
| 17713 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 17714 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
| 17715 |
+ |
\ esac\ |
| 17716 |
+ |
\ func_basename_result="${1##*/}"\ |
| 17717 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17718 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17719 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17720 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17721 |
+ |
|
| 17722 |
+ |
|
| 17723 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
| 17724 |
+ |
func_stripname ()\ |
| 17725 |
+ |
{\ |
| 17726 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
| 17727 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
| 17728 |
+ |
\ func_stripname_result=${3}\ |
| 17729 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
| 17730 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
| 17731 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17732 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17733 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17734 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17735 |
+ |
|
| 17736 |
+ |
|
| 17737 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
| 17738 |
+ |
func_split_long_opt ()\ |
| 17739 |
+ |
{\ |
| 17740 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
| 17741 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
| 17742 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17743 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17744 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17745 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17746 |
+ |
|
| 17747 |
+ |
|
| 17748 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
| 17749 |
+ |
func_split_short_opt ()\ |
| 17750 |
+ |
{\ |
| 17751 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
| 17752 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| 17753 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17754 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17755 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17756 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17757 |
+ |
|
| 17758 |
+ |
|
| 17759 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
| 17760 |
+ |
func_lo2o ()\ |
| 17761 |
+ |
{\ |
| 17762 |
+ |
\ case ${1} in\ |
| 17763 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| 17764 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
| 17765 |
+ |
\ esac\ |
| 17766 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17767 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17768 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17769 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17770 |
+ |
|
| 17771 |
+ |
|
| 17772 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
| 17773 |
+ |
func_xform ()\ |
| 17774 |
+ |
{\ |
| 17775 |
+ |
func_xform_result=${1%.*}.lo\ |
| 17776 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17777 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17778 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17779 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17780 |
+ |
|
| 17781 |
+ |
|
| 17782 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
| 17783 |
+ |
func_arith ()\ |
| 17784 |
+ |
{\ |
| 17785 |
+ |
func_arith_result=$(( $* ))\ |
| 17786 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17787 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17788 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17789 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17790 |
+ |
|
| 17791 |
+ |
|
| 17792 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
| 17793 |
+ |
func_len ()\ |
| 17794 |
+ |
{\ |
| 17795 |
+ |
func_len_result=${#1}\ |
| 17796 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17797 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17798 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17799 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17800 |
+ |
|
| 17801 |
+ |
fi |
| 17802 |
+ |
|
| 17803 |
+ |
if test x"$lt_shell_append" = xyes; then |
| 17804 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
| 17805 |
+ |
func_append ()\ |
| 17806 |
+ |
{\ |
| 17807 |
+ |
eval "${1}+=\\${2}"\ |
| 17808 |
+ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17809 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17810 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17811 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17812 |
+ |
|
| 17813 |
+ |
|
| 17814 |
+ |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
| 17815 |
+ |
func_append_quoted ()\ |
| 17816 |
+ |
{\ |
| 17817 |
+ |
\ func_quote_for_eval "${2}"\ |
| 17818 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| 17819 |
+ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
| 17820 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17821 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17822 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17823 |
+ |
|
| 17824 |
+ |
|
| 17825 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
| 17826 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
| 17827 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17828 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17829 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17830 |
+ |
else |
| 17831 |
+ |
# Save a `func_append' function call even when '+=' is not available |
| 17832 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
| 17833 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 17834 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 17835 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
| 17836 |
+ |
fi |
| 17837 |
+ |
|
| 17838 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
| 17839 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
| 17840 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
| 17841 |
+ |
fi |
| 17842 |
|
|
| 16212 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
| 16213 |
– |
|| (rm -f "$cfgfile"; exit 1) |
| 17843 |
|
|
| 17844 |
< |
mv -f "$cfgfile" "$ofile" || |
| 17844 |
> |
mv -f "$cfgfile" "$ofile" || |
| 17845 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 17846 |
|
chmod +x "$ofile" |
| 17847 |
|
|