2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for cabextract 1.2.
3
# Generated by GNU Autoconf 2.65 for cabextract 1.3.
5
5
# Report bugs to <kyzer@4u.net>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
13
# This configure script is free software; the Free Software Foundation
9
14
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
25
# is contrary to our usage. Disable this feature.
20
26
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and kyzer@4u.net about
234
$0: your system, including any error possibly output before
235
$0: this message. Then install a modern shell, or manually
236
$0: run the script under such a shell if you do have one."
242
SHELL=${CONFIG_SHELL-/bin/sh}
244
# Unset more variables known to interfere with behavior of common tools.
245
CLICOLOR_FORCE= GREP_OPTIONS=
246
unset CLICOLOR_FORCE GREP_OPTIONS
248
## --------------------- ##
249
## M4sh Shell Functions. ##
250
## --------------------- ##
253
# Portably unset VAR.
256
{ eval $1=; unset $1;}
260
# as_fn_set_status STATUS
261
# -----------------------
262
# Set $? to STATUS, without forking.
270
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280
# Create "$as_dir" as a directory, including parents if necessary.
285
-*) as_dir=./$as_dir;;
287
test -d "$as_dir" || eval $as_mkdir_p || {
291
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294
as_dirs="'$as_qdir' $as_dirs"
295
as_dir=`$as_dirname -- "$as_dir" ||
296
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297
X"$as_dir" : 'X\(//\)[^/]' \| \
298
X"$as_dir" : 'X\(//\)$' \| \
299
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300
$as_echo X"$as_dir" |
301
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318
test -d "$as_dir" && break
320
test -z "$as_dirs" || eval "mkdir $as_dirs"
321
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
325
# as_fn_append VAR VALUE
326
# ----------------------
327
# Append the text in VALUE to the end of the definition contained in VAR. Take
328
# advantage of any shell optimizations that allow amortized linear growth over
329
# repeated appends, instead of the typical quadratic growth present in naive
331
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332
eval 'as_fn_append ()
345
# Perform arithmetic evaluation on the ARGs, and store the result in the
346
# global $as_val. Take advantage of shells that can avoid forks. The arguments
347
# must be portable across $(()) and expr.
348
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356
as_val=`expr "$@" || test $? -eq 1`
361
# as_fn_error ERROR [LINENO LOG_FD]
362
# ---------------------------------
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
# script with status $?, using 1 if that was 0.
368
as_status=$?; test $as_status -eq 0 && as_status=1
370
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373
$as_echo "$as_me: error: $1" >&2
374
as_fn_exit $as_status
377
if expr a : '\(a\)' >/dev/null 2>&1 &&
378
test "X`expr 00001 : '.*\(...\)'`" = X001; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
385
as_basename=basename
390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
396
as_me=`$as_basename -- "$0" ||
69
397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
398
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
399
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
sed '/^.*\/\([^/][^/]*\)\/*$/{
81
415
# Avoid depending upon Character Ranges.
82
416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
868
1341
Report bugs to <kyzer@4u.net>.
872
1346
if test "$ac_init_help" = "recursive"; then
873
1347
# If there are subdirs, report their specific --help.
875
1348
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
876
test -d $ac_dir || continue
1349
test -d "$ac_dir" ||
1350
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
879
if test "$ac_dir" != .; then
880
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
881
# A "../" for each directory in $ac_dir_suffix.
882
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
884
ac_dir_suffix= ac_top_builddir=
1355
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1358
# A ".." for each directory in $ac_dir_suffix.
1359
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1360
case $ac_top_builddir_sub in
1361
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365
ac_abs_top_builddir=$ac_pwd
1366
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1367
# for backward compatibility:
1368
ac_top_builddir=$ac_top_build_prefix
888
.) # No --srcdir option. We are building in place.
1371
.) # We are building in place.
890
if test -z "$ac_top_builddir"; then
893
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
895
[\\/]* | ?:[\\/]* ) # Absolute path.
1373
ac_top_srcdir=$ac_top_builddir_sub
1374
ac_abs_top_srcdir=$ac_pwd ;;
1375
[\\/]* | ?:[\\/]* ) # Absolute name.
896
1376
ac_srcdir=$srcdir$ac_dir_suffix;
897
ac_top_srcdir=$srcdir ;;
899
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900
ac_top_srcdir=$ac_top_builddir$srcdir ;;
903
# Do not use `cd foo && pwd` to compute absolute paths, because
904
# the directories may not exist.
906
.) ac_abs_builddir="$ac_dir";;
909
.) ac_abs_builddir=`pwd`;;
910
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
911
*) ac_abs_builddir=`pwd`/"$ac_dir";;
914
case $ac_abs_builddir in
915
.) ac_abs_top_builddir=${ac_top_builddir}.;;
917
case ${ac_top_builddir}. in
918
.) ac_abs_top_builddir=$ac_abs_builddir;;
919
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
920
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923
case $ac_abs_builddir in
924
.) ac_abs_srcdir=$ac_srcdir;;
927
.) ac_abs_srcdir=$ac_abs_builddir;;
928
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
929
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932
case $ac_abs_builddir in
933
.) ac_abs_top_srcdir=$ac_top_srcdir;;
935
case $ac_top_srcdir in
936
.) ac_abs_top_srcdir=$ac_abs_builddir;;
937
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
938
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
943
# Check for guested configure; otherwise get Cygnus style configure.
944
if test -f $ac_srcdir/configure.gnu; then
946
$SHELL $ac_srcdir/configure.gnu --help=recursive
947
elif test -f $ac_srcdir/configure; then
949
$SHELL $ac_srcdir/configure --help=recursive
950
elif test -f $ac_srcdir/configure.ac ||
951
test -f $ac_srcdir/configure.in; then
1377
ac_top_srcdir=$srcdir
1378
ac_abs_top_srcdir=$srcdir ;;
1380
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1381
ac_top_srcdir=$ac_top_build_prefix$srcdir
1382
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1384
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1386
cd "$ac_dir" || { ac_status=$?; continue; }
1387
# Check for guested configure.
1388
if test -f "$ac_srcdir/configure.gnu"; then
1390
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1391
elif test -f "$ac_srcdir/configure"; then
1393
$SHELL "$ac_srcdir/configure" --help=recursive
955
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1395
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1397
cd "$ac_pwd" || { ac_status=$?; break; }
961
test -n "$ac_init_help" && exit 0
1401
test -n "$ac_init_help" && exit $ac_status
962
1402
if $ac_init_version; then
964
cabextract configure 1.2
965
generated by GNU Autoconf 2.59
1404
cabextract configure 1.3
1405
generated by GNU Autoconf 2.65
967
Copyright (C) 2003 Free Software Foundation, Inc.
1407
Copyright (C) 2009 Free Software Foundation, Inc.
968
1408
This configure script is free software; the Free Software Foundation
969
1409
gives unlimited permission to copy, distribute and modify it.
1414
## ------------------------ ##
1415
## Autoconf initialization. ##
1416
## ------------------------ ##
1418
# ac_fn_c_try_compile LINENO
1419
# --------------------------
1420
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1421
ac_fn_c_try_compile ()
1423
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1424
rm -f conftest.$ac_objext
1425
if { { ac_try="$ac_compile"
1427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1428
*) ac_try_echo=$ac_try;;
1430
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1431
$as_echo "$ac_try_echo"; } >&5
1432
(eval "$ac_compile") 2>conftest.err
1434
if test -s conftest.err; then
1435
grep -v '^ *+' conftest.err >conftest.er1
1436
cat conftest.er1 >&5
1437
mv -f conftest.er1 conftest.err
1439
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1440
test $ac_status = 0; } && {
1441
test -z "$ac_c_werror_flag" ||
1442
test ! -s conftest.err
1443
} && test -s conftest.$ac_objext; then :
1446
$as_echo "$as_me: failed program was:" >&5
1447
sed 's/^/| /' conftest.$ac_ext >&5
1451
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1452
as_fn_set_status $ac_retval
1454
} # ac_fn_c_try_compile
1456
# ac_fn_c_try_cpp LINENO
1457
# ----------------------
1458
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1461
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1462
if { { ac_try="$ac_cpp conftest.$ac_ext"
1464
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465
*) ac_try_echo=$ac_try;;
1467
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468
$as_echo "$ac_try_echo"; } >&5
1469
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1471
if test -s conftest.err; then
1472
grep -v '^ *+' conftest.err >conftest.er1
1473
cat conftest.er1 >&5
1474
mv -f conftest.er1 conftest.err
1476
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477
test $ac_status = 0; } >/dev/null && {
1478
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1479
test ! -s conftest.err
1483
$as_echo "$as_me: failed program was:" >&5
1484
sed 's/^/| /' conftest.$ac_ext >&5
1488
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1489
as_fn_set_status $ac_retval
1493
# ac_fn_c_try_run LINENO
1494
# ----------------------
1495
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1496
# that executables *can* be run.
1499
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500
if { { ac_try="$ac_link"
1502
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503
*) ac_try_echo=$ac_try;;
1505
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506
$as_echo "$ac_try_echo"; } >&5
1507
(eval "$ac_link") 2>&5
1509
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1511
{ { case "(($ac_try" in
1512
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513
*) ac_try_echo=$ac_try;;
1515
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516
$as_echo "$ac_try_echo"; } >&5
1517
(eval "$ac_try") 2>&5
1519
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520
test $ac_status = 0; }; }; then :
1523
$as_echo "$as_me: program exited with status $ac_status" >&5
1524
$as_echo "$as_me: failed program was:" >&5
1525
sed 's/^/| /' conftest.$ac_ext >&5
1527
ac_retval=$ac_status
1529
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1530
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1531
as_fn_set_status $ac_retval
1535
# ac_fn_c_try_link LINENO
1536
# -----------------------
1537
# Try to link conftest.$ac_ext, and return whether this succeeded.
1540
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541
rm -f conftest.$ac_objext conftest$ac_exeext
1542
if { { ac_try="$ac_link"
1544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545
*) ac_try_echo=$ac_try;;
1547
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548
$as_echo "$ac_try_echo"; } >&5
1549
(eval "$ac_link") 2>conftest.err
1551
if test -s conftest.err; then
1552
grep -v '^ *+' conftest.err >conftest.er1
1553
cat conftest.er1 >&5
1554
mv -f conftest.er1 conftest.err
1556
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557
test $ac_status = 0; } && {
1558
test -z "$ac_c_werror_flag" ||
1559
test ! -s conftest.err
1560
} && test -s conftest$ac_exeext && {
1561
test "$cross_compiling" = yes ||
1562
$as_test_x conftest$ac_exeext
1566
$as_echo "$as_me: failed program was:" >&5
1567
sed 's/^/| /' conftest.$ac_ext >&5
1571
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1572
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1573
# interfere with the next link command; also delete a directory that is
1574
# left behind by Apple's compiler. We do this before executing the actions.
1575
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1576
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577
as_fn_set_status $ac_retval
1579
} # ac_fn_c_try_link
1581
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1582
# -------------------------------------------------------
1583
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1584
# the include files in INCLUDES and setting the cache variable VAR
1586
ac_fn_c_check_header_mongrel ()
1588
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591
$as_echo_n "checking for $2... " >&6; }
1592
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1593
$as_echo_n "(cached) " >&6
1596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597
$as_echo "$ac_res" >&6; }
1599
# Is the header compilable?
1600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1601
$as_echo_n "checking $2 usability... " >&6; }
1602
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603
/* end confdefs.h. */
1607
if ac_fn_c_try_compile "$LINENO"; then :
1608
ac_header_compiler=yes
1610
ac_header_compiler=no
1612
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1614
$as_echo "$ac_header_compiler" >&6; }
1616
# Is the header present?
1617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1618
$as_echo_n "checking $2 presence... " >&6; }
1619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620
/* end confdefs.h. */
1623
if ac_fn_c_try_cpp "$LINENO"; then :
1624
ac_header_preproc=yes
1626
ac_header_preproc=no
1628
rm -f conftest.err conftest.$ac_ext
1629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1630
$as_echo "$ac_header_preproc" >&6; }
1632
# So? What about this header?
1633
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1635
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1636
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1637
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1642
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1643
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1644
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1645
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1646
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1648
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1649
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1650
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652
## --------------------------- ##
1653
## Report this to kyzer@4u.net ##
1654
## --------------------------- ##
1656
) | sed "s/^/$as_me: WARNING: /" >&2
1659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660
$as_echo_n "checking for $2... " >&6; }
1661
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1662
$as_echo_n "(cached) " >&6
1664
eval "$3=\$ac_header_compiler"
1667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668
$as_echo "$ac_res" >&6; }
1670
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672
} # ac_fn_c_check_header_mongrel
1674
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1675
# -------------------------------------------------------
1676
# Tests whether HEADER exists and can be compiled using the include files in
1677
# INCLUDES, setting the cache variable VAR accordingly.
1678
ac_fn_c_check_header_compile ()
1680
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682
$as_echo_n "checking for $2... " >&6; }
1683
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684
$as_echo_n "(cached) " >&6
1686
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687
/* end confdefs.h. */
1691
if ac_fn_c_try_compile "$LINENO"; then :
1696
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700
$as_echo "$ac_res" >&6; }
1701
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703
} # ac_fn_c_check_header_compile
1705
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1706
# -------------------------------------------
1707
# Tests whether TYPE exists after having included INCLUDES, setting cache
1708
# variable VAR accordingly.
1709
ac_fn_c_check_type ()
1711
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713
$as_echo_n "checking for $2... " >&6; }
1714
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715
$as_echo_n "(cached) " >&6
1718
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719
/* end confdefs.h. */
1730
if ac_fn_c_try_compile "$LINENO"; then :
1731
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732
/* end confdefs.h. */
1743
if ac_fn_c_try_compile "$LINENO"; then :
1748
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754
$as_echo "$ac_res" >&6; }
1755
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757
} # ac_fn_c_check_type
1759
# ac_fn_c_check_func LINENO FUNC VAR
1760
# ----------------------------------
1761
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1762
ac_fn_c_check_func ()
1764
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766
$as_echo_n "checking for $2... " >&6; }
1767
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768
$as_echo_n "(cached) " >&6
1770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771
/* end confdefs.h. */
1772
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1773
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1774
#define $2 innocuous_$2
1776
/* System header to define __stub macros and hopefully few prototypes,
1777
which can conflict with char $2 (); below.
1778
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1779
<limits.h> exists even on freestanding compilers. */
1782
# include <limits.h>
1784
# include <assert.h>
1789
/* Override any GCC internal prototype to avoid an error.
1790
Use char because int might match the return type of a GCC
1791
builtin and then its argument prototype would still apply. */
1796
/* The GNU C library defines this for functions which it implements
1797
to always fail with ENOSYS. Some functions are actually named
1798
something starting with __ and the normal name is an alias. */
1799
#if defined __stub_$2 || defined __stub___$2
1811
if ac_fn_c_try_link "$LINENO"; then :
1816
rm -f core conftest.err conftest.$ac_objext \
1817
conftest$ac_exeext conftest.$ac_ext
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821
$as_echo "$ac_res" >&6; }
1822
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824
} # ac_fn_c_check_func
1826
# ac_fn_c_check_decl LINENO SYMBOL VAR
1827
# ------------------------------------
1828
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1829
ac_fn_c_check_decl ()
1831
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1833
$as_echo_n "checking whether $2 is declared... " >&6; }
1834
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1835
$as_echo_n "(cached) " >&6
1837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838
/* end confdefs.h. */
1851
if ac_fn_c_try_compile "$LINENO"; then :
1856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860
$as_echo "$ac_res" >&6; }
1861
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863
} # ac_fn_c_check_decl
1864
cat >config.log <<_ACEOF
975
1865
This file contains any messages produced by compilers while
976
1866
running configure, to aid debugging if configure makes a mistake.
978
It was created by cabextract $as_me 1.2, which was
979
generated by GNU Autoconf 2.59. Invocation command line was
1868
It was created by cabextract $as_me 1.3, which was
1869
generated by GNU Autoconf 2.65. Invocation command line was
3568
4258
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3569
4259
if test $ac_header_dirent = dirent.h; then
3570
echo "$as_me:$LINENO: checking for library containing opendir" >&5
3571
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3572
if test "${ac_cv_search_opendir+set}" = set; then
3573
echo $ECHO_N "(cached) $ECHO_C" >&6
3575
ac_func_search_save_LIBS=$LIBS
3576
ac_cv_search_opendir=no
3577
cat >conftest.$ac_ext <<_ACEOF
3580
cat confdefs.h >>conftest.$ac_ext
3581
cat >>conftest.$ac_ext <<_ACEOF
3582
/* end confdefs.h. */
3584
/* Override any gcc2 internal prototype to avoid an error. */
3588
/* We use char because int might match the return type of a gcc2
3589
builtin and then its argument prototype would still apply. */
3599
rm -f conftest.$ac_objext conftest$ac_exeext
3600
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3601
(eval $ac_link) 2>conftest.er1
3603
grep -v '^ *+' conftest.er1 >conftest.err
3605
cat conftest.err >&5
3606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607
(exit $ac_status); } &&
3608
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613
(exit $ac_status); }; } &&
3614
{ ac_try='test -s conftest$ac_exeext'
3615
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619
(exit $ac_status); }; }; then
3620
ac_cv_search_opendir="none required"
3622
echo "$as_me: failed program was:" >&5
3623
sed 's/^/| /' conftest.$ac_ext >&5
3626
rm -f conftest.err conftest.$ac_objext \
3627
conftest$ac_exeext conftest.$ac_ext
3628
if test "$ac_cv_search_opendir" = no; then
3629
for ac_lib in dir; do
3630
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3631
cat >conftest.$ac_ext <<_ACEOF
3634
cat confdefs.h >>conftest.$ac_ext
3635
cat >>conftest.$ac_ext <<_ACEOF
3636
/* end confdefs.h. */
3638
/* Override any gcc2 internal prototype to avoid an error. */
3642
/* We use char because int might match the return type of a gcc2
3643
builtin and then its argument prototype would still apply. */
3653
rm -f conftest.$ac_objext conftest$ac_exeext
3654
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3655
(eval $ac_link) 2>conftest.er1
3657
grep -v '^ *+' conftest.er1 >conftest.err
3659
cat conftest.err >&5
3660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661
(exit $ac_status); } &&
3662
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667
(exit $ac_status); }; } &&
3668
{ ac_try='test -s conftest$ac_exeext'
3669
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673
(exit $ac_status); }; }; then
3674
ac_cv_search_opendir="-l$ac_lib"
3677
echo "$as_me: failed program was:" >&5
3678
sed 's/^/| /' conftest.$ac_ext >&5
3681
rm -f conftest.err conftest.$ac_objext \
3682
conftest$ac_exeext conftest.$ac_ext
3685
LIBS=$ac_func_search_save_LIBS
3687
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3688
echo "${ECHO_T}$ac_cv_search_opendir" >&6
3689
if test "$ac_cv_search_opendir" != no; then
3690
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3695
echo "$as_me:$LINENO: checking for library containing opendir" >&5
3696
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3697
if test "${ac_cv_search_opendir+set}" = set; then
3698
echo $ECHO_N "(cached) $ECHO_C" >&6
3700
ac_func_search_save_LIBS=$LIBS
3701
ac_cv_search_opendir=no
3702
cat >conftest.$ac_ext <<_ACEOF
3705
cat confdefs.h >>conftest.$ac_ext
3706
cat >>conftest.$ac_ext <<_ACEOF
3707
/* end confdefs.h. */
3709
/* Override any gcc2 internal prototype to avoid an error. */
3713
/* We use char because int might match the return type of a gcc2
3714
builtin and then its argument prototype would still apply. */
3724
rm -f conftest.$ac_objext conftest$ac_exeext
3725
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3726
(eval $ac_link) 2>conftest.er1
3728
grep -v '^ *+' conftest.er1 >conftest.err
3730
cat conftest.err >&5
3731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732
(exit $ac_status); } &&
3733
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); }; } &&
3739
{ ac_try='test -s conftest$ac_exeext'
3740
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744
(exit $ac_status); }; }; then
3745
ac_cv_search_opendir="none required"
3747
echo "$as_me: failed program was:" >&5
3748
sed 's/^/| /' conftest.$ac_ext >&5
3751
rm -f conftest.err conftest.$ac_objext \
3752
conftest$ac_exeext conftest.$ac_ext
3753
if test "$ac_cv_search_opendir" = no; then
3755
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3756
cat >conftest.$ac_ext <<_ACEOF
3759
cat confdefs.h >>conftest.$ac_ext
3760
cat >>conftest.$ac_ext <<_ACEOF
3761
/* end confdefs.h. */
3763
/* Override any gcc2 internal prototype to avoid an error. */
3767
/* We use char because int might match the return type of a gcc2
3768
builtin and then its argument prototype would still apply. */
3778
rm -f conftest.$ac_objext conftest$ac_exeext
3779
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3780
(eval $ac_link) 2>conftest.er1
3782
grep -v '^ *+' conftest.er1 >conftest.err
3784
cat conftest.err >&5
3785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786
(exit $ac_status); } &&
3787
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3788
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792
(exit $ac_status); }; } &&
3793
{ ac_try='test -s conftest$ac_exeext'
3794
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798
(exit $ac_status); }; }; then
3799
ac_cv_search_opendir="-l$ac_lib"
3802
echo "$as_me: failed program was:" >&5
3803
sed 's/^/| /' conftest.$ac_ext >&5
3806
rm -f conftest.err conftest.$ac_objext \
3807
conftest$ac_exeext conftest.$ac_ext
3810
LIBS=$ac_func_search_save_LIBS
3812
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3813
echo "${ECHO_T}$ac_cv_search_opendir" >&6
3814
if test "$ac_cv_search_opendir" != no; then
3815
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4261
$as_echo_n "checking for library containing opendir... " >&6; }
4262
if test "${ac_cv_search_opendir+set}" = set; then :
4263
$as_echo_n "(cached) " >&6
4265
ac_func_search_save_LIBS=$LIBS
4266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267
/* end confdefs.h. */
4269
/* Override any GCC internal prototype to avoid an error.
4270
Use char because int might match the return type of a GCC
4271
builtin and then its argument prototype would still apply. */
4284
for ac_lib in '' dir; do
4285
if test -z "$ac_lib"; then
4286
ac_res="none required"
4289
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4291
if ac_fn_c_try_link "$LINENO"; then :
4292
ac_cv_search_opendir=$ac_res
4294
rm -f core conftest.err conftest.$ac_objext \
4296
if test "${ac_cv_search_opendir+set}" = set; then :
4300
if test "${ac_cv_search_opendir+set}" = set; then :
4303
ac_cv_search_opendir=no
4306
LIBS=$ac_func_search_save_LIBS
4308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4309
$as_echo "$ac_cv_search_opendir" >&6; }
4310
ac_res=$ac_cv_search_opendir
4311
if test "$ac_res" != no; then :
4312
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4318
$as_echo_n "checking for library containing opendir... " >&6; }
4319
if test "${ac_cv_search_opendir+set}" = set; then :
4320
$as_echo_n "(cached) " >&6
4322
ac_func_search_save_LIBS=$LIBS
4323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324
/* end confdefs.h. */
4326
/* Override any GCC internal prototype to avoid an error.
4327
Use char because int might match the return type of a GCC
4328
builtin and then its argument prototype would still apply. */
4341
for ac_lib in '' x; do
4342
if test -z "$ac_lib"; then
4343
ac_res="none required"
4346
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4348
if ac_fn_c_try_link "$LINENO"; then :
4349
ac_cv_search_opendir=$ac_res
4351
rm -f core conftest.err conftest.$ac_objext \
4353
if test "${ac_cv_search_opendir+set}" = set; then :
4357
if test "${ac_cv_search_opendir+set}" = set; then :
4360
ac_cv_search_opendir=no
4363
LIBS=$ac_func_search_save_LIBS
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4366
$as_echo "$ac_cv_search_opendir" >&6; }
4367
ac_res=$ac_cv_search_opendir
4368
if test "$ac_res" != no; then :
4369
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3821
4375
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3831
4376
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3832
4377
inttypes.h stdint.h unistd.h
3834
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3835
echo "$as_me:$LINENO: checking for $ac_header" >&5
3836
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3837
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3838
echo $ECHO_N "(cached) $ECHO_C" >&6
3840
cat >conftest.$ac_ext <<_ACEOF
3843
cat confdefs.h >>conftest.$ac_ext
3844
cat >>conftest.$ac_ext <<_ACEOF
3845
/* end confdefs.h. */
3846
$ac_includes_default
3848
#include <$ac_header>
3850
rm -f conftest.$ac_objext
3851
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852
(eval $ac_compile) 2>conftest.er1
3854
grep -v '^ *+' conftest.er1 >conftest.err
3856
cat conftest.err >&5
3857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858
(exit $ac_status); } &&
3859
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3860
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864
(exit $ac_status); }; } &&
3865
{ ac_try='test -s conftest.$ac_objext'
3866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870
(exit $ac_status); }; }; then
3871
eval "$as_ac_Header=yes"
3873
echo "$as_me: failed program was:" >&5
3874
sed 's/^/| /' conftest.$ac_ext >&5
3876
eval "$as_ac_Header=no"
3878
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3880
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3881
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3882
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4379
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4380
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4382
eval as_val=\$$as_ac_Header
4383
if test "x$as_val" = x""yes; then :
3883
4384
cat >>confdefs.h <<_ACEOF
3884
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4385
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4828
rm -f conftest$ac_exeext
4829
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4830
(eval $ac_link) 2>&5
4832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4834
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
(exit $ac_status); }; }; then
4799
if ac_fn_c_try_run "$LINENO"; then :
4839
4800
ac_cv_func_fnmatch_works=yes
4841
echo "$as_me: program exited with status $ac_status" >&5
4842
echo "$as_me: failed program was:" >&5
4843
sed 's/^/| /' conftest.$ac_ext >&5
4846
ac_cv_func_fnmatch_works=no
4848
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4851
echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
4852
echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
4853
if test $ac_cv_func_fnmatch_works = yes; then
4855
cat >>confdefs.h <<\_ACEOF
4856
#define HAVE_FNMATCH 1
4863
echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
4864
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
4865
if test "${ac_cv_sys_largefile_source+set}" = set; then
4866
echo $ECHO_N "(cached) $ECHO_C" >&6
4802
ac_cv_func_fnmatch_works=no
4804
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4805
conftest.$ac_objext conftest.beam conftest.$ac_ext
4809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
4810
$as_echo "$ac_cv_func_fnmatch_works" >&6; }
4811
if test $ac_cv_func_fnmatch_works = yes; then :
4813
$as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
4819
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
4820
if test "${ac_cv_sys_largefile_source+set}" = set; then :
4821
$as_echo_n "(cached) " >&6
4869
ac_cv_sys_largefile_source=no
4870
cat >conftest.$ac_ext <<_ACEOF
4873
cat confdefs.h >>conftest.$ac_ext
4874
cat >>conftest.$ac_ext <<_ACEOF
4824
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875
4825
/* end confdefs.h. */
4826
#include <sys/types.h> /* for off_t */
4831
int (*fp) (FILE *, off_t, int) = fseeko;
4832
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
4885
rm -f conftest.$ac_objext
4886
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4887
(eval $ac_compile) 2>conftest.er1
4889
grep -v '^ *+' conftest.er1 >conftest.err
4891
cat conftest.err >&5
4892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893
(exit $ac_status); } &&
4894
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4895
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899
(exit $ac_status); }; } &&
4900
{ ac_try='test -s conftest.$ac_objext'
4901
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905
(exit $ac_status); }; }; then
4908
echo "$as_me: failed program was:" >&5
4909
sed 's/^/| /' conftest.$ac_ext >&5
4837
if ac_fn_c_try_link "$LINENO"; then :
4838
ac_cv_sys_largefile_source=no; break
4912
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4913
cat >conftest.$ac_ext <<_ACEOF
4916
cat confdefs.h >>conftest.$ac_ext
4917
cat >>conftest.$ac_ext <<_ACEOF
4840
rm -f core conftest.err conftest.$ac_objext \
4841
conftest$ac_exeext conftest.$ac_ext
4842
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4918
4843
/* end confdefs.h. */
4919
4844
#define _LARGEFILE_SOURCE 1
4845
#include <sys/types.h> /* for off_t */
4850
int (*fp) (FILE *, off_t, int) = fseeko;
4851
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
4929
rm -f conftest.$ac_objext
4930
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4931
(eval $ac_compile) 2>conftest.er1
4933
grep -v '^ *+' conftest.er1 >conftest.err
4935
cat conftest.err >&5
4936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937
(exit $ac_status); } &&
4938
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4939
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943
(exit $ac_status); }; } &&
4944
{ ac_try='test -s conftest.$ac_objext'
4945
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949
(exit $ac_status); }; }; then
4856
if ac_fn_c_try_link "$LINENO"; then :
4950
4857
ac_cv_sys_largefile_source=1; break
4952
echo "$as_me: failed program was:" >&5
4953
sed 's/^/| /' conftest.$ac_ext >&5
4956
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4859
rm -f core conftest.err conftest.$ac_objext \
4860
conftest$ac_exeext conftest.$ac_ext
4861
ac_cv_sys_largefile_source=unknown
4960
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
4961
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
4962
if test "$ac_cv_sys_largefile_source" != no; then
4865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
4866
$as_echo "$ac_cv_sys_largefile_source" >&6; }
4867
case $ac_cv_sys_largefile_source in #(
4964
4870
cat >>confdefs.h <<_ACEOF
4965
4871
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
4971
4877
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
4972
4878
# in glibc 2.1.3, but that breaks too many other things.
4973
4879
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
4974
echo "$as_me:$LINENO: checking for fseeko" >&5
4975
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
4976
if test "${ac_cv_func_fseeko+set}" = set; then
4977
echo $ECHO_N "(cached) $ECHO_C" >&6
4979
cat >conftest.$ac_ext <<_ACEOF
4982
cat confdefs.h >>conftest.$ac_ext
4983
cat >>conftest.$ac_ext <<_ACEOF
4984
/* end confdefs.h. */
4989
return fseeko && fseeko (stdin, 0, 0);
4994
rm -f conftest.$ac_objext conftest$ac_exeext
4995
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4996
(eval $ac_link) 2>conftest.er1
4998
grep -v '^ *+' conftest.er1 >conftest.err
5000
cat conftest.err >&5
5001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002
(exit $ac_status); } &&
5003
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5004
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008
(exit $ac_status); }; } &&
5009
{ ac_try='test -s conftest$ac_exeext'
5010
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014
(exit $ac_status); }; }; then
5015
ac_cv_func_fseeko=yes
5017
echo "$as_me: failed program was:" >&5
5018
sed 's/^/| /' conftest.$ac_ext >&5
5020
ac_cv_func_fseeko=no
5022
rm -f conftest.err conftest.$ac_objext \
5023
conftest$ac_exeext conftest.$ac_ext
5025
echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
5026
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
5027
if test $ac_cv_func_fseeko = yes; then
5029
cat >>confdefs.h <<\_ACEOF
5030
#define HAVE_FSEEKO 1
5038
for ac_header in stdlib.h sys/time.h unistd.h
5040
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5041
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5042
echo "$as_me:$LINENO: checking for $ac_header" >&5
5043
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5044
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5045
echo $ECHO_N "(cached) $ECHO_C" >&6
5047
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5048
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5050
# Is the header compilable?
5051
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5052
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5053
cat >conftest.$ac_ext <<_ACEOF
5056
cat confdefs.h >>conftest.$ac_ext
5057
cat >>conftest.$ac_ext <<_ACEOF
5058
/* end confdefs.h. */
5059
$ac_includes_default
5060
#include <$ac_header>
5062
rm -f conftest.$ac_objext
5063
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064
(eval $ac_compile) 2>conftest.er1
5066
grep -v '^ *+' conftest.er1 >conftest.err
5068
cat conftest.err >&5
5069
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
(exit $ac_status); } &&
5071
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5072
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076
(exit $ac_status); }; } &&
5077
{ ac_try='test -s conftest.$ac_objext'
5078
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082
(exit $ac_status); }; }; then
5083
ac_header_compiler=yes
5085
echo "$as_me: failed program was:" >&5
5086
sed 's/^/| /' conftest.$ac_ext >&5
5088
ac_header_compiler=no
5090
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5091
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5092
echo "${ECHO_T}$ac_header_compiler" >&6
5094
# Is the header present?
5095
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5096
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5097
cat >conftest.$ac_ext <<_ACEOF
5100
cat confdefs.h >>conftest.$ac_ext
5101
cat >>conftest.$ac_ext <<_ACEOF
5102
/* end confdefs.h. */
5103
#include <$ac_header>
5105
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5108
grep -v '^ *+' conftest.er1 >conftest.err
5110
cat conftest.err >&5
5111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112
(exit $ac_status); } >/dev/null; then
5113
if test -s conftest.err; then
5114
ac_cpp_err=$ac_c_preproc_warn_flag
5115
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5122
if test -z "$ac_cpp_err"; then
5123
ac_header_preproc=yes
5125
echo "$as_me: failed program was:" >&5
5126
sed 's/^/| /' conftest.$ac_ext >&5
5128
ac_header_preproc=no
5130
rm -f conftest.err conftest.$ac_ext
5131
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5132
echo "${ECHO_T}$ac_header_preproc" >&6
5134
# So? What about this header?
5135
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5137
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5138
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5139
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5140
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5141
ac_header_preproc=yes
5144
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5145
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5146
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5147
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5148
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5149
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5150
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5151
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5152
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5153
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5154
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5155
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5158
## --------------------------- ##
5159
## Report this to kyzer@4u.net ##
5160
## --------------------------- ##
5163
sed "s/^/$as_me: WARNING: /" >&2
5166
echo "$as_me:$LINENO: checking for $ac_header" >&5
5167
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5168
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5169
echo $ECHO_N "(cached) $ECHO_C" >&6
5171
eval "$as_ac_Header=\$ac_header_preproc"
5173
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5174
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5177
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5178
cat >>confdefs.h <<_ACEOF
5179
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5187
for ac_func in alarm
5189
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5190
echo "$as_me:$LINENO: checking for $ac_func" >&5
5191
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5192
if eval "test \"\${$as_ac_var+set}\" = set"; then
5193
echo $ECHO_N "(cached) $ECHO_C" >&6
5195
cat >conftest.$ac_ext <<_ACEOF
5198
cat confdefs.h >>conftest.$ac_ext
5199
cat >>conftest.$ac_ext <<_ACEOF
5200
/* end confdefs.h. */
5201
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5202
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5203
#define $ac_func innocuous_$ac_func
5205
/* System header to define __stub macros and hopefully few prototypes,
5206
which can conflict with char $ac_func (); below.
5207
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5208
<limits.h> exists even on freestanding compilers. */
5211
# include <limits.h>
5213
# include <assert.h>
5218
/* Override any gcc2 internal prototype to avoid an error. */
5223
/* We use char because int might match the return type of a gcc2
5224
builtin and then its argument prototype would still apply. */
5226
/* The GNU C library defines this for functions which it implements
5227
to always fail with ENOSYS. Some functions are actually named
5228
something starting with __ and the normal name is an alias. */
5229
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5232
char (*f) () = $ac_func;
5241
return f != $ac_func;
5246
rm -f conftest.$ac_objext conftest$ac_exeext
5247
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5248
(eval $ac_link) 2>conftest.er1
5250
grep -v '^ *+' conftest.er1 >conftest.err
5252
cat conftest.err >&5
5253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254
(exit $ac_status); } &&
5255
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260
(exit $ac_status); }; } &&
5261
{ ac_try='test -s conftest$ac_exeext'
5262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266
(exit $ac_status); }; }; then
5267
eval "$as_ac_var=yes"
5269
echo "$as_me: failed program was:" >&5
5270
sed 's/^/| /' conftest.$ac_ext >&5
5272
eval "$as_ac_var=no"
5274
rm -f conftest.err conftest.$ac_objext \
5275
conftest$ac_exeext conftest.$ac_ext
5277
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5278
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5279
if test `eval echo '${'$as_ac_var'}'` = yes; then
5280
cat >>confdefs.h <<_ACEOF
5281
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5287
echo "$as_me:$LINENO: checking for working mktime" >&5
5288
echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
5289
if test "${ac_cv_func_working_mktime+set}" = set; then
5290
echo $ECHO_N "(cached) $ECHO_C" >&6
5292
if test "$cross_compiling" = yes; then
4880
if test $ac_cv_sys_largefile_source != unknown; then
4882
$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
4886
for ac_func in mkdir _mkdir
4888
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4889
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4890
eval as_val=\$$as_ac_var
4891
if test "x$as_val" = x""yes; then :
4892
cat >>confdefs.h <<_ACEOF
4893
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes one argument" >&5
4900
$as_echo_n "checking whether mkdir takes one argument... " >&6; }
4901
if test "${ac_cv_mkdir_takes_one_arg+set}" = set; then :
4902
$as_echo_n "(cached) " >&6
4904
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905
/* end confdefs.h. */
4907
#include <sys/stat.h>
4909
# include <unistd.h>
4920
if ac_fn_c_try_compile "$LINENO"; then :
4921
ac_cv_mkdir_takes_one_arg=yes
4923
ac_cv_mkdir_takes_one_arg=no
4925
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mkdir_takes_one_arg" >&5
4928
$as_echo "$ac_cv_mkdir_takes_one_arg" >&6; }
4929
if test x"$ac_cv_mkdir_takes_one_arg" = xyes; then
4931
$as_echo "#define MKDIR_TAKES_ONE_ARG 1" >>confdefs.h
4938
for ac_header in $ac_header_list
4940
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4941
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4943
eval as_val=\$$as_ac_Header
4944
if test "x$as_val" = x""yes; then :
4945
cat >>confdefs.h <<_ACEOF
4946
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4960
for ac_func in $ac_func_list
4962
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4963
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4964
eval as_val=\$$as_ac_var
4965
if test "x$as_val" = x""yes; then :
4966
cat >>confdefs.h <<_ACEOF
4967
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
4978
$as_echo_n "checking for working mktime... " >&6; }
4979
if test "${ac_cv_func_working_mktime+set}" = set; then :
4980
$as_echo_n "(cached) " >&6
4982
if test "$cross_compiling" = yes; then :
5293
4983
ac_cv_func_working_mktime=no
5295
cat >conftest.$ac_ext <<_ACEOF
5298
cat confdefs.h >>conftest.$ac_ext
5299
cat >>conftest.$ac_ext <<_ACEOF
4985
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300
4986
/* end confdefs.h. */
5301
4987
/* Test program from Paul Eggert and Tony Leneis. */
5302
#if TIME_WITH_SYS_TIME
4988
#ifdef TIME_WITH_SYS_TIME
5303
4989
# include <sys/time.h>
5304
4990
# include <time.h>
5306
# if HAVE_SYS_TIME_H
4992
# ifdef HAVE_SYS_TIME_H
5307
4993
# include <sys/time.h>
5309
4995
# include <time.h>
5314
# include <stdlib.h>
5002
#ifdef HAVE_UNISTD_H
5318
5003
# include <unistd.h>
5322
5007
# define alarm(X) /* empty */
5445
5161
putenv (tz_strings[i]);
5447
5163
for (t = 0; t <= time_t_max - delta; t += delta)
5449
mktime_test ((time_t) 1);
5450
mktime_test ((time_t) (60 * 60));
5451
mktime_test ((time_t) (60 * 60 * 24));
5164
if (! mktime_test (t))
5166
if (! (mktime_test ((time_t) 1)
5167
&& mktime_test ((time_t) (60 * 60))
5168
&& mktime_test ((time_t) (60 * 60 * 24))))
5453
for (j = 1; 0 < j; j *= 2)
5455
bigtime_test (j - 1);
5171
for (j = 1; ; j <<= 1)
5172
if (! bigtime_test (j))
5174
else if (INT_MAX / 2 < j)
5176
if (! bigtime_test (INT_MAX))
5458
spring_forward_gap ();
5179
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
5462
rm -f conftest$ac_exeext
5463
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5464
(eval $ac_link) 2>&5
5466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5468
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472
(exit $ac_status); }; }; then
5182
if ac_fn_c_try_run "$LINENO"; then :
5473
5183
ac_cv_func_working_mktime=yes
5475
echo "$as_me: program exited with status $ac_status" >&5
5476
echo "$as_me: failed program was:" >&5
5477
sed 's/^/| /' conftest.$ac_ext >&5
5185
ac_cv_func_working_mktime=no
5187
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5188
conftest.$ac_objext conftest.beam conftest.$ac_ext
5480
ac_cv_func_working_mktime=no
5482
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5485
echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
5486
echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
5192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
5193
$as_echo "$ac_cv_func_working_mktime" >&6; }
5487
5194
if test $ac_cv_func_working_mktime = no; then
5489
"mktime.$ac_objext" | \
5490
*" mktime.$ac_objext" | \
5491
"mktime.$ac_objext "* | \
5195
case " $LIBOBJS " in
5492
5196
*" mktime.$ac_objext "* ) ;;
5493
*) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;;
5197
*) LIBOBJS="$LIBOBJS mktime.$ac_objext"
5503
5203
for ac_func in memcpy strcasecmp strchr utime utimes
5505
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5506
echo "$as_me:$LINENO: checking for $ac_func" >&5
5507
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5508
if eval "test \"\${$as_ac_var+set}\" = set"; then
5509
echo $ECHO_N "(cached) $ECHO_C" >&6
5511
cat >conftest.$ac_ext <<_ACEOF
5514
cat confdefs.h >>conftest.$ac_ext
5515
cat >>conftest.$ac_ext <<_ACEOF
5516
/* end confdefs.h. */
5517
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5518
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5519
#define $ac_func innocuous_$ac_func
5521
/* System header to define __stub macros and hopefully few prototypes,
5522
which can conflict with char $ac_func (); below.
5523
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5524
<limits.h> exists even on freestanding compilers. */
5527
# include <limits.h>
5529
# include <assert.h>
5534
/* Override any gcc2 internal prototype to avoid an error. */
5539
/* We use char because int might match the return type of a gcc2
5540
builtin and then its argument prototype would still apply. */
5542
/* The GNU C library defines this for functions which it implements
5543
to always fail with ENOSYS. Some functions are actually named
5544
something starting with __ and the normal name is an alias. */
5545
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5548
char (*f) () = $ac_func;
5557
return f != $ac_func;
5562
rm -f conftest.$ac_objext conftest$ac_exeext
5563
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5564
(eval $ac_link) 2>conftest.er1
5566
grep -v '^ *+' conftest.er1 >conftest.err
5568
cat conftest.err >&5
5569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570
(exit $ac_status); } &&
5571
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576
(exit $ac_status); }; } &&
5577
{ ac_try='test -s conftest$ac_exeext'
5578
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582
(exit $ac_status); }; }; then
5583
eval "$as_ac_var=yes"
5585
echo "$as_me: failed program was:" >&5
5586
sed 's/^/| /' conftest.$ac_ext >&5
5588
eval "$as_ac_var=no"
5590
rm -f conftest.err conftest.$ac_objext \
5591
conftest$ac_exeext conftest.$ac_ext
5593
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5594
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5595
if test `eval echo '${'$as_ac_var'}'` = yes; then
5205
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5206
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5207
eval as_val=\$$as_ac_var
5208
if test "x$as_val" = x""yes; then :
5596
5209
cat >>confdefs.h <<_ACEOF
5597
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5210
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5604
5216
for ac_func in getopt_long
5606
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5607
echo "$as_me:$LINENO: checking for $ac_func" >&5
5608
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5609
if eval "test \"\${$as_ac_var+set}\" = set"; then
5610
echo $ECHO_N "(cached) $ECHO_C" >&6
5612
cat >conftest.$ac_ext <<_ACEOF
5615
cat confdefs.h >>conftest.$ac_ext
5616
cat >>conftest.$ac_ext <<_ACEOF
5617
/* end confdefs.h. */
5618
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5619
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5620
#define $ac_func innocuous_$ac_func
5622
/* System header to define __stub macros and hopefully few prototypes,
5623
which can conflict with char $ac_func (); below.
5624
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5625
<limits.h> exists even on freestanding compilers. */
5628
# include <limits.h>
5630
# include <assert.h>
5635
/* Override any gcc2 internal prototype to avoid an error. */
5640
/* We use char because int might match the return type of a gcc2
5641
builtin and then its argument prototype would still apply. */
5643
/* The GNU C library defines this for functions which it implements
5644
to always fail with ENOSYS. Some functions are actually named
5645
something starting with __ and the normal name is an alias. */
5646
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5649
char (*f) () = $ac_func;
5658
return f != $ac_func;
5663
rm -f conftest.$ac_objext conftest$ac_exeext
5664
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5665
(eval $ac_link) 2>conftest.er1
5667
grep -v '^ *+' conftest.er1 >conftest.err
5669
cat conftest.err >&5
5670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671
(exit $ac_status); } &&
5672
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5673
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
(exit $ac_status); }; } &&
5678
{ ac_try='test -s conftest$ac_exeext'
5679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683
(exit $ac_status); }; }; then
5684
eval "$as_ac_var=yes"
5686
echo "$as_me: failed program was:" >&5
5687
sed 's/^/| /' conftest.$ac_ext >&5
5689
eval "$as_ac_var=no"
5691
rm -f conftest.err conftest.$ac_objext \
5692
conftest$ac_exeext conftest.$ac_ext
5694
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5695
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5696
if test `eval echo '${'$as_ac_var'}'` = yes; then
5218
ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
5219
if test "x$ac_cv_func_getopt_long" = x""yes; then :
5697
5220
cat >>confdefs.h <<_ACEOF
5698
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5221
#define HAVE_GETOPT_LONG 1
5702
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5703
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5704
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5705
echo $ECHO_N "(cached) $ECHO_C" >&6
5225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lgnugetopt" >&5
5226
$as_echo_n "checking for getopt_long in -lgnugetopt... " >&6; }
5227
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then :
5228
$as_echo_n "(cached) " >&6
5707
5230
ac_check_lib_save_LIBS=$LIBS
5708
5231
LIBS="-lgnugetopt $LIBS"
5709
cat >conftest.$ac_ext <<_ACEOF
5712
cat confdefs.h >>conftest.$ac_ext
5713
cat >>conftest.$ac_ext <<_ACEOF
5232
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714
5233
/* end confdefs.h. */
5716
/* Override any gcc2 internal prototype to avoid an error. */
5235
/* Override any GCC internal prototype to avoid an error.
5236
Use char because int might match the return type of a GCC
5237
builtin and then its argument prototype would still apply. */
5717
5238
#ifdef __cplusplus
5720
/* We use char because int might match the return type of a gcc2
5721
builtin and then its argument prototype would still apply. */
5722
5241
char getopt_long ();
5245
return getopt_long ();
5731
rm -f conftest.$ac_objext conftest$ac_exeext
5732
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5733
(eval $ac_link) 2>conftest.er1
5735
grep -v '^ *+' conftest.er1 >conftest.err
5737
cat conftest.err >&5
5738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739
(exit $ac_status); } &&
5740
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745
(exit $ac_status); }; } &&
5746
{ ac_try='test -s conftest$ac_exeext'
5747
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751
(exit $ac_status); }; }; then
5250
if ac_fn_c_try_link "$LINENO"; then :
5752
5251
ac_cv_lib_gnugetopt_getopt_long=yes
5754
echo "$as_me: failed program was:" >&5
5755
sed 's/^/| /' conftest.$ac_ext >&5
5757
ac_cv_lib_gnugetopt_getopt_long=no
5253
ac_cv_lib_gnugetopt_getopt_long=no
5759
rm -f conftest.err conftest.$ac_objext \
5760
conftest$ac_exeext conftest.$ac_ext
5255
rm -f core conftest.err conftest.$ac_objext \
5256
conftest$ac_exeext conftest.$ac_ext
5761
5257
LIBS=$ac_check_lib_save_LIBS
5763
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5764
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5765
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5766
cat >>confdefs.h <<\_ACEOF
5767
#define HAVE_GETOPT_LONG 1
5259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5260
$as_echo "$ac_cv_lib_gnugetopt_getopt_long" >&6; }
5261
if test "x$ac_cv_lib_gnugetopt_getopt_long" = x""yes; then :
5262
$as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
5772
"getopt.$ac_objext" | \
5773
*" getopt.$ac_objext" | \
5774
"getopt.$ac_objext "* | \
5265
case " $LIBOBJS " in
5775
5266
*" getopt.$ac_objext "* ) ;;
5776
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5267
*) LIBOBJS="$LIBOBJS getopt.$ac_objext"
5779
"getopt1.$ac_objext" | \
5780
*" getopt1.$ac_objext" | \
5781
"getopt1.$ac_objext "* | \
5270
case " $LIBOBJS " in
5782
5271
*" getopt1.$ac_objext "* ) ;;
5783
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5272
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext"
6250
rm -f conftest$ac_exeext
6251
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6252
(eval $ac_link) 2>&5
6254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
(exit $ac_status); }; }; then
5539
if ac_fn_c_try_run "$LINENO"; then :
6261
5540
ac_cv_func_fnmatch_works=yes
6263
echo "$as_me: program exited with status $ac_status" >&5
6264
echo "$as_me: failed program was:" >&5
6265
sed 's/^/| /' conftest.$ac_ext >&5
6268
ac_cv_func_fnmatch_works=no
6270
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6273
echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
6274
echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
6275
if test $ac_cv_func_fnmatch_works = yes; then
6276
rm -f $ac_config_libobj_dir/fnmatch.h
6278
echo "$as_me:$LINENO: checking whether getenv is declared" >&5
6279
echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
6280
if test "${ac_cv_have_decl_getenv+set}" = set; then
6281
echo $ECHO_N "(cached) $ECHO_C" >&6
6283
cat >conftest.$ac_ext <<_ACEOF
6286
cat confdefs.h >>conftest.$ac_ext
6287
cat >>conftest.$ac_ext <<_ACEOF
6288
/* end confdefs.h. */
6289
$ac_includes_default
6294
char *p = (char *) getenv;
6301
rm -f conftest.$ac_objext
6302
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6303
(eval $ac_compile) 2>conftest.er1
6305
grep -v '^ *+' conftest.er1 >conftest.err
6307
cat conftest.err >&5
6308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309
(exit $ac_status); } &&
6310
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6311
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315
(exit $ac_status); }; } &&
6316
{ ac_try='test -s conftest.$ac_objext'
6317
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6320
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321
(exit $ac_status); }; }; then
6322
ac_cv_have_decl_getenv=yes
6324
echo "$as_me: failed program was:" >&5
6325
sed 's/^/| /' conftest.$ac_ext >&5
6327
ac_cv_have_decl_getenv=no
6329
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6331
echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
6332
echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
6333
if test $ac_cv_have_decl_getenv = yes; then
5542
ac_cv_func_fnmatch_works=no
5544
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5545
conftest.$ac_objext conftest.beam conftest.$ac_ext
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
5550
$as_echo "$ac_cv_func_fnmatch_works" >&6; }
5551
if test $ac_cv_func_fnmatch_works = yes; then :
5552
rm -f "$ac_config_libobj_dir/fnmatch.h"
5554
ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
5555
if test "x$ac_cv_have_decl_getenv" = x""yes; then :
6335
5561
cat >>confdefs.h <<_ACEOF
6336
#define HAVE_DECL_GETENV 1
6341
cat >>confdefs.h <<_ACEOF
6342
#define HAVE_DECL_GETENV 0
5562
#define HAVE_DECL_GETENV $ac_have_decl
6353
5565
for ac_func in btowc mbsrtowcs mempcpy wmempcpy
6355
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6356
echo "$as_me:$LINENO: checking for $ac_func" >&5
6357
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6358
if eval "test \"\${$as_ac_var+set}\" = set"; then
6359
echo $ECHO_N "(cached) $ECHO_C" >&6
6361
cat >conftest.$ac_ext <<_ACEOF
6364
cat confdefs.h >>conftest.$ac_ext
6365
cat >>conftest.$ac_ext <<_ACEOF
6366
/* end confdefs.h. */
6367
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6368
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6369
#define $ac_func innocuous_$ac_func
6371
/* System header to define __stub macros and hopefully few prototypes,
6372
which can conflict with char $ac_func (); below.
6373
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6374
<limits.h> exists even on freestanding compilers. */
6377
# include <limits.h>
6379
# include <assert.h>
6384
/* Override any gcc2 internal prototype to avoid an error. */
6389
/* We use char because int might match the return type of a gcc2
6390
builtin and then its argument prototype would still apply. */
6392
/* The GNU C library defines this for functions which it implements
6393
to always fail with ENOSYS. Some functions are actually named
6394
something starting with __ and the normal name is an alias. */
6395
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6398
char (*f) () = $ac_func;
6407
return f != $ac_func;
6412
rm -f conftest.$ac_objext conftest$ac_exeext
6413
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6414
(eval $ac_link) 2>conftest.er1
6416
grep -v '^ *+' conftest.er1 >conftest.err
6418
cat conftest.err >&5
6419
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420
(exit $ac_status); } &&
6421
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6422
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426
(exit $ac_status); }; } &&
6427
{ ac_try='test -s conftest$ac_exeext'
6428
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432
(exit $ac_status); }; }; then
6433
eval "$as_ac_var=yes"
6435
echo "$as_me: failed program was:" >&5
6436
sed 's/^/| /' conftest.$ac_ext >&5
6438
eval "$as_ac_var=no"
6440
rm -f conftest.err conftest.$ac_objext \
6441
conftest$ac_exeext conftest.$ac_ext
6443
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6444
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6445
if test `eval echo '${'$as_ac_var'}'` = yes; then
5567
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5568
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5569
eval as_val=\$$as_ac_var
5570
if test "x$as_val" = x""yes; then :
6446
5571
cat >>confdefs.h <<_ACEOF
6447
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5572
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6455
5578
for ac_header in wchar.h wctype.h
6457
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6458
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6459
echo "$as_me:$LINENO: checking for $ac_header" >&5
6460
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6461
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6462
echo $ECHO_N "(cached) $ECHO_C" >&6
6464
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6465
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6467
# Is the header compilable?
6468
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6469
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6470
cat >conftest.$ac_ext <<_ACEOF
6473
cat confdefs.h >>conftest.$ac_ext
6474
cat >>conftest.$ac_ext <<_ACEOF
6475
/* end confdefs.h. */
6476
$ac_includes_default
6477
#include <$ac_header>
6479
rm -f conftest.$ac_objext
6480
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6481
(eval $ac_compile) 2>conftest.er1
6483
grep -v '^ *+' conftest.er1 >conftest.err
6485
cat conftest.err >&5
6486
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487
(exit $ac_status); } &&
6488
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6489
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493
(exit $ac_status); }; } &&
6494
{ ac_try='test -s conftest.$ac_objext'
6495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499
(exit $ac_status); }; }; then
6500
ac_header_compiler=yes
6502
echo "$as_me: failed program was:" >&5
6503
sed 's/^/| /' conftest.$ac_ext >&5
6505
ac_header_compiler=no
6507
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6508
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6509
echo "${ECHO_T}$ac_header_compiler" >&6
6511
# Is the header present?
6512
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6513
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6514
cat >conftest.$ac_ext <<_ACEOF
6517
cat confdefs.h >>conftest.$ac_ext
6518
cat >>conftest.$ac_ext <<_ACEOF
6519
/* end confdefs.h. */
6520
#include <$ac_header>
6522
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6523
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6525
grep -v '^ *+' conftest.er1 >conftest.err
6527
cat conftest.err >&5
6528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529
(exit $ac_status); } >/dev/null; then
6530
if test -s conftest.err; then
6531
ac_cpp_err=$ac_c_preproc_warn_flag
6532
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6539
if test -z "$ac_cpp_err"; then
6540
ac_header_preproc=yes
6542
echo "$as_me: failed program was:" >&5
6543
sed 's/^/| /' conftest.$ac_ext >&5
6545
ac_header_preproc=no
6547
rm -f conftest.err conftest.$ac_ext
6548
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6549
echo "${ECHO_T}$ac_header_preproc" >&6
6551
# So? What about this header?
6552
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6554
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6555
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6556
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6557
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6558
ac_header_preproc=yes
6561
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6562
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6563
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6564
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6565
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6566
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6567
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6568
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6569
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6570
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6571
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6572
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6575
## --------------------------- ##
6576
## Report this to kyzer@4u.net ##
6577
## --------------------------- ##
6580
sed "s/^/$as_me: WARNING: /" >&2
6583
echo "$as_me:$LINENO: checking for $ac_header" >&5
6584
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6585
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6586
echo $ECHO_N "(cached) $ECHO_C" >&6
6588
eval "$as_ac_Header=\$ac_header_preproc"
6590
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6591
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6594
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5580
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5581
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5582
eval as_val=\$$as_ac_Header
5583
if test "x$as_val" = x""yes; then :
6595
5584
cat >>confdefs.h <<_ACEOF
6596
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5585
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6604
"fnmatch.$ac_objext" | \
6605
*" fnmatch.$ac_objext" | \
6606
"fnmatch.$ac_objext "* | \
5592
case " $LIBOBJS " in
6607
5593
*" fnmatch.$ac_objext "* ) ;;
6608
*) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" ;;
5594
*) LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
6611
ac_config_links="$ac_config_links $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h"
6614
cat >>confdefs.h <<\_ACEOF
6615
#define fnmatch rpl_fnmatch
5598
ac_config_links="$ac_config_links $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h"
5601
$as_echo "#define fnmatch rpl_fnmatch" >>confdefs.h
5608
# use an external libmspack if requested
5609
cabextract_external_libmspack=no
5611
# Check whether --with-external-libmspack was given.
5612
if test "${with_external_libmspack+set}" = set; then :
5613
withval=$with_external_libmspack; cabextract_external_libmspack=$withval
5617
if test "z$cabextract_external_libmspack" != 'zno'; then
5618
ac_fn_c_check_header_mongrel "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "$ac_includes_default"
5619
if test "x$ac_cv_header_mspack_h" = x""yes; then :
5622
as_fn_error "Cannot find libmspack header" "$LINENO" 5
5628
if test "z$cabextract_external_libmspack" != 'zno'; then
5629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_cab_compressor in -lmspack" >&5
5630
$as_echo_n "checking for mspack_create_cab_compressor in -lmspack... " >&6; }
5631
if test "${ac_cv_lib_mspack_mspack_create_cab_compressor+set}" = set; then :
5632
$as_echo_n "(cached) " >&6
5634
ac_check_lib_save_LIBS=$LIBS
5635
LIBS="-lmspack $LIBS"
5636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5637
/* end confdefs.h. */
5639
/* Override any GCC internal prototype to avoid an error.
5640
Use char because int might match the return type of a GCC
5641
builtin and then its argument prototype would still apply. */
5645
char mspack_create_cab_compressor ();
5649
return mspack_create_cab_compressor ();
6624
ac_config_files="$ac_config_files Makefile cabextract.spec"
5654
if ac_fn_c_try_link "$LINENO"; then :
5655
ac_cv_lib_mspack_mspack_create_cab_compressor=yes
5657
ac_cv_lib_mspack_mspack_create_cab_compressor=no
5659
rm -f core conftest.err conftest.$ac_objext \
5660
conftest$ac_exeext conftest.$ac_ext
5661
LIBS=$ac_check_lib_save_LIBS
5663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_cab_compressor" >&5
5664
$as_echo "$ac_cv_lib_mspack_mspack_create_cab_compressor" >&6; }
5665
if test "x$ac_cv_lib_mspack_mspack_create_cab_compressor" = x""yes; then :
5666
LIBMSPACK_LIBS=-lmspack
5668
as_fn_error "Cannot find libmspack library" "$LINENO" 5
5673
if test "z$cabextract_external_libmspack" != 'zno'; then
5674
EXTERNAL_LIBMSPACK_TRUE=
5675
EXTERNAL_LIBMSPACK_FALSE='#'
5677
EXTERNAL_LIBMSPACK_TRUE='#'
5678
EXTERNAL_LIBMSPACK_FALSE=
5682
ac_config_files="$ac_config_files Makefile cabextract.spec"
6626
5684
cat >confcache <<\_ACEOF
6627
5685
# This file is a shell script that caches the results of configure
7200
6424
# Have a temporary directory for convenience. Make it in the build tree
7201
# simply because there is no reason to put it here, and in addition,
6425
# simply because there is no reason against having it here, and in addition,
7202
6426
# creating and moving files from /tmp can sometimes cause problems.
7203
# Create a temporary directory, and hook for its removal unless debugging.
6427
# Hook for its removal unless debugging.
6428
# Note that there is a small window in which the directory will not be cleaned:
6429
# after its creation but before its name has been assigned to `$tmp'.
7206
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7207
trap '{ (exit 1); exit 1; }' 1 2 13 15
6433
trap 'exit_status=$?
6434
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6436
trap 'as_fn_exit 1' 1 2 13 15
7210
6438
# Create a (secure) tmp directory for tmp files.
7213
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6441
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7214
6442
test -n "$tmp" && test -d "$tmp"
7217
tmp=./confstat$$-$RANDOM
7218
(umask 077 && mkdir $tmp)
6445
tmp=./conf$$-$RANDOM
6446
(umask 077 && mkdir "$tmp")
6447
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6449
# Set up the scripts for CONFIG_FILES section.
6450
# No need to generate them if there are no CONFIG_FILES.
6451
# This happens for instance with `./config.status config.h'.
6452
if test -n "$CONFIG_FILES"; then
6455
ac_cr=`echo X | tr X '\015'`
6456
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6457
# But we know of no other shell where ac_cr would be empty at this
6458
# point, so we can use a bashism as a fallback.
6459
if test "x$ac_cr" = x; then
6460
eval ac_cr=\$\'\\r\'
6462
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6463
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6469
echo 'BEGIN {' >"$tmp/subs1.awk" &&
7221
echo "$me: cannot create a temporary directory in ." >&2
7222
{ (exit 1); exit 1; }
7227
cat >>$CONFIG_STATUS <<_ACEOF
7230
# CONFIG_FILES section.
7233
# No need to generate the scripts if there are no CONFIG_FILES.
7234
# This happens for instance when ./config.status config.h
7235
if test -n "\$CONFIG_FILES"; then
7236
# Protect against being on the right side of a sed subst in config.status.
7237
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7238
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7239
s,@SHELL@,$SHELL,;t t
7240
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7241
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7242
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7243
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7244
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7245
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7246
s,@exec_prefix@,$exec_prefix,;t t
7247
s,@prefix@,$prefix,;t t
7248
s,@program_transform_name@,$program_transform_name,;t t
7249
s,@bindir@,$bindir,;t t
7250
s,@sbindir@,$sbindir,;t t
7251
s,@libexecdir@,$libexecdir,;t t
7252
s,@datadir@,$datadir,;t t
7253
s,@sysconfdir@,$sysconfdir,;t t
7254
s,@sharedstatedir@,$sharedstatedir,;t t
7255
s,@localstatedir@,$localstatedir,;t t
7256
s,@libdir@,$libdir,;t t
7257
s,@includedir@,$includedir,;t t
7258
s,@oldincludedir@,$oldincludedir,;t t
7259
s,@infodir@,$infodir,;t t
7260
s,@mandir@,$mandir,;t t
7261
s,@build_alias@,$build_alias,;t t
7262
s,@host_alias@,$host_alias,;t t
7263
s,@target_alias@,$target_alias,;t t
7265
s,@ECHO_C@,$ECHO_C,;t t
7266
s,@ECHO_N@,$ECHO_N,;t t
7267
s,@ECHO_T@,$ECHO_T,;t t
7269
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7270
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7271
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7272
s,@CYGPATH_W@,$CYGPATH_W,;t t
7273
s,@PACKAGE@,$PACKAGE,;t t
7274
s,@VERSION@,$VERSION,;t t
7275
s,@ACLOCAL@,$ACLOCAL,;t t
7276
s,@AUTOCONF@,$AUTOCONF,;t t
7277
s,@AUTOMAKE@,$AUTOMAKE,;t t
7278
s,@AUTOHEADER@,$AUTOHEADER,;t t
7279
s,@MAKEINFO@,$MAKEINFO,;t t
7280
s,@install_sh@,$install_sh,;t t
7281
s,@STRIP@,$STRIP,;t t
7282
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7283
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7284
s,@mkdir_p@,$mkdir_p,;t t
7286
s,@SET_MAKE@,$SET_MAKE,;t t
7287
s,@am__leading_dot@,$am__leading_dot,;t t
7288
s,@AMTAR@,$AMTAR,;t t
7289
s,@am__tar@,$am__tar,;t t
7290
s,@am__untar@,$am__untar,;t t
7292
s,@CFLAGS@,$CFLAGS,;t t
7293
s,@LDFLAGS@,$LDFLAGS,;t t
7294
s,@CPPFLAGS@,$CPPFLAGS,;t t
7295
s,@ac_ct_CC@,$ac_ct_CC,;t t
7296
s,@EXEEXT@,$EXEEXT,;t t
7297
s,@OBJEXT@,$OBJEXT,;t t
7298
s,@DEPDIR@,$DEPDIR,;t t
7299
s,@am__include@,$am__include,;t t
7300
s,@am__quote@,$am__quote,;t t
7301
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7302
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7303
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7304
s,@CCDEPMODE@,$CCDEPMODE,;t t
7305
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7306
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7307
s,@RANLIB@,$RANLIB,;t t
7308
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7310
s,@EGREP@,$EGREP,;t t
7311
s,@LIBOBJS@,$LIBOBJS,;t t
7312
s,@ALLOCA@,$ALLOCA,;t t
7313
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7318
cat >>$CONFIG_STATUS <<\_ACEOF
7319
# Split the substitutions into bite-sized pieces for seds with
7320
# small command number limits, like on Digital OSF/1 and HP-UX.
7322
ac_sed_frag=1 # Number of current file.
7323
ac_beg=1 # First line for current file.
7324
ac_end=$ac_max_sed_lines # Line after last line for current file.
7327
while $ac_more_lines; do
7328
if test $ac_beg -gt 1; then
7329
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7331
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7333
if test ! -s $tmp/subs.frag; then
7336
# The purpose of the label and of the branching condition is to
7337
# speed up the sed processing (if there are no `@' at all, there
7338
# is no need to browse any of the substitutions).
7339
# These are the two extra sed commands mentioned above.
7341
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7342
if test -z "$ac_sed_cmds"; then
7343
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7345
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7347
ac_sed_frag=`expr $ac_sed_frag + 1`
7349
ac_end=`expr $ac_end + $ac_max_sed_lines`
7352
if test -z "$ac_sed_cmds"; then
6474
echo "cat >conf$$subs.awk <<_ACEOF" &&
6475
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6478
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6479
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6481
for ac_last_try in false false false false false :; do
6482
. ./conf$$subs.sh ||
6483
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6485
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6486
if test $ac_delim_n = $ac_delim_num; then
6488
elif $ac_last_try; then
6489
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6491
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6496
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6497
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6501
s/^/S["/; s/!.*/"]=/
6511
s/\(.\{148\}\)..*/\1/
6513
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6518
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6525
s/\(.\{148\}\)..*/\1/
6527
s/["\\]/\\&/g; s/^/"/; s/$/"/
6531
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6536
' <conf$$subs.awk | sed '
6541
' >>$CONFIG_STATUS || ac_write_fail=1
6542
rm -f conf$$subs.awk
6543
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6545
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6546
for (key in S) S_is_set[key] = 1
6552
nfields = split(line, field, "@")
6554
len = length(field[1])
6555
for (i = 2; i < nfields; i++) {
6557
keylen = length(key)
6558
if (S_is_set[key]) {
6560
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6561
len += length(value) + length(field[++i])
6572
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6573
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6574
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6577
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6578
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
6581
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6582
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6583
# trailing colons and then remove the whole line if VPATH becomes empty
6584
# (actually we leave an empty line to preserve line numbers).
6585
if test "x$srcdir" = x.; then
6586
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6590
s/^\([^=]*=[ ]*\):*/\1/
6596
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7355
6597
fi # test -n "$CONFIG_FILES"
7358
cat >>$CONFIG_STATUS <<\_ACEOF
7359
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7360
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7362
- | *:- | *:-:* ) # input from stdin
7364
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7365
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7366
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7367
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7368
* ) ac_file_in=$ac_file.in ;;
7371
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7372
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6599
# Set up the scripts for CONFIG_HEADERS section.
6600
# No need to generate them if there are no CONFIG_HEADERS.
6601
# This happens for instance with `./config.status Makefile'.
6602
if test -n "$CONFIG_HEADERS"; then
6603
cat >"$tmp/defines.awk" <<\_ACAWK ||
6607
# Transform confdefs.h into an awk script `defines.awk', embedded as
6608
# here-document in config.status, that substitutes the proper values into
6609
# config.h.in to produce config.h.
6611
# Create a delimiter string that does not exist in confdefs.h, to ease
6612
# handling of long lines.
6614
for ac_last_try in false false :; do
6615
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6616
if test -z "$ac_t"; then
6618
elif $ac_last_try; then
6619
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6621
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6625
# For the awk script, D is an array of macro values keyed by name,
6626
# likewise P contains macro parameters if any. Preserve backslash
6627
# newline sequences.
6629
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6631
s/.\{148\}/&'"$ac_delim"'/g
6634
s/^[ ]*#[ ]*define[ ][ ]*/ /
6641
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6643
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6647
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6648
D["\1"]=" \3\\\\\\n"\\/p
6650
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6655
s/.\{148\}/&'"$ac_delim"'/g
6660
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6663
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6665
' <confdefs.h | sed '
6666
s/'"$ac_delim"'/"\\\
6667
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6669
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6670
for (key in D) D_is_set[key] = 1
6673
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6675
split(line, arg, " ")
6676
if (arg[1] == "#") {
6680
defundef = substr(arg[1], 2)
6683
split(mac1, mac2, "(") #)
6685
prefix = substr(line, 1, index(line, defundef) - 1)
6686
if (D_is_set[macro]) {
6687
# Preserve the white space surrounding the "#".
6688
print prefix "define", macro P[macro] D[macro]
6691
# Replace #undef with comments. This is necessary, for example,
6692
# in the case of _POSIX_SOURCE, which is predefined and required
6693
# on some systems where configure will not decide to define it.
6694
if (defundef == "undef") {
6695
print "/*", prefix defundef, macro, "*/"
6703
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6704
as_fn_error "could not setup config headers machinery" "$LINENO" 5
6705
fi # test -n "$CONFIG_HEADERS"
6708
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
6713
:[FHLC]) ac_mode=$ac_tag; continue;;
6715
case $ac_mode$ac_tag in
6717
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6718
:[FH]-) ac_tag=-:-;;
6719
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6736
-) ac_f="$tmp/stdin";;
6737
*) # Look for the file first in the build tree, then in the source tree
6738
# (if the path is not absolute). The absolute path cannot be DOS-style,
6739
# because $ac_f cannot contain `:'.
6743
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6745
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6747
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6748
as_fn_append ac_file_inputs " '$ac_f'"
6751
# Let's still pretend it is `configure' which instantiates (i.e., don't
6752
# use $as_me), people would be surprised to read:
6753
# /* config.h. Generated by config.status. */
6754
configure_input='Generated from '`
6755
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6757
if test x"$ac_file" != x-; then
6758
configure_input="$ac_file. $configure_input"
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6760
$as_echo "$as_me: creating $ac_file" >&6;}
6762
# Neutralize special characters interpreted by sed in replacement strings.
6763
case $configure_input in #(
6764
*\&* | *\|* | *\\* )
6765
ac_sed_conf_input=`$as_echo "$configure_input" |
6766
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6767
*) ac_sed_conf_input=$configure_input;;
6771
*:-:* | *:-) cat >"$tmp/stdin" \
6772
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6777
ac_dir=`$as_dirname -- "$ac_file" ||
7373
6778
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7374
6779
X"$ac_file" : 'X\(//\)[^/]' \| \
7375
6780
X"$ac_file" : 'X\(//\)$' \| \
7376
X"$ac_file" : 'X\(/\)' \| \
7377
. : '\(.\)' 2>/dev/null ||
7379
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7380
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7381
/^X\(\/\/\)$/{ s//\1/; q; }
7382
/^X\(\/\).*/{ s//\1/; q; }
7384
{ if $as_mkdir_p; then
7389
while test ! -d "$as_dir"; do
7390
as_dirs="$as_dir $as_dirs"
7391
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7392
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7393
X"$as_dir" : 'X\(//\)[^/]' \| \
7394
X"$as_dir" : 'X\(//\)$' \| \
7395
X"$as_dir" : 'X\(/\)' \| \
7396
. : '\(.\)' 2>/dev/null ||
7398
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7399
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7400
/^X\(\/\/\)$/{ s//\1/; q; }
7401
/^X\(\/\).*/{ s//\1/; q; }
7404
test ! -n "$as_dirs" || mkdir $as_dirs
7405
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7406
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7407
{ (exit 1); exit 1; }; }; }
6781
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6782
$as_echo X"$ac_file" |
6783
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6800
as_dir="$ac_dir"; as_fn_mkdir_p
7411
if test "$ac_dir" != .; then
7412
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7413
# A "../" for each directory in $ac_dir_suffix.
7414
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7416
ac_dir_suffix= ac_top_builddir=
6804
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6806
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6807
# A ".." for each directory in $ac_dir_suffix.
6808
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6809
case $ac_top_builddir_sub in
6810
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6811
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6814
ac_abs_top_builddir=$ac_pwd
6815
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6816
# for backward compatibility:
6817
ac_top_builddir=$ac_top_build_prefix
7419
6819
case $srcdir in
7420
.) # No --srcdir option. We are building in place.
6820
.) # We are building in place.
7422
if test -z "$ac_top_builddir"; then
7425
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7427
[\\/]* | ?:[\\/]* ) # Absolute path.
6822
ac_top_srcdir=$ac_top_builddir_sub
6823
ac_abs_top_srcdir=$ac_pwd ;;
6824
[\\/]* | ?:[\\/]* ) # Absolute name.
7428
6825
ac_srcdir=$srcdir$ac_dir_suffix;
7429
ac_top_srcdir=$srcdir ;;
7431
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7432
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7435
# Do not use `cd foo && pwd` to compute absolute paths, because
7436
# the directories may not exist.
7438
.) ac_abs_builddir="$ac_dir";;
7441
.) ac_abs_builddir=`pwd`;;
7442
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7443
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7446
case $ac_abs_builddir in
7447
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7449
case ${ac_top_builddir}. in
7450
.) ac_abs_top_builddir=$ac_abs_builddir;;
7451
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7452
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7455
case $ac_abs_builddir in
7456
.) ac_abs_srcdir=$ac_srcdir;;
7459
.) ac_abs_srcdir=$ac_abs_builddir;;
7460
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7461
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7464
case $ac_abs_builddir in
7465
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7467
case $ac_top_srcdir in
7468
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7469
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7470
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6826
ac_top_srcdir=$srcdir
6827
ac_abs_top_srcdir=$srcdir ;;
6829
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6830
ac_top_srcdir=$ac_top_build_prefix$srcdir
6831
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6833
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7475
6842
case $INSTALL in
7476
6843
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7477
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7480
# Let's still pretend it is `configure' which instantiates (i.e., don't
7481
# use $as_me), people would be surprised to read:
7482
# /* config.h. Generated by config.status. */
7483
if test x"$ac_file" = x-; then
7486
configure_input="$ac_file. "
7488
configure_input=$configure_input"Generated from `echo $ac_file_in |
7489
sed 's,.*/,,'` by configure."
7491
# First look for the input files in the build tree, otherwise in the
7493
ac_file_inputs=`IFS=:
7494
for f in $ac_file_in; do
7496
-) echo $tmp/stdin ;;
7498
# Absolute (can't be DOS-style, as IFS=:)
7499
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7500
echo "$as_me: error: cannot find input file: $f" >&2;}
7501
{ (exit 1); exit 1; }; }
7504
if test -f "$f"; then
7507
elif test -f "$srcdir/$f"; then
7512
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7513
echo "$as_me: error: cannot find input file: $f" >&2;}
7514
{ (exit 1); exit 1; }; }
7517
done` || { (exit 1); exit 1; }
7519
if test x"$ac_file" != x-; then
7520
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7521
echo "$as_me: creating $ac_file" >&6;}
7525
cat >>$CONFIG_STATUS <<_ACEOF
6844
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6848
[\\/$]* | ?:[\\/]* ) ;;
6849
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6853
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6854
# If the template does not know about datarootdir, expand it.
6855
# FIXME: This hack should be removed a few years after 2.60.
6856
ac_datarootdir_hack=; ac_datarootdir_seen=
6867
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6868
*datarootdir*) ac_datarootdir_seen=yes;;
6869
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6870
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6871
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6873
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6874
ac_datarootdir_hack='
6875
s&@datadir@&$datadir&g
6876
s&@docdir@&$docdir&g
6877
s&@infodir@&$infodir&g
6878
s&@localedir@&$localedir&g
6879
s&@mandir@&$mandir&g
6880
s&\\\${datarootdir}&$datarootdir&g' ;;
6884
# Neutralize VPATH when `$srcdir' = `.'.
6885
# Shell code in configure.ac might set extrasub.
6886
# FIXME: do we really want to maintain this feature?
6887
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6888
ac_sed_extra="$ac_vpsub
7529
cat >>$CONFIG_STATUS <<\_ACEOF
6891
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7531
6893
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7532
s,@configure_input@,$configure_input,;t t
7533
s,@srcdir@,$ac_srcdir,;t t
7534
s,@abs_srcdir@,$ac_abs_srcdir,;t t
7535
s,@top_srcdir@,$ac_top_srcdir,;t t
7536
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7537
s,@builddir@,$ac_builddir,;t t
7538
s,@abs_builddir@,$ac_abs_builddir,;t t
7539
s,@top_builddir@,$ac_top_builddir,;t t
7540
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7541
s,@INSTALL@,$ac_INSTALL,;t t
7542
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7544
if test x"$ac_file" != x-; then
7545
mv $tmp/out $ac_file
7553
cat >>$CONFIG_STATUS <<\_ACEOF
7556
# CONFIG_HEADER section.
7559
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7560
# NAME is the cpp macro being defined and VALUE is the value it is being given.
7562
# ac_d sets the value in "#define NAME VALUE" lines.
7563
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7564
ac_dB='[ ].*$,\1#\2'
7567
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7568
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7569
ac_uB='$,\1#\2define\3'
7573
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7574
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6894
s|@configure_input@|$ac_sed_conf_input|;t t
6895
s&@top_builddir@&$ac_top_builddir_sub&;t t
6896
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6897
s&@srcdir@&$ac_srcdir&;t t
6898
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6899
s&@top_srcdir@&$ac_top_srcdir&;t t
6900
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6901
s&@builddir@&$ac_builddir&;t t
6902
s&@abs_builddir@&$ac_abs_builddir&;t t
6903
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6904
s&@INSTALL@&$ac_INSTALL&;t t
6905
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6906
$ac_datarootdir_hack
6908
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6909
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6911
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6912
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6913
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6914
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6915
which seems to be undefined. Please make sure it is defined." >&5
6916
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6917
which seems to be undefined. Please make sure it is defined." >&2;}
7575
6920
case $ac_file in
7576
- | *:- | *:-:* ) # input from stdin
7578
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7579
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7580
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7581
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7582
* ) ac_file_in=$ac_file.in ;;
7585
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7586
echo "$as_me: creating $ac_file" >&6;}
7588
# First look for the input files in the build tree, otherwise in the
7590
ac_file_inputs=`IFS=:
7591
for f in $ac_file_in; do
7593
-) echo $tmp/stdin ;;
7595
# Absolute (can't be DOS-style, as IFS=:)
7596
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7597
echo "$as_me: error: cannot find input file: $f" >&2;}
7598
{ (exit 1); exit 1; }; }
7599
# Do quote $f, to prevent DOS paths from being IFS'd.
7602
if test -f "$f"; then
7605
elif test -f "$srcdir/$f"; then
7610
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7611
echo "$as_me: error: cannot find input file: $f" >&2;}
7612
{ (exit 1); exit 1; }; }
7615
done` || { (exit 1); exit 1; }
7616
# Remove the trailing spaces.
7617
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7621
# Transform confdefs.h into two sed scripts, `conftest.defines' and
7622
# `conftest.undefs', that substitutes the proper values into
7623
# config.h.in to produce config.h. The first handles `#define'
7624
# templates, and the second `#undef' templates.
7625
# And first: Protect against being on the right side of a sed subst in
7626
# config.status. Protect against being in an unquoted here document
7628
rm -f conftest.defines conftest.undefs
7629
# Using a here document instead of a string reduces the quoting nightmare.
7630
# Putting comments in sed scripts is not portable.
7632
# `end' is used to avoid that the second main sed command (meant for
7633
# 0-ary CPP macros) applies to n-ary macro definitions.
7634
# See the Autoconf documentation for `clear'.
7635
cat >confdef2sed.sed <<\_ACEOF
7640
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7642
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7645
# If some macros were called several times there might be several times
7646
# the same #defines, which is useless. Nevertheless, we may not want to
7647
# sort them, since we want the *last* AC-DEFINE to be honored.
7648
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7649
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7650
rm -f confdef2sed.sed
7652
# This sed command replaces #undef with comments. This is necessary, for
7653
# example, in the case of _POSIX_SOURCE, which is predefined and required
7654
# on some systems where configure will not decide to define it.
7655
cat >>conftest.undefs <<\_ACEOF
7656
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7659
# Break up conftest.defines because some shells have a limit on the size
7660
# of here documents, and old seds have small limits too (100 cmds).
7661
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7662
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7663
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7664
echo ' :' >>$CONFIG_STATUS
7666
while grep . conftest.defines >/dev/null
7668
# Write a limited-size here document to $tmp/defines.sed.
7669
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7670
# Speed up: don't consider the non `#define' lines.
7671
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7672
# Work around the forget-to-reset-the-flag bug.
7673
echo 't clr' >>$CONFIG_STATUS
7674
echo ': clr' >>$CONFIG_STATUS
7675
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7677
sed -f $tmp/defines.sed $tmp/in >$tmp/out
7681
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7682
rm -f conftest.defines
7683
mv conftest.tail conftest.defines
7685
rm -f conftest.defines
7686
echo ' fi # grep' >>$CONFIG_STATUS
7687
echo >>$CONFIG_STATUS
7689
# Break up conftest.undefs because some shells have a limit on the size
7690
# of here documents, and old seds have small limits too (100 cmds).
7691
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7693
while grep . conftest.undefs >/dev/null
7695
# Write a limited-size here document to $tmp/undefs.sed.
7696
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7697
# Speed up: don't consider the non `#undef'
7698
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7699
# Work around the forget-to-reset-the-flag bug.
7700
echo 't clr' >>$CONFIG_STATUS
7701
echo ': clr' >>$CONFIG_STATUS
7702
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7704
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7708
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7709
rm -f conftest.undefs
7710
mv conftest.tail conftest.undefs
7712
rm -f conftest.undefs
7714
cat >>$CONFIG_STATUS <<\_ACEOF
7715
# Let's still pretend it is `configure' which instantiates (i.e., don't
7716
# use $as_me), people would be surprised to read:
7717
# /* config.h. Generated by config.status. */
7718
if test x"$ac_file" = x-; then
7719
echo "/* Generated by configure. */" >$tmp/config.h
7721
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7723
cat $tmp/in >>$tmp/config.h
6921
-) cat "$tmp/out" && rm -f "$tmp/out";;
6922
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6924
|| as_fn_error "could not create $ac_file" "$LINENO" 5
7725
6930
if test x"$ac_file" != x-; then
7726
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7727
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7728
echo "$as_me: $ac_file is unchanged" >&6;}
6932
$as_echo "/* $configure_input */" \
6933
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6934
} >"$tmp/config.h" \
6935
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6936
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6937
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6938
$as_echo "$as_me: $ac_file is unchanged" >&6;}
7730
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7731
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7732
X"$ac_file" : 'X\(//\)[^/]' \| \
7733
X"$ac_file" : 'X\(//\)$' \| \
7734
X"$ac_file" : 'X\(/\)' \| \
7735
. : '\(.\)' 2>/dev/null ||
7737
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7738
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7739
/^X\(\/\/\)$/{ s//\1/; q; }
7740
/^X\(\/\).*/{ s//\1/; q; }
7742
{ if $as_mkdir_p; then
7747
while test ! -d "$as_dir"; do
7748
as_dirs="$as_dir $as_dirs"
7749
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7750
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7751
X"$as_dir" : 'X\(//\)[^/]' \| \
7752
X"$as_dir" : 'X\(//\)$' \| \
7753
X"$as_dir" : 'X\(/\)' \| \
7754
. : '\(.\)' 2>/dev/null ||
7756
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7757
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7758
/^X\(\/\/\)$/{ s//\1/; q; }
7759
/^X\(\/\).*/{ s//\1/; q; }
7762
test ! -n "$as_dirs" || mkdir $as_dirs
7763
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7764
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7765
{ (exit 1); exit 1; }; }; }
7768
mv $tmp/config.h $ac_file
6941
mv "$tmp/config.h" "$ac_file" \
6942
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6945
$as_echo "/* $configure_input */" \
6946
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6947
|| as_fn_error "could not create -" "$LINENO" 5
7774
# Compute $ac_file's index in $config_headers.
6949
# Compute "$ac_file"'s index in $config_headers.
7775
6951
_am_stamp_count=1
7776
6952
for _am_header in $config_headers :; do
7777
6953
case $_am_header in
7778
$ac_file | $ac_file:* )
6954
$_am_arg | $_am_arg:* )
7781
6957
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
7784
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7785
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7786
X$ac_file : 'X\(//\)[^/]' \| \
7787
X$ac_file : 'X\(//\)$' \| \
7788
X$ac_file : 'X\(/\)' \| \
7789
. : '\(.\)' 2>/dev/null ||
7791
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7792
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7793
/^X\(\/\/\)$/{ s//\1/; q; }
7794
/^X\(\/\).*/{ s//\1/; q; }
7795
s/.*/./; q'`/stamp-h$_am_stamp_count
7798
cat >>$CONFIG_STATUS <<\_ACEOF
7801
# CONFIG_LINKS section.
7804
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
7805
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7806
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7808
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
7809
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
7811
if test ! -r $srcdir/$ac_source; then
7812
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
7813
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
7814
{ (exit 1); exit 1; }; }
6960
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6961
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6962
X"$_am_arg" : 'X\(//\)[^/]' \| \
6963
X"$_am_arg" : 'X\(//\)$' \| \
6964
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6965
$as_echo X"$_am_arg" |
6966
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6982
s/.*/./; q'`/stamp-h$_am_stamp_count
6989
if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
6992
# Prefer the file from the source tree if names are identical.
6993
if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
6994
ac_source=$srcdir/$ac_source
6997
{ $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
6998
$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
7000
if test ! -r "$ac_source"; then
7001
as_fn_error "$ac_source: file not found" "$LINENO" 5
7005
# Try a relative symlink, then a hard link, then a copy.
7007
[\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
7008
*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
7010
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
7011
ln "$ac_source" "$ac_file" 2>/dev/null ||
7012
cp -p "$ac_source" "$ac_file" ||
7013
as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
7818
# Make relative symlinks.
7819
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
7820
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7821
X"$ac_dest" : 'X\(//\)[^/]' \| \
7822
X"$ac_dest" : 'X\(//\)$' \| \
7823
X"$ac_dest" : 'X\(/\)' \| \
7824
. : '\(.\)' 2>/dev/null ||
7826
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7827
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7828
/^X\(\/\/\)$/{ s//\1/; q; }
7829
/^X\(\/\).*/{ s//\1/; q; }
7831
{ if $as_mkdir_p; then
7832
mkdir -p "$ac_dest_dir"
7834
as_dir="$ac_dest_dir"
7836
while test ! -d "$as_dir"; do
7837
as_dirs="$as_dir $as_dirs"
7838
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7839
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7840
X"$as_dir" : 'X\(//\)[^/]' \| \
7841
X"$as_dir" : 'X\(//\)$' \| \
7842
X"$as_dir" : 'X\(/\)' \| \
7843
. : '\(.\)' 2>/dev/null ||
7845
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7846
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7847
/^X\(\/\/\)$/{ s//\1/; q; }
7848
/^X\(\/\).*/{ s//\1/; q; }
7851
test ! -n "$as_dirs" || mkdir $as_dirs
7852
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
7853
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
7854
{ (exit 1); exit 1; }; }; }
7858
if test "$ac_dest_dir" != .; then
7859
ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
7860
# A "../" for each directory in $ac_dir_suffix.
7861
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7863
ac_dir_suffix= ac_top_builddir=
7867
.) # No --srcdir option. We are building in place.
7869
if test -z "$ac_top_builddir"; then
7872
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7874
[\\/]* | ?:[\\/]* ) # Absolute path.
7875
ac_srcdir=$srcdir$ac_dir_suffix;
7876
ac_top_srcdir=$srcdir ;;
7878
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7879
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7882
# Do not use `cd foo && pwd` to compute absolute paths, because
7883
# the directories may not exist.
7885
.) ac_abs_builddir="$ac_dest_dir";;
7887
case "$ac_dest_dir" in
7888
.) ac_abs_builddir=`pwd`;;
7889
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
7890
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
7893
case $ac_abs_builddir in
7894
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7896
case ${ac_top_builddir}. in
7897
.) ac_abs_top_builddir=$ac_abs_builddir;;
7898
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7899
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7902
case $ac_abs_builddir in
7903
.) ac_abs_srcdir=$ac_srcdir;;
7906
.) ac_abs_srcdir=$ac_abs_builddir;;
7907
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7908
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7911
case $ac_abs_builddir in
7912
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7914
case $ac_top_srcdir in
7915
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7916
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7917
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7923
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
7924
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
7927
# Try a symlink, then a hard link, then a copy.
7928
ln -s $ac_rel_source $ac_dest 2>/dev/null ||
7929
ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
7930
cp -p $srcdir/$ac_source $ac_dest ||
7931
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
7932
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
7933
{ (exit 1); exit 1; }; }
7936
cat >>$CONFIG_STATUS <<\_ACEOF
7939
# CONFIG_COMMANDS section.
7941
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7942
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7943
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7944
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7945
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7946
X"$ac_dest" : 'X\(//\)[^/]' \| \
7947
X"$ac_dest" : 'X\(//\)$' \| \
7948
X"$ac_dest" : 'X\(/\)' \| \
7949
. : '\(.\)' 2>/dev/null ||
7951
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7952
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7953
/^X\(\/\/\)$/{ s//\1/; q; }
7954
/^X\(\/\).*/{ s//\1/; q; }
7956
{ if $as_mkdir_p; then
7961
while test ! -d "$as_dir"; do
7962
as_dirs="$as_dir $as_dirs"
7963
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7964
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7965
X"$as_dir" : 'X\(//\)[^/]' \| \
7966
X"$as_dir" : 'X\(//\)$' \| \
7967
X"$as_dir" : 'X\(/\)' \| \
7968
. : '\(.\)' 2>/dev/null ||
7970
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7971
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7972
/^X\(\/\/\)$/{ s//\1/; q; }
7973
/^X\(\/\).*/{ s//\1/; q; }
7976
test ! -n "$as_dirs" || mkdir $as_dirs
7977
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7978
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7979
{ (exit 1); exit 1; }; }; }
7983
if test "$ac_dir" != .; then
7984
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7985
# A "../" for each directory in $ac_dir_suffix.
7986
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7988
ac_dir_suffix= ac_top_builddir=
7992
.) # No --srcdir option. We are building in place.
7994
if test -z "$ac_top_builddir"; then
7997
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7999
[\\/]* | ?:[\\/]* ) # Absolute path.
8000
ac_srcdir=$srcdir$ac_dir_suffix;
8001
ac_top_srcdir=$srcdir ;;
8003
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8004
ac_top_srcdir=$ac_top_builddir$srcdir ;;
8007
# Do not use `cd foo && pwd` to compute absolute paths, because
8008
# the directories may not exist.
8010
.) ac_abs_builddir="$ac_dir";;
8013
.) ac_abs_builddir=`pwd`;;
8014
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8015
*) ac_abs_builddir=`pwd`/"$ac_dir";;
8018
case $ac_abs_builddir in
8019
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8021
case ${ac_top_builddir}. in
8022
.) ac_abs_top_builddir=$ac_abs_builddir;;
8023
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8024
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8027
case $ac_abs_builddir in
8028
.) ac_abs_srcdir=$ac_srcdir;;
8031
.) ac_abs_srcdir=$ac_abs_builddir;;
8032
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8033
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8036
case $ac_abs_builddir in
8037
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8039
case $ac_top_srcdir in
8040
.) ac_abs_top_srcdir=$ac_abs_builddir;;
8041
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8042
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8047
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8048
echo "$as_me: executing $ac_dest commands" >&6;}
8050
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8051
# Strip MF so we end up with the name of the file.
8052
mf=`echo "$mf" | sed -e 's/:.*$//'`
8053
# Check whether this is an Automake generated Makefile or not.
8054
# We used to match only the files named `Makefile.in', but
8055
# some people rename them; so instead we look at the file content.
8056
# Grep'ing the first line is not enough: some people post-process
8057
# each Makefile.in and add a new line on top of each file to say so.
8058
# So let's grep whole file.
8059
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8060
dirpart=`(dirname "$mf") 2>/dev/null ||
7016
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7017
$as_echo "$as_me: executing $ac_file commands" >&6;}
7022
case $ac_file$ac_mode in
7023
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7024
# Autoconf 2.62 quotes --file arguments for eval, but not when files
7025
# are listed without --file. Let's play safe and only enable the eval
7026
# if we detect the quoting.
7027
case $CONFIG_FILES in
7028
*\'*) eval set x "$CONFIG_FILES" ;;
7029
*) set x $CONFIG_FILES ;;
7034
# Strip MF so we end up with the name of the file.
7035
mf=`echo "$mf" | sed -e 's/:.*$//'`
7036
# Check whether this is an Automake generated Makefile or not.
7037
# We used to match only the files named `Makefile.in', but
7038
# some people rename them; so instead we look at the file content.
7039
# Grep'ing the first line is not enough: some people post-process
7040
# each Makefile.in and add a new line on top of each file to say so.
7041
# Grep'ing the whole file is not good either: AIX grep has a line
7042
# limit of 2048, but all sed's we know have understand at least 4000.
7043
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7044
dirpart=`$as_dirname -- "$mf" ||
8061
7045
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8062
7046
X"$mf" : 'X\(//\)[^/]' \| \
8063
7047
X"$mf" : 'X\(//\)$' \| \
8064
X"$mf" : 'X\(/\)' \| \
8065
. : '\(.\)' 2>/dev/null ||
8067
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8068
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8069
/^X\(\/\/\)$/{ s//\1/; q; }
8070
/^X\(\/\).*/{ s//\1/; q; }
8075
# Extract the definition of DEPDIR, am__include, and am__quote
8076
# from the Makefile without running `make'.
8077
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8078
test -z "$DEPDIR" && continue
8079
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8080
test -z "am__include" && continue
8081
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8082
# When using ansi2knr, U may be empty or an underscore; expand it
8083
U=`sed -n 's/^U = //p' < "$mf"`
8084
# Find all dependency output files, they are included files with
8085
# $(DEPDIR) in their names. We invoke sed twice because it is the
8086
# simplest approach to changing $(DEPDIR) to its actual value in the
8088
for file in `sed -n "
8089
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8090
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8091
# Make sure the directory exists.
8092
test -f "$dirpart/$file" && continue
8093
fdir=`(dirname "$file") 2>/dev/null ||
7048
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7050
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7070
# Extract the definition of DEPDIR, am__include, and am__quote
7071
# from the Makefile without running `make'.
7072
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7073
test -z "$DEPDIR" && continue
7074
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7075
test -z "am__include" && continue
7076
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7077
# When using ansi2knr, U may be empty or an underscore; expand it
7078
U=`sed -n 's/^U = //p' < "$mf"`
7079
# Find all dependency output files, they are included files with
7080
# $(DEPDIR) in their names. We invoke sed twice because it is the
7081
# simplest approach to changing $(DEPDIR) to its actual value in the
7083
for file in `sed -n "
7084
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7085
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7086
# Make sure the directory exists.
7087
test -f "$dirpart/$file" && continue
7088
fdir=`$as_dirname -- "$file" ||
8094
7089
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8095
7090
X"$file" : 'X\(//\)[^/]' \| \
8096
7091
X"$file" : 'X\(//\)$' \| \
8097
X"$file" : 'X\(/\)' \| \
8098
. : '\(.\)' 2>/dev/null ||
8100
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8101
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8102
/^X\(\/\/\)$/{ s//\1/; q; }
8103
/^X\(\/\).*/{ s//\1/; q; }
8105
{ if $as_mkdir_p; then
8106
mkdir -p $dirpart/$fdir
8108
as_dir=$dirpart/$fdir
8110
while test ! -d "$as_dir"; do
8111
as_dirs="$as_dir $as_dirs"
8112
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8113
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8114
X"$as_dir" : 'X\(//\)[^/]' \| \
8115
X"$as_dir" : 'X\(//\)$' \| \
8116
X"$as_dir" : 'X\(/\)' \| \
8117
. : '\(.\)' 2>/dev/null ||
8119
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8120
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8121
/^X\(\/\/\)$/{ s//\1/; q; }
8122
/^X\(\/\).*/{ s//\1/; q; }
7092
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7094
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7111
as_dir=$dirpart/$fdir; as_fn_mkdir_p
7112
# echo "creating $dirpart/$file"
7113
echo '# dummy' > "$dirpart/$file"
8125
test ! -n "$as_dirs" || mkdir $as_dirs
8126
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8127
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8128
{ (exit 1); exit 1; }; }; }
8130
# echo "creating $dirpart/$file"
8131
echo '# dummy' > "$dirpart/$file"
8139
cat >>$CONFIG_STATUS <<\_ACEOF
8141
{ (exit 0); exit 0; }
8143
chmod +x $CONFIG_STATUS
8144
7125
ac_clean_files=$ac_clean_files_save
7127
test $ac_write_fail = 0 ||
7128
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8147
7131
# configure is writing to config.log, and then calls config.status.
8148
7132
# config.status does its own redirection, appending to config.log.