130
65
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
66
as_me=`$as_basename "$0" ||
132
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
68
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
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
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
221
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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+"$@"}
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" || {
428
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
157
# uniformly replaced by the line number. The first 'sed' inserts a
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
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.
435
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
452
173
' >$as_me.lineno &&
453
chmod +x "$as_me.lineno" ||
174
chmod +x $as_me.lineno ||
454
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
176
{ (exit 1); exit 1; }; }
457
178
# Don't try to exec as it changes $[0], causing all sort of problems
458
179
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
180
# original and so on. Autoconf is especially sensible to this).
461
182
# Exit status is that of the last command.
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.
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= ;;
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
194
if expr a : '\(a\)' >/dev/null 2>&1; then
490
200
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
497
201
echo >conf$$.file
498
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
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
506
211
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
216
rm -f conf$$ conf$$.exe conf$$.file
514
218
if mkdir -p . 2>/dev/null; then
1242
816
CFLAGS C compiler flags
1243
817
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1244
818
nonstandard directory <lib 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>
819
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
820
headers in a nonstandard directory <include dir>
1249
822
Use these variables to override the choices made by `configure' or to help
1250
823
it to find libraries and programs with nonstandard names/locations.
1256
828
if test "$ac_init_help" = "recursive"; then
1257
829
# If there are subdirs, report their specific --help.
1258
831
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1259
test -d "$ac_dir" || continue
832
test -d $ac_dir || continue
1263
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
835
if test "$ac_dir" != .; then
1265
836
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
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
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=
1279
.) # We are building in place.
844
.) # No --srcdir option. We are building in place.
1281
ac_top_srcdir=$ac_top_builddir_sub
1282
ac_abs_top_srcdir=$ac_pwd ;;
1283
[\\/]* | ?:[\\/]* ) # Absolute name.
846
if test -z "$ac_top_builddir"; then
849
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
851
[\\/]* | ?:[\\/]* ) # Absolute path.
1284
852
ac_srcdir=$srcdir$ac_dir_suffix;
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
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
1303
911
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1305
cd "$ac_pwd" || { ac_status=$?; break; }
1309
test -n "$ac_init_help" && exit $ac_status
917
test -n "$ac_init_help" && exit 0
1310
918
if $ac_init_version; then
1313
generated by GNU Autoconf 2.61
1315
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1316
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
921
Copyright (C) 2003 Free Software Foundation, Inc.
1317
922
This configure script is free software; the Free Software Foundation
1318
923
gives unlimited permission to copy, distribute and modify it.
1322
cat >config.log <<_ACEOF
1323
929
This file contains any messages produced by compilers while
1324
930
running configure, to aid debugging if configure makes a mistake.
1326
932
It was created by $as_me, which was
1327
generated by GNU Autoconf 2.61. Invocation command line was
933
generated by GNU Autoconf 2.59. Invocation command line was
2287
1823
rm -f conftest.$ac_objext
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
1824
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825
(eval $ac_compile) 2>conftest.er1
2296
1827
grep -v '^ *+' conftest.er1 >conftest.err
2297
1828
rm -f conftest.er1
2298
1829
cat conftest.err >&5
2299
1830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300
(exit $ac_status); } && {
2301
test -z "$ac_c_werror_flag" ||
2302
test ! -s conftest.err
2303
} && test -s conftest.$ac_objext; then
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
2304
1844
ac_compiler_gnu=yes
2306
1846
echo "$as_me: failed program was:" >&5
2307
1847
sed 's/^/| /' conftest.$ac_ext >&5
2312
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2313
1852
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2316
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2317
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
1855
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1856
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2318
1857
GCC=`test $ac_compiler_gnu = yes && echo yes`
2319
1858
ac_test_CFLAGS=${CFLAGS+set}
2320
1859
ac_save_CFLAGS=$CFLAGS
2321
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2322
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
1861
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1862
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2323
1863
if test "${ac_cv_prog_cc_g+set}" = set; then
2324
1864
echo $ECHO_N "(cached) $ECHO_C" >&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; }
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
2458
1913
if test "$ac_test_CFLAGS" = set; then
2459
1914
CFLAGS=$ac_save_CFLAGS
2460
1915
elif test $ac_cv_prog_cc_g = yes; then
2537
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2538
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
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__"
2540
1996
CC="$ac_save_CC $ac_arg"
2541
1997
rm -f conftest.$ac_objext
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
1998
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1999
(eval $ac_compile) 2>conftest.er1
2550
2001
grep -v '^ *+' conftest.er1 >conftest.err
2551
2002
rm -f conftest.er1
2552
2003
cat conftest.err >&5
2553
2004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
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
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
2560
2021
echo "$as_me: failed program was:" >&5
2561
2022
sed 's/^/| /' conftest.$ac_ext >&5
2566
rm -f core conftest.err conftest.$ac_objext
2567
test "x$ac_cv_prog_cc_c89" != "xno" && break
2025
rm -f conftest.err conftest.$ac_objext
2569
rm -f conftest.$ac_ext
2027
rm -f conftest.$ac_ext conftest.$ac_objext
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; } ;;
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 ;;
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; } ;;
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" ;;
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
2589
2183
ac_cpp='$CPP $CPPFLAGS'
2590
2184
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455
3041
# get --with-python-src. The python src is required to generate the documentation
3456
3042
# It is not required to compile or install mod_python itself
3458
{ echo "$as_me:$LINENO: checking for --with-python-src" >&5
3459
echo $ECHO_N "checking for --with-python-src... $ECHO_C" >&6; }
3044
echo "$as_me:$LINENO: checking for --with-python-src" >&5
3045
echo $ECHO_N "checking for --with-python-src... $ECHO_C" >&6
3461
# Check whether --with-python-src was given.
3047
# Check whether --with-python-src or --without-python-src was given.
3462
3048
if test "${with_python_src+set}" = set; then
3463
withval=$with_python_src;
3049
withval="$with_python_src"
3464
3051
PYTHON_SRC="$withval"
3465
{ echo "$as_me:$LINENO: result: $PYTHON_SRC" >&5
3466
echo "${ECHO_T}$PYTHON_SRC" >&6; }
3052
echo "$as_me:$LINENO: result: $PYTHON_SRC" >&5
3053
echo "${ECHO_T}$PYTHON_SRC" >&6
3469
{ echo "$as_me:$LINENO: result: no" >&5
3470
echo "${ECHO_T}no" >&6; }
3056
echo "$as_me:$LINENO: result: no" >&5
3057
echo "${ECHO_T}no" >&6
3473
3059
if test -z "$PYTHON_SRC"; then
3477
3063
# configure the MUTEX_DIR for location of mutex locks
3479
{ echo "$as_me:$LINENO: checking for --with-mutex-dir" >&5
3480
echo $ECHO_N "checking for --with-mutex-dir... $ECHO_C" >&6; }
3065
echo "$as_me:$LINENO: checking for --with-mutex-dir" >&5
3066
echo $ECHO_N "checking for --with-mutex-dir... $ECHO_C" >&6
3482
# Check whether --with-mutex-dir was given.
3068
# Check whether --with-mutex-dir or --without-mutex-dir was given.
3483
3069
if test "${with_mutex_dir+set}" = set; then
3484
withval=$with_mutex_dir;
3070
withval="$with_mutex_dir"
3485
3072
MUTEX_DIR="$withval"
3486
{ echo "$as_me:$LINENO: result: $MUTEX_DIR" >&5
3487
echo "${ECHO_T}$MUTEX_DIR" >&6; }
3073
echo "$as_me:$LINENO: result: $MUTEX_DIR" >&5
3074
echo "${ECHO_T}$MUTEX_DIR" >&6
3490
{ echo "$as_me:$LINENO: result: no" >&5
3491
echo "${ECHO_T}no" >&6; }
3077
echo "$as_me:$LINENO: result: no" >&5
3078
echo "${ECHO_T}no" >&6
3495
3081
if test -z "$MUTEX_DIR"; then
3496
3082
MUTEX_DIR="/tmp"
3498
3084
# TODO - check if MUTEX_DIR is an absolute path
3499
{ echo "$as_me:$LINENO: result: Using MUTEX_DIR $MUTEX_DIR" >&5
3500
echo "${ECHO_T}Using MUTEX_DIR $MUTEX_DIR" >&6; }
3085
echo "$as_me:$LINENO: result: Using MUTEX_DIR $MUTEX_DIR" >&5
3086
echo "${ECHO_T}Using MUTEX_DIR $MUTEX_DIR" >&6
3502
3088
# configure the MAX_LOCKS for number of mutex locks
3504
{ echo "$as_me:$LINENO: checking for --with-max-locks" >&5
3505
echo $ECHO_N "checking for --with-max-locks... $ECHO_C" >&6; }
3090
echo "$as_me:$LINENO: checking for --with-max-locks" >&5
3091
echo $ECHO_N "checking for --with-max-locks... $ECHO_C" >&6
3507
# Check whether --with-max-locks was given.
3093
# Check whether --with-max-locks or --without-max-locks was given.
3508
3094
if test "${with_max_locks+set}" = set; then
3509
withval=$with_max_locks;
3095
withval="$with_max_locks"
3510
3097
MAX_LOCKS="$withval"
3511
{ echo "$as_me:$LINENO: result: $MAX_LOCKS" >&5
3512
echo "${ECHO_T}$MAX_LOCKS" >&6; }
3098
echo "$as_me:$LINENO: result: $MAX_LOCKS" >&5
3099
echo "${ECHO_T}$MAX_LOCKS" >&6
3515
{ echo "$as_me:$LINENO: result: no" >&5
3516
echo "${ECHO_T}no" >&6; }
3102
echo "$as_me:$LINENO: result: no" >&5
3103
echo "${ECHO_T}no" >&6
3520
3106
if test -z "$MAX_LOCKS"; then
3523
{ echo "$as_me:$LINENO: result: Using $MAX_LOCKS MAX_LOCKS." >&5
3524
echo "${ECHO_T}Using $MAX_LOCKS MAX_LOCKS." >&6; }
3109
echo "$as_me:$LINENO: result: Using $MAX_LOCKS MAX_LOCKS." >&5
3110
echo "${ECHO_T}Using $MAX_LOCKS MAX_LOCKS." >&6
3526
3112
# Check for correct flex version
3527
3113
# Requires flex 2.5.31 for reentrant support
3528
3114
# See README for more details
3531
{ echo "$as_me:$LINENO: checking for --with-flex" >&5
3532
echo $ECHO_N "checking for --with-flex... $ECHO_C" >&6; }
3117
echo "$as_me:$LINENO: checking for --with-flex" >&5
3118
echo $ECHO_N "checking for --with-flex... $ECHO_C" >&6
3534
# Check whether --with-flex was given.
3120
# Check whether --with-flex or --without-flex was given.
3535
3121
if test "${with_flex+set}" = set; then
3122
withval="$with_flex"
3538
{ echo "$as_me:$LINENO: result: $LEX" >&5
3539
echo "${ECHO_T}$LEX" >&6; }
3125
echo "$as_me:$LINENO: result: $LEX" >&5
3126
echo "${ECHO_T}$LEX" >&6
3542
{ echo "$as_me:$LINENO: result: no" >&5
3543
echo "${ECHO_T}no" >&6; }
3129
echo "$as_me:$LINENO: result: no" >&5
3130
echo "${ECHO_T}no" >&6
3547
3133
# check for flex executable
3548
3134
if test -z "$LEX"; then
3549
3135
# Extract the first word of "flex", so it can be a program name with args.
3550
3136
set dummy flex; ac_word=$2
3551
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3552
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3137
echo "$as_me:$LINENO: checking for $ac_word" >&5
3138
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3553
3139
if test "${ac_cv_path_LEX+set}" = set; then
3554
3140
echo $ECHO_N "(cached) $ECHO_C" >&6
3900
3416
# Name of the executable.
3901
as_me=`$as_basename -- "$0" ||
3417
as_me=`$as_basename "$0" ||
3902
3418
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3903
3419
X"$0" : 'X\(//\)$' \| \
3904
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3420
X"$0" : 'X\(/\)$' \| \
3421
. : '\(.\)' 2>/dev/null ||
3906
sed '/^.*\/\([^/][^/]*\)\/*$/{
3927
test "x$as_lineno_1" != "x$as_lineno_2" &&
3928
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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+"$@"}
3930
3508
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3931
3509
# uniformly replaced by the line number. The first 'sed' inserts a
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
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.
3937
3514
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3938
# scripts with optimization help from Paolo Bonzini. Blame Lee
3939
# E. McMahon (1931-1989) for sed's syntax. :-)
3515
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3516
sed '=' <$as_myself |
3951
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3521
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3524
s,^['$as_cr_digits']*\n,,
3954
3525
' >$as_me.lineno &&
3955
chmod +x "$as_me.lineno" ||
3956
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
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;}
3957
3529
{ (exit 1); exit 1; }; }
3959
3531
# Don't try to exec as it changes $[0], causing all sort of problems
3960
3532
# (the dirname of $[0] is not the place where we might find the
3961
# original and so on. Autoconf is especially sensitive to this).
3533
# original and so on. Autoconf is especially sensible to this).
3963
3535
# Exit status is that of the last command.
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.
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= ;;
3985
if expr a : '\(a\)' >/dev/null 2>&1 &&
3986
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3547
if expr a : '\(a\)' >/dev/null 2>&1; then
3992
3553
rm -f conf$$ conf$$.exe conf$$.file
3993
if test -d conf$$.dir; then
3994
rm -f conf$$.dir/conf$$.file
3999
3554
echo >conf$$.file
4000
3555
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
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
4007
3560
as_ln_s='cp -p'
4008
3564
elif ln conf$$.file conf$$ 2>/dev/null; then
4011
3567
as_ln_s='cp -p'
4013
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4014
rmdir conf$$.dir 2>/dev/null
3569
rm -f conf$$ conf$$.exe conf$$.file
4016
3571
if mkdir -p . 2>/dev/null; then
4224
3790
# Have a temporary directory for convenience. Make it in the build tree
4225
# simply because there is no reason against having it here, and in addition,
3791
# simply because there is no reason to put it here, and in addition,
4226
3792
# creating and moving files from /tmp can sometimes cause problems.
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'.
3793
# Create a temporary directory, and hook for its removal unless debugging.
4233
trap 'exit_status=$?
4234
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3796
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4236
3797
trap '{ (exit 1); exit 1; }' 1 2 13 15
4238
3800
# Create a (secure) tmp directory for tmp files.
4241
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3803
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4242
3804
test -n "$tmp" && test -d "$tmp"
4245
tmp=./conf$$-$RANDOM
4246
(umask 077 && mkdir "$tmp")
3807
tmp=./confstat$$-$RANDOM
3808
(umask 077 && mkdir $tmp)
4249
3811
echo "$me: cannot create a temporary directory in ." >&2
4250
3812
{ (exit 1); exit 1; }
3817
cat >>$CONFIG_STATUS <<_ACEOF
4254
# Set up the sed scripts for CONFIG_FILES section.
3820
# CONFIG_FILES section.
4257
3823
# No need to generate the scripts if there are no CONFIG_FILES.
4258
3824
# This happens for instance when ./config.status config.h
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!! "
3825
if test -n "\$CONFIG_FILES"; then
3826
# Protect against being on the right side of a sed subst in config.status.
3827
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3828
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3829
s,@SHELL@,$SHELL,;t t
3830
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3831
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3832
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3833
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3834
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3835
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3836
s,@exec_prefix@,$exec_prefix,;t t
3837
s,@prefix@,$prefix,;t t
3838
s,@program_transform_name@,$program_transform_name,;t t
3839
s,@bindir@,$bindir,;t t
3840
s,@sbindir@,$sbindir,;t t
3841
s,@libexecdir@,$libexecdir,;t t
3842
s,@datadir@,$datadir,;t t
3843
s,@sysconfdir@,$sysconfdir,;t t
3844
s,@sharedstatedir@,$sharedstatedir,;t t
3845
s,@localstatedir@,$localstatedir,;t t
3846
s,@libdir@,$libdir,;t t
3847
s,@includedir@,$includedir,;t t
3848
s,@oldincludedir@,$oldincludedir,;t t
3849
s,@infodir@,$infodir,;t t
3850
s,@mandir@,$mandir,;t t
3851
s,@build_alias@,$build_alias,;t t
3852
s,@host_alias@,$host_alias,;t t
3853
s,@target_alias@,$target_alias,;t t
3855
s,@ECHO_C@,$ECHO_C,;t t
3856
s,@ECHO_N@,$ECHO_N,;t t
3857
s,@ECHO_T@,$ECHO_T,;t t
3860
s,@CFLAGS@,$CFLAGS,;t t
3861
s,@LDFLAGS@,$LDFLAGS,;t t
3862
s,@CPPFLAGS@,$CPPFLAGS,;t t
3863
s,@ac_ct_CC@,$ac_ct_CC,;t t
3864
s,@EXEEXT@,$EXEEXT,;t t
3865
s,@OBJEXT@,$OBJEXT,;t t
3867
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3868
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3869
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3870
s,@SET_MAKE@,$SET_MAKE,;t t
3874
s,@LIBEXECDIR@,$LIBEXECDIR,;t t
3875
s,@SOLARIS_HACKS@,$SOLARIS_HACKS,;t t
3876
s,@HTTPD@,$HTTPD,;t t
3877
s,@AP_SRC@,$AP_SRC,;t t
3878
s,@AP_SRC_OWN@,$AP_SRC_OWN,;t t
3879
s,@AP_SRC_GRP@,$AP_SRC_GRP,;t t
3880
s,@STATIC@,$STATIC,;t t
3881
s,@PYTHON_BIN@,$PYTHON_BIN,;t t
3882
s,@PY_STD_LIB@,$PY_STD_LIB,;t t
3883
s,@INCLUDES@,$INCLUDES,;t t
3884
s,@TEST_SERVER_ROOT@,$TEST_SERVER_ROOT,;t t
3885
s,@MOD_PYTHON_SO@,$MOD_PYTHON_SO,;t t
3886
s,@MP_VERSION@,$MP_VERSION,;t t
3887
s,@PYTHON_SRC@,$PYTHON_SRC,;t t
3888
s,@MUTEX_DIR@,$MUTEX_DIR,;t t
3889
s,@MAX_LOCKS@,$MAX_LOCKS,;t t
3891
s,@LIBOBJS@,$LIBOBJS,;t t
3892
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3897
cat >>$CONFIG_STATUS <<\_ACEOF
3898
# Split the substitutions into bite-sized pieces for seds with
3899
# small command number limits, like on Digital OSF/1 and HP-UX.
3901
ac_sed_frag=1 # Number of current file.
3902
ac_beg=1 # First line for current file.
3903
ac_end=$ac_max_sed_lines # Line after last line for current file.
3906
while $ac_more_lines; do
3907
if test $ac_beg -gt 1; then
3908
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3910
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3912
if test ! -s $tmp/subs.frag; then
3915
# The purpose of the label and of the branching condition is to
3916
# speed up the sed processing (if there are no `@' at all, there
3917
# is no need to browse any of the substitutions).
3918
# These are the two extra sed commands mentioned above.
3920
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3921
if test -z "$ac_sed_cmds"; then
3922
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3924
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3926
ac_sed_frag=`expr $ac_sed_frag + 1`
3928
ac_end=`expr $ac_end + $ac_max_sed_lines`
3931
if test -z "$ac_sed_cmds"; then
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
4395
3934
fi # test -n "$CONFIG_FILES"
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" ||
3937
cat >>$CONFIG_STATUS <<\_ACEOF
3938
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3939
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3941
- | *:- | *:-:* ) # input from stdin
3943
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3944
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3945
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3946
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3947
* ) ac_file_in=$ac_file.in ;;
3950
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3951
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4460
3952
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4461
3953
X"$ac_file" : 'X\(//\)[^/]' \| \
4462
3954
X"$ac_file" : 'X\(//\)$' \| \
4463
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3955
X"$ac_file" : 'X\(/\)' \| \
3956
. : '\(.\)' 2>/dev/null ||
4464
3957
echo X"$ac_file" |
4465
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4484
-*) as_dir=./$as_dir;;
4486
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3958
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3959
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3960
/^X\(\/\/\)$/{ s//\1/; q; }
3961
/^X\(\/\).*/{ s//\1/; q; }
3963
{ if $as_mkdir_p; then
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" ||
3968
while test ! -d "$as_dir"; do
3969
as_dirs="$as_dir $as_dirs"
3970
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4495
3971
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4496
3972
X"$as_dir" : 'X\(//\)[^/]' \| \
4497
3973
X"$as_dir" : 'X\(//\)$' \| \
4498
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3974
X"$as_dir" : 'X\(/\)' \| \
3975
. : '\(.\)' 2>/dev/null ||
4499
3976
echo X"$as_dir" |
4500
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4517
test -d "$as_dir" && break
3977
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3978
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3979
/^X\(\/\/\)$/{ s//\1/; q; }
3980
/^X\(\/\).*/{ s//\1/; q; }
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;}
3983
test ! -n "$as_dirs" || mkdir $as_dirs
3984
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3985
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4522
3986
{ (exit 1); exit 1; }; }; }
4526
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3990
if test "$ac_dir" != .; then
4528
3991
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
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
3992
# A "../" for each directory in $ac_dir_suffix.
3993
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3995
ac_dir_suffix= ac_top_builddir=
4541
3998
case $srcdir in
4542
.) # We are building in place.
3999
.) # No --srcdir option. We are building in place.
4544
ac_top_srcdir=$ac_top_builddir_sub
4545
ac_abs_top_srcdir=$ac_pwd ;;
4546
[\\/]* | ?:[\\/]* ) # Absolute name.
4001
if test -z "$ac_top_builddir"; then
4004
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4006
[\\/]* | ?:[\\/]* ) # Absolute path.
4547
4007
ac_srcdir=$srcdir$ac_dir_suffix;
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
4008
ac_top_srcdir=$srcdir ;;
4010
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4011
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4014
# Do not use `cd foo && pwd` to compute absolute paths, because
4015
# the directories may not exist.
4017
.) ac_abs_builddir="$ac_dir";;
4020
.) ac_abs_builddir=`pwd`;;
4021
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4022
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4025
case $ac_abs_builddir in
4026
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4028
case ${ac_top_builddir}. in
4029
.) ac_abs_top_builddir=$ac_abs_builddir;;
4030
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4031
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4034
case $ac_abs_builddir in
4035
.) ac_abs_srcdir=$ac_srcdir;;
4038
.) ac_abs_srcdir=$ac_abs_builddir;;
4039
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4040
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4043
case $ac_abs_builddir in
4044
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4046
case $ac_top_srcdir in
4047
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4048
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4049
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4564
4054
case $INSTALL in
4565
4055
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4566
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4056
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
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?
4059
# Let's still pretend it is `configure' which instantiates (i.e., don't
4060
# use $as_me), people would be surprised to read:
4061
# /* config.h. Generated by config.status. */
4062
if test x"$ac_file" = x-; then
4065
configure_input="$ac_file. "
4067
configure_input=$configure_input"Generated from `echo $ac_file_in |
4068
sed 's,.*/,,'` by configure."
4070
# First look for the input files in the build tree, otherwise in the
4072
ac_file_inputs=`IFS=:
4073
for f in $ac_file_in; do
4075
-) echo $tmp/stdin ;;
4077
# Absolute (can't be DOS-style, as IFS=:)
4078
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4079
echo "$as_me: error: cannot find input file: $f" >&2;}
4080
{ (exit 1); exit 1; }; }
4083
if test -f "$f"; then
4086
elif test -f "$srcdir/$f"; then
4091
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4092
echo "$as_me: error: cannot find input file: $f" >&2;}
4093
{ (exit 1); exit 1; }; }
4096
done` || { (exit 1); exit 1; }
4098
if test x"$ac_file" != x-; then
4099
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4100
echo "$as_me: creating $ac_file" >&6;}
4604
4104
cat >>$CONFIG_STATUS <<_ACEOF