136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
139
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1"
178
if (eval "$as_required") 2>/dev/null; then :
177
179
as_have_required=yes
179
181
as_have_required=no
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
191
test -z "$as_dir" && as_dir=.
249
195
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
196
# Try only shells that exist, to save several forks.
197
as_shell=$as_dir/$as_base
198
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200
CONFIG_SHELL=$as_shell as_have_required=yes
201
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211
CONFIG_SHELL=$SHELL as_have_required=yes
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
216
if test "x$CONFIG_SHELL" != x; then :
217
# We cannot yet assume a decent shell, so we have to provide a
218
# neutralization value for shells without unset; and this also
219
# works around shells that cannot unset nonexistent variables.
220
# Preserve -v and -x to the replacement shell.
223
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
export CONFIG_SHELL
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
226
*v*x* | *x*v* ) as_opts=-vx ;;
231
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234
if test x$as_have_required = xno; then :
235
$as_echo "$0: This script requires a shell more modern than all"
236
$as_echo "$0: the shells that I found on your system."
237
if test x${ZSH_VERSION+set} = xset ; then
238
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
241
$as_echo "$0: Please tell bug-autoconf@gnu.org and
242
$0: rbtcollins@squid-cache.org about your system, including
243
$0: any error possibly output before this message. Then
244
$0: install a modern shell, or manually run the script
245
$0: under such a shell if you do have one."
251
SHELL=${CONFIG_SHELL-/bin/sh}
253
# Unset more variables known to interfere with behavior of common tools.
254
CLICOLOR_FORCE= GREP_OPTIONS=
255
unset CLICOLOR_FORCE GREP_OPTIONS
257
## --------------------- ##
258
## M4sh Shell Functions. ##
259
## --------------------- ##
262
# Portably unset VAR.
265
{ eval $1=; unset $1;}
269
# as_fn_set_status STATUS
270
# -----------------------
271
# Set $? to STATUS, without forking.
279
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289
# Create "$as_dir" as a directory, including parents if necessary.
294
-*) as_dir=./$as_dir;;
296
test -d "$as_dir" || eval $as_mkdir_p || {
300
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303
as_dirs="'$as_qdir' $as_dirs"
304
as_dir=`$as_dirname -- "$as_dir" ||
305
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306
X"$as_dir" : 'X\(//\)[^/]' \| \
307
X"$as_dir" : 'X\(//\)$' \| \
308
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309
$as_echo X"$as_dir" |
310
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327
test -d "$as_dir" && break
329
test -z "$as_dirs" || eval "mkdir $as_dirs"
330
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334
# as_fn_append VAR VALUE
335
# ----------------------
336
# Append the text in VALUE to the end of the definition contained in VAR. Take
337
# advantage of any shell optimizations that allow amortized linear growth over
338
# repeated appends, instead of the typical quadratic growth present in naive
340
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341
eval 'as_fn_append ()
354
# Perform arithmetic evaluation on the ARGs, and store the result in the
355
# global $as_val. Take advantage of shells that can avoid forks. The arguments
356
# must be portable across $(()) and expr.
357
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365
as_val=`expr "$@" || test $? -eq 1`
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
371
# ----------------------------------------
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374
# script with STATUS, using 1 if that was 0.
377
as_status=$1; test $as_status -eq 0 && as_status=1
379
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382
$as_echo "$as_me: error: $2" >&2
383
as_fn_exit $as_status
386
if expr a : '\(a\)' >/dev/null 2>&1 &&
387
test "X`expr 00001 : '.*\(...\)'`" = X001; then
393
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405
as_me=`$as_basename -- "$0" ||
406
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407
X"$0" : 'X\(//\)$' \| \
408
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410
sed '/^.*\/\([^/][^/]*\)\/*$/{
424
# Avoid depending upon Character Ranges.
425
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428
as_cr_digits='0123456789'
429
as_cr_alnum=$as_cr_Letters$as_cr_digits
432
as_lineno_1=$LINENO as_lineno_1a=$LINENO
433
as_lineno_2=$LINENO as_lineno_2a=$LINENO
434
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1475
1437
if $ac_init_version; then
1477
1439
libTrie configure 0.1
1478
generated by GNU Autoconf 2.62
1440
generated by GNU Autoconf 2.68
1480
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1481
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1442
Copyright (C) 2010 Free Software Foundation, Inc.
1482
1443
This configure script is free software; the Free Software Foundation
1483
1444
gives unlimited permission to copy, distribute and modify it.
1449
## ------------------------ ##
1450
## Autoconf initialization. ##
1451
## ------------------------ ##
1453
# ac_fn_cxx_try_compile LINENO
1454
# ----------------------------
1455
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1456
ac_fn_cxx_try_compile ()
1458
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1459
rm -f conftest.$ac_objext
1460
if { { ac_try="$ac_compile"
1462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1463
*) ac_try_echo=$ac_try;;
1465
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1466
$as_echo "$ac_try_echo"; } >&5
1467
(eval "$ac_compile") 2>conftest.err
1469
if test -s conftest.err; then
1470
grep -v '^ *+' conftest.err >conftest.er1
1471
cat conftest.er1 >&5
1472
mv -f conftest.er1 conftest.err
1474
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475
test $ac_status = 0; } && {
1476
test -z "$ac_cxx_werror_flag" ||
1477
test ! -s conftest.err
1478
} && test -s conftest.$ac_objext; then :
1481
$as_echo "$as_me: failed program was:" >&5
1482
sed 's/^/| /' conftest.$ac_ext >&5
1486
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1487
as_fn_set_status $ac_retval
1489
} # ac_fn_cxx_try_compile
1491
# ac_fn_c_try_compile LINENO
1492
# --------------------------
1493
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1494
ac_fn_c_try_compile ()
1496
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497
rm -f conftest.$ac_objext
1498
if { { ac_try="$ac_compile"
1500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501
*) ac_try_echo=$ac_try;;
1503
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504
$as_echo "$ac_try_echo"; } >&5
1505
(eval "$ac_compile") 2>conftest.err
1507
if test -s conftest.err; then
1508
grep -v '^ *+' conftest.err >conftest.er1
1509
cat conftest.er1 >&5
1510
mv -f conftest.er1 conftest.err
1512
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513
test $ac_status = 0; } && {
1514
test -z "$ac_c_werror_flag" ||
1515
test ! -s conftest.err
1516
} && test -s conftest.$ac_objext; then :
1519
$as_echo "$as_me: failed program was:" >&5
1520
sed 's/^/| /' conftest.$ac_ext >&5
1524
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525
as_fn_set_status $ac_retval
1527
} # ac_fn_c_try_compile
1529
# ac_fn_cxx_try_cpp LINENO
1530
# ------------------------
1531
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1532
ac_fn_cxx_try_cpp ()
1534
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535
if { { ac_try="$ac_cpp conftest.$ac_ext"
1537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538
*) ac_try_echo=$ac_try;;
1540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541
$as_echo "$ac_try_echo"; } >&5
1542
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1544
if test -s conftest.err; then
1545
grep -v '^ *+' conftest.err >conftest.er1
1546
cat conftest.er1 >&5
1547
mv -f conftest.er1 conftest.err
1549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
test $ac_status = 0; } > conftest.i && {
1551
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1552
test ! -s conftest.err
1556
$as_echo "$as_me: failed program was:" >&5
1557
sed 's/^/| /' conftest.$ac_ext >&5
1561
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562
as_fn_set_status $ac_retval
1564
} # ac_fn_cxx_try_cpp
1566
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1567
# ---------------------------------------------------------
1568
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1569
# the include files in INCLUDES and setting the cache variable VAR
1571
ac_fn_cxx_check_header_mongrel ()
1573
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574
if eval \${$3+:} false; then :
1575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1576
$as_echo_n "checking for $2... " >&6; }
1577
if eval \${$3+:} false; then :
1578
$as_echo_n "(cached) " >&6
1581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582
$as_echo "$ac_res" >&6; }
1584
# Is the header compilable?
1585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1586
$as_echo_n "checking $2 usability... " >&6; }
1587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1588
/* end confdefs.h. */
1592
if ac_fn_cxx_try_compile "$LINENO"; then :
1593
ac_header_compiler=yes
1595
ac_header_compiler=no
1597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1599
$as_echo "$ac_header_compiler" >&6; }
1601
# Is the header present?
1602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1603
$as_echo_n "checking $2 presence... " >&6; }
1604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605
/* end confdefs.h. */
1608
if ac_fn_cxx_try_cpp "$LINENO"; then :
1609
ac_header_preproc=yes
1611
ac_header_preproc=no
1613
rm -f conftest.err conftest.i conftest.$ac_ext
1614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1615
$as_echo "$ac_header_preproc" >&6; }
1617
# So? What about this header?
1618
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1620
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1621
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1622
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1623
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1627
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1628
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1629
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1630
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1631
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1633
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1635
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1636
( $as_echo "## ----------------------------------------- ##
1637
## Report this to rbtcollins@squid-cache.org ##
1638
## ----------------------------------------- ##"
1639
) | sed "s/^/$as_me: WARNING: /" >&2
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643
$as_echo_n "checking for $2... " >&6; }
1644
if eval \${$3+:} false; then :
1645
$as_echo_n "(cached) " >&6
1647
eval "$3=\$ac_header_compiler"
1650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651
$as_echo "$ac_res" >&6; }
1653
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655
} # ac_fn_cxx_check_header_mongrel
1657
# ac_fn_cxx_try_run LINENO
1658
# ------------------------
1659
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1660
# that executables *can* be run.
1661
ac_fn_cxx_try_run ()
1663
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664
if { { ac_try="$ac_link"
1666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667
*) ac_try_echo=$ac_try;;
1669
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670
$as_echo "$ac_try_echo"; } >&5
1671
(eval "$ac_link") 2>&5
1673
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1675
{ { case "(($ac_try" in
1676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677
*) ac_try_echo=$ac_try;;
1679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680
$as_echo "$ac_try_echo"; } >&5
1681
(eval "$ac_try") 2>&5
1683
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684
test $ac_status = 0; }; }; then :
1687
$as_echo "$as_me: program exited with status $ac_status" >&5
1688
$as_echo "$as_me: failed program was:" >&5
1689
sed 's/^/| /' conftest.$ac_ext >&5
1691
ac_retval=$ac_status
1693
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695
as_fn_set_status $ac_retval
1697
} # ac_fn_cxx_try_run
1699
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1700
# ---------------------------------------------------------
1701
# Tests whether HEADER exists and can be compiled using the include files in
1702
# INCLUDES, setting the cache variable VAR accordingly.
1703
ac_fn_cxx_check_header_compile ()
1705
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707
$as_echo_n "checking for $2... " >&6; }
1708
if eval \${$3+:} false; then :
1709
$as_echo_n "(cached) " >&6
1711
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712
/* end confdefs.h. */
1716
if ac_fn_cxx_try_compile "$LINENO"; then :
1721
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725
$as_echo "$ac_res" >&6; }
1726
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
} # ac_fn_cxx_check_header_compile
1730
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1731
# ---------------------------------------------
1732
# Tests whether TYPE exists after having included INCLUDES, setting cache
1733
# variable VAR accordingly.
1734
ac_fn_cxx_check_type ()
1736
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738
$as_echo_n "checking for $2... " >&6; }
1739
if eval \${$3+:} false; then :
1740
$as_echo_n "(cached) " >&6
1743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744
/* end confdefs.h. */
1755
if ac_fn_cxx_try_compile "$LINENO"; then :
1756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757
/* end confdefs.h. */
1768
if ac_fn_cxx_try_compile "$LINENO"; then :
1773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779
$as_echo "$ac_res" >&6; }
1780
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782
} # ac_fn_cxx_check_type
1487
1783
cat >config.log <<_ACEOF
1488
1784
This file contains any messages produced by compilers while
1489
1785
running configure, to aid debugging if configure makes a mistake.
1491
1787
It was created by libTrie $as_me 0.1, which was
1492
generated by GNU Autoconf 2.62. Invocation command line was
1788
generated by GNU Autoconf 2.68. Invocation command line was
2424
if test -z "$ac_file"; then :
2425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426
$as_echo "no" >&6; }
2427
$as_echo "$as_me: failed program was:" >&5
2428
sed 's/^/| /' conftest.$ac_ext >&5
2176
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2430
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432
as_fn_error 77 "C++ compiler cannot create executables
2433
See \`config.log' for more details" "$LINENO" 5; }
2435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2436
$as_echo "yes" >&6; }
2438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2439
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2177
2441
$as_echo "$ac_file" >&6; }
2178
if test -z "$ac_file"; then
2179
$as_echo "$as_me: failed program was:" >&5
2180
sed 's/^/| /' conftest.$ac_ext >&5
2182
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2183
See \`config.log' for more details." >&5
2184
$as_echo "$as_me: error: C++ compiler cannot create executables
2185
See \`config.log' for more details." >&2;}
2186
{ (exit 77); exit 77; }; }
2189
2442
ac_exeext=$ac_cv_exeext
2191
# Check that the compiler produces executables we can run. If not, either
2192
# the compiler is broken, or we cross compile.
2193
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2194
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2195
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2196
# If not cross compiling, check that we can run a simple program.
2197
if test "$cross_compiling" != yes; then
2198
if { ac_try='./$ac_file'
2199
{ (case "(($ac_try" in
2200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201
*) ac_try_echo=$ac_try;;
2203
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2204
$as_echo "$ac_try_echo") >&5
2205
(eval "$ac_try") 2>&5
2207
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208
(exit $ac_status); }; }; then
2211
if test "$cross_compiling" = maybe; then
2214
{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2215
If you meant to cross compile, use \`--host'.
2216
See \`config.log' for more details." >&5
2217
$as_echo "$as_me: error: cannot run C++ compiled programs.
2218
If you meant to cross compile, use \`--host'.
2219
See \`config.log' for more details." >&2;}
2220
{ (exit 1); exit 1; }; }
2224
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2225
$as_echo "yes" >&6; }
2227
2444
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2228
2445
ac_clean_files=$ac_clean_files_save
2229
# Check that the compiler produces executables we can run. If not, either
2230
# the compiler is broken, or we cross compile.
2231
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2232
$as_echo_n "checking whether we are cross compiling... " >&6; }
2233
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2234
$as_echo "$cross_compiling" >&6; }
2236
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2237
2447
$as_echo_n "checking for suffix of executables... " >&6; }
2238
if { (ac_try="$ac_link"
2448
if { { ac_try="$ac_link"
2239
2449
case "(($ac_try" in
2240
2450
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241
2451
*) ac_try_echo=$ac_try;;
2243
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2244
$as_echo "$ac_try_echo") >&5
2453
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454
$as_echo "$ac_try_echo"; } >&5
2245
2455
(eval "$ac_link") 2>&5
2247
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248
(exit $ac_status); }; then
2457
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2458
test $ac_status = 0; }; then :
2249
2459
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2250
2460
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2251
2461
# work properly (i.e., refer to `conftest.exe'), while it won't with
2263
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2264
See \`config.log' for more details." >&5
2265
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2266
See \`config.log' for more details." >&2;}
2267
{ (exit 1); exit 1; }; }
2473
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2474
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2475
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2476
See \`config.log' for more details" "$LINENO" 5; }
2270
rm -f conftest$ac_cv_exeext
2271
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2478
rm -f conftest conftest$ac_cv_exeext
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2272
2480
$as_echo "$ac_cv_exeext" >&6; }
2274
2482
rm -f conftest.$ac_ext
2275
2483
EXEEXT=$ac_cv_exeext
2276
2484
ac_exeext=$EXEEXT
2277
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486
/* end confdefs.h. */
2491
FILE *f = fopen ("conftest.out", "w");
2492
return ferror (f) || fclose (f) != 0;
2498
ac_clean_files="$ac_clean_files conftest.out"
2499
# Check that the compiler produces executables we can run. If not, either
2500
# the compiler is broken, or we cross compile.
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2502
$as_echo_n "checking whether we are cross compiling... " >&6; }
2503
if test "$cross_compiling" != yes; then
2504
{ { ac_try="$ac_link"
2506
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507
*) ac_try_echo=$ac_try;;
2509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2510
$as_echo "$ac_try_echo"; } >&5
2511
(eval "$ac_link") 2>&5
2513
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514
test $ac_status = 0; }
2515
if { ac_try='./conftest$ac_cv_exeext'
2516
{ { case "(($ac_try" in
2517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518
*) ac_try_echo=$ac_try;;
2520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2521
$as_echo "$ac_try_echo"; } >&5
2522
(eval "$ac_try") 2>&5
2524
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2525
test $ac_status = 0; }; }; then
2528
if test "$cross_compiling" = maybe; then
2531
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2532
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2533
as_fn_error $? "cannot run C++ compiled programs.
2534
If you meant to cross compile, use \`--host'.
2535
See \`config.log' for more details" "$LINENO" 5; }
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2540
$as_echo "$cross_compiling" >&6; }
2542
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2543
ac_clean_files=$ac_clean_files_save
2544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2278
2545
$as_echo_n "checking for suffix of object files... " >&6; }
2279
if test "${ac_cv_objext+set}" = set; then
2546
if ${ac_cv_objext+:} false; then :
2280
2547
$as_echo_n "(cached) " >&6
2282
cat >conftest.$ac_ext <<_ACEOF
2285
cat confdefs.h >>conftest.$ac_ext
2286
cat >>conftest.$ac_ext <<_ACEOF
2549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287
2550
/* end confdefs.h. */
2863
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2864
See \`config.log' for more details." >&5
2865
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2866
See \`config.log' for more details." >&2;}
2867
{ (exit 1); exit 1; }; }
3014
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016
as_fn_error $? "no acceptable C compiler found in \$PATH
3017
See \`config.log' for more details" "$LINENO" 5; }
2869
3019
# Provide some information about the compiler.
2870
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3020
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2871
3021
set X $ac_compile
2873
{ (ac_try="$ac_compiler --version >&5"
2875
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876
*) ac_try_echo=$ac_try;;
2878
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879
$as_echo "$ac_try_echo") >&5
2880
(eval "$ac_compiler --version >&5") 2>&5
2882
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883
(exit $ac_status); }
2884
{ (ac_try="$ac_compiler -v >&5"
2886
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887
*) ac_try_echo=$ac_try;;
2889
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2890
$as_echo "$ac_try_echo") >&5
2891
(eval "$ac_compiler -v >&5") 2>&5
2893
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
(exit $ac_status); }
2895
{ (ac_try="$ac_compiler -V >&5"
2897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898
*) ac_try_echo=$ac_try;;
2900
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2901
$as_echo "$ac_try_echo") >&5
2902
(eval "$ac_compiler -V >&5") 2>&5
2904
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
(exit $ac_status); }
3023
for ac_option in --version -v -V -qversion; do
3024
{ { ac_try="$ac_compiler $ac_option >&5"
3026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
*) ac_try_echo=$ac_try;;
3029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030
$as_echo "$ac_try_echo"; } >&5
3031
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3033
if test -s conftest.err; then
3035
... rest of stderr output deleted ...
3036
10q' conftest.err >conftest.er1
3037
cat conftest.er1 >&5
3039
rm -f conftest.er1 conftest.err
3040
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041
test $ac_status = 0; }
2907
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2908
3045
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2909
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3046
if ${ac_cv_c_compiler_gnu+:} false; then :
2910
3047
$as_echo_n "(cached) " >&6
2912
cat >conftest.$ac_ext <<_ACEOF
2915
cat confdefs.h >>conftest.$ac_ext
2916
cat >>conftest.$ac_ext <<_ACEOF
3049
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917
3050
/* end confdefs.h. */
3434
3451
# expand $ac_aux_dir to an absolute path
3435
3452
am_aux_dir=`cd $ac_aux_dir && pwd`
3437
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3454
if test x"${MISSING+set}" != xset; then
3457
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3459
MISSING="\${SHELL} $am_aux_dir/missing" ;;
3438
3462
# Use eval to expand $SHELL
3439
3463
if eval "$MISSING --run true"; then
3440
3464
am_missing_run="$MISSING --run "
3442
3466
am_missing_run=
3443
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3444
3468
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3447
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3471
if test x"${install_sh}" != xset; then
3474
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3476
install_sh="\${SHELL} $am_aux_dir/install-sh"
3480
# Installed binaries are usually stripped using `strip' when the user
3481
# run `make install-strip'. However `strip' might not be the right
3482
# tool to use in cross-compilation environments, therefore Automake
3483
# will honor the `STRIP' environment variable to overrule this program.
3484
if test "$cross_compiling" != no; then
3485
if test -n "$ac_tool_prefix"; then
3486
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3487
set dummy ${ac_tool_prefix}strip; ac_word=$2
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489
$as_echo_n "checking for $ac_word... " >&6; }
3490
if ${ac_cv_prog_STRIP+:} false; then :
3491
$as_echo_n "(cached) " >&6
3493
if test -n "$STRIP"; then
3494
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500
test -z "$as_dir" && as_dir=.
3501
for ac_exec_ext in '' $ac_executable_extensions; do
3502
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3503
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3504
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3513
STRIP=$ac_cv_prog_STRIP
3514
if test -n "$STRIP"; then
3515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3516
$as_echo "$STRIP" >&6; }
3518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519
$as_echo "no" >&6; }
3524
if test -z "$ac_cv_prog_STRIP"; then
3526
# Extract the first word of "strip", so it can be a program name with args.
3527
set dummy strip; ac_word=$2
3528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529
$as_echo_n "checking for $ac_word... " >&6; }
3530
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3531
$as_echo_n "(cached) " >&6
3533
if test -n "$ac_ct_STRIP"; then
3534
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540
test -z "$as_dir" && as_dir=.
3541
for ac_exec_ext in '' $ac_executable_extensions; do
3542
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543
ac_cv_prog_ac_ct_STRIP="strip"
3544
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3554
if test -n "$ac_ct_STRIP"; then
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3556
$as_echo "$ac_ct_STRIP" >&6; }
3558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559
$as_echo "no" >&6; }
3562
if test "x$ac_ct_STRIP" = x; then
3565
case $cross_compiling:$ac_tool_warned in
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3568
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3569
ac_tool_warned=yes ;;
3574
STRIP="$ac_cv_prog_STRIP"
3578
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3448
3581
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3449
3582
if test -z "$MKDIR_P"; then
3450
if test "${ac_cv_path_mkdir+set}" = set; then
3583
if ${ac_cv_path_mkdir+:} false; then :
3451
3584
$as_echo_n "(cached) " >&6
3453
3586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658
3789
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3660
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3662
# Installed binaries are usually stripped using `strip' when the user
3663
# run `make install-strip'. However `strip' might not be the right
3664
# tool to use in cross-compilation environments, therefore Automake
3665
# will honor the `STRIP' environment variable to overrule this program.
3666
if test "$cross_compiling" != no; then
3667
if test -n "$ac_tool_prefix"; then
3668
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3669
set dummy ${ac_tool_prefix}strip; ac_word=$2
3670
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3671
$as_echo_n "checking for $ac_word... " >&6; }
3672
if test "${ac_cv_prog_STRIP+set}" = set; then
3673
$as_echo_n "(cached) " >&6
3675
if test -n "$STRIP"; then
3676
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682
test -z "$as_dir" && as_dir=.
3683
for ac_exec_ext in '' $ac_executable_extensions; do
3684
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3686
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695
STRIP=$ac_cv_prog_STRIP
3696
if test -n "$STRIP"; then
3697
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3698
$as_echo "$STRIP" >&6; }
3700
{ $as_echo "$as_me:$LINENO: result: no" >&5
3701
$as_echo "no" >&6; }
3706
if test -z "$ac_cv_prog_STRIP"; then
3708
# Extract the first word of "strip", so it can be a program name with args.
3709
set dummy strip; ac_word=$2
3710
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3711
$as_echo_n "checking for $ac_word... " >&6; }
3712
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3713
$as_echo_n "(cached) " >&6
3715
if test -n "$ac_ct_STRIP"; then
3716
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3718
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722
test -z "$as_dir" && as_dir=.
3723
for ac_exec_ext in '' $ac_executable_extensions; do
3724
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725
ac_cv_prog_ac_ct_STRIP="strip"
3726
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3735
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3736
if test -n "$ac_ct_STRIP"; then
3737
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3738
$as_echo "$ac_ct_STRIP" >&6; }
3740
{ $as_echo "$as_me:$LINENO: result: no" >&5
3741
$as_echo "no" >&6; }
3744
if test "x$ac_ct_STRIP" = x; then
3747
case $cross_compiling:$ac_tool_warned in
3749
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3750
whose name does not start with the host triplet. If you think this
3751
configuration is useful to you, please write to autoconf@gnu.org." >&5
3752
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3753
whose name does not start with the host triplet. If you think this
3754
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3755
ac_tool_warned=yes ;;
3760
STRIP="$ac_cv_prog_STRIP"
3764
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3766
3791
# We need awk for the "check" target. The system "awk" is bad on
3767
3792
# some platforms.
3768
3793
# Always define AMTAR for backward compatibility.
4199
if { (ac_try="$ac_cpp conftest.$ac_ext"
4201
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202
*) ac_try_echo=$ac_try;;
4204
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4205
$as_echo "$ac_try_echo") >&5
4206
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4208
grep -v '^ *+' conftest.er1 >conftest.err
4210
cat conftest.err >&5
4211
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212
(exit $ac_status); } >/dev/null && {
4213
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4214
test ! -s conftest.err
4255
if ac_fn_cxx_try_cpp "$LINENO"; then :
4218
$as_echo "$as_me: failed program was:" >&5
4219
sed 's/^/| /' conftest.$ac_ext >&5
4221
4258
# Broken: fails on valid input.
4225
rm -f conftest.err conftest.$ac_ext
4261
rm -f conftest.err conftest.i conftest.$ac_ext
4227
4263
# OK, works on sane cases. Now check whether nonexistent headers
4228
4264
# can be detected and how.
4229
cat >conftest.$ac_ext <<_ACEOF
4232
cat confdefs.h >>conftest.$ac_ext
4233
cat >>conftest.$ac_ext <<_ACEOF
4265
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234
4266
/* end confdefs.h. */
4235
4267
#include <ac_nonexistent.h>
4237
if { (ac_try="$ac_cpp conftest.$ac_ext"
4239
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240
*) ac_try_echo=$ac_try;;
4242
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4243
$as_echo "$ac_try_echo") >&5
4244
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4246
grep -v '^ *+' conftest.er1 >conftest.err
4248
cat conftest.err >&5
4249
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250
(exit $ac_status); } >/dev/null && {
4251
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4252
test ! -s conftest.err
4269
if ac_fn_cxx_try_cpp "$LINENO"; then :
4254
4270
# Broken: success on invalid input.
4257
$as_echo "$as_me: failed program was:" >&5
4258
sed 's/^/| /' conftest.$ac_ext >&5
4260
4273
# Passes both tests.
4261
4274
ac_preproc_ok=:
4265
rm -f conftest.err conftest.$ac_ext
4277
rm -f conftest.err conftest.i conftest.$ac_ext
4268
4280
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4269
rm -f conftest.err conftest.$ac_ext
4270
if $ac_preproc_ok; then
4281
rm -f conftest.i conftest.err conftest.$ac_ext
4282
if $ac_preproc_ok; then :
4306
if { (ac_try="$ac_cpp conftest.$ac_ext"
4308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309
*) ac_try_echo=$ac_try;;
4311
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4312
$as_echo "$ac_try_echo") >&5
4313
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4315
grep -v '^ *+' conftest.er1 >conftest.err
4317
cat conftest.err >&5
4318
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319
(exit $ac_status); } >/dev/null && {
4320
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4321
test ! -s conftest.err
4314
if ac_fn_cxx_try_cpp "$LINENO"; then :
4325
$as_echo "$as_me: failed program was:" >&5
4326
sed 's/^/| /' conftest.$ac_ext >&5
4328
4317
# Broken: fails on valid input.
4332
rm -f conftest.err conftest.$ac_ext
4320
rm -f conftest.err conftest.i conftest.$ac_ext
4334
4322
# OK, works on sane cases. Now check whether nonexistent headers
4335
4323
# can be detected and how.
4336
cat >conftest.$ac_ext <<_ACEOF
4339
cat confdefs.h >>conftest.$ac_ext
4340
cat >>conftest.$ac_ext <<_ACEOF
4324
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341
4325
/* end confdefs.h. */
4342
4326
#include <ac_nonexistent.h>
4344
if { (ac_try="$ac_cpp conftest.$ac_ext"
4346
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347
*) ac_try_echo=$ac_try;;
4349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4350
$as_echo "$ac_try_echo") >&5
4351
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4353
grep -v '^ *+' conftest.er1 >conftest.err
4355
cat conftest.err >&5
4356
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357
(exit $ac_status); } >/dev/null && {
4358
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4359
test ! -s conftest.err
4328
if ac_fn_cxx_try_cpp "$LINENO"; then :
4361
4329
# Broken: success on invalid input.
4364
$as_echo "$as_me: failed program was:" >&5
4365
sed 's/^/| /' conftest.$ac_ext >&5
4367
4332
# Passes both tests.
4368
4333
ac_preproc_ok=:
4372
rm -f conftest.err conftest.$ac_ext
4336
rm -f conftest.err conftest.i conftest.$ac_ext
4375
4339
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4376
rm -f conftest.err conftest.$ac_ext
4377
if $ac_preproc_ok; then
4340
rm -f conftest.i conftest.err conftest.$ac_ext
4341
if $ac_preproc_ok; then :
4380
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4381
See \`config.log' for more details." >&5
4382
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4383
See \`config.log' for more details." >&2;}
4384
{ (exit 1); exit 1; }; }
4344
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4345
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4346
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4347
See \`config.log' for more details" "$LINENO" 5; }
4658
rm -f conftest$ac_exeext
4659
if { (ac_try="$ac_link"
4661
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662
*) ac_try_echo=$ac_try;;
4664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4665
$as_echo "$ac_try_echo") >&5
4666
(eval "$ac_link") 2>&5
4668
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4670
{ (case "(($ac_try" in
4671
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672
*) ac_try_echo=$ac_try;;
4674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4675
$as_echo "$ac_try_echo") >&5
4676
(eval "$ac_try") 2>&5
4678
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
(exit $ac_status); }; }; then
4580
if ac_fn_cxx_try_run "$LINENO"; then :
4682
$as_echo "$as_me: program exited with status $ac_status" >&5
4683
$as_echo "$as_me: failed program was:" >&5
4684
sed 's/^/| /' conftest.$ac_ext >&5
4687
ac_cv_header_stdc=no
4689
rm -rf conftest.dSYM
4690
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4696
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4583
ac_cv_header_stdc=no
4585
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4586
conftest.$ac_objext conftest.beam conftest.$ac_ext
4591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4697
4592
$as_echo "$ac_cv_header_stdc" >&6; }
4698
4593
if test $ac_cv_header_stdc = yes; then
4700
cat >>confdefs.h <<\_ACEOF
4701
#define STDC_HEADERS 1
4595
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4706
4599
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4716
4600
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4717
4601
inttypes.h stdint.h unistd.h
4719
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4720
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4721
$as_echo_n "checking for $ac_header... " >&6; }
4722
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4723
$as_echo_n "(cached) " >&6
4725
cat >conftest.$ac_ext <<_ACEOF
4728
cat confdefs.h >>conftest.$ac_ext
4729
cat >>conftest.$ac_ext <<_ACEOF
4730
/* end confdefs.h. */
4731
$ac_includes_default
4733
#include <$ac_header>
4735
rm -f conftest.$ac_objext
4736
if { (ac_try="$ac_compile"
4738
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739
*) ac_try_echo=$ac_try;;
4741
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4742
$as_echo "$ac_try_echo") >&5
4743
(eval "$ac_compile") 2>conftest.er1
4745
grep -v '^ *+' conftest.er1 >conftest.err
4747
cat conftest.err >&5
4748
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
(exit $ac_status); } && {
4750
test -z "$ac_cxx_werror_flag" ||
4751
test ! -s conftest.err
4752
} && test -s conftest.$ac_objext; then
4753
eval "$as_ac_Header=yes"
4755
$as_echo "$as_me: failed program was:" >&5
4756
sed 's/^/| /' conftest.$ac_ext >&5
4758
eval "$as_ac_Header=no"
4761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763
ac_res=`eval 'as_val=${'$as_ac_Header'}
4764
$as_echo "$as_val"'`
4765
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4766
$as_echo "$ac_res" >&6; }
4767
if test `eval 'as_val=${'$as_ac_Header'}
4768
$as_echo "$as_val"'` = yes; then
4603
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4604
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4606
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4769
4607
cat >>confdefs.h <<_ACEOF
4770
4608
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4779
4616
for ac_header in \
4783
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4784
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4785
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4786
$as_echo_n "checking for $ac_header... " >&6; }
4787
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4788
$as_echo_n "(cached) " >&6
4790
ac_res=`eval 'as_val=${'$as_ac_Header'}
4791
$as_echo "$as_val"'`
4792
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4793
$as_echo "$ac_res" >&6; }
4795
# Is the header compilable?
4796
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4797
$as_echo_n "checking $ac_header usability... " >&6; }
4798
cat >conftest.$ac_ext <<_ACEOF
4801
cat confdefs.h >>conftest.$ac_ext
4802
cat >>conftest.$ac_ext <<_ACEOF
4803
/* end confdefs.h. */
4804
$ac_includes_default
4805
#include <$ac_header>
4807
rm -f conftest.$ac_objext
4808
if { (ac_try="$ac_compile"
4810
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4811
*) ac_try_echo=$ac_try;;
4813
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4814
$as_echo "$ac_try_echo") >&5
4815
(eval "$ac_compile") 2>conftest.er1
4817
grep -v '^ *+' conftest.er1 >conftest.err
4819
cat conftest.err >&5
4820
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
(exit $ac_status); } && {
4822
test -z "$ac_cxx_werror_flag" ||
4823
test ! -s conftest.err
4824
} && test -s conftest.$ac_objext; then
4825
ac_header_compiler=yes
4827
$as_echo "$as_me: failed program was:" >&5
4828
sed 's/^/| /' conftest.$ac_ext >&5
4830
ac_header_compiler=no
4833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4835
$as_echo "$ac_header_compiler" >&6; }
4837
# Is the header present?
4838
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4839
$as_echo_n "checking $ac_header presence... " >&6; }
4840
cat >conftest.$ac_ext <<_ACEOF
4843
cat confdefs.h >>conftest.$ac_ext
4844
cat >>conftest.$ac_ext <<_ACEOF
4845
/* end confdefs.h. */
4846
#include <$ac_header>
4848
if { (ac_try="$ac_cpp conftest.$ac_ext"
4850
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851
*) ac_try_echo=$ac_try;;
4853
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4854
$as_echo "$ac_try_echo") >&5
4855
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4857
grep -v '^ *+' conftest.er1 >conftest.err
4859
cat conftest.err >&5
4860
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861
(exit $ac_status); } >/dev/null && {
4862
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4863
test ! -s conftest.err
4865
ac_header_preproc=yes
4867
$as_echo "$as_me: failed program was:" >&5
4868
sed 's/^/| /' conftest.$ac_ext >&5
4870
ac_header_preproc=no
4873
rm -f conftest.err conftest.$ac_ext
4874
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4875
$as_echo "$ac_header_preproc" >&6; }
4877
# So? What about this header?
4878
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4880
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4881
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4882
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4883
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4884
ac_header_preproc=yes
4887
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4888
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4889
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4890
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4891
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4892
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4893
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4894
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4895
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4896
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4897
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4898
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4900
## ----------------------------------------- ##
4901
## Report this to rbtcollins@squid-cache.org ##
4902
## ----------------------------------------- ##
4904
) | sed "s/^/$as_me: WARNING: /" >&2
4907
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4908
$as_echo_n "checking for $ac_header... " >&6; }
4909
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4910
$as_echo_n "(cached) " >&6
4912
eval "$as_ac_Header=\$ac_header_preproc"
4914
ac_res=`eval 'as_val=${'$as_ac_Header'}
4915
$as_echo "$as_val"'`
4916
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4917
$as_echo "$ac_res" >&6; }
4920
if test `eval 'as_val=${'$as_ac_Header'}
4921
$as_echo "$as_val"'` = yes; then
4620
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4621
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4622
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4922
4623
cat >>confdefs.h <<_ACEOF
4923
4624
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5001
rm -f conftest.$ac_objext
5002
if { (ac_try="$ac_compile"
5004
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005
*) ac_try_echo=$ac_try;;
5007
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5008
$as_echo "$ac_try_echo") >&5
5009
(eval "$ac_compile") 2>conftest.er1
5011
grep -v '^ *+' conftest.er1 >conftest.err
5013
cat conftest.err >&5
5014
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
(exit $ac_status); } && {
5016
test -z "$ac_cxx_werror_flag" ||
5017
test ! -s conftest.err
5018
} && test -s conftest.$ac_objext; then
4698
if ac_fn_cxx_try_compile "$LINENO"; then :
5019
4699
ac_cv_c_const=yes
5021
$as_echo "$as_me: failed program was:" >&5
5022
sed 's/^/| /' conftest.$ac_ext >&5
5027
4703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5029
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5030
4706
$as_echo "$ac_cv_c_const" >&6; }
5031
4707
if test $ac_cv_c_const = no; then
5033
cat >>confdefs.h <<\_ACEOF
5039
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
5040
$as_echo_n "checking for size_t... " >&6; }
5041
if test "${ac_cv_type_size_t+set}" = set; then
5042
$as_echo_n "(cached) " >&6
5044
ac_cv_type_size_t=no
5045
cat >conftest.$ac_ext <<_ACEOF
5048
cat confdefs.h >>conftest.$ac_ext
5049
cat >>conftest.$ac_ext <<_ACEOF
5050
/* end confdefs.h. */
5051
$ac_includes_default
5055
if (sizeof (size_t))
5061
rm -f conftest.$ac_objext
5062
if { (ac_try="$ac_compile"
5064
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065
*) ac_try_echo=$ac_try;;
5067
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5068
$as_echo "$ac_try_echo") >&5
5069
(eval "$ac_compile") 2>conftest.er1
5071
grep -v '^ *+' conftest.er1 >conftest.err
5073
cat conftest.err >&5
5074
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075
(exit $ac_status); } && {
5076
test -z "$ac_cxx_werror_flag" ||
5077
test ! -s conftest.err
5078
} && test -s conftest.$ac_objext; then
5079
cat >conftest.$ac_ext <<_ACEOF
5082
cat confdefs.h >>conftest.$ac_ext
5083
cat >>conftest.$ac_ext <<_ACEOF
5084
/* end confdefs.h. */
5085
$ac_includes_default
5089
if (sizeof ((size_t)))
5095
rm -f conftest.$ac_objext
5096
if { (ac_try="$ac_compile"
5098
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099
*) ac_try_echo=$ac_try;;
5101
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5102
$as_echo "$ac_try_echo") >&5
5103
(eval "$ac_compile") 2>conftest.er1
5105
grep -v '^ *+' conftest.er1 >conftest.err
5107
cat conftest.err >&5
5108
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109
(exit $ac_status); } && {
5110
test -z "$ac_cxx_werror_flag" ||
5111
test ! -s conftest.err
5112
} && test -s conftest.$ac_objext; then
5115
$as_echo "$as_me: failed program was:" >&5
5116
sed 's/^/| /' conftest.$ac_ext >&5
5118
ac_cv_type_size_t=yes
5121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5123
$as_echo "$as_me: failed program was:" >&5
5124
sed 's/^/| /' conftest.$ac_ext >&5
5129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5131
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5132
$as_echo "$ac_cv_type_size_t" >&6; }
5133
if test $ac_cv_type_size_t = yes; then
4709
$as_echo "#define const /**/" >>confdefs.h
4713
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4714
if test "x$ac_cv_type_size_t" = xyes; then :
5137
4718
cat >>confdefs.h <<_ACEOF
5245
4838
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5246
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5247
Usually this means the macro was only invoked conditionally." >&5
5248
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5249
Usually this means the macro was only invoked conditionally." >&2;}
5250
{ (exit 1); exit 1; }; }
4839
as_fn_error $? "conditional \"AMDEP\" was never defined.
4840
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5252
4842
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5253
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5254
Usually this means the macro was only invoked conditionally." >&5
5255
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5256
Usually this means the macro was only invoked conditionally." >&2;}
5257
{ (exit 1); exit 1; }; }
4843
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4844
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5259
4846
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5260
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5261
Usually this means the macro was only invoked conditionally." >&5
5262
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5263
Usually this means the macro was only invoked conditionally." >&2;}
5264
{ (exit 1); exit 1; }; }
4847
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4848
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4850
if test -n "$EXEEXT"; then
4852
am__EXEEXT_FALSE='#'
5266
4858
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5267
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5268
Usually this means the macro was only invoked conditionally." >&5
5269
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5270
Usually this means the macro was only invoked conditionally." >&2;}
5271
{ (exit 1); exit 1; }; }
4859
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4860
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5274
: ${CONFIG_STATUS=./config.status}
4863
: "${CONFIG_STATUS=./config.status}"
5275
4864
ac_write_fail=0
5276
4865
ac_clean_files_save=$ac_clean_files
5277
4866
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5278
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4867
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5279
4868
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5280
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4870
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5282
4872
# Generated by $as_me.
5283
4873
# Run this file to recreate the current configuration.
6420
6057
s/.*/./; q'`/stamp-h$_am_stamp_count
6423
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6060
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6424
6061
$as_echo "$as_me: executing $ac_file commands" >&6;}
6429
6066
case $ac_file$ac_mode in
6430
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6431
# Strip MF so we end up with the name of the file.
6432
mf=`echo "$mf" | sed -e 's/:.*$//'`
6433
# Check whether this is an Automake generated Makefile or not.
6434
# We used to match only the files named `Makefile.in', but
6435
# some people rename them; so instead we look at the file content.
6436
# Grep'ing the first line is not enough: some people post-process
6437
# each Makefile.in and add a new line on top of each file to say so.
6438
# Grep'ing the whole file is not good either: AIX grep has a line
6439
# limit of 2048, but all sed's we know have understand at least 4000.
6440
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6441
dirpart=`$as_dirname -- "$mf" ||
6067
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6068
# Autoconf 2.62 quotes --file arguments for eval, but not when files
6069
# are listed without --file. Let's play safe and only enable the eval
6070
# if we detect the quoting.
6071
case $CONFIG_FILES in
6072
*\'*) eval set x "$CONFIG_FILES" ;;
6073
*) set x $CONFIG_FILES ;;
6078
# Strip MF so we end up with the name of the file.
6079
mf=`echo "$mf" | sed -e 's/:.*$//'`
6080
# Check whether this is an Automake generated Makefile or not.
6081
# We used to match only the files named `Makefile.in', but
6082
# some people rename them; so instead we look at the file content.
6083
# Grep'ing the first line is not enough: some people post-process
6084
# each Makefile.in and add a new line on top of each file to say so.
6085
# Grep'ing the whole file is not good either: AIX grep has a line
6086
# limit of 2048, but all sed's we know have understand at least 4000.
6087
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6088
dirpart=`$as_dirname -- "$mf" ||
6442
6089
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6443
6090
X"$mf" : 'X\(//\)[^/]' \| \
6444
6091
X"$mf" : 'X\(//\)$' \| \
6467
# Extract the definition of DEPDIR, am__include, and am__quote
6468
# from the Makefile without running `make'.
6469
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6470
test -z "$DEPDIR" && continue
6471
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6472
test -z "am__include" && continue
6473
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6474
# When using ansi2knr, U may be empty or an underscore; expand it
6475
U=`sed -n 's/^U = //p' < "$mf"`
6476
# Find all dependency output files, they are included files with
6477
# $(DEPDIR) in their names. We invoke sed twice because it is the
6478
# simplest approach to changing $(DEPDIR) to its actual value in the
6480
for file in `sed -n "
6481
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6482
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6483
# Make sure the directory exists.
6484
test -f "$dirpart/$file" && continue
6485
fdir=`$as_dirname -- "$file" ||
6114
# Extract the definition of DEPDIR, am__include, and am__quote
6115
# from the Makefile without running `make'.
6116
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6117
test -z "$DEPDIR" && continue
6118
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6119
test -z "am__include" && continue
6120
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6121
# When using ansi2knr, U may be empty or an underscore; expand it
6122
U=`sed -n 's/^U = //p' < "$mf"`
6123
# Find all dependency output files, they are included files with
6124
# $(DEPDIR) in their names. We invoke sed twice because it is the
6125
# simplest approach to changing $(DEPDIR) to its actual value in the
6127
for file in `sed -n "
6128
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6129
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6130
# Make sure the directory exists.
6131
test -f "$dirpart/$file" && continue
6132
fdir=`$as_dirname -- "$file" ||
6486
6133
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6487
6134
X"$file" : 'X\(//\)[^/]' \| \
6488
6135
X"$file" : 'X\(//\)$' \| \