| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1402 2012-05-09 18:42:45Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2228 2013-06-13 19:46:30Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 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 |
|
# |
| 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 |
|
|
| 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 |
| 733 |
|
am__leading_dot |
| 734 |
|
SET_MAKE |
| 735 |
|
AWK |
| 736 |
+ |
mkdir_p |
| 737 |
|
MKDIR_P |
| 738 |
|
INSTALL_STRIP_PROGRAM |
| 739 |
|
STRIP |
| 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 |
< |
enable_libpcre |
| 808 |
> |
enable_libGeoIP |
| 809 |
|
enable_openssl |
| 810 |
|
enable_assert |
| 805 |
– |
enable_small_net |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 809 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 812 |
– |
with_nicklen |
| 813 |
– |
with_topiclen |
| 816 |
|
enable_halfops |
| 817 |
|
enable_debugging |
| 818 |
|
enable_warnings |
| 1368 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1369 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1370 |
|
cat <<_ACEOF |
| 1371 |
< |
\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. |
| 1371 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
| 1372 |
|
|
| 1373 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1374 |
|
|
| 1438 |
|
|
| 1439 |
|
if test -n "$ac_init_help"; then |
| 1440 |
|
case $ac_init_help in |
| 1441 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; |
| 1441 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
| 1442 |
|
esac |
| 1443 |
|
cat <<\_ACEOF |
| 1444 |
|
|
| 1446 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
| 1447 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1448 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1449 |
+ |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1450 |
+ |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1451 |
|
--enable-maintainer-mode |
| 1452 |
|
enable make rules and dependencies not useful (and |
| 1453 |
|
sometimes confusing) to the casual installer |
| 1461 |
|
optimize for fast installation [default=yes] |
| 1462 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1463 |
|
--enable-ltdl-install install libltdl |
| 1464 |
< |
--disable-libpcre Disable PCRE support |
| 1464 |
> |
--disable-libgeoip Disable GeoIP support |
| 1465 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1466 |
|
--disable-openssl Disable OpenSSL support. |
| 1467 |
|
--enable-assert Enable assert() statements |
| 1464 |
– |
--enable-small-net Enable small network support. |
| 1468 |
|
--enable-kqueue Force kqueue usage. |
| 1469 |
|
--enable-epoll Force epoll usage. |
| 1470 |
|
--enable-devpoll Force devpoll usage. |
| 1468 |
– |
--enable-rtsigio Force rtsigio usage. |
| 1471 |
|
--enable-poll Force poll usage. |
| 1472 |
|
--enable-select Force select usage. |
| 1473 |
|
--enable-halfops Enable halfops support. |
| 1485 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1486 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1487 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1486 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1487 |
– |
--with-topiclen=<value> Set topic length (default 160). |
| 1488 |
|
|
| 1489 |
|
Some influential environment variables: |
| 1490 |
|
CC C compiler command |
| 1568 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1569 |
|
if $ac_init_version; then |
| 1570 |
|
cat <<\_ACEOF |
| 1571 |
< |
ircd-hybrid configure 8beta1 |
| 1571 |
> |
ircd-hybrid configure TRUNK |
| 1572 |
|
generated by GNU Autoconf 2.69 |
| 1573 |
|
|
| 1574 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1943 |
|
|
| 1944 |
|
} # ac_fn_c_check_type |
| 1945 |
|
|
| 1946 |
+ |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 1947 |
+ |
# -------------------------------------------- |
| 1948 |
+ |
# Tries to find the compile-time value of EXPR in a program that includes |
| 1949 |
+ |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
| 1950 |
+ |
# computed |
| 1951 |
+ |
ac_fn_c_compute_int () |
| 1952 |
+ |
{ |
| 1953 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1954 |
+ |
if test "$cross_compiling" = yes; then |
| 1955 |
+ |
# Depending upon the size, compute the lo and hi bounds. |
| 1956 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1957 |
+ |
/* end confdefs.h. */ |
| 1958 |
+ |
$4 |
| 1959 |
+ |
int |
| 1960 |
+ |
main () |
| 1961 |
+ |
{ |
| 1962 |
+ |
static int test_array [1 - 2 * !(($2) >= 0)]; |
| 1963 |
+ |
test_array [0] = 0; |
| 1964 |
+ |
return test_array [0]; |
| 1965 |
+ |
|
| 1966 |
+ |
; |
| 1967 |
+ |
return 0; |
| 1968 |
+ |
} |
| 1969 |
+ |
_ACEOF |
| 1970 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1971 |
+ |
ac_lo=0 ac_mid=0 |
| 1972 |
+ |
while :; do |
| 1973 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1974 |
+ |
/* end confdefs.h. */ |
| 1975 |
+ |
$4 |
| 1976 |
+ |
int |
| 1977 |
+ |
main () |
| 1978 |
+ |
{ |
| 1979 |
+ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 1980 |
+ |
test_array [0] = 0; |
| 1981 |
+ |
return test_array [0]; |
| 1982 |
+ |
|
| 1983 |
+ |
; |
| 1984 |
+ |
return 0; |
| 1985 |
+ |
} |
| 1986 |
+ |
_ACEOF |
| 1987 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1988 |
+ |
ac_hi=$ac_mid; break |
| 1989 |
+ |
else |
| 1990 |
+ |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
| 1991 |
+ |
if test $ac_lo -le $ac_mid; then |
| 1992 |
+ |
ac_lo= ac_hi= |
| 1993 |
+ |
break |
| 1994 |
+ |
fi |
| 1995 |
+ |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
| 1996 |
+ |
fi |
| 1997 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1998 |
+ |
done |
| 1999 |
+ |
else |
| 2000 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2001 |
+ |
/* end confdefs.h. */ |
| 2002 |
+ |
$4 |
| 2003 |
+ |
int |
| 2004 |
+ |
main () |
| 2005 |
+ |
{ |
| 2006 |
+ |
static int test_array [1 - 2 * !(($2) < 0)]; |
| 2007 |
+ |
test_array [0] = 0; |
| 2008 |
+ |
return test_array [0]; |
| 2009 |
+ |
|
| 2010 |
+ |
; |
| 2011 |
+ |
return 0; |
| 2012 |
+ |
} |
| 2013 |
+ |
_ACEOF |
| 2014 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2015 |
+ |
ac_hi=-1 ac_mid=-1 |
| 2016 |
+ |
while :; do |
| 2017 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2018 |
+ |
/* end confdefs.h. */ |
| 2019 |
+ |
$4 |
| 2020 |
+ |
int |
| 2021 |
+ |
main () |
| 2022 |
+ |
{ |
| 2023 |
+ |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2024 |
+ |
test_array [0] = 0; |
| 2025 |
+ |
return test_array [0]; |
| 2026 |
+ |
|
| 2027 |
+ |
; |
| 2028 |
+ |
return 0; |
| 2029 |
+ |
} |
| 2030 |
+ |
_ACEOF |
| 2031 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2032 |
+ |
ac_lo=$ac_mid; break |
| 2033 |
+ |
else |
| 2034 |
+ |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
| 2035 |
+ |
if test $ac_mid -le $ac_hi; then |
| 2036 |
+ |
ac_lo= ac_hi= |
| 2037 |
+ |
break |
| 2038 |
+ |
fi |
| 2039 |
+ |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
| 2040 |
+ |
fi |
| 2041 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2042 |
+ |
done |
| 2043 |
+ |
else |
| 2044 |
+ |
ac_lo= ac_hi= |
| 2045 |
+ |
fi |
| 2046 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2047 |
+ |
fi |
| 2048 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2049 |
+ |
# Binary search between lo and hi bounds. |
| 2050 |
+ |
while test "x$ac_lo" != "x$ac_hi"; do |
| 2051 |
+ |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
| 2052 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2053 |
+ |
/* end confdefs.h. */ |
| 2054 |
+ |
$4 |
| 2055 |
+ |
int |
| 2056 |
+ |
main () |
| 2057 |
+ |
{ |
| 2058 |
+ |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2059 |
+ |
test_array [0] = 0; |
| 2060 |
+ |
return test_array [0]; |
| 2061 |
+ |
|
| 2062 |
+ |
; |
| 2063 |
+ |
return 0; |
| 2064 |
+ |
} |
| 2065 |
+ |
_ACEOF |
| 2066 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2067 |
+ |
ac_hi=$ac_mid |
| 2068 |
+ |
else |
| 2069 |
+ |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 2070 |
+ |
fi |
| 2071 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2072 |
+ |
done |
| 2073 |
+ |
case $ac_lo in #(( |
| 2074 |
+ |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 2075 |
+ |
'') ac_retval=1 ;; |
| 2076 |
+ |
esac |
| 2077 |
+ |
else |
| 2078 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2079 |
+ |
/* end confdefs.h. */ |
| 2080 |
+ |
$4 |
| 2081 |
+ |
static long int longval () { return $2; } |
| 2082 |
+ |
static unsigned long int ulongval () { return $2; } |
| 2083 |
+ |
#include <stdio.h> |
| 2084 |
+ |
#include <stdlib.h> |
| 2085 |
+ |
int |
| 2086 |
+ |
main () |
| 2087 |
+ |
{ |
| 2088 |
+ |
|
| 2089 |
+ |
FILE *f = fopen ("conftest.val", "w"); |
| 2090 |
+ |
if (! f) |
| 2091 |
+ |
return 1; |
| 2092 |
+ |
if (($2) < 0) |
| 2093 |
+ |
{ |
| 2094 |
+ |
long int i = longval (); |
| 2095 |
+ |
if (i != ($2)) |
| 2096 |
+ |
return 1; |
| 2097 |
+ |
fprintf (f, "%ld", i); |
| 2098 |
+ |
} |
| 2099 |
+ |
else |
| 2100 |
+ |
{ |
| 2101 |
+ |
unsigned long int i = ulongval (); |
| 2102 |
+ |
if (i != ($2)) |
| 2103 |
+ |
return 1; |
| 2104 |
+ |
fprintf (f, "%lu", i); |
| 2105 |
+ |
} |
| 2106 |
+ |
/* Do not output a trailing newline, as this causes \r\n confusion |
| 2107 |
+ |
on some platforms. */ |
| 2108 |
+ |
return ferror (f) || fclose (f) != 0; |
| 2109 |
+ |
|
| 2110 |
+ |
; |
| 2111 |
+ |
return 0; |
| 2112 |
+ |
} |
| 2113 |
+ |
_ACEOF |
| 2114 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 2115 |
+ |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 2116 |
+ |
else |
| 2117 |
+ |
ac_retval=1 |
| 2118 |
+ |
fi |
| 2119 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 2120 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2121 |
+ |
rm -f conftest.val |
| 2122 |
+ |
|
| 2123 |
+ |
fi |
| 2124 |
+ |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2125 |
+ |
as_fn_set_status $ac_retval |
| 2126 |
+ |
|
| 2127 |
+ |
} # ac_fn_c_compute_int |
| 2128 |
+ |
|
| 2129 |
|
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 2130 |
|
# ---------------------------------------------------- |
| 2131 |
|
# Tries to find if the field MEMBER exists in type AGGR, after including |
| 2277 |
|
This file contains any messages produced by compilers while |
| 2278 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2279 |
|
|
| 2280 |
< |
It was created by ircd-hybrid $as_me 8beta1, which was |
| 2280 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
| 2281 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 2282 |
|
|
| 2283 |
|
$ $0 $@ |
| 2557 |
|
>$cache_file |
| 2558 |
|
fi |
| 2559 |
|
|
| 2377 |
– |
as_fn_append ac_func_list " mmap" |
| 2560 |
|
as_fn_append ac_func_list " strtok_r" |
| 2561 |
|
as_fn_append ac_func_list " usleep" |
| 2562 |
|
as_fn_append ac_func_list " strlcat" |
| 2636 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2637 |
|
|
| 2638 |
|
|
| 2639 |
< |
am__api_version='1.12' |
| 2639 |
> |
am__api_version='1.13' |
| 2640 |
|
|
| 2641 |
|
ac_aux_dir= |
| 2642 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2849 |
|
esac |
| 2850 |
|
fi |
| 2851 |
|
# Use eval to expand $SHELL |
| 2852 |
< |
if eval "$MISSING --run true"; then |
| 2853 |
< |
am_missing_run="$MISSING --run " |
| 2852 |
> |
if eval "$MISSING --is-lightweight"; then |
| 2853 |
> |
am_missing_run="$MISSING " |
| 2854 |
|
else |
| 2855 |
|
am_missing_run= |
| 2856 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 3090 |
|
fi |
| 3091 |
|
rmdir .tst 2>/dev/null |
| 3092 |
|
|
| 3093 |
+ |
# Check whether --enable-silent-rules was given. |
| 3094 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
| 3095 |
+ |
enableval=$enable_silent_rules; |
| 3096 |
+ |
fi |
| 3097 |
+ |
|
| 3098 |
+ |
case $enable_silent_rules in # ((( |
| 3099 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 3100 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
| 3101 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
| 3102 |
+ |
esac |
| 3103 |
+ |
am_make=${MAKE-make} |
| 3104 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3105 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 3106 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 3107 |
+ |
$as_echo_n "(cached) " >&6 |
| 3108 |
+ |
else |
| 3109 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
| 3110 |
+ |
BAR0=false |
| 3111 |
+ |
BAR1=true |
| 3112 |
+ |
V=1 |
| 3113 |
+ |
am__doit: |
| 3114 |
+ |
@$(TRUE) |
| 3115 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 3116 |
+ |
am_cv_make_support_nested_variables=yes |
| 3117 |
+ |
else |
| 3118 |
+ |
am_cv_make_support_nested_variables=no |
| 3119 |
+ |
fi |
| 3120 |
+ |
fi |
| 3121 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3122 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 3123 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
| 3124 |
+ |
AM_V='$(V)' |
| 3125 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3126 |
+ |
else |
| 3127 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
| 3128 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3129 |
+ |
fi |
| 3130 |
+ |
AM_BACKSLASH='\' |
| 3131 |
+ |
|
| 3132 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 3133 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3134 |
|
# is not polluted with repeated "-I." |
| 3151 |
|
|
| 3152 |
|
# Define the identity of the package. |
| 3153 |
|
PACKAGE='ircd-hybrid' |
| 3154 |
< |
VERSION='8beta1' |
| 3154 |
> |
VERSION='TRUNK' |
| 3155 |
|
|
| 3156 |
|
|
| 3157 |
|
cat >>confdefs.h <<_ACEOF |
| 3179 |
|
|
| 3180 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3181 |
|
|
| 3182 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 3183 |
+ |
# dies out for good. For more background, see: |
| 3184 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3185 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3186 |
+ |
mkdir_p='$(MKDIR_P)' |
| 3187 |
+ |
|
| 3188 |
|
# We need awk for the "check" target. The system "awk" is bad on |
| 3189 |
|
# some platforms. |
| 3190 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3191 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 3192 |
|
AMTAR='$${TAR-tar}' |
| 3193 |
|
|
| 3194 |
+ |
|
| 3195 |
+ |
# We'll loop over all known methods to create a tar archive until one works. |
| 3196 |
+ |
_am_tools='gnutar pax cpio none' |
| 3197 |
+ |
|
| 3198 |
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3199 |
|
|
| 3200 |
|
|
| 3202 |
|
|
| 3203 |
|
|
| 3204 |
|
|
| 3205 |
+ |
|
| 3206 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3207 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3208 |
|
# Check whether --enable-maintainer-mode was given. |
| 13253 |
|
|
| 13254 |
|
LIBTOOL="$LIBTOOL --silent" |
| 13255 |
|
|
| 13256 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13257 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13258 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13259 |
+ |
# This bug is HP SR number 8606223364. |
| 13260 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 |
| 13261 |
+ |
$as_echo_n "checking size of short... " >&6; } |
| 13262 |
+ |
if ${ac_cv_sizeof_short+:} false; then : |
| 13263 |
+ |
$as_echo_n "(cached) " >&6 |
| 13264 |
+ |
else |
| 13265 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : |
| 13266 |
+ |
|
| 13267 |
+ |
else |
| 13268 |
+ |
if test "$ac_cv_type_short" = yes; then |
| 13269 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13270 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13271 |
+ |
as_fn_error 77 "cannot compute sizeof (short) |
| 13272 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13273 |
+ |
else |
| 13274 |
+ |
ac_cv_sizeof_short=0 |
| 13275 |
+ |
fi |
| 13276 |
+ |
fi |
| 13277 |
+ |
|
| 13278 |
+ |
fi |
| 13279 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 |
| 13280 |
+ |
$as_echo "$ac_cv_sizeof_short" >&6; } |
| 13281 |
+ |
|
| 13282 |
+ |
|
| 13283 |
+ |
|
| 13284 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13285 |
+ |
#define SIZEOF_SHORT $ac_cv_sizeof_short |
| 13286 |
+ |
_ACEOF |
| 13287 |
+ |
|
| 13288 |
+ |
|
| 13289 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13290 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13291 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13292 |
+ |
# This bug is HP SR number 8606223364. |
| 13293 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
| 13294 |
+ |
$as_echo_n "checking size of int... " >&6; } |
| 13295 |
+ |
if ${ac_cv_sizeof_int+:} false; then : |
| 13296 |
+ |
$as_echo_n "(cached) " >&6 |
| 13297 |
+ |
else |
| 13298 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : |
| 13299 |
+ |
|
| 13300 |
+ |
else |
| 13301 |
+ |
if test "$ac_cv_type_int" = yes; then |
| 13302 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13303 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13304 |
+ |
as_fn_error 77 "cannot compute sizeof (int) |
| 13305 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13306 |
+ |
else |
| 13307 |
+ |
ac_cv_sizeof_int=0 |
| 13308 |
+ |
fi |
| 13309 |
+ |
fi |
| 13310 |
+ |
|
| 13311 |
+ |
fi |
| 13312 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
| 13313 |
+ |
$as_echo "$ac_cv_sizeof_int" >&6; } |
| 13314 |
+ |
|
| 13315 |
+ |
|
| 13316 |
+ |
|
| 13317 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13318 |
+ |
#define SIZEOF_INT $ac_cv_sizeof_int |
| 13319 |
+ |
_ACEOF |
| 13320 |
+ |
|
| 13321 |
+ |
|
| 13322 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13323 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13324 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13325 |
+ |
# This bug is HP SR number 8606223364. |
| 13326 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
| 13327 |
+ |
$as_echo_n "checking size of long... " >&6; } |
| 13328 |
+ |
if ${ac_cv_sizeof_long+:} false; then : |
| 13329 |
+ |
$as_echo_n "(cached) " >&6 |
| 13330 |
+ |
else |
| 13331 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
| 13332 |
+ |
|
| 13333 |
+ |
else |
| 13334 |
+ |
if test "$ac_cv_type_long" = yes; then |
| 13335 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13336 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13337 |
+ |
as_fn_error 77 "cannot compute sizeof (long) |
| 13338 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13339 |
+ |
else |
| 13340 |
+ |
ac_cv_sizeof_long=0 |
| 13341 |
+ |
fi |
| 13342 |
+ |
fi |
| 13343 |
+ |
|
| 13344 |
+ |
fi |
| 13345 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
| 13346 |
+ |
$as_echo "$ac_cv_sizeof_long" >&6; } |
| 13347 |
+ |
|
| 13348 |
+ |
|
| 13349 |
+ |
|
| 13350 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13351 |
+ |
#define SIZEOF_LONG $ac_cv_sizeof_long |
| 13352 |
+ |
_ACEOF |
| 13353 |
+ |
|
| 13354 |
+ |
|
| 13355 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13356 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13357 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13358 |
+ |
# This bug is HP SR number 8606223364. |
| 13359 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 |
| 13360 |
+ |
$as_echo_n "checking size of void *... " >&6; } |
| 13361 |
+ |
if ${ac_cv_sizeof_void_p+:} false; then : |
| 13362 |
+ |
$as_echo_n "(cached) " >&6 |
| 13363 |
+ |
else |
| 13364 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : |
| 13365 |
+ |
|
| 13366 |
+ |
else |
| 13367 |
+ |
if test "$ac_cv_type_void_p" = yes; then |
| 13368 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13369 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13370 |
+ |
as_fn_error 77 "cannot compute sizeof (void *) |
| 13371 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13372 |
+ |
else |
| 13373 |
+ |
ac_cv_sizeof_void_p=0 |
| 13374 |
+ |
fi |
| 13375 |
+ |
fi |
| 13376 |
+ |
|
| 13377 |
+ |
fi |
| 13378 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 |
| 13379 |
+ |
$as_echo "$ac_cv_sizeof_void_p" >&6; } |
| 13380 |
+ |
|
| 13381 |
+ |
|
| 13382 |
+ |
|
| 13383 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13384 |
+ |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
| 13385 |
+ |
_ACEOF |
| 13386 |
+ |
|
| 13387 |
+ |
|
| 13388 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13389 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13390 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13391 |
+ |
# This bug is HP SR number 8606223364. |
| 13392 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
| 13393 |
+ |
$as_echo_n "checking size of int64_t... " >&6; } |
| 13394 |
+ |
if ${ac_cv_sizeof_int64_t+:} false; then : |
| 13395 |
+ |
$as_echo_n "(cached) " >&6 |
| 13396 |
+ |
else |
| 13397 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
| 13398 |
+ |
|
| 13399 |
+ |
else |
| 13400 |
+ |
if test "$ac_cv_type_int64_t" = yes; then |
| 13401 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13402 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13403 |
+ |
as_fn_error 77 "cannot compute sizeof (int64_t) |
| 13404 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13405 |
+ |
else |
| 13406 |
+ |
ac_cv_sizeof_int64_t=0 |
| 13407 |
+ |
fi |
| 13408 |
+ |
fi |
| 13409 |
+ |
|
| 13410 |
+ |
fi |
| 13411 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
| 13412 |
+ |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
| 13413 |
+ |
|
| 13414 |
+ |
|
| 13415 |
+ |
|
| 13416 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13417 |
+ |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 13418 |
+ |
_ACEOF |
| 13419 |
+ |
|
| 13420 |
+ |
|
| 13421 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13422 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13423 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13424 |
+ |
# This bug is HP SR number 8606223364. |
| 13425 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
| 13426 |
+ |
$as_echo_n "checking size of long long... " >&6; } |
| 13427 |
+ |
if ${ac_cv_sizeof_long_long+:} false; then : |
| 13428 |
+ |
$as_echo_n "(cached) " >&6 |
| 13429 |
+ |
else |
| 13430 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
| 13431 |
+ |
|
| 13432 |
+ |
else |
| 13433 |
+ |
if test "$ac_cv_type_long_long" = yes; then |
| 13434 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13435 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13436 |
+ |
as_fn_error 77 "cannot compute sizeof (long long) |
| 13437 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13438 |
+ |
else |
| 13439 |
+ |
ac_cv_sizeof_long_long=0 |
| 13440 |
+ |
fi |
| 13441 |
+ |
fi |
| 13442 |
+ |
|
| 13443 |
+ |
fi |
| 13444 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
| 13445 |
+ |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| 13446 |
+ |
|
| 13447 |
+ |
|
| 13448 |
+ |
|
| 13449 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13450 |
+ |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 13451 |
+ |
_ACEOF |
| 13452 |
+ |
|
| 13453 |
+ |
|
| 13454 |
+ |
|
| 13455 |
+ |
if test "$ac_cv_sizeof_int" = 2 ; then |
| 13456 |
+ |
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" |
| 13457 |
+ |
if test "x$ac_cv_type_int16_t" = xyes; then : |
| 13458 |
+ |
|
| 13459 |
+ |
else |
| 13460 |
+ |
|
| 13461 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13462 |
+ |
#define int16_t int |
| 13463 |
+ |
_ACEOF |
| 13464 |
+ |
|
| 13465 |
+ |
fi |
| 13466 |
+ |
|
| 13467 |
+ |
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
| 13468 |
+ |
if test "x$ac_cv_type_uint16_t" = xyes; then : |
| 13469 |
+ |
|
| 13470 |
+ |
else |
| 13471 |
+ |
|
| 13472 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13473 |
+ |
#define uint16_t unsigned int |
| 13474 |
+ |
_ACEOF |
| 13475 |
+ |
|
| 13476 |
+ |
fi |
| 13477 |
+ |
|
| 13478 |
+ |
elif test "$ac_cv_sizeof_short" = 2 ; then |
| 13479 |
+ |
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" |
| 13480 |
+ |
if test "x$ac_cv_type_int16_t" = xyes; then : |
| 13481 |
+ |
|
| 13482 |
+ |
else |
| 13483 |
+ |
|
| 13484 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13485 |
+ |
#define int16_t short |
| 13486 |
+ |
_ACEOF |
| 13487 |
+ |
|
| 13488 |
+ |
fi |
| 13489 |
+ |
|
| 13490 |
+ |
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
| 13491 |
+ |
if test "x$ac_cv_type_uint16_t" = xyes; then : |
| 13492 |
+ |
|
| 13493 |
+ |
else |
| 13494 |
+ |
|
| 13495 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13496 |
+ |
#define uint16_t unsigned short |
| 13497 |
+ |
_ACEOF |
| 13498 |
+ |
|
| 13499 |
+ |
fi |
| 13500 |
+ |
|
| 13501 |
+ |
else |
| 13502 |
+ |
as_fn_error $? "Cannot find a type with size of 16 bits" "$LINENO" 5 |
| 13503 |
+ |
fi |
| 13504 |
+ |
if test "$ac_cv_sizeof_int" = 4 ; then |
| 13505 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13506 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13507 |
+ |
|
| 13508 |
+ |
else |
| 13509 |
+ |
|
| 13510 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13511 |
+ |
#define int32_t int |
| 13512 |
+ |
_ACEOF |
| 13513 |
+ |
|
| 13514 |
+ |
fi |
| 13515 |
+ |
|
| 13516 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13517 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13518 |
+ |
|
| 13519 |
+ |
else |
| 13520 |
+ |
|
| 13521 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13522 |
+ |
#define uint32_t unsigned int |
| 13523 |
+ |
_ACEOF |
| 13524 |
+ |
|
| 13525 |
+ |
fi |
| 13526 |
+ |
|
| 13527 |
+ |
elif test "$ac_cv_sizeof_short" = 4 ; then |
| 13528 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13529 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13530 |
+ |
|
| 13531 |
+ |
else |
| 13532 |
+ |
|
| 13533 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13534 |
+ |
#define int32_t short |
| 13535 |
+ |
_ACEOF |
| 13536 |
+ |
|
| 13537 |
+ |
fi |
| 13538 |
+ |
|
| 13539 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13540 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13541 |
+ |
|
| 13542 |
+ |
else |
| 13543 |
+ |
|
| 13544 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13545 |
+ |
#define uint32_t unsigned short |
| 13546 |
+ |
_ACEOF |
| 13547 |
+ |
|
| 13548 |
+ |
fi |
| 13549 |
+ |
|
| 13550 |
+ |
elif test "$ac_cv_sizeof_long" = 4 ; then |
| 13551 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13552 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13553 |
+ |
|
| 13554 |
+ |
else |
| 13555 |
+ |
|
| 13556 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13557 |
+ |
#define int32_t long |
| 13558 |
+ |
_ACEOF |
| 13559 |
+ |
|
| 13560 |
+ |
fi |
| 13561 |
+ |
|
| 13562 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13563 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13564 |
+ |
|
| 13565 |
+ |
else |
| 13566 |
+ |
|
| 13567 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13568 |
+ |
#define uint32_t unsigned long |
| 13569 |
+ |
_ACEOF |
| 13570 |
+ |
|
| 13571 |
+ |
fi |
| 13572 |
+ |
|
| 13573 |
+ |
else |
| 13574 |
+ |
as_fn_error $? "Cannot find a type with size of 32 bits" "$LINENO" 5 |
| 13575 |
+ |
fi |
| 13576 |
+ |
if test "$ac_cv_sizeof_int64_t" = 8 ; then |
| 13577 |
+ |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 13578 |
+ |
if test "x$ac_cv_type_int64_t" = xyes; then : |
| 13579 |
+ |
|
| 13580 |
+ |
fi |
| 13581 |
+ |
|
| 13582 |
+ |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 13583 |
+ |
if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 13584 |
+ |
|
| 13585 |
+ |
fi |
| 13586 |
+ |
|
| 13587 |
+ |
elif test "$ac_cv_sizeof_long_long" = 8 ; then |
| 13588 |
+ |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 13589 |
+ |
if test "x$ac_cv_type_int64_t" = xyes; then : |
| 13590 |
+ |
|
| 13591 |
+ |
else |
| 13592 |
+ |
|
| 13593 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13594 |
+ |
#define int64_t long long |
| 13595 |
+ |
_ACEOF |
| 13596 |
+ |
|
| 13597 |
+ |
fi |
| 13598 |
+ |
|
| 13599 |
+ |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 13600 |
+ |
if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 13601 |
+ |
|
| 13602 |
+ |
else |
| 13603 |
+ |
|
| 13604 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13605 |
+ |
#define uint64_t unsigned long long |
| 13606 |
+ |
_ACEOF |
| 13607 |
+ |
|
| 13608 |
+ |
fi |
| 13609 |
+ |
|
| 13610 |
+ |
else |
| 13611 |
+ |
as_fn_error $? "Cannot find a type with size of 64 bits" "$LINENO" 5 |
| 13612 |
+ |
fi |
| 13613 |
+ |
|
| 13614 |
+ |
|
| 13615 |
|
# Checks for libraries. |
| 13616 |
|
|
| 13617 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13618 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13619 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13617 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13618 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13619 |
> |
|
| 13620 |
> |
else |
| 13621 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13622 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13623 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13624 |
|
$as_echo_n "(cached) " >&6 |
| 13625 |
|
else |
| 13626 |
|
ac_func_search_save_LIBS=$LIBS |
| 13633 |
|
#ifdef __cplusplus |
| 13634 |
|
extern "C" |
| 13635 |
|
#endif |
| 13636 |
< |
char socket (); |
| 13636 |
> |
char getaddrinfo (); |
| 13637 |
|
int |
| 13638 |
|
main () |
| 13639 |
|
{ |
| 13640 |
< |
return socket (); |
| 13640 |
> |
return getaddrinfo (); |
| 13641 |
|
; |
| 13642 |
|
return 0; |
| 13643 |
|
} |
| 13644 |
|
_ACEOF |
| 13645 |
< |
for ac_lib in '' socket; do |
| 13645 |
> |
for ac_lib in '' nsl; do |
| 13646 |
|
if test -z "$ac_lib"; then |
| 13647 |
|
ac_res="none required" |
| 13648 |
|
else |
| 13650 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13651 |
|
fi |
| 13652 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13653 |
< |
ac_cv_search_socket=$ac_res |
| 13653 |
> |
ac_cv_search_getaddrinfo=$ac_res |
| 13654 |
|
fi |
| 13655 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13656 |
|
conftest$ac_exeext |
| 13657 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13657 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13658 |
|
break |
| 13659 |
|
fi |
| 13660 |
|
done |
| 13661 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13661 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13662 |
|
|
| 13663 |
|
else |
| 13664 |
< |
ac_cv_search_socket=no |
| 13664 |
> |
ac_cv_search_getaddrinfo=no |
| 13665 |
|
fi |
| 13666 |
|
rm conftest.$ac_ext |
| 13667 |
|
LIBS=$ac_func_search_save_LIBS |
| 13668 |
|
fi |
| 13669 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13670 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13671 |
< |
ac_res=$ac_cv_search_socket |
| 13669 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13670 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13671 |
> |
ac_res=$ac_cv_search_getaddrinfo |
| 13672 |
|
if test "$ac_res" != no; then : |
| 13673 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13674 |
|
|
| 13080 |
– |
else |
| 13081 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13675 |
|
fi |
| 13676 |
|
|
| 13677 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13678 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13679 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13677 |
> |
fi |
| 13678 |
> |
|
| 13679 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13680 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13681 |
> |
|
| 13682 |
> |
else |
| 13683 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13684 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13685 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13686 |
|
$as_echo_n "(cached) " >&6 |
| 13687 |
|
else |
| 13688 |
|
ac_func_search_save_LIBS=$LIBS |
| 13695 |
|
#ifdef __cplusplus |
| 13696 |
|
extern "C" |
| 13697 |
|
#endif |
| 13698 |
< |
char inet_ntoa (); |
| 13698 |
> |
char getnameinfo (); |
| 13699 |
|
int |
| 13700 |
|
main () |
| 13701 |
|
{ |
| 13702 |
< |
return inet_ntoa (); |
| 13702 |
> |
return getnameinfo (); |
| 13703 |
|
; |
| 13704 |
|
return 0; |
| 13705 |
|
} |
| 13712 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13713 |
|
fi |
| 13714 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13715 |
< |
ac_cv_search_inet_ntoa=$ac_res |
| 13715 |
> |
ac_cv_search_getnameinfo=$ac_res |
| 13716 |
|
fi |
| 13717 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13718 |
|
conftest$ac_exeext |
| 13719 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13719 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13720 |
|
break |
| 13721 |
|
fi |
| 13722 |
|
done |
| 13723 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13723 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13724 |
|
|
| 13725 |
|
else |
| 13726 |
< |
ac_cv_search_inet_ntoa=no |
| 13726 |
> |
ac_cv_search_getnameinfo=no |
| 13727 |
|
fi |
| 13728 |
|
rm conftest.$ac_ext |
| 13729 |
|
LIBS=$ac_func_search_save_LIBS |
| 13730 |
|
fi |
| 13731 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13732 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13733 |
< |
ac_res=$ac_cv_search_inet_ntoa |
| 13731 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13732 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13733 |
> |
ac_res=$ac_cv_search_getnameinfo |
| 13734 |
|
if test "$ac_res" != no; then : |
| 13735 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13736 |
|
|
| 13737 |
|
fi |
| 13738 |
|
|
| 13739 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13740 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13741 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13739 |
> |
fi |
| 13740 |
> |
|
| 13741 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13742 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13743 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13744 |
|
$as_echo_n "(cached) " >&6 |
| 13745 |
|
else |
| 13746 |
|
ac_func_search_save_LIBS=$LIBS |
| 13753 |
|
#ifdef __cplusplus |
| 13754 |
|
extern "C" |
| 13755 |
|
#endif |
| 13756 |
< |
char inet_aton (); |
| 13756 |
> |
char socket (); |
| 13757 |
|
int |
| 13758 |
|
main () |
| 13759 |
|
{ |
| 13760 |
< |
return inet_aton (); |
| 13760 |
> |
return socket (); |
| 13761 |
|
; |
| 13762 |
|
return 0; |
| 13763 |
|
} |
| 13764 |
|
_ACEOF |
| 13765 |
< |
for ac_lib in '' resolv; do |
| 13765 |
> |
for ac_lib in '' socket; do |
| 13766 |
|
if test -z "$ac_lib"; then |
| 13767 |
|
ac_res="none required" |
| 13768 |
|
else |
| 13770 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13771 |
|
fi |
| 13772 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13773 |
< |
ac_cv_search_inet_aton=$ac_res |
| 13773 |
> |
ac_cv_search_socket=$ac_res |
| 13774 |
|
fi |
| 13775 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13776 |
|
conftest$ac_exeext |
| 13777 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13777 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13778 |
|
break |
| 13779 |
|
fi |
| 13780 |
|
done |
| 13781 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13781 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13782 |
|
|
| 13783 |
|
else |
| 13784 |
< |
ac_cv_search_inet_aton=no |
| 13784 |
> |
ac_cv_search_socket=no |
| 13785 |
|
fi |
| 13786 |
|
rm conftest.$ac_ext |
| 13787 |
|
LIBS=$ac_func_search_save_LIBS |
| 13788 |
|
fi |
| 13789 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13790 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13791 |
< |
ac_res=$ac_cv_search_inet_aton |
| 13789 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13790 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13791 |
> |
ac_res=$ac_cv_search_socket |
| 13792 |
|
if test "$ac_res" != no; then : |
| 13793 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13794 |
|
|
| 13795 |
+ |
else |
| 13796 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13797 |
|
fi |
| 13798 |
|
|
| 13196 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
| 13197 |
– |
do : |
| 13198 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13199 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13200 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13201 |
– |
cat >>confdefs.h <<_ACEOF |
| 13202 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13203 |
– |
_ACEOF |
| 13204 |
– |
|
| 13205 |
– |
fi |
| 13206 |
– |
done |
| 13207 |
– |
|
| 13799 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13800 |
|
#include <sys/socket.h> |
| 13801 |
|
#include <netdb.h> |
| 14112 |
|
|
| 14113 |
|
|
| 14114 |
|
|
| 13524 |
– |
|
| 13525 |
– |
|
| 14115 |
|
# Checks for header files. |
| 14116 |
|
|
| 14117 |
|
|
| 14203 |
|
fi |
| 14204 |
|
|
| 14205 |
|
|
| 14206 |
< |
# Check whether --enable-libpcre was given. |
| 14207 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 14208 |
< |
enableval=$enable_libpcre; |
| 14209 |
< |
else |
| 14210 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 14211 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 14212 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
| 14213 |
< |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
| 14214 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 14206 |
> |
# Check whether --enable-libGeoIP was given. |
| 14207 |
> |
if test "${enable_libGeoIP+set}" = set; then : |
| 14208 |
> |
enableval=$enable_libGeoIP; |
| 14209 |
> |
else |
| 14210 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 14211 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 14212 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14213 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 14214 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14215 |
|
$as_echo_n "(cached) " >&6 |
| 14216 |
|
else |
| 14217 |
|
ac_func_search_save_LIBS=$LIBS |
| 14224 |
|
#ifdef __cplusplus |
| 14225 |
|
extern "C" |
| 14226 |
|
#endif |
| 14227 |
< |
char pcre_study (); |
| 14227 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 14228 |
|
int |
| 14229 |
|
main () |
| 14230 |
|
{ |
| 14231 |
< |
return pcre_study (); |
| 14231 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
| 14232 |
|
; |
| 14233 |
|
return 0; |
| 14234 |
|
} |
| 14235 |
|
_ACEOF |
| 14236 |
< |
for ac_lib in '' pcre; do |
| 14236 |
> |
for ac_lib in '' GeoIP; do |
| 14237 |
|
if test -z "$ac_lib"; then |
| 14238 |
|
ac_res="none required" |
| 14239 |
|
else |
| 14241 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14242 |
|
fi |
| 14243 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 14244 |
< |
ac_cv_search_pcre_study=$ac_res |
| 14244 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 14245 |
|
fi |
| 14246 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14247 |
|
conftest$ac_exeext |
| 14248 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 14248 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14249 |
|
break |
| 14250 |
|
fi |
| 14251 |
|
done |
| 14252 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 14252 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14253 |
|
|
| 14254 |
|
else |
| 14255 |
< |
ac_cv_search_pcre_study=no |
| 14255 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 14256 |
|
fi |
| 14257 |
|
rm conftest.$ac_ext |
| 14258 |
|
LIBS=$ac_func_search_save_LIBS |
| 14259 |
|
fi |
| 14260 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
| 14261 |
< |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
| 14262 |
< |
ac_res=$ac_cv_search_pcre_study |
| 14260 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14261 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 14262 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 14263 |
|
if test "$ac_res" != no; then : |
| 14264 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14265 |
|
|
| 14266 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 14266 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 14267 |
|
|
| 14268 |
|
fi |
| 14269 |
|
|
| 14360 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 14361 |
|
$as_echo "found" >&6; } |
| 14362 |
|
|
| 14363 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 14364 |
< |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 14365 |
< |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 14363 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 14364 |
> |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 14365 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 14366 |
|
$as_echo_n "(cached) " >&6 |
| 14367 |
|
else |
| 14368 |
|
ac_check_lib_save_LIBS=$LIBS |
| 14369 |
< |
LIBS="-lssl $LIBS" |
| 14369 |
> |
LIBS="-lcrypto $LIBS" |
| 14370 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14371 |
|
/* end confdefs.h. */ |
| 14372 |
|
|
| 14376 |
|
#ifdef __cplusplus |
| 14377 |
|
extern "C" |
| 14378 |
|
#endif |
| 14379 |
< |
char SSL_connect (); |
| 14379 |
> |
char RSA_free (); |
| 14380 |
|
int |
| 14381 |
|
main () |
| 14382 |
|
{ |
| 14383 |
< |
return SSL_connect (); |
| 14383 |
> |
return RSA_free (); |
| 14384 |
|
; |
| 14385 |
|
return 0; |
| 14386 |
|
} |
| 14387 |
|
_ACEOF |
| 14388 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 14389 |
< |
ac_cv_lib_ssl_SSL_connect=yes |
| 14389 |
> |
ac_cv_lib_crypto_RSA_free=yes |
| 14390 |
|
else |
| 14391 |
< |
ac_cv_lib_ssl_SSL_connect=no |
| 14391 |
> |
ac_cv_lib_crypto_RSA_free=no |
| 14392 |
|
fi |
| 14393 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14394 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14395 |
|
LIBS=$ac_check_lib_save_LIBS |
| 14396 |
|
fi |
| 14397 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 14398 |
< |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 14399 |
< |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 14397 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 14398 |
> |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 14399 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 14400 |
|
cat >>confdefs.h <<_ACEOF |
| 14401 |
< |
#define HAVE_LIBSSL 1 |
| 14401 |
> |
#define HAVE_LIBCRYPTO 1 |
| 14402 |
|
_ACEOF |
| 14403 |
|
|
| 14404 |
< |
LIBS="-lssl $LIBS" |
| 14404 |
> |
LIBS="-lcrypto $LIBS" |
| 14405 |
|
|
| 14406 |
|
fi |
| 14407 |
|
|
| 14408 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then : |
| 14409 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 14410 |
< |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 14411 |
< |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 14408 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 14409 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 14410 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 14411 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 14412 |
|
$as_echo_n "(cached) " >&6 |
| 14413 |
|
else |
| 14414 |
|
ac_check_lib_save_LIBS=$LIBS |
| 14415 |
< |
LIBS="-lcrypto $LIBS" |
| 14415 |
> |
LIBS="-lssl $LIBS" |
| 14416 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14417 |
|
/* end confdefs.h. */ |
| 14418 |
|
|
| 14422 |
|
#ifdef __cplusplus |
| 14423 |
|
extern "C" |
| 14424 |
|
#endif |
| 14425 |
< |
char RSA_free (); |
| 14425 |
> |
char SSL_connect (); |
| 14426 |
|
int |
| 14427 |
|
main () |
| 14428 |
|
{ |
| 14429 |
< |
return RSA_free (); |
| 14429 |
> |
return SSL_connect (); |
| 14430 |
|
; |
| 14431 |
|
return 0; |
| 14432 |
|
} |
| 14433 |
|
_ACEOF |
| 14434 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 14435 |
< |
ac_cv_lib_crypto_RSA_free=yes |
| 14435 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
| 14436 |
|
else |
| 14437 |
< |
ac_cv_lib_crypto_RSA_free=no |
| 14437 |
> |
ac_cv_lib_ssl_SSL_connect=no |
| 14438 |
|
fi |
| 14439 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14440 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14441 |
|
LIBS=$ac_check_lib_save_LIBS |
| 14442 |
|
fi |
| 14443 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 14444 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 14445 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 14443 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 14444 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 14445 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 14446 |
|
cat >>confdefs.h <<_ACEOF |
| 14447 |
< |
#define HAVE_LIBCRYPTO 1 |
| 14447 |
> |
#define HAVE_LIBSSL 1 |
| 14448 |
|
_ACEOF |
| 14449 |
|
|
| 14450 |
< |
LIBS="-lcrypto $LIBS" |
| 14450 |
> |
LIBS="-lssl $LIBS" |
| 14451 |
|
|
| 14452 |
|
fi |
| 14453 |
|
|
| 14460 |
|
fi |
| 14461 |
|
fi |
| 14462 |
|
|
| 14463 |
< |
if test "$ac_cv_lib_crypto_RSA_free" = yes; then |
| 14463 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 14464 |
|
ENABLE_SSL_TRUE= |
| 14465 |
|
ENABLE_SSL_FALSE='#' |
| 14466 |
|
else |
| 14485 |
|
fi |
| 14486 |
|
|
| 14487 |
|
|
| 14488 |
< |
# Check whether --enable-small-net was given. |
| 13900 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13901 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13902 |
< |
else |
| 13903 |
< |
small_net=no |
| 13904 |
< |
fi |
| 13905 |
< |
|
| 13906 |
< |
|
| 13907 |
< |
if test "$small_net" = "yes"; then : |
| 13908 |
< |
|
| 13909 |
< |
|
| 13910 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h |
| 13911 |
< |
|
| 13912 |
< |
|
| 13913 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 13914 |
< |
|
| 13915 |
< |
|
| 13916 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 13917 |
< |
|
| 13918 |
< |
|
| 13919 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 13920 |
< |
|
| 13921 |
< |
|
| 13922 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 13923 |
< |
|
| 13924 |
< |
|
| 13925 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 14488 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14489 |
|
|
| 14490 |
|
|
| 14491 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 14491 |
> |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14492 |
|
|
| 14493 |
|
|
| 14494 |
< |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 14494 |
> |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14495 |
|
|
| 14496 |
|
|
| 14497 |
< |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14497 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14498 |
|
|
| 14499 |
|
|
| 14500 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13938 |
< |
|
| 13939 |
< |
else |
| 13940 |
< |
|
| 14500 |
> |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14501 |
|
|
| 14502 |
|
|
| 14503 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
| 14503 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14504 |
|
|
| 14505 |
|
|
| 14506 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 14506 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14507 |
|
|
| 14508 |
|
|
| 14509 |
< |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 14509 |
> |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14510 |
|
|
| 14511 |
|
|
| 14512 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 14512 |
> |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14513 |
|
|
| 14514 |
|
|
| 14515 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14515 |
> |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14516 |
|
|
| 14517 |
|
|
| 14518 |
< |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14518 |
> |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14519 |
|
|
| 14520 |
|
|
| 14521 |
< |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14521 |
> |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14522 |
|
|
| 14523 |
|
|
| 14524 |
< |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 14524 |
> |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14525 |
|
|
| 14526 |
|
|
| 14527 |
< |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 13968 |
< |
|
| 13969 |
< |
|
| 13970 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13971 |
< |
|
| 13972 |
< |
fi |
| 14527 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14528 |
|
|
| 14529 |
|
|
| 14530 |
|
# Argument processing. |
| 14545 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 14546 |
|
fi |
| 14547 |
|
|
| 13993 |
– |
# Check whether --enable-rtsigio was given. |
| 13994 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 13995 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 13996 |
– |
fi |
| 13997 |
– |
|
| 14548 |
|
# Check whether --enable-poll was given. |
| 14549 |
|
if test "${enable_poll+set}" = set; then : |
| 14550 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14728 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14729 |
|
|
| 14730 |
|
fi |
| 14731 |
< |
iopoll_mechanism_rtsigio=4 |
| 14182 |
< |
|
| 14183 |
< |
cat >>confdefs.h <<_ACEOF |
| 14184 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14185 |
< |
_ACEOF |
| 14186 |
< |
|
| 14187 |
< |
if test "$cross_compiling" = yes; then : |
| 14188 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14189 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14190 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14191 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14192 |
< |
else |
| 14193 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14194 |
< |
/* end confdefs.h. */ |
| 14195 |
< |
|
| 14196 |
< |
#define _GNU_SOURCE |
| 14197 |
< |
#include <fcntl.h> |
| 14198 |
< |
static unsigned int have_f_setsig = 0; |
| 14199 |
< |
|
| 14200 |
< |
int |
| 14201 |
< |
main () |
| 14202 |
< |
{ |
| 14203 |
< |
|
| 14204 |
< |
#ifdef F_SETSIG |
| 14205 |
< |
have_f_setsig = 1; |
| 14206 |
< |
#endif |
| 14207 |
< |
return have_f_setsig == 0; |
| 14208 |
< |
|
| 14209 |
< |
; |
| 14210 |
< |
return 0; |
| 14211 |
< |
} |
| 14212 |
< |
_ACEOF |
| 14213 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14214 |
< |
is_rtsigio_mechanism_available="yes" |
| 14215 |
< |
else |
| 14216 |
< |
is_rtsigio_mechanism_available="no" |
| 14217 |
< |
fi |
| 14218 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14219 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14220 |
< |
fi |
| 14221 |
< |
|
| 14222 |
< |
iopoll_mechanism_poll=5 |
| 14731 |
> |
iopoll_mechanism_poll=4 |
| 14732 |
|
|
| 14733 |
|
cat >>confdefs.h <<_ACEOF |
| 14734 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14782 |
|
fi |
| 14783 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14784 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14785 |
< |
iopoll_mechanism_select=6 |
| 14785 |
> |
iopoll_mechanism_select=5 |
| 14786 |
|
|
| 14787 |
|
cat >>confdefs.h <<_ACEOF |
| 14788 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14837 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14838 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14839 |
|
optimal_iopoll_mechanism="none" |
| 14840 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14840 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14841 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14842 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14843 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14874 |
|
|
| 14875 |
|
|
| 14876 |
|
|
| 14368 |
– |
|
| 14369 |
– |
# Check whether --with-nicklen was given. |
| 14370 |
– |
if test "${with_nicklen+set}" = set; then : |
| 14371 |
– |
withval=$with_nicklen; nicklen="$withval" |
| 14372 |
– |
else |
| 14373 |
– |
nicklen="9" |
| 14374 |
– |
fi |
| 14375 |
– |
|
| 14376 |
– |
|
| 14377 |
– |
cat >>confdefs.h <<_ACEOF |
| 14378 |
– |
#define NICKLEN ($nicklen) |
| 14379 |
– |
_ACEOF |
| 14380 |
– |
|
| 14381 |
– |
|
| 14382 |
– |
|
| 14383 |
– |
|
| 14384 |
– |
# Check whether --with-topiclen was given. |
| 14385 |
– |
if test "${with_topiclen+set}" = set; then : |
| 14386 |
– |
withval=$with_topiclen; topiclen="$withval" |
| 14387 |
– |
else |
| 14388 |
– |
topiclen="160" |
| 14389 |
– |
fi |
| 14390 |
– |
|
| 14391 |
– |
|
| 14392 |
– |
cat >>confdefs.h <<_ACEOF |
| 14393 |
– |
#define TOPICLEN ($topiclen) |
| 14394 |
– |
_ACEOF |
| 14395 |
– |
|
| 14396 |
– |
|
| 14397 |
– |
|
| 14877 |
|
# Check whether --enable-halfops was given. |
| 14878 |
|
if test "${enable_halfops+set}" = set; then : |
| 14879 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 14896 |
|
fi |
| 14897 |
|
|
| 14898 |
|
if test "$debugging" = "yes" ; then |
| 14420 |
– |
|
| 14421 |
– |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 14422 |
– |
|
| 14899 |
|
CFLAGS="-Wall -g -O0" |
| 14424 |
– |
else |
| 14425 |
– |
|
| 14426 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 14427 |
– |
|
| 14900 |
|
fi |
| 14901 |
|
|
| 14902 |
|
|
| 14998 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 14999 |
|
|
| 15000 |
|
|
| 15001 |
< |
ac_config_files="$ac_config_files 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" |
| 15001 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 15002 |
|
|
| 15003 |
|
|
| 15004 |
|
cat >confcache <<\_ACEOF |
| 15565 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15566 |
|
# values after options handling. |
| 15567 |
|
ac_log=" |
| 15568 |
< |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
| 15568 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 15569 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15570 |
|
|
| 15571 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15631 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15632 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15633 |
|
ac_cs_version="\\ |
| 15634 |
< |
ircd-hybrid config.status 8beta1 |
| 15634 |
> |
ircd-hybrid config.status TRUNK |
| 15635 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15636 |
|
with options \\"\$ac_cs_config\\" |
| 15637 |
|
|
| 16041 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16042 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16043 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15572 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15573 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 16044 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 16045 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15576 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 16046 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 16047 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 16048 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16049 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 15581 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15582 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 16050 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 16051 |
|
|
| 16052 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 16644 |
|
|
| 16645 |
|
case $ac_file$ac_mode in |
| 16646 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 16647 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 16647 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16648 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16649 |
|
# if we detect the quoting. |
| 16650 |
|
case $CONFIG_FILES in |
| 16695 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16696 |
|
test -z "$DEPDIR" && continue |
| 16697 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16698 |
< |
test -z "am__include" && continue |
| 16698 |
> |
test -z "$am__include" && continue |
| 16699 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16700 |
|
# Find all dependency output files, they are included files with |
| 16701 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |