2
2
# From configure.in Id: configure.in,v 1.142 2006/04/01 06:36:40 psmith Exp .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.59 for GNU make 3.81.
4
# Generated by GNU Autoconf 2.65 for GNU make 3.81.
6
6
# Report bugs to <bug-make@gnu.org>.
8
# Copyright (C) 2003 Free Software Foundation, Inc.
9
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9
14
# This configure script is free software; the Free Software Foundation
10
15
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
16
## -------------------- ##
17
## M4sh Initialization. ##
18
## -------------------- ##
15
# Be Bourne compatible
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Be more Bourne compatible
21
DUALCASE=1; export DUALCASE # for MKS sh
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
26
# is contrary to our usage. Disable this feature.
21
27
alias -g '${1+"$@"}'='"$@"'
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25
DUALCASE=1; export DUALCASE # for MKS sh
27
# Support unset when possible.
28
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35
# Work around bugs in pre-3.0 UWIN ksh.
36
$as_unset ENV MAIL MAILPATH
30
case `(set -o) 2>/dev/null` in #(
42
# Printing a long string crashes Solaris 7 /usr/bin/printf.
43
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46
# Prefer a ksh shell builtin over an external printf program on Solaris,
47
# but without wasting forks for bash or zsh.
48
if test -z "$BASH_VERSION$ZSH_VERSION" \
49
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51
as_echo_n='print -rn --'
52
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58
as_echo_n='/usr/ucb/echo -n'
60
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65
expr "X$arg" : "X\\(.*\\)$as_nl";
66
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71
as_echo_n='sh -c $as_echo_n_body as_echo'
74
as_echo='sh -c $as_echo_body as_echo'
77
# The user is always right.
78
if test "${PATH_SEPARATOR+set}" != set; then
80
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88
# We need space, tab and new line, in precisely that order. Quoting is
89
# there to prevent editors from complaining about space-tab.
90
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91
# splitting by setting IFS to empty value.)
94
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
43
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1"
178
if (eval "$as_required") 2>/dev/null; then :
183
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
47
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48
eval $as_var=C; export $as_var
191
test -z "$as_dir" && as_dir=.
195
for as_base in sh bash ksh sh5; do
196
# Try only shells that exist, to save several forks.
197
as_shell=$as_dir/$as_base
198
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200
CONFIG_SHELL=$as_shell as_have_required=yes
201
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211
CONFIG_SHELL=$SHELL as_have_required=yes
216
if test "x$CONFIG_SHELL" != x; then :
217
# We cannot yet assume a decent shell, so we have to provide a
218
# neutralization value for shells without unset; and this also
219
# works around shells that cannot unset nonexistent variables.
222
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227
if test x$as_have_required = xno; then :
228
$as_echo "$0: This script requires a shell more modern than all"
229
$as_echo "$0: the shells that I found on your system."
230
if test x${ZSH_VERSION+set} = xset ; then
231
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
54
# Required to use basename.
55
if expr a : '\(a\)' >/dev/null 2>&1; then
234
$as_echo "$0: Please tell bug-autoconf@gnu.org and bug-make@gnu.org
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
370
as_status=$?; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375
$as_echo "$as_me: error: $1" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
61
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
62
387
as_basename=basename
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
68
# Name of the executable.
69
as_me=`$as_basename "$0" ||
398
as_me=`$as_basename -- "$0" ||
70
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71
400
X"$0" : 'X\(//\)$' \| \
72
X"$0" : 'X\(/\)$' \| \
73
. : '\(.\)' 2>/dev/null ||
75
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76
/^X\/\(\/\/\)$/{ s//\1/; q; }
77
/^X\/\(\/\).*/{ s//\1/; q; }
81
# PATH needs CR, and LINENO needs CR and PATH.
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
82
417
# Avoid depending upon Character Ranges.
83
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
882
1393
CFLAGS C compiler flags
883
1394
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
884
1395
nonstandard directory <lib dir>
885
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
886
headers in a nonstandard directory <include dir>
1396
LIBS libraries to pass to the linker, e.g. -l<library>
1397
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1398
you have headers in a nonstandard directory <include dir>
887
1399
CPP C preprocessor
889
1401
Use these variables to override the choices made by `configure' or to help
890
1402
it to find libraries and programs with nonstandard names/locations.
892
1404
Report bugs to <bug-make@gnu.org>.
1405
GNU make home page: <http://www.gnu.org/software/make/>.
1406
General help using GNU software: <http://www.gnu.org/gethelp/>.
896
1411
if test "$ac_init_help" = "recursive"; then
897
1412
# If there are subdirs, report their specific --help.
899
1413
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
900
test -d $ac_dir || continue
1414
test -d "$ac_dir" ||
1415
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
903
if test "$ac_dir" != .; then
904
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
905
# A "../" for each directory in $ac_dir_suffix.
906
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
908
ac_dir_suffix= ac_top_builddir=
1420
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1423
# A ".." for each directory in $ac_dir_suffix.
1424
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1425
case $ac_top_builddir_sub in
1426
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1430
ac_abs_top_builddir=$ac_pwd
1431
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432
# for backward compatibility:
1433
ac_top_builddir=$ac_top_build_prefix
912
.) # No --srcdir option. We are building in place.
1436
.) # We are building in place.
914
if test -z "$ac_top_builddir"; then
917
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
919
[\\/]* | ?:[\\/]* ) # Absolute path.
1438
ac_top_srcdir=$ac_top_builddir_sub
1439
ac_abs_top_srcdir=$ac_pwd ;;
1440
[\\/]* | ?:[\\/]* ) # Absolute name.
920
1441
ac_srcdir=$srcdir$ac_dir_suffix;
921
ac_top_srcdir=$srcdir ;;
923
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
924
ac_top_srcdir=$ac_top_builddir$srcdir ;;
927
# Do not use `cd foo && pwd` to compute absolute paths, because
928
# the directories may not exist.
930
.) ac_abs_builddir="$ac_dir";;
933
.) ac_abs_builddir=`pwd`;;
934
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
935
*) ac_abs_builddir=`pwd`/"$ac_dir";;
938
case $ac_abs_builddir in
939
.) ac_abs_top_builddir=${ac_top_builddir}.;;
941
case ${ac_top_builddir}. in
942
.) ac_abs_top_builddir=$ac_abs_builddir;;
943
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
944
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
947
case $ac_abs_builddir in
948
.) ac_abs_srcdir=$ac_srcdir;;
951
.) ac_abs_srcdir=$ac_abs_builddir;;
952
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
953
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
956
case $ac_abs_builddir in
957
.) ac_abs_top_srcdir=$ac_top_srcdir;;
959
case $ac_top_srcdir in
960
.) ac_abs_top_srcdir=$ac_abs_builddir;;
961
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
962
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
967
# Check for guested configure; otherwise get Cygnus style configure.
968
if test -f $ac_srcdir/configure.gnu; then
970
$SHELL $ac_srcdir/configure.gnu --help=recursive
971
elif test -f $ac_srcdir/configure; then
973
$SHELL $ac_srcdir/configure --help=recursive
974
elif test -f $ac_srcdir/configure.ac ||
975
test -f $ac_srcdir/configure.in; then
1442
ac_top_srcdir=$srcdir
1443
ac_abs_top_srcdir=$srcdir ;;
1445
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446
ac_top_srcdir=$ac_top_build_prefix$srcdir
1447
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451
cd "$ac_dir" || { ac_status=$?; continue; }
1452
# Check for guested configure.
1453
if test -f "$ac_srcdir/configure.gnu"; then
1455
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456
elif test -f "$ac_srcdir/configure"; then
1458
$SHELL "$ac_srcdir/configure" --help=recursive
979
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462
cd "$ac_pwd" || { ac_status=$?; break; }
985
test -n "$ac_init_help" && exit 0
1466
test -n "$ac_init_help" && exit $ac_status
986
1467
if $ac_init_version; then
988
1469
GNU make configure 3.81
989
generated by GNU Autoconf 2.59
1470
generated by GNU Autoconf 2.65
991
Copyright (C) 2003 Free Software Foundation, Inc.
1472
Copyright (C) 2009 Free Software Foundation, Inc.
992
1473
This configure script is free software; the Free Software Foundation
993
1474
gives unlimited permission to copy, distribute and modify it.
1479
## ------------------------ ##
1480
## Autoconf initialization. ##
1481
## ------------------------ ##
1483
# ac_fn_c_try_compile LINENO
1484
# --------------------------
1485
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1486
ac_fn_c_try_compile ()
1488
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489
rm -f conftest.$ac_objext
1490
if { { ac_try="$ac_compile"
1492
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1493
*) ac_try_echo=$ac_try;;
1495
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496
$as_echo "$ac_try_echo"; } >&5
1497
(eval "$ac_compile") 2>conftest.err
1499
if test -s conftest.err; then
1500
grep -v '^ *+' conftest.err >conftest.er1
1501
cat conftest.er1 >&5
1502
mv -f conftest.er1 conftest.err
1504
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505
test $ac_status = 0; } && {
1506
test -z "$ac_c_werror_flag" ||
1507
test ! -s conftest.err
1508
} && test -s conftest.$ac_objext; then :
1511
$as_echo "$as_me: failed program was:" >&5
1512
sed 's/^/| /' conftest.$ac_ext >&5
1516
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1517
as_fn_set_status $ac_retval
1519
} # ac_fn_c_try_compile
1521
# ac_fn_c_try_cpp LINENO
1522
# ----------------------
1523
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1526
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527
if { { ac_try="$ac_cpp conftest.$ac_ext"
1529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530
*) ac_try_echo=$ac_try;;
1532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533
$as_echo "$ac_try_echo"; } >&5
1534
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1536
if test -s conftest.err; then
1537
grep -v '^ *+' conftest.err >conftest.er1
1538
cat conftest.er1 >&5
1539
mv -f conftest.er1 conftest.err
1541
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542
test $ac_status = 0; } >/dev/null && {
1543
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1544
test ! -s conftest.err
1548
$as_echo "$as_me: failed program was:" >&5
1549
sed 's/^/| /' conftest.$ac_ext >&5
1553
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554
as_fn_set_status $ac_retval
1558
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559
# -------------------------------------------------------
1560
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561
# the include files in INCLUDES and setting the cache variable VAR
1563
ac_fn_c_check_header_mongrel ()
1565
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568
$as_echo_n "checking for $2... " >&6; }
1569
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1570
$as_echo_n "(cached) " >&6
1573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574
$as_echo "$ac_res" >&6; }
1576
# Is the header compilable?
1577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578
$as_echo_n "checking $2 usability... " >&6; }
1579
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580
/* end confdefs.h. */
1584
if ac_fn_c_try_compile "$LINENO"; then :
1585
ac_header_compiler=yes
1587
ac_header_compiler=no
1589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591
$as_echo "$ac_header_compiler" >&6; }
1593
# Is the header present?
1594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595
$as_echo_n "checking $2 presence... " >&6; }
1596
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597
/* end confdefs.h. */
1600
if ac_fn_c_try_cpp "$LINENO"; then :
1601
ac_header_preproc=yes
1603
ac_header_preproc=no
1605
rm -f conftest.err conftest.$ac_ext
1606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607
$as_echo "$ac_header_preproc" >&6; }
1609
# So? What about this header?
1610
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1612
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1629
## ------------------------------- ##
1630
## Report this to bug-make@gnu.org ##
1631
## ------------------------------- ##
1633
) | sed "s/^/$as_me: WARNING: /" >&2
1636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637
$as_echo_n "checking for $2... " >&6; }
1638
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639
$as_echo_n "(cached) " >&6
1641
eval "$3=\$ac_header_compiler"
1644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645
$as_echo "$ac_res" >&6; }
1647
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649
} # ac_fn_c_check_header_mongrel
1651
# ac_fn_c_try_run LINENO
1652
# ----------------------
1653
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1654
# that executables *can* be run.
1657
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658
if { { ac_try="$ac_link"
1660
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661
*) ac_try_echo=$ac_try;;
1663
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664
$as_echo "$ac_try_echo"; } >&5
1665
(eval "$ac_link") 2>&5
1667
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1669
{ { case "(($ac_try" in
1670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671
*) ac_try_echo=$ac_try;;
1673
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674
$as_echo "$ac_try_echo"; } >&5
1675
(eval "$ac_try") 2>&5
1677
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678
test $ac_status = 0; }; }; then :
1681
$as_echo "$as_me: program exited with status $ac_status" >&5
1682
$as_echo "$as_me: failed program was:" >&5
1683
sed 's/^/| /' conftest.$ac_ext >&5
1685
ac_retval=$ac_status
1687
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689
as_fn_set_status $ac_retval
1693
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1694
# -------------------------------------------------------
1695
# Tests whether HEADER exists and can be compiled using the include files in
1696
# INCLUDES, setting the cache variable VAR accordingly.
1697
ac_fn_c_check_header_compile ()
1699
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701
$as_echo_n "checking for $2... " >&6; }
1702
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1703
$as_echo_n "(cached) " >&6
1705
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706
/* end confdefs.h. */
1710
if ac_fn_c_try_compile "$LINENO"; then :
1715
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719
$as_echo "$ac_res" >&6; }
1720
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722
} # ac_fn_c_check_header_compile
1724
# ac_fn_c_try_link LINENO
1725
# -----------------------
1726
# Try to link conftest.$ac_ext, and return whether this succeeded.
1729
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730
rm -f conftest.$ac_objext conftest$ac_exeext
1731
if { { ac_try="$ac_link"
1733
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734
*) ac_try_echo=$ac_try;;
1736
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737
$as_echo "$ac_try_echo"; } >&5
1738
(eval "$ac_link") 2>conftest.err
1740
if test -s conftest.err; then
1741
grep -v '^ *+' conftest.err >conftest.er1
1742
cat conftest.er1 >&5
1743
mv -f conftest.er1 conftest.err
1745
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746
test $ac_status = 0; } && {
1747
test -z "$ac_c_werror_flag" ||
1748
test ! -s conftest.err
1749
} && test -s conftest$ac_exeext && {
1750
test "$cross_compiling" = yes ||
1751
$as_test_x conftest$ac_exeext
1755
$as_echo "$as_me: failed program was:" >&5
1756
sed 's/^/| /' conftest.$ac_ext >&5
1760
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762
# interfere with the next link command; also delete a directory that is
1763
# left behind by Apple's compiler. We do this before executing the actions.
1764
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
as_fn_set_status $ac_retval
1768
} # ac_fn_c_try_link
1770
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1771
# -------------------------------------------
1772
# Tests whether TYPE exists after having included INCLUDES, setting cache
1773
# variable VAR accordingly.
1774
ac_fn_c_check_type ()
1776
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778
$as_echo_n "checking for $2... " >&6; }
1779
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1780
$as_echo_n "(cached) " >&6
1783
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784
/* end confdefs.h. */
1795
if ac_fn_c_try_compile "$LINENO"; then :
1796
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797
/* end confdefs.h. */
1808
if ac_fn_c_try_compile "$LINENO"; then :
1813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819
$as_echo "$ac_res" >&6; }
1820
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822
} # ac_fn_c_check_type
1824
# ac_fn_c_check_func LINENO FUNC VAR
1825
# ----------------------------------
1826
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1827
ac_fn_c_check_func ()
1829
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831
$as_echo_n "checking for $2... " >&6; }
1832
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1833
$as_echo_n "(cached) " >&6
1835
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836
/* end confdefs.h. */
1837
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1838
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1839
#define $2 innocuous_$2
1841
/* System header to define __stub macros and hopefully few prototypes,
1842
which can conflict with char $2 (); below.
1843
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1844
<limits.h> exists even on freestanding compilers. */
1847
# include <limits.h>
1849
# include <assert.h>
1854
/* Override any GCC internal prototype to avoid an error.
1855
Use char because int might match the return type of a GCC
1856
builtin and then its argument prototype would still apply. */
1861
/* The GNU C library defines this for functions which it implements
1862
to always fail with ENOSYS. Some functions are actually named
1863
something starting with __ and the normal name is an alias. */
1864
#if defined __stub_$2 || defined __stub___$2
1876
if ac_fn_c_try_link "$LINENO"; then :
1881
rm -f core conftest.err conftest.$ac_objext \
1882
conftest$ac_exeext conftest.$ac_ext
1885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886
$as_echo "$ac_res" >&6; }
1887
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1889
} # ac_fn_c_check_func
1891
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1892
# ----------------------------------------------------
1893
# Tries to find if the field MEMBER exists in type AGGR, after including
1894
# INCLUDES, setting cache variable VAR accordingly.
1895
ac_fn_c_check_member ()
1897
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1899
$as_echo_n "checking for $2.$3... " >&6; }
1900
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1901
$as_echo_n "(cached) " >&6
1903
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904
/* end confdefs.h. */
1916
if ac_fn_c_try_compile "$LINENO"; then :
1919
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920
/* end confdefs.h. */
1926
if (sizeof ac_aggr.$3)
1932
if ac_fn_c_try_compile "$LINENO"; then :
1937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943
$as_echo "$ac_res" >&6; }
1944
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946
} # ac_fn_c_check_member
1948
# ac_fn_c_check_decl LINENO SYMBOL VAR
1949
# ------------------------------------
1950
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1951
ac_fn_c_check_decl ()
1953
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1955
$as_echo_n "checking whether $2 is declared... " >&6; }
1956
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1957
$as_echo_n "(cached) " >&6
1959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960
/* end confdefs.h. */
1973
if ac_fn_c_try_compile "$LINENO"; then :
1978
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982
$as_echo "$ac_res" >&6; }
1983
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985
} # ac_fn_c_check_decl
1986
cat >config.log <<_ACEOF
999
1987
This file contains any messages produced by compilers while
1000
1988
running configure, to aid debugging if configure makes a mistake.
1002
1990
It was created by GNU make $as_me 3.81, which was
1003
generated by GNU Autoconf 2.59. Invocation command line was
1991
generated by GNU Autoconf 2.65. Invocation command line was
1010
1999
## --------- ##
3353
4136
IFS=$as_save_IFS
3354
4137
test -z "$as_dir" && as_dir=.
3355
for ac_exec_ext in '' $ac_executable_extensions; do
3356
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138
for ac_exec_ext in '' $ac_executable_extensions; do
4139
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357
4140
ac_cv_prog_PERL="perl"
3358
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364
4148
test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="perl"
3367
4151
PERL=$ac_cv_prog_PERL
3368
4152
if test -n "$PERL"; then
3369
echo "$as_me:$LINENO: result: $PERL" >&5
3370
echo "${ECHO_T}$PERL" >&6
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4154
$as_echo "$PERL" >&6; }
3372
echo "$as_me:$LINENO: result: no" >&5
3373
echo "${ECHO_T}no" >&6
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157
$as_echo "no" >&6; }
3377
4162
# Specialized system macros
3378
4163
# Make sure we can run config.sub.
3379
$ac_config_sub sun4 >/dev/null 2>&1 ||
3380
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3381
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3382
{ (exit 1); exit 1; }; }
4164
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4165
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3384
echo "$as_me:$LINENO: checking build system type" >&5
3385
echo $ECHO_N "checking build system type... $ECHO_C" >&6
3386
if test "${ac_cv_build+set}" = set; then
3387
echo $ECHO_N "(cached) $ECHO_C" >&6
4167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4168
$as_echo_n "checking build system type... " >&6; }
4169
if test "${ac_cv_build+set}" = set; then :
4170
$as_echo_n "(cached) " >&6
3389
ac_cv_build_alias=$build_alias
3390
test -z "$ac_cv_build_alias" &&
3391
ac_cv_build_alias=`$ac_config_guess`
3392
test -z "$ac_cv_build_alias" &&
3393
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3394
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3395
{ (exit 1); exit 1; }; }
3396
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3397
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3398
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3399
{ (exit 1); exit 1; }; }
4172
ac_build_alias=$build_alias
4173
test "x$ac_build_alias" = x &&
4174
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4175
test "x$ac_build_alias" = x &&
4176
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4177
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4178
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3402
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3403
echo "${ECHO_T}$ac_cv_build" >&6
4181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4182
$as_echo "$ac_cv_build" >&6; }
4183
case $ac_cv_build in
4185
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3404
4187
build=$ac_cv_build
3405
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3406
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3407
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3410
echo "$as_me:$LINENO: checking host system type" >&5
3411
echo $ECHO_N "checking host system type... $ECHO_C" >&6
3412
if test "${ac_cv_host+set}" = set; then
3413
echo $ECHO_N "(cached) $ECHO_C" >&6
3415
ac_cv_host_alias=$host_alias
3416
test -z "$ac_cv_host_alias" &&
3417
ac_cv_host_alias=$ac_cv_build_alias
3418
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3419
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3420
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3421
{ (exit 1); exit 1; }; }
3424
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3425
echo "${ECHO_T}$ac_cv_host" >&6
4188
ac_save_IFS=$IFS; IFS='-'
4194
# Remember, the first character of IFS is used to create $*,
4195
# except with old shells:
4198
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4202
$as_echo_n "checking host system type... " >&6; }
4203
if test "${ac_cv_host+set}" = set; then :
4204
$as_echo_n "(cached) " >&6
4206
if test "x$host_alias" = x; then
4207
ac_cv_host=$ac_cv_build
4209
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4210
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4215
$as_echo "$ac_cv_host" >&6; }
4218
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3426
4220
host=$ac_cv_host
3427
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3428
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3429
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3434
echo "$as_me:$LINENO: checking for egrep" >&5
3435
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3436
if test "${ac_cv_prog_egrep+set}" = set; then
3437
echo $ECHO_N "(cached) $ECHO_C" >&6
3439
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3440
then ac_cv_prog_egrep='grep -E'
3441
else ac_cv_prog_egrep='egrep'
3444
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3445
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3446
EGREP=$ac_cv_prog_egrep
3450
echo "$as_me:$LINENO: checking for AIX" >&5
3451
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3452
cat >conftest.$ac_ext <<_ACEOF
3455
cat confdefs.h >>conftest.$ac_ext
3456
cat >>conftest.$ac_ext <<_ACEOF
3457
/* end confdefs.h. */
3463
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3464
$EGREP "yes" >/dev/null 2>&1; then
3465
echo "$as_me:$LINENO: result: yes" >&5
3466
echo "${ECHO_T}yes" >&6
3467
cat >>confdefs.h <<\_ACEOF
3468
#define _ALL_SOURCE 1
3472
echo "$as_me:$LINENO: result: no" >&5
3473
echo "${ECHO_T}no" >&6
3478
echo "$as_me:$LINENO: checking for library containing strerror" >&5
3479
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3480
if test "${ac_cv_search_strerror+set}" = set; then
3481
echo $ECHO_N "(cached) $ECHO_C" >&6
3483
ac_func_search_save_LIBS=$LIBS
3484
ac_cv_search_strerror=no
3485
cat >conftest.$ac_ext <<_ACEOF
3488
cat confdefs.h >>conftest.$ac_ext
3489
cat >>conftest.$ac_ext <<_ACEOF
3490
/* end confdefs.h. */
3492
/* Override any gcc2 internal prototype to avoid an error. */
3496
/* We use char because int might match the return type of a gcc2
3497
builtin and then its argument prototype would still apply. */
3507
rm -f conftest.$ac_objext conftest$ac_exeext
3508
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3509
(eval $ac_link) 2>conftest.er1
3511
grep -v '^ *+' conftest.er1 >conftest.err
3513
cat conftest.err >&5
3514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
(exit $ac_status); } &&
3516
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3517
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521
(exit $ac_status); }; } &&
3522
{ ac_try='test -s conftest$ac_exeext'
3523
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527
(exit $ac_status); }; }; then
3528
ac_cv_search_strerror="none required"
3530
echo "$as_me: failed program was:" >&5
3531
sed 's/^/| /' conftest.$ac_ext >&5
3534
rm -f conftest.err conftest.$ac_objext \
3535
conftest$ac_exeext conftest.$ac_ext
3536
if test "$ac_cv_search_strerror" = no; then
3537
for ac_lib in cposix; do
3538
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3539
cat >conftest.$ac_ext <<_ACEOF
3542
cat confdefs.h >>conftest.$ac_ext
3543
cat >>conftest.$ac_ext <<_ACEOF
3544
/* end confdefs.h. */
3546
/* Override any gcc2 internal prototype to avoid an error. */
3550
/* We use char because int might match the return type of a gcc2
3551
builtin and then its argument prototype would still apply. */
3561
rm -f conftest.$ac_objext conftest$ac_exeext
3562
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3563
(eval $ac_link) 2>conftest.er1
3565
grep -v '^ *+' conftest.er1 >conftest.err
3567
cat conftest.err >&5
3568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569
(exit $ac_status); } &&
3570
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575
(exit $ac_status); }; } &&
3576
{ ac_try='test -s conftest$ac_exeext'
3577
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581
(exit $ac_status); }; }; then
3582
ac_cv_search_strerror="-l$ac_lib"
3585
echo "$as_me: failed program was:" >&5
3586
sed 's/^/| /' conftest.$ac_ext >&5
3589
rm -f conftest.err conftest.$ac_objext \
3590
conftest$ac_exeext conftest.$ac_ext
3593
LIBS=$ac_func_search_save_LIBS
3595
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3596
echo "${ECHO_T}$ac_cv_search_strerror" >&6
3597
if test "$ac_cv_search_strerror" != no; then
3598
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3602
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3603
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3604
if test "${ac_cv_header_stdc+set}" = set; then
3605
echo $ECHO_N "(cached) $ECHO_C" >&6
3607
cat >conftest.$ac_ext <<_ACEOF
3610
cat confdefs.h >>conftest.$ac_ext
3611
cat >>conftest.$ac_ext <<_ACEOF
4221
ac_save_IFS=$IFS; IFS='-'
4227
# Remember, the first character of IFS is used to create $*,
4228
# except with old shells:
4231
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4237
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4238
if test "${ac_cv_path_GREP+set}" = set; then :
4239
$as_echo_n "(cached) " >&6
4241
if test -z "$GREP"; then
4242
ac_path_GREP_found=false
4243
# Loop through the user's path and test for each of PROGNAME-LIST
4244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4248
test -z "$as_dir" && as_dir=.
4249
for ac_prog in grep ggrep; do
4250
for ac_exec_ext in '' $ac_executable_extensions; do
4251
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4252
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4253
# Check for GNU ac_path_GREP and select it if it is found.
4254
# Check for GNU $ac_path_GREP
4255
case `"$ac_path_GREP" --version 2>&1` in
4257
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4260
$as_echo_n 0123456789 >"conftest.in"
4263
cat "conftest.in" "conftest.in" >"conftest.tmp"
4264
mv "conftest.tmp" "conftest.in"
4265
cp "conftest.in" "conftest.nl"
4266
$as_echo 'GREP' >> "conftest.nl"
4267
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4268
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4269
as_fn_arith $ac_count + 1 && ac_count=$as_val
4270
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4271
# Best one so far, save it but keep looking for a better one
4272
ac_cv_path_GREP="$ac_path_GREP"
4273
ac_path_GREP_max=$ac_count
4275
# 10*(2^10) chars as input seems more than enough
4276
test $ac_count -gt 10 && break
4278
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4281
$ac_path_GREP_found && break 3
4286
if test -z "$ac_cv_path_GREP"; then
4287
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4290
ac_cv_path_GREP=$GREP
4294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4295
$as_echo "$ac_cv_path_GREP" >&6; }
4296
GREP="$ac_cv_path_GREP"
4299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4300
$as_echo_n "checking for egrep... " >&6; }
4301
if test "${ac_cv_path_EGREP+set}" = set; then :
4302
$as_echo_n "(cached) " >&6
4304
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4305
then ac_cv_path_EGREP="$GREP -E"
4307
if test -z "$EGREP"; then
4308
ac_path_EGREP_found=false
4309
# Loop through the user's path and test for each of PROGNAME-LIST
4310
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4314
test -z "$as_dir" && as_dir=.
4315
for ac_prog in egrep; do
4316
for ac_exec_ext in '' $ac_executable_extensions; do
4317
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4318
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4319
# Check for GNU ac_path_EGREP and select it if it is found.
4320
# Check for GNU $ac_path_EGREP
4321
case `"$ac_path_EGREP" --version 2>&1` in
4323
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4326
$as_echo_n 0123456789 >"conftest.in"
4329
cat "conftest.in" "conftest.in" >"conftest.tmp"
4330
mv "conftest.tmp" "conftest.in"
4331
cp "conftest.in" "conftest.nl"
4332
$as_echo 'EGREP' >> "conftest.nl"
4333
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4334
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4335
as_fn_arith $ac_count + 1 && ac_count=$as_val
4336
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4337
# Best one so far, save it but keep looking for a better one
4338
ac_cv_path_EGREP="$ac_path_EGREP"
4339
ac_path_EGREP_max=$ac_count
4341
# 10*(2^10) chars as input seems more than enough
4342
test $ac_count -gt 10 && break
4344
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4347
$ac_path_EGREP_found && break 3
4352
if test -z "$ac_cv_path_EGREP"; then
4353
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4356
ac_cv_path_EGREP=$EGREP
4361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4362
$as_echo "$ac_cv_path_EGREP" >&6; }
4363
EGREP="$ac_cv_path_EGREP"
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4367
$as_echo_n "checking for ANSI C header files... " >&6; }
4368
if test "${ac_cv_header_stdc+set}" = set; then :
4369
$as_echo_n "(cached) " >&6
4371
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612
4372
/* end confdefs.h. */
3613
4373
#include <stdlib.h>
3614
4374
#include <stdarg.h>
6631
6635
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6632
6636
if test $ac_header_dirent = dirent.h; then
6633
echo "$as_me:$LINENO: checking for library containing opendir" >&5
6634
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6635
if test "${ac_cv_search_opendir+set}" = set; then
6636
echo $ECHO_N "(cached) $ECHO_C" >&6
6638
ac_func_search_save_LIBS=$LIBS
6639
ac_cv_search_opendir=no
6640
cat >conftest.$ac_ext <<_ACEOF
6643
cat confdefs.h >>conftest.$ac_ext
6644
cat >>conftest.$ac_ext <<_ACEOF
6645
/* end confdefs.h. */
6647
/* Override any gcc2 internal prototype to avoid an error. */
6651
/* We use char because int might match the return type of a gcc2
6652
builtin and then its argument prototype would still apply. */
6662
rm -f conftest.$ac_objext conftest$ac_exeext
6663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6664
(eval $ac_link) 2>conftest.er1
6666
grep -v '^ *+' conftest.er1 >conftest.err
6668
cat conftest.err >&5
6669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670
(exit $ac_status); } &&
6671
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6672
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676
(exit $ac_status); }; } &&
6677
{ ac_try='test -s conftest$ac_exeext'
6678
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682
(exit $ac_status); }; }; then
6683
ac_cv_search_opendir="none required"
6685
echo "$as_me: failed program was:" >&5
6686
sed 's/^/| /' conftest.$ac_ext >&5
6689
rm -f conftest.err conftest.$ac_objext \
6690
conftest$ac_exeext conftest.$ac_ext
6691
if test "$ac_cv_search_opendir" = no; then
6692
for ac_lib in dir; do
6693
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6694
cat >conftest.$ac_ext <<_ACEOF
6697
cat confdefs.h >>conftest.$ac_ext
6698
cat >>conftest.$ac_ext <<_ACEOF
6699
/* end confdefs.h. */
6701
/* Override any gcc2 internal prototype to avoid an error. */
6705
/* We use char because int might match the return type of a gcc2
6706
builtin and then its argument prototype would still apply. */
6716
rm -f conftest.$ac_objext conftest$ac_exeext
6717
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6718
(eval $ac_link) 2>conftest.er1
6720
grep -v '^ *+' conftest.er1 >conftest.err
6722
cat conftest.err >&5
6723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724
(exit $ac_status); } &&
6725
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730
(exit $ac_status); }; } &&
6731
{ ac_try='test -s conftest$ac_exeext'
6732
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736
(exit $ac_status); }; }; then
6737
ac_cv_search_opendir="-l$ac_lib"
6740
echo "$as_me: failed program was:" >&5
6741
sed 's/^/| /' conftest.$ac_ext >&5
6744
rm -f conftest.err conftest.$ac_objext \
6745
conftest$ac_exeext conftest.$ac_ext
6748
LIBS=$ac_func_search_save_LIBS
6750
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6751
echo "${ECHO_T}$ac_cv_search_opendir" >&6
6752
if test "$ac_cv_search_opendir" != no; then
6753
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6758
echo "$as_me:$LINENO: checking for library containing opendir" >&5
6759
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6760
if test "${ac_cv_search_opendir+set}" = set; then
6761
echo $ECHO_N "(cached) $ECHO_C" >&6
6763
ac_func_search_save_LIBS=$LIBS
6764
ac_cv_search_opendir=no
6765
cat >conftest.$ac_ext <<_ACEOF
6768
cat confdefs.h >>conftest.$ac_ext
6769
cat >>conftest.$ac_ext <<_ACEOF
6770
/* end confdefs.h. */
6772
/* Override any gcc2 internal prototype to avoid an error. */
6776
/* We use char because int might match the return type of a gcc2
6777
builtin and then its argument prototype would still apply. */
6787
rm -f conftest.$ac_objext conftest$ac_exeext
6788
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6789
(eval $ac_link) 2>conftest.er1
6791
grep -v '^ *+' conftest.er1 >conftest.err
6793
cat conftest.err >&5
6794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795
(exit $ac_status); } &&
6796
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6797
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801
(exit $ac_status); }; } &&
6802
{ ac_try='test -s conftest$ac_exeext'
6803
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807
(exit $ac_status); }; }; then
6808
ac_cv_search_opendir="none required"
6810
echo "$as_me: failed program was:" >&5
6811
sed 's/^/| /' conftest.$ac_ext >&5
6814
rm -f conftest.err conftest.$ac_objext \
6815
conftest$ac_exeext conftest.$ac_ext
6816
if test "$ac_cv_search_opendir" = no; then
6818
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6819
cat >conftest.$ac_ext <<_ACEOF
6822
cat confdefs.h >>conftest.$ac_ext
6823
cat >>conftest.$ac_ext <<_ACEOF
6824
/* end confdefs.h. */
6826
/* Override any gcc2 internal prototype to avoid an error. */
6830
/* We use char because int might match the return type of a gcc2
6831
builtin and then its argument prototype would still apply. */
6841
rm -f conftest.$ac_objext conftest$ac_exeext
6842
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6843
(eval $ac_link) 2>conftest.er1
6845
grep -v '^ *+' conftest.er1 >conftest.err
6847
cat conftest.err >&5
6848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849
(exit $ac_status); } &&
6850
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6851
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855
(exit $ac_status); }; } &&
6856
{ ac_try='test -s conftest$ac_exeext'
6857
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861
(exit $ac_status); }; }; then
6862
ac_cv_search_opendir="-l$ac_lib"
6865
echo "$as_me: failed program was:" >&5
6866
sed 's/^/| /' conftest.$ac_ext >&5
6869
rm -f conftest.err conftest.$ac_objext \
6870
conftest$ac_exeext conftest.$ac_ext
6873
LIBS=$ac_func_search_save_LIBS
6875
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6876
echo "${ECHO_T}$ac_cv_search_opendir" >&6
6877
if test "$ac_cv_search_opendir" != no; then
6878
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6884
echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6885
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6886
if test "${ac_cv_header_stat_broken+set}" = set; then
6887
echo $ECHO_N "(cached) $ECHO_C" >&6
6889
cat >conftest.$ac_ext <<_ACEOF
6892
cat confdefs.h >>conftest.$ac_ext
6893
cat >>conftest.$ac_ext <<_ACEOF
6637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6638
$as_echo_n "checking for library containing opendir... " >&6; }
6639
if test "${ac_cv_search_opendir+set}" = set; then :
6640
$as_echo_n "(cached) " >&6
6642
ac_func_search_save_LIBS=$LIBS
6643
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6644
/* end confdefs.h. */
6646
/* Override any GCC internal prototype to avoid an error.
6647
Use char because int might match the return type of a GCC
6648
builtin and then its argument prototype would still apply. */
6661
for ac_lib in '' dir; do
6662
if test -z "$ac_lib"; then
6663
ac_res="none required"
6666
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6668
if ac_fn_c_try_link "$LINENO"; then :
6669
ac_cv_search_opendir=$ac_res
6671
rm -f core conftest.err conftest.$ac_objext \
6673
if test "${ac_cv_search_opendir+set}" = set; then :
6677
if test "${ac_cv_search_opendir+set}" = set; then :
6680
ac_cv_search_opendir=no
6683
LIBS=$ac_func_search_save_LIBS
6685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6686
$as_echo "$ac_cv_search_opendir" >&6; }
6687
ac_res=$ac_cv_search_opendir
6688
if test "$ac_res" != no; then :
6689
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6695
$as_echo_n "checking for library containing opendir... " >&6; }
6696
if test "${ac_cv_search_opendir+set}" = set; then :
6697
$as_echo_n "(cached) " >&6
6699
ac_func_search_save_LIBS=$LIBS
6700
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701
/* end confdefs.h. */
6703
/* Override any GCC internal prototype to avoid an error.
6704
Use char because int might match the return type of a GCC
6705
builtin and then its argument prototype would still apply. */
6718
for ac_lib in '' x; do
6719
if test -z "$ac_lib"; then
6720
ac_res="none required"
6723
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6725
if ac_fn_c_try_link "$LINENO"; then :
6726
ac_cv_search_opendir=$ac_res
6728
rm -f core conftest.err conftest.$ac_objext \
6730
if test "${ac_cv_search_opendir+set}" = set; then :
6734
if test "${ac_cv_search_opendir+set}" = set; then :
6737
ac_cv_search_opendir=no
6740
LIBS=$ac_func_search_save_LIBS
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6743
$as_echo "$ac_cv_search_opendir" >&6; }
6744
ac_res=$ac_cv_search_opendir
6745
if test "$ac_res" != no; then :
6746
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6753
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6754
if test "${ac_cv_header_stat_broken+set}" = set; then :
6755
$as_echo_n "(cached) " >&6
6757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894
6758
/* end confdefs.h. */
6895
6759
#include <sys/types.h>
6896
6760
#include <sys/stat.h>
6898
#if defined(S_ISBLK) && defined(S_IFDIR)
6899
# if S_ISBLK (S_IFDIR)
6904
#if defined(S_ISBLK) && defined(S_IFCHR)
6905
# if S_ISBLK (S_IFCHR)
6910
#if defined(S_ISLNK) && defined(S_IFREG)
6911
# if S_ISLNK (S_IFREG)
6916
#if defined(S_ISSOCK) && defined(S_IFREG)
6917
# if S_ISSOCK (S_IFREG)
6762
#if defined S_ISBLK && defined S_IFDIR
6763
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6766
#if defined S_ISBLK && defined S_IFCHR
6767
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6770
#if defined S_ISLNK && defined S_IFREG
6771
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6774
#if defined S_ISSOCK && defined S_IFREG
6775
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6923
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6924
$EGREP "You lose" >/dev/null 2>&1; then
6779
if ac_fn_c_try_compile "$LINENO"; then :
6780
ac_cv_header_stat_broken=no
6925
6782
ac_cv_header_stat_broken=yes
6927
ac_cv_header_stat_broken=no
6932
echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6933
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6784
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6787
$as_echo "$ac_cv_header_stat_broken" >&6; }
6934
6788
if test $ac_cv_header_stat_broken = yes; then
6936
cat >>confdefs.h <<\_ACEOF
6937
#define STAT_MACROS_BROKEN 1
6790
$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6942
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6943
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6944
if test "${ac_cv_header_time+set}" = set; then
6945
echo $ECHO_N "(cached) $ECHO_C" >&6
6794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6795
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6796
if test "${ac_cv_header_time+set}" = set; then :
6797
$as_echo_n "(cached) " >&6
6947
cat >conftest.$ac_ext <<_ACEOF
6950
cat confdefs.h >>conftest.$ac_ext
6951
cat >>conftest.$ac_ext <<_ACEOF
6799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952
6800
/* end confdefs.h. */
6953
6801
#include <sys/types.h>
6954
6802
#include <sys/time.h>
8203
7383
|| t.tv_sec < 0 || t.tv_usec < 0);
8206
rm -f conftest$ac_exeext
8207
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8208
(eval $ac_link) 2>&5
8210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8212
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8215
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216
(exit $ac_status); }; }; then
7386
if ac_fn_c_try_run "$LINENO"; then :
8217
7387
ac_cv_func_gettimeofday=yes
8219
echo "$as_me: program exited with status $ac_status" >&5
8220
echo "$as_me: failed program was:" >&5
8221
sed 's/^/| /' conftest.$ac_ext >&5
7389
ac_cv_func_gettimeofday=no
7391
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7392
conftest.$ac_objext conftest.beam conftest.$ac_ext
8224
ac_cv_func_gettimeofday=no
8226
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8229
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
8230
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gettimeofday" >&5
7397
$as_echo "$ac_cv_func_gettimeofday" >&6; }
8231
7398
if test "$ac_cv_func_gettimeofday" = yes; then
8233
cat >>confdefs.h <<\_ACEOF
8234
#define HAVE_GETTIMEOFDAY 1
7400
$as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
8267
7404
for ac_func in memcpy memmove strchr strdup mkstemp mktemp fdopen \
8268
7405
bsd_signal dup2 getcwd realpath sigsetmask sigaction \
8269
7406
getgroups seteuid setegid setlinebuf setreuid setregid \
8270
7407
getrlimit setrlimit setvbuf pipe strerror strsignal \
8271
7408
lstat readlink atexit
8273
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8274
echo "$as_me:$LINENO: checking for $ac_func" >&5
8275
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8276
if eval "test \"\${$as_ac_var+set}\" = set"; then
8277
echo $ECHO_N "(cached) $ECHO_C" >&6
8279
cat >conftest.$ac_ext <<_ACEOF
8282
cat confdefs.h >>conftest.$ac_ext
8283
cat >>conftest.$ac_ext <<_ACEOF
8284
/* end confdefs.h. */
8285
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8286
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8287
#define $ac_func innocuous_$ac_func
8289
/* System header to define __stub macros and hopefully few prototypes,
8290
which can conflict with char $ac_func (); below.
8291
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8292
<limits.h> exists even on freestanding compilers. */
8295
# include <limits.h>
8297
# include <assert.h>
8302
/* Override any gcc2 internal prototype to avoid an error. */
8307
/* We use char because int might match the return type of a gcc2
8308
builtin and then its argument prototype would still apply. */
8310
/* The GNU C library defines this for functions which it implements
8311
to always fail with ENOSYS. Some functions are actually named
8312
something starting with __ and the normal name is an alias. */
8313
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8316
char (*f) () = $ac_func;
8325
return f != $ac_func;
8330
rm -f conftest.$ac_objext conftest$ac_exeext
8331
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8332
(eval $ac_link) 2>conftest.er1
8334
grep -v '^ *+' conftest.er1 >conftest.err
8336
cat conftest.err >&5
8337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338
(exit $ac_status); } &&
8339
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8340
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344
(exit $ac_status); }; } &&
8345
{ ac_try='test -s conftest$ac_exeext'
8346
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350
(exit $ac_status); }; }; then
8351
eval "$as_ac_var=yes"
8353
echo "$as_me: failed program was:" >&5
8354
sed 's/^/| /' conftest.$ac_ext >&5
8356
eval "$as_ac_var=no"
8358
rm -f conftest.err conftest.$ac_objext \
8359
conftest$ac_exeext conftest.$ac_ext
8361
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8362
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8363
if test `eval echo '${'$as_ac_var'}'` = yes; then
7410
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7411
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7412
eval as_val=\$$as_ac_var
7413
if test "x$as_val" = x""yes; then :
8364
7414
cat >>confdefs.h <<_ACEOF
8365
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7415
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8372
echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
8373
echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
8374
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
8375
echo $ECHO_N "(cached) $ECHO_C" >&6
7422
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
7423
$as_echo_n "(cached) " >&6
8377
7425
ac_cv_func_setvbuf_reversed=no
8378
cat >conftest.$ac_ext <<_ACEOF
8381
cat confdefs.h >>conftest.$ac_ext
8382
cat >>conftest.$ac_ext <<_ACEOF
8383
/* end confdefs.h. */
8386
int (setvbuf) (FILE *, int, char *, size_t);
8391
char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
8396
rm -f conftest.$ac_objext conftest$ac_exeext
8397
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8398
(eval $ac_link) 2>conftest.er1
8400
grep -v '^ *+' conftest.er1 >conftest.err
8402
cat conftest.err >&5
8403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404
(exit $ac_status); } &&
8405
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8406
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410
(exit $ac_status); }; } &&
8411
{ ac_try='test -s conftest$ac_exeext'
8412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416
(exit $ac_status); }; }; then
8417
cat >conftest.$ac_ext <<_ACEOF
8420
cat confdefs.h >>conftest.$ac_ext
8421
cat >>conftest.$ac_ext <<_ACEOF
8422
/* end confdefs.h. */
8425
int (setvbuf) (FILE *, int, char *, size_t);
8430
char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
8435
rm -f conftest.$ac_objext conftest$ac_exeext
8436
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8437
(eval $ac_link) 2>conftest.er1
8439
grep -v '^ *+' conftest.er1 >conftest.err
8441
cat conftest.err >&5
8442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443
(exit $ac_status); } &&
8444
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8445
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449
(exit $ac_status); }; } &&
8450
{ ac_try='test -s conftest$ac_exeext'
8451
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455
(exit $ac_status); }; }; then
8456
# It compiles and links either way, so it must not be declared
8457
# with a prototype and most likely this is a K&R C compiler.
8459
if test "$cross_compiling" = yes; then
8460
: # Assume setvbuf is not reversed when cross-compiling.
8462
cat >conftest.$ac_ext <<_ACEOF
8465
cat confdefs.h >>conftest.$ac_ext
8466
cat >>conftest.$ac_ext <<_ACEOF
8467
/* end confdefs.h. */
8472
/* This call has the arguments reversed.
8473
A reversed system may check and see that the address of buf
8474
is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
8476
if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
8479
exit (0); /* Non-reversed systems SEGV here. */
8484
rm -f conftest$ac_exeext
8485
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8486
(eval $ac_link) 2>&5
8488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8490
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494
(exit $ac_status); }; }; then
8495
ac_cv_func_setvbuf_reversed=yes
8497
echo "$as_me: program exited with status $ac_status" >&5
8498
echo "$as_me: failed program was:" >&5
8499
sed 's/^/| /' conftest.$ac_ext >&5
8504
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8506
ac_cv_func_setvbuf_reversed=yes
8508
echo "$as_me: failed program was:" >&5
8509
sed 's/^/| /' conftest.$ac_ext >&5
8512
rm -f conftest.err conftest.$ac_objext \
8513
conftest$ac_exeext conftest.$ac_ext
8515
echo "$as_me: failed program was:" >&5
8516
sed 's/^/| /' conftest.$ac_ext >&5
8519
rm -f conftest.err conftest.$ac_objext \
8520
conftest$ac_exeext conftest.$ac_ext
8522
echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
8523
echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
8524
if test $ac_cv_func_setvbuf_reversed = yes; then
8526
cat >>confdefs.h <<\_ACEOF
8527
#define SETVBUF_REVERSED 1
8533
7430
# strcoll() is used by the GNU glob library
8534
echo "$as_me:$LINENO: checking for working strcoll" >&5
8535
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
8536
if test "${ac_cv_func_strcoll_works+set}" = set; then
8537
echo $ECHO_N "(cached) $ECHO_C" >&6
7431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
7432
$as_echo_n "checking for working strcoll... " >&6; }
7433
if test "${ac_cv_func_strcoll_works+set}" = set; then :
7434
$as_echo_n "(cached) " >&6
8539
if test "$cross_compiling" = yes; then
7436
if test "$cross_compiling" = yes; then :
8540
7437
ac_cv_func_strcoll_works=no
8542
cat >conftest.$ac_ext <<_ACEOF
8545
cat confdefs.h >>conftest.$ac_ext
8546
cat >>conftest.$ac_ext <<_ACEOF
7439
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547
7440
/* end confdefs.h. */
8548
7441
$ac_includes_default
8552
exit (strcoll ("abc", "def") >= 0 ||
7445
return (strcoll ("abc", "def") >= 0 ||
8553
7446
strcoll ("ABC", "DEF") >= 0 ||
8554
7447
strcoll ("123", "456") >= 0)
8559
rm -f conftest$ac_exeext
8560
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561
(eval $ac_link) 2>&5
8563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569
(exit $ac_status); }; }; then
7452
if ac_fn_c_try_run "$LINENO"; then :
8570
7453
ac_cv_func_strcoll_works=yes
8572
echo "$as_me: program exited with status $ac_status" >&5
8573
echo "$as_me: failed program was:" >&5
8574
sed 's/^/| /' conftest.$ac_ext >&5
7455
ac_cv_func_strcoll_works=no
7457
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7458
conftest.$ac_objext conftest.beam conftest.$ac_ext
8577
ac_cv_func_strcoll_works=no
8579
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8582
echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
8583
echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
7462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
7463
$as_echo "$ac_cv_func_strcoll_works" >&6; }
8584
7464
if test $ac_cv_func_strcoll_works = yes; then
8586
cat >>confdefs.h <<\_ACEOF
8587
#define HAVE_STRCOLL 1
7466
$as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
8593
7471
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8594
7472
# for constant arguments. Useless!
8595
echo "$as_me:$LINENO: checking for working alloca.h" >&5
8596
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8597
if test "${ac_cv_working_alloca_h+set}" = set; then
8598
echo $ECHO_N "(cached) $ECHO_C" >&6
7473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7474
$as_echo_n "checking for working alloca.h... " >&6; }
7475
if test "${ac_cv_working_alloca_h+set}" = set; then :
7476
$as_echo_n "(cached) " >&6
8600
cat >conftest.$ac_ext <<_ACEOF
8603
cat confdefs.h >>conftest.$ac_ext
8604
cat >>conftest.$ac_ext <<_ACEOF
7478
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8605
7479
/* end confdefs.h. */
8606
7480
#include <alloca.h>
8610
7484
char *p = (char *) alloca (2 * sizeof (int));
8615
rm -f conftest.$ac_objext conftest$ac_exeext
8616
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8617
(eval $ac_link) 2>conftest.er1
8619
grep -v '^ *+' conftest.er1 >conftest.err
8621
cat conftest.err >&5
8622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623
(exit $ac_status); } &&
8624
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8625
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629
(exit $ac_status); }; } &&
8630
{ ac_try='test -s conftest$ac_exeext'
8631
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635
(exit $ac_status); }; }; then
7490
if ac_fn_c_try_link "$LINENO"; then :
8636
7491
ac_cv_working_alloca_h=yes
8638
echo "$as_me: failed program was:" >&5
8639
sed 's/^/| /' conftest.$ac_ext >&5
8641
ac_cv_working_alloca_h=no
8643
rm -f conftest.err conftest.$ac_objext \
8644
conftest$ac_exeext conftest.$ac_ext
8646
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8647
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7493
ac_cv_working_alloca_h=no
7495
rm -f core conftest.err conftest.$ac_objext \
7496
conftest$ac_exeext conftest.$ac_ext
7498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7499
$as_echo "$ac_cv_working_alloca_h" >&6; }
8648
7500
if test $ac_cv_working_alloca_h = yes; then
8650
cat >>confdefs.h <<\_ACEOF
8651
#define HAVE_ALLOCA_H 1
7502
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
8656
echo "$as_me:$LINENO: checking for alloca" >&5
8657
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8658
if test "${ac_cv_func_alloca_works+set}" = set; then
8659
echo $ECHO_N "(cached) $ECHO_C" >&6
7506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7507
$as_echo_n "checking for alloca... " >&6; }
7508
if test "${ac_cv_func_alloca_works+set}" = set; then :
7509
$as_echo_n "(cached) " >&6
8661
cat >conftest.$ac_ext <<_ACEOF
8664
cat confdefs.h >>conftest.$ac_ext
8665
cat >>conftest.$ac_ext <<_ACEOF
7511
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666
7512
/* end confdefs.h. */
8667
7513
#ifdef __GNUC__
8668
7514
# define alloca __builtin_alloca
10272
8194
# Make sure it is really in the library, if we think we found it,
10273
8195
# otherwise set up the replacement function.
10275
8196
for ac_func in getloadavg
10277
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10278
echo "$as_me:$LINENO: checking for $ac_func" >&5
10279
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10280
if eval "test \"\${$as_ac_var+set}\" = set"; then
10281
echo $ECHO_N "(cached) $ECHO_C" >&6
10283
cat >conftest.$ac_ext <<_ACEOF
10286
cat confdefs.h >>conftest.$ac_ext
10287
cat >>conftest.$ac_ext <<_ACEOF
10288
/* end confdefs.h. */
10289
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10290
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10291
#define $ac_func innocuous_$ac_func
10293
/* System header to define __stub macros and hopefully few prototypes,
10294
which can conflict with char $ac_func (); below.
10295
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10296
<limits.h> exists even on freestanding compilers. */
10299
# include <limits.h>
10301
# include <assert.h>
10306
/* Override any gcc2 internal prototype to avoid an error. */
10311
/* We use char because int might match the return type of a gcc2
10312
builtin and then its argument prototype would still apply. */
10314
/* The GNU C library defines this for functions which it implements
10315
to always fail with ENOSYS. Some functions are actually named
10316
something starting with __ and the normal name is an alias. */
10317
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10320
char (*f) () = $ac_func;
10329
return f != $ac_func;
10334
rm -f conftest.$ac_objext conftest$ac_exeext
10335
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10336
(eval $ac_link) 2>conftest.er1
10338
grep -v '^ *+' conftest.er1 >conftest.err
10340
cat conftest.err >&5
10341
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342
(exit $ac_status); } &&
10343
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10344
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345
(eval $ac_try) 2>&5
10347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348
(exit $ac_status); }; } &&
10349
{ ac_try='test -s conftest$ac_exeext'
10350
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351
(eval $ac_try) 2>&5
10353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354
(exit $ac_status); }; }; then
10355
eval "$as_ac_var=yes"
10357
echo "$as_me: failed program was:" >&5
10358
sed 's/^/| /' conftest.$ac_ext >&5
10360
eval "$as_ac_var=no"
10362
rm -f conftest.err conftest.$ac_objext \
10363
conftest$ac_exeext conftest.$ac_ext
10365
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10366
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10367
if test `eval echo '${'$as_ac_var'}'` = yes; then
8198
ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
8199
if test "x$ac_cv_func_getloadavg" = x""yes; then :
10368
8200
cat >>confdefs.h <<_ACEOF
10369
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8201
#define HAVE_GETLOADAVG 1
10374
"getloadavg.$ac_objext" | \
10375
*" getloadavg.$ac_objext" | \
10376
"getloadavg.$ac_objext "* | \
8205
case " $LIBOBJS " in
10377
8206
*" getloadavg.$ac_objext "* ) ;;
10378
*) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" ;;
8207
*) LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
10382
cat >>confdefs.h <<\_ACEOF
10383
#define C_GETLOADAVG 1
8212
$as_echo "#define C_GETLOADAVG 1" >>confdefs.h
10386
8214
# Figure out what our getloadavg.c needs.
10387
8215
ac_have_func=no
10388
if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
10389
echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
10390
echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
10391
if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
10392
echo $ECHO_N "(cached) $ECHO_C" >&6
10394
echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
10395
echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
10397
# Is the header compilable?
10398
echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
10399
echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
10400
cat >conftest.$ac_ext <<_ACEOF
10403
cat confdefs.h >>conftest.$ac_ext
10404
cat >>conftest.$ac_ext <<_ACEOF
10405
/* end confdefs.h. */
10406
$ac_includes_default
10407
#include <sys/dg_sys_info.h>
10409
rm -f conftest.$ac_objext
10410
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10411
(eval $ac_compile) 2>conftest.er1
10413
grep -v '^ *+' conftest.er1 >conftest.err
10415
cat conftest.err >&5
10416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417
(exit $ac_status); } &&
10418
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10419
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10420
(eval $ac_try) 2>&5
10422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423
(exit $ac_status); }; } &&
10424
{ ac_try='test -s conftest.$ac_objext'
10425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10426
(eval $ac_try) 2>&5
10428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429
(exit $ac_status); }; }; then
10430
ac_header_compiler=yes
10432
echo "$as_me: failed program was:" >&5
10433
sed 's/^/| /' conftest.$ac_ext >&5
10435
ac_header_compiler=no
10437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10438
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10439
echo "${ECHO_T}$ac_header_compiler" >&6
10441
# Is the header present?
10442
echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
10443
echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
10444
cat >conftest.$ac_ext <<_ACEOF
10447
cat confdefs.h >>conftest.$ac_ext
10448
cat >>conftest.$ac_ext <<_ACEOF
10449
/* end confdefs.h. */
10450
#include <sys/dg_sys_info.h>
10452
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10453
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10455
grep -v '^ *+' conftest.er1 >conftest.err
10457
cat conftest.err >&5
10458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459
(exit $ac_status); } >/dev/null; then
10460
if test -s conftest.err; then
10461
ac_cpp_err=$ac_c_preproc_warn_flag
10462
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10469
if test -z "$ac_cpp_err"; then
10470
ac_header_preproc=yes
10472
echo "$as_me: failed program was:" >&5
10473
sed 's/^/| /' conftest.$ac_ext >&5
10475
ac_header_preproc=no
10477
rm -f conftest.err conftest.$ac_ext
10478
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10479
echo "${ECHO_T}$ac_header_preproc" >&6
10481
# So? What about this header?
10482
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10484
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
10485
echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10486
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
10487
echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
10488
ac_header_preproc=yes
10491
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
10492
echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
10493
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
10494
echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
10495
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
10496
echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
10497
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
10498
echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
10499
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
10500
echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
10501
{ echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
10502
echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
10505
## ------------------------------- ##
10506
## Report this to bug-make@gnu.org ##
10507
## ------------------------------- ##
10510
sed "s/^/$as_me: WARNING: /" >&2
10513
echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
10514
echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
10515
if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
10516
echo $ECHO_N "(cached) $ECHO_C" >&6
10518
ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
10520
echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
10521
echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
10524
if test $ac_cv_header_sys_dg_sys_info_h = yes; then
8216
ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
8217
if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then :
10525
8218
ac_have_func=yes
10527
cat >>confdefs.h <<\_ACEOF
10532
echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
10533
echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
10534
if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
10535
echo $ECHO_N "(cached) $ECHO_C" >&6
8220
$as_echo "#define DGUX 1" >>confdefs.h
8222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
8223
$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
8224
if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then :
8225
$as_echo_n "(cached) " >&6
10537
8227
ac_check_lib_save_LIBS=$LIBS
10538
8228
LIBS="-ldgc $LIBS"
10539
cat >conftest.$ac_ext <<_ACEOF
10542
cat confdefs.h >>conftest.$ac_ext
10543
cat >>conftest.$ac_ext <<_ACEOF
8229
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544
8230
/* end confdefs.h. */
10546
/* Override any gcc2 internal prototype to avoid an error. */
8232
/* Override any GCC internal prototype to avoid an error.
8233
Use char because int might match the return type of a GCC
8234
builtin and then its argument prototype would still apply. */
10547
8235
#ifdef __cplusplus
10550
/* We use char because int might match the return type of a gcc2
10551
builtin and then its argument prototype would still apply. */
10552
8238
char dg_sys_info ();
8242
return dg_sys_info ();
10561
rm -f conftest.$ac_objext conftest$ac_exeext
10562
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10563
(eval $ac_link) 2>conftest.er1
10565
grep -v '^ *+' conftest.er1 >conftest.err
10567
cat conftest.err >&5
10568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569
(exit $ac_status); } &&
10570
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572
(eval $ac_try) 2>&5
10574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575
(exit $ac_status); }; } &&
10576
{ ac_try='test -s conftest$ac_exeext'
10577
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578
(eval $ac_try) 2>&5
10580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581
(exit $ac_status); }; }; then
8247
if ac_fn_c_try_link "$LINENO"; then :
10582
8248
ac_cv_lib_dgc_dg_sys_info=yes
10584
echo "$as_me: failed program was:" >&5
10585
sed 's/^/| /' conftest.$ac_ext >&5
10587
ac_cv_lib_dgc_dg_sys_info=no
8250
ac_cv_lib_dgc_dg_sys_info=no
10589
rm -f conftest.err conftest.$ac_objext \
10590
conftest$ac_exeext conftest.$ac_ext
8252
rm -f core conftest.err conftest.$ac_objext \
8253
conftest$ac_exeext conftest.$ac_ext
10591
8254
LIBS=$ac_check_lib_save_LIBS
10593
echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
10594
echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
10595
if test $ac_cv_lib_dgc_dg_sys_info = yes; then
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
8257
$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
8258
if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then :
10596
8259
cat >>confdefs.h <<_ACEOF
10597
8260
#define HAVE_LIBDGC 1
10851
8292
if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
10852
8293
ac_have_func=yes
10854
cat >>confdefs.h <<\_ACEOF
8295
$as_echo "#define SVR4 1" >>confdefs.h
10860
8299
if test $ac_have_func = no; then
10861
if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
10862
echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
10863
echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
10864
if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
10865
echo $ECHO_N "(cached) $ECHO_C" >&6
10867
echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
10868
echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
10870
# Is the header compilable?
10871
echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
10872
echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
10873
cat >conftest.$ac_ext <<_ACEOF
10876
cat confdefs.h >>conftest.$ac_ext
10877
cat >>conftest.$ac_ext <<_ACEOF
10878
/* end confdefs.h. */
10879
$ac_includes_default
10880
#include <inq_stats/cpustats.h>
10882
rm -f conftest.$ac_objext
10883
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10884
(eval $ac_compile) 2>conftest.er1
10886
grep -v '^ *+' conftest.er1 >conftest.err
10888
cat conftest.err >&5
10889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890
(exit $ac_status); } &&
10891
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10892
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893
(eval $ac_try) 2>&5
10895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896
(exit $ac_status); }; } &&
10897
{ ac_try='test -s conftest.$ac_objext'
10898
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899
(eval $ac_try) 2>&5
10901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902
(exit $ac_status); }; }; then
10903
ac_header_compiler=yes
10905
echo "$as_me: failed program was:" >&5
10906
sed 's/^/| /' conftest.$ac_ext >&5
10908
ac_header_compiler=no
10910
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10911
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10912
echo "${ECHO_T}$ac_header_compiler" >&6
10914
# Is the header present?
10915
echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
10916
echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
10917
cat >conftest.$ac_ext <<_ACEOF
10920
cat confdefs.h >>conftest.$ac_ext
10921
cat >>conftest.$ac_ext <<_ACEOF
10922
/* end confdefs.h. */
10923
#include <inq_stats/cpustats.h>
10925
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10926
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10928
grep -v '^ *+' conftest.er1 >conftest.err
10930
cat conftest.err >&5
10931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932
(exit $ac_status); } >/dev/null; then
10933
if test -s conftest.err; then
10934
ac_cpp_err=$ac_c_preproc_warn_flag
10935
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10942
if test -z "$ac_cpp_err"; then
10943
ac_header_preproc=yes
10945
echo "$as_me: failed program was:" >&5
10946
sed 's/^/| /' conftest.$ac_ext >&5
10948
ac_header_preproc=no
10950
rm -f conftest.err conftest.$ac_ext
10951
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10952
echo "${ECHO_T}$ac_header_preproc" >&6
10954
# So? What about this header?
10955
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10957
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
10958
echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10959
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
10960
echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
10961
ac_header_preproc=yes
10964
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
10965
echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
10966
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
10967
echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
10968
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
10969
echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
10970
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
10971
echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
10972
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
10973
echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
10974
{ echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
10975
echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
10978
## ------------------------------- ##
10979
## Report this to bug-make@gnu.org ##
10980
## ------------------------------- ##
10983
sed "s/^/$as_me: WARNING: /" >&2
10986
echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
10987
echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
10988
if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
10989
echo $ECHO_N "(cached) $ECHO_C" >&6
10991
ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
10993
echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
10994
echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
10997
if test $ac_cv_header_inq_stats_cpustats_h = yes; then
8300
ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
8301
if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then :
10998
8302
ac_have_func=yes
11000
cat >>confdefs.h <<\_ACEOF
11005
cat >>confdefs.h <<\_ACEOF
11014
if test $ac_have_func = no; then
11015
if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11016
echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11017
echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11018
if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11019
echo $ECHO_N "(cached) $ECHO_C" >&6
11021
echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
11022
echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11024
# Is the header compilable?
11025
echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
11026
echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
11027
cat >conftest.$ac_ext <<_ACEOF
11030
cat confdefs.h >>conftest.$ac_ext
11031
cat >>conftest.$ac_ext <<_ACEOF
11032
/* end confdefs.h. */
11033
$ac_includes_default
11034
#include <sys/cpustats.h>
11036
rm -f conftest.$ac_objext
11037
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11038
(eval $ac_compile) 2>conftest.er1
11040
grep -v '^ *+' conftest.er1 >conftest.err
11042
cat conftest.err >&5
11043
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044
(exit $ac_status); } &&
11045
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11046
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11047
(eval $ac_try) 2>&5
11049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050
(exit $ac_status); }; } &&
11051
{ ac_try='test -s conftest.$ac_objext'
11052
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053
(eval $ac_try) 2>&5
11055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056
(exit $ac_status); }; }; then
11057
ac_header_compiler=yes
11059
echo "$as_me: failed program was:" >&5
11060
sed 's/^/| /' conftest.$ac_ext >&5
11062
ac_header_compiler=no
11064
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11065
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11066
echo "${ECHO_T}$ac_header_compiler" >&6
11068
# Is the header present?
11069
echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
11070
echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
11071
cat >conftest.$ac_ext <<_ACEOF
11074
cat confdefs.h >>conftest.$ac_ext
11075
cat >>conftest.$ac_ext <<_ACEOF
11076
/* end confdefs.h. */
11077
#include <sys/cpustats.h>
11079
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11080
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11082
grep -v '^ *+' conftest.er1 >conftest.err
11084
cat conftest.err >&5
11085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086
(exit $ac_status); } >/dev/null; then
11087
if test -s conftest.err; then
11088
ac_cpp_err=$ac_c_preproc_warn_flag
11089
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11096
if test -z "$ac_cpp_err"; then
11097
ac_header_preproc=yes
11099
echo "$as_me: failed program was:" >&5
11100
sed 's/^/| /' conftest.$ac_ext >&5
11102
ac_header_preproc=no
11104
rm -f conftest.err conftest.$ac_ext
11105
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11106
echo "${ECHO_T}$ac_header_preproc" >&6
11108
# So? What about this header?
11109
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11111
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11112
echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11113
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
11114
echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
11115
ac_header_preproc=yes
11118
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
11119
echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
11120
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
11121
echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
11122
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
11123
echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
11124
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
11125
echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
11126
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11127
echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
11128
{ echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
11129
echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
11132
## ------------------------------- ##
11133
## Report this to bug-make@gnu.org ##
11134
## ------------------------------- ##
11137
sed "s/^/$as_me: WARNING: /" >&2
11140
echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11141
echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11142
if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11143
echo $ECHO_N "(cached) $ECHO_C" >&6
11145
ac_cv_header_sys_cpustats_h=$ac_header_preproc
11147
echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
11148
echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11151
if test $ac_cv_header_sys_cpustats_h = yes; then
11152
ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
11161
if test $ac_have_func = no; then
11163
for ac_header in mach/mach.h
11165
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11166
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11167
echo "$as_me:$LINENO: checking for $ac_header" >&5
11168
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11169
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11170
echo $ECHO_N "(cached) $ECHO_C" >&6
11172
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11173
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11175
# Is the header compilable?
11176
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11177
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11178
cat >conftest.$ac_ext <<_ACEOF
11181
cat confdefs.h >>conftest.$ac_ext
11182
cat >>conftest.$ac_ext <<_ACEOF
11183
/* end confdefs.h. */
11184
$ac_includes_default
11185
#include <$ac_header>
11187
rm -f conftest.$ac_objext
11188
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11189
(eval $ac_compile) 2>conftest.er1
11191
grep -v '^ *+' conftest.er1 >conftest.err
11193
cat conftest.err >&5
11194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195
(exit $ac_status); } &&
11196
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198
(eval $ac_try) 2>&5
11200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201
(exit $ac_status); }; } &&
11202
{ ac_try='test -s conftest.$ac_objext'
11203
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204
(eval $ac_try) 2>&5
11206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207
(exit $ac_status); }; }; then
11208
ac_header_compiler=yes
11210
echo "$as_me: failed program was:" >&5
11211
sed 's/^/| /' conftest.$ac_ext >&5
11213
ac_header_compiler=no
11215
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11216
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11217
echo "${ECHO_T}$ac_header_compiler" >&6
11219
# Is the header present?
11220
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11221
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11222
cat >conftest.$ac_ext <<_ACEOF
11225
cat confdefs.h >>conftest.$ac_ext
11226
cat >>conftest.$ac_ext <<_ACEOF
11227
/* end confdefs.h. */
11228
#include <$ac_header>
11230
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11231
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11233
grep -v '^ *+' conftest.er1 >conftest.err
11235
cat conftest.err >&5
11236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237
(exit $ac_status); } >/dev/null; then
11238
if test -s conftest.err; then
11239
ac_cpp_err=$ac_c_preproc_warn_flag
11240
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11247
if test -z "$ac_cpp_err"; then
11248
ac_header_preproc=yes
11250
echo "$as_me: failed program was:" >&5
11251
sed 's/^/| /' conftest.$ac_ext >&5
11253
ac_header_preproc=no
11255
rm -f conftest.err conftest.$ac_ext
11256
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11257
echo "${ECHO_T}$ac_header_preproc" >&6
11259
# So? What about this header?
11260
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11262
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11263
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11264
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11265
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11266
ac_header_preproc=yes
11269
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11270
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11271
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11272
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11273
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11274
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11275
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11276
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11277
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11278
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11279
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11280
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11283
## ------------------------------- ##
11284
## Report this to bug-make@gnu.org ##
11285
## ------------------------------- ##
11288
sed "s/^/$as_me: WARNING: /" >&2
11291
echo "$as_me:$LINENO: checking for $ac_header" >&5
11292
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11293
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11294
echo $ECHO_N "(cached) $ECHO_C" >&6
11296
eval "$as_ac_Header=\$ac_header_preproc"
11298
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11299
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11302
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8304
$as_echo "#define UMAX 1" >>confdefs.h
8307
$as_echo "#define UMAX4_3 1" >>confdefs.h
8314
if test $ac_have_func = no; then
8315
ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
8316
if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then :
8317
ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h
8324
if test $ac_have_func = no; then
8325
for ac_header in mach/mach.h
8327
ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8328
if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
11303
8329
cat >>confdefs.h <<_ACEOF
11304
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8330
#define HAVE_MACH_MACH_H 1
11669
rm -f conftest.$ac_objext
11670
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11671
(eval $ac_compile) 2>conftest.er1
11673
grep -v '^ *+' conftest.er1 >conftest.err
11675
cat conftest.err >&5
11676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677
(exit $ac_status); } &&
11678
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680
(eval $ac_try) 2>&5
11682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683
(exit $ac_status); }; } &&
11684
{ ac_try='test -s conftest.$ac_objext'
11685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686
(eval $ac_try) 2>&5
11688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689
(exit $ac_status); }; }; then
8447
if ac_fn_c_try_compile "$LINENO"; then :
11690
8448
make_cv_nlist_struct=yes
11692
echo "$as_me: failed program was:" >&5
11693
sed 's/^/| /' conftest.$ac_ext >&5
11695
make_cv_nlist_struct=no
8450
make_cv_nlist_struct=no
11697
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8452
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11698
8453
if test "$make_cv_nlist_struct" = yes; then
11700
cat >>confdefs.h <<\_ACEOF
11701
#define NLIST_STRUCT 1
8455
$as_echo "#define NLIST_STRUCT 1" >>confdefs.h
11707
echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
11708
echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
11709
if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
11710
echo $ECHO_N "(cached) $ECHO_C" >&6
11712
cat >conftest.$ac_ext <<_ACEOF
11715
cat confdefs.h >>conftest.$ac_ext
11716
cat >>conftest.$ac_ext <<_ACEOF
11717
/* end confdefs.h. */
11718
$ac_includes_default
11719
#include <signal.h>
11720
/* NetBSD declares sys_siglist in unistd.h. */
11722
# include <unistd.h>
11729
#ifndef sys_siglist
11730
char *p = (char *) sys_siglist;
11737
rm -f conftest.$ac_objext
11738
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11739
(eval $ac_compile) 2>conftest.er1
11741
grep -v '^ *+' conftest.er1 >conftest.err
11743
cat conftest.err >&5
11744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745
(exit $ac_status); } &&
11746
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11747
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748
(eval $ac_try) 2>&5
11750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751
(exit $ac_status); }; } &&
11752
{ ac_try='test -s conftest.$ac_objext'
11753
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754
(eval $ac_try) 2>&5
11756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757
(exit $ac_status); }; }; then
11758
ac_cv_have_decl_sys_siglist=yes
11760
echo "$as_me: failed program was:" >&5
11761
sed 's/^/| /' conftest.$ac_ext >&5
11763
ac_cv_have_decl_sys_siglist=no
11765
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11767
echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
11768
echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
11769
if test $ac_cv_have_decl_sys_siglist = yes; then
11771
cat >>confdefs.h <<_ACEOF
11772
#define HAVE_DECL_SYS_SIGLIST 1
11777
cat >>confdefs.h <<_ACEOF
11778
#define HAVE_DECL_SYS_SIGLIST 0
11783
echo "$as_me:$LINENO: checking whether _sys_siglist is declared" >&5
11784
echo $ECHO_N "checking whether _sys_siglist is declared... $ECHO_C" >&6
11785
if test "${ac_cv_have_decl__sys_siglist+set}" = set; then
11786
echo $ECHO_N "(cached) $ECHO_C" >&6
11788
cat >conftest.$ac_ext <<_ACEOF
11791
cat confdefs.h >>conftest.$ac_ext
11792
cat >>conftest.$ac_ext <<_ACEOF
11793
/* end confdefs.h. */
11794
$ac_includes_default
11795
#include <signal.h>
11796
/* NetBSD declares sys_siglist in unistd.h. */
11798
# include <unistd.h>
11805
#ifndef _sys_siglist
11806
char *p = (char *) _sys_siglist;
11813
rm -f conftest.$ac_objext
11814
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11815
(eval $ac_compile) 2>conftest.er1
11817
grep -v '^ *+' conftest.er1 >conftest.err
11819
cat conftest.err >&5
11820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821
(exit $ac_status); } &&
11822
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824
(eval $ac_try) 2>&5
11826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827
(exit $ac_status); }; } &&
11828
{ ac_try='test -s conftest.$ac_objext'
11829
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830
(eval $ac_try) 2>&5
11832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833
(exit $ac_status); }; }; then
11834
ac_cv_have_decl__sys_siglist=yes
11836
echo "$as_me: failed program was:" >&5
11837
sed 's/^/| /' conftest.$ac_ext >&5
11839
ac_cv_have_decl__sys_siglist=no
11841
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11843
echo "$as_me:$LINENO: result: $ac_cv_have_decl__sys_siglist" >&5
11844
echo "${ECHO_T}$ac_cv_have_decl__sys_siglist" >&6
11845
if test $ac_cv_have_decl__sys_siglist = yes; then
11847
cat >>confdefs.h <<_ACEOF
11848
#define HAVE_DECL__SYS_SIGLIST 1
11853
cat >>confdefs.h <<_ACEOF
11854
#define HAVE_DECL__SYS_SIGLIST 0
11859
echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
11860
echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6
11861
if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
11862
echo $ECHO_N "(cached) $ECHO_C" >&6
11864
cat >conftest.$ac_ext <<_ACEOF
11867
cat confdefs.h >>conftest.$ac_ext
11868
cat >>conftest.$ac_ext <<_ACEOF
11869
/* end confdefs.h. */
11870
$ac_includes_default
11871
#include <signal.h>
11872
/* NetBSD declares sys_siglist in unistd.h. */
11874
# include <unistd.h>
11881
#ifndef __sys_siglist
11882
char *p = (char *) __sys_siglist;
11889
rm -f conftest.$ac_objext
11890
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11891
(eval $ac_compile) 2>conftest.er1
11893
grep -v '^ *+' conftest.er1 >conftest.err
11895
cat conftest.err >&5
11896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897
(exit $ac_status); } &&
11898
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11899
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900
(eval $ac_try) 2>&5
11902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903
(exit $ac_status); }; } &&
11904
{ ac_try='test -s conftest.$ac_objext'
11905
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906
(eval $ac_try) 2>&5
11908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909
(exit $ac_status); }; }; then
11910
ac_cv_have_decl___sys_siglist=yes
11912
echo "$as_me: failed program was:" >&5
11913
sed 's/^/| /' conftest.$ac_ext >&5
11915
ac_cv_have_decl___sys_siglist=no
11917
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11919
echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
11920
echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6
11921
if test $ac_cv_have_decl___sys_siglist = yes; then
11923
cat >>confdefs.h <<_ACEOF
11924
#define HAVE_DECL___SYS_SIGLIST 1
11929
cat >>confdefs.h <<_ACEOF
11930
#define HAVE_DECL___SYS_SIGLIST 0
8460
ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default
8462
/* NetBSD declares sys_siglist in unistd.h. */
8464
# include <unistd.h>
8468
if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then :
8474
cat >>confdefs.h <<_ACEOF
8475
#define HAVE_DECL_SYS_SIGLIST $ac_have_decl
8477
ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "$ac_includes_default
8479
/* NetBSD declares sys_siglist in unistd.h. */
8481
# include <unistd.h>
8485
if test "x$ac_cv_have_decl__sys_siglist" = x""yes; then :
8491
cat >>confdefs.h <<_ACEOF
8492
#define HAVE_DECL__SYS_SIGLIST $ac_have_decl
8494
ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default
8496
/* NetBSD declares sys_siglist in unistd.h. */
8498
# include <unistd.h>
8502
if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then :
8508
cat >>confdefs.h <<_ACEOF
8509
#define HAVE_DECL___SYS_SIGLIST $ac_have_decl
11939
8514
# Check out the wait reality.
11941
8515
for ac_header in sys/wait.h
11943
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11944
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11945
echo "$as_me:$LINENO: checking for $ac_header" >&5
11946
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11947
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11948
echo $ECHO_N "(cached) $ECHO_C" >&6
11950
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11951
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11953
# Is the header compilable?
11954
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11955
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11956
cat >conftest.$ac_ext <<_ACEOF
11959
cat confdefs.h >>conftest.$ac_ext
11960
cat >>conftest.$ac_ext <<_ACEOF
11961
/* end confdefs.h. */
11962
$ac_includes_default
11963
#include <$ac_header>
11965
rm -f conftest.$ac_objext
11966
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967
(eval $ac_compile) 2>conftest.er1
11969
grep -v '^ *+' conftest.er1 >conftest.err
11971
cat conftest.err >&5
11972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973
(exit $ac_status); } &&
11974
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11975
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976
(eval $ac_try) 2>&5
11978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979
(exit $ac_status); }; } &&
11980
{ ac_try='test -s conftest.$ac_objext'
11981
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982
(eval $ac_try) 2>&5
11984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985
(exit $ac_status); }; }; then
11986
ac_header_compiler=yes
11988
echo "$as_me: failed program was:" >&5
11989
sed 's/^/| /' conftest.$ac_ext >&5
11991
ac_header_compiler=no
11993
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11994
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11995
echo "${ECHO_T}$ac_header_compiler" >&6
11997
# Is the header present?
11998
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11999
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12000
cat >conftest.$ac_ext <<_ACEOF
12003
cat confdefs.h >>conftest.$ac_ext
12004
cat >>conftest.$ac_ext <<_ACEOF
12005
/* end confdefs.h. */
12006
#include <$ac_header>
12008
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12009
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12011
grep -v '^ *+' conftest.er1 >conftest.err
12013
cat conftest.err >&5
12014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015
(exit $ac_status); } >/dev/null; then
12016
if test -s conftest.err; then
12017
ac_cpp_err=$ac_c_preproc_warn_flag
12018
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12025
if test -z "$ac_cpp_err"; then
12026
ac_header_preproc=yes
12028
echo "$as_me: failed program was:" >&5
12029
sed 's/^/| /' conftest.$ac_ext >&5
12031
ac_header_preproc=no
12033
rm -f conftest.err conftest.$ac_ext
12034
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12035
echo "${ECHO_T}$ac_header_preproc" >&6
12037
# So? What about this header?
12038
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12040
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12041
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12042
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12043
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12044
ac_header_preproc=yes
12047
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12048
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12049
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12050
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12051
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12052
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12053
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12054
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12055
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12056
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12057
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12058
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12061
## ------------------------------- ##
12062
## Report this to bug-make@gnu.org ##
12063
## ------------------------------- ##
12066
sed "s/^/$as_me: WARNING: /" >&2
12069
echo "$as_me:$LINENO: checking for $ac_header" >&5
12070
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12071
if eval "test \"\${$as_ac_Header+set}\" = set"; then
12072
echo $ECHO_N "(cached) $ECHO_C" >&6
12074
eval "$as_ac_Header=\$ac_header_preproc"
12076
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12077
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12080
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8517
ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8518
if test "x$ac_cv_header_sys_wait_h" = x""yes; then :
12081
8519
cat >>confdefs.h <<_ACEOF
12082
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8520
#define HAVE_SYS_WAIT_H 1
12091
8527
for ac_func in waitpid wait3
12093
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12094
echo "$as_me:$LINENO: checking for $ac_func" >&5
12095
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12096
if eval "test \"\${$as_ac_var+set}\" = set"; then
12097
echo $ECHO_N "(cached) $ECHO_C" >&6
12099
cat >conftest.$ac_ext <<_ACEOF
12102
cat confdefs.h >>conftest.$ac_ext
12103
cat >>conftest.$ac_ext <<_ACEOF
12104
/* end confdefs.h. */
12105
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12106
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12107
#define $ac_func innocuous_$ac_func
12109
/* System header to define __stub macros and hopefully few prototypes,
12110
which can conflict with char $ac_func (); below.
12111
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12112
<limits.h> exists even on freestanding compilers. */
12115
# include <limits.h>
12117
# include <assert.h>
12122
/* Override any gcc2 internal prototype to avoid an error. */
12127
/* We use char because int might match the return type of a gcc2
12128
builtin and then its argument prototype would still apply. */
12130
/* The GNU C library defines this for functions which it implements
12131
to always fail with ENOSYS. Some functions are actually named
12132
something starting with __ and the normal name is an alias. */
12133
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12136
char (*f) () = $ac_func;
12145
return f != $ac_func;
12150
rm -f conftest.$ac_objext conftest$ac_exeext
12151
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12152
(eval $ac_link) 2>conftest.er1
12154
grep -v '^ *+' conftest.er1 >conftest.err
12156
cat conftest.err >&5
12157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158
(exit $ac_status); } &&
12159
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12160
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161
(eval $ac_try) 2>&5
12163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164
(exit $ac_status); }; } &&
12165
{ ac_try='test -s conftest$ac_exeext'
12166
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167
(eval $ac_try) 2>&5
12169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170
(exit $ac_status); }; }; then
12171
eval "$as_ac_var=yes"
12173
echo "$as_me: failed program was:" >&5
12174
sed 's/^/| /' conftest.$ac_ext >&5
12176
eval "$as_ac_var=no"
12178
rm -f conftest.err conftest.$ac_objext \
12179
conftest$ac_exeext conftest.$ac_ext
12181
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12182
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12183
if test `eval echo '${'$as_ac_var'}'` = yes; then
8529
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8530
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8531
eval as_val=\$$as_ac_var
8532
if test "x$as_val" = x""yes; then :
12184
8533
cat >>confdefs.h <<_ACEOF
12185
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8534
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12191
echo "$as_me:$LINENO: checking for union wait" >&5
12192
echo $ECHO_N "checking for union wait... $ECHO_C" >&6
12193
if test "${make_cv_union_wait+set}" = set; then
12194
echo $ECHO_N "(cached) $ECHO_C" >&6
8540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for union wait" >&5
8541
$as_echo_n "checking for union wait... " >&6; }
8542
if test "${make_cv_union_wait+set}" = set; then :
8543
$as_echo_n "(cached) " >&6
12196
cat >conftest.$ac_ext <<_ACEOF
12199
cat confdefs.h >>conftest.$ac_ext
12200
cat >>conftest.$ac_ext <<_ACEOF
8545
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201
8546
/* end confdefs.h. */
12202
8547
#include <sys/types.h>
12203
8548
#include <sys/wait.h>
14436
10162
# Have a temporary directory for convenience. Make it in the build tree
14437
# simply because there is no reason to put it here, and in addition,
10163
# simply because there is no reason against having it here, and in addition,
14438
10164
# creating and moving files from /tmp can sometimes cause problems.
14439
# Create a temporary directory, and hook for its removal unless debugging.
10165
# Hook for its removal unless debugging.
10166
# Note that there is a small window in which the directory will not be cleaned:
10167
# after its creation but before its name has been assigned to `$tmp'.
14442
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14443
trap '{ (exit 1); exit 1; }' 1 2 13 15
10171
trap 'exit_status=$?
10172
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10174
trap 'as_fn_exit 1' 1 2 13 15
14446
10176
# Create a (secure) tmp directory for tmp files.
14449
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10179
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14450
10180
test -n "$tmp" && test -d "$tmp"
14453
tmp=./confstat$$-$RANDOM
14454
(umask 077 && mkdir $tmp)
14457
echo "$me: cannot create a temporary directory in ." >&2
14458
{ (exit 1); exit 1; }
14463
cat >>$CONFIG_STATUS <<_ACEOF
14466
# CONFIG_FILES section.
14469
# No need to generate the scripts if there are no CONFIG_FILES.
14470
# This happens for instance when ./config.status config.h
14471
if test -n "\$CONFIG_FILES"; then
14472
# Protect against being on the right side of a sed subst in config.status.
14473
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14474
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14475
s,@SHELL@,$SHELL,;t t
14476
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14477
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14478
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14479
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14480
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14481
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14482
s,@exec_prefix@,$exec_prefix,;t t
14483
s,@prefix@,$prefix,;t t
14484
s,@program_transform_name@,$program_transform_name,;t t
14485
s,@bindir@,$bindir,;t t
14486
s,@sbindir@,$sbindir,;t t
14487
s,@libexecdir@,$libexecdir,;t t
14488
s,@datadir@,$datadir,;t t
14489
s,@sysconfdir@,$sysconfdir,;t t
14490
s,@sharedstatedir@,$sharedstatedir,;t t
14491
s,@localstatedir@,$localstatedir,;t t
14492
s,@libdir@,$libdir,;t t
14493
s,@includedir@,$includedir,;t t
14494
s,@oldincludedir@,$oldincludedir,;t t
14495
s,@infodir@,$infodir,;t t
14496
s,@mandir@,$mandir,;t t
14497
s,@build_alias@,$build_alias,;t t
14498
s,@host_alias@,$host_alias,;t t
14499
s,@target_alias@,$target_alias,;t t
14500
s,@DEFS@,$DEFS,;t t
14501
s,@ECHO_C@,$ECHO_C,;t t
14502
s,@ECHO_N@,$ECHO_N,;t t
14503
s,@ECHO_T@,$ECHO_T,;t t
14504
s,@LIBS@,$LIBS,;t t
14505
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
14506
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
14507
s,@MAINT@,$MAINT,;t t
14508
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14509
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14510
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14511
s,@CYGPATH_W@,$CYGPATH_W,;t t
14512
s,@PACKAGE@,$PACKAGE,;t t
14513
s,@VERSION@,$VERSION,;t t
14514
s,@ACLOCAL@,$ACLOCAL,;t t
14515
s,@AUTOCONF@,$AUTOCONF,;t t
14516
s,@AUTOMAKE@,$AUTOMAKE,;t t
14517
s,@AUTOHEADER@,$AUTOHEADER,;t t
14518
s,@MAKEINFO@,$MAKEINFO,;t t
14519
s,@install_sh@,$install_sh,;t t
14520
s,@STRIP@,$STRIP,;t t
14521
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14522
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14523
s,@mkdir_p@,$mkdir_p,;t t
14525
s,@SET_MAKE@,$SET_MAKE,;t t
14526
s,@am__leading_dot@,$am__leading_dot,;t t
14527
s,@AMTAR@,$AMTAR,;t t
14528
s,@am__tar@,$am__tar,;t t
14529
s,@am__untar@,$am__untar,;t t
14531
s,@CFLAGS@,$CFLAGS,;t t
14532
s,@LDFLAGS@,$LDFLAGS,;t t
14533
s,@CPPFLAGS@,$CPPFLAGS,;t t
14534
s,@ac_ct_CC@,$ac_ct_CC,;t t
14535
s,@EXEEXT@,$EXEEXT,;t t
14536
s,@OBJEXT@,$OBJEXT,;t t
14537
s,@DEPDIR@,$DEPDIR,;t t
14538
s,@am__include@,$am__include,;t t
14539
s,@am__quote@,$am__quote,;t t
14540
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14541
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14542
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14543
s,@CCDEPMODE@,$CCDEPMODE,;t t
14544
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
14545
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
14546
s,@RANLIB@,$RANLIB,;t t
14547
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14550
s,@PERL@,$PERL,;t t
14551
s,@build@,$build,;t t
14552
s,@build_cpu@,$build_cpu,;t t
14553
s,@build_vendor@,$build_vendor,;t t
14554
s,@build_os@,$build_os,;t t
14555
s,@host@,$host,;t t
14556
s,@host_cpu@,$host_cpu,;t t
14557
s,@host_vendor@,$host_vendor,;t t
14558
s,@host_os@,$host_os,;t t
14559
s,@EGREP@,$EGREP,;t t
14561
s,@ANSI2KNR@,$ANSI2KNR,;t t
14562
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14563
s,@USE_NLS@,$USE_NLS,;t t
14564
s,@MSGFMT@,$MSGFMT,;t t
14565
s,@GMSGFMT@,$GMSGFMT,;t t
14566
s,@XGETTEXT@,$XGETTEXT,;t t
14567
s,@MSGMERGE@,$MSGMERGE,;t t
14568
s,@LIBICONV@,$LIBICONV,;t t
14569
s,@LTLIBICONV@,$LTLIBICONV,;t t
14570
s,@INTLLIBS@,$INTLLIBS,;t t
14571
s,@LIBINTL@,$LIBINTL,;t t
14572
s,@LTLIBINTL@,$LTLIBINTL,;t t
14573
s,@POSUB@,$POSUB,;t t
14574
s,@ALLOCA@,$ALLOCA,;t t
14575
s,@LIBOBJS@,$LIBOBJS,;t t
14576
s,@NEED_SETGID@,$NEED_SETGID,;t t
14577
s,@KMEM_GROUP@,$KMEM_GROUP,;t t
14578
s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
14579
s,@REMOTE@,$REMOTE,;t t
14580
s,@USE_CUSTOMS_TRUE@,$USE_CUSTOMS_TRUE,;t t
14581
s,@USE_CUSTOMS_FALSE@,$USE_CUSTOMS_FALSE,;t t
14582
s,@GLOBINC@,$GLOBINC,;t t
14583
s,@GLOBLIB@,$GLOBLIB,;t t
14584
s,@USE_LOCAL_GLOB_TRUE@,$USE_LOCAL_GLOB_TRUE,;t t
14585
s,@USE_LOCAL_GLOB_FALSE@,$USE_LOCAL_GLOB_FALSE,;t t
14586
s,@MAKE_HOST@,$MAKE_HOST,;t t
14587
s,@WINDOWSENV_TRUE@,$WINDOWSENV_TRUE,;t t
14588
s,@WINDOWSENV_FALSE@,$WINDOWSENV_FALSE,;t t
14589
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14590
/@MAINT_MAKEFILE@/r $MAINT_MAKEFILE
14591
s,@MAINT_MAKEFILE@,,;t t
14596
cat >>$CONFIG_STATUS <<\_ACEOF
14597
# Split the substitutions into bite-sized pieces for seds with
14598
# small command number limits, like on Digital OSF/1 and HP-UX.
14599
ac_max_sed_lines=48
14600
ac_sed_frag=1 # Number of current file.
14601
ac_beg=1 # First line for current file.
14602
ac_end=$ac_max_sed_lines # Line after last line for current file.
14605
while $ac_more_lines; do
14606
if test $ac_beg -gt 1; then
14607
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14609
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14611
if test ! -s $tmp/subs.frag; then
14612
ac_more_lines=false
14614
# The purpose of the label and of the branching condition is to
14615
# speed up the sed processing (if there are no `@' at all, there
14616
# is no need to browse any of the substitutions).
14617
# These are the two extra sed commands mentioned above.
14619
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14620
if test -z "$ac_sed_cmds"; then
14621
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14623
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14625
ac_sed_frag=`expr $ac_sed_frag + 1`
14627
ac_end=`expr $ac_end + $ac_max_sed_lines`
14630
if test -z "$ac_sed_cmds"; then
10183
tmp=./conf$$-$RANDOM
10184
(umask 077 && mkdir "$tmp")
10185
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
10187
# Set up the scripts for CONFIG_FILES section.
10188
# No need to generate them if there are no CONFIG_FILES.
10189
# This happens for instance with `./config.status config.h'.
10190
if test -n "$CONFIG_FILES"; then
10192
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
10193
ac_cs_awk_getline=:
10194
ac_cs_awk_pipe_init=
10195
ac_cs_awk_read_file='
10196
while ((getline aline < (F[key])) > 0)
10199
ac_cs_awk_pipe_fini=
10201
ac_cs_awk_getline=false
10202
ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
10203
ac_cs_awk_read_file='
10205
print "cat " F[key] " &&"
10206
'$ac_cs_awk_pipe_init
10207
# The final `:' finishes the AND list.
10208
ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
10210
ac_cr=`echo X | tr X '\015'`
10211
# On cygwin, bash can eat \r inside `` if the user requested igncr.
10212
# But we know of no other shell where ac_cr would be empty at this
10213
# point, so we can use a bashism as a fallback.
10214
if test "x$ac_cr" = x; then
10215
eval ac_cr=\$\'\\r\'
10217
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10218
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10221
ac_cs_awk_cr=$ac_cr
10224
echo 'BEGIN {' >"$tmp/subs1.awk" &&
10227
# Create commands to substitute file output variables.
10229
echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
10230
echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
10231
echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
10234
} >conf$$files.sh &&
10235
. ./conf$$files.sh ||
10236
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10237
rm -f conf$$files.sh
10240
echo "cat >conf$$subs.awk <<_ACEOF" &&
10241
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10243
} >conf$$subs.sh ||
10244
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10245
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10247
for ac_last_try in false false false false false :; do
10248
. ./conf$$subs.sh ||
10249
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10251
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10252
if test $ac_delim_n = $ac_delim_num; then
10254
elif $ac_last_try; then
10255
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
10257
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10260
rm -f conf$$subs.sh
10262
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10263
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
10267
s/^/S["/; s/!.*/"]=/
10277
s/\(.\{148\}\)..*/\1/
10279
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10284
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10291
s/\(.\{148\}\)..*/\1/
10293
s/["\\]/\\&/g; s/^/"/; s/$/"/
10297
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10302
' <conf$$subs.awk | sed '
10307
' >>$CONFIG_STATUS || ac_write_fail=1
10308
rm -f conf$$subs.awk
10309
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10311
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10312
for (key in S) S_is_set[key] = 1
10314
\$ac_cs_awk_pipe_init
10318
nfields = split(line, field, "@")
10320
len = length(field[1])
10321
for (i = 2; i < nfields; i++) {
10323
keylen = length(key)
10324
if (S_is_set[key]) {
10326
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10327
len += length(value) + length(field[++i])
10332
if (nfields == 3 && !substed) {
10334
if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
10335
\$ac_cs_awk_read_file
10341
\$ac_cs_awk_pipe_fini
10344
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10345
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10346
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10349
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10350
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
10353
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10354
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10355
# trailing colons and then remove the whole line if VPATH becomes empty
10356
# (actually we leave an empty line to preserve line numbers).
10357
if test "x$srcdir" = x.; then
10358
ac_vpsub='/^[ ]*VPATH[ ]*=/{
10359
s/:*\$(srcdir):*/:/
10360
s/:*\${srcdir}:*/:/
10362
s/^\([^=]*=[ ]*\):*/\1/
10368
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14633
10369
fi # test -n "$CONFIG_FILES"
14636
cat >>$CONFIG_STATUS <<\_ACEOF
14637
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14638
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14640
- | *:- | *:-:* ) # input from stdin
14642
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14643
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14644
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14645
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14646
* ) ac_file_in=$ac_file.in ;;
14649
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14650
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10371
# Set up the scripts for CONFIG_HEADERS section.
10372
# No need to generate them if there are no CONFIG_HEADERS.
10373
# This happens for instance with `./config.status Makefile'.
10374
if test -n "$CONFIG_HEADERS"; then
10375
cat >"$tmp/defines.awk" <<\_ACAWK ||
10379
# Transform confdefs.h into an awk script `defines.awk', embedded as
10380
# here-document in config.status, that substitutes the proper values into
10381
# config.h.in to produce config.h.
10383
# Create a delimiter string that does not exist in confdefs.h, to ease
10384
# handling of long lines.
10386
for ac_last_try in false false :; do
10387
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10388
if test -z "$ac_t"; then
10390
elif $ac_last_try; then
10391
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10393
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10397
# For the awk script, D is an array of macro values keyed by name,
10398
# likewise P contains macro parameters if any. Preserve backslash
10399
# newline sequences.
10401
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10403
s/.\{148\}/&'"$ac_delim"'/g
10406
s/^[ ]*#[ ]*define[ ][ ]*/ /
10413
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10415
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10419
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10420
D["\1"]=" \3\\\\\\n"\\/p
10422
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10427
s/.\{148\}/&'"$ac_delim"'/g
10432
s/["\\]/\\&/g; s/^/"/; s/$/"/p
10435
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10437
' <confdefs.h | sed '
10438
s/'"$ac_delim"'/"\\\
10439
"/g' >>$CONFIG_STATUS || ac_write_fail=1
10441
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10442
for (key in D) D_is_set[key] = 1
10445
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10447
split(line, arg, " ")
10448
if (arg[1] == "#") {
10452
defundef = substr(arg[1], 2)
10455
split(mac1, mac2, "(") #)
10457
prefix = substr(line, 1, index(line, defundef) - 1)
10458
if (D_is_set[macro]) {
10459
# Preserve the white space surrounding the "#".
10460
print prefix "define", macro P[macro] D[macro]
10463
# Replace #undef with comments. This is necessary, for example,
10464
# in the case of _POSIX_SOURCE, which is predefined and required
10465
# on some systems where configure will not decide to define it.
10466
if (defundef == "undef") {
10467
print "/*", prefix defundef, macro, "*/"
10475
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10476
as_fn_error "could not setup config headers machinery" "$LINENO" 5
10477
fi # test -n "$CONFIG_HEADERS"
10480
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10485
:[FHLC]) ac_mode=$ac_tag; continue;;
10487
case $ac_mode$ac_tag in
10489
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10490
:[FH]-) ac_tag=-:-;;
10491
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10508
-) ac_f="$tmp/stdin";;
10509
*) # Look for the file first in the build tree, then in the source tree
10510
# (if the path is not absolute). The absolute path cannot be DOS-style,
10511
# because $ac_f cannot contain `:'.
10515
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10517
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10519
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10520
as_fn_append ac_file_inputs " '$ac_f'"
10523
# Let's still pretend it is `configure' which instantiates (i.e., don't
10524
# use $as_me), people would be surprised to read:
10525
# /* config.h. Generated by config.status. */
10526
configure_input='Generated from '`
10527
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10529
if test x"$ac_file" != x-; then
10530
configure_input="$ac_file. $configure_input"
10531
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10532
$as_echo "$as_me: creating $ac_file" >&6;}
10534
# Neutralize special characters interpreted by sed in replacement strings.
10535
case $configure_input in #(
10536
*\&* | *\|* | *\\* )
10537
ac_sed_conf_input=`$as_echo "$configure_input" |
10538
sed 's/[\\\\&|]/\\\\&/g'`;; #(
10539
*) ac_sed_conf_input=$configure_input;;
10543
*:-:* | *:-) cat >"$tmp/stdin" \
10544
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10549
ac_dir=`$as_dirname -- "$ac_file" ||
14651
10550
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14652
10551
X"$ac_file" : 'X\(//\)[^/]' \| \
14653
10552
X"$ac_file" : 'X\(//\)$' \| \
14654
X"$ac_file" : 'X\(/\)' \| \
14655
. : '\(.\)' 2>/dev/null ||
14657
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14658
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
14659
/^X\(\/\/\)$/{ s//\1/; q; }
14660
/^X\(\/\).*/{ s//\1/; q; }
14662
{ if $as_mkdir_p; then
14667
while test ! -d "$as_dir"; do
14668
as_dirs="$as_dir $as_dirs"
14669
as_dir=`(dirname "$as_dir") 2>/dev/null ||
14670
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14671
X"$as_dir" : 'X\(//\)[^/]' \| \
14672
X"$as_dir" : 'X\(//\)$' \| \
14673
X"$as_dir" : 'X\(/\)' \| \
14674
. : '\(.\)' 2>/dev/null ||
14676
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14677
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
14678
/^X\(\/\/\)$/{ s//\1/; q; }
14679
/^X\(\/\).*/{ s//\1/; q; }
14682
test ! -n "$as_dirs" || mkdir $as_dirs
14683
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14684
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14685
{ (exit 1); exit 1; }; }; }
10553
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10554
$as_echo X"$ac_file" |
10555
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10559
/^X\(\/\/\)[^/].*/{
10572
as_dir="$ac_dir"; as_fn_mkdir_p
14687
10573
ac_builddir=.
14689
if test "$ac_dir" != .; then
14690
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14691
# A "../" for each directory in $ac_dir_suffix.
14692
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14694
ac_dir_suffix= ac_top_builddir=
10576
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10578
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10579
# A ".." for each directory in $ac_dir_suffix.
10580
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10581
case $ac_top_builddir_sub in
10582
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10583
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10586
ac_abs_top_builddir=$ac_pwd
10587
ac_abs_builddir=$ac_pwd$ac_dir_suffix
10588
# for backward compatibility:
10589
ac_top_builddir=$ac_top_build_prefix
14697
10591
case $srcdir in
14698
.) # No --srcdir option. We are building in place.
10592
.) # We are building in place.
14700
if test -z "$ac_top_builddir"; then
14703
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14705
[\\/]* | ?:[\\/]* ) # Absolute path.
10594
ac_top_srcdir=$ac_top_builddir_sub
10595
ac_abs_top_srcdir=$ac_pwd ;;
10596
[\\/]* | ?:[\\/]* ) # Absolute name.
14706
10597
ac_srcdir=$srcdir$ac_dir_suffix;
14707
ac_top_srcdir=$srcdir ;;
14708
*) # Relative path.
14709
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14710
ac_top_srcdir=$ac_top_builddir$srcdir ;;
14713
# Do not use `cd foo && pwd` to compute absolute paths, because
14714
# the directories may not exist.
14716
.) ac_abs_builddir="$ac_dir";;
14719
.) ac_abs_builddir=`pwd`;;
14720
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14721
*) ac_abs_builddir=`pwd`/"$ac_dir";;
14724
case $ac_abs_builddir in
14725
.) ac_abs_top_builddir=${ac_top_builddir}.;;
14727
case ${ac_top_builddir}. in
14728
.) ac_abs_top_builddir=$ac_abs_builddir;;
14729
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14730
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14733
case $ac_abs_builddir in
14734
.) ac_abs_srcdir=$ac_srcdir;;
14737
.) ac_abs_srcdir=$ac_abs_builddir;;
14738
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14739
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14742
case $ac_abs_builddir in
14743
.) ac_abs_top_srcdir=$ac_top_srcdir;;
14745
case $ac_top_srcdir in
14746
.) ac_abs_top_srcdir=$ac_abs_builddir;;
14747
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14748
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10598
ac_top_srcdir=$srcdir
10599
ac_abs_top_srcdir=$srcdir ;;
10600
*) # Relative name.
10601
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10602
ac_top_srcdir=$ac_top_build_prefix$srcdir
10603
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10605
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14753
10614
case $INSTALL in
14754
10615
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14755
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14758
# Let's still pretend it is `configure' which instantiates (i.e., don't
14759
# use $as_me), people would be surprised to read:
14760
# /* config.h. Generated by config.status. */
14761
if test x"$ac_file" = x-; then
14764
configure_input="$ac_file. "
14766
configure_input=$configure_input"Generated from `echo $ac_file_in |
14767
sed 's,.*/,,'` by configure."
14769
# First look for the input files in the build tree, otherwise in the
14771
ac_file_inputs=`IFS=:
14772
for f in $ac_file_in; do
14774
-) echo $tmp/stdin ;;
14776
# Absolute (can't be DOS-style, as IFS=:)
14777
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14778
echo "$as_me: error: cannot find input file: $f" >&2;}
14779
{ (exit 1); exit 1; }; }
14782
if test -f "$f"; then
14785
elif test -f "$srcdir/$f"; then
14790
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14791
echo "$as_me: error: cannot find input file: $f" >&2;}
14792
{ (exit 1); exit 1; }; }
14795
done` || { (exit 1); exit 1; }
14797
if test x"$ac_file" != x-; then
14798
{ echo "$as_me:$LINENO: creating $ac_file" >&5
14799
echo "$as_me: creating $ac_file" >&6;}
14803
cat >>$CONFIG_STATUS <<_ACEOF
10616
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10618
ac_MKDIR_P=$MKDIR_P
10620
[\\/$]* | ?:[\\/]* ) ;;
10621
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10625
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10626
# If the template does not know about datarootdir, expand it.
10627
# FIXME: This hack should be removed a few years after 2.60.
10628
ac_datarootdir_hack=; ac_datarootdir_seen=
10639
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10640
*datarootdir*) ac_datarootdir_seen=yes;;
10641
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10642
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10643
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10645
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10646
ac_datarootdir_hack='
10647
s&@datadir@&$datadir&g
10648
s&@docdir@&$docdir&g
10649
s&@infodir@&$infodir&g
10650
s&@localedir@&$localedir&g
10651
s&@mandir@&$mandir&g
10652
s&\\\${datarootdir}&$datarootdir&g' ;;
10656
# Neutralize VPATH when `$srcdir' = `.'.
10657
# Shell code in configure.ac might set extrasub.
10658
# FIXME: do we really want to maintain this feature?
10659
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10660
ac_sed_extra="$ac_vpsub
14807
cat >>$CONFIG_STATUS <<\_ACEOF
10663
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14809
10665
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14810
s,@configure_input@,$configure_input,;t t
14811
s,@srcdir@,$ac_srcdir,;t t
14812
s,@abs_srcdir@,$ac_abs_srcdir,;t t
14813
s,@top_srcdir@,$ac_top_srcdir,;t t
14814
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14815
s,@builddir@,$ac_builddir,;t t
14816
s,@abs_builddir@,$ac_abs_builddir,;t t
14817
s,@top_builddir@,$ac_top_builddir,;t t
14818
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14819
s,@INSTALL@,$ac_INSTALL,;t t
14820
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14822
if test x"$ac_file" != x-; then
14823
mv $tmp/out $ac_file
14831
cat >>$CONFIG_STATUS <<\_ACEOF
14834
# CONFIG_HEADER section.
14837
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14838
# NAME is the cpp macro being defined and VALUE is the value it is being given.
14840
# ac_d sets the value in "#define NAME VALUE" lines.
14841
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14842
ac_dB='[ ].*$,\1#\2'
14845
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14846
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14847
ac_uB='$,\1#\2define\3'
14851
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14852
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10666
s|@configure_input@|$ac_sed_conf_input|;t t
10667
s&@top_builddir@&$ac_top_builddir_sub&;t t
10668
s&@top_build_prefix@&$ac_top_build_prefix&;t t
10669
s&@srcdir@&$ac_srcdir&;t t
10670
s&@abs_srcdir@&$ac_abs_srcdir&;t t
10671
s&@top_srcdir@&$ac_top_srcdir&;t t
10672
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10673
s&@builddir@&$ac_builddir&;t t
10674
s&@abs_builddir@&$ac_abs_builddir&;t t
10675
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10676
s&@INSTALL@&$ac_INSTALL&;t t
10677
s&@MKDIR_P@&$ac_MKDIR_P&;t t
10678
$ac_datarootdir_hack
10680
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
10681
if $ac_cs_awk_getline; then
10682
$AWK -f "$tmp/subs.awk"
10684
$AWK -f "$tmp/subs.awk" | $SHELL
10686
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10688
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10689
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10690
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10691
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10692
which seems to be undefined. Please make sure it is defined." >&5
10693
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10694
which seems to be undefined. Please make sure it is defined." >&2;}
14853
10697
case $ac_file in
14854
- | *:- | *:-:* ) # input from stdin
14856
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14857
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14858
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14859
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14860
* ) ac_file_in=$ac_file.in ;;
14863
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14864
echo "$as_me: creating $ac_file" >&6;}
14866
# First look for the input files in the build tree, otherwise in the
14868
ac_file_inputs=`IFS=:
14869
for f in $ac_file_in; do
14871
-) echo $tmp/stdin ;;
14873
# Absolute (can't be DOS-style, as IFS=:)
14874
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14875
echo "$as_me: error: cannot find input file: $f" >&2;}
14876
{ (exit 1); exit 1; }; }
14877
# Do quote $f, to prevent DOS paths from being IFS'd.
14880
if test -f "$f"; then
14883
elif test -f "$srcdir/$f"; then
14888
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14889
echo "$as_me: error: cannot find input file: $f" >&2;}
14890
{ (exit 1); exit 1; }; }
14893
done` || { (exit 1); exit 1; }
14894
# Remove the trailing spaces.
14895
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14899
# Transform confdefs.h into two sed scripts, `conftest.defines' and
14900
# `conftest.undefs', that substitutes the proper values into
14901
# config.h.in to produce config.h. The first handles `#define'
14902
# templates, and the second `#undef' templates.
14903
# And first: Protect against being on the right side of a sed subst in
14904
# config.status. Protect against being in an unquoted here document
14905
# in config.status.
14906
rm -f conftest.defines conftest.undefs
14907
# Using a here document instead of a string reduces the quoting nightmare.
14908
# Putting comments in sed scripts is not portable.
14910
# `end' is used to avoid that the second main sed command (meant for
14911
# 0-ary CPP macros) applies to n-ary macro definitions.
14912
# See the Autoconf documentation for `clear'.
14913
cat >confdef2sed.sed <<\_ACEOF
14918
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14920
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14923
# If some macros were called several times there might be several times
14924
# the same #defines, which is useless. Nevertheless, we may not want to
14925
# sort them, since we want the *last* AC-DEFINE to be honored.
14926
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14927
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14928
rm -f confdef2sed.sed
14930
# This sed command replaces #undef with comments. This is necessary, for
14931
# example, in the case of _POSIX_SOURCE, which is predefined and required
14932
# on some systems where configure will not decide to define it.
14933
cat >>conftest.undefs <<\_ACEOF
14934
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14937
# Break up conftest.defines because some shells have a limit on the size
14938
# of here documents, and old seds have small limits too (100 cmds).
14939
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14940
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14941
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14942
echo ' :' >>$CONFIG_STATUS
14943
rm -f conftest.tail
14944
while grep . conftest.defines >/dev/null
14946
# Write a limited-size here document to $tmp/defines.sed.
14947
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14948
# Speed up: don't consider the non `#define' lines.
14949
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14950
# Work around the forget-to-reset-the-flag bug.
14951
echo 't clr' >>$CONFIG_STATUS
14952
echo ': clr' >>$CONFIG_STATUS
14953
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14955
sed -f $tmp/defines.sed $tmp/in >$tmp/out
14957
mv $tmp/out $tmp/in
14959
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14960
rm -f conftest.defines
14961
mv conftest.tail conftest.defines
14963
rm -f conftest.defines
14964
echo ' fi # grep' >>$CONFIG_STATUS
14965
echo >>$CONFIG_STATUS
14967
# Break up conftest.undefs because some shells have a limit on the size
14968
# of here documents, and old seds have small limits too (100 cmds).
14969
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14970
rm -f conftest.tail
14971
while grep . conftest.undefs >/dev/null
14973
# Write a limited-size here document to $tmp/undefs.sed.
14974
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14975
# Speed up: don't consider the non `#undef'
14976
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14977
# Work around the forget-to-reset-the-flag bug.
14978
echo 't clr' >>$CONFIG_STATUS
14979
echo ': clr' >>$CONFIG_STATUS
14980
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14982
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14984
mv $tmp/out $tmp/in
14986
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14987
rm -f conftest.undefs
14988
mv conftest.tail conftest.undefs
14990
rm -f conftest.undefs
14992
cat >>$CONFIG_STATUS <<\_ACEOF
14993
# Let's still pretend it is `configure' which instantiates (i.e., don't
14994
# use $as_me), people would be surprised to read:
14995
# /* config.h. Generated by config.status. */
14996
if test x"$ac_file" = x-; then
14997
echo "/* Generated by configure. */" >$tmp/config.h
14999
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15001
cat $tmp/in >>$tmp/config.h
10698
-) cat "$tmp/out" && rm -f "$tmp/out";;
10699
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10701
|| as_fn_error "could not create $ac_file" "$LINENO" 5
15003
10707
if test x"$ac_file" != x-; then
15004
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15005
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15006
echo "$as_me: $ac_file is unchanged" >&6;}
10709
$as_echo "/* $configure_input */" \
10710
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10711
} >"$tmp/config.h" \
10712
|| as_fn_error "could not create $ac_file" "$LINENO" 5
10713
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10714
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10715
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15008
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15009
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15010
X"$ac_file" : 'X\(//\)[^/]' \| \
15011
X"$ac_file" : 'X\(//\)$' \| \
15012
X"$ac_file" : 'X\(/\)' \| \
15013
. : '\(.\)' 2>/dev/null ||
15015
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15016
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15017
/^X\(\/\/\)$/{ s//\1/; q; }
15018
/^X\(\/\).*/{ s//\1/; q; }
15020
{ if $as_mkdir_p; then
15025
while test ! -d "$as_dir"; do
15026
as_dirs="$as_dir $as_dirs"
15027
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15028
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15029
X"$as_dir" : 'X\(//\)[^/]' \| \
15030
X"$as_dir" : 'X\(//\)$' \| \
15031
X"$as_dir" : 'X\(/\)' \| \
15032
. : '\(.\)' 2>/dev/null ||
15034
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15035
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15036
/^X\(\/\/\)$/{ s//\1/; q; }
15037
/^X\(\/\).*/{ s//\1/; q; }
15040
test ! -n "$as_dirs" || mkdir $as_dirs
15041
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15042
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15043
{ (exit 1); exit 1; }; }; }
15046
mv $tmp/config.h $ac_file
10718
mv "$tmp/config.h" "$ac_file" \
10719
|| as_fn_error "could not create $ac_file" "$LINENO" 5
15050
rm -f $tmp/config.h
10722
$as_echo "/* $configure_input */" \
10723
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10724
|| as_fn_error "could not create -" "$LINENO" 5
15052
# Compute $ac_file's index in $config_headers.
10726
# Compute "$ac_file"'s index in $config_headers.
15053
10728
_am_stamp_count=1
15054
10729
for _am_header in $config_headers :; do
15055
10730
case $_am_header in
15056
$ac_file | $ac_file:* )
10731
$_am_arg | $_am_arg:* )
15059
10734
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
15062
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15063
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15064
X$ac_file : 'X\(//\)[^/]' \| \
15065
X$ac_file : 'X\(//\)$' \| \
15066
X$ac_file : 'X\(/\)' \| \
15067
. : '\(.\)' 2>/dev/null ||
15069
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15070
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15071
/^X\(\/\/\)$/{ s//\1/; q; }
15072
/^X\(\/\).*/{ s//\1/; q; }
15073
s/.*/./; q'`/stamp-h$_am_stamp_count
15076
cat >>$CONFIG_STATUS <<\_ACEOF
15079
# CONFIG_COMMANDS section.
15081
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15082
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15083
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15084
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15085
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15086
X"$ac_dest" : 'X\(//\)[^/]' \| \
15087
X"$ac_dest" : 'X\(//\)$' \| \
15088
X"$ac_dest" : 'X\(/\)' \| \
15089
. : '\(.\)' 2>/dev/null ||
15091
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15092
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15093
/^X\(\/\/\)$/{ s//\1/; q; }
15094
/^X\(\/\).*/{ s//\1/; q; }
15096
{ if $as_mkdir_p; then
15101
while test ! -d "$as_dir"; do
15102
as_dirs="$as_dir $as_dirs"
15103
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15104
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15105
X"$as_dir" : 'X\(//\)[^/]' \| \
15106
X"$as_dir" : 'X\(//\)$' \| \
15107
X"$as_dir" : 'X\(/\)' \| \
15108
. : '\(.\)' 2>/dev/null ||
15110
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15111
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15112
/^X\(\/\/\)$/{ s//\1/; q; }
15113
/^X\(\/\).*/{ s//\1/; q; }
15116
test ! -n "$as_dirs" || mkdir $as_dirs
15117
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15118
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15119
{ (exit 1); exit 1; }; }; }
15123
if test "$ac_dir" != .; then
15124
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15125
# A "../" for each directory in $ac_dir_suffix.
15126
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15128
ac_dir_suffix= ac_top_builddir=
15132
.) # No --srcdir option. We are building in place.
15134
if test -z "$ac_top_builddir"; then
15137
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15139
[\\/]* | ?:[\\/]* ) # Absolute path.
15140
ac_srcdir=$srcdir$ac_dir_suffix;
15141
ac_top_srcdir=$srcdir ;;
15142
*) # Relative path.
15143
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15144
ac_top_srcdir=$ac_top_builddir$srcdir ;;
15147
# Do not use `cd foo && pwd` to compute absolute paths, because
15148
# the directories may not exist.
15150
.) ac_abs_builddir="$ac_dir";;
15153
.) ac_abs_builddir=`pwd`;;
15154
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15155
*) ac_abs_builddir=`pwd`/"$ac_dir";;
15158
case $ac_abs_builddir in
15159
.) ac_abs_top_builddir=${ac_top_builddir}.;;
15161
case ${ac_top_builddir}. in
15162
.) ac_abs_top_builddir=$ac_abs_builddir;;
15163
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15164
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15167
case $ac_abs_builddir in
15168
.) ac_abs_srcdir=$ac_srcdir;;
15171
.) ac_abs_srcdir=$ac_abs_builddir;;
15172
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15173
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15176
case $ac_abs_builddir in
15177
.) ac_abs_top_srcdir=$ac_top_srcdir;;
15179
case $ac_top_srcdir in
15180
.) ac_abs_top_srcdir=$ac_abs_builddir;;
15181
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15182
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15187
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15188
echo "$as_me: executing $ac_dest commands" >&6;}
15190
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15191
# Strip MF so we end up with the name of the file.
15192
mf=`echo "$mf" | sed -e 's/:.*$//'`
15193
# Check whether this is an Automake generated Makefile or not.
15194
# We used to match only the files named `Makefile.in', but
15195
# some people rename them; so instead we look at the file content.
15196
# Grep'ing the first line is not enough: some people post-process
15197
# each Makefile.in and add a new line on top of each file to say so.
15198
# So let's grep whole file.
15199
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15200
dirpart=`(dirname "$mf") 2>/dev/null ||
10737
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10738
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10739
X"$_am_arg" : 'X\(//\)[^/]' \| \
10740
X"$_am_arg" : 'X\(//\)$' \| \
10741
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10742
$as_echo X"$_am_arg" |
10743
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10747
/^X\(\/\/\)[^/].*/{
10759
s/.*/./; q'`/stamp-h$_am_stamp_count
10762
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10763
$as_echo "$as_me: executing $ac_file commands" >&6;}
10768
case $ac_file$ac_mode in
10769
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10770
# Autoconf 2.62 quotes --file arguments for eval, but not when files
10771
# are listed without --file. Let's play safe and only enable the eval
10772
# if we detect the quoting.
10773
case $CONFIG_FILES in
10774
*\'*) eval set x "$CONFIG_FILES" ;;
10775
*) set x $CONFIG_FILES ;;
10780
# Strip MF so we end up with the name of the file.
10781
mf=`echo "$mf" | sed -e 's/:.*$//'`
10782
# Check whether this is an Automake generated Makefile or not.
10783
# We used to match only the files named `Makefile.in', but
10784
# some people rename them; so instead we look at the file content.
10785
# Grep'ing the first line is not enough: some people post-process
10786
# each Makefile.in and add a new line on top of each file to say so.
10787
# Grep'ing the whole file is not good either: AIX grep has a line
10788
# limit of 2048, but all sed's we know have understand at least 4000.
10789
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10790
dirpart=`$as_dirname -- "$mf" ||
15201
10791
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15202
10792
X"$mf" : 'X\(//\)[^/]' \| \
15203
10793
X"$mf" : 'X\(//\)$' \| \
15204
X"$mf" : 'X\(/\)' \| \
15205
. : '\(.\)' 2>/dev/null ||
15207
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15208
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15209
/^X\(\/\/\)$/{ s//\1/; q; }
15210
/^X\(\/\).*/{ s//\1/; q; }
15215
# Extract the definition of DEPDIR, am__include, and am__quote
15216
# from the Makefile without running `make'.
15217
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15218
test -z "$DEPDIR" && continue
15219
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15220
test -z "am__include" && continue
15221
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15222
# When using ansi2knr, U may be empty or an underscore; expand it
15223
U=`sed -n 's/^U = //p' < "$mf"`
15224
# Find all dependency output files, they are included files with
15225
# $(DEPDIR) in their names. We invoke sed twice because it is the
15226
# simplest approach to changing $(DEPDIR) to its actual value in the
15228
for file in `sed -n "
15229
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15230
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15231
# Make sure the directory exists.
15232
test -f "$dirpart/$file" && continue
15233
fdir=`(dirname "$file") 2>/dev/null ||
10794
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10796
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10800
/^X\(\/\/\)[^/].*/{
10816
# Extract the definition of DEPDIR, am__include, and am__quote
10817
# from the Makefile without running `make'.
10818
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10819
test -z "$DEPDIR" && continue
10820
am__include=`sed -n 's/^am__include = //p' < "$mf"`
10821
test -z "am__include" && continue
10822
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10823
# When using ansi2knr, U may be empty or an underscore; expand it
10824
U=`sed -n 's/^U = //p' < "$mf"`
10825
# Find all dependency output files, they are included files with
10826
# $(DEPDIR) in their names. We invoke sed twice because it is the
10827
# simplest approach to changing $(DEPDIR) to its actual value in the
10829
for file in `sed -n "
10830
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10831
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10832
# Make sure the directory exists.
10833
test -f "$dirpart/$file" && continue
10834
fdir=`$as_dirname -- "$file" ||
15234
10835
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15235
10836
X"$file" : 'X\(//\)[^/]' \| \
15236
10837
X"$file" : 'X\(//\)$' \| \
15237
X"$file" : 'X\(/\)' \| \
15238
. : '\(.\)' 2>/dev/null ||
15240
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15241
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15242
/^X\(\/\/\)$/{ s//\1/; q; }
15243
/^X\(\/\).*/{ s//\1/; q; }
15245
{ if $as_mkdir_p; then
15246
mkdir -p $dirpart/$fdir
15248
as_dir=$dirpart/$fdir
15250
while test ! -d "$as_dir"; do
15251
as_dirs="$as_dir $as_dirs"
15252
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15253
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15254
X"$as_dir" : 'X\(//\)[^/]' \| \
15255
X"$as_dir" : 'X\(//\)$' \| \
15256
X"$as_dir" : 'X\(/\)' \| \
15257
. : '\(.\)' 2>/dev/null ||
15259
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15260
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15261
/^X\(\/\/\)$/{ s//\1/; q; }
15262
/^X\(\/\).*/{ s//\1/; q; }
10838
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10839
$as_echo X"$file" |
10840
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10844
/^X\(\/\/\)[^/].*/{
10857
as_dir=$dirpart/$fdir; as_fn_mkdir_p
10858
# echo "creating $dirpart/$file"
10859
echo '# dummy' > "$dirpart/$file"
15265
test ! -n "$as_dirs" || mkdir $as_dirs
15266
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15267
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15268
{ (exit 1); exit 1; }; }; }
15270
# echo "creating $dirpart/$file"
15271
echo '# dummy' > "$dirpart/$file"
15276
10865
for ac_file in $CONFIG_FILES; do
15277
10866
# Support "outfile[:infile[:infile...]]"
15278
10867
case "$ac_file" in