2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.60a.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be Bourne compatible
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
# is contrary to our usage. Disable this feature.
19
alias -g '${1+"$@"}'='"$@"'
22
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24
BIN_SH=xpg4; export BIN_SH # for Tru64
25
DUALCASE=1; export DUALCASE # for MKS sh
29
# Avoid depending upon Character Ranges.
30
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33
as_cr_digits='0123456789'
34
as_cr_alnum=$as_cr_Letters$as_cr_digits
36
# The user is always right.
37
if test "${PATH_SEPARATOR+set}" != set; then
38
echo "#! /bin/sh" >conf$$.sh
39
echo "exit 0" >>conf$$.sh
41
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49
# Support unset when possible.
50
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58
# We need space, tab and new line, in precisely that order. Quoting is
59
# there to prevent editors from complaining about space-tab.
60
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61
# splitting by setting IFS to empty value.)
66
# Find who we are. Look in the path if we contain no directory separator.
68
*[\\/]* ) as_myself=$0 ;;
69
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73
test -z "$as_dir" && as_dir=.
74
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80
# We did not find ourselves, most probably we were run as `sh COMMAND'
81
# in which case we are not to be found in the path.
82
if test "x$as_myself" = x; then
85
if test ! -f "$as_myself"; then
86
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90
# Work around bugs in pre-3.0 UWIN ksh.
91
for as_var in ENV MAIL MAILPATH
92
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105
eval $as_var=C; export $as_var
107
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111
# Required to use basename.
112
if expr a : '\(a\)' >/dev/null 2>&1 &&
113
test "X`expr 00001 : '.*\(...\)'`" = X001; then
119
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
# Name of the executable.
127
as_me=`$as_basename -- "$0" ||
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129
X"$0" : 'X\(//\)$' \| \
130
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
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
217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
test -z "$as_dir" && as_dir=.
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" || {
422
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423
# uniformly replaced by the line number. The first 'sed' inserts a
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
429
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430
# scripts with optimization help from Paolo Bonzini. Blame Lee
431
# E. McMahon (1931-1989) for sed's syntax. :-)
443
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447
chmod +x "$as_me.lineno" ||
448
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449
{ (exit 1); exit 1; }; }
451
# Don't try to exec as it changes $[0], causing all sort of problems
452
# (the dirname of $[0] is not the place where we might find the
453
# original and so on. Autoconf is especially sensitive to this).
455
# Exit status is that of the last command.
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.
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
test "X`expr 00001 : '.*\(...\)'`" = X001; then
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
508
if mkdir -p . 2>/dev/null; then
511
test -d ./-p && rmdir ./-p
515
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
516
# systems may use methods other than mode bits to determine executability.
517
cat >conf$$.file <<_ASEOF
522
if test -x conf$$.file >/dev/null 2>&1; then
523
as_executable_p="test -x"
529
# Sed expression to map a string onto a valid CPP name.
530
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
# Sed expression to map a string onto a valid variable name.
533
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
exec 7<&0 </dev/null 6>&1
540
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541
# so uname gets run too.
542
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
ac_default_prefix=/usr/local
549
ac_config_libobj_dir=.
555
SHELL=${CONFIG_SHELL-/bin/sh}
557
# Identity of this package.
564
ac_unique_file="spm.in"
574
program_transform_name
607
ac_precious_vars='build_alias
612
# Initialize some variables set by options.
614
ac_init_version=false
615
# The variables have the same names as the options, with
616
# dashes changed to underlines.
624
program_transform_name=s,x,x,
632
# Installation directory options.
633
# These are left unexpanded so users can "make install exec_prefix=/foo"
634
# and all the variables that are supposed to be based on exec_prefix
635
# by default will actually change.
636
# Use braces instead of parens because sh, perl, etc. also accept them.
637
# (The list follows the same order as the GNU Coding Standards.)
638
bindir='${exec_prefix}/bin'
639
sbindir='${exec_prefix}/sbin'
640
libexecdir='${exec_prefix}/libexec'
641
datarootdir='${prefix}/share'
642
datadir='${datarootdir}'
643
sysconfdir='${prefix}/etc'
644
sharedstatedir='${prefix}/com'
645
localstatedir='${prefix}/var'
646
includedir='${prefix}/include'
647
oldincludedir='/usr/include'
648
docdir='${datarootdir}/doc/${PACKAGE}'
649
infodir='${datarootdir}/info'
654
libdir='${exec_prefix}/lib'
655
localedir='${datarootdir}/locale'
656
mandir='${datarootdir}/man'
662
# If the previous option needs an argument, assign it.
663
if test -n "$ac_prev"; then
664
eval $ac_prev=\$ac_option
670
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
674
# Accept the important Cygnus configure options, so we can diagnose typos.
676
case $ac_dashdash$ac_option in
680
-bindir | --bindir | --bindi | --bind | --bin | --bi)
682
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
685
-build | --build | --buil | --bui | --bu)
686
ac_prev=build_alias ;;
687
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
688
build_alias=$ac_optarg ;;
690
-cache-file | --cache-file | --cache-fil | --cache-fi \
691
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
692
ac_prev=cache_file ;;
693
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
694
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
695
cache_file=$ac_optarg ;;
698
cache_file=config.cache ;;
700
-datadir | --datadir | --datadi | --datad)
702
-datadir=* | --datadir=* | --datadi=* | --datad=*)
703
datadir=$ac_optarg ;;
705
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
706
| --dataroo | --dataro | --datar)
707
ac_prev=datarootdir ;;
708
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
709
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
710
datarootdir=$ac_optarg ;;
712
-disable-* | --disable-*)
713
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
714
# Reject names that are not valid shell variable names.
715
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
716
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
717
{ (exit 1); exit 1; }; }
718
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
719
eval enable_$ac_feature=no ;;
721
-docdir | --docdir | --docdi | --doc | --do)
723
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
726
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
728
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
731
-enable-* | --enable-*)
732
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
733
# Reject names that are not valid shell variable names.
734
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
735
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
736
{ (exit 1); exit 1; }; }
737
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
738
eval enable_$ac_feature=\$ac_optarg ;;
740
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
741
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
742
| --exec | --exe | --ex)
743
ac_prev=exec_prefix ;;
744
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
745
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
746
| --exec=* | --exe=* | --ex=*)
747
exec_prefix=$ac_optarg ;;
749
-gas | --gas | --ga | --g)
750
# Obsolete; use --with-gas.
753
-help | --help | --hel | --he | -h)
755
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
756
ac_init_help=recursive ;;
757
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
758
ac_init_help=short ;;
760
-host | --host | --hos | --ho)
761
ac_prev=host_alias ;;
762
-host=* | --host=* | --hos=* | --ho=*)
763
host_alias=$ac_optarg ;;
765
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
767
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
769
htmldir=$ac_optarg ;;
771
-includedir | --includedir | --includedi | --included | --include \
772
| --includ | --inclu | --incl | --inc)
773
ac_prev=includedir ;;
774
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
775
| --includ=* | --inclu=* | --incl=* | --inc=*)
776
includedir=$ac_optarg ;;
778
-infodir | --infodir | --infodi | --infod | --info | --inf)
780
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
781
infodir=$ac_optarg ;;
783
-libdir | --libdir | --libdi | --libd)
785
-libdir=* | --libdir=* | --libdi=* | --libd=*)
788
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
789
| --libexe | --libex | --libe)
790
ac_prev=libexecdir ;;
791
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
792
| --libexe=* | --libex=* | --libe=*)
793
libexecdir=$ac_optarg ;;
795
-localedir | --localedir | --localedi | --localed | --locale)
797
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
798
localedir=$ac_optarg ;;
800
-localstatedir | --localstatedir | --localstatedi | --localstated \
801
| --localstate | --localstat | --localsta | --localst | --locals)
802
ac_prev=localstatedir ;;
803
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
804
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
805
localstatedir=$ac_optarg ;;
807
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
809
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
813
# Obsolete; use --without-fp.
816
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
817
| --no-cr | --no-c | -n)
820
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
821
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
824
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
825
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
826
| --oldin | --oldi | --old | --ol | --o)
827
ac_prev=oldincludedir ;;
828
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
829
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
830
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
831
oldincludedir=$ac_optarg ;;
833
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
835
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
838
-program-prefix | --program-prefix | --program-prefi | --program-pref \
839
| --program-pre | --program-pr | --program-p)
840
ac_prev=program_prefix ;;
841
-program-prefix=* | --program-prefix=* | --program-prefi=* \
842
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
843
program_prefix=$ac_optarg ;;
845
-program-suffix | --program-suffix | --program-suffi | --program-suff \
846
| --program-suf | --program-su | --program-s)
847
ac_prev=program_suffix ;;
848
-program-suffix=* | --program-suffix=* | --program-suffi=* \
849
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
850
program_suffix=$ac_optarg ;;
852
-program-transform-name | --program-transform-name \
853
| --program-transform-nam | --program-transform-na \
854
| --program-transform-n | --program-transform- \
855
| --program-transform | --program-transfor \
856
| --program-transfo | --program-transf \
857
| --program-trans | --program-tran \
858
| --progr-tra | --program-tr | --program-t)
859
ac_prev=program_transform_name ;;
860
-program-transform-name=* | --program-transform-name=* \
861
| --program-transform-nam=* | --program-transform-na=* \
862
| --program-transform-n=* | --program-transform-=* \
863
| --program-transform=* | --program-transfor=* \
864
| --program-transfo=* | --program-transf=* \
865
| --program-trans=* | --program-tran=* \
866
| --progr-tra=* | --program-tr=* | --program-t=*)
867
program_transform_name=$ac_optarg ;;
869
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
871
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
874
-psdir | --psdir | --psdi | --psd | --ps)
876
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
879
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
880
| -silent | --silent | --silen | --sile | --sil)
883
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
885
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
887
sbindir=$ac_optarg ;;
889
-sharedstatedir | --sharedstatedir | --sharedstatedi \
890
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
891
| --sharedst | --shareds | --shared | --share | --shar \
893
ac_prev=sharedstatedir ;;
894
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
895
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
896
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
898
sharedstatedir=$ac_optarg ;;
900
-site | --site | --sit)
902
-site=* | --site=* | --sit=*)
905
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
907
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
910
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
911
| --syscon | --sysco | --sysc | --sys | --sy)
912
ac_prev=sysconfdir ;;
913
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
914
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
915
sysconfdir=$ac_optarg ;;
917
-target | --target | --targe | --targ | --tar | --ta | --t)
918
ac_prev=target_alias ;;
919
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
920
target_alias=$ac_optarg ;;
922
-v | -verbose | --verbose | --verbos | --verbo | --verb)
925
-version | --version | --versio | --versi | --vers | -V)
929
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
930
# Reject names that are not valid shell variable names.
931
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
932
{ echo "$as_me: error: invalid package name: $ac_package" >&2
933
{ (exit 1); exit 1; }; }
934
ac_package=`echo $ac_package| sed 's/-/_/g'`
935
eval with_$ac_package=\$ac_optarg ;;
937
-without-* | --without-*)
938
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
939
# Reject names that are not valid shell variable names.
940
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
941
{ echo "$as_me: error: invalid package name: $ac_package" >&2
942
{ (exit 1); exit 1; }; }
943
ac_package=`echo $ac_package | sed 's/-/_/g'`
944
eval with_$ac_package=no ;;
947
# Obsolete; use --with-x.
950
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
951
| --x-incl | --x-inc | --x-in | --x-i)
952
ac_prev=x_includes ;;
953
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
954
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
955
x_includes=$ac_optarg ;;
957
-x-libraries | --x-libraries | --x-librarie | --x-librari \
958
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
959
ac_prev=x_libraries ;;
960
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
961
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
962
x_libraries=$ac_optarg ;;
964
-*) { echo "$as_me: error: unrecognized option: $ac_option
965
Try \`$0 --help' for more information." >&2
966
{ (exit 1); exit 1; }; }
970
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
971
# Reject names that are not valid shell variable names.
972
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
973
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
974
{ (exit 1); exit 1; }; }
975
eval $ac_envvar=\$ac_optarg
979
# FIXME: should be removed in autoconf 3.0.
980
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
981
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
982
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
983
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
989
if test -n "$ac_prev"; then
990
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
991
{ echo "$as_me: error: missing argument to $ac_option" >&2
992
{ (exit 1); exit 1; }; }
995
# Be sure to have absolute directory names.
996
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
997
datadir sysconfdir sharedstatedir localstatedir includedir \
998
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
999
libdir localedir mandir
1001
eval ac_val=\$$ac_var
1003
[\\/$]* | ?:[\\/]* ) continue;;
1004
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1006
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1007
{ (exit 1); exit 1; }; }
1010
# There might be people who depend on the old broken behavior: `$host'
1011
# used to hold the argument of --host etc.
1012
# FIXME: To remove some day.
1015
target=$target_alias
1017
# FIXME: To remove some day.
1018
if test "x$host_alias" != x; then
1019
if test "x$build_alias" = x; then
1020
cross_compiling=maybe
1021
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1022
If a cross compiler is detected then cross compile mode will be used." >&2
1023
elif test "x$build_alias" != "x$host_alias"; then
1029
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1031
test "$silent" = yes && exec 6>/dev/null
1034
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1035
ac_ls_di=`ls -di .` &&
1036
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1037
{ echo "$as_me: error: Working directory cannot be determined" >&2
1038
{ (exit 1); exit 1; }; }
1039
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1040
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1041
{ (exit 1); exit 1; }; }
1044
# Find the source files, if location was not specified.
1045
if test -z "$srcdir"; then
1046
ac_srcdir_defaulted=yes
1047
# Try the directory containing this script, then the parent directory.
1048
ac_confdir=`$as_dirname -- "$0" ||
1049
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1050
X"$0" : 'X\(//\)[^/]' \| \
1051
X"$0" : 'X\(//\)$' \| \
1052
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1072
if test ! -r "$srcdir/$ac_unique_file"; then
1076
ac_srcdir_defaulted=no
1078
if test ! -r "$srcdir/$ac_unique_file"; then
1079
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1080
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1081
{ (exit 1); exit 1; }; }
1083
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1085
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1086
{ (exit 1); exit 1; }; }
1088
# When building in place, set srcdir=.
1089
if test "$ac_abs_confdir" = "$ac_pwd"; then
1092
# Remove unnecessary trailing slashes from srcdir.
1093
# Double slashes in file names in object file debugging info
1094
# mess up M-x gdb in Emacs.
1096
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1098
for ac_var in $ac_precious_vars; do
1099
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1100
eval ac_env_${ac_var}_value=\$${ac_var}
1101
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1102
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1106
# Report the --help message.
1108
if test "$ac_init_help" = "long"; then
1109
# Omit some internal or obsolete options to make the list less imposing.
1110
# This message is too long to be a string in the A/UX 3.1 sh.
1112
\`configure' configures this package to adapt to many kinds of systems.
1114
Usage: $0 [OPTION]... [VAR=VALUE]...
1116
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1117
VAR=VALUE. See below for descriptions of some of the useful variables.
1119
Defaults for the options are specified in brackets.
1122
-h, --help display this help and exit
1123
--help=short display options specific to this package
1124
--help=recursive display the short help of all the included packages
1125
-V, --version display version information and exit
1126
-q, --quiet, --silent do not print \`checking...' messages
1127
--cache-file=FILE cache test results in FILE [disabled]
1128
-C, --config-cache alias for \`--cache-file=config.cache'
1129
-n, --no-create do not create output files
1130
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1132
Installation directories:
1133
--prefix=PREFIX install architecture-independent files in PREFIX
1134
[$ac_default_prefix]
1135
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1138
By default, \`make install' will install all the files in
1139
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1140
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1141
for instance \`--prefix=\$HOME'.
1143
For better control, use the options below.
1145
Fine tuning of the installation directories:
1146
--bindir=DIR user executables [EPREFIX/bin]
1147
--sbindir=DIR system admin executables [EPREFIX/sbin]
1148
--libexecdir=DIR program executables [EPREFIX/libexec]
1149
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1150
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1151
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1152
--libdir=DIR object code libraries [EPREFIX/lib]
1153
--includedir=DIR C header files [PREFIX/include]
1154
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1155
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1156
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1157
--infodir=DIR info documentation [DATAROOTDIR/info]
1158
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1159
--mandir=DIR man documentation [DATAROOTDIR/man]
1160
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1161
--htmldir=DIR html documentation [DOCDIR]
1162
--dvidir=DIR dvi documentation [DOCDIR]
1163
--pdfdir=DIR pdf documentation [DOCDIR]
1164
--psdir=DIR ps documentation [DOCDIR]
1171
if test -n "$ac_init_help"; then
1176
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1177
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1178
--with-steam=coreserver Use the specified steam core.
1184
if test "$ac_init_help" = "recursive"; then
1185
# If there are subdirs, report their specific --help.
1186
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1187
test -d "$ac_dir" || continue
1191
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1193
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1194
# A ".." for each directory in $ac_dir_suffix.
1195
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1196
case $ac_top_builddir_sub in
1197
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1198
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1201
ac_abs_top_builddir=$ac_pwd
1202
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1203
# for backward compatibility:
1204
ac_top_builddir=$ac_top_build_prefix
1207
.) # We are building in place.
1209
ac_top_srcdir=$ac_top_builddir_sub
1210
ac_abs_top_srcdir=$ac_pwd ;;
1211
[\\/]* | ?:[\\/]* ) # Absolute name.
1212
ac_srcdir=$srcdir$ac_dir_suffix;
1213
ac_top_srcdir=$srcdir
1214
ac_abs_top_srcdir=$srcdir ;;
1216
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1217
ac_top_srcdir=$ac_top_build_prefix$srcdir
1218
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1220
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1222
cd "$ac_dir" || { ac_status=$?; continue; }
1223
# Check for guested configure.
1224
if test -f "$ac_srcdir/configure.gnu"; then
1226
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1227
elif test -f "$ac_srcdir/configure"; then
1229
$SHELL "$ac_srcdir/configure" --help=recursive
1231
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1233
cd "$ac_pwd" || { ac_status=$?; break; }
1237
test -n "$ac_init_help" && exit $ac_status
1238
if $ac_init_version; then
1241
generated by GNU Autoconf 2.60a
1243
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1244
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1245
This configure script is free software; the Free Software Foundation
1246
gives unlimited permission to copy, distribute and modify it.
1250
cat >config.log <<_ACEOF
1251
This file contains any messages produced by compilers while
1252
running configure, to aid debugging if configure makes a mistake.
1254
It was created by $as_me, which was
1255
generated by GNU Autoconf 2.60a. Invocation command line was
1267
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1268
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1269
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1270
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1271
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1273
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1274
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1276
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1277
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1278
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1279
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1280
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1281
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1282
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1290
test -z "$as_dir" && as_dir=.
1291
echo "PATH: $as_dir"
1307
# Keep a trace of the command line.
1308
# Strip out --no-create and --no-recursion so they do not pile up.
1309
# Strip out --silent because we don't want to record it for future runs.
1310
# Also quote any args containing shell meta-characters.
1311
# Make two passes to allow for proper duplicate-argument suppression.
1315
ac_must_keep_next=false
1321
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1322
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323
| -silent | --silent | --silen | --sile | --sil)
1326
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1329
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1331
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1332
if test $ac_must_keep_next = true; then
1333
ac_must_keep_next=false # Got value, back to normal.
1336
*=* | --config-cache | -C | -disable-* | --disable-* \
1337
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1338
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1339
| -with-* | --with-* | -without-* | --without-* | --x)
1340
case "$ac_configure_args0 " in
1341
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1344
-* ) ac_must_keep_next=true ;;
1347
ac_configure_args="$ac_configure_args '$ac_arg'"
1352
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1353
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1355
# When interrupted or exit'd, cleanup temporary files, and complete
1356
# config.log. We remove comments because anyway the quotes in there
1357
# would cause problems or look ugly.
1358
# WARNING: Use '\'' to represent an apostrophe within the trap.
1359
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1360
trap 'exit_status=$?
1361
# Save into config.log some information that might help in debugging.
1366
## ---------------- ##
1367
## Cache variables. ##
1368
## ---------------- ##
1371
# The following way of writing the cache mishandles newlines in values,
1373
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1374
eval ac_val=\$$ac_var
1378
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1379
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1382
_ | IFS | as_nl) ;; #(
1383
*) $as_unset $ac_var ;;
1388
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1389
*${as_nl}ac_space=\ *)
1391
"s/'\''/'\''\\\\'\'''\''/g;
1392
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1395
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1403
## ----------------- ##
1404
## Output variables. ##
1405
## ----------------- ##
1408
for ac_var in $ac_subst_vars
1410
eval ac_val=\$$ac_var
1412
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1414
echo "$ac_var='\''$ac_val'\''"
1418
if test -n "$ac_subst_files"; then
1420
## ------------------- ##
1421
## File substitutions. ##
1422
## ------------------- ##
1425
for ac_var in $ac_subst_files
1427
eval ac_val=\$$ac_var
1429
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1431
echo "$ac_var='\''$ac_val'\''"
1436
if test -s confdefs.h; then
1446
test "$ac_signal" != 0 &&
1447
echo "$as_me: caught signal $ac_signal"
1448
echo "$as_me: exit $exit_status"
1450
rm -f core *.core core.conftest.* &&
1451
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1454
for ac_signal in 1 2 13 15; do
1455
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1459
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1460
rm -f -r conftest* confdefs.h
1462
# Predefined preprocessor variables.
1464
cat >>confdefs.h <<_ACEOF
1465
#define PACKAGE_NAME "$PACKAGE_NAME"
1469
cat >>confdefs.h <<_ACEOF
1470
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1474
cat >>confdefs.h <<_ACEOF
1475
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1479
cat >>confdefs.h <<_ACEOF
1480
#define PACKAGE_STRING "$PACKAGE_STRING"
1484
cat >>confdefs.h <<_ACEOF
1485
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1489
# Let the site file select an alternate cache file if it wants to.
1490
# Prefer explicitly selected file to automatically selected ones.
1491
if test -n "$CONFIG_SITE"; then
1492
set x "$CONFIG_SITE"
1493
elif test "x$prefix" != xNONE; then
1494
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1496
set x "$ac_default_prefix/share/config.site" \
1497
"$ac_default_prefix/etc/config.site"
1502
if test -r "$ac_site_file"; then
1503
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1504
echo "$as_me: loading site script $ac_site_file" >&6;}
1505
sed 's/^/| /' "$ac_site_file" >&5
1510
if test -r "$cache_file"; then
1511
# Some versions of bash will fail to source /dev/null (special
1512
# files actually), so we avoid doing that.
1513
if test -f "$cache_file"; then
1514
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1515
echo "$as_me: loading cache $cache_file" >&6;}
1517
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1518
*) . "./$cache_file";;
1522
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1523
echo "$as_me: creating cache $cache_file" >&6;}
1527
# Check that the precious variables saved in the cache have kept the same
1529
ac_cache_corrupted=false
1530
for ac_var in $ac_precious_vars; do
1531
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1532
eval ac_new_set=\$ac_env_${ac_var}_set
1533
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1534
eval ac_new_val=\$ac_env_${ac_var}_value
1535
case $ac_old_set,$ac_new_set in
1537
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1538
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1539
ac_cache_corrupted=: ;;
1541
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1542
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1543
ac_cache_corrupted=: ;;
1546
if test "x$ac_old_val" != "x$ac_new_val"; then
1547
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1548
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1549
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1550
echo "$as_me: former value: $ac_old_val" >&2;}
1551
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1552
echo "$as_me: current value: $ac_new_val" >&2;}
1553
ac_cache_corrupted=:
1556
# Pass precious variables to config.status.
1557
if test "$ac_new_set" = set; then
1559
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1560
*) ac_arg=$ac_var=$ac_new_val ;;
1562
case " $ac_configure_args " in
1563
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1564
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1568
if $ac_cache_corrupted; then
1569
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1570
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1571
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1572
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1573
{ (exit 1); exit 1; }; }
1593
ac_cpp='$CPP $CPPFLAGS'
1594
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1595
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1596
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1600
#steam detection code
1601
steamcore=${steamdir}
1603
# Check whether --with-steam was given.
1604
if test "${with_steam+set}" = set; then
1605
withval=$with_steam;
1606
echo "$withval ... trying..."
1607
if test -d "$withval"; then
1609
echo "Using $steamcore"
1610
if test "x$configdir" = "x"; then
1611
configs = "${steamcore}/config"
1614
echo "Warning: $withval does not exist."
1621
if test $steamcore = no; then
1622
{ echo "$as_me:$LINENO: checking location of coreserver" >&5
1623
echo $ECHO_N "checking location of coreserver... $ECHO_C" >&6; }
1624
for a in .. /usr/lib/steam/coreserver /usr/local/steam/coreserver /usr/steam/coreserver /usr/lib/steam /usr/steam /usr/local/steam /opt/steam; do
1625
if test -d ${a}; then
1626
{ echo "$as_me:$LINENO: checking in ${a}" >&5
1627
echo $ECHO_N "checking in ${a}... $ECHO_C" >&6; }
1628
if test -f "$a/steam"; then
1630
{ echo "$as_me:$LINENO: result: Found steam in $steamcore" >&5
1631
echo "${ECHO_T}Found steam in $steamcore" >&6; }
1637
if test $steamcore = no; then
1638
{ { echo "$as_me:$LINENO: error: Failed to find steam. You can submit the steam installation directory with --with-steam=" >&5
1639
echo "$as_me: error: Failed to find steam. You can submit the steam installation directory with --with-steam=" >&2;}
1640
{ (exit 1); exit 1; }; };
1646
ac_config_files="$ac_config_files spm"
1648
cat >confcache <<\_ACEOF
1649
# This file is a shell script that caches the results of configure
1650
# tests run on this system so they can be shared between configure
1651
# scripts and configure runs, see configure's option --config-cache.
1652
# It is not useful on other systems. If it contains results you don't
1653
# want to keep, you may remove or edit it.
1655
# config.status only pays attention to the cache file if you give it
1656
# the --recheck option to rerun configure.
1658
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1659
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1664
# The following way of writing the cache mishandles newlines in values,
1665
# but we know of no workaround that is simple, portable, and efficient.
1666
# So, we kill variables containing newlines.
1667
# Ultrix sh set writes to stderr and can't be redirected directly,
1668
# and sets the high bit in the cache file unless we assign to the vars.
1670
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1671
eval ac_val=\$$ac_var
1675
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1676
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1679
_ | IFS | as_nl) ;; #(
1680
*) $as_unset $ac_var ;;
1686
case $as_nl`(ac_space=' '; set) 2>&1` in #(
1687
*${as_nl}ac_space=\ *)
1688
# `set' does not quote correctly, so add quotes (double-quote
1689
# substitution turns \\\\ into \\, and sed turns \\ into \).
1692
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1695
# `set' quotes correctly as required by POSIX, so do not add quotes.
1696
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1705
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1707
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1709
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1710
if test -w "$cache_file"; then
1711
test "x$cache_file" != "x/dev/null" &&
1712
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
1713
echo "$as_me: updating cache $cache_file" >&6;}
1714
cat confcache >$cache_file
1716
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1717
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1722
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1723
# Let make expand exec_prefix.
1724
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1726
# Transform confdefs.h into DEFS.
1727
# Protect against shell expansion while executing Makefile rules.
1728
# Protect against Makefile macro expansion.
1730
# If the first sed substitution is executed (which looks for macros that
1731
# take arguments), then branch to the quote section. Otherwise,
1732
# look for a macro that doesn't take arguments.
1736
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1738
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1742
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1755
DEFS=`sed -n "$ac_script" confdefs.h`
1760
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1761
# 1. Remove the extension, and $U if already installed.
1762
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1763
ac_i=`echo "$ac_i" | sed "$ac_script"`
1764
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1765
# will be set to the directory where LIBOBJS objects are built.
1766
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1767
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1771
LTLIBOBJS=$ac_ltlibobjs
1775
: ${CONFIG_STATUS=./config.status}
1776
ac_clean_files_save=$ac_clean_files
1777
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1778
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1779
echo "$as_me: creating $CONFIG_STATUS" >&6;}
1780
cat >$CONFIG_STATUS <<_ACEOF
1782
# Generated by $as_me.
1783
# Run this file to recreate the current configuration.
1784
# Compiler output produced by configure, useful for debugging
1785
# configure, is in config.log if it exists.
1790
SHELL=\${CONFIG_SHELL-$SHELL}
1793
cat >>$CONFIG_STATUS <<\_ACEOF
1794
## --------------------- ##
1795
## M4sh Initialization. ##
1796
## --------------------- ##
1798
# Be Bourne compatible
1799
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1802
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1803
# is contrary to our usage. Disable this feature.
1804
alias -g '${1+"$@"}'='"$@"'
1805
setopt NO_GLOB_SUBST
1807
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1809
BIN_SH=xpg4; export BIN_SH # for Tru64
1810
DUALCASE=1; export DUALCASE # for MKS sh
1814
# Avoid depending upon Character Ranges.
1815
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1816
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1817
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1818
as_cr_digits='0123456789'
1819
as_cr_alnum=$as_cr_Letters$as_cr_digits
1821
# The user is always right.
1822
if test "${PATH_SEPARATOR+set}" != set; then
1823
echo "#! /bin/sh" >conf$$.sh
1824
echo "exit 0" >>conf$$.sh
1826
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1834
# Support unset when possible.
1835
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1843
# We need space, tab and new line, in precisely that order. Quoting is
1844
# there to prevent editors from complaining about space-tab.
1845
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1846
# splitting by setting IFS to empty value.)
1851
# Find who we are. Look in the path if we contain no directory separator.
1853
*[\\/]* ) as_myself=$0 ;;
1854
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858
test -z "$as_dir" && as_dir=.
1859
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1865
# We did not find ourselves, most probably we were run as `sh COMMAND'
1866
# in which case we are not to be found in the path.
1867
if test "x$as_myself" = x; then
1870
if test ! -f "$as_myself"; then
1871
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1872
{ (exit 1); exit 1; }
1875
# Work around bugs in pre-3.0 UWIN ksh.
1876
for as_var in ENV MAIL MAILPATH
1877
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1885
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1886
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1887
LC_TELEPHONE LC_TIME
1889
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1890
eval $as_var=C; export $as_var
1892
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1896
# Required to use basename.
1897
if expr a : '\(a\)' >/dev/null 2>&1 &&
1898
test "X`expr 00001 : '.*\(...\)'`" = X001; then
1904
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1905
as_basename=basename
1911
# Name of the executable.
1912
as_me=`$as_basename -- "$0" ||
1913
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1914
X"$0" : 'X\(//\)$' \| \
1915
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1917
sed '/^.*\/\([^/][^/]*\)\/*$/{
1938
test "x$as_lineno_1" != "x$as_lineno_2" &&
1939
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1941
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1942
# uniformly replaced by the line number. The first 'sed' inserts a
1943
# line-number line after each line using $LINENO; the second 'sed'
1944
# does the real work. The second script uses 'N' to pair each
1945
# line-number line with the line containing $LINENO, and appends
1946
# trailing '-' during substitution so that $LINENO is not a special
1948
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1949
# scripts with optimization help from Paolo Bonzini. Blame Lee
1950
# E. McMahon (1931-1989) for sed's syntax. :-)
1962
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1966
chmod +x "$as_me.lineno" ||
1967
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1968
{ (exit 1); exit 1; }; }
1970
# Don't try to exec as it changes $[0], causing all sort of problems
1971
# (the dirname of $[0] is not the place where we might find the
1972
# original and so on. Autoconf is especially sensitive to this).
1974
# Exit status is that of the last command.
1979
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1985
ECHO_C= ECHO_N= ECHO_T=
1988
case `echo 'x\c'` in
1989
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
1996
if expr a : '\(a\)' >/dev/null 2>&1 &&
1997
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2003
rm -f conf$$ conf$$.exe conf$$.file
2004
if test -d conf$$.dir; then
2005
rm -f conf$$.dir/conf$$.file
2011
if ln -s conf$$.file conf$$ 2>/dev/null; then
2013
# ... but there are two gotchas:
2014
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2015
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2016
# In both cases, we have to default to `cp -p'.
2017
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2019
elif ln conf$$.file conf$$ 2>/dev/null; then
2024
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2025
rmdir conf$$.dir 2>/dev/null
2027
if mkdir -p . 2>/dev/null; then
2030
test -d ./-p && rmdir ./-p
2034
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
2035
# systems may use methods other than mode bits to determine executability.
2036
cat >conf$$.file <<_ASEOF
2040
chmod +x conf$$.file
2041
if test -x conf$$.file >/dev/null 2>&1; then
2042
as_executable_p="test -x"
2048
# Sed expression to map a string onto a valid CPP name.
2049
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2051
# Sed expression to map a string onto a valid variable name.
2052
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2057
# Save the log message, to keep $[0] and so on meaningful, and to
2058
# report actual input values of CONFIG_FILES etc. instead of their
2059
# values after options handling.
2061
This file was extended by $as_me, which was
2062
generated by GNU Autoconf 2.60a. Invocation command line was
2064
CONFIG_FILES = $CONFIG_FILES
2065
CONFIG_HEADERS = $CONFIG_HEADERS
2066
CONFIG_LINKS = $CONFIG_LINKS
2067
CONFIG_COMMANDS = $CONFIG_COMMANDS
2070
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2075
cat >>$CONFIG_STATUS <<_ACEOF
2076
# Files that config.status was made for.
2077
config_files="$ac_config_files"
2081
cat >>$CONFIG_STATUS <<\_ACEOF
2083
\`$as_me' instantiates files from templates according to the
2084
current configuration.
2086
Usage: $0 [OPTIONS] [FILE]...
2088
-h, --help print this help, then exit
2089
-V, --version print version number and configuration settings, then exit
2090
-q, --quiet do not print progress messages
2091
-d, --debug don't remove temporary files
2092
--recheck update $as_me by reconfiguring in the same conditions
2093
--file=FILE[:TEMPLATE]
2094
instantiate the configuration file FILE
2096
Configuration files:
2099
Report bugs to <bug-autoconf@gnu.org>."
2102
cat >>$CONFIG_STATUS <<_ACEOF
2105
configured by $0, generated by GNU Autoconf 2.60a,
2106
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2108
Copyright (C) 2006 Free Software Foundation, Inc.
2109
This config.status script is free software; the Free Software Foundation
2110
gives unlimited permission to copy, distribute and modify it."
2116
cat >>$CONFIG_STATUS <<\_ACEOF
2117
# If no file are specified by the user, then we need to provide default
2118
# value. By we need to know if files were specified by the user.
2124
ac_option=`expr "X$1" : 'X\([^=]*\)='`
2125
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2136
# Handling of the options.
2137
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2139
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2140
echo "$ac_cs_version"; exit ;;
2141
--debug | --debu | --deb | --de | --d | -d )
2143
--file | --fil | --fi | --f )
2145
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2146
ac_need_defaults=false;;
2147
--he | --h | --help | --hel | -h )
2148
echo "$ac_cs_usage"; exit ;;
2149
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2150
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2154
-*) { echo "$as_me: error: unrecognized option: $1
2155
Try \`$0 --help' for more information." >&2
2156
{ (exit 1); exit 1; }; } ;;
2158
*) ac_config_targets="$ac_config_targets $1"
2159
ac_need_defaults=false ;;
2165
ac_configure_extra_args=
2167
if $ac_cs_silent; then
2169
ac_configure_extra_args="$ac_configure_extra_args --silent"
2173
cat >>$CONFIG_STATUS <<_ACEOF
2174
if \$ac_cs_recheck; then
2175
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2178
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2182
cat >>$CONFIG_STATUS <<\_ACEOF
2186
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2187
## Running $as_me. ##
2193
cat >>$CONFIG_STATUS <<_ACEOF
2196
cat >>$CONFIG_STATUS <<\_ACEOF
2198
# Handling of arguments.
2199
for ac_config_target in $ac_config_targets
2201
case $ac_config_target in
2202
"spm") CONFIG_FILES="$CONFIG_FILES spm" ;;
2204
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2205
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2206
{ (exit 1); exit 1; }; };;
2211
# If the user did not use the arguments to specify the items to instantiate,
2212
# then the envvar interface is used. Set only those that are not.
2213
# We use the long form for the default assignment because of an extremely
2214
# bizarre bug on SunOS 4.1.3.
2215
if $ac_need_defaults; then
2216
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2219
# Have a temporary directory for convenience. Make it in the build tree
2220
# simply because there is no reason against having it here, and in addition,
2221
# creating and moving files from /tmp can sometimes cause problems.
2222
# Hook for its removal unless debugging.
2223
# Note that there is a small window in which the directory will not be cleaned:
2224
# after its creation but before its name has been assigned to `$tmp'.
2228
trap 'exit_status=$?
2229
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2231
trap '{ (exit 1); exit 1; }' 1 2 13 15
2233
# Create a (secure) tmp directory for tmp files.
2236
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2237
test -n "$tmp" && test -d "$tmp"
2240
tmp=./conf$$-$RANDOM
2241
(umask 077 && mkdir "$tmp")
2244
echo "$me: cannot create a temporary directory in ." >&2
2245
{ (exit 1); exit 1; }
2249
# Set up the sed scripts for CONFIG_FILES section.
2252
# No need to generate the scripts if there are no CONFIG_FILES.
2253
# This happens for instance when ./config.status config.h
2254
if test -n "$CONFIG_FILES"; then
2261
for ac_last_try in false false false false false :; do
2262
cat >conf$$subs.sed <<_ACEOF
2263
SHELL!$SHELL$ac_delim
2264
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2265
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2266
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2267
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2268
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2269
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2270
exec_prefix!$exec_prefix$ac_delim
2271
prefix!$prefix$ac_delim
2272
program_transform_name!$program_transform_name$ac_delim
2273
bindir!$bindir$ac_delim
2274
sbindir!$sbindir$ac_delim
2275
libexecdir!$libexecdir$ac_delim
2276
datarootdir!$datarootdir$ac_delim
2277
datadir!$datadir$ac_delim
2278
sysconfdir!$sysconfdir$ac_delim
2279
sharedstatedir!$sharedstatedir$ac_delim
2280
localstatedir!$localstatedir$ac_delim
2281
includedir!$includedir$ac_delim
2282
oldincludedir!$oldincludedir$ac_delim
2283
docdir!$docdir$ac_delim
2284
infodir!$infodir$ac_delim
2285
htmldir!$htmldir$ac_delim
2286
dvidir!$dvidir$ac_delim
2287
pdfdir!$pdfdir$ac_delim
2288
psdir!$psdir$ac_delim
2289
libdir!$libdir$ac_delim
2290
localedir!$localedir$ac_delim
2291
mandir!$mandir$ac_delim
2293
ECHO_C!$ECHO_C$ac_delim
2294
ECHO_N!$ECHO_N$ac_delim
2295
ECHO_T!$ECHO_T$ac_delim
2297
build_alias!$build_alias$ac_delim
2298
host_alias!$host_alias$ac_delim
2299
target_alias!$target_alias$ac_delim
2300
steamcore!$steamcore$ac_delim
2301
configdir!$configdir$ac_delim
2302
LIBOBJS!$LIBOBJS$ac_delim
2303
LTLIBOBJS!$LTLIBOBJS$ac_delim
2306
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
2308
elif $ac_last_try; then
2309
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2310
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2311
{ (exit 1); exit 1; }; }
2313
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2317
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2318
if test -n "$ac_eof"; then
2319
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2320
ac_eof=`expr $ac_eof + 1`
2323
cat >>$CONFIG_STATUS <<_ACEOF
2324
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2325
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2328
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2329
s/^/s,@/; s/!/@,|#_!!_#|/
2332
s/'"$ac_delim"'$/,g/; t
2334
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2335
' >>$CONFIG_STATUS <conf$$subs.sed
2336
rm -f conf$$subs.sed
2337
cat >>$CONFIG_STATUS <<_ACEOF
2344
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2345
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2346
# trailing colons and then remove the whole line if VPATH becomes empty
2347
# (actually we leave an empty line to preserve line numbers).
2348
if test "x$srcdir" = x.; then
2349
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2353
s/^\([^=]*=[ ]*\):*/\1/
2359
cat >>$CONFIG_STATUS <<\_ACEOF
2360
fi # test -n "$CONFIG_FILES"
2363
for ac_tag in :F $CONFIG_FILES
2366
:[FHLC]) ac_mode=$ac_tag; continue;;
2368
case $ac_mode$ac_tag in
2370
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2371
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2372
{ (exit 1); exit 1; }; };;
2373
:[FH]-) ac_tag=-:-;;
2374
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2391
-) ac_f="$tmp/stdin";;
2392
*) # Look for the file first in the build tree, then in the source tree
2393
# (if the path is not absolute). The absolute path cannot be DOS-style,
2394
# because $ac_f cannot contain `:'.
2398
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2400
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2401
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2402
{ (exit 1); exit 1; }; };;
2404
ac_file_inputs="$ac_file_inputs $ac_f"
2407
# Let's still pretend it is `configure' which instantiates (i.e., don't
2408
# use $as_me), people would be surprised to read:
2409
# /* config.h. Generated by config.status. */
2410
configure_input="Generated from "`IFS=:
2411
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2412
if test x"$ac_file" != x-; then
2413
configure_input="$ac_file. $configure_input"
2414
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2415
echo "$as_me: creating $ac_file" >&6;}
2419
*:-:* | *:-) cat >"$tmp/stdin";;
2424
ac_dir=`$as_dirname -- "$ac_file" ||
2425
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2426
X"$ac_file" : 'X\(//\)[^/]' \| \
2427
X"$ac_file" : 'X\(//\)$' \| \
2428
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2430
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2449
-*) as_dir=./$as_dir;;
2451
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2455
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2456
*) as_qdir=$as_dir;;
2458
as_dirs="'$as_qdir' $as_dirs"
2459
as_dir=`$as_dirname -- "$as_dir" ||
2460
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2461
X"$as_dir" : 'X\(//\)[^/]' \| \
2462
X"$as_dir" : 'X\(//\)$' \| \
2463
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2465
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2482
test -d "$as_dir" && break
2484
test -z "$as_dirs" || eval "mkdir $as_dirs"
2485
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2486
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2487
{ (exit 1); exit 1; }; }; }
2491
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2493
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2494
# A ".." for each directory in $ac_dir_suffix.
2495
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2496
case $ac_top_builddir_sub in
2497
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2498
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2501
ac_abs_top_builddir=$ac_pwd
2502
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2503
# for backward compatibility:
2504
ac_top_builddir=$ac_top_build_prefix
2507
.) # We are building in place.
2509
ac_top_srcdir=$ac_top_builddir_sub
2510
ac_abs_top_srcdir=$ac_pwd ;;
2511
[\\/]* | ?:[\\/]* ) # Absolute name.
2512
ac_srcdir=$srcdir$ac_dir_suffix;
2513
ac_top_srcdir=$srcdir
2514
ac_abs_top_srcdir=$srcdir ;;
2516
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2517
ac_top_srcdir=$ac_top_build_prefix$srcdir
2518
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2520
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2531
cat >>$CONFIG_STATUS <<\_ACEOF
2532
# If the template does not know about datarootdir, expand it.
2533
# FIXME: This hack should be removed a few years after 2.60.
2534
ac_datarootdir_hack=; ac_datarootdir_seen=
2536
case `sed -n '/datarootdir/ {
2545
' $ac_file_inputs` in
2546
*datarootdir*) ac_datarootdir_seen=yes;;
2547
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2548
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2549
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2551
cat >>$CONFIG_STATUS <<_ACEOF
2552
ac_datarootdir_hack='
2553
s&@datadir@&$datadir&g
2554
s&@docdir@&$docdir&g
2555
s&@infodir@&$infodir&g
2556
s&@localedir@&$localedir&g
2557
s&@mandir@&$mandir&g
2558
s&\\\${datarootdir}&$datarootdir&g' ;;
2562
# Neutralize VPATH when `$srcdir' = `.'.
2563
# Shell code in configure.ac might set extrasub.
2564
# FIXME: do we really want to maintain this feature?
2565
cat >>$CONFIG_STATUS <<_ACEOF
2569
cat >>$CONFIG_STATUS <<\_ACEOF
2571
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2572
s&@configure_input@&$configure_input&;t t
2573
s&@top_builddir@&$ac_top_builddir_sub&;t t
2574
s&@srcdir@&$ac_srcdir&;t t
2575
s&@abs_srcdir@&$ac_abs_srcdir&;t t
2576
s&@top_srcdir@&$ac_top_srcdir&;t t
2577
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2578
s&@builddir@&$ac_builddir&;t t
2579
s&@abs_builddir@&$ac_abs_builddir&;t t
2580
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2581
$ac_datarootdir_hack
2582
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2584
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2585
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2586
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2587
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2588
which seems to be undefined. Please make sure it is defined." >&5
2589
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2590
which seems to be undefined. Please make sure it is defined." >&2;}
2594
-) cat "$tmp/out"; rm -f "$tmp/out";;
2595
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2606
{ (exit 0); exit 0; }
2608
chmod +x $CONFIG_STATUS
2609
ac_clean_files=$ac_clean_files_save
2612
# configure is writing to config.log, and then calls config.status.
2613
# config.status does its own redirection, appending to config.log.
2614
# Unfortunately, on DOS this fails, as config.log is still kept open
2615
# by configure, so config.status won't be able to write to it; its
2616
# output is simply discarded. So we exec the FD to /dev/null,
2617
# effectively closing config.log, so it can be properly (re)opened and
2618
# appended to by config.status. When coming back to configure, we
2619
# need to make the FD available again.
2620
if test "$no_create" != yes; then
2622
ac_config_status_args=
2623
test "$silent" = yes &&
2624
ac_config_status_args="$ac_config_status_args --quiet"
2626
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2628
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
2629
# would make configure fail if this is the last instruction.
2630
$ac_cs_success || { (exit 1); exit 1; }