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="Makefile.in"
565
# Factoring default headers for most tests.
566
ac_includes_default="\
568
#ifdef HAVE_SYS_TYPES_H
569
# include <sys/types.h>
571
#ifdef HAVE_SYS_STAT_H
572
# include <sys/stat.h>
578
# ifdef HAVE_STDLIB_H
583
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588
#ifdef HAVE_STRINGS_H
589
# include <strings.h>
591
#ifdef HAVE_INTTYPES_H
592
# include <inttypes.h>
610
program_transform_name
661
ac_precious_vars='build_alias
669
ac_subdirs_all='libxslt _XML wiki'
671
# Initialize some variables set by options.
673
ac_init_version=false
674
# The variables have the same names as the options, with
675
# dashes changed to underlines.
683
program_transform_name=s,x,x,
691
# Installation directory options.
692
# These are left unexpanded so users can "make install exec_prefix=/foo"
693
# and all the variables that are supposed to be based on exec_prefix
694
# by default will actually change.
695
# Use braces instead of parens because sh, perl, etc. also accept them.
696
# (The list follows the same order as the GNU Coding Standards.)
697
bindir='${exec_prefix}/bin'
698
sbindir='${exec_prefix}/sbin'
699
libexecdir='${exec_prefix}/libexec'
700
datarootdir='${prefix}/share'
701
datadir='${datarootdir}'
702
sysconfdir='${prefix}/etc'
703
sharedstatedir='${prefix}/com'
704
localstatedir='${prefix}/var'
705
includedir='${prefix}/include'
706
oldincludedir='/usr/include'
707
docdir='${datarootdir}/doc/${PACKAGE}'
708
infodir='${datarootdir}/info'
713
libdir='${exec_prefix}/lib'
714
localedir='${datarootdir}/locale'
715
mandir='${datarootdir}/man'
721
# If the previous option needs an argument, assign it.
722
if test -n "$ac_prev"; then
723
eval $ac_prev=\$ac_option
729
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733
# Accept the important Cygnus configure options, so we can diagnose typos.
735
case $ac_dashdash$ac_option in
739
-bindir | --bindir | --bindi | --bind | --bin | --bi)
741
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
744
-build | --build | --buil | --bui | --bu)
745
ac_prev=build_alias ;;
746
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
747
build_alias=$ac_optarg ;;
749
-cache-file | --cache-file | --cache-fil | --cache-fi \
750
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751
ac_prev=cache_file ;;
752
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754
cache_file=$ac_optarg ;;
757
cache_file=config.cache ;;
759
-datadir | --datadir | --datadi | --datad)
761
-datadir=* | --datadir=* | --datadi=* | --datad=*)
762
datadir=$ac_optarg ;;
764
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765
| --dataroo | --dataro | --datar)
766
ac_prev=datarootdir ;;
767
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769
datarootdir=$ac_optarg ;;
771
-disable-* | --disable-*)
772
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773
# Reject names that are not valid shell variable names.
774
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
775
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
776
{ (exit 1); exit 1; }; }
777
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
778
eval enable_$ac_feature=no ;;
780
-docdir | --docdir | --docdi | --doc | --do)
782
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
785
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
787
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
790
-enable-* | --enable-*)
791
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792
# Reject names that are not valid shell variable names.
793
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
794
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
795
{ (exit 1); exit 1; }; }
796
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
797
eval enable_$ac_feature=\$ac_optarg ;;
799
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
800
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
801
| --exec | --exe | --ex)
802
ac_prev=exec_prefix ;;
803
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
804
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
805
| --exec=* | --exe=* | --ex=*)
806
exec_prefix=$ac_optarg ;;
808
-gas | --gas | --ga | --g)
809
# Obsolete; use --with-gas.
812
-help | --help | --hel | --he | -h)
814
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
815
ac_init_help=recursive ;;
816
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
817
ac_init_help=short ;;
819
-host | --host | --hos | --ho)
820
ac_prev=host_alias ;;
821
-host=* | --host=* | --hos=* | --ho=*)
822
host_alias=$ac_optarg ;;
824
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
826
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
828
htmldir=$ac_optarg ;;
830
-includedir | --includedir | --includedi | --included | --include \
831
| --includ | --inclu | --incl | --inc)
832
ac_prev=includedir ;;
833
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
834
| --includ=* | --inclu=* | --incl=* | --inc=*)
835
includedir=$ac_optarg ;;
837
-infodir | --infodir | --infodi | --infod | --info | --inf)
839
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840
infodir=$ac_optarg ;;
842
-libdir | --libdir | --libdi | --libd)
844
-libdir=* | --libdir=* | --libdi=* | --libd=*)
847
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
848
| --libexe | --libex | --libe)
849
ac_prev=libexecdir ;;
850
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
851
| --libexe=* | --libex=* | --libe=*)
852
libexecdir=$ac_optarg ;;
854
-localedir | --localedir | --localedi | --localed | --locale)
856
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857
localedir=$ac_optarg ;;
859
-localstatedir | --localstatedir | --localstatedi | --localstated \
860
| --localstate | --localstat | --localsta | --localst | --locals)
861
ac_prev=localstatedir ;;
862
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
863
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
864
localstatedir=$ac_optarg ;;
866
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
868
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
872
# Obsolete; use --without-fp.
875
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
876
| --no-cr | --no-c | -n)
879
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
880
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
883
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
884
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
885
| --oldin | --oldi | --old | --ol | --o)
886
ac_prev=oldincludedir ;;
887
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
888
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
889
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
890
oldincludedir=$ac_optarg ;;
892
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
894
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
897
-program-prefix | --program-prefix | --program-prefi | --program-pref \
898
| --program-pre | --program-pr | --program-p)
899
ac_prev=program_prefix ;;
900
-program-prefix=* | --program-prefix=* | --program-prefi=* \
901
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
902
program_prefix=$ac_optarg ;;
904
-program-suffix | --program-suffix | --program-suffi | --program-suff \
905
| --program-suf | --program-su | --program-s)
906
ac_prev=program_suffix ;;
907
-program-suffix=* | --program-suffix=* | --program-suffi=* \
908
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
909
program_suffix=$ac_optarg ;;
911
-program-transform-name | --program-transform-name \
912
| --program-transform-nam | --program-transform-na \
913
| --program-transform-n | --program-transform- \
914
| --program-transform | --program-transfor \
915
| --program-transfo | --program-transf \
916
| --program-trans | --program-tran \
917
| --progr-tra | --program-tr | --program-t)
918
ac_prev=program_transform_name ;;
919
-program-transform-name=* | --program-transform-name=* \
920
| --program-transform-nam=* | --program-transform-na=* \
921
| --program-transform-n=* | --program-transform-=* \
922
| --program-transform=* | --program-transfor=* \
923
| --program-transfo=* | --program-transf=* \
924
| --program-trans=* | --program-tran=* \
925
| --progr-tra=* | --program-tr=* | --program-t=*)
926
program_transform_name=$ac_optarg ;;
928
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
930
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
933
-psdir | --psdir | --psdi | --psd | --ps)
935
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
938
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
939
| -silent | --silent | --silen | --sile | --sil)
942
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
944
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
946
sbindir=$ac_optarg ;;
948
-sharedstatedir | --sharedstatedir | --sharedstatedi \
949
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950
| --sharedst | --shareds | --shared | --share | --shar \
952
ac_prev=sharedstatedir ;;
953
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
957
sharedstatedir=$ac_optarg ;;
959
-site | --site | --sit)
961
-site=* | --site=* | --sit=*)
964
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
966
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
969
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
970
| --syscon | --sysco | --sysc | --sys | --sy)
971
ac_prev=sysconfdir ;;
972
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
973
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
974
sysconfdir=$ac_optarg ;;
976
-target | --target | --targe | --targ | --tar | --ta | --t)
977
ac_prev=target_alias ;;
978
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
979
target_alias=$ac_optarg ;;
981
-v | -verbose | --verbose | --verbos | --verbo | --verb)
984
-version | --version | --versio | --versi | --vers | -V)
988
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989
# Reject names that are not valid shell variable names.
990
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
991
{ echo "$as_me: error: invalid package name: $ac_package" >&2
992
{ (exit 1); exit 1; }; }
993
ac_package=`echo $ac_package| sed 's/-/_/g'`
994
eval with_$ac_package=\$ac_optarg ;;
996
-without-* | --without-*)
997
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998
# Reject names that are not valid shell variable names.
999
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1000
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1001
{ (exit 1); exit 1; }; }
1002
ac_package=`echo $ac_package | sed 's/-/_/g'`
1003
eval with_$ac_package=no ;;
1006
# Obsolete; use --with-x.
1009
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010
| --x-incl | --x-inc | --x-in | --x-i)
1011
ac_prev=x_includes ;;
1012
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014
x_includes=$ac_optarg ;;
1016
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1017
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018
ac_prev=x_libraries ;;
1019
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021
x_libraries=$ac_optarg ;;
1023
-*) { echo "$as_me: error: unrecognized option: $ac_option
1024
Try \`$0 --help' for more information." >&2
1025
{ (exit 1); exit 1; }; }
1029
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030
# Reject names that are not valid shell variable names.
1031
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1032
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033
{ (exit 1); exit 1; }; }
1034
eval $ac_envvar=\$ac_optarg
1035
export $ac_envvar ;;
1038
# FIXME: should be removed in autoconf 3.0.
1039
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1048
if test -n "$ac_prev"; then
1049
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050
{ echo "$as_me: error: missing argument to $ac_option" >&2
1051
{ (exit 1); exit 1; }; }
1054
# Be sure to have absolute directory names.
1055
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056
datadir sysconfdir sharedstatedir localstatedir includedir \
1057
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058
libdir localedir mandir
1060
eval ac_val=\$$ac_var
1062
[\\/$]* | ?:[\\/]* ) continue;;
1063
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1065
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1066
{ (exit 1); exit 1; }; }
1069
# There might be people who depend on the old broken behavior: `$host'
1070
# used to hold the argument of --host etc.
1071
# FIXME: To remove some day.
1074
target=$target_alias
1076
# FIXME: To remove some day.
1077
if test "x$host_alias" != x; then
1078
if test "x$build_alias" = x; then
1079
cross_compiling=maybe
1080
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1081
If a cross compiler is detected then cross compile mode will be used." >&2
1082
elif test "x$build_alias" != "x$host_alias"; then
1088
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1090
test "$silent" = yes && exec 6>/dev/null
1093
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1094
ac_ls_di=`ls -di .` &&
1095
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1096
{ echo "$as_me: error: Working directory cannot be determined" >&2
1097
{ (exit 1); exit 1; }; }
1098
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1100
{ (exit 1); exit 1; }; }
1103
# Find the source files, if location was not specified.
1104
if test -z "$srcdir"; then
1105
ac_srcdir_defaulted=yes
1106
# Try the directory containing this script, then the parent directory.
1107
ac_confdir=`$as_dirname -- "$0" ||
1108
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109
X"$0" : 'X\(//\)[^/]' \| \
1110
X"$0" : 'X\(//\)$' \| \
1111
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1113
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1131
if test ! -r "$srcdir/$ac_unique_file"; then
1135
ac_srcdir_defaulted=no
1137
if test ! -r "$srcdir/$ac_unique_file"; then
1138
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1139
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140
{ (exit 1); exit 1; }; }
1142
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1144
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1145
{ (exit 1); exit 1; }; }
1147
# When building in place, set srcdir=.
1148
if test "$ac_abs_confdir" = "$ac_pwd"; then
1151
# Remove unnecessary trailing slashes from srcdir.
1152
# Double slashes in file names in object file debugging info
1153
# mess up M-x gdb in Emacs.
1155
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1157
for ac_var in $ac_precious_vars; do
1158
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1159
eval ac_env_${ac_var}_value=\$${ac_var}
1160
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1161
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1165
# Report the --help message.
1167
if test "$ac_init_help" = "long"; then
1168
# Omit some internal or obsolete options to make the list less imposing.
1169
# This message is too long to be a string in the A/UX 3.1 sh.
1171
\`configure' configures this package to adapt to many kinds of systems.
1173
Usage: $0 [OPTION]... [VAR=VALUE]...
1175
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176
VAR=VALUE. See below for descriptions of some of the useful variables.
1178
Defaults for the options are specified in brackets.
1181
-h, --help display this help and exit
1182
--help=short display options specific to this package
1183
--help=recursive display the short help of all the included packages
1184
-V, --version display version information and exit
1185
-q, --quiet, --silent do not print \`checking...' messages
1186
--cache-file=FILE cache test results in FILE [disabled]
1187
-C, --config-cache alias for \`--cache-file=config.cache'
1188
-n, --no-create do not create output files
1189
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1191
Installation directories:
1192
--prefix=PREFIX install architecture-independent files in PREFIX
1193
[$ac_default_prefix]
1194
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1197
By default, \`make install' will install all the files in
1198
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1199
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200
for instance \`--prefix=\$HOME'.
1202
For better control, use the options below.
1204
Fine tuning of the installation directories:
1205
--bindir=DIR user executables [EPREFIX/bin]
1206
--sbindir=DIR system admin executables [EPREFIX/sbin]
1207
--libexecdir=DIR program executables [EPREFIX/libexec]
1208
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1209
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1210
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1211
--libdir=DIR object code libraries [EPREFIX/lib]
1212
--includedir=DIR C header files [PREFIX/include]
1213
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1214
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1215
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1216
--infodir=DIR info documentation [DATAROOTDIR/info]
1217
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1218
--mandir=DIR man documentation [DATAROOTDIR/man]
1219
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1220
--htmldir=DIR html documentation [DOCDIR]
1221
--dvidir=DIR dvi documentation [DOCDIR]
1222
--pdfdir=DIR pdf documentation [DOCDIR]
1223
--psdir=DIR ps documentation [DOCDIR]
1230
if test -n "$ac_init_help"; then
1235
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1236
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1237
--disable-xmltest Do not try to compile and run a test LIBXML program
1240
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1241
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1242
--with-xml-prefix=PFX Prefix where libxml is installed (optional)
1243
--with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
1244
--with-xslt-libdir=xslt-dir
1245
Use path for xslt library
1247
Some influential environment variables:
1248
CC C compiler command
1249
CFLAGS C compiler flags
1250
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1251
nonstandard directory <lib dir>
1252
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1253
you have headers in a nonstandard directory <include dir>
1256
Use these variables to override the choices made by `configure' or to help
1257
it to find libraries and programs with nonstandard names/locations.
1263
if test "$ac_init_help" = "recursive"; then
1264
# If there are subdirs, report their specific --help.
1265
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1266
test -d "$ac_dir" || continue
1270
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1272
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1273
# A ".." for each directory in $ac_dir_suffix.
1274
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1275
case $ac_top_builddir_sub in
1276
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1280
ac_abs_top_builddir=$ac_pwd
1281
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1282
# for backward compatibility:
1283
ac_top_builddir=$ac_top_build_prefix
1286
.) # We are building in place.
1288
ac_top_srcdir=$ac_top_builddir_sub
1289
ac_abs_top_srcdir=$ac_pwd ;;
1290
[\\/]* | ?:[\\/]* ) # Absolute name.
1291
ac_srcdir=$srcdir$ac_dir_suffix;
1292
ac_top_srcdir=$srcdir
1293
ac_abs_top_srcdir=$srcdir ;;
1295
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1296
ac_top_srcdir=$ac_top_build_prefix$srcdir
1297
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1299
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1301
cd "$ac_dir" || { ac_status=$?; continue; }
1302
# Check for guested configure.
1303
if test -f "$ac_srcdir/configure.gnu"; then
1305
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1306
elif test -f "$ac_srcdir/configure"; then
1308
$SHELL "$ac_srcdir/configure" --help=recursive
1310
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1312
cd "$ac_pwd" || { ac_status=$?; break; }
1316
test -n "$ac_init_help" && exit $ac_status
1317
if $ac_init_version; then
1320
generated by GNU Autoconf 2.60a
1322
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1323
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1324
This configure script is free software; the Free Software Foundation
1325
gives unlimited permission to copy, distribute and modify it.
1329
cat >config.log <<_ACEOF
1330
This file contains any messages produced by compilers while
1331
running configure, to aid debugging if configure makes a mistake.
1333
It was created by $as_me, which was
1334
generated by GNU Autoconf 2.60a. Invocation command line was
1346
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1347
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1348
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1349
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1350
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1352
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1353
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1355
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1356
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1357
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1358
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1359
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1360
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1361
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369
test -z "$as_dir" && as_dir=.
1370
echo "PATH: $as_dir"
1386
# Keep a trace of the command line.
1387
# Strip out --no-create and --no-recursion so they do not pile up.
1388
# Strip out --silent because we don't want to record it for future runs.
1389
# Also quote any args containing shell meta-characters.
1390
# Make two passes to allow for proper duplicate-argument suppression.
1394
ac_must_keep_next=false
1400
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1401
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1402
| -silent | --silent | --silen | --sile | --sil)
1405
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1408
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1410
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1411
if test $ac_must_keep_next = true; then
1412
ac_must_keep_next=false # Got value, back to normal.
1415
*=* | --config-cache | -C | -disable-* | --disable-* \
1416
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1417
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1418
| -with-* | --with-* | -without-* | --without-* | --x)
1419
case "$ac_configure_args0 " in
1420
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1423
-* ) ac_must_keep_next=true ;;
1426
ac_configure_args="$ac_configure_args '$ac_arg'"
1431
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1432
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1434
# When interrupted or exit'd, cleanup temporary files, and complete
1435
# config.log. We remove comments because anyway the quotes in there
1436
# would cause problems or look ugly.
1437
# WARNING: Use '\'' to represent an apostrophe within the trap.
1438
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1439
trap 'exit_status=$?
1440
# Save into config.log some information that might help in debugging.
1445
## ---------------- ##
1446
## Cache variables. ##
1447
## ---------------- ##
1450
# The following way of writing the cache mishandles newlines in values,
1452
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1453
eval ac_val=\$$ac_var
1457
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1458
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1461
_ | IFS | as_nl) ;; #(
1462
*) $as_unset $ac_var ;;
1467
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1468
*${as_nl}ac_space=\ *)
1470
"s/'\''/'\''\\\\'\'''\''/g;
1471
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1474
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1482
## ----------------- ##
1483
## Output variables. ##
1484
## ----------------- ##
1487
for ac_var in $ac_subst_vars
1489
eval ac_val=\$$ac_var
1491
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1493
echo "$ac_var='\''$ac_val'\''"
1497
if test -n "$ac_subst_files"; then
1499
## ------------------- ##
1500
## File substitutions. ##
1501
## ------------------- ##
1504
for ac_var in $ac_subst_files
1506
eval ac_val=\$$ac_var
1508
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1510
echo "$ac_var='\''$ac_val'\''"
1515
if test -s confdefs.h; then
1525
test "$ac_signal" != 0 &&
1526
echo "$as_me: caught signal $ac_signal"
1527
echo "$as_me: exit $exit_status"
1529
rm -f core *.core core.conftest.* &&
1530
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1533
for ac_signal in 1 2 13 15; do
1534
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1538
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1539
rm -f -r conftest* confdefs.h
1541
# Predefined preprocessor variables.
1543
cat >>confdefs.h <<_ACEOF
1544
#define PACKAGE_NAME "$PACKAGE_NAME"
1548
cat >>confdefs.h <<_ACEOF
1549
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553
cat >>confdefs.h <<_ACEOF
1554
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1558
cat >>confdefs.h <<_ACEOF
1559
#define PACKAGE_STRING "$PACKAGE_STRING"
1563
cat >>confdefs.h <<_ACEOF
1564
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568
# Let the site file select an alternate cache file if it wants to.
1569
# Prefer explicitly selected file to automatically selected ones.
1570
if test -n "$CONFIG_SITE"; then
1571
set x "$CONFIG_SITE"
1572
elif test "x$prefix" != xNONE; then
1573
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1575
set x "$ac_default_prefix/share/config.site" \
1576
"$ac_default_prefix/etc/config.site"
1581
if test -r "$ac_site_file"; then
1582
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583
echo "$as_me: loading site script $ac_site_file" >&6;}
1584
sed 's/^/| /' "$ac_site_file" >&5
1589
if test -r "$cache_file"; then
1590
# Some versions of bash will fail to source /dev/null (special
1591
# files actually), so we avoid doing that.
1592
if test -f "$cache_file"; then
1593
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594
echo "$as_me: loading cache $cache_file" >&6;}
1596
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1597
*) . "./$cache_file";;
1601
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602
echo "$as_me: creating cache $cache_file" >&6;}
1606
# Check that the precious variables saved in the cache have kept the same
1608
ac_cache_corrupted=false
1609
for ac_var in $ac_precious_vars; do
1610
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1611
eval ac_new_set=\$ac_env_${ac_var}_set
1612
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1613
eval ac_new_val=\$ac_env_${ac_var}_value
1614
case $ac_old_set,$ac_new_set in
1616
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1617
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1618
ac_cache_corrupted=: ;;
1620
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1621
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1622
ac_cache_corrupted=: ;;
1625
if test "x$ac_old_val" != "x$ac_new_val"; then
1626
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1627
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1628
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1629
echo "$as_me: former value: $ac_old_val" >&2;}
1630
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1631
echo "$as_me: current value: $ac_new_val" >&2;}
1632
ac_cache_corrupted=:
1635
# Pass precious variables to config.status.
1636
if test "$ac_new_set" = set; then
1638
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1639
*) ac_arg=$ac_var=$ac_new_val ;;
1641
case " $ac_configure_args " in
1642
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1643
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647
if $ac_cache_corrupted; then
1648
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1649
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1650
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1651
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1652
{ (exit 1); exit 1; }; }
1672
ac_cpp='$CPP $CPPFLAGS'
1673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1674
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1675
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1680
{ echo "$as_me:$LINENO: checking For libxml2 includes" >&5
1681
echo $ECHO_N "checking For libxml2 includes... $ECHO_C" >&6; }
1682
# check for libxml2 include directories.
1684
ac_cpp='$CPP $CPPFLAGS'
1685
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1686
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1687
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1688
if test -n "$ac_tool_prefix"; then
1689
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1690
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1691
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1692
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1693
if test "${ac_cv_prog_CC+set}" = set; then
1694
echo $ECHO_N "(cached) $ECHO_C" >&6
1696
if test -n "$CC"; then
1697
ac_cv_prog_CC="$CC" # Let the user override the test.
1699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703
test -z "$as_dir" && as_dir=.
1704
for ac_exec_ext in '' $ac_executable_extensions; do
1705
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1706
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1707
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1717
if test -n "$CC"; then
1718
{ echo "$as_me:$LINENO: result: $CC" >&5
1719
echo "${ECHO_T}$CC" >&6; }
1721
{ echo "$as_me:$LINENO: result: no" >&5
1722
echo "${ECHO_T}no" >&6; }
1727
if test -z "$ac_cv_prog_CC"; then
1729
# Extract the first word of "gcc", so it can be a program name with args.
1730
set dummy gcc; ac_word=$2
1731
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1732
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1733
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1734
echo $ECHO_N "(cached) $ECHO_C" >&6
1736
if test -n "$ac_ct_CC"; then
1737
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743
test -z "$as_dir" && as_dir=.
1744
for ac_exec_ext in '' $ac_executable_extensions; do
1745
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1746
ac_cv_prog_ac_ct_CC="gcc"
1747
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1757
if test -n "$ac_ct_CC"; then
1758
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1759
echo "${ECHO_T}$ac_ct_CC" >&6; }
1761
{ echo "$as_me:$LINENO: result: no" >&5
1762
echo "${ECHO_T}no" >&6; }
1765
if test "x$ac_ct_CC" = x; then
1768
case $cross_compiling:$ac_tool_warned in
1770
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1771
whose name does not start with the host triplet. If you think this
1772
configuration is useful to you, please write to autoconf@gnu.org." >&5
1773
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1774
whose name does not start with the host triplet. If you think this
1775
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1776
ac_tool_warned=yes ;;
1784
if test -z "$CC"; then
1785
if test -n "$ac_tool_prefix"; then
1786
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1787
set dummy ${ac_tool_prefix}cc; ac_word=$2
1788
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1789
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1790
if test "${ac_cv_prog_CC+set}" = set; then
1791
echo $ECHO_N "(cached) $ECHO_C" >&6
1793
if test -n "$CC"; then
1794
ac_cv_prog_CC="$CC" # Let the user override the test.
1796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800
test -z "$as_dir" && as_dir=.
1801
for ac_exec_ext in '' $ac_executable_extensions; do
1802
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1803
ac_cv_prog_CC="${ac_tool_prefix}cc"
1804
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814
if test -n "$CC"; then
1815
{ echo "$as_me:$LINENO: result: $CC" >&5
1816
echo "${ECHO_T}$CC" >&6; }
1818
{ echo "$as_me:$LINENO: result: no" >&5
1819
echo "${ECHO_T}no" >&6; }
1825
if test -z "$CC"; then
1826
# Extract the first word of "cc", so it can be a program name with args.
1827
set dummy cc; ac_word=$2
1828
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1829
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1830
if test "${ac_cv_prog_CC+set}" = set; then
1831
echo $ECHO_N "(cached) $ECHO_C" >&6
1833
if test -n "$CC"; then
1834
ac_cv_prog_CC="$CC" # Let the user override the test.
1837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841
test -z "$as_dir" && as_dir=.
1842
for ac_exec_ext in '' $ac_executable_extensions; do
1843
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1844
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1845
ac_prog_rejected=yes
1849
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856
if test $ac_prog_rejected = yes; then
1857
# We found a bogon in the path, so make sure we never use it.
1858
set dummy $ac_cv_prog_CC
1860
if test $# != 0; then
1861
# We chose a different compiler from the bogus one.
1862
# However, it has the same basename, so the bogon will be chosen
1863
# first if we set CC to just the basename; use the full file name.
1865
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1871
if test -n "$CC"; then
1872
{ echo "$as_me:$LINENO: result: $CC" >&5
1873
echo "${ECHO_T}$CC" >&6; }
1875
{ echo "$as_me:$LINENO: result: no" >&5
1876
echo "${ECHO_T}no" >&6; }
1881
if test -z "$CC"; then
1882
if test -n "$ac_tool_prefix"; then
1883
for ac_prog in cl.exe
1885
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1886
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1887
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889
if test "${ac_cv_prog_CC+set}" = set; then
1890
echo $ECHO_N "(cached) $ECHO_C" >&6
1892
if test -n "$CC"; then
1893
ac_cv_prog_CC="$CC" # Let the user override the test.
1895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899
test -z "$as_dir" && as_dir=.
1900
for ac_exec_ext in '' $ac_executable_extensions; do
1901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1902
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1903
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913
if test -n "$CC"; then
1914
{ echo "$as_me:$LINENO: result: $CC" >&5
1915
echo "${ECHO_T}$CC" >&6; }
1917
{ echo "$as_me:$LINENO: result: no" >&5
1918
echo "${ECHO_T}no" >&6; }
1922
test -n "$CC" && break
1925
if test -z "$CC"; then
1927
for ac_prog in cl.exe
1929
# Extract the first word of "$ac_prog", so it can be a program name with args.
1930
set dummy $ac_prog; ac_word=$2
1931
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1932
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1934
echo $ECHO_N "(cached) $ECHO_C" >&6
1936
if test -n "$ac_ct_CC"; then
1937
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943
test -z "$as_dir" && as_dir=.
1944
for ac_exec_ext in '' $ac_executable_extensions; do
1945
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1946
ac_cv_prog_ac_ct_CC="$ac_prog"
1947
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1957
if test -n "$ac_ct_CC"; then
1958
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1959
echo "${ECHO_T}$ac_ct_CC" >&6; }
1961
{ echo "$as_me:$LINENO: result: no" >&5
1962
echo "${ECHO_T}no" >&6; }
1966
test -n "$ac_ct_CC" && break
1969
if test "x$ac_ct_CC" = x; then
1972
case $cross_compiling:$ac_tool_warned in
1974
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1975
whose name does not start with the host triplet. If you think this
1976
configuration is useful to you, please write to autoconf@gnu.org." >&5
1977
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1978
whose name does not start with the host triplet. If you think this
1979
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1980
ac_tool_warned=yes ;;
1989
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1990
See \`config.log' for more details." >&5
1991
echo "$as_me: error: no acceptable C compiler found in \$PATH
1992
See \`config.log' for more details." >&2;}
1993
{ (exit 1); exit 1; }; }
1995
# Provide some information about the compiler.
1996
echo "$as_me:$LINENO: checking for C compiler version" >&5
1997
ac_compiler=`set X $ac_compile; echo $2`
1998
{ (ac_try="$ac_compiler --version >&5"
2000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001
*) ac_try_echo=$ac_try;;
2003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2004
(eval "$ac_compiler --version >&5") 2>&5
2006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007
(exit $ac_status); }
2008
{ (ac_try="$ac_compiler -v >&5"
2010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2011
*) ac_try_echo=$ac_try;;
2013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2014
(eval "$ac_compiler -v >&5") 2>&5
2016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017
(exit $ac_status); }
2018
{ (ac_try="$ac_compiler -V >&5"
2020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021
*) ac_try_echo=$ac_try;;
2023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2024
(eval "$ac_compiler -V >&5") 2>&5
2026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027
(exit $ac_status); }
2029
cat >conftest.$ac_ext <<_ACEOF
2032
cat confdefs.h >>conftest.$ac_ext
2033
cat >>conftest.$ac_ext <<_ACEOF
2034
/* end confdefs.h. */
2044
ac_clean_files_save=$ac_clean_files
2045
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2046
# Try to create an executable without -o first, disregard a.out.
2047
# It will help us diagnose broken compilers, and finding out an intuition
2049
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2050
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2051
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2053
# List of possible output files, starting from the most likely.
2054
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2055
# only as a last resort. b.out is created by i960 compilers.
2056
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2058
# The IRIX 6 linker writes into existing files which may not be
2059
# executable, retaining their permissions. Remove them first so a
2060
# subsequent execution test works.
2062
for ac_file in $ac_files
2065
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2066
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2071
if { (ac_try="$ac_link_default"
2073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074
*) ac_try_echo=$ac_try;;
2076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2077
(eval "$ac_link_default") 2>&5
2079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080
(exit $ac_status); }; then
2081
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2082
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2083
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2084
# so that the user can short-circuit this test for compilers unknown to
2086
for ac_file in $ac_files ''
2088
test -f "$ac_file" || continue
2090
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2093
# We found the default executable, but exeext='' is most
2097
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2099
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2101
# We set ac_cv_exeext here because the later test for it is not
2102
# safe: cross compilers may not add the suffix if given an `-o'
2103
# argument, so we may need to know it at that point already.
2104
# Even if this section looks crufty: it has the advantage of
2111
test "$ac_cv_exeext" = no && ac_cv_exeext=
2117
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2118
echo "${ECHO_T}$ac_file" >&6; }
2119
if test -z "$ac_file"; then
2120
echo "$as_me: failed program was:" >&5
2121
sed 's/^/| /' conftest.$ac_ext >&5
2123
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2124
See \`config.log' for more details." >&5
2125
echo "$as_me: error: C compiler cannot create executables
2126
See \`config.log' for more details." >&2;}
2127
{ (exit 77); exit 77; }; }
2130
ac_exeext=$ac_cv_exeext
2132
# Check that the compiler produces executables we can run. If not, either
2133
# the compiler is broken, or we cross compile.
2134
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2135
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2136
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2137
# If not cross compiling, check that we can run a simple program.
2138
if test "$cross_compiling" != yes; then
2139
if { ac_try='./$ac_file'
2140
{ (case "(($ac_try" in
2141
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142
*) ac_try_echo=$ac_try;;
2144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2145
(eval "$ac_try") 2>&5
2147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148
(exit $ac_status); }; }; then
2151
if test "$cross_compiling" = maybe; then
2154
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2155
If you meant to cross compile, use \`--host'.
2156
See \`config.log' for more details." >&5
2157
echo "$as_me: error: cannot run C compiled programs.
2158
If you meant to cross compile, use \`--host'.
2159
See \`config.log' for more details." >&2;}
2160
{ (exit 1); exit 1; }; }
2164
{ echo "$as_me:$LINENO: result: yes" >&5
2165
echo "${ECHO_T}yes" >&6; }
2167
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2168
ac_clean_files=$ac_clean_files_save
2169
# Check that the compiler produces executables we can run. If not, either
2170
# the compiler is broken, or we cross compile.
2171
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2172
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2173
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2174
echo "${ECHO_T}$cross_compiling" >&6; }
2176
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2177
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2178
if { (ac_try="$ac_link"
2180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181
*) ac_try_echo=$ac_try;;
2183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2184
(eval "$ac_link") 2>&5
2186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
(exit $ac_status); }; then
2188
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2189
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2190
# work properly (i.e., refer to `conftest.exe'), while it won't with
2192
for ac_file in conftest.exe conftest conftest.*; do
2193
test -f "$ac_file" || continue
2195
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2196
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2202
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2203
See \`config.log' for more details." >&5
2204
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2205
See \`config.log' for more details." >&2;}
2206
{ (exit 1); exit 1; }; }
2209
rm -f conftest$ac_cv_exeext
2210
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2211
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2213
rm -f conftest.$ac_ext
2214
EXEEXT=$ac_cv_exeext
2216
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2217
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2218
if test "${ac_cv_objext+set}" = set; then
2219
echo $ECHO_N "(cached) $ECHO_C" >&6
2221
cat >conftest.$ac_ext <<_ACEOF
2224
cat confdefs.h >>conftest.$ac_ext
2225
cat >>conftest.$ac_ext <<_ACEOF
2226
/* end confdefs.h. */
2236
rm -f conftest.o conftest.obj
2237
if { (ac_try="$ac_compile"
2239
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240
*) ac_try_echo=$ac_try;;
2242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2243
(eval "$ac_compile") 2>&5
2245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246
(exit $ac_status); }; then
2247
for ac_file in conftest.o conftest.obj conftest.*; do
2248
test -f "$ac_file" || continue;
2250
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2251
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2256
echo "$as_me: failed program was:" >&5
2257
sed 's/^/| /' conftest.$ac_ext >&5
2259
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2260
See \`config.log' for more details." >&5
2261
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2262
See \`config.log' for more details." >&2;}
2263
{ (exit 1); exit 1; }; }
2266
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2268
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2269
echo "${ECHO_T}$ac_cv_objext" >&6; }
2270
OBJEXT=$ac_cv_objext
2272
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2273
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2274
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2275
echo $ECHO_N "(cached) $ECHO_C" >&6
2277
cat >conftest.$ac_ext <<_ACEOF
2280
cat confdefs.h >>conftest.$ac_ext
2281
cat >>conftest.$ac_ext <<_ACEOF
2282
/* end confdefs.h. */
2295
rm -f conftest.$ac_objext
2296
if { (ac_try="$ac_compile"
2298
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299
*) ac_try_echo=$ac_try;;
2301
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2302
(eval "$ac_compile") 2>conftest.er1
2304
grep -v '^ *+' conftest.er1 >conftest.err
2306
cat conftest.err >&5
2307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308
(exit $ac_status); } &&
2309
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2310
{ (case "(($ac_try" in
2311
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312
*) ac_try_echo=$ac_try;;
2314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2315
(eval "$ac_try") 2>&5
2317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318
(exit $ac_status); }; } &&
2319
{ ac_try='test -s conftest.$ac_objext'
2320
{ (case "(($ac_try" in
2321
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322
*) ac_try_echo=$ac_try;;
2324
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2325
(eval "$ac_try") 2>&5
2327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
(exit $ac_status); }; }; then
2331
echo "$as_me: failed program was:" >&5
2332
sed 's/^/| /' conftest.$ac_ext >&5
2337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2341
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2342
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2343
GCC=`test $ac_compiler_gnu = yes && echo yes`
2344
ac_test_CFLAGS=${CFLAGS+set}
2345
ac_save_CFLAGS=$CFLAGS
2346
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2347
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2348
if test "${ac_cv_prog_cc_g+set}" = set; then
2349
echo $ECHO_N "(cached) $ECHO_C" >&6
2351
ac_save_c_werror_flag=$ac_c_werror_flag
2352
ac_c_werror_flag=yes
2355
cat >conftest.$ac_ext <<_ACEOF
2358
cat confdefs.h >>conftest.$ac_ext
2359
cat >>conftest.$ac_ext <<_ACEOF
2360
/* end confdefs.h. */
2370
rm -f conftest.$ac_objext
2371
if { (ac_try="$ac_compile"
2373
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374
*) ac_try_echo=$ac_try;;
2376
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377
(eval "$ac_compile") 2>conftest.er1
2379
grep -v '^ *+' conftest.er1 >conftest.err
2381
cat conftest.err >&5
2382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383
(exit $ac_status); } &&
2384
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2385
{ (case "(($ac_try" in
2386
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387
*) ac_try_echo=$ac_try;;
2389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390
(eval "$ac_try") 2>&5
2392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393
(exit $ac_status); }; } &&
2394
{ ac_try='test -s conftest.$ac_objext'
2395
{ (case "(($ac_try" in
2396
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397
*) ac_try_echo=$ac_try;;
2399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400
(eval "$ac_try") 2>&5
2402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403
(exit $ac_status); }; }; then
2406
echo "$as_me: failed program was:" >&5
2407
sed 's/^/| /' conftest.$ac_ext >&5
2410
cat >conftest.$ac_ext <<_ACEOF
2413
cat confdefs.h >>conftest.$ac_ext
2414
cat >>conftest.$ac_ext <<_ACEOF
2415
/* end confdefs.h. */
2425
rm -f conftest.$ac_objext
2426
if { (ac_try="$ac_compile"
2428
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429
*) ac_try_echo=$ac_try;;
2431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432
(eval "$ac_compile") 2>conftest.er1
2434
grep -v '^ *+' conftest.er1 >conftest.err
2436
cat conftest.err >&5
2437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438
(exit $ac_status); } &&
2439
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2440
{ (case "(($ac_try" in
2441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442
*) ac_try_echo=$ac_try;;
2444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2445
(eval "$ac_try") 2>&5
2447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448
(exit $ac_status); }; } &&
2449
{ ac_try='test -s conftest.$ac_objext'
2450
{ (case "(($ac_try" in
2451
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452
*) ac_try_echo=$ac_try;;
2454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2455
(eval "$ac_try") 2>&5
2457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458
(exit $ac_status); }; }; then
2461
echo "$as_me: failed program was:" >&5
2462
sed 's/^/| /' conftest.$ac_ext >&5
2464
ac_c_werror_flag=$ac_save_c_werror_flag
2466
cat >conftest.$ac_ext <<_ACEOF
2469
cat confdefs.h >>conftest.$ac_ext
2470
cat >>conftest.$ac_ext <<_ACEOF
2471
/* end confdefs.h. */
2481
rm -f conftest.$ac_objext
2482
if { (ac_try="$ac_compile"
2484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485
*) ac_try_echo=$ac_try;;
2487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488
(eval "$ac_compile") 2>conftest.er1
2490
grep -v '^ *+' conftest.er1 >conftest.err
2492
cat conftest.err >&5
2493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
(exit $ac_status); } &&
2495
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2496
{ (case "(($ac_try" in
2497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498
*) ac_try_echo=$ac_try;;
2500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501
(eval "$ac_try") 2>&5
2503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
(exit $ac_status); }; } &&
2505
{ ac_try='test -s conftest.$ac_objext'
2506
{ (case "(($ac_try" in
2507
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2508
*) ac_try_echo=$ac_try;;
2510
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2511
(eval "$ac_try") 2>&5
2513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514
(exit $ac_status); }; }; then
2517
echo "$as_me: failed program was:" >&5
2518
sed 's/^/| /' conftest.$ac_ext >&5
2523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530
ac_c_werror_flag=$ac_save_c_werror_flag
2532
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2533
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2534
if test "$ac_test_CFLAGS" = set; then
2535
CFLAGS=$ac_save_CFLAGS
2536
elif test $ac_cv_prog_cc_g = yes; then
2537
if test "$GCC" = yes; then
2543
if test "$GCC" = yes; then
2549
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2550
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2551
if test "${ac_cv_prog_cc_c89+set}" = set; then
2552
echo $ECHO_N "(cached) $ECHO_C" >&6
2554
ac_cv_prog_cc_c89=no
2556
cat >conftest.$ac_ext <<_ACEOF
2559
cat confdefs.h >>conftest.$ac_ext
2560
cat >>conftest.$ac_ext <<_ACEOF
2561
/* end confdefs.h. */
2564
#include <sys/types.h>
2565
#include <sys/stat.h>
2566
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2567
struct buf { int x; };
2568
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2569
static char *e (p, i)
2575
static char *f (char * (*g) (char **, int), char **p, ...)
2580
s = g (p, va_arg (v,int));
2585
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2586
function prototypes and stuff, but not '\xHH' hex character constants.
2587
These don't provoke an error unfortunately, instead are silently treated
2588
as 'x'. The following induces an error, until -std is added to get
2589
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2590
array size at least. It's necessary to write '\x00'==0 to get something
2591
that's true only with -std. */
2592
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2594
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2595
inside strings and character constants. */
2597
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2599
int test (int i, double x);
2600
struct s1 {int (*f) (int a);};
2601
struct s2 {int (*f) (double a);};
2602
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2608
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2613
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2614
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2616
CC="$ac_save_CC $ac_arg"
2617
rm -f conftest.$ac_objext
2618
if { (ac_try="$ac_compile"
2620
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621
*) ac_try_echo=$ac_try;;
2623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624
(eval "$ac_compile") 2>conftest.er1
2626
grep -v '^ *+' conftest.er1 >conftest.err
2628
cat conftest.err >&5
2629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630
(exit $ac_status); } &&
2631
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2632
{ (case "(($ac_try" in
2633
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634
*) ac_try_echo=$ac_try;;
2636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637
(eval "$ac_try") 2>&5
2639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640
(exit $ac_status); }; } &&
2641
{ ac_try='test -s conftest.$ac_objext'
2642
{ (case "(($ac_try" in
2643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644
*) ac_try_echo=$ac_try;;
2646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647
(eval "$ac_try") 2>&5
2649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650
(exit $ac_status); }; }; then
2651
ac_cv_prog_cc_c89=$ac_arg
2653
echo "$as_me: failed program was:" >&5
2654
sed 's/^/| /' conftest.$ac_ext >&5
2659
rm -f core conftest.err conftest.$ac_objext
2660
test "x$ac_cv_prog_cc_c89" != "xno" && break
2662
rm -f conftest.$ac_ext
2667
case "x$ac_cv_prog_cc_c89" in
2669
{ echo "$as_me:$LINENO: result: none needed" >&5
2670
echo "${ECHO_T}none needed" >&6; } ;;
2672
{ echo "$as_me:$LINENO: result: unsupported" >&5
2673
echo "${ECHO_T}unsupported" >&6; } ;;
2675
CC="$CC $ac_cv_prog_cc_c89"
2676
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2677
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2682
ac_cpp='$CPP $CPPFLAGS'
2683
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2690
# Check whether --with-xml-prefix was given.
2691
if test "${with_xml_prefix+set}" = set; then
2692
withval=$with_xml_prefix; xml_config_prefix="$withval"
2694
xml_config_prefix=""
2698
# Check whether --with-xml-exec-prefix was given.
2699
if test "${with_xml_exec_prefix+set}" = set; then
2700
withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
2702
xml_config_exec_prefix=""
2705
# Check whether --enable-xmltest was given.
2706
if test "${enable_xmltest+set}" = set; then
2707
enableval=$enable_xmltest;
2713
if test x$xml_config_exec_prefix != x ; then
2714
xml_config_args="$xml_config_args"
2715
if test x${XML2_CONFIG+set} != xset ; then
2716
XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
2719
if test x$xml_config_prefix != x ; then
2720
xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
2721
if test x${XML2_CONFIG+set} != xset ; then
2722
XML2_CONFIG=$xml_config_prefix/bin/xml2-config
2726
# Extract the first word of "xml2-config", so it can be a program name with args.
2727
set dummy xml2-config; ac_word=$2
2728
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2729
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2730
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
2731
echo $ECHO_N "(cached) $ECHO_C" >&6
2733
case $XML2_CONFIG in
2735
ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
2738
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742
test -z "$as_dir" && as_dir=.
2743
for ac_exec_ext in '' $ac_executable_extensions; do
2744
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2745
ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2746
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2753
test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
2757
XML2_CONFIG=$ac_cv_path_XML2_CONFIG
2758
if test -n "$XML2_CONFIG"; then
2759
{ echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
2760
echo "${ECHO_T}$XML2_CONFIG" >&6; }
2762
{ echo "$as_me:$LINENO: result: no" >&5
2763
echo "${ECHO_T}no" >&6; }
2767
min_xml_version=2.4.1
2768
{ echo "$as_me:$LINENO: checking for libxml - version >= $min_xml_version" >&5
2769
echo $ECHO_N "checking for libxml - version >= $min_xml_version... $ECHO_C" >&6; }
2771
if test "$XML2_CONFIG" = "no" ; then
2774
XML_CFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
2775
XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
2776
xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
2777
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2778
xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
2779
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2780
xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
2781
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2782
if test "x$enable_xmltest" = "xyes" ; then
2783
ac_save_CFLAGS="$CFLAGS"
2784
ac_save_LIBS="$LIBS"
2785
CFLAGS="$CFLAGS $XML_CFLAGS"
2786
LIBS="$XML_LIBS $LIBS"
2788
if test "$cross_compiling" = yes; then
2789
echo $ac_n "cross compiling; assumed OK... $ac_c"
2791
cat >conftest.$ac_ext <<_ACEOF
2794
cat confdefs.h >>conftest.$ac_ext
2795
cat >>conftest.$ac_ext <<_ACEOF
2796
/* end confdefs.h. */
2801
#include <libxml/xmlversion.h>
2806
int xml_major_version, xml_minor_version, xml_micro_version;
2807
int major, minor, micro;
2810
system("touch conf.xmltest");
2812
/* Capture xml2-config output via autoconf/configure variables */
2813
/* HP/UX 9 (%@#!) writes to sscanf strings */
2814
tmp_version = (char *)strdup("$min_xml_version");
2815
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
2816
printf("%s, bad version string from xml2-config\n", "$min_xml_version");
2821
/* Capture the version information from the header files */
2822
tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
2823
if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
2824
printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
2829
/* Compare xml2-config output to the libxml headers */
2830
if ((xml_major_version != $xml_config_major_version) ||
2831
(xml_minor_version != $xml_config_minor_version) ||
2832
(xml_micro_version != $xml_config_micro_version))
2834
printf("*** libxml header files (version %d.%d.%d) do not match\n",
2835
xml_major_version, xml_minor_version, xml_micro_version);
2836
printf("*** xml2-config (version %d.%d.%d)\n",
2837
$xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
2840
/* Compare the headers to the library to make sure we match */
2841
/* Less than ideal -- doesn't provide us with return value feedback,
2842
* only exits if there's a serious mismatch between header and library.
2844
LIBXML_TEST_VERSION;
2846
/* Test that the library is greater than our minimum version */
2847
if ((xml_major_version > major) ||
2848
((xml_major_version == major) && (xml_minor_version > minor)) ||
2849
((xml_major_version == major) && (xml_minor_version == minor) &&
2850
(xml_micro_version >= micro)))
2856
printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
2857
xml_major_version, xml_minor_version, xml_micro_version);
2858
printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
2859
major, minor, micro);
2860
printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
2862
printf("*** If you have already installed a sufficiently new version, this error\n");
2863
printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
2864
printf("*** being found. The easiest way to fix this is to remove the old version\n");
2865
printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
2866
printf("*** correct copy of xml2-config. (In this case, you will have to\n");
2867
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2868
printf("*** so that the correct libraries are found at run-time))\n");
2874
rm -f conftest$ac_exeext
2875
if { (ac_try="$ac_link"
2877
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878
*) ac_try_echo=$ac_try;;
2880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2881
(eval "$ac_link") 2>&5
2883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2885
{ (case "(($ac_try" in
2886
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887
*) ac_try_echo=$ac_try;;
2889
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890
(eval "$ac_try") 2>&5
2892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893
(exit $ac_status); }; }; then
2896
echo "$as_me: program exited with status $ac_status" >&5
2897
echo "$as_me: failed program was:" >&5
2898
sed 's/^/| /' conftest.$ac_ext >&5
2903
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2907
CFLAGS="$ac_save_CFLAGS"
2908
LIBS="$ac_save_LIBS"
2912
if test "x$no_xml" = x ; then
2913
{ echo "$as_me:$LINENO: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
2914
echo "${ECHO_T}yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
2916
cat >>confdefs.h <<\_ACEOF
2921
{ echo "$as_me:$LINENO: result: no" >&5
2922
echo "${ECHO_T}no" >&6; }
2923
if test "$XML2_CONFIG" = "no" ; then
2924
echo "*** The xml2-config script installed by LIBXML could not be found"
2925
echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
2926
echo "*** your path, or set the XML2_CONFIG environment variable to the"
2927
echo "*** full path to xml2-config."
2929
if test -f conf.xmltest ; then
2932
echo "*** Could not run libxml test program, checking why..."
2933
CFLAGS="$CFLAGS $XML_CFLAGS"
2934
LIBS="$LIBS $XML_LIBS"
2935
cat >conftest.$ac_ext <<_ACEOF
2938
cat confdefs.h >>conftest.$ac_ext
2939
cat >>conftest.$ac_ext <<_ACEOF
2940
/* end confdefs.h. */
2942
#include <libxml/xmlversion.h>
2948
LIBXML_TEST_VERSION; return 0;
2953
rm -f conftest.$ac_objext conftest$ac_exeext
2954
if { (ac_try="$ac_link"
2956
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957
*) ac_try_echo=$ac_try;;
2959
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2960
(eval "$ac_link") 2>conftest.er1
2962
grep -v '^ *+' conftest.er1 >conftest.err
2964
cat conftest.err >&5
2965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966
(exit $ac_status); } &&
2967
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2968
{ (case "(($ac_try" in
2969
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970
*) ac_try_echo=$ac_try;;
2972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2973
(eval "$ac_try") 2>&5
2975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976
(exit $ac_status); }; } &&
2977
{ ac_try='test -s conftest$ac_exeext'
2978
{ (case "(($ac_try" in
2979
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980
*) ac_try_echo=$ac_try;;
2982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983
(eval "$ac_try") 2>&5
2985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986
(exit $ac_status); }; }; then
2987
echo "*** The test program compiled, but did not run. This usually means"
2988
echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
2989
echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
2990
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2991
echo "*** to the installed location Also, make sure you have run ldconfig if that"
2992
echo "*** is required on your system"
2994
echo "*** If you have an old version installed, it is best to remove it, although"
2995
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
2997
echo "$as_me: failed program was:" >&5
2998
sed 's/^/| /' conftest.$ac_ext >&5
3000
echo "*** The test program failed to compile or link. See the file config.log for the"
3001
echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
3002
echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
3003
echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
3006
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3007
conftest$ac_exeext conftest.$ac_ext
3008
CFLAGS="$ac_save_CFLAGS"
3009
LIBS="$ac_save_LIBS"
3015
{ { echo "$as_me:$LINENO: error: Failed to find libxml2" >&5
3016
echo "$as_me: error: Failed to find libxml2" >&2;}
3017
{ (exit 1); exit 1; }; }
3023
{ echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
3024
echo "${ECHO_T}$XML_CFLAGS" >&6; }
3028
#check for libxslt include directories
3029
{ echo "$as_me:$LINENO: checking Looking for libxslt includes" >&5
3030
echo $ECHO_N "checking Looking for libxslt includes... $ECHO_C" >&6; }
3032
for a in /opt/local/include /sw/include /usr/include /usr/local/include /opt/include /opt/sfw/include; do
3033
if test -d ${a}; then
3034
LIBXSL_INCLUDES="${a}"
3036
ac_cpp='$CPP $CPPFLAGS'
3037
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3041
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3042
# On Suns, sometimes $CPP names a directory.
3043
if test -n "$CPP" && test -d "$CPP"; then
3046
if test -z "$CPP"; then
3047
if test "${ac_cv_prog_CPP+set}" = set; then
3048
echo $ECHO_N "(cached) $ECHO_C" >&6
3050
# Double quotes because CPP needs to be expanded
3051
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3054
for ac_c_preproc_warn_flag in '' yes
3056
# Use a header file that comes with gcc, so configuring glibc
3057
# with a fresh cross-compiler works.
3058
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3059
# <limits.h> exists even on freestanding compilers.
3060
# On the NeXT, cc -E runs the code through the compiler's parser,
3061
# not just through cpp. "Syntax error" is here to catch this case.
3062
cat >conftest.$ac_ext <<_ACEOF
3065
cat confdefs.h >>conftest.$ac_ext
3066
cat >>conftest.$ac_ext <<_ACEOF
3067
/* end confdefs.h. */
3069
# include <limits.h>
3071
# include <assert.h>
3075
if { (ac_try="$ac_cpp conftest.$ac_ext"
3077
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078
*) ac_try_echo=$ac_try;;
3080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3083
grep -v '^ *+' conftest.er1 >conftest.err
3085
cat conftest.err >&5
3086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087
(exit $ac_status); } >/dev/null; then
3088
if test -s conftest.err; then
3089
ac_cpp_err=$ac_c_preproc_warn_flag
3090
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3097
if test -z "$ac_cpp_err"; then
3100
echo "$as_me: failed program was:" >&5
3101
sed 's/^/| /' conftest.$ac_ext >&5
3103
# Broken: fails on valid input.
3107
rm -f conftest.err conftest.$ac_ext
3109
# OK, works on sane cases. Now check whether nonexistent headers
3110
# can be detected and how.
3111
cat >conftest.$ac_ext <<_ACEOF
3114
cat confdefs.h >>conftest.$ac_ext
3115
cat >>conftest.$ac_ext <<_ACEOF
3116
/* end confdefs.h. */
3117
#include <ac_nonexistent.h>
3119
if { (ac_try="$ac_cpp conftest.$ac_ext"
3121
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122
*) ac_try_echo=$ac_try;;
3124
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3127
grep -v '^ *+' conftest.er1 >conftest.err
3129
cat conftest.err >&5
3130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
(exit $ac_status); } >/dev/null; then
3132
if test -s conftest.err; then
3133
ac_cpp_err=$ac_c_preproc_warn_flag
3134
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3141
if test -z "$ac_cpp_err"; then
3142
# Broken: success on invalid input.
3145
echo "$as_me: failed program was:" >&5
3146
sed 's/^/| /' conftest.$ac_ext >&5
3148
# Passes both tests.
3153
rm -f conftest.err conftest.$ac_ext
3156
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3157
rm -f conftest.err conftest.$ac_ext
3158
if $ac_preproc_ok; then
3170
{ echo "$as_me:$LINENO: result: $CPP" >&5
3171
echo "${ECHO_T}$CPP" >&6; }
3173
for ac_c_preproc_warn_flag in '' yes
3175
# Use a header file that comes with gcc, so configuring glibc
3176
# with a fresh cross-compiler works.
3177
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3178
# <limits.h> exists even on freestanding compilers.
3179
# On the NeXT, cc -E runs the code through the compiler's parser,
3180
# not just through cpp. "Syntax error" is here to catch this case.
3181
cat >conftest.$ac_ext <<_ACEOF
3184
cat confdefs.h >>conftest.$ac_ext
3185
cat >>conftest.$ac_ext <<_ACEOF
3186
/* end confdefs.h. */
3188
# include <limits.h>
3190
# include <assert.h>
3194
if { (ac_try="$ac_cpp conftest.$ac_ext"
3196
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197
*) ac_try_echo=$ac_try;;
3199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3200
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3202
grep -v '^ *+' conftest.er1 >conftest.err
3204
cat conftest.err >&5
3205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206
(exit $ac_status); } >/dev/null; then
3207
if test -s conftest.err; then
3208
ac_cpp_err=$ac_c_preproc_warn_flag
3209
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3216
if test -z "$ac_cpp_err"; then
3219
echo "$as_me: failed program was:" >&5
3220
sed 's/^/| /' conftest.$ac_ext >&5
3222
# Broken: fails on valid input.
3226
rm -f conftest.err conftest.$ac_ext
3228
# OK, works on sane cases. Now check whether nonexistent headers
3229
# can be detected and how.
3230
cat >conftest.$ac_ext <<_ACEOF
3233
cat confdefs.h >>conftest.$ac_ext
3234
cat >>conftest.$ac_ext <<_ACEOF
3235
/* end confdefs.h. */
3236
#include <ac_nonexistent.h>
3238
if { (ac_try="$ac_cpp conftest.$ac_ext"
3240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241
*) ac_try_echo=$ac_try;;
3243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3246
grep -v '^ *+' conftest.er1 >conftest.err
3248
cat conftest.err >&5
3249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250
(exit $ac_status); } >/dev/null; then
3251
if test -s conftest.err; then
3252
ac_cpp_err=$ac_c_preproc_warn_flag
3253
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3260
if test -z "$ac_cpp_err"; then
3261
# Broken: success on invalid input.
3264
echo "$as_me: failed program was:" >&5
3265
sed 's/^/| /' conftest.$ac_ext >&5
3267
# Passes both tests.
3272
rm -f conftest.err conftest.$ac_ext
3275
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3276
rm -f conftest.err conftest.$ac_ext
3277
if $ac_preproc_ok; then
3280
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3281
See \`config.log' for more details." >&5
3282
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3283
See \`config.log' for more details." >&2;}
3284
{ (exit 1); exit 1; }; }
3288
ac_cpp='$CPP $CPPFLAGS'
3289
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3295
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3296
if test "${ac_cv_path_GREP+set}" = set; then
3297
echo $ECHO_N "(cached) $ECHO_C" >&6
3299
# Extract the first word of "grep ggrep" to use in msg output
3300
if test -z "$GREP"; then
3301
set dummy grep ggrep; ac_prog_name=$2
3302
if test "${ac_cv_path_GREP+set}" = set; then
3303
echo $ECHO_N "(cached) $ECHO_C" >&6
3305
ac_path_GREP_found=false
3306
# Loop through the user's path and test for each of PROGNAME-LIST
3307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3311
test -z "$as_dir" && as_dir=.
3312
for ac_prog in grep ggrep; do
3313
for ac_exec_ext in '' $ac_executable_extensions; do
3314
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3315
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3316
# Check for GNU ac_path_GREP and select it if it is found.
3317
# Check for GNU $ac_path_GREP
3318
case `"$ac_path_GREP" --version 2>&1` in
3320
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3323
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3326
cat "conftest.in" "conftest.in" >"conftest.tmp"
3327
mv "conftest.tmp" "conftest.in"
3328
cp "conftest.in" "conftest.nl"
3329
echo 'GREP' >> "conftest.nl"
3330
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3331
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3332
ac_count=`expr $ac_count + 1`
3333
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3334
# Best one so far, save it but keep looking for a better one
3335
ac_cv_path_GREP="$ac_path_GREP"
3336
ac_path_GREP_max=$ac_count
3338
# 10*(2^10) chars as input seems more than enough
3339
test $ac_count -gt 10 && break
3341
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3345
$ac_path_GREP_found && break 3
3355
GREP="$ac_cv_path_GREP"
3356
if test -z "$GREP"; then
3357
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3358
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3359
{ (exit 1); exit 1; }; }
3363
ac_cv_path_GREP=$GREP
3368
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3369
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3370
GREP="$ac_cv_path_GREP"
3373
{ echo "$as_me:$LINENO: checking for egrep" >&5
3374
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3375
if test "${ac_cv_path_EGREP+set}" = set; then
3376
echo $ECHO_N "(cached) $ECHO_C" >&6
3378
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3379
then ac_cv_path_EGREP="$GREP -E"
3381
# Extract the first word of "egrep" to use in msg output
3382
if test -z "$EGREP"; then
3383
set dummy egrep; ac_prog_name=$2
3384
if test "${ac_cv_path_EGREP+set}" = set; then
3385
echo $ECHO_N "(cached) $ECHO_C" >&6
3387
ac_path_EGREP_found=false
3388
# Loop through the user's path and test for each of PROGNAME-LIST
3389
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3393
test -z "$as_dir" && as_dir=.
3394
for ac_prog in egrep; do
3395
for ac_exec_ext in '' $ac_executable_extensions; do
3396
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3397
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3398
# Check for GNU ac_path_EGREP and select it if it is found.
3399
# Check for GNU $ac_path_EGREP
3400
case `"$ac_path_EGREP" --version 2>&1` in
3402
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3405
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3408
cat "conftest.in" "conftest.in" >"conftest.tmp"
3409
mv "conftest.tmp" "conftest.in"
3410
cp "conftest.in" "conftest.nl"
3411
echo 'EGREP' >> "conftest.nl"
3412
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3413
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3414
ac_count=`expr $ac_count + 1`
3415
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3416
# Best one so far, save it but keep looking for a better one
3417
ac_cv_path_EGREP="$ac_path_EGREP"
3418
ac_path_EGREP_max=$ac_count
3420
# 10*(2^10) chars as input seems more than enough
3421
test $ac_count -gt 10 && break
3423
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3427
$ac_path_EGREP_found && break 3
3437
EGREP="$ac_cv_path_EGREP"
3438
if test -z "$EGREP"; then
3439
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3440
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3441
{ (exit 1); exit 1; }; }
3445
ac_cv_path_EGREP=$EGREP
3451
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3452
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3453
EGREP="$ac_cv_path_EGREP"
3456
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3457
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3458
if test "${ac_cv_header_stdc+set}" = set; then
3459
echo $ECHO_N "(cached) $ECHO_C" >&6
3461
cat >conftest.$ac_ext <<_ACEOF
3464
cat confdefs.h >>conftest.$ac_ext
3465
cat >>conftest.$ac_ext <<_ACEOF
3466
/* end confdefs.h. */
3480
rm -f conftest.$ac_objext
3481
if { (ac_try="$ac_compile"
3483
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484
*) ac_try_echo=$ac_try;;
3486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487
(eval "$ac_compile") 2>conftest.er1
3489
grep -v '^ *+' conftest.er1 >conftest.err
3491
cat conftest.err >&5
3492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493
(exit $ac_status); } &&
3494
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3495
{ (case "(($ac_try" in
3496
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497
*) ac_try_echo=$ac_try;;
3499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3500
(eval "$ac_try") 2>&5
3502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503
(exit $ac_status); }; } &&
3504
{ ac_try='test -s conftest.$ac_objext'
3505
{ (case "(($ac_try" in
3506
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507
*) ac_try_echo=$ac_try;;
3509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3510
(eval "$ac_try") 2>&5
3512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513
(exit $ac_status); }; }; then
3514
ac_cv_header_stdc=yes
3516
echo "$as_me: failed program was:" >&5
3517
sed 's/^/| /' conftest.$ac_ext >&5
3519
ac_cv_header_stdc=no
3522
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524
if test $ac_cv_header_stdc = yes; then
3525
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3526
cat >conftest.$ac_ext <<_ACEOF
3529
cat confdefs.h >>conftest.$ac_ext
3530
cat >>conftest.$ac_ext <<_ACEOF
3531
/* end confdefs.h. */
3535
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3536
$EGREP "memchr" >/dev/null 2>&1; then
3539
ac_cv_header_stdc=no
3545
if test $ac_cv_header_stdc = yes; then
3546
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3547
cat >conftest.$ac_ext <<_ACEOF
3550
cat confdefs.h >>conftest.$ac_ext
3551
cat >>conftest.$ac_ext <<_ACEOF
3552
/* end confdefs.h. */
3556
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3557
$EGREP "free" >/dev/null 2>&1; then
3560
ac_cv_header_stdc=no
3566
if test $ac_cv_header_stdc = yes; then
3567
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3568
if test "$cross_compiling" = yes; then
3571
cat >conftest.$ac_ext <<_ACEOF
3574
cat confdefs.h >>conftest.$ac_ext
3575
cat >>conftest.$ac_ext <<_ACEOF
3576
/* end confdefs.h. */
3579
#if ((' ' & 0x0FF) == 0x020)
3580
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3581
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3583
# define ISLOWER(c) \
3584
(('a' <= (c) && (c) <= 'i') \
3585
|| ('j' <= (c) && (c) <= 'r') \
3586
|| ('s' <= (c) && (c) <= 'z'))
3587
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3590
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3595
for (i = 0; i < 256; i++)
3596
if (XOR (islower (i), ISLOWER (i))
3597
|| toupper (i) != TOUPPER (i))
3602
rm -f conftest$ac_exeext
3603
if { (ac_try="$ac_link"
3605
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606
*) ac_try_echo=$ac_try;;
3608
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3609
(eval "$ac_link") 2>&5
3611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3613
{ (case "(($ac_try" in
3614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615
*) ac_try_echo=$ac_try;;
3617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3618
(eval "$ac_try") 2>&5
3620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621
(exit $ac_status); }; }; then
3624
echo "$as_me: program exited with status $ac_status" >&5
3625
echo "$as_me: failed program was:" >&5
3626
sed 's/^/| /' conftest.$ac_ext >&5
3629
ac_cv_header_stdc=no
3631
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3637
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3638
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3639
if test $ac_cv_header_stdc = yes; then
3641
cat >>confdefs.h <<\_ACEOF
3642
#define STDC_HEADERS 1
3647
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3657
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3658
inttypes.h stdint.h unistd.h
3660
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3661
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3662
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3663
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3664
echo $ECHO_N "(cached) $ECHO_C" >&6
3666
cat >conftest.$ac_ext <<_ACEOF
3669
cat confdefs.h >>conftest.$ac_ext
3670
cat >>conftest.$ac_ext <<_ACEOF
3671
/* end confdefs.h. */
3672
$ac_includes_default
3674
#include <$ac_header>
3676
rm -f conftest.$ac_objext
3677
if { (ac_try="$ac_compile"
3679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680
*) ac_try_echo=$ac_try;;
3682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683
(eval "$ac_compile") 2>conftest.er1
3685
grep -v '^ *+' conftest.er1 >conftest.err
3687
cat conftest.err >&5
3688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689
(exit $ac_status); } &&
3690
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3691
{ (case "(($ac_try" in
3692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693
*) ac_try_echo=$ac_try;;
3695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696
(eval "$ac_try") 2>&5
3698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699
(exit $ac_status); }; } &&
3700
{ ac_try='test -s conftest.$ac_objext'
3701
{ (case "(($ac_try" in
3702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703
*) ac_try_echo=$ac_try;;
3705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706
(eval "$ac_try") 2>&5
3708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709
(exit $ac_status); }; }; then
3710
eval "$as_ac_Header=yes"
3712
echo "$as_me: failed program was:" >&5
3713
sed 's/^/| /' conftest.$ac_ext >&5
3715
eval "$as_ac_Header=no"
3718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720
ac_res=`eval echo '${'$as_ac_Header'}'`
3721
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3722
echo "${ECHO_T}$ac_res" >&6; }
3723
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3724
cat >>confdefs.h <<_ACEOF
3725
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3733
as_ac_Header=`echo "ac_cv_header_${a}/libxslt/xsltconfig.h" | $as_tr_sh`
3734
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3735
{ echo "$as_me:$LINENO: checking for ${a}/libxslt/xsltconfig.h" >&5
3736
echo $ECHO_N "checking for ${a}/libxslt/xsltconfig.h... $ECHO_C" >&6; }
3737
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3738
echo $ECHO_N "(cached) $ECHO_C" >&6
3740
ac_res=`eval echo '${'$as_ac_Header'}'`
3741
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3742
echo "${ECHO_T}$ac_res" >&6; }
3744
# Is the header compilable?
3745
{ echo "$as_me:$LINENO: checking ${a}/libxslt/xsltconfig.h usability" >&5
3746
echo $ECHO_N "checking ${a}/libxslt/xsltconfig.h usability... $ECHO_C" >&6; }
3747
cat >conftest.$ac_ext <<_ACEOF
3750
cat confdefs.h >>conftest.$ac_ext
3751
cat >>conftest.$ac_ext <<_ACEOF
3752
/* end confdefs.h. */
3753
$ac_includes_default
3754
#include <${a}/libxslt/xsltconfig.h>
3756
rm -f conftest.$ac_objext
3757
if { (ac_try="$ac_compile"
3759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760
*) ac_try_echo=$ac_try;;
3762
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763
(eval "$ac_compile") 2>conftest.er1
3765
grep -v '^ *+' conftest.er1 >conftest.err
3767
cat conftest.err >&5
3768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769
(exit $ac_status); } &&
3770
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3771
{ (case "(($ac_try" in
3772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773
*) ac_try_echo=$ac_try;;
3775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776
(eval "$ac_try") 2>&5
3778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
(exit $ac_status); }; } &&
3780
{ ac_try='test -s conftest.$ac_objext'
3781
{ (case "(($ac_try" in
3782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783
*) ac_try_echo=$ac_try;;
3785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786
(eval "$ac_try") 2>&5
3788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789
(exit $ac_status); }; }; then
3790
ac_header_compiler=yes
3792
echo "$as_me: failed program was:" >&5
3793
sed 's/^/| /' conftest.$ac_ext >&5
3795
ac_header_compiler=no
3798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3800
echo "${ECHO_T}$ac_header_compiler" >&6; }
3802
# Is the header present?
3803
{ echo "$as_me:$LINENO: checking ${a}/libxslt/xsltconfig.h presence" >&5
3804
echo $ECHO_N "checking ${a}/libxslt/xsltconfig.h presence... $ECHO_C" >&6; }
3805
cat >conftest.$ac_ext <<_ACEOF
3808
cat confdefs.h >>conftest.$ac_ext
3809
cat >>conftest.$ac_ext <<_ACEOF
3810
/* end confdefs.h. */
3811
#include <${a}/libxslt/xsltconfig.h>
3813
if { (ac_try="$ac_cpp conftest.$ac_ext"
3815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816
*) ac_try_echo=$ac_try;;
3818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3821
grep -v '^ *+' conftest.er1 >conftest.err
3823
cat conftest.err >&5
3824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
(exit $ac_status); } >/dev/null; then
3826
if test -s conftest.err; then
3827
ac_cpp_err=$ac_c_preproc_warn_flag
3828
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3835
if test -z "$ac_cpp_err"; then
3836
ac_header_preproc=yes
3838
echo "$as_me: failed program was:" >&5
3839
sed 's/^/| /' conftest.$ac_ext >&5
3841
ac_header_preproc=no
3844
rm -f conftest.err conftest.$ac_ext
3845
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3846
echo "${ECHO_T}$ac_header_preproc" >&6; }
3848
# So? What about this header?
3849
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3851
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5
3852
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3853
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the compiler's result" >&5
3854
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the compiler's result" >&2;}
3855
ac_header_preproc=yes
3858
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: present but cannot be compiled" >&5
3859
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: present but cannot be compiled" >&2;}
3860
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: check for missing prerequisite headers?" >&5
3861
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: check for missing prerequisite headers?" >&2;}
3862
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: see the Autoconf documentation" >&5
3863
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: see the Autoconf documentation" >&2;}
3864
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: section \"Present But Cannot Be Compiled\"" >&5
3865
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: section \"Present But Cannot Be Compiled\"" >&2;}
3866
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the preprocessor's result" >&5
3867
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the preprocessor's result" >&2;}
3868
{ echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: in the future, the compiler will take precedence" >&5
3869
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: in the future, the compiler will take precedence" >&2;}
3873
{ echo "$as_me:$LINENO: checking for ${a}/libxslt/xsltconfig.h" >&5
3874
echo $ECHO_N "checking for ${a}/libxslt/xsltconfig.h... $ECHO_C" >&6; }
3875
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3876
echo $ECHO_N "(cached) $ECHO_C" >&6
3878
eval "$as_ac_Header=\$ac_header_preproc"
3880
ac_res=`eval echo '${'$as_ac_Header'}'`
3881
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3882
echo "${ECHO_T}$ac_res" >&6; }
3885
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3893
if test $xslhdrdir = no ; then
3894
{ { echo "$as_me:$LINENO: error: Failed to find libxslt include directory" >&5
3895
echo "$as_me: error: Failed to find libxslt include directory" >&2;}
3896
{ (exit 1); exit 1; }; }
3898
{ echo "$as_me:$LINENO: result: XSL includes in $xslhdrdir" >&5
3899
echo "${ECHO_T}XSL includes in $xslhdrdir" >&6; }
3901
LIBXSL_INCLUDE="${xslhdrdir}"
3904
{ echo "$as_me:$LINENO: checking for libxslt library" >&5
3905
echo $ECHO_N "checking for libxslt library... $ECHO_C" >&6; }
3908
# Check whether --with-xslt-libdir was given.
3909
if test "${with_xslt_libdir+set}" = set; then
3910
withval=$with_xslt_libdir;
3911
if test -f $withval/libxslt.so; then
3917
if test $xsllibdir = no; then
3918
for a in /opt/local/lib /sw/lib /usr/lib /usr/local/lib /opt/lib /lib /opt/sfw/lib /usr/sfw/lib; do
3919
if test -f ${a}/libxslt.so; then
3923
if test -e ${a}/libxslt.dylib; then
3924
echo "Found dylib...";
3931
if test $xsllibdir = no; then
3932
{ { echo "$as_me:$LINENO: error: Failed to find libxslt library." >&5
3933
echo "$as_me: error: Failed to find libxslt library." >&2;}
3934
{ (exit 1); exit 1; }; }
3938
{ echo "$as_me:$LINENO: result: Found libxslt library in $xsllibdir" >&5
3939
echo "${ECHO_T}Found libxslt library in $xsllibdir" >&6; }
3941
{ echo "$as_me:$LINENO: checking Looking for libml2 library" >&5
3942
echo $ECHO_N "checking Looking for libml2 library... $ECHO_C" >&6; }
3944
for a in /opt/local/lib /sw/lib /usr/lib /usr/local/lib /opt/lib /lib /opt/sfw/lib /usr/sfw/lib; do
3945
if test -f ${a}/libxml2.so; then
3948
if test -e ${a}/libxml2.dylib; then
3952
{ echo "$as_me:$LINENO: result: Found libxml2 library in $xmllibdir" >&5
3953
echo "${ECHO_T}Found libxml2 library in $xmllibdir" >&6; }
3954
LIBDIR="${xsllibdir}:${xmllibdir}"
3955
XSLLIBDIR="${xsllibdir}"
3956
XMLLIBDIR="${xmllibdir}"
3965
if test "${steam_sys_os+set}" = set; then
3966
echo $ECHO_N "(cached) $ECHO_C" >&6
3969
if test "$uname_prog" != "no"; then
3970
steam_sys_os="`uname`"
3972
case "$steam_sys_os" in
3974
case "`uname -r`" in
3975
5.*) steam_sys_os="Solaris";
3979
# According to the release notes, the string "Monterey64"
3980
# will be changed to "AIX" in the final release.
3981
# (Monterey 64 is also known as AIX 5L).
3986
steam_sys_os="Not Solaris"
3991
{ echo "$as_me:$LINENO: result: $steam_sys_os" >&5
3992
echo "${ECHO_T}$steam_sys_os" >&6; }
3996
ac_cpp='$CPP $CPPFLAGS'
3997
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3998
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3999
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4000
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4001
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4002
# On Suns, sometimes $CPP names a directory.
4003
if test -n "$CPP" && test -d "$CPP"; then
4006
if test -z "$CPP"; then
4007
if test "${ac_cv_prog_CPP+set}" = set; then
4008
echo $ECHO_N "(cached) $ECHO_C" >&6
4010
# Double quotes because CPP needs to be expanded
4011
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4014
for ac_c_preproc_warn_flag in '' yes
4016
# Use a header file that comes with gcc, so configuring glibc
4017
# with a fresh cross-compiler works.
4018
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4019
# <limits.h> exists even on freestanding compilers.
4020
# On the NeXT, cc -E runs the code through the compiler's parser,
4021
# not just through cpp. "Syntax error" is here to catch this case.
4022
cat >conftest.$ac_ext <<_ACEOF
4025
cat confdefs.h >>conftest.$ac_ext
4026
cat >>conftest.$ac_ext <<_ACEOF
4027
/* end confdefs.h. */
4029
# include <limits.h>
4031
# include <assert.h>
4035
if { (ac_try="$ac_cpp conftest.$ac_ext"
4037
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038
*) ac_try_echo=$ac_try;;
4040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4043
grep -v '^ *+' conftest.er1 >conftest.err
4045
cat conftest.err >&5
4046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047
(exit $ac_status); } >/dev/null; then
4048
if test -s conftest.err; then
4049
ac_cpp_err=$ac_c_preproc_warn_flag
4050
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4057
if test -z "$ac_cpp_err"; then
4060
echo "$as_me: failed program was:" >&5
4061
sed 's/^/| /' conftest.$ac_ext >&5
4063
# Broken: fails on valid input.
4067
rm -f conftest.err conftest.$ac_ext
4069
# OK, works on sane cases. Now check whether nonexistent headers
4070
# can be detected and how.
4071
cat >conftest.$ac_ext <<_ACEOF
4074
cat confdefs.h >>conftest.$ac_ext
4075
cat >>conftest.$ac_ext <<_ACEOF
4076
/* end confdefs.h. */
4077
#include <ac_nonexistent.h>
4079
if { (ac_try="$ac_cpp conftest.$ac_ext"
4081
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082
*) ac_try_echo=$ac_try;;
4084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4087
grep -v '^ *+' conftest.er1 >conftest.err
4089
cat conftest.err >&5
4090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091
(exit $ac_status); } >/dev/null; then
4092
if test -s conftest.err; then
4093
ac_cpp_err=$ac_c_preproc_warn_flag
4094
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4101
if test -z "$ac_cpp_err"; then
4102
# Broken: success on invalid input.
4105
echo "$as_me: failed program was:" >&5
4106
sed 's/^/| /' conftest.$ac_ext >&5
4108
# Passes both tests.
4113
rm -f conftest.err conftest.$ac_ext
4116
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4117
rm -f conftest.err conftest.$ac_ext
4118
if $ac_preproc_ok; then
4130
{ echo "$as_me:$LINENO: result: $CPP" >&5
4131
echo "${ECHO_T}$CPP" >&6; }
4133
for ac_c_preproc_warn_flag in '' yes
4135
# Use a header file that comes with gcc, so configuring glibc
4136
# with a fresh cross-compiler works.
4137
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138
# <limits.h> exists even on freestanding compilers.
4139
# On the NeXT, cc -E runs the code through the compiler's parser,
4140
# not just through cpp. "Syntax error" is here to catch this case.
4141
cat >conftest.$ac_ext <<_ACEOF
4144
cat confdefs.h >>conftest.$ac_ext
4145
cat >>conftest.$ac_ext <<_ACEOF
4146
/* end confdefs.h. */
4148
# include <limits.h>
4150
# include <assert.h>
4154
if { (ac_try="$ac_cpp conftest.$ac_ext"
4156
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157
*) ac_try_echo=$ac_try;;
4159
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4162
grep -v '^ *+' conftest.er1 >conftest.err
4164
cat conftest.err >&5
4165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166
(exit $ac_status); } >/dev/null; then
4167
if test -s conftest.err; then
4168
ac_cpp_err=$ac_c_preproc_warn_flag
4169
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4176
if test -z "$ac_cpp_err"; then
4179
echo "$as_me: failed program was:" >&5
4180
sed 's/^/| /' conftest.$ac_ext >&5
4182
# Broken: fails on valid input.
4186
rm -f conftest.err conftest.$ac_ext
4188
# OK, works on sane cases. Now check whether nonexistent headers
4189
# can be detected and how.
4190
cat >conftest.$ac_ext <<_ACEOF
4193
cat confdefs.h >>conftest.$ac_ext
4194
cat >>conftest.$ac_ext <<_ACEOF
4195
/* end confdefs.h. */
4196
#include <ac_nonexistent.h>
4198
if { (ac_try="$ac_cpp conftest.$ac_ext"
4200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201
*) ac_try_echo=$ac_try;;
4203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4206
grep -v '^ *+' conftest.er1 >conftest.err
4208
cat conftest.err >&5
4209
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
(exit $ac_status); } >/dev/null; then
4211
if test -s conftest.err; then
4212
ac_cpp_err=$ac_c_preproc_warn_flag
4213
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4220
if test -z "$ac_cpp_err"; then
4221
# Broken: success on invalid input.
4224
echo "$as_me: failed program was:" >&5
4225
sed 's/^/| /' conftest.$ac_ext >&5
4227
# Passes both tests.
4232
rm -f conftest.err conftest.$ac_ext
4235
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4236
rm -f conftest.err conftest.$ac_ext
4237
if $ac_preproc_ok; then
4240
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4241
See \`config.log' for more details." >&5
4242
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4243
See \`config.log' for more details." >&2;}
4244
{ (exit 1); exit 1; }; }
4248
ac_cpp='$CPP $CPPFLAGS'
4249
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4250
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4251
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4253
# LDSHARED is the ld *command* used to create shared library
4254
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
4255
{ echo "$as_me:$LINENO: checking LDSHARED" >&5
4256
echo $ECHO_N "checking LDSHARED... $ECHO_C" >&6; }
4257
if test -z "$LDSHARED" ; then
4258
case "$steam_sys_os" in
4260
if test "$GCC" = yes ; then
4261
if test "`uname -r`" -ge 2 -a "`uname -v`" -ge 4 ; then
4262
LDSHARED="ld -G -bexpall"
4263
else if test "`uname -v`" -gt 4 ; then
4264
# Extra forward compatibility...
4266
LDSHARED="ld -G -bexpall"
4268
# AIX 4.1 and earlier don't have/have unreliable
4269
# handling of dlopen et al.
4271
# Even AIX 4.2.1 has buggy dlopen -- NEVER attempt
4272
# to dlopen a file that hasn't been linked with -G.
4273
steam_sys_dynamic_loading=no
4278
# Dynamic linking turned off for AIX-cc
4280
# In addition, the dynamic loading test seems to
4281
# cause our RS/6000 to hang, which causes the
4282
# watchdog-timer to PANIC.
4283
steam_sys_dynamic_loading=no
4288
if test "$GCC" = yes ; then
4289
# egcs defaults to building -n32 objects
4290
LDSHARED="ld -shared -n32"
4292
LDSHARED="ld -shared"
4294
# -woff isn't understood by ld on Irix 5.
4295
if test "`uname -r`" -ge 6 ; then
4296
LDSHARED="$LDSHARED -woff 84,85,134"
4299
SunOS*) LDSHARED="ld";;
4300
Solaris) LDSHARED="/usr/ccs/bin/ld -G";;
4301
hp*|HP*) LDSHARED="ld -b";;
4302
OSF*) LDSHARED="ld -expect_unresolved '*' -shared -msym -O3";;
4303
DYNIX/ptx*) LDSHARED="ld -G";;
4304
next*) LDSHARED="$CC $CFLAGS -nostdlib -r";;
4306
LDSHARED="ld -E -shared"
4309
GNU*) LDSHARED="ld -Bshareable";;
4311
LDSHARED="$CC -Wl,-Bshareable"
4312
cat >>confdefs.h <<\_ACEOF
4313
#define RUNNING_BSD 1
4318
LDSHARED="gcc -bundle -bundle_loader ${PIKE} -bind_at_load -flat_namespace -undefined suppress"
4319
LDFLAGS="-L$xsllibdir -L$xmllibdir"
4320
cat >>confdefs.h <<\_ACEOF
4321
#define RUNNING_DARWIN 1
4326
LDSHARED="ld -Bshareable"
4327
cat >>confdefs.h <<\_ACEOF
4328
#define RUNNING_BSD 1
4333
LDSHARED="ld -Bshareable"
4334
cat >>confdefs.h <<\_ACEOF
4335
#define RUNNING_BSD 1
4339
BSD/OS*) LDSHARED="shlicc -r";;
4340
SCO_SV*) LDSHARED="cc -G -KPIC -Wl,-Bexport";;
4341
UNIX_SV*) LDSHARED="ld -G";;
4343
if test "$GCC" = yes ; then
4346
LDSHARED="cc -G -KPIC -Wl,-Bexport"
4349
Windows_NT*) LDSHARED="$CC -shared";;
4353
{ echo "$as_me:$LINENO: result: $LDSHARED" >&5
4354
echo "${ECHO_T}$LDSHARED" >&6; }
4361
{ echo "$as_me:$LINENO: checking install Script" >&5
4362
echo $ECHO_N "checking install Script... $ECHO_C" >&6; }
4364
for a in /sw/bin /usr/bin /usr/local/bin /opt/bin /bin /opt/sfw/bin /usr/sfw/bin; do
4365
if test -x ${a}/install; then
4366
installprg=${a}/install
4368
if test -x ${a}/ginstall; then
4369
installprg="${a}/ginstall"
4372
{ echo "$as_me:$LINENO: result: Found $installprg" >&5
4373
echo "${ECHO_T}Found $installprg" >&6; }
4377
export LIBXML2_INCLUDE
4378
export LIBXSL_INCLUDE
4384
# Note: also put these in AC_CONFIG_SUBDIRS, below. Variables are not allowed there...
4385
DIRS="libxslt _XML wiki"
4388
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4389
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4390
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4391
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4392
echo $ECHO_N "(cached) $ECHO_C" >&6
4394
cat >conftest.make <<\_ACEOF
4397
@echo '@@@%%%=$(MAKE)=@@@%%%'
4399
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4400
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4402
eval ac_cv_prog_make_${ac_make}_set=yes;;
4404
eval ac_cv_prog_make_${ac_make}_set=no;;
4408
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4409
{ echo "$as_me:$LINENO: result: yes" >&5
4410
echo "${ECHO_T}yes" >&6; }
4413
{ echo "$as_me:$LINENO: result: no" >&5
4414
echo "${ECHO_T}no" >&6; }
4415
SET_MAKE="MAKE=${MAKE-make}"
4418
# Using variables in AC_CONFIG_SUBDIRS produces warnings, use literals:
4420
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4421
if test -f "$ac_dir/install-sh"; then
4423
ac_install_sh="$ac_aux_dir/install-sh -c"
4425
elif test -f "$ac_dir/install.sh"; then
4427
ac_install_sh="$ac_aux_dir/install.sh -c"
4429
elif test -f "$ac_dir/shtool"; then
4431
ac_install_sh="$ac_aux_dir/shtool install -c"
4435
if test -z "$ac_aux_dir"; then
4436
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4437
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4438
{ (exit 1); exit 1; }; }
4441
# These three variables are undocumented and unsupported,
4442
# and are intended to be withdrawn in a future Autoconf release.
4443
# They can cause serious problems if a builder's source tree is in a directory
4444
# whose full name contains unusual characters.
4445
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4446
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4447
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4450
subdirs="$subdirs libxslt _XML wiki"
4453
ac_config_files="$ac_config_files Makefile"
4455
cat >confcache <<\_ACEOF
4456
# This file is a shell script that caches the results of configure
4457
# tests run on this system so they can be shared between configure
4458
# scripts and configure runs, see configure's option --config-cache.
4459
# It is not useful on other systems. If it contains results you don't
4460
# want to keep, you may remove or edit it.
4462
# config.status only pays attention to the cache file if you give it
4463
# the --recheck option to rerun configure.
4465
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4466
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4471
# The following way of writing the cache mishandles newlines in values,
4472
# but we know of no workaround that is simple, portable, and efficient.
4473
# So, we kill variables containing newlines.
4474
# Ultrix sh set writes to stderr and can't be redirected directly,
4475
# and sets the high bit in the cache file unless we assign to the vars.
4477
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4478
eval ac_val=\$$ac_var
4482
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4483
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4486
_ | IFS | as_nl) ;; #(
4487
*) $as_unset $ac_var ;;
4493
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4494
*${as_nl}ac_space=\ *)
4495
# `set' does not quote correctly, so add quotes (double-quote
4496
# substitution turns \\\\ into \\, and sed turns \\ into \).
4499
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4502
# `set' quotes correctly as required by POSIX, so do not add quotes.
4503
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4512
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4514
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4516
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4517
if test -w "$cache_file"; then
4518
test "x$cache_file" != "x/dev/null" &&
4519
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4520
echo "$as_me: updating cache $cache_file" >&6;}
4521
cat confcache >$cache_file
4523
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4524
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4529
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4530
# Let make expand exec_prefix.
4531
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4533
# Transform confdefs.h into DEFS.
4534
# Protect against shell expansion while executing Makefile rules.
4535
# Protect against Makefile macro expansion.
4537
# If the first sed substitution is executed (which looks for macros that
4538
# take arguments), then branch to the quote section. Otherwise,
4539
# look for a macro that doesn't take arguments.
4543
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4545
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4549
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4562
DEFS=`sed -n "$ac_script" confdefs.h`
4567
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4568
# 1. Remove the extension, and $U if already installed.
4569
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4570
ac_i=`echo "$ac_i" | sed "$ac_script"`
4571
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4572
# will be set to the directory where LIBOBJS objects are built.
4573
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4574
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4578
LTLIBOBJS=$ac_ltlibobjs
4582
: ${CONFIG_STATUS=./config.status}
4583
ac_clean_files_save=$ac_clean_files
4584
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4585
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4586
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4587
cat >$CONFIG_STATUS <<_ACEOF
4589
# Generated by $as_me.
4590
# Run this file to recreate the current configuration.
4591
# Compiler output produced by configure, useful for debugging
4592
# configure, is in config.log if it exists.
4597
SHELL=\${CONFIG_SHELL-$SHELL}
4600
cat >>$CONFIG_STATUS <<\_ACEOF
4601
## --------------------- ##
4602
## M4sh Initialization. ##
4603
## --------------------- ##
4605
# Be Bourne compatible
4606
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4609
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4610
# is contrary to our usage. Disable this feature.
4611
alias -g '${1+"$@"}'='"$@"'
4612
setopt NO_GLOB_SUBST
4614
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
4616
BIN_SH=xpg4; export BIN_SH # for Tru64
4617
DUALCASE=1; export DUALCASE # for MKS sh
4621
# Avoid depending upon Character Ranges.
4622
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4623
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4624
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4625
as_cr_digits='0123456789'
4626
as_cr_alnum=$as_cr_Letters$as_cr_digits
4628
# The user is always right.
4629
if test "${PATH_SEPARATOR+set}" != set; then
4630
echo "#! /bin/sh" >conf$$.sh
4631
echo "exit 0" >>conf$$.sh
4633
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4641
# Support unset when possible.
4642
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4650
# We need space, tab and new line, in precisely that order. Quoting is
4651
# there to prevent editors from complaining about space-tab.
4652
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4653
# splitting by setting IFS to empty value.)
4658
# Find who we are. Look in the path if we contain no directory separator.
4660
*[\\/]* ) as_myself=$0 ;;
4661
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665
test -z "$as_dir" && as_dir=.
4666
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4672
# We did not find ourselves, most probably we were run as `sh COMMAND'
4673
# in which case we are not to be found in the path.
4674
if test "x$as_myself" = x; then
4677
if test ! -f "$as_myself"; then
4678
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4679
{ (exit 1); exit 1; }
4682
# Work around bugs in pre-3.0 UWIN ksh.
4683
for as_var in ENV MAIL MAILPATH
4684
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4692
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4693
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4694
LC_TELEPHONE LC_TIME
4696
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4697
eval $as_var=C; export $as_var
4699
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4703
# Required to use basename.
4704
if expr a : '\(a\)' >/dev/null 2>&1 &&
4705
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4711
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4712
as_basename=basename
4718
# Name of the executable.
4719
as_me=`$as_basename -- "$0" ||
4720
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4721
X"$0" : 'X\(//\)$' \| \
4722
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4724
sed '/^.*\/\([^/][^/]*\)\/*$/{
4745
test "x$as_lineno_1" != "x$as_lineno_2" &&
4746
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4748
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4749
# uniformly replaced by the line number. The first 'sed' inserts a
4750
# line-number line after each line using $LINENO; the second 'sed'
4751
# does the real work. The second script uses 'N' to pair each
4752
# line-number line with the line containing $LINENO, and appends
4753
# trailing '-' during substitution so that $LINENO is not a special
4755
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4756
# scripts with optimization help from Paolo Bonzini. Blame Lee
4757
# E. McMahon (1931-1989) for sed's syntax. :-)
4769
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4773
chmod +x "$as_me.lineno" ||
4774
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4775
{ (exit 1); exit 1; }; }
4777
# Don't try to exec as it changes $[0], causing all sort of problems
4778
# (the dirname of $[0] is not the place where we might find the
4779
# original and so on. Autoconf is especially sensitive to this).
4781
# Exit status is that of the last command.
4786
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4792
ECHO_C= ECHO_N= ECHO_T=
4795
case `echo 'x\c'` in
4796
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4803
if expr a : '\(a\)' >/dev/null 2>&1 &&
4804
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4810
rm -f conf$$ conf$$.exe conf$$.file
4811
if test -d conf$$.dir; then
4812
rm -f conf$$.dir/conf$$.file
4818
if ln -s conf$$.file conf$$ 2>/dev/null; then
4820
# ... but there are two gotchas:
4821
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4822
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4823
# In both cases, we have to default to `cp -p'.
4824
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4826
elif ln conf$$.file conf$$ 2>/dev/null; then
4831
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4832
rmdir conf$$.dir 2>/dev/null
4834
if mkdir -p . 2>/dev/null; then
4837
test -d ./-p && rmdir ./-p
4841
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
4842
# systems may use methods other than mode bits to determine executability.
4843
cat >conf$$.file <<_ASEOF
4847
chmod +x conf$$.file
4848
if test -x conf$$.file >/dev/null 2>&1; then
4849
as_executable_p="test -x"
4855
# Sed expression to map a string onto a valid CPP name.
4856
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4858
# Sed expression to map a string onto a valid variable name.
4859
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4864
# Save the log message, to keep $[0] and so on meaningful, and to
4865
# report actual input values of CONFIG_FILES etc. instead of their
4866
# values after options handling.
4868
This file was extended by $as_me, which was
4869
generated by GNU Autoconf 2.60a. Invocation command line was
4871
CONFIG_FILES = $CONFIG_FILES
4872
CONFIG_HEADERS = $CONFIG_HEADERS
4873
CONFIG_LINKS = $CONFIG_LINKS
4874
CONFIG_COMMANDS = $CONFIG_COMMANDS
4877
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4882
cat >>$CONFIG_STATUS <<_ACEOF
4883
# Files that config.status was made for.
4884
config_files="$ac_config_files"
4888
cat >>$CONFIG_STATUS <<\_ACEOF
4890
\`$as_me' instantiates files from templates according to the
4891
current configuration.
4893
Usage: $0 [OPTIONS] [FILE]...
4895
-h, --help print this help, then exit
4896
-V, --version print version number and configuration settings, then exit
4897
-q, --quiet do not print progress messages
4898
-d, --debug don't remove temporary files
4899
--recheck update $as_me by reconfiguring in the same conditions
4900
--file=FILE[:TEMPLATE]
4901
instantiate the configuration file FILE
4903
Configuration files:
4906
Report bugs to <bug-autoconf@gnu.org>."
4909
cat >>$CONFIG_STATUS <<_ACEOF
4912
configured by $0, generated by GNU Autoconf 2.60a,
4913
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4915
Copyright (C) 2006 Free Software Foundation, Inc.
4916
This config.status script is free software; the Free Software Foundation
4917
gives unlimited permission to copy, distribute and modify it."
4923
cat >>$CONFIG_STATUS <<\_ACEOF
4924
# If no file are specified by the user, then we need to provide default
4925
# value. By we need to know if files were specified by the user.
4931
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4932
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4943
# Handling of the options.
4944
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4946
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4947
echo "$ac_cs_version"; exit ;;
4948
--debug | --debu | --deb | --de | --d | -d )
4950
--file | --fil | --fi | --f )
4952
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4953
ac_need_defaults=false;;
4954
--he | --h | --help | --hel | -h )
4955
echo "$ac_cs_usage"; exit ;;
4956
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4957
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4961
-*) { echo "$as_me: error: unrecognized option: $1
4962
Try \`$0 --help' for more information." >&2
4963
{ (exit 1); exit 1; }; } ;;
4965
*) ac_config_targets="$ac_config_targets $1"
4966
ac_need_defaults=false ;;
4972
ac_configure_extra_args=
4974
if $ac_cs_silent; then
4976
ac_configure_extra_args="$ac_configure_extra_args --silent"
4980
cat >>$CONFIG_STATUS <<_ACEOF
4981
if \$ac_cs_recheck; then
4982
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4985
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4989
cat >>$CONFIG_STATUS <<\_ACEOF
4993
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4994
## Running $as_me. ##
5000
cat >>$CONFIG_STATUS <<_ACEOF
5003
cat >>$CONFIG_STATUS <<\_ACEOF
5005
# Handling of arguments.
5006
for ac_config_target in $ac_config_targets
5008
case $ac_config_target in
5009
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5011
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5012
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5013
{ (exit 1); exit 1; }; };;
5018
# If the user did not use the arguments to specify the items to instantiate,
5019
# then the envvar interface is used. Set only those that are not.
5020
# We use the long form for the default assignment because of an extremely
5021
# bizarre bug on SunOS 4.1.3.
5022
if $ac_need_defaults; then
5023
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5026
# Have a temporary directory for convenience. Make it in the build tree
5027
# simply because there is no reason against having it here, and in addition,
5028
# creating and moving files from /tmp can sometimes cause problems.
5029
# Hook for its removal unless debugging.
5030
# Note that there is a small window in which the directory will not be cleaned:
5031
# after its creation but before its name has been assigned to `$tmp'.
5035
trap 'exit_status=$?
5036
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5038
trap '{ (exit 1); exit 1; }' 1 2 13 15
5040
# Create a (secure) tmp directory for tmp files.
5043
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5044
test -n "$tmp" && test -d "$tmp"
5047
tmp=./conf$$-$RANDOM
5048
(umask 077 && mkdir "$tmp")
5051
echo "$me: cannot create a temporary directory in ." >&2
5052
{ (exit 1); exit 1; }
5056
# Set up the sed scripts for CONFIG_FILES section.
5059
# No need to generate the scripts if there are no CONFIG_FILES.
5060
# This happens for instance when ./config.status config.h
5061
if test -n "$CONFIG_FILES"; then
5068
for ac_last_try in false false false false false :; do
5069
cat >conf$$subs.sed <<_ACEOF
5070
SHELL!$SHELL$ac_delim
5071
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5072
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5073
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5074
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5075
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5076
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5077
exec_prefix!$exec_prefix$ac_delim
5078
prefix!$prefix$ac_delim
5079
program_transform_name!$program_transform_name$ac_delim
5080
bindir!$bindir$ac_delim
5081
sbindir!$sbindir$ac_delim
5082
libexecdir!$libexecdir$ac_delim
5083
datarootdir!$datarootdir$ac_delim
5084
datadir!$datadir$ac_delim
5085
sysconfdir!$sysconfdir$ac_delim
5086
sharedstatedir!$sharedstatedir$ac_delim
5087
localstatedir!$localstatedir$ac_delim
5088
includedir!$includedir$ac_delim
5089
oldincludedir!$oldincludedir$ac_delim
5090
docdir!$docdir$ac_delim
5091
infodir!$infodir$ac_delim
5092
htmldir!$htmldir$ac_delim
5093
dvidir!$dvidir$ac_delim
5094
pdfdir!$pdfdir$ac_delim
5095
psdir!$psdir$ac_delim
5096
libdir!$libdir$ac_delim
5097
localedir!$localedir$ac_delim
5098
mandir!$mandir$ac_delim
5100
ECHO_C!$ECHO_C$ac_delim
5101
ECHO_N!$ECHO_N$ac_delim
5102
ECHO_T!$ECHO_T$ac_delim
5104
build_alias!$build_alias$ac_delim
5105
host_alias!$host_alias$ac_delim
5106
target_alias!$target_alias$ac_delim
5107
XML2_CONFIG!$XML2_CONFIG$ac_delim
5109
CFLAGS!$CFLAGS$ac_delim
5110
LDFLAGS!$LDFLAGS$ac_delim
5111
CPPFLAGS!$CPPFLAGS$ac_delim
5112
ac_ct_CC!$ac_ct_CC$ac_delim
5113
EXEEXT!$EXEEXT$ac_delim
5114
OBJEXT!$OBJEXT$ac_delim
5115
XML_CFLAGS!$XML_CFLAGS$ac_delim
5116
XML_LIBS!$XML_LIBS$ac_delim
5119
EGREP!$EGREP$ac_delim
5120
LIBXSL_INCLUDE!$LIBXSL_INCLUDE$ac_delim
5121
LIBDIR!$LIBDIR$ac_delim
5122
steam_sys_os!$steam_sys_os$ac_delim
5123
LDSHARED!$LDSHARED$ac_delim
5125
SET_MAKE!$SET_MAKE$ac_delim
5126
subdirs!$subdirs$ac_delim
5127
LIBOBJS!$LIBOBJS$ac_delim
5128
LTLIBOBJS!$LTLIBOBJS$ac_delim
5131
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 59; then
5133
elif $ac_last_try; then
5134
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5135
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5136
{ (exit 1); exit 1; }; }
5138
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5142
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5143
if test -n "$ac_eof"; then
5144
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5145
ac_eof=`expr $ac_eof + 1`
5148
cat >>$CONFIG_STATUS <<_ACEOF
5149
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5150
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5153
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5154
s/^/s,@/; s/!/@,|#_!!_#|/
5157
s/'"$ac_delim"'$/,g/; t
5159
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5160
' >>$CONFIG_STATUS <conf$$subs.sed
5161
rm -f conf$$subs.sed
5162
cat >>$CONFIG_STATUS <<_ACEOF
5169
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5170
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5171
# trailing colons and then remove the whole line if VPATH becomes empty
5172
# (actually we leave an empty line to preserve line numbers).
5173
if test "x$srcdir" = x.; then
5174
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5178
s/^\([^=]*=[ ]*\):*/\1/
5184
cat >>$CONFIG_STATUS <<\_ACEOF
5185
fi # test -n "$CONFIG_FILES"
5188
for ac_tag in :F $CONFIG_FILES
5191
:[FHLC]) ac_mode=$ac_tag; continue;;
5193
case $ac_mode$ac_tag in
5195
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5196
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5197
{ (exit 1); exit 1; }; };;
5198
:[FH]-) ac_tag=-:-;;
5199
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5216
-) ac_f="$tmp/stdin";;
5217
*) # Look for the file first in the build tree, then in the source tree
5218
# (if the path is not absolute). The absolute path cannot be DOS-style,
5219
# because $ac_f cannot contain `:'.
5223
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5225
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5226
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5227
{ (exit 1); exit 1; }; };;
5229
ac_file_inputs="$ac_file_inputs $ac_f"
5232
# Let's still pretend it is `configure' which instantiates (i.e., don't
5233
# use $as_me), people would be surprised to read:
5234
# /* config.h. Generated by config.status. */
5235
configure_input="Generated from "`IFS=:
5236
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5237
if test x"$ac_file" != x-; then
5238
configure_input="$ac_file. $configure_input"
5239
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5240
echo "$as_me: creating $ac_file" >&6;}
5244
*:-:* | *:-) cat >"$tmp/stdin";;
5249
ac_dir=`$as_dirname -- "$ac_file" ||
5250
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5251
X"$ac_file" : 'X\(//\)[^/]' \| \
5252
X"$ac_file" : 'X\(//\)$' \| \
5253
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5255
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5274
-*) as_dir=./$as_dir;;
5276
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5280
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5281
*) as_qdir=$as_dir;;
5283
as_dirs="'$as_qdir' $as_dirs"
5284
as_dir=`$as_dirname -- "$as_dir" ||
5285
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5286
X"$as_dir" : 'X\(//\)[^/]' \| \
5287
X"$as_dir" : 'X\(//\)$' \| \
5288
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5290
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5307
test -d "$as_dir" && break
5309
test -z "$as_dirs" || eval "mkdir $as_dirs"
5310
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5311
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5312
{ (exit 1); exit 1; }; }; }
5316
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5318
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5319
# A ".." for each directory in $ac_dir_suffix.
5320
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5321
case $ac_top_builddir_sub in
5322
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5323
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5326
ac_abs_top_builddir=$ac_pwd
5327
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5328
# for backward compatibility:
5329
ac_top_builddir=$ac_top_build_prefix
5332
.) # We are building in place.
5334
ac_top_srcdir=$ac_top_builddir_sub
5335
ac_abs_top_srcdir=$ac_pwd ;;
5336
[\\/]* | ?:[\\/]* ) # Absolute name.
5337
ac_srcdir=$srcdir$ac_dir_suffix;
5338
ac_top_srcdir=$srcdir
5339
ac_abs_top_srcdir=$srcdir ;;
5341
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5342
ac_top_srcdir=$ac_top_build_prefix$srcdir
5343
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5345
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5356
cat >>$CONFIG_STATUS <<\_ACEOF
5357
# If the template does not know about datarootdir, expand it.
5358
# FIXME: This hack should be removed a few years after 2.60.
5359
ac_datarootdir_hack=; ac_datarootdir_seen=
5361
case `sed -n '/datarootdir/ {
5370
' $ac_file_inputs` in
5371
*datarootdir*) ac_datarootdir_seen=yes;;
5372
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5373
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5374
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5376
cat >>$CONFIG_STATUS <<_ACEOF
5377
ac_datarootdir_hack='
5378
s&@datadir@&$datadir&g
5379
s&@docdir@&$docdir&g
5380
s&@infodir@&$infodir&g
5381
s&@localedir@&$localedir&g
5382
s&@mandir@&$mandir&g
5383
s&\\\${datarootdir}&$datarootdir&g' ;;
5387
# Neutralize VPATH when `$srcdir' = `.'.
5388
# Shell code in configure.ac might set extrasub.
5389
# FIXME: do we really want to maintain this feature?
5390
cat >>$CONFIG_STATUS <<_ACEOF
5394
cat >>$CONFIG_STATUS <<\_ACEOF
5396
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5397
s&@configure_input@&$configure_input&;t t
5398
s&@top_builddir@&$ac_top_builddir_sub&;t t
5399
s&@srcdir@&$ac_srcdir&;t t
5400
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5401
s&@top_srcdir@&$ac_top_srcdir&;t t
5402
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5403
s&@builddir@&$ac_builddir&;t t
5404
s&@abs_builddir@&$ac_abs_builddir&;t t
5405
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5406
$ac_datarootdir_hack
5407
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5409
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5410
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5411
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5412
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5413
which seems to be undefined. Please make sure it is defined." >&5
5414
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5415
which seems to be undefined. Please make sure it is defined." >&2;}
5419
-) cat "$tmp/out"; rm -f "$tmp/out";;
5420
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5431
{ (exit 0); exit 0; }
5433
chmod +x $CONFIG_STATUS
5434
ac_clean_files=$ac_clean_files_save
5437
# configure is writing to config.log, and then calls config.status.
5438
# config.status does its own redirection, appending to config.log.
5439
# Unfortunately, on DOS this fails, as config.log is still kept open
5440
# by configure, so config.status won't be able to write to it; its
5441
# output is simply discarded. So we exec the FD to /dev/null,
5442
# effectively closing config.log, so it can be properly (re)opened and
5443
# appended to by config.status. When coming back to configure, we
5444
# need to make the FD available again.
5445
if test "$no_create" != yes; then
5447
ac_config_status_args=
5448
test "$silent" = yes &&
5449
ac_config_status_args="$ac_config_status_args --quiet"
5451
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5453
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5454
# would make configure fail if this is the last instruction.
5455
$ac_cs_success || { (exit 1); exit 1; }
5459
# CONFIG_SUBDIRS section.
5461
if test "$no_recursion" != yes; then
5463
# Remove --cache-file and --srcdir arguments so they do not pile up.
5464
ac_sub_configure_args=
5466
eval "set x $ac_configure_args"
5470
if test -n "$ac_prev"; then
5475
-cache-file | --cache-file | --cache-fil | --cache-fi \
5476
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5477
ac_prev=cache_file ;;
5478
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5479
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5482
--config-cache | -C)
5484
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5486
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5488
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5490
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5494
*\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5496
ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
5500
# Always prepend --prefix to ensure using the same prefix
5501
# in subdir configurations.
5502
ac_arg="--prefix=$prefix"
5504
*\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5506
ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
5509
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5511
# Do not complain, so a configure script can configure whichever
5512
# parts of a large source tree are present.
5513
test -d "$srcdir/$ac_dir" || continue
5515
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5516
echo "$as_me:$LINENO: $ac_msg" >&5
5520
-*) as_dir=./$as_dir;;
5522
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5526
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5527
*) as_qdir=$as_dir;;
5529
as_dirs="'$as_qdir' $as_dirs"
5530
as_dir=`$as_dirname -- "$as_dir" ||
5531
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5532
X"$as_dir" : 'X\(//\)[^/]' \| \
5533
X"$as_dir" : 'X\(//\)$' \| \
5534
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5536
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5553
test -d "$as_dir" && break
5555
test -z "$as_dirs" || eval "mkdir $as_dirs"
5556
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5557
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5558
{ (exit 1); exit 1; }; }; }
5562
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5564
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5565
# A ".." for each directory in $ac_dir_suffix.
5566
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5567
case $ac_top_builddir_sub in
5568
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5569
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5572
ac_abs_top_builddir=$ac_pwd
5573
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5574
# for backward compatibility:
5575
ac_top_builddir=$ac_top_build_prefix
5578
.) # We are building in place.
5580
ac_top_srcdir=$ac_top_builddir_sub
5581
ac_abs_top_srcdir=$ac_pwd ;;
5582
[\\/]* | ?:[\\/]* ) # Absolute name.
5583
ac_srcdir=$srcdir$ac_dir_suffix;
5584
ac_top_srcdir=$srcdir
5585
ac_abs_top_srcdir=$srcdir ;;
5587
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5588
ac_top_srcdir=$ac_top_build_prefix$srcdir
5589
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5591
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5596
# Check for guested configure; otherwise get Cygnus style configure.
5597
if test -f "$ac_srcdir/configure.gnu"; then
5598
ac_sub_configure=$ac_srcdir/configure.gnu
5599
elif test -f "$ac_srcdir/configure"; then
5600
ac_sub_configure=$ac_srcdir/configure
5601
elif test -f "$ac_srcdir/configure.in"; then
5602
# This should be Cygnus configure.
5603
ac_sub_configure=$ac_aux_dir/configure
5605
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5606
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5610
# The recursion is here.
5611
if test -n "$ac_sub_configure"; then
5612
# Make the cache file name correct relative to the subdirectory.
5614
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5616
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5619
{ echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5620
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5621
# The eval makes quoting arguments work.
5622
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5623
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5624
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5625
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5626
{ (exit 1); exit 1; }; }