2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for gold 0.1.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
3
# Generated by GNU Autoconf 2.64 for gold 0.1.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
6
9
# This configure script is free software; the Free Software Foundation
7
10
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17
21
# is contrary to our usage. Disable this feature.
18
22
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
25
case `(set -o) 2>/dev/null` in #(
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46
as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# We need space, tab and new line, in precisely that order. Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
89
# Find who we are. Look in the path if we contain no directory separator.
91
*[\\/]* ) as_myself=$0 ;;
92
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
test -z "$as_dir" && as_dir=.
97
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
108
if test ! -f "$as_myself"; then
109
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there. '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
if test "x$CONFIG_SHELL" = x; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in #(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
186
test -z "$as_dir" && as_dir=.
190
for as_base in sh bash ksh sh5; do
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
# Portably unset VAR.
252
{ eval $1=; unset $1;}
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
# Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
381
as_basename=basename
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
392
as_me=`$as_basename -- "$0" ||
67
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
394
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
79
411
# Avoid depending upon Character Ranges.
80
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
886
1414
CFLAGS C compiler flags
887
1415
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
888
1416
nonstandard directory <lib dir>
889
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
890
headers in a nonstandard directory <include dir>
1417
LIBS libraries to pass to the linker, e.g. -l<library>
1418
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1419
you have headers in a nonstandard directory <include dir>
891
1420
CXX C++ compiler command
892
1421
CXXFLAGS C++ compiler flags
1422
YACC The `Yet Another C Compiler' implementation to use. Defaults to
1423
the first program found out of: `bison -y', `byacc', `yacc'.
1424
YFLAGS The list of arguments that will be passed by default to $YACC.
1425
This script will default YFLAGS to the empty string to avoid a
1426
default value of `-d' given by some make applications.
893
1427
CPP C preprocessor
894
1428
CXXCPP C++ preprocessor
896
1430
Use these variables to override the choices made by `configure' or to help
897
1431
it to find libraries and programs with nonstandard names/locations.
1433
Report bugs to the package provider.
902
1438
if test "$ac_init_help" = "recursive"; then
903
1439
# If there are subdirs, report their specific --help.
905
1440
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
906
test -d $ac_dir || continue
1441
test -d "$ac_dir" ||
1442
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
909
if test "$ac_dir" != .; then
910
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
911
# A "../" for each directory in $ac_dir_suffix.
912
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
914
ac_dir_suffix= ac_top_builddir=
1447
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1450
# A ".." for each directory in $ac_dir_suffix.
1451
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452
case $ac_top_builddir_sub in
1453
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457
ac_abs_top_builddir=$ac_pwd
1458
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459
# for backward compatibility:
1460
ac_top_builddir=$ac_top_build_prefix
918
.) # No --srcdir option. We are building in place.
1463
.) # We are building in place.
920
if test -z "$ac_top_builddir"; then
923
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
925
[\\/]* | ?:[\\/]* ) # Absolute path.
1465
ac_top_srcdir=$ac_top_builddir_sub
1466
ac_abs_top_srcdir=$ac_pwd ;;
1467
[\\/]* | ?:[\\/]* ) # Absolute name.
926
1468
ac_srcdir=$srcdir$ac_dir_suffix;
927
ac_top_srcdir=$srcdir ;;
929
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930
ac_top_srcdir=$ac_top_builddir$srcdir ;;
933
# Do not use `cd foo && pwd` to compute absolute paths, because
934
# the directories may not exist.
936
.) ac_abs_builddir="$ac_dir";;
939
.) ac_abs_builddir=`pwd`;;
940
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
941
*) ac_abs_builddir=`pwd`/"$ac_dir";;
944
case $ac_abs_builddir in
945
.) ac_abs_top_builddir=${ac_top_builddir}.;;
947
case ${ac_top_builddir}. in
948
.) ac_abs_top_builddir=$ac_abs_builddir;;
949
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
950
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
953
case $ac_abs_builddir in
954
.) ac_abs_srcdir=$ac_srcdir;;
957
.) ac_abs_srcdir=$ac_abs_builddir;;
958
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
959
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
962
case $ac_abs_builddir in
963
.) ac_abs_top_srcdir=$ac_top_srcdir;;
965
case $ac_top_srcdir in
966
.) ac_abs_top_srcdir=$ac_abs_builddir;;
967
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
968
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
973
# Check for guested configure; otherwise get Cygnus style configure.
974
if test -f $ac_srcdir/configure.gnu; then
976
$SHELL $ac_srcdir/configure.gnu --help=recursive
977
elif test -f $ac_srcdir/configure; then
979
$SHELL $ac_srcdir/configure --help=recursive
980
elif test -f $ac_srcdir/configure.ac ||
981
test -f $ac_srcdir/configure.in; then
1469
ac_top_srcdir=$srcdir
1470
ac_abs_top_srcdir=$srcdir ;;
1472
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473
ac_top_srcdir=$ac_top_build_prefix$srcdir
1474
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478
cd "$ac_dir" || { ac_status=$?; continue; }
1479
# Check for guested configure.
1480
if test -f "$ac_srcdir/configure.gnu"; then
1482
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483
elif test -f "$ac_srcdir/configure"; then
1485
$SHELL "$ac_srcdir/configure" --help=recursive
985
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489
cd "$ac_pwd" || { ac_status=$?; break; }
991
test -n "$ac_init_help" && exit 0
1493
test -n "$ac_init_help" && exit $ac_status
992
1494
if $ac_init_version; then
994
1496
gold configure 0.1
995
generated by GNU Autoconf 2.59
1497
generated by GNU Autoconf 2.64
997
Copyright (C) 2003 Free Software Foundation, Inc.
1499
Copyright (C) 2009 Free Software Foundation, Inc.
998
1500
This configure script is free software; the Free Software Foundation
999
1501
gives unlimited permission to copy, distribute and modify it.
1506
## ------------------------ ##
1507
## Autoconf initialization. ##
1508
## ------------------------ ##
1510
# ac_fn_c_try_compile LINENO
1511
# --------------------------
1512
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1513
ac_fn_c_try_compile ()
1515
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516
rm -f conftest.$ac_objext
1517
if { { ac_try="$ac_compile"
1519
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520
*) ac_try_echo=$ac_try;;
1522
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523
$as_echo "$ac_try_echo"; } >&5
1524
(eval "$ac_compile") 2>conftest.err
1526
if test -s conftest.err; then
1527
grep -v '^ *+' conftest.err >conftest.er1
1528
cat conftest.er1 >&5
1529
mv -f conftest.er1 conftest.err
1531
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532
test $ac_status = 0; } && {
1533
test -z "$ac_c_werror_flag" ||
1534
test ! -s conftest.err
1535
} && test -s conftest.$ac_objext; then :
1538
$as_echo "$as_me: failed program was:" >&5
1539
sed 's/^/| /' conftest.$ac_ext >&5
1543
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1546
} # ac_fn_c_try_compile
1548
# ac_fn_cxx_try_compile LINENO
1549
# ----------------------------
1550
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1551
ac_fn_cxx_try_compile ()
1553
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554
rm -f conftest.$ac_objext
1555
if { { ac_try="$ac_compile"
1557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558
*) ac_try_echo=$ac_try;;
1560
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561
$as_echo "$ac_try_echo"; } >&5
1562
(eval "$ac_compile") 2>conftest.err
1564
if test -s conftest.err; then
1565
grep -v '^ *+' conftest.err >conftest.er1
1566
cat conftest.er1 >&5
1567
mv -f conftest.er1 conftest.err
1569
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570
test $ac_status = 0; } && {
1571
test -z "$ac_cxx_werror_flag" ||
1572
test ! -s conftest.err
1573
} && test -s conftest.$ac_objext; then :
1576
$as_echo "$as_me: failed program was:" >&5
1577
sed 's/^/| /' conftest.$ac_ext >&5
1581
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1584
} # ac_fn_cxx_try_compile
1586
# ac_fn_c_try_cpp LINENO
1587
# ----------------------
1588
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1591
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592
if { { ac_try="$ac_cpp conftest.$ac_ext"
1594
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595
*) ac_try_echo=$ac_try;;
1597
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598
$as_echo "$ac_try_echo"; } >&5
1599
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1601
if test -s conftest.err; then
1602
grep -v '^ *+' conftest.err >conftest.er1
1603
cat conftest.er1 >&5
1604
mv -f conftest.er1 conftest.err
1606
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607
test $ac_status = 0; } >/dev/null && {
1608
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1609
test ! -s conftest.err
1613
$as_echo "$as_me: failed program was:" >&5
1614
sed 's/^/| /' conftest.$ac_ext >&5
1618
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1623
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1624
# -------------------------------------------------------
1625
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1626
# the include files in INCLUDES and setting the cache variable VAR
1628
ac_fn_c_check_header_mongrel ()
1630
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1633
$as_echo_n "checking for $2... " >&6; }
1634
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1635
$as_echo_n "(cached) " >&6
1638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639
$as_echo "$ac_res" >&6; }
1641
# Is the header compilable?
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1643
$as_echo_n "checking $2 usability... " >&6; }
1644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645
/* end confdefs.h. */
1649
if ac_fn_c_try_compile "$LINENO"; then :
1650
ac_header_compiler=yes
1652
ac_header_compiler=no
1654
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1656
$as_echo "$ac_header_compiler" >&6; }
1658
# Is the header present?
1659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1660
$as_echo_n "checking $2 presence... " >&6; }
1661
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662
/* end confdefs.h. */
1665
if ac_fn_c_try_cpp "$LINENO"; then :
1666
ac_header_preproc=yes
1668
ac_header_preproc=no
1670
rm -f conftest.err conftest.$ac_ext
1671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1672
$as_echo "$ac_header_preproc" >&6; }
1674
# So? What about this header?
1675
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1677
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1678
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1680
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1683
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1684
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1685
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1686
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1688
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1690
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1691
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1692
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696
$as_echo_n "checking for $2... " >&6; }
1697
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1698
$as_echo_n "(cached) " >&6
1700
eval "$3=\$ac_header_compiler"
1703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704
$as_echo "$ac_res" >&6; }
1706
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708
} # ac_fn_c_check_header_mongrel
1710
# ac_fn_c_try_run LINENO
1711
# ----------------------
1712
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713
# that executables *can* be run.
1716
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717
if { { ac_try="$ac_link"
1719
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720
*) ac_try_echo=$ac_try;;
1722
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723
$as_echo "$ac_try_echo"; } >&5
1724
(eval "$ac_link") 2>&5
1726
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1728
{ { case "(($ac_try" in
1729
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730
*) ac_try_echo=$ac_try;;
1732
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733
$as_echo "$ac_try_echo"; } >&5
1734
(eval "$ac_try") 2>&5
1736
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737
test $ac_status = 0; }; }; then :
1740
$as_echo "$as_me: program exited with status $ac_status" >&5
1741
$as_echo "$as_me: failed program was:" >&5
1742
sed 's/^/| /' conftest.$ac_ext >&5
1744
ac_retval=$ac_status
1746
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753
# -------------------------------------------------------
1754
# Tests whether HEADER exists and can be compiled using the include files in
1755
# INCLUDES, setting the cache variable VAR accordingly.
1756
ac_fn_c_check_header_compile ()
1758
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760
$as_echo_n "checking for $2... " >&6; }
1761
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762
$as_echo_n "(cached) " >&6
1764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765
/* end confdefs.h. */
1769
if ac_fn_c_try_compile "$LINENO"; then :
1774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778
$as_echo "$ac_res" >&6; }
1779
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781
} # ac_fn_c_check_header_compile
1783
# ac_fn_c_try_link LINENO
1784
# -----------------------
1785
# Try to link conftest.$ac_ext, and return whether this succeeded.
1788
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789
rm -f conftest.$ac_objext conftest$ac_exeext
1790
if { { ac_try="$ac_link"
1792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793
*) ac_try_echo=$ac_try;;
1795
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796
$as_echo "$ac_try_echo"; } >&5
1797
(eval "$ac_link") 2>conftest.err
1799
if test -s conftest.err; then
1800
grep -v '^ *+' conftest.err >conftest.er1
1801
cat conftest.er1 >&5
1802
mv -f conftest.er1 conftest.err
1804
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805
test $ac_status = 0; } && {
1806
test -z "$ac_c_werror_flag" ||
1807
test ! -s conftest.err
1808
} && test -s conftest$ac_exeext && {
1809
test "$cross_compiling" = yes ||
1810
$as_test_x conftest$ac_exeext
1814
$as_echo "$as_me: failed program was:" >&5
1815
sed 's/^/| /' conftest.$ac_ext >&5
1819
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821
# interfere with the next link command; also delete a directory that is
1822
# left behind by Apple's compiler. We do this before executing the actions.
1823
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827
} # ac_fn_c_try_link
1829
# ac_fn_c_check_func LINENO FUNC VAR
1830
# ----------------------------------
1831
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1832
ac_fn_c_check_func ()
1834
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836
$as_echo_n "checking for $2... " >&6; }
1837
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1838
$as_echo_n "(cached) " >&6
1840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841
/* end confdefs.h. */
1842
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844
#define $2 innocuous_$2
1846
/* System header to define __stub macros and hopefully few prototypes,
1847
which can conflict with char $2 (); below.
1848
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849
<limits.h> exists even on freestanding compilers. */
1852
# include <limits.h>
1854
# include <assert.h>
1859
/* Override any GCC internal prototype to avoid an error.
1860
Use char because int might match the return type of a GCC
1861
builtin and then its argument prototype would still apply. */
1866
/* The GNU C library defines this for functions which it implements
1867
to always fail with ENOSYS. Some functions are actually named
1868
something starting with __ and the normal name is an alias. */
1869
#if defined __stub_$2 || defined __stub___$2
1881
if ac_fn_c_try_link "$LINENO"; then :
1886
rm -f core conftest.err conftest.$ac_objext \
1887
conftest$ac_exeext conftest.$ac_ext
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891
$as_echo "$ac_res" >&6; }
1892
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894
} # ac_fn_c_check_func
1896
# ac_fn_c_check_decl LINENO SYMBOL VAR
1897
# ------------------------------------
1898
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1899
ac_fn_c_check_decl ()
1901
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1903
$as_echo_n "checking whether $2 is declared... " >&6; }
1904
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905
$as_echo_n "(cached) " >&6
1907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908
/* end confdefs.h. */
1921
if ac_fn_c_try_compile "$LINENO"; then :
1926
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930
$as_echo "$ac_res" >&6; }
1931
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933
} # ac_fn_c_check_decl
1935
# ac_fn_cxx_try_cpp LINENO
1936
# ------------------------
1937
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1938
ac_fn_cxx_try_cpp ()
1940
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941
if { { ac_try="$ac_cpp conftest.$ac_ext"
1943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944
*) ac_try_echo=$ac_try;;
1946
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947
$as_echo "$ac_try_echo"; } >&5
1948
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1950
if test -s conftest.err; then
1951
grep -v '^ *+' conftest.err >conftest.er1
1952
cat conftest.er1 >&5
1953
mv -f conftest.er1 conftest.err
1955
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956
test $ac_status = 0; } >/dev/null && {
1957
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1958
test ! -s conftest.err
1962
$as_echo "$as_me: failed program was:" >&5
1963
sed 's/^/| /' conftest.$ac_ext >&5
1967
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1970
} # ac_fn_cxx_try_cpp
1972
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1973
# ---------------------------------------------------------
1974
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1975
# the include files in INCLUDES and setting the cache variable VAR
1977
ac_fn_cxx_check_header_mongrel ()
1979
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982
$as_echo_n "checking for $2... " >&6; }
1983
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984
$as_echo_n "(cached) " >&6
1987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988
$as_echo "$ac_res" >&6; }
1990
# Is the header compilable?
1991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1992
$as_echo_n "checking $2 usability... " >&6; }
1993
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994
/* end confdefs.h. */
1998
if ac_fn_cxx_try_compile "$LINENO"; then :
1999
ac_header_compiler=yes
2001
ac_header_compiler=no
2003
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2005
$as_echo "$ac_header_compiler" >&6; }
2007
# Is the header present?
2008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2009
$as_echo_n "checking $2 presence... " >&6; }
2010
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011
/* end confdefs.h. */
2014
if ac_fn_cxx_try_cpp "$LINENO"; then :
2015
ac_header_preproc=yes
2017
ac_header_preproc=no
2019
rm -f conftest.err conftest.$ac_ext
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2021
$as_echo "$ac_header_preproc" >&6; }
2023
# So? What about this header?
2024
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2026
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2027
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2029
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2033
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2035
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2036
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2037
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2038
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2039
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045
$as_echo_n "checking for $2... " >&6; }
2046
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2047
$as_echo_n "(cached) " >&6
2049
eval "$3=\$ac_header_compiler"
2052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053
$as_echo "$ac_res" >&6; }
2055
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2057
} # ac_fn_cxx_check_header_mongrel
2059
# ac_fn_cxx_try_link LINENO
2060
# -------------------------
2061
# Try to link conftest.$ac_ext, and return whether this succeeded.
2062
ac_fn_cxx_try_link ()
2064
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065
rm -f conftest.$ac_objext conftest$ac_exeext
2066
if { { ac_try="$ac_link"
2068
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2069
*) ac_try_echo=$ac_try;;
2071
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072
$as_echo "$ac_try_echo"; } >&5
2073
(eval "$ac_link") 2>conftest.err
2075
if test -s conftest.err; then
2076
grep -v '^ *+' conftest.err >conftest.er1
2077
cat conftest.er1 >&5
2078
mv -f conftest.er1 conftest.err
2080
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081
test $ac_status = 0; } && {
2082
test -z "$ac_cxx_werror_flag" ||
2083
test ! -s conftest.err
2084
} && test -s conftest$ac_exeext && {
2085
test "$cross_compiling" = yes ||
2086
$as_test_x conftest$ac_exeext
2090
$as_echo "$as_me: failed program was:" >&5
2091
sed 's/^/| /' conftest.$ac_ext >&5
2095
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2096
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2097
# interfere with the next link command; also delete a directory that is
2098
# left behind by Apple's compiler. We do this before executing the actions.
2099
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2103
} # ac_fn_cxx_try_link
2105
# ac_fn_cxx_check_func LINENO FUNC VAR
2106
# ------------------------------------
2107
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2108
ac_fn_cxx_check_func ()
2110
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112
$as_echo_n "checking for $2... " >&6; }
2113
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2114
$as_echo_n "(cached) " >&6
2116
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2117
/* end confdefs.h. */
2118
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2119
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2120
#define $2 innocuous_$2
2122
/* System header to define __stub macros and hopefully few prototypes,
2123
which can conflict with char $2 (); below.
2124
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2125
<limits.h> exists even on freestanding compilers. */
2128
# include <limits.h>
2130
# include <assert.h>
2135
/* Override any GCC internal prototype to avoid an error.
2136
Use char because int might match the return type of a GCC
2137
builtin and then its argument prototype would still apply. */
2142
/* The GNU C library defines this for functions which it implements
2143
to always fail with ENOSYS. Some functions are actually named
2144
something starting with __ and the normal name is an alias. */
2145
#if defined __stub_$2 || defined __stub___$2
2157
if ac_fn_cxx_try_link "$LINENO"; then :
2162
rm -f core conftest.err conftest.$ac_objext \
2163
conftest$ac_exeext conftest.$ac_ext
2166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167
$as_echo "$ac_res" >&6; }
2168
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2170
} # ac_fn_cxx_check_func
2172
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
2173
# --------------------------------------
2174
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2175
ac_fn_cxx_check_decl ()
2177
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2179
$as_echo_n "checking whether $2 is declared... " >&6; }
2180
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2181
$as_echo_n "(cached) " >&6
2183
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184
/* end confdefs.h. */
2197
if ac_fn_cxx_try_compile "$LINENO"; then :
2202
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2206
$as_echo "$ac_res" >&6; }
2207
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2209
} # ac_fn_cxx_check_decl
2210
cat >config.log <<_ACEOF
1005
2211
This file contains any messages produced by compilers while
1006
2212
running configure, to aid debugging if configure makes a mistake.
1008
2214
It was created by gold $as_me 0.1, which was
1009
generated by GNU Autoconf 2.59. Invocation command line was
2215
generated by GNU Autoconf 2.64. Invocation command line was
1016
2223
## --------- ##
3816
4846
IFS=$as_save_IFS
3817
4847
test -z "$as_dir" && as_dir=.
3818
for ac_exec_ext in '' $ac_executable_extensions; do
3819
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4848
for ac_exec_ext in '' $ac_executable_extensions; do
4849
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3820
4850
ac_cv_prog_ac_ct_RANLIB="ranlib"
3821
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3830
4860
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3831
4861
if test -n "$ac_ct_RANLIB"; then
3832
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3833
echo "${ECHO_T}$ac_ct_RANLIB" >&6
4862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4863
$as_echo "$ac_ct_RANLIB" >&6; }
3835
echo "$as_me:$LINENO: result: no" >&5
3836
echo "${ECHO_T}no" >&6
4865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866
$as_echo "no" >&6; }
3839
RANLIB=$ac_ct_RANLIB
4869
if test "x$ac_ct_RANLIB" = x; then
4872
case $cross_compiling:$ac_tool_warned in
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4875
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4876
ac_tool_warned=yes ;;
4878
RANLIB=$ac_ct_RANLIB
3841
4881
RANLIB="$ac_cv_prog_RANLIB"
3844
# Find a good install program. We prefer a C program (faster),
3845
# so one script is as good as another. But avoid the broken or
3846
# incompatible versions:
3847
# SysV /etc/install, /usr/sbin/install
3848
# SunOS /usr/etc/install
3849
# IRIX /sbin/install
3851
# AmigaOS /C/install, which installs bootblocks on floppy discs
3852
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3853
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3854
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3855
# OS/2's system install, which has a completely different semantic
3856
# ./install, which can be erroneously created by make from ./install.sh.
3857
# Reject install programs that cannot install multiple files.
3858
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3859
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3860
if test -z "$INSTALL"; then
3861
if test "${ac_cv_path_install+set}" = set; then
3862
echo $ECHO_N "(cached) $ECHO_C" >&6
3864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868
test -z "$as_dir" && as_dir=.
3869
# Account for people who put trailing slashes in PATH elements.
3871
./ | .// | /cC/* | \
3872
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3873
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3876
# OSF1 and SCO ODT 3.0 have their own names for install.
3877
# Don't use installbsd from OSF since it installs stuff as root
3879
for ac_prog in ginstall scoinst install; do
3880
for ac_exec_ext in '' $ac_executable_extensions; do
3881
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3882
if test $ac_prog = install &&
3883
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3884
# AIX install. It has an incompatible calling convention.
3886
elif test $ac_prog = install &&
3887
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3888
# program-specific install script used by HP pwplus--don't use.
3891
rm -rf conftest.one conftest.two conftest.dir
3892
echo one > conftest.one
3893
echo two > conftest.two
3895
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3896
test -s conftest.one && test -s conftest.two &&
3897
test -s conftest.dir/conftest.one &&
3898
test -s conftest.dir/conftest.two
3900
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3911
rm -rf conftest.one conftest.two conftest.dir
3914
if test "${ac_cv_path_install+set}" = set; then
3915
INSTALL=$ac_cv_path_install
3917
# As a last resort, use the slow shell script. Don't cache a
3918
# value for INSTALL within a source directory, because that will
3919
# break other packages using the cache if that directory is
3920
# removed, or if the value is a relative name.
3921
INSTALL=$ac_install_sh
3924
echo "$as_me:$LINENO: result: $INSTALL" >&5
3925
echo "${ECHO_T}$INSTALL" >&6
3927
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3928
# It thinks the first close brace ends the variable substitution.
3929
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3931
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3933
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3935
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3936
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4886
$as_echo_n "checking whether ln -s works... " >&6; }
3938
4888
if test "$LN_S" = "ln -s"; then
3939
echo "$as_me:$LINENO: result: yes" >&5
3940
echo "${ECHO_T}yes" >&6
3942
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3943
echo "${ECHO_T}no, using $LN_S" >&6
3948
cat >>confdefs.h <<\_ACEOF
3949
#define _GNU_SOURCE 1
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4890
$as_echo "yes" >&6; }
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4893
$as_echo "no, using $LN_S" >&6; }
4899
ac_cpp='$CPP $CPPFLAGS'
4900
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4904
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4905
# On Suns, sometimes $CPP names a directory.
4906
if test -n "$CPP" && test -d "$CPP"; then
4909
if test -z "$CPP"; then
4910
if test "${ac_cv_prog_CPP+set}" = set; then :
4911
$as_echo_n "(cached) " >&6
4913
# Double quotes because CPP needs to be expanded
4914
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4917
for ac_c_preproc_warn_flag in '' yes
4919
# Use a header file that comes with gcc, so configuring glibc
4920
# with a fresh cross-compiler works.
4921
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922
# <limits.h> exists even on freestanding compilers.
4923
# On the NeXT, cc -E runs the code through the compiler's parser,
4924
# not just through cpp. "Syntax error" is here to catch this case.
4925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926
/* end confdefs.h. */
4928
# include <limits.h>
4930
# include <assert.h>
4934
if ac_fn_c_try_cpp "$LINENO"; then :
4937
# Broken: fails on valid input.
4940
rm -f conftest.err conftest.$ac_ext
4942
# OK, works on sane cases. Now check whether nonexistent headers
4943
# can be detected and how.
4944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945
/* end confdefs.h. */
4946
#include <ac_nonexistent.h>
4948
if ac_fn_c_try_cpp "$LINENO"; then :
4949
# Broken: success on invalid input.
4952
# Passes both tests.
4956
rm -f conftest.err conftest.$ac_ext
4959
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960
rm -f conftest.err conftest.$ac_ext
4961
if $ac_preproc_ok; then :
4973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4974
$as_echo "$CPP" >&6; }
4976
for ac_c_preproc_warn_flag in '' yes
4978
# Use a header file that comes with gcc, so configuring glibc
4979
# with a fresh cross-compiler works.
4980
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981
# <limits.h> exists even on freestanding compilers.
4982
# On the NeXT, cc -E runs the code through the compiler's parser,
4983
# not just through cpp. "Syntax error" is here to catch this case.
4984
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985
/* end confdefs.h. */
4987
# include <limits.h>
4989
# include <assert.h>
4993
if ac_fn_c_try_cpp "$LINENO"; then :
4996
# Broken: fails on valid input.
4999
rm -f conftest.err conftest.$ac_ext
5001
# OK, works on sane cases. Now check whether nonexistent headers
5002
# can be detected and how.
5003
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004
/* end confdefs.h. */
5005
#include <ac_nonexistent.h>
5007
if ac_fn_c_try_cpp "$LINENO"; then :
5008
# Broken: success on invalid input.
5011
# Passes both tests.
5015
rm -f conftest.err conftest.$ac_ext
5018
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5019
rm -f conftest.err conftest.$ac_ext
5020
if $ac_preproc_ok; then :
5023
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5024
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5025
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5026
See \`config.log' for more details." "$LINENO" 5; }
5030
ac_cpp='$CPP $CPPFLAGS'
5031
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5037
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5038
if test "${ac_cv_path_GREP+set}" = set; then :
5039
$as_echo_n "(cached) " >&6
5041
if test -z "$GREP"; then
5042
ac_path_GREP_found=false
5043
# Loop through the user's path and test for each of PROGNAME-LIST
5044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5048
test -z "$as_dir" && as_dir=.
5049
for ac_prog in grep ggrep; do
5050
for ac_exec_ext in '' $ac_executable_extensions; do
5051
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5052
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5053
# Check for GNU ac_path_GREP and select it if it is found.
5054
# Check for GNU $ac_path_GREP
5055
case `"$ac_path_GREP" --version 2>&1` in
5057
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5060
$as_echo_n 0123456789 >"conftest.in"
5063
cat "conftest.in" "conftest.in" >"conftest.tmp"
5064
mv "conftest.tmp" "conftest.in"
5065
cp "conftest.in" "conftest.nl"
5066
$as_echo 'GREP' >> "conftest.nl"
5067
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5068
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5069
as_fn_arith $ac_count + 1 && ac_count=$as_val
5070
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5071
# Best one so far, save it but keep looking for a better one
5072
ac_cv_path_GREP="$ac_path_GREP"
5073
ac_path_GREP_max=$ac_count
5075
# 10*(2^10) chars as input seems more than enough
5076
test $ac_count -gt 10 && break
5078
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5081
$ac_path_GREP_found && break 3
5086
if test -z "$ac_cv_path_GREP"; then
5087
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5090
ac_cv_path_GREP=$GREP
5094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5095
$as_echo "$ac_cv_path_GREP" >&6; }
5096
GREP="$ac_cv_path_GREP"
5099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5100
$as_echo_n "checking for egrep... " >&6; }
5101
if test "${ac_cv_path_EGREP+set}" = set; then :
5102
$as_echo_n "(cached) " >&6
5104
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5105
then ac_cv_path_EGREP="$GREP -E"
5107
if test -z "$EGREP"; then
5108
ac_path_EGREP_found=false
5109
# Loop through the user's path and test for each of PROGNAME-LIST
5110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5114
test -z "$as_dir" && as_dir=.
5115
for ac_prog in egrep; do
5116
for ac_exec_ext in '' $ac_executable_extensions; do
5117
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5118
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5119
# Check for GNU ac_path_EGREP and select it if it is found.
5120
# Check for GNU $ac_path_EGREP
5121
case `"$ac_path_EGREP" --version 2>&1` in
5123
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5126
$as_echo_n 0123456789 >"conftest.in"
5129
cat "conftest.in" "conftest.in" >"conftest.tmp"
5130
mv "conftest.tmp" "conftest.in"
5131
cp "conftest.in" "conftest.nl"
5132
$as_echo 'EGREP' >> "conftest.nl"
5133
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5134
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5135
as_fn_arith $ac_count + 1 && ac_count=$as_val
5136
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5137
# Best one so far, save it but keep looking for a better one
5138
ac_cv_path_EGREP="$ac_path_EGREP"
5139
ac_path_EGREP_max=$ac_count
5141
# 10*(2^10) chars as input seems more than enough
5142
test $ac_count -gt 10 && break
5144
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5147
$ac_path_EGREP_found && break 3
5152
if test -z "$ac_cv_path_EGREP"; then
5153
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5156
ac_cv_path_EGREP=$EGREP
5161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5162
$as_echo "$ac_cv_path_EGREP" >&6; }
5163
EGREP="$ac_cv_path_EGREP"
5166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5167
$as_echo_n "checking for ANSI C header files... " >&6; }
5168
if test "${ac_cv_header_stdc+set}" = set; then :
5169
$as_echo_n "(cached) " >&6
5171
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172
/* end confdefs.h. */
5186
if ac_fn_c_try_compile "$LINENO"; then :
5187
ac_cv_header_stdc=yes
5189
ac_cv_header_stdc=no
5191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5193
if test $ac_cv_header_stdc = yes; then
5194
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196
/* end confdefs.h. */
5200
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5201
$EGREP "memchr" >/dev/null 2>&1; then :
5204
ac_cv_header_stdc=no
5210
if test $ac_cv_header_stdc = yes; then
5211
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213
/* end confdefs.h. */
5217
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5218
$EGREP "free" >/dev/null 2>&1; then :
5221
ac_cv_header_stdc=no
5227
if test $ac_cv_header_stdc = yes; then
5228
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5229
if test "$cross_compiling" = yes; then :
5232
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5233
/* end confdefs.h. */
5236
#if ((' ' & 0x0FF) == 0x020)
5237
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5238
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5240
# define ISLOWER(c) \
5241
(('a' <= (c) && (c) <= 'i') \
5242
|| ('j' <= (c) && (c) <= 'r') \
5243
|| ('s' <= (c) && (c) <= 'z'))
5244
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5247
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5252
for (i = 0; i < 256; i++)
5253
if (XOR (islower (i), ISLOWER (i))
5254
|| toupper (i) != TOUPPER (i))
5259
if ac_fn_c_try_run "$LINENO"; then :
5262
ac_cv_header_stdc=no
5264
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5265
conftest.$ac_objext conftest.beam conftest.$ac_ext
5270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5271
$as_echo "$ac_cv_header_stdc" >&6; }
5272
if test $ac_cv_header_stdc = yes; then
5274
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5278
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5279
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5280
inttypes.h stdint.h unistd.h
5282
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5283
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5285
eval as_val=\$$as_ac_Header
5286
if test "x$as_val" = x""yes; then :
5287
cat >>confdefs.h <<_ACEOF
5288
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5297
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5298
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5305
if test "$MINIX" = yes; then
5307
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5310
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5313
$as_echo "#define _MINIX 1" >>confdefs.h
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5319
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5320
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5321
$as_echo_n "(cached) " >&6
5323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324
/* end confdefs.h. */
5326
# define __EXTENSIONS__ 1
5327
$ac_includes_default
5336
if ac_fn_c_try_compile "$LINENO"; then :
5337
ac_cv_safe_to_define___extensions__=yes
5339
ac_cv_safe_to_define___extensions__=no
5341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5344
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5345
test $ac_cv_safe_to_define___extensions__ = yes &&
5346
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5348
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5350
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5352
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5354
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4320
5724
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4323
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
4324
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5728
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4327
5731
rm -f messages.po
4330
ac_config_commands="$ac_config_commands default-1"
4335
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4336
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4337
if test "${ac_cv_c_bigendian+set}" = set; then
4338
echo $ECHO_N "(cached) $ECHO_C" >&6
5734
ac_config_commands="$ac_config_commands default-1"
5738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5739
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5740
if test "${ac_cv_c_bigendian+set}" = set; then :
5741
$as_echo_n "(cached) " >&6
4340
# See if sys/param.h defines the BYTE_ORDER macro.
4341
cat >conftest.$ac_ext <<_ACEOF
5743
ac_cv_c_bigendian=unknown
5744
# See if we're dealing with a universal compiler.
5745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746
/* end confdefs.h. */
5747
#ifndef __APPLE_CC__
5748
not a universal capable compiler
4344
cat confdefs.h >>conftest.$ac_ext
4345
cat >>conftest.$ac_ext <<_ACEOF
5753
if ac_fn_c_try_compile "$LINENO"; then :
5755
# Check for potential -arch flags. It is not universal unless
5756
# there are at least two -arch flags with different values.
5759
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5760
if test -n "$ac_prev"; then
5762
i?86 | x86_64 | ppc | ppc64)
5763
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5766
ac_cv_c_bigendian=universal
5772
elif test "x$ac_word" = "x-arch"; then
5777
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5778
if test $ac_cv_c_bigendian = unknown; then
5779
# See if sys/param.h defines the BYTE_ORDER macro.
5780
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346
5781
/* end confdefs.h. */
4347
5782
#include <sys/types.h>
4348
#include <sys/param.h>
5783
#include <sys/param.h>
4353
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5788
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5789
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4361
rm -f conftest.$ac_objext
4362
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363
(eval $ac_compile) 2>conftest.er1
4365
grep -v '^ *+' conftest.er1 >conftest.err
4367
cat conftest.err >&5
4368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
(exit $ac_status); } &&
4370
{ ac_try='test -z "$ac_c_werror_flag"
4371
|| test ! -s conftest.err'
4372
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376
(exit $ac_status); }; } &&
4377
{ ac_try='test -s conftest.$ac_objext'
4378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382
(exit $ac_status); }; }; then
5798
if ac_fn_c_try_compile "$LINENO"; then :
4383
5799
# It does; now see whether it defined to BIG_ENDIAN or not.
4384
cat >conftest.$ac_ext <<_ACEOF
4387
cat confdefs.h >>conftest.$ac_ext
4388
cat >>conftest.$ac_ext <<_ACEOF
5800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389
5801
/* end confdefs.h. */
4390
5802
#include <sys/types.h>
4391
#include <sys/param.h>
5803
#include <sys/param.h>
4396
5808
#if BYTE_ORDER != BIG_ENDIAN
4404
rm -f conftest.$ac_objext
4405
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406
(eval $ac_compile) 2>conftest.er1
4408
grep -v '^ *+' conftest.er1 >conftest.err
4410
cat conftest.err >&5
4411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412
(exit $ac_status); } &&
4413
{ ac_try='test -z "$ac_c_werror_flag"
4414
|| test ! -s conftest.err'
4415
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419
(exit $ac_status); }; } &&
4420
{ ac_try='test -s conftest.$ac_objext'
4421
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
(exit $ac_status); }; }; then
4426
ac_cv_c_bigendian=yes
4428
echo "$as_me: failed program was:" >&5
4429
sed 's/^/| /' conftest.$ac_ext >&5
4431
ac_cv_c_bigendian=no
4433
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4435
echo "$as_me: failed program was:" >&5
4436
sed 's/^/| /' conftest.$ac_ext >&5
4438
# It does not; compile a test program.
4439
if test "$cross_compiling" = yes; then
4440
# try to guess the endianness by grepping values into an object file
4441
ac_cv_c_bigendian=unknown
4442
cat >conftest.$ac_ext <<_ACEOF
4445
cat confdefs.h >>conftest.$ac_ext
4446
cat >>conftest.$ac_ext <<_ACEOF
4447
/* end confdefs.h. */
4448
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4449
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4450
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4451
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4452
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4453
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4457
_ascii (); _ebcdic ();
4462
rm -f conftest.$ac_objext
4463
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4464
(eval $ac_compile) 2>conftest.er1
4466
grep -v '^ *+' conftest.er1 >conftest.err
4468
cat conftest.err >&5
4469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470
(exit $ac_status); } &&
4471
{ ac_try='test -z "$ac_c_werror_flag"
4472
|| test ! -s conftest.err'
4473
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477
(exit $ac_status); }; } &&
4478
{ ac_try='test -s conftest.$ac_objext'
4479
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
(exit $ac_status); }; }; then
4484
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4485
ac_cv_c_bigendian=yes
4487
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4488
if test "$ac_cv_c_bigendian" = unknown; then
4489
ac_cv_c_bigendian=no
4491
# finding both strings is unlikely to happen, but who knows?
4492
ac_cv_c_bigendian=unknown
4496
echo "$as_me: failed program was:" >&5
4497
sed 's/^/| /' conftest.$ac_ext >&5
4500
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4502
cat >conftest.$ac_ext <<_ACEOF
4505
cat confdefs.h >>conftest.$ac_ext
4506
cat >>conftest.$ac_ext <<_ACEOF
4507
/* end confdefs.h. */
4511
/* Are we little or big endian? From Harbison&Steele. */
4515
char c[sizeof (long)];
4518
exit (u.c[sizeof (long) - 1] == 1);
4521
rm -f conftest$ac_exeext
4522
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4523
(eval $ac_link) 2>&5
4525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531
(exit $ac_status); }; }; then
4532
ac_cv_c_bigendian=no
4534
echo "$as_me: program exited with status $ac_status" >&5
4535
echo "$as_me: failed program was:" >&5
4536
sed 's/^/| /' conftest.$ac_ext >&5
4539
ac_cv_c_bigendian=yes
4541
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4544
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4546
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4547
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4548
case $ac_cv_c_bigendian in
4551
cat >>confdefs.h <<\_ACEOF
4552
#define WORDS_BIGENDIAN 1
4558
{ { echo "$as_me:$LINENO: error: unknown endianness
4559
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4560
echo "$as_me: error: unknown endianness
4561
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4562
{ (exit 1); exit 1; }; } ;;
4570
if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
5816
if ac_fn_c_try_compile "$LINENO"; then :
5817
ac_cv_c_bigendian=yes
5819
ac_cv_c_bigendian=no
5821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5825
if test $ac_cv_c_bigendian = unknown; then
5826
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828
/* end confdefs.h. */
5834
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5842
if ac_fn_c_try_compile "$LINENO"; then :
5843
# It does; now see whether it defined to _BIG_ENDIAN or not.
5844
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5845
/* end confdefs.h. */
5859
if ac_fn_c_try_compile "$LINENO"; then :
5860
ac_cv_c_bigendian=yes
5862
ac_cv_c_bigendian=no
5864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5868
if test $ac_cv_c_bigendian = unknown; then
5869
# Compile a test program.
5870
if test "$cross_compiling" = yes; then :
5871
# Try to guess by grepping values from an object file.
5872
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873
/* end confdefs.h. */
5874
short int ascii_mm[] =
5875
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5876
short int ascii_ii[] =
5877
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5878
int use_ascii (int i) {
5879
return ascii_mm[i] + ascii_ii[i];
5881
short int ebcdic_ii[] =
5882
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5883
short int ebcdic_mm[] =
5884
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5885
int use_ebcdic (int i) {
5886
return ebcdic_mm[i] + ebcdic_ii[i];
5893
return use_ascii (foo) == use_ebcdic (foo);
5898
if ac_fn_c_try_compile "$LINENO"; then :
5899
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5900
ac_cv_c_bigendian=yes
5902
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5903
if test "$ac_cv_c_bigendian" = unknown; then
5904
ac_cv_c_bigendian=no
5906
# finding both strings is unlikely to happen, but who knows?
5907
ac_cv_c_bigendian=unknown
5911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5914
/* end confdefs.h. */
5915
$ac_includes_default
5920
/* Are we little or big endian? From Harbison&Steele. */
5924
char c[sizeof (long int)];
5927
return u.c[sizeof (long int) - 1] == 1;
5933
if ac_fn_c_try_run "$LINENO"; then :
5934
ac_cv_c_bigendian=no
5936
ac_cv_c_bigendian=yes
5938
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5939
conftest.$ac_objext conftest.beam conftest.$ac_ext
5944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5945
$as_echo "$ac_cv_c_bigendian" >&6; }
5946
case $ac_cv_c_bigendian in #(
5948
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5954
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5958
as_fn_error "unknown endianness
5959
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5965
if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
4571
5966
NATIVE_LINKER_TRUE=
4572
5967
NATIVE_LINKER_FALSE='#'
5295
6322
# Link in zlib if we can. This allows us to write compressed sections.
5297
ac_cpp='$CPP $CPPFLAGS'
5298
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5299
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5300
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5301
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5302
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5303
# On Suns, sometimes $CPP names a directory.
5304
if test -n "$CPP" && test -d "$CPP"; then
5307
if test -z "$CPP"; then
5308
if test "${ac_cv_prog_CPP+set}" = set; then
5309
echo $ECHO_N "(cached) $ECHO_C" >&6
5311
# Double quotes because CPP needs to be expanded
5312
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5315
for ac_c_preproc_warn_flag in '' yes
5317
# Use a header file that comes with gcc, so configuring glibc
5318
# with a fresh cross-compiler works.
5319
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5320
# <limits.h> exists even on freestanding compilers.
5321
# On the NeXT, cc -E runs the code through the compiler's parser,
5322
# not just through cpp. "Syntax error" is here to catch this case.
5323
cat >conftest.$ac_ext <<_ACEOF
5326
cat confdefs.h >>conftest.$ac_ext
5327
cat >>conftest.$ac_ext <<_ACEOF
5328
/* end confdefs.h. */
5330
# include <limits.h>
5332
# include <assert.h>
5336
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5337
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5339
grep -v '^ *+' conftest.er1 >conftest.err
5341
cat conftest.err >&5
5342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
(exit $ac_status); } >/dev/null; then
5344
if test -s conftest.err; then
5345
ac_cpp_err=$ac_c_preproc_warn_flag
5346
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5353
if test -z "$ac_cpp_err"; then
5356
echo "$as_me: failed program was:" >&5
5357
sed 's/^/| /' conftest.$ac_ext >&5
5359
# Broken: fails on valid input.
5362
rm -f conftest.err conftest.$ac_ext
5364
# OK, works on sane cases. Now check whether non-existent headers
5365
# can be detected and how.
5366
cat >conftest.$ac_ext <<_ACEOF
5369
cat confdefs.h >>conftest.$ac_ext
5370
cat >>conftest.$ac_ext <<_ACEOF
5371
/* end confdefs.h. */
5372
#include <ac_nonexistent.h>
5374
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5375
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5377
grep -v '^ *+' conftest.er1 >conftest.err
5379
cat conftest.err >&5
5380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381
(exit $ac_status); } >/dev/null; then
5382
if test -s conftest.err; then
5383
ac_cpp_err=$ac_c_preproc_warn_flag
5384
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5391
if test -z "$ac_cpp_err"; then
5392
# Broken: success on invalid input.
5395
echo "$as_me: failed program was:" >&5
5396
sed 's/^/| /' conftest.$ac_ext >&5
5398
# Passes both tests.
5402
rm -f conftest.err conftest.$ac_ext
5405
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5406
rm -f conftest.err conftest.$ac_ext
5407
if $ac_preproc_ok; then
5419
echo "$as_me:$LINENO: result: $CPP" >&5
5420
echo "${ECHO_T}$CPP" >&6
5422
for ac_c_preproc_warn_flag in '' yes
5424
# Use a header file that comes with gcc, so configuring glibc
5425
# with a fresh cross-compiler works.
5426
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5427
# <limits.h> exists even on freestanding compilers.
5428
# On the NeXT, cc -E runs the code through the compiler's parser,
5429
# not just through cpp. "Syntax error" is here to catch this case.
5430
cat >conftest.$ac_ext <<_ACEOF
5433
cat confdefs.h >>conftest.$ac_ext
5434
cat >>conftest.$ac_ext <<_ACEOF
5435
/* end confdefs.h. */
5437
# include <limits.h>
5439
# include <assert.h>
5443
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5444
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5446
grep -v '^ *+' conftest.er1 >conftest.err
5448
cat conftest.err >&5
5449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450
(exit $ac_status); } >/dev/null; then
5451
if test -s conftest.err; then
5452
ac_cpp_err=$ac_c_preproc_warn_flag
5453
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5460
if test -z "$ac_cpp_err"; then
5463
echo "$as_me: failed program was:" >&5
5464
sed 's/^/| /' conftest.$ac_ext >&5
5466
# Broken: fails on valid input.
5469
rm -f conftest.err conftest.$ac_ext
5471
# OK, works on sane cases. Now check whether non-existent headers
5472
# can be detected and how.
5473
cat >conftest.$ac_ext <<_ACEOF
5476
cat confdefs.h >>conftest.$ac_ext
5477
cat >>conftest.$ac_ext <<_ACEOF
5478
/* end confdefs.h. */
5479
#include <ac_nonexistent.h>
5481
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5482
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5484
grep -v '^ *+' conftest.er1 >conftest.err
5486
cat conftest.err >&5
5487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488
(exit $ac_status); } >/dev/null; then
5489
if test -s conftest.err; then
5490
ac_cpp_err=$ac_c_preproc_warn_flag
5491
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5498
if test -z "$ac_cpp_err"; then
5499
# Broken: success on invalid input.
5502
echo "$as_me: failed program was:" >&5
5503
sed 's/^/| /' conftest.$ac_ext >&5
5505
# Passes both tests.
5509
rm -f conftest.err conftest.$ac_ext
5512
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5513
rm -f conftest.err conftest.$ac_ext
5514
if $ac_preproc_ok; then
5517
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5518
echo "$as_me: error: in \`$ac_pwd':" >&2;}
5519
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5520
See \`config.log' for more details." >&5
5521
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5522
See \`config.log' for more details." >&2;}
5523
{ (exit 1); exit 1; }; }; }
5527
ac_cpp='$CPP $CPPFLAGS'
5528
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5529
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5530
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5533
echo "$as_me:$LINENO: checking for egrep" >&5
5534
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5535
if test "${ac_cv_prog_egrep+set}" = set; then
5536
echo $ECHO_N "(cached) $ECHO_C" >&6
5538
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5539
then ac_cv_prog_egrep='grep -E'
5540
else ac_cv_prog_egrep='egrep'
5543
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5544
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5545
EGREP=$ac_cv_prog_egrep
5548
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5549
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5550
if test "${ac_cv_header_stdc+set}" = set; then
5551
echo $ECHO_N "(cached) $ECHO_C" >&6
5553
cat >conftest.$ac_ext <<_ACEOF
5556
cat confdefs.h >>conftest.$ac_ext
5557
cat >>conftest.$ac_ext <<_ACEOF
5558
/* end confdefs.h. */
5572
rm -f conftest.$ac_objext
5573
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574
(eval $ac_compile) 2>conftest.er1
5576
grep -v '^ *+' conftest.er1 >conftest.err
5578
cat conftest.err >&5
5579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580
(exit $ac_status); } &&
5581
{ ac_try='test -z "$ac_c_werror_flag"
5582
|| test ! -s conftest.err'
5583
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587
(exit $ac_status); }; } &&
5588
{ ac_try='test -s conftest.$ac_objext'
5589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593
(exit $ac_status); }; }; then
5594
ac_cv_header_stdc=yes
5596
echo "$as_me: failed program was:" >&5
5597
sed 's/^/| /' conftest.$ac_ext >&5
5599
ac_cv_header_stdc=no
5601
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5603
if test $ac_cv_header_stdc = yes; then
5604
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5605
cat >conftest.$ac_ext <<_ACEOF
5608
cat confdefs.h >>conftest.$ac_ext
5609
cat >>conftest.$ac_ext <<_ACEOF
5610
/* end confdefs.h. */
5614
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5615
$EGREP "memchr" >/dev/null 2>&1; then
5618
ac_cv_header_stdc=no
5624
if test $ac_cv_header_stdc = yes; then
5625
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5626
cat >conftest.$ac_ext <<_ACEOF
5629
cat confdefs.h >>conftest.$ac_ext
5630
cat >>conftest.$ac_ext <<_ACEOF
5631
/* end confdefs.h. */
5635
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5636
$EGREP "free" >/dev/null 2>&1; then
5639
ac_cv_header_stdc=no
5645
if test $ac_cv_header_stdc = yes; then
5646
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5647
if test "$cross_compiling" = yes; then
5650
cat >conftest.$ac_ext <<_ACEOF
5653
cat confdefs.h >>conftest.$ac_ext
5654
cat >>conftest.$ac_ext <<_ACEOF
5655
/* end confdefs.h. */
5657
#if ((' ' & 0x0FF) == 0x020)
5658
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5659
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5661
# define ISLOWER(c) \
5662
(('a' <= (c) && (c) <= 'i') \
5663
|| ('j' <= (c) && (c) <= 'r') \
5664
|| ('s' <= (c) && (c) <= 'z'))
5665
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5668
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5673
for (i = 0; i < 256; i++)
5674
if (XOR (islower (i), ISLOWER (i))
5675
|| toupper (i) != TOUPPER (i))
5680
rm -f conftest$ac_exeext
5681
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5682
(eval $ac_link) 2>&5
5684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5686
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
(exit $ac_status); }; }; then
5693
echo "$as_me: program exited with status $ac_status" >&5
5694
echo "$as_me: failed program was:" >&5
5695
sed 's/^/| /' conftest.$ac_ext >&5
5698
ac_cv_header_stdc=no
5700
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5704
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5705
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5706
if test $ac_cv_header_stdc = yes; then
5708
cat >>confdefs.h <<\_ACEOF
5709
#define STDC_HEADERS 1
5714
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5724
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5725
inttypes.h stdint.h unistd.h
5727
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5728
echo "$as_me:$LINENO: checking for $ac_header" >&5
5729
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5730
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5731
echo $ECHO_N "(cached) $ECHO_C" >&6
5733
cat >conftest.$ac_ext <<_ACEOF
5736
cat confdefs.h >>conftest.$ac_ext
5737
cat >>conftest.$ac_ext <<_ACEOF
5738
/* end confdefs.h. */
5739
$ac_includes_default
5741
#include <$ac_header>
5743
rm -f conftest.$ac_objext
5744
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5745
(eval $ac_compile) 2>conftest.er1
5747
grep -v '^ *+' conftest.er1 >conftest.err
5749
cat conftest.err >&5
5750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751
(exit $ac_status); } &&
5752
{ ac_try='test -z "$ac_c_werror_flag"
5753
|| test ! -s conftest.err'
5754
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
(exit $ac_status); }; } &&
5759
{ ac_try='test -s conftest.$ac_objext'
5760
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764
(exit $ac_status); }; }; then
5765
eval "$as_ac_Header=yes"
5767
echo "$as_me: failed program was:" >&5
5768
sed 's/^/| /' conftest.$ac_ext >&5
5770
eval "$as_ac_Header=no"
5772
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5774
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5775
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5776
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5777
cat >>confdefs.h <<_ACEOF
5778
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5786
echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
5787
echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
5788
if test "${ac_cv_search_zlibVersion+set}" = set; then
5789
echo $ECHO_N "(cached) $ECHO_C" >&6
6323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6324
$as_echo_n "checking for library containing zlibVersion... " >&6; }
6325
if test "${ac_cv_search_zlibVersion+set}" = set; then :
6326
$as_echo_n "(cached) " >&6
5791
6328
ac_func_search_save_LIBS=$LIBS
5792
ac_cv_search_zlibVersion=no
5793
cat >conftest.$ac_ext <<_ACEOF
5796
cat confdefs.h >>conftest.$ac_ext
5797
cat >>conftest.$ac_ext <<_ACEOF
6329
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798
6330
/* end confdefs.h. */
5800
/* Override any gcc2 internal prototype to avoid an error. */
6332
/* Override any GCC internal prototype to avoid an error.
6333
Use char because int might match the return type of a GCC
6334
builtin and then its argument prototype would still apply. */
5801
6335
#ifdef __cplusplus
5804
/* We use char because int might match the return type of a gcc2
5805
builtin and then its argument prototype would still apply. */
5806
6338
char zlibVersion ();
6342
return zlibVersion ();
5815
rm -f conftest.$ac_objext conftest$ac_exeext
5816
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5817
(eval $ac_link) 2>conftest.er1
5819
grep -v '^ *+' conftest.er1 >conftest.err
5821
cat conftest.err >&5
5822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823
(exit $ac_status); } &&
5824
{ ac_try='test -z "$ac_c_werror_flag"
5825
|| test ! -s conftest.err'
5826
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830
(exit $ac_status); }; } &&
5831
{ ac_try='test -s conftest$ac_exeext'
5832
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836
(exit $ac_status); }; }; then
5837
ac_cv_search_zlibVersion="none required"
5839
echo "$as_me: failed program was:" >&5
5840
sed 's/^/| /' conftest.$ac_ext >&5
5843
rm -f conftest.err conftest.$ac_objext \
5844
conftest$ac_exeext conftest.$ac_ext
5845
if test "$ac_cv_search_zlibVersion" = no; then
6347
for ac_lib in '' z; do
6348
if test -z "$ac_lib"; then
6349
ac_res="none required"
5847
6352
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5848
cat >conftest.$ac_ext <<_ACEOF
5851
cat confdefs.h >>conftest.$ac_ext
5852
cat >>conftest.$ac_ext <<_ACEOF
5853
/* end confdefs.h. */
6354
if ac_fn_c_try_link "$LINENO"; then :
6355
ac_cv_search_zlibVersion=$ac_res
6357
rm -f core conftest.err conftest.$ac_objext \
6359
if test "${ac_cv_search_zlibVersion+set}" = set; then :
6363
if test "${ac_cv_search_zlibVersion+set}" = set; then :
5855
/* Override any gcc2 internal prototype to avoid an error. */
5859
/* We use char because int might match the return type of a gcc2
5860
builtin and then its argument prototype would still apply. */
5861
char zlibVersion ();
5870
rm -f conftest.$ac_objext conftest$ac_exeext
5871
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5872
(eval $ac_link) 2>conftest.er1
5874
grep -v '^ *+' conftest.er1 >conftest.err
5876
cat conftest.err >&5
5877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878
(exit $ac_status); } &&
5879
{ ac_try='test -z "$ac_c_werror_flag"
5880
|| test ! -s conftest.err'
5881
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885
(exit $ac_status); }; } &&
5886
{ ac_try='test -s conftest$ac_exeext'
5887
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891
(exit $ac_status); }; }; then
5892
ac_cv_search_zlibVersion="-l$ac_lib"
5895
echo "$as_me: failed program was:" >&5
5896
sed 's/^/| /' conftest.$ac_ext >&5
5899
rm -f conftest.err conftest.$ac_objext \
5900
conftest$ac_exeext conftest.$ac_ext
6366
ac_cv_search_zlibVersion=no
5903
6369
LIBS=$ac_func_search_save_LIBS
5905
echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
5906
echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
5907
if test "$ac_cv_search_zlibVersion" != no; then
5908
test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
5910
for ac_header in zlib.h
5912
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5913
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5914
echo "$as_me:$LINENO: checking for $ac_header" >&5
5915
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5916
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5917
echo $ECHO_N "(cached) $ECHO_C" >&6
5919
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5920
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5922
# Is the header compilable?
5923
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5924
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5925
cat >conftest.$ac_ext <<_ACEOF
5928
cat confdefs.h >>conftest.$ac_ext
5929
cat >>conftest.$ac_ext <<_ACEOF
5930
/* end confdefs.h. */
5931
$ac_includes_default
5932
#include <$ac_header>
5934
rm -f conftest.$ac_objext
5935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5936
(eval $ac_compile) 2>conftest.er1
5938
grep -v '^ *+' conftest.er1 >conftest.err
5940
cat conftest.err >&5
5941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942
(exit $ac_status); } &&
5943
{ ac_try='test -z "$ac_c_werror_flag"
5944
|| test ! -s conftest.err'
5945
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949
(exit $ac_status); }; } &&
5950
{ ac_try='test -s conftest.$ac_objext'
5951
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955
(exit $ac_status); }; }; then
5956
ac_header_compiler=yes
5958
echo "$as_me: failed program was:" >&5
5959
sed 's/^/| /' conftest.$ac_ext >&5
5961
ac_header_compiler=no
5963
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5964
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5965
echo "${ECHO_T}$ac_header_compiler" >&6
5967
# Is the header present?
5968
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5969
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5970
cat >conftest.$ac_ext <<_ACEOF
5973
cat confdefs.h >>conftest.$ac_ext
5974
cat >>conftest.$ac_ext <<_ACEOF
5975
/* end confdefs.h. */
5976
#include <$ac_header>
5978
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5979
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5981
grep -v '^ *+' conftest.er1 >conftest.err
5983
cat conftest.err >&5
5984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985
(exit $ac_status); } >/dev/null; then
5986
if test -s conftest.err; then
5987
ac_cpp_err=$ac_c_preproc_warn_flag
5988
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5995
if test -z "$ac_cpp_err"; then
5996
ac_header_preproc=yes
5998
echo "$as_me: failed program was:" >&5
5999
sed 's/^/| /' conftest.$ac_ext >&5
6001
ac_header_preproc=no
6003
rm -f conftest.err conftest.$ac_ext
6004
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6005
echo "${ECHO_T}$ac_header_preproc" >&6
6007
# So? What about this header?
6008
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6010
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6011
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6012
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6013
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6014
ac_header_preproc=yes
6017
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6018
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6019
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6020
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6021
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6022
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6023
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6024
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6025
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6026
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6027
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6028
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6031
## ------------------------------- ##
6032
## Report this to the gold lists. ##
6033
## ------------------------------- ##
6036
sed "s/^/$as_me: WARNING: /" >&2
6039
echo "$as_me:$LINENO: checking for $ac_header" >&5
6040
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6041
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6042
echo $ECHO_N "(cached) $ECHO_C" >&6
6044
eval "$as_ac_Header=\$ac_header_preproc"
6046
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6047
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6050
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6372
$as_echo "$ac_cv_search_zlibVersion" >&6; }
6373
ac_res=$ac_cv_search_zlibVersion
6374
if test "$ac_res" != no; then :
6375
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6376
for ac_header in zlib.h
6378
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6379
if test "x$ac_cv_header_zlib_h" = x""yes; then :
6051
6380
cat >>confdefs.h <<_ACEOF
6052
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6381
#define HAVE_ZLIB_H 1
6072
echo "$as_me:$LINENO: checking whether basename is declared" >&5
6073
echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
6074
if test "${ac_cv_have_decl_basename+set}" = set; then
6075
echo $ECHO_N "(cached) $ECHO_C" >&6
6077
cat >conftest.$ac_ext <<_ACEOF
6080
cat confdefs.h >>conftest.$ac_ext
6081
cat >>conftest.$ac_ext <<_ACEOF
6082
/* end confdefs.h. */
6083
$ac_includes_default
6088
char *p = (char *) basename;
6095
rm -f conftest.$ac_objext
6096
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6097
(eval $ac_compile) 2>conftest.er1
6099
grep -v '^ *+' conftest.er1 >conftest.err
6101
cat conftest.err >&5
6102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103
(exit $ac_status); } &&
6104
{ ac_try='test -z "$ac_c_werror_flag"
6105
|| test ! -s conftest.err'
6106
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110
(exit $ac_status); }; } &&
6111
{ ac_try='test -s conftest.$ac_objext'
6112
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116
(exit $ac_status); }; }; then
6117
ac_cv_have_decl_basename=yes
6119
echo "$as_me: failed program was:" >&5
6120
sed 's/^/| /' conftest.$ac_ext >&5
6122
ac_cv_have_decl_basename=no
6124
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6126
echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6127
echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
6128
if test $ac_cv_have_decl_basename = yes; then
6130
cat >>confdefs.h <<_ACEOF
6131
#define HAVE_DECL_BASENAME 1
6136
cat >>confdefs.h <<_ACEOF
6137
#define HAVE_DECL_BASENAME 0
6142
echo "$as_me:$LINENO: checking whether ffs is declared" >&5
6143
echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
6144
if test "${ac_cv_have_decl_ffs+set}" = set; then
6145
echo $ECHO_N "(cached) $ECHO_C" >&6
6147
cat >conftest.$ac_ext <<_ACEOF
6150
cat confdefs.h >>conftest.$ac_ext
6151
cat >>conftest.$ac_ext <<_ACEOF
6152
/* end confdefs.h. */
6153
$ac_includes_default
6158
char *p = (char *) ffs;
6165
rm -f conftest.$ac_objext
6166
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6167
(eval $ac_compile) 2>conftest.er1
6169
grep -v '^ *+' conftest.er1 >conftest.err
6171
cat conftest.err >&5
6172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173
(exit $ac_status); } &&
6174
{ ac_try='test -z "$ac_c_werror_flag"
6175
|| test ! -s conftest.err'
6176
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180
(exit $ac_status); }; } &&
6181
{ ac_try='test -s conftest.$ac_objext'
6182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186
(exit $ac_status); }; }; then
6187
ac_cv_have_decl_ffs=yes
6189
echo "$as_me: failed program was:" >&5
6190
sed 's/^/| /' conftest.$ac_ext >&5
6192
ac_cv_have_decl_ffs=no
6194
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6196
echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
6197
echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
6198
if test $ac_cv_have_decl_ffs = yes; then
6200
cat >>confdefs.h <<_ACEOF
6201
#define HAVE_DECL_FFS 1
6206
cat >>confdefs.h <<_ACEOF
6207
#define HAVE_DECL_FFS 0
6212
echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6213
echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
6214
if test "${ac_cv_have_decl_asprintf+set}" = set; then
6215
echo $ECHO_N "(cached) $ECHO_C" >&6
6217
cat >conftest.$ac_ext <<_ACEOF
6220
cat confdefs.h >>conftest.$ac_ext
6221
cat >>conftest.$ac_ext <<_ACEOF
6222
/* end confdefs.h. */
6223
$ac_includes_default
6228
char *p = (char *) asprintf;
6235
rm -f conftest.$ac_objext
6236
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237
(eval $ac_compile) 2>conftest.er1
6239
grep -v '^ *+' conftest.er1 >conftest.err
6241
cat conftest.err >&5
6242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243
(exit $ac_status); } &&
6244
{ ac_try='test -z "$ac_c_werror_flag"
6245
|| test ! -s conftest.err'
6246
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250
(exit $ac_status); }; } &&
6251
{ ac_try='test -s conftest.$ac_objext'
6252
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256
(exit $ac_status); }; }; then
6257
ac_cv_have_decl_asprintf=yes
6259
echo "$as_me: failed program was:" >&5
6260
sed 's/^/| /' conftest.$ac_ext >&5
6262
ac_cv_have_decl_asprintf=no
6264
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6266
echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6267
echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
6268
if test $ac_cv_have_decl_asprintf = yes; then
6270
cat >>confdefs.h <<_ACEOF
6271
#define HAVE_DECL_ASPRINTF 1
6276
cat >>confdefs.h <<_ACEOF
6277
#define HAVE_DECL_ASPRINTF 0
6282
echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6283
echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6284
if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6285
echo $ECHO_N "(cached) $ECHO_C" >&6
6287
cat >conftest.$ac_ext <<_ACEOF
6290
cat confdefs.h >>conftest.$ac_ext
6291
cat >>conftest.$ac_ext <<_ACEOF
6292
/* end confdefs.h. */
6293
$ac_includes_default
6298
char *p = (char *) vasprintf;
6305
rm -f conftest.$ac_objext
6306
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6307
(eval $ac_compile) 2>conftest.er1
6309
grep -v '^ *+' conftest.er1 >conftest.err
6311
cat conftest.err >&5
6312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313
(exit $ac_status); } &&
6314
{ ac_try='test -z "$ac_c_werror_flag"
6315
|| test ! -s conftest.err'
6316
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320
(exit $ac_status); }; } &&
6321
{ ac_try='test -s conftest.$ac_objext'
6322
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326
(exit $ac_status); }; }; then
6327
ac_cv_have_decl_vasprintf=yes
6329
echo "$as_me: failed program was:" >&5
6330
sed 's/^/| /' conftest.$ac_ext >&5
6332
ac_cv_have_decl_vasprintf=no
6334
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6336
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6337
echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6338
if test $ac_cv_have_decl_vasprintf = yes; then
6340
cat >>confdefs.h <<_ACEOF
6341
#define HAVE_DECL_VASPRINTF 1
6346
cat >>confdefs.h <<_ACEOF
6347
#define HAVE_DECL_VASPRINTF 0
6352
echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
6353
echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
6354
if test "${ac_cv_have_decl_snprintf+set}" = set; then
6355
echo $ECHO_N "(cached) $ECHO_C" >&6
6357
cat >conftest.$ac_ext <<_ACEOF
6360
cat confdefs.h >>conftest.$ac_ext
6361
cat >>conftest.$ac_ext <<_ACEOF
6362
/* end confdefs.h. */
6363
$ac_includes_default
6368
char *p = (char *) snprintf;
6375
rm -f conftest.$ac_objext
6376
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6377
(eval $ac_compile) 2>conftest.er1
6379
grep -v '^ *+' conftest.er1 >conftest.err
6381
cat conftest.err >&5
6382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383
(exit $ac_status); } &&
6384
{ ac_try='test -z "$ac_c_werror_flag"
6385
|| test ! -s conftest.err'
6386
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390
(exit $ac_status); }; } &&
6391
{ ac_try='test -s conftest.$ac_objext'
6392
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396
(exit $ac_status); }; }; then
6397
ac_cv_have_decl_snprintf=yes
6399
echo "$as_me: failed program was:" >&5
6400
sed 's/^/| /' conftest.$ac_ext >&5
6402
ac_cv_have_decl_snprintf=no
6404
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6406
echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
6407
echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
6408
if test $ac_cv_have_decl_snprintf = yes; then
6410
cat >>confdefs.h <<_ACEOF
6411
#define HAVE_DECL_SNPRINTF 1
6416
cat >>confdefs.h <<_ACEOF
6417
#define HAVE_DECL_SNPRINTF 0
6422
echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
6423
echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
6424
if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
6425
echo $ECHO_N "(cached) $ECHO_C" >&6
6427
cat >conftest.$ac_ext <<_ACEOF
6430
cat confdefs.h >>conftest.$ac_ext
6431
cat >>conftest.$ac_ext <<_ACEOF
6432
/* end confdefs.h. */
6433
$ac_includes_default
6438
char *p = (char *) vsnprintf;
6445
rm -f conftest.$ac_objext
6446
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447
(eval $ac_compile) 2>conftest.er1
6449
grep -v '^ *+' conftest.er1 >conftest.err
6451
cat conftest.err >&5
6452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453
(exit $ac_status); } &&
6454
{ ac_try='test -z "$ac_c_werror_flag"
6455
|| test ! -s conftest.err'
6456
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
(exit $ac_status); }; } &&
6461
{ ac_try='test -s conftest.$ac_objext'
6462
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466
(exit $ac_status); }; }; then
6467
ac_cv_have_decl_vsnprintf=yes
6469
echo "$as_me: failed program was:" >&5
6470
sed 's/^/| /' conftest.$ac_ext >&5
6472
ac_cv_have_decl_vsnprintf=no
6474
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6476
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
6477
echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
6478
if test $ac_cv_have_decl_vsnprintf = yes; then
6480
cat >>confdefs.h <<_ACEOF
6481
#define HAVE_DECL_VSNPRINTF 1
6486
cat >>confdefs.h <<_ACEOF
6487
#define HAVE_DECL_VSNPRINTF 0
6492
echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
6493
echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6
6494
if test "${ac_cv_have_decl_strverscmp+set}" = set; then
6495
echo $ECHO_N "(cached) $ECHO_C" >&6
6497
cat >conftest.$ac_ext <<_ACEOF
6500
cat confdefs.h >>conftest.$ac_ext
6501
cat >>conftest.$ac_ext <<_ACEOF
6502
/* end confdefs.h. */
6503
$ac_includes_default
6508
char *p = (char *) strverscmp;
6515
rm -f conftest.$ac_objext
6516
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517
(eval $ac_compile) 2>conftest.er1
6519
grep -v '^ *+' conftest.er1 >conftest.err
6521
cat conftest.err >&5
6522
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523
(exit $ac_status); } &&
6524
{ ac_try='test -z "$ac_c_werror_flag"
6525
|| test ! -s conftest.err'
6526
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530
(exit $ac_status); }; } &&
6531
{ ac_try='test -s conftest.$ac_objext'
6532
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536
(exit $ac_status); }; }; then
6537
ac_cv_have_decl_strverscmp=yes
6539
echo "$as_me: failed program was:" >&5
6540
sed 's/^/| /' conftest.$ac_ext >&5
6542
ac_cv_have_decl_strverscmp=no
6544
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
6547
echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6
6548
if test $ac_cv_have_decl_strverscmp = yes; then
6550
cat >>confdefs.h <<_ACEOF
6551
#define HAVE_DECL_STRVERSCMP 1
6556
cat >>confdefs.h <<_ACEOF
6557
#define HAVE_DECL_STRVERSCMP 0
6566
ac_cpp='$CXXCPP $CPPFLAGS'
6567
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6574
ac_cpp='$CXXCPP $CPPFLAGS'
6575
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6576
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6577
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6578
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6579
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6399
ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6400
if test "x$ac_cv_have_decl_basename" = x""yes; then :
6406
cat >>confdefs.h <<_ACEOF
6407
#define HAVE_DECL_BASENAME $ac_have_decl
6409
ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6410
if test "x$ac_cv_have_decl_ffs" = x""yes; then :
6416
cat >>confdefs.h <<_ACEOF
6417
#define HAVE_DECL_FFS $ac_have_decl
6419
ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6420
if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
6426
cat >>confdefs.h <<_ACEOF
6427
#define HAVE_DECL_ASPRINTF $ac_have_decl
6429
ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6430
if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
6436
cat >>confdefs.h <<_ACEOF
6437
#define HAVE_DECL_VASPRINTF $ac_have_decl
6439
ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6440
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
6446
cat >>confdefs.h <<_ACEOF
6447
#define HAVE_DECL_SNPRINTF $ac_have_decl
6449
ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6450
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
6456
cat >>confdefs.h <<_ACEOF
6457
#define HAVE_DECL_VSNPRINTF $ac_have_decl
6459
ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6460
if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
6466
cat >>confdefs.h <<_ACEOF
6467
#define HAVE_DECL_STRVERSCMP $ac_have_decl
6472
ac_cpp='$CXXCPP $CPPFLAGS'
6473
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6474
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6475
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6480
ac_cpp='$CXXCPP $CPPFLAGS'
6481
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6485
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6580
6486
if test -z "$CXXCPP"; then
6581
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6582
echo $ECHO_N "(cached) $ECHO_C" >&6
6487
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6488
$as_echo_n "(cached) " >&6
6584
6490
# Double quotes because CXXCPP needs to be expanded
6585
6491
for CXXCPP in "$CXX -E" "/lib/cpp"
6785
6595
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6786
6596
rm -f conftest.err conftest.$ac_ext
6787
if $ac_preproc_ok; then
6597
if $ac_preproc_ok; then :
6790
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6791
echo "$as_me: error: in \`$ac_pwd':" >&2;}
6792
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6793
See \`config.log' for more details." >&5
6794
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6795
See \`config.log' for more details." >&2;}
6796
{ (exit 1); exit 1; }; }; }
6600
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6601
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6602
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
6603
See \`config.log' for more details." "$LINENO" 5; }
6800
6607
ac_cpp='$CXXCPP $CPPFLAGS'
6801
6608
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6802
6609
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6803
6610
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6808
6613
for ac_header in tr1/unordered_set tr1/unordered_map
6810
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6812
echo "$as_me:$LINENO: checking for $ac_header" >&5
6813
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6814
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6815
echo $ECHO_N "(cached) $ECHO_C" >&6
6817
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6818
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6820
# Is the header compilable?
6821
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6822
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6823
cat >conftest.$ac_ext <<_ACEOF
6826
cat confdefs.h >>conftest.$ac_ext
6827
cat >>conftest.$ac_ext <<_ACEOF
6828
/* end confdefs.h. */
6829
$ac_includes_default
6830
#include <$ac_header>
6832
rm -f conftest.$ac_objext
6833
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6834
(eval $ac_compile) 2>conftest.er1
6836
grep -v '^ *+' conftest.er1 >conftest.err
6838
cat conftest.err >&5
6839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840
(exit $ac_status); } &&
6841
{ ac_try='test -z "$ac_cxx_werror_flag"
6842
|| test ! -s conftest.err'
6843
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847
(exit $ac_status); }; } &&
6848
{ ac_try='test -s conftest.$ac_objext'
6849
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853
(exit $ac_status); }; }; then
6854
ac_header_compiler=yes
6856
echo "$as_me: failed program was:" >&5
6857
sed 's/^/| /' conftest.$ac_ext >&5
6859
ac_header_compiler=no
6861
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6862
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6863
echo "${ECHO_T}$ac_header_compiler" >&6
6865
# Is the header present?
6866
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6867
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6868
cat >conftest.$ac_ext <<_ACEOF
6871
cat confdefs.h >>conftest.$ac_ext
6872
cat >>conftest.$ac_ext <<_ACEOF
6873
/* end confdefs.h. */
6874
#include <$ac_header>
6876
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6877
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6879
grep -v '^ *+' conftest.er1 >conftest.err
6881
cat conftest.err >&5
6882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
(exit $ac_status); } >/dev/null; then
6884
if test -s conftest.err; then
6885
ac_cpp_err=$ac_cxx_preproc_warn_flag
6886
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6893
if test -z "$ac_cpp_err"; then
6894
ac_header_preproc=yes
6896
echo "$as_me: failed program was:" >&5
6897
sed 's/^/| /' conftest.$ac_ext >&5
6899
ac_header_preproc=no
6901
rm -f conftest.err conftest.$ac_ext
6902
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6903
echo "${ECHO_T}$ac_header_preproc" >&6
6905
# So? What about this header?
6906
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6908
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6909
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6910
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6911
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6912
ac_header_preproc=yes
6915
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6916
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6917
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6918
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6919
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6920
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6921
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6922
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6923
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6924
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6925
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6926
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6929
## ------------------------------- ##
6930
## Report this to the gold lists. ##
6931
## ------------------------------- ##
6934
sed "s/^/$as_me: WARNING: /" >&2
6937
echo "$as_me:$LINENO: checking for $ac_header" >&5
6938
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6939
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6940
echo $ECHO_N "(cached) $ECHO_C" >&6
6942
eval "$as_ac_Header=\$ac_header_preproc"
6944
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6945
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6948
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6615
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6617
eval as_val=\$$as_ac_Header
6618
if test "x$as_val" = x""yes; then :
6949
6619
cat >>confdefs.h <<_ACEOF
6950
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6620
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6959
6627
for ac_header in ext/hash_map ext/hash_set
6961
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6962
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963
echo "$as_me:$LINENO: checking for $ac_header" >&5
6964
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6965
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6966
echo $ECHO_N "(cached) $ECHO_C" >&6
6968
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6969
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6971
# Is the header compilable?
6972
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6973
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6974
cat >conftest.$ac_ext <<_ACEOF
6977
cat confdefs.h >>conftest.$ac_ext
6978
cat >>conftest.$ac_ext <<_ACEOF
6979
/* end confdefs.h. */
6980
$ac_includes_default
6981
#include <$ac_header>
6983
rm -f conftest.$ac_objext
6984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985
(eval $ac_compile) 2>conftest.er1
6987
grep -v '^ *+' conftest.er1 >conftest.err
6989
cat conftest.err >&5
6990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991
(exit $ac_status); } &&
6992
{ ac_try='test -z "$ac_cxx_werror_flag"
6993
|| test ! -s conftest.err'
6994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998
(exit $ac_status); }; } &&
6999
{ ac_try='test -s conftest.$ac_objext'
7000
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004
(exit $ac_status); }; }; then
7005
ac_header_compiler=yes
7007
echo "$as_me: failed program was:" >&5
7008
sed 's/^/| /' conftest.$ac_ext >&5
7010
ac_header_compiler=no
7012
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7014
echo "${ECHO_T}$ac_header_compiler" >&6
7016
# Is the header present?
7017
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7018
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7019
cat >conftest.$ac_ext <<_ACEOF
7022
cat confdefs.h >>conftest.$ac_ext
7023
cat >>conftest.$ac_ext <<_ACEOF
7024
/* end confdefs.h. */
7025
#include <$ac_header>
7027
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7028
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7030
grep -v '^ *+' conftest.er1 >conftest.err
7032
cat conftest.err >&5
7033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034
(exit $ac_status); } >/dev/null; then
7035
if test -s conftest.err; then
7036
ac_cpp_err=$ac_cxx_preproc_warn_flag
7037
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7044
if test -z "$ac_cpp_err"; then
7045
ac_header_preproc=yes
7047
echo "$as_me: failed program was:" >&5
7048
sed 's/^/| /' conftest.$ac_ext >&5
7050
ac_header_preproc=no
7052
rm -f conftest.err conftest.$ac_ext
7053
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7054
echo "${ECHO_T}$ac_header_preproc" >&6
7056
# So? What about this header?
7057
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7059
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7060
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7061
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7062
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7063
ac_header_preproc=yes
7066
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7067
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7068
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7069
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7070
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7071
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7072
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7073
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7074
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7075
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7076
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7077
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7080
## ------------------------------- ##
7081
## Report this to the gold lists. ##
7082
## ------------------------------- ##
7085
sed "s/^/$as_me: WARNING: /" >&2
7088
echo "$as_me:$LINENO: checking for $ac_header" >&5
7089
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7090
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7091
echo $ECHO_N "(cached) $ECHO_C" >&6
7093
eval "$as_ac_Header=\$ac_header_preproc"
7095
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7096
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7099
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6629
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6630
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6631
eval as_val=\$$as_ac_Header
6632
if test "x$as_val" = x""yes; then :
7100
6633
cat >>confdefs.h <<_ACEOF
7101
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6634
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7109
6641
for ac_header in byteswap.h
7111
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7112
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7113
echo "$as_me:$LINENO: checking for $ac_header" >&5
7114
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7115
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7116
echo $ECHO_N "(cached) $ECHO_C" >&6
7118
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7121
# Is the header compilable?
7122
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7123
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7124
cat >conftest.$ac_ext <<_ACEOF
7127
cat confdefs.h >>conftest.$ac_ext
7128
cat >>conftest.$ac_ext <<_ACEOF
7129
/* end confdefs.h. */
7130
$ac_includes_default
7131
#include <$ac_header>
7133
rm -f conftest.$ac_objext
7134
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135
(eval $ac_compile) 2>conftest.er1
7137
grep -v '^ *+' conftest.er1 >conftest.err
7139
cat conftest.err >&5
7140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141
(exit $ac_status); } &&
7142
{ ac_try='test -z "$ac_cxx_werror_flag"
7143
|| test ! -s conftest.err'
7144
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148
(exit $ac_status); }; } &&
7149
{ ac_try='test -s conftest.$ac_objext'
7150
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154
(exit $ac_status); }; }; then
7155
ac_header_compiler=yes
7157
echo "$as_me: failed program was:" >&5
7158
sed 's/^/| /' conftest.$ac_ext >&5
7160
ac_header_compiler=no
7162
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7164
echo "${ECHO_T}$ac_header_compiler" >&6
7166
# Is the header present?
7167
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7168
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7169
cat >conftest.$ac_ext <<_ACEOF
7172
cat confdefs.h >>conftest.$ac_ext
7173
cat >>conftest.$ac_ext <<_ACEOF
7174
/* end confdefs.h. */
7175
#include <$ac_header>
7177
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7178
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7180
grep -v '^ *+' conftest.er1 >conftest.err
7182
cat conftest.err >&5
7183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184
(exit $ac_status); } >/dev/null; then
7185
if test -s conftest.err; then
7186
ac_cpp_err=$ac_cxx_preproc_warn_flag
7187
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7194
if test -z "$ac_cpp_err"; then
7195
ac_header_preproc=yes
7197
echo "$as_me: failed program was:" >&5
7198
sed 's/^/| /' conftest.$ac_ext >&5
7200
ac_header_preproc=no
7202
rm -f conftest.err conftest.$ac_ext
7203
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7204
echo "${ECHO_T}$ac_header_preproc" >&6
7206
# So? What about this header?
7207
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7209
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7210
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7211
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7212
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7213
ac_header_preproc=yes
7216
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7217
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7218
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7219
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7220
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7221
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7222
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7223
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7224
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7225
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7226
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7227
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7230
## ------------------------------- ##
7231
## Report this to the gold lists. ##
7232
## ------------------------------- ##
7235
sed "s/^/$as_me: WARNING: /" >&2
7238
echo "$as_me:$LINENO: checking for $ac_header" >&5
7239
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7240
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7241
echo $ECHO_N "(cached) $ECHO_C" >&6
7243
eval "$as_ac_Header=\$ac_header_preproc"
7245
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7246
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7249
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6643
ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
6644
if test "x$ac_cv_header_byteswap_h" = x""yes; then :
7250
6645
cat >>confdefs.h <<_ACEOF
7251
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6646
#define HAVE_BYTESWAP_H 1
7260
6653
for ac_func in mallinfo posix_fallocate
7262
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7263
echo "$as_me:$LINENO: checking for $ac_func" >&5
7264
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7265
if eval "test \"\${$as_ac_var+set}\" = set"; then
7266
echo $ECHO_N "(cached) $ECHO_C" >&6
7268
cat >conftest.$ac_ext <<_ACEOF
7271
cat confdefs.h >>conftest.$ac_ext
7272
cat >>conftest.$ac_ext <<_ACEOF
7273
/* end confdefs.h. */
7274
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7275
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7276
#define $ac_func innocuous_$ac_func
7278
/* System header to define __stub macros and hopefully few prototypes,
7279
which can conflict with char $ac_func (); below.
7280
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7281
<limits.h> exists even on freestanding compilers. */
7284
# include <limits.h>
7286
# include <assert.h>
7291
/* Override any gcc2 internal prototype to avoid an error. */
7296
/* We use char because int might match the return type of a gcc2
7297
builtin and then its argument prototype would still apply. */
7299
/* The GNU C library defines this for functions which it implements
7300
to always fail with ENOSYS. Some functions are actually named
7301
something starting with __ and the normal name is an alias. */
7302
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7305
char (*f) () = $ac_func;
7314
return f != $ac_func;
7319
rm -f conftest.$ac_objext conftest$ac_exeext
7320
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7321
(eval $ac_link) 2>conftest.er1
7323
grep -v '^ *+' conftest.er1 >conftest.err
7325
cat conftest.err >&5
7326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327
(exit $ac_status); } &&
7328
{ ac_try='test -z "$ac_cxx_werror_flag"
7329
|| test ! -s conftest.err'
7330
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334
(exit $ac_status); }; } &&
7335
{ ac_try='test -s conftest$ac_exeext'
7336
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340
(exit $ac_status); }; }; then
7341
eval "$as_ac_var=yes"
7343
echo "$as_me: failed program was:" >&5
7344
sed 's/^/| /' conftest.$ac_ext >&5
7346
eval "$as_ac_var=no"
7348
rm -f conftest.err conftest.$ac_objext \
7349
conftest$ac_exeext conftest.$ac_ext
7351
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7352
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7353
if test `eval echo '${'$as_ac_var'}'` = yes; then
6655
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6656
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
6657
eval as_val=\$$as_ac_var
6658
if test "x$as_val" = x""yes; then :
7354
6659
cat >>confdefs.h <<_ACEOF
7355
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6660
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7361
echo "$as_me:$LINENO: checking whether basename is declared" >&5
7362
echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
7363
if test "${ac_cv_have_decl_basename+set}" = set; then
7364
echo $ECHO_N "(cached) $ECHO_C" >&6
7366
cat >conftest.$ac_ext <<_ACEOF
7369
cat confdefs.h >>conftest.$ac_ext
7370
cat >>conftest.$ac_ext <<_ACEOF
7371
/* end confdefs.h. */
7372
$ac_includes_default
7377
char *p = (char *) basename;
7384
rm -f conftest.$ac_objext
7385
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7386
(eval $ac_compile) 2>conftest.er1
7388
grep -v '^ *+' conftest.er1 >conftest.err
7390
cat conftest.err >&5
7391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392
(exit $ac_status); } &&
7393
{ ac_try='test -z "$ac_cxx_werror_flag"
7394
|| test ! -s conftest.err'
7395
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399
(exit $ac_status); }; } &&
7400
{ ac_try='test -s conftest.$ac_objext'
7401
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405
(exit $ac_status); }; }; then
7406
ac_cv_have_decl_basename=yes
7408
echo "$as_me: failed program was:" >&5
7409
sed 's/^/| /' conftest.$ac_ext >&5
7411
ac_cv_have_decl_basename=no
7413
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7415
echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
7416
echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
7417
if test $ac_cv_have_decl_basename = yes; then
7419
cat >>confdefs.h <<_ACEOF
7420
#define HAVE_DECL_BASENAME 1
7425
cat >>confdefs.h <<_ACEOF
7426
#define HAVE_DECL_BASENAME 0
7431
echo "$as_me:$LINENO: checking whether ffs is declared" >&5
7432
echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
7433
if test "${ac_cv_have_decl_ffs+set}" = set; then
7434
echo $ECHO_N "(cached) $ECHO_C" >&6
7436
cat >conftest.$ac_ext <<_ACEOF
7439
cat confdefs.h >>conftest.$ac_ext
7440
cat >>conftest.$ac_ext <<_ACEOF
7441
/* end confdefs.h. */
7442
$ac_includes_default
7447
char *p = (char *) ffs;
7454
rm -f conftest.$ac_objext
7455
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456
(eval $ac_compile) 2>conftest.er1
7458
grep -v '^ *+' conftest.er1 >conftest.err
7460
cat conftest.err >&5
7461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
(exit $ac_status); } &&
7463
{ ac_try='test -z "$ac_cxx_werror_flag"
7464
|| test ! -s conftest.err'
7465
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469
(exit $ac_status); }; } &&
7470
{ ac_try='test -s conftest.$ac_objext'
7471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475
(exit $ac_status); }; }; then
7476
ac_cv_have_decl_ffs=yes
7478
echo "$as_me: failed program was:" >&5
7479
sed 's/^/| /' conftest.$ac_ext >&5
7481
ac_cv_have_decl_ffs=no
7483
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7485
echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
7486
echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
7487
if test $ac_cv_have_decl_ffs = yes; then
7489
cat >>confdefs.h <<_ACEOF
7490
#define HAVE_DECL_FFS 1
7495
cat >>confdefs.h <<_ACEOF
7496
#define HAVE_DECL_FFS 0
7501
echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
7502
echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
7503
if test "${ac_cv_have_decl_asprintf+set}" = set; then
7504
echo $ECHO_N "(cached) $ECHO_C" >&6
7506
cat >conftest.$ac_ext <<_ACEOF
7509
cat confdefs.h >>conftest.$ac_ext
7510
cat >>conftest.$ac_ext <<_ACEOF
7511
/* end confdefs.h. */
7512
$ac_includes_default
7517
char *p = (char *) asprintf;
7524
rm -f conftest.$ac_objext
7525
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7526
(eval $ac_compile) 2>conftest.er1
7528
grep -v '^ *+' conftest.er1 >conftest.err
7530
cat conftest.err >&5
7531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532
(exit $ac_status); } &&
7533
{ ac_try='test -z "$ac_cxx_werror_flag"
7534
|| test ! -s conftest.err'
7535
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539
(exit $ac_status); }; } &&
7540
{ ac_try='test -s conftest.$ac_objext'
7541
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545
(exit $ac_status); }; }; then
7546
ac_cv_have_decl_asprintf=yes
7548
echo "$as_me: failed program was:" >&5
7549
sed 's/^/| /' conftest.$ac_ext >&5
7551
ac_cv_have_decl_asprintf=no
7553
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7555
echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
7556
echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
7557
if test $ac_cv_have_decl_asprintf = yes; then
7559
cat >>confdefs.h <<_ACEOF
7560
#define HAVE_DECL_ASPRINTF 1
7565
cat >>confdefs.h <<_ACEOF
7566
#define HAVE_DECL_ASPRINTF 0
7571
echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
7572
echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
7573
if test "${ac_cv_have_decl_vasprintf+set}" = set; then
7574
echo $ECHO_N "(cached) $ECHO_C" >&6
7576
cat >conftest.$ac_ext <<_ACEOF
7579
cat confdefs.h >>conftest.$ac_ext
7580
cat >>conftest.$ac_ext <<_ACEOF
7581
/* end confdefs.h. */
7582
$ac_includes_default
7587
char *p = (char *) vasprintf;
7594
rm -f conftest.$ac_objext
7595
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7596
(eval $ac_compile) 2>conftest.er1
7598
grep -v '^ *+' conftest.er1 >conftest.err
7600
cat conftest.err >&5
7601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602
(exit $ac_status); } &&
7603
{ ac_try='test -z "$ac_cxx_werror_flag"
7604
|| test ! -s conftest.err'
7605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609
(exit $ac_status); }; } &&
7610
{ ac_try='test -s conftest.$ac_objext'
7611
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615
(exit $ac_status); }; }; then
7616
ac_cv_have_decl_vasprintf=yes
7618
echo "$as_me: failed program was:" >&5
7619
sed 's/^/| /' conftest.$ac_ext >&5
7621
ac_cv_have_decl_vasprintf=no
7623
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7625
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
7626
echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
7627
if test $ac_cv_have_decl_vasprintf = yes; then
7629
cat >>confdefs.h <<_ACEOF
7630
#define HAVE_DECL_VASPRINTF 1
7635
cat >>confdefs.h <<_ACEOF
7636
#define HAVE_DECL_VASPRINTF 0
7641
echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
7642
echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
7643
if test "${ac_cv_have_decl_snprintf+set}" = set; then
7644
echo $ECHO_N "(cached) $ECHO_C" >&6
7646
cat >conftest.$ac_ext <<_ACEOF
7649
cat confdefs.h >>conftest.$ac_ext
7650
cat >>conftest.$ac_ext <<_ACEOF
7651
/* end confdefs.h. */
7652
$ac_includes_default
7657
char *p = (char *) snprintf;
7664
rm -f conftest.$ac_objext
7665
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7666
(eval $ac_compile) 2>conftest.er1
7668
grep -v '^ *+' conftest.er1 >conftest.err
7670
cat conftest.err >&5
7671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672
(exit $ac_status); } &&
7673
{ ac_try='test -z "$ac_cxx_werror_flag"
7674
|| test ! -s conftest.err'
7675
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679
(exit $ac_status); }; } &&
7680
{ ac_try='test -s conftest.$ac_objext'
7681
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685
(exit $ac_status); }; }; then
7686
ac_cv_have_decl_snprintf=yes
7688
echo "$as_me: failed program was:" >&5
7689
sed 's/^/| /' conftest.$ac_ext >&5
7691
ac_cv_have_decl_snprintf=no
7693
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7695
echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
7696
echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
7697
if test $ac_cv_have_decl_snprintf = yes; then
7699
cat >>confdefs.h <<_ACEOF
7700
#define HAVE_DECL_SNPRINTF 1
7705
cat >>confdefs.h <<_ACEOF
7706
#define HAVE_DECL_SNPRINTF 0
7711
echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
7712
echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
7713
if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
7714
echo $ECHO_N "(cached) $ECHO_C" >&6
7716
cat >conftest.$ac_ext <<_ACEOF
7719
cat confdefs.h >>conftest.$ac_ext
7720
cat >>conftest.$ac_ext <<_ACEOF
7721
/* end confdefs.h. */
7722
$ac_includes_default
7727
char *p = (char *) vsnprintf;
7734
rm -f conftest.$ac_objext
7735
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736
(eval $ac_compile) 2>conftest.er1
7738
grep -v '^ *+' conftest.er1 >conftest.err
7740
cat conftest.err >&5
7741
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742
(exit $ac_status); } &&
7743
{ ac_try='test -z "$ac_cxx_werror_flag"
7744
|| test ! -s conftest.err'
7745
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749
(exit $ac_status); }; } &&
7750
{ ac_try='test -s conftest.$ac_objext'
7751
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755
(exit $ac_status); }; }; then
7756
ac_cv_have_decl_vsnprintf=yes
7758
echo "$as_me: failed program was:" >&5
7759
sed 's/^/| /' conftest.$ac_ext >&5
7761
ac_cv_have_decl_vsnprintf=no
7763
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7765
echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
7766
echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
7767
if test $ac_cv_have_decl_vsnprintf = yes; then
7769
cat >>confdefs.h <<_ACEOF
7770
#define HAVE_DECL_VSNPRINTF 1
7775
cat >>confdefs.h <<_ACEOF
7776
#define HAVE_DECL_VSNPRINTF 0
7781
echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
7782
echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6
7783
if test "${ac_cv_have_decl_strverscmp+set}" = set; then
7784
echo $ECHO_N "(cached) $ECHO_C" >&6
7786
cat >conftest.$ac_ext <<_ACEOF
7789
cat confdefs.h >>conftest.$ac_ext
7790
cat >>conftest.$ac_ext <<_ACEOF
7791
/* end confdefs.h. */
7792
$ac_includes_default
7797
char *p = (char *) strverscmp;
7804
rm -f conftest.$ac_objext
7805
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7806
(eval $ac_compile) 2>conftest.er1
7808
grep -v '^ *+' conftest.er1 >conftest.err
7810
cat conftest.err >&5
7811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812
(exit $ac_status); } &&
7813
{ ac_try='test -z "$ac_cxx_werror_flag"
7814
|| test ! -s conftest.err'
7815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819
(exit $ac_status); }; } &&
7820
{ ac_try='test -s conftest.$ac_objext'
7821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825
(exit $ac_status); }; }; then
7826
ac_cv_have_decl_strverscmp=yes
7828
echo "$as_me: failed program was:" >&5
7829
sed 's/^/| /' conftest.$ac_ext >&5
7831
ac_cv_have_decl_strverscmp=no
7833
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7835
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
7836
echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6
7837
if test $ac_cv_have_decl_strverscmp = yes; then
7839
cat >>confdefs.h <<_ACEOF
7840
#define HAVE_DECL_STRVERSCMP 1
7845
cat >>confdefs.h <<_ACEOF
7846
#define HAVE_DECL_STRVERSCMP 0
7851
echo "$as_me:$LINENO: checking whether strndup is declared" >&5
7852
echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
7853
if test "${ac_cv_have_decl_strndup+set}" = set; then
7854
echo $ECHO_N "(cached) $ECHO_C" >&6
7856
cat >conftest.$ac_ext <<_ACEOF
7859
cat confdefs.h >>conftest.$ac_ext
7860
cat >>conftest.$ac_ext <<_ACEOF
7861
/* end confdefs.h. */
7862
$ac_includes_default
7867
char *p = (char *) strndup;
7874
rm -f conftest.$ac_objext
7875
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7876
(eval $ac_compile) 2>conftest.er1
7878
grep -v '^ *+' conftest.er1 >conftest.err
7880
cat conftest.err >&5
7881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882
(exit $ac_status); } &&
7883
{ ac_try='test -z "$ac_cxx_werror_flag"
7884
|| test ! -s conftest.err'
7885
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889
(exit $ac_status); }; } &&
7890
{ ac_try='test -s conftest.$ac_objext'
7891
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895
(exit $ac_status); }; }; then
7896
ac_cv_have_decl_strndup=yes
7898
echo "$as_me: failed program was:" >&5
7899
sed 's/^/| /' conftest.$ac_ext >&5
7901
ac_cv_have_decl_strndup=no
7903
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7905
echo "$as_me:$LINENO: result: $ac_cv_have_decl_strndup" >&5
7906
echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
7907
if test $ac_cv_have_decl_strndup = yes; then
7909
cat >>confdefs.h <<_ACEOF
7910
#define HAVE_DECL_STRNDUP 1
7915
cat >>confdefs.h <<_ACEOF
7916
#define HAVE_DECL_STRNDUP 0
7921
echo "$as_me:$LINENO: checking whether memmem is declared" >&5
7922
echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
7923
if test "${ac_cv_have_decl_memmem+set}" = set; then
7924
echo $ECHO_N "(cached) $ECHO_C" >&6
7926
cat >conftest.$ac_ext <<_ACEOF
7929
cat confdefs.h >>conftest.$ac_ext
7930
cat >>conftest.$ac_ext <<_ACEOF
7931
/* end confdefs.h. */
7932
$ac_includes_default
7937
char *p = (char *) memmem;
7944
rm -f conftest.$ac_objext
7945
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7946
(eval $ac_compile) 2>conftest.er1
7948
grep -v '^ *+' conftest.er1 >conftest.err
7950
cat conftest.err >&5
7951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952
(exit $ac_status); } &&
7953
{ ac_try='test -z "$ac_cxx_werror_flag"
7954
|| test ! -s conftest.err'
7955
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959
(exit $ac_status); }; } &&
7960
{ ac_try='test -s conftest.$ac_objext'
7961
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965
(exit $ac_status); }; }; then
7966
ac_cv_have_decl_memmem=yes
7968
echo "$as_me: failed program was:" >&5
7969
sed 's/^/| /' conftest.$ac_ext >&5
7971
ac_cv_have_decl_memmem=no
7973
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7975
echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
7976
echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
7977
if test $ac_cv_have_decl_memmem = yes; then
7979
cat >>confdefs.h <<_ACEOF
7980
#define HAVE_DECL_MEMMEM 1
7985
cat >>confdefs.h <<_ACEOF
7986
#define HAVE_DECL_MEMMEM 0
6666
ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6667
if test "x$ac_cv_have_decl_basename" = x""yes; then :
6673
cat >>confdefs.h <<_ACEOF
6674
#define HAVE_DECL_BASENAME $ac_have_decl
6676
ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6677
if test "x$ac_cv_have_decl_ffs" = x""yes; then :
6683
cat >>confdefs.h <<_ACEOF
6684
#define HAVE_DECL_FFS $ac_have_decl
6686
ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6687
if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
6693
cat >>confdefs.h <<_ACEOF
6694
#define HAVE_DECL_ASPRINTF $ac_have_decl
6696
ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6697
if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
6703
cat >>confdefs.h <<_ACEOF
6704
#define HAVE_DECL_VASPRINTF $ac_have_decl
6706
ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6707
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
6713
cat >>confdefs.h <<_ACEOF
6714
#define HAVE_DECL_SNPRINTF $ac_have_decl
6716
ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6717
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
6723
cat >>confdefs.h <<_ACEOF
6724
#define HAVE_DECL_VSNPRINTF $ac_have_decl
6726
ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6727
if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
6733
cat >>confdefs.h <<_ACEOF
6734
#define HAVE_DECL_STRVERSCMP $ac_have_decl
6736
ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
6737
if test "x$ac_cv_have_decl_strndup" = x""yes; then :
6743
cat >>confdefs.h <<_ACEOF
6744
#define HAVE_DECL_STRNDUP $ac_have_decl
6746
ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6747
if test "x$ac_cv_have_decl_memmem" = x""yes; then :
6753
cat >>confdefs.h <<_ACEOF
6754
#define HAVE_DECL_MEMMEM $ac_have_decl
7994
6758
# Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7995
6759
# at link time with some versions of GCC.
7996
echo "$as_me:$LINENO: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7997
echo $ECHO_N "checking whether ::std::tr1::unordered_map::rehash is usable.... $ECHO_C" >&6
7998
if test "${gold_cv_unordered_map_rehash+set}" = set; then
7999
echo $ECHO_N "(cached) $ECHO_C" >&6
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
6761
$as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
6762
if test "${gold_cv_unordered_map_rehash+set}" = set; then :
6763
$as_echo_n "(cached) " >&6
8001
cat >conftest.$ac_ext <<_ACEOF
8004
cat confdefs.h >>conftest.$ac_ext
8005
cat >>conftest.$ac_ext <<_ACEOF
6765
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8006
6766
/* end confdefs.h. */
8008
6768
#include <tr1/unordered_map>
8834
7656
# Have a temporary directory for convenience. Make it in the build tree
8835
# simply because there is no reason to put it here, and in addition,
7657
# simply because there is no reason against having it here, and in addition,
8836
7658
# creating and moving files from /tmp can sometimes cause problems.
8837
# Create a temporary directory, and hook for its removal unless debugging.
7659
# Hook for its removal unless debugging.
7660
# Note that there is a small window in which the directory will not be cleaned:
7661
# after its creation but before its name has been assigned to `$tmp'.
8840
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8841
trap '{ (exit 1); exit 1; }' 1 2 13 15
7665
trap 'exit_status=$?
7666
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7668
trap 'as_fn_exit 1' 1 2 13 15
8844
7670
# Create a (secure) tmp directory for tmp files.
8847
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7673
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8848
7674
test -n "$tmp" && test -d "$tmp"
8851
tmp=./confstat$$-$RANDOM
8852
(umask 077 && mkdir $tmp)
7677
tmp=./conf$$-$RANDOM
7678
(umask 077 && mkdir "$tmp")
7679
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
7681
# Set up the scripts for CONFIG_FILES section.
7682
# No need to generate them if there are no CONFIG_FILES.
7683
# This happens for instance with `./config.status config.h'.
7684
if test -n "$CONFIG_FILES"; then
7687
ac_cr=`echo X | tr X '\015'`
7688
# On cygwin, bash can eat \r inside `` if the user requested igncr.
7689
# But we know of no other shell where ac_cr would be empty at this
7690
# point, so we can use a bashism as a fallback.
7691
if test "x$ac_cr" = x; then
7692
eval ac_cr=\$\'\\r\'
7694
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7695
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7701
echo 'BEGIN {' >"$tmp/subs1.awk" &&
8855
echo "$me: cannot create a temporary directory in ." >&2
8856
{ (exit 1); exit 1; }
8861
cat >>$CONFIG_STATUS <<_ACEOF
8864
# CONFIG_FILES section.
8867
# No need to generate the scripts if there are no CONFIG_FILES.
8868
# This happens for instance when ./config.status config.h
8869
if test -n "\$CONFIG_FILES"; then
8870
# Protect against being on the right side of a sed subst in config.status.
8871
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8872
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8873
s,@SHELL@,$SHELL,;t t
8874
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8875
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8876
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8877
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8878
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8879
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8880
s,@exec_prefix@,$exec_prefix,;t t
8881
s,@prefix@,$prefix,;t t
8882
s,@program_transform_name@,$program_transform_name,;t t
8883
s,@bindir@,$bindir,;t t
8884
s,@sbindir@,$sbindir,;t t
8885
s,@libexecdir@,$libexecdir,;t t
8886
s,@datadir@,$datadir,;t t
8887
s,@sysconfdir@,$sysconfdir,;t t
8888
s,@sharedstatedir@,$sharedstatedir,;t t
8889
s,@localstatedir@,$localstatedir,;t t
8890
s,@libdir@,$libdir,;t t
8891
s,@includedir@,$includedir,;t t
8892
s,@oldincludedir@,$oldincludedir,;t t
8893
s,@infodir@,$infodir,;t t
8894
s,@mandir@,$mandir,;t t
8895
s,@build_alias@,$build_alias,;t t
8896
s,@host_alias@,$host_alias,;t t
8897
s,@target_alias@,$target_alias,;t t
8899
s,@ECHO_C@,$ECHO_C,;t t
8900
s,@ECHO_N@,$ECHO_N,;t t
8901
s,@ECHO_T@,$ECHO_T,;t t
8903
s,@build@,$build,;t t
8904
s,@build_cpu@,$build_cpu,;t t
8905
s,@build_vendor@,$build_vendor,;t t
8906
s,@build_os@,$build_os,;t t
8908
s,@host_cpu@,$host_cpu,;t t
8909
s,@host_vendor@,$host_vendor,;t t
8910
s,@host_os@,$host_os,;t t
8911
s,@target@,$target,;t t
8912
s,@target_cpu@,$target_cpu,;t t
8913
s,@target_vendor@,$target_vendor,;t t
8914
s,@target_os@,$target_os,;t t
8915
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8916
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8917
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8918
s,@CYGPATH_W@,$CYGPATH_W,;t t
8919
s,@PACKAGE@,$PACKAGE,;t t
8920
s,@VERSION@,$VERSION,;t t
8921
s,@ACLOCAL@,$ACLOCAL,;t t
8922
s,@AUTOCONF@,$AUTOCONF,;t t
8923
s,@AUTOMAKE@,$AUTOMAKE,;t t
8924
s,@AUTOHEADER@,$AUTOHEADER,;t t
8925
s,@MAKEINFO@,$MAKEINFO,;t t
8926
s,@install_sh@,$install_sh,;t t
8927
s,@STRIP@,$STRIP,;t t
8928
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8929
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8930
s,@mkdir_p@,$mkdir_p,;t t
8932
s,@SET_MAKE@,$SET_MAKE,;t t
8933
s,@am__leading_dot@,$am__leading_dot,;t t
8934
s,@AMTAR@,$AMTAR,;t t
8935
s,@am__tar@,$am__tar,;t t
8936
s,@am__untar@,$am__untar,;t t
8937
s,@THREADS_TRUE@,$THREADS_TRUE,;t t
8938
s,@THREADS_FALSE@,$THREADS_FALSE,;t t
8939
s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t
8940
s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;t t
8941
s,@TARGETOBJS@,$TARGETOBJS,;t t
8943
s,@CFLAGS@,$CFLAGS,;t t
8944
s,@LDFLAGS@,$LDFLAGS,;t t
8945
s,@CPPFLAGS@,$CPPFLAGS,;t t
8946
s,@ac_ct_CC@,$ac_ct_CC,;t t
8947
s,@EXEEXT@,$EXEEXT,;t t
8948
s,@OBJEXT@,$OBJEXT,;t t
8949
s,@DEPDIR@,$DEPDIR,;t t
8950
s,@am__include@,$am__include,;t t
8951
s,@am__quote@,$am__quote,;t t
8952
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8953
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8954
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8955
s,@CCDEPMODE@,$CCDEPMODE,;t t
8956
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8957
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8959
s,@CXXFLAGS@,$CXXFLAGS,;t t
8960
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8961
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
8962
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
8963
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
8965
s,@RANLIB@,$RANLIB,;t t
8966
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8968
s,@USE_NLS@,$USE_NLS,;t t
8969
s,@LIBINTL@,$LIBINTL,;t t
8970
s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
8971
s,@INCINTL@,$INCINTL,;t t
8972
s,@XGETTEXT@,$XGETTEXT,;t t
8973
s,@GMSGFMT@,$GMSGFMT,;t t
8974
s,@POSUB@,$POSUB,;t t
8975
s,@CATALOGS@,$CATALOGS,;t t
8976
s,@DATADIRNAME@,$DATADIRNAME,;t t
8977
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8978
s,@GENCAT@,$GENCAT,;t t
8979
s,@CATOBJEXT@,$CATOBJEXT,;t t
8980
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8981
s,@MSGFMT@,$MSGFMT,;t t
8982
s,@MSGMERGE@,$MSGMERGE,;t t
8983
s,@NATIVE_LINKER_TRUE@,$NATIVE_LINKER_TRUE,;t t
8984
s,@NATIVE_LINKER_FALSE@,$NATIVE_LINKER_FALSE,;t t
8985
s,@GCC_TRUE@,$GCC_TRUE,;t t
8986
s,@GCC_FALSE@,$GCC_FALSE,;t t
8987
s,@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@,$FN_PTRS_IN_SO_WITHOUT_PIC_TRUE,;t t
8988
s,@FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@,$FN_PTRS_IN_SO_WITHOUT_PIC_FALSE,;t t
8989
s,@MCMODEL_MEDIUM_TRUE@,$MCMODEL_MEDIUM_TRUE,;t t
8990
s,@MCMODEL_MEDIUM_FALSE@,$MCMODEL_MEDIUM_FALSE,;t t
8991
s,@TLS_TRUE@,$TLS_TRUE,;t t
8992
s,@TLS_FALSE@,$TLS_FALSE,;t t
8993
s,@STATIC_TLS_TRUE@,$STATIC_TLS_TRUE,;t t
8994
s,@STATIC_TLS_FALSE@,$STATIC_TLS_FALSE,;t t
8995
s,@OMP_SUPPORT_TRUE@,$OMP_SUPPORT_TRUE,;t t
8996
s,@OMP_SUPPORT_FALSE@,$OMP_SUPPORT_FALSE,;t t
8997
s,@TLS_GNU2_DIALECT_TRUE@,$TLS_GNU2_DIALECT_TRUE,;t t
8998
s,@TLS_GNU2_DIALECT_FALSE@,$TLS_GNU2_DIALECT_FALSE,;t t
8999
s,@TLS_DESCRIPTORS_TRUE@,$TLS_DESCRIPTORS_TRUE,;t t
9000
s,@TLS_DESCRIPTORS_FALSE@,$TLS_DESCRIPTORS_FALSE,;t t
9001
s,@CONSTRUCTOR_PRIORITY_TRUE@,$CONSTRUCTOR_PRIORITY_TRUE,;t t
9002
s,@CONSTRUCTOR_PRIORITY_FALSE@,$CONSTRUCTOR_PRIORITY_FALSE,;t t
9003
s,@RANDOM_SEED_CFLAGS@,$RANDOM_SEED_CFLAGS,;t t
9004
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9005
s,@NO_WERROR@,$NO_WERROR,;t t
9006
s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
9007
s,@LFS_CFLAGS@,$LFS_CFLAGS,;t t
9008
s,@LIBOBJS@,$LIBOBJS,;t t
9010
s,@EGREP@,$EGREP,;t t
9011
s,@HAVE_ZLIB_TRUE@,$HAVE_ZLIB_TRUE,;t t
9012
s,@HAVE_ZLIB_FALSE@,$HAVE_ZLIB_FALSE,;t t
9013
s,@CXXCPP@,$CXXCPP,;t t
9014
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9015
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9016
s,@MAINT@,$MAINT,;t t
9017
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9022
cat >>$CONFIG_STATUS <<\_ACEOF
9023
# Split the substitutions into bite-sized pieces for seds with
9024
# small command number limits, like on Digital OSF/1 and HP-UX.
9026
ac_sed_frag=1 # Number of current file.
9027
ac_beg=1 # First line for current file.
9028
ac_end=$ac_max_sed_lines # Line after last line for current file.
9031
while $ac_more_lines; do
9032
if test $ac_beg -gt 1; then
9033
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9035
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9037
if test ! -s $tmp/subs.frag; then
9040
# The purpose of the label and of the branching condition is to
9041
# speed up the sed processing (if there are no `@' at all, there
9042
# is no need to browse any of the substitutions).
9043
# These are the two extra sed commands mentioned above.
9045
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9046
if test -z "$ac_sed_cmds"; then
9047
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9049
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9051
ac_sed_frag=`expr $ac_sed_frag + 1`
9053
ac_end=`expr $ac_end + $ac_max_sed_lines`
9056
if test -z "$ac_sed_cmds"; then
7706
echo "cat >conf$$subs.awk <<_ACEOF" &&
7707
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7710
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7711
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7713
for ac_last_try in false false false false false :; do
7714
. ./conf$$subs.sh ||
7715
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7717
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7718
if test $ac_delim_n = $ac_delim_num; then
7720
elif $ac_last_try; then
7721
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7723
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7728
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7729
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7733
s/^/S["/; s/!.*/"]=/
7743
s/\(.\{148\}\).*/\1/
7745
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7750
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7757
s/\(.\{148\}\).*/\1/
7759
s/["\\]/\\&/g; s/^/"/; s/$/"/
7763
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7768
' <conf$$subs.awk | sed '
7773
' >>$CONFIG_STATUS || ac_write_fail=1
7774
rm -f conf$$subs.awk
7775
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7777
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7778
for (key in S) S_is_set[key] = 1
7784
nfields = split(line, field, "@")
7786
len = length(field[1])
7787
for (i = 2; i < nfields; i++) {
7789
keylen = length(key)
7790
if (S_is_set[key]) {
7792
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7793
len += length(value) + length(field[++i])
7804
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7805
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7806
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7809
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7810
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
7813
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7814
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7815
# trailing colons and then remove the whole line if VPATH becomes empty
7816
# (actually we leave an empty line to preserve line numbers).
7817
if test "x$srcdir" = x.; then
7818
ac_vpsub='/^[ ]*VPATH[ ]*=/{
7822
s/^\([^=]*=[ ]*\):*/\1/
7828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9059
7829
fi # test -n "$CONFIG_FILES"
9062
cat >>$CONFIG_STATUS <<\_ACEOF
9063
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9064
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9066
- | *:- | *:-:* ) # input from stdin
9068
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9069
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9070
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9071
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9072
* ) ac_file_in=$ac_file.in ;;
9075
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9076
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7831
# Set up the scripts for CONFIG_HEADERS section.
7832
# No need to generate them if there are no CONFIG_HEADERS.
7833
# This happens for instance with `./config.status Makefile'.
7834
if test -n "$CONFIG_HEADERS"; then
7835
cat >"$tmp/defines.awk" <<\_ACAWK ||
7839
# Transform confdefs.h into an awk script `defines.awk', embedded as
7840
# here-document in config.status, that substitutes the proper values into
7841
# config.h.in to produce config.h.
7843
# Create a delimiter string that does not exist in confdefs.h, to ease
7844
# handling of long lines.
7846
for ac_last_try in false false :; do
7847
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7848
if test -z "$ac_t"; then
7850
elif $ac_last_try; then
7851
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
7853
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7857
# For the awk script, D is an array of macro values keyed by name,
7858
# likewise P contains macro parameters if any. Preserve backslash
7859
# newline sequences.
7861
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7863
s/.\{148\}/&'"$ac_delim"'/g
7866
s/^[ ]*#[ ]*define[ ][ ]*/ /
7873
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7875
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7879
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7880
D["\1"]=" \3\\\\\\n"\\/p
7882
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7887
s/.\{148\}/&'"$ac_delim"'/g
7892
s/["\\]/\\&/g; s/^/"/; s/$/"/p
7895
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7897
' <confdefs.h | sed '
7898
s/'"$ac_delim"'/"\\\
7899
"/g' >>$CONFIG_STATUS || ac_write_fail=1
7901
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7902
for (key in D) D_is_set[key] = 1
7905
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7907
split(line, arg, " ")
7908
if (arg[1] == "#") {
7912
defundef = substr(arg[1], 2)
7915
split(mac1, mac2, "(") #)
7917
prefix = substr(line, 1, index(line, defundef) - 1)
7918
if (D_is_set[macro]) {
7919
# Preserve the white space surrounding the "#".
7920
print prefix "define", macro P[macro] D[macro]
7923
# Replace #undef with comments. This is necessary, for example,
7924
# in the case of _POSIX_SOURCE, which is predefined and required
7925
# on some systems where configure will not decide to define it.
7926
if (defundef == "undef") {
7927
print "/*", prefix defundef, macro, "*/"
7935
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7936
as_fn_error "could not setup config headers machinery" "$LINENO" 5
7937
fi # test -n "$CONFIG_HEADERS"
7940
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7945
:[FHLC]) ac_mode=$ac_tag; continue;;
7947
case $ac_mode$ac_tag in
7949
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
7950
:[FH]-) ac_tag=-:-;;
7951
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7968
-) ac_f="$tmp/stdin";;
7969
*) # Look for the file first in the build tree, then in the source tree
7970
# (if the path is not absolute). The absolute path cannot be DOS-style,
7971
# because $ac_f cannot contain `:'.
7975
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7977
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7979
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7980
as_fn_append ac_file_inputs " '$ac_f'"
7983
# Let's still pretend it is `configure' which instantiates (i.e., don't
7984
# use $as_me), people would be surprised to read:
7985
# /* config.h. Generated by config.status. */
7986
configure_input='Generated from '`
7987
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7989
if test x"$ac_file" != x-; then
7990
configure_input="$ac_file. $configure_input"
7991
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7992
$as_echo "$as_me: creating $ac_file" >&6;}
7994
# Neutralize special characters interpreted by sed in replacement strings.
7995
case $configure_input in #(
7996
*\&* | *\|* | *\\* )
7997
ac_sed_conf_input=`$as_echo "$configure_input" |
7998
sed 's/[\\\\&|]/\\\\&/g'`;; #(
7999
*) ac_sed_conf_input=$configure_input;;
8003
*:-:* | *:-) cat >"$tmp/stdin" \
8004
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8009
ac_dir=`$as_dirname -- "$ac_file" ||
9077
8010
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9078
8011
X"$ac_file" : 'X\(//\)[^/]' \| \
9079
8012
X"$ac_file" : 'X\(//\)$' \| \
9080
X"$ac_file" : 'X\(/\)' \| \
9081
. : '\(.\)' 2>/dev/null ||
9083
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9084
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9085
/^X\(\/\/\)$/{ s//\1/; q; }
9086
/^X\(\/\).*/{ s//\1/; q; }
9088
{ if $as_mkdir_p; then
9093
while test ! -d "$as_dir"; do
9094
as_dirs="$as_dir $as_dirs"
9095
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9096
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9097
X"$as_dir" : 'X\(//\)[^/]' \| \
9098
X"$as_dir" : 'X\(//\)$' \| \
9099
X"$as_dir" : 'X\(/\)' \| \
9100
. : '\(.\)' 2>/dev/null ||
9102
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9103
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9104
/^X\(\/\/\)$/{ s//\1/; q; }
9105
/^X\(\/\).*/{ s//\1/; q; }
9108
test ! -n "$as_dirs" || mkdir $as_dirs
9109
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9110
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9111
{ (exit 1); exit 1; }; }; }
8013
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8014
$as_echo X"$ac_file" |
8015
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8032
as_dir="$ac_dir"; as_fn_mkdir_p
9115
if test "$ac_dir" != .; then
9116
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9117
# A "../" for each directory in $ac_dir_suffix.
9118
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9120
ac_dir_suffix= ac_top_builddir=
8036
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8038
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8039
# A ".." for each directory in $ac_dir_suffix.
8040
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8041
case $ac_top_builddir_sub in
8042
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8043
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8046
ac_abs_top_builddir=$ac_pwd
8047
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8048
# for backward compatibility:
8049
ac_top_builddir=$ac_top_build_prefix
9123
8051
case $srcdir in
9124
.) # No --srcdir option. We are building in place.
8052
.) # We are building in place.
9126
if test -z "$ac_top_builddir"; then
9129
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9131
[\\/]* | ?:[\\/]* ) # Absolute path.
8054
ac_top_srcdir=$ac_top_builddir_sub
8055
ac_abs_top_srcdir=$ac_pwd ;;
8056
[\\/]* | ?:[\\/]* ) # Absolute name.
9132
8057
ac_srcdir=$srcdir$ac_dir_suffix;
9133
ac_top_srcdir=$srcdir ;;
9135
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9136
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9139
# Do not use `cd foo && pwd` to compute absolute paths, because
9140
# the directories may not exist.
9142
.) ac_abs_builddir="$ac_dir";;
9145
.) ac_abs_builddir=`pwd`;;
9146
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9147
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9150
case $ac_abs_builddir in
9151
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9153
case ${ac_top_builddir}. in
9154
.) ac_abs_top_builddir=$ac_abs_builddir;;
9155
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9156
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9159
case $ac_abs_builddir in
9160
.) ac_abs_srcdir=$ac_srcdir;;
9163
.) ac_abs_srcdir=$ac_abs_builddir;;
9164
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9165
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9168
case $ac_abs_builddir in
9169
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9171
case $ac_top_srcdir in
9172
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9173
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9174
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8058
ac_top_srcdir=$srcdir
8059
ac_abs_top_srcdir=$srcdir ;;
8061
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8062
ac_top_srcdir=$ac_top_build_prefix$srcdir
8063
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8065
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9179
8074
case $INSTALL in
9180
8075
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9181
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9184
if test x"$ac_file" != x-; then
9185
{ echo "$as_me:$LINENO: creating $ac_file" >&5
9186
echo "$as_me: creating $ac_file" >&6;}
9189
# Let's still pretend it is `configure' which instantiates (i.e., don't
9190
# use $as_me), people would be surprised to read:
9191
# /* config.h. Generated by config.status. */
9192
if test x"$ac_file" = x-; then
9195
configure_input="$ac_file. "
9197
configure_input=$configure_input"Generated from `echo $ac_file_in |
9198
sed 's,.*/,,'` by configure."
9200
# First look for the input files in the build tree, otherwise in the
9202
ac_file_inputs=`IFS=:
9203
for f in $ac_file_in; do
9205
-) echo $tmp/stdin ;;
9207
# Absolute (can't be DOS-style, as IFS=:)
9208
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9209
echo "$as_me: error: cannot find input file: $f" >&2;}
9210
{ (exit 1); exit 1; }; }
9213
if test -f "$f"; then
9216
elif test -f "$srcdir/$f"; then
9221
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9222
echo "$as_me: error: cannot find input file: $f" >&2;}
9223
{ (exit 1); exit 1; }; }
9226
done` || { (exit 1); exit 1; }
9228
cat >>$CONFIG_STATUS <<_ACEOF
8076
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8080
[\\/$]* | ?:[\\/]* ) ;;
8081
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8085
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8086
# If the template does not know about datarootdir, expand it.
8087
# FIXME: This hack should be removed a few years after 2.60.
8088
ac_datarootdir_hack=; ac_datarootdir_seen=
8099
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8100
*datarootdir*) ac_datarootdir_seen=yes;;
8101
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8102
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8103
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8105
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8106
ac_datarootdir_hack='
8107
s&@datadir@&$datadir&g
8108
s&@docdir@&$docdir&g
8109
s&@infodir@&$infodir&g
8110
s&@localedir@&$localedir&g
8111
s&@mandir@&$mandir&g
8112
s&\\\${datarootdir}&$datarootdir&g' ;;
8116
# Neutralize VPATH when `$srcdir' = `.'.
8117
# Shell code in configure.ac might set extrasub.
8118
# FIXME: do we really want to maintain this feature?
8119
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8120
ac_sed_extra="$ac_vpsub
9232
cat >>$CONFIG_STATUS <<\_ACEOF
8123
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9234
8125
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9235
s,@configure_input@,$configure_input,;t t
9236
s,@srcdir@,$ac_srcdir,;t t
9237
s,@abs_srcdir@,$ac_abs_srcdir,;t t
9238
s,@top_srcdir@,$ac_top_srcdir,;t t
9239
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9240
s,@builddir@,$ac_builddir,;t t
9241
s,@abs_builddir@,$ac_abs_builddir,;t t
9242
s,@top_builddir@,$ac_top_builddir,;t t
9243
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9244
s,@INSTALL@,$ac_INSTALL,;t t
9245
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9247
if test x"$ac_file" != x-; then
9248
mv $tmp/out $ac_file
9256
cat >>$CONFIG_STATUS <<\_ACEOF
9259
# CONFIG_HEADER section.
9262
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9263
# NAME is the cpp macro being defined and VALUE is the value it is being given.
9265
# ac_d sets the value in "#define NAME VALUE" lines.
9266
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9267
ac_dB='[ ].*$,\1#\2'
9270
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9271
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9272
ac_uB='$,\1#\2define\3'
9276
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9277
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8126
s|@configure_input@|$ac_sed_conf_input|;t t
8127
s&@top_builddir@&$ac_top_builddir_sub&;t t
8128
s&@top_build_prefix@&$ac_top_build_prefix&;t t
8129
s&@srcdir@&$ac_srcdir&;t t
8130
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8131
s&@top_srcdir@&$ac_top_srcdir&;t t
8132
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8133
s&@builddir@&$ac_builddir&;t t
8134
s&@abs_builddir@&$ac_abs_builddir&;t t
8135
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8136
s&@INSTALL@&$ac_INSTALL&;t t
8137
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8138
$ac_datarootdir_hack
8140
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8141
|| as_fn_error "could not create $ac_file" "$LINENO" 5
8143
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8144
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8145
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8146
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8147
which seems to be undefined. Please make sure it is defined." >&5
8148
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8149
which seems to be undefined. Please make sure it is defined." >&2;}
9278
8152
case $ac_file in
9279
- | *:- | *:-:* ) # input from stdin
9281
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9282
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9283
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9284
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9285
* ) ac_file_in=$ac_file.in ;;
9288
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9289
echo "$as_me: creating $ac_file" >&6;}
9291
# First look for the input files in the build tree, otherwise in the
9293
ac_file_inputs=`IFS=:
9294
for f in $ac_file_in; do
9296
-) echo $tmp/stdin ;;
9298
# Absolute (can't be DOS-style, as IFS=:)
9299
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9300
echo "$as_me: error: cannot find input file: $f" >&2;}
9301
{ (exit 1); exit 1; }; }
9302
# Do quote $f, to prevent DOS paths from being IFS'd.
9305
if test -f "$f"; then
9308
elif test -f "$srcdir/$f"; then
9313
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9314
echo "$as_me: error: cannot find input file: $f" >&2;}
9315
{ (exit 1); exit 1; }; }
9318
done` || { (exit 1); exit 1; }
9319
# Remove the trailing spaces.
9320
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9324
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9325
# `conftest.undefs', that substitutes the proper values into
9326
# config.h.in to produce config.h. The first handles `#define'
9327
# templates, and the second `#undef' templates.
9328
# And first: Protect against being on the right side of a sed subst in
9329
# config.status. Protect against being in an unquoted here document
9331
rm -f conftest.defines conftest.undefs
9332
# Using a here document instead of a string reduces the quoting nightmare.
9333
# Putting comments in sed scripts is not portable.
9335
# `end' is used to avoid that the second main sed command (meant for
9336
# 0-ary CPP macros) applies to n-ary macro definitions.
9337
# See the Autoconf documentation for `clear'.
9338
cat >confdef2sed.sed <<\_ACEOF
9343
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9345
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9348
# If some macros were called several times there might be several times
9349
# the same #defines, which is useless. Nevertheless, we may not want to
9350
# sort them, since we want the *last* AC-DEFINE to be honored.
9351
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9352
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9353
rm -f confdef2sed.sed
9355
# This sed command replaces #undef with comments. This is necessary, for
9356
# example, in the case of _POSIX_SOURCE, which is predefined and required
9357
# on some systems where configure will not decide to define it.
9358
cat >>conftest.undefs <<\_ACEOF
9359
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9362
# Break up conftest.defines because some shells have a limit on the size
9363
# of here documents, and old seds have small limits too (100 cmds).
9364
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9365
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9366
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9367
echo ' :' >>$CONFIG_STATUS
9369
while grep . conftest.defines >/dev/null
9371
# Write a limited-size here document to $tmp/defines.sed.
9372
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9373
# Speed up: don't consider the non `#define' lines.
9374
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9375
# Work around the forget-to-reset-the-flag bug.
9376
echo 't clr' >>$CONFIG_STATUS
9377
echo ': clr' >>$CONFIG_STATUS
9378
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9380
sed -f $tmp/defines.sed $tmp/in >$tmp/out
9384
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9385
rm -f conftest.defines
9386
mv conftest.tail conftest.defines
9388
rm -f conftest.defines
9389
echo ' fi # grep' >>$CONFIG_STATUS
9390
echo >>$CONFIG_STATUS
9392
# Break up conftest.undefs because some shells have a limit on the size
9393
# of here documents, and old seds have small limits too (100 cmds).
9394
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9396
while grep . conftest.undefs >/dev/null
9398
# Write a limited-size here document to $tmp/undefs.sed.
9399
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9400
# Speed up: don't consider the non `#undef'
9401
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9402
# Work around the forget-to-reset-the-flag bug.
9403
echo 't clr' >>$CONFIG_STATUS
9404
echo ': clr' >>$CONFIG_STATUS
9405
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9407
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9411
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9412
rm -f conftest.undefs
9413
mv conftest.tail conftest.undefs
9415
rm -f conftest.undefs
9417
cat >>$CONFIG_STATUS <<\_ACEOF
9418
# Let's still pretend it is `configure' which instantiates (i.e., don't
9419
# use $as_me), people would be surprised to read:
9420
# /* config.h. Generated by config.status. */
9421
if test x"$ac_file" = x-; then
9422
echo "/* Generated by configure. */" >$tmp/config.h
9424
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9426
cat $tmp/in >>$tmp/config.h
8153
-) cat "$tmp/out" && rm -f "$tmp/out";;
8154
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8156
|| as_fn_error "could not create $ac_file" "$LINENO" 5
9428
8162
if test x"$ac_file" != x-; then
9429
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9430
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9431
echo "$as_me: $ac_file is unchanged" >&6;}
8164
$as_echo "/* $configure_input */" \
8165
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8166
} >"$tmp/config.h" \
8167
|| as_fn_error "could not create $ac_file" "$LINENO" 5
8168
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8169
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8170
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9433
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9434
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9435
X"$ac_file" : 'X\(//\)[^/]' \| \
9436
X"$ac_file" : 'X\(//\)$' \| \
9437
X"$ac_file" : 'X\(/\)' \| \
9438
. : '\(.\)' 2>/dev/null ||
9440
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9441
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9442
/^X\(\/\/\)$/{ s//\1/; q; }
9443
/^X\(\/\).*/{ s//\1/; q; }
9445
{ if $as_mkdir_p; then
9450
while test ! -d "$as_dir"; do
9451
as_dirs="$as_dir $as_dirs"
9452
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9453
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9454
X"$as_dir" : 'X\(//\)[^/]' \| \
9455
X"$as_dir" : 'X\(//\)$' \| \
9456
X"$as_dir" : 'X\(/\)' \| \
9457
. : '\(.\)' 2>/dev/null ||
9459
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9460
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9461
/^X\(\/\/\)$/{ s//\1/; q; }
9462
/^X\(\/\).*/{ s//\1/; q; }
9465
test ! -n "$as_dirs" || mkdir $as_dirs
9466
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9467
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9468
{ (exit 1); exit 1; }; }; }
9471
mv $tmp/config.h $ac_file
8173
mv "$tmp/config.h" "$ac_file" \
8174
|| as_fn_error "could not create $ac_file" "$LINENO" 5
8177
$as_echo "/* $configure_input */" \
8178
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8179
|| as_fn_error "could not create -" "$LINENO" 5
9477
# Compute $ac_file's index in $config_headers.
8181
# Compute "$ac_file"'s index in $config_headers.
9478
8183
_am_stamp_count=1
9479
8184
for _am_header in $config_headers :; do
9480
8185
case $_am_header in
9481
$ac_file | $ac_file:* )
8186
$_am_arg | $_am_arg:* )
9484
8189
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9487
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9488
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9489
X$ac_file : 'X\(//\)[^/]' \| \
9490
X$ac_file : 'X\(//\)$' \| \
9491
X$ac_file : 'X\(/\)' \| \
9492
. : '\(.\)' 2>/dev/null ||
9494
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9495
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9496
/^X\(\/\/\)$/{ s//\1/; q; }
9497
/^X\(\/\).*/{ s//\1/; q; }
9498
s/.*/./; q'`/stamp-h$_am_stamp_count
9501
cat >>$CONFIG_STATUS <<\_ACEOF
9504
# CONFIG_COMMANDS section.
9506
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9507
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9508
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9509
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9510
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9511
X"$ac_dest" : 'X\(//\)[^/]' \| \
9512
X"$ac_dest" : 'X\(//\)$' \| \
9513
X"$ac_dest" : 'X\(/\)' \| \
9514
. : '\(.\)' 2>/dev/null ||
9516
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9517
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9518
/^X\(\/\/\)$/{ s//\1/; q; }
9519
/^X\(\/\).*/{ s//\1/; q; }
9521
{ if $as_mkdir_p; then
9526
while test ! -d "$as_dir"; do
9527
as_dirs="$as_dir $as_dirs"
9528
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9529
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9530
X"$as_dir" : 'X\(//\)[^/]' \| \
9531
X"$as_dir" : 'X\(//\)$' \| \
9532
X"$as_dir" : 'X\(/\)' \| \
9533
. : '\(.\)' 2>/dev/null ||
9535
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9536
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9537
/^X\(\/\/\)$/{ s//\1/; q; }
9538
/^X\(\/\).*/{ s//\1/; q; }
9541
test ! -n "$as_dirs" || mkdir $as_dirs
9542
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9543
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9544
{ (exit 1); exit 1; }; }; }
9548
if test "$ac_dir" != .; then
9549
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9550
# A "../" for each directory in $ac_dir_suffix.
9551
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9553
ac_dir_suffix= ac_top_builddir=
9557
.) # No --srcdir option. We are building in place.
9559
if test -z "$ac_top_builddir"; then
9562
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9564
[\\/]* | ?:[\\/]* ) # Absolute path.
9565
ac_srcdir=$srcdir$ac_dir_suffix;
9566
ac_top_srcdir=$srcdir ;;
9568
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9569
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9572
# Do not use `cd foo && pwd` to compute absolute paths, because
9573
# the directories may not exist.
9575
.) ac_abs_builddir="$ac_dir";;
9578
.) ac_abs_builddir=`pwd`;;
9579
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9580
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9583
case $ac_abs_builddir in
9584
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9586
case ${ac_top_builddir}. in
9587
.) ac_abs_top_builddir=$ac_abs_builddir;;
9588
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9589
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9592
case $ac_abs_builddir in
9593
.) ac_abs_srcdir=$ac_srcdir;;
9596
.) ac_abs_srcdir=$ac_abs_builddir;;
9597
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9598
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9601
case $ac_abs_builddir in
9602
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9604
case $ac_top_srcdir in
9605
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9606
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9607
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9612
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9613
echo "$as_me: executing $ac_dest commands" >&6;}
9615
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9616
# Strip MF so we end up with the name of the file.
9617
mf=`echo "$mf" | sed -e 's/:.*$//'`
9618
# Check whether this is an Automake generated Makefile or not.
9619
# We used to match only the files named `Makefile.in', but
9620
# some people rename them; so instead we look at the file content.
9621
# Grep'ing the first line is not enough: some people post-process
9622
# each Makefile.in and add a new line on top of each file to say so.
9623
# So let's grep whole file.
9624
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9625
dirpart=`(dirname "$mf") 2>/dev/null ||
8192
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8193
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8194
X"$_am_arg" : 'X\(//\)[^/]' \| \
8195
X"$_am_arg" : 'X\(//\)$' \| \
8196
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8197
$as_echo X"$_am_arg" |
8198
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8214
s/.*/./; q'`/stamp-h$_am_stamp_count
8217
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8218
$as_echo "$as_me: executing $ac_file commands" >&6;}
8223
case $ac_file$ac_mode in
8224
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8225
# Autoconf 2.62 quotes --file arguments for eval, but not when files
8226
# are listed without --file. Let's play safe and only enable the eval
8227
# if we detect the quoting.
8228
case $CONFIG_FILES in
8229
*\'*) eval set x "$CONFIG_FILES" ;;
8230
*) set x $CONFIG_FILES ;;
8235
# Strip MF so we end up with the name of the file.
8236
mf=`echo "$mf" | sed -e 's/:.*$//'`
8237
# Check whether this is an Automake generated Makefile or not.
8238
# We used to match only the files named `Makefile.in', but
8239
# some people rename them; so instead we look at the file content.
8240
# Grep'ing the first line is not enough: some people post-process
8241
# each Makefile.in and add a new line on top of each file to say so.
8242
# Grep'ing the whole file is not good either: AIX grep has a line
8243
# limit of 2048, but all sed's we know have understand at least 4000.
8244
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8245
dirpart=`$as_dirname -- "$mf" ||
9626
8246
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9627
8247
X"$mf" : 'X\(//\)[^/]' \| \
9628
8248
X"$mf" : 'X\(//\)$' \| \
9629
X"$mf" : 'X\(/\)' \| \
9630
. : '\(.\)' 2>/dev/null ||
9632
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9633
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9634
/^X\(\/\/\)$/{ s//\1/; q; }
9635
/^X\(\/\).*/{ s//\1/; q; }
9640
# Extract the definition of DEPDIR, am__include, and am__quote
9641
# from the Makefile without running `make'.
9642
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9643
test -z "$DEPDIR" && continue
9644
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9645
test -z "am__include" && continue
9646
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9647
# When using ansi2knr, U may be empty or an underscore; expand it
9648
U=`sed -n 's/^U = //p' < "$mf"`
9649
# Find all dependency output files, they are included files with
9650
# $(DEPDIR) in their names. We invoke sed twice because it is the
9651
# simplest approach to changing $(DEPDIR) to its actual value in the
9653
for file in `sed -n "
9654
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9655
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9656
# Make sure the directory exists.
9657
test -f "$dirpart/$file" && continue
9658
fdir=`(dirname "$file") 2>/dev/null ||
8249
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8251
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8271
# Extract the definition of DEPDIR, am__include, and am__quote
8272
# from the Makefile without running `make'.
8273
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8274
test -z "$DEPDIR" && continue
8275
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8276
test -z "am__include" && continue
8277
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8278
# When using ansi2knr, U may be empty or an underscore; expand it
8279
U=`sed -n 's/^U = //p' < "$mf"`
8280
# Find all dependency output files, they are included files with
8281
# $(DEPDIR) in their names. We invoke sed twice because it is the
8282
# simplest approach to changing $(DEPDIR) to its actual value in the
8284
for file in `sed -n "
8285
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8286
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8287
# Make sure the directory exists.
8288
test -f "$dirpart/$file" && continue
8289
fdir=`$as_dirname -- "$file" ||
9659
8290
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9660
8291
X"$file" : 'X\(//\)[^/]' \| \
9661
8292
X"$file" : 'X\(//\)$' \| \
9662
X"$file" : 'X\(/\)' \| \
9663
. : '\(.\)' 2>/dev/null ||
9665
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9666
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9667
/^X\(\/\/\)$/{ s//\1/; q; }
9668
/^X\(\/\).*/{ s//\1/; q; }
9670
{ if $as_mkdir_p; then
9671
mkdir -p $dirpart/$fdir
9673
as_dir=$dirpart/$fdir
9675
while test ! -d "$as_dir"; do
9676
as_dirs="$as_dir $as_dirs"
9677
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9678
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9679
X"$as_dir" : 'X\(//\)[^/]' \| \
9680
X"$as_dir" : 'X\(//\)$' \| \
9681
X"$as_dir" : 'X\(/\)' \| \
9682
. : '\(.\)' 2>/dev/null ||
9684
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9685
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9686
/^X\(\/\/\)$/{ s//\1/; q; }
9687
/^X\(\/\).*/{ s//\1/; q; }
8293
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8295
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8312
as_dir=$dirpart/$fdir; as_fn_mkdir_p
8313
# echo "creating $dirpart/$file"
8314
echo '# dummy' > "$dirpart/$file"
9690
test ! -n "$as_dirs" || mkdir $as_dirs
9691
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9692
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9693
{ (exit 1); exit 1; }; }; }
9695
# echo "creating $dirpart/$file"
9696
echo '# dummy' > "$dirpart/$file"
9701
8320
for ac_file in $CONFIG_FILES; do
9702
8321
# Support "outfile[:infile[:infile...]]"
9703
8322
case "$ac_file" in