| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 982 2009-08-13 22:15:08Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 1015 2009-10-25 00:08:06Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4. |
| 4 |
> |
# Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1. |
| 5 |
> |
# |
| 6 |
> |
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
> |
# |
| 8 |
|
# |
| 9 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 10 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
| 11 |
< |
# Foundation, Inc. |
| 10 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
| 11 |
> |
# Inc. |
| 12 |
> |
# |
| 13 |
|
# |
| 14 |
|
# This configure script is free software; the Free Software Foundation |
| 15 |
|
# gives unlimited permission to copy, distribute and modify it. |
| 231 |
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 232 |
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 233 |
|
else |
| 234 |
< |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
| 235 |
< |
$0: including any error possibly output before this |
| 236 |
< |
$0: message. Then install a modern shell, or manually run |
| 237 |
< |
$0: the script under such a shell if you do have one." |
| 234 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
| 235 |
> |
$0: bugs@ircd-hybrid.org about your system, including any |
| 236 |
> |
$0: error possibly output before this message. Then install |
| 237 |
> |
$0: a modern shell, or manually run the script under such a |
| 238 |
> |
$0: shell if you do have one." |
| 239 |
|
fi |
| 240 |
|
exit 1 |
| 241 |
|
fi |
| 683 |
|
|
| 684 |
|
lt_dlopen_dir="$lt_ltdl_dir" |
| 685 |
|
|
| 686 |
< |
exec 7<&0 </dev/null 6>&1 |
| 686 |
> |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 687 |
> |
exec 6>&1 |
| 688 |
|
|
| 689 |
|
# Name of the host. |
| 690 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 706 |
|
# Identity of this package. |
| 707 |
|
PACKAGE_NAME='ircd-hybrid' |
| 708 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 709 |
< |
PACKAGE_VERSION='7.2.4' |
| 710 |
< |
PACKAGE_STRING='ircd-hybrid 7.2.4' |
| 711 |
< |
PACKAGE_BUGREPORT='' |
| 709 |
> |
PACKAGE_VERSION='7.3-rc1' |
| 710 |
> |
PACKAGE_STRING='ircd-hybrid 7.3-rc1' |
| 711 |
> |
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 712 |
|
PACKAGE_URL='' |
| 713 |
|
|
| 714 |
|
ac_unique_file="src/ircd.c" |
| 766 |
|
EFNET_TRUE |
| 767 |
|
ENABLE_SSL_FALSE |
| 768 |
|
ENABLE_SSL_TRUE |
| 769 |
+ |
ENABLE_PCRE_FALSE |
| 770 |
+ |
ENABLE_PCRE_TRUE |
| 771 |
|
LTDLOPEN |
| 772 |
|
LT_CONFIG_H |
| 773 |
|
subdirs |
| 917 |
|
enable_ltdl_install |
| 918 |
|
with_zlib_path |
| 919 |
|
enable_zlib |
| 920 |
+ |
with_libpcre_path |
| 921 |
+ |
enable_libpcre |
| 922 |
|
enable_openssl |
| 923 |
|
enable_assert |
| 924 |
|
enable_small_net |
| 1489 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1490 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1491 |
|
cat <<_ACEOF |
| 1492 |
< |
\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems. |
| 1492 |
> |
\`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems. |
| 1493 |
|
|
| 1494 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1495 |
|
|
| 1559 |
|
|
| 1560 |
|
if test -n "$ac_init_help"; then |
| 1561 |
|
case $ac_init_help in |
| 1562 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";; |
| 1562 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";; |
| 1563 |
|
esac |
| 1564 |
|
cat <<\_ACEOF |
| 1565 |
|
|
| 1578 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1579 |
|
--enable-ltdl-install install libltdl |
| 1580 |
|
--disable-zlib Disable ziplinks support |
| 1581 |
+ |
--disable-libpcre Disable PCRE support |
| 1582 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1583 |
|
--disable-openssl Disable OpenSSL support. |
| 1584 |
|
--enable-assert Enable assert() statements |
| 1607 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1608 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1609 |
|
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1610 |
+ |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1611 |
|
--with-nicklen=<value> Set nickname length (default 9). |
| 1612 |
|
--with-topiclen=<value> Set topic length (default 160). |
| 1613 |
|
--with-syslog-facility=LOG |
| 1620 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1621 |
|
nonstandard directory <lib dir> |
| 1622 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1623 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1623 |
> |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1624 |
|
you have headers in a nonstandard directory <include dir> |
| 1625 |
|
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
| 1626 |
|
the first program found out of: `bison -y', `byacc', `yacc'. |
| 1632 |
|
Use these variables to override the choices made by `configure' or to help |
| 1633 |
|
it to find libraries and programs with nonstandard names/locations. |
| 1634 |
|
|
| 1635 |
< |
Report bugs to the package provider. |
| 1635 |
> |
Report bugs to <bugs@ircd-hybrid.org>. |
| 1636 |
|
_ACEOF |
| 1637 |
|
ac_status=$? |
| 1638 |
|
fi |
| 1695 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1696 |
|
if $ac_init_version; then |
| 1697 |
|
cat <<\_ACEOF |
| 1698 |
< |
ircd-hybrid configure 7.2.4 |
| 1699 |
< |
generated by GNU Autoconf 2.64 |
| 1698 |
> |
ircd-hybrid configure 7.3-rc1 |
| 1699 |
> |
generated by GNU Autoconf 2.65 |
| 1700 |
|
|
| 1701 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1702 |
|
This configure script is free software; the Free Software Foundation |
| 1743 |
|
ac_retval=1 |
| 1744 |
|
fi |
| 1745 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1746 |
< |
return $ac_retval |
| 1746 |
> |
as_fn_set_status $ac_retval |
| 1747 |
|
|
| 1748 |
|
} # ac_fn_c_try_compile |
| 1749 |
|
|
| 1789 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1790 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1791 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1792 |
< |
return $ac_retval |
| 1792 |
> |
as_fn_set_status $ac_retval |
| 1793 |
|
|
| 1794 |
|
} # ac_fn_c_try_link |
| 1795 |
|
|
| 1857 |
|
ac_retval=1 |
| 1858 |
|
fi |
| 1859 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1860 |
< |
return $ac_retval |
| 1860 |
> |
as_fn_set_status $ac_retval |
| 1861 |
|
|
| 1862 |
|
} # ac_fn_c_try_cpp |
| 1863 |
|
|
| 1899 |
|
fi |
| 1900 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1901 |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1902 |
< |
return $ac_retval |
| 1902 |
> |
as_fn_set_status $ac_retval |
| 1903 |
|
|
| 1904 |
|
} # ac_fn_c_try_run |
| 1905 |
|
|
| 2120 |
|
|
| 2121 |
|
} # ac_fn_c_check_member |
| 2122 |
|
|
| 2111 |
– |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 2112 |
– |
# -------------------------------------------- |
| 2113 |
– |
# Tries to find the compile-time value of EXPR in a program that includes |
| 2114 |
– |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
| 2115 |
– |
# computed |
| 2116 |
– |
ac_fn_c_compute_int () |
| 2117 |
– |
{ |
| 2118 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2119 |
– |
if test "$cross_compiling" = yes; then |
| 2120 |
– |
# Depending upon the size, compute the lo and hi bounds. |
| 2121 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2122 |
– |
/* end confdefs.h. */ |
| 2123 |
– |
$4 |
| 2124 |
– |
int |
| 2125 |
– |
main () |
| 2126 |
– |
{ |
| 2127 |
– |
static int test_array [1 - 2 * !(($2) >= 0)]; |
| 2128 |
– |
test_array [0] = 0 |
| 2129 |
– |
|
| 2130 |
– |
; |
| 2131 |
– |
return 0; |
| 2132 |
– |
} |
| 2133 |
– |
_ACEOF |
| 2134 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2135 |
– |
ac_lo=0 ac_mid=0 |
| 2136 |
– |
while :; do |
| 2137 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2138 |
– |
/* end confdefs.h. */ |
| 2139 |
– |
$4 |
| 2140 |
– |
int |
| 2141 |
– |
main () |
| 2142 |
– |
{ |
| 2143 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2144 |
– |
test_array [0] = 0 |
| 2145 |
– |
|
| 2146 |
– |
; |
| 2147 |
– |
return 0; |
| 2148 |
– |
} |
| 2149 |
– |
_ACEOF |
| 2150 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2151 |
– |
ac_hi=$ac_mid; break |
| 2152 |
– |
else |
| 2153 |
– |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
| 2154 |
– |
if test $ac_lo -le $ac_mid; then |
| 2155 |
– |
ac_lo= ac_hi= |
| 2156 |
– |
break |
| 2157 |
– |
fi |
| 2158 |
– |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
| 2159 |
– |
fi |
| 2160 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2161 |
– |
done |
| 2162 |
– |
else |
| 2163 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2164 |
– |
/* end confdefs.h. */ |
| 2165 |
– |
$4 |
| 2166 |
– |
int |
| 2167 |
– |
main () |
| 2168 |
– |
{ |
| 2169 |
– |
static int test_array [1 - 2 * !(($2) < 0)]; |
| 2170 |
– |
test_array [0] = 0 |
| 2171 |
– |
|
| 2172 |
– |
; |
| 2173 |
– |
return 0; |
| 2174 |
– |
} |
| 2175 |
– |
_ACEOF |
| 2176 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2177 |
– |
ac_hi=-1 ac_mid=-1 |
| 2178 |
– |
while :; do |
| 2179 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2180 |
– |
/* end confdefs.h. */ |
| 2181 |
– |
$4 |
| 2182 |
– |
int |
| 2183 |
– |
main () |
| 2184 |
– |
{ |
| 2185 |
– |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2186 |
– |
test_array [0] = 0 |
| 2187 |
– |
|
| 2188 |
– |
; |
| 2189 |
– |
return 0; |
| 2190 |
– |
} |
| 2191 |
– |
_ACEOF |
| 2192 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2193 |
– |
ac_lo=$ac_mid; break |
| 2194 |
– |
else |
| 2195 |
– |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
| 2196 |
– |
if test $ac_mid -le $ac_hi; then |
| 2197 |
– |
ac_lo= ac_hi= |
| 2198 |
– |
break |
| 2199 |
– |
fi |
| 2200 |
– |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
| 2201 |
– |
fi |
| 2202 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2203 |
– |
done |
| 2204 |
– |
else |
| 2205 |
– |
ac_lo= ac_hi= |
| 2206 |
– |
fi |
| 2207 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2208 |
– |
fi |
| 2209 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2210 |
– |
# Binary search between lo and hi bounds. |
| 2211 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
| 2212 |
– |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
| 2213 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2214 |
– |
/* end confdefs.h. */ |
| 2215 |
– |
$4 |
| 2216 |
– |
int |
| 2217 |
– |
main () |
| 2218 |
– |
{ |
| 2219 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2220 |
– |
test_array [0] = 0 |
| 2221 |
– |
|
| 2222 |
– |
; |
| 2223 |
– |
return 0; |
| 2224 |
– |
} |
| 2225 |
– |
_ACEOF |
| 2226 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2227 |
– |
ac_hi=$ac_mid |
| 2228 |
– |
else |
| 2229 |
– |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 2230 |
– |
fi |
| 2231 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2232 |
– |
done |
| 2233 |
– |
case $ac_lo in #(( |
| 2234 |
– |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 2235 |
– |
'') ac_retval=1 ;; |
| 2236 |
– |
esac |
| 2237 |
– |
else |
| 2238 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2239 |
– |
/* end confdefs.h. */ |
| 2240 |
– |
$4 |
| 2241 |
– |
static long int longval () { return $2; } |
| 2242 |
– |
static unsigned long int ulongval () { return $2; } |
| 2243 |
– |
#include <stdio.h> |
| 2244 |
– |
#include <stdlib.h> |
| 2245 |
– |
int |
| 2246 |
– |
main () |
| 2247 |
– |
{ |
| 2248 |
– |
|
| 2249 |
– |
FILE *f = fopen ("conftest.val", "w"); |
| 2250 |
– |
if (! f) |
| 2251 |
– |
return 1; |
| 2252 |
– |
if (($2) < 0) |
| 2253 |
– |
{ |
| 2254 |
– |
long int i = longval (); |
| 2255 |
– |
if (i != ($2)) |
| 2256 |
– |
return 1; |
| 2257 |
– |
fprintf (f, "%ld", i); |
| 2258 |
– |
} |
| 2259 |
– |
else |
| 2260 |
– |
{ |
| 2261 |
– |
unsigned long int i = ulongval (); |
| 2262 |
– |
if (i != ($2)) |
| 2263 |
– |
return 1; |
| 2264 |
– |
fprintf (f, "%lu", i); |
| 2265 |
– |
} |
| 2266 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
| 2267 |
– |
on some platforms. */ |
| 2268 |
– |
return ferror (f) || fclose (f) != 0; |
| 2269 |
– |
|
| 2270 |
– |
; |
| 2271 |
– |
return 0; |
| 2272 |
– |
} |
| 2273 |
– |
_ACEOF |
| 2274 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 2275 |
– |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 2276 |
– |
else |
| 2277 |
– |
ac_retval=1 |
| 2278 |
– |
fi |
| 2279 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 2280 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2281 |
– |
rm -f conftest.val |
| 2282 |
– |
|
| 2283 |
– |
fi |
| 2284 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2285 |
– |
return $ac_retval |
| 2286 |
– |
|
| 2287 |
– |
} # ac_fn_c_compute_int |
| 2288 |
– |
|
| 2123 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 2124 |
|
# ------------------------------------------------------- |
| 2125 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 2190 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2191 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2192 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2193 |
+ |
( cat <<\_ASBOX |
| 2194 |
+ |
## ----------------------------------- ## |
| 2195 |
+ |
## Report this to bugs@ircd-hybrid.org ## |
| 2196 |
+ |
## ----------------------------------- ## |
| 2197 |
+ |
_ASBOX |
| 2198 |
+ |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2199 |
|
;; |
| 2200 |
|
esac |
| 2201 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2216 |
|
This file contains any messages produced by compilers while |
| 2217 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2218 |
|
|
| 2219 |
< |
It was created by ircd-hybrid $as_me 7.2.4, which was |
| 2220 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
| 2219 |
> |
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
| 2220 |
> |
generated by GNU Autoconf 2.65. Invocation command line was |
| 2221 |
|
|
| 2222 |
|
$ $0 $@ |
| 2223 |
|
|
| 2470 |
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2471 |
|
do |
| 2472 |
|
test "x$ac_site_file" = xNONE && continue |
| 2473 |
< |
if test -r "$ac_site_file"; then |
| 2473 |
> |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 2474 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2475 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2476 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2479 |
|
done |
| 2480 |
|
|
| 2481 |
|
if test -r "$cache_file"; then |
| 2482 |
< |
# Some versions of bash will fail to source /dev/null (special |
| 2483 |
< |
# files actually), so we avoid doing that. |
| 2484 |
< |
if test -f "$cache_file"; then |
| 2482 |
> |
# Some versions of bash will fail to source /dev/null (special files |
| 2483 |
> |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2484 |
> |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2485 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2486 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2487 |
|
case $cache_file in |
| 2495 |
|
>$cache_file |
| 2496 |
|
fi |
| 2497 |
|
|
| 2658 |
– |
as_fn_append ac_func_list " snprintf" |
| 2659 |
– |
as_fn_append ac_func_list " vsnprintf" |
| 2498 |
|
as_fn_append ac_func_list " mmap" |
| 2499 |
|
as_fn_append ac_func_list " strtok_r" |
| 2500 |
|
as_fn_append ac_func_list " usleep" |
| 2507 |
|
as_fn_append ac_header_list " sys/param.h" |
| 2508 |
|
as_fn_append ac_header_list " errno.h" |
| 2509 |
|
as_fn_append ac_header_list " sys/syslog.h" |
| 2672 |
– |
as_fn_append ac_header_list " stddef.h" |
| 2673 |
– |
as_fn_append ac_header_list " libgen.h" |
| 2510 |
|
as_fn_append ac_header_list " types.h" |
| 2511 |
|
as_fn_append ac_header_list " socket.h" |
| 2512 |
|
as_fn_append ac_header_list " sys/wait.h" |
| 2917 |
|
|
| 2918 |
|
fi |
| 2919 |
|
|
| 2920 |
+ |
test -d ./--version && rmdir ./--version |
| 2921 |
|
if test "${ac_cv_path_mkdir+set}" = set; then |
| 2922 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
| 2923 |
|
else |
| 2925 |
|
# value for MKDIR_P within a source directory, because that will |
| 2926 |
|
# break other packages using the cache if that directory is |
| 2927 |
|
# removed, or if the value is a relative name. |
| 3091 |
– |
test -d ./--version && rmdir ./--version |
| 2928 |
|
MKDIR_P="$ac_install_sh -d" |
| 2929 |
|
fi |
| 2930 |
|
fi |
| 3041 |
|
|
| 3042 |
|
# Define the identity of the package. |
| 3043 |
|
PACKAGE='ircd-hybrid' |
| 3044 |
< |
VERSION='7.2.4' |
| 3044 |
> |
VERSION='7.3-rc1' |
| 3045 |
|
|
| 3046 |
|
|
| 3047 |
|
cat >>confdefs.h <<_ACEOF |
| 3108 |
|
|
| 3109 |
|
|
| 3110 |
|
|
| 3275 |
– |
|
| 3111 |
|
# Checks for programs. |
| 3112 |
+ |
DEPDIR="${am__leading_dot}deps" |
| 3113 |
+ |
|
| 3114 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
| 3115 |
+ |
|
| 3116 |
+ |
|
| 3117 |
+ |
am_make=${MAKE-make} |
| 3118 |
+ |
cat > confinc << 'END' |
| 3119 |
+ |
am__doit: |
| 3120 |
+ |
@echo this is the am__doit target |
| 3121 |
+ |
.PHONY: am__doit |
| 3122 |
+ |
END |
| 3123 |
+ |
# If we don't find an include directive, just comment out the code. |
| 3124 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3125 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3126 |
+ |
am__include="#" |
| 3127 |
+ |
am__quote= |
| 3128 |
+ |
_am_result=none |
| 3129 |
+ |
# First try GNU make style include. |
| 3130 |
+ |
echo "include confinc" > confmf |
| 3131 |
+ |
# Ignore all kinds of additional output from `make'. |
| 3132 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3133 |
+ |
*the\ am__doit\ target*) |
| 3134 |
+ |
am__include=include |
| 3135 |
+ |
am__quote= |
| 3136 |
+ |
_am_result=GNU |
| 3137 |
+ |
;; |
| 3138 |
+ |
esac |
| 3139 |
+ |
# Now try BSD make style include. |
| 3140 |
+ |
if test "$am__include" = "#"; then |
| 3141 |
+ |
echo '.include "confinc"' > confmf |
| 3142 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3143 |
+ |
*the\ am__doit\ target*) |
| 3144 |
+ |
am__include=.include |
| 3145 |
+ |
am__quote="\"" |
| 3146 |
+ |
_am_result=BSD |
| 3147 |
+ |
;; |
| 3148 |
+ |
esac |
| 3149 |
+ |
fi |
| 3150 |
+ |
|
| 3151 |
+ |
|
| 3152 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3153 |
+ |
$as_echo "$_am_result" >&6; } |
| 3154 |
+ |
rm -f confinc confmf |
| 3155 |
+ |
|
| 3156 |
+ |
# Check whether --enable-dependency-tracking was given. |
| 3157 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
| 3158 |
+ |
enableval=$enable_dependency_tracking; |
| 3159 |
+ |
fi |
| 3160 |
+ |
|
| 3161 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
| 3162 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
| 3163 |
+ |
AMDEPBACKSLASH='\' |
| 3164 |
+ |
fi |
| 3165 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
| 3166 |
+ |
AMDEP_TRUE= |
| 3167 |
+ |
AMDEP_FALSE='#' |
| 3168 |
+ |
else |
| 3169 |
+ |
AMDEP_TRUE='#' |
| 3170 |
+ |
AMDEP_FALSE= |
| 3171 |
+ |
fi |
| 3172 |
+ |
|
| 3173 |
+ |
|
| 3174 |
|
ac_ext=c |
| 3175 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 3176 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3493 |
|
... rest of stderr output deleted ... |
| 3494 |
|
10q' conftest.err >conftest.er1 |
| 3495 |
|
cat conftest.er1 >&5 |
| 3599 |
– |
rm -f conftest.er1 conftest.err |
| 3496 |
|
fi |
| 3497 |
+ |
rm -f conftest.er1 conftest.err |
| 3498 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3499 |
|
test $ac_status = 0; } |
| 3500 |
|
done |
| 3501 |
|
|
| 3502 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3503 |
|
/* end confdefs.h. */ |
| 3504 |
< |
#include <stdio.h> |
| 3504 |
> |
|
| 3505 |
|
int |
| 3506 |
|
main () |
| 3507 |
|
{ |
| 3611 |
– |
FILE *f = fopen ("conftest.out", "w"); |
| 3612 |
– |
return ferror (f) || fclose (f) != 0; |
| 3508 |
|
|
| 3509 |
|
; |
| 3510 |
|
return 0; |
| 3511 |
|
} |
| 3512 |
|
_ACEOF |
| 3513 |
|
ac_clean_files_save=$ac_clean_files |
| 3514 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
| 3514 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 3515 |
|
# Try to create an executable without -o first, disregard a.out. |
| 3516 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 3517 |
|
# of exeext. |
| 3518 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3519 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3518 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3519 |
> |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3520 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3521 |
|
|
| 3522 |
|
# The possible output files: |
| 3578 |
|
else |
| 3579 |
|
ac_file='' |
| 3580 |
|
fi |
| 3686 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3687 |
– |
$as_echo "$ac_file" >&6; } |
| 3581 |
|
if test -z "$ac_file"; then : |
| 3582 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3582 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3583 |
> |
$as_echo "no" >&6; } |
| 3584 |
> |
$as_echo "$as_me: failed program was:" >&5 |
| 3585 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3586 |
|
|
| 3587 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3589 |
|
{ as_fn_set_status 77 |
| 3590 |
|
as_fn_error "C compiler cannot create executables |
| 3591 |
|
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3592 |
+ |
else |
| 3593 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3594 |
+ |
$as_echo "yes" >&6; } |
| 3595 |
|
fi |
| 3596 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3597 |
+ |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3598 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3599 |
+ |
$as_echo "$ac_file" >&6; } |
| 3600 |
|
ac_exeext=$ac_cv_exeext |
| 3601 |
|
|
| 3602 |
< |
# Check that the compiler produces executables we can run. If not, either |
| 3701 |
< |
# the compiler is broken, or we cross compile. |
| 3702 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3703 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3704 |
< |
# If not cross compiling, check that we can run a simple program. |
| 3705 |
< |
if test "$cross_compiling" != yes; then |
| 3706 |
< |
if { ac_try='./$ac_file' |
| 3707 |
< |
{ { case "(($ac_try" in |
| 3708 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3709 |
< |
*) ac_try_echo=$ac_try;; |
| 3710 |
< |
esac |
| 3711 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3712 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3713 |
< |
(eval "$ac_try") 2>&5 |
| 3714 |
< |
ac_status=$? |
| 3715 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3716 |
< |
test $ac_status = 0; }; }; then |
| 3717 |
< |
cross_compiling=no |
| 3718 |
< |
else |
| 3719 |
< |
if test "$cross_compiling" = maybe; then |
| 3720 |
< |
cross_compiling=yes |
| 3721 |
< |
else |
| 3722 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3723 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3724 |
< |
as_fn_error "cannot run C compiled programs. |
| 3725 |
< |
If you meant to cross compile, use \`--host'. |
| 3726 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3727 |
< |
fi |
| 3728 |
< |
fi |
| 3729 |
< |
fi |
| 3730 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3731 |
< |
$as_echo "yes" >&6; } |
| 3732 |
< |
|
| 3733 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
| 3602 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3603 |
|
ac_clean_files=$ac_clean_files_save |
| 3735 |
– |
# Check that the compiler produces executables we can run. If not, either |
| 3736 |
– |
# the compiler is broken, or we cross compile. |
| 3737 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3738 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3739 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3740 |
– |
$as_echo "$cross_compiling" >&6; } |
| 3741 |
– |
|
| 3604 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3605 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3606 |
|
if { { ac_try="$ac_link" |
| 3633 |
|
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3634 |
|
See \`config.log' for more details." "$LINENO" 5; } |
| 3635 |
|
fi |
| 3636 |
< |
rm -f conftest$ac_cv_exeext |
| 3636 |
> |
rm -f conftest conftest$ac_cv_exeext |
| 3637 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3638 |
|
$as_echo "$ac_cv_exeext" >&6; } |
| 3639 |
|
|
| 3640 |
|
rm -f conftest.$ac_ext |
| 3641 |
|
EXEEXT=$ac_cv_exeext |
| 3642 |
|
ac_exeext=$EXEEXT |
| 3643 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3644 |
+ |
/* end confdefs.h. */ |
| 3645 |
+ |
#include <stdio.h> |
| 3646 |
+ |
int |
| 3647 |
+ |
main () |
| 3648 |
+ |
{ |
| 3649 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
| 3650 |
+ |
return ferror (f) || fclose (f) != 0; |
| 3651 |
+ |
|
| 3652 |
+ |
; |
| 3653 |
+ |
return 0; |
| 3654 |
+ |
} |
| 3655 |
+ |
_ACEOF |
| 3656 |
+ |
ac_clean_files="$ac_clean_files conftest.out" |
| 3657 |
+ |
# Check that the compiler produces executables we can run. If not, either |
| 3658 |
+ |
# the compiler is broken, or we cross compile. |
| 3659 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3660 |
+ |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3661 |
+ |
if test "$cross_compiling" != yes; then |
| 3662 |
+ |
{ { ac_try="$ac_link" |
| 3663 |
+ |
case "(($ac_try" in |
| 3664 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3665 |
+ |
*) ac_try_echo=$ac_try;; |
| 3666 |
+ |
esac |
| 3667 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3668 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 3669 |
+ |
(eval "$ac_link") 2>&5 |
| 3670 |
+ |
ac_status=$? |
| 3671 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3672 |
+ |
test $ac_status = 0; } |
| 3673 |
+ |
if { ac_try='./conftest$ac_cv_exeext' |
| 3674 |
+ |
{ { case "(($ac_try" in |
| 3675 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3676 |
+ |
*) ac_try_echo=$ac_try;; |
| 3677 |
+ |
esac |
| 3678 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3679 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 3680 |
+ |
(eval "$ac_try") 2>&5 |
| 3681 |
+ |
ac_status=$? |
| 3682 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3683 |
+ |
test $ac_status = 0; }; }; then |
| 3684 |
+ |
cross_compiling=no |
| 3685 |
+ |
else |
| 3686 |
+ |
if test "$cross_compiling" = maybe; then |
| 3687 |
+ |
cross_compiling=yes |
| 3688 |
+ |
else |
| 3689 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3690 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3691 |
+ |
as_fn_error "cannot run C compiled programs. |
| 3692 |
+ |
If you meant to cross compile, use \`--host'. |
| 3693 |
+ |
See \`config.log' for more details." "$LINENO" 5; } |
| 3694 |
+ |
fi |
| 3695 |
+ |
fi |
| 3696 |
+ |
fi |
| 3697 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3698 |
+ |
$as_echo "$cross_compiling" >&6; } |
| 3699 |
+ |
|
| 3700 |
+ |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 3701 |
+ |
ac_clean_files=$ac_clean_files_save |
| 3702 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3703 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3704 |
|
if test "${ac_cv_objext+set}" = set; then : |
| 3961 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3962 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3963 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4043 |
– |
DEPDIR="${am__leading_dot}deps" |
| 4044 |
– |
|
| 4045 |
– |
ac_config_commands="$ac_config_commands depfiles" |
| 4046 |
– |
|
| 4047 |
– |
|
| 4048 |
– |
am_make=${MAKE-make} |
| 4049 |
– |
cat > confinc << 'END' |
| 4050 |
– |
am__doit: |
| 4051 |
– |
@echo this is the am__doit target |
| 4052 |
– |
.PHONY: am__doit |
| 4053 |
– |
END |
| 4054 |
– |
# If we don't find an include directive, just comment out the code. |
| 4055 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 4056 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 4057 |
– |
am__include="#" |
| 4058 |
– |
am__quote= |
| 4059 |
– |
_am_result=none |
| 4060 |
– |
# First try GNU make style include. |
| 4061 |
– |
echo "include confinc" > confmf |
| 4062 |
– |
# Ignore all kinds of additional output from `make'. |
| 4063 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4064 |
– |
*the\ am__doit\ target*) |
| 4065 |
– |
am__include=include |
| 4066 |
– |
am__quote= |
| 4067 |
– |
_am_result=GNU |
| 4068 |
– |
;; |
| 4069 |
– |
esac |
| 4070 |
– |
# Now try BSD make style include. |
| 4071 |
– |
if test "$am__include" = "#"; then |
| 4072 |
– |
echo '.include "confinc"' > confmf |
| 4073 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4074 |
– |
*the\ am__doit\ target*) |
| 4075 |
– |
am__include=.include |
| 4076 |
– |
am__quote="\"" |
| 4077 |
– |
_am_result=BSD |
| 4078 |
– |
;; |
| 4079 |
– |
esac |
| 4080 |
– |
fi |
| 4081 |
– |
|
| 4082 |
– |
|
| 4083 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 4084 |
– |
$as_echo "$_am_result" >&6; } |
| 4085 |
– |
rm -f confinc confmf |
| 4086 |
– |
|
| 4087 |
– |
# Check whether --enable-dependency-tracking was given. |
| 4088 |
– |
if test "${enable_dependency_tracking+set}" = set; then : |
| 4089 |
– |
enableval=$enable_dependency_tracking; |
| 4090 |
– |
fi |
| 4091 |
– |
|
| 4092 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 4093 |
– |
am_depcomp="$ac_aux_dir/depcomp" |
| 4094 |
– |
AMDEPBACKSLASH='\' |
| 4095 |
– |
fi |
| 4096 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 4097 |
– |
AMDEP_TRUE= |
| 4098 |
– |
AMDEP_FALSE='#' |
| 4099 |
– |
else |
| 4100 |
– |
AMDEP_TRUE='#' |
| 4101 |
– |
AMDEP_FALSE= |
| 4102 |
– |
fi |
| 4103 |
– |
|
| 4104 |
– |
|
| 3964 |
|
|
| 3965 |
|
depcc="$CC" am_compiler_list= |
| 3966 |
|
|
| 4089 |
|
fi |
| 4090 |
|
|
| 4091 |
|
|
| 4092 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 4093 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 4094 |
+ |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 4095 |
+ |
$as_echo_n "(cached) " >&6 |
| 4096 |
+ |
else |
| 4097 |
+ |
ac_cv_prog_cc_c99=no |
| 4098 |
+ |
ac_save_CC=$CC |
| 4099 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4100 |
+ |
/* end confdefs.h. */ |
| 4101 |
+ |
#include <stdarg.h> |
| 4102 |
+ |
#include <stdbool.h> |
| 4103 |
+ |
#include <stdlib.h> |
| 4104 |
+ |
#include <wchar.h> |
| 4105 |
+ |
#include <stdio.h> |
| 4106 |
+ |
|
| 4107 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 4108 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
| 4109 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
| 4110 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 4111 |
+ |
static void |
| 4112 |
+ |
test_varargs_macros (void) |
| 4113 |
+ |
{ |
| 4114 |
+ |
int x = 1234; |
| 4115 |
+ |
int y = 5678; |
| 4116 |
+ |
debug ("Flag"); |
| 4117 |
+ |
debug ("X = %d\n", x); |
| 4118 |
+ |
showlist (The first, second, and third items.); |
| 4119 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
| 4120 |
+ |
} |
| 4121 |
+ |
|
| 4122 |
+ |
// Check long long types. |
| 4123 |
+ |
#define BIG64 18446744073709551615ull |
| 4124 |
+ |
#define BIG32 4294967295ul |
| 4125 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 4126 |
+ |
#if !BIG_OK |
| 4127 |
+ |
your preprocessor is broken; |
| 4128 |
+ |
#endif |
| 4129 |
+ |
#if BIG_OK |
| 4130 |
+ |
#else |
| 4131 |
+ |
your preprocessor is broken; |
| 4132 |
+ |
#endif |
| 4133 |
+ |
static long long int bignum = -9223372036854775807LL; |
| 4134 |
+ |
static unsigned long long int ubignum = BIG64; |
| 4135 |
+ |
|
| 4136 |
+ |
struct incomplete_array |
| 4137 |
+ |
{ |
| 4138 |
+ |
int datasize; |
| 4139 |
+ |
double data[]; |
| 4140 |
+ |
}; |
| 4141 |
+ |
|
| 4142 |
+ |
struct named_init { |
| 4143 |
+ |
int number; |
| 4144 |
+ |
const wchar_t *name; |
| 4145 |
+ |
double average; |
| 4146 |
+ |
}; |
| 4147 |
+ |
|
| 4148 |
+ |
typedef const char *ccp; |
| 4149 |
+ |
|
| 4150 |
+ |
static inline int |
| 4151 |
+ |
test_restrict (ccp restrict text) |
| 4152 |
+ |
{ |
| 4153 |
+ |
// See if C++-style comments work. |
| 4154 |
+ |
// Iterate through items via the restricted pointer. |
| 4155 |
+ |
// Also check for declarations in for loops. |
| 4156 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 4157 |
+ |
continue; |
| 4158 |
+ |
return 0; |
| 4159 |
+ |
} |
| 4160 |
+ |
|
| 4161 |
+ |
// Check varargs and va_copy. |
| 4162 |
+ |
static void |
| 4163 |
+ |
test_varargs (const char *format, ...) |
| 4164 |
+ |
{ |
| 4165 |
+ |
va_list args; |
| 4166 |
+ |
va_start (args, format); |
| 4167 |
+ |
va_list args_copy; |
| 4168 |
+ |
va_copy (args_copy, args); |
| 4169 |
+ |
|
| 4170 |
+ |
const char *str; |
| 4171 |
+ |
int number; |
| 4172 |
+ |
float fnumber; |
| 4173 |
+ |
|
| 4174 |
+ |
while (*format) |
| 4175 |
+ |
{ |
| 4176 |
+ |
switch (*format++) |
| 4177 |
+ |
{ |
| 4178 |
+ |
case 's': // string |
| 4179 |
+ |
str = va_arg (args_copy, const char *); |
| 4180 |
+ |
break; |
| 4181 |
+ |
case 'd': // int |
| 4182 |
+ |
number = va_arg (args_copy, int); |
| 4183 |
+ |
break; |
| 4184 |
+ |
case 'f': // float |
| 4185 |
+ |
fnumber = va_arg (args_copy, double); |
| 4186 |
+ |
break; |
| 4187 |
+ |
default: |
| 4188 |
+ |
break; |
| 4189 |
+ |
} |
| 4190 |
+ |
} |
| 4191 |
+ |
va_end (args_copy); |
| 4192 |
+ |
va_end (args); |
| 4193 |
+ |
} |
| 4194 |
+ |
|
| 4195 |
+ |
int |
| 4196 |
+ |
main () |
| 4197 |
+ |
{ |
| 4198 |
+ |
|
| 4199 |
+ |
// Check bool. |
| 4200 |
+ |
_Bool success = false; |
| 4201 |
+ |
|
| 4202 |
+ |
// Check restrict. |
| 4203 |
+ |
if (test_restrict ("String literal") == 0) |
| 4204 |
+ |
success = true; |
| 4205 |
+ |
char *restrict newvar = "Another string"; |
| 4206 |
+ |
|
| 4207 |
+ |
// Check varargs. |
| 4208 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
| 4209 |
+ |
test_varargs_macros (); |
| 4210 |
+ |
|
| 4211 |
+ |
// Check flexible array members. |
| 4212 |
+ |
struct incomplete_array *ia = |
| 4213 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 4214 |
+ |
ia->datasize = 10; |
| 4215 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
| 4216 |
+ |
ia->data[i] = i * 1.234; |
| 4217 |
+ |
|
| 4218 |
+ |
// Check named initializers. |
| 4219 |
+ |
struct named_init ni = { |
| 4220 |
+ |
.number = 34, |
| 4221 |
+ |
.name = L"Test wide string", |
| 4222 |
+ |
.average = 543.34343, |
| 4223 |
+ |
}; |
| 4224 |
+ |
|
| 4225 |
+ |
ni.number = 58; |
| 4226 |
+ |
|
| 4227 |
+ |
int dynamic_array[ni.number]; |
| 4228 |
+ |
dynamic_array[ni.number - 1] = 543; |
| 4229 |
+ |
|
| 4230 |
+ |
// work around unused variable warnings |
| 4231 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 4232 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
| 4233 |
+ |
|
| 4234 |
+ |
; |
| 4235 |
+ |
return 0; |
| 4236 |
+ |
} |
| 4237 |
+ |
_ACEOF |
| 4238 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4239 |
+ |
do |
| 4240 |
+ |
CC="$ac_save_CC $ac_arg" |
| 4241 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4242 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
| 4243 |
+ |
fi |
| 4244 |
+ |
rm -f core conftest.err conftest.$ac_objext |
| 4245 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4246 |
+ |
done |
| 4247 |
+ |
rm -f conftest.$ac_ext |
| 4248 |
+ |
CC=$ac_save_CC |
| 4249 |
+ |
|
| 4250 |
+ |
fi |
| 4251 |
+ |
# AC_CACHE_VAL |
| 4252 |
+ |
case "x$ac_cv_prog_cc_c99" in |
| 4253 |
+ |
x) |
| 4254 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4255 |
+ |
$as_echo "none needed" >&6; } ;; |
| 4256 |
+ |
xno) |
| 4257 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4258 |
+ |
$as_echo "unsupported" >&6; } ;; |
| 4259 |
+ |
*) |
| 4260 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
| 4261 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4262 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
| 4263 |
+ |
esac |
| 4264 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
| 4265 |
+ |
|
| 4266 |
+ |
fi |
| 4267 |
+ |
|
| 4268 |
+ |
|
| 4269 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4270 |
+ |
as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4271 |
+ |
fi |
| 4272 |
|
for ac_prog in 'bison -y' byacc |
| 4273 |
|
do |
| 4274 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4475 |
|
fi |
| 4476 |
|
|
| 4477 |
|
|
| 4478 |
< |
|
| 4440 |
< |
#ltdl stuff |
| 4478 |
> |
# Initializing libtool. |
| 4479 |
|
case `pwd` in |
| 4480 |
|
*\ * | *\ *) |
| 4481 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 5156 |
|
else |
| 5157 |
|
lt_cv_nm_interface="BSD nm" |
| 5158 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5159 |
< |
(eval echo "\"\$as_me:5121: $ac_compile\"" >&5) |
| 5159 |
> |
(eval echo "\"\$as_me:5159: $ac_compile\"" >&5) |
| 5160 |
|
(eval "$ac_compile" 2>conftest.err) |
| 5161 |
|
cat conftest.err >&5 |
| 5162 |
< |
(eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5162 |
> |
(eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5163 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 5164 |
|
cat conftest.err >&5 |
| 5165 |
< |
(eval echo "\"\$as_me:5127: output\"" >&5) |
| 5165 |
> |
(eval echo "\"\$as_me:5165: output\"" >&5) |
| 5166 |
|
cat conftest.out >&5 |
| 5167 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 5168 |
|
lt_cv_nm_interface="MS dumpbin" |
| 6367 |
|
;; |
| 6368 |
|
*-*-irix6*) |
| 6369 |
|
# Find out which ABI we are using. |
| 6370 |
< |
echo '#line 6332 "configure"' > conftest.$ac_ext |
| 6370 |
> |
echo '#line 6370 "configure"' > conftest.$ac_ext |
| 6371 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6372 |
|
(eval $ac_compile) 2>&5 |
| 6373 |
|
ac_status=$? |
| 7891 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7892 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7893 |
|
-e 's:$: $lt_compiler_flag:'` |
| 7894 |
< |
(eval echo "\"\$as_me:7856: $lt_compile\"" >&5) |
| 7894 |
> |
(eval echo "\"\$as_me:7894: $lt_compile\"" >&5) |
| 7895 |
|
(eval "$lt_compile" 2>conftest.err) |
| 7896 |
|
ac_status=$? |
| 7897 |
|
cat conftest.err >&5 |
| 7898 |
< |
echo "$as_me:7860: \$? = $ac_status" >&5 |
| 7898 |
> |
echo "$as_me:7898: \$? = $ac_status" >&5 |
| 7899 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7900 |
|
# The compiler can only warn and ignore the option if not recognized |
| 7901 |
|
# So say no if there are warnings other than the usual output. |
| 8230 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8231 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8232 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8233 |
< |
(eval echo "\"\$as_me:8195: $lt_compile\"" >&5) |
| 8233 |
> |
(eval echo "\"\$as_me:8233: $lt_compile\"" >&5) |
| 8234 |
|
(eval "$lt_compile" 2>conftest.err) |
| 8235 |
|
ac_status=$? |
| 8236 |
|
cat conftest.err >&5 |
| 8237 |
< |
echo "$as_me:8199: \$? = $ac_status" >&5 |
| 8237 |
> |
echo "$as_me:8237: \$? = $ac_status" >&5 |
| 8238 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 8239 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8240 |
|
# So say no if there are warnings other than the usual output. |
| 8335 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8336 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8337 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8338 |
< |
(eval echo "\"\$as_me:8300: $lt_compile\"" >&5) |
| 8338 |
> |
(eval echo "\"\$as_me:8338: $lt_compile\"" >&5) |
| 8339 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8340 |
|
ac_status=$? |
| 8341 |
|
cat out/conftest.err >&5 |
| 8342 |
< |
echo "$as_me:8304: \$? = $ac_status" >&5 |
| 8342 |
> |
echo "$as_me:8342: \$? = $ac_status" >&5 |
| 8343 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8344 |
|
then |
| 8345 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8390 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8391 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8392 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8393 |
< |
(eval echo "\"\$as_me:8355: $lt_compile\"" >&5) |
| 8393 |
> |
(eval echo "\"\$as_me:8393: $lt_compile\"" >&5) |
| 8394 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8395 |
|
ac_status=$? |
| 8396 |
|
cat out/conftest.err >&5 |
| 8397 |
< |
echo "$as_me:8359: \$? = $ac_status" >&5 |
| 8397 |
> |
echo "$as_me:8397: \$? = $ac_status" >&5 |
| 8398 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8399 |
|
then |
| 8400 |
|
# The compiler can only warn and ignore the option if not recognized |
| 10127 |
|
libsuff= |
| 10128 |
|
case "$host_cpu" in |
| 10129 |
|
x86_64*|s390x*|powerpc64*) |
| 10130 |
< |
echo '#line 10092 "configure"' > conftest.$ac_ext |
| 10130 |
> |
echo '#line 10130 "configure"' > conftest.$ac_ext |
| 10131 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10132 |
|
(eval $ac_compile) 2>&5 |
| 10133 |
|
ac_status=$? |
| 10780 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10781 |
|
lt_status=$lt_dlunknown |
| 10782 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10783 |
< |
#line 10745 "configure" |
| 10783 |
> |
#line 10783 "configure" |
| 10784 |
|
#include "confdefs.h" |
| 10785 |
|
|
| 10786 |
|
#if HAVE_DLFCN_H |
| 10876 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10877 |
|
lt_status=$lt_dlunknown |
| 10878 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10879 |
< |
#line 10841 "configure" |
| 10879 |
> |
#line 10879 "configure" |
| 10880 |
|
#include "confdefs.h" |
| 10881 |
|
|
| 10882 |
|
#if HAVE_DLFCN_H |
| 11548 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 11549 |
|
lt_status=$lt_dlunknown |
| 11550 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 11551 |
< |
#line 11513 "configure" |
| 11551 |
> |
#line 11551 "configure" |
| 11552 |
|
#include "confdefs.h" |
| 11553 |
|
|
| 11554 |
|
#if HAVE_DLFCN_H |
| 12161 |
|
# Only expand once: |
| 12162 |
|
|
| 12163 |
|
|
| 12126 |
– |
LIBTOOL="$LIBTOOL --silent" |
| 12127 |
– |
|
| 12164 |
|
|
| 12165 |
|
# Checks for libraries. |
| 12166 |
|
|
| 12305 |
|
|
| 12306 |
|
|
| 12307 |
|
|
| 12272 |
– |
|
| 12308 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 12274 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 12275 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 12276 |
– |
if test "${ac_cv_c_const+set}" = set; then : |
| 12277 |
– |
$as_echo_n "(cached) " >&6 |
| 12278 |
– |
else |
| 12279 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12280 |
– |
/* end confdefs.h. */ |
| 12281 |
– |
|
| 12282 |
– |
int |
| 12283 |
– |
main () |
| 12284 |
– |
{ |
| 12285 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
| 12286 |
– |
#ifndef __cplusplus |
| 12287 |
– |
/* Ultrix mips cc rejects this. */ |
| 12288 |
– |
typedef int charset[2]; |
| 12289 |
– |
const charset cs; |
| 12290 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
| 12291 |
– |
char const *const *pcpcc; |
| 12292 |
– |
char **ppc; |
| 12293 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 12294 |
– |
struct point {int x, y;}; |
| 12295 |
– |
static struct point const zero = {0,0}; |
| 12296 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
| 12297 |
– |
It does not let you subtract one const X* pointer from another in |
| 12298 |
– |
an arm of an if-expression whose if-part is not a constant |
| 12299 |
– |
expression */ |
| 12300 |
– |
const char *g = "string"; |
| 12301 |
– |
pcpcc = &g + (g ? g-g : 0); |
| 12302 |
– |
/* HPUX 7.0 cc rejects these. */ |
| 12303 |
– |
++pcpcc; |
| 12304 |
– |
ppc = (char**) pcpcc; |
| 12305 |
– |
pcpcc = (char const *const *) ppc; |
| 12306 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
| 12307 |
– |
char *t; |
| 12308 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 12309 |
– |
|
| 12310 |
– |
*t++ = 0; |
| 12311 |
– |
if (s) return 0; |
| 12312 |
– |
} |
| 12313 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 12314 |
– |
int x[] = {25, 17}; |
| 12315 |
– |
const int *foo = &x[0]; |
| 12316 |
– |
++foo; |
| 12317 |
– |
} |
| 12318 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 12319 |
– |
typedef const int *iptr; |
| 12320 |
– |
iptr p = 0; |
| 12321 |
– |
++p; |
| 12322 |
– |
} |
| 12323 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 12324 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 12325 |
– |
struct s { int j; const int *ap[3]; }; |
| 12326 |
– |
struct s *b; b->j = 5; |
| 12327 |
– |
} |
| 12328 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 12329 |
– |
const int foo = 10; |
| 12330 |
– |
if (!foo) return 0; |
| 12331 |
– |
} |
| 12332 |
– |
return !cs[0] && !zero.x; |
| 12333 |
– |
#endif |
| 12334 |
– |
|
| 12335 |
– |
; |
| 12336 |
– |
return 0; |
| 12337 |
– |
} |
| 12338 |
– |
_ACEOF |
| 12339 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12340 |
– |
ac_cv_c_const=yes |
| 12341 |
– |
else |
| 12342 |
– |
ac_cv_c_const=no |
| 12343 |
– |
fi |
| 12344 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12345 |
– |
fi |
| 12346 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 12347 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
| 12348 |
– |
if test $ac_cv_c_const = no; then |
| 12349 |
– |
|
| 12350 |
– |
$as_echo "#define const /**/" >>confdefs.h |
| 12351 |
– |
|
| 12352 |
– |
fi |
| 12353 |
– |
|
| 12354 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 12355 |
– |
$as_echo_n "checking for inline... " >&6; } |
| 12356 |
– |
if test "${ac_cv_c_inline+set}" = set; then : |
| 12357 |
– |
$as_echo_n "(cached) " >&6 |
| 12358 |
– |
else |
| 12359 |
– |
ac_cv_c_inline=no |
| 12360 |
– |
for ac_kw in inline __inline__ __inline; do |
| 12361 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12362 |
– |
/* end confdefs.h. */ |
| 12363 |
– |
#ifndef __cplusplus |
| 12364 |
– |
typedef int foo_t; |
| 12365 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
| 12366 |
– |
$ac_kw foo_t foo () {return 0; } |
| 12367 |
– |
#endif |
| 12368 |
– |
|
| 12369 |
– |
_ACEOF |
| 12370 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12371 |
– |
ac_cv_c_inline=$ac_kw |
| 12372 |
– |
fi |
| 12373 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12374 |
– |
test "$ac_cv_c_inline" != no && break |
| 12375 |
– |
done |
| 12376 |
– |
|
| 12377 |
– |
fi |
| 12378 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
| 12379 |
– |
$as_echo "$ac_cv_c_inline" >&6; } |
| 12380 |
– |
|
| 12381 |
– |
case $ac_cv_c_inline in |
| 12382 |
– |
inline | yes) ;; |
| 12383 |
– |
*) |
| 12384 |
– |
case $ac_cv_c_inline in |
| 12385 |
– |
no) ac_val=;; |
| 12386 |
– |
*) ac_val=$ac_cv_c_inline;; |
| 12387 |
– |
esac |
| 12388 |
– |
cat >>confdefs.h <<_ACEOF |
| 12389 |
– |
#ifndef __cplusplus |
| 12390 |
– |
#define inline $ac_val |
| 12391 |
– |
#endif |
| 12392 |
– |
_ACEOF |
| 12393 |
– |
;; |
| 12394 |
– |
esac |
| 12395 |
– |
|
| 12309 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 12310 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 12311 |
|
if test "${ac_cv_c_bigendian+set}" = set; then : |
| 12531 |
|
esac |
| 12532 |
|
|
| 12533 |
|
|
| 12621 |
– |
# The cast to long int works around a bug in the HP C Compiler |
| 12622 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 12623 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 12624 |
– |
# This bug is HP SR number 8606223364. |
| 12625 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
| 12626 |
– |
$as_echo_n "checking size of int64_t... " >&6; } |
| 12627 |
– |
if test "${ac_cv_sizeof_int64_t+set}" = set; then : |
| 12628 |
– |
$as_echo_n "(cached) " >&6 |
| 12629 |
– |
else |
| 12630 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
| 12631 |
– |
|
| 12632 |
– |
else |
| 12633 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
| 12634 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 12635 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 12636 |
– |
{ as_fn_set_status 77 |
| 12637 |
– |
as_fn_error "cannot compute sizeof (int64_t) |
| 12638 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 12639 |
– |
else |
| 12640 |
– |
ac_cv_sizeof_int64_t=0 |
| 12641 |
– |
fi |
| 12642 |
– |
fi |
| 12643 |
– |
|
| 12644 |
– |
fi |
| 12645 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
| 12646 |
– |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
| 12647 |
– |
|
| 12648 |
– |
|
| 12649 |
– |
|
| 12650 |
– |
cat >>confdefs.h <<_ACEOF |
| 12651 |
– |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 12652 |
– |
_ACEOF |
| 12653 |
– |
|
| 12654 |
– |
|
| 12655 |
– |
# The cast to long int works around a bug in the HP C Compiler |
| 12656 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 12657 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 12658 |
– |
# This bug is HP SR number 8606223364. |
| 12659 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
| 12660 |
– |
$as_echo_n "checking size of long long... " >&6; } |
| 12661 |
– |
if test "${ac_cv_sizeof_long_long+set}" = set; then : |
| 12662 |
– |
$as_echo_n "(cached) " >&6 |
| 12663 |
– |
else |
| 12664 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
| 12665 |
– |
|
| 12666 |
– |
else |
| 12667 |
– |
if test "$ac_cv_type_long_long" = yes; then |
| 12668 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 12669 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 12670 |
– |
{ as_fn_set_status 77 |
| 12671 |
– |
as_fn_error "cannot compute sizeof (long long) |
| 12672 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 12673 |
– |
else |
| 12674 |
– |
ac_cv_sizeof_long_long=0 |
| 12675 |
– |
fi |
| 12676 |
– |
fi |
| 12677 |
– |
|
| 12678 |
– |
fi |
| 12679 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
| 12680 |
– |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| 12681 |
– |
|
| 12682 |
– |
|
| 12683 |
– |
|
| 12684 |
– |
cat >>confdefs.h <<_ACEOF |
| 12685 |
– |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 12686 |
– |
_ACEOF |
| 12687 |
– |
|
| 12688 |
– |
|
| 12689 |
– |
|
| 12690 |
– |
if test "$ac_cv_sizeof_int64_t" = 8; then |
| 12691 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 12692 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
| 12693 |
– |
|
| 12694 |
– |
fi |
| 12695 |
– |
|
| 12696 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 12697 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
| 12698 |
– |
|
| 12699 |
– |
fi |
| 12700 |
– |
|
| 12701 |
– |
elif test "$ac_cv_sizeof_long_long" = 8; then |
| 12702 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
| 12703 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
| 12704 |
– |
|
| 12705 |
– |
else |
| 12706 |
– |
|
| 12707 |
– |
cat >>confdefs.h <<_ACEOF |
| 12708 |
– |
#define uint64_t unsigned long long |
| 12709 |
– |
_ACEOF |
| 12710 |
– |
|
| 12711 |
– |
fi |
| 12712 |
– |
|
| 12713 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
| 12714 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
| 12715 |
– |
|
| 12716 |
– |
else |
| 12717 |
– |
|
| 12718 |
– |
cat >>confdefs.h <<_ACEOF |
| 12719 |
– |
#define int64_t long long |
| 12720 |
– |
_ACEOF |
| 12721 |
– |
|
| 12722 |
– |
fi |
| 12723 |
– |
|
| 12724 |
– |
else |
| 12725 |
– |
as_fn_error "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
| 12726 |
– |
fi |
| 12727 |
– |
|
| 12728 |
– |
|
| 12534 |
|
# Checks for library functions. |
| 12535 |
|
|
| 12536 |
|
|
| 12560 |
|
|
| 12561 |
|
|
| 12562 |
|
|
| 12758 |
– |
|
| 12759 |
– |
|
| 12760 |
– |
|
| 12761 |
– |
|
| 12563 |
|
# Checks for header files. |
| 12564 |
|
|
| 12565 |
|
|
| 12605 |
|
|
| 12606 |
|
|
| 12607 |
|
|
| 12608 |
< |
|
| 12808 |
< |
|
| 12809 |
< |
|
| 12810 |
< |
|
| 12608 |
> |
# check for /dev/null so we can use it to hold evil fd's |
| 12609 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 12610 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
| 12611 |
< |
if test -c /dev/null ; then |
| 12611 |
> |
if test -c /dev/null; then : |
| 12612 |
> |
|
| 12613 |
|
|
| 12614 |
|
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 12615 |
|
|
| 12617 |
|
$as_echo "yes" >&6; } |
| 12618 |
|
else |
| 12619 |
|
|
| 12620 |
+ |
|
| 12621 |
|
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 12622 |
|
|
| 12623 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 12698 |
|
fi |
| 12699 |
|
|
| 12700 |
|
|
| 12701 |
< |
if test "$zlib" = yes; then |
| 12701 |
> |
if test "$zlib" = "yes"; then : |
| 12702 |
> |
|
| 12703 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 12704 |
|
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 12705 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 12755 |
|
fi |
| 12756 |
|
|
| 12757 |
|
|
| 12758 |
+ |
|
| 12759 |
+ |
fi |
| 12760 |
+ |
|
| 12761 |
+ |
|
| 12762 |
+ |
# Check whether --with-libpcre-path was given. |
| 12763 |
+ |
if test "${with_libpcre_path+set}" = set; then : |
| 12764 |
+ |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12765 |
+ |
fi |
| 12766 |
+ |
|
| 12767 |
+ |
|
| 12768 |
+ |
# Check whether --enable-libpcre was given. |
| 12769 |
+ |
if test "${enable_libpcre+set}" = set; then : |
| 12770 |
+ |
enableval=$enable_libpcre; libpcre=$enableval |
| 12771 |
+ |
else |
| 12772 |
+ |
libpcre=yes |
| 12773 |
+ |
fi |
| 12774 |
+ |
|
| 12775 |
+ |
|
| 12776 |
+ |
if test "$libpcre" = "yes"; then : |
| 12777 |
+ |
|
| 12778 |
+ |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 12779 |
+ |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
| 12780 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 12781 |
+ |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 12782 |
+ |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
| 12783 |
+ |
$as_echo_n "(cached) " >&6 |
| 12784 |
+ |
else |
| 12785 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 12786 |
+ |
LIBS="-lpcre $LIBS" |
| 12787 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12788 |
+ |
/* end confdefs.h. */ |
| 12789 |
+ |
|
| 12790 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 12791 |
+ |
Use char because int might match the return type of a GCC |
| 12792 |
+ |
builtin and then its argument prototype would still apply. */ |
| 12793 |
+ |
#ifdef __cplusplus |
| 12794 |
+ |
extern "C" |
| 12795 |
+ |
#endif |
| 12796 |
+ |
char pcre_study (); |
| 12797 |
+ |
int |
| 12798 |
+ |
main () |
| 12799 |
+ |
{ |
| 12800 |
+ |
return pcre_study (); |
| 12801 |
+ |
; |
| 12802 |
+ |
return 0; |
| 12803 |
+ |
} |
| 12804 |
+ |
_ACEOF |
| 12805 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12806 |
+ |
ac_cv_lib_pcre_pcre_study=yes |
| 12807 |
+ |
else |
| 12808 |
+ |
ac_cv_lib_pcre_pcre_study=no |
| 12809 |
+ |
fi |
| 12810 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12811 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 12812 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 12813 |
+ |
fi |
| 12814 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 12815 |
+ |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 12816 |
+ |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
| 12817 |
+ |
|
| 12818 |
+ |
LIBS="-lpcre $LIBS" |
| 12819 |
+ |
|
| 12820 |
+ |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 12821 |
+ |
|
| 12822 |
+ |
|
| 12823 |
+ |
else |
| 12824 |
+ |
libpcre=no |
| 12825 |
+ |
fi |
| 12826 |
+ |
|
| 12827 |
+ |
|
| 12828 |
+ |
else |
| 12829 |
+ |
libpcre=no |
| 12830 |
+ |
fi |
| 12831 |
+ |
|
| 12832 |
+ |
|
| 12833 |
+ |
|
| 12834 |
|
fi |
| 12835 |
+ |
if test "$libpcre" = yes; then |
| 12836 |
+ |
ENABLE_PCRE_TRUE= |
| 12837 |
+ |
ENABLE_PCRE_FALSE='#' |
| 12838 |
+ |
else |
| 12839 |
+ |
ENABLE_PCRE_TRUE='#' |
| 12840 |
+ |
ENABLE_PCRE_FALSE= |
| 12841 |
+ |
fi |
| 12842 |
+ |
|
| 12843 |
|
|
| 12844 |
|
|
| 12845 |
|
# Check whether --enable-openssl was given. |
| 12889 |
|
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 12890 |
|
|
| 12891 |
|
else |
| 12892 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 12893 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 12892 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 12893 |
> |
$as_echo "not found. Please check your path." >&6; } |
| 12894 |
|
cf_enable_openssl="no" |
| 12895 |
|
fi |
| 12896 |
|
unset cf_openssl_basedir |
| 12898 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 12899 |
|
$as_echo "disabled" >&6; } |
| 12900 |
|
fi |
| 12901 |
+ |
|
| 12902 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
| 12903 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
| 12904 |
+ |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
| 12905 |
+ |
if test "$cross_compiling" = yes; then : |
| 12906 |
+ |
cf_openssl_version_ok=no |
| 12907 |
+ |
else |
| 12908 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12909 |
+ |
/* end confdefs.h. */ |
| 12910 |
+ |
|
| 12911 |
+ |
#include <openssl/opensslv.h> |
| 12912 |
+ |
#include <stdlib.h> |
| 12913 |
+ |
int |
| 12914 |
+ |
main () |
| 12915 |
+ |
{ |
| 12916 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
| 12917 |
+ |
; |
| 12918 |
+ |
return 0; |
| 12919 |
+ |
} |
| 12920 |
+ |
_ACEOF |
| 12921 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 12922 |
+ |
cf_openssl_version_ok=yes |
| 12923 |
+ |
else |
| 12924 |
+ |
cf_openssl_version_ok=no |
| 12925 |
+ |
fi |
| 12926 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12927 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12928 |
+ |
fi |
| 12929 |
+ |
|
| 12930 |
+ |
|
| 12931 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 12932 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 12933 |
+ |
$as_echo "found" >&6; } |
| 12934 |
+ |
|
| 12935 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 12936 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 12937 |
+ |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
| 12938 |
+ |
$as_echo_n "(cached) " >&6 |
| 12939 |
+ |
else |
| 12940 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 12941 |
+ |
LIBS="-lcrypto $LIBS" |
| 12942 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12943 |
+ |
/* end confdefs.h. */ |
| 12944 |
+ |
|
| 12945 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 12946 |
+ |
Use char because int might match the return type of a GCC |
| 12947 |
+ |
builtin and then its argument prototype would still apply. */ |
| 12948 |
+ |
#ifdef __cplusplus |
| 12949 |
+ |
extern "C" |
| 12950 |
+ |
#endif |
| 12951 |
+ |
char RSA_free (); |
| 12952 |
+ |
int |
| 12953 |
+ |
main () |
| 12954 |
+ |
{ |
| 12955 |
+ |
return RSA_free (); |
| 12956 |
+ |
; |
| 12957 |
+ |
return 0; |
| 12958 |
+ |
} |
| 12959 |
+ |
_ACEOF |
| 12960 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 12961 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
| 12962 |
+ |
else |
| 12963 |
+ |
ac_cv_lib_crypto_RSA_free=no |
| 12964 |
+ |
fi |
| 12965 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 12966 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 12967 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 12968 |
+ |
fi |
| 12969 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 12970 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 12971 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
| 12972 |
+ |
cat >>confdefs.h <<_ACEOF |
| 12973 |
+ |
#define HAVE_LIBCRYPTO 1 |
| 12974 |
+ |
_ACEOF |
| 12975 |
+ |
|
| 12976 |
+ |
LIBS="-lcrypto $LIBS" |
| 12977 |
+ |
|
| 12978 |
+ |
fi |
| 12979 |
+ |
|
| 12980 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 12981 |
+ |
for ac_func in EVP_bf_cfb \ |
| 12982 |
+ |
EVP_cast5_cfb \ |
| 12983 |
+ |
EVP_idea_cfb \ |
| 12984 |
+ |
EVP_rc5_32_12_16_cfb \ |
| 12985 |
+ |
EVP_des_ede3_cfb \ |
| 12986 |
+ |
EVP_des_cfb |
| 12987 |
+ |
do : |
| 12988 |
+ |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12989 |
+ |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12990 |
+ |
eval as_val=\$$as_ac_var |
| 12991 |
+ |
if test "x$as_val" = x""yes; then : |
| 12992 |
+ |
cat >>confdefs.h <<_ACEOF |
| 12993 |
+ |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12994 |
+ |
_ACEOF |
| 12995 |
+ |
|
| 12996 |
+ |
fi |
| 12997 |
+ |
done |
| 12998 |
+ |
|
| 12999 |
+ |
fi |
| 13000 |
+ |
|
| 13001 |
+ |
else |
| 13002 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
| 13003 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
| 13004 |
+ |
cf_enable_openssl="no" |
| 13005 |
+ |
fi |
| 13006 |
+ |
fi |
| 13007 |
+ |
|
| 13008 |
|
if test "$cf_enable_openssl" = yes; then |
| 13009 |
|
ENABLE_SSL_TRUE= |
| 13010 |
|
ENABLE_SSL_FALSE='#' |
| 13022 |
|
assert=no |
| 13023 |
|
fi |
| 13024 |
|
|
| 13025 |
< |
if test "$assert" = no; then |
| 13025 |
> |
|
| 13026 |
> |
if test "$assert" = "no"; then : |
| 13027 |
|
|
| 13028 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 13029 |
|
|
| 13038 |
|
fi |
| 13039 |
|
|
| 13040 |
|
|
| 13041 |
< |
if test "$small_net" = yes; then |
| 13041 |
> |
if test "$small_net" = "yes"; then : |
| 13042 |
> |
|
| 13043 |
|
|
| 13044 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 13045 |
|
|
| 13072 |
|
|
| 13073 |
|
else |
| 13074 |
|
|
| 13075 |
+ |
|
| 13076 |
+ |
|
| 13077 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 13078 |
|
|
| 13079 |
|
|
| 13516 |
|
|
| 13517 |
|
|
| 13518 |
|
cat >>confdefs.h <<_ACEOF |
| 13519 |
< |
#define TOPICLEN ($topiclen+1) |
| 13519 |
> |
#define TOPICLEN ($topiclen) |
| 13520 |
|
_ACEOF |
| 13521 |
|
|
| 13522 |
|
|
| 13552 |
|
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 13553 |
|
|
| 13554 |
|
else |
| 13559 |
– |
|
| 13560 |
– |
$as_echo "#define INVARIANTS 1" >>confdefs.h |
| 13561 |
– |
|
| 13555 |
|
use_efnet="no" |
| 13556 |
|
fi |
| 13557 |
|
if test "$use_efnet" = "yes"; then |
| 13589 |
|
|
| 13590 |
|
$as_echo "#define DEBUG 1" >>confdefs.h |
| 13591 |
|
|
| 13592 |
< |
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
| 13592 |
> |
CFLAGS="-Wall -g -O0" |
| 13593 |
|
else |
| 13594 |
|
|
| 13595 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 13605 |
|
fi |
| 13606 |
|
|
| 13607 |
|
if test "$warnings" = "yes" ; then |
| 13608 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef" |
| 13608 |
> |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 13609 |
|
fi |
| 13610 |
|
|
| 13611 |
|
|
| 13735 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 13736 |
|
|
| 13737 |
|
|
| 13738 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile" |
| 13738 |
> |
ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 13739 |
|
|
| 13740 |
|
|
| 13741 |
|
cat >confcache <<\_ACEOF |
| 13881 |
|
|
| 13882 |
|
|
| 13883 |
|
|
| 13884 |
+ |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 13885 |
+ |
as_fn_error "conditional \"ENABLE_PCRE\" was never defined. |
| 13886 |
+ |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13887 |
+ |
fi |
| 13888 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 13889 |
|
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
| 13890 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14301 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 14302 |
|
# values after options handling. |
| 14303 |
|
ac_log=" |
| 14304 |
< |
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
| 14305 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
| 14304 |
> |
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
| 14305 |
> |
generated by GNU Autoconf 2.65. Invocation command line was |
| 14306 |
|
|
| 14307 |
|
CONFIG_FILES = $CONFIG_FILES |
| 14308 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 14342 |
|
|
| 14343 |
|
-h, --help print this help, then exit |
| 14344 |
|
-V, --version print version number and configuration settings, then exit |
| 14345 |
+ |
--config print configuration, then exit |
| 14346 |
|
-q, --quiet, --silent |
| 14347 |
|
do not print progress messages |
| 14348 |
|
-d, --debug don't remove temporary files |
| 14361 |
|
Configuration commands: |
| 14362 |
|
$config_commands |
| 14363 |
|
|
| 14364 |
< |
Report bugs to the package provider." |
| 14364 |
> |
Report bugs to <bugs@ircd-hybrid.org>." |
| 14365 |
|
|
| 14366 |
|
_ACEOF |
| 14367 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14368 |
+ |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 14369 |
|
ac_cs_version="\\ |
| 14370 |
< |
ircd-hybrid config.status 7.2.4 |
| 14371 |
< |
configured by $0, generated by GNU Autoconf 2.64, |
| 14372 |
< |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14370 |
> |
ircd-hybrid config.status 7.3-rc1 |
| 14371 |
> |
configured by $0, generated by GNU Autoconf 2.65, |
| 14372 |
> |
with options \\"\$ac_cs_config\\" |
| 14373 |
|
|
| 14374 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
| 14375 |
|
This config.status script is free software; the Free Software Foundation |
| 14407 |
|
ac_cs_recheck=: ;; |
| 14408 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 14409 |
|
$as_echo "$ac_cs_version"; exit ;; |
| 14410 |
+ |
--config | --confi | --conf | --con | --co | --c ) |
| 14411 |
+ |
$as_echo "$ac_cs_config"; exit ;; |
| 14412 |
|
--debug | --debu | --deb | --de | --d | -d ) |
| 14413 |
|
debug=: ;; |
| 14414 |
|
--file | --fil | --fi | --f ) |
| 14764 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 14765 |
|
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 14766 |
|
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 14766 |
– |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
| 14767 |
– |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
| 14767 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 14768 |
|
|
| 14769 |
|
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 14868 |
|
t delim |
| 14869 |
|
:nl |
| 14870 |
|
h |
| 14871 |
< |
s/\(.\{148\}\).*/\1/ |
| 14871 |
> |
s/\(.\{148\}\)..*/\1/ |
| 14872 |
|
t more1 |
| 14873 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 14874 |
|
p |
| 14882 |
|
t nl |
| 14883 |
|
:delim |
| 14884 |
|
h |
| 14885 |
< |
s/\(.\{148\}\).*/\1/ |
| 14885 |
> |
s/\(.\{148\}\)..*/\1/ |
| 14886 |
|
t more2 |
| 14887 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 14888 |
|
p |