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
816
1242
CFLAGS C compiler flags
817
1243
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
818
1244
nonstandard directory <lib dir>
819
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
820
headers in a nonstandard directory <include dir>
1245
LIBS libraries to pass to the linker, e.g. -l<library>
1246
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1247
you have headers in a nonstandard directory <include dir>
822
1249
Use these variables to override the choices made by `configure' or to help
823
1250
it to find libraries and programs with nonstandard names/locations.
828
1256
if test "$ac_init_help" = "recursive"; then
829
1257
# If there are subdirs, report their specific --help.
831
1258
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
832
test -d $ac_dir || continue
1259
test -d "$ac_dir" || continue
835
if test "$ac_dir" != .; then
1263
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
836
1265
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
837
# A "../" for each directory in $ac_dir_suffix.
838
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
840
ac_dir_suffix= ac_top_builddir=
1266
# A ".." for each directory in $ac_dir_suffix.
1267
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1268
case $ac_top_builddir_sub in
1269
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1273
ac_abs_top_builddir=$ac_pwd
1274
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1275
# for backward compatibility:
1276
ac_top_builddir=$ac_top_build_prefix
844
.) # No --srcdir option. We are building in place.
1279
.) # We are building in place.
846
if test -z "$ac_top_builddir"; then
849
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
851
[\\/]* | ?:[\\/]* ) # Absolute path.
1281
ac_top_srcdir=$ac_top_builddir_sub
1282
ac_abs_top_srcdir=$ac_pwd ;;
1283
[\\/]* | ?:[\\/]* ) # Absolute name.
852
1284
ac_srcdir=$srcdir$ac_dir_suffix;
853
ac_top_srcdir=$srcdir ;;
855
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
856
ac_top_srcdir=$ac_top_builddir$srcdir ;;
859
# Do not use `cd foo && pwd` to compute absolute paths, because
860
# the directories may not exist.
862
.) ac_abs_builddir="$ac_dir";;
865
.) ac_abs_builddir=`pwd`;;
866
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
867
*) ac_abs_builddir=`pwd`/"$ac_dir";;
870
case $ac_abs_builddir in
871
.) ac_abs_top_builddir=${ac_top_builddir}.;;
873
case ${ac_top_builddir}. in
874
.) ac_abs_top_builddir=$ac_abs_builddir;;
875
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
876
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
879
case $ac_abs_builddir in
880
.) ac_abs_srcdir=$ac_srcdir;;
883
.) ac_abs_srcdir=$ac_abs_builddir;;
884
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
885
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
888
case $ac_abs_builddir in
889
.) ac_abs_top_srcdir=$ac_top_srcdir;;
891
case $ac_top_srcdir in
892
.) ac_abs_top_srcdir=$ac_abs_builddir;;
893
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
894
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
899
# Check for guested configure; otherwise get Cygnus style configure.
900
if test -f $ac_srcdir/configure.gnu; then
902
$SHELL $ac_srcdir/configure.gnu --help=recursive
903
elif test -f $ac_srcdir/configure; then
905
$SHELL $ac_srcdir/configure --help=recursive
906
elif test -f $ac_srcdir/configure.ac ||
907
test -f $ac_srcdir/configure.in; then
1285
ac_top_srcdir=$srcdir
1286
ac_abs_top_srcdir=$srcdir ;;
1288
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1289
ac_top_srcdir=$ac_top_build_prefix$srcdir
1290
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1292
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1294
cd "$ac_dir" || { ac_status=$?; continue; }
1295
# Check for guested configure.
1296
if test -f "$ac_srcdir/configure.gnu"; then
1298
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1299
elif test -f "$ac_srcdir/configure"; then
1301
$SHELL "$ac_srcdir/configure" --help=recursive
911
1303
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1305
cd "$ac_pwd" || { ac_status=$?; break; }
917
test -n "$ac_init_help" && exit 0
1309
test -n "$ac_init_help" && exit $ac_status
918
1310
if $ac_init_version; then
1313
generated by GNU Autoconf 2.61
921
Copyright (C) 2003 Free Software Foundation, Inc.
1315
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1316
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
922
1317
This configure script is free software; the Free Software Foundation
923
1318
gives unlimited permission to copy, distribute and modify it.
1322
cat >config.log <<_ACEOF
929
1323
This file contains any messages produced by compilers while
930
1324
running configure, to aid debugging if configure makes a mistake.
932
1326
It was created by $as_me, which was
933
generated by GNU Autoconf 2.59. Invocation command line was
1327
generated by GNU Autoconf 2.61. Invocation command line was
1823
2287
rm -f conftest.$ac_objext
1824
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825
(eval $ac_compile) 2>conftest.er1
2288
if { (ac_try="$ac_compile"
2290
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291
*) ac_try_echo=$ac_try;;
2293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2294
(eval "$ac_compile") 2>conftest.er1
1827
2296
grep -v '^ *+' conftest.er1 >conftest.err
1828
2297
rm -f conftest.er1
1829
2298
cat conftest.err >&5
1830
2299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831
(exit $ac_status); } &&
1832
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1833
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837
(exit $ac_status); }; } &&
1838
{ ac_try='test -s conftest.$ac_objext'
1839
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843
(exit $ac_status); }; }; then
2300
(exit $ac_status); } && {
2301
test -z "$ac_c_werror_flag" ||
2302
test ! -s conftest.err
2303
} && test -s conftest.$ac_objext; then
1844
2304
ac_compiler_gnu=yes
1846
2306
echo "$as_me: failed program was:" >&5
1847
2307
sed 's/^/| /' conftest.$ac_ext >&5
1851
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2312
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1852
2313
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1855
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1856
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2316
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2317
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1857
2318
GCC=`test $ac_compiler_gnu = yes && echo yes`
1858
2319
ac_test_CFLAGS=${CFLAGS+set}
1859
2320
ac_save_CFLAGS=$CFLAGS
1861
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1862
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2321
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2322
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1863
2323
if test "${ac_cv_prog_cc_g+set}" = set; then
1864
2324
echo $ECHO_N "(cached) $ECHO_C" >&6
1866
cat >conftest.$ac_ext <<_ACEOF
1869
cat confdefs.h >>conftest.$ac_ext
1870
cat >>conftest.$ac_ext <<_ACEOF
1871
/* end confdefs.h. */
1881
rm -f conftest.$ac_objext
1882
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1883
(eval $ac_compile) 2>conftest.er1
1885
grep -v '^ *+' conftest.er1 >conftest.err
1887
cat conftest.err >&5
1888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889
(exit $ac_status); } &&
1890
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1891
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895
(exit $ac_status); }; } &&
1896
{ ac_try='test -s conftest.$ac_objext'
1897
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901
(exit $ac_status); }; }; then
1904
echo "$as_me: failed program was:" >&5
1905
sed 's/^/| /' conftest.$ac_ext >&5
1909
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1911
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1912
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2326
ac_save_c_werror_flag=$ac_c_werror_flag
2327
ac_c_werror_flag=yes
2330
cat >conftest.$ac_ext <<_ACEOF
2333
cat confdefs.h >>conftest.$ac_ext
2334
cat >>conftest.$ac_ext <<_ACEOF
2335
/* end confdefs.h. */
2345
rm -f conftest.$ac_objext
2346
if { (ac_try="$ac_compile"
2348
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2349
*) ac_try_echo=$ac_try;;
2351
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2352
(eval "$ac_compile") 2>conftest.er1
2354
grep -v '^ *+' conftest.er1 >conftest.err
2356
cat conftest.err >&5
2357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
(exit $ac_status); } && {
2359
test -z "$ac_c_werror_flag" ||
2360
test ! -s conftest.err
2361
} && test -s conftest.$ac_objext; then
2364
echo "$as_me: failed program was:" >&5
2365
sed 's/^/| /' conftest.$ac_ext >&5
2368
cat >conftest.$ac_ext <<_ACEOF
2371
cat confdefs.h >>conftest.$ac_ext
2372
cat >>conftest.$ac_ext <<_ACEOF
2373
/* end confdefs.h. */
2383
rm -f conftest.$ac_objext
2384
if { (ac_try="$ac_compile"
2386
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387
*) ac_try_echo=$ac_try;;
2389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390
(eval "$ac_compile") 2>conftest.er1
2392
grep -v '^ *+' conftest.er1 >conftest.err
2394
cat conftest.err >&5
2395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396
(exit $ac_status); } && {
2397
test -z "$ac_c_werror_flag" ||
2398
test ! -s conftest.err
2399
} && test -s conftest.$ac_objext; then
2402
echo "$as_me: failed program was:" >&5
2403
sed 's/^/| /' conftest.$ac_ext >&5
2405
ac_c_werror_flag=$ac_save_c_werror_flag
2407
cat >conftest.$ac_ext <<_ACEOF
2410
cat confdefs.h >>conftest.$ac_ext
2411
cat >>conftest.$ac_ext <<_ACEOF
2412
/* end confdefs.h. */
2422
rm -f conftest.$ac_objext
2423
if { (ac_try="$ac_compile"
2425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426
*) ac_try_echo=$ac_try;;
2428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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
test -z "$ac_c_werror_flag" ||
2437
test ! -s conftest.err
2438
} && test -s conftest.$ac_objext; then
2441
echo "$as_me: failed program was:" >&5
2442
sed 's/^/| /' conftest.$ac_ext >&5
2447
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454
ac_c_werror_flag=$ac_save_c_werror_flag
2456
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2457
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1913
2458
if test "$ac_test_CFLAGS" = set; then
1914
2459
CFLAGS=$ac_save_CFLAGS
1915
2460
elif test $ac_cv_prog_cc_g = yes; then
1987
# Don't try gcc -ansi; that turns off useful extensions and
1988
# breaks some systems' header files.
1989
# AIX -qlanglvl=ansi
1990
# Ultrix and OSF/1 -std1
1991
# HP-UX 10.20 and later -Ae
1992
# HP-UX older versions -Aa -D_HPUX_SOURCE
1993
# SVR4 -Xc -D__EXTENSIONS__
1994
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2537
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2538
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1996
2540
CC="$ac_save_CC $ac_arg"
1997
2541
rm -f conftest.$ac_objext
1998
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1999
(eval $ac_compile) 2>conftest.er1
2542
if { (ac_try="$ac_compile"
2544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545
*) ac_try_echo=$ac_try;;
2547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548
(eval "$ac_compile") 2>conftest.er1
2001
2550
grep -v '^ *+' conftest.er1 >conftest.err
2002
2551
rm -f conftest.er1
2003
2552
cat conftest.err >&5
2004
2553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005
(exit $ac_status); } &&
2006
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011
(exit $ac_status); }; } &&
2012
{ ac_try='test -s conftest.$ac_objext'
2013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017
(exit $ac_status); }; }; then
2018
ac_cv_prog_cc_stdc=$ac_arg
2554
(exit $ac_status); } && {
2555
test -z "$ac_c_werror_flag" ||
2556
test ! -s conftest.err
2557
} && test -s conftest.$ac_objext; then
2558
ac_cv_prog_cc_c89=$ac_arg
2021
2560
echo "$as_me: failed program was:" >&5
2022
2561
sed 's/^/| /' conftest.$ac_ext >&5
2025
rm -f conftest.err conftest.$ac_objext
2566
rm -f core conftest.err conftest.$ac_objext
2567
test "x$ac_cv_prog_cc_c89" != "xno" && break
2027
rm -f conftest.$ac_ext conftest.$ac_objext
2569
rm -f conftest.$ac_ext
2032
case "x$ac_cv_prog_cc_stdc" in
2034
echo "$as_me:$LINENO: result: none needed" >&5
2035
echo "${ECHO_T}none needed" >&6 ;;
2574
case "x$ac_cv_prog_cc_c89" in
2576
{ echo "$as_me:$LINENO: result: none needed" >&5
2577
echo "${ECHO_T}none needed" >&6; } ;;
2579
{ echo "$as_me:$LINENO: result: unsupported" >&5
2580
echo "${ECHO_T}unsupported" >&6; } ;;
2037
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2038
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2039
CC="$CC $ac_cv_prog_cc_stdc" ;;
2582
CC="$CC $ac_cv_prog_cc_c89"
2583
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2584
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2042
# Some people use a C++ compiler to compile C. Since we use `exit',
2043
# in C++ we need to declare it. In case someone uses the same compiler
2044
# for both compiling C and C++ we need to have the C++ compiler decide
2045
# the declaration of exit, since it's the most demanding environment.
2046
cat >conftest.$ac_ext <<_ACEOF
2051
rm -f conftest.$ac_objext
2052
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053
(eval $ac_compile) 2>conftest.er1
2055
grep -v '^ *+' conftest.er1 >conftest.err
2057
cat conftest.err >&5
2058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059
(exit $ac_status); } &&
2060
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2061
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065
(exit $ac_status); }; } &&
2066
{ ac_try='test -s conftest.$ac_objext'
2067
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071
(exit $ac_status); }; }; then
2072
for ac_declaration in \
2074
'extern "C" void std::exit (int) throw (); using std::exit;' \
2075
'extern "C" void std::exit (int); using std::exit;' \
2076
'extern "C" void exit (int) throw ();' \
2077
'extern "C" void exit (int);' \
2080
cat >conftest.$ac_ext <<_ACEOF
2083
cat confdefs.h >>conftest.$ac_ext
2084
cat >>conftest.$ac_ext <<_ACEOF
2085
/* end confdefs.h. */
2096
rm -f conftest.$ac_objext
2097
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2098
(eval $ac_compile) 2>conftest.er1
2100
grep -v '^ *+' conftest.er1 >conftest.err
2102
cat conftest.err >&5
2103
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104
(exit $ac_status); } &&
2105
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2106
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110
(exit $ac_status); }; } &&
2111
{ ac_try='test -s conftest.$ac_objext'
2112
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116
(exit $ac_status); }; }; then
2119
echo "$as_me: failed program was:" >&5
2120
sed 's/^/| /' conftest.$ac_ext >&5
2124
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2125
cat >conftest.$ac_ext <<_ACEOF
2128
cat confdefs.h >>conftest.$ac_ext
2129
cat >>conftest.$ac_ext <<_ACEOF
2130
/* end confdefs.h. */
2140
rm -f conftest.$ac_objext
2141
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142
(eval $ac_compile) 2>conftest.er1
2144
grep -v '^ *+' conftest.er1 >conftest.err
2146
cat conftest.err >&5
2147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148
(exit $ac_status); } &&
2149
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154
(exit $ac_status); }; } &&
2155
{ ac_try='test -s conftest.$ac_objext'
2156
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160
(exit $ac_status); }; }; then
2163
echo "$as_me: failed program was:" >&5
2164
sed 's/^/| /' conftest.$ac_ext >&5
2167
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2170
if test -n "$ac_declaration"; then
2171
echo '#ifdef __cplusplus' >>confdefs.h
2172
echo $ac_declaration >>confdefs.h
2173
echo '#endif' >>confdefs.h
2177
echo "$as_me: failed program was:" >&5
2178
sed 's/^/| /' conftest.$ac_ext >&5
2181
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2183
2589
ac_cpp='$CPP $CPPFLAGS'
2184
2590
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041
3455
# get --with-python-src. The python src is required to generate the documentation
3042
3456
# It is not required to compile or install mod_python itself
3044
echo "$as_me:$LINENO: checking for --with-python-src" >&5
3045
echo $ECHO_N "checking for --with-python-src... $ECHO_C" >&6
3458
{ echo "$as_me:$LINENO: checking for --with-python-src" >&5
3459
echo $ECHO_N "checking for --with-python-src... $ECHO_C" >&6; }
3047
# Check whether --with-python-src or --without-python-src was given.
3461
# Check whether --with-python-src was given.
3048
3462
if test "${with_python_src+set}" = set; then
3049
withval="$with_python_src"
3463
withval=$with_python_src;
3051
3464
PYTHON_SRC="$withval"
3052
echo "$as_me:$LINENO: result: $PYTHON_SRC" >&5
3053
echo "${ECHO_T}$PYTHON_SRC" >&6
3465
{ echo "$as_me:$LINENO: result: $PYTHON_SRC" >&5
3466
echo "${ECHO_T}$PYTHON_SRC" >&6; }
3056
echo "$as_me:$LINENO: result: no" >&5
3057
echo "${ECHO_T}no" >&6
3469
{ echo "$as_me:$LINENO: result: no" >&5
3470
echo "${ECHO_T}no" >&6; }
3059
3473
if test -z "$PYTHON_SRC"; then
3063
3477
# configure the MUTEX_DIR for location of mutex locks
3065
echo "$as_me:$LINENO: checking for --with-mutex-dir" >&5
3066
echo $ECHO_N "checking for --with-mutex-dir... $ECHO_C" >&6
3479
{ echo "$as_me:$LINENO: checking for --with-mutex-dir" >&5
3480
echo $ECHO_N "checking for --with-mutex-dir... $ECHO_C" >&6; }
3068
# Check whether --with-mutex-dir or --without-mutex-dir was given.
3482
# Check whether --with-mutex-dir was given.
3069
3483
if test "${with_mutex_dir+set}" = set; then
3070
withval="$with_mutex_dir"
3484
withval=$with_mutex_dir;
3072
3485
MUTEX_DIR="$withval"
3073
echo "$as_me:$LINENO: result: $MUTEX_DIR" >&5
3074
echo "${ECHO_T}$MUTEX_DIR" >&6
3486
{ echo "$as_me:$LINENO: result: $MUTEX_DIR" >&5
3487
echo "${ECHO_T}$MUTEX_DIR" >&6; }
3077
echo "$as_me:$LINENO: result: no" >&5
3078
echo "${ECHO_T}no" >&6
3490
{ echo "$as_me:$LINENO: result: no" >&5
3491
echo "${ECHO_T}no" >&6; }
3081
3495
if test -z "$MUTEX_DIR"; then
3082
3496
MUTEX_DIR="/tmp"
3084
3498
# TODO - check if MUTEX_DIR is an absolute path
3085
echo "$as_me:$LINENO: result: Using MUTEX_DIR $MUTEX_DIR" >&5
3086
echo "${ECHO_T}Using MUTEX_DIR $MUTEX_DIR" >&6
3499
{ echo "$as_me:$LINENO: result: Using MUTEX_DIR $MUTEX_DIR" >&5
3500
echo "${ECHO_T}Using MUTEX_DIR $MUTEX_DIR" >&6; }
3088
3502
# configure the MAX_LOCKS for number of mutex locks
3090
echo "$as_me:$LINENO: checking for --with-max-locks" >&5
3091
echo $ECHO_N "checking for --with-max-locks... $ECHO_C" >&6
3504
{ echo "$as_me:$LINENO: checking for --with-max-locks" >&5
3505
echo $ECHO_N "checking for --with-max-locks... $ECHO_C" >&6; }
3093
# Check whether --with-max-locks or --without-max-locks was given.
3507
# Check whether --with-max-locks was given.
3094
3508
if test "${with_max_locks+set}" = set; then
3095
withval="$with_max_locks"
3509
withval=$with_max_locks;
3097
3510
MAX_LOCKS="$withval"
3098
echo "$as_me:$LINENO: result: $MAX_LOCKS" >&5
3099
echo "${ECHO_T}$MAX_LOCKS" >&6
3511
{ echo "$as_me:$LINENO: result: $MAX_LOCKS" >&5
3512
echo "${ECHO_T}$MAX_LOCKS" >&6; }
3102
echo "$as_me:$LINENO: result: no" >&5
3103
echo "${ECHO_T}no" >&6
3515
{ echo "$as_me:$LINENO: result: no" >&5
3516
echo "${ECHO_T}no" >&6; }
3106
3520
if test -z "$MAX_LOCKS"; then
3109
echo "$as_me:$LINENO: result: Using $MAX_LOCKS MAX_LOCKS." >&5
3110
echo "${ECHO_T}Using $MAX_LOCKS MAX_LOCKS." >&6
3523
{ echo "$as_me:$LINENO: result: Using $MAX_LOCKS MAX_LOCKS." >&5
3524
echo "${ECHO_T}Using $MAX_LOCKS MAX_LOCKS." >&6; }
3112
3526
# Check for correct flex version
3113
3527
# Requires flex 2.5.31 for reentrant support
3114
3528
# See README for more details
3117
echo "$as_me:$LINENO: checking for --with-flex" >&5
3118
echo $ECHO_N "checking for --with-flex... $ECHO_C" >&6
3531
{ echo "$as_me:$LINENO: checking for --with-flex" >&5
3532
echo $ECHO_N "checking for --with-flex... $ECHO_C" >&6; }
3120
# Check whether --with-flex or --without-flex was given.
3534
# Check whether --with-flex was given.
3121
3535
if test "${with_flex+set}" = set; then
3122
withval="$with_flex"
3125
echo "$as_me:$LINENO: result: $LEX" >&5
3126
echo "${ECHO_T}$LEX" >&6
3538
{ echo "$as_me:$LINENO: result: $LEX" >&5
3539
echo "${ECHO_T}$LEX" >&6; }
3129
echo "$as_me:$LINENO: result: no" >&5
3130
echo "${ECHO_T}no" >&6
3542
{ echo "$as_me:$LINENO: result: no" >&5
3543
echo "${ECHO_T}no" >&6; }
3133
3547
# check for flex executable
3134
3548
if test -z "$LEX"; then
3135
3549
# Extract the first word of "flex", so it can be a program name with args.
3136
3550
set dummy flex; ac_word=$2
3137
echo "$as_me:$LINENO: checking for $ac_word" >&5
3138
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3551
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3552
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3139
3553
if test "${ac_cv_path_LEX+set}" = set; then
3140
3554
echo $ECHO_N "(cached) $ECHO_C" >&6
3416
3900
# Name of the executable.
3417
as_me=`$as_basename "$0" ||
3901
as_me=`$as_basename -- "$0" ||
3418
3902
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3419
3903
X"$0" : 'X\(//\)$' \| \
3420
X"$0" : 'X\(/\)$' \| \
3421
. : '\(.\)' 2>/dev/null ||
3904
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3423
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3424
/^X\/\(\/\/\)$/{ s//\1/; q; }
3425
/^X\/\(\/\).*/{ s//\1/; q; }
3429
# PATH needs CR, and LINENO needs CR and PATH.
3430
# Avoid depending upon Character Ranges.
3431
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3432
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3433
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3434
as_cr_digits='0123456789'
3435
as_cr_alnum=$as_cr_Letters$as_cr_digits
3437
# The user is always right.
3438
if test "${PATH_SEPARATOR+set}" != set; then
3439
echo "#! /bin/sh" >conf$$.sh
3440
echo "exit 0" >>conf$$.sh
3442
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3453
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3454
test "x$as_lineno_1" != "x$as_lineno_2" &&
3455
test "x$as_lineno_3" = "x$as_lineno_2" || {
3456
# Find who we are. Look in the path if we contain no path at all
3459
*[\\/]* ) as_myself=$0 ;;
3460
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464
test -z "$as_dir" && as_dir=.
3465
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3470
# We did not find ourselves, most probably we were run as `sh COMMAND'
3471
# in which case we are not to be found in the path.
3472
if test "x$as_myself" = x; then
3475
if test ! -f "$as_myself"; then
3476
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3477
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3478
{ (exit 1); exit 1; }; }
3480
case $CONFIG_SHELL in
3482
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3486
test -z "$as_dir" && as_dir=.
3487
for as_base in sh bash ksh sh5; do
3490
if ("$as_dir/$as_base" -c '
3493
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3494
test "x$as_lineno_1" != "x$as_lineno_2" &&
3495
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3496
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3497
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3498
CONFIG_SHELL=$as_dir/$as_base
3500
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3906
sed '/^.*\/\([^/][^/]*\)\/*$/{
3927
test "x$as_lineno_1" != "x$as_lineno_2" &&
3928
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3508
3930
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3509
3931
# uniformly replaced by the line number. The first 'sed' inserts a
3510
# line-number line before each line; the second 'sed' does the real
3511
# work. The second script uses 'N' to pair each line-number line
3512
# with the numbered line, and appends trailing '-' during
3513
# substitution so that $LINENO is not a special case at line end.
3932
# line-number line after each line using $LINENO; the second 'sed'
3933
# does the real work. The second script uses 'N' to pair each
3934
# line-number line with the line containing $LINENO, and appends
3935
# trailing '-' during substitution so that $LINENO is not a special
3514
3937
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3515
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3516
sed '=' <$as_myself |
3938
# scripts with optimization help from Paolo Bonzini. Blame Lee
3939
# E. McMahon (1931-1989) for sed's syntax. :-)
3521
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3951
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3524
s,^['$as_cr_digits']*\n,,
3525
3954
' >$as_me.lineno &&
3526
chmod +x $as_me.lineno ||
3527
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3528
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3955
chmod +x "$as_me.lineno" ||
3956
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3529
3957
{ (exit 1); exit 1; }; }
3531
3959
# Don't try to exec as it changes $[0], causing all sort of problems
3532
3960
# (the dirname of $[0] is not the place where we might find the
3533
# original and so on. Autoconf is especially sensible to this).
3961
# original and so on. Autoconf is especially sensitive to this).
3535
3963
# Exit status is that of the last command.
3540
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3541
*c*,-n*) ECHO_N= ECHO_C='
3543
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3544
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3968
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3974
ECHO_C= ECHO_N= ECHO_T=
3977
case `echo 'x\c'` in
3978
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
3547
if expr a : '\(a\)' >/dev/null 2>&1; then
3985
if expr a : '\(a\)' >/dev/null 2>&1 &&
3986
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3553
3992
rm -f conf$$ conf$$.exe conf$$.file
3993
if test -d conf$$.dir; then
3994
rm -f conf$$.dir/conf$$.file
3554
3999
echo >conf$$.file
3555
4000
if ln -s conf$$.file conf$$ 2>/dev/null; then
3556
# We could just check for DJGPP; but this test a) works b) is more generic
3557
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3558
if test -f conf$$.exe; then
3559
# Don't use ln at all; we don't have any links
4002
# ... but there are two gotchas:
4003
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4004
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4005
# In both cases, we have to default to `cp -p'.
4006
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3560
4007
as_ln_s='cp -p'
3564
4008
elif ln conf$$.file conf$$ 2>/dev/null; then
3567
4011
as_ln_s='cp -p'
3569
rm -f conf$$ conf$$.exe conf$$.file
4013
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4014
rmdir conf$$.dir 2>/dev/null
3571
4016
if mkdir -p . 2>/dev/null; then
3789
4224
# Have a temporary directory for convenience. Make it in the build tree
3790
# simply because there is no reason to put it here, and in addition,
4225
# simply because there is no reason against having it here, and in addition,
3791
4226
# creating and moving files from /tmp can sometimes cause problems.
3792
# Create a temporary directory, and hook for its removal unless debugging.
4227
# Hook for its removal unless debugging.
4228
# Note that there is a small window in which the directory will not be cleaned:
4229
# after its creation but before its name has been assigned to `$tmp'.
3795
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4233
trap 'exit_status=$?
4234
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3796
4236
trap '{ (exit 1); exit 1; }' 1 2 13 15
3799
4238
# Create a (secure) tmp directory for tmp files.
3802
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4241
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3803
4242
test -n "$tmp" && test -d "$tmp"
3806
tmp=./confstat$$-$RANDOM
3807
(umask 077 && mkdir $tmp)
4245
tmp=./conf$$-$RANDOM
4246
(umask 077 && mkdir "$tmp")
3810
4249
echo "$me: cannot create a temporary directory in ." >&2
3811
4250
{ (exit 1); exit 1; }
3816
cat >>$CONFIG_STATUS <<_ACEOF
3819
# CONFIG_FILES section.
4254
# Set up the sed scripts for CONFIG_FILES section.
3822
4257
# No need to generate the scripts if there are no CONFIG_FILES.
3823
4258
# This happens for instance when ./config.status config.h
3824
if test -n "\$CONFIG_FILES"; then
3825
# Protect against being on the right side of a sed subst in config.status.
3826
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3827
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3828
s,@SHELL@,$SHELL,;t t
3829
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3830
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3831
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3832
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3833
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3834
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3835
s,@exec_prefix@,$exec_prefix,;t t
3836
s,@prefix@,$prefix,;t t
3837
s,@program_transform_name@,$program_transform_name,;t t
3838
s,@bindir@,$bindir,;t t
3839
s,@sbindir@,$sbindir,;t t
3840
s,@libexecdir@,$libexecdir,;t t
3841
s,@datadir@,$datadir,;t t
3842
s,@sysconfdir@,$sysconfdir,;t t
3843
s,@sharedstatedir@,$sharedstatedir,;t t
3844
s,@localstatedir@,$localstatedir,;t t
3845
s,@libdir@,$libdir,;t t
3846
s,@includedir@,$includedir,;t t
3847
s,@oldincludedir@,$oldincludedir,;t t
3848
s,@infodir@,$infodir,;t t
3849
s,@mandir@,$mandir,;t t
3850
s,@build_alias@,$build_alias,;t t
3851
s,@host_alias@,$host_alias,;t t
3852
s,@target_alias@,$target_alias,;t t
3854
s,@ECHO_C@,$ECHO_C,;t t
3855
s,@ECHO_N@,$ECHO_N,;t t
3856
s,@ECHO_T@,$ECHO_T,;t t
3859
s,@CFLAGS@,$CFLAGS,;t t
3860
s,@LDFLAGS@,$LDFLAGS,;t t
3861
s,@CPPFLAGS@,$CPPFLAGS,;t t
3862
s,@ac_ct_CC@,$ac_ct_CC,;t t
3863
s,@EXEEXT@,$EXEEXT,;t t
3864
s,@OBJEXT@,$OBJEXT,;t t
3866
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3867
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3868
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3869
s,@SET_MAKE@,$SET_MAKE,;t t
3873
s,@LIBEXECDIR@,$LIBEXECDIR,;t t
3874
s,@SOLARIS_HACKS@,$SOLARIS_HACKS,;t t
3875
s,@HTTPD@,$HTTPD,;t t
3876
s,@AP_SRC@,$AP_SRC,;t t
3877
s,@AP_SRC_OWN@,$AP_SRC_OWN,;t t
3878
s,@AP_SRC_GRP@,$AP_SRC_GRP,;t t
3879
s,@STATIC@,$STATIC,;t t
3880
s,@PYTHON_BIN@,$PYTHON_BIN,;t t
3881
s,@PY_STD_LIB@,$PY_STD_LIB,;t t
3882
s,@INCLUDES@,$INCLUDES,;t t
3883
s,@TEST_SERVER_ROOT@,$TEST_SERVER_ROOT,;t t
3884
s,@MOD_PYTHON_SO@,$MOD_PYTHON_SO,;t t
3885
s,@MP_VERSION@,$MP_VERSION,;t t
3886
s,@PYTHON_SRC@,$PYTHON_SRC,;t t
3887
s,@MUTEX_DIR@,$MUTEX_DIR,;t t
3888
s,@MAX_LOCKS@,$MAX_LOCKS,;t t
3890
s,@LIBOBJS@,$LIBOBJS,;t t
3891
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3896
cat >>$CONFIG_STATUS <<\_ACEOF
3897
# Split the substitutions into bite-sized pieces for seds with
3898
# small command number limits, like on Digital OSF/1 and HP-UX.
3900
ac_sed_frag=1 # Number of current file.
3901
ac_beg=1 # First line for current file.
3902
ac_end=$ac_max_sed_lines # Line after last line for current file.
3905
while $ac_more_lines; do
3906
if test $ac_beg -gt 1; then
3907
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3909
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3911
if test ! -s $tmp/subs.frag; then
3914
# The purpose of the label and of the branching condition is to
3915
# speed up the sed processing (if there are no `@' at all, there
3916
# is no need to browse any of the substitutions).
3917
# These are the two extra sed commands mentioned above.
3919
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3920
if test -z "$ac_sed_cmds"; then
3921
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3923
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3925
ac_sed_frag=`expr $ac_sed_frag + 1`
3927
ac_end=`expr $ac_end + $ac_max_sed_lines`
3930
if test -z "$ac_sed_cmds"; then
4259
if test -n "$CONFIG_FILES"; then
4266
for ac_last_try in false false false false false :; do
4267
cat >conf$$subs.sed <<_ACEOF
4268
SHELL!$SHELL$ac_delim
4269
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4270
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4271
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4272
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4273
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4274
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4275
exec_prefix!$exec_prefix$ac_delim
4276
prefix!$prefix$ac_delim
4277
program_transform_name!$program_transform_name$ac_delim
4278
bindir!$bindir$ac_delim
4279
sbindir!$sbindir$ac_delim
4280
libexecdir!$libexecdir$ac_delim
4281
datarootdir!$datarootdir$ac_delim
4282
datadir!$datadir$ac_delim
4283
sysconfdir!$sysconfdir$ac_delim
4284
sharedstatedir!$sharedstatedir$ac_delim
4285
localstatedir!$localstatedir$ac_delim
4286
includedir!$includedir$ac_delim
4287
oldincludedir!$oldincludedir$ac_delim
4288
docdir!$docdir$ac_delim
4289
infodir!$infodir$ac_delim
4290
htmldir!$htmldir$ac_delim
4291
dvidir!$dvidir$ac_delim
4292
pdfdir!$pdfdir$ac_delim
4293
psdir!$psdir$ac_delim
4294
libdir!$libdir$ac_delim
4295
localedir!$localedir$ac_delim
4296
mandir!$mandir$ac_delim
4298
ECHO_C!$ECHO_C$ac_delim
4299
ECHO_N!$ECHO_N$ac_delim
4300
ECHO_T!$ECHO_T$ac_delim
4302
build_alias!$build_alias$ac_delim
4303
host_alias!$host_alias$ac_delim
4304
target_alias!$target_alias$ac_delim
4306
CFLAGS!$CFLAGS$ac_delim
4307
LDFLAGS!$LDFLAGS$ac_delim
4308
CPPFLAGS!$CPPFLAGS$ac_delim
4309
ac_ct_CC!$ac_ct_CC$ac_delim
4310
EXEEXT!$EXEEXT$ac_delim
4311
OBJEXT!$OBJEXT$ac_delim
4313
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4314
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4315
INSTALL_DATA!$INSTALL_DATA$ac_delim
4316
SET_MAKE!$SET_MAKE$ac_delim
4320
LIBEXECDIR!$LIBEXECDIR$ac_delim
4321
SOLARIS_HACKS!$SOLARIS_HACKS$ac_delim
4322
HTTPD!$HTTPD$ac_delim
4323
AP_SRC!$AP_SRC$ac_delim
4324
AP_SRC_OWN!$AP_SRC_OWN$ac_delim
4325
AP_SRC_GRP!$AP_SRC_GRP$ac_delim
4326
STATIC!$STATIC$ac_delim
4327
PYTHON_BIN!$PYTHON_BIN$ac_delim
4328
PY_STD_LIB!$PY_STD_LIB$ac_delim
4329
INCLUDES!$INCLUDES$ac_delim
4330
TEST_SERVER_ROOT!$TEST_SERVER_ROOT$ac_delim
4331
MOD_PYTHON_SO!$MOD_PYTHON_SO$ac_delim
4332
MP_VERSION!$MP_VERSION$ac_delim
4333
PYTHON_SRC!$PYTHON_SRC$ac_delim
4334
MUTEX_DIR!$MUTEX_DIR$ac_delim
4335
MAX_LOCKS!$MAX_LOCKS$ac_delim
4337
LIBOBJS!$LIBOBJS$ac_delim
4338
LTLIBOBJS!$LTLIBOBJS$ac_delim
4341
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
4343
elif $ac_last_try; then
4344
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4345
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4346
{ (exit 1); exit 1; }; }
4348
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4352
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4353
if test -n "$ac_eof"; then
4354
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4355
ac_eof=`expr $ac_eof + 1`
4358
cat >>$CONFIG_STATUS <<_ACEOF
4359
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4360
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4363
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4364
s/^/s,@/; s/!/@,|#_!!_#|/
4367
s/'"$ac_delim"'$/,g/; t
4369
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4370
' >>$CONFIG_STATUS <conf$$subs.sed
4371
rm -f conf$$subs.sed
4372
cat >>$CONFIG_STATUS <<_ACEOF
4379
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4380
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4381
# trailing colons and then remove the whole line if VPATH becomes empty
4382
# (actually we leave an empty line to preserve line numbers).
4383
if test "x$srcdir" = x.; then
4384
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4388
s/^\([^=]*=[ ]*\):*/\1/
4394
cat >>$CONFIG_STATUS <<\_ACEOF
3933
4395
fi # test -n "$CONFIG_FILES"
3936
cat >>$CONFIG_STATUS <<\_ACEOF
3937
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3938
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3940
- | *:- | *:-:* ) # input from stdin
3942
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3943
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3944
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3945
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3946
* ) ac_file_in=$ac_file.in ;;
3949
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3950
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4398
for ac_tag in :F $CONFIG_FILES
4401
:[FHLC]) ac_mode=$ac_tag; continue;;
4403
case $ac_mode$ac_tag in
4405
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4406
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4407
{ (exit 1); exit 1; }; };;
4408
:[FH]-) ac_tag=-:-;;
4409
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4426
-) ac_f="$tmp/stdin";;
4427
*) # Look for the file first in the build tree, then in the source tree
4428
# (if the path is not absolute). The absolute path cannot be DOS-style,
4429
# because $ac_f cannot contain `:'.
4433
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4435
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4436
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4437
{ (exit 1); exit 1; }; };;
4439
ac_file_inputs="$ac_file_inputs $ac_f"
4442
# Let's still pretend it is `configure' which instantiates (i.e., don't
4443
# use $as_me), people would be surprised to read:
4444
# /* config.h. Generated by config.status. */
4445
configure_input="Generated from "`IFS=:
4446
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4447
if test x"$ac_file" != x-; then
4448
configure_input="$ac_file. $configure_input"
4449
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4450
echo "$as_me: creating $ac_file" >&6;}
4454
*:-:* | *:-) cat >"$tmp/stdin";;
4459
ac_dir=`$as_dirname -- "$ac_file" ||
3951
4460
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3952
4461
X"$ac_file" : 'X\(//\)[^/]' \| \
3953
4462
X"$ac_file" : 'X\(//\)$' \| \
3954
X"$ac_file" : 'X\(/\)' \| \
3955
. : '\(.\)' 2>/dev/null ||
4463
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3956
4464
echo X"$ac_file" |
3957
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3958
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3959
/^X\(\/\/\)$/{ s//\1/; q; }
3960
/^X\(\/\).*/{ s//\1/; q; }
3962
{ if $as_mkdir_p; then
4465
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4484
-*) as_dir=./$as_dir;;
4486
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3967
while test ! -d "$as_dir"; do
3968
as_dirs="$as_dir $as_dirs"
3969
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4490
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4491
*) as_qdir=$as_dir;;
4493
as_dirs="'$as_qdir' $as_dirs"
4494
as_dir=`$as_dirname -- "$as_dir" ||
3970
4495
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3971
4496
X"$as_dir" : 'X\(//\)[^/]' \| \
3972
4497
X"$as_dir" : 'X\(//\)$' \| \
3973
X"$as_dir" : 'X\(/\)' \| \
3974
. : '\(.\)' 2>/dev/null ||
4498
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3975
4499
echo X"$as_dir" |
3976
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3977
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3978
/^X\(\/\/\)$/{ s//\1/; q; }
3979
/^X\(\/\).*/{ s//\1/; q; }
4500
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4517
test -d "$as_dir" && break
3982
test ! -n "$as_dirs" || mkdir $as_dirs
3983
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3984
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4519
test -z "$as_dirs" || eval "mkdir $as_dirs"
4520
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4521
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3985
4522
{ (exit 1); exit 1; }; }; }
3989
if test "$ac_dir" != .; then
4526
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3990
4528
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3991
# A "../" for each directory in $ac_dir_suffix.
3992
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3994
ac_dir_suffix= ac_top_builddir=
4529
# A ".." for each directory in $ac_dir_suffix.
4530
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4531
case $ac_top_builddir_sub in
4532
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4533
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4536
ac_abs_top_builddir=$ac_pwd
4537
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4538
# for backward compatibility:
4539
ac_top_builddir=$ac_top_build_prefix
3997
4541
case $srcdir in
3998
.) # No --srcdir option. We are building in place.
4542
.) # We are building in place.
4000
if test -z "$ac_top_builddir"; then
4003
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4005
[\\/]* | ?:[\\/]* ) # Absolute path.
4544
ac_top_srcdir=$ac_top_builddir_sub
4545
ac_abs_top_srcdir=$ac_pwd ;;
4546
[\\/]* | ?:[\\/]* ) # Absolute name.
4006
4547
ac_srcdir=$srcdir$ac_dir_suffix;
4007
ac_top_srcdir=$srcdir ;;
4009
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4010
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4013
# Do not use `cd foo && pwd` to compute absolute paths, because
4014
# the directories may not exist.
4016
.) ac_abs_builddir="$ac_dir";;
4019
.) ac_abs_builddir=`pwd`;;
4020
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4021
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4024
case $ac_abs_builddir in
4025
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4027
case ${ac_top_builddir}. in
4028
.) ac_abs_top_builddir=$ac_abs_builddir;;
4029
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4030
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4033
case $ac_abs_builddir in
4034
.) ac_abs_srcdir=$ac_srcdir;;
4037
.) ac_abs_srcdir=$ac_abs_builddir;;
4038
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4039
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4042
case $ac_abs_builddir in
4043
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4045
case $ac_top_srcdir in
4046
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4047
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4048
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4548
ac_top_srcdir=$srcdir
4549
ac_abs_top_srcdir=$srcdir ;;
4551
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4552
ac_top_srcdir=$ac_top_build_prefix$srcdir
4553
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4555
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4053
4564
case $INSTALL in
4054
4565
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4055
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4566
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4058
# Let's still pretend it is `configure' which instantiates (i.e., don't
4059
# use $as_me), people would be surprised to read:
4060
# /* config.h. Generated by config.status. */
4061
if test x"$ac_file" = x-; then
4064
configure_input="$ac_file. "
4066
configure_input=$configure_input"Generated from `echo $ac_file_in |
4067
sed 's,.*/,,'` by configure."
4069
# First look for the input files in the build tree, otherwise in the
4071
ac_file_inputs=`IFS=:
4072
for f in $ac_file_in; do
4074
-) echo $tmp/stdin ;;
4076
# Absolute (can't be DOS-style, as IFS=:)
4077
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4078
echo "$as_me: error: cannot find input file: $f" >&2;}
4079
{ (exit 1); exit 1; }; }
4082
if test -f "$f"; then
4085
elif test -f "$srcdir/$f"; then
4090
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4091
echo "$as_me: error: cannot find input file: $f" >&2;}
4092
{ (exit 1); exit 1; }; }
4095
done` || { (exit 1); exit 1; }
4097
if test x"$ac_file" != x-; then
4098
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4099
echo "$as_me: creating $ac_file" >&6;}
4570
cat >>$CONFIG_STATUS <<\_ACEOF
4571
# If the template does not know about datarootdir, expand it.
4572
# FIXME: This hack should be removed a few years after 2.60.
4573
ac_datarootdir_hack=; ac_datarootdir_seen=
4575
case `sed -n '/datarootdir/ {
4584
' $ac_file_inputs` in
4585
*datarootdir*) ac_datarootdir_seen=yes;;
4586
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4587
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4588
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4590
cat >>$CONFIG_STATUS <<_ACEOF
4591
ac_datarootdir_hack='
4592
s&@datadir@&$datadir&g
4593
s&@docdir@&$docdir&g
4594
s&@infodir@&$infodir&g
4595
s&@localedir@&$localedir&g
4596
s&@mandir@&$mandir&g
4597
s&\\\${datarootdir}&$datarootdir&g' ;;
4601
# Neutralize VPATH when `$srcdir' = `.'.
4602
# Shell code in configure.ac might set extrasub.
4603
# FIXME: do we really want to maintain this feature?
4103
4604
cat >>$CONFIG_STATUS <<_ACEOF