65
130
# Name of the executable.
66
as_me=`$as_basename "$0" ||
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
130
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
162
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
452
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
453
chmod +x "$as_me.lineno" ||
175
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
{ (exit 1); exit 1; }; }
178
457
# Don't try to exec as it changes $[0], causing all sort of problems
179
458
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
459
# original and so on. Autoconf is especially sensitive to this).
182
461
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
218
514
if mkdir -p . 2>/dev/null; then
665
1091
test "$silent" = yes && exec 6>/dev/null
1094
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1095
ac_ls_di=`ls -di .` &&
1096
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1097
{ echo "$as_me: error: Working directory cannot be determined" >&2
1098
{ (exit 1); exit 1; }; }
1099
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1100
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1101
{ (exit 1); exit 1; }; }
668
1104
# Find the source files, if location was not specified.
669
1105
if test -z "$srcdir"; then
670
1106
ac_srcdir_defaulted=yes
671
# Try the directory containing this script, then its parent.
672
ac_confdir=`(dirname "$0") 2>/dev/null ||
1107
# Try the directory containing this script, then the parent directory.
1108
ac_confdir=`$as_dirname -- "$0" ||
673
1109
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
1110
X"$0" : 'X\(//\)[^/]' \| \
675
1111
X"$0" : 'X\(//\)$' \| \
676
X"$0" : 'X\(/\)' \| \
677
. : '\(.\)' 2>/dev/null ||
1112
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
679
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
/^X\(\/\/\)$/{ s//\1/; q; }
682
/^X\(\/\).*/{ s//\1/; q; }
1114
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
684
1131
srcdir=$ac_confdir
685
if test ! -r $srcdir/$ac_unique_file; then
1132
if test ! -r "$srcdir/$ac_unique_file"; then
689
1136
ac_srcdir_defaulted=no
691
if test ! -r $srcdir/$ac_unique_file; then
692
if test "$ac_srcdir_defaulted" = yes; then
693
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
{ (exit 1); exit 1; }; }
696
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
{ (exit 1); exit 1; }; }
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
{ (exit 1); exit 1; }; }
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
ac_env_build_alias_set=${build_alias+set}
705
ac_env_build_alias_value=$build_alias
706
ac_cv_env_build_alias_set=${build_alias+set}
707
ac_cv_env_build_alias_value=$build_alias
708
ac_env_host_alias_set=${host_alias+set}
709
ac_env_host_alias_value=$host_alias
710
ac_cv_env_host_alias_set=${host_alias+set}
711
ac_cv_env_host_alias_value=$host_alias
712
ac_env_target_alias_set=${target_alias+set}
713
ac_env_target_alias_value=$target_alias
714
ac_cv_env_target_alias_set=${target_alias+set}
715
ac_cv_env_target_alias_value=$target_alias
716
ac_env_CC_set=${CC+set}
718
ac_cv_env_CC_set=${CC+set}
719
ac_cv_env_CC_value=$CC
720
ac_env_CFLAGS_set=${CFLAGS+set}
721
ac_env_CFLAGS_value=$CFLAGS
722
ac_cv_env_CFLAGS_set=${CFLAGS+set}
723
ac_cv_env_CFLAGS_value=$CFLAGS
724
ac_env_LDFLAGS_set=${LDFLAGS+set}
725
ac_env_LDFLAGS_value=$LDFLAGS
726
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727
ac_cv_env_LDFLAGS_value=$LDFLAGS
728
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729
ac_env_CPPFLAGS_value=$CPPFLAGS
730
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
ac_env_CPP_set=${CPP+set}
733
ac_env_CPP_value=$CPP
734
ac_cv_env_CPP_set=${CPP+set}
735
ac_cv_env_CPP_value=$CPP
1138
if test ! -r "$srcdir/$ac_unique_file"; then
1139
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1140
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1141
{ (exit 1); exit 1; }; }
1143
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1145
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1146
{ (exit 1); exit 1; }; }
1148
# When building in place, set srcdir=.
1149
if test "$ac_abs_confdir" = "$ac_pwd"; then
1152
# Remove unnecessary trailing slashes from srcdir.
1153
# Double slashes in file names in object file debugging info
1154
# mess up M-x gdb in Emacs.
1156
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1158
for ac_var in $ac_precious_vars; do
1159
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1160
eval ac_env_${ac_var}_value=\$${ac_var}
1161
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1162
eval ac_cv_env_${ac_var}_value=\$${ac_var}
738
1166
# Report the --help message.
1241
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1242
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1243
--disable-dependency-tracking speeds up one-time build
1244
--enable-dependency-tracking do not reject slow dependency extractors
808
1246
Some influential environment variables:
809
1247
CC C compiler command
810
1248
CFLAGS C compiler flags
811
1249
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
812
1250
nonstandard directory <lib dir>
813
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
814
headers in a nonstandard directory <include dir>
1251
LIBS libraries to pass to the linker, e.g. -l<library>
1252
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1253
you have headers in a nonstandard directory <include dir>
815
1254
CPP C preprocessor
817
1256
Use these variables to override the choices made by `configure' or to help
818
1257
it to find libraries and programs with nonstandard names/locations.
823
1263
if test "$ac_init_help" = "recursive"; then
824
1264
# If there are subdirs, report their specific --help.
826
1265
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
827
test -d $ac_dir || continue
1266
test -d "$ac_dir" || continue
830
if test "$ac_dir" != .; then
1270
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
831
1272
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
832
# A "../" for each directory in $ac_dir_suffix.
833
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
835
ac_dir_suffix= ac_top_builddir=
1273
# A ".." for each directory in $ac_dir_suffix.
1274
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1275
case $ac_top_builddir_sub in
1276
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1280
ac_abs_top_builddir=$ac_pwd
1281
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1282
# for backward compatibility:
1283
ac_top_builddir=$ac_top_build_prefix
839
.) # No --srcdir option. We are building in place.
1286
.) # We are building in place.
841
if test -z "$ac_top_builddir"; then
844
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
846
[\\/]* | ?:[\\/]* ) # Absolute path.
1288
ac_top_srcdir=$ac_top_builddir_sub
1289
ac_abs_top_srcdir=$ac_pwd ;;
1290
[\\/]* | ?:[\\/]* ) # Absolute name.
847
1291
ac_srcdir=$srcdir$ac_dir_suffix;
848
ac_top_srcdir=$srcdir ;;
850
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
851
ac_top_srcdir=$ac_top_builddir$srcdir ;;
854
# Do not use `cd foo && pwd` to compute absolute paths, because
855
# the directories may not exist.
857
.) ac_abs_builddir="$ac_dir";;
860
.) ac_abs_builddir=`pwd`;;
861
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
862
*) ac_abs_builddir=`pwd`/"$ac_dir";;
865
case $ac_abs_builddir in
866
.) ac_abs_top_builddir=${ac_top_builddir}.;;
868
case ${ac_top_builddir}. in
869
.) ac_abs_top_builddir=$ac_abs_builddir;;
870
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
871
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
874
case $ac_abs_builddir in
875
.) ac_abs_srcdir=$ac_srcdir;;
878
.) ac_abs_srcdir=$ac_abs_builddir;;
879
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
880
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
883
case $ac_abs_builddir in
884
.) ac_abs_top_srcdir=$ac_top_srcdir;;
886
case $ac_top_srcdir in
887
.) ac_abs_top_srcdir=$ac_abs_builddir;;
888
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
889
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
894
# Check for guested configure; otherwise get Cygnus style configure.
895
if test -f $ac_srcdir/configure.gnu; then
897
$SHELL $ac_srcdir/configure.gnu --help=recursive
898
elif test -f $ac_srcdir/configure; then
900
$SHELL $ac_srcdir/configure --help=recursive
901
elif test -f $ac_srcdir/configure.ac ||
902
test -f $ac_srcdir/configure.in; then
1292
ac_top_srcdir=$srcdir
1293
ac_abs_top_srcdir=$srcdir ;;
1295
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1296
ac_top_srcdir=$ac_top_build_prefix$srcdir
1297
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1299
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1301
cd "$ac_dir" || { ac_status=$?; continue; }
1302
# Check for guested configure.
1303
if test -f "$ac_srcdir/configure.gnu"; then
1305
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1306
elif test -f "$ac_srcdir/configure"; then
1308
$SHELL "$ac_srcdir/configure" --help=recursive
906
1310
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1312
cd "$ac_pwd" || { ac_status=$?; break; }
912
test -n "$ac_init_help" && exit 0
1316
test -n "$ac_init_help" && exit $ac_status
913
1317
if $ac_init_version; then
1320
generated by GNU Autoconf 2.61
916
Copyright (C) 2003 Free Software Foundation, Inc.
1322
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1323
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
917
1324
This configure script is free software; the Free Software Foundation
918
1325
gives unlimited permission to copy, distribute and modify it.
1329
cat >config.log <<_ACEOF
924
1330
This file contains any messages produced by compilers while
925
1331
running configure, to aid debugging if configure makes a mistake.
927
1333
It was created by $as_me, which was
928
generated by GNU Autoconf 2.59. Invocation command line was
1334
generated by GNU Autoconf 2.61. Invocation command line was
1404
1833
Check your system clock" >&2;}
1405
1834
{ (exit 1); exit 1; }; }
1408
echo "$as_me:$LINENO: result: yes" >&5
1409
echo "${ECHO_T}yes" >&6
1836
{ echo "$as_me:$LINENO: result: yes" >&5
1837
echo "${ECHO_T}yes" >&6; }
1410
1838
test "$program_prefix" != NONE &&
1411
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1839
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1412
1840
# Use a double $ so make ignores it.
1413
1841
test "$program_suffix" != NONE &&
1414
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1842
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1415
1843
# Double any \ or $. echo might interpret backslashes.
1416
1844
# By default was `s,x,x', remove it if useless.
1417
1845
cat <<\_ACEOF >conftest.sed
1418
1846
s/[\\$]/&&/g;s/;s,x,x,$//
1420
1848
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1423
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1424
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1425
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1426
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1851
# expand $ac_aux_dir to an absolute path
1852
am_aux_dir=`cd $ac_aux_dir && pwd`
1854
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1855
# Use eval to expand $SHELL
1856
if eval "$MISSING --run true"; then
1857
am_missing_run="$MISSING --run "
1860
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1861
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1864
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1865
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1866
if test -z "$MKDIR_P"; then
1867
if test "${ac_cv_path_mkdir+set}" = set; then
1868
echo $ECHO_N "(cached) $ECHO_C" >&6
1870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1874
test -z "$as_dir" && as_dir=.
1875
for ac_prog in mkdir gmkdir; do
1876
for ac_exec_ext in '' $ac_executable_extensions; do
1877
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1878
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1879
'mkdir (GNU coreutils) '* | \
1880
'mkdir (coreutils) '* | \
1881
'mkdir (fileutils) '4.1*)
1882
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1892
if test "${ac_cv_path_mkdir+set}" = set; then
1893
MKDIR_P="$ac_cv_path_mkdir -p"
1895
# As a last resort, use the slow shell script. Don't cache a
1896
# value for MKDIR_P within a source directory, because that will
1897
# break other packages using the cache if that directory is
1898
# removed, or if the value is a relative name.
1899
test -d ./--version && rmdir ./--version
1900
MKDIR_P="$ac_install_sh -d"
1903
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1904
echo "${ECHO_T}$MKDIR_P" >&6; }
1908
[\\/$]* | ?:[\\/]*) ;;
1909
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1912
for ac_prog in gawk mawk nawk awk
1914
# Extract the first word of "$ac_prog", so it can be a program name with args.
1915
set dummy $ac_prog; ac_word=$2
1916
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1917
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1918
if test "${ac_cv_prog_AWK+set}" = set; then
1919
echo $ECHO_N "(cached) $ECHO_C" >&6
1921
if test -n "$AWK"; then
1922
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1924
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928
test -z "$as_dir" && as_dir=.
1929
for ac_exec_ext in '' $ac_executable_extensions; do
1930
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1931
ac_cv_prog_AWK="$ac_prog"
1932
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942
if test -n "$AWK"; then
1943
{ echo "$as_me:$LINENO: result: $AWK" >&5
1944
echo "${ECHO_T}$AWK" >&6; }
1946
{ echo "$as_me:$LINENO: result: no" >&5
1947
echo "${ECHO_T}no" >&6; }
1951
test -n "$AWK" && break
1954
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1955
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1956
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1957
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1427
1958
echo $ECHO_N "(cached) $ECHO_C" >&6
1429
1960
cat >conftest.make <<\_ACEOF
1431
@echo 'ac_maketemp="$(MAKE)"'
1963
@echo '@@@%%%=$(MAKE)=@@@%%%'
1433
1965
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1434
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1435
if test -n "$ac_maketemp"; then
1436
eval ac_cv_prog_make_${ac_make}_set=yes
1438
eval ac_cv_prog_make_${ac_make}_set=no
1966
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1968
eval ac_cv_prog_make_${ac_make}_set=yes;;
1970
eval ac_cv_prog_make_${ac_make}_set=no;;
1440
1972
rm -f conftest.make
1442
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1443
echo "$as_me:$LINENO: result: yes" >&5
1444
echo "${ECHO_T}yes" >&6
1974
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1975
{ echo "$as_me:$LINENO: result: yes" >&5
1976
echo "${ECHO_T}yes" >&6; }
1447
echo "$as_me:$LINENO: result: no" >&5
1448
echo "${ECHO_T}no" >&6
1979
{ echo "$as_me:$LINENO: result: no" >&5
1980
echo "${ECHO_T}no" >&6; }
1449
1981
SET_MAKE="MAKE=${MAKE-make}"
1457
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1458
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1984
rm -rf .tst 2>/dev/null
1985
mkdir .tst 2>/dev/null
1986
if test -d .tst; then
1991
rmdir .tst 2>/dev/null
1993
if test "`cd $srcdir && pwd`" != "`pwd`"; then
1994
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1995
# is not polluted with repeated "-I."
1996
am__isrc=' -I$(srcdir)'
1997
# test to see if srcdir already configured
1998
if test -f $srcdir/config.status; then
1999
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1459
2000
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1460
2001
{ (exit 1); exit 1; }; }
2005
# test whether we have cygpath
2006
if test -z "$CYGPATH_W"; then
2007
if (cygpath --version) >/dev/null 2>/dev/null; then
2008
CYGPATH_W='cygpath -w'
2015
# Define the identity of the package.
1463
2020
cat >>confdefs.h <<_ACEOF
1464
2021
#define PACKAGE "$PACKAGE"
1469
2026
#define VERSION "$VERSION"
1474
missing_dir=`cd $ac_aux_dir && pwd`
1475
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1476
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1477
# Run test in a subshell; some versions of sh will print an error if
1478
# an executable is not found, even if stderr is redirected.
1479
# Redirect stdin to placate older versions of autoconf. Sigh.
1480
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1481
ACLOCAL=aclocal-${am__api_version}
1482
echo "$as_me:$LINENO: result: found" >&5
1483
echo "${ECHO_T}found" >&6
1485
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1486
echo "$as_me:$LINENO: result: missing" >&5
1487
echo "${ECHO_T}missing" >&6
1490
echo "$as_me:$LINENO: checking for working autoconf" >&5
1491
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1492
# Run test in a subshell; some versions of sh will print an error if
1493
# an executable is not found, even if stderr is redirected.
1494
# Redirect stdin to placate older versions of autoconf. Sigh.
1495
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1497
echo "$as_me:$LINENO: result: found" >&5
1498
echo "${ECHO_T}found" >&6
1500
AUTOCONF="$missing_dir/missing autoconf"
1501
echo "$as_me:$LINENO: result: missing" >&5
1502
echo "${ECHO_T}missing" >&6
1505
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1506
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1507
# Run test in a subshell; some versions of sh will print an error if
1508
# an executable is not found, even if stderr is redirected.
1509
# Redirect stdin to placate older versions of autoconf. Sigh.
1510
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1511
AUTOMAKE=automake-${am__api_version}
1512
echo "$as_me:$LINENO: result: found" >&5
1513
echo "${ECHO_T}found" >&6
1515
AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1516
echo "$as_me:$LINENO: result: missing" >&5
1517
echo "${ECHO_T}missing" >&6
1520
echo "$as_me:$LINENO: checking for working autoheader" >&5
1521
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1522
# Run test in a subshell; some versions of sh will print an error if
1523
# an executable is not found, even if stderr is redirected.
1524
# Redirect stdin to placate older versions of autoconf. Sigh.
1525
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1526
AUTOHEADER=autoheader
1527
echo "$as_me:$LINENO: result: found" >&5
1528
echo "${ECHO_T}found" >&6
1530
AUTOHEADER="$missing_dir/missing autoheader"
1531
echo "$as_me:$LINENO: result: missing" >&5
1532
echo "${ECHO_T}missing" >&6
1535
echo "$as_me:$LINENO: checking for working makeinfo" >&5
1536
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1537
# Run test in a subshell; some versions of sh will print an error if
1538
# an executable is not found, even if stderr is redirected.
1539
# Redirect stdin to placate older versions of autoconf. Sigh.
1540
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1542
echo "$as_me:$LINENO: result: found" >&5
1543
echo "${ECHO_T}found" >&6
1545
MAKEINFO="$missing_dir/missing makeinfo"
1546
echo "$as_me:$LINENO: result: missing" >&5
1547
echo "${ECHO_T}missing" >&6
2029
# Some tools Automake needs.
2031
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2034
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2037
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2040
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2043
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2045
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2047
# Installed binaries are usually stripped using `strip' when the user
2048
# run `make install-strip'. However `strip' might not be the right
2049
# tool to use in cross-compilation environments, therefore Automake
2050
# will honor the `STRIP' environment variable to overrule this program.
2051
if test "$cross_compiling" != no; then
2052
if test -n "$ac_tool_prefix"; then
2053
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2054
set dummy ${ac_tool_prefix}strip; ac_word=$2
2055
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2056
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2057
if test "${ac_cv_prog_STRIP+set}" = set; then
2058
echo $ECHO_N "(cached) $ECHO_C" >&6
2060
if test -n "$STRIP"; then
2061
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067
test -z "$as_dir" && as_dir=.
2068
for ac_exec_ext in '' $ac_executable_extensions; do
2069
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2070
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2071
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080
STRIP=$ac_cv_prog_STRIP
2081
if test -n "$STRIP"; then
2082
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2083
echo "${ECHO_T}$STRIP" >&6; }
2085
{ echo "$as_me:$LINENO: result: no" >&5
2086
echo "${ECHO_T}no" >&6; }
2091
if test -z "$ac_cv_prog_STRIP"; then
2093
# Extract the first word of "strip", so it can be a program name with args.
2094
set dummy strip; ac_word=$2
2095
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2096
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2097
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2098
echo $ECHO_N "(cached) $ECHO_C" >&6
2100
if test -n "$ac_ct_STRIP"; then
2101
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107
test -z "$as_dir" && as_dir=.
2108
for ac_exec_ext in '' $ac_executable_extensions; do
2109
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110
ac_cv_prog_ac_ct_STRIP="strip"
2111
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2121
if test -n "$ac_ct_STRIP"; then
2122
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2123
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2125
{ echo "$as_me:$LINENO: result: no" >&5
2126
echo "${ECHO_T}no" >&6; }
2129
if test "x$ac_ct_STRIP" = x; then
2132
case $cross_compiling:$ac_tool_warned in
2134
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2135
whose name does not start with the host triplet. If you think this
2136
configuration is useful to you, please write to autoconf@gnu.org." >&5
2137
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2138
whose name does not start with the host triplet. If you think this
2139
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2140
ac_tool_warned=yes ;;
2145
STRIP="$ac_cv_prog_STRIP"
2149
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2151
# We need awk for the "check" target. The system "awk" is bad on
2153
# Always define AMTAR for backward compatibility.
2155
AMTAR=${AMTAR-"${am_missing_run}tar"}
2157
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2110
2775
rm -f conftest.$ac_objext
2111
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2112
(eval $ac_compile) 2>conftest.er1
2776
if { (ac_try="$ac_compile"
2778
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779
*) ac_try_echo=$ac_try;;
2781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782
(eval "$ac_compile") 2>conftest.er1
2114
2784
grep -v '^ *+' conftest.er1 >conftest.err
2115
2785
rm -f conftest.er1
2116
2786
cat conftest.err >&5
2117
2787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118
(exit $ac_status); } &&
2119
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2120
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124
(exit $ac_status); }; } &&
2125
{ ac_try='test -s conftest.$ac_objext'
2126
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130
(exit $ac_status); }; }; then
2788
(exit $ac_status); } && {
2789
test -z "$ac_c_werror_flag" ||
2790
test ! -s conftest.err
2791
} && test -s conftest.$ac_objext; then
2131
2792
ac_compiler_gnu=yes
2133
2794
echo "$as_me: failed program was:" >&5
2134
2795
sed 's/^/| /' conftest.$ac_ext >&5
2138
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139
2801
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2142
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2143
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2804
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2805
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2144
2806
GCC=`test $ac_compiler_gnu = yes && echo yes`
2145
2807
ac_test_CFLAGS=${CFLAGS+set}
2146
2808
ac_save_CFLAGS=$CFLAGS
2148
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2149
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2809
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2810
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2150
2811
if test "${ac_cv_prog_cc_g+set}" = set; then
2151
2812
echo $ECHO_N "(cached) $ECHO_C" >&6
2153
cat >conftest.$ac_ext <<_ACEOF
2156
cat confdefs.h >>conftest.$ac_ext
2157
cat >>conftest.$ac_ext <<_ACEOF
2158
/* end confdefs.h. */
2168
rm -f conftest.$ac_objext
2169
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170
(eval $ac_compile) 2>conftest.er1
2172
grep -v '^ *+' conftest.er1 >conftest.err
2174
cat conftest.err >&5
2175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176
(exit $ac_status); } &&
2177
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2178
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182
(exit $ac_status); }; } &&
2183
{ ac_try='test -s conftest.$ac_objext'
2184
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188
(exit $ac_status); }; }; then
2191
echo "$as_me: failed program was:" >&5
2192
sed 's/^/| /' conftest.$ac_ext >&5
2196
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2198
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2199
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2814
ac_save_c_werror_flag=$ac_c_werror_flag
2815
ac_c_werror_flag=yes
2818
cat >conftest.$ac_ext <<_ACEOF
2821
cat confdefs.h >>conftest.$ac_ext
2822
cat >>conftest.$ac_ext <<_ACEOF
2823
/* end confdefs.h. */
2833
rm -f conftest.$ac_objext
2834
if { (ac_try="$ac_compile"
2836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837
*) ac_try_echo=$ac_try;;
2839
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840
(eval "$ac_compile") 2>conftest.er1
2842
grep -v '^ *+' conftest.er1 >conftest.err
2844
cat conftest.err >&5
2845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
(exit $ac_status); } && {
2847
test -z "$ac_c_werror_flag" ||
2848
test ! -s conftest.err
2849
} && test -s conftest.$ac_objext; then
2852
echo "$as_me: failed program was:" >&5
2853
sed 's/^/| /' conftest.$ac_ext >&5
2856
cat >conftest.$ac_ext <<_ACEOF
2859
cat confdefs.h >>conftest.$ac_ext
2860
cat >>conftest.$ac_ext <<_ACEOF
2861
/* end confdefs.h. */
2871
rm -f conftest.$ac_objext
2872
if { (ac_try="$ac_compile"
2874
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875
*) ac_try_echo=$ac_try;;
2877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878
(eval "$ac_compile") 2>conftest.er1
2880
grep -v '^ *+' conftest.er1 >conftest.err
2882
cat conftest.err >&5
2883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
(exit $ac_status); } && {
2885
test -z "$ac_c_werror_flag" ||
2886
test ! -s conftest.err
2887
} && test -s conftest.$ac_objext; then
2890
echo "$as_me: failed program was:" >&5
2891
sed 's/^/| /' conftest.$ac_ext >&5
2893
ac_c_werror_flag=$ac_save_c_werror_flag
2895
cat >conftest.$ac_ext <<_ACEOF
2898
cat confdefs.h >>conftest.$ac_ext
2899
cat >>conftest.$ac_ext <<_ACEOF
2900
/* end confdefs.h. */
2910
rm -f conftest.$ac_objext
2911
if { (ac_try="$ac_compile"
2913
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914
*) ac_try_echo=$ac_try;;
2916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917
(eval "$ac_compile") 2>conftest.er1
2919
grep -v '^ *+' conftest.er1 >conftest.err
2921
cat conftest.err >&5
2922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923
(exit $ac_status); } && {
2924
test -z "$ac_c_werror_flag" ||
2925
test ! -s conftest.err
2926
} && test -s conftest.$ac_objext; then
2929
echo "$as_me: failed program was:" >&5
2930
sed 's/^/| /' conftest.$ac_ext >&5
2935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942
ac_c_werror_flag=$ac_save_c_werror_flag
2944
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2945
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2200
2946
if test "$ac_test_CFLAGS" = set; then
2201
2947
CFLAGS=$ac_save_CFLAGS
2202
2948
elif test $ac_cv_prog_cc_g = yes; then
2274
# Don't try gcc -ansi; that turns off useful extensions and
2275
# breaks some systems' header files.
2276
# AIX -qlanglvl=ansi
2277
# Ultrix and OSF/1 -std1
2278
# HP-UX 10.20 and later -Ae
2279
# HP-UX older versions -Aa -D_HPUX_SOURCE
2280
# SVR4 -Xc -D__EXTENSIONS__
2281
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3025
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3026
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2283
3028
CC="$ac_save_CC $ac_arg"
2284
3029
rm -f conftest.$ac_objext
2285
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2286
(eval $ac_compile) 2>conftest.er1
3030
if { (ac_try="$ac_compile"
3032
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033
*) ac_try_echo=$ac_try;;
3035
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3036
(eval "$ac_compile") 2>conftest.er1
2288
3038
grep -v '^ *+' conftest.er1 >conftest.err
2289
3039
rm -f conftest.er1
2290
3040
cat conftest.err >&5
2291
3041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292
(exit $ac_status); } &&
2293
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2294
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298
(exit $ac_status); }; } &&
2299
{ ac_try='test -s conftest.$ac_objext'
2300
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304
(exit $ac_status); }; }; then
2305
ac_cv_prog_cc_stdc=$ac_arg
3042
(exit $ac_status); } && {
3043
test -z "$ac_c_werror_flag" ||
3044
test ! -s conftest.err
3045
} && test -s conftest.$ac_objext; then
3046
ac_cv_prog_cc_c89=$ac_arg
2308
3048
echo "$as_me: failed program was:" >&5
2309
3049
sed 's/^/| /' conftest.$ac_ext >&5
2312
rm -f conftest.err conftest.$ac_objext
3054
rm -f core conftest.err conftest.$ac_objext
3055
test "x$ac_cv_prog_cc_c89" != "xno" && break
2314
rm -f conftest.$ac_ext conftest.$ac_objext
3057
rm -f conftest.$ac_ext
2319
case "x$ac_cv_prog_cc_stdc" in
2321
echo "$as_me:$LINENO: result: none needed" >&5
2322
echo "${ECHO_T}none needed" >&6 ;;
3062
case "x$ac_cv_prog_cc_c89" in
3064
{ echo "$as_me:$LINENO: result: none needed" >&5
3065
echo "${ECHO_T}none needed" >&6; } ;;
3067
{ echo "$as_me:$LINENO: result: unsupported" >&5
3068
echo "${ECHO_T}unsupported" >&6; } ;;
2324
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2325
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2326
CC="$CC $ac_cv_prog_cc_stdc" ;;
3070
CC="$CC $ac_cv_prog_cc_c89"
3071
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3072
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2329
# Some people use a C++ compiler to compile C. Since we use `exit',
2330
# in C++ we need to declare it. In case someone uses the same compiler
2331
# for both compiling C and C++ we need to have the C++ compiler decide
2332
# the declaration of exit, since it's the most demanding environment.
2333
cat >conftest.$ac_ext <<_ACEOF
2338
rm -f conftest.$ac_objext
2339
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2340
(eval $ac_compile) 2>conftest.er1
2342
grep -v '^ *+' conftest.er1 >conftest.err
2344
cat conftest.err >&5
2345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346
(exit $ac_status); } &&
2347
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352
(exit $ac_status); }; } &&
2353
{ ac_try='test -s conftest.$ac_objext'
2354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
(exit $ac_status); }; }; then
2359
for ac_declaration in \
2361
'extern "C" void std::exit (int) throw (); using std::exit;' \
2362
'extern "C" void std::exit (int); using std::exit;' \
2363
'extern "C" void exit (int) throw ();' \
2364
'extern "C" void exit (int);' \
2367
cat >conftest.$ac_ext <<_ACEOF
2370
cat confdefs.h >>conftest.$ac_ext
2371
cat >>conftest.$ac_ext <<_ACEOF
2372
/* end confdefs.h. */
2383
rm -f conftest.$ac_objext
2384
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385
(eval $ac_compile) 2>conftest.er1
2387
grep -v '^ *+' conftest.er1 >conftest.err
2389
cat conftest.err >&5
2390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391
(exit $ac_status); } &&
2392
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2393
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397
(exit $ac_status); }; } &&
2398
{ ac_try='test -s conftest.$ac_objext'
2399
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403
(exit $ac_status); }; }; then
2406
echo "$as_me: failed program was:" >&5
2407
sed 's/^/| /' conftest.$ac_ext >&5
2411
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2412
cat >conftest.$ac_ext <<_ACEOF
2415
cat confdefs.h >>conftest.$ac_ext
2416
cat >>conftest.$ac_ext <<_ACEOF
2417
/* end confdefs.h. */
2427
rm -f conftest.$ac_objext
2428
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429
(eval $ac_compile) 2>conftest.er1
2431
grep -v '^ *+' conftest.er1 >conftest.err
2433
cat conftest.err >&5
2434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
(exit $ac_status); } &&
2436
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2437
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441
(exit $ac_status); }; } &&
2442
{ ac_try='test -s conftest.$ac_objext'
2443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447
(exit $ac_status); }; }; then
2450
echo "$as_me: failed program was:" >&5
2451
sed 's/^/| /' conftest.$ac_ext >&5
2454
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2457
if test -n "$ac_declaration"; then
2458
echo '#ifdef __cplusplus' >>confdefs.h
2459
echo $ac_declaration >>confdefs.h
2460
echo '#endif' >>confdefs.h
2464
echo "$as_me: failed program was:" >&5
2465
sed 's/^/| /' conftest.$ac_ext >&5
2468
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2470
3077
ac_cpp='$CPP $CPPFLAGS'
2471
3078
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2472
3079
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2473
3080
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2477
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2478
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2479
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2480
echo $ECHO_N "(cached) $ECHO_C" >&6
2482
ac_check_lib_save_LIBS=$LIBS
2483
LIBS="-lcposix $LIBS"
3081
DEPDIR="${am__leading_dot}deps"
3083
ac_config_commands="$ac_config_commands depfiles"
3086
am_make=${MAKE-make}
3087
cat > confinc << 'END'
3092
# If we don't find an include directive, just comment out the code.
3093
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3094
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3098
# First try GNU make style include.
3099
echo "include confinc" > confmf
3100
# We grep out `Entering directory' and `Leaving directory'
3101
# messages which can occur if `w' ends up in MAKEFLAGS.
3102
# In particular we don't look at `^make:' because GNU make might
3103
# be invoked under some other name (usually "gmake"), in which
3104
# case it prints its new name instead of `make'.
3105
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3110
# Now try BSD make style include.
3111
if test "$am__include" = "#"; then
3112
echo '.include "confinc"' > confmf
3113
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3114
am__include=.include
3121
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3122
echo "${ECHO_T}$_am_result" >&6; }
3123
rm -f confinc confmf
3125
# Check whether --enable-dependency-tracking was given.
3126
if test "${enable_dependency_tracking+set}" = set; then
3127
enableval=$enable_dependency_tracking;
3130
if test "x$enable_dependency_tracking" != xno; then
3131
am_depcomp="$ac_aux_dir/depcomp"
3134
if test "x$enable_dependency_tracking" != xno; then
3144
depcc="$CC" am_compiler_list=
3146
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3147
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3148
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3149
echo $ECHO_N "(cached) $ECHO_C" >&6
3151
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3152
# We make a subdir and do the tests there. Otherwise we can end up
3153
# making bogus files that we don't know about and never remove. For
3154
# instance it was reported that on HP-UX the gcc test will end up
3155
# making a dummy file named `D' -- because `-MD' means `put the output
3158
# Copy depcomp to subdir because otherwise we won't find it if we're
3159
# using a relative directory.
3160
cp "$am_depcomp" conftest.dir
3162
# We will build objects and dependencies in a subdirectory because
3163
# it helps to detect inapplicable dependency modes. For instance
3164
# both Tru64's cc and ICC support -MD to output dependencies as a
3165
# side effect of compilation, but ICC will put the dependencies in
3166
# the current directory while Tru64 will put them in the object
3170
am_cv_CC_dependencies_compiler_type=none
3171
if test "$am_compiler_list" = ""; then
3172
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3174
for depmode in $am_compiler_list; do
3175
# Setup a source with many dependencies, because some compilers
3176
# like to wrap large dependency lists on column 80 (with \), and
3177
# we should not choose a depcomp mode which is confused by this.
3179
# We need to recreate these files for each test, as the compiler may
3180
# overwrite some of them when testing with obscure command lines.
3181
# This happens at least with the AIX C compiler.
3183
for i in 1 2 3 4 5 6; do
3184
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3185
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3186
# Solaris 8's {/usr,}/bin/sh.
3187
touch sub/conftst$i.h
3189
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3193
# after this tag, mechanisms are not by side-effect, so they'll
3194
# only be used when explicitly requested
3195
if test "x$enable_dependency_tracking" = xyes; then
3203
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3204
# mode. It turns out that the SunPro C++ compiler does not properly
3205
# handle `-M -o', and we need to detect this.
3206
if depmode=$depmode \
3207
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3208
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3209
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3210
>/dev/null 2>conftest.err &&
3211
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3212
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3213
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3214
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3215
# icc doesn't choke on unknown options, it will just issue warnings
3216
# or remarks (even with -Werror). So we grep stderr for any message
3217
# that says an option was ignored or not supported.
3218
# When given -MP, icc 7.0 and 7.1 complain thusly:
3219
# icc: Command line warning: ignoring option '-M'; no argument required
3220
# The diagnosis changed in icc 8.0:
3221
# icc: Command line remark: option '-MP' not supported
3222
if (grep 'ignoring option' conftest.err ||
3223
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3224
am_cv_CC_dependencies_compiler_type=$depmode
3233
am_cv_CC_dependencies_compiler_type=none
3237
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3238
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3239
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3242
test "x$enable_dependency_tracking" != xno \
3243
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3245
am__fastdepCC_FALSE='#'
3247
am__fastdepCC_TRUE='#'
3248
am__fastdepCC_FALSE=
3253
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3254
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3255
if test "${ac_cv_search_strerror+set}" = set; then
3256
echo $ECHO_N "(cached) $ECHO_C" >&6
3258
ac_func_search_save_LIBS=$LIBS
2484
3259
cat >conftest.$ac_ext <<_ACEOF
2485
3260
/* confdefs.h. */
2778
3564
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2781
echo "$as_me:$LINENO: checking for egrep" >&5
2782
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2783
if test "${ac_cv_prog_egrep+set}" = set; then
2784
echo $ECHO_N "(cached) $ECHO_C" >&6
2786
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2787
then ac_cv_prog_egrep='grep -E'
2788
else ac_cv_prog_egrep='egrep'
2791
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2792
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2793
EGREP=$ac_cv_prog_egrep
2796
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2797
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3567
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3568
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3569
if test "${ac_cv_path_GREP+set}" = set; then
3570
echo $ECHO_N "(cached) $ECHO_C" >&6
3572
# Extract the first word of "grep ggrep" to use in msg output
3573
if test -z "$GREP"; then
3574
set dummy grep ggrep; ac_prog_name=$2
3575
if test "${ac_cv_path_GREP+set}" = set; then
3576
echo $ECHO_N "(cached) $ECHO_C" >&6
3578
ac_path_GREP_found=false
3579
# Loop through the user's path and test for each of PROGNAME-LIST
3580
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3584
test -z "$as_dir" && as_dir=.
3585
for ac_prog in grep ggrep; do
3586
for ac_exec_ext in '' $ac_executable_extensions; do
3587
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3588
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3589
# Check for GNU ac_path_GREP and select it if it is found.
3590
# Check for GNU $ac_path_GREP
3591
case `"$ac_path_GREP" --version 2>&1` in
3593
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3596
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3599
cat "conftest.in" "conftest.in" >"conftest.tmp"
3600
mv "conftest.tmp" "conftest.in"
3601
cp "conftest.in" "conftest.nl"
3602
echo 'GREP' >> "conftest.nl"
3603
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3604
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3605
ac_count=`expr $ac_count + 1`
3606
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3607
# Best one so far, save it but keep looking for a better one
3608
ac_cv_path_GREP="$ac_path_GREP"
3609
ac_path_GREP_max=$ac_count
3611
# 10*(2^10) chars as input seems more than enough
3612
test $ac_count -gt 10 && break
3614
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3618
$ac_path_GREP_found && break 3
3628
GREP="$ac_cv_path_GREP"
3629
if test -z "$GREP"; then
3630
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3631
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3632
{ (exit 1); exit 1; }; }
3636
ac_cv_path_GREP=$GREP
3641
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3642
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3643
GREP="$ac_cv_path_GREP"
3646
{ echo "$as_me:$LINENO: checking for egrep" >&5
3647
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3648
if test "${ac_cv_path_EGREP+set}" = set; then
3649
echo $ECHO_N "(cached) $ECHO_C" >&6
3651
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3652
then ac_cv_path_EGREP="$GREP -E"
3654
# Extract the first word of "egrep" to use in msg output
3655
if test -z "$EGREP"; then
3656
set dummy egrep; ac_prog_name=$2
3657
if test "${ac_cv_path_EGREP+set}" = set; then
3658
echo $ECHO_N "(cached) $ECHO_C" >&6
3660
ac_path_EGREP_found=false
3661
# Loop through the user's path and test for each of PROGNAME-LIST
3662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3666
test -z "$as_dir" && as_dir=.
3667
for ac_prog in egrep; do
3668
for ac_exec_ext in '' $ac_executable_extensions; do
3669
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3670
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3671
# Check for GNU ac_path_EGREP and select it if it is found.
3672
# Check for GNU $ac_path_EGREP
3673
case `"$ac_path_EGREP" --version 2>&1` in
3675
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3678
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3681
cat "conftest.in" "conftest.in" >"conftest.tmp"
3682
mv "conftest.tmp" "conftest.in"
3683
cp "conftest.in" "conftest.nl"
3684
echo 'EGREP' >> "conftest.nl"
3685
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3686
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3687
ac_count=`expr $ac_count + 1`
3688
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3689
# Best one so far, save it but keep looking for a better one
3690
ac_cv_path_EGREP="$ac_path_EGREP"
3691
ac_path_EGREP_max=$ac_count
3693
# 10*(2^10) chars as input seems more than enough
3694
test $ac_count -gt 10 && break
3696
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3700
$ac_path_EGREP_found && break 3
3710
EGREP="$ac_cv_path_EGREP"
3711
if test -z "$EGREP"; then
3712
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3713
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3714
{ (exit 1); exit 1; }; }
3718
ac_cv_path_EGREP=$EGREP
3724
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3725
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3726
EGREP="$ac_cv_path_EGREP"
3729
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3730
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
2798
3731
if test "${ac_cv_header_stdc+set}" = set; then
2799
3732
echo $ECHO_N "(cached) $ECHO_C" >&6
3134
4160
# Name of the executable.
3135
as_me=`$as_basename "$0" ||
4161
as_me=`$as_basename -- "$0" ||
3136
4162
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3137
4163
X"$0" : 'X\(//\)$' \| \
3138
X"$0" : 'X\(/\)$' \| \
3139
. : '\(.\)' 2>/dev/null ||
4164
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3141
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3142
/^X\/\(\/\/\)$/{ s//\1/; q; }
3143
/^X\/\(\/\).*/{ s//\1/; q; }
3147
# PATH needs CR, and LINENO needs CR and PATH.
3148
# Avoid depending upon Character Ranges.
3149
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3150
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3151
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3152
as_cr_digits='0123456789'
3153
as_cr_alnum=$as_cr_Letters$as_cr_digits
3155
# The user is always right.
3156
if test "${PATH_SEPARATOR+set}" != set; then
3157
echo "#! /bin/sh" >conf$$.sh
3158
echo "exit 0" >>conf$$.sh
3160
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3171
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3172
test "x$as_lineno_1" != "x$as_lineno_2" &&
3173
test "x$as_lineno_3" = "x$as_lineno_2" || {
3174
# Find who we are. Look in the path if we contain no path at all
3177
*[\\/]* ) as_myself=$0 ;;
3178
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182
test -z "$as_dir" && as_dir=.
3183
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3188
# We did not find ourselves, most probably we were run as `sh COMMAND'
3189
# in which case we are not to be found in the path.
3190
if test "x$as_myself" = x; then
3193
if test ! -f "$as_myself"; then
3194
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3195
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3196
{ (exit 1); exit 1; }; }
3198
case $CONFIG_SHELL in
3200
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3204
test -z "$as_dir" && as_dir=.
3205
for as_base in sh bash ksh sh5; do
3208
if ("$as_dir/$as_base" -c '
3211
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3212
test "x$as_lineno_1" != "x$as_lineno_2" &&
3213
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3214
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3215
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3216
CONFIG_SHELL=$as_dir/$as_base
3218
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4166
sed '/^.*\/\([^/][^/]*\)\/*$/{
4187
test "x$as_lineno_1" != "x$as_lineno_2" &&
4188
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3226
4190
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3227
4191
# uniformly replaced by the line number. The first 'sed' inserts a
3228
# line-number line before each line; the second 'sed' does the real
3229
# work. The second script uses 'N' to pair each line-number line
3230
# with the numbered line, and appends trailing '-' during
3231
# substitution so that $LINENO is not a special case at line end.
4192
# line-number line after each line using $LINENO; the second 'sed'
4193
# does the real work. The second script uses 'N' to pair each
4194
# line-number line with the line containing $LINENO, and appends
4195
# trailing '-' during substitution so that $LINENO is not a special
3232
4197
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3233
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3234
sed '=' <$as_myself |
4198
# scripts with optimization help from Paolo Bonzini. Blame Lee
4199
# E. McMahon (1931-1989) for sed's syntax. :-)
3239
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4211
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3242
s,^['$as_cr_digits']*\n,,
3243
4214
' >$as_me.lineno &&
3244
chmod +x $as_me.lineno ||
3245
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3246
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4215
chmod +x "$as_me.lineno" ||
4216
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3247
4217
{ (exit 1); exit 1; }; }
3249
4219
# Don't try to exec as it changes $[0], causing all sort of problems
3250
4220
# (the dirname of $[0] is not the place where we might find the
3251
# original and so on. Autoconf is especially sensible to this).
4221
# original and so on. Autoconf is especially sensitive to this).
3253
4223
# Exit status is that of the last command.
3258
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3259
*c*,-n*) ECHO_N= ECHO_C='
3261
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3262
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4228
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4234
ECHO_C= ECHO_N= ECHO_T=
4237
case `echo 'x\c'` in
4238
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
3265
if expr a : '\(a\)' >/dev/null 2>&1; then
4245
if expr a : '\(a\)' >/dev/null 2>&1 &&
4246
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3271
4252
rm -f conf$$ conf$$.exe conf$$.file
4253
if test -d conf$$.dir; then
4254
rm -f conf$$.dir/conf$$.file
3272
4259
echo >conf$$.file
3273
4260
if ln -s conf$$.file conf$$ 2>/dev/null; then
3274
# We could just check for DJGPP; but this test a) works b) is more generic
3275
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3276
if test -f conf$$.exe; then
3277
# Don't use ln at all; we don't have any links
4262
# ... but there are two gotchas:
4263
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4264
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4265
# In both cases, we have to default to `cp -p'.
4266
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3278
4267
as_ln_s='cp -p'
3282
4268
elif ln conf$$.file conf$$ 2>/dev/null; then
3285
4271
as_ln_s='cp -p'
3287
rm -f conf$$ conf$$.exe conf$$.file
4273
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4274
rmdir conf$$.dir 2>/dev/null
3289
4276
if mkdir -p . 2>/dev/null; then
3520
4507
# Have a temporary directory for convenience. Make it in the build tree
3521
# simply because there is no reason to put it here, and in addition,
4508
# simply because there is no reason against having it here, and in addition,
3522
4509
# creating and moving files from /tmp can sometimes cause problems.
3523
# Create a temporary directory, and hook for its removal unless debugging.
4510
# Hook for its removal unless debugging.
4511
# Note that there is a small window in which the directory will not be cleaned:
4512
# after its creation but before its name has been assigned to `$tmp'.
3526
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4516
trap 'exit_status=$?
4517
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3527
4519
trap '{ (exit 1); exit 1; }' 1 2 13 15
3530
4521
# Create a (secure) tmp directory for tmp files.
3533
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4524
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3534
4525
test -n "$tmp" && test -d "$tmp"
3537
tmp=./confstat$$-$RANDOM
3538
(umask 077 && mkdir $tmp)
4528
tmp=./conf$$-$RANDOM
4529
(umask 077 && mkdir "$tmp")
3541
4532
echo "$me: cannot create a temporary directory in ." >&2
3542
4533
{ (exit 1); exit 1; }
3547
cat >>$CONFIG_STATUS <<_ACEOF
3550
# CONFIG_FILES section.
4537
# Set up the sed scripts for CONFIG_FILES section.
3553
4540
# No need to generate the scripts if there are no CONFIG_FILES.
3554
4541
# This happens for instance when ./config.status config.h
3555
if test -n "\$CONFIG_FILES"; then
3556
# Protect against being on the right side of a sed subst in config.status.
3557
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3558
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3559
s,@SHELL@,$SHELL,;t t
3560
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3561
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3562
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3563
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3564
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3565
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3566
s,@exec_prefix@,$exec_prefix,;t t
3567
s,@prefix@,$prefix,;t t
3568
s,@program_transform_name@,$program_transform_name,;t t
3569
s,@bindir@,$bindir,;t t
3570
s,@sbindir@,$sbindir,;t t
3571
s,@libexecdir@,$libexecdir,;t t
3572
s,@datadir@,$datadir,;t t
3573
s,@sysconfdir@,$sysconfdir,;t t
3574
s,@sharedstatedir@,$sharedstatedir,;t t
3575
s,@localstatedir@,$localstatedir,;t t
3576
s,@libdir@,$libdir,;t t
3577
s,@includedir@,$includedir,;t t
3578
s,@oldincludedir@,$oldincludedir,;t t
3579
s,@infodir@,$infodir,;t t
3580
s,@mandir@,$mandir,;t t
3581
s,@build_alias@,$build_alias,;t t
3582
s,@host_alias@,$host_alias,;t t
3583
s,@target_alias@,$target_alias,;t t
3585
s,@ECHO_C@,$ECHO_C,;t t
3586
s,@ECHO_N@,$ECHO_N,;t t
3587
s,@ECHO_T@,$ECHO_T,;t t
3589
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3590
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3591
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3592
s,@PACKAGE@,$PACKAGE,;t t
3593
s,@VERSION@,$VERSION,;t t
3594
s,@ACLOCAL@,$ACLOCAL,;t t
3595
s,@AUTOCONF@,$AUTOCONF,;t t
3596
s,@AUTOMAKE@,$AUTOMAKE,;t t
3597
s,@AUTOHEADER@,$AUTOHEADER,;t t
3598
s,@MAKEINFO@,$MAKEINFO,;t t
3599
s,@SET_MAKE@,$SET_MAKE,;t t
3601
s,@CFLAGS@,$CFLAGS,;t t
3602
s,@LDFLAGS@,$LDFLAGS,;t t
3603
s,@CPPFLAGS@,$CPPFLAGS,;t t
3604
s,@ac_ct_CC@,$ac_ct_CC,;t t
3605
s,@EXEEXT@,$EXEEXT,;t t
3606
s,@OBJEXT@,$OBJEXT,;t t
3608
s,@EGREP@,$EGREP,;t t
3609
s,@LIBOBJS@,$LIBOBJS,;t t
3610
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3615
cat >>$CONFIG_STATUS <<\_ACEOF
3616
# Split the substitutions into bite-sized pieces for seds with
3617
# small command number limits, like on Digital OSF/1 and HP-UX.
3619
ac_sed_frag=1 # Number of current file.
3620
ac_beg=1 # First line for current file.
3621
ac_end=$ac_max_sed_lines # Line after last line for current file.
3624
while $ac_more_lines; do
3625
if test $ac_beg -gt 1; then
3626
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3628
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3630
if test ! -s $tmp/subs.frag; then
3633
# The purpose of the label and of the branching condition is to
3634
# speed up the sed processing (if there are no `@' at all, there
3635
# is no need to browse any of the substitutions).
3636
# These are the two extra sed commands mentioned above.
3638
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3639
if test -z "$ac_sed_cmds"; then
3640
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3642
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3644
ac_sed_frag=`expr $ac_sed_frag + 1`
3646
ac_end=`expr $ac_end + $ac_max_sed_lines`
3649
if test -z "$ac_sed_cmds"; then
4542
if test -n "$CONFIG_FILES"; then
4549
for ac_last_try in false false false false false :; do
4550
cat >conf$$subs.sed <<_ACEOF
4551
SHELL!$SHELL$ac_delim
4552
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4553
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4554
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4555
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4556
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4557
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4558
exec_prefix!$exec_prefix$ac_delim
4559
prefix!$prefix$ac_delim
4560
program_transform_name!$program_transform_name$ac_delim
4561
bindir!$bindir$ac_delim
4562
sbindir!$sbindir$ac_delim
4563
libexecdir!$libexecdir$ac_delim
4564
datarootdir!$datarootdir$ac_delim
4565
datadir!$datadir$ac_delim
4566
sysconfdir!$sysconfdir$ac_delim
4567
sharedstatedir!$sharedstatedir$ac_delim
4568
localstatedir!$localstatedir$ac_delim
4569
includedir!$includedir$ac_delim
4570
oldincludedir!$oldincludedir$ac_delim
4571
docdir!$docdir$ac_delim
4572
infodir!$infodir$ac_delim
4573
htmldir!$htmldir$ac_delim
4574
dvidir!$dvidir$ac_delim
4575
pdfdir!$pdfdir$ac_delim
4576
psdir!$psdir$ac_delim
4577
libdir!$libdir$ac_delim
4578
localedir!$localedir$ac_delim
4579
mandir!$mandir$ac_delim
4581
ECHO_C!$ECHO_C$ac_delim
4582
ECHO_N!$ECHO_N$ac_delim
4583
ECHO_T!$ECHO_T$ac_delim
4585
build_alias!$build_alias$ac_delim
4586
host_alias!$host_alias$ac_delim
4587
target_alias!$target_alias$ac_delim
4588
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4589
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4590
INSTALL_DATA!$INSTALL_DATA$ac_delim
4591
am__isrc!$am__isrc$ac_delim
4592
CYGPATH_W!$CYGPATH_W$ac_delim
4593
PACKAGE!$PACKAGE$ac_delim
4594
VERSION!$VERSION$ac_delim
4595
ACLOCAL!$ACLOCAL$ac_delim
4596
AUTOCONF!$AUTOCONF$ac_delim
4597
AUTOMAKE!$AUTOMAKE$ac_delim
4598
AUTOHEADER!$AUTOHEADER$ac_delim
4599
MAKEINFO!$MAKEINFO$ac_delim
4600
install_sh!$install_sh$ac_delim
4601
STRIP!$STRIP$ac_delim
4602
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4603
mkdir_p!$mkdir_p$ac_delim
4605
SET_MAKE!$SET_MAKE$ac_delim
4606
am__leading_dot!$am__leading_dot$ac_delim
4607
AMTAR!$AMTAR$ac_delim
4608
am__tar!$am__tar$ac_delim
4609
am__untar!$am__untar$ac_delim
4611
CFLAGS!$CFLAGS$ac_delim
4612
LDFLAGS!$LDFLAGS$ac_delim
4613
CPPFLAGS!$CPPFLAGS$ac_delim
4614
ac_ct_CC!$ac_ct_CC$ac_delim
4615
EXEEXT!$EXEEXT$ac_delim
4616
OBJEXT!$OBJEXT$ac_delim
4617
DEPDIR!$DEPDIR$ac_delim
4618
am__include!$am__include$ac_delim
4619
am__quote!$am__quote$ac_delim
4620
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4621
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4622
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4623
CCDEPMODE!$CCDEPMODE$ac_delim
4624
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4625
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4628
EGREP!$EGREP$ac_delim
4629
LIBOBJS!$LIBOBJS$ac_delim
4630
LTLIBOBJS!$LTLIBOBJS$ac_delim
4633
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
4635
elif $ac_last_try; then
4636
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4637
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4638
{ (exit 1); exit 1; }; }
4640
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4644
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4645
if test -n "$ac_eof"; then
4646
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4647
ac_eof=`expr $ac_eof + 1`
4650
cat >>$CONFIG_STATUS <<_ACEOF
4651
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4652
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4655
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4656
s/^/s,@/; s/!/@,|#_!!_#|/
4659
s/'"$ac_delim"'$/,g/; t
4661
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4662
' >>$CONFIG_STATUS <conf$$subs.sed
4663
rm -f conf$$subs.sed
4664
cat >>$CONFIG_STATUS <<_ACEOF
4671
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4672
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4673
# trailing colons and then remove the whole line if VPATH becomes empty
4674
# (actually we leave an empty line to preserve line numbers).
4675
if test "x$srcdir" = x.; then
4676
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4680
s/^\([^=]*=[ ]*\):*/\1/
4686
cat >>$CONFIG_STATUS <<\_ACEOF
3652
4687
fi # test -n "$CONFIG_FILES"
3655
cat >>$CONFIG_STATUS <<\_ACEOF
3656
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3657
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3659
- | *:- | *:-:* ) # input from stdin
3661
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3662
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3663
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3664
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3665
* ) ac_file_in=$ac_file.in ;;
3668
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3669
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4690
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4693
:[FHLC]) ac_mode=$ac_tag; continue;;
4695
case $ac_mode$ac_tag in
4697
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4698
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4699
{ (exit 1); exit 1; }; };;
4700
:[FH]-) ac_tag=-:-;;
4701
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4718
-) ac_f="$tmp/stdin";;
4719
*) # Look for the file first in the build tree, then in the source tree
4720
# (if the path is not absolute). The absolute path cannot be DOS-style,
4721
# because $ac_f cannot contain `:'.
4725
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4727
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4728
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4729
{ (exit 1); exit 1; }; };;
4731
ac_file_inputs="$ac_file_inputs $ac_f"
4734
# Let's still pretend it is `configure' which instantiates (i.e., don't
4735
# use $as_me), people would be surprised to read:
4736
# /* config.h. Generated by config.status. */
4737
configure_input="Generated from "`IFS=:
4738
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4739
if test x"$ac_file" != x-; then
4740
configure_input="$ac_file. $configure_input"
4741
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4742
echo "$as_me: creating $ac_file" >&6;}
4746
*:-:* | *:-) cat >"$tmp/stdin";;
4751
ac_dir=`$as_dirname -- "$ac_file" ||
3670
4752
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3671
4753
X"$ac_file" : 'X\(//\)[^/]' \| \
3672
4754
X"$ac_file" : 'X\(//\)$' \| \
3673
X"$ac_file" : 'X\(/\)' \| \
3674
. : '\(.\)' 2>/dev/null ||
4755
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3675
4756
echo X"$ac_file" |
3676
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3677
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3678
/^X\(\/\/\)$/{ s//\1/; q; }
3679
/^X\(\/\).*/{ s//\1/; q; }
3681
{ if $as_mkdir_p; then
4757
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4776
-*) as_dir=./$as_dir;;
4778
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3686
while test ! -d "$as_dir"; do
3687
as_dirs="$as_dir $as_dirs"
3688
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4782
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4783
*) as_qdir=$as_dir;;
4785
as_dirs="'$as_qdir' $as_dirs"
4786
as_dir=`$as_dirname -- "$as_dir" ||
3689
4787
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3690
4788
X"$as_dir" : 'X\(//\)[^/]' \| \
3691
4789
X"$as_dir" : 'X\(//\)$' \| \
3692
X"$as_dir" : 'X\(/\)' \| \
3693
. : '\(.\)' 2>/dev/null ||
4790
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3694
4791
echo X"$as_dir" |
3695
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3696
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3697
/^X\(\/\/\)$/{ s//\1/; q; }
3698
/^X\(\/\).*/{ s//\1/; q; }
4792
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4809
test -d "$as_dir" && break
3701
test ! -n "$as_dirs" || mkdir $as_dirs
3702
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3703
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4811
test -z "$as_dirs" || eval "mkdir $as_dirs"
4812
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4813
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3704
4814
{ (exit 1); exit 1; }; }; }
3708
if test "$ac_dir" != .; then
4818
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3709
4820
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3710
# A "../" for each directory in $ac_dir_suffix.
3711
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3713
ac_dir_suffix= ac_top_builddir=
4821
# A ".." for each directory in $ac_dir_suffix.
4822
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4823
case $ac_top_builddir_sub in
4824
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4825
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4828
ac_abs_top_builddir=$ac_pwd
4829
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4830
# for backward compatibility:
4831
ac_top_builddir=$ac_top_build_prefix
3716
4833
case $srcdir in
3717
.) # No --srcdir option. We are building in place.
4834
.) # We are building in place.
3719
if test -z "$ac_top_builddir"; then
3722
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3724
[\\/]* | ?:[\\/]* ) # Absolute path.
4836
ac_top_srcdir=$ac_top_builddir_sub
4837
ac_abs_top_srcdir=$ac_pwd ;;
4838
[\\/]* | ?:[\\/]* ) # Absolute name.
3725
4839
ac_srcdir=$srcdir$ac_dir_suffix;
3726
ac_top_srcdir=$srcdir ;;
3728
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3729
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3732
# Do not use `cd foo && pwd` to compute absolute paths, because
3733
# the directories may not exist.
3735
.) ac_abs_builddir="$ac_dir";;
3738
.) ac_abs_builddir=`pwd`;;
3739
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3740
*) ac_abs_builddir=`pwd`/"$ac_dir";;
3743
case $ac_abs_builddir in
3744
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3746
case ${ac_top_builddir}. in
3747
.) ac_abs_top_builddir=$ac_abs_builddir;;
3748
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3749
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3752
case $ac_abs_builddir in
3753
.) ac_abs_srcdir=$ac_srcdir;;
3756
.) ac_abs_srcdir=$ac_abs_builddir;;
3757
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3758
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3761
case $ac_abs_builddir in
3762
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3764
case $ac_top_srcdir in
3765
.) ac_abs_top_srcdir=$ac_abs_builddir;;
3766
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3767
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4840
ac_top_srcdir=$srcdir
4841
ac_abs_top_srcdir=$srcdir ;;
4843
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4844
ac_top_srcdir=$ac_top_build_prefix$srcdir
4845
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4847
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3772
4856
case $INSTALL in
3773
4857
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3774
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3777
# Let's still pretend it is `configure' which instantiates (i.e., don't
3778
# use $as_me), people would be surprised to read:
3779
# /* config.h. Generated by config.status. */
3780
if test x"$ac_file" = x-; then
3783
configure_input="$ac_file. "
3785
configure_input=$configure_input"Generated from `echo $ac_file_in |
3786
sed 's,.*/,,'` by configure."
3788
# First look for the input files in the build tree, otherwise in the
3790
ac_file_inputs=`IFS=:
3791
for f in $ac_file_in; do
3793
-) echo $tmp/stdin ;;
3795
# Absolute (can't be DOS-style, as IFS=:)
3796
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3797
echo "$as_me: error: cannot find input file: $f" >&2;}
3798
{ (exit 1); exit 1; }; }
3801
if test -f "$f"; then
3804
elif test -f "$srcdir/$f"; then
3809
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3810
echo "$as_me: error: cannot find input file: $f" >&2;}
3811
{ (exit 1); exit 1; }; }
3814
done` || { (exit 1); exit 1; }
3816
if test x"$ac_file" != x-; then
3817
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3818
echo "$as_me: creating $ac_file" >&6;}
4858
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4862
[\\/$]* | ?:[\\/]* ) ;;
4863
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4867
cat >>$CONFIG_STATUS <<\_ACEOF
4868
# If the template does not know about datarootdir, expand it.
4869
# FIXME: This hack should be removed a few years after 2.60.
4870
ac_datarootdir_hack=; ac_datarootdir_seen=
4872
case `sed -n '/datarootdir/ {
4881
' $ac_file_inputs` in
4882
*datarootdir*) ac_datarootdir_seen=yes;;
4883
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4884
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4885
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4887
cat >>$CONFIG_STATUS <<_ACEOF
4888
ac_datarootdir_hack='
4889
s&@datadir@&$datadir&g
4890
s&@docdir@&$docdir&g
4891
s&@infodir@&$infodir&g
4892
s&@localedir@&$localedir&g
4893
s&@mandir@&$mandir&g
4894
s&\\\${datarootdir}&$datarootdir&g' ;;
4898
# Neutralize VPATH when `$srcdir' = `.'.
4899
# Shell code in configure.ac might set extrasub.
4900
# FIXME: do we really want to maintain this feature?
3822
4901
cat >>$CONFIG_STATUS <<_ACEOF
3826
4905
cat >>$CONFIG_STATUS <<\_ACEOF
3828
4907
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3829
s,@configure_input@,$configure_input,;t t
3830
s,@srcdir@,$ac_srcdir,;t t
3831
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3832
s,@top_srcdir@,$ac_top_srcdir,;t t
3833
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3834
s,@builddir@,$ac_builddir,;t t
3835
s,@abs_builddir@,$ac_abs_builddir,;t t
3836
s,@top_builddir@,$ac_top_builddir,;t t
3837
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3838
s,@INSTALL@,$ac_INSTALL,;t t
3839
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3841
if test x"$ac_file" != x-; then
3842
mv $tmp/out $ac_file
4908
s&@configure_input@&$configure_input&;t t
4909
s&@top_builddir@&$ac_top_builddir_sub&;t t
4910
s&@srcdir@&$ac_srcdir&;t t
4911
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4912
s&@top_srcdir@&$ac_top_srcdir&;t t
4913
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4914
s&@builddir@&$ac_builddir&;t t
4915
s&@abs_builddir@&$ac_abs_builddir&;t t
4916
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4917
s&@INSTALL@&$ac_INSTALL&;t t
4918
s&@MKDIR_P@&$ac_MKDIR_P&;t t
4919
$ac_datarootdir_hack
4920
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4922
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4923
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4924
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4925
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4926
which seems to be undefined. Please make sure it is defined." >&5
4927
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4928
which seems to be undefined. Please make sure it is defined." >&2;}
4932
-) cat "$tmp/out"; rm -f "$tmp/out";;
4933
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3850
cat >>$CONFIG_STATUS <<\_ACEOF
3853
# CONFIG_HEADER section.
3856
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3857
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3859
# ac_d sets the value in "#define NAME VALUE" lines.
3860
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3861
ac_dB='[ ].*$,\1#\2'
4942
# Transform confdefs.h into a sed script `conftest.defines', that
4943
# substitutes the proper values into config.h.in to produce config.h.
4944
rm -f conftest.defines conftest.tail
4945
# First, append a space to every undef/define line, to ease matching.
4946
echo 's/$/ /' >conftest.defines
4947
# Then, protect against being on the right side of a sed subst, or in
4948
# an unquoted here document, in config.status. If some macros were
4949
# called several times there might be several #defines for the same
4950
# symbol, which is useless. But do not sort them, since the last
4951
# AC_DEFINE must be honored.
4952
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4953
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4954
# NAME is the cpp macro being defined, VALUE is the value it is being given.
4955
# PARAMS is the parameter list in the macro definition--in most cases, it's
4956
# just an empty string.
4957
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4958
ac_dB='\\)[ (].*,\\1define\\2'
3864
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3865
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3866
ac_uB='$,\1#\2define\3'
3870
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3871
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3873
- | *:- | *:-:* ) # input from stdin
3875
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3876
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3877
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3878
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3879
* ) ac_file_in=$ac_file.in ;;
3882
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3883
echo "$as_me: creating $ac_file" >&6;}
3885
# First look for the input files in the build tree, otherwise in the
3887
ac_file_inputs=`IFS=:
3888
for f in $ac_file_in; do
3890
-) echo $tmp/stdin ;;
3892
# Absolute (can't be DOS-style, as IFS=:)
3893
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3894
echo "$as_me: error: cannot find input file: $f" >&2;}
3895
{ (exit 1); exit 1; }; }
3896
# Do quote $f, to prevent DOS paths from being IFS'd.
3899
if test -f "$f"; then
3902
elif test -f "$srcdir/$f"; then
3907
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3908
echo "$as_me: error: cannot find input file: $f" >&2;}
3909
{ (exit 1); exit 1; }; }
3912
done` || { (exit 1); exit 1; }
3913
# Remove the trailing spaces.
3914
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3918
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3919
# `conftest.undefs', that substitutes the proper values into
3920
# config.h.in to produce config.h. The first handles `#define'
3921
# templates, and the second `#undef' templates.
3922
# And first: Protect against being on the right side of a sed subst in
3923
# config.status. Protect against being in an unquoted here document
3925
rm -f conftest.defines conftest.undefs
3926
# Using a here document instead of a string reduces the quoting nightmare.
3927
# Putting comments in sed scripts is not portable.
3929
# `end' is used to avoid that the second main sed command (meant for
3930
# 0-ary CPP macros) applies to n-ary macro definitions.
3931
# See the Autoconf documentation for `clear'.
3932
cat >confdef2sed.sed <<\_ACEOF
3937
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3939
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3942
# If some macros were called several times there might be several times
3943
# the same #defines, which is useless. Nevertheless, we may not want to
3944
# sort them, since we want the *last* AC-DEFINE to be honored.
3945
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3946
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3947
rm -f confdef2sed.sed
3949
# This sed command replaces #undef with comments. This is necessary, for
4966
s/^[ ]*#[ ]*define[ ][ ]*//
4971
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4972
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4973
' >>conftest.defines
4975
# Remove the space that was appended to ease matching.
4976
# Then replace #undef with comments. This is necessary, for
3950
4977
# example, in the case of _POSIX_SOURCE, which is predefined and required
3951
4978
# on some systems where configure will not decide to define it.
3952
cat >>conftest.undefs <<\_ACEOF
3953
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4979
# (The regexp can be short, since the line contains either #define or #undef.)
4981
s,^[ #]*u.*,/* & */,' >>conftest.defines
4983
# Break up conftest.defines:
4986
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4987
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4988
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4990
ac_in='$ac_file_inputs'
4991
ac_out='"$tmp/out1"'
4992
ac_nxt='"$tmp/out2"'
4996
# Write a here document:
4997
cat >>$CONFIG_STATUS <<_ACEOF
4998
# First, check the format of the line:
4999
cat >"\$tmp/defines.sed" <<\\CEOF
5000
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5001
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3956
# Break up conftest.defines because some shells have a limit on the size
3957
# of here documents, and old seds have small limits too (100 cmds).
3958
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3959
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3960
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3961
echo ' :' >>$CONFIG_STATUS
3963
while grep . conftest.defines >/dev/null
3965
# Write a limited-size here document to $tmp/defines.sed.
3966
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3967
# Speed up: don't consider the non `#define' lines.
3968
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3969
# Work around the forget-to-reset-the-flag bug.
3970
echo 't clr' >>$CONFIG_STATUS
3971
echo ': clr' >>$CONFIG_STATUS
3972
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5005
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3974
sed -f $tmp/defines.sed $tmp/in >$tmp/out
3978
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5007
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5008
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5009
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5010
grep . conftest.tail >/dev/null || break
3979
5011
rm -f conftest.defines
3980
5012
mv conftest.tail conftest.defines
3982
rm -f conftest.defines
3983
echo ' fi # grep' >>$CONFIG_STATUS
3984
echo >>$CONFIG_STATUS
3986
# Break up conftest.undefs because some shells have a limit on the size
3987
# of here documents, and old seds have small limits too (100 cmds).
3988
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3990
while grep . conftest.undefs >/dev/null
3992
# Write a limited-size here document to $tmp/undefs.sed.
3993
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3994
# Speed up: don't consider the non `#undef'
3995
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3996
# Work around the forget-to-reset-the-flag bug.
3997
echo 't clr' >>$CONFIG_STATUS
3998
echo ': clr' >>$CONFIG_STATUS
3999
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4001
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4005
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4006
rm -f conftest.undefs
4007
mv conftest.tail conftest.undefs
4009
rm -f conftest.undefs
5014
rm -f conftest.defines conftest.tail
5016
echo "ac_result=$ac_in" >>$CONFIG_STATUS
4011
5017
cat >>$CONFIG_STATUS <<\_ACEOF
4012
# Let's still pretend it is `configure' which instantiates (i.e., don't
4013
# use $as_me), people would be surprised to read:
4014
# /* config.h. Generated by config.status. */
4015
if test x"$ac_file" = x-; then
4016
echo "/* Generated by configure. */" >$tmp/config.h
4018
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4020
cat $tmp/in >>$tmp/config.h
4022
5018
if test x"$ac_file" != x-; then
4023
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5019
echo "/* $configure_input */" >"$tmp/config.h"
5020
cat "$ac_result" >>"$tmp/config.h"
5021
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4024
5022
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4025
5023
echo "$as_me: $ac_file is unchanged" >&6;}
4027
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4028
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4029
X"$ac_file" : 'X\(//\)[^/]' \| \
4030
X"$ac_file" : 'X\(//\)$' \| \
4031
X"$ac_file" : 'X\(/\)' \| \
4032
. : '\(.\)' 2>/dev/null ||
4034
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4035
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4036
/^X\(\/\/\)$/{ s//\1/; q; }
4037
/^X\(\/\).*/{ s//\1/; q; }
4039
{ if $as_mkdir_p; then
4044
while test ! -d "$as_dir"; do
4045
as_dirs="$as_dir $as_dirs"
4046
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4047
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4048
X"$as_dir" : 'X\(//\)[^/]' \| \
4049
X"$as_dir" : 'X\(//\)$' \| \
4050
X"$as_dir" : 'X\(/\)' \| \
4051
. : '\(.\)' 2>/dev/null ||
4053
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4054
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4055
/^X\(\/\/\)$/{ s//\1/; q; }
4056
/^X\(\/\).*/{ s//\1/; q; }
4059
test ! -n "$as_dirs" || mkdir $as_dirs
4060
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4061
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4062
{ (exit 1); exit 1; }; }; }
4065
mv $tmp/config.h $ac_file
5026
mv "$tmp/config.h" $ac_file
5029
echo "/* $configure_input */"
5033
# Compute $ac_file's index in $config_headers.
5036
for _am_header in $config_headers :; do
5038
$_am_arg | $_am_arg:* )
5041
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
4073
cat >>$CONFIG_STATUS <<\_ACEOF
4076
# CONFIG_COMMANDS section.
4078
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4079
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4080
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4081
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4082
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4083
X"$ac_dest" : 'X\(//\)[^/]' \| \
4084
X"$ac_dest" : 'X\(//\)$' \| \
4085
X"$ac_dest" : 'X\(/\)' \| \
4086
. : '\(.\)' 2>/dev/null ||
4088
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4089
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4090
/^X\(\/\/\)$/{ s//\1/; q; }
4091
/^X\(\/\).*/{ s//\1/; q; }
4093
{ if $as_mkdir_p; then
5044
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5045
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5046
X"$_am_arg" : 'X\(//\)[^/]' \| \
5047
X"$_am_arg" : 'X\(//\)$' \| \
5048
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5050
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5066
s/.*/./; q'`/stamp-h$_am_stamp_count
5069
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5070
echo "$as_me: executing $ac_file commands" >&6;}
5075
case $ac_file$ac_mode in
5076
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5077
# Strip MF so we end up with the name of the file.
5078
mf=`echo "$mf" | sed -e 's/:.*$//'`
5079
# Check whether this is an Automake generated Makefile or not.
5080
# We used to match only the files named `Makefile.in', but
5081
# some people rename them; so instead we look at the file content.
5082
# Grep'ing the first line is not enough: some people post-process
5083
# each Makefile.in and add a new line on top of each file to say so.
5084
# Grep'ing the whole file is not good either: AIX grep has a line
5085
# limit of 2048, but all sed's we know have understand at least 4000.
5086
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5087
dirpart=`$as_dirname -- "$mf" ||
5088
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5089
X"$mf" : 'X\(//\)[^/]' \| \
5090
X"$mf" : 'X\(//\)$' \| \
5091
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5093
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5113
# Extract the definition of DEPDIR, am__include, and am__quote
5114
# from the Makefile without running `make'.
5115
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5116
test -z "$DEPDIR" && continue
5117
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5118
test -z "am__include" && continue
5119
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5120
# When using ansi2knr, U may be empty or an underscore; expand it
5121
U=`sed -n 's/^U = //p' < "$mf"`
5122
# Find all dependency output files, they are included files with
5123
# $(DEPDIR) in their names. We invoke sed twice because it is the
5124
# simplest approach to changing $(DEPDIR) to its actual value in the
5126
for file in `sed -n "
5127
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5128
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5129
# Make sure the directory exists.
5130
test -f "$dirpart/$file" && continue
5131
fdir=`$as_dirname -- "$file" ||
5132
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5133
X"$file" : 'X\(//\)[^/]' \| \
5134
X"$file" : 'X\(//\)$' \| \
5135
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5137
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5154
{ as_dir=$dirpart/$fdir
5156
-*) as_dir=./$as_dir;;
5158
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4098
while test ! -d "$as_dir"; do
4099
as_dirs="$as_dir $as_dirs"
4100
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5162
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5163
*) as_qdir=$as_dir;;
5165
as_dirs="'$as_qdir' $as_dirs"
5166
as_dir=`$as_dirname -- "$as_dir" ||
4101
5167
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4102
5168
X"$as_dir" : 'X\(//\)[^/]' \| \
4103
5169
X"$as_dir" : 'X\(//\)$' \| \
4104
X"$as_dir" : 'X\(/\)' \| \
4105
. : '\(.\)' 2>/dev/null ||
5170
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4106
5171
echo X"$as_dir" |
4107
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4108
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4109
/^X\(\/\/\)$/{ s//\1/; q; }
4110
/^X\(\/\).*/{ s//\1/; q; }
5172
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5189
test -d "$as_dir" && break
4113
test ! -n "$as_dirs" || mkdir $as_dirs
4114
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4115
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5191
test -z "$as_dirs" || eval "mkdir $as_dirs"
5192
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5193
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4116
5194
{ (exit 1); exit 1; }; }; }
4120
if test "$ac_dir" != .; then
4121
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4122
# A "../" for each directory in $ac_dir_suffix.
4123
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4125
ac_dir_suffix= ac_top_builddir=
4129
.) # No --srcdir option. We are building in place.
4131
if test -z "$ac_top_builddir"; then
4134
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4136
[\\/]* | ?:[\\/]* ) # Absolute path.
4137
ac_srcdir=$srcdir$ac_dir_suffix;
4138
ac_top_srcdir=$srcdir ;;
4140
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4141
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4144
# Do not use `cd foo && pwd` to compute absolute paths, because
4145
# the directories may not exist.
4147
.) ac_abs_builddir="$ac_dir";;
4150
.) ac_abs_builddir=`pwd`;;
4151
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4152
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4155
case $ac_abs_builddir in
4156
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4158
case ${ac_top_builddir}. in
4159
.) ac_abs_top_builddir=$ac_abs_builddir;;
4160
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4161
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4164
case $ac_abs_builddir in
4165
.) ac_abs_srcdir=$ac_srcdir;;
4168
.) ac_abs_srcdir=$ac_abs_builddir;;
4169
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4170
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4173
case $ac_abs_builddir in
4174
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4176
case $ac_top_srcdir in
4177
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4178
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4179
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4184
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4185
echo "$as_me: executing $ac_dest commands" >&6;}
4187
default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
5195
# echo "creating $dirpart/$file"
5196
echo '# dummy' > "$dirpart/$file"
4192
cat >>$CONFIG_STATUS <<\_ACEOF
4194
5205
{ (exit 0); exit 0; }