2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61.
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 more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62
# We need space, tab and new line, in precisely that order. Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
70
# Find who we are. Look in the path if we contain no directory separator.
72
*[\\/]* ) as_myself=$0 ;;
73
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77
test -z "$as_dir" && as_dir=.
78
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
89
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
{ (exit 1); exit 1; }; }
457
# Don't try to exec as it changes $[0], causing all sort of problems
458
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
461
# Exit status is that of the last command.
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
exec 7<&0 </dev/null 6>&1
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556
# so uname gets run too.
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562
ac_default_prefix=/usr/local
564
ac_config_libobj_dir=.
570
SHELL=${CONFIG_SHELL-/bin/sh}
572
# Identity of this package.
579
ac_unique_file="aclocal.m4"
589
program_transform_name
631
INSTALL_STRIP_PROGRAM
667
ac_precious_vars='build_alias
680
# Initialize some variables set by options.
682
ac_init_version=false
683
# The variables have the same names as the options, with
684
# dashes changed to underlines.
692
program_transform_name=s,x,x,
700
# Installation directory options.
701
# These are left unexpanded so users can "make install exec_prefix=/foo"
702
# and all the variables that are supposed to be based on exec_prefix
703
# by default will actually change.
704
# Use braces instead of parens because sh, perl, etc. also accept them.
705
# (The list follows the same order as the GNU Coding Standards.)
706
bindir='${exec_prefix}/bin'
707
sbindir='${exec_prefix}/sbin'
708
libexecdir='${exec_prefix}/libexec'
709
datarootdir='${prefix}/share'
710
datadir='${datarootdir}'
711
sysconfdir='${prefix}/etc'
712
sharedstatedir='${prefix}/com'
713
localstatedir='${prefix}/var'
714
includedir='${prefix}/include'
715
oldincludedir='/usr/include'
716
docdir='${datarootdir}/doc/${PACKAGE}'
717
infodir='${datarootdir}/info'
722
libdir='${exec_prefix}/lib'
723
localedir='${datarootdir}/locale'
724
mandir='${datarootdir}/man'
730
# If the previous option needs an argument, assign it.
731
if test -n "$ac_prev"; then
732
eval $ac_prev=\$ac_option
738
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742
# Accept the important Cygnus configure options, so we can diagnose typos.
744
case $ac_dashdash$ac_option in
748
-bindir | --bindir | --bindi | --bind | --bin | --bi)
750
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
753
-build | --build | --buil | --bui | --bu)
754
ac_prev=build_alias ;;
755
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
756
build_alias=$ac_optarg ;;
758
-cache-file | --cache-file | --cache-fil | --cache-fi \
759
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
760
ac_prev=cache_file ;;
761
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
762
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
763
cache_file=$ac_optarg ;;
766
cache_file=config.cache ;;
768
-datadir | --datadir | --datadi | --datad)
770
-datadir=* | --datadir=* | --datadi=* | --datad=*)
771
datadir=$ac_optarg ;;
773
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
774
| --dataroo | --dataro | --datar)
775
ac_prev=datarootdir ;;
776
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
777
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
778
datarootdir=$ac_optarg ;;
780
-disable-* | --disable-*)
781
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
782
# Reject names that are not valid shell variable names.
783
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
784
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
785
{ (exit 1); exit 1; }; }
786
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
787
eval enable_$ac_feature=no ;;
789
-docdir | --docdir | --docdi | --doc | --do)
791
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
796
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799
-enable-* | --enable-*)
800
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801
# Reject names that are not valid shell variable names.
802
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
804
{ (exit 1); exit 1; }; }
805
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
806
eval enable_$ac_feature=\$ac_optarg ;;
808
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
809
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
810
| --exec | --exe | --ex)
811
ac_prev=exec_prefix ;;
812
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
813
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
814
| --exec=* | --exe=* | --ex=*)
815
exec_prefix=$ac_optarg ;;
817
-gas | --gas | --ga | --g)
818
# Obsolete; use --with-gas.
821
-help | --help | --hel | --he | -h)
823
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
824
ac_init_help=recursive ;;
825
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
826
ac_init_help=short ;;
828
-host | --host | --hos | --ho)
829
ac_prev=host_alias ;;
830
-host=* | --host=* | --hos=* | --ho=*)
831
host_alias=$ac_optarg ;;
833
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
835
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
837
htmldir=$ac_optarg ;;
839
-includedir | --includedir | --includedi | --included | --include \
840
| --includ | --inclu | --incl | --inc)
841
ac_prev=includedir ;;
842
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
843
| --includ=* | --inclu=* | --incl=* | --inc=*)
844
includedir=$ac_optarg ;;
846
-infodir | --infodir | --infodi | --infod | --info | --inf)
848
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
849
infodir=$ac_optarg ;;
851
-libdir | --libdir | --libdi | --libd)
853
-libdir=* | --libdir=* | --libdi=* | --libd=*)
856
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
857
| --libexe | --libex | --libe)
858
ac_prev=libexecdir ;;
859
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
860
| --libexe=* | --libex=* | --libe=*)
861
libexecdir=$ac_optarg ;;
863
-localedir | --localedir | --localedi | --localed | --locale)
865
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
866
localedir=$ac_optarg ;;
868
-localstatedir | --localstatedir | --localstatedi | --localstated \
869
| --localstate | --localstat | --localsta | --localst | --locals)
870
ac_prev=localstatedir ;;
871
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
872
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
873
localstatedir=$ac_optarg ;;
875
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
877
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
881
# Obsolete; use --without-fp.
884
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
885
| --no-cr | --no-c | -n)
888
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
889
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
892
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
893
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
894
| --oldin | --oldi | --old | --ol | --o)
895
ac_prev=oldincludedir ;;
896
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
897
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
898
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
899
oldincludedir=$ac_optarg ;;
901
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
903
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
906
-program-prefix | --program-prefix | --program-prefi | --program-pref \
907
| --program-pre | --program-pr | --program-p)
908
ac_prev=program_prefix ;;
909
-program-prefix=* | --program-prefix=* | --program-prefi=* \
910
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
911
program_prefix=$ac_optarg ;;
913
-program-suffix | --program-suffix | --program-suffi | --program-suff \
914
| --program-suf | --program-su | --program-s)
915
ac_prev=program_suffix ;;
916
-program-suffix=* | --program-suffix=* | --program-suffi=* \
917
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
918
program_suffix=$ac_optarg ;;
920
-program-transform-name | --program-transform-name \
921
| --program-transform-nam | --program-transform-na \
922
| --program-transform-n | --program-transform- \
923
| --program-transform | --program-transfor \
924
| --program-transfo | --program-transf \
925
| --program-trans | --program-tran \
926
| --progr-tra | --program-tr | --program-t)
927
ac_prev=program_transform_name ;;
928
-program-transform-name=* | --program-transform-name=* \
929
| --program-transform-nam=* | --program-transform-na=* \
930
| --program-transform-n=* | --program-transform-=* \
931
| --program-transform=* | --program-transfor=* \
932
| --program-transfo=* | --program-transf=* \
933
| --program-trans=* | --program-tran=* \
934
| --progr-tra=* | --program-tr=* | --program-t=*)
935
program_transform_name=$ac_optarg ;;
937
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
939
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
942
-psdir | --psdir | --psdi | --psd | --ps)
944
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
947
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
948
| -silent | --silent | --silen | --sile | --sil)
951
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
953
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
955
sbindir=$ac_optarg ;;
957
-sharedstatedir | --sharedstatedir | --sharedstatedi \
958
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
959
| --sharedst | --shareds | --shared | --share | --shar \
961
ac_prev=sharedstatedir ;;
962
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
963
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
964
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
966
sharedstatedir=$ac_optarg ;;
968
-site | --site | --sit)
970
-site=* | --site=* | --sit=*)
973
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
975
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
978
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
979
| --syscon | --sysco | --sysc | --sys | --sy)
980
ac_prev=sysconfdir ;;
981
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
982
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
983
sysconfdir=$ac_optarg ;;
985
-target | --target | --targe | --targ | --tar | --ta | --t)
986
ac_prev=target_alias ;;
987
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
988
target_alias=$ac_optarg ;;
990
-v | -verbose | --verbose | --verbos | --verbo | --verb)
993
-version | --version | --versio | --versi | --vers | -V)
997
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\$ac_optarg ;;
1005
-without-* | --without-*)
1006
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1007
# Reject names that are not valid shell variable names.
1008
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1009
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1010
{ (exit 1); exit 1; }; }
1011
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1012
eval with_$ac_package=no ;;
1015
# Obsolete; use --with-x.
1018
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1019
| --x-incl | --x-inc | --x-in | --x-i)
1020
ac_prev=x_includes ;;
1021
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1022
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1023
x_includes=$ac_optarg ;;
1025
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1026
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1027
ac_prev=x_libraries ;;
1028
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1029
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1030
x_libraries=$ac_optarg ;;
1032
-*) { echo "$as_me: error: unrecognized option: $ac_option
1033
Try \`$0 --help' for more information." >&2
1034
{ (exit 1); exit 1; }; }
1038
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1039
# Reject names that are not valid shell variable names.
1040
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1041
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1042
{ (exit 1); exit 1; }; }
1043
eval $ac_envvar=\$ac_optarg
1044
export $ac_envvar ;;
1047
# FIXME: should be removed in autoconf 3.0.
1048
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1049
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1051
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1057
if test -n "$ac_prev"; then
1058
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1059
{ echo "$as_me: error: missing argument to $ac_option" >&2
1060
{ (exit 1); exit 1; }; }
1063
# Be sure to have absolute directory names.
1064
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1065
datadir sysconfdir sharedstatedir localstatedir includedir \
1066
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1067
libdir localedir mandir
1069
eval ac_val=\$$ac_var
1071
[\\/$]* | ?:[\\/]* ) continue;;
1072
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1074
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1075
{ (exit 1); exit 1; }; }
1078
# There might be people who depend on the old broken behavior: `$host'
1079
# used to hold the argument of --host etc.
1080
# FIXME: To remove some day.
1083
target=$target_alias
1085
# FIXME: To remove some day.
1086
if test "x$host_alias" != x; then
1087
if test "x$build_alias" = x; then
1088
cross_compiling=maybe
1089
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1090
If a cross compiler is detected then cross compile mode will be used." >&2
1091
elif test "x$build_alias" != "x$host_alias"; then
1097
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1099
test "$silent" = yes && exec 6>/dev/null
1102
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1103
ac_ls_di=`ls -di .` &&
1104
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1105
{ echo "$as_me: error: Working directory cannot be determined" >&2
1106
{ (exit 1); exit 1; }; }
1107
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1108
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1109
{ (exit 1); exit 1; }; }
1112
# Find the source files, if location was not specified.
1113
if test -z "$srcdir"; then
1114
ac_srcdir_defaulted=yes
1115
# Try the directory containing this script, then the parent directory.
1116
ac_confdir=`$as_dirname -- "$0" ||
1117
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1118
X"$0" : 'X\(//\)[^/]' \| \
1119
X"$0" : 'X\(//\)$' \| \
1120
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1122
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140
if test ! -r "$srcdir/$ac_unique_file"; then
1144
ac_srcdir_defaulted=no
1146
if test ! -r "$srcdir/$ac_unique_file"; then
1147
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1148
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1149
{ (exit 1); exit 1; }; }
1151
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1153
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1154
{ (exit 1); exit 1; }; }
1156
# When building in place, set srcdir=.
1157
if test "$ac_abs_confdir" = "$ac_pwd"; then
1160
# Remove unnecessary trailing slashes from srcdir.
1161
# Double slashes in file names in object file debugging info
1162
# mess up M-x gdb in Emacs.
1164
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1166
for ac_var in $ac_precious_vars; do
1167
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1168
eval ac_env_${ac_var}_value=\$${ac_var}
1169
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1170
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1174
# Report the --help message.
1176
if test "$ac_init_help" = "long"; then
1177
# Omit some internal or obsolete options to make the list less imposing.
1178
# This message is too long to be a string in the A/UX 3.1 sh.
1180
\`configure' configures this package to adapt to many kinds of systems.
1182
Usage: $0 [OPTION]... [VAR=VALUE]...
1184
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185
VAR=VALUE. See below for descriptions of some of the useful variables.
1187
Defaults for the options are specified in brackets.
1190
-h, --help display this help and exit
1191
--help=short display options specific to this package
1192
--help=recursive display the short help of all the included packages
1193
-V, --version display version information and exit
1194
-q, --quiet, --silent do not print \`checking...' messages
1195
--cache-file=FILE cache test results in FILE [disabled]
1196
-C, --config-cache alias for \`--cache-file=config.cache'
1197
-n, --no-create do not create output files
1198
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1200
Installation directories:
1201
--prefix=PREFIX install architecture-independent files in PREFIX
1202
[$ac_default_prefix]
1203
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1206
By default, \`make install' will install all the files in
1207
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1208
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209
for instance \`--prefix=\$HOME'.
1211
For better control, use the options below.
1213
Fine tuning of the installation directories:
1214
--bindir=DIR user executables [EPREFIX/bin]
1215
--sbindir=DIR system admin executables [EPREFIX/sbin]
1216
--libexecdir=DIR program executables [EPREFIX/libexec]
1217
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1218
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1219
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1220
--libdir=DIR object code libraries [EPREFIX/lib]
1221
--includedir=DIR C header files [PREFIX/include]
1222
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1223
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1224
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1225
--infodir=DIR info documentation [DATAROOTDIR/info]
1226
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1227
--mandir=DIR man documentation [DATAROOTDIR/man]
1228
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1229
--htmldir=DIR html documentation [DOCDIR]
1230
--dvidir=DIR dvi documentation [DOCDIR]
1231
--pdfdir=DIR pdf documentation [DOCDIR]
1232
--psdir=DIR ps documentation [DOCDIR]
1238
--program-prefix=PREFIX prepend PREFIX to installed program names
1239
--program-suffix=SUFFIX append SUFFIX to installed program names
1240
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1244
if test -n "$ac_init_help"; then
1249
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1250
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1251
--disable-dependency-tracking speeds up one-time build
1252
--enable-dependency-tracking do not reject slow dependency extractors
1253
--disable-jabber Build without Jabber
1255
Some influential environment variables:
1256
CC C compiler command
1257
CFLAGS C compiler flags
1258
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1259
nonstandard directory <lib dir>
1260
LIBS libraries to pass to the linker, e.g. -l<library>
1261
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1262
you have headers in a nonstandard directory <include dir>
1263
CXX C++ compiler command
1264
CXXFLAGS C++ compiler flags
1266
Use these variables to override the choices made by `configure' or to help
1267
it to find libraries and programs with nonstandard names/locations.
1273
if test "$ac_init_help" = "recursive"; then
1274
# If there are subdirs, report their specific --help.
1275
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1276
test -d "$ac_dir" || continue
1280
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1283
# A ".." for each directory in $ac_dir_suffix.
1284
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1285
case $ac_top_builddir_sub in
1286
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1287
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1290
ac_abs_top_builddir=$ac_pwd
1291
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1292
# for backward compatibility:
1293
ac_top_builddir=$ac_top_build_prefix
1296
.) # We are building in place.
1298
ac_top_srcdir=$ac_top_builddir_sub
1299
ac_abs_top_srcdir=$ac_pwd ;;
1300
[\\/]* | ?:[\\/]* ) # Absolute name.
1301
ac_srcdir=$srcdir$ac_dir_suffix;
1302
ac_top_srcdir=$srcdir
1303
ac_abs_top_srcdir=$srcdir ;;
1305
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1306
ac_top_srcdir=$ac_top_build_prefix$srcdir
1307
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1309
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1311
cd "$ac_dir" || { ac_status=$?; continue; }
1312
# Check for guested configure.
1313
if test -f "$ac_srcdir/configure.gnu"; then
1315
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1316
elif test -f "$ac_srcdir/configure"; then
1318
$SHELL "$ac_srcdir/configure" --help=recursive
1320
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1322
cd "$ac_pwd" || { ac_status=$?; break; }
1326
test -n "$ac_init_help" && exit $ac_status
1327
if $ac_init_version; then
1330
generated by GNU Autoconf 2.61
1332
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1333
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1334
This configure script is free software; the Free Software Foundation
1335
gives unlimited permission to copy, distribute and modify it.
1339
cat >config.log <<_ACEOF
1340
This file contains any messages produced by compilers while
1341
running configure, to aid debugging if configure makes a mistake.
1343
It was created by $as_me, which was
1344
generated by GNU Autoconf 2.61. Invocation command line was
1356
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1357
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1358
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1359
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1360
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1362
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1363
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1365
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1366
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1367
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1368
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1369
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1370
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1371
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379
test -z "$as_dir" && as_dir=.
1380
echo "PATH: $as_dir"
1396
# Keep a trace of the command line.
1397
# Strip out --no-create and --no-recursion so they do not pile up.
1398
# Strip out --silent because we don't want to record it for future runs.
1399
# Also quote any args containing shell meta-characters.
1400
# Make two passes to allow for proper duplicate-argument suppression.
1404
ac_must_keep_next=false
1410
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1411
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1412
| -silent | --silent | --silen | --sile | --sil)
1415
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1418
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1420
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1421
if test $ac_must_keep_next = true; then
1422
ac_must_keep_next=false # Got value, back to normal.
1425
*=* | --config-cache | -C | -disable-* | --disable-* \
1426
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1427
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1428
| -with-* | --with-* | -without-* | --without-* | --x)
1429
case "$ac_configure_args0 " in
1430
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1433
-* ) ac_must_keep_next=true ;;
1436
ac_configure_args="$ac_configure_args '$ac_arg'"
1441
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1442
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1444
# When interrupted or exit'd, cleanup temporary files, and complete
1445
# config.log. We remove comments because anyway the quotes in there
1446
# would cause problems or look ugly.
1447
# WARNING: Use '\'' to represent an apostrophe within the trap.
1448
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1449
trap 'exit_status=$?
1450
# Save into config.log some information that might help in debugging.
1455
## ---------------- ##
1456
## Cache variables. ##
1457
## ---------------- ##
1460
# The following way of writing the cache mishandles newlines in values,
1462
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1463
eval ac_val=\$$ac_var
1467
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1468
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1471
_ | IFS | as_nl) ;; #(
1472
*) $as_unset $ac_var ;;
1477
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1478
*${as_nl}ac_space=\ *)
1480
"s/'\''/'\''\\\\'\'''\''/g;
1481
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1484
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1492
## ----------------- ##
1493
## Output variables. ##
1494
## ----------------- ##
1497
for ac_var in $ac_subst_vars
1499
eval ac_val=\$$ac_var
1501
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503
echo "$ac_var='\''$ac_val'\''"
1507
if test -n "$ac_subst_files"; then
1509
## ------------------- ##
1510
## File substitutions. ##
1511
## ------------------- ##
1514
for ac_var in $ac_subst_files
1516
eval ac_val=\$$ac_var
1518
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1520
echo "$ac_var='\''$ac_val'\''"
1525
if test -s confdefs.h; then
1535
test "$ac_signal" != 0 &&
1536
echo "$as_me: caught signal $ac_signal"
1537
echo "$as_me: exit $exit_status"
1539
rm -f core *.core core.conftest.* &&
1540
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1543
for ac_signal in 1 2 13 15; do
1544
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1548
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1549
rm -f -r conftest* confdefs.h
1551
# Predefined preprocessor variables.
1553
cat >>confdefs.h <<_ACEOF
1554
#define PACKAGE_NAME "$PACKAGE_NAME"
1558
cat >>confdefs.h <<_ACEOF
1559
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1563
cat >>confdefs.h <<_ACEOF
1564
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1568
cat >>confdefs.h <<_ACEOF
1569
#define PACKAGE_STRING "$PACKAGE_STRING"
1573
cat >>confdefs.h <<_ACEOF
1574
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1578
# Let the site file select an alternate cache file if it wants to.
1579
# Prefer explicitly selected file to automatically selected ones.
1580
if test -n "$CONFIG_SITE"; then
1581
set x "$CONFIG_SITE"
1582
elif test "x$prefix" != xNONE; then
1583
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1585
set x "$ac_default_prefix/share/config.site" \
1586
"$ac_default_prefix/etc/config.site"
1591
if test -r "$ac_site_file"; then
1592
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1593
echo "$as_me: loading site script $ac_site_file" >&6;}
1594
sed 's/^/| /' "$ac_site_file" >&5
1599
if test -r "$cache_file"; then
1600
# Some versions of bash will fail to source /dev/null (special
1601
# files actually), so we avoid doing that.
1602
if test -f "$cache_file"; then
1603
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1604
echo "$as_me: loading cache $cache_file" >&6;}
1606
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1607
*) . "./$cache_file";;
1611
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1612
echo "$as_me: creating cache $cache_file" >&6;}
1616
# Check that the precious variables saved in the cache have kept the same
1618
ac_cache_corrupted=false
1619
for ac_var in $ac_precious_vars; do
1620
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1621
eval ac_new_set=\$ac_env_${ac_var}_set
1622
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1623
eval ac_new_val=\$ac_env_${ac_var}_value
1624
case $ac_old_set,$ac_new_set in
1626
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1627
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1628
ac_cache_corrupted=: ;;
1630
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1631
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1632
ac_cache_corrupted=: ;;
1635
if test "x$ac_old_val" != "x$ac_new_val"; then
1636
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1637
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1638
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1639
echo "$as_me: former value: $ac_old_val" >&2;}
1640
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1641
echo "$as_me: current value: $ac_new_val" >&2;}
1642
ac_cache_corrupted=:
1645
# Pass precious variables to config.status.
1646
if test "$ac_new_set" = set; then
1648
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1649
*) ac_arg=$ac_var=$ac_new_val ;;
1651
case " $ac_configure_args " in
1652
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1653
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1657
if $ac_cache_corrupted; then
1658
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1659
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1660
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1661
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1662
{ (exit 1); exit 1; }; }
1682
ac_cpp='$CPP $CPPFLAGS'
1683
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1688
am__api_version='1.10'
1691
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1692
if test -f "$ac_dir/install-sh"; then
1694
ac_install_sh="$ac_aux_dir/install-sh -c"
1696
elif test -f "$ac_dir/install.sh"; then
1698
ac_install_sh="$ac_aux_dir/install.sh -c"
1700
elif test -f "$ac_dir/shtool"; then
1702
ac_install_sh="$ac_aux_dir/shtool install -c"
1706
if test -z "$ac_aux_dir"; then
1707
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1708
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1709
{ (exit 1); exit 1; }; }
1712
# These three variables are undocumented and unsupported,
1713
# and are intended to be withdrawn in a future Autoconf release.
1714
# They can cause serious problems if a builder's source tree is in a directory
1715
# whose full name contains unusual characters.
1716
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1717
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1718
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1721
# Find a good install program. We prefer a C program (faster),
1722
# so one script is as good as another. But avoid the broken or
1723
# incompatible versions:
1724
# SysV /etc/install, /usr/sbin/install
1725
# SunOS /usr/etc/install
1726
# IRIX /sbin/install
1728
# AmigaOS /C/install, which installs bootblocks on floppy discs
1729
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1730
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1731
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1732
# OS/2's system install, which has a completely different semantic
1733
# ./install, which can be erroneously created by make from ./install.sh.
1734
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1735
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1736
if test -z "$INSTALL"; then
1737
if test "${ac_cv_path_install+set}" = set; then
1738
echo $ECHO_N "(cached) $ECHO_C" >&6
1740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744
test -z "$as_dir" && as_dir=.
1745
# Account for people who put trailing slashes in PATH elements.
1747
./ | .// | /cC/* | \
1748
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1749
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1752
# OSF1 and SCO ODT 3.0 have their own names for install.
1753
# Don't use installbsd from OSF since it installs stuff as root
1755
for ac_prog in ginstall scoinst install; do
1756
for ac_exec_ext in '' $ac_executable_extensions; do
1757
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1758
if test $ac_prog = install &&
1759
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1760
# AIX install. It has an incompatible calling convention.
1762
elif test $ac_prog = install &&
1763
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1764
# program-specific install script used by HP pwplus--don't use.
1767
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1780
if test "${ac_cv_path_install+set}" = set; then
1781
INSTALL=$ac_cv_path_install
1783
# As a last resort, use the slow shell script. Don't cache a
1784
# value for INSTALL within a source directory, because that will
1785
# break other packages using the cache if that directory is
1786
# removed, or if the value is a relative name.
1787
INSTALL=$ac_install_sh
1790
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1791
echo "${ECHO_T}$INSTALL" >&6; }
1793
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1794
# It thinks the first close brace ends the variable substitution.
1795
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1797
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1799
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1801
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1802
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1805
echo timestamp > conftest.file
1806
# Do `set' in a subshell so we don't clobber the current shell's
1807
# arguments. Must try -L first in case configure is actually a
1808
# symlink; some systems play weird games with the mod time of symlinks
1809
# (eg FreeBSD returns the mod time of the symlink's containing
1812
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1813
if test "$*" = "X"; then
1815
set X `ls -t $srcdir/configure conftest.file`
1818
if test "$*" != "X $srcdir/configure conftest.file" \
1819
&& test "$*" != "X conftest.file $srcdir/configure"; then
1821
# If neither matched, then we have a broken ls. This can happen
1822
# if, for instance, CONFIG_SHELL is bash and it inherits a
1823
# broken ls alias from the environment. This has actually
1824
# happened. Such a system could not be considered "sane".
1825
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1826
alias in your environment" >&5
1827
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1828
alias in your environment" >&2;}
1829
{ (exit 1); exit 1; }; }
1832
test "$2" = conftest.file
1838
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1839
Check your system clock" >&5
1840
echo "$as_me: error: newly created file is older than distributed files!
1841
Check your system clock" >&2;}
1842
{ (exit 1); exit 1; }; }
1844
{ echo "$as_me:$LINENO: result: yes" >&5
1845
echo "${ECHO_T}yes" >&6; }
1846
test "$program_prefix" != NONE &&
1847
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1848
# Use a double $ so make ignores it.
1849
test "$program_suffix" != NONE &&
1850
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1851
# Double any \ or $. echo might interpret backslashes.
1852
# By default was `s,x,x', remove it if useless.
1853
cat <<\_ACEOF >conftest.sed
1854
s/[\\$]/&&/g;s/;s,x,x,$//
1856
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1859
# expand $ac_aux_dir to an absolute path
1860
am_aux_dir=`cd $ac_aux_dir && pwd`
1862
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1863
# Use eval to expand $SHELL
1864
if eval "$MISSING --run true"; then
1865
am_missing_run="$MISSING --run "
1868
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1869
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1872
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1873
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1874
if test -z "$MKDIR_P"; then
1875
if test "${ac_cv_path_mkdir+set}" = set; then
1876
echo $ECHO_N "(cached) $ECHO_C" >&6
1878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1882
test -z "$as_dir" && as_dir=.
1883
for ac_prog in mkdir gmkdir; do
1884
for ac_exec_ext in '' $ac_executable_extensions; do
1885
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1886
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1887
'mkdir (GNU coreutils) '* | \
1888
'mkdir (coreutils) '* | \
1889
'mkdir (fileutils) '4.1*)
1890
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1900
if test "${ac_cv_path_mkdir+set}" = set; then
1901
MKDIR_P="$ac_cv_path_mkdir -p"
1903
# As a last resort, use the slow shell script. Don't cache a
1904
# value for MKDIR_P within a source directory, because that will
1905
# break other packages using the cache if that directory is
1906
# removed, or if the value is a relative name.
1907
test -d ./--version && rmdir ./--version
1908
MKDIR_P="$ac_install_sh -d"
1911
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1912
echo "${ECHO_T}$MKDIR_P" >&6; }
1916
[\\/$]* | ?:[\\/]*) ;;
1917
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1920
for ac_prog in gawk mawk nawk awk
1922
# Extract the first word of "$ac_prog", so it can be a program name with args.
1923
set dummy $ac_prog; ac_word=$2
1924
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1926
if test "${ac_cv_prog_AWK+set}" = set; then
1927
echo $ECHO_N "(cached) $ECHO_C" >&6
1929
if test -n "$AWK"; then
1930
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936
test -z "$as_dir" && as_dir=.
1937
for ac_exec_ext in '' $ac_executable_extensions; do
1938
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1939
ac_cv_prog_AWK="$ac_prog"
1940
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950
if test -n "$AWK"; then
1951
{ echo "$as_me:$LINENO: result: $AWK" >&5
1952
echo "${ECHO_T}$AWK" >&6; }
1954
{ echo "$as_me:$LINENO: result: no" >&5
1955
echo "${ECHO_T}no" >&6; }
1959
test -n "$AWK" && break
1962
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1963
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1964
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1965
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1966
echo $ECHO_N "(cached) $ECHO_C" >&6
1968
cat >conftest.make <<\_ACEOF
1971
@echo '@@@%%%=$(MAKE)=@@@%%%'
1973
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1974
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1976
eval ac_cv_prog_make_${ac_make}_set=yes;;
1978
eval ac_cv_prog_make_${ac_make}_set=no;;
1982
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1983
{ echo "$as_me:$LINENO: result: yes" >&5
1984
echo "${ECHO_T}yes" >&6; }
1987
{ echo "$as_me:$LINENO: result: no" >&5
1988
echo "${ECHO_T}no" >&6; }
1989
SET_MAKE="MAKE=${MAKE-make}"
1992
rm -rf .tst 2>/dev/null
1993
mkdir .tst 2>/dev/null
1994
if test -d .tst; then
1999
rmdir .tst 2>/dev/null
2001
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2002
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2003
# is not polluted with repeated "-I."
2004
am__isrc=' -I$(srcdir)'
2005
# test to see if srcdir already configured
2006
if test -f $srcdir/config.status; then
2007
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2008
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2009
{ (exit 1); exit 1; }; }
2013
# test whether we have cygpath
2014
if test -z "$CYGPATH_W"; then
2015
if (cygpath --version) >/dev/null 2>/dev/null; then
2016
CYGPATH_W='cygpath -w'
2023
# Define the identity of the package.
2028
cat >>confdefs.h <<_ACEOF
2029
#define PACKAGE "$PACKAGE"
2033
cat >>confdefs.h <<_ACEOF
2034
#define VERSION "$VERSION"
2037
# Some tools Automake needs.
2039
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2042
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2045
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2048
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2051
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2053
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2055
# Installed binaries are usually stripped using `strip' when the user
2056
# run `make install-strip'. However `strip' might not be the right
2057
# tool to use in cross-compilation environments, therefore Automake
2058
# will honor the `STRIP' environment variable to overrule this program.
2059
if test "$cross_compiling" != no; then
2060
if test -n "$ac_tool_prefix"; then
2061
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2062
set dummy ${ac_tool_prefix}strip; ac_word=$2
2063
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2064
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2065
if test "${ac_cv_prog_STRIP+set}" = set; then
2066
echo $ECHO_N "(cached) $ECHO_C" >&6
2068
if test -n "$STRIP"; then
2069
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075
test -z "$as_dir" && as_dir=.
2076
for ac_exec_ext in '' $ac_executable_extensions; do
2077
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2078
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2079
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088
STRIP=$ac_cv_prog_STRIP
2089
if test -n "$STRIP"; then
2090
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2091
echo "${ECHO_T}$STRIP" >&6; }
2093
{ echo "$as_me:$LINENO: result: no" >&5
2094
echo "${ECHO_T}no" >&6; }
2099
if test -z "$ac_cv_prog_STRIP"; then
2101
# Extract the first word of "strip", so it can be a program name with args.
2102
set dummy strip; ac_word=$2
2103
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2104
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2105
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2106
echo $ECHO_N "(cached) $ECHO_C" >&6
2108
if test -n "$ac_ct_STRIP"; then
2109
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115
test -z "$as_dir" && as_dir=.
2116
for ac_exec_ext in '' $ac_executable_extensions; do
2117
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2118
ac_cv_prog_ac_ct_STRIP="strip"
2119
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2129
if test -n "$ac_ct_STRIP"; then
2130
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2131
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2133
{ echo "$as_me:$LINENO: result: no" >&5
2134
echo "${ECHO_T}no" >&6; }
2137
if test "x$ac_ct_STRIP" = x; then
2140
case $cross_compiling:$ac_tool_warned in
2142
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2143
whose name does not start with the host triplet. If you think this
2144
configuration is useful to you, please write to autoconf@gnu.org." >&5
2145
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2146
whose name does not start with the host triplet. If you think this
2147
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2148
ac_tool_warned=yes ;;
2153
STRIP="$ac_cv_prog_STRIP"
2157
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2159
# We need awk for the "check" target. The system "awk" is bad on
2161
# Always define AMTAR for backward compatibility.
2163
AMTAR=${AMTAR-"${am_missing_run}tar"}
2165
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2172
if test -n "$ac_tool_prefix"; then
2173
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2174
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2175
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2176
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177
if test "${ac_cv_prog_RANLIB+set}" = set; then
2178
echo $ECHO_N "(cached) $ECHO_C" >&6
2180
if test -n "$RANLIB"; then
2181
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187
test -z "$as_dir" && as_dir=.
2188
for ac_exec_ext in '' $ac_executable_extensions; do
2189
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2191
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200
RANLIB=$ac_cv_prog_RANLIB
2201
if test -n "$RANLIB"; then
2202
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
2203
echo "${ECHO_T}$RANLIB" >&6; }
2205
{ echo "$as_me:$LINENO: result: no" >&5
2206
echo "${ECHO_T}no" >&6; }
2211
if test -z "$ac_cv_prog_RANLIB"; then
2212
ac_ct_RANLIB=$RANLIB
2213
# Extract the first word of "ranlib", so it can be a program name with args.
2214
set dummy ranlib; ac_word=$2
2215
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2216
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2217
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2218
echo $ECHO_N "(cached) $ECHO_C" >&6
2220
if test -n "$ac_ct_RANLIB"; then
2221
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227
test -z "$as_dir" && as_dir=.
2228
for ac_exec_ext in '' $ac_executable_extensions; do
2229
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2230
ac_cv_prog_ac_ct_RANLIB="ranlib"
2231
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2241
if test -n "$ac_ct_RANLIB"; then
2242
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2243
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2245
{ echo "$as_me:$LINENO: result: no" >&5
2246
echo "${ECHO_T}no" >&6; }
2249
if test "x$ac_ct_RANLIB" = x; then
2252
case $cross_compiling:$ac_tool_warned in
2254
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2255
whose name does not start with the host triplet. If you think this
2256
configuration is useful to you, please write to autoconf@gnu.org." >&5
2257
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2258
whose name does not start with the host triplet. If you think this
2259
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2260
ac_tool_warned=yes ;;
2262
RANLIB=$ac_ct_RANLIB
2265
RANLIB="$ac_cv_prog_RANLIB"
2269
ac_cpp='$CPP $CPPFLAGS'
2270
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2271
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2272
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2273
if test -n "$ac_tool_prefix"; then
2274
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2275
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2276
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2277
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278
if test "${ac_cv_prog_CC+set}" = set; then
2279
echo $ECHO_N "(cached) $ECHO_C" >&6
2281
if test -n "$CC"; then
2282
ac_cv_prog_CC="$CC" # Let the user override the test.
2284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288
test -z "$as_dir" && as_dir=.
2289
for ac_exec_ext in '' $ac_executable_extensions; do
2290
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2292
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302
if test -n "$CC"; then
2303
{ echo "$as_me:$LINENO: result: $CC" >&5
2304
echo "${ECHO_T}$CC" >&6; }
2306
{ echo "$as_me:$LINENO: result: no" >&5
2307
echo "${ECHO_T}no" >&6; }
2312
if test -z "$ac_cv_prog_CC"; then
2314
# Extract the first word of "gcc", so it can be a program name with args.
2315
set dummy gcc; ac_word=$2
2316
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2317
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2319
echo $ECHO_N "(cached) $ECHO_C" >&6
2321
if test -n "$ac_ct_CC"; then
2322
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2324
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328
test -z "$as_dir" && as_dir=.
2329
for ac_exec_ext in '' $ac_executable_extensions; do
2330
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331
ac_cv_prog_ac_ct_CC="gcc"
2332
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2342
if test -n "$ac_ct_CC"; then
2343
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2344
echo "${ECHO_T}$ac_ct_CC" >&6; }
2346
{ echo "$as_me:$LINENO: result: no" >&5
2347
echo "${ECHO_T}no" >&6; }
2350
if test "x$ac_ct_CC" = x; then
2353
case $cross_compiling:$ac_tool_warned in
2355
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2356
whose name does not start with the host triplet. If you think this
2357
configuration is useful to you, please write to autoconf@gnu.org." >&5
2358
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2359
whose name does not start with the host triplet. If you think this
2360
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2361
ac_tool_warned=yes ;;
2369
if test -z "$CC"; then
2370
if test -n "$ac_tool_prefix"; then
2371
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2372
set dummy ${ac_tool_prefix}cc; ac_word=$2
2373
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2374
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375
if test "${ac_cv_prog_CC+set}" = set; then
2376
echo $ECHO_N "(cached) $ECHO_C" >&6
2378
if test -n "$CC"; then
2379
ac_cv_prog_CC="$CC" # Let the user override the test.
2381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385
test -z "$as_dir" && as_dir=.
2386
for ac_exec_ext in '' $ac_executable_extensions; do
2387
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388
ac_cv_prog_CC="${ac_tool_prefix}cc"
2389
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399
if test -n "$CC"; then
2400
{ echo "$as_me:$LINENO: result: $CC" >&5
2401
echo "${ECHO_T}$CC" >&6; }
2403
{ echo "$as_me:$LINENO: result: no" >&5
2404
echo "${ECHO_T}no" >&6; }
2410
if test -z "$CC"; then
2411
# Extract the first word of "cc", so it can be a program name with args.
2412
set dummy cc; ac_word=$2
2413
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2415
if test "${ac_cv_prog_CC+set}" = set; then
2416
echo $ECHO_N "(cached) $ECHO_C" >&6
2418
if test -n "$CC"; then
2419
ac_cv_prog_CC="$CC" # Let the user override the test.
2422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426
test -z "$as_dir" && as_dir=.
2427
for ac_exec_ext in '' $ac_executable_extensions; do
2428
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2430
ac_prog_rejected=yes
2434
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441
if test $ac_prog_rejected = yes; then
2442
# We found a bogon in the path, so make sure we never use it.
2443
set dummy $ac_cv_prog_CC
2445
if test $# != 0; then
2446
# We chose a different compiler from the bogus one.
2447
# However, it has the same basename, so the bogon will be chosen
2448
# first if we set CC to just the basename; use the full file name.
2450
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2456
if test -n "$CC"; then
2457
{ echo "$as_me:$LINENO: result: $CC" >&5
2458
echo "${ECHO_T}$CC" >&6; }
2460
{ echo "$as_me:$LINENO: result: no" >&5
2461
echo "${ECHO_T}no" >&6; }
2466
if test -z "$CC"; then
2467
if test -n "$ac_tool_prefix"; then
2468
for ac_prog in cl.exe
2470
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2471
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2472
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2473
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2474
if test "${ac_cv_prog_CC+set}" = set; then
2475
echo $ECHO_N "(cached) $ECHO_C" >&6
2477
if test -n "$CC"; then
2478
ac_cv_prog_CC="$CC" # Let the user override the test.
2480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484
test -z "$as_dir" && as_dir=.
2485
for ac_exec_ext in '' $ac_executable_extensions; do
2486
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2488
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498
if test -n "$CC"; then
2499
{ echo "$as_me:$LINENO: result: $CC" >&5
2500
echo "${ECHO_T}$CC" >&6; }
2502
{ echo "$as_me:$LINENO: result: no" >&5
2503
echo "${ECHO_T}no" >&6; }
2507
test -n "$CC" && break
2510
if test -z "$CC"; then
2512
for ac_prog in cl.exe
2514
# Extract the first word of "$ac_prog", so it can be a program name with args.
2515
set dummy $ac_prog; ac_word=$2
2516
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2517
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2518
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2519
echo $ECHO_N "(cached) $ECHO_C" >&6
2521
if test -n "$ac_ct_CC"; then
2522
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528
test -z "$as_dir" && as_dir=.
2529
for ac_exec_ext in '' $ac_executable_extensions; do
2530
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531
ac_cv_prog_ac_ct_CC="$ac_prog"
2532
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2542
if test -n "$ac_ct_CC"; then
2543
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2544
echo "${ECHO_T}$ac_ct_CC" >&6; }
2546
{ echo "$as_me:$LINENO: result: no" >&5
2547
echo "${ECHO_T}no" >&6; }
2551
test -n "$ac_ct_CC" && break
2554
if test "x$ac_ct_CC" = x; then
2557
case $cross_compiling:$ac_tool_warned in
2559
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2560
whose name does not start with the host triplet. If you think this
2561
configuration is useful to you, please write to autoconf@gnu.org." >&5
2562
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2563
whose name does not start with the host triplet. If you think this
2564
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2565
ac_tool_warned=yes ;;
2574
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575
See \`config.log' for more details." >&5
2576
echo "$as_me: error: no acceptable C compiler found in \$PATH
2577
See \`config.log' for more details." >&2;}
2578
{ (exit 1); exit 1; }; }
2580
# Provide some information about the compiler.
2581
echo "$as_me:$LINENO: checking for C compiler version" >&5
2582
ac_compiler=`set X $ac_compile; echo $2`
2583
{ (ac_try="$ac_compiler --version >&5"
2585
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586
*) ac_try_echo=$ac_try;;
2588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589
(eval "$ac_compiler --version >&5") 2>&5
2591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
(exit $ac_status); }
2593
{ (ac_try="$ac_compiler -v >&5"
2595
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596
*) ac_try_echo=$ac_try;;
2598
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599
(eval "$ac_compiler -v >&5") 2>&5
2601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
(exit $ac_status); }
2603
{ (ac_try="$ac_compiler -V >&5"
2605
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606
*) ac_try_echo=$ac_try;;
2608
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609
(eval "$ac_compiler -V >&5") 2>&5
2611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
(exit $ac_status); }
2614
cat >conftest.$ac_ext <<_ACEOF
2617
cat confdefs.h >>conftest.$ac_ext
2618
cat >>conftest.$ac_ext <<_ACEOF
2619
/* end confdefs.h. */
2629
ac_clean_files_save=$ac_clean_files
2630
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2631
# Try to create an executable without -o first, disregard a.out.
2632
# It will help us diagnose broken compilers, and finding out an intuition
2634
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2635
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2636
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2638
# List of possible output files, starting from the most likely.
2639
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2640
# only as a last resort. b.out is created by i960 compilers.
2641
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2643
# The IRIX 6 linker writes into existing files which may not be
2644
# executable, retaining their permissions. Remove them first so a
2645
# subsequent execution test works.
2647
for ac_file in $ac_files
2650
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2651
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2656
if { (ac_try="$ac_link_default"
2658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659
*) ac_try_echo=$ac_try;;
2661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2662
(eval "$ac_link_default") 2>&5
2664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665
(exit $ac_status); }; then
2666
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2667
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2668
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2669
# so that the user can short-circuit this test for compilers unknown to
2671
for ac_file in $ac_files ''
2673
test -f "$ac_file" || continue
2675
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2678
# We found the default executable, but exeext='' is most
2682
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2684
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686
# We set ac_cv_exeext here because the later test for it is not
2687
# safe: cross compilers may not add the suffix if given an `-o'
2688
# argument, so we may need to know it at that point already.
2689
# Even if this section looks crufty: it has the advantage of
2696
test "$ac_cv_exeext" = no && ac_cv_exeext=
2702
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2703
echo "${ECHO_T}$ac_file" >&6; }
2704
if test -z "$ac_file"; then
2705
echo "$as_me: failed program was:" >&5
2706
sed 's/^/| /' conftest.$ac_ext >&5
2708
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2709
See \`config.log' for more details." >&5
2710
echo "$as_me: error: C compiler cannot create executables
2711
See \`config.log' for more details." >&2;}
2712
{ (exit 77); exit 77; }; }
2715
ac_exeext=$ac_cv_exeext
2717
# Check that the compiler produces executables we can run. If not, either
2718
# the compiler is broken, or we cross compile.
2719
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2720
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2721
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2722
# If not cross compiling, check that we can run a simple program.
2723
if test "$cross_compiling" != yes; then
2724
if { ac_try='./$ac_file'
2725
{ (case "(($ac_try" in
2726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727
*) ac_try_echo=$ac_try;;
2729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730
(eval "$ac_try") 2>&5
2732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733
(exit $ac_status); }; }; then
2736
if test "$cross_compiling" = maybe; then
2739
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2740
If you meant to cross compile, use \`--host'.
2741
See \`config.log' for more details." >&5
2742
echo "$as_me: error: cannot run C compiled programs.
2743
If you meant to cross compile, use \`--host'.
2744
See \`config.log' for more details." >&2;}
2745
{ (exit 1); exit 1; }; }
2749
{ echo "$as_me:$LINENO: result: yes" >&5
2750
echo "${ECHO_T}yes" >&6; }
2752
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2753
ac_clean_files=$ac_clean_files_save
2754
# Check that the compiler produces executables we can run. If not, either
2755
# the compiler is broken, or we cross compile.
2756
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2757
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2758
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2759
echo "${ECHO_T}$cross_compiling" >&6; }
2761
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2762
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2763
if { (ac_try="$ac_link"
2765
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766
*) ac_try_echo=$ac_try;;
2768
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769
(eval "$ac_link") 2>&5
2771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
(exit $ac_status); }; then
2773
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2774
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2775
# work properly (i.e., refer to `conftest.exe'), while it won't with
2777
for ac_file in conftest.exe conftest conftest.*; do
2778
test -f "$ac_file" || continue
2780
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2781
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2787
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2788
See \`config.log' for more details." >&5
2789
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2790
See \`config.log' for more details." >&2;}
2791
{ (exit 1); exit 1; }; }
2794
rm -f conftest$ac_cv_exeext
2795
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2796
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2798
rm -f conftest.$ac_ext
2799
EXEEXT=$ac_cv_exeext
2801
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2802
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2803
if test "${ac_cv_objext+set}" = set; then
2804
echo $ECHO_N "(cached) $ECHO_C" >&6
2806
cat >conftest.$ac_ext <<_ACEOF
2809
cat confdefs.h >>conftest.$ac_ext
2810
cat >>conftest.$ac_ext <<_ACEOF
2811
/* end confdefs.h. */
2821
rm -f conftest.o conftest.obj
2822
if { (ac_try="$ac_compile"
2824
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825
*) ac_try_echo=$ac_try;;
2827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828
(eval "$ac_compile") 2>&5
2830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831
(exit $ac_status); }; then
2832
for ac_file in conftest.o conftest.obj conftest.*; do
2833
test -f "$ac_file" || continue;
2835
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2836
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2841
echo "$as_me: failed program was:" >&5
2842
sed 's/^/| /' conftest.$ac_ext >&5
2844
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845
See \`config.log' for more details." >&5
2846
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847
See \`config.log' for more details." >&2;}
2848
{ (exit 1); exit 1; }; }
2851
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2853
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854
echo "${ECHO_T}$ac_cv_objext" >&6; }
2855
OBJEXT=$ac_cv_objext
2857
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2859
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860
echo $ECHO_N "(cached) $ECHO_C" >&6
2862
cat >conftest.$ac_ext <<_ACEOF
2865
cat confdefs.h >>conftest.$ac_ext
2866
cat >>conftest.$ac_ext <<_ACEOF
2867
/* end confdefs.h. */
2880
rm -f conftest.$ac_objext
2881
if { (ac_try="$ac_compile"
2883
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884
*) ac_try_echo=$ac_try;;
2886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887
(eval "$ac_compile") 2>conftest.er1
2889
grep -v '^ *+' conftest.er1 >conftest.err
2891
cat conftest.err >&5
2892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893
(exit $ac_status); } && {
2894
test -z "$ac_c_werror_flag" ||
2895
test ! -s conftest.err
2896
} && test -s conftest.$ac_objext; then
2899
echo "$as_me: failed program was:" >&5
2900
sed 's/^/| /' conftest.$ac_ext >&5
2905
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2909
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2910
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2911
GCC=`test $ac_compiler_gnu = yes && echo yes`
2912
ac_test_CFLAGS=${CFLAGS+set}
2913
ac_save_CFLAGS=$CFLAGS
2914
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2915
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2916
if test "${ac_cv_prog_cc_g+set}" = set; then
2917
echo $ECHO_N "(cached) $ECHO_C" >&6
2919
ac_save_c_werror_flag=$ac_c_werror_flag
2920
ac_c_werror_flag=yes
2923
cat >conftest.$ac_ext <<_ACEOF
2926
cat confdefs.h >>conftest.$ac_ext
2927
cat >>conftest.$ac_ext <<_ACEOF
2928
/* end confdefs.h. */
2938
rm -f conftest.$ac_objext
2939
if { (ac_try="$ac_compile"
2941
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942
*) ac_try_echo=$ac_try;;
2944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945
(eval "$ac_compile") 2>conftest.er1
2947
grep -v '^ *+' conftest.er1 >conftest.err
2949
cat conftest.err >&5
2950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951
(exit $ac_status); } && {
2952
test -z "$ac_c_werror_flag" ||
2953
test ! -s conftest.err
2954
} && test -s conftest.$ac_objext; then
2957
echo "$as_me: failed program was:" >&5
2958
sed 's/^/| /' conftest.$ac_ext >&5
2961
cat >conftest.$ac_ext <<_ACEOF
2964
cat confdefs.h >>conftest.$ac_ext
2965
cat >>conftest.$ac_ext <<_ACEOF
2966
/* end confdefs.h. */
2976
rm -f conftest.$ac_objext
2977
if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
2985
grep -v '^ *+' conftest.er1 >conftest.err
2987
cat conftest.err >&5
2988
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989
(exit $ac_status); } && {
2990
test -z "$ac_c_werror_flag" ||
2991
test ! -s conftest.err
2992
} && test -s conftest.$ac_objext; then
2995
echo "$as_me: failed program was:" >&5
2996
sed 's/^/| /' conftest.$ac_ext >&5
2998
ac_c_werror_flag=$ac_save_c_werror_flag
3000
cat >conftest.$ac_ext <<_ACEOF
3003
cat confdefs.h >>conftest.$ac_ext
3004
cat >>conftest.$ac_ext <<_ACEOF
3005
/* end confdefs.h. */
3015
rm -f conftest.$ac_objext
3016
if { (ac_try="$ac_compile"
3018
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019
*) ac_try_echo=$ac_try;;
3021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022
(eval "$ac_compile") 2>conftest.er1
3024
grep -v '^ *+' conftest.er1 >conftest.err
3026
cat conftest.err >&5
3027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
(exit $ac_status); } && {
3029
test -z "$ac_c_werror_flag" ||
3030
test ! -s conftest.err
3031
} && test -s conftest.$ac_objext; then
3034
echo "$as_me: failed program was:" >&5
3035
sed 's/^/| /' conftest.$ac_ext >&5
3040
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047
ac_c_werror_flag=$ac_save_c_werror_flag
3049
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3050
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3051
if test "$ac_test_CFLAGS" = set; then
3052
CFLAGS=$ac_save_CFLAGS
3053
elif test $ac_cv_prog_cc_g = yes; then
3054
if test "$GCC" = yes; then
3060
if test "$GCC" = yes; then
3066
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3067
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3068
if test "${ac_cv_prog_cc_c89+set}" = set; then
3069
echo $ECHO_N "(cached) $ECHO_C" >&6
3071
ac_cv_prog_cc_c89=no
3073
cat >conftest.$ac_ext <<_ACEOF
3076
cat confdefs.h >>conftest.$ac_ext
3077
cat >>conftest.$ac_ext <<_ACEOF
3078
/* end confdefs.h. */
3081
#include <sys/types.h>
3082
#include <sys/stat.h>
3083
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3084
struct buf { int x; };
3085
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3086
static char *e (p, i)
3092
static char *f (char * (*g) (char **, int), char **p, ...)
3097
s = g (p, va_arg (v,int));
3102
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3103
function prototypes and stuff, but not '\xHH' hex character constants.
3104
These don't provoke an error unfortunately, instead are silently treated
3105
as 'x'. The following induces an error, until -std is added to get
3106
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3107
array size at least. It's necessary to write '\x00'==0 to get something
3108
that's true only with -std. */
3109
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3111
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3112
inside strings and character constants. */
3114
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3116
int test (int i, double x);
3117
struct s1 {int (*f) (int a);};
3118
struct s2 {int (*f) (double a);};
3119
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3125
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3130
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3131
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3133
CC="$ac_save_CC $ac_arg"
3134
rm -f conftest.$ac_objext
3135
if { (ac_try="$ac_compile"
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141
(eval "$ac_compile") 2>conftest.er1
3143
grep -v '^ *+' conftest.er1 >conftest.err
3145
cat conftest.err >&5
3146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
(exit $ac_status); } && {
3148
test -z "$ac_c_werror_flag" ||
3149
test ! -s conftest.err
3150
} && test -s conftest.$ac_objext; then
3151
ac_cv_prog_cc_c89=$ac_arg
3153
echo "$as_me: failed program was:" >&5
3154
sed 's/^/| /' conftest.$ac_ext >&5
3159
rm -f core conftest.err conftest.$ac_objext
3160
test "x$ac_cv_prog_cc_c89" != "xno" && break
3162
rm -f conftest.$ac_ext
3167
case "x$ac_cv_prog_cc_c89" in
3169
{ echo "$as_me:$LINENO: result: none needed" >&5
3170
echo "${ECHO_T}none needed" >&6; } ;;
3172
{ echo "$as_me:$LINENO: result: unsupported" >&5
3173
echo "${ECHO_T}unsupported" >&6; } ;;
3175
CC="$CC $ac_cv_prog_cc_c89"
3176
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3177
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3182
ac_cpp='$CPP $CPPFLAGS'
3183
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3186
DEPDIR="${am__leading_dot}deps"
3188
ac_config_commands="$ac_config_commands depfiles"
3191
am_make=${MAKE-make}
3192
cat > confinc << 'END'
3197
# If we don't find an include directive, just comment out the code.
3198
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3199
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3203
# First try GNU make style include.
3204
echo "include confinc" > confmf
3205
# We grep out `Entering directory' and `Leaving directory'
3206
# messages which can occur if `w' ends up in MAKEFLAGS.
3207
# In particular we don't look at `^make:' because GNU make might
3208
# be invoked under some other name (usually "gmake"), in which
3209
# case it prints its new name instead of `make'.
3210
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3215
# Now try BSD make style include.
3216
if test "$am__include" = "#"; then
3217
echo '.include "confinc"' > confmf
3218
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3219
am__include=.include
3226
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3227
echo "${ECHO_T}$_am_result" >&6; }
3228
rm -f confinc confmf
3230
# Check whether --enable-dependency-tracking was given.
3231
if test "${enable_dependency_tracking+set}" = set; then
3232
enableval=$enable_dependency_tracking;
3235
if test "x$enable_dependency_tracking" != xno; then
3236
am_depcomp="$ac_aux_dir/depcomp"
3239
if test "x$enable_dependency_tracking" != xno; then
3249
depcc="$CC" am_compiler_list=
3251
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3252
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3253
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3254
echo $ECHO_N "(cached) $ECHO_C" >&6
3256
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3257
# We make a subdir and do the tests there. Otherwise we can end up
3258
# making bogus files that we don't know about and never remove. For
3259
# instance it was reported that on HP-UX the gcc test will end up
3260
# making a dummy file named `D' -- because `-MD' means `put the output
3263
# Copy depcomp to subdir because otherwise we won't find it if we're
3264
# using a relative directory.
3265
cp "$am_depcomp" conftest.dir
3267
# We will build objects and dependencies in a subdirectory because
3268
# it helps to detect inapplicable dependency modes. For instance
3269
# both Tru64's cc and ICC support -MD to output dependencies as a
3270
# side effect of compilation, but ICC will put the dependencies in
3271
# the current directory while Tru64 will put them in the object
3275
am_cv_CC_dependencies_compiler_type=none
3276
if test "$am_compiler_list" = ""; then
3277
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3279
for depmode in $am_compiler_list; do
3280
# Setup a source with many dependencies, because some compilers
3281
# like to wrap large dependency lists on column 80 (with \), and
3282
# we should not choose a depcomp mode which is confused by this.
3284
# We need to recreate these files for each test, as the compiler may
3285
# overwrite some of them when testing with obscure command lines.
3286
# This happens at least with the AIX C compiler.
3288
for i in 1 2 3 4 5 6; do
3289
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3290
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3291
# Solaris 8's {/usr,}/bin/sh.
3292
touch sub/conftst$i.h
3294
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3298
# after this tag, mechanisms are not by side-effect, so they'll
3299
# only be used when explicitly requested
3300
if test "x$enable_dependency_tracking" = xyes; then
3308
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3309
# mode. It turns out that the SunPro C++ compiler does not properly
3310
# handle `-M -o', and we need to detect this.
3311
if depmode=$depmode \
3312
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3313
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3314
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3315
>/dev/null 2>conftest.err &&
3316
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3317
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3318
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3319
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3320
# icc doesn't choke on unknown options, it will just issue warnings
3321
# or remarks (even with -Werror). So we grep stderr for any message
3322
# that says an option was ignored or not supported.
3323
# When given -MP, icc 7.0 and 7.1 complain thusly:
3324
# icc: Command line warning: ignoring option '-M'; no argument required
3325
# The diagnosis changed in icc 8.0:
3326
# icc: Command line remark: option '-MP' not supported
3327
if (grep 'ignoring option' conftest.err ||
3328
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3329
am_cv_CC_dependencies_compiler_type=$depmode
3338
am_cv_CC_dependencies_compiler_type=none
3342
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3343
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3344
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3347
test "x$enable_dependency_tracking" != xno \
3348
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3350
am__fastdepCC_FALSE='#'
3352
am__fastdepCC_TRUE='#'
3353
am__fastdepCC_FALSE=
3358
ac_cpp='$CXXCPP $CPPFLAGS'
3359
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3360
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3361
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3362
if test -z "$CXX"; then
3363
if test -n "$CCC"; then
3366
if test -n "$ac_tool_prefix"; then
3367
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3369
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3370
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3371
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3372
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3373
if test "${ac_cv_prog_CXX+set}" = set; then
3374
echo $ECHO_N "(cached) $ECHO_C" >&6
3376
if test -n "$CXX"; then
3377
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383
test -z "$as_dir" && as_dir=.
3384
for ac_exec_ext in '' $ac_executable_extensions; do
3385
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3387
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3397
if test -n "$CXX"; then
3398
{ echo "$as_me:$LINENO: result: $CXX" >&5
3399
echo "${ECHO_T}$CXX" >&6; }
3401
{ echo "$as_me:$LINENO: result: no" >&5
3402
echo "${ECHO_T}no" >&6; }
3406
test -n "$CXX" && break
3409
if test -z "$CXX"; then
3411
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3413
# Extract the first word of "$ac_prog", so it can be a program name with args.
3414
set dummy $ac_prog; ac_word=$2
3415
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3416
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3417
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3418
echo $ECHO_N "(cached) $ECHO_C" >&6
3420
if test -n "$ac_ct_CXX"; then
3421
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427
test -z "$as_dir" && as_dir=.
3428
for ac_exec_ext in '' $ac_executable_extensions; do
3429
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3430
ac_cv_prog_ac_ct_CXX="$ac_prog"
3431
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3440
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3441
if test -n "$ac_ct_CXX"; then
3442
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3443
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3445
{ echo "$as_me:$LINENO: result: no" >&5
3446
echo "${ECHO_T}no" >&6; }
3450
test -n "$ac_ct_CXX" && break
3453
if test "x$ac_ct_CXX" = x; then
3456
case $cross_compiling:$ac_tool_warned in
3458
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3459
whose name does not start with the host triplet. If you think this
3460
configuration is useful to you, please write to autoconf@gnu.org." >&5
3461
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3462
whose name does not start with the host triplet. If you think this
3463
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3464
ac_tool_warned=yes ;;
3472
# Provide some information about the compiler.
3473
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3474
ac_compiler=`set X $ac_compile; echo $2`
3475
{ (ac_try="$ac_compiler --version >&5"
3477
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478
*) ac_try_echo=$ac_try;;
3480
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3481
(eval "$ac_compiler --version >&5") 2>&5
3483
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484
(exit $ac_status); }
3485
{ (ac_try="$ac_compiler -v >&5"
3487
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
*) ac_try_echo=$ac_try;;
3490
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3491
(eval "$ac_compiler -v >&5") 2>&5
3493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
(exit $ac_status); }
3495
{ (ac_try="$ac_compiler -V >&5"
3497
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498
*) ac_try_echo=$ac_try;;
3500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501
(eval "$ac_compiler -V >&5") 2>&5
3503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504
(exit $ac_status); }
3506
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3507
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3508
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3509
echo $ECHO_N "(cached) $ECHO_C" >&6
3511
cat >conftest.$ac_ext <<_ACEOF
3514
cat confdefs.h >>conftest.$ac_ext
3515
cat >>conftest.$ac_ext <<_ACEOF
3516
/* end confdefs.h. */
3529
rm -f conftest.$ac_objext
3530
if { (ac_try="$ac_compile"
3532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533
*) ac_try_echo=$ac_try;;
3535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3536
(eval "$ac_compile") 2>conftest.er1
3538
grep -v '^ *+' conftest.er1 >conftest.err
3540
cat conftest.err >&5
3541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
(exit $ac_status); } && {
3543
test -z "$ac_cxx_werror_flag" ||
3544
test ! -s conftest.err
3545
} && test -s conftest.$ac_objext; then
3548
echo "$as_me: failed program was:" >&5
3549
sed 's/^/| /' conftest.$ac_ext >&5
3554
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3555
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3558
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3559
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3560
GXX=`test $ac_compiler_gnu = yes && echo yes`
3561
ac_test_CXXFLAGS=${CXXFLAGS+set}
3562
ac_save_CXXFLAGS=$CXXFLAGS
3563
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3564
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3565
if test "${ac_cv_prog_cxx_g+set}" = set; then
3566
echo $ECHO_N "(cached) $ECHO_C" >&6
3568
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3569
ac_cxx_werror_flag=yes
3572
cat >conftest.$ac_ext <<_ACEOF
3575
cat confdefs.h >>conftest.$ac_ext
3576
cat >>conftest.$ac_ext <<_ACEOF
3577
/* end confdefs.h. */
3587
rm -f conftest.$ac_objext
3588
if { (ac_try="$ac_compile"
3590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591
*) ac_try_echo=$ac_try;;
3593
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3594
(eval "$ac_compile") 2>conftest.er1
3596
grep -v '^ *+' conftest.er1 >conftest.err
3598
cat conftest.err >&5
3599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
(exit $ac_status); } && {
3601
test -z "$ac_cxx_werror_flag" ||
3602
test ! -s conftest.err
3603
} && test -s conftest.$ac_objext; then
3604
ac_cv_prog_cxx_g=yes
3606
echo "$as_me: failed program was:" >&5
3607
sed 's/^/| /' conftest.$ac_ext >&5
3610
cat >conftest.$ac_ext <<_ACEOF
3613
cat confdefs.h >>conftest.$ac_ext
3614
cat >>conftest.$ac_ext <<_ACEOF
3615
/* end confdefs.h. */
3625
rm -f conftest.$ac_objext
3626
if { (ac_try="$ac_compile"
3628
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629
*) ac_try_echo=$ac_try;;
3631
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3632
(eval "$ac_compile") 2>conftest.er1
3634
grep -v '^ *+' conftest.er1 >conftest.err
3636
cat conftest.err >&5
3637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638
(exit $ac_status); } && {
3639
test -z "$ac_cxx_werror_flag" ||
3640
test ! -s conftest.err
3641
} && test -s conftest.$ac_objext; then
3644
echo "$as_me: failed program was:" >&5
3645
sed 's/^/| /' conftest.$ac_ext >&5
3647
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3649
cat >conftest.$ac_ext <<_ACEOF
3652
cat confdefs.h >>conftest.$ac_ext
3653
cat >>conftest.$ac_ext <<_ACEOF
3654
/* end confdefs.h. */
3664
rm -f conftest.$ac_objext
3665
if { (ac_try="$ac_compile"
3667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668
*) ac_try_echo=$ac_try;;
3670
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671
(eval "$ac_compile") 2>conftest.er1
3673
grep -v '^ *+' conftest.er1 >conftest.err
3675
cat conftest.err >&5
3676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677
(exit $ac_status); } && {
3678
test -z "$ac_cxx_werror_flag" ||
3679
test ! -s conftest.err
3680
} && test -s conftest.$ac_objext; then
3681
ac_cv_prog_cxx_g=yes
3683
echo "$as_me: failed program was:" >&5
3684
sed 's/^/| /' conftest.$ac_ext >&5
3689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3698
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3699
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3700
if test "$ac_test_CXXFLAGS" = set; then
3701
CXXFLAGS=$ac_save_CXXFLAGS
3702
elif test $ac_cv_prog_cxx_g = yes; then
3703
if test "$GXX" = yes; then
3709
if test "$GXX" = yes; then
3716
ac_cpp='$CPP $CPPFLAGS'
3717
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721
depcc="$CXX" am_compiler_list=
3723
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3724
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3725
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3726
echo $ECHO_N "(cached) $ECHO_C" >&6
3728
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3729
# We make a subdir and do the tests there. Otherwise we can end up
3730
# making bogus files that we don't know about and never remove. For
3731
# instance it was reported that on HP-UX the gcc test will end up
3732
# making a dummy file named `D' -- because `-MD' means `put the output
3735
# Copy depcomp to subdir because otherwise we won't find it if we're
3736
# using a relative directory.
3737
cp "$am_depcomp" conftest.dir
3739
# We will build objects and dependencies in a subdirectory because
3740
# it helps to detect inapplicable dependency modes. For instance
3741
# both Tru64's cc and ICC support -MD to output dependencies as a
3742
# side effect of compilation, but ICC will put the dependencies in
3743
# the current directory while Tru64 will put them in the object
3747
am_cv_CXX_dependencies_compiler_type=none
3748
if test "$am_compiler_list" = ""; then
3749
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3751
for depmode in $am_compiler_list; do
3752
# Setup a source with many dependencies, because some compilers
3753
# like to wrap large dependency lists on column 80 (with \), and
3754
# we should not choose a depcomp mode which is confused by this.
3756
# We need to recreate these files for each test, as the compiler may
3757
# overwrite some of them when testing with obscure command lines.
3758
# This happens at least with the AIX C compiler.
3760
for i in 1 2 3 4 5 6; do
3761
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3762
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3763
# Solaris 8's {/usr,}/bin/sh.
3764
touch sub/conftst$i.h
3766
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3770
# after this tag, mechanisms are not by side-effect, so they'll
3771
# only be used when explicitly requested
3772
if test "x$enable_dependency_tracking" = xyes; then
3780
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3781
# mode. It turns out that the SunPro C++ compiler does not properly
3782
# handle `-M -o', and we need to detect this.
3783
if depmode=$depmode \
3784
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3785
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3786
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3787
>/dev/null 2>conftest.err &&
3788
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3789
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3790
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3791
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3792
# icc doesn't choke on unknown options, it will just issue warnings
3793
# or remarks (even with -Werror). So we grep stderr for any message
3794
# that says an option was ignored or not supported.
3795
# When given -MP, icc 7.0 and 7.1 complain thusly:
3796
# icc: Command line warning: ignoring option '-M'; no argument required
3797
# The diagnosis changed in icc 8.0:
3798
# icc: Command line remark: option '-MP' not supported
3799
if (grep 'ignoring option' conftest.err ||
3800
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3801
am_cv_CXX_dependencies_compiler_type=$depmode
3810
am_cv_CXX_dependencies_compiler_type=none
3814
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3815
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3816
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3819
test "x$enable_dependency_tracking" != xno \
3820
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3821
am__fastdepCXX_TRUE=
3822
am__fastdepCXX_FALSE='#'
3824
am__fastdepCXX_TRUE='#'
3825
am__fastdepCXX_FALSE=
3830
# Check whether --enable-jabber was given.
3831
if test "${enable_jabber+set}" = set; then
3832
enableval=$enable_jabber; build_jabber="$enableval"
3837
if test "x$build_jabber" = xyes; then
3839
BUILD_JABBER_FALSE='#'
3841
BUILD_JABBER_TRUE='#'
3846
ac_config_files="$ac_config_files Makefile"
3848
cat >confcache <<\_ACEOF
3849
# This file is a shell script that caches the results of configure
3850
# tests run on this system so they can be shared between configure
3851
# scripts and configure runs, see configure's option --config-cache.
3852
# It is not useful on other systems. If it contains results you don't
3853
# want to keep, you may remove or edit it.
3855
# config.status only pays attention to the cache file if you give it
3856
# the --recheck option to rerun configure.
3858
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3859
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3864
# The following way of writing the cache mishandles newlines in values,
3865
# but we know of no workaround that is simple, portable, and efficient.
3866
# So, we kill variables containing newlines.
3867
# Ultrix sh set writes to stderr and can't be redirected directly,
3868
# and sets the high bit in the cache file unless we assign to the vars.
3870
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3871
eval ac_val=\$$ac_var
3875
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3876
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3879
_ | IFS | as_nl) ;; #(
3880
*) $as_unset $ac_var ;;
3886
case $as_nl`(ac_space=' '; set) 2>&1` in #(
3887
*${as_nl}ac_space=\ *)
3888
# `set' does not quote correctly, so add quotes (double-quote
3889
# substitution turns \\\\ into \\, and sed turns \\ into \).
3892
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3895
# `set' quotes correctly as required by POSIX, so do not add quotes.
3896
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3905
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3907
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3909
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3910
if test -w "$cache_file"; then
3911
test "x$cache_file" != "x/dev/null" &&
3912
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
3913
echo "$as_me: updating cache $cache_file" >&6;}
3914
cat confcache >$cache_file
3916
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3917
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3922
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3923
# Let make expand exec_prefix.
3924
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3926
# Transform confdefs.h into DEFS.
3927
# Protect against shell expansion while executing Makefile rules.
3928
# Protect against Makefile macro expansion.
3930
# If the first sed substitution is executed (which looks for macros that
3931
# take arguments), then branch to the quote section. Otherwise,
3932
# look for a macro that doesn't take arguments.
3936
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3938
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3942
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3955
DEFS=`sed -n "$ac_script" confdefs.h`
3960
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3961
# 1. Remove the extension, and $U if already installed.
3962
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3963
ac_i=`echo "$ac_i" | sed "$ac_script"`
3964
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3965
# will be set to the directory where LIBOBJS objects are built.
3966
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3967
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3971
LTLIBOBJS=$ac_ltlibobjs
3974
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3975
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3976
Usually this means the macro was only invoked conditionally." >&5
3977
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3978
Usually this means the macro was only invoked conditionally." >&2;}
3979
{ (exit 1); exit 1; }; }
3981
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3982
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3983
Usually this means the macro was only invoked conditionally." >&5
3984
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3985
Usually this means the macro was only invoked conditionally." >&2;}
3986
{ (exit 1); exit 1; }; }
3988
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3989
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3990
Usually this means the macro was only invoked conditionally." >&5
3991
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3992
Usually this means the macro was only invoked conditionally." >&2;}
3993
{ (exit 1); exit 1; }; }
3995
if test -z "${BUILD_JABBER_TRUE}" && test -z "${BUILD_JABBER_FALSE}"; then
3996
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_JABBER\" was never defined.
3997
Usually this means the macro was only invoked conditionally." >&5
3998
echo "$as_me: error: conditional \"BUILD_JABBER\" was never defined.
3999
Usually this means the macro was only invoked conditionally." >&2;}
4000
{ (exit 1); exit 1; }; }
4003
: ${CONFIG_STATUS=./config.status}
4004
ac_clean_files_save=$ac_clean_files
4005
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4006
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4007
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4008
cat >$CONFIG_STATUS <<_ACEOF
4010
# Generated by $as_me.
4011
# Run this file to recreate the current configuration.
4012
# Compiler output produced by configure, useful for debugging
4013
# configure, is in config.log if it exists.
4018
SHELL=\${CONFIG_SHELL-$SHELL}
4021
cat >>$CONFIG_STATUS <<\_ACEOF
4022
## --------------------- ##
4023
## M4sh Initialization. ##
4024
## --------------------- ##
4026
# Be more Bourne compatible
4027
DUALCASE=1; export DUALCASE # for MKS sh
4028
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4031
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4032
# is contrary to our usage. Disable this feature.
4033
alias -g '${1+"$@"}'='"$@"'
4034
setopt NO_GLOB_SUBST
4036
case `(set -o) 2>/dev/null` in
4037
*posix*) set -o posix ;;
4046
# Avoid depending upon Character Ranges.
4047
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4048
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4049
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4050
as_cr_digits='0123456789'
4051
as_cr_alnum=$as_cr_Letters$as_cr_digits
4053
# The user is always right.
4054
if test "${PATH_SEPARATOR+set}" != set; then
4055
echo "#! /bin/sh" >conf$$.sh
4056
echo "exit 0" >>conf$$.sh
4058
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4066
# Support unset when possible.
4067
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4075
# We need space, tab and new line, in precisely that order. Quoting is
4076
# there to prevent editors from complaining about space-tab.
4077
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4078
# splitting by setting IFS to empty value.)
4083
# Find who we are. Look in the path if we contain no directory separator.
4085
*[\\/]* ) as_myself=$0 ;;
4086
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090
test -z "$as_dir" && as_dir=.
4091
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4097
# We did not find ourselves, most probably we were run as `sh COMMAND'
4098
# in which case we are not to be found in the path.
4099
if test "x$as_myself" = x; then
4102
if test ! -f "$as_myself"; then
4103
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4104
{ (exit 1); exit 1; }
4107
# Work around bugs in pre-3.0 UWIN ksh.
4108
for as_var in ENV MAIL MAILPATH
4109
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4117
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4118
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4119
LC_TELEPHONE LC_TIME
4121
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4122
eval $as_var=C; export $as_var
4124
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4128
# Required to use basename.
4129
if expr a : '\(a\)' >/dev/null 2>&1 &&
4130
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4136
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4137
as_basename=basename
4143
# Name of the executable.
4144
as_me=`$as_basename -- "$0" ||
4145
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4146
X"$0" : 'X\(//\)$' \| \
4147
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4149
sed '/^.*\/\([^/][^/]*\)\/*$/{
4170
test "x$as_lineno_1" != "x$as_lineno_2" &&
4171
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4173
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4174
# uniformly replaced by the line number. The first 'sed' inserts a
4175
# line-number line after each line using $LINENO; the second 'sed'
4176
# does the real work. The second script uses 'N' to pair each
4177
# line-number line with the line containing $LINENO, and appends
4178
# trailing '-' during substitution so that $LINENO is not a special
4180
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4181
# scripts with optimization help from Paolo Bonzini. Blame Lee
4182
# E. McMahon (1931-1989) for sed's syntax. :-)
4194
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4198
chmod +x "$as_me.lineno" ||
4199
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4200
{ (exit 1); exit 1; }; }
4202
# Don't try to exec as it changes $[0], causing all sort of problems
4203
# (the dirname of $[0] is not the place where we might find the
4204
# original and so on. Autoconf is especially sensitive to this).
4206
# Exit status is that of the last command.
4211
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4217
ECHO_C= ECHO_N= ECHO_T=
4220
case `echo 'x\c'` in
4221
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4228
if expr a : '\(a\)' >/dev/null 2>&1 &&
4229
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4235
rm -f conf$$ conf$$.exe conf$$.file
4236
if test -d conf$$.dir; then
4237
rm -f conf$$.dir/conf$$.file
4243
if ln -s conf$$.file conf$$ 2>/dev/null; then
4245
# ... but there are two gotchas:
4246
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4247
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4248
# In both cases, we have to default to `cp -p'.
4249
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4251
elif ln conf$$.file conf$$ 2>/dev/null; then
4256
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4257
rmdir conf$$.dir 2>/dev/null
4259
if mkdir -p . 2>/dev/null; then
4262
test -d ./-p && rmdir ./-p
4266
if test -x / >/dev/null 2>&1; then
4269
if ls -dL / >/dev/null 2>&1; then
4276
if test -d "$1"; then
4282
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4283
???[sx]*):;;*)false;;esac;fi
4287
as_executable_p=$as_test_x
4289
# Sed expression to map a string onto a valid CPP name.
4290
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4292
# Sed expression to map a string onto a valid variable name.
4293
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4298
# Save the log message, to keep $[0] and so on meaningful, and to
4299
# report actual input values of CONFIG_FILES etc. instead of their
4300
# values after options handling.
4302
This file was extended by $as_me, which was
4303
generated by GNU Autoconf 2.61. Invocation command line was
4305
CONFIG_FILES = $CONFIG_FILES
4306
CONFIG_HEADERS = $CONFIG_HEADERS
4307
CONFIG_LINKS = $CONFIG_LINKS
4308
CONFIG_COMMANDS = $CONFIG_COMMANDS
4311
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4316
cat >>$CONFIG_STATUS <<_ACEOF
4317
# Files that config.status was made for.
4318
config_files="$ac_config_files"
4319
config_commands="$ac_config_commands"
4323
cat >>$CONFIG_STATUS <<\_ACEOF
4325
\`$as_me' instantiates files from templates according to the
4326
current configuration.
4328
Usage: $0 [OPTIONS] [FILE]...
4330
-h, --help print this help, then exit
4331
-V, --version print version number and configuration settings, then exit
4332
-q, --quiet do not print progress messages
4333
-d, --debug don't remove temporary files
4334
--recheck update $as_me by reconfiguring in the same conditions
4335
--file=FILE[:TEMPLATE]
4336
instantiate the configuration file FILE
4338
Configuration files:
4341
Configuration commands:
4344
Report bugs to <bug-autoconf@gnu.org>."
4347
cat >>$CONFIG_STATUS <<_ACEOF
4350
configured by $0, generated by GNU Autoconf 2.61,
4351
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4353
Copyright (C) 2006 Free Software Foundation, Inc.
4354
This config.status script is free software; the Free Software Foundation
4355
gives unlimited permission to copy, distribute and modify it."
4363
cat >>$CONFIG_STATUS <<\_ACEOF
4364
# If no file are specified by the user, then we need to provide default
4365
# value. By we need to know if files were specified by the user.
4371
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4372
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4383
# Handling of the options.
4384
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4386
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4387
echo "$ac_cs_version"; exit ;;
4388
--debug | --debu | --deb | --de | --d | -d )
4390
--file | --fil | --fi | --f )
4392
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4393
ac_need_defaults=false;;
4394
--he | --h | --help | --hel | -h )
4395
echo "$ac_cs_usage"; exit ;;
4396
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4397
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4401
-*) { echo "$as_me: error: unrecognized option: $1
4402
Try \`$0 --help' for more information." >&2
4403
{ (exit 1); exit 1; }; } ;;
4405
*) ac_config_targets="$ac_config_targets $1"
4406
ac_need_defaults=false ;;
4412
ac_configure_extra_args=
4414
if $ac_cs_silent; then
4416
ac_configure_extra_args="$ac_configure_extra_args --silent"
4420
cat >>$CONFIG_STATUS <<_ACEOF
4421
if \$ac_cs_recheck; then
4422
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4425
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4429
cat >>$CONFIG_STATUS <<\_ACEOF
4433
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4434
## Running $as_me. ##
4440
cat >>$CONFIG_STATUS <<_ACEOF
4444
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4448
cat >>$CONFIG_STATUS <<\_ACEOF
4450
# Handling of arguments.
4451
for ac_config_target in $ac_config_targets
4453
case $ac_config_target in
4454
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4455
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4457
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4458
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4459
{ (exit 1); exit 1; }; };;
4464
# If the user did not use the arguments to specify the items to instantiate,
4465
# then the envvar interface is used. Set only those that are not.
4466
# We use the long form for the default assignment because of an extremely
4467
# bizarre bug on SunOS 4.1.3.
4468
if $ac_need_defaults; then
4469
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4470
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4473
# Have a temporary directory for convenience. Make it in the build tree
4474
# simply because there is no reason against having it here, and in addition,
4475
# creating and moving files from /tmp can sometimes cause problems.
4476
# Hook for its removal unless debugging.
4477
# Note that there is a small window in which the directory will not be cleaned:
4478
# after its creation but before its name has been assigned to `$tmp'.
4482
trap 'exit_status=$?
4483
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4485
trap '{ (exit 1); exit 1; }' 1 2 13 15
4487
# Create a (secure) tmp directory for tmp files.
4490
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4491
test -n "$tmp" && test -d "$tmp"
4494
tmp=./conf$$-$RANDOM
4495
(umask 077 && mkdir "$tmp")
4498
echo "$me: cannot create a temporary directory in ." >&2
4499
{ (exit 1); exit 1; }
4503
# Set up the sed scripts for CONFIG_FILES section.
4506
# No need to generate the scripts if there are no CONFIG_FILES.
4507
# This happens for instance when ./config.status config.h
4508
if test -n "$CONFIG_FILES"; then
4515
for ac_last_try in false false false false false :; do
4516
cat >conf$$subs.sed <<_ACEOF
4517
SHELL!$SHELL$ac_delim
4518
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4519
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4520
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4521
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4522
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4523
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4524
exec_prefix!$exec_prefix$ac_delim
4525
prefix!$prefix$ac_delim
4526
program_transform_name!$program_transform_name$ac_delim
4527
bindir!$bindir$ac_delim
4528
sbindir!$sbindir$ac_delim
4529
libexecdir!$libexecdir$ac_delim
4530
datarootdir!$datarootdir$ac_delim
4531
datadir!$datadir$ac_delim
4532
sysconfdir!$sysconfdir$ac_delim
4533
sharedstatedir!$sharedstatedir$ac_delim
4534
localstatedir!$localstatedir$ac_delim
4535
includedir!$includedir$ac_delim
4536
oldincludedir!$oldincludedir$ac_delim
4537
docdir!$docdir$ac_delim
4538
infodir!$infodir$ac_delim
4539
htmldir!$htmldir$ac_delim
4540
dvidir!$dvidir$ac_delim
4541
pdfdir!$pdfdir$ac_delim
4542
psdir!$psdir$ac_delim
4543
libdir!$libdir$ac_delim
4544
localedir!$localedir$ac_delim
4545
mandir!$mandir$ac_delim
4547
ECHO_C!$ECHO_C$ac_delim
4548
ECHO_N!$ECHO_N$ac_delim
4549
ECHO_T!$ECHO_T$ac_delim
4551
build_alias!$build_alias$ac_delim
4552
host_alias!$host_alias$ac_delim
4553
target_alias!$target_alias$ac_delim
4554
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4555
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4556
INSTALL_DATA!$INSTALL_DATA$ac_delim
4557
am__isrc!$am__isrc$ac_delim
4558
CYGPATH_W!$CYGPATH_W$ac_delim
4559
PACKAGE!$PACKAGE$ac_delim
4560
VERSION!$VERSION$ac_delim
4561
ACLOCAL!$ACLOCAL$ac_delim
4562
AUTOCONF!$AUTOCONF$ac_delim
4563
AUTOMAKE!$AUTOMAKE$ac_delim
4564
AUTOHEADER!$AUTOHEADER$ac_delim
4565
MAKEINFO!$MAKEINFO$ac_delim
4566
install_sh!$install_sh$ac_delim
4567
STRIP!$STRIP$ac_delim
4568
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4569
mkdir_p!$mkdir_p$ac_delim
4571
SET_MAKE!$SET_MAKE$ac_delim
4572
am__leading_dot!$am__leading_dot$ac_delim
4573
AMTAR!$AMTAR$ac_delim
4574
am__tar!$am__tar$ac_delim
4575
am__untar!$am__untar$ac_delim
4576
RANLIB!$RANLIB$ac_delim
4578
CFLAGS!$CFLAGS$ac_delim
4579
LDFLAGS!$LDFLAGS$ac_delim
4580
CPPFLAGS!$CPPFLAGS$ac_delim
4581
ac_ct_CC!$ac_ct_CC$ac_delim
4582
EXEEXT!$EXEEXT$ac_delim
4583
OBJEXT!$OBJEXT$ac_delim
4584
DEPDIR!$DEPDIR$ac_delim
4585
am__include!$am__include$ac_delim
4586
am__quote!$am__quote$ac_delim
4587
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4588
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4589
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4590
CCDEPMODE!$CCDEPMODE$ac_delim
4591
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4592
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4594
CXXFLAGS!$CXXFLAGS$ac_delim
4595
ac_ct_CXX!$ac_ct_CXX$ac_delim
4596
CXXDEPMODE!$CXXDEPMODE$ac_delim
4597
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
4598
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
4599
BUILD_JABBER_TRUE!$BUILD_JABBER_TRUE$ac_delim
4600
BUILD_JABBER_FALSE!$BUILD_JABBER_FALSE$ac_delim
4601
LIBOBJS!$LIBOBJS$ac_delim
4602
LTLIBOBJS!$LTLIBOBJS$ac_delim
4605
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
4607
elif $ac_last_try; then
4608
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4609
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4610
{ (exit 1); exit 1; }; }
4612
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4616
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4617
if test -n "$ac_eof"; then
4618
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4619
ac_eof=`expr $ac_eof + 1`
4622
cat >>$CONFIG_STATUS <<_ACEOF
4623
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4624
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4627
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4628
s/^/s,@/; s/!/@,|#_!!_#|/
4631
s/'"$ac_delim"'$/,g/; t
4633
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4634
' >>$CONFIG_STATUS <conf$$subs.sed
4635
rm -f conf$$subs.sed
4636
cat >>$CONFIG_STATUS <<_ACEOF
4643
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4644
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4645
# trailing colons and then remove the whole line if VPATH becomes empty
4646
# (actually we leave an empty line to preserve line numbers).
4647
if test "x$srcdir" = x.; then
4648
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4652
s/^\([^=]*=[ ]*\):*/\1/
4658
cat >>$CONFIG_STATUS <<\_ACEOF
4659
fi # test -n "$CONFIG_FILES"
4662
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
4665
:[FHLC]) ac_mode=$ac_tag; continue;;
4667
case $ac_mode$ac_tag in
4669
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4670
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4671
{ (exit 1); exit 1; }; };;
4672
:[FH]-) ac_tag=-:-;;
4673
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4690
-) ac_f="$tmp/stdin";;
4691
*) # Look for the file first in the build tree, then in the source tree
4692
# (if the path is not absolute). The absolute path cannot be DOS-style,
4693
# because $ac_f cannot contain `:'.
4697
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4699
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4700
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4701
{ (exit 1); exit 1; }; };;
4703
ac_file_inputs="$ac_file_inputs $ac_f"
4706
# Let's still pretend it is `configure' which instantiates (i.e., don't
4707
# use $as_me), people would be surprised to read:
4708
# /* config.h. Generated by config.status. */
4709
configure_input="Generated from "`IFS=:
4710
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4711
if test x"$ac_file" != x-; then
4712
configure_input="$ac_file. $configure_input"
4713
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4714
echo "$as_me: creating $ac_file" >&6;}
4718
*:-:* | *:-) cat >"$tmp/stdin";;
4723
ac_dir=`$as_dirname -- "$ac_file" ||
4724
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4725
X"$ac_file" : 'X\(//\)[^/]' \| \
4726
X"$ac_file" : 'X\(//\)$' \| \
4727
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4729
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4748
-*) as_dir=./$as_dir;;
4750
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4754
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4755
*) as_qdir=$as_dir;;
4757
as_dirs="'$as_qdir' $as_dirs"
4758
as_dir=`$as_dirname -- "$as_dir" ||
4759
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4760
X"$as_dir" : 'X\(//\)[^/]' \| \
4761
X"$as_dir" : 'X\(//\)$' \| \
4762
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4764
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4781
test -d "$as_dir" && break
4783
test -z "$as_dirs" || eval "mkdir $as_dirs"
4784
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4785
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4786
{ (exit 1); exit 1; }; }; }
4790
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4792
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4793
# A ".." for each directory in $ac_dir_suffix.
4794
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4795
case $ac_top_builddir_sub in
4796
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4797
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4800
ac_abs_top_builddir=$ac_pwd
4801
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4802
# for backward compatibility:
4803
ac_top_builddir=$ac_top_build_prefix
4806
.) # We are building in place.
4808
ac_top_srcdir=$ac_top_builddir_sub
4809
ac_abs_top_srcdir=$ac_pwd ;;
4810
[\\/]* | ?:[\\/]* ) # Absolute name.
4811
ac_srcdir=$srcdir$ac_dir_suffix;
4812
ac_top_srcdir=$srcdir
4813
ac_abs_top_srcdir=$srcdir ;;
4815
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4816
ac_top_srcdir=$ac_top_build_prefix$srcdir
4817
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4819
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4829
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4830
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4834
[\\/$]* | ?:[\\/]* ) ;;
4835
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4839
cat >>$CONFIG_STATUS <<\_ACEOF
4840
# If the template does not know about datarootdir, expand it.
4841
# FIXME: This hack should be removed a few years after 2.60.
4842
ac_datarootdir_hack=; ac_datarootdir_seen=
4844
case `sed -n '/datarootdir/ {
4853
' $ac_file_inputs` in
4854
*datarootdir*) ac_datarootdir_seen=yes;;
4855
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4856
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4857
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4859
cat >>$CONFIG_STATUS <<_ACEOF
4860
ac_datarootdir_hack='
4861
s&@datadir@&$datadir&g
4862
s&@docdir@&$docdir&g
4863
s&@infodir@&$infodir&g
4864
s&@localedir@&$localedir&g
4865
s&@mandir@&$mandir&g
4866
s&\\\${datarootdir}&$datarootdir&g' ;;
4870
# Neutralize VPATH when `$srcdir' = `.'.
4871
# Shell code in configure.ac might set extrasub.
4872
# FIXME: do we really want to maintain this feature?
4873
cat >>$CONFIG_STATUS <<_ACEOF
4877
cat >>$CONFIG_STATUS <<\_ACEOF
4879
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4880
s&@configure_input@&$configure_input&;t t
4881
s&@top_builddir@&$ac_top_builddir_sub&;t t
4882
s&@srcdir@&$ac_srcdir&;t t
4883
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4884
s&@top_srcdir@&$ac_top_srcdir&;t t
4885
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4886
s&@builddir@&$ac_builddir&;t t
4887
s&@abs_builddir@&$ac_abs_builddir&;t t
4888
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4889
s&@INSTALL@&$ac_INSTALL&;t t
4890
s&@MKDIR_P@&$ac_MKDIR_P&;t t
4891
$ac_datarootdir_hack
4892
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4894
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4895
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4896
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4897
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4898
which seems to be undefined. Please make sure it is defined." >&5
4899
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4900
which seems to be undefined. Please make sure it is defined." >&2;}
4904
-) cat "$tmp/out"; rm -f "$tmp/out";;
4905
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4910
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4911
echo "$as_me: executing $ac_file commands" >&6;}
4916
case $ac_file$ac_mode in
4917
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4918
# Strip MF so we end up with the name of the file.
4919
mf=`echo "$mf" | sed -e 's/:.*$//'`
4920
# Check whether this is an Automake generated Makefile or not.
4921
# We used to match only the files named `Makefile.in', but
4922
# some people rename them; so instead we look at the file content.
4923
# Grep'ing the first line is not enough: some people post-process
4924
# each Makefile.in and add a new line on top of each file to say so.
4925
# Grep'ing the whole file is not good either: AIX grep has a line
4926
# limit of 2048, but all sed's we know have understand at least 4000.
4927
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4928
dirpart=`$as_dirname -- "$mf" ||
4929
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4930
X"$mf" : 'X\(//\)[^/]' \| \
4931
X"$mf" : 'X\(//\)$' \| \
4932
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4934
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4954
# Extract the definition of DEPDIR, am__include, and am__quote
4955
# from the Makefile without running `make'.
4956
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4957
test -z "$DEPDIR" && continue
4958
am__include=`sed -n 's/^am__include = //p' < "$mf"`
4959
test -z "am__include" && continue
4960
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4961
# When using ansi2knr, U may be empty or an underscore; expand it
4962
U=`sed -n 's/^U = //p' < "$mf"`
4963
# Find all dependency output files, they are included files with
4964
# $(DEPDIR) in their names. We invoke sed twice because it is the
4965
# simplest approach to changing $(DEPDIR) to its actual value in the
4967
for file in `sed -n "
4968
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4969
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4970
# Make sure the directory exists.
4971
test -f "$dirpart/$file" && continue
4972
fdir=`$as_dirname -- "$file" ||
4973
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4974
X"$file" : 'X\(//\)[^/]' \| \
4975
X"$file" : 'X\(//\)$' \| \
4976
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4978
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4995
{ as_dir=$dirpart/$fdir
4997
-*) as_dir=./$as_dir;;
4999
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5003
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5004
*) as_qdir=$as_dir;;
5006
as_dirs="'$as_qdir' $as_dirs"
5007
as_dir=`$as_dirname -- "$as_dir" ||
5008
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5009
X"$as_dir" : 'X\(//\)[^/]' \| \
5010
X"$as_dir" : 'X\(//\)$' \| \
5011
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5013
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5030
test -d "$as_dir" && break
5032
test -z "$as_dirs" || eval "mkdir $as_dirs"
5033
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5034
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5035
{ (exit 1); exit 1; }; }; }
5036
# echo "creating $dirpart/$file"
5037
echo '# dummy' > "$dirpart/$file"
5046
{ (exit 0); exit 0; }
5048
chmod +x $CONFIG_STATUS
5049
ac_clean_files=$ac_clean_files_save
5052
# configure is writing to config.log, and then calls config.status.
5053
# config.status does its own redirection, appending to config.log.
5054
# Unfortunately, on DOS this fails, as config.log is still kept open
5055
# by configure, so config.status won't be able to write to it; its
5056
# output is simply discarded. So we exec the FD to /dev/null,
5057
# effectively closing config.log, so it can be properly (re)opened and
5058
# appended to by config.status. When coming back to configure, we
5059
# need to make the FD available again.
5060
if test "$no_create" != yes; then
5062
ac_config_status_args=
5063
test "$silent" = yes &&
5064
ac_config_status_args="$ac_config_status_args --quiet"
5066
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5068
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5069
# would make configure fail if this is the last instruction.
5070
$ac_cs_success || { (exit 1); exit 1; }