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
1075
test "$silent" = yes && exec 6>/dev/null
1078
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1079
ac_ls_di=`ls -di .` &&
1080
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1081
{ echo "$as_me: error: Working directory cannot be determined" >&2
1082
{ (exit 1); exit 1; }; }
1083
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1084
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1085
{ (exit 1); exit 1; }; }
668
1088
# Find the source files, if location was not specified.
669
1089
if test -z "$srcdir"; then
670
1090
ac_srcdir_defaulted=yes
671
# Try the directory containing this script, then its parent.
672
ac_confdir=`(dirname "$0") 2>/dev/null ||
1091
# Try the directory containing this script, then the parent directory.
1092
ac_confdir=`$as_dirname -- "$0" ||
673
1093
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
1094
X"$0" : 'X\(//\)[^/]' \| \
675
1095
X"$0" : 'X\(//\)$' \| \
676
X"$0" : 'X\(/\)' \| \
677
. : '\(.\)' 2>/dev/null ||
1096
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; }
1098
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
684
1115
srcdir=$ac_confdir
685
if test ! -r $srcdir/$ac_unique_file; then
1116
if test ! -r "$srcdir/$ac_unique_file"; then
689
1120
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
1122
if test ! -r "$srcdir/$ac_unique_file"; then
1123
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1124
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1125
{ (exit 1); exit 1; }; }
1127
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1129
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1130
{ (exit 1); exit 1; }; }
1132
# When building in place, set srcdir=.
1133
if test "$ac_abs_confdir" = "$ac_pwd"; then
1136
# Remove unnecessary trailing slashes from srcdir.
1137
# Double slashes in file names in object file debugging info
1138
# mess up M-x gdb in Emacs.
1140
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1142
for ac_var in $ac_precious_vars; do
1143
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1144
eval ac_env_${ac_var}_value=\$${ac_var}
1145
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1146
eval ac_cv_env_${ac_var}_value=\$${ac_var}
738
1150
# Report the --help message.
825
1241
CFLAGS C compiler flags
826
1242
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
827
1243
nonstandard directory <lib dir>
828
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
829
headers in a nonstandard directory <include dir>
1244
LIBS libraries to pass to the linker, e.g. -l<library>
1245
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1246
you have headers in a nonstandard directory <include dir>
1247
XMKMF Path to xmkmf, Makefile generator for X Window System
830
1248
CPP C preprocessor
832
1250
Use these variables to override the choices made by `configure' or to help
833
1251
it to find libraries and programs with nonstandard names/locations.
838
1257
if test "$ac_init_help" = "recursive"; then
839
1258
# If there are subdirs, report their specific --help.
841
1259
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
842
test -d $ac_dir || continue
1260
test -d "$ac_dir" || continue
845
if test "$ac_dir" != .; then
1264
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
846
1266
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
847
# A "../" for each directory in $ac_dir_suffix.
848
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
850
ac_dir_suffix= ac_top_builddir=
1267
# A ".." for each directory in $ac_dir_suffix.
1268
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1269
case $ac_top_builddir_sub in
1270
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1274
ac_abs_top_builddir=$ac_pwd
1275
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1276
# for backward compatibility:
1277
ac_top_builddir=$ac_top_build_prefix
854
.) # No --srcdir option. We are building in place.
1280
.) # We are building in place.
856
if test -z "$ac_top_builddir"; then
859
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
861
[\\/]* | ?:[\\/]* ) # Absolute path.
1282
ac_top_srcdir=$ac_top_builddir_sub
1283
ac_abs_top_srcdir=$ac_pwd ;;
1284
[\\/]* | ?:[\\/]* ) # Absolute name.
862
1285
ac_srcdir=$srcdir$ac_dir_suffix;
863
ac_top_srcdir=$srcdir ;;
865
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
866
ac_top_srcdir=$ac_top_builddir$srcdir ;;
869
# Do not use `cd foo && pwd` to compute absolute paths, because
870
# the directories may not exist.
872
.) ac_abs_builddir="$ac_dir";;
875
.) ac_abs_builddir=`pwd`;;
876
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
877
*) ac_abs_builddir=`pwd`/"$ac_dir";;
880
case $ac_abs_builddir in
881
.) ac_abs_top_builddir=${ac_top_builddir}.;;
883
case ${ac_top_builddir}. in
884
.) ac_abs_top_builddir=$ac_abs_builddir;;
885
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
886
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
889
case $ac_abs_builddir in
890
.) ac_abs_srcdir=$ac_srcdir;;
893
.) ac_abs_srcdir=$ac_abs_builddir;;
894
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
895
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
898
case $ac_abs_builddir in
899
.) ac_abs_top_srcdir=$ac_top_srcdir;;
901
case $ac_top_srcdir in
902
.) ac_abs_top_srcdir=$ac_abs_builddir;;
903
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
904
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
909
# Check for guested configure; otherwise get Cygnus style configure.
910
if test -f $ac_srcdir/configure.gnu; then
912
$SHELL $ac_srcdir/configure.gnu --help=recursive
913
elif test -f $ac_srcdir/configure; then
915
$SHELL $ac_srcdir/configure --help=recursive
916
elif test -f $ac_srcdir/configure.ac ||
917
test -f $ac_srcdir/configure.in; then
1286
ac_top_srcdir=$srcdir
1287
ac_abs_top_srcdir=$srcdir ;;
1289
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1290
ac_top_srcdir=$ac_top_build_prefix$srcdir
1291
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1293
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1295
cd "$ac_dir" || { ac_status=$?; continue; }
1296
# Check for guested configure.
1297
if test -f "$ac_srcdir/configure.gnu"; then
1299
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1300
elif test -f "$ac_srcdir/configure"; then
1302
$SHELL "$ac_srcdir/configure" --help=recursive
921
1304
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1306
cd "$ac_pwd" || { ac_status=$?; break; }
927
test -n "$ac_init_help" && exit 0
1310
test -n "$ac_init_help" && exit $ac_status
928
1311
if $ac_init_version; then
1314
generated by GNU Autoconf 2.61
931
Copyright (C) 2003 Free Software Foundation, Inc.
1316
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1317
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
932
1318
This configure script is free software; the Free Software Foundation
933
1319
gives unlimited permission to copy, distribute and modify it.
1323
cat >config.log <<_ACEOF
939
1324
This file contains any messages produced by compilers while
940
1325
running configure, to aid debugging if configure makes a mistake.
942
1327
It was created by $as_me, which was
943
generated by GNU Autoconf 2.59. Invocation command line was
1328
generated by GNU Autoconf 2.61. Invocation command line was
1289
1691
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&2;}
1290
1692
{ (exit 1); exit 1; }; }
1292
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1293
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1294
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1695
# These three variables are undocumented and unsupported,
1696
# and are intended to be withdrawn in a future Autoconf release.
1697
# They can cause serious problems if a builder's source tree is in a directory
1698
# whose full name contains unusual characters.
1699
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1700
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1701
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1296
1704
# Make sure we can run config.sub.
1297
$ac_config_sub sun4 >/dev/null 2>&1 ||
1298
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1299
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1705
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1706
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1707
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1300
1708
{ (exit 1); exit 1; }; }
1302
echo "$as_me:$LINENO: checking build system type" >&5
1303
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1710
{ echo "$as_me:$LINENO: checking build system type" >&5
1711
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1304
1712
if test "${ac_cv_build+set}" = set; then
1305
1713
echo $ECHO_N "(cached) $ECHO_C" >&6
1307
ac_cv_build_alias=$build_alias
1308
test -z "$ac_cv_build_alias" &&
1309
ac_cv_build_alias=`$ac_config_guess`
1310
test -z "$ac_cv_build_alias" &&
1715
ac_build_alias=$build_alias
1716
test "x$ac_build_alias" = x &&
1717
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1718
test "x$ac_build_alias" = x &&
1311
1719
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1312
1720
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1313
1721
{ (exit 1); exit 1; }; }
1314
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1315
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1316
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1722
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1723
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1724
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1317
1725
{ (exit 1); exit 1; }; }
1320
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1321
echo "${ECHO_T}$ac_cv_build" >&6
1728
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1729
echo "${ECHO_T}$ac_cv_build" >&6; }
1730
case $ac_cv_build in
1732
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1733
echo "$as_me: error: invalid value of canonical build" >&2;}
1734
{ (exit 1); exit 1; }; };;
1322
1736
build=$ac_cv_build
1323
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1324
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1325
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1328
echo "$as_me:$LINENO: checking host system type" >&5
1329
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1737
ac_save_IFS=$IFS; IFS='-'
1743
# Remember, the first character of IFS is used to create $*,
1744
# except with old shells:
1747
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1750
{ echo "$as_me:$LINENO: checking host system type" >&5
1751
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1330
1752
if test "${ac_cv_host+set}" = set; then
1331
1753
echo $ECHO_N "(cached) $ECHO_C" >&6
1333
ac_cv_host_alias=$host_alias
1334
test -z "$ac_cv_host_alias" &&
1335
ac_cv_host_alias=$ac_cv_build_alias
1336
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1337
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1338
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1755
if test "x$host_alias" = x; then
1756
ac_cv_host=$ac_cv_build
1758
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1759
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1760
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1339
1761
{ (exit 1); exit 1; }; }
1342
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1343
echo "${ECHO_T}$ac_cv_host" >&6
1765
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1766
echo "${ECHO_T}$ac_cv_host" >&6; }
1769
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1770
echo "$as_me: error: invalid value of canonical host" >&2;}
1771
{ (exit 1); exit 1; }; };;
1344
1773
host=$ac_cv_host
1345
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1346
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1347
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1774
ac_save_IFS=$IFS; IFS='-'
1780
# Remember, the first character of IFS is used to create $*,
1781
# except with old shells:
1784
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1911
2401
rm -f conftest.$ac_objext
1912
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1913
(eval $ac_compile) 2>conftest.er1
2402
if { (ac_try="$ac_compile"
2404
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405
*) ac_try_echo=$ac_try;;
2407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2408
(eval "$ac_compile") 2>conftest.er1
1915
2410
grep -v '^ *+' conftest.er1 >conftest.err
1916
2411
rm -f conftest.er1
1917
2412
cat conftest.err >&5
1918
2413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919
(exit $ac_status); } &&
1920
{ ac_try='test -z "$ac_c_werror_flag"
1921
|| test ! -s conftest.err'
1922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926
(exit $ac_status); }; } &&
1927
{ ac_try='test -s conftest.$ac_objext'
1928
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932
(exit $ac_status); }; }; then
2414
(exit $ac_status); } && {
2415
test -z "$ac_c_werror_flag" ||
2416
test ! -s conftest.err
2417
} && test -s conftest.$ac_objext; then
1933
2418
ac_compiler_gnu=yes
1935
2420
echo "$as_me: failed program was:" >&5
1936
2421
sed 's/^/| /' conftest.$ac_ext >&5
1940
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2426
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941
2427
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1944
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1945
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2430
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2431
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1946
2432
GCC=`test $ac_compiler_gnu = yes && echo yes`
1947
2433
ac_test_CFLAGS=${CFLAGS+set}
1948
2434
ac_save_CFLAGS=$CFLAGS
1950
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1951
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2435
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2436
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1952
2437
if test "${ac_cv_prog_cc_g+set}" = set; then
1953
2438
echo $ECHO_N "(cached) $ECHO_C" >&6
1955
cat >conftest.$ac_ext <<_ACEOF
1958
cat confdefs.h >>conftest.$ac_ext
1959
cat >>conftest.$ac_ext <<_ACEOF
1960
/* end confdefs.h. */
1970
rm -f conftest.$ac_objext
1971
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1972
(eval $ac_compile) 2>conftest.er1
1974
grep -v '^ *+' conftest.er1 >conftest.err
1976
cat conftest.err >&5
1977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978
(exit $ac_status); } &&
1979
{ ac_try='test -z "$ac_c_werror_flag"
1980
|| test ! -s conftest.err'
1981
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985
(exit $ac_status); }; } &&
1986
{ ac_try='test -s conftest.$ac_objext'
1987
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991
(exit $ac_status); }; }; then
1994
echo "$as_me: failed program was:" >&5
1995
sed 's/^/| /' conftest.$ac_ext >&5
1999
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2001
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2002
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2440
ac_save_c_werror_flag=$ac_c_werror_flag
2441
ac_c_werror_flag=yes
2444
cat >conftest.$ac_ext <<_ACEOF
2447
cat confdefs.h >>conftest.$ac_ext
2448
cat >>conftest.$ac_ext <<_ACEOF
2449
/* end confdefs.h. */
2459
rm -f conftest.$ac_objext
2460
if { (ac_try="$ac_compile"
2462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463
*) ac_try_echo=$ac_try;;
2465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2466
(eval "$ac_compile") 2>conftest.er1
2468
grep -v '^ *+' conftest.er1 >conftest.err
2470
cat conftest.err >&5
2471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
(exit $ac_status); } && {
2473
test -z "$ac_c_werror_flag" ||
2474
test ! -s conftest.err
2475
} && test -s conftest.$ac_objext; then
2478
echo "$as_me: failed program was:" >&5
2479
sed 's/^/| /' conftest.$ac_ext >&5
2482
cat >conftest.$ac_ext <<_ACEOF
2485
cat confdefs.h >>conftest.$ac_ext
2486
cat >>conftest.$ac_ext <<_ACEOF
2487
/* end confdefs.h. */
2497
rm -f conftest.$ac_objext
2498
if { (ac_try="$ac_compile"
2500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501
*) ac_try_echo=$ac_try;;
2503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504
(eval "$ac_compile") 2>conftest.er1
2506
grep -v '^ *+' conftest.er1 >conftest.err
2508
cat conftest.err >&5
2509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
(exit $ac_status); } && {
2511
test -z "$ac_c_werror_flag" ||
2512
test ! -s conftest.err
2513
} && test -s conftest.$ac_objext; then
2516
echo "$as_me: failed program was:" >&5
2517
sed 's/^/| /' conftest.$ac_ext >&5
2519
ac_c_werror_flag=$ac_save_c_werror_flag
2521
cat >conftest.$ac_ext <<_ACEOF
2524
cat confdefs.h >>conftest.$ac_ext
2525
cat >>conftest.$ac_ext <<_ACEOF
2526
/* end confdefs.h. */
2536
rm -f conftest.$ac_objext
2537
if { (ac_try="$ac_compile"
2539
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540
*) ac_try_echo=$ac_try;;
2542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543
(eval "$ac_compile") 2>conftest.er1
2545
grep -v '^ *+' conftest.er1 >conftest.err
2547
cat conftest.err >&5
2548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549
(exit $ac_status); } && {
2550
test -z "$ac_c_werror_flag" ||
2551
test ! -s conftest.err
2552
} && test -s conftest.$ac_objext; then
2555
echo "$as_me: failed program was:" >&5
2556
sed 's/^/| /' conftest.$ac_ext >&5
2561
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2567
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2568
ac_c_werror_flag=$ac_save_c_werror_flag
2570
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2571
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2003
2572
if test "$ac_test_CFLAGS" = set; then
2004
2573
CFLAGS=$ac_save_CFLAGS
2005
2574
elif test $ac_cv_prog_cc_g = yes; then
2077
# Don't try gcc -ansi; that turns off useful extensions and
2078
# breaks some systems' header files.
2079
# AIX -qlanglvl=ansi
2080
# Ultrix and OSF/1 -std1
2081
# HP-UX 10.20 and later -Ae
2082
# HP-UX older versions -Aa -D_HPUX_SOURCE
2083
# SVR4 -Xc -D__EXTENSIONS__
2084
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2651
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2652
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2086
2654
CC="$ac_save_CC $ac_arg"
2087
2655
rm -f conftest.$ac_objext
2088
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2089
(eval $ac_compile) 2>conftest.er1
2656
if { (ac_try="$ac_compile"
2658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659
*) ac_try_echo=$ac_try;;
2661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2662
(eval "$ac_compile") 2>conftest.er1
2091
2664
grep -v '^ *+' conftest.er1 >conftest.err
2092
2665
rm -f conftest.er1
2093
2666
cat conftest.err >&5
2094
2667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095
(exit $ac_status); } &&
2096
{ ac_try='test -z "$ac_c_werror_flag"
2097
|| test ! -s conftest.err'
2098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102
(exit $ac_status); }; } &&
2103
{ ac_try='test -s conftest.$ac_objext'
2104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108
(exit $ac_status); }; }; then
2109
ac_cv_prog_cc_stdc=$ac_arg
2668
(exit $ac_status); } && {
2669
test -z "$ac_c_werror_flag" ||
2670
test ! -s conftest.err
2671
} && test -s conftest.$ac_objext; then
2672
ac_cv_prog_cc_c89=$ac_arg
2112
2674
echo "$as_me: failed program was:" >&5
2113
2675
sed 's/^/| /' conftest.$ac_ext >&5
2116
rm -f conftest.err conftest.$ac_objext
2680
rm -f core conftest.err conftest.$ac_objext
2681
test "x$ac_cv_prog_cc_c89" != "xno" && break
2118
rm -f conftest.$ac_ext conftest.$ac_objext
2683
rm -f conftest.$ac_ext
2123
case "x$ac_cv_prog_cc_stdc" in
2125
echo "$as_me:$LINENO: result: none needed" >&5
2126
echo "${ECHO_T}none needed" >&6 ;;
2688
case "x$ac_cv_prog_cc_c89" in
2690
{ echo "$as_me:$LINENO: result: none needed" >&5
2691
echo "${ECHO_T}none needed" >&6; } ;;
2693
{ echo "$as_me:$LINENO: result: unsupported" >&5
2694
echo "${ECHO_T}unsupported" >&6; } ;;
2128
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2129
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2130
CC="$CC $ac_cv_prog_cc_stdc" ;;
2696
CC="$CC $ac_cv_prog_cc_c89"
2697
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2698
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2133
# Some people use a C++ compiler to compile C. Since we use `exit',
2134
# in C++ we need to declare it. In case someone uses the same compiler
2135
# for both compiling C and C++ we need to have the C++ compiler decide
2136
# the declaration of exit, since it's the most demanding environment.
2137
cat >conftest.$ac_ext <<_ACEOF
2142
rm -f conftest.$ac_objext
2143
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2144
(eval $ac_compile) 2>conftest.er1
2146
grep -v '^ *+' conftest.er1 >conftest.err
2148
cat conftest.err >&5
2149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150
(exit $ac_status); } &&
2151
{ ac_try='test -z "$ac_c_werror_flag"
2152
|| test ! -s conftest.err'
2153
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157
(exit $ac_status); }; } &&
2158
{ ac_try='test -s conftest.$ac_objext'
2159
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163
(exit $ac_status); }; }; then
2164
for ac_declaration in \
2166
'extern "C" void std::exit (int) throw (); using std::exit;' \
2167
'extern "C" void std::exit (int); using std::exit;' \
2168
'extern "C" void exit (int) throw ();' \
2169
'extern "C" void exit (int);' \
2172
cat >conftest.$ac_ext <<_ACEOF
2175
cat confdefs.h >>conftest.$ac_ext
2176
cat >>conftest.$ac_ext <<_ACEOF
2177
/* end confdefs.h. */
2188
rm -f conftest.$ac_objext
2189
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2190
(eval $ac_compile) 2>conftest.er1
2192
grep -v '^ *+' conftest.er1 >conftest.err
2194
cat conftest.err >&5
2195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196
(exit $ac_status); } &&
2197
{ ac_try='test -z "$ac_c_werror_flag"
2198
|| test ! -s conftest.err'
2199
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203
(exit $ac_status); }; } &&
2204
{ ac_try='test -s conftest.$ac_objext'
2205
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209
(exit $ac_status); }; }; then
2212
echo "$as_me: failed program was:" >&5
2213
sed 's/^/| /' conftest.$ac_ext >&5
2217
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2218
cat >conftest.$ac_ext <<_ACEOF
2221
cat confdefs.h >>conftest.$ac_ext
2222
cat >>conftest.$ac_ext <<_ACEOF
2223
/* end confdefs.h. */
2233
rm -f conftest.$ac_objext
2234
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2235
(eval $ac_compile) 2>conftest.er1
2237
grep -v '^ *+' conftest.er1 >conftest.err
2239
cat conftest.err >&5
2240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
(exit $ac_status); } &&
2242
{ ac_try='test -z "$ac_c_werror_flag"
2243
|| test ! -s conftest.err'
2244
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248
(exit $ac_status); }; } &&
2249
{ ac_try='test -s conftest.$ac_objext'
2250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254
(exit $ac_status); }; }; then
2257
echo "$as_me: failed program was:" >&5
2258
sed 's/^/| /' conftest.$ac_ext >&5
2261
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2264
if test -n "$ac_declaration"; then
2265
echo '#ifdef __cplusplus' >>confdefs.h
2266
echo $ac_declaration >>confdefs.h
2267
echo '#endif' >>confdefs.h
2271
echo "$as_me: failed program was:" >&5
2272
sed 's/^/| /' conftest.$ac_ext >&5
2275
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2277
2703
ac_cpp='$CPP $CPPFLAGS'
2278
2704
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525
4027
# Name of the executable.
3526
as_me=`$as_basename "$0" ||
4028
as_me=`$as_basename -- "$0" ||
3527
4029
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3528
4030
X"$0" : 'X\(//\)$' \| \
3529
X"$0" : 'X\(/\)$' \| \
3530
. : '\(.\)' 2>/dev/null ||
4031
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3532
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3533
/^X\/\(\/\/\)$/{ s//\1/; q; }
3534
/^X\/\(\/\).*/{ s//\1/; q; }
3538
# PATH needs CR, and LINENO needs CR and PATH.
3539
# Avoid depending upon Character Ranges.
3540
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3541
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3542
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3543
as_cr_digits='0123456789'
3544
as_cr_alnum=$as_cr_Letters$as_cr_digits
3546
# The user is always right.
3547
if test "${PATH_SEPARATOR+set}" != set; then
3548
echo "#! /bin/sh" >conf$$.sh
3549
echo "exit 0" >>conf$$.sh
3551
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3562
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3563
test "x$as_lineno_1" != "x$as_lineno_2" &&
3564
test "x$as_lineno_3" = "x$as_lineno_2" || {
3565
# Find who we are. Look in the path if we contain no path at all
3568
*[\\/]* ) as_myself=$0 ;;
3569
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573
test -z "$as_dir" && as_dir=.
3574
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3579
# We did not find ourselves, most probably we were run as `sh COMMAND'
3580
# in which case we are not to be found in the path.
3581
if test "x$as_myself" = x; then
3584
if test ! -f "$as_myself"; then
3585
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3586
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3587
{ (exit 1); exit 1; }; }
3589
case $CONFIG_SHELL in
3591
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3595
test -z "$as_dir" && as_dir=.
3596
for as_base in sh bash ksh sh5; do
3599
if ("$as_dir/$as_base" -c '
3602
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3603
test "x$as_lineno_1" != "x$as_lineno_2" &&
3604
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3605
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3606
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3607
CONFIG_SHELL=$as_dir/$as_base
3609
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4033
sed '/^.*\/\([^/][^/]*\)\/*$/{
4054
test "x$as_lineno_1" != "x$as_lineno_2" &&
4055
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3617
4057
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3618
4058
# uniformly replaced by the line number. The first 'sed' inserts a
3619
# line-number line before each line; the second 'sed' does the real
3620
# work. The second script uses 'N' to pair each line-number line
3621
# with the numbered line, and appends trailing '-' during
3622
# substitution so that $LINENO is not a special case at line end.
4059
# line-number line after each line using $LINENO; the second 'sed'
4060
# does the real work. The second script uses 'N' to pair each
4061
# line-number line with the line containing $LINENO, and appends
4062
# trailing '-' during substitution so that $LINENO is not a special
3623
4064
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3624
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3625
sed '=' <$as_myself |
4065
# scripts with optimization help from Paolo Bonzini. Blame Lee
4066
# E. McMahon (1931-1989) for sed's syntax. :-)
3630
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4078
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3633
s,^['$as_cr_digits']*\n,,
3634
4081
' >$as_me.lineno &&
3635
chmod +x $as_me.lineno ||
3636
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3637
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4082
chmod +x "$as_me.lineno" ||
4083
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3638
4084
{ (exit 1); exit 1; }; }
3640
4086
# Don't try to exec as it changes $[0], causing all sort of problems
3641
4087
# (the dirname of $[0] is not the place where we might find the
3642
# original and so on. Autoconf is especially sensible to this).
4088
# original and so on. Autoconf is especially sensitive to this).
3644
4090
# Exit status is that of the last command.
3649
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3650
*c*,-n*) ECHO_N= ECHO_C='
3652
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3653
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4095
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4101
ECHO_C= ECHO_N= ECHO_T=
4104
case `echo 'x\c'` in
4105
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
3656
if expr a : '\(a\)' >/dev/null 2>&1; then
4112
if expr a : '\(a\)' >/dev/null 2>&1 &&
4113
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3662
4119
rm -f conf$$ conf$$.exe conf$$.file
4120
if test -d conf$$.dir; then
4121
rm -f conf$$.dir/conf$$.file
3663
4126
echo >conf$$.file
3664
4127
if ln -s conf$$.file conf$$ 2>/dev/null; then
3665
# We could just check for DJGPP; but this test a) works b) is more generic
3666
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3667
if test -f conf$$.exe; then
3668
# Don't use ln at all; we don't have any links
4129
# ... but there are two gotchas:
4130
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4131
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4132
# In both cases, we have to default to `cp -p'.
4133
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3669
4134
as_ln_s='cp -p'
3673
4135
elif ln conf$$.file conf$$ 2>/dev/null; then
3676
4138
as_ln_s='cp -p'
3678
rm -f conf$$ conf$$.exe conf$$.file
4140
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4141
rmdir conf$$.dir 2>/dev/null
3680
4143
if mkdir -p . 2>/dev/null; then
3891
4344
# Have a temporary directory for convenience. Make it in the build tree
3892
# simply because there is no reason to put it here, and in addition,
4345
# simply because there is no reason against having it here, and in addition,
3893
4346
# creating and moving files from /tmp can sometimes cause problems.
3894
# Create a temporary directory, and hook for its removal unless debugging.
4347
# Hook for its removal unless debugging.
4348
# Note that there is a small window in which the directory will not be cleaned:
4349
# after its creation but before its name has been assigned to `$tmp'.
3897
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4353
trap 'exit_status=$?
4354
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3898
4356
trap '{ (exit 1); exit 1; }' 1 2 13 15
3901
4358
# Create a (secure) tmp directory for tmp files.
3904
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4361
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3905
4362
test -n "$tmp" && test -d "$tmp"
3908
tmp=./confstat$$-$RANDOM
3909
(umask 077 && mkdir $tmp)
4365
tmp=./conf$$-$RANDOM
4366
(umask 077 && mkdir "$tmp")
3912
4369
echo "$me: cannot create a temporary directory in ." >&2
3913
4370
{ (exit 1); exit 1; }
3918
cat >>$CONFIG_STATUS <<_ACEOF
3921
# CONFIG_FILES section.
4374
# Set up the sed scripts for CONFIG_FILES section.
3924
4377
# No need to generate the scripts if there are no CONFIG_FILES.
3925
4378
# This happens for instance when ./config.status config.h
3926
if test -n "\$CONFIG_FILES"; then
3927
# Protect against being on the right side of a sed subst in config.status.
3928
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3929
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3930
s,@SHELL@,$SHELL,;t t
3931
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3932
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3933
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3934
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3935
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3936
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3937
s,@exec_prefix@,$exec_prefix,;t t
3938
s,@prefix@,$prefix,;t t
3939
s,@program_transform_name@,$program_transform_name,;t t
3940
s,@bindir@,$bindir,;t t
3941
s,@sbindir@,$sbindir,;t t
3942
s,@libexecdir@,$libexecdir,;t t
3943
s,@datadir@,$datadir,;t t
3944
s,@sysconfdir@,$sysconfdir,;t t
3945
s,@sharedstatedir@,$sharedstatedir,;t t
3946
s,@localstatedir@,$localstatedir,;t t
3947
s,@libdir@,$libdir,;t t
3948
s,@includedir@,$includedir,;t t
3949
s,@oldincludedir@,$oldincludedir,;t t
3950
s,@infodir@,$infodir,;t t
3951
s,@mandir@,$mandir,;t t
3952
s,@build_alias@,$build_alias,;t t
3953
s,@host_alias@,$host_alias,;t t
3954
s,@target_alias@,$target_alias,;t t
3956
s,@ECHO_C@,$ECHO_C,;t t
3957
s,@ECHO_N@,$ECHO_N,;t t
3958
s,@ECHO_T@,$ECHO_T,;t t
3960
s,@build@,$build,;t t
3961
s,@build_cpu@,$build_cpu,;t t
3962
s,@build_vendor@,$build_vendor,;t t
3963
s,@build_os@,$build_os,;t t
3965
s,@host_cpu@,$host_cpu,;t t
3966
s,@host_vendor@,$host_vendor,;t t
3967
s,@host_os@,$host_os,;t t
3969
s,@CFLAGS@,$CFLAGS,;t t
3970
s,@LDFLAGS@,$LDFLAGS,;t t
3971
s,@CPPFLAGS@,$CPPFLAGS,;t t
3972
s,@ac_ct_CC@,$ac_ct_CC,;t t
3973
s,@EXEEXT@,$EXEEXT,;t t
3974
s,@OBJEXT@,$OBJEXT,;t t
3975
s,@OSMESA_CONFIG@,$OSMESA_CONFIG,;t t
3977
s,@MATHLIB@,$MATHLIB,;t t
3978
s,@SDL_CONFIG@,$SDL_CONFIG,;t t
3979
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
3980
s,@SDL_LIBS@,$SDL_LIBS,;t t
3982
s,@GLLIB@,$GLLIB,;t t
3983
s,@LIBOBJS@,$LIBOBJS,;t t
3984
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3989
cat >>$CONFIG_STATUS <<\_ACEOF
3990
# Split the substitutions into bite-sized pieces for seds with
3991
# small command number limits, like on Digital OSF/1 and HP-UX.
3993
ac_sed_frag=1 # Number of current file.
3994
ac_beg=1 # First line for current file.
3995
ac_end=$ac_max_sed_lines # Line after last line for current file.
3998
while $ac_more_lines; do
3999
if test $ac_beg -gt 1; then
4000
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4002
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4004
if test ! -s $tmp/subs.frag; then
4007
# The purpose of the label and of the branching condition is to
4008
# speed up the sed processing (if there are no `@' at all, there
4009
# is no need to browse any of the substitutions).
4010
# These are the two extra sed commands mentioned above.
4012
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4013
if test -z "$ac_sed_cmds"; then
4014
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4016
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4018
ac_sed_frag=`expr $ac_sed_frag + 1`
4020
ac_end=`expr $ac_end + $ac_max_sed_lines`
4023
if test -z "$ac_sed_cmds"; then
4379
if test -n "$CONFIG_FILES"; then
4386
for ac_last_try in false false false false false :; do
4387
cat >conf$$subs.sed <<_ACEOF
4388
SHELL!$SHELL$ac_delim
4389
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4390
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4391
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4392
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4393
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4394
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4395
exec_prefix!$exec_prefix$ac_delim
4396
prefix!$prefix$ac_delim
4397
program_transform_name!$program_transform_name$ac_delim
4398
bindir!$bindir$ac_delim
4399
sbindir!$sbindir$ac_delim
4400
libexecdir!$libexecdir$ac_delim
4401
datarootdir!$datarootdir$ac_delim
4402
datadir!$datadir$ac_delim
4403
sysconfdir!$sysconfdir$ac_delim
4404
sharedstatedir!$sharedstatedir$ac_delim
4405
localstatedir!$localstatedir$ac_delim
4406
includedir!$includedir$ac_delim
4407
oldincludedir!$oldincludedir$ac_delim
4408
docdir!$docdir$ac_delim
4409
infodir!$infodir$ac_delim
4410
htmldir!$htmldir$ac_delim
4411
dvidir!$dvidir$ac_delim
4412
pdfdir!$pdfdir$ac_delim
4413
psdir!$psdir$ac_delim
4414
libdir!$libdir$ac_delim
4415
localedir!$localedir$ac_delim
4416
mandir!$mandir$ac_delim
4418
ECHO_C!$ECHO_C$ac_delim
4419
ECHO_N!$ECHO_N$ac_delim
4420
ECHO_T!$ECHO_T$ac_delim
4422
build_alias!$build_alias$ac_delim
4423
host_alias!$host_alias$ac_delim
4424
target_alias!$target_alias$ac_delim
4425
build!$build$ac_delim
4426
build_cpu!$build_cpu$ac_delim
4427
build_vendor!$build_vendor$ac_delim
4428
build_os!$build_os$ac_delim
4430
host_cpu!$host_cpu$ac_delim
4431
host_vendor!$host_vendor$ac_delim
4432
host_os!$host_os$ac_delim
4434
CFLAGS!$CFLAGS$ac_delim
4435
LDFLAGS!$LDFLAGS$ac_delim
4436
CPPFLAGS!$CPPFLAGS$ac_delim
4437
ac_ct_CC!$ac_ct_CC$ac_delim
4438
EXEEXT!$EXEEXT$ac_delim
4439
OBJEXT!$OBJEXT$ac_delim
4440
OSMESA_CONFIG!$OSMESA_CONFIG$ac_delim
4442
MATHLIB!$MATHLIB$ac_delim
4443
SDL_CONFIG!$SDL_CONFIG$ac_delim
4444
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
4445
SDL_LIBS!$SDL_LIBS$ac_delim
4446
XMKMF!$XMKMF$ac_delim
4448
GLLIB!$GLLIB$ac_delim
4449
LIBOBJS!$LIBOBJS$ac_delim
4450
LTLIBOBJS!$LTLIBOBJS$ac_delim
4453
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
4455
elif $ac_last_try; then
4456
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4457
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4458
{ (exit 1); exit 1; }; }
4460
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4464
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4465
if test -n "$ac_eof"; then
4466
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4467
ac_eof=`expr $ac_eof + 1`
4470
cat >>$CONFIG_STATUS <<_ACEOF
4471
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4472
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4475
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4476
s/^/s,@/; s/!/@,|#_!!_#|/
4479
s/'"$ac_delim"'$/,g/; t
4481
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4482
' >>$CONFIG_STATUS <conf$$subs.sed
4483
rm -f conf$$subs.sed
4484
cat >>$CONFIG_STATUS <<_ACEOF
4491
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4492
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4493
# trailing colons and then remove the whole line if VPATH becomes empty
4494
# (actually we leave an empty line to preserve line numbers).
4495
if test "x$srcdir" = x.; then
4496
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4500
s/^\([^=]*=[ ]*\):*/\1/
4506
cat >>$CONFIG_STATUS <<\_ACEOF
4026
4507
fi # test -n "$CONFIG_FILES"
4029
cat >>$CONFIG_STATUS <<\_ACEOF
4030
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4031
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4033
- | *:- | *:-:* ) # input from stdin
4035
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4036
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4037
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4038
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4039
* ) ac_file_in=$ac_file.in ;;
4042
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4043
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4510
for ac_tag in :F $CONFIG_FILES
4513
:[FHLC]) ac_mode=$ac_tag; continue;;
4515
case $ac_mode$ac_tag in
4517
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4518
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4519
{ (exit 1); exit 1; }; };;
4520
:[FH]-) ac_tag=-:-;;
4521
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4538
-) ac_f="$tmp/stdin";;
4539
*) # Look for the file first in the build tree, then in the source tree
4540
# (if the path is not absolute). The absolute path cannot be DOS-style,
4541
# because $ac_f cannot contain `:'.
4545
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4547
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4548
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4549
{ (exit 1); exit 1; }; };;
4551
ac_file_inputs="$ac_file_inputs $ac_f"
4554
# Let's still pretend it is `configure' which instantiates (i.e., don't
4555
# use $as_me), people would be surprised to read:
4556
# /* config.h. Generated by config.status. */
4557
configure_input="Generated from "`IFS=:
4558
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4559
if test x"$ac_file" != x-; then
4560
configure_input="$ac_file. $configure_input"
4561
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4562
echo "$as_me: creating $ac_file" >&6;}
4566
*:-:* | *:-) cat >"$tmp/stdin";;
4571
ac_dir=`$as_dirname -- "$ac_file" ||
4044
4572
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4045
4573
X"$ac_file" : 'X\(//\)[^/]' \| \
4046
4574
X"$ac_file" : 'X\(//\)$' \| \
4047
X"$ac_file" : 'X\(/\)' \| \
4048
. : '\(.\)' 2>/dev/null ||
4575
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4049
4576
echo X"$ac_file" |
4050
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4051
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4052
/^X\(\/\/\)$/{ s//\1/; q; }
4053
/^X\(\/\).*/{ s//\1/; q; }
4055
{ if $as_mkdir_p; then
4577
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4596
-*) as_dir=./$as_dir;;
4598
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4060
while test ! -d "$as_dir"; do
4061
as_dirs="$as_dir $as_dirs"
4062
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4602
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4603
*) as_qdir=$as_dir;;
4605
as_dirs="'$as_qdir' $as_dirs"
4606
as_dir=`$as_dirname -- "$as_dir" ||
4063
4607
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4064
4608
X"$as_dir" : 'X\(//\)[^/]' \| \
4065
4609
X"$as_dir" : 'X\(//\)$' \| \
4066
X"$as_dir" : 'X\(/\)' \| \
4067
. : '\(.\)' 2>/dev/null ||
4610
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4068
4611
echo X"$as_dir" |
4069
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4070
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4071
/^X\(\/\/\)$/{ s//\1/; q; }
4072
/^X\(\/\).*/{ s//\1/; q; }
4612
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4629
test -d "$as_dir" && break
4075
test ! -n "$as_dirs" || mkdir $as_dirs
4076
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4077
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4631
test -z "$as_dirs" || eval "mkdir $as_dirs"
4632
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4633
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4078
4634
{ (exit 1); exit 1; }; }; }
4082
if test "$ac_dir" != .; then
4638
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4083
4640
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4084
# A "../" for each directory in $ac_dir_suffix.
4085
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4087
ac_dir_suffix= ac_top_builddir=
4641
# A ".." for each directory in $ac_dir_suffix.
4642
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4643
case $ac_top_builddir_sub in
4644
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4645
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4648
ac_abs_top_builddir=$ac_pwd
4649
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4650
# for backward compatibility:
4651
ac_top_builddir=$ac_top_build_prefix
4090
4653
case $srcdir in
4091
.) # No --srcdir option. We are building in place.
4654
.) # We are building in place.
4093
if test -z "$ac_top_builddir"; then
4096
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4098
[\\/]* | ?:[\\/]* ) # Absolute path.
4656
ac_top_srcdir=$ac_top_builddir_sub
4657
ac_abs_top_srcdir=$ac_pwd ;;
4658
[\\/]* | ?:[\\/]* ) # Absolute name.
4099
4659
ac_srcdir=$srcdir$ac_dir_suffix;
4100
ac_top_srcdir=$srcdir ;;
4102
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4103
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4106
# Do not use `cd foo && pwd` to compute absolute paths, because
4107
# the directories may not exist.
4109
.) ac_abs_builddir="$ac_dir";;
4112
.) ac_abs_builddir=`pwd`;;
4113
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4114
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4117
case $ac_abs_builddir in
4118
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4120
case ${ac_top_builddir}. in
4121
.) ac_abs_top_builddir=$ac_abs_builddir;;
4122
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4123
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4126
case $ac_abs_builddir in
4127
.) ac_abs_srcdir=$ac_srcdir;;
4130
.) ac_abs_srcdir=$ac_abs_builddir;;
4131
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4132
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4135
case $ac_abs_builddir in
4136
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4138
case $ac_top_srcdir in
4139
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4140
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4141
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4147
if test x"$ac_file" != x-; then
4148
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4149
echo "$as_me: creating $ac_file" >&6;}
4152
# Let's still pretend it is `configure' which instantiates (i.e., don't
4153
# use $as_me), people would be surprised to read:
4154
# /* config.h. Generated by config.status. */
4155
if test x"$ac_file" = x-; then
4158
configure_input="$ac_file. "
4160
configure_input=$configure_input"Generated from `echo $ac_file_in |
4161
sed 's,.*/,,'` by configure."
4163
# First look for the input files in the build tree, otherwise in the
4165
ac_file_inputs=`IFS=:
4166
for f in $ac_file_in; do
4168
-) echo $tmp/stdin ;;
4170
# Absolute (can't be DOS-style, as IFS=:)
4171
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4172
echo "$as_me: error: cannot find input file: $f" >&2;}
4173
{ (exit 1); exit 1; }; }
4176
if test -f "$f"; then
4179
elif test -f "$srcdir/$f"; then
4184
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4185
echo "$as_me: error: cannot find input file: $f" >&2;}
4186
{ (exit 1); exit 1; }; }
4189
done` || { (exit 1); exit 1; }
4660
ac_top_srcdir=$srcdir
4661
ac_abs_top_srcdir=$srcdir ;;
4663
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4664
ac_top_srcdir=$ac_top_build_prefix$srcdir
4665
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4667
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4678
cat >>$CONFIG_STATUS <<\_ACEOF
4679
# If the template does not know about datarootdir, expand it.
4680
# FIXME: This hack should be removed a few years after 2.60.
4681
ac_datarootdir_hack=; ac_datarootdir_seen=
4683
case `sed -n '/datarootdir/ {
4692
' $ac_file_inputs` in
4693
*datarootdir*) ac_datarootdir_seen=yes;;
4694
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4695
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4696
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4698
cat >>$CONFIG_STATUS <<_ACEOF
4699
ac_datarootdir_hack='
4700
s&@datadir@&$datadir&g
4701
s&@docdir@&$docdir&g
4702
s&@infodir@&$infodir&g
4703
s&@localedir@&$localedir&g
4704
s&@mandir@&$mandir&g
4705
s&\\\${datarootdir}&$datarootdir&g' ;;
4709
# Neutralize VPATH when `$srcdir' = `.'.
4710
# Shell code in configure.ac might set extrasub.
4711
# FIXME: do we really want to maintain this feature?
4191
4712
cat >>$CONFIG_STATUS <<_ACEOF