1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 4364 2014-08-02 22:23:25Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
5 |
|
# |
6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
7 |
|
# |
8 |
|
# |
9 |
< |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
10 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
11 |
< |
# Foundation, Inc. |
9 |
> |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
10 |
|
# |
11 |
|
# |
12 |
|
# This configure script is free software; the Free Software Foundation |
135 |
|
# CDPATH. |
136 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
137 |
|
|
138 |
+ |
# Use a proper internal environment variable to ensure we don't fall |
139 |
+ |
# into an infinite loop, continuously re-executing ourselves. |
140 |
+ |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
141 |
+ |
_as_can_reexec=no; export _as_can_reexec; |
142 |
+ |
# We cannot yet assume a decent shell, so we have to provide a |
143 |
+ |
# neutralization value for shells without unset; and this also |
144 |
+ |
# works around shells that cannot unset nonexistent variables. |
145 |
+ |
# Preserve -v and -x to the replacement shell. |
146 |
+ |
BASH_ENV=/dev/null |
147 |
+ |
ENV=/dev/null |
148 |
+ |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
149 |
+ |
case $- in # (((( |
150 |
+ |
*v*x* | *x*v* ) as_opts=-vx ;; |
151 |
+ |
*v* ) as_opts=-v ;; |
152 |
+ |
*x* ) as_opts=-x ;; |
153 |
+ |
* ) as_opts= ;; |
154 |
+ |
esac |
155 |
+ |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
156 |
+ |
# Admittedly, this is quite paranoid, since all the known shells bail |
157 |
+ |
# out after a failed `exec'. |
158 |
+ |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
159 |
+ |
as_fn_exit 255 |
160 |
+ |
fi |
161 |
+ |
# We don't want this to propagate to other subprocesses. |
162 |
+ |
{ _as_can_reexec=; unset _as_can_reexec;} |
163 |
|
if test "x$CONFIG_SHELL" = x; then |
164 |
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
165 |
|
emulate sh |
193 |
|
else |
194 |
|
exitcode=1; echo positional parameters were not saved. |
195 |
|
fi |
196 |
< |
test x\$exitcode = x0 || exit 1" |
196 |
> |
test x\$exitcode = x0 || exit 1 |
197 |
> |
test -x / || exit 1" |
198 |
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
199 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
200 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
247 |
|
|
248 |
|
|
249 |
|
if test "x$CONFIG_SHELL" != x; then : |
250 |
< |
# We cannot yet assume a decent shell, so we have to provide a |
251 |
< |
# neutralization value for shells without unset; and this also |
252 |
< |
# works around shells that cannot unset nonexistent variables. |
253 |
< |
# Preserve -v and -x to the replacement shell. |
254 |
< |
BASH_ENV=/dev/null |
255 |
< |
ENV=/dev/null |
256 |
< |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
257 |
< |
export CONFIG_SHELL |
258 |
< |
case $- in # (((( |
259 |
< |
*v*x* | *x*v* ) as_opts=-vx ;; |
260 |
< |
*v* ) as_opts=-v ;; |
261 |
< |
*x* ) as_opts=-x ;; |
262 |
< |
* ) as_opts= ;; |
263 |
< |
esac |
264 |
< |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
250 |
> |
export CONFIG_SHELL |
251 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
252 |
> |
# neutralization value for shells without unset; and this also |
253 |
> |
# works around shells that cannot unset nonexistent variables. |
254 |
> |
# Preserve -v and -x to the replacement shell. |
255 |
> |
BASH_ENV=/dev/null |
256 |
> |
ENV=/dev/null |
257 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
258 |
> |
case $- in # (((( |
259 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
260 |
> |
*v* ) as_opts=-v ;; |
261 |
> |
*x* ) as_opts=-x ;; |
262 |
> |
* ) as_opts= ;; |
263 |
> |
esac |
264 |
> |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
265 |
> |
# Admittedly, this is quite paranoid, since all the known shells bail |
266 |
> |
# out after a failed `exec'. |
267 |
> |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
268 |
> |
exit 255 |
269 |
|
fi |
270 |
|
|
271 |
|
if test x$as_have_required = xno; then : |
368 |
|
|
369 |
|
|
370 |
|
} # as_fn_mkdir_p |
371 |
+ |
|
372 |
+ |
# as_fn_executable_p FILE |
373 |
+ |
# ----------------------- |
374 |
+ |
# Test if FILE is an executable regular file. |
375 |
+ |
as_fn_executable_p () |
376 |
+ |
{ |
377 |
+ |
test -f "$1" && test -x "$1" |
378 |
+ |
} # as_fn_executable_p |
379 |
|
# as_fn_append VAR VALUE |
380 |
|
# ---------------------- |
381 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
497 |
|
chmod +x "$as_me.lineno" || |
498 |
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
499 |
|
|
500 |
+ |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
501 |
+ |
# already done that, so ensure we don't try to do so again and fall |
502 |
+ |
# in an infinite loop. This has already happened in practice. |
503 |
+ |
_as_can_reexec=no; export _as_can_reexec |
504 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
505 |
|
# (the dirname of $[0] is not the place where we might find the |
506 |
|
# original and so on. Autoconf is especially sensitive to this). |
535 |
|
# ... but there are two gotchas: |
536 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
537 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
538 |
< |
# In both cases, we have to default to `cp -p'. |
538 |
> |
# In both cases, we have to default to `cp -pR'. |
539 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
540 |
< |
as_ln_s='cp -p' |
540 |
> |
as_ln_s='cp -pR' |
541 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
542 |
|
as_ln_s=ln |
543 |
|
else |
544 |
< |
as_ln_s='cp -p' |
544 |
> |
as_ln_s='cp -pR' |
545 |
|
fi |
546 |
|
else |
547 |
< |
as_ln_s='cp -p' |
547 |
> |
as_ln_s='cp -pR' |
548 |
|
fi |
549 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
550 |
|
rmdir conf$$.dir 2>/dev/null |
556 |
|
as_mkdir_p=false |
557 |
|
fi |
558 |
|
|
559 |
< |
if test -x / >/dev/null 2>&1; then |
560 |
< |
as_test_x='test -x' |
521 |
< |
else |
522 |
< |
if ls -dL / >/dev/null 2>&1; then |
523 |
< |
as_ls_L_option=L |
524 |
< |
else |
525 |
< |
as_ls_L_option= |
526 |
< |
fi |
527 |
< |
as_test_x=' |
528 |
< |
eval sh -c '\'' |
529 |
< |
if test -d "$1"; then |
530 |
< |
test -d "$1/."; |
531 |
< |
else |
532 |
< |
case $1 in #( |
533 |
< |
-*)set "./$1";; |
534 |
< |
esac; |
535 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
536 |
< |
???[sx]*):;;*)false;;esac;fi |
537 |
< |
'\'' sh |
538 |
< |
' |
539 |
< |
fi |
540 |
< |
as_executable_p=$as_test_x |
559 |
> |
as_test_x='test -x' |
560 |
> |
as_executable_p=as_fn_executable_p |
561 |
|
|
562 |
|
# Sed expression to map a string onto a valid CPP name. |
563 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
593 |
|
# Identity of this package. |
594 |
|
PACKAGE_NAME='ircd-hybrid' |
595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
596 |
< |
PACKAGE_VERSION='8beta1' |
597 |
< |
PACKAGE_STRING='ircd-hybrid 8beta1' |
596 |
> |
PACKAGE_VERSION='TRUNK' |
597 |
> |
PACKAGE_STRING='ircd-hybrid TRUNK' |
598 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
599 |
|
PACKAGE_URL='' |
600 |
|
|
648 |
|
LIBDIR |
649 |
|
SYSCONFDIR |
650 |
|
PREFIX |
631 |
– |
EFNET_FALSE |
632 |
– |
EFNET_TRUE |
651 |
|
ENABLE_SSL_FALSE |
652 |
|
ENABLE_SSL_TRUE |
635 |
– |
ENABLE_PCRE_FALSE |
636 |
– |
ENABLE_PCRE_TRUE |
653 |
|
LTDLOPEN |
654 |
|
LT_CONFIG_H |
655 |
|
CONVENIENCE_LTDL_FALSE |
706 |
|
am__fastdepCC_FALSE |
707 |
|
am__fastdepCC_TRUE |
708 |
|
CCDEPMODE |
709 |
+ |
am__nodep |
710 |
|
AMDEPBACKSLASH |
711 |
|
AMDEP_FALSE |
712 |
|
AMDEP_TRUE |
723 |
|
MAINT |
724 |
|
MAINTAINER_MODE_FALSE |
725 |
|
MAINTAINER_MODE_TRUE |
726 |
+ |
AM_BACKSLASH |
727 |
+ |
AM_DEFAULT_VERBOSITY |
728 |
+ |
AM_DEFAULT_V |
729 |
+ |
AM_V |
730 |
|
am__untar |
731 |
|
am__tar |
732 |
|
AMTAR |
791 |
|
ac_subst_files='' |
792 |
|
ac_user_opts=' |
793 |
|
enable_option_checking |
794 |
+ |
enable_silent_rules |
795 |
|
enable_maintainer_mode |
796 |
|
enable_dependency_tracking |
797 |
|
enable_static |
805 |
|
with_ltdl_include |
806 |
|
with_ltdl_lib |
807 |
|
enable_ltdl_install |
808 |
< |
with_zlib_path |
787 |
< |
enable_zlib |
788 |
< |
with_libpcre_path |
789 |
< |
enable_libpcre |
790 |
< |
enable_openssl |
808 |
> |
enable_libgeoip |
809 |
|
enable_assert |
792 |
– |
enable_small_net |
810 |
|
enable_kqueue |
811 |
|
enable_epoll |
812 |
|
enable_devpoll |
796 |
– |
enable_rtsigio |
813 |
|
enable_poll |
798 |
– |
enable_select |
799 |
– |
with_nicklen |
800 |
– |
with_topiclen |
801 |
– |
with_syslog_facility |
802 |
– |
enable_efnet |
803 |
– |
enable_halfops |
814 |
|
enable_debugging |
815 |
|
enable_warnings |
816 |
< |
enable_syslog |
816 |
> |
enable_openssl |
817 |
|
' |
818 |
|
ac_precious_vars='build_alias |
819 |
|
host_alias |
1281 |
|
if test "x$host_alias" != x; then |
1282 |
|
if test "x$build_alias" = x; then |
1283 |
|
cross_compiling=maybe |
1274 |
– |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1275 |
– |
If a cross compiler is detected then cross compile mode will be used" >&2 |
1284 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1285 |
|
cross_compiling=yes |
1286 |
|
fi |
1366 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1367 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1368 |
|
cat <<_ACEOF |
1369 |
< |
\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. |
1369 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
1370 |
|
|
1371 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1372 |
|
|
1436 |
|
|
1437 |
|
if test -n "$ac_init_help"; then |
1438 |
|
case $ac_init_help in |
1439 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; |
1439 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
1440 |
|
esac |
1441 |
|
cat <<\_ACEOF |
1442 |
|
|
1444 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
1445 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1446 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1447 |
< |
--enable-maintainer-mode enable make rules and dependencies not useful |
1448 |
< |
(and sometimes confusing) to the casual installer |
1449 |
< |
--disable-dependency-tracking speeds up one-time build |
1450 |
< |
--enable-dependency-tracking do not reject slow dependency extractors |
1447 |
> |
--enable-silent-rules less verbose build output (undo: "make V=1") |
1448 |
> |
--disable-silent-rules verbose build output (undo: "make V=0") |
1449 |
> |
--enable-maintainer-mode |
1450 |
> |
enable make rules and dependencies not useful (and |
1451 |
> |
sometimes confusing) to the casual installer |
1452 |
> |
--enable-dependency-tracking |
1453 |
> |
do not reject slow dependency extractors |
1454 |
> |
--disable-dependency-tracking |
1455 |
> |
speeds up one-time build |
1456 |
|
--enable-static[=PKGS] build static libraries [default=no] |
1457 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
1458 |
|
--enable-fast-install[=PKGS] |
1459 |
|
optimize for fast installation [default=yes] |
1460 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1461 |
|
--enable-ltdl-install install libltdl |
1462 |
< |
--disable-zlib Disable ziplinks support |
1450 |
< |
--disable-libpcre Disable PCRE support |
1451 |
< |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1452 |
< |
--disable-openssl Disable OpenSSL support. |
1462 |
> |
--disable-libgeoip Disable GeoIP support |
1463 |
|
--enable-assert Enable assert() statements |
1454 |
– |
--enable-small-net Enable small network support. |
1464 |
|
--enable-kqueue Force kqueue usage. |
1465 |
|
--enable-epoll Force epoll usage. |
1466 |
|
--enable-devpoll Force devpoll usage. |
1458 |
– |
--enable-rtsigio Force rtsigio usage. |
1467 |
|
--enable-poll Force poll usage. |
1460 |
– |
--enable-select Force select usage. |
1461 |
– |
--enable-efnet For IRCDs running on EFnet. |
1462 |
– |
--enable-halfops Enable halfops support. |
1468 |
|
--enable-debugging Enable debugging. |
1469 |
|
--enable-warnings Enable compiler warnings. |
1470 |
< |
--enable-syslog="EVENTS" |
1471 |
< |
Enable syslog for events: users oper (space |
1467 |
< |
separated in quotes; default: disabled). |
1470 |
> |
--enable-openssl=DIR Enable LibreSSL/OpenSSL support (DIR optional). |
1471 |
> |
--disable-openssl Disable LibreSSL/OpenSSL support. |
1472 |
|
|
1473 |
|
Optional Packages: |
1474 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1475 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1476 |
< |
--with-pic try to use only PIC/non-PIC objects [default=use |
1476 |
> |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1477 |
|
both] |
1478 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1479 |
|
--with-sysroot=DIR Search for dependent libraries within DIR |
1481 |
|
--with-included-ltdl use the GNU ltdl sources included here |
1482 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1483 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1480 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
1481 |
– |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
1482 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
1483 |
– |
--with-topiclen=<value> Set topic length (default 160). |
1484 |
– |
--with-syslog-facility=LOG |
1485 |
– |
Define the syslog facility to use (default: |
1486 |
– |
LOG_LOCAL4) |
1484 |
|
|
1485 |
|
Some influential environment variables: |
1486 |
|
CC C compiler command |
1564 |
|
test -n "$ac_init_help" && exit $ac_status |
1565 |
|
if $ac_init_version; then |
1566 |
|
cat <<\_ACEOF |
1567 |
< |
ircd-hybrid configure 8beta1 |
1568 |
< |
generated by GNU Autoconf 2.68 |
1567 |
> |
ircd-hybrid configure TRUNK |
1568 |
> |
generated by GNU Autoconf 2.69 |
1569 |
|
|
1570 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
1570 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
1571 |
|
This configure script is free software; the Free Software Foundation |
1572 |
|
gives unlimited permission to copy, distribute and modify it. |
1573 |
|
_ACEOF |
1643 |
|
test ! -s conftest.err |
1644 |
|
} && test -s conftest$ac_exeext && { |
1645 |
|
test "$cross_compiling" = yes || |
1646 |
< |
$as_test_x conftest$ac_exeext |
1646 |
> |
test -x conftest$ac_exeext |
1647 |
|
}; then : |
1648 |
|
ac_retval=0 |
1649 |
|
else |
1939 |
|
|
1940 |
|
} # ac_fn_c_check_type |
1941 |
|
|
1945 |
– |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
1946 |
– |
# ---------------------------------------------------- |
1947 |
– |
# Tries to find if the field MEMBER exists in type AGGR, after including |
1948 |
– |
# INCLUDES, setting cache variable VAR accordingly. |
1949 |
– |
ac_fn_c_check_member () |
1950 |
– |
{ |
1951 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1952 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1953 |
– |
$as_echo_n "checking for $2.$3... " >&6; } |
1954 |
– |
if eval \${$4+:} false; then : |
1955 |
– |
$as_echo_n "(cached) " >&6 |
1956 |
– |
else |
1957 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1958 |
– |
/* end confdefs.h. */ |
1959 |
– |
$5 |
1960 |
– |
int |
1961 |
– |
main () |
1962 |
– |
{ |
1963 |
– |
static $2 ac_aggr; |
1964 |
– |
if (ac_aggr.$3) |
1965 |
– |
return 0; |
1966 |
– |
; |
1967 |
– |
return 0; |
1968 |
– |
} |
1969 |
– |
_ACEOF |
1970 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
1971 |
– |
eval "$4=yes" |
1972 |
– |
else |
1973 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1974 |
– |
/* end confdefs.h. */ |
1975 |
– |
$5 |
1976 |
– |
int |
1977 |
– |
main () |
1978 |
– |
{ |
1979 |
– |
static $2 ac_aggr; |
1980 |
– |
if (sizeof ac_aggr.$3) |
1981 |
– |
return 0; |
1982 |
– |
; |
1983 |
– |
return 0; |
1984 |
– |
} |
1985 |
– |
_ACEOF |
1986 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
1987 |
– |
eval "$4=yes" |
1988 |
– |
else |
1989 |
– |
eval "$4=no" |
1990 |
– |
fi |
1991 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1992 |
– |
fi |
1993 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1994 |
– |
fi |
1995 |
– |
eval ac_res=\$$4 |
1996 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1997 |
– |
$as_echo "$ac_res" >&6; } |
1998 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1999 |
– |
|
2000 |
– |
} # ac_fn_c_check_member |
2001 |
– |
|
1942 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1943 |
|
# ------------------------------------------------------- |
1944 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2033 |
|
This file contains any messages produced by compilers while |
2034 |
|
running configure, to aid debugging if configure makes a mistake. |
2035 |
|
|
2036 |
< |
It was created by ircd-hybrid $as_me 8beta1, which was |
2037 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
2036 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
2037 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
2038 |
|
|
2039 |
|
$ $0 $@ |
2040 |
|
|
2313 |
|
>$cache_file |
2314 |
|
fi |
2315 |
|
|
2376 |
– |
as_fn_append ac_func_list " mmap" |
2316 |
|
as_fn_append ac_func_list " strtok_r" |
2317 |
|
as_fn_append ac_func_list " usleep" |
2318 |
|
as_fn_append ac_func_list " strlcat" |
2319 |
|
as_fn_append ac_func_list " strlcpy" |
2381 |
– |
as_fn_append ac_func_list " socketpair" |
2320 |
|
as_fn_append ac_header_list " crypt.h" |
2383 |
– |
as_fn_append ac_header_list " inttypes.h" |
2384 |
– |
as_fn_append ac_header_list " stdint.h" |
2321 |
|
as_fn_append ac_header_list " sys/resource.h" |
2322 |
|
as_fn_append ac_header_list " sys/param.h" |
2387 |
– |
as_fn_append ac_header_list " errno.h" |
2388 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
2323 |
|
as_fn_append ac_header_list " types.h" |
2324 |
|
as_fn_append ac_header_list " socket.h" |
2325 |
|
as_fn_append ac_header_list " sys/wait.h" |
2326 |
|
as_fn_append ac_header_list " wait.h" |
2393 |
– |
as_fn_append ac_header_list " link.h" |
2327 |
|
# Check that the precious variables saved in the cache have kept the same |
2328 |
|
# value. |
2329 |
|
ac_cache_corrupted=false |
2392 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2393 |
|
|
2394 |
|
|
2395 |
< |
am__api_version='1.11' |
2395 |
> |
am__api_version='1.14' |
2396 |
|
|
2397 |
|
ac_aux_dir= |
2398 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2460 |
|
# by default. |
2461 |
|
for ac_prog in ginstall scoinst install; do |
2462 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2463 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2463 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2464 |
|
if test $ac_prog = install && |
2465 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2466 |
|
# AIX install. It has an incompatible calling convention. |
2518 |
|
|
2519 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2520 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
2588 |
– |
# Just in case |
2589 |
– |
sleep 1 |
2590 |
– |
echo timestamp > conftest.file |
2521 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
2522 |
|
# name. Accept space and tab only in the latter. |
2523 |
|
am_lf=' |
2528 |
|
esac |
2529 |
|
case $srcdir in |
2530 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2531 |
< |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2531 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2532 |
|
esac |
2533 |
|
|
2534 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
2534 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
2535 |
|
# arguments. Must try -L first in case configure is actually a |
2536 |
|
# symlink; some systems play weird games with the mod time of symlinks |
2537 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
2538 |
|
# directory). |
2539 |
|
if ( |
2540 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2541 |
< |
if test "$*" = "X"; then |
2542 |
< |
# -L didn't work. |
2543 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
2544 |
< |
fi |
2545 |
< |
rm -f conftest.file |
2546 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2547 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2548 |
< |
|
2549 |
< |
# If neither matched, then we have a broken ls. This can happen |
2620 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2621 |
< |
# broken ls alias from the environment. This has actually |
2622 |
< |
# happened. Such a system could not be considered "sane". |
2623 |
< |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2624 |
< |
alias in your environment" "$LINENO" 5 |
2625 |
< |
fi |
2540 |
> |
am_has_slept=no |
2541 |
> |
for am_try in 1 2; do |
2542 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
2543 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2544 |
> |
if test "$*" = "X"; then |
2545 |
> |
# -L didn't work. |
2546 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
2547 |
> |
fi |
2548 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2549 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2550 |
|
|
2551 |
+ |
# If neither matched, then we have a broken ls. This can happen |
2552 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2553 |
+ |
# broken ls alias from the environment. This has actually |
2554 |
+ |
# happened. Such a system could not be considered "sane". |
2555 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2556 |
+ |
alias in your environment" "$LINENO" 5 |
2557 |
+ |
fi |
2558 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
2559 |
+ |
break |
2560 |
+ |
fi |
2561 |
+ |
# Just in case. |
2562 |
+ |
sleep 1 |
2563 |
+ |
am_has_slept=yes |
2564 |
+ |
done |
2565 |
|
test "$2" = conftest.file |
2566 |
|
) |
2567 |
|
then |
2573 |
|
fi |
2574 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2575 |
|
$as_echo "yes" >&6; } |
2576 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
2577 |
+ |
# generated files are strictly newer. |
2578 |
+ |
am_sleep_pid= |
2579 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2580 |
+ |
( sleep 1 ) & |
2581 |
+ |
am_sleep_pid=$! |
2582 |
+ |
fi |
2583 |
+ |
|
2584 |
+ |
rm -f conftest.file |
2585 |
+ |
|
2586 |
|
test "$program_prefix" != NONE && |
2587 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2588 |
|
# Use a double $ so make ignores it. |
2605 |
|
esac |
2606 |
|
fi |
2607 |
|
# Use eval to expand $SHELL |
2608 |
< |
if eval "$MISSING --run true"; then |
2609 |
< |
am_missing_run="$MISSING --run " |
2608 |
> |
if eval "$MISSING --is-lightweight"; then |
2609 |
> |
am_missing_run="$MISSING " |
2610 |
|
else |
2611 |
|
am_missing_run= |
2612 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2613 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2612 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2613 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2614 |
|
fi |
2615 |
|
|
2616 |
|
if test x"${install_sh}" != xset; then |
2622 |
|
esac |
2623 |
|
fi |
2624 |
|
|
2625 |
< |
# Installed binaries are usually stripped using `strip' when the user |
2626 |
< |
# run `make install-strip'. However `strip' might not be the right |
2625 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
2626 |
> |
# run "make install-strip". However 'strip' might not be the right |
2627 |
|
# tool to use in cross-compilation environments, therefore Automake |
2628 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
2628 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
2629 |
|
if test "$cross_compiling" != no; then |
2630 |
|
if test -n "$ac_tool_prefix"; then |
2631 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2644 |
|
IFS=$as_save_IFS |
2645 |
|
test -z "$as_dir" && as_dir=. |
2646 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2647 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2647 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2648 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2649 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2650 |
|
break 2 |
2684 |
|
IFS=$as_save_IFS |
2685 |
|
test -z "$as_dir" && as_dir=. |
2686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2687 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2687 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2688 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
2689 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2690 |
|
break 2 |
2735 |
|
test -z "$as_dir" && as_dir=. |
2736 |
|
for ac_prog in mkdir gmkdir; do |
2737 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2738 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2738 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2739 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2740 |
|
'mkdir (GNU coreutils) '* | \ |
2741 |
|
'mkdir (coreutils) '* | \ |
2764 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2765 |
|
$as_echo "$MKDIR_P" >&6; } |
2766 |
|
|
2819 |
– |
mkdir_p="$MKDIR_P" |
2820 |
– |
case $mkdir_p in |
2821 |
– |
[\\/$]* | ?:[\\/]*) ;; |
2822 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
2823 |
– |
esac |
2824 |
– |
|
2767 |
|
for ac_prog in gawk mawk nawk awk |
2768 |
|
do |
2769 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2782 |
|
IFS=$as_save_IFS |
2783 |
|
test -z "$as_dir" && as_dir=. |
2784 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2785 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2785 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2786 |
|
ac_cv_prog_AWK="$ac_prog" |
2787 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2788 |
|
break 2 |
2846 |
|
fi |
2847 |
|
rmdir .tst 2>/dev/null |
2848 |
|
|
2849 |
+ |
# Check whether --enable-silent-rules was given. |
2850 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
2851 |
+ |
enableval=$enable_silent_rules; |
2852 |
+ |
fi |
2853 |
+ |
|
2854 |
+ |
case $enable_silent_rules in # ((( |
2855 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
2856 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
2857 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
2858 |
+ |
esac |
2859 |
+ |
am_make=${MAKE-make} |
2860 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2861 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
2862 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
2863 |
+ |
$as_echo_n "(cached) " >&6 |
2864 |
+ |
else |
2865 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
2866 |
+ |
BAR0=false |
2867 |
+ |
BAR1=true |
2868 |
+ |
V=1 |
2869 |
+ |
am__doit: |
2870 |
+ |
@$(TRUE) |
2871 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
2872 |
+ |
am_cv_make_support_nested_variables=yes |
2873 |
+ |
else |
2874 |
+ |
am_cv_make_support_nested_variables=no |
2875 |
+ |
fi |
2876 |
+ |
fi |
2877 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
2878 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
2879 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
2880 |
+ |
AM_V='$(V)' |
2881 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2882 |
+ |
else |
2883 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
2884 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2885 |
+ |
fi |
2886 |
+ |
AM_BACKSLASH='\' |
2887 |
+ |
|
2888 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2889 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2890 |
|
# is not polluted with repeated "-I." |
2907 |
|
|
2908 |
|
# Define the identity of the package. |
2909 |
|
PACKAGE='ircd-hybrid' |
2910 |
< |
VERSION='8beta1' |
2910 |
> |
VERSION='TRUNK' |
2911 |
|
|
2912 |
|
|
2913 |
|
cat >>confdefs.h <<_ACEOF |
2935 |
|
|
2936 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2937 |
|
|
2938 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
2939 |
+ |
# dies out for good. For more background, see: |
2940 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
2941 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2942 |
+ |
mkdir_p='$(MKDIR_P)' |
2943 |
+ |
|
2944 |
|
# We need awk for the "check" target. The system "awk" is bad on |
2945 |
|
# some platforms. |
2946 |
< |
# Always define AMTAR for backward compatibility. |
2946 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
2947 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
2948 |
> |
AMTAR='$${TAR-tar}' |
2949 |
> |
|
2950 |
> |
|
2951 |
> |
# We'll loop over all known methods to create a tar archive until one works. |
2952 |
> |
_am_tools='gnutar pax cpio none' |
2953 |
> |
|
2954 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2955 |
> |
|
2956 |
|
|
2961 |
– |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
2957 |
|
|
2963 |
– |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2958 |
|
|
2959 |
|
|
2960 |
|
|
2961 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
2962 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
2963 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
2964 |
+ |
# actually supported "in the wild" to an acceptable degree. |
2965 |
+ |
# See automake bug#10828. |
2966 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
2967 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
2968 |
+ |
# user can still override this though. |
2969 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
2970 |
+ |
cat >&2 <<'END' |
2971 |
+ |
Oops! |
2972 |
|
|
2973 |
+ |
Your 'rm' program seems unable to run without file operands specified |
2974 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
2975 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
2976 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
2977 |
|
|
2978 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
2979 |
+ |
of your $PATH and any error possibly output before this message. This |
2980 |
+ |
can help us improve future automake versions. |
2981 |
+ |
|
2982 |
+ |
END |
2983 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
2984 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
2985 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
2986 |
+ |
echo >&2 |
2987 |
+ |
else |
2988 |
+ |
cat >&2 <<'END' |
2989 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
2990 |
+ |
|
2991 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
2992 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
2993 |
+ |
|
2994 |
+ |
If you want to complete the configuration process using your problematic |
2995 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
2996 |
+ |
to "yes", and re-run configure. |
2997 |
+ |
|
2998 |
+ |
END |
2999 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3000 |
+ |
fi |
3001 |
+ |
fi |
3002 |
|
|
3003 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3004 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3022 |
|
MAINT=$MAINTAINER_MODE_TRUE |
3023 |
|
|
3024 |
|
|
3025 |
+ |
|
3026 |
|
ac_config_headers="$ac_config_headers config.h" |
3027 |
|
|
3028 |
|
|
3047 |
|
_am_result=none |
3048 |
|
# First try GNU make style include. |
3049 |
|
echo "include confinc" > confmf |
3050 |
< |
# Ignore all kinds of additional output from `make'. |
3050 |
> |
# Ignore all kinds of additional output from 'make'. |
3051 |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
3052 |
|
*the\ am__doit\ target*) |
3053 |
|
am__include=include |
3080 |
|
if test "x$enable_dependency_tracking" != xno; then |
3081 |
|
am_depcomp="$ac_aux_dir/depcomp" |
3082 |
|
AMDEPBACKSLASH='\' |
3083 |
+ |
am__nodep='_no' |
3084 |
|
fi |
3085 |
|
if test "x$enable_dependency_tracking" != xno; then |
3086 |
|
AMDEP_TRUE= |
3113 |
|
IFS=$as_save_IFS |
3114 |
|
test -z "$as_dir" && as_dir=. |
3115 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3116 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3116 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3117 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3118 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3119 |
|
break 2 |
3153 |
|
IFS=$as_save_IFS |
3154 |
|
test -z "$as_dir" && as_dir=. |
3155 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3156 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3156 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3157 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3158 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3159 |
|
break 2 |
3206 |
|
IFS=$as_save_IFS |
3207 |
|
test -z "$as_dir" && as_dir=. |
3208 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3209 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3209 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3210 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3211 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3212 |
|
break 2 |
3247 |
|
IFS=$as_save_IFS |
3248 |
|
test -z "$as_dir" && as_dir=. |
3249 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3250 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3250 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3251 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3252 |
|
ac_prog_rejected=yes |
3253 |
|
continue |
3305 |
|
IFS=$as_save_IFS |
3306 |
|
test -z "$as_dir" && as_dir=. |
3307 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3308 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3308 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3309 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3310 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3311 |
|
break 2 |
3349 |
|
IFS=$as_save_IFS |
3350 |
|
test -z "$as_dir" && as_dir=. |
3351 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3352 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3352 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3353 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3354 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3355 |
|
break 2 |
3795 |
|
/* end confdefs.h. */ |
3796 |
|
#include <stdarg.h> |
3797 |
|
#include <stdio.h> |
3798 |
< |
#include <sys/types.h> |
3764 |
< |
#include <sys/stat.h> |
3798 |
> |
struct stat; |
3799 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3800 |
|
struct buf { int x; }; |
3801 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3880 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3881 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3882 |
|
|
3883 |
+ |
ac_ext=c |
3884 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3885 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3886 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3887 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3888 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3889 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3890 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
3891 |
+ |
$as_echo_n "(cached) " >&6 |
3892 |
+ |
else |
3893 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3894 |
+ |
/* end confdefs.h. */ |
3895 |
+ |
|
3896 |
+ |
int |
3897 |
+ |
main () |
3898 |
+ |
{ |
3899 |
+ |
|
3900 |
+ |
; |
3901 |
+ |
return 0; |
3902 |
+ |
} |
3903 |
+ |
_ACEOF |
3904 |
+ |
# Make sure it works both with $CC and with simple cc. |
3905 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3906 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
3907 |
+ |
# though they will create one. |
3908 |
+ |
am_cv_prog_cc_c_o=yes |
3909 |
+ |
for am_i in 1 2; do |
3910 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3911 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3912 |
+ |
ac_status=$? |
3913 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3914 |
+ |
(exit $ac_status); } \ |
3915 |
+ |
&& test -f conftest2.$ac_objext; then |
3916 |
+ |
: OK |
3917 |
+ |
else |
3918 |
+ |
am_cv_prog_cc_c_o=no |
3919 |
+ |
break |
3920 |
+ |
fi |
3921 |
+ |
done |
3922 |
+ |
rm -f core conftest* |
3923 |
+ |
unset am_i |
3924 |
+ |
fi |
3925 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3926 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3927 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
3928 |
+ |
# Losing compiler, so override with the script. |
3929 |
+ |
# FIXME: It is wrong to rewrite CC. |
3930 |
+ |
# But if we don't then we get into trouble of one sort or another. |
3931 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
3932 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3933 |
+ |
CC="$am_aux_dir/compile $CC" |
3934 |
+ |
fi |
3935 |
+ |
ac_ext=c |
3936 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
3937 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3938 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3939 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3940 |
+ |
|
3941 |
+ |
|
3942 |
|
depcc="$CC" am_compiler_list= |
3943 |
|
|
3944 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3950 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
3951 |
|
# making bogus files that we don't know about and never remove. For |
3952 |
|
# instance it was reported that on HP-UX the gcc test will end up |
3953 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
3954 |
< |
# in D'. |
3953 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
3954 |
> |
# in D". |
3955 |
> |
rm -rf conftest.dir |
3956 |
|
mkdir conftest.dir |
3957 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
3958 |
|
# using a relative directory. |
3986 |
|
: > sub/conftest.c |
3987 |
|
for i in 1 2 3 4 5 6; do |
3988 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3989 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3990 |
< |
# Solaris 8's {/usr,}/bin/sh. |
3991 |
< |
touch sub/conftst$i.h |
3989 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
3990 |
> |
# Solaris 10 /bin/sh. |
3991 |
> |
echo '/* dummy */' > sub/conftst$i.h |
3992 |
|
done |
3993 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3994 |
|
|
3995 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3995 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
3996 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
3997 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
3998 |
< |
# versions had trouble with output in subdirs |
3997 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
3998 |
> |
# versions had trouble with output in subdirs. |
3999 |
|
am__obj=sub/conftest.${OBJEXT-o} |
4000 |
|
am__minus_obj="-o $am__obj" |
4001 |
|
case $depmode in |
4004 |
|
test "$am__universal" = false || continue |
4005 |
|
;; |
4006 |
|
nosideeffect) |
4007 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
4008 |
< |
# only be used when explicitly requested |
4007 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
4008 |
> |
# only be used when explicitly requested. |
4009 |
|
if test "x$enable_dependency_tracking" = xyes; then |
4010 |
|
continue |
4011 |
|
else |
4012 |
|
break |
4013 |
|
fi |
4014 |
|
;; |
4015 |
< |
msvisualcpp | msvcmsys) |
4016 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
4015 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4016 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
4017 |
|
# not run yet. These depmodes are late enough in the game, and |
4018 |
|
# so weak that their functioning should not be impacted. |
4019 |
|
am__obj=conftest.${OBJEXT-o} |
4213 |
|
return 0; |
4214 |
|
} |
4215 |
|
_ACEOF |
4216 |
< |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
4216 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
4217 |
|
do |
4218 |
|
CC="$ac_save_CC $ac_arg" |
4219 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
4245 |
|
|
4246 |
|
|
4247 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4248 |
< |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
4248 |
> |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
4249 |
|
fi |
4250 |
|
for ac_prog in 'bison -y' byacc |
4251 |
|
do |
4265 |
|
IFS=$as_save_IFS |
4266 |
|
test -z "$as_dir" && as_dir=. |
4267 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4268 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4268 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4269 |
|
ac_cv_prog_YACC="$ac_prog" |
4270 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4271 |
|
break 2 |
4309 |
|
IFS=$as_save_IFS |
4310 |
|
test -z "$as_dir" && as_dir=. |
4311 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4312 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4312 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4313 |
|
ac_cv_prog_LEX="$ac_prog" |
4314 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4315 |
|
break 2 |
4341 |
|
b { REJECT; } |
4342 |
|
c { yymore (); } |
4343 |
|
d { yyless (1); } |
4344 |
< |
e { yyless (input () != 0); } |
4344 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
4345 |
> |
yyless ((input () != 0)); } |
4346 |
|
f { unput (yytext[0]); } |
4347 |
|
. { BEGIN INITIAL; } |
4348 |
|
%% |
4471 |
|
|
4472 |
|
|
4473 |
|
|
4474 |
< |
macro_version='2.4' |
4475 |
< |
macro_revision='1.3293' |
4474 |
> |
macro_version='2.4.2' |
4475 |
> |
macro_revision='1.3337' |
4476 |
|
|
4477 |
|
|
4478 |
|
|
4650 |
|
for ac_prog in sed gsed; do |
4651 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4652 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4653 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4653 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
4654 |
|
# Check for GNU ac_path_SED and select it if it is found. |
4655 |
|
# Check for GNU $ac_path_SED |
4656 |
|
case `"$ac_path_SED" --version 2>&1` in |
4726 |
|
for ac_prog in grep ggrep; do |
4727 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4728 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4729 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4729 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
4730 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
4731 |
|
# Check for GNU $ac_path_GREP |
4732 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4792 |
|
for ac_prog in egrep; do |
4793 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4794 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4795 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4795 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
4796 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
4797 |
|
# Check for GNU $ac_path_EGREP |
4798 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
4859 |
|
for ac_prog in fgrep; do |
4860 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4861 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4862 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
4862 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
4863 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
4864 |
|
# Check for GNU $ac_path_FGREP |
4865 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
5115 |
|
IFS=$as_save_IFS |
5116 |
|
test -z "$as_dir" && as_dir=. |
5117 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5118 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5118 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5119 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
5120 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5121 |
|
break 2 |
5159 |
|
IFS=$as_save_IFS |
5160 |
|
test -z "$as_dir" && as_dir=. |
5161 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5162 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5162 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5163 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
5164 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5165 |
|
break 2 |
5317 |
|
lt_cv_sys_max_cmd_len=196608 |
5318 |
|
;; |
5319 |
|
|
5320 |
+ |
os2*) |
5321 |
+ |
# The test takes a long time on OS/2. |
5322 |
+ |
lt_cv_sys_max_cmd_len=8192 |
5323 |
+ |
;; |
5324 |
+ |
|
5325 |
|
osf*) |
5326 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
5327 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
5361 |
|
# If test is not a shell built-in, we'll probably end up computing a |
5362 |
|
# maximum length that is only half of the actual maximum length, but |
5363 |
|
# we can't tell. |
5364 |
< |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
5364 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
5365 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
5366 |
|
test $i != 17 # 1/2 MB should be enough |
5367 |
|
do |
5583 |
|
IFS=$as_save_IFS |
5584 |
|
test -z "$as_dir" && as_dir=. |
5585 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5586 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5586 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5587 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5588 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5589 |
|
break 2 |
5623 |
|
IFS=$as_save_IFS |
5624 |
|
test -z "$as_dir" && as_dir=. |
5625 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5626 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5626 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5627 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5628 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5629 |
|
break 2 |
5790 |
|
lt_cv_deplibs_check_method=pass_all |
5791 |
|
;; |
5792 |
|
|
5793 |
< |
# This must be Linux ELF. |
5793 |
> |
# This must be glibc/ELF. |
5794 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5795 |
|
lt_cv_deplibs_check_method=pass_all |
5796 |
|
;; |
5929 |
|
IFS=$as_save_IFS |
5930 |
|
test -z "$as_dir" && as_dir=. |
5931 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5932 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5932 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5933 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5934 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5935 |
|
break 2 |
5969 |
|
IFS=$as_save_IFS |
5970 |
|
test -z "$as_dir" && as_dir=. |
5971 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5972 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5972 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5973 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5974 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5975 |
|
break 2 |
6072 |
|
IFS=$as_save_IFS |
6073 |
|
test -z "$as_dir" && as_dir=. |
6074 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6075 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6075 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6076 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
6077 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6078 |
|
break 2 |
6116 |
|
IFS=$as_save_IFS |
6117 |
|
test -z "$as_dir" && as_dir=. |
6118 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6119 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6119 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6120 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
6121 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6122 |
|
break 2 |
6241 |
|
IFS=$as_save_IFS |
6242 |
|
test -z "$as_dir" && as_dir=. |
6243 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6244 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6244 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6245 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6247 |
|
break 2 |
6281 |
|
IFS=$as_save_IFS |
6282 |
|
test -z "$as_dir" && as_dir=. |
6283 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6284 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6284 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6285 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
6286 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6287 |
|
break 2 |
6340 |
|
IFS=$as_save_IFS |
6341 |
|
test -z "$as_dir" && as_dir=. |
6342 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6343 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6343 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6344 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6345 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6346 |
|
break 2 |
6380 |
|
IFS=$as_save_IFS |
6381 |
|
test -z "$as_dir" && as_dir=. |
6382 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6383 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6383 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6384 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6385 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6386 |
|
break 2 |
6430 |
|
if test -n "$RANLIB"; then |
6431 |
|
case $host_os in |
6432 |
|
openbsd*) |
6433 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
6433 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6434 |
|
;; |
6435 |
|
*) |
6436 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
6436 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6437 |
|
;; |
6438 |
|
esac |
6439 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6439 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
6440 |
|
fi |
6441 |
|
|
6442 |
|
case $host_os in |
6583 |
|
# which start with @ or ?. |
6584 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6585 |
|
" {last_section=section; section=\$ 3};"\ |
6586 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6587 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6588 |
|
" \$ 0!~/External *\|/{next};"\ |
6589 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6972 |
|
CFLAGS="$SAVE_CFLAGS" |
6973 |
|
fi |
6974 |
|
;; |
6975 |
< |
sparc*-*solaris*) |
6975 |
> |
*-*solaris*) |
6976 |
|
# Find out which ABI we are using. |
6977 |
|
echo 'int i;' > conftest.$ac_ext |
6978 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6983 |
|
case `/usr/bin/file conftest.o` in |
6984 |
|
*64-bit*) |
6985 |
|
case $lt_cv_prog_gnu_ld in |
6986 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
6986 |
> |
yes*) |
6987 |
> |
case $host in |
6988 |
> |
i?86-*-solaris*) |
6989 |
> |
LD="${LD-ld} -m elf_x86_64" |
6990 |
> |
;; |
6991 |
> |
sparc*-*-solaris*) |
6992 |
> |
LD="${LD-ld} -m elf64_sparc" |
6993 |
> |
;; |
6994 |
> |
esac |
6995 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
6996 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
6997 |
> |
LD="${LD-ld}_sol2" |
6998 |
> |
fi |
6999 |
> |
;; |
7000 |
|
*) |
7001 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
7002 |
|
LD="${LD-ld} -64" |
7029 |
|
IFS=$as_save_IFS |
7030 |
|
test -z "$as_dir" && as_dir=. |
7031 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7032 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7032 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7033 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
7034 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7035 |
|
break 2 |
7069 |
|
IFS=$as_save_IFS |
7070 |
|
test -z "$as_dir" && as_dir=. |
7071 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7072 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7072 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7073 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
7074 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7075 |
|
break 2 |
7149 |
|
IFS=$as_save_IFS |
7150 |
|
test -z "$as_dir" && as_dir=. |
7151 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7152 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7152 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7153 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
7154 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7155 |
|
break 2 |
7189 |
|
IFS=$as_save_IFS |
7190 |
|
test -z "$as_dir" && as_dir=. |
7191 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7192 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7192 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7193 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
7194 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7195 |
|
break 2 |
7241 |
|
IFS=$as_save_IFS |
7242 |
|
test -z "$as_dir" && as_dir=. |
7243 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7244 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7244 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7245 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
7246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7247 |
|
break 2 |
7281 |
|
IFS=$as_save_IFS |
7282 |
|
test -z "$as_dir" && as_dir=. |
7283 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7284 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7284 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7285 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
7286 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7287 |
|
break 2 |
7333 |
|
IFS=$as_save_IFS |
7334 |
|
test -z "$as_dir" && as_dir=. |
7335 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7336 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7336 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7337 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
7338 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7339 |
|
break 2 |
7373 |
|
IFS=$as_save_IFS |
7374 |
|
test -z "$as_dir" && as_dir=. |
7375 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7376 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7376 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7377 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
7378 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7379 |
|
break 2 |
7425 |
|
IFS=$as_save_IFS |
7426 |
|
test -z "$as_dir" && as_dir=. |
7427 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7428 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7428 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7429 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
7430 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7431 |
|
break 2 |
7465 |
|
IFS=$as_save_IFS |
7466 |
|
test -z "$as_dir" && as_dir=. |
7467 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7468 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7468 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7469 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
7470 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7471 |
|
break 2 |
7517 |
|
IFS=$as_save_IFS |
7518 |
|
test -z "$as_dir" && as_dir=. |
7519 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7520 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7520 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7521 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
7522 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7523 |
|
break 2 |
7557 |
|
IFS=$as_save_IFS |
7558 |
|
test -z "$as_dir" && as_dir=. |
7559 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7560 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7560 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7561 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
7562 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7563 |
|
break 2 |
7636 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7637 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
7638 |
|
_lt_result=$? |
7639 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
7639 |
> |
# If there is a non-empty error log, and "single_module" |
7640 |
> |
# appears in it, assume the flag caused a linker warning |
7641 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
7642 |
> |
cat conftest.err >&5 |
7643 |
> |
# Otherwise, if the output was created with a 0 exit code from |
7644 |
> |
# the compiler, it worked. |
7645 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
7646 |
|
lt_cv_apple_cc_single_mod=yes |
7647 |
|
else |
7648 |
|
cat conftest.err >&5 |
7653 |
|
fi |
7654 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7655 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7656 |
+ |
|
7657 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7658 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7659 |
|
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7686 |
|
fi |
7687 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7688 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7689 |
+ |
|
7690 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7691 |
|
$as_echo_n "checking for -force_load linker flag... " >&6; } |
7692 |
|
if ${lt_cv_ld_force_load+:} false; then : |
7708 |
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7709 |
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7710 |
|
_lt_result=$? |
7711 |
< |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
7711 |
> |
if test -s conftest.err && $GREP force_load conftest.err; then |
7712 |
> |
cat conftest.err >&5 |
7713 |
> |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
7714 |
|
lt_cv_ld_force_load=yes |
7715 |
|
else |
7716 |
|
cat conftest.err >&5 |
8113 |
|
|
8114 |
|
# Check whether --with-pic was given. |
8115 |
|
if test "${with_pic+set}" = set; then : |
8116 |
< |
withval=$with_pic; pic_mode="$withval" |
8116 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
8117 |
> |
case $withval in |
8118 |
> |
yes|no) pic_mode=$withval ;; |
8119 |
> |
*) |
8120 |
> |
pic_mode=default |
8121 |
> |
# Look at the argument we got. We use all the common list separators. |
8122 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8123 |
> |
for lt_pkg in $withval; do |
8124 |
> |
IFS="$lt_save_ifs" |
8125 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
8126 |
> |
pic_mode=yes |
8127 |
> |
fi |
8128 |
> |
done |
8129 |
> |
IFS="$lt_save_ifs" |
8130 |
> |
;; |
8131 |
> |
esac |
8132 |
|
else |
8133 |
|
pic_mode=default |
8134 |
|
fi |
8206 |
|
|
8207 |
|
|
8208 |
|
|
8209 |
+ |
|
8210 |
+ |
|
8211 |
+ |
|
8212 |
+ |
|
8213 |
|
test -z "$LN_S" && LN_S="ln -s" |
8214 |
|
|
8215 |
|
|
8499 |
|
$RM -r conftest* |
8500 |
|
|
8501 |
|
|
8502 |
+ |
## CAVEAT EMPTOR: |
8503 |
+ |
## There is no encapsulation within the following macros, do not change |
8504 |
+ |
## the running order or otherwise move them around unless you know exactly |
8505 |
+ |
## what you are doing... |
8506 |
|
if test -n "$compiler"; then |
8507 |
|
|
8508 |
|
lt_prog_compiler_no_builtin_flag= |
8669 |
|
case $cc_basename in |
8670 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
8671 |
|
lt_prog_compiler_wl='-Xlinker ' |
8672 |
< |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
8672 |
> |
if test -n "$lt_prog_compiler_pic"; then |
8673 |
> |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
8674 |
> |
fi |
8675 |
|
;; |
8676 |
|
esac |
8677 |
|
else |
8762 |
|
;; |
8763 |
|
*) |
8764 |
|
case `$CC -V 2>&1 | sed 5q` in |
8765 |
< |
*Sun\ F* | *Sun*Fortran*) |
8765 |
> |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
8766 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8767 |
|
lt_prog_compiler_pic='-KPIC' |
8768 |
|
lt_prog_compiler_static='-Bstatic' |
8769 |
|
lt_prog_compiler_wl='' |
8770 |
|
;; |
8771 |
+ |
*Sun\ F* | *Sun*Fortran*) |
8772 |
+ |
lt_prog_compiler_pic='-KPIC' |
8773 |
+ |
lt_prog_compiler_static='-Bstatic' |
8774 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
8775 |
+ |
;; |
8776 |
|
*Sun\ C*) |
8777 |
|
# Sun C 5.9 |
8778 |
|
lt_prog_compiler_pic='-KPIC' |
8779 |
|
lt_prog_compiler_static='-Bstatic' |
8780 |
|
lt_prog_compiler_wl='-Wl,' |
8781 |
|
;; |
8782 |
+ |
*Intel*\ [CF]*Compiler*) |
8783 |
+ |
lt_prog_compiler_wl='-Wl,' |
8784 |
+ |
lt_prog_compiler_pic='-fPIC' |
8785 |
+ |
lt_prog_compiler_static='-static' |
8786 |
+ |
;; |
8787 |
+ |
*Portland\ Group*) |
8788 |
+ |
lt_prog_compiler_wl='-Wl,' |
8789 |
+ |
lt_prog_compiler_pic='-fpic' |
8790 |
+ |
lt_prog_compiler_static='-Bstatic' |
8791 |
+ |
;; |
8792 |
|
esac |
8793 |
|
;; |
8794 |
|
esac |
9150 |
|
hardcode_direct=no |
9151 |
|
hardcode_direct_absolute=no |
9152 |
|
hardcode_libdir_flag_spec= |
8989 |
– |
hardcode_libdir_flag_spec_ld= |
9153 |
|
hardcode_libdir_separator= |
9154 |
|
hardcode_minus_L=no |
9155 |
|
hardcode_shlibpath_var=unsupported |
9399 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
9400 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9401 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9402 |
< |
hardcode_libdir_flag_spec= |
9240 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
9402 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9403 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9404 |
|
if test "x$supports_anon_versioning" = xyes; then |
9405 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9778 |
|
# The linker will not automatically build a static lib if we build a DLL. |
9779 |
|
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9780 |
|
enable_shared_with_static_runtimes=yes |
9781 |
+ |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
9782 |
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9783 |
|
# Don't use ranlib |
9784 |
|
old_postinstall_cmds='chmod 644 $oldlib' |
9824 |
|
hardcode_shlibpath_var=unsupported |
9825 |
|
if test "$lt_cv_ld_force_load" = "yes"; then |
9826 |
|
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\"`' |
9827 |
+ |
|
9828 |
|
else |
9829 |
|
whole_archive_flag_spec='' |
9830 |
|
fi |
9853 |
|
hardcode_shlibpath_var=no |
9854 |
|
;; |
9855 |
|
|
9692 |
– |
freebsd1*) |
9693 |
– |
ld_shlibs=no |
9694 |
– |
;; |
9695 |
– |
|
9856 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
9857 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
9858 |
|
# does not break anything, and helps significantly (at the cost of a little |
9865 |
|
;; |
9866 |
|
|
9867 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
9868 |
< |
freebsd2*) |
9868 |
> |
freebsd2.*) |
9869 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9870 |
|
hardcode_direct=yes |
9871 |
|
hardcode_minus_L=yes |
9904 |
|
fi |
9905 |
|
if test "$with_gnu_ld" = no; then |
9906 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
9747 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
9907 |
|
hardcode_libdir_separator=: |
9908 |
|
hardcode_direct=yes |
9909 |
|
hardcode_direct_absolute=yes |
10527 |
|
|
10528 |
|
|
10529 |
|
|
10371 |
– |
|
10372 |
– |
|
10373 |
– |
|
10374 |
– |
|
10375 |
– |
|
10530 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10531 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
10532 |
|
|
10616 |
|
|
10617 |
|
case $host_os in |
10618 |
|
aix3*) |
10619 |
< |
version_type=linux |
10619 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10620 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10621 |
|
shlibpath_var=LIBPATH |
10622 |
|
|
10625 |
|
;; |
10626 |
|
|
10627 |
|
aix[4-9]*) |
10628 |
< |
version_type=linux |
10628 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10629 |
|
need_lib_prefix=no |
10630 |
|
need_version=no |
10631 |
|
hardcode_into_libs=yes |
10690 |
|
;; |
10691 |
|
|
10692 |
|
bsdi[45]*) |
10693 |
< |
version_type=linux |
10693 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10694 |
|
need_version=no |
10695 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10696 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10829 |
|
;; |
10830 |
|
|
10831 |
|
dgux*) |
10832 |
< |
version_type=linux |
10832 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10833 |
|
need_lib_prefix=no |
10834 |
|
need_version=no |
10835 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
10837 |
|
shlibpath_var=LD_LIBRARY_PATH |
10838 |
|
;; |
10839 |
|
|
10686 |
– |
freebsd1*) |
10687 |
– |
dynamic_linker=no |
10688 |
– |
;; |
10689 |
– |
|
10840 |
|
freebsd* | dragonfly*) |
10841 |
|
# DragonFly does not have aout. When/if they implement a new |
10842 |
|
# versioning mechanism, adjust this. |
10844 |
|
objformat=`/usr/bin/objformat` |
10845 |
|
else |
10846 |
|
case $host_os in |
10847 |
< |
freebsd[123]*) objformat=aout ;; |
10847 |
> |
freebsd[23].*) objformat=aout ;; |
10848 |
|
*) objformat=elf ;; |
10849 |
|
esac |
10850 |
|
fi |
10862 |
|
esac |
10863 |
|
shlibpath_var=LD_LIBRARY_PATH |
10864 |
|
case $host_os in |
10865 |
< |
freebsd2*) |
10865 |
> |
freebsd2.*) |
10866 |
|
shlibpath_overrides_runpath=yes |
10867 |
|
;; |
10868 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
10882 |
|
;; |
10883 |
|
|
10884 |
|
gnu*) |
10885 |
< |
version_type=linux |
10885 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10886 |
|
need_lib_prefix=no |
10887 |
|
need_version=no |
10888 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10889 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10890 |
|
shlibpath_var=LD_LIBRARY_PATH |
10891 |
+ |
shlibpath_overrides_runpath=no |
10892 |
|
hardcode_into_libs=yes |
10893 |
|
;; |
10894 |
|
|
10895 |
|
haiku*) |
10896 |
< |
version_type=linux |
10896 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10897 |
|
need_lib_prefix=no |
10898 |
|
need_version=no |
10899 |
|
dynamic_linker="$host_os runtime_loader" |
10954 |
|
;; |
10955 |
|
|
10956 |
|
interix[3-9]*) |
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 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
10970 |
|
nonstopux*) version_type=nonstopux ;; |
10971 |
|
*) |
10972 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
10973 |
< |
version_type=linux |
10973 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10974 |
|
else |
10975 |
|
version_type=irix |
10976 |
|
fi ;; |
11007 |
|
dynamic_linker=no |
11008 |
|
;; |
11009 |
|
|
11010 |
< |
# This must be Linux ELF. |
11010 |
> |
# This must be glibc/ELF. |
11011 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
11012 |
< |
version_type=linux |
11012 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11013 |
|
need_lib_prefix=no |
11014 |
|
need_version=no |
11015 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11091 |
|
;; |
11092 |
|
|
11093 |
|
newsos6) |
11094 |
< |
version_type=linux |
11094 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11095 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11096 |
|
shlibpath_var=LD_LIBRARY_PATH |
11097 |
|
shlibpath_overrides_runpath=yes |
11160 |
|
;; |
11161 |
|
|
11162 |
|
solaris*) |
11163 |
< |
version_type=linux |
11163 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11164 |
|
need_lib_prefix=no |
11165 |
|
need_version=no |
11166 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11185 |
|
;; |
11186 |
|
|
11187 |
|
sysv4 | sysv4.3*) |
11188 |
< |
version_type=linux |
11188 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11189 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11190 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11191 |
|
shlibpath_var=LD_LIBRARY_PATH |
11209 |
|
|
11210 |
|
sysv4*MP*) |
11211 |
|
if test -d /usr/nec ;then |
11212 |
< |
version_type=linux |
11212 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11213 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
11214 |
|
soname_spec='$libname${shared_ext}.$major' |
11215 |
|
shlibpath_var=LD_LIBRARY_PATH |
11240 |
|
|
11241 |
|
tpf*) |
11242 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11243 |
< |
version_type=linux |
11243 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11244 |
|
need_lib_prefix=no |
11245 |
|
need_version=no |
11246 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11250 |
|
;; |
11251 |
|
|
11252 |
|
uts4*) |
11253 |
< |
version_type=linux |
11253 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11254 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11255 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11256 |
|
shlibpath_var=LD_LIBRARY_PATH |
12032 |
|
|
12033 |
|
|
12034 |
|
|
12035 |
+ |
|
12036 |
+ |
|
12037 |
|
ac_config_commands="$ac_config_commands libtool" |
12038 |
|
|
12039 |
|
|
12050 |
|
|
12051 |
|
module=yes |
12052 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
12053 |
+ |
module=no |
12054 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
12055 |
|
|
12056 |
|
fi |
12057 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
12063 |
|
_ACEOF |
12064 |
|
|
12065 |
|
fi |
12066 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
12067 |
+ |
|
12068 |
+ |
cat >>confdefs.h <<_ACEOF |
12069 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
12070 |
+ |
_ACEOF |
12071 |
+ |
|
12072 |
+ |
fi |
12073 |
|
|
12074 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
12075 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
13116 |
|
|
13117 |
|
# Checks for libraries. |
13118 |
|
|
13119 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13120 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
13121 |
< |
if ${ac_cv_search_socket+:} false; then : |
13119 |
> |
|
13120 |
> |
if test "X$CC" != "X"; then |
13121 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13122 |
> |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13123 |
> |
if ${ssp_cv_cc+:} false; then : |
13124 |
> |
$as_echo_n "(cached) " >&6 |
13125 |
> |
else |
13126 |
> |
ssp_old_cflags="$CFLAGS" |
13127 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13128 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13129 |
> |
/* end confdefs.h. */ |
13130 |
> |
|
13131 |
> |
int |
13132 |
> |
main () |
13133 |
> |
{ |
13134 |
> |
|
13135 |
> |
; |
13136 |
> |
return 0; |
13137 |
> |
} |
13138 |
> |
_ACEOF |
13139 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13140 |
> |
ssp_cv_cc=yes |
13141 |
> |
else |
13142 |
> |
ssp_cv_cc=no |
13143 |
> |
fi |
13144 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13145 |
> |
CFLAGS="$ssp_old_cflags" |
13146 |
> |
|
13147 |
> |
fi |
13148 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13149 |
> |
$as_echo "$ssp_cv_cc" >&6; } |
13150 |
> |
if test $ssp_cv_cc = yes; then |
13151 |
> |
CFLAGS="$CFLAGS -fstack-protector" |
13152 |
> |
|
13153 |
> |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13154 |
> |
|
13155 |
> |
fi |
13156 |
> |
fi |
13157 |
> |
|
13158 |
> |
|
13159 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
13160 |
> |
$as_echo_n "checking whether libssp exists... " >&6; } |
13161 |
> |
if ${ssp_cv_lib+:} false; then : |
13162 |
> |
$as_echo_n "(cached) " >&6 |
13163 |
> |
else |
13164 |
> |
ssp_old_libs="$LIBS" |
13165 |
> |
LIBS="$LIBS -lssp" |
13166 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13167 |
> |
/* end confdefs.h. */ |
13168 |
> |
|
13169 |
> |
int |
13170 |
> |
main () |
13171 |
> |
{ |
13172 |
> |
|
13173 |
> |
; |
13174 |
> |
return 0; |
13175 |
> |
} |
13176 |
> |
_ACEOF |
13177 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13178 |
> |
ssp_cv_lib=yes |
13179 |
> |
else |
13180 |
> |
ssp_cv_lib=no |
13181 |
> |
fi |
13182 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13183 |
> |
conftest$ac_exeext conftest.$ac_ext |
13184 |
> |
LIBS="$ssp_old_libs" |
13185 |
> |
|
13186 |
> |
fi |
13187 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
13188 |
> |
$as_echo "$ssp_cv_lib" >&6; } |
13189 |
> |
if test $ssp_cv_lib = yes; then |
13190 |
> |
LIBS="$LIBS -lssp" |
13191 |
> |
fi |
13192 |
> |
|
13193 |
> |
|
13194 |
> |
|
13195 |
> |
|
13196 |
> |
|
13197 |
> |
|
13198 |
> |
for flag in -fno-strict-aliasing; do |
13199 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
13200 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13201 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13202 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
13203 |
> |
$as_echo_n "(cached) " >&6 |
13204 |
> |
else |
13205 |
> |
|
13206 |
> |
ax_check_save_flags=$CFLAGS |
13207 |
> |
CFLAGS="$CFLAGS $flag" |
13208 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13209 |
> |
/* end confdefs.h. */ |
13210 |
> |
|
13211 |
> |
int |
13212 |
> |
main () |
13213 |
> |
{ |
13214 |
> |
|
13215 |
> |
; |
13216 |
> |
return 0; |
13217 |
> |
} |
13218 |
> |
_ACEOF |
13219 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
13220 |
> |
eval "$as_CACHEVAR=yes" |
13221 |
> |
else |
13222 |
> |
eval "$as_CACHEVAR=no" |
13223 |
> |
fi |
13224 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13225 |
> |
CFLAGS=$ax_check_save_flags |
13226 |
> |
fi |
13227 |
> |
eval ac_res=\$$as_CACHEVAR |
13228 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13229 |
> |
$as_echo "$ac_res" >&6; } |
13230 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13231 |
> |
if ${CFLAGS+:} false; then : |
13232 |
> |
case " $CFLAGS " in |
13233 |
> |
*" $flag "*) |
13234 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13235 |
> |
(: CFLAGS already contains $flag) 2>&5 |
13236 |
> |
ac_status=$? |
13237 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13238 |
> |
test $ac_status = 0; } |
13239 |
> |
;; |
13240 |
> |
*) |
13241 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13242 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13243 |
> |
ac_status=$? |
13244 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13245 |
> |
test $ac_status = 0; } |
13246 |
> |
CFLAGS="$CFLAGS $flag" |
13247 |
> |
;; |
13248 |
> |
esac |
13249 |
> |
else |
13250 |
> |
CFLAGS="$flag" |
13251 |
> |
fi |
13252 |
> |
|
13253 |
> |
else |
13254 |
> |
: |
13255 |
> |
fi |
13256 |
> |
|
13257 |
> |
done |
13258 |
> |
|
13259 |
> |
|
13260 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13261 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13262 |
> |
|
13263 |
> |
else |
13264 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
13265 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
13266 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13267 |
|
$as_echo_n "(cached) " >&6 |
13268 |
|
else |
13269 |
|
ac_func_search_save_LIBS=$LIBS |
13276 |
|
#ifdef __cplusplus |
13277 |
|
extern "C" |
13278 |
|
#endif |
13279 |
< |
char socket (); |
13279 |
> |
char getaddrinfo (); |
13280 |
|
int |
13281 |
|
main () |
13282 |
|
{ |
13283 |
< |
return socket (); |
13283 |
> |
return getaddrinfo (); |
13284 |
|
; |
13285 |
|
return 0; |
13286 |
|
} |
13287 |
|
_ACEOF |
13288 |
< |
for ac_lib in '' socket; do |
13288 |
> |
for ac_lib in '' nsl; do |
13289 |
|
if test -z "$ac_lib"; then |
13290 |
|
ac_res="none required" |
13291 |
|
else |
13293 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13294 |
|
fi |
13295 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13296 |
< |
ac_cv_search_socket=$ac_res |
13296 |
> |
ac_cv_search_getaddrinfo=$ac_res |
13297 |
|
fi |
13298 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13299 |
|
conftest$ac_exeext |
13300 |
< |
if ${ac_cv_search_socket+:} false; then : |
13300 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13301 |
|
break |
13302 |
|
fi |
13303 |
|
done |
13304 |
< |
if ${ac_cv_search_socket+:} false; then : |
13304 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13305 |
|
|
13306 |
|
else |
13307 |
< |
ac_cv_search_socket=no |
13307 |
> |
ac_cv_search_getaddrinfo=no |
13308 |
|
fi |
13309 |
|
rm conftest.$ac_ext |
13310 |
|
LIBS=$ac_func_search_save_LIBS |
13311 |
|
fi |
13312 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13313 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
13314 |
< |
ac_res=$ac_cv_search_socket |
13312 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
13313 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
13314 |
> |
ac_res=$ac_cv_search_getaddrinfo |
13315 |
|
if test "$ac_res" != no; then : |
13316 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13317 |
|
|
13011 |
– |
else |
13012 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13318 |
|
fi |
13319 |
|
|
13320 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
13321 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
13322 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13320 |
> |
fi |
13321 |
> |
|
13322 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
13323 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
13324 |
> |
|
13325 |
> |
else |
13326 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
13327 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
13328 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13329 |
|
$as_echo_n "(cached) " >&6 |
13330 |
|
else |
13331 |
|
ac_func_search_save_LIBS=$LIBS |
13338 |
|
#ifdef __cplusplus |
13339 |
|
extern "C" |
13340 |
|
#endif |
13341 |
< |
char inet_ntoa (); |
13341 |
> |
char getnameinfo (); |
13342 |
|
int |
13343 |
|
main () |
13344 |
|
{ |
13345 |
< |
return inet_ntoa (); |
13345 |
> |
return getnameinfo (); |
13346 |
|
; |
13347 |
|
return 0; |
13348 |
|
} |
13355 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13356 |
|
fi |
13357 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13358 |
< |
ac_cv_search_inet_ntoa=$ac_res |
13358 |
> |
ac_cv_search_getnameinfo=$ac_res |
13359 |
|
fi |
13360 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13361 |
|
conftest$ac_exeext |
13362 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13362 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13363 |
|
break |
13364 |
|
fi |
13365 |
|
done |
13366 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13366 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
13367 |
|
|
13368 |
|
else |
13369 |
< |
ac_cv_search_inet_ntoa=no |
13369 |
> |
ac_cv_search_getnameinfo=no |
13370 |
|
fi |
13371 |
|
rm conftest.$ac_ext |
13372 |
|
LIBS=$ac_func_search_save_LIBS |
13373 |
|
fi |
13374 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
13375 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
13376 |
< |
ac_res=$ac_cv_search_inet_ntoa |
13374 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
13375 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
13376 |
> |
ac_res=$ac_cv_search_getnameinfo |
13377 |
|
if test "$ac_res" != no; then : |
13378 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13379 |
|
|
13380 |
|
fi |
13381 |
|
|
13382 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
13383 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
13384 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13382 |
> |
fi |
13383 |
> |
|
13384 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13385 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
13386 |
> |
if ${ac_cv_search_socket+:} false; then : |
13387 |
|
$as_echo_n "(cached) " >&6 |
13388 |
|
else |
13389 |
|
ac_func_search_save_LIBS=$LIBS |
13396 |
|
#ifdef __cplusplus |
13397 |
|
extern "C" |
13398 |
|
#endif |
13399 |
< |
char inet_aton (); |
13399 |
> |
char socket (); |
13400 |
|
int |
13401 |
|
main () |
13402 |
|
{ |
13403 |
< |
return inet_aton (); |
13403 |
> |
return socket (); |
13404 |
|
; |
13405 |
|
return 0; |
13406 |
|
} |
13407 |
|
_ACEOF |
13408 |
< |
for ac_lib in '' resolv; do |
13408 |
> |
for ac_lib in '' socket; do |
13409 |
|
if test -z "$ac_lib"; then |
13410 |
|
ac_res="none required" |
13411 |
|
else |
13413 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13414 |
|
fi |
13415 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13416 |
< |
ac_cv_search_inet_aton=$ac_res |
13416 |
> |
ac_cv_search_socket=$ac_res |
13417 |
|
fi |
13418 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13419 |
|
conftest$ac_exeext |
13420 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13420 |
> |
if ${ac_cv_search_socket+:} false; then : |
13421 |
|
break |
13422 |
|
fi |
13423 |
|
done |
13424 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
13424 |
> |
if ${ac_cv_search_socket+:} false; then : |
13425 |
|
|
13426 |
|
else |
13427 |
< |
ac_cv_search_inet_aton=no |
13427 |
> |
ac_cv_search_socket=no |
13428 |
|
fi |
13429 |
|
rm conftest.$ac_ext |
13430 |
|
LIBS=$ac_func_search_save_LIBS |
13431 |
|
fi |
13432 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
13433 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
13434 |
< |
ac_res=$ac_cv_search_inet_aton |
13432 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
13433 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
13434 |
> |
ac_res=$ac_cv_search_socket |
13435 |
|
if test "$ac_res" != no; then : |
13436 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13437 |
|
|
13438 |
< |
fi |
13439 |
< |
|
13127 |
< |
for ac_func in inet_aton inet_ntop inet_pton |
13128 |
< |
do : |
13129 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13130 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13131 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13132 |
< |
cat >>confdefs.h <<_ACEOF |
13133 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13134 |
< |
_ACEOF |
13135 |
< |
|
13136 |
< |
fi |
13137 |
< |
done |
13138 |
< |
|
13139 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13140 |
< |
#include <sys/socket.h> |
13141 |
< |
#include <netdb.h> |
13142 |
< |
|
13143 |
< |
" |
13144 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
13145 |
< |
|
13146 |
< |
cat >>confdefs.h <<_ACEOF |
13147 |
< |
#define HAVE_STRUCT_SOCKADDR_IN 1 |
13148 |
< |
_ACEOF |
13149 |
< |
|
13150 |
< |
|
13151 |
< |
fi |
13152 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h> |
13153 |
< |
#include <sys/socket.h> |
13154 |
< |
#include <netdb.h> |
13155 |
< |
|
13156 |
< |
" |
13157 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
13158 |
< |
|
13159 |
< |
cat >>confdefs.h <<_ACEOF |
13160 |
< |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
13161 |
< |
_ACEOF |
13162 |
< |
|
13163 |
< |
|
13164 |
< |
fi |
13165 |
< |
ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h> |
13166 |
< |
#include <sys/socket.h> |
13167 |
< |
#include <netdb.h> |
13168 |
< |
|
13169 |
< |
" |
13170 |
< |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
13171 |
< |
|
13172 |
< |
cat >>confdefs.h <<_ACEOF |
13173 |
< |
#define HAVE_STRUCT_ADDRINFO 1 |
13174 |
< |
_ACEOF |
13175 |
< |
|
13176 |
< |
|
13177 |
< |
fi |
13178 |
< |
|
13179 |
< |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
13180 |
< |
<sys/socket.h> |
13181 |
< |
" |
13182 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
13183 |
< |
|
13184 |
< |
cat >>confdefs.h <<_ACEOF |
13185 |
< |
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
13186 |
< |
_ACEOF |
13187 |
< |
|
13188 |
< |
|
13189 |
< |
fi |
13190 |
< |
|
13191 |
< |
|
13192 |
< |
|
13193 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13194 |
< |
" |
13195 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13196 |
< |
|
13197 |
< |
$as_echo "#define IPV6 1" >>confdefs.h |
13198 |
< |
|
13438 |
> |
else |
13439 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13440 |
|
fi |
13441 |
|
|
13442 |
|
|
13693 |
|
|
13694 |
|
|
13695 |
|
|
13455 |
– |
|
13456 |
– |
|
13457 |
– |
|
13458 |
– |
|
13696 |
|
# Checks for header files. |
13697 |
|
|
13698 |
|
|
13727 |
|
|
13728 |
|
|
13729 |
|
|
13493 |
– |
|
13494 |
– |
|
13495 |
– |
|
13496 |
– |
|
13497 |
– |
|
13498 |
– |
|
13499 |
– |
|
13500 |
– |
|
13501 |
– |
|
13502 |
– |
|
13503 |
– |
# check for /dev/null so we can use it to hold evil fd's |
13504 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
13505 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
13506 |
– |
if test -c /dev/null; then : |
13507 |
– |
|
13508 |
– |
|
13509 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
13510 |
– |
|
13511 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13512 |
– |
$as_echo "yes" >&6; } |
13513 |
– |
else |
13514 |
– |
|
13515 |
– |
|
13516 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
13517 |
– |
|
13518 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
13519 |
– |
$as_echo "no - using devnull.log" >&6; } |
13520 |
– |
fi |
13521 |
– |
|
13522 |
– |
|
13730 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13731 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13732 |
|
if ${ac_cv_search_crypt+:} false; then : |
13784 |
|
fi |
13785 |
|
|
13786 |
|
|
13787 |
< |
|
13788 |
< |
|
13789 |
< |
# Check whether --with-zlib-path was given. |
13790 |
< |
if test "${with_zlib_path+set}" = set; then : |
13791 |
< |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
13792 |
< |
fi |
13793 |
< |
|
13794 |
< |
|
13795 |
< |
# Check whether --enable-zlib was given. |
13589 |
< |
if test "${enable_zlib+set}" = set; then : |
13590 |
< |
enableval=$enable_zlib; zlib=$enableval |
13591 |
< |
else |
13592 |
< |
zlib=yes |
13593 |
< |
fi |
13594 |
< |
|
13595 |
< |
|
13596 |
< |
if test "$zlib" = "yes"; then : |
13597 |
< |
|
13598 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
13599 |
< |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
13600 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
13601 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
13602 |
< |
if ${ac_cv_lib_z_zlibVersion+:} false; then : |
13603 |
< |
$as_echo_n "(cached) " >&6 |
13604 |
< |
else |
13605 |
< |
ac_check_lib_save_LIBS=$LIBS |
13606 |
< |
LIBS="-lz $LIBS" |
13607 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13608 |
< |
/* end confdefs.h. */ |
13609 |
< |
|
13610 |
< |
/* Override any GCC internal prototype to avoid an error. |
13611 |
< |
Use char because int might match the return type of a GCC |
13612 |
< |
builtin and then its argument prototype would still apply. */ |
13613 |
< |
#ifdef __cplusplus |
13614 |
< |
extern "C" |
13615 |
< |
#endif |
13616 |
< |
char zlibVersion (); |
13617 |
< |
int |
13618 |
< |
main () |
13619 |
< |
{ |
13620 |
< |
return zlibVersion (); |
13621 |
< |
; |
13622 |
< |
return 0; |
13623 |
< |
} |
13624 |
< |
_ACEOF |
13625 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13626 |
< |
ac_cv_lib_z_zlibVersion=yes |
13627 |
< |
else |
13628 |
< |
ac_cv_lib_z_zlibVersion=no |
13629 |
< |
fi |
13630 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
13631 |
< |
conftest$ac_exeext conftest.$ac_ext |
13632 |
< |
LIBS=$ac_check_lib_save_LIBS |
13633 |
< |
fi |
13634 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
13635 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
13636 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
13637 |
< |
|
13638 |
< |
LIBS="-lz $LIBS" |
13639 |
< |
|
13640 |
< |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
13641 |
< |
|
13642 |
< |
|
13643 |
< |
else |
13644 |
< |
zlib=no |
13645 |
< |
fi |
13646 |
< |
|
13647 |
< |
|
13648 |
< |
else |
13649 |
< |
zlib=no |
13650 |
< |
fi |
13651 |
< |
|
13652 |
< |
|
13653 |
< |
|
13654 |
< |
fi |
13655 |
< |
|
13656 |
< |
|
13657 |
< |
# Check whether --with-libpcre-path was given. |
13658 |
< |
if test "${with_libpcre_path+set}" = set; then : |
13659 |
< |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
13660 |
< |
fi |
13661 |
< |
|
13662 |
< |
|
13663 |
< |
# Check whether --enable-libpcre was given. |
13664 |
< |
if test "${enable_libpcre+set}" = set; then : |
13665 |
< |
enableval=$enable_libpcre; libpcre=$enableval |
13666 |
< |
else |
13667 |
< |
libpcre=yes |
13668 |
< |
fi |
13669 |
< |
|
13670 |
< |
|
13671 |
< |
if test "$libpcre" = "yes"; then : |
13672 |
< |
|
13673 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
13674 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
13675 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
13676 |
< |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
13677 |
< |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
13787 |
> |
# Check whether --enable-libgeoip was given. |
13788 |
> |
if test "${enable_libgeoip+set}" = set; then : |
13789 |
> |
enableval=$enable_libgeoip; |
13790 |
> |
else |
13791 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13792 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13793 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13794 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13795 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13796 |
|
$as_echo_n "(cached) " >&6 |
13797 |
|
else |
13798 |
< |
ac_check_lib_save_LIBS=$LIBS |
13681 |
< |
LIBS="-lpcre $LIBS" |
13798 |
> |
ac_func_search_save_LIBS=$LIBS |
13799 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13800 |
|
/* end confdefs.h. */ |
13801 |
|
|
13805 |
|
#ifdef __cplusplus |
13806 |
|
extern "C" |
13807 |
|
#endif |
13808 |
< |
char pcre_study (); |
13808 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13809 |
|
int |
13810 |
|
main () |
13811 |
|
{ |
13812 |
< |
return pcre_study (); |
13812 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13813 |
|
; |
13814 |
|
return 0; |
13815 |
|
} |
13816 |
|
_ACEOF |
13817 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13818 |
< |
ac_cv_lib_pcre_pcre_study=yes |
13819 |
< |
else |
13703 |
< |
ac_cv_lib_pcre_pcre_study=no |
13704 |
< |
fi |
13705 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
13706 |
< |
conftest$ac_exeext conftest.$ac_ext |
13707 |
< |
LIBS=$ac_check_lib_save_LIBS |
13708 |
< |
fi |
13709 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
13710 |
< |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
13711 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
13712 |
< |
|
13713 |
< |
LIBS="-lpcre $LIBS" |
13714 |
< |
|
13715 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
13716 |
< |
|
13717 |
< |
|
13718 |
< |
else |
13719 |
< |
libpcre=no |
13720 |
< |
fi |
13721 |
< |
|
13722 |
< |
|
13723 |
< |
else |
13724 |
< |
libpcre=no |
13725 |
< |
fi |
13726 |
< |
|
13727 |
< |
|
13728 |
< |
|
13729 |
< |
fi |
13730 |
< |
if test "$libpcre" = yes; then |
13731 |
< |
ENABLE_PCRE_TRUE= |
13732 |
< |
ENABLE_PCRE_FALSE='#' |
13733 |
< |
else |
13734 |
< |
ENABLE_PCRE_TRUE='#' |
13735 |
< |
ENABLE_PCRE_FALSE= |
13736 |
< |
fi |
13737 |
< |
|
13738 |
< |
|
13739 |
< |
|
13740 |
< |
# Check whether --enable-openssl was given. |
13741 |
< |
if test "${enable_openssl+set}" = set; then : |
13742 |
< |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
13743 |
< |
else |
13744 |
< |
cf_enable_openssl="auto" |
13745 |
< |
fi |
13746 |
< |
|
13747 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
13748 |
< |
$as_echo_n "checking for OpenSSL... " >&6; } |
13749 |
< |
if test "$cf_enable_openssl" != "no"; then |
13750 |
< |
cf_openssl_basedir="" |
13751 |
< |
if test "$cf_enable_openssl" != "auto" && |
13752 |
< |
test "$cf_enable_openssl" != "yes"; then |
13753 |
< |
cf_openssl_basedir="${cf_enable_openssl}" |
13754 |
< |
else |
13755 |
< |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
13756 |
< |
/opt /opt/openssl /usr/local/openssl; do |
13757 |
< |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
13758 |
< |
cf_openssl_basedir="${dirs}" |
13759 |
< |
break |
13760 |
< |
fi |
13761 |
< |
done |
13762 |
< |
unset dirs |
13763 |
< |
fi |
13764 |
< |
|
13765 |
< |
if test ! -z "$cf_openssl_basedir"; then |
13766 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
13767 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
13768 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
13769 |
< |
else |
13770 |
< |
cf_openssl_basedir="" |
13771 |
< |
fi |
13772 |
< |
else |
13773 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
13774 |
< |
cf_openssl_basedir="/usr" |
13775 |
< |
fi |
13776 |
< |
fi |
13777 |
< |
|
13778 |
< |
if test ! -z "$cf_openssl_basedir"; then |
13779 |
< |
LIBS="-lcrypto -lssl $LIBS" |
13780 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
13781 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
13782 |
< |
cf_enable_openssl="yes" |
13783 |
< |
|
13784 |
< |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13785 |
< |
|
13817 |
> |
for ac_lib in '' GeoIP; do |
13818 |
> |
if test -z "$ac_lib"; then |
13819 |
> |
ac_res="none required" |
13820 |
|
else |
13821 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13822 |
< |
$as_echo "not found. Please check your path." >&6; } |
13789 |
< |
cf_enable_openssl="no" |
13821 |
> |
ac_res=-l$ac_lib |
13822 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13823 |
|
fi |
13824 |
< |
unset cf_openssl_basedir |
13825 |
< |
else |
13793 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
13794 |
< |
$as_echo "disabled" >&6; } |
13795 |
< |
fi |
13796 |
< |
|
13797 |
< |
if test "$cf_enable_openssl" != "no"; then : |
13798 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
13799 |
< |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
13800 |
< |
if test "$cross_compiling" = yes; then : |
13801 |
< |
cf_openssl_version_ok=no |
13802 |
< |
else |
13803 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13804 |
< |
/* end confdefs.h. */ |
13805 |
< |
|
13806 |
< |
|
13807 |
< |
#include <openssl/opensslv.h> |
13808 |
< |
#include <stdlib.h> |
13809 |
< |
int |
13810 |
< |
main () |
13811 |
< |
{ |
13812 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
13813 |
< |
; |
13814 |
< |
return 0; |
13815 |
< |
} |
13816 |
< |
_ACEOF |
13817 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
13818 |
< |
cf_openssl_version_ok=yes |
13819 |
< |
else |
13820 |
< |
cf_openssl_version_ok=no |
13824 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13825 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13826 |
|
fi |
13827 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13828 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13827 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13828 |
> |
conftest$ac_exeext |
13829 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13830 |
> |
break |
13831 |
|
fi |
13832 |
+ |
done |
13833 |
+ |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13834 |
|
|
13826 |
– |
|
13827 |
– |
if test "$cf_openssl_version_ok" = "yes"; then : |
13828 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
13829 |
– |
$as_echo "found" >&6; } |
13830 |
– |
|
13831 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
13832 |
– |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
13833 |
– |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
13834 |
– |
$as_echo_n "(cached) " >&6 |
13835 |
– |
else |
13836 |
– |
ac_check_lib_save_LIBS=$LIBS |
13837 |
– |
LIBS="-lcrypto $LIBS" |
13838 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13839 |
– |
/* end confdefs.h. */ |
13840 |
– |
|
13841 |
– |
/* Override any GCC internal prototype to avoid an error. |
13842 |
– |
Use char because int might match the return type of a GCC |
13843 |
– |
builtin and then its argument prototype would still apply. */ |
13844 |
– |
#ifdef __cplusplus |
13845 |
– |
extern "C" |
13846 |
– |
#endif |
13847 |
– |
char RSA_free (); |
13848 |
– |
int |
13849 |
– |
main () |
13850 |
– |
{ |
13851 |
– |
return RSA_free (); |
13852 |
– |
; |
13853 |
– |
return 0; |
13854 |
– |
} |
13855 |
– |
_ACEOF |
13856 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
13857 |
– |
ac_cv_lib_crypto_RSA_free=yes |
13835 |
|
else |
13836 |
< |
ac_cv_lib_crypto_RSA_free=no |
13836 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13837 |
|
fi |
13838 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
13839 |
< |
conftest$ac_exeext conftest.$ac_ext |
13863 |
< |
LIBS=$ac_check_lib_save_LIBS |
13838 |
> |
rm conftest.$ac_ext |
13839 |
> |
LIBS=$ac_func_search_save_LIBS |
13840 |
|
fi |
13841 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
13842 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
13843 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
13844 |
< |
cat >>confdefs.h <<_ACEOF |
13845 |
< |
#define HAVE_LIBCRYPTO 1 |
13870 |
< |
_ACEOF |
13841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13842 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13843 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13844 |
> |
if test "$ac_res" != no; then : |
13845 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13846 |
|
|
13847 |
< |
LIBS="-lcrypto $LIBS" |
13847 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13848 |
|
|
13849 |
|
fi |
13850 |
|
|
13876 |
– |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
13877 |
– |
for ac_func in EVP_bf_cfb \ |
13878 |
– |
EVP_cast5_cfb \ |
13879 |
– |
EVP_idea_cfb \ |
13880 |
– |
EVP_rc5_32_12_16_cfb \ |
13881 |
– |
EVP_des_ede3_cfb \ |
13882 |
– |
EVP_des_cfb |
13883 |
– |
do : |
13884 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13885 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13886 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13887 |
– |
cat >>confdefs.h <<_ACEOF |
13888 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13889 |
– |
_ACEOF |
13890 |
– |
|
13851 |
|
fi |
13892 |
– |
done |
13852 |
|
|
13894 |
– |
fi |
13853 |
|
|
13896 |
– |
else |
13897 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
13898 |
– |
$as_echo "no - OpenSSL support disabled" >&6; } |
13899 |
– |
cf_enable_openssl="no" |
13900 |
– |
fi |
13901 |
– |
fi |
13902 |
– |
|
13903 |
– |
if test "$cf_enable_openssl" = yes; then |
13904 |
– |
ENABLE_SSL_TRUE= |
13905 |
– |
ENABLE_SSL_FALSE='#' |
13906 |
– |
else |
13907 |
– |
ENABLE_SSL_TRUE='#' |
13908 |
– |
ENABLE_SSL_FALSE= |
13854 |
|
fi |
13855 |
|
|
13856 |
|
|
13912 |
– |
|
13857 |
|
# Check whether --enable-assert was given. |
13858 |
|
if test "${enable_assert+set}" = set; then : |
13859 |
|
enableval=$enable_assert; assert=$enableval |
13869 |
|
fi |
13870 |
|
|
13871 |
|
|
13872 |
< |
# Check whether --enable-small-net was given. |
13929 |
< |
if test "${enable_small_net+set}" = set; then : |
13930 |
< |
enableval=$enable_small_net; small_net=$enableval |
13931 |
< |
else |
13932 |
< |
small_net=no |
13933 |
< |
fi |
13934 |
< |
|
13935 |
< |
|
13936 |
< |
if test "$small_net" = "yes"; then : |
13937 |
< |
|
13872 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
13873 |
|
|
13939 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
13874 |
|
|
13875 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
13876 |
|
|
13942 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
13877 |
|
|
13878 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
13879 |
|
|
13945 |
– |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
13880 |
|
|
13881 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
13882 |
|
|
13948 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
13883 |
|
|
13884 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
13885 |
|
|
13951 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
13886 |
|
|
13887 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
13888 |
|
|
13954 |
– |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
13889 |
|
|
13890 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
13891 |
|
|
13957 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
13892 |
|
|
13893 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
13894 |
|
|
13960 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
13961 |
– |
|
13962 |
– |
|
13963 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
13964 |
– |
|
13965 |
– |
|
13966 |
– |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
13967 |
– |
|
13968 |
– |
else |
13895 |
|
|
13896 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
13897 |
|
|
13898 |
|
|
13899 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
13899 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
13900 |
|
|
13901 |
|
|
13902 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
13902 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
13903 |
|
|
13904 |
|
|
13905 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
13905 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
13906 |
|
|
13907 |
|
|
13908 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
13908 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
13909 |
|
|
13910 |
|
|
13911 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
13985 |
< |
|
13986 |
< |
|
13987 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
13988 |
< |
|
13989 |
< |
|
13990 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
13991 |
< |
|
13992 |
< |
|
13993 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
13994 |
< |
|
13995 |
< |
|
13996 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
13997 |
< |
|
13998 |
< |
|
13999 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
14000 |
< |
|
14001 |
< |
fi |
13911 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
13912 |
|
|
13913 |
|
|
13914 |
|
# Argument processing. |
13915 |
|
|
13916 |
< |
desired_iopoll_mechanism="none" |
13917 |
< |
# Check whether --enable-kqueue was given. |
13916 |
> |
desired_iopoll_mechanism="none" |
13917 |
> |
|
13918 |
> |
# Check whether --enable-kqueue was given. |
13919 |
|
if test "${enable_kqueue+set}" = set; then : |
13920 |
|
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
13921 |
|
fi |
13930 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
13931 |
|
fi |
13932 |
|
|
14022 |
– |
# Check whether --enable-rtsigio was given. |
14023 |
– |
if test "${enable_rtsigio+set}" = set; then : |
14024 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
14025 |
– |
fi |
14026 |
– |
|
13933 |
|
# Check whether --enable-poll was given. |
13934 |
|
if test "${enable_poll+set}" = set; then : |
13935 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
13936 |
|
fi |
13937 |
|
|
14032 |
– |
# Check whether --enable-select was given. |
14033 |
– |
if test "${enable_select+set}" = set; then : |
14034 |
– |
enableval=$enable_select; desired_iopoll_mechanism="select" |
14035 |
– |
fi |
13938 |
|
|
13939 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
13939 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
13940 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
13941 |
+ |
|
13942 |
|
iopoll_mechanism_none=0 |
13943 |
|
|
13944 |
|
cat >>confdefs.h <<_ACEOF |
13945 |
|
#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none |
13946 |
|
_ACEOF |
13947 |
|
|
13948 |
< |
iopoll_mechanism_kqueue=1 |
13948 |
> |
|
13949 |
> |
iopoll_mechanism_kqueue=1 |
13950 |
|
|
13951 |
|
cat >>confdefs.h <<_ACEOF |
13952 |
|
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
14000 |
|
fi |
14001 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14002 |
|
conftest$ac_exeext conftest.$ac_ext |
14003 |
< |
iopoll_mechanism_epoll=2 |
14003 |
> |
|
14004 |
> |
iopoll_mechanism_epoll=2 |
14005 |
|
|
14006 |
|
cat >>confdefs.h <<_ACEOF |
14007 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
14008 |
|
_ACEOF |
14009 |
|
|
14105 |
– |
if test "$cross_compiling" = yes; then : |
14106 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14107 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14108 |
– |
as_fn_error $? "cannot run test program while cross compiling |
14109 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
14110 |
– |
else |
14010 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14011 |
|
/* end confdefs.h. */ |
14113 |
– |
|
14012 |
|
#include <sys/epoll.h> |
14115 |
– |
#include <sys/syscall.h> |
14116 |
– |
#if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY) |
14117 |
– |
#if !defined(__NR_epoll_create) |
14118 |
– |
#if defined(__ia64__) |
14119 |
– |
#define __NR_epoll_create 1243 |
14120 |
– |
#elif defined(__x86_64__) |
14121 |
– |
#define __NR_epoll_create 214 |
14122 |
– |
#elif defined(__sparc64__) || defined(__sparc__) |
14123 |
– |
#define __NR_epoll_create 193 |
14124 |
– |
#elif defined(__s390__) || defined(__m68k__) |
14125 |
– |
#define __NR_epoll_create 249 |
14126 |
– |
#elif defined(__ppc64__) || defined(__ppc__) |
14127 |
– |
#define __NR_epoll_create 236 |
14128 |
– |
#elif defined(__parisc__) || defined(__arm26__) || defined(__arm__) |
14129 |
– |
#define __NR_epoll_create 224 |
14130 |
– |
#elif defined(__alpha__) |
14131 |
– |
#define __NR_epoll_create 407 |
14132 |
– |
#elif defined(__sh64__) |
14133 |
– |
#define __NR_epoll_create 282 |
14134 |
– |
#elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__) |
14135 |
– |
#define __NR_epoll_create 254 |
14136 |
– |
#else |
14137 |
– |
#error No system call numbers defined for epoll family. |
14138 |
– |
#endif |
14139 |
– |
#endif |
14140 |
– |
_syscall1(int, epoll_create, int, size) |
14141 |
– |
#endif |
14142 |
– |
|
14013 |
|
int |
14014 |
|
main () |
14015 |
|
{ |
14016 |
< |
return epoll_create(256) == -1 ? 1 : 0 |
14016 |
> |
epoll_create(256); |
14017 |
|
; |
14018 |
|
return 0; |
14019 |
|
} |
14020 |
|
_ACEOF |
14021 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
14021 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
14022 |
|
is_epoll_mechanism_available="yes" |
14023 |
|
else |
14024 |
|
is_epoll_mechanism_available="no" |
14025 |
|
fi |
14026 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14027 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
14158 |
< |
fi |
14026 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
14027 |
> |
conftest$ac_exeext conftest.$ac_ext |
14028 |
|
|
14029 |
< |
iopoll_mechanism_devpoll=3 |
14029 |
> |
iopoll_mechanism_devpoll=3 |
14030 |
|
|
14031 |
|
cat >>confdefs.h <<_ACEOF |
14032 |
|
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
14076 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14077 |
|
|
14078 |
|
fi |
14210 |
– |
iopoll_mechanism_rtsigio=4 |
14211 |
– |
|
14212 |
– |
cat >>confdefs.h <<_ACEOF |
14213 |
– |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
14214 |
– |
_ACEOF |
14215 |
– |
|
14216 |
– |
if test "$cross_compiling" = yes; then : |
14217 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14218 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14219 |
– |
as_fn_error $? "cannot run test program while cross compiling |
14220 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
14221 |
– |
else |
14222 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14223 |
– |
/* end confdefs.h. */ |
14224 |
– |
|
14225 |
– |
#define _GNU_SOURCE |
14226 |
– |
#include <fcntl.h> |
14227 |
– |
static unsigned int have_f_setsig = 0; |
14228 |
– |
|
14229 |
– |
int |
14230 |
– |
main () |
14231 |
– |
{ |
14079 |
|
|
14080 |
< |
#ifdef F_SETSIG |
14234 |
< |
have_f_setsig = 1; |
14235 |
< |
#endif |
14236 |
< |
return have_f_setsig == 0; |
14237 |
< |
|
14238 |
< |
; |
14239 |
< |
return 0; |
14240 |
< |
} |
14241 |
< |
_ACEOF |
14242 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
14243 |
< |
is_rtsigio_mechanism_available="yes" |
14244 |
< |
else |
14245 |
< |
is_rtsigio_mechanism_available="no" |
14246 |
< |
fi |
14247 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14248 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
14249 |
< |
fi |
14250 |
< |
|
14251 |
< |
iopoll_mechanism_poll=5 |
14080 |
> |
iopoll_mechanism_poll=4 |
14081 |
|
|
14082 |
|
cat >>confdefs.h <<_ACEOF |
14083 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14131 |
|
fi |
14132 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14133 |
|
conftest$ac_exeext conftest.$ac_ext |
14305 |
– |
iopoll_mechanism_select=6 |
14306 |
– |
|
14307 |
– |
cat >>confdefs.h <<_ACEOF |
14308 |
– |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
14309 |
– |
_ACEOF |
14310 |
– |
|
14311 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14312 |
– |
/* end confdefs.h. */ |
14313 |
– |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
14314 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
14315 |
– |
#define select innocuous_select |
14316 |
– |
|
14317 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
14318 |
– |
which can conflict with char select (); below. |
14319 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
14320 |
– |
<limits.h> exists even on freestanding compilers. */ |
14321 |
– |
|
14322 |
– |
#ifdef __STDC__ |
14323 |
– |
# include <limits.h> |
14324 |
– |
#else |
14325 |
– |
# include <assert.h> |
14326 |
– |
#endif |
14327 |
– |
|
14328 |
– |
#undef select |
14329 |
– |
|
14330 |
– |
/* Override any GCC internal prototype to avoid an error. |
14331 |
– |
Use char because int might match the return type of a GCC |
14332 |
– |
builtin and then its argument prototype would still apply. */ |
14333 |
– |
#ifdef __cplusplus |
14334 |
– |
extern "C" |
14335 |
– |
#endif |
14336 |
– |
char select (); |
14337 |
– |
/* The GNU C library defines this for functions which it implements |
14338 |
– |
to always fail with ENOSYS. Some functions are actually named |
14339 |
– |
something starting with __ and the normal name is an alias. */ |
14340 |
– |
#if defined __stub_select || defined __stub___select |
14341 |
– |
choke me |
14342 |
– |
#endif |
14134 |
|
|
14135 |
< |
int |
14136 |
< |
main () |
14346 |
< |
{ |
14347 |
< |
return select (); |
14348 |
< |
; |
14349 |
< |
return 0; |
14350 |
< |
} |
14351 |
< |
_ACEOF |
14352 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
14353 |
< |
is_select_mechanism_available="yes" |
14354 |
< |
else |
14355 |
< |
is_select_mechanism_available="no" |
14356 |
< |
fi |
14357 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
14358 |
< |
conftest$ac_exeext conftest.$ac_ext |
14359 |
< |
optimal_iopoll_mechanism="none" |
14360 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
14135 |
> |
optimal_iopoll_mechanism="none" |
14136 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important |
14137 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14138 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14139 |
|
optimal_iopoll_mechanism="$mechanism" |
14140 |
|
break |
14141 |
|
fi |
14142 |
|
done |
14143 |
< |
if test "$desired_iopoll_mechanism" = "none" ; then |
14143 |
> |
|
14144 |
> |
if test "$desired_iopoll_mechanism" = "none" ; then |
14145 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
14146 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14147 |
|
$as_echo "none" >&6; } |
14163 |
|
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14164 |
|
fi |
14165 |
|
fi |
14166 |
< |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14166 |
> |
|
14167 |
> |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14168 |
|
|
14169 |
|
cat >>confdefs.h <<_ACEOF |
14170 |
|
#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism |
14172 |
|
|
14173 |
|
|
14174 |
|
|
14175 |
+ |
# Check whether --enable-debugging was given. |
14176 |
+ |
if test "${enable_debugging+set}" = set; then : |
14177 |
+ |
enableval=$enable_debugging; debugging="$enableval" |
14178 |
+ |
else |
14179 |
+ |
debugging="no" |
14180 |
+ |
fi |
14181 |
+ |
|
14182 |
+ |
if test "$debugging" = "yes" ; then |
14183 |
+ |
CFLAGS="-Wall -g -O0" |
14184 |
+ |
fi |
14185 |
|
|
14186 |
< |
# Check whether --with-nicklen was given. |
14187 |
< |
if test "${with_nicklen+set}" = set; then : |
14188 |
< |
withval=$with_nicklen; nicklen="$withval" |
14186 |
> |
|
14187 |
> |
# Check whether --enable-warnings was given. |
14188 |
> |
if test "${enable_warnings+set}" = set; then : |
14189 |
> |
enableval=$enable_warnings; warnings="$enableval" |
14190 |
|
else |
14191 |
< |
nicklen="9" |
14191 |
> |
warnings="no" |
14192 |
|
fi |
14193 |
|
|
14194 |
|
|
14195 |
< |
cat >>confdefs.h <<_ACEOF |
14196 |
< |
#define NICKLEN ($nicklen+1) |
14195 |
> |
if test "$warnings" = "yes" ; then |
14196 |
> |
|
14197 |
> |
|
14198 |
> |
|
14199 |
> |
|
14200 |
> |
for flag in -Wall; do |
14201 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14202 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14203 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14204 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14205 |
> |
$as_echo_n "(cached) " >&6 |
14206 |
> |
else |
14207 |
> |
|
14208 |
> |
ax_check_save_flags=$CFLAGS |
14209 |
> |
CFLAGS="$CFLAGS $flag" |
14210 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14211 |
> |
/* end confdefs.h. */ |
14212 |
> |
|
14213 |
> |
int |
14214 |
> |
main () |
14215 |
> |
{ |
14216 |
> |
|
14217 |
> |
; |
14218 |
> |
return 0; |
14219 |
> |
} |
14220 |
> |
_ACEOF |
14221 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14222 |
> |
eval "$as_CACHEVAR=yes" |
14223 |
> |
else |
14224 |
> |
eval "$as_CACHEVAR=no" |
14225 |
> |
fi |
14226 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14227 |
> |
CFLAGS=$ax_check_save_flags |
14228 |
> |
fi |
14229 |
> |
eval ac_res=\$$as_CACHEVAR |
14230 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14231 |
> |
$as_echo "$ac_res" >&6; } |
14232 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14233 |
> |
if ${CFLAGS+:} false; then : |
14234 |
> |
case " $CFLAGS " in |
14235 |
> |
*" $flag "*) |
14236 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14237 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14238 |
> |
ac_status=$? |
14239 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14240 |
> |
test $ac_status = 0; } |
14241 |
> |
;; |
14242 |
> |
*) |
14243 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14244 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14245 |
> |
ac_status=$? |
14246 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14247 |
> |
test $ac_status = 0; } |
14248 |
> |
CFLAGS="$CFLAGS $flag" |
14249 |
> |
;; |
14250 |
> |
esac |
14251 |
> |
else |
14252 |
> |
CFLAGS="$flag" |
14253 |
> |
fi |
14254 |
> |
|
14255 |
> |
else |
14256 |
> |
: |
14257 |
> |
fi |
14258 |
> |
|
14259 |
> |
done |
14260 |
> |
|
14261 |
> |
|
14262 |
> |
|
14263 |
> |
|
14264 |
> |
|
14265 |
> |
for flag in -Wextra; do |
14266 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14267 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14268 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14269 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14270 |
> |
$as_echo_n "(cached) " >&6 |
14271 |
> |
else |
14272 |
> |
|
14273 |
> |
ax_check_save_flags=$CFLAGS |
14274 |
> |
CFLAGS="$CFLAGS $flag" |
14275 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14276 |
> |
/* end confdefs.h. */ |
14277 |
> |
|
14278 |
> |
int |
14279 |
> |
main () |
14280 |
> |
{ |
14281 |
> |
|
14282 |
> |
; |
14283 |
> |
return 0; |
14284 |
> |
} |
14285 |
|
_ACEOF |
14286 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14287 |
+ |
eval "$as_CACHEVAR=yes" |
14288 |
+ |
else |
14289 |
+ |
eval "$as_CACHEVAR=no" |
14290 |
+ |
fi |
14291 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14292 |
+ |
CFLAGS=$ax_check_save_flags |
14293 |
+ |
fi |
14294 |
+ |
eval ac_res=\$$as_CACHEVAR |
14295 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14296 |
+ |
$as_echo "$ac_res" >&6; } |
14297 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14298 |
+ |
if ${CFLAGS+:} false; then : |
14299 |
+ |
case " $CFLAGS " in |
14300 |
+ |
*" $flag "*) |
14301 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14302 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14303 |
+ |
ac_status=$? |
14304 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14305 |
+ |
test $ac_status = 0; } |
14306 |
+ |
;; |
14307 |
+ |
*) |
14308 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14309 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14310 |
+ |
ac_status=$? |
14311 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14312 |
+ |
test $ac_status = 0; } |
14313 |
+ |
CFLAGS="$CFLAGS $flag" |
14314 |
+ |
;; |
14315 |
+ |
esac |
14316 |
+ |
else |
14317 |
+ |
CFLAGS="$flag" |
14318 |
+ |
fi |
14319 |
+ |
|
14320 |
+ |
else |
14321 |
+ |
: |
14322 |
+ |
fi |
14323 |
+ |
|
14324 |
+ |
done |
14325 |
+ |
|
14326 |
+ |
|
14327 |
|
|
14328 |
|
|
14329 |
|
|
14330 |
+ |
for flag in -Wno-unused; do |
14331 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14332 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14333 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14334 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
14335 |
+ |
$as_echo_n "(cached) " >&6 |
14336 |
+ |
else |
14337 |
+ |
|
14338 |
+ |
ax_check_save_flags=$CFLAGS |
14339 |
+ |
CFLAGS="$CFLAGS $flag" |
14340 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14341 |
+ |
/* end confdefs.h. */ |
14342 |
+ |
|
14343 |
+ |
int |
14344 |
+ |
main () |
14345 |
+ |
{ |
14346 |
+ |
|
14347 |
+ |
; |
14348 |
+ |
return 0; |
14349 |
+ |
} |
14350 |
+ |
_ACEOF |
14351 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14352 |
+ |
eval "$as_CACHEVAR=yes" |
14353 |
+ |
else |
14354 |
+ |
eval "$as_CACHEVAR=no" |
14355 |
+ |
fi |
14356 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14357 |
+ |
CFLAGS=$ax_check_save_flags |
14358 |
+ |
fi |
14359 |
+ |
eval ac_res=\$$as_CACHEVAR |
14360 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14361 |
+ |
$as_echo "$ac_res" >&6; } |
14362 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14363 |
+ |
if ${CFLAGS+:} false; then : |
14364 |
+ |
case " $CFLAGS " in |
14365 |
+ |
*" $flag "*) |
14366 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14367 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14368 |
+ |
ac_status=$? |
14369 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14370 |
+ |
test $ac_status = 0; } |
14371 |
+ |
;; |
14372 |
+ |
*) |
14373 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14374 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14375 |
+ |
ac_status=$? |
14376 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14377 |
+ |
test $ac_status = 0; } |
14378 |
+ |
CFLAGS="$CFLAGS $flag" |
14379 |
+ |
;; |
14380 |
+ |
esac |
14381 |
+ |
else |
14382 |
+ |
CFLAGS="$flag" |
14383 |
+ |
fi |
14384 |
|
|
14413 |
– |
# Check whether --with-topiclen was given. |
14414 |
– |
if test "${with_topiclen+set}" = set; then : |
14415 |
– |
withval=$with_topiclen; topiclen="$withval" |
14385 |
|
else |
14386 |
< |
topiclen="160" |
14386 |
> |
: |
14387 |
|
fi |
14388 |
|
|
14389 |
+ |
done |
14390 |
+ |
|
14391 |
|
|
14392 |
< |
cat >>confdefs.h <<_ACEOF |
14393 |
< |
#define TOPICLEN ($topiclen) |
14392 |
> |
|
14393 |
> |
|
14394 |
> |
|
14395 |
> |
for flag in -Wcast-qual; do |
14396 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14397 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14398 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14399 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14400 |
> |
$as_echo_n "(cached) " >&6 |
14401 |
> |
else |
14402 |
> |
|
14403 |
> |
ax_check_save_flags=$CFLAGS |
14404 |
> |
CFLAGS="$CFLAGS $flag" |
14405 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14406 |
> |
/* end confdefs.h. */ |
14407 |
> |
|
14408 |
> |
int |
14409 |
> |
main () |
14410 |
> |
{ |
14411 |
> |
|
14412 |
> |
; |
14413 |
> |
return 0; |
14414 |
> |
} |
14415 |
|
_ACEOF |
14416 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14417 |
+ |
eval "$as_CACHEVAR=yes" |
14418 |
+ |
else |
14419 |
+ |
eval "$as_CACHEVAR=no" |
14420 |
+ |
fi |
14421 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14422 |
+ |
CFLAGS=$ax_check_save_flags |
14423 |
+ |
fi |
14424 |
+ |
eval ac_res=\$$as_CACHEVAR |
14425 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14426 |
+ |
$as_echo "$ac_res" >&6; } |
14427 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14428 |
+ |
if ${CFLAGS+:} false; then : |
14429 |
+ |
case " $CFLAGS " in |
14430 |
+ |
*" $flag "*) |
14431 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14432 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14433 |
+ |
ac_status=$? |
14434 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14435 |
+ |
test $ac_status = 0; } |
14436 |
+ |
;; |
14437 |
+ |
*) |
14438 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14439 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14440 |
+ |
ac_status=$? |
14441 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14442 |
+ |
test $ac_status = 0; } |
14443 |
+ |
CFLAGS="$CFLAGS $flag" |
14444 |
+ |
;; |
14445 |
+ |
esac |
14446 |
+ |
else |
14447 |
+ |
CFLAGS="$flag" |
14448 |
+ |
fi |
14449 |
+ |
|
14450 |
+ |
else |
14451 |
+ |
: |
14452 |
+ |
fi |
14453 |
+ |
|
14454 |
+ |
done |
14455 |
|
|
14456 |
|
|
14457 |
|
|
14458 |
|
|
14459 |
< |
# Check whether --with-syslog-facility was given. |
14460 |
< |
if test "${with_syslog_facility+set}" = set; then : |
14461 |
< |
withval=$with_syslog_facility; syslog_facility="$withval" |
14459 |
> |
|
14460 |
> |
for flag in -Wcast-align; do |
14461 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14462 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14463 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14464 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14465 |
> |
$as_echo_n "(cached) " >&6 |
14466 |
|
else |
14467 |
< |
syslog_facility="LOG_LOCAL4" |
14467 |
> |
|
14468 |
> |
ax_check_save_flags=$CFLAGS |
14469 |
> |
CFLAGS="$CFLAGS $flag" |
14470 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14471 |
> |
/* end confdefs.h. */ |
14472 |
> |
|
14473 |
> |
int |
14474 |
> |
main () |
14475 |
> |
{ |
14476 |
> |
|
14477 |
> |
; |
14478 |
> |
return 0; |
14479 |
> |
} |
14480 |
> |
_ACEOF |
14481 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14482 |
> |
eval "$as_CACHEVAR=yes" |
14483 |
> |
else |
14484 |
> |
eval "$as_CACHEVAR=no" |
14485 |
> |
fi |
14486 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14487 |
> |
CFLAGS=$ax_check_save_flags |
14488 |
> |
fi |
14489 |
> |
eval ac_res=\$$as_CACHEVAR |
14490 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14491 |
> |
$as_echo "$ac_res" >&6; } |
14492 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14493 |
> |
if ${CFLAGS+:} false; then : |
14494 |
> |
case " $CFLAGS " in |
14495 |
> |
*" $flag "*) |
14496 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14497 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14498 |
> |
ac_status=$? |
14499 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14500 |
> |
test $ac_status = 0; } |
14501 |
> |
;; |
14502 |
> |
*) |
14503 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14504 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14505 |
> |
ac_status=$? |
14506 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14507 |
> |
test $ac_status = 0; } |
14508 |
> |
CFLAGS="$CFLAGS $flag" |
14509 |
> |
;; |
14510 |
> |
esac |
14511 |
> |
else |
14512 |
> |
CFLAGS="$flag" |
14513 |
|
fi |
14514 |
|
|
14515 |
+ |
else |
14516 |
+ |
: |
14517 |
+ |
fi |
14518 |
|
|
14519 |
< |
cat >>confdefs.h <<_ACEOF |
14520 |
< |
#define LOG_FACILITY $syslog_facility |
14519 |
> |
done |
14520 |
> |
|
14521 |
> |
|
14522 |
> |
|
14523 |
> |
|
14524 |
> |
|
14525 |
> |
for flag in -Wbad-function-cast; do |
14526 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14527 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14528 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14529 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14530 |
> |
$as_echo_n "(cached) " >&6 |
14531 |
> |
else |
14532 |
> |
|
14533 |
> |
ax_check_save_flags=$CFLAGS |
14534 |
> |
CFLAGS="$CFLAGS $flag" |
14535 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14536 |
> |
/* end confdefs.h. */ |
14537 |
> |
|
14538 |
> |
int |
14539 |
> |
main () |
14540 |
> |
{ |
14541 |
> |
|
14542 |
> |
; |
14543 |
> |
return 0; |
14544 |
> |
} |
14545 |
|
_ACEOF |
14546 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14547 |
+ |
eval "$as_CACHEVAR=yes" |
14548 |
+ |
else |
14549 |
+ |
eval "$as_CACHEVAR=no" |
14550 |
+ |
fi |
14551 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14552 |
+ |
CFLAGS=$ax_check_save_flags |
14553 |
+ |
fi |
14554 |
+ |
eval ac_res=\$$as_CACHEVAR |
14555 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14556 |
+ |
$as_echo "$ac_res" >&6; } |
14557 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14558 |
+ |
if ${CFLAGS+:} false; then : |
14559 |
+ |
case " $CFLAGS " in |
14560 |
+ |
*" $flag "*) |
14561 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14562 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14563 |
+ |
ac_status=$? |
14564 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14565 |
+ |
test $ac_status = 0; } |
14566 |
+ |
;; |
14567 |
+ |
*) |
14568 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14569 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14570 |
+ |
ac_status=$? |
14571 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14572 |
+ |
test $ac_status = 0; } |
14573 |
+ |
CFLAGS="$CFLAGS $flag" |
14574 |
+ |
;; |
14575 |
+ |
esac |
14576 |
+ |
else |
14577 |
+ |
CFLAGS="$flag" |
14578 |
+ |
fi |
14579 |
+ |
|
14580 |
+ |
else |
14581 |
+ |
: |
14582 |
+ |
fi |
14583 |
+ |
|
14584 |
+ |
done |
14585 |
|
|
14586 |
|
|
14587 |
|
|
14588 |
< |
# Check whether --enable-efnet was given. |
14589 |
< |
if test "${enable_efnet+set}" = set; then : |
14590 |
< |
enableval=$enable_efnet; efnet="$enableval" |
14588 |
> |
|
14589 |
> |
|
14590 |
> |
for flag in -Wlogical-op; do |
14591 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14592 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14593 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14594 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14595 |
> |
$as_echo_n "(cached) " >&6 |
14596 |
|
else |
14597 |
< |
efnet="no" |
14597 |
> |
|
14598 |
> |
ax_check_save_flags=$CFLAGS |
14599 |
> |
CFLAGS="$CFLAGS $flag" |
14600 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14601 |
> |
/* end confdefs.h. */ |
14602 |
> |
|
14603 |
> |
int |
14604 |
> |
main () |
14605 |
> |
{ |
14606 |
> |
|
14607 |
> |
; |
14608 |
> |
return 0; |
14609 |
> |
} |
14610 |
> |
_ACEOF |
14611 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14612 |
> |
eval "$as_CACHEVAR=yes" |
14613 |
> |
else |
14614 |
> |
eval "$as_CACHEVAR=no" |
14615 |
> |
fi |
14616 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14617 |
> |
CFLAGS=$ax_check_save_flags |
14618 |
> |
fi |
14619 |
> |
eval ac_res=\$$as_CACHEVAR |
14620 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14621 |
> |
$as_echo "$ac_res" >&6; } |
14622 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14623 |
> |
if ${CFLAGS+:} false; then : |
14624 |
> |
case " $CFLAGS " in |
14625 |
> |
*" $flag "*) |
14626 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14627 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14628 |
> |
ac_status=$? |
14629 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14630 |
> |
test $ac_status = 0; } |
14631 |
> |
;; |
14632 |
> |
*) |
14633 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14634 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14635 |
> |
ac_status=$? |
14636 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14637 |
> |
test $ac_status = 0; } |
14638 |
> |
CFLAGS="$CFLAGS $flag" |
14639 |
> |
;; |
14640 |
> |
esac |
14641 |
> |
else |
14642 |
> |
CFLAGS="$flag" |
14643 |
|
fi |
14644 |
|
|
14645 |
< |
if test "$efnet" = "yes" ; then |
14646 |
< |
use_efnet="yes" |
14645 |
> |
else |
14646 |
> |
: |
14647 |
> |
fi |
14648 |
|
|
14649 |
< |
$as_echo "#define EFNET 1" >>confdefs.h |
14649 |
> |
done |
14650 |
|
|
14651 |
< |
else |
14652 |
< |
use_efnet="no" |
14653 |
< |
fi |
14654 |
< |
if test "$use_efnet" = "yes"; then |
14655 |
< |
EFNET_TRUE= |
14656 |
< |
EFNET_FALSE='#' |
14651 |
> |
|
14652 |
> |
|
14653 |
> |
|
14654 |
> |
|
14655 |
> |
for flag in -Wmissing-declarations; do |
14656 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14657 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14658 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14659 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14660 |
> |
$as_echo_n "(cached) " >&6 |
14661 |
|
else |
14662 |
< |
EFNET_TRUE='#' |
14663 |
< |
EFNET_FALSE= |
14662 |
> |
|
14663 |
> |
ax_check_save_flags=$CFLAGS |
14664 |
> |
CFLAGS="$CFLAGS $flag" |
14665 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14666 |
> |
/* end confdefs.h. */ |
14667 |
> |
|
14668 |
> |
int |
14669 |
> |
main () |
14670 |
> |
{ |
14671 |
> |
|
14672 |
> |
; |
14673 |
> |
return 0; |
14674 |
> |
} |
14675 |
> |
_ACEOF |
14676 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14677 |
> |
eval "$as_CACHEVAR=yes" |
14678 |
> |
else |
14679 |
> |
eval "$as_CACHEVAR=no" |
14680 |
> |
fi |
14681 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14682 |
> |
CFLAGS=$ax_check_save_flags |
14683 |
|
fi |
14684 |
+ |
eval ac_res=\$$as_CACHEVAR |
14685 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14686 |
+ |
$as_echo "$ac_res" >&6; } |
14687 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14688 |
+ |
if ${CFLAGS+:} false; then : |
14689 |
+ |
case " $CFLAGS " in |
14690 |
+ |
*" $flag "*) |
14691 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14692 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14693 |
+ |
ac_status=$? |
14694 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14695 |
+ |
test $ac_status = 0; } |
14696 |
+ |
;; |
14697 |
+ |
*) |
14698 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14699 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14700 |
+ |
ac_status=$? |
14701 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14702 |
+ |
test $ac_status = 0; } |
14703 |
+ |
CFLAGS="$CFLAGS $flag" |
14704 |
+ |
;; |
14705 |
+ |
esac |
14706 |
+ |
else |
14707 |
+ |
CFLAGS="$flag" |
14708 |
+ |
fi |
14709 |
+ |
|
14710 |
+ |
else |
14711 |
+ |
: |
14712 |
+ |
fi |
14713 |
+ |
|
14714 |
+ |
done |
14715 |
+ |
|
14716 |
+ |
|
14717 |
|
|
14718 |
|
|
14719 |
|
|
14720 |
< |
# Check whether --enable-halfops was given. |
14721 |
< |
if test "${enable_halfops+set}" = set; then : |
14722 |
< |
enableval=$enable_halfops; halfops="$enableval" |
14720 |
> |
for flag in -Wmissing-include-dirs; do |
14721 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14722 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14723 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14724 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14725 |
> |
$as_echo_n "(cached) " >&6 |
14726 |
> |
else |
14727 |
> |
|
14728 |
> |
ax_check_save_flags=$CFLAGS |
14729 |
> |
CFLAGS="$CFLAGS $flag" |
14730 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14731 |
> |
/* end confdefs.h. */ |
14732 |
> |
|
14733 |
> |
int |
14734 |
> |
main () |
14735 |
> |
{ |
14736 |
> |
|
14737 |
> |
; |
14738 |
> |
return 0; |
14739 |
> |
} |
14740 |
> |
_ACEOF |
14741 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14742 |
> |
eval "$as_CACHEVAR=yes" |
14743 |
> |
else |
14744 |
> |
eval "$as_CACHEVAR=no" |
14745 |
> |
fi |
14746 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14747 |
> |
CFLAGS=$ax_check_save_flags |
14748 |
> |
fi |
14749 |
> |
eval ac_res=\$$as_CACHEVAR |
14750 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14751 |
> |
$as_echo "$ac_res" >&6; } |
14752 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14753 |
> |
if ${CFLAGS+:} false; then : |
14754 |
> |
case " $CFLAGS " in |
14755 |
> |
*" $flag "*) |
14756 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14757 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14758 |
> |
ac_status=$? |
14759 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14760 |
> |
test $ac_status = 0; } |
14761 |
> |
;; |
14762 |
> |
*) |
14763 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14764 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14765 |
> |
ac_status=$? |
14766 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14767 |
> |
test $ac_status = 0; } |
14768 |
> |
CFLAGS="$CFLAGS $flag" |
14769 |
> |
;; |
14770 |
> |
esac |
14771 |
> |
else |
14772 |
> |
CFLAGS="$flag" |
14773 |
> |
fi |
14774 |
> |
|
14775 |
|
else |
14776 |
< |
halfops="no" |
14776 |
> |
: |
14777 |
|
fi |
14778 |
|
|
14779 |
< |
if test "$halfops" = "yes" ; then |
14779 |
> |
done |
14780 |
|
|
14476 |
– |
$as_echo "#define HALFOPS 1" >>confdefs.h |
14781 |
|
|
14478 |
– |
fi |
14782 |
|
|
14783 |
|
|
14784 |
< |
# Check whether --enable-debugging was given. |
14785 |
< |
if test "${enable_debugging+set}" = set; then : |
14786 |
< |
enableval=$enable_debugging; debugging="$enableval" |
14784 |
> |
|
14785 |
> |
for flag in -Wmissing-prototypes; do |
14786 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14787 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14788 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14789 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14790 |
> |
$as_echo_n "(cached) " >&6 |
14791 |
|
else |
14792 |
< |
debugging="no" |
14792 |
> |
|
14793 |
> |
ax_check_save_flags=$CFLAGS |
14794 |
> |
CFLAGS="$CFLAGS $flag" |
14795 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14796 |
> |
/* end confdefs.h. */ |
14797 |
> |
|
14798 |
> |
int |
14799 |
> |
main () |
14800 |
> |
{ |
14801 |
> |
|
14802 |
> |
; |
14803 |
> |
return 0; |
14804 |
> |
} |
14805 |
> |
_ACEOF |
14806 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14807 |
> |
eval "$as_CACHEVAR=yes" |
14808 |
> |
else |
14809 |
> |
eval "$as_CACHEVAR=no" |
14810 |
> |
fi |
14811 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14812 |
> |
CFLAGS=$ax_check_save_flags |
14813 |
> |
fi |
14814 |
> |
eval ac_res=\$$as_CACHEVAR |
14815 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14816 |
> |
$as_echo "$ac_res" >&6; } |
14817 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14818 |
> |
if ${CFLAGS+:} false; then : |
14819 |
> |
case " $CFLAGS " in |
14820 |
> |
*" $flag "*) |
14821 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14822 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14823 |
> |
ac_status=$? |
14824 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14825 |
> |
test $ac_status = 0; } |
14826 |
> |
;; |
14827 |
> |
*) |
14828 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14829 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14830 |
> |
ac_status=$? |
14831 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14832 |
> |
test $ac_status = 0; } |
14833 |
> |
CFLAGS="$CFLAGS $flag" |
14834 |
> |
;; |
14835 |
> |
esac |
14836 |
> |
else |
14837 |
> |
CFLAGS="$flag" |
14838 |
|
fi |
14839 |
|
|
14840 |
< |
if test "$debugging" = "yes" ; then |
14840 |
> |
else |
14841 |
> |
: |
14842 |
> |
fi |
14843 |
|
|
14844 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
14844 |
> |
done |
14845 |
|
|
14492 |
– |
CFLAGS="-Wall -g -O0" |
14493 |
– |
else |
14846 |
|
|
14495 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
14847 |
|
|
14497 |
– |
fi |
14848 |
|
|
14849 |
|
|
14850 |
< |
# Check whether --enable-warnings was given. |
14851 |
< |
if test "${enable_warnings+set}" = set; then : |
14852 |
< |
enableval=$enable_warnings; warnings="$enableval" |
14850 |
> |
for flag in -Wnested-externs; do |
14851 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14852 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14853 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14854 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14855 |
> |
$as_echo_n "(cached) " >&6 |
14856 |
|
else |
14857 |
< |
warnings="no" |
14857 |
> |
|
14858 |
> |
ax_check_save_flags=$CFLAGS |
14859 |
> |
CFLAGS="$CFLAGS $flag" |
14860 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14861 |
> |
/* end confdefs.h. */ |
14862 |
> |
|
14863 |
> |
int |
14864 |
> |
main () |
14865 |
> |
{ |
14866 |
> |
|
14867 |
> |
; |
14868 |
> |
return 0; |
14869 |
> |
} |
14870 |
> |
_ACEOF |
14871 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14872 |
> |
eval "$as_CACHEVAR=yes" |
14873 |
> |
else |
14874 |
> |
eval "$as_CACHEVAR=no" |
14875 |
> |
fi |
14876 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14877 |
> |
CFLAGS=$ax_check_save_flags |
14878 |
> |
fi |
14879 |
> |
eval ac_res=\$$as_CACHEVAR |
14880 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14881 |
> |
$as_echo "$ac_res" >&6; } |
14882 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14883 |
> |
if ${CFLAGS+:} false; then : |
14884 |
> |
case " $CFLAGS " in |
14885 |
> |
*" $flag "*) |
14886 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14887 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14888 |
> |
ac_status=$? |
14889 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14890 |
> |
test $ac_status = 0; } |
14891 |
> |
;; |
14892 |
> |
*) |
14893 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14894 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14895 |
> |
ac_status=$? |
14896 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14897 |
> |
test $ac_status = 0; } |
14898 |
> |
CFLAGS="$CFLAGS $flag" |
14899 |
> |
;; |
14900 |
> |
esac |
14901 |
> |
else |
14902 |
> |
CFLAGS="$flag" |
14903 |
|
fi |
14904 |
|
|
14905 |
< |
if test "$warnings" = "yes" ; then |
14906 |
< |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
14907 |
< |
fi |
14905 |
> |
else |
14906 |
> |
: |
14907 |
> |
fi |
14908 |
|
|
14909 |
+ |
done |
14910 |
|
|
14911 |
< |
for ac_header in syslog.h sys/syslog.h |
14912 |
< |
do : |
14913 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14914 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
14915 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
14916 |
< |
cat >>confdefs.h <<_ACEOF |
14917 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14911 |
> |
|
14912 |
> |
|
14913 |
> |
|
14914 |
> |
|
14915 |
> |
for flag in -Wpointer-arith; do |
14916 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14917 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14918 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14919 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14920 |
> |
$as_echo_n "(cached) " >&6 |
14921 |
> |
else |
14922 |
> |
|
14923 |
> |
ax_check_save_flags=$CFLAGS |
14924 |
> |
CFLAGS="$CFLAGS $flag" |
14925 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14926 |
> |
/* end confdefs.h. */ |
14927 |
> |
|
14928 |
> |
int |
14929 |
> |
main () |
14930 |
> |
{ |
14931 |
> |
|
14932 |
> |
; |
14933 |
> |
return 0; |
14934 |
> |
} |
14935 |
|
_ACEOF |
14936 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14937 |
+ |
eval "$as_CACHEVAR=yes" |
14938 |
+ |
else |
14939 |
+ |
eval "$as_CACHEVAR=no" |
14940 |
+ |
fi |
14941 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14942 |
+ |
CFLAGS=$ax_check_save_flags |
14943 |
+ |
fi |
14944 |
+ |
eval ac_res=\$$as_CACHEVAR |
14945 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14946 |
+ |
$as_echo "$ac_res" >&6; } |
14947 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14948 |
+ |
if ${CFLAGS+:} false; then : |
14949 |
+ |
case " $CFLAGS " in |
14950 |
+ |
*" $flag "*) |
14951 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14952 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14953 |
+ |
ac_status=$? |
14954 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14955 |
+ |
test $ac_status = 0; } |
14956 |
+ |
;; |
14957 |
+ |
*) |
14958 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14959 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14960 |
+ |
ac_status=$? |
14961 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14962 |
+ |
test $ac_status = 0; } |
14963 |
+ |
CFLAGS="$CFLAGS $flag" |
14964 |
+ |
;; |
14965 |
+ |
esac |
14966 |
+ |
else |
14967 |
+ |
CFLAGS="$flag" |
14968 |
+ |
fi |
14969 |
|
|
14970 |
+ |
else |
14971 |
+ |
: |
14972 |
|
fi |
14973 |
|
|
14974 |
|
done |
14975 |
|
|
14976 |
< |
# Check whether --enable-syslog was given. |
14977 |
< |
if test "${enable_syslog+set}" = set; then : |
14978 |
< |
enableval=$enable_syslog; syslog="$enableval" |
14979 |
< |
else |
14980 |
< |
syslog="no" |
14976 |
> |
|
14977 |
> |
|
14978 |
> |
|
14979 |
> |
|
14980 |
> |
for flag in -Wredundant-decls; do |
14981 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14982 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14983 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14984 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14985 |
> |
$as_echo_n "(cached) " >&6 |
14986 |
> |
else |
14987 |
> |
|
14988 |
> |
ax_check_save_flags=$CFLAGS |
14989 |
> |
CFLAGS="$CFLAGS $flag" |
14990 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14991 |
> |
/* end confdefs.h. */ |
14992 |
> |
|
14993 |
> |
int |
14994 |
> |
main () |
14995 |
> |
{ |
14996 |
> |
|
14997 |
> |
; |
14998 |
> |
return 0; |
14999 |
> |
} |
15000 |
> |
_ACEOF |
15001 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15002 |
> |
eval "$as_CACHEVAR=yes" |
15003 |
> |
else |
15004 |
> |
eval "$as_CACHEVAR=no" |
15005 |
> |
fi |
15006 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15007 |
> |
CFLAGS=$ax_check_save_flags |
15008 |
> |
fi |
15009 |
> |
eval ac_res=\$$as_CACHEVAR |
15010 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15011 |
> |
$as_echo "$ac_res" >&6; } |
15012 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15013 |
> |
if ${CFLAGS+:} false; then : |
15014 |
> |
case " $CFLAGS " in |
15015 |
> |
*" $flag "*) |
15016 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15017 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15018 |
> |
ac_status=$? |
15019 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15020 |
> |
test $ac_status = 0; } |
15021 |
> |
;; |
15022 |
> |
*) |
15023 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15024 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15025 |
> |
ac_status=$? |
15026 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15027 |
> |
test $ac_status = 0; } |
15028 |
> |
CFLAGS="$CFLAGS $flag" |
15029 |
> |
;; |
15030 |
> |
esac |
15031 |
> |
else |
15032 |
> |
CFLAGS="$flag" |
15033 |
|
fi |
15034 |
|
|
15035 |
< |
if test "$enableval" != "no" ; then |
15036 |
< |
for option in $enableval ; do |
15037 |
< |
case "$option" in |
15038 |
< |
users) |
15039 |
< |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
15040 |
< |
;; |
15041 |
< |
oper) |
15042 |
< |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
15043 |
< |
;; |
15044 |
< |
yes) : ;; |
15045 |
< |
*) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
15046 |
< |
esac |
15035 |
> |
else |
15036 |
> |
: |
15037 |
> |
fi |
15038 |
> |
|
15039 |
> |
done |
15040 |
> |
|
15041 |
> |
|
15042 |
> |
|
15043 |
> |
|
15044 |
> |
|
15045 |
> |
for flag in -Wshadow; do |
15046 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15047 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15048 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15049 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15050 |
> |
$as_echo_n "(cached) " >&6 |
15051 |
> |
else |
15052 |
> |
|
15053 |
> |
ax_check_save_flags=$CFLAGS |
15054 |
> |
CFLAGS="$CFLAGS $flag" |
15055 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15056 |
> |
/* end confdefs.h. */ |
15057 |
> |
|
15058 |
> |
int |
15059 |
> |
main () |
15060 |
> |
{ |
15061 |
> |
|
15062 |
> |
; |
15063 |
> |
return 0; |
15064 |
> |
} |
15065 |
> |
_ACEOF |
15066 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15067 |
> |
eval "$as_CACHEVAR=yes" |
15068 |
> |
else |
15069 |
> |
eval "$as_CACHEVAR=no" |
15070 |
> |
fi |
15071 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15072 |
> |
CFLAGS=$ax_check_save_flags |
15073 |
> |
fi |
15074 |
> |
eval ac_res=\$$as_CACHEVAR |
15075 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15076 |
> |
$as_echo "$ac_res" >&6; } |
15077 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15078 |
> |
if ${CFLAGS+:} false; then : |
15079 |
> |
case " $CFLAGS " in |
15080 |
> |
*" $flag "*) |
15081 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15082 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15083 |
> |
ac_status=$? |
15084 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15085 |
> |
test $ac_status = 0; } |
15086 |
> |
;; |
15087 |
> |
*) |
15088 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15089 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15090 |
> |
ac_status=$? |
15091 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15092 |
> |
test $ac_status = 0; } |
15093 |
> |
CFLAGS="$CFLAGS $flag" |
15094 |
> |
;; |
15095 |
> |
esac |
15096 |
> |
else |
15097 |
> |
CFLAGS="$flag" |
15098 |
> |
fi |
15099 |
> |
|
15100 |
> |
else |
15101 |
> |
: |
15102 |
> |
fi |
15103 |
> |
|
15104 |
> |
done |
15105 |
> |
|
15106 |
> |
|
15107 |
> |
|
15108 |
> |
|
15109 |
> |
|
15110 |
> |
for flag in -Wwrite-strings; do |
15111 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15112 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15113 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15114 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15115 |
> |
$as_echo_n "(cached) " >&6 |
15116 |
> |
else |
15117 |
> |
|
15118 |
> |
ax_check_save_flags=$CFLAGS |
15119 |
> |
CFLAGS="$CFLAGS $flag" |
15120 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15121 |
> |
/* end confdefs.h. */ |
15122 |
> |
|
15123 |
> |
int |
15124 |
> |
main () |
15125 |
> |
{ |
15126 |
> |
|
15127 |
> |
; |
15128 |
> |
return 0; |
15129 |
> |
} |
15130 |
> |
_ACEOF |
15131 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15132 |
> |
eval "$as_CACHEVAR=yes" |
15133 |
> |
else |
15134 |
> |
eval "$as_CACHEVAR=no" |
15135 |
> |
fi |
15136 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15137 |
> |
CFLAGS=$ax_check_save_flags |
15138 |
> |
fi |
15139 |
> |
eval ac_res=\$$as_CACHEVAR |
15140 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15141 |
> |
$as_echo "$ac_res" >&6; } |
15142 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15143 |
> |
if ${CFLAGS+:} false; then : |
15144 |
> |
case " $CFLAGS " in |
15145 |
> |
*" $flag "*) |
15146 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15147 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15148 |
> |
ac_status=$? |
15149 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15150 |
> |
test $ac_status = 0; } |
15151 |
> |
;; |
15152 |
> |
*) |
15153 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15154 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15155 |
> |
ac_status=$? |
15156 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15157 |
> |
test $ac_status = 0; } |
15158 |
> |
CFLAGS="$CFLAGS $flag" |
15159 |
> |
;; |
15160 |
> |
esac |
15161 |
> |
else |
15162 |
> |
CFLAGS="$flag" |
15163 |
> |
fi |
15164 |
> |
|
15165 |
> |
else |
15166 |
> |
: |
15167 |
> |
fi |
15168 |
> |
|
15169 |
> |
done |
15170 |
> |
|
15171 |
> |
|
15172 |
> |
|
15173 |
> |
|
15174 |
> |
|
15175 |
> |
for flag in -Wundef; do |
15176 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15177 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15178 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15179 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15180 |
> |
$as_echo_n "(cached) " >&6 |
15181 |
> |
else |
15182 |
> |
|
15183 |
> |
ax_check_save_flags=$CFLAGS |
15184 |
> |
CFLAGS="$CFLAGS $flag" |
15185 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15186 |
> |
/* end confdefs.h. */ |
15187 |
> |
|
15188 |
> |
int |
15189 |
> |
main () |
15190 |
> |
{ |
15191 |
> |
|
15192 |
> |
; |
15193 |
> |
return 0; |
15194 |
> |
} |
15195 |
> |
_ACEOF |
15196 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15197 |
> |
eval "$as_CACHEVAR=yes" |
15198 |
> |
else |
15199 |
> |
eval "$as_CACHEVAR=no" |
15200 |
> |
fi |
15201 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15202 |
> |
CFLAGS=$ax_check_save_flags |
15203 |
> |
fi |
15204 |
> |
eval ac_res=\$$as_CACHEVAR |
15205 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15206 |
> |
$as_echo "$ac_res" >&6; } |
15207 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15208 |
> |
if ${CFLAGS+:} false; then : |
15209 |
> |
case " $CFLAGS " in |
15210 |
> |
*" $flag "*) |
15211 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15212 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15213 |
> |
ac_status=$? |
15214 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15215 |
> |
test $ac_status = 0; } |
15216 |
> |
;; |
15217 |
> |
*) |
15218 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15219 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15220 |
> |
ac_status=$? |
15221 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15222 |
> |
test $ac_status = 0; } |
15223 |
> |
CFLAGS="$CFLAGS $flag" |
15224 |
> |
;; |
15225 |
> |
esac |
15226 |
> |
else |
15227 |
> |
CFLAGS="$flag" |
15228 |
> |
fi |
15229 |
> |
|
15230 |
> |
else |
15231 |
> |
: |
15232 |
> |
fi |
15233 |
> |
|
15234 |
> |
done |
15235 |
> |
|
15236 |
> |
fi |
15237 |
> |
|
15238 |
> |
|
15239 |
> |
# Check whether --enable-openssl was given. |
15240 |
> |
if test "${enable_openssl+set}" = set; then : |
15241 |
> |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
15242 |
> |
else |
15243 |
> |
cf_enable_openssl="auto" |
15244 |
> |
fi |
15245 |
> |
|
15246 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
15247 |
> |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
15248 |
> |
if test "$cf_enable_openssl" != "no"; then |
15249 |
> |
cf_openssl_basedir="" |
15250 |
> |
if test "$cf_enable_openssl" != "auto" && |
15251 |
> |
test "$cf_enable_openssl" != "yes"; then |
15252 |
> |
cf_openssl_basedir="${cf_enable_openssl}" |
15253 |
> |
else |
15254 |
> |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
15255 |
> |
/opt /opt/openssl /usr/local/openssl; do |
15256 |
> |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
15257 |
> |
cf_openssl_basedir="${dirs}" |
15258 |
> |
break |
15259 |
> |
fi |
15260 |
|
done |
15261 |
+ |
unset dirs |
15262 |
+ |
fi |
15263 |
|
|
15264 |
< |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
15264 |
> |
if test ! -z "$cf_openssl_basedir"; then |
15265 |
> |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
15266 |
> |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
15267 |
> |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
15268 |
> |
else |
15269 |
> |
cf_openssl_basedir="" |
15270 |
> |
fi |
15271 |
> |
else |
15272 |
> |
if test -f "/usr/include/openssl/opensslv.h"; then |
15273 |
> |
cf_openssl_basedir="/usr" |
15274 |
> |
fi |
15275 |
> |
fi |
15276 |
|
|
15277 |
+ |
if test ! -z "$cf_openssl_basedir"; then |
15278 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
15279 |
+ |
$as_echo "$cf_openssl_basedir" >&6; } |
15280 |
+ |
cf_enable_openssl="yes" |
15281 |
+ |
else |
15282 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
15283 |
+ |
$as_echo "not found. Please check your path." >&6; } |
15284 |
+ |
cf_enable_openssl="no" |
15285 |
|
fi |
15286 |
+ |
unset cf_openssl_basedir |
15287 |
+ |
else |
15288 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
15289 |
+ |
$as_echo "disabled" >&6; } |
15290 |
+ |
fi |
15291 |
+ |
|
15292 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
15293 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL or OpenSSL 0.9.8o and above" >&5 |
15294 |
+ |
$as_echo_n "checking for LibreSSL or OpenSSL 0.9.8o and above... " >&6; } |
15295 |
+ |
if test "$cross_compiling" = yes; then : |
15296 |
+ |
cf_openssl_version_ok=no |
15297 |
+ |
else |
15298 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15299 |
+ |
/* end confdefs.h. */ |
15300 |
+ |
|
15301 |
+ |
|
15302 |
+ |
#include <openssl/opensslv.h> |
15303 |
+ |
#include <stdlib.h> |
15304 |
+ |
int |
15305 |
+ |
main () |
15306 |
+ |
{ |
15307 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
15308 |
+ |
; |
15309 |
+ |
return 0; |
15310 |
+ |
} |
15311 |
+ |
_ACEOF |
15312 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
15313 |
+ |
cf_openssl_version_ok=yes |
15314 |
+ |
else |
15315 |
+ |
cf_openssl_version_ok=no |
15316 |
+ |
fi |
15317 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
15318 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
15319 |
+ |
fi |
15320 |
+ |
|
15321 |
+ |
|
15322 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
15323 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
15324 |
+ |
$as_echo "found" >&6; } |
15325 |
+ |
|
15326 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
15327 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
15328 |
+ |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
15329 |
+ |
$as_echo_n "(cached) " >&6 |
15330 |
+ |
else |
15331 |
+ |
ac_check_lib_save_LIBS=$LIBS |
15332 |
+ |
LIBS="-lcrypto $LIBS" |
15333 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15334 |
+ |
/* end confdefs.h. */ |
15335 |
+ |
|
15336 |
+ |
/* Override any GCC internal prototype to avoid an error. |
15337 |
+ |
Use char because int might match the return type of a GCC |
15338 |
+ |
builtin and then its argument prototype would still apply. */ |
15339 |
+ |
#ifdef __cplusplus |
15340 |
+ |
extern "C" |
15341 |
+ |
#endif |
15342 |
+ |
char RSA_free (); |
15343 |
+ |
int |
15344 |
+ |
main () |
15345 |
+ |
{ |
15346 |
+ |
return RSA_free (); |
15347 |
+ |
; |
15348 |
+ |
return 0; |
15349 |
+ |
} |
15350 |
+ |
_ACEOF |
15351 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
15352 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
15353 |
+ |
else |
15354 |
+ |
ac_cv_lib_crypto_RSA_free=no |
15355 |
+ |
fi |
15356 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
15357 |
+ |
conftest$ac_exeext conftest.$ac_ext |
15358 |
+ |
LIBS=$ac_check_lib_save_LIBS |
15359 |
+ |
fi |
15360 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
15361 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
15362 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
15363 |
+ |
cat >>confdefs.h <<_ACEOF |
15364 |
+ |
#define HAVE_LIBCRYPTO 1 |
15365 |
+ |
_ACEOF |
15366 |
+ |
|
15367 |
+ |
LIBS="-lcrypto $LIBS" |
15368 |
+ |
|
15369 |
+ |
fi |
15370 |
+ |
|
15371 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
15372 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
15373 |
+ |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
15374 |
+ |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
15375 |
+ |
$as_echo_n "(cached) " >&6 |
15376 |
+ |
else |
15377 |
+ |
ac_check_lib_save_LIBS=$LIBS |
15378 |
+ |
LIBS="-lssl $LIBS" |
15379 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15380 |
+ |
/* end confdefs.h. */ |
15381 |
+ |
|
15382 |
+ |
/* Override any GCC internal prototype to avoid an error. |
15383 |
+ |
Use char because int might match the return type of a GCC |
15384 |
+ |
builtin and then its argument prototype would still apply. */ |
15385 |
+ |
#ifdef __cplusplus |
15386 |
+ |
extern "C" |
15387 |
+ |
#endif |
15388 |
+ |
char SSL_connect (); |
15389 |
+ |
int |
15390 |
+ |
main () |
15391 |
+ |
{ |
15392 |
+ |
return SSL_connect (); |
15393 |
+ |
; |
15394 |
+ |
return 0; |
15395 |
+ |
} |
15396 |
+ |
_ACEOF |
15397 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
15398 |
+ |
ac_cv_lib_ssl_SSL_connect=yes |
15399 |
+ |
else |
15400 |
+ |
ac_cv_lib_ssl_SSL_connect=no |
15401 |
+ |
fi |
15402 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
15403 |
+ |
conftest$ac_exeext conftest.$ac_ext |
15404 |
+ |
LIBS=$ac_check_lib_save_LIBS |
15405 |
+ |
fi |
15406 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
15407 |
+ |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
15408 |
+ |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
15409 |
+ |
cat >>confdefs.h <<_ACEOF |
15410 |
+ |
#define HAVE_LIBSSL 1 |
15411 |
+ |
_ACEOF |
15412 |
+ |
|
15413 |
+ |
LIBS="-lssl $LIBS" |
15414 |
+ |
|
15415 |
+ |
fi |
15416 |
+ |
|
15417 |
+ |
fi |
15418 |
+ |
|
15419 |
+ |
else |
15420 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
15421 |
+ |
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
15422 |
+ |
cf_enable_openssl="no" |
15423 |
+ |
fi |
15424 |
+ |
fi |
15425 |
+ |
|
15426 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
15427 |
+ |
ENABLE_SSL_TRUE= |
15428 |
+ |
ENABLE_SSL_FALSE='#' |
15429 |
+ |
else |
15430 |
+ |
ENABLE_SSL_TRUE='#' |
15431 |
+ |
ENABLE_SSL_FALSE= |
15432 |
+ |
fi |
15433 |
+ |
|
15434 |
|
|
15435 |
|
|
15436 |
|
|
15519 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
15520 |
|
|
15521 |
|
|
15522 |
< |
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" |
15522 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
15523 |
|
|
15524 |
|
|
15525 |
|
cat >confcache <<\_ACEOF |
15631 |
|
LTLIBOBJS=$ac_ltlibobjs |
15632 |
|
|
15633 |
|
|
15634 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
15635 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
15636 |
+ |
if test -n "$am_sleep_pid"; then |
15637 |
+ |
# Hide warnings about reused PIDs. |
15638 |
+ |
wait $am_sleep_pid 2>/dev/null |
15639 |
+ |
fi |
15640 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
15641 |
+ |
$as_echo "done" >&6; } |
15642 |
|
if test -n "$EXEEXT"; then |
15643 |
|
am__EXEEXT_TRUE= |
15644 |
|
am__EXEEXT_FALSE='#' |
15685 |
|
|
15686 |
|
|
15687 |
|
|
14795 |
– |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
14796 |
– |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
14797 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14798 |
– |
fi |
15688 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
15689 |
|
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
15690 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15691 |
|
fi |
14803 |
– |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
14804 |
– |
as_fn_error $? "conditional \"EFNET\" was never defined. |
14805 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14806 |
– |
fi |
15692 |
|
|
15693 |
|
: "${CONFIG_STATUS=./config.status}" |
15694 |
|
ac_write_fail=0 |
15987 |
|
# ... but there are two gotchas: |
15988 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
15989 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
15990 |
< |
# In both cases, we have to default to `cp -p'. |
15990 |
> |
# In both cases, we have to default to `cp -pR'. |
15991 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
15992 |
< |
as_ln_s='cp -p' |
15992 |
> |
as_ln_s='cp -pR' |
15993 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
15994 |
|
as_ln_s=ln |
15995 |
|
else |
15996 |
< |
as_ln_s='cp -p' |
15996 |
> |
as_ln_s='cp -pR' |
15997 |
|
fi |
15998 |
|
else |
15999 |
< |
as_ln_s='cp -p' |
15999 |
> |
as_ln_s='cp -pR' |
16000 |
|
fi |
16001 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
16002 |
|
rmdir conf$$.dir 2>/dev/null |
16056 |
|
as_mkdir_p=false |
16057 |
|
fi |
16058 |
|
|
16059 |
< |
if test -x / >/dev/null 2>&1; then |
16060 |
< |
as_test_x='test -x' |
16061 |
< |
else |
16062 |
< |
if ls -dL / >/dev/null 2>&1; then |
16063 |
< |
as_ls_L_option=L |
16064 |
< |
else |
16065 |
< |
as_ls_L_option= |
16066 |
< |
fi |
16067 |
< |
as_test_x=' |
16068 |
< |
eval sh -c '\'' |
15184 |
< |
if test -d "$1"; then |
15185 |
< |
test -d "$1/."; |
15186 |
< |
else |
15187 |
< |
case $1 in #( |
15188 |
< |
-*)set "./$1";; |
15189 |
< |
esac; |
15190 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
15191 |
< |
???[sx]*):;;*)false;;esac;fi |
15192 |
< |
'\'' sh |
15193 |
< |
' |
15194 |
< |
fi |
15195 |
< |
as_executable_p=$as_test_x |
16059 |
> |
|
16060 |
> |
# as_fn_executable_p FILE |
16061 |
> |
# ----------------------- |
16062 |
> |
# Test if FILE is an executable regular file. |
16063 |
> |
as_fn_executable_p () |
16064 |
> |
{ |
16065 |
> |
test -f "$1" && test -x "$1" |
16066 |
> |
} # as_fn_executable_p |
16067 |
> |
as_test_x='test -x' |
16068 |
> |
as_executable_p=as_fn_executable_p |
16069 |
|
|
16070 |
|
# Sed expression to map a string onto a valid CPP name. |
16071 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
16086 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
16087 |
|
# values after options handling. |
16088 |
|
ac_log=" |
16089 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
16090 |
< |
generated by GNU Autoconf 2.68. Invocation command line was |
16089 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
16090 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
16091 |
|
|
16092 |
|
CONFIG_FILES = $CONFIG_FILES |
16093 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
16152 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16153 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
16154 |
|
ac_cs_version="\\ |
16155 |
< |
ircd-hybrid config.status 8beta1 |
16156 |
< |
configured by $0, generated by GNU Autoconf 2.68, |
16155 |
> |
ircd-hybrid config.status TRUNK |
16156 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
16157 |
|
with options \\"\$ac_cs_config\\" |
16158 |
|
|
16159 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
16159 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
16160 |
|
This config.status script is free software; the Free Software Foundation |
16161 |
|
gives unlimited permission to copy, distribute and modify it." |
16162 |
|
|
16247 |
|
_ACEOF |
16248 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16249 |
|
if \$ac_cs_recheck; then |
16250 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16250 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16251 |
|
shift |
16252 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
16253 |
|
CONFIG_SHELL='$SHELL' |
16289 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
16290 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
16291 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
16292 |
+ |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
16293 |
|
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
16294 |
|
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
16295 |
|
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
16372 |
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
16373 |
|
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
16374 |
|
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
15501 |
– |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
16375 |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
16376 |
|
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
16377 |
|
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
16427 |
|
# Quote evaled strings. |
16428 |
|
for var in SHELL \ |
16429 |
|
ECHO \ |
16430 |
+ |
PATH_SEPARATOR \ |
16431 |
|
SED \ |
16432 |
|
GREP \ |
16433 |
|
EGREP \ |
16478 |
|
allow_undefined_flag \ |
16479 |
|
no_undefined_flag \ |
16480 |
|
hardcode_libdir_flag_spec \ |
15607 |
– |
hardcode_libdir_flag_spec_ld \ |
16481 |
|
hardcode_libdir_separator \ |
16482 |
|
exclude_expsyms \ |
16483 |
|
include_expsyms \ |
16562 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
16563 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
16564 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
15692 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
15693 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
15694 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
15695 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
16565 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16566 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15698 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
16567 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
16568 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
16569 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16570 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
15703 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
15704 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
16571 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
16572 |
|
|
16573 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
17165 |
|
|
17166 |
|
case $ac_file$ac_mode in |
17167 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
17168 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
17168 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
17169 |
|
# are listed without --file. Let's play safe and only enable the eval |
17170 |
|
# if we detect the quoting. |
17171 |
|
case $CONFIG_FILES in |
17178 |
|
# Strip MF so we end up with the name of the file. |
17179 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
17180 |
|
# Check whether this is an Automake generated Makefile or not. |
17181 |
< |
# We used to match only the files named `Makefile.in', but |
17181 |
> |
# We used to match only the files named 'Makefile.in', but |
17182 |
|
# some people rename them; so instead we look at the file content. |
17183 |
|
# Grep'ing the first line is not enough: some people post-process |
17184 |
|
# each Makefile.in and add a new line on top of each file to say so. |
17212 |
|
continue |
17213 |
|
fi |
17214 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
17215 |
< |
# from the Makefile without running `make'. |
17215 |
> |
# from the Makefile without running 'make'. |
17216 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
17217 |
|
test -z "$DEPDIR" && continue |
17218 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
17219 |
< |
test -z "am__include" && continue |
17219 |
> |
test -z "$am__include" && continue |
17220 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
16355 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
16356 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
17221 |
|
# Find all dependency output files, they are included files with |
17222 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
17223 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
17224 |
|
# expansion. |
17225 |
|
for file in `sed -n " |
17226 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
17227 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
17227 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
17228 |
|
# Make sure the directory exists. |
17229 |
|
test -f "$dirpart/$file" && continue |
17230 |
|
fdir=`$as_dirname -- "$file" || |
17278 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
17279 |
|
# |
17280 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
17281 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
17282 |
< |
# Inc. |
17281 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
17282 |
> |
# Foundation, Inc. |
17283 |
|
# Written by Gordon Matzigkeit, 1996 |
17284 |
|
# |
17285 |
|
# This file is part of GNU Libtool. |
17333 |
|
# An echo program that protects backslashes. |
17334 |
|
ECHO=$lt_ECHO |
17335 |
|
|
17336 |
+ |
# The PATH separator for the build system. |
17337 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
17338 |
+ |
|
17339 |
|
# The host system. |
17340 |
|
host_alias=$host_alias |
17341 |
|
host=$host |
17637 |
|
# This must work even if \$libdir does not exist |
17638 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
17639 |
|
|
16773 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
16774 |
– |
# during linking. This must work even if \$libdir does not exist. |
16775 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
16776 |
– |
|
17640 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
17641 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
17642 |
|
|