65
126
# Name of the executable.
66
as_me=`$as_basename "$0" ||
127
as_me=`$as_basename -- "$0" ||
67
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
129
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
130
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
132
sed '/^.*\/\([^/][^/]*\)\/*$/{
150
if test "x$CONFIG_SHELL" = x; then
151
if (eval ":") 2>/dev/null; then
157
if test $as_have_required = yes && (eval ":
167
as_func_ret_success () {
170
as_func_ret_failure () {
175
if as_func_success; then
179
echo as_func_success failed.
182
if as_func_failure; then
184
echo as_func_failure succeeded.
187
if as_func_ret_success; then
191
echo as_func_ret_success failed.
194
if as_func_ret_failure; then
196
echo as_func_ret_failure succeeded.
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203
echo positional parameters were not saved.
206
test \$exitcode = 0) || { (exit 1); exit 1; }
211
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213
") 2> /dev/null; then
130
217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
224
for as_base in sh bash ksh sh5; do
225
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
for as_shell in $as_candidate_shells $SHELL; do
233
# Try only shells that exist, to save several forks.
234
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
{ ("$as_shell") 2> /dev/null <<\_ASEOF
236
# Be Bourne compatible
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241
# is contrary to our usage. Disable this feature.
242
alias -g '${1+"$@"}'='"$@"'
245
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247
BIN_SH=xpg4; export BIN_SH # for Tru64
248
DUALCASE=1; export DUALCASE # for MKS sh
253
CONFIG_SHELL=$as_shell
255
if { "$as_shell" 2> /dev/null <<\_ASEOF
256
# Be Bourne compatible
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261
# is contrary to our usage. Disable this feature.
262
alias -g '${1+"$@"}'='"$@"'
265
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267
BIN_SH=xpg4; export BIN_SH # for Tru64
268
DUALCASE=1; export DUALCASE # for MKS sh
280
as_func_ret_success () {
283
as_func_ret_failure () {
288
if as_func_success; then
292
echo as_func_success failed.
295
if as_func_failure; then
297
echo as_func_failure succeeded.
300
if as_func_ret_success; then
304
echo as_func_ret_success failed.
307
if as_func_ret_failure; then
309
echo as_func_ret_failure succeeded.
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
316
echo positional parameters were not saved.
319
test $exitcode = 0) || { (exit 1); exit 1; }
324
test "x$as_lineno_1" != "x$as_lineno_2" &&
325
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336
if test "x$CONFIG_SHELL" != x; then
337
for as_var in BASH_ENV ENV
338
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345
if test $as_have_required = no; then
346
echo This script requires a shell more modern than all the
347
echo shells that I found on your system. Please install a
348
echo modern shell, or manually run the script under such a
349
echo shell if you do have one.
350
{ (exit 1); exit 1; }
360
(eval "as_func_return () {
369
as_func_ret_success () {
372
as_func_ret_failure () {
377
if as_func_success; then
381
echo as_func_success failed.
384
if as_func_failure; then
386
echo as_func_failure succeeded.
389
if as_func_ret_success; then
393
echo as_func_ret_success failed.
396
if as_func_ret_failure; then
398
echo as_func_ret_failure succeeded.
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405
echo positional parameters were not saved.
408
test \$exitcode = 0") || {
409
echo No shell found that supports shell functions.
410
echo Please tell autoconf@gnu.org about your system,
411
echo including any error possibly output before this
419
test "x$as_lineno_1" != "x$as_lineno_2" &&
420
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
422
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
423
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
424
# line-number line after each line using $LINENO; the second 'sed'
425
# does the real work. The second script uses 'N' to pair each
426
# line-number line with the line containing $LINENO, and appends
427
# trailing '-' during substitution so that $LINENO is not a special
162
429
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
430
# scripts with optimization help from Paolo Bonzini. Blame Lee
431
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
443
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
446
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
447
chmod +x "$as_me.lineno" ||
175
448
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
449
{ (exit 1); exit 1; }; }
178
451
# Don't try to exec as it changes $[0], causing all sort of problems
179
452
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
453
# original and so on. Autoconf is especially sensitive to this).
182
455
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
460
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466
ECHO_C= ECHO_N= ECHO_T=
470
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
201
491
echo >conf$$.file
202
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
500
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
218
508
if mkdir -p . 2>/dev/null; then
784
1190
Optional Packages:
785
1191
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
786
1192
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
787
--with-pike=binary Use the specified Pike.
788
--with-config=config-dir
789
Use the specified config dir. The default is to
790
append /lib/steam/config to the prefix.
791
--with-realdir=realdir Use the specified real dir.
792
--with-installdir=installdir
1193
--with-pike=binary Use the specified Pike.
1194
--with-brand[=brand_name]
1195
Specify the name to use for the steam folders and
1196
database. Only alphanumeric characters are allowed,
1197
and the name must start with a letter, not a number.
1198
Also, don't use a name that you already use as a
1199
database name. This will be used as the folder name
1200
for configs, logs and server and as the database
1201
name, unless overridden. Default: steam
1202
--with-installdir[=installdir]
793
1203
Use the specified install dir. This will be
794
1204
prepended to the prefix variable. Default is: /.
1205
--with-configdir[=config-dir]
1206
Use the specified dir for config files. Default:
1208
--with-logdir[=logdir] Use the specified dir for log files. Default:
1210
--with-steamdir[=steam-dir]
1211
Use the specified dir for the steam server files.
1212
Default: /usr/local/lib/steam (or /usr/lib/steam,
1213
depending on your prefix).
1214
--with-javahome[=java_install_dir]
1215
Specify the directory where java is installed (e.g.
1216
/usr/java/j2sdk_1.4.0). Default is: \$JAVA_HOME.
799
1222
if test "$ac_init_help" = "recursive"; then
800
1223
# If there are subdirs, report their specific --help.
802
1224
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
803
test -d $ac_dir || continue
1225
test -d "$ac_dir" || continue
806
if test "$ac_dir" != .; then
1229
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
807
1231
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
808
# A "../" for each directory in $ac_dir_suffix.
809
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
811
ac_dir_suffix= ac_top_builddir=
1232
# A ".." for each directory in $ac_dir_suffix.
1233
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1234
case $ac_top_builddir_sub in
1235
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1236
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1239
ac_abs_top_builddir=$ac_pwd
1240
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1241
# for backward compatibility:
1242
ac_top_builddir=$ac_top_build_prefix
815
.) # No --srcdir option. We are building in place.
1245
.) # We are building in place.
817
if test -z "$ac_top_builddir"; then
820
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
822
[\\/]* | ?:[\\/]* ) # Absolute path.
1247
ac_top_srcdir=$ac_top_builddir_sub
1248
ac_abs_top_srcdir=$ac_pwd ;;
1249
[\\/]* | ?:[\\/]* ) # Absolute name.
823
1250
ac_srcdir=$srcdir$ac_dir_suffix;
824
ac_top_srcdir=$srcdir ;;
826
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
827
ac_top_srcdir=$ac_top_builddir$srcdir ;;
830
# Do not use `cd foo && pwd` to compute absolute paths, because
831
# the directories may not exist.
833
.) ac_abs_builddir="$ac_dir";;
836
.) ac_abs_builddir=`pwd`;;
837
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
838
*) ac_abs_builddir=`pwd`/"$ac_dir";;
841
case $ac_abs_builddir in
842
.) ac_abs_top_builddir=${ac_top_builddir}.;;
844
case ${ac_top_builddir}. in
845
.) ac_abs_top_builddir=$ac_abs_builddir;;
846
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
847
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
850
case $ac_abs_builddir in
851
.) ac_abs_srcdir=$ac_srcdir;;
854
.) ac_abs_srcdir=$ac_abs_builddir;;
855
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
856
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
859
case $ac_abs_builddir in
860
.) ac_abs_top_srcdir=$ac_top_srcdir;;
862
case $ac_top_srcdir in
863
.) ac_abs_top_srcdir=$ac_abs_builddir;;
864
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
865
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
870
# Check for guested configure; otherwise get Cygnus style configure.
871
if test -f $ac_srcdir/configure.gnu; then
873
$SHELL $ac_srcdir/configure.gnu --help=recursive
874
elif test -f $ac_srcdir/configure; then
876
$SHELL $ac_srcdir/configure --help=recursive
877
elif test -f $ac_srcdir/configure.ac ||
878
test -f $ac_srcdir/configure.in; then
1251
ac_top_srcdir=$srcdir
1252
ac_abs_top_srcdir=$srcdir ;;
1254
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1255
ac_top_srcdir=$ac_top_build_prefix$srcdir
1256
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1258
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1260
cd "$ac_dir" || { ac_status=$?; continue; }
1261
# Check for guested configure.
1262
if test -f "$ac_srcdir/configure.gnu"; then
1264
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1265
elif test -f "$ac_srcdir/configure"; then
1267
$SHELL "$ac_srcdir/configure" --help=recursive
882
1269
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1271
cd "$ac_pwd" || { ac_status=$?; break; }
888
test -n "$ac_init_help" && exit 0
1275
test -n "$ac_init_help" && exit $ac_status
889
1276
if $ac_init_version; then
1279
generated by GNU Autoconf 2.60a
892
Copyright (C) 2003 Free Software Foundation, Inc.
1281
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1282
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
893
1283
This configure script is free software; the Free Software Foundation
894
1284
gives unlimited permission to copy, distribute and modify it.
1288
cat >config.log <<_ACEOF
900
1289
This file contains any messages produced by compilers while
901
1290
running configure, to aid debugging if configure makes a mistake.
903
1292
It was created by $as_me, which was
904
generated by GNU Autoconf 2.59. Invocation command line was
1293
generated by GNU Autoconf 2.60a. Invocation command line was
1708
2232
# Name of the executable.
1709
as_me=`$as_basename "$0" ||
2233
as_me=`$as_basename -- "$0" ||
1710
2234
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1711
2235
X"$0" : 'X\(//\)$' \| \
1712
X"$0" : 'X\(/\)$' \| \
1713
. : '\(.\)' 2>/dev/null ||
2236
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1715
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1716
/^X\/\(\/\/\)$/{ s//\1/; q; }
1717
/^X\/\(\/\).*/{ s//\1/; q; }
1721
# PATH needs CR, and LINENO needs CR and PATH.
1722
# Avoid depending upon Character Ranges.
1723
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1724
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1725
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1726
as_cr_digits='0123456789'
1727
as_cr_alnum=$as_cr_Letters$as_cr_digits
1729
# The user is always right.
1730
if test "${PATH_SEPARATOR+set}" != set; then
1731
echo "#! /bin/sh" >conf$$.sh
1732
echo "exit 0" >>conf$$.sh
1734
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1745
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1746
test "x$as_lineno_1" != "x$as_lineno_2" &&
1747
test "x$as_lineno_3" = "x$as_lineno_2" || {
1748
# Find who we are. Look in the path if we contain no path at all
1751
*[\\/]* ) as_myself=$0 ;;
1752
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756
test -z "$as_dir" && as_dir=.
1757
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1762
# We did not find ourselves, most probably we were run as `sh COMMAND'
1763
# in which case we are not to be found in the path.
1764
if test "x$as_myself" = x; then
1767
if test ! -f "$as_myself"; then
1768
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1769
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1770
{ (exit 1); exit 1; }; }
1772
case $CONFIG_SHELL in
1774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1778
test -z "$as_dir" && as_dir=.
1779
for as_base in sh bash ksh sh5; do
1782
if ("$as_dir/$as_base" -c '
1785
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1786
test "x$as_lineno_1" != "x$as_lineno_2" &&
1787
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1788
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1789
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1790
CONFIG_SHELL=$as_dir/$as_base
1792
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2238
sed '/^.*\/\([^/][^/]*\)\/*$/{
2259
test "x$as_lineno_1" != "x$as_lineno_2" &&
2260
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1800
2262
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1801
2263
# uniformly replaced by the line number. The first 'sed' inserts a
1802
# line-number line before each line; the second 'sed' does the real
1803
# work. The second script uses 'N' to pair each line-number line
1804
# with the numbered line, and appends trailing '-' during
1805
# substitution so that $LINENO is not a special case at line end.
2264
# line-number line after each line using $LINENO; the second 'sed'
2265
# does the real work. The second script uses 'N' to pair each
2266
# line-number line with the line containing $LINENO, and appends
2267
# trailing '-' during substitution so that $LINENO is not a special
1806
2269
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1807
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1808
sed '=' <$as_myself |
2270
# scripts with optimization help from Paolo Bonzini. Blame Lee
2271
# E. McMahon (1931-1989) for sed's syntax. :-)
1813
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2283
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1816
s,^['$as_cr_digits']*\n,,
1817
2286
' >$as_me.lineno &&
1818
chmod +x $as_me.lineno ||
1819
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1820
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2287
chmod +x "$as_me.lineno" ||
2288
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1821
2289
{ (exit 1); exit 1; }; }
1823
2291
# Don't try to exec as it changes $[0], causing all sort of problems
1824
2292
# (the dirname of $[0] is not the place where we might find the
1825
# original and so on. Autoconf is especially sensible to this).
2293
# original and so on. Autoconf is especially sensitive to this).
1827
2295
# Exit status is that of the last command.
1832
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1833
*c*,-n*) ECHO_N= ECHO_C='
1835
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1836
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2300
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2306
ECHO_C= ECHO_N= ECHO_T=
2309
case `echo 'x\c'` in
2310
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
1839
if expr a : '\(a\)' >/dev/null 2>&1; then
2317
if expr a : '\(a\)' >/dev/null 2>&1 &&
2318
test "X`expr 00001 : '.*\(...\)'`" = X001; then
1845
2324
rm -f conf$$ conf$$.exe conf$$.file
2325
if test -d conf$$.dir; then
2326
rm -f conf$$.dir/conf$$.file
1846
2331
echo >conf$$.file
1847
2332
if ln -s conf$$.file conf$$ 2>/dev/null; then
1848
# We could just check for DJGPP; but this test a) works b) is more generic
1849
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1850
if test -f conf$$.exe; then
1851
# Don't use ln at all; we don't have any links
2334
# ... but there are two gotchas:
2335
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2336
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2337
# In both cases, we have to default to `cp -p'.
2338
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1852
2339
as_ln_s='cp -p'
1856
2340
elif ln conf$$.file conf$$ 2>/dev/null; then
1859
2343
as_ln_s='cp -p'
1861
rm -f conf$$ conf$$.exe conf$$.file
2345
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2346
rmdir conf$$.dir 2>/dev/null
1863
2348
if mkdir -p . 2>/dev/null; then
2082
2552
# Have a temporary directory for convenience. Make it in the build tree
2083
# simply because there is no reason to put it here, and in addition,
2553
# simply because there is no reason against having it here, and in addition,
2084
2554
# creating and moving files from /tmp can sometimes cause problems.
2085
# Create a temporary directory, and hook for its removal unless debugging.
2555
# Hook for its removal unless debugging.
2556
# Note that there is a small window in which the directory will not be cleaned:
2557
# after its creation but before its name has been assigned to `$tmp'.
2088
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2561
trap 'exit_status=$?
2562
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2089
2564
trap '{ (exit 1); exit 1; }' 1 2 13 15
2092
2566
# Create a (secure) tmp directory for tmp files.
2095
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2569
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2096
2570
test -n "$tmp" && test -d "$tmp"
2099
tmp=./confstat$$-$RANDOM
2100
(umask 077 && mkdir $tmp)
2573
tmp=./conf$$-$RANDOM
2574
(umask 077 && mkdir "$tmp")
2103
2577
echo "$me: cannot create a temporary directory in ." >&2
2104
2578
{ (exit 1); exit 1; }
2109
cat >>$CONFIG_STATUS <<_ACEOF
2112
# CONFIG_FILES section.
2582
# Set up the sed scripts for CONFIG_FILES section.
2115
2585
# No need to generate the scripts if there are no CONFIG_FILES.
2116
2586
# This happens for instance when ./config.status config.h
2117
if test -n "\$CONFIG_FILES"; then
2118
# Protect against being on the right side of a sed subst in config.status.
2119
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2120
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2121
s,@SHELL@,$SHELL,;t t
2122
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2123
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2124
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2125
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2126
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2127
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2128
s,@exec_prefix@,$exec_prefix,;t t
2129
s,@prefix@,$prefix,;t t
2130
s,@program_transform_name@,$program_transform_name,;t t
2131
s,@bindir@,$bindir,;t t
2132
s,@sbindir@,$sbindir,;t t
2133
s,@libexecdir@,$libexecdir,;t t
2134
s,@datadir@,$datadir,;t t
2135
s,@sysconfdir@,$sysconfdir,;t t
2136
s,@sharedstatedir@,$sharedstatedir,;t t
2137
s,@localstatedir@,$localstatedir,;t t
2138
s,@libdir@,$libdir,;t t
2139
s,@includedir@,$includedir,;t t
2140
s,@oldincludedir@,$oldincludedir,;t t
2141
s,@infodir@,$infodir,;t t
2142
s,@mandir@,$mandir,;t t
2143
s,@build_alias@,$build_alias,;t t
2144
s,@host_alias@,$host_alias,;t t
2145
s,@target_alias@,$target_alias,;t t
2147
s,@ECHO_C@,$ECHO_C,;t t
2148
s,@ECHO_N@,$ECHO_N,;t t
2149
s,@ECHO_T@,$ECHO_T,;t t
2152
s,@SET_MAKE@,$SET_MAKE,;t t
2153
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2154
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2155
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2156
s,@PIKE_INCLUDE_DIRS@,$PIKE_INCLUDE_DIRS,;t t
2158
s,@PIKE_VERSION@,$PIKE_VERSION,;t t
2159
s,@PIKE_VERSION_STR@,$PIKE_VERSION_STR,;t t
2160
s,@PIKE_FULL_VERSION@,$PIKE_FULL_VERSION,;t t
2161
s,@configs@,$configs,;t t
2162
s,@realdir@,$realdir,;t t
2163
s,@installdir@,$installdir,;t t
2164
s,@subdirs@,$subdirs,;t t
2165
s,@LIBOBJS@,$LIBOBJS,;t t
2166
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2171
cat >>$CONFIG_STATUS <<\_ACEOF
2172
# Split the substitutions into bite-sized pieces for seds with
2173
# small command number limits, like on Digital OSF/1 and HP-UX.
2175
ac_sed_frag=1 # Number of current file.
2176
ac_beg=1 # First line for current file.
2177
ac_end=$ac_max_sed_lines # Line after last line for current file.
2180
while $ac_more_lines; do
2181
if test $ac_beg -gt 1; then
2182
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2184
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2186
if test ! -s $tmp/subs.frag; then
2189
# The purpose of the label and of the branching condition is to
2190
# speed up the sed processing (if there are no `@' at all, there
2191
# is no need to browse any of the substitutions).
2192
# These are the two extra sed commands mentioned above.
2194
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2195
if test -z "$ac_sed_cmds"; then
2196
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2198
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2200
ac_sed_frag=`expr $ac_sed_frag + 1`
2202
ac_end=`expr $ac_end + $ac_max_sed_lines`
2205
if test -z "$ac_sed_cmds"; then
2587
if test -n "$CONFIG_FILES"; then
2594
for ac_last_try in false false false false false :; do
2595
cat >conf$$subs.sed <<_ACEOF
2596
SHELL!$SHELL$ac_delim
2597
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2598
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2599
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2600
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2601
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2602
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2603
exec_prefix!$exec_prefix$ac_delim
2604
prefix!$prefix$ac_delim
2605
program_transform_name!$program_transform_name$ac_delim
2606
bindir!$bindir$ac_delim
2607
sbindir!$sbindir$ac_delim
2608
libexecdir!$libexecdir$ac_delim
2609
datarootdir!$datarootdir$ac_delim
2610
datadir!$datadir$ac_delim
2611
sysconfdir!$sysconfdir$ac_delim
2612
sharedstatedir!$sharedstatedir$ac_delim
2613
localstatedir!$localstatedir$ac_delim
2614
includedir!$includedir$ac_delim
2615
oldincludedir!$oldincludedir$ac_delim
2616
docdir!$docdir$ac_delim
2617
infodir!$infodir$ac_delim
2618
htmldir!$htmldir$ac_delim
2619
dvidir!$dvidir$ac_delim
2620
pdfdir!$pdfdir$ac_delim
2621
psdir!$psdir$ac_delim
2622
libdir!$libdir$ac_delim
2623
localedir!$localedir$ac_delim
2624
mandir!$mandir$ac_delim
2626
ECHO_C!$ECHO_C$ac_delim
2627
ECHO_N!$ECHO_N$ac_delim
2628
ECHO_T!$ECHO_T$ac_delim
2630
build_alias!$build_alias$ac_delim
2631
host_alias!$host_alias$ac_delim
2632
target_alias!$target_alias$ac_delim
2634
SET_MAKE!$SET_MAKE$ac_delim
2635
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2636
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2637
INSTALL_DATA!$INSTALL_DATA$ac_delim
2638
PIKE_INCLUDE_DIRS!$PIKE_INCLUDE_DIRS$ac_delim
2640
PIKE_VERSION!$PIKE_VERSION$ac_delim
2641
PIKE_VERSION_STR!$PIKE_VERSION_STR$ac_delim
2642
PIKE_FULL_VERSION!$PIKE_FULL_VERSION$ac_delim
2643
brand!$brand$ac_delim
2644
installdir!$installdir$ac_delim
2645
configdir!$configdir$ac_delim
2646
logdir!$logdir$ac_delim
2647
steamdir!$steamdir$ac_delim
2648
javahome!$javahome$ac_delim
2649
subdirs!$subdirs$ac_delim
2650
LIBOBJS!$LIBOBJS$ac_delim
2651
LTLIBOBJS!$LTLIBOBJS$ac_delim
2654
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
2656
elif $ac_last_try; then
2657
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2658
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2659
{ (exit 1); exit 1; }; }
2661
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2665
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2666
if test -n "$ac_eof"; then
2667
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2668
ac_eof=`expr $ac_eof + 1`
2671
cat >>$CONFIG_STATUS <<_ACEOF
2672
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2673
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2676
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2677
s/^/s,@/; s/!/@,|#_!!_#|/
2680
s/'"$ac_delim"'$/,g/; t
2682
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2683
' >>$CONFIG_STATUS <conf$$subs.sed
2684
rm -f conf$$subs.sed
2685
cat >>$CONFIG_STATUS <<_ACEOF
2692
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2693
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2694
# trailing colons and then remove the whole line if VPATH becomes empty
2695
# (actually we leave an empty line to preserve line numbers).
2696
if test "x$srcdir" = x.; then
2697
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2701
s/^\([^=]*=[ ]*\):*/\1/
2707
cat >>$CONFIG_STATUS <<\_ACEOF
2208
2708
fi # test -n "$CONFIG_FILES"
2211
cat >>$CONFIG_STATUS <<\_ACEOF
2212
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2213
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2215
- | *:- | *:-:* ) # input from stdin
2217
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2218
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2219
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2220
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2221
* ) ac_file_in=$ac_file.in ;;
2224
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2225
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2711
for ac_tag in :F $CONFIG_FILES
2714
:[FHLC]) ac_mode=$ac_tag; continue;;
2716
case $ac_mode$ac_tag in
2718
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2719
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2720
{ (exit 1); exit 1; }; };;
2721
:[FH]-) ac_tag=-:-;;
2722
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2739
-) ac_f="$tmp/stdin";;
2740
*) # Look for the file first in the build tree, then in the source tree
2741
# (if the path is not absolute). The absolute path cannot be DOS-style,
2742
# because $ac_f cannot contain `:'.
2746
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2748
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2749
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2750
{ (exit 1); exit 1; }; };;
2752
ac_file_inputs="$ac_file_inputs $ac_f"
2755
# Let's still pretend it is `configure' which instantiates (i.e., don't
2756
# use $as_me), people would be surprised to read:
2757
# /* config.h. Generated by config.status. */
2758
configure_input="Generated from "`IFS=:
2759
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2760
if test x"$ac_file" != x-; then
2761
configure_input="$ac_file. $configure_input"
2762
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2763
echo "$as_me: creating $ac_file" >&6;}
2767
*:-:* | *:-) cat >"$tmp/stdin";;
2772
ac_dir=`$as_dirname -- "$ac_file" ||
2226
2773
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2227
2774
X"$ac_file" : 'X\(//\)[^/]' \| \
2228
2775
X"$ac_file" : 'X\(//\)$' \| \
2229
X"$ac_file" : 'X\(/\)' \| \
2230
. : '\(.\)' 2>/dev/null ||
2776
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2231
2777
echo X"$ac_file" |
2232
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2233
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2234
/^X\(\/\/\)$/{ s//\1/; q; }
2235
/^X\(\/\).*/{ s//\1/; q; }
2237
{ if $as_mkdir_p; then
2778
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2797
-*) as_dir=./$as_dir;;
2799
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2242
while test ! -d "$as_dir"; do
2243
as_dirs="$as_dir $as_dirs"
2244
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2803
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2804
*) as_qdir=$as_dir;;
2806
as_dirs="'$as_qdir' $as_dirs"
2807
as_dir=`$as_dirname -- "$as_dir" ||
2245
2808
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2246
2809
X"$as_dir" : 'X\(//\)[^/]' \| \
2247
2810
X"$as_dir" : 'X\(//\)$' \| \
2248
X"$as_dir" : 'X\(/\)' \| \
2249
. : '\(.\)' 2>/dev/null ||
2811
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2250
2812
echo X"$as_dir" |
2251
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2252
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2253
/^X\(\/\/\)$/{ s//\1/; q; }
2254
/^X\(\/\).*/{ s//\1/; q; }
2813
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2830
test -d "$as_dir" && break
2257
test ! -n "$as_dirs" || mkdir $as_dirs
2258
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2259
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2832
test -z "$as_dirs" || eval "mkdir $as_dirs"
2833
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2834
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2260
2835
{ (exit 1); exit 1; }; }; }
2264
if test "$ac_dir" != .; then
2839
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2265
2841
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2266
# A "../" for each directory in $ac_dir_suffix.
2267
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2269
ac_dir_suffix= ac_top_builddir=
2842
# A ".." for each directory in $ac_dir_suffix.
2843
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2844
case $ac_top_builddir_sub in
2845
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2846
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2849
ac_abs_top_builddir=$ac_pwd
2850
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2851
# for backward compatibility:
2852
ac_top_builddir=$ac_top_build_prefix
2272
2854
case $srcdir in
2273
.) # No --srcdir option. We are building in place.
2855
.) # We are building in place.
2275
if test -z "$ac_top_builddir"; then
2278
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2280
[\\/]* | ?:[\\/]* ) # Absolute path.
2857
ac_top_srcdir=$ac_top_builddir_sub
2858
ac_abs_top_srcdir=$ac_pwd ;;
2859
[\\/]* | ?:[\\/]* ) # Absolute name.
2281
2860
ac_srcdir=$srcdir$ac_dir_suffix;
2282
ac_top_srcdir=$srcdir ;;
2284
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2285
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2288
# Do not use `cd foo && pwd` to compute absolute paths, because
2289
# the directories may not exist.
2291
.) ac_abs_builddir="$ac_dir";;
2294
.) ac_abs_builddir=`pwd`;;
2295
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2296
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2299
case $ac_abs_builddir in
2300
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2302
case ${ac_top_builddir}. in
2303
.) ac_abs_top_builddir=$ac_abs_builddir;;
2304
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2305
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2308
case $ac_abs_builddir in
2309
.) ac_abs_srcdir=$ac_srcdir;;
2312
.) ac_abs_srcdir=$ac_abs_builddir;;
2313
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2314
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2317
case $ac_abs_builddir in
2318
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2320
case $ac_top_srcdir in
2321
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2322
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2323
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2861
ac_top_srcdir=$srcdir
2862
ac_abs_top_srcdir=$srcdir ;;
2864
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2865
ac_top_srcdir=$ac_top_build_prefix$srcdir
2866
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2868
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2328
2877
case $INSTALL in
2329
2878
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2330
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2879
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2333
# Let's still pretend it is `configure' which instantiates (i.e., don't
2334
# use $as_me), people would be surprised to read:
2335
# /* config.h. Generated by config.status. */
2336
if test x"$ac_file" = x-; then
2339
configure_input="$ac_file. "
2341
configure_input=$configure_input"Generated from `echo $ac_file_in |
2342
sed 's,.*/,,'` by configure."
2344
# First look for the input files in the build tree, otherwise in the
2346
ac_file_inputs=`IFS=:
2347
for f in $ac_file_in; do
2349
-) echo $tmp/stdin ;;
2351
# Absolute (can't be DOS-style, as IFS=:)
2352
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2353
echo "$as_me: error: cannot find input file: $f" >&2;}
2354
{ (exit 1); exit 1; }; }
2357
if test -f "$f"; then
2360
elif test -f "$srcdir/$f"; then
2365
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2366
echo "$as_me: error: cannot find input file: $f" >&2;}
2367
{ (exit 1); exit 1; }; }
2370
done` || { (exit 1); exit 1; }
2372
if test x"$ac_file" != x-; then
2373
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2374
echo "$as_me: creating $ac_file" >&6;}
2883
cat >>$CONFIG_STATUS <<\_ACEOF
2884
# If the template does not know about datarootdir, expand it.
2885
# FIXME: This hack should be removed a few years after 2.60.
2886
ac_datarootdir_hack=; ac_datarootdir_seen=
2888
case `sed -n '/datarootdir/ {
2897
' $ac_file_inputs` in
2898
*datarootdir*) ac_datarootdir_seen=yes;;
2899
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2900
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2901
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2903
cat >>$CONFIG_STATUS <<_ACEOF
2904
ac_datarootdir_hack='
2905
s&@datadir@&$datadir&g
2906
s&@docdir@&$docdir&g
2907
s&@infodir@&$infodir&g
2908
s&@localedir@&$localedir&g
2909
s&@mandir@&$mandir&g
2910
s&\\\${datarootdir}&$datarootdir&g' ;;
2914
# Neutralize VPATH when `$srcdir' = `.'.
2915
# Shell code in configure.ac might set extrasub.
2916
# FIXME: do we really want to maintain this feature?
2378
2917
cat >>$CONFIG_STATUS <<_ACEOF
2464
3017
ac_prev=prefix ;;
2465
3018
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2467
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3022
*\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3024
ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
2471
3028
# Always prepend --prefix to ensure using the same prefix
2472
3029
# in subdir configurations.
2473
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3030
ac_arg="--prefix=$prefix"
3032
*\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3034
ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
2475
3036
ac_popdir=`pwd`
2476
3037
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2478
3039
# Do not complain, so a configure script can configure whichever
2479
3040
# parts of a large source tree are present.
2480
test -d $srcdir/$ac_dir || continue
3041
test -d "$srcdir/$ac_dir" || continue
2482
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5
2483
echo "$as_me: configuring in $ac_dir" >&6;}
2484
{ if $as_mkdir_p; then
3043
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3044
echo "$as_me:$LINENO: $ac_msg" >&5
3048
-*) as_dir=./$as_dir;;
3050
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2489
while test ! -d "$as_dir"; do
2490
as_dirs="$as_dir $as_dirs"
2491
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3054
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3055
*) as_qdir=$as_dir;;
3057
as_dirs="'$as_qdir' $as_dirs"
3058
as_dir=`$as_dirname -- "$as_dir" ||
2492
3059
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493
3060
X"$as_dir" : 'X\(//\)[^/]' \| \
2494
3061
X"$as_dir" : 'X\(//\)$' \| \
2495
X"$as_dir" : 'X\(/\)' \| \
2496
. : '\(.\)' 2>/dev/null ||
3062
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2497
3063
echo X"$as_dir" |
2498
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2499
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2500
/^X\(\/\/\)$/{ s//\1/; q; }
2501
/^X\(\/\).*/{ s//\1/; q; }
3064
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3081
test -d "$as_dir" && break
2504
test ! -n "$as_dirs" || mkdir $as_dirs
2505
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2506
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3083
test -z "$as_dirs" || eval "mkdir $as_dirs"
3084
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3085
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2507
3086
{ (exit 1); exit 1; }; }; }
2511
if test "$ac_dir" != .; then
3090
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2512
3092
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2513
# A "../" for each directory in $ac_dir_suffix.
2514
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2516
ac_dir_suffix= ac_top_builddir=
3093
# A ".." for each directory in $ac_dir_suffix.
3094
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3095
case $ac_top_builddir_sub in
3096
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3097
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3100
ac_abs_top_builddir=$ac_pwd
3101
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3102
# for backward compatibility:
3103
ac_top_builddir=$ac_top_build_prefix
2519
3105
case $srcdir in
2520
.) # No --srcdir option. We are building in place.
3106
.) # We are building in place.
2522
if test -z "$ac_top_builddir"; then
2525
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2527
[\\/]* | ?:[\\/]* ) # Absolute path.
3108
ac_top_srcdir=$ac_top_builddir_sub
3109
ac_abs_top_srcdir=$ac_pwd ;;
3110
[\\/]* | ?:[\\/]* ) # Absolute name.
2528
3111
ac_srcdir=$srcdir$ac_dir_suffix;
2529
ac_top_srcdir=$srcdir ;;
2531
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2532
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2535
# Do not use `cd foo && pwd` to compute absolute paths, because
2536
# the directories may not exist.
2538
.) ac_abs_builddir="$ac_dir";;
2541
.) ac_abs_builddir=`pwd`;;
2542
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2543
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2546
case $ac_abs_builddir in
2547
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2549
case ${ac_top_builddir}. in
2550
.) ac_abs_top_builddir=$ac_abs_builddir;;
2551
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2552
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2555
case $ac_abs_builddir in
2556
.) ac_abs_srcdir=$ac_srcdir;;
2559
.) ac_abs_srcdir=$ac_abs_builddir;;
2560
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2561
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2564
case $ac_abs_builddir in
2565
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2567
case $ac_top_srcdir in
2568
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2569
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2570
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3112
ac_top_srcdir=$srcdir
3113
ac_abs_top_srcdir=$srcdir ;;
3115
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3116
ac_top_srcdir=$ac_top_build_prefix$srcdir
3117
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3119
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2577
3124
# Check for guested configure; otherwise get Cygnus style configure.
2578
if test -f $ac_srcdir/configure.gnu; then
2579
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
2580
elif test -f $ac_srcdir/configure; then
2581
ac_sub_configure="$SHELL '$ac_srcdir/configure'"
2582
elif test -f $ac_srcdir/configure.in; then
2583
ac_sub_configure=$ac_configure
3125
if test -f "$ac_srcdir/configure.gnu"; then
3126
ac_sub_configure=$ac_srcdir/configure.gnu
3127
elif test -f "$ac_srcdir/configure"; then
3128
ac_sub_configure=$ac_srcdir/configure
3129
elif test -f "$ac_srcdir/configure.in"; then
3130
# This should be Cygnus configure.
3131
ac_sub_configure=$ac_aux_dir/configure
2585
3133
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2586
3134
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}