| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 1494 2012-08-03 16:22:42Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2334 2013-06-23 17:32:44Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid 8beta3. |
| 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='8beta3' |
| 597 |
< |
PACKAGE_STRING='ircd-hybrid 8beta3' |
| 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 |
| 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 |
| 806 |
– |
enable_small_net |
| 811 |
|
enable_kqueue |
| 812 |
|
enable_epoll |
| 813 |
|
enable_devpoll |
| 810 |
– |
enable_rtsigio |
| 814 |
|
enable_poll |
| 815 |
|
enable_select |
| 813 |
– |
with_nicklen |
| 814 |
– |
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 8beta3 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 8beta3:";; |
| 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 |
| 1465 |
– |
--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. |
| 1469 |
– |
--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 |
| 1487 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
| 1488 |
– |
--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 8beta3 |
| 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 8beta3, 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 |
|
|
| 2378 |
– |
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.14' |
| 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='8beta3' |
| 3154 |
> |
VERSION='TRUNK' |
| 3155 |
|
|
| 3156 |
|
|
| 3157 |
|
cat >>confdefs.h <<_ACEOF |
| 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 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
| 3206 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
| 3207 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
| 3208 |
+ |
# actually supported "in the wild" to an acceptable degree. |
| 3209 |
+ |
# See automake bug#10828. |
| 3210 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
| 3211 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 3212 |
+ |
# user can still override this though. |
| 3213 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 3214 |
+ |
cat >&2 <<'END' |
| 3215 |
+ |
Oops! |
| 3216 |
+ |
|
| 3217 |
+ |
Your 'rm' program seems unable to run without file operands specified |
| 3218 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
| 3219 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
| 3220 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3221 |
+ |
|
| 3222 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
| 3223 |
+ |
of your $PATH and any error possibly output before this message. This |
| 3224 |
+ |
can help us improve future automake versions. |
| 3225 |
+ |
|
| 3226 |
+ |
END |
| 3227 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3228 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3229 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3230 |
+ |
echo >&2 |
| 3231 |
+ |
else |
| 3232 |
+ |
cat >&2 <<'END' |
| 3233 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
| 3234 |
+ |
|
| 3235 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
| 3236 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3237 |
+ |
|
| 3238 |
+ |
If you want to complete the configuration process using your problematic |
| 3239 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3240 |
+ |
to "yes", and re-run configure. |
| 3241 |
+ |
|
| 3242 |
+ |
END |
| 3243 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3244 |
+ |
fi |
| 3245 |
+ |
fi |
| 3246 |
+ |
|
| 3247 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3248 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3249 |
|
# Check whether --enable-maintainer-mode was given. |
| 4123 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4124 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4125 |
|
|
| 4126 |
+ |
ac_ext=c |
| 4127 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4128 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4129 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4130 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4131 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4132 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 4133 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 4134 |
+ |
$as_echo_n "(cached) " >&6 |
| 4135 |
+ |
else |
| 4136 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4137 |
+ |
/* end confdefs.h. */ |
| 4138 |
+ |
|
| 4139 |
+ |
int |
| 4140 |
+ |
main () |
| 4141 |
+ |
{ |
| 4142 |
+ |
|
| 4143 |
+ |
; |
| 4144 |
+ |
return 0; |
| 4145 |
+ |
} |
| 4146 |
+ |
_ACEOF |
| 4147 |
+ |
# Make sure it works both with $CC and with simple cc. |
| 4148 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 4149 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
| 4150 |
+ |
# though they will create one. |
| 4151 |
+ |
am_cv_prog_cc_c_o=yes |
| 4152 |
+ |
for am_i in 1 2; do |
| 4153 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 4154 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 4155 |
+ |
ac_status=$? |
| 4156 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4157 |
+ |
(exit $ac_status); } \ |
| 4158 |
+ |
&& test -f conftest2.$ac_objext; then |
| 4159 |
+ |
: OK |
| 4160 |
+ |
else |
| 4161 |
+ |
am_cv_prog_cc_c_o=no |
| 4162 |
+ |
break |
| 4163 |
+ |
fi |
| 4164 |
+ |
done |
| 4165 |
+ |
rm -f core conftest* |
| 4166 |
+ |
unset am_i |
| 4167 |
+ |
fi |
| 4168 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4169 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 4170 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 4171 |
+ |
# Losing compiler, so override with the script. |
| 4172 |
+ |
# FIXME: It is wrong to rewrite CC. |
| 4173 |
+ |
# But if we don't then we get into trouble of one sort or another. |
| 4174 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
| 4175 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4176 |
+ |
CC="$am_aux_dir/compile $CC" |
| 4177 |
+ |
fi |
| 4178 |
+ |
ac_ext=c |
| 4179 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4180 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4181 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4182 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4183 |
+ |
|
| 4184 |
+ |
|
| 4185 |
|
depcc="$CC" am_compiler_list= |
| 4186 |
|
|
| 4187 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 13353 |
|
|
| 13354 |
|
LIBTOOL="$LIBTOOL --silent" |
| 13355 |
|
|
| 13356 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13357 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13358 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13359 |
+ |
# This bug is HP SR number 8606223364. |
| 13360 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 |
| 13361 |
+ |
$as_echo_n "checking size of short... " >&6; } |
| 13362 |
+ |
if ${ac_cv_sizeof_short+:} false; then : |
| 13363 |
+ |
$as_echo_n "(cached) " >&6 |
| 13364 |
+ |
else |
| 13365 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : |
| 13366 |
+ |
|
| 13367 |
+ |
else |
| 13368 |
+ |
if test "$ac_cv_type_short" = yes; then |
| 13369 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13370 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13371 |
+ |
as_fn_error 77 "cannot compute sizeof (short) |
| 13372 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13373 |
+ |
else |
| 13374 |
+ |
ac_cv_sizeof_short=0 |
| 13375 |
+ |
fi |
| 13376 |
+ |
fi |
| 13377 |
+ |
|
| 13378 |
+ |
fi |
| 13379 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 |
| 13380 |
+ |
$as_echo "$ac_cv_sizeof_short" >&6; } |
| 13381 |
+ |
|
| 13382 |
+ |
|
| 13383 |
+ |
|
| 13384 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13385 |
+ |
#define SIZEOF_SHORT $ac_cv_sizeof_short |
| 13386 |
+ |
_ACEOF |
| 13387 |
+ |
|
| 13388 |
+ |
|
| 13389 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13390 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13391 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13392 |
+ |
# This bug is HP SR number 8606223364. |
| 13393 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
| 13394 |
+ |
$as_echo_n "checking size of int... " >&6; } |
| 13395 |
+ |
if ${ac_cv_sizeof_int+:} false; then : |
| 13396 |
+ |
$as_echo_n "(cached) " >&6 |
| 13397 |
+ |
else |
| 13398 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : |
| 13399 |
+ |
|
| 13400 |
+ |
else |
| 13401 |
+ |
if test "$ac_cv_type_int" = yes; then |
| 13402 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13403 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13404 |
+ |
as_fn_error 77 "cannot compute sizeof (int) |
| 13405 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13406 |
+ |
else |
| 13407 |
+ |
ac_cv_sizeof_int=0 |
| 13408 |
+ |
fi |
| 13409 |
+ |
fi |
| 13410 |
+ |
|
| 13411 |
+ |
fi |
| 13412 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
| 13413 |
+ |
$as_echo "$ac_cv_sizeof_int" >&6; } |
| 13414 |
+ |
|
| 13415 |
+ |
|
| 13416 |
+ |
|
| 13417 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13418 |
+ |
#define SIZEOF_INT $ac_cv_sizeof_int |
| 13419 |
+ |
_ACEOF |
| 13420 |
+ |
|
| 13421 |
+ |
|
| 13422 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13423 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13424 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13425 |
+ |
# This bug is HP SR number 8606223364. |
| 13426 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 |
| 13427 |
+ |
$as_echo_n "checking size of long... " >&6; } |
| 13428 |
+ |
if ${ac_cv_sizeof_long+:} false; then : |
| 13429 |
+ |
$as_echo_n "(cached) " >&6 |
| 13430 |
+ |
else |
| 13431 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : |
| 13432 |
+ |
|
| 13433 |
+ |
else |
| 13434 |
+ |
if test "$ac_cv_type_long" = yes; then |
| 13435 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13436 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13437 |
+ |
as_fn_error 77 "cannot compute sizeof (long) |
| 13438 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13439 |
+ |
else |
| 13440 |
+ |
ac_cv_sizeof_long=0 |
| 13441 |
+ |
fi |
| 13442 |
+ |
fi |
| 13443 |
+ |
|
| 13444 |
+ |
fi |
| 13445 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 |
| 13446 |
+ |
$as_echo "$ac_cv_sizeof_long" >&6; } |
| 13447 |
+ |
|
| 13448 |
+ |
|
| 13449 |
+ |
|
| 13450 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13451 |
+ |
#define SIZEOF_LONG $ac_cv_sizeof_long |
| 13452 |
+ |
_ACEOF |
| 13453 |
+ |
|
| 13454 |
+ |
|
| 13455 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13456 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13457 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13458 |
+ |
# This bug is HP SR number 8606223364. |
| 13459 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 |
| 13460 |
+ |
$as_echo_n "checking size of void *... " >&6; } |
| 13461 |
+ |
if ${ac_cv_sizeof_void_p+:} false; then : |
| 13462 |
+ |
$as_echo_n "(cached) " >&6 |
| 13463 |
+ |
else |
| 13464 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : |
| 13465 |
+ |
|
| 13466 |
+ |
else |
| 13467 |
+ |
if test "$ac_cv_type_void_p" = yes; then |
| 13468 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13469 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13470 |
+ |
as_fn_error 77 "cannot compute sizeof (void *) |
| 13471 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13472 |
+ |
else |
| 13473 |
+ |
ac_cv_sizeof_void_p=0 |
| 13474 |
+ |
fi |
| 13475 |
+ |
fi |
| 13476 |
+ |
|
| 13477 |
+ |
fi |
| 13478 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 |
| 13479 |
+ |
$as_echo "$ac_cv_sizeof_void_p" >&6; } |
| 13480 |
+ |
|
| 13481 |
+ |
|
| 13482 |
+ |
|
| 13483 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13484 |
+ |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
| 13485 |
+ |
_ACEOF |
| 13486 |
+ |
|
| 13487 |
+ |
|
| 13488 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13489 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13490 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13491 |
+ |
# This bug is HP SR number 8606223364. |
| 13492 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
| 13493 |
+ |
$as_echo_n "checking size of int64_t... " >&6; } |
| 13494 |
+ |
if ${ac_cv_sizeof_int64_t+:} false; then : |
| 13495 |
+ |
$as_echo_n "(cached) " >&6 |
| 13496 |
+ |
else |
| 13497 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
| 13498 |
+ |
|
| 13499 |
+ |
else |
| 13500 |
+ |
if test "$ac_cv_type_int64_t" = yes; then |
| 13501 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13502 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13503 |
+ |
as_fn_error 77 "cannot compute sizeof (int64_t) |
| 13504 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13505 |
+ |
else |
| 13506 |
+ |
ac_cv_sizeof_int64_t=0 |
| 13507 |
+ |
fi |
| 13508 |
+ |
fi |
| 13509 |
+ |
|
| 13510 |
+ |
fi |
| 13511 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
| 13512 |
+ |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
| 13513 |
+ |
|
| 13514 |
+ |
|
| 13515 |
+ |
|
| 13516 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13517 |
+ |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 13518 |
+ |
_ACEOF |
| 13519 |
+ |
|
| 13520 |
+ |
|
| 13521 |
+ |
# The cast to long int works around a bug in the HP C Compiler |
| 13522 |
+ |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 13523 |
+ |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 13524 |
+ |
# This bug is HP SR number 8606223364. |
| 13525 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
| 13526 |
+ |
$as_echo_n "checking size of long long... " >&6; } |
| 13527 |
+ |
if ${ac_cv_sizeof_long_long+:} false; then : |
| 13528 |
+ |
$as_echo_n "(cached) " >&6 |
| 13529 |
+ |
else |
| 13530 |
+ |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
| 13531 |
+ |
|
| 13532 |
+ |
else |
| 13533 |
+ |
if test "$ac_cv_type_long_long" = yes; then |
| 13534 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13535 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13536 |
+ |
as_fn_error 77 "cannot compute sizeof (long long) |
| 13537 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 13538 |
+ |
else |
| 13539 |
+ |
ac_cv_sizeof_long_long=0 |
| 13540 |
+ |
fi |
| 13541 |
+ |
fi |
| 13542 |
+ |
|
| 13543 |
+ |
fi |
| 13544 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
| 13545 |
+ |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| 13546 |
+ |
|
| 13547 |
+ |
|
| 13548 |
+ |
|
| 13549 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13550 |
+ |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 13551 |
+ |
_ACEOF |
| 13552 |
+ |
|
| 13553 |
+ |
|
| 13554 |
+ |
|
| 13555 |
+ |
if test "$ac_cv_sizeof_int" = 2 ; then |
| 13556 |
+ |
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" |
| 13557 |
+ |
if test "x$ac_cv_type_int16_t" = xyes; then : |
| 13558 |
+ |
|
| 13559 |
+ |
else |
| 13560 |
+ |
|
| 13561 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13562 |
+ |
#define int16_t int |
| 13563 |
+ |
_ACEOF |
| 13564 |
+ |
|
| 13565 |
+ |
fi |
| 13566 |
+ |
|
| 13567 |
+ |
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
| 13568 |
+ |
if test "x$ac_cv_type_uint16_t" = xyes; then : |
| 13569 |
+ |
|
| 13570 |
+ |
else |
| 13571 |
+ |
|
| 13572 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13573 |
+ |
#define uint16_t unsigned int |
| 13574 |
+ |
_ACEOF |
| 13575 |
+ |
|
| 13576 |
+ |
fi |
| 13577 |
+ |
|
| 13578 |
+ |
elif test "$ac_cv_sizeof_short" = 2 ; then |
| 13579 |
+ |
ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" |
| 13580 |
+ |
if test "x$ac_cv_type_int16_t" = xyes; then : |
| 13581 |
+ |
|
| 13582 |
+ |
else |
| 13583 |
+ |
|
| 13584 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13585 |
+ |
#define int16_t short |
| 13586 |
+ |
_ACEOF |
| 13587 |
+ |
|
| 13588 |
+ |
fi |
| 13589 |
+ |
|
| 13590 |
+ |
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" |
| 13591 |
+ |
if test "x$ac_cv_type_uint16_t" = xyes; then : |
| 13592 |
+ |
|
| 13593 |
+ |
else |
| 13594 |
+ |
|
| 13595 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13596 |
+ |
#define uint16_t unsigned short |
| 13597 |
+ |
_ACEOF |
| 13598 |
+ |
|
| 13599 |
+ |
fi |
| 13600 |
+ |
|
| 13601 |
+ |
else |
| 13602 |
+ |
as_fn_error $? "Cannot find a type with size of 16 bits" "$LINENO" 5 |
| 13603 |
+ |
fi |
| 13604 |
+ |
if test "$ac_cv_sizeof_int" = 4 ; then |
| 13605 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13606 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13607 |
+ |
|
| 13608 |
+ |
else |
| 13609 |
+ |
|
| 13610 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13611 |
+ |
#define int32_t int |
| 13612 |
+ |
_ACEOF |
| 13613 |
+ |
|
| 13614 |
+ |
fi |
| 13615 |
+ |
|
| 13616 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13617 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13618 |
+ |
|
| 13619 |
+ |
else |
| 13620 |
+ |
|
| 13621 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13622 |
+ |
#define uint32_t unsigned int |
| 13623 |
+ |
_ACEOF |
| 13624 |
+ |
|
| 13625 |
+ |
fi |
| 13626 |
+ |
|
| 13627 |
+ |
elif test "$ac_cv_sizeof_short" = 4 ; then |
| 13628 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13629 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13630 |
+ |
|
| 13631 |
+ |
else |
| 13632 |
+ |
|
| 13633 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13634 |
+ |
#define int32_t short |
| 13635 |
+ |
_ACEOF |
| 13636 |
+ |
|
| 13637 |
+ |
fi |
| 13638 |
+ |
|
| 13639 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13640 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13641 |
+ |
|
| 13642 |
+ |
else |
| 13643 |
+ |
|
| 13644 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13645 |
+ |
#define uint32_t unsigned short |
| 13646 |
+ |
_ACEOF |
| 13647 |
+ |
|
| 13648 |
+ |
fi |
| 13649 |
+ |
|
| 13650 |
+ |
elif test "$ac_cv_sizeof_long" = 4 ; then |
| 13651 |
+ |
ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" |
| 13652 |
+ |
if test "x$ac_cv_type_int32_t" = xyes; then : |
| 13653 |
+ |
|
| 13654 |
+ |
else |
| 13655 |
+ |
|
| 13656 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13657 |
+ |
#define int32_t long |
| 13658 |
+ |
_ACEOF |
| 13659 |
+ |
|
| 13660 |
+ |
fi |
| 13661 |
+ |
|
| 13662 |
+ |
ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" |
| 13663 |
+ |
if test "x$ac_cv_type_uint32_t" = xyes; then : |
| 13664 |
+ |
|
| 13665 |
+ |
else |
| 13666 |
+ |
|
| 13667 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13668 |
+ |
#define uint32_t unsigned long |
| 13669 |
+ |
_ACEOF |
| 13670 |
+ |
|
| 13671 |
+ |
fi |
| 13672 |
+ |
|
| 13673 |
+ |
else |
| 13674 |
+ |
as_fn_error $? "Cannot find a type with size of 32 bits" "$LINENO" 5 |
| 13675 |
+ |
fi |
| 13676 |
+ |
if test "$ac_cv_sizeof_int64_t" = 8 ; then |
| 13677 |
+ |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 13678 |
+ |
if test "x$ac_cv_type_int64_t" = xyes; then : |
| 13679 |
+ |
|
| 13680 |
+ |
fi |
| 13681 |
+ |
|
| 13682 |
+ |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 13683 |
+ |
if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 13684 |
+ |
|
| 13685 |
+ |
fi |
| 13686 |
+ |
|
| 13687 |
+ |
elif test "$ac_cv_sizeof_long_long" = 8 ; then |
| 13688 |
+ |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 13689 |
+ |
if test "x$ac_cv_type_int64_t" = xyes; then : |
| 13690 |
+ |
|
| 13691 |
+ |
else |
| 13692 |
+ |
|
| 13693 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13694 |
+ |
#define int64_t long long |
| 13695 |
+ |
_ACEOF |
| 13696 |
+ |
|
| 13697 |
+ |
fi |
| 13698 |
+ |
|
| 13699 |
+ |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 13700 |
+ |
if test "x$ac_cv_type_uint64_t" = xyes; then : |
| 13701 |
+ |
|
| 13702 |
+ |
else |
| 13703 |
+ |
|
| 13704 |
+ |
cat >>confdefs.h <<_ACEOF |
| 13705 |
+ |
#define uint64_t unsigned long long |
| 13706 |
+ |
_ACEOF |
| 13707 |
+ |
|
| 13708 |
+ |
fi |
| 13709 |
+ |
|
| 13710 |
+ |
else |
| 13711 |
+ |
as_fn_error $? "Cannot find a type with size of 64 bits" "$LINENO" 5 |
| 13712 |
+ |
fi |
| 13713 |
+ |
|
| 13714 |
+ |
|
| 13715 |
|
# Checks for libraries. |
| 13716 |
|
|
| 13717 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13718 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13719 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13717 |
> |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13718 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13719 |
> |
|
| 13720 |
> |
else |
| 13721 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13722 |
> |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13723 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13724 |
|
$as_echo_n "(cached) " >&6 |
| 13725 |
|
else |
| 13726 |
|
ac_func_search_save_LIBS=$LIBS |
| 13733 |
|
#ifdef __cplusplus |
| 13734 |
|
extern "C" |
| 13735 |
|
#endif |
| 13736 |
< |
char socket (); |
| 13736 |
> |
char getaddrinfo (); |
| 13737 |
|
int |
| 13738 |
|
main () |
| 13739 |
|
{ |
| 13740 |
< |
return socket (); |
| 13740 |
> |
return getaddrinfo (); |
| 13741 |
|
; |
| 13742 |
|
return 0; |
| 13743 |
|
} |
| 13744 |
|
_ACEOF |
| 13745 |
< |
for ac_lib in '' socket; do |
| 13745 |
> |
for ac_lib in '' nsl; do |
| 13746 |
|
if test -z "$ac_lib"; then |
| 13747 |
|
ac_res="none required" |
| 13748 |
|
else |
| 13750 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13751 |
|
fi |
| 13752 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13753 |
< |
ac_cv_search_socket=$ac_res |
| 13753 |
> |
ac_cv_search_getaddrinfo=$ac_res |
| 13754 |
|
fi |
| 13755 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13756 |
|
conftest$ac_exeext |
| 13757 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13757 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13758 |
|
break |
| 13759 |
|
fi |
| 13760 |
|
done |
| 13761 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13761 |
> |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13762 |
|
|
| 13763 |
|
else |
| 13764 |
< |
ac_cv_search_socket=no |
| 13764 |
> |
ac_cv_search_getaddrinfo=no |
| 13765 |
|
fi |
| 13766 |
|
rm conftest.$ac_ext |
| 13767 |
|
LIBS=$ac_func_search_save_LIBS |
| 13768 |
|
fi |
| 13769 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13770 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13771 |
< |
ac_res=$ac_cv_search_socket |
| 13769 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13770 |
> |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13771 |
> |
ac_res=$ac_cv_search_getaddrinfo |
| 13772 |
|
if test "$ac_res" != no; then : |
| 13773 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13774 |
|
|
| 13087 |
– |
else |
| 13088 |
– |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13775 |
|
fi |
| 13776 |
|
|
| 13777 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
| 13778 |
< |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
| 13779 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13777 |
> |
fi |
| 13778 |
> |
|
| 13779 |
> |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13780 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13781 |
> |
|
| 13782 |
> |
else |
| 13783 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13784 |
> |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13785 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13786 |
|
$as_echo_n "(cached) " >&6 |
| 13787 |
|
else |
| 13788 |
|
ac_func_search_save_LIBS=$LIBS |
| 13795 |
|
#ifdef __cplusplus |
| 13796 |
|
extern "C" |
| 13797 |
|
#endif |
| 13798 |
< |
char inet_ntoa (); |
| 13798 |
> |
char getnameinfo (); |
| 13799 |
|
int |
| 13800 |
|
main () |
| 13801 |
|
{ |
| 13802 |
< |
return inet_ntoa (); |
| 13802 |
> |
return getnameinfo (); |
| 13803 |
|
; |
| 13804 |
|
return 0; |
| 13805 |
|
} |
| 13812 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13813 |
|
fi |
| 13814 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13815 |
< |
ac_cv_search_inet_ntoa=$ac_res |
| 13815 |
> |
ac_cv_search_getnameinfo=$ac_res |
| 13816 |
|
fi |
| 13817 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13818 |
|
conftest$ac_exeext |
| 13819 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13819 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13820 |
|
break |
| 13821 |
|
fi |
| 13822 |
|
done |
| 13823 |
< |
if ${ac_cv_search_inet_ntoa+:} false; then : |
| 13823 |
> |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13824 |
|
|
| 13825 |
|
else |
| 13826 |
< |
ac_cv_search_inet_ntoa=no |
| 13826 |
> |
ac_cv_search_getnameinfo=no |
| 13827 |
|
fi |
| 13828 |
|
rm conftest.$ac_ext |
| 13829 |
|
LIBS=$ac_func_search_save_LIBS |
| 13830 |
|
fi |
| 13831 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
| 13832 |
< |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
| 13833 |
< |
ac_res=$ac_cv_search_inet_ntoa |
| 13831 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13832 |
> |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13833 |
> |
ac_res=$ac_cv_search_getnameinfo |
| 13834 |
|
if test "$ac_res" != no; then : |
| 13835 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13836 |
|
|
| 13837 |
|
fi |
| 13838 |
|
|
| 13839 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
| 13840 |
< |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
| 13841 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13839 |
> |
fi |
| 13840 |
> |
|
| 13841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13842 |
> |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13843 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13844 |
|
$as_echo_n "(cached) " >&6 |
| 13845 |
|
else |
| 13846 |
|
ac_func_search_save_LIBS=$LIBS |
| 13853 |
|
#ifdef __cplusplus |
| 13854 |
|
extern "C" |
| 13855 |
|
#endif |
| 13856 |
< |
char inet_aton (); |
| 13856 |
> |
char socket (); |
| 13857 |
|
int |
| 13858 |
|
main () |
| 13859 |
|
{ |
| 13860 |
< |
return inet_aton (); |
| 13860 |
> |
return socket (); |
| 13861 |
|
; |
| 13862 |
|
return 0; |
| 13863 |
|
} |
| 13864 |
|
_ACEOF |
| 13865 |
< |
for ac_lib in '' resolv; do |
| 13865 |
> |
for ac_lib in '' socket; do |
| 13866 |
|
if test -z "$ac_lib"; then |
| 13867 |
|
ac_res="none required" |
| 13868 |
|
else |
| 13870 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13871 |
|
fi |
| 13872 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 13873 |
< |
ac_cv_search_inet_aton=$ac_res |
| 13873 |
> |
ac_cv_search_socket=$ac_res |
| 13874 |
|
fi |
| 13875 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 13876 |
|
conftest$ac_exeext |
| 13877 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13877 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13878 |
|
break |
| 13879 |
|
fi |
| 13880 |
|
done |
| 13881 |
< |
if ${ac_cv_search_inet_aton+:} false; then : |
| 13881 |
> |
if ${ac_cv_search_socket+:} false; then : |
| 13882 |
|
|
| 13883 |
|
else |
| 13884 |
< |
ac_cv_search_inet_aton=no |
| 13884 |
> |
ac_cv_search_socket=no |
| 13885 |
|
fi |
| 13886 |
|
rm conftest.$ac_ext |
| 13887 |
|
LIBS=$ac_func_search_save_LIBS |
| 13888 |
|
fi |
| 13889 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
| 13890 |
< |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
| 13891 |
< |
ac_res=$ac_cv_search_inet_aton |
| 13889 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13890 |
> |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13891 |
> |
ac_res=$ac_cv_search_socket |
| 13892 |
|
if test "$ac_res" != no; then : |
| 13893 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13894 |
|
|
| 13895 |
+ |
else |
| 13896 |
+ |
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13897 |
|
fi |
| 13898 |
|
|
| 13203 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
| 13204 |
– |
do : |
| 13205 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13206 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13207 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13208 |
– |
cat >>confdefs.h <<_ACEOF |
| 13209 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13210 |
– |
_ACEOF |
| 13211 |
– |
|
| 13212 |
– |
fi |
| 13213 |
– |
done |
| 13214 |
– |
|
| 13899 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13900 |
|
#include <sys/socket.h> |
| 13901 |
|
#include <netdb.h> |
| 14212 |
|
|
| 14213 |
|
|
| 14214 |
|
|
| 13531 |
– |
|
| 13532 |
– |
|
| 14215 |
|
# Checks for header files. |
| 14216 |
|
|
| 14217 |
|
|
| 14303 |
|
fi |
| 14304 |
|
|
| 14305 |
|
|
| 14306 |
< |
# Check whether --enable-libpcre was given. |
| 14307 |
< |
if test "${enable_libpcre+set}" = set; then : |
| 14308 |
< |
enableval=$enable_libpcre; |
| 14309 |
< |
else |
| 14310 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 14311 |
< |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
| 14312 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5 |
| 14313 |
< |
$as_echo_n "checking for library containing pcre_study... " >&6; } |
| 14314 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 14306 |
> |
# Check whether --enable-libgeoip was given. |
| 14307 |
> |
if test "${enable_libgeoip+set}" = set; then : |
| 14308 |
> |
enableval=$enable_libgeoip; |
| 14309 |
> |
else |
| 14310 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 14311 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 14312 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14313 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 14314 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14315 |
|
$as_echo_n "(cached) " >&6 |
| 14316 |
|
else |
| 14317 |
|
ac_func_search_save_LIBS=$LIBS |
| 14324 |
|
#ifdef __cplusplus |
| 14325 |
|
extern "C" |
| 14326 |
|
#endif |
| 14327 |
< |
char pcre_study (); |
| 14327 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
| 14328 |
|
int |
| 14329 |
|
main () |
| 14330 |
|
{ |
| 14331 |
< |
return pcre_study (); |
| 14331 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
| 14332 |
|
; |
| 14333 |
|
return 0; |
| 14334 |
|
} |
| 14335 |
|
_ACEOF |
| 14336 |
< |
for ac_lib in '' pcre; do |
| 14336 |
> |
for ac_lib in '' GeoIP; do |
| 14337 |
|
if test -z "$ac_lib"; then |
| 14338 |
|
ac_res="none required" |
| 14339 |
|
else |
| 14341 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14342 |
|
fi |
| 14343 |
|
if ac_fn_c_try_link "$LINENO"; then : |
| 14344 |
< |
ac_cv_search_pcre_study=$ac_res |
| 14344 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 14345 |
|
fi |
| 14346 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14347 |
|
conftest$ac_exeext |
| 14348 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 14348 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14349 |
|
break |
| 14350 |
|
fi |
| 14351 |
|
done |
| 14352 |
< |
if ${ac_cv_search_pcre_study+:} false; then : |
| 14352 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 14353 |
|
|
| 14354 |
|
else |
| 14355 |
< |
ac_cv_search_pcre_study=no |
| 14355 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 14356 |
|
fi |
| 14357 |
|
rm conftest.$ac_ext |
| 14358 |
|
LIBS=$ac_func_search_save_LIBS |
| 14359 |
|
fi |
| 14360 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5 |
| 14361 |
< |
$as_echo "$ac_cv_search_pcre_study" >&6; } |
| 14362 |
< |
ac_res=$ac_cv_search_pcre_study |
| 14360 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 14361 |
> |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 14362 |
> |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 14363 |
|
if test "$ac_res" != no; then : |
| 14364 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14365 |
|
|
| 14366 |
< |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 14366 |
> |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 14367 |
|
|
| 14368 |
|
fi |
| 14369 |
|
|
| 14585 |
|
fi |
| 14586 |
|
|
| 14587 |
|
|
| 14588 |
< |
# Check whether --enable-small-net was given. |
| 13907 |
< |
if test "${enable_small_net+set}" = set; then : |
| 13908 |
< |
enableval=$enable_small_net; small_net=$enableval |
| 13909 |
< |
else |
| 13910 |
< |
small_net=no |
| 13911 |
< |
fi |
| 13912 |
< |
|
| 13913 |
< |
|
| 13914 |
< |
if test "$small_net" = "yes"; then : |
| 13915 |
< |
|
| 13916 |
< |
|
| 13917 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 2048" >>confdefs.h |
| 13918 |
< |
|
| 13919 |
< |
|
| 13920 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 13921 |
< |
|
| 13922 |
< |
|
| 13923 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 13924 |
< |
|
| 13925 |
< |
|
| 13926 |
< |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 13927 |
< |
|
| 13928 |
< |
|
| 13929 |
< |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 13930 |
< |
|
| 13931 |
< |
|
| 13932 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 13933 |
< |
|
| 14588 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 14589 |
|
|
| 13935 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 14590 |
|
|
| 14591 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 14592 |
|
|
| 13938 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 14593 |
|
|
| 14594 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 14595 |
|
|
| 13941 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 14596 |
|
|
| 14597 |
< |
|
| 13944 |
< |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 13945 |
< |
|
| 13946 |
< |
else |
| 14597 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 14598 |
|
|
| 14599 |
|
|
| 14600 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 14601 |
|
|
| 13950 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h |
| 14602 |
|
|
| 14603 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 14604 |
|
|
| 13953 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 14605 |
|
|
| 14606 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 14607 |
|
|
| 13956 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 14608 |
|
|
| 14609 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 14610 |
|
|
| 13959 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 14611 |
|
|
| 14612 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 14613 |
|
|
| 13962 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 14614 |
|
|
| 14615 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 14616 |
|
|
| 13965 |
– |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 14617 |
|
|
| 14618 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 14619 |
|
|
| 13968 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 14620 |
|
|
| 14621 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 14622 |
|
|
| 13971 |
– |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 14623 |
|
|
| 14624 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 14625 |
|
|
| 13974 |
– |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 14626 |
|
|
| 14627 |
< |
|
| 13977 |
< |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 13978 |
< |
|
| 13979 |
< |
fi |
| 14627 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 14628 |
|
|
| 14629 |
|
|
| 14630 |
|
# Argument processing. |
| 14645 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 14646 |
|
fi |
| 14647 |
|
|
| 14000 |
– |
# Check whether --enable-rtsigio was given. |
| 14001 |
– |
if test "${enable_rtsigio+set}" = set; then : |
| 14002 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 14003 |
– |
fi |
| 14004 |
– |
|
| 14648 |
|
# Check whether --enable-poll was given. |
| 14649 |
|
if test "${enable_poll+set}" = set; then : |
| 14650 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 14828 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 14829 |
|
|
| 14830 |
|
fi |
| 14831 |
< |
iopoll_mechanism_rtsigio=4 |
| 14189 |
< |
|
| 14190 |
< |
cat >>confdefs.h <<_ACEOF |
| 14191 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 14192 |
< |
_ACEOF |
| 14193 |
< |
|
| 14194 |
< |
if test "$cross_compiling" = yes; then : |
| 14195 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 14196 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 14197 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 14198 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 14199 |
< |
else |
| 14200 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14201 |
< |
/* end confdefs.h. */ |
| 14202 |
< |
|
| 14203 |
< |
#define _GNU_SOURCE |
| 14204 |
< |
#include <fcntl.h> |
| 14205 |
< |
static unsigned int have_f_setsig = 0; |
| 14206 |
< |
|
| 14207 |
< |
int |
| 14208 |
< |
main () |
| 14209 |
< |
{ |
| 14210 |
< |
|
| 14211 |
< |
#ifdef F_SETSIG |
| 14212 |
< |
have_f_setsig = 1; |
| 14213 |
< |
#endif |
| 14214 |
< |
return have_f_setsig == 0; |
| 14215 |
< |
|
| 14216 |
< |
; |
| 14217 |
< |
return 0; |
| 14218 |
< |
} |
| 14219 |
< |
_ACEOF |
| 14220 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14221 |
< |
is_rtsigio_mechanism_available="yes" |
| 14222 |
< |
else |
| 14223 |
< |
is_rtsigio_mechanism_available="no" |
| 14224 |
< |
fi |
| 14225 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14226 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14227 |
< |
fi |
| 14228 |
< |
|
| 14229 |
< |
iopoll_mechanism_poll=5 |
| 14831 |
> |
iopoll_mechanism_poll=4 |
| 14832 |
|
|
| 14833 |
|
cat >>confdefs.h <<_ACEOF |
| 14834 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 14882 |
|
fi |
| 14883 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14884 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14885 |
< |
iopoll_mechanism_select=6 |
| 14885 |
> |
iopoll_mechanism_select=5 |
| 14886 |
|
|
| 14887 |
|
cat >>confdefs.h <<_ACEOF |
| 14888 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 14937 |
|
rm -f core conftest.err conftest.$ac_objext \ |
| 14938 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14939 |
|
optimal_iopoll_mechanism="none" |
| 14940 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 14940 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 14941 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 14942 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 14943 |
|
optimal_iopoll_mechanism="$mechanism" |
| 14974 |
|
|
| 14975 |
|
|
| 14976 |
|
|
| 14375 |
– |
|
| 14376 |
– |
# Check whether --with-nicklen was given. |
| 14377 |
– |
if test "${with_nicklen+set}" = set; then : |
| 14378 |
– |
withval=$with_nicklen; nicklen="$withval" |
| 14379 |
– |
else |
| 14380 |
– |
nicklen="9" |
| 14381 |
– |
fi |
| 14382 |
– |
|
| 14383 |
– |
|
| 14384 |
– |
cat >>confdefs.h <<_ACEOF |
| 14385 |
– |
#define NICKLEN ($nicklen) |
| 14386 |
– |
_ACEOF |
| 14387 |
– |
|
| 14388 |
– |
|
| 14389 |
– |
|
| 14390 |
– |
|
| 14391 |
– |
# Check whether --with-topiclen was given. |
| 14392 |
– |
if test "${with_topiclen+set}" = set; then : |
| 14393 |
– |
withval=$with_topiclen; topiclen="$withval" |
| 14394 |
– |
else |
| 14395 |
– |
topiclen="160" |
| 14396 |
– |
fi |
| 14397 |
– |
|
| 14398 |
– |
|
| 14399 |
– |
cat >>confdefs.h <<_ACEOF |
| 14400 |
– |
#define TOPICLEN ($topiclen) |
| 14401 |
– |
_ACEOF |
| 14402 |
– |
|
| 14403 |
– |
|
| 14404 |
– |
|
| 14977 |
|
# Check whether --enable-halfops was given. |
| 14978 |
|
if test "${enable_halfops+set}" = set; then : |
| 14979 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 14996 |
|
fi |
| 14997 |
|
|
| 14998 |
|
if test "$debugging" = "yes" ; then |
| 14427 |
– |
|
| 14428 |
– |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 14429 |
– |
|
| 14999 |
|
CFLAGS="-Wall -g -O0" |
| 14431 |
– |
else |
| 14432 |
– |
|
| 14433 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 14434 |
– |
|
| 15000 |
|
fi |
| 15001 |
|
|
| 15002 |
|
|
| 15098 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 15099 |
|
|
| 15100 |
|
|
| 15101 |
< |
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" |
| 15101 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 15102 |
|
|
| 15103 |
|
|
| 15104 |
|
cat >confcache <<\_ACEOF |
| 15665 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15666 |
|
# values after options handling. |
| 15667 |
|
ac_log=" |
| 15668 |
< |
This file was extended by ircd-hybrid $as_me 8beta3, which was |
| 15668 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 15669 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15670 |
|
|
| 15671 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15731 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15732 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15733 |
|
ac_cs_version="\\ |
| 15734 |
< |
ircd-hybrid config.status 8beta3 |
| 15734 |
> |
ircd-hybrid config.status TRUNK |
| 15735 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15736 |
|
with options \\"\$ac_cs_config\\" |
| 15737 |
|
|
| 16141 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 16142 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 16143 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 15579 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 15580 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
| 16144 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 16145 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 15583 |
– |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 16146 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 16147 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 16148 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 16149 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 15588 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 15589 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 16150 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 16151 |
|
|
| 16152 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 16744 |
|
|
| 16745 |
|
case $ac_file$ac_mode in |
| 16746 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 16747 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 16747 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 16748 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 16749 |
|
# if we detect the quoting. |
| 16750 |
|
case $CONFIG_FILES in |
| 16795 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16796 |
|
test -z "$DEPDIR" && continue |
| 16797 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16798 |
< |
test -z "am__include" && continue |
| 16798 |
> |
test -z "$am__include" && continue |
| 16799 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16800 |
|
# Find all dependency output files, they are included files with |
| 16801 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |