67
128
# Name of the executable.
68
as_me=`$as_basename "$0" ||
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
132
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
134
sed '/^.*\/\([^/][^/]*\)\/*$/{
152
if test "x$CONFIG_SHELL" = x; then
153
if (eval ":") 2>/dev/null; then
159
if test $as_have_required = yes && (eval ":
169
as_func_ret_success () {
172
as_func_ret_failure () {
177
if as_func_success; then
181
echo as_func_success failed.
184
if as_func_failure; then
186
echo as_func_failure succeeded.
189
if as_func_ret_success; then
193
echo as_func_ret_success failed.
196
if as_func_ret_failure; then
198
echo as_func_ret_failure succeeded.
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205
echo positional parameters were not saved.
208
test \$exitcode = 0) || { (exit 1); exit 1; }
213
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215
") 2> /dev/null; then
132
219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
223
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
226
for as_base in sh bash ksh sh5; do
227
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234
for as_shell in $as_candidate_shells $SHELL; do
235
# Try only shells which exist, to save several forks.
236
if test -f "$as_shell" &&
237
{ ("$as_shell") 2> /dev/null <<\_ASEOF
238
# Be Bourne compatible
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243
# is contrary to our usage. Disable this feature.
244
alias -g '${1+"$@"}'='"$@"'
247
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249
BIN_SH=xpg4; export BIN_SH # for Tru64
250
DUALCASE=1; export DUALCASE # for MKS sh
255
CONFIG_SHELL=$as_shell
257
if { "$as_shell" 2> /dev/null <<\_ASEOF
258
# Be Bourne compatible
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269
BIN_SH=xpg4; export BIN_SH # for Tru64
270
DUALCASE=1; export DUALCASE # for MKS sh
282
as_func_ret_success () {
285
as_func_ret_failure () {
290
if as_func_success; then
294
echo as_func_success failed.
297
if as_func_failure; then
299
echo as_func_failure succeeded.
302
if as_func_ret_success; then
306
echo as_func_ret_success failed.
309
if as_func_ret_failure; then
311
echo as_func_ret_failure succeeded.
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
318
echo positional parameters were not saved.
321
test $exitcode = 0) || { (exit 1); exit 1; }
326
test "x$as_lineno_1" != "x$as_lineno_2" &&
327
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338
if test "x$CONFIG_SHELL" != x; then
339
for as_var in BASH_ENV ENV
340
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347
if test $as_have_required = no; then
348
echo This script requires a shell more modern than all the
349
echo shells that I found on your system. Please install a
350
echo modern shell, or manually run the script under such a
351
echo shell if you do have one.
352
{ (exit 1); exit 1; }
362
(eval "as_func_return () {
371
as_func_ret_success () {
374
as_func_ret_failure () {
379
if as_func_success; then
383
echo as_func_success failed.
386
if as_func_failure; then
388
echo as_func_failure succeeded.
391
if as_func_ret_success; then
395
echo as_func_ret_success failed.
398
if as_func_ret_failure; then
400
echo as_func_ret_failure succeeded.
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407
echo positional parameters were not saved.
410
test \$exitcode = 0") || {
411
echo No shell found that supports shell functions.
412
echo Please tell autoconf@gnu.org about your system,
413
echo including any error possibly output before this
421
test "x$as_lineno_1" != "x$as_lineno_2" &&
422
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
424
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
426
# line-number line after each line using $LINENO; the second 'sed'
427
# does the real work. The second script uses 'N' to pair each
428
# line-number line with the line containing $LINENO, and appends
429
# trailing '-' during substitution so that $LINENO is not a special
164
431
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
432
# scripts with optimization help from Paolo Bonzini. Blame Lee
433
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
445
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
448
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
449
chmod +x "$as_me.lineno" ||
177
450
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
{ (exit 1); exit 1; }; }
180
453
# Don't try to exec as it changes $[0], causing all sort of problems
181
454
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
455
# original and so on. Autoconf is especially sensitive to this).
184
457
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468
ECHO_C= ECHO_N= ECHO_T=
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
480
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
486
rm -f conf$$ conf$$.exe conf$$.file
487
if test -d conf$$.dir; then
488
rm -f conf$$.dir/conf$$.file
203
493
echo >conf$$.file
204
494
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
496
# ... but there are two gotchas:
497
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499
# In both cases, we have to default to `cp -p'.
500
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508
rmdir conf$$.dir 2>/dev/null
220
510
if mkdir -p . 2>/dev/null; then
807
1239
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
811
1244
if test "$ac_init_help" = "recursive"; then
812
1245
# If there are subdirs, report their specific --help.
814
1246
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
815
test -d $ac_dir || continue
1247
test -d "$ac_dir" || continue
818
if test "$ac_dir" != .; then
1251
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
819
1253
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
820
# A "../" for each directory in $ac_dir_suffix.
821
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
823
ac_dir_suffix= ac_top_builddir=
1254
# A ".." for each directory in $ac_dir_suffix.
1255
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1256
case $ac_top_builddir_sub in
1257
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1258
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1261
ac_abs_top_builddir=$ac_pwd
1262
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1263
# for backward compatibility:
1264
ac_top_builddir=$ac_top_build_prefix
827
.) # No --srcdir option. We are building in place.
1267
.) # We are building in place.
829
if test -z "$ac_top_builddir"; then
832
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
834
[\\/]* | ?:[\\/]* ) # Absolute path.
1269
ac_top_srcdir=$ac_top_builddir_sub
1270
ac_abs_top_srcdir=$ac_pwd ;;
1271
[\\/]* | ?:[\\/]* ) # Absolute name.
835
1272
ac_srcdir=$srcdir$ac_dir_suffix;
836
ac_top_srcdir=$srcdir ;;
838
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
839
ac_top_srcdir=$ac_top_builddir$srcdir ;;
842
# Do not use `cd foo && pwd` to compute absolute paths, because
843
# the directories may not exist.
845
.) ac_abs_builddir="$ac_dir";;
848
.) ac_abs_builddir=`pwd`;;
849
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
850
*) ac_abs_builddir=`pwd`/"$ac_dir";;
853
case $ac_abs_builddir in
854
.) ac_abs_top_builddir=${ac_top_builddir}.;;
856
case ${ac_top_builddir}. in
857
.) ac_abs_top_builddir=$ac_abs_builddir;;
858
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
859
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
862
case $ac_abs_builddir in
863
.) ac_abs_srcdir=$ac_srcdir;;
866
.) ac_abs_srcdir=$ac_abs_builddir;;
867
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
868
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
871
case $ac_abs_builddir in
872
.) ac_abs_top_srcdir=$ac_top_srcdir;;
874
case $ac_top_srcdir in
875
.) ac_abs_top_srcdir=$ac_abs_builddir;;
876
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
877
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
882
# Check for guested configure; otherwise get Cygnus style configure.
883
if test -f $ac_srcdir/configure.gnu; then
885
$SHELL $ac_srcdir/configure.gnu --help=recursive
886
elif test -f $ac_srcdir/configure; then
888
$SHELL $ac_srcdir/configure --help=recursive
889
elif test -f $ac_srcdir/configure.ac ||
890
test -f $ac_srcdir/configure.in; then
1273
ac_top_srcdir=$srcdir
1274
ac_abs_top_srcdir=$srcdir ;;
1276
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1277
ac_top_srcdir=$ac_top_build_prefix$srcdir
1278
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1280
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1282
cd "$ac_dir" || { ac_status=$?; continue; }
1283
# Check for guested configure.
1284
if test -f "$ac_srcdir/configure.gnu"; then
1286
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1287
elif test -f "$ac_srcdir/configure"; then
1289
$SHELL "$ac_srcdir/configure" --help=recursive
894
1291
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1293
cd "$ac_pwd" || { ac_status=$?; break; }
900
test -n "$ac_init_help" && exit 0
1297
test -n "$ac_init_help" && exit $ac_status
901
1298
if $ac_init_version; then
903
1300
mkfontdir configure 1.0.1
904
generated by GNU Autoconf 2.59
1301
generated by GNU Autoconf 2.59e
906
Copyright (C) 2003 Free Software Foundation, Inc.
1303
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1304
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
907
1305
This configure script is free software; the Free Software Foundation
908
1306
gives unlimited permission to copy, distribute and modify it.
1310
cat >config.log <<_ACEOF
914
1311
This file contains any messages produced by compilers while
915
1312
running configure, to aid debugging if configure makes a mistake.
917
1314
It was created by mkfontdir $as_me 1.0.1, which was
918
generated by GNU Autoconf 2.59. Invocation command line was
1315
generated by GNU Autoconf 2.59e. Invocation command line was
1774
2215
IFS=$as_save_IFS
1775
2216
test -z "$as_dir" && as_dir=.
1776
2217
for ac_exec_ext in '' $ac_executable_extensions; do
1777
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2218
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1778
2219
ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
1779
2220
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788
2230
SED=$ac_cv_path_SED
1790
2231
if test -n "$SED"; then
1791
echo "$as_me:$LINENO: result: $SED" >&5
1792
echo "${ECHO_T}$SED" >&6
2232
{ echo "$as_me:$LINENO: result: $SED" >&5
2233
echo "${ECHO_T}$SED" >&6; }
1794
echo "$as_me:$LINENO: result: no" >&5
1795
echo "${ECHO_T}no" >&6
2235
{ echo "$as_me:$LINENO: result: no" >&5
2236
echo "${ECHO_T}no" >&6; }
1800
2242
# Make sure we can run config.sub.
1801
$ac_config_sub sun4 >/dev/null 2>&1 ||
1802
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1803
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2243
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2244
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2245
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1804
2246
{ (exit 1); exit 1; }; }
1806
echo "$as_me:$LINENO: checking build system type" >&5
1807
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2248
{ echo "$as_me:$LINENO: checking build system type" >&5
2249
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1808
2250
if test "${ac_cv_build+set}" = set; then
1809
2251
echo $ECHO_N "(cached) $ECHO_C" >&6
1811
ac_cv_build_alias=$build_alias
1812
test -z "$ac_cv_build_alias" &&
1813
ac_cv_build_alias=`$ac_config_guess`
1814
test -z "$ac_cv_build_alias" &&
2253
ac_build_alias=$build_alias
2254
test "x$ac_build_alias" = x &&
2255
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2256
test "x$ac_build_alias" = x &&
1815
2257
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1816
2258
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1817
2259
{ (exit 1); exit 1; }; }
1818
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1819
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1820
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2260
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2261
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2262
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1821
2263
{ (exit 1); exit 1; }; }
1824
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1825
echo "${ECHO_T}$ac_cv_build" >&6
2266
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2267
echo "${ECHO_T}$ac_cv_build" >&6; }
2268
case $ac_cv_build in
2270
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2271
echo "$as_me: error: invalid value of canonical build" >&2;}
2272
{ (exit 1); exit 1; }; };;
1826
2274
build=$ac_cv_build
1827
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1828
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1829
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1832
echo "$as_me:$LINENO: checking host system type" >&5
1833
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2275
ac_save_IFS=$IFS; IFS='-'
2281
# Remember, the first character of IFS is used to create $*,
2282
# except with old shells:
2285
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2288
{ echo "$as_me:$LINENO: checking host system type" >&5
2289
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1834
2290
if test "${ac_cv_host+set}" = set; then
1835
2291
echo $ECHO_N "(cached) $ECHO_C" >&6
1837
ac_cv_host_alias=$host_alias
1838
test -z "$ac_cv_host_alias" &&
1839
ac_cv_host_alias=$ac_cv_build_alias
1840
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1841
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1842
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2293
if test "x$host_alias" = x; then
2294
ac_cv_host=$ac_cv_build
2296
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2297
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2298
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1843
2299
{ (exit 1); exit 1; }; }
1846
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1847
echo "${ECHO_T}$ac_cv_host" >&6
2303
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2304
echo "${ECHO_T}$ac_cv_host" >&6; }
2307
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2308
echo "$as_me: error: invalid value of canonical host" >&2;}
2309
{ (exit 1); exit 1; }; };;
1848
2311
host=$ac_cv_host
1849
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1850
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1851
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2312
ac_save_IFS=$IFS; IFS='-'
2318
# Remember, the first character of IFS is used to create $*,
2319
# except with old shells:
2322
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2177
2713
# Name of the executable.
2178
as_me=`$as_basename "$0" ||
2714
as_me=`$as_basename -- "$0" ||
2179
2715
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2180
2716
X"$0" : 'X\(//\)$' \| \
2181
X"$0" : 'X\(/\)$' \| \
2182
. : '\(.\)' 2>/dev/null ||
2717
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2184
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2185
/^X\/\(\/\/\)$/{ s//\1/; q; }
2186
/^X\/\(\/\).*/{ s//\1/; q; }
2190
# PATH needs CR, and LINENO needs CR and PATH.
2191
# Avoid depending upon Character Ranges.
2192
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2193
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2194
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2195
as_cr_digits='0123456789'
2196
as_cr_alnum=$as_cr_Letters$as_cr_digits
2198
# The user is always right.
2199
if test "${PATH_SEPARATOR+set}" != set; then
2200
echo "#! /bin/sh" >conf$$.sh
2201
echo "exit 0" >>conf$$.sh
2203
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2214
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2215
test "x$as_lineno_1" != "x$as_lineno_2" &&
2216
test "x$as_lineno_3" = "x$as_lineno_2" || {
2217
# Find who we are. Look in the path if we contain no path at all
2220
*[\\/]* ) as_myself=$0 ;;
2221
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225
test -z "$as_dir" && as_dir=.
2226
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2231
# We did not find ourselves, most probably we were run as `sh COMMAND'
2232
# in which case we are not to be found in the path.
2233
if test "x$as_myself" = x; then
2236
if test ! -f "$as_myself"; then
2237
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2238
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2239
{ (exit 1); exit 1; }; }
2241
case $CONFIG_SHELL in
2243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2247
test -z "$as_dir" && as_dir=.
2248
for as_base in sh bash ksh sh5; do
2251
if ("$as_dir/$as_base" -c '
2254
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2255
test "x$as_lineno_1" != "x$as_lineno_2" &&
2256
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2257
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2258
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2259
CONFIG_SHELL=$as_dir/$as_base
2261
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2719
sed '/^.*\/\([^/][^/]*\)\/*$/{
2740
test "x$as_lineno_1" != "x$as_lineno_2" &&
2741
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2269
2743
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2270
2744
# uniformly replaced by the line number. The first 'sed' inserts a
2271
# line-number line before each line; the second 'sed' does the real
2272
# work. The second script uses 'N' to pair each line-number line
2273
# with the numbered line, and appends trailing '-' during
2274
# substitution so that $LINENO is not a special case at line end.
2745
# line-number line after each line using $LINENO; the second 'sed'
2746
# does the real work. The second script uses 'N' to pair each
2747
# line-number line with the line containing $LINENO, and appends
2748
# trailing '-' during substitution so that $LINENO is not a special
2275
2750
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2276
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2277
sed '=' <$as_myself |
2751
# scripts with optimization help from Paolo Bonzini. Blame Lee
2752
# E. McMahon (1931-1989) for sed's syntax. :-)
2282
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2764
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2285
s,^['$as_cr_digits']*\n,,
2286
2767
' >$as_me.lineno &&
2287
chmod +x $as_me.lineno ||
2288
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2289
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2768
chmod +x "$as_me.lineno" ||
2769
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2290
2770
{ (exit 1); exit 1; }; }
2292
2772
# Don't try to exec as it changes $[0], causing all sort of problems
2293
2773
# (the dirname of $[0] is not the place where we might find the
2294
# original and so on. Autoconf is especially sensible to this).
2774
# original and so on. Autoconf is especially sensitive to this).
2296
2776
# Exit status is that of the last command.
2301
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2302
*c*,-n*) ECHO_N= ECHO_C='
2304
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2305
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2781
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2787
ECHO_C= ECHO_N= ECHO_T=
2790
case `echo 'x\c'` in
2791
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
2308
if expr a : '\(a\)' >/dev/null 2>&1; then
2798
if expr a : '\(a\)' >/dev/null 2>&1 &&
2799
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2314
2805
rm -f conf$$ conf$$.exe conf$$.file
2806
if test -d conf$$.dir; then
2807
rm -f conf$$.dir/conf$$.file
2315
2812
echo >conf$$.file
2316
2813
if ln -s conf$$.file conf$$ 2>/dev/null; then
2317
# We could just check for DJGPP; but this test a) works b) is more generic
2318
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2319
if test -f conf$$.exe; then
2320
# Don't use ln at all; we don't have any links
2815
# ... but there are two gotchas:
2816
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2817
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2818
# In both cases, we have to default to `cp -p'.
2819
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2321
2820
as_ln_s='cp -p'
2325
2821
elif ln conf$$.file conf$$ 2>/dev/null; then
2328
2824
as_ln_s='cp -p'
2330
rm -f conf$$ conf$$.exe conf$$.file
2826
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2827
rmdir conf$$.dir 2>/dev/null
2332
2829
if mkdir -p . 2>/dev/null; then
2544
3022
# Have a temporary directory for convenience. Make it in the build tree
2545
# simply because there is no reason to put it here, and in addition,
3023
# simply because there is no reason against having it here, and in addition,
2546
3024
# creating and moving files from /tmp can sometimes cause problems.
2547
# Create a temporary directory, and hook for its removal unless debugging.
3025
# Hook for its removal unless debugging.
3026
# Note that there is a small window in which the directory will not be cleaned:
3027
# after its creation but before its name has been assigned to `$tmp'.
2550
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3031
trap 'exit_status=$?
3032
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2551
3034
trap '{ (exit 1); exit 1; }' 1 2 13 15
2554
3036
# Create a (secure) tmp directory for tmp files.
2557
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3039
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2558
3040
test -n "$tmp" && test -d "$tmp"
2561
tmp=./confstat$$-$RANDOM
2562
(umask 077 && mkdir $tmp)
3043
tmp=./conf$$-$RANDOM
3044
(umask 077 && mkdir "$tmp")
2565
3047
echo "$me: cannot create a temporary directory in ." >&2
2566
3048
{ (exit 1); exit 1; }
2571
cat >>$CONFIG_STATUS <<_ACEOF
2574
# CONFIG_FILES section.
3052
# Set up the sed scripts for CONFIG_FILES section.
2577
3055
# No need to generate the scripts if there are no CONFIG_FILES.
2578
3056
# This happens for instance when ./config.status config.h
2579
if test -n "\$CONFIG_FILES"; then
2580
# Protect against being on the right side of a sed subst in config.status.
2581
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2582
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2583
s,@SHELL@,$SHELL,;t t
2584
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2585
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2586
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2587
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2588
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2589
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2590
s,@exec_prefix@,$exec_prefix,;t t
2591
s,@prefix@,$prefix,;t t
2592
s,@program_transform_name@,$program_transform_name,;t t
2593
s,@bindir@,$bindir,;t t
2594
s,@sbindir@,$sbindir,;t t
2595
s,@libexecdir@,$libexecdir,;t t
2596
s,@datadir@,$datadir,;t t
2597
s,@sysconfdir@,$sysconfdir,;t t
2598
s,@sharedstatedir@,$sharedstatedir,;t t
2599
s,@localstatedir@,$localstatedir,;t t
2600
s,@libdir@,$libdir,;t t
2601
s,@includedir@,$includedir,;t t
2602
s,@oldincludedir@,$oldincludedir,;t t
2603
s,@infodir@,$infodir,;t t
2604
s,@mandir@,$mandir,;t t
2605
s,@build_alias@,$build_alias,;t t
2606
s,@host_alias@,$host_alias,;t t
2607
s,@target_alias@,$target_alias,;t t
2609
s,@ECHO_C@,$ECHO_C,;t t
2610
s,@ECHO_N@,$ECHO_N,;t t
2611
s,@ECHO_T@,$ECHO_T,;t t
2613
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2614
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2615
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2616
s,@CYGPATH_W@,$CYGPATH_W,;t t
2617
s,@PACKAGE@,$PACKAGE,;t t
2618
s,@VERSION@,$VERSION,;t t
2619
s,@ACLOCAL@,$ACLOCAL,;t t
2620
s,@AUTOCONF@,$AUTOCONF,;t t
2621
s,@AUTOMAKE@,$AUTOMAKE,;t t
2622
s,@AUTOHEADER@,$AUTOHEADER,;t t
2623
s,@MAKEINFO@,$MAKEINFO,;t t
2624
s,@AMTAR@,$AMTAR,;t t
2625
s,@install_sh@,$install_sh,;t t
2626
s,@STRIP@,$STRIP,;t t
2627
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2628
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2630
s,@SET_MAKE@,$SET_MAKE,;t t
2631
s,@am__leading_dot@,$am__leading_dot,;t t
2632
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2633
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2634
s,@MAINT@,$MAINT,;t t
2636
s,@build@,$build,;t t
2637
s,@build_cpu@,$build_cpu,;t t
2638
s,@build_vendor@,$build_vendor,;t t
2639
s,@build_os@,$build_os,;t t
2641
s,@host_cpu@,$host_cpu,;t t
2642
s,@host_vendor@,$host_vendor,;t t
2643
s,@host_os@,$host_os,;t t
2644
s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
2645
s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
2646
s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
2647
s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
2648
s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
2649
s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
2650
s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
2651
s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
2652
s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
2653
s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
2654
s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
2655
s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
2656
s,@LIBOBJS@,$LIBOBJS,;t t
2657
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2662
cat >>$CONFIG_STATUS <<\_ACEOF
2663
# Split the substitutions into bite-sized pieces for seds with
2664
# small command number limits, like on Digital OSF/1 and HP-UX.
2666
ac_sed_frag=1 # Number of current file.
2667
ac_beg=1 # First line for current file.
2668
ac_end=$ac_max_sed_lines # Line after last line for current file.
2671
while $ac_more_lines; do
2672
if test $ac_beg -gt 1; then
2673
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2675
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2677
if test ! -s $tmp/subs.frag; then
2680
# The purpose of the label and of the branching condition is to
2681
# speed up the sed processing (if there are no `@' at all, there
2682
# is no need to browse any of the substitutions).
2683
# These are the two extra sed commands mentioned above.
2685
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2686
if test -z "$ac_sed_cmds"; then
2687
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2689
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2691
ac_sed_frag=`expr $ac_sed_frag + 1`
2693
ac_end=`expr $ac_end + $ac_max_sed_lines`
2696
if test -z "$ac_sed_cmds"; then
3057
if test -n "$CONFIG_FILES"; then
3064
for ac_last_try in false false false false false :; do
3065
cat >conf$$subs.sed <<_ACEOF
3066
SHELL!$SHELL$ac_delim
3067
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3068
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3069
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3070
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3071
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3072
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3073
exec_prefix!$exec_prefix$ac_delim
3074
prefix!$prefix$ac_delim
3075
program_transform_name!$program_transform_name$ac_delim
3076
bindir!$bindir$ac_delim
3077
sbindir!$sbindir$ac_delim
3078
libexecdir!$libexecdir$ac_delim
3079
datarootdir!$datarootdir$ac_delim
3080
datadir!$datadir$ac_delim
3081
sysconfdir!$sysconfdir$ac_delim
3082
sharedstatedir!$sharedstatedir$ac_delim
3083
localstatedir!$localstatedir$ac_delim
3084
includedir!$includedir$ac_delim
3085
oldincludedir!$oldincludedir$ac_delim
3086
docdir!$docdir$ac_delim
3087
infodir!$infodir$ac_delim
3088
htmldir!$htmldir$ac_delim
3089
dvidir!$dvidir$ac_delim
3090
pdfdir!$pdfdir$ac_delim
3091
psdir!$psdir$ac_delim
3092
libdir!$libdir$ac_delim
3093
localedir!$localedir$ac_delim
3094
mandir!$mandir$ac_delim
3096
ECHO_C!$ECHO_C$ac_delim
3097
ECHO_N!$ECHO_N$ac_delim
3098
ECHO_T!$ECHO_T$ac_delim
3100
build_alias!$build_alias$ac_delim
3101
host_alias!$host_alias$ac_delim
3102
target_alias!$target_alias$ac_delim
3103
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3104
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3105
INSTALL_DATA!$INSTALL_DATA$ac_delim
3106
CYGPATH_W!$CYGPATH_W$ac_delim
3107
PACKAGE!$PACKAGE$ac_delim
3108
VERSION!$VERSION$ac_delim
3109
ACLOCAL!$ACLOCAL$ac_delim
3110
AUTOCONF!$AUTOCONF$ac_delim
3111
AUTOMAKE!$AUTOMAKE$ac_delim
3112
AUTOHEADER!$AUTOHEADER$ac_delim
3113
MAKEINFO!$MAKEINFO$ac_delim
3114
AMTAR!$AMTAR$ac_delim
3115
install_sh!$install_sh$ac_delim
3116
STRIP!$STRIP$ac_delim
3117
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3119
SET_MAKE!$SET_MAKE$ac_delim
3120
am__leading_dot!$am__leading_dot$ac_delim
3121
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
3122
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
3123
MAINT!$MAINT$ac_delim
3125
build!$build$ac_delim
3126
build_cpu!$build_cpu$ac_delim
3127
build_vendor!$build_vendor$ac_delim
3128
build_os!$build_os$ac_delim
3130
host_cpu!$host_cpu$ac_delim
3131
host_vendor!$host_vendor$ac_delim
3132
host_os!$host_os$ac_delim
3133
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
3134
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
3135
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
3136
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
3137
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
3138
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
3139
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
3140
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
3141
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
3142
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
3143
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
3144
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
3145
LIBOBJS!$LIBOBJS$ac_delim
3146
LTLIBOBJS!$LTLIBOBJS$ac_delim
3149
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
3151
elif $ac_last_try; then
3152
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3153
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3154
{ (exit 1); exit 1; }; }
3156
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3160
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3161
if test -n "$ac_eof"; then
3162
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3163
ac_eof=`expr $ac_eof + 1`
3166
cat >>$CONFIG_STATUS <<_ACEOF
3167
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3168
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3171
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3172
s/^/s,@/; s/!/@,|#_!!_#|/
3175
s/'"$ac_delim"'$/,g/; t
3177
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3178
' >>$CONFIG_STATUS <conf$$subs.sed
3179
rm -f conf$$subs.sed
3180
cat >>$CONFIG_STATUS <<_ACEOF
3187
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3188
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3189
# trailing colons and then remove the whole line if VPATH becomes empty
3190
# (actually we leave an empty line to preserve line numbers).
3191
if test "x$srcdir" = x.; then
3192
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3196
s/^\([^=]*=[ ]*\):*/\1/
3202
cat >>$CONFIG_STATUS <<\_ACEOF
2699
3203
fi # test -n "$CONFIG_FILES"
2702
cat >>$CONFIG_STATUS <<\_ACEOF
2703
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2704
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2706
- | *:- | *:-:* ) # input from stdin
2708
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2709
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2710
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2711
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2712
* ) ac_file_in=$ac_file.in ;;
2715
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2716
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3206
for ac_tag in :F $CONFIG_FILES
3209
:[FHLC]) ac_mode=$ac_tag; continue;;
3211
case $ac_mode$ac_tag in
3213
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3214
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3215
{ (exit 1); exit 1; }; };;
3216
:[FH]-) ac_tag=-:-;;
3217
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3234
-) ac_f="$tmp/stdin";;
3235
*) # Look for the file first in the build tree, then in the source tree
3236
# (if the path is not absolute). The absolute path cannot be DOS-style,
3237
# because $ac_f cannot contain `:'.
3241
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3243
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3244
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3245
{ (exit 1); exit 1; }; };;
3247
ac_file_inputs="$ac_file_inputs $ac_f"
3250
# Let's still pretend it is `configure' which instantiates (i.e., don't
3251
# use $as_me), people would be surprised to read:
3252
# /* config.h. Generated by config.status. */
3253
configure_input="Generated from "`IFS=:
3254
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3255
if test x"$ac_file" != x-; then
3256
configure_input="$ac_file. $configure_input"
3257
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3258
echo "$as_me: creating $ac_file" >&6;}
3262
*:-:* | *:-) cat >"$tmp/stdin";;
3267
ac_dir=`$as_dirname -- "$ac_file" ||
2717
3268
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2718
3269
X"$ac_file" : 'X\(//\)[^/]' \| \
2719
3270
X"$ac_file" : 'X\(//\)$' \| \
2720
X"$ac_file" : 'X\(/\)' \| \
2721
. : '\(.\)' 2>/dev/null ||
3271
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2722
3272
echo X"$ac_file" |
2723
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2724
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2725
/^X\(\/\/\)$/{ s//\1/; q; }
2726
/^X\(\/\).*/{ s//\1/; q; }
2728
{ if $as_mkdir_p; then
3273
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3292
-*) as_dir=./$as_dir;;
3294
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2733
while test ! -d "$as_dir"; do
2734
as_dirs="$as_dir $as_dirs"
2735
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3298
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3299
*) as_qdir=$as_dir;;
3301
as_dirs="'$as_qdir' $as_dirs"
3302
as_dir=`$as_dirname -- "$as_dir" ||
2736
3303
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2737
3304
X"$as_dir" : 'X\(//\)[^/]' \| \
2738
3305
X"$as_dir" : 'X\(//\)$' \| \
2739
X"$as_dir" : 'X\(/\)' \| \
2740
. : '\(.\)' 2>/dev/null ||
3306
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2741
3307
echo X"$as_dir" |
2742
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2743
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2744
/^X\(\/\/\)$/{ s//\1/; q; }
2745
/^X\(\/\).*/{ s//\1/; q; }
3308
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3325
test -d "$as_dir" && break
2748
test ! -n "$as_dirs" || mkdir $as_dirs
2749
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2750
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3327
test -z "$as_dirs" || eval "mkdir $as_dirs"
3328
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3329
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2751
3330
{ (exit 1); exit 1; }; }; }
2755
if test "$ac_dir" != .; then
3334
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2756
3336
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2757
# A "../" for each directory in $ac_dir_suffix.
2758
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2760
ac_dir_suffix= ac_top_builddir=
3337
# A ".." for each directory in $ac_dir_suffix.
3338
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3339
case $ac_top_builddir_sub in
3340
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3341
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3344
ac_abs_top_builddir=$ac_pwd
3345
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3346
# for backward compatibility:
3347
ac_top_builddir=$ac_top_build_prefix
2763
3349
case $srcdir in
2764
.) # No --srcdir option. We are building in place.
3350
.) # We are building in place.
2766
if test -z "$ac_top_builddir"; then
2769
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2771
[\\/]* | ?:[\\/]* ) # Absolute path.
3352
ac_top_srcdir=$ac_top_builddir_sub
3353
ac_abs_top_srcdir=$ac_pwd ;;
3354
[\\/]* | ?:[\\/]* ) # Absolute name.
2772
3355
ac_srcdir=$srcdir$ac_dir_suffix;
2773
ac_top_srcdir=$srcdir ;;
2775
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2776
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2779
# Do not use `cd foo && pwd` to compute absolute paths, because
2780
# the directories may not exist.
2782
.) ac_abs_builddir="$ac_dir";;
2785
.) ac_abs_builddir=`pwd`;;
2786
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2787
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2790
case $ac_abs_builddir in
2791
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2793
case ${ac_top_builddir}. in
2794
.) ac_abs_top_builddir=$ac_abs_builddir;;
2795
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2796
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2799
case $ac_abs_builddir in
2800
.) ac_abs_srcdir=$ac_srcdir;;
2803
.) ac_abs_srcdir=$ac_abs_builddir;;
2804
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2805
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2808
case $ac_abs_builddir in
2809
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2811
case $ac_top_srcdir in
2812
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2813
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2814
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3356
ac_top_srcdir=$srcdir
3357
ac_abs_top_srcdir=$srcdir ;;
3359
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3360
ac_top_srcdir=$ac_top_build_prefix$srcdir
3361
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3363
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2819
3372
case $INSTALL in
2820
3373
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2821
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3374
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2824
if test x"$ac_file" != x-; then
2825
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2826
echo "$as_me: creating $ac_file" >&6;}
2829
# Let's still pretend it is `configure' which instantiates (i.e., don't
2830
# use $as_me), people would be surprised to read:
2831
# /* config.h. Generated by config.status. */
2832
if test x"$ac_file" = x-; then
2835
configure_input="$ac_file. "
2837
configure_input=$configure_input"Generated from `echo $ac_file_in |
2838
sed 's,.*/,,'` by configure."
2840
# First look for the input files in the build tree, otherwise in the
2842
ac_file_inputs=`IFS=:
2843
for f in $ac_file_in; do
2845
-) echo $tmp/stdin ;;
2847
# Absolute (can't be DOS-style, as IFS=:)
2848
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2849
echo "$as_me: error: cannot find input file: $f" >&2;}
2850
{ (exit 1); exit 1; }; }
2853
if test -f "$f"; then
2856
elif test -f "$srcdir/$f"; then
2861
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2862
echo "$as_me: error: cannot find input file: $f" >&2;}
2863
{ (exit 1); exit 1; }; }
2866
done` || { (exit 1); exit 1; }
3378
cat >>$CONFIG_STATUS <<\_ACEOF
3379
# If the template does not know about datarootdir, expand it.
3380
# FIXME: This hack should be removed a few years after 2.60.
3381
ac_datarootdir_hack=; ac_datarootdir_seen=
3383
case `sed -n '/datarootdir/ {
3392
' $ac_file_inputs` in
3393
*datarootdir*) ac_datarootdir_seen=yes;;
3394
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3395
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3396
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3398
cat >>$CONFIG_STATUS <<_ACEOF
3399
ac_datarootdir_hack='
3400
s&@datadir@&$datadir&g
3401
s&@docdir@&$docdir&g
3402
s&@infodir@&$infodir&g
3403
s&@localedir@&$localedir&g
3404
s&@mandir@&$mandir&g
3405
s&\\\${datarootdir}&$datarootdir&g' ;;
3409
# Neutralize VPATH when `$srcdir' = `.'.
3410
# Shell code in configure.ac might set extrasub.
3411
# FIXME: do we really want to maintain this feature?
2868
3412
cat >>$CONFIG_STATUS <<_ACEOF