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"
580
# Factoring default headers for most tests.
581
ac_includes_default="\
583
#ifdef HAVE_SYS_TYPES_H
584
# include <sys/types.h>
586
#ifdef HAVE_SYS_STAT_H
587
# include <sys/stat.h>
593
# ifdef HAVE_STDLIB_H
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603
#ifdef HAVE_STRINGS_H
604
# include <strings.h>
606
#ifdef HAVE_INTTYPES_H
607
# include <inttypes.h>
625
program_transform_name
667
INSTALL_STRIP_PROGRAM
712
ac_precious_vars='build_alias
726
# Initialize some variables set by options.
728
ac_init_version=false
729
# The variables have the same names as the options, with
730
# dashes changed to underlines.
738
program_transform_name=s,x,x,
746
# Installation directory options.
747
# These are left unexpanded so users can "make install exec_prefix=/foo"
748
# and all the variables that are supposed to be based on exec_prefix
749
# by default will actually change.
750
# Use braces instead of parens because sh, perl, etc. also accept them.
751
# (The list follows the same order as the GNU Coding Standards.)
752
bindir='${exec_prefix}/bin'
753
sbindir='${exec_prefix}/sbin'
754
libexecdir='${exec_prefix}/libexec'
755
datarootdir='${prefix}/share'
756
datadir='${datarootdir}'
757
sysconfdir='${prefix}/etc'
758
sharedstatedir='${prefix}/com'
759
localstatedir='${prefix}/var'
760
includedir='${prefix}/include'
761
oldincludedir='/usr/include'
762
docdir='${datarootdir}/doc/${PACKAGE}'
763
infodir='${datarootdir}/info'
768
libdir='${exec_prefix}/lib'
769
localedir='${datarootdir}/locale'
770
mandir='${datarootdir}/man'
776
# If the previous option needs an argument, assign it.
777
if test -n "$ac_prev"; then
778
eval $ac_prev=\$ac_option
784
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788
# Accept the important Cygnus configure options, so we can diagnose typos.
790
case $ac_dashdash$ac_option in
794
-bindir | --bindir | --bindi | --bind | --bin | --bi)
796
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799
-build | --build | --buil | --bui | --bu)
800
ac_prev=build_alias ;;
801
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
802
build_alias=$ac_optarg ;;
804
-cache-file | --cache-file | --cache-fil | --cache-fi \
805
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806
ac_prev=cache_file ;;
807
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809
cache_file=$ac_optarg ;;
812
cache_file=config.cache ;;
814
-datadir | --datadir | --datadi | --datad)
816
-datadir=* | --datadir=* | --datadi=* | --datad=*)
817
datadir=$ac_optarg ;;
819
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820
| --dataroo | --dataro | --datar)
821
ac_prev=datarootdir ;;
822
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824
datarootdir=$ac_optarg ;;
826
-disable-* | --disable-*)
827
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828
# Reject names that are not valid shell variable names.
829
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
831
{ (exit 1); exit 1; }; }
832
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
833
eval enable_$ac_feature=no ;;
835
-docdir | --docdir | --docdi | --doc | --do)
837
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
840
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
842
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
845
-enable-* | --enable-*)
846
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847
# Reject names that are not valid shell variable names.
848
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
849
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
850
{ (exit 1); exit 1; }; }
851
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
852
eval enable_$ac_feature=\$ac_optarg ;;
854
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856
| --exec | --exe | --ex)
857
ac_prev=exec_prefix ;;
858
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860
| --exec=* | --exe=* | --ex=*)
861
exec_prefix=$ac_optarg ;;
863
-gas | --gas | --ga | --g)
864
# Obsolete; use --with-gas.
867
-help | --help | --hel | --he | -h)
869
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870
ac_init_help=recursive ;;
871
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872
ac_init_help=short ;;
874
-host | --host | --hos | --ho)
875
ac_prev=host_alias ;;
876
-host=* | --host=* | --hos=* | --ho=*)
877
host_alias=$ac_optarg ;;
879
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
881
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
883
htmldir=$ac_optarg ;;
885
-includedir | --includedir | --includedi | --included | --include \
886
| --includ | --inclu | --incl | --inc)
887
ac_prev=includedir ;;
888
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889
| --includ=* | --inclu=* | --incl=* | --inc=*)
890
includedir=$ac_optarg ;;
892
-infodir | --infodir | --infodi | --infod | --info | --inf)
894
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895
infodir=$ac_optarg ;;
897
-libdir | --libdir | --libdi | --libd)
899
-libdir=* | --libdir=* | --libdi=* | --libd=*)
902
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903
| --libexe | --libex | --libe)
904
ac_prev=libexecdir ;;
905
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906
| --libexe=* | --libex=* | --libe=*)
907
libexecdir=$ac_optarg ;;
909
-localedir | --localedir | --localedi | --localed | --locale)
911
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912
localedir=$ac_optarg ;;
914
-localstatedir | --localstatedir | --localstatedi | --localstated \
915
| --localstate | --localstat | --localsta | --localst | --locals)
916
ac_prev=localstatedir ;;
917
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919
localstatedir=$ac_optarg ;;
921
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
923
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927
# Obsolete; use --without-fp.
930
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
931
| --no-cr | --no-c | -n)
934
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
935
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940
| --oldin | --oldi | --old | --ol | --o)
941
ac_prev=oldincludedir ;;
942
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945
oldincludedir=$ac_optarg ;;
947
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
949
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952
-program-prefix | --program-prefix | --program-prefi | --program-pref \
953
| --program-pre | --program-pr | --program-p)
954
ac_prev=program_prefix ;;
955
-program-prefix=* | --program-prefix=* | --program-prefi=* \
956
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957
program_prefix=$ac_optarg ;;
959
-program-suffix | --program-suffix | --program-suffi | --program-suff \
960
| --program-suf | --program-su | --program-s)
961
ac_prev=program_suffix ;;
962
-program-suffix=* | --program-suffix=* | --program-suffi=* \
963
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964
program_suffix=$ac_optarg ;;
966
-program-transform-name | --program-transform-name \
967
| --program-transform-nam | --program-transform-na \
968
| --program-transform-n | --program-transform- \
969
| --program-transform | --program-transfor \
970
| --program-transfo | --program-transf \
971
| --program-trans | --program-tran \
972
| --progr-tra | --program-tr | --program-t)
973
ac_prev=program_transform_name ;;
974
-program-transform-name=* | --program-transform-name=* \
975
| --program-transform-nam=* | --program-transform-na=* \
976
| --program-transform-n=* | --program-transform-=* \
977
| --program-transform=* | --program-transfor=* \
978
| --program-transfo=* | --program-transf=* \
979
| --program-trans=* | --program-tran=* \
980
| --progr-tra=* | --program-tr=* | --program-t=*)
981
program_transform_name=$ac_optarg ;;
983
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
985
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988
-psdir | --psdir | --psdi | --psd | --ps)
990
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
994
| -silent | --silent | --silen | --sile | --sil)
997
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001
sbindir=$ac_optarg ;;
1003
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1004
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005
| --sharedst | --shareds | --shared | --share | --shar \
1007
ac_prev=sharedstatedir ;;
1008
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012
sharedstatedir=$ac_optarg ;;
1014
-site | --site | --sit)
1016
-site=* | --site=* | --sit=*)
1019
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022
srcdir=$ac_optarg ;;
1024
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025
| --syscon | --sysco | --sysc | --sys | --sy)
1026
ac_prev=sysconfdir ;;
1027
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029
sysconfdir=$ac_optarg ;;
1031
-target | --target | --targe | --targ | --tar | --ta | --t)
1032
ac_prev=target_alias ;;
1033
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034
target_alias=$ac_optarg ;;
1036
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1039
-version | --version | --versio | --versi | --vers | -V)
1040
ac_init_version=: ;;
1043
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044
# Reject names that are not valid shell variable names.
1045
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1047
{ (exit 1); exit 1; }; }
1048
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1049
eval with_$ac_package=\$ac_optarg ;;
1051
-without-* | --without-*)
1052
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053
# Reject names that are not valid shell variable names.
1054
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1056
{ (exit 1); exit 1; }; }
1057
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1058
eval with_$ac_package=no ;;
1061
# Obsolete; use --with-x.
1064
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065
| --x-incl | --x-inc | --x-in | --x-i)
1066
ac_prev=x_includes ;;
1067
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069
x_includes=$ac_optarg ;;
1071
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1072
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073
ac_prev=x_libraries ;;
1074
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076
x_libraries=$ac_optarg ;;
1078
-*) { echo "$as_me: error: unrecognized option: $ac_option
1079
Try \`$0 --help' for more information." >&2
1080
{ (exit 1); exit 1; }; }
1084
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085
# Reject names that are not valid shell variable names.
1086
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1087
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088
{ (exit 1); exit 1; }; }
1089
eval $ac_envvar=\$ac_optarg
1090
export $ac_envvar ;;
1093
# FIXME: should be removed in autoconf 3.0.
1094
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1103
if test -n "$ac_prev"; then
1104
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105
{ echo "$as_me: error: missing argument to $ac_option" >&2
1106
{ (exit 1); exit 1; }; }
1109
# Be sure to have absolute directory names.
1110
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111
datadir sysconfdir sharedstatedir localstatedir includedir \
1112
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113
libdir localedir mandir
1115
eval ac_val=\$$ac_var
1117
[\\/$]* | ?:[\\/]* ) continue;;
1118
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1120
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1121
{ (exit 1); exit 1; }; }
1124
# There might be people who depend on the old broken behavior: `$host'
1125
# used to hold the argument of --host etc.
1126
# FIXME: To remove some day.
1129
target=$target_alias
1131
# FIXME: To remove some day.
1132
if test "x$host_alias" != x; then
1133
if test "x$build_alias" = x; then
1134
cross_compiling=maybe
1135
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136
If a cross compiler is detected then cross compile mode will be used." >&2
1137
elif test "x$build_alias" != "x$host_alias"; then
1143
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145
test "$silent" = yes && exec 6>/dev/null
1148
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149
ac_ls_di=`ls -di .` &&
1150
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151
{ echo "$as_me: error: Working directory cannot be determined" >&2
1152
{ (exit 1); exit 1; }; }
1153
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1155
{ (exit 1); exit 1; }; }
1158
# Find the source files, if location was not specified.
1159
if test -z "$srcdir"; then
1160
ac_srcdir_defaulted=yes
1161
# Try the directory containing this script, then the parent directory.
1162
ac_confdir=`$as_dirname -- "$0" ||
1163
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164
X"$0" : 'X\(//\)[^/]' \| \
1165
X"$0" : 'X\(//\)$' \| \
1166
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1168
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186
if test ! -r "$srcdir/$ac_unique_file"; then
1190
ac_srcdir_defaulted=no
1192
if test ! -r "$srcdir/$ac_unique_file"; then
1193
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1194
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1195
{ (exit 1); exit 1; }; }
1197
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1199
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1200
{ (exit 1); exit 1; }; }
1202
# When building in place, set srcdir=.
1203
if test "$ac_abs_confdir" = "$ac_pwd"; then
1206
# Remove unnecessary trailing slashes from srcdir.
1207
# Double slashes in file names in object file debugging info
1208
# mess up M-x gdb in Emacs.
1210
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212
for ac_var in $ac_precious_vars; do
1213
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214
eval ac_env_${ac_var}_value=\$${ac_var}
1215
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1220
# Report the --help message.
1222
if test "$ac_init_help" = "long"; then
1223
# Omit some internal or obsolete options to make the list less imposing.
1224
# This message is too long to be a string in the A/UX 3.1 sh.
1226
\`configure' configures this package to adapt to many kinds of systems.
1228
Usage: $0 [OPTION]... [VAR=VALUE]...
1230
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231
VAR=VALUE. See below for descriptions of some of the useful variables.
1233
Defaults for the options are specified in brackets.
1236
-h, --help display this help and exit
1237
--help=short display options specific to this package
1238
--help=recursive display the short help of all the included packages
1239
-V, --version display version information and exit
1240
-q, --quiet, --silent do not print \`checking...' messages
1241
--cache-file=FILE cache test results in FILE [disabled]
1242
-C, --config-cache alias for \`--cache-file=config.cache'
1243
-n, --no-create do not create output files
1244
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1246
Installation directories:
1247
--prefix=PREFIX install architecture-independent files in PREFIX
1248
[$ac_default_prefix]
1249
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252
By default, \`make install' will install all the files in
1253
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255
for instance \`--prefix=\$HOME'.
1257
For better control, use the options below.
1259
Fine tuning of the installation directories:
1260
--bindir=DIR user executables [EPREFIX/bin]
1261
--sbindir=DIR system admin executables [EPREFIX/sbin]
1262
--libexecdir=DIR program executables [EPREFIX/libexec]
1263
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266
--libdir=DIR object code libraries [EPREFIX/lib]
1267
--includedir=DIR C header files [PREFIX/include]
1268
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1269
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271
--infodir=DIR info documentation [DATAROOTDIR/info]
1272
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273
--mandir=DIR man documentation [DATAROOTDIR/man]
1274
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275
--htmldir=DIR html documentation [DOCDIR]
1276
--dvidir=DIR dvi documentation [DOCDIR]
1277
--pdfdir=DIR pdf documentation [DOCDIR]
1278
--psdir=DIR ps documentation [DOCDIR]
1284
--program-prefix=PREFIX prepend PREFIX to installed program names
1285
--program-suffix=SUFFIX append SUFFIX to installed program names
1286
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1289
--build=BUILD configure for building on BUILD [guessed]
1290
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1294
if test -n "$ac_init_help"; then
1299
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301
--disable-dependency-tracking speeds up one-time build
1302
--enable-dependency-tracking do not reject slow dependency extractors
1303
--enable-locales-fix enables workaround for broken locales. use this
1304
option if some of characters in your texts in Chinese
1305
or Japanese diappear
1308
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1309
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1310
--with-fribidi=DIR enable Hebrew and Arabic support using fribidi
1313
Some influential environment variables:
1314
CC C compiler command
1315
CFLAGS C compiler flags
1316
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317
nonstandard directory <lib dir>
1318
LIBS libraries to pass to the linker, e.g. -l<library>
1319
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1320
you have headers in a nonstandard directory <include dir>
1321
CXX C++ compiler command
1322
CXXFLAGS C++ compiler flags
1325
Use these variables to override the choices made by `configure' or to help
1326
it to find libraries and programs with nonstandard names/locations.
1332
if test "$ac_init_help" = "recursive"; then
1333
# If there are subdirs, report their specific --help.
1334
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335
test -d "$ac_dir" || continue
1339
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1342
# A ".." for each directory in $ac_dir_suffix.
1343
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1344
case $ac_top_builddir_sub in
1345
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349
ac_abs_top_builddir=$ac_pwd
1350
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351
# for backward compatibility:
1352
ac_top_builddir=$ac_top_build_prefix
1355
.) # We are building in place.
1357
ac_top_srcdir=$ac_top_builddir_sub
1358
ac_abs_top_srcdir=$ac_pwd ;;
1359
[\\/]* | ?:[\\/]* ) # Absolute name.
1360
ac_srcdir=$srcdir$ac_dir_suffix;
1361
ac_top_srcdir=$srcdir
1362
ac_abs_top_srcdir=$srcdir ;;
1364
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365
ac_top_srcdir=$ac_top_build_prefix$srcdir
1366
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370
cd "$ac_dir" || { ac_status=$?; continue; }
1371
# Check for guested configure.
1372
if test -f "$ac_srcdir/configure.gnu"; then
1374
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375
elif test -f "$ac_srcdir/configure"; then
1377
$SHELL "$ac_srcdir/configure" --help=recursive
1379
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381
cd "$ac_pwd" || { ac_status=$?; break; }
1385
test -n "$ac_init_help" && exit $ac_status
1386
if $ac_init_version; then
1389
generated by GNU Autoconf 2.61
1391
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1392
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1393
This configure script is free software; the Free Software Foundation
1394
gives unlimited permission to copy, distribute and modify it.
1398
cat >config.log <<_ACEOF
1399
This file contains any messages produced by compilers while
1400
running configure, to aid debugging if configure makes a mistake.
1402
It was created by $as_me, which was
1403
generated by GNU Autoconf 2.61. Invocation command line was
1415
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1416
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1417
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1418
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1419
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1421
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1422
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1424
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1425
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1426
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1427
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1428
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1429
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1430
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438
test -z "$as_dir" && as_dir=.
1439
echo "PATH: $as_dir"
1455
# Keep a trace of the command line.
1456
# Strip out --no-create and --no-recursion so they do not pile up.
1457
# Strip out --silent because we don't want to record it for future runs.
1458
# Also quote any args containing shell meta-characters.
1459
# Make two passes to allow for proper duplicate-argument suppression.
1463
ac_must_keep_next=false
1469
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1470
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1471
| -silent | --silent | --silen | --sile | --sil)
1474
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1477
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1479
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1480
if test $ac_must_keep_next = true; then
1481
ac_must_keep_next=false # Got value, back to normal.
1484
*=* | --config-cache | -C | -disable-* | --disable-* \
1485
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1486
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1487
| -with-* | --with-* | -without-* | --without-* | --x)
1488
case "$ac_configure_args0 " in
1489
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1492
-* ) ac_must_keep_next=true ;;
1495
ac_configure_args="$ac_configure_args '$ac_arg'"
1500
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1501
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1503
# When interrupted or exit'd, cleanup temporary files, and complete
1504
# config.log. We remove comments because anyway the quotes in there
1505
# would cause problems or look ugly.
1506
# WARNING: Use '\'' to represent an apostrophe within the trap.
1507
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1508
trap 'exit_status=$?
1509
# Save into config.log some information that might help in debugging.
1514
## ---------------- ##
1515
## Cache variables. ##
1516
## ---------------- ##
1519
# The following way of writing the cache mishandles newlines in values,
1521
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1522
eval ac_val=\$$ac_var
1526
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1527
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1530
_ | IFS | as_nl) ;; #(
1531
*) $as_unset $ac_var ;;
1536
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1537
*${as_nl}ac_space=\ *)
1539
"s/'\''/'\''\\\\'\'''\''/g;
1540
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1543
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1551
## ----------------- ##
1552
## Output variables. ##
1553
## ----------------- ##
1556
for ac_var in $ac_subst_vars
1558
eval ac_val=\$$ac_var
1560
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562
echo "$ac_var='\''$ac_val'\''"
1566
if test -n "$ac_subst_files"; then
1568
## ------------------- ##
1569
## File substitutions. ##
1570
## ------------------- ##
1573
for ac_var in $ac_subst_files
1575
eval ac_val=\$$ac_var
1577
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1579
echo "$ac_var='\''$ac_val'\''"
1584
if test -s confdefs.h; then
1594
test "$ac_signal" != 0 &&
1595
echo "$as_me: caught signal $ac_signal"
1596
echo "$as_me: exit $exit_status"
1598
rm -f core *.core core.conftest.* &&
1599
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1602
for ac_signal in 1 2 13 15; do
1603
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1607
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1608
rm -f -r conftest* confdefs.h
1610
# Predefined preprocessor variables.
1612
cat >>confdefs.h <<_ACEOF
1613
#define PACKAGE_NAME "$PACKAGE_NAME"
1617
cat >>confdefs.h <<_ACEOF
1618
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1622
cat >>confdefs.h <<_ACEOF
1623
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1627
cat >>confdefs.h <<_ACEOF
1628
#define PACKAGE_STRING "$PACKAGE_STRING"
1632
cat >>confdefs.h <<_ACEOF
1633
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1637
# Let the site file select an alternate cache file if it wants to.
1638
# Prefer explicitly selected file to automatically selected ones.
1639
if test -n "$CONFIG_SITE"; then
1640
set x "$CONFIG_SITE"
1641
elif test "x$prefix" != xNONE; then
1642
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1644
set x "$ac_default_prefix/share/config.site" \
1645
"$ac_default_prefix/etc/config.site"
1650
if test -r "$ac_site_file"; then
1651
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1652
echo "$as_me: loading site script $ac_site_file" >&6;}
1653
sed 's/^/| /' "$ac_site_file" >&5
1658
if test -r "$cache_file"; then
1659
# Some versions of bash will fail to source /dev/null (special
1660
# files actually), so we avoid doing that.
1661
if test -f "$cache_file"; then
1662
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1663
echo "$as_me: loading cache $cache_file" >&6;}
1665
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1666
*) . "./$cache_file";;
1670
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1671
echo "$as_me: creating cache $cache_file" >&6;}
1675
# Check that the precious variables saved in the cache have kept the same
1677
ac_cache_corrupted=false
1678
for ac_var in $ac_precious_vars; do
1679
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1680
eval ac_new_set=\$ac_env_${ac_var}_set
1681
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1682
eval ac_new_val=\$ac_env_${ac_var}_value
1683
case $ac_old_set,$ac_new_set in
1685
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1686
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1687
ac_cache_corrupted=: ;;
1689
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1690
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1691
ac_cache_corrupted=: ;;
1694
if test "x$ac_old_val" != "x$ac_new_val"; then
1695
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1696
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1697
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1698
echo "$as_me: former value: $ac_old_val" >&2;}
1699
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1700
echo "$as_me: current value: $ac_new_val" >&2;}
1701
ac_cache_corrupted=:
1704
# Pass precious variables to config.status.
1705
if test "$ac_new_set" = set; then
1707
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1708
*) ac_arg=$ac_var=$ac_new_val ;;
1710
case " $ac_configure_args " in
1711
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1712
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1716
if $ac_cache_corrupted; then
1717
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1718
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1719
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1720
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1721
{ (exit 1); exit 1; }; }
1741
ac_cpp='$CPP $CPPFLAGS'
1742
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1743
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1744
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1747
am__api_version='1.10'
1750
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1751
if test -f "$ac_dir/install-sh"; then
1753
ac_install_sh="$ac_aux_dir/install-sh -c"
1755
elif test -f "$ac_dir/install.sh"; then
1757
ac_install_sh="$ac_aux_dir/install.sh -c"
1759
elif test -f "$ac_dir/shtool"; then
1761
ac_install_sh="$ac_aux_dir/shtool install -c"
1765
if test -z "$ac_aux_dir"; then
1766
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1767
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1768
{ (exit 1); exit 1; }; }
1771
# These three variables are undocumented and unsupported,
1772
# and are intended to be withdrawn in a future Autoconf release.
1773
# They can cause serious problems if a builder's source tree is in a directory
1774
# whose full name contains unusual characters.
1775
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1776
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1777
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1780
# Find a good install program. We prefer a C program (faster),
1781
# so one script is as good as another. But avoid the broken or
1782
# incompatible versions:
1783
# SysV /etc/install, /usr/sbin/install
1784
# SunOS /usr/etc/install
1785
# IRIX /sbin/install
1787
# AmigaOS /C/install, which installs bootblocks on floppy discs
1788
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1789
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1790
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1791
# OS/2's system install, which has a completely different semantic
1792
# ./install, which can be erroneously created by make from ./install.sh.
1793
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1794
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1795
if test -z "$INSTALL"; then
1796
if test "${ac_cv_path_install+set}" = set; then
1797
echo $ECHO_N "(cached) $ECHO_C" >&6
1799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803
test -z "$as_dir" && as_dir=.
1804
# Account for people who put trailing slashes in PATH elements.
1806
./ | .// | /cC/* | \
1807
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1808
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1811
# OSF1 and SCO ODT 3.0 have their own names for install.
1812
# Don't use installbsd from OSF since it installs stuff as root
1814
for ac_prog in ginstall scoinst install; do
1815
for ac_exec_ext in '' $ac_executable_extensions; do
1816
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1817
if test $ac_prog = install &&
1818
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1819
# AIX install. It has an incompatible calling convention.
1821
elif test $ac_prog = install &&
1822
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1823
# program-specific install script used by HP pwplus--don't use.
1826
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1839
if test "${ac_cv_path_install+set}" = set; then
1840
INSTALL=$ac_cv_path_install
1842
# As a last resort, use the slow shell script. Don't cache a
1843
# value for INSTALL within a source directory, because that will
1844
# break other packages using the cache if that directory is
1845
# removed, or if the value is a relative name.
1846
INSTALL=$ac_install_sh
1849
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1850
echo "${ECHO_T}$INSTALL" >&6; }
1852
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1853
# It thinks the first close brace ends the variable substitution.
1854
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1856
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1858
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1860
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1861
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1864
echo timestamp > conftest.file
1865
# Do `set' in a subshell so we don't clobber the current shell's
1866
# arguments. Must try -L first in case configure is actually a
1867
# symlink; some systems play weird games with the mod time of symlinks
1868
# (eg FreeBSD returns the mod time of the symlink's containing
1871
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1872
if test "$*" = "X"; then
1874
set X `ls -t $srcdir/configure conftest.file`
1877
if test "$*" != "X $srcdir/configure conftest.file" \
1878
&& test "$*" != "X conftest.file $srcdir/configure"; then
1880
# If neither matched, then we have a broken ls. This can happen
1881
# if, for instance, CONFIG_SHELL is bash and it inherits a
1882
# broken ls alias from the environment. This has actually
1883
# happened. Such a system could not be considered "sane".
1884
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1885
alias in your environment" >&5
1886
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1887
alias in your environment" >&2;}
1888
{ (exit 1); exit 1; }; }
1891
test "$2" = conftest.file
1897
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1898
Check your system clock" >&5
1899
echo "$as_me: error: newly created file is older than distributed files!
1900
Check your system clock" >&2;}
1901
{ (exit 1); exit 1; }; }
1903
{ echo "$as_me:$LINENO: result: yes" >&5
1904
echo "${ECHO_T}yes" >&6; }
1905
test "$program_prefix" != NONE &&
1906
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1907
# Use a double $ so make ignores it.
1908
test "$program_suffix" != NONE &&
1909
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1910
# Double any \ or $. echo might interpret backslashes.
1911
# By default was `s,x,x', remove it if useless.
1912
cat <<\_ACEOF >conftest.sed
1913
s/[\\$]/&&/g;s/;s,x,x,$//
1915
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1918
# expand $ac_aux_dir to an absolute path
1919
am_aux_dir=`cd $ac_aux_dir && pwd`
1921
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1922
# Use eval to expand $SHELL
1923
if eval "$MISSING --run true"; then
1924
am_missing_run="$MISSING --run "
1927
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1928
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1931
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1932
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1933
if test -z "$MKDIR_P"; then
1934
if test "${ac_cv_path_mkdir+set}" = set; then
1935
echo $ECHO_N "(cached) $ECHO_C" >&6
1937
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1941
test -z "$as_dir" && as_dir=.
1942
for ac_prog in mkdir gmkdir; do
1943
for ac_exec_ext in '' $ac_executable_extensions; do
1944
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1945
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1946
'mkdir (GNU coreutils) '* | \
1947
'mkdir (coreutils) '* | \
1948
'mkdir (fileutils) '4.1*)
1949
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1959
if test "${ac_cv_path_mkdir+set}" = set; then
1960
MKDIR_P="$ac_cv_path_mkdir -p"
1962
# As a last resort, use the slow shell script. Don't cache a
1963
# value for MKDIR_P within a source directory, because that will
1964
# break other packages using the cache if that directory is
1965
# removed, or if the value is a relative name.
1966
test -d ./--version && rmdir ./--version
1967
MKDIR_P="$ac_install_sh -d"
1970
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1971
echo "${ECHO_T}$MKDIR_P" >&6; }
1975
[\\/$]* | ?:[\\/]*) ;;
1976
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1979
for ac_prog in gawk mawk nawk awk
1981
# Extract the first word of "$ac_prog", so it can be a program name with args.
1982
set dummy $ac_prog; ac_word=$2
1983
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1984
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1985
if test "${ac_cv_prog_AWK+set}" = set; then
1986
echo $ECHO_N "(cached) $ECHO_C" >&6
1988
if test -n "$AWK"; then
1989
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1991
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995
test -z "$as_dir" && as_dir=.
1996
for ac_exec_ext in '' $ac_executable_extensions; do
1997
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1998
ac_cv_prog_AWK="$ac_prog"
1999
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009
if test -n "$AWK"; then
2010
{ echo "$as_me:$LINENO: result: $AWK" >&5
2011
echo "${ECHO_T}$AWK" >&6; }
2013
{ echo "$as_me:$LINENO: result: no" >&5
2014
echo "${ECHO_T}no" >&6; }
2018
test -n "$AWK" && break
2021
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2022
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2023
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2024
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2025
echo $ECHO_N "(cached) $ECHO_C" >&6
2027
cat >conftest.make <<\_ACEOF
2030
@echo '@@@%%%=$(MAKE)=@@@%%%'
2032
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2033
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2035
eval ac_cv_prog_make_${ac_make}_set=yes;;
2037
eval ac_cv_prog_make_${ac_make}_set=no;;
2041
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2042
{ echo "$as_me:$LINENO: result: yes" >&5
2043
echo "${ECHO_T}yes" >&6; }
2046
{ echo "$as_me:$LINENO: result: no" >&5
2047
echo "${ECHO_T}no" >&6; }
2048
SET_MAKE="MAKE=${MAKE-make}"
2051
rm -rf .tst 2>/dev/null
2052
mkdir .tst 2>/dev/null
2053
if test -d .tst; then
2058
rmdir .tst 2>/dev/null
2060
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2061
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2062
# is not polluted with repeated "-I."
2063
am__isrc=' -I$(srcdir)'
2064
# test to see if srcdir already configured
2065
if test -f $srcdir/config.status; then
2066
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2067
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2068
{ (exit 1); exit 1; }; }
2072
# test whether we have cygpath
2073
if test -z "$CYGPATH_W"; then
2074
if (cygpath --version) >/dev/null 2>/dev/null; then
2075
CYGPATH_W='cygpath -w'
2082
# Define the identity of the package.
2087
cat >>confdefs.h <<_ACEOF
2088
#define PACKAGE "$PACKAGE"
2092
cat >>confdefs.h <<_ACEOF
2093
#define VERSION "$VERSION"
2096
# Some tools Automake needs.
2098
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2101
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2104
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2107
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2110
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2112
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2114
# Installed binaries are usually stripped using `strip' when the user
2115
# run `make install-strip'. However `strip' might not be the right
2116
# tool to use in cross-compilation environments, therefore Automake
2117
# will honor the `STRIP' environment variable to overrule this program.
2118
if test "$cross_compiling" != no; then
2119
if test -n "$ac_tool_prefix"; then
2120
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2121
set dummy ${ac_tool_prefix}strip; ac_word=$2
2122
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2123
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2124
if test "${ac_cv_prog_STRIP+set}" = set; then
2125
echo $ECHO_N "(cached) $ECHO_C" >&6
2127
if test -n "$STRIP"; then
2128
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134
test -z "$as_dir" && as_dir=.
2135
for ac_exec_ext in '' $ac_executable_extensions; do
2136
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2138
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147
STRIP=$ac_cv_prog_STRIP
2148
if test -n "$STRIP"; then
2149
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2150
echo "${ECHO_T}$STRIP" >&6; }
2152
{ echo "$as_me:$LINENO: result: no" >&5
2153
echo "${ECHO_T}no" >&6; }
2158
if test -z "$ac_cv_prog_STRIP"; then
2160
# Extract the first word of "strip", so it can be a program name with args.
2161
set dummy strip; ac_word=$2
2162
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2163
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2164
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2165
echo $ECHO_N "(cached) $ECHO_C" >&6
2167
if test -n "$ac_ct_STRIP"; then
2168
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174
test -z "$as_dir" && as_dir=.
2175
for ac_exec_ext in '' $ac_executable_extensions; do
2176
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2177
ac_cv_prog_ac_ct_STRIP="strip"
2178
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2188
if test -n "$ac_ct_STRIP"; then
2189
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2190
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2192
{ echo "$as_me:$LINENO: result: no" >&5
2193
echo "${ECHO_T}no" >&6; }
2196
if test "x$ac_ct_STRIP" = x; then
2199
case $cross_compiling:$ac_tool_warned in
2201
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2202
whose name does not start with the host triplet. If you think this
2203
configuration is useful to you, please write to autoconf@gnu.org." >&5
2204
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2205
whose name does not start with the host triplet. If you think this
2206
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2207
ac_tool_warned=yes ;;
2212
STRIP="$ac_cv_prog_STRIP"
2216
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2218
# We need awk for the "check" target. The system "awk" is bad on
2220
# Always define AMTAR for backward compatibility.
2222
AMTAR=${AMTAR-"${am_missing_run}tar"}
2224
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2231
# Make sure we can run config.sub.
2232
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2233
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2234
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2235
{ (exit 1); exit 1; }; }
2237
{ echo "$as_me:$LINENO: checking build system type" >&5
2238
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2239
if test "${ac_cv_build+set}" = set; then
2240
echo $ECHO_N "(cached) $ECHO_C" >&6
2242
ac_build_alias=$build_alias
2243
test "x$ac_build_alias" = x &&
2244
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2245
test "x$ac_build_alias" = x &&
2246
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2247
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2248
{ (exit 1); exit 1; }; }
2249
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2250
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2251
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2252
{ (exit 1); exit 1; }; }
2255
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2256
echo "${ECHO_T}$ac_cv_build" >&6; }
2257
case $ac_cv_build in
2259
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2260
echo "$as_me: error: invalid value of canonical build" >&2;}
2261
{ (exit 1); exit 1; }; };;
2264
ac_save_IFS=$IFS; IFS='-'
2270
# Remember, the first character of IFS is used to create $*,
2271
# except with old shells:
2274
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2277
{ echo "$as_me:$LINENO: checking host system type" >&5
2278
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2279
if test "${ac_cv_host+set}" = set; then
2280
echo $ECHO_N "(cached) $ECHO_C" >&6
2282
if test "x$host_alias" = x; then
2283
ac_cv_host=$ac_cv_build
2285
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2286
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2287
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2288
{ (exit 1); exit 1; }; }
2292
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2293
echo "${ECHO_T}$ac_cv_host" >&6; }
2296
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2297
echo "$as_me: error: invalid value of canonical host" >&2;}
2298
{ (exit 1); exit 1; }; };;
2301
ac_save_IFS=$IFS; IFS='-'
2307
# Remember, the first character of IFS is used to create $*,
2308
# except with old shells:
2311
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2316
ac_cpp='$CPP $CPPFLAGS'
2317
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320
if test -n "$ac_tool_prefix"; then
2321
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2322
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2323
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2324
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325
if test "${ac_cv_prog_CC+set}" = set; then
2326
echo $ECHO_N "(cached) $ECHO_C" >&6
2328
if test -n "$CC"; then
2329
ac_cv_prog_CC="$CC" # Let the user override the test.
2331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335
test -z "$as_dir" && as_dir=.
2336
for ac_exec_ext in '' $ac_executable_extensions; do
2337
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2338
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2339
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349
if test -n "$CC"; then
2350
{ echo "$as_me:$LINENO: result: $CC" >&5
2351
echo "${ECHO_T}$CC" >&6; }
2353
{ echo "$as_me:$LINENO: result: no" >&5
2354
echo "${ECHO_T}no" >&6; }
2359
if test -z "$ac_cv_prog_CC"; then
2361
# Extract the first word of "gcc", so it can be a program name with args.
2362
set dummy gcc; ac_word=$2
2363
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2364
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2365
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2366
echo $ECHO_N "(cached) $ECHO_C" >&6
2368
if test -n "$ac_ct_CC"; then
2369
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375
test -z "$as_dir" && as_dir=.
2376
for ac_exec_ext in '' $ac_executable_extensions; do
2377
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378
ac_cv_prog_ac_ct_CC="gcc"
2379
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2388
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2389
if test -n "$ac_ct_CC"; then
2390
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2391
echo "${ECHO_T}$ac_ct_CC" >&6; }
2393
{ echo "$as_me:$LINENO: result: no" >&5
2394
echo "${ECHO_T}no" >&6; }
2397
if test "x$ac_ct_CC" = x; then
2400
case $cross_compiling:$ac_tool_warned in
2402
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2403
whose name does not start with the host triplet. If you think this
2404
configuration is useful to you, please write to autoconf@gnu.org." >&5
2405
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2406
whose name does not start with the host triplet. If you think this
2407
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2408
ac_tool_warned=yes ;;
2416
if test -z "$CC"; then
2417
if test -n "$ac_tool_prefix"; then
2418
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2419
set dummy ${ac_tool_prefix}cc; ac_word=$2
2420
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2421
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2422
if test "${ac_cv_prog_CC+set}" = set; then
2423
echo $ECHO_N "(cached) $ECHO_C" >&6
2425
if test -n "$CC"; then
2426
ac_cv_prog_CC="$CC" # Let the user override the test.
2428
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432
test -z "$as_dir" && as_dir=.
2433
for ac_exec_ext in '' $ac_executable_extensions; do
2434
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435
ac_cv_prog_CC="${ac_tool_prefix}cc"
2436
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446
if test -n "$CC"; then
2447
{ echo "$as_me:$LINENO: result: $CC" >&5
2448
echo "${ECHO_T}$CC" >&6; }
2450
{ echo "$as_me:$LINENO: result: no" >&5
2451
echo "${ECHO_T}no" >&6; }
2457
if test -z "$CC"; then
2458
# Extract the first word of "cc", so it can be a program name with args.
2459
set dummy cc; ac_word=$2
2460
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2461
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2462
if test "${ac_cv_prog_CC+set}" = set; then
2463
echo $ECHO_N "(cached) $ECHO_C" >&6
2465
if test -n "$CC"; then
2466
ac_cv_prog_CC="$CC" # Let the user override the test.
2469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473
test -z "$as_dir" && as_dir=.
2474
for ac_exec_ext in '' $ac_executable_extensions; do
2475
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2477
ac_prog_rejected=yes
2481
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488
if test $ac_prog_rejected = yes; then
2489
# We found a bogon in the path, so make sure we never use it.
2490
set dummy $ac_cv_prog_CC
2492
if test $# != 0; then
2493
# We chose a different compiler from the bogus one.
2494
# However, it has the same basename, so the bogon will be chosen
2495
# first if we set CC to just the basename; use the full file name.
2497
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2503
if test -n "$CC"; then
2504
{ echo "$as_me:$LINENO: result: $CC" >&5
2505
echo "${ECHO_T}$CC" >&6; }
2507
{ echo "$as_me:$LINENO: result: no" >&5
2508
echo "${ECHO_T}no" >&6; }
2513
if test -z "$CC"; then
2514
if test -n "$ac_tool_prefix"; then
2515
for ac_prog in cl.exe
2517
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2518
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2519
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2520
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521
if test "${ac_cv_prog_CC+set}" = set; then
2522
echo $ECHO_N "(cached) $ECHO_C" >&6
2524
if test -n "$CC"; then
2525
ac_cv_prog_CC="$CC" # Let the user override the test.
2527
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531
test -z "$as_dir" && as_dir=.
2532
for ac_exec_ext in '' $ac_executable_extensions; do
2533
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2535
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545
if test -n "$CC"; then
2546
{ echo "$as_me:$LINENO: result: $CC" >&5
2547
echo "${ECHO_T}$CC" >&6; }
2549
{ echo "$as_me:$LINENO: result: no" >&5
2550
echo "${ECHO_T}no" >&6; }
2554
test -n "$CC" && break
2557
if test -z "$CC"; then
2559
for ac_prog in cl.exe
2561
# Extract the first word of "$ac_prog", so it can be a program name with args.
2562
set dummy $ac_prog; ac_word=$2
2563
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2564
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2565
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2566
echo $ECHO_N "(cached) $ECHO_C" >&6
2568
if test -n "$ac_ct_CC"; then
2569
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575
test -z "$as_dir" && as_dir=.
2576
for ac_exec_ext in '' $ac_executable_extensions; do
2577
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578
ac_cv_prog_ac_ct_CC="$ac_prog"
2579
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2588
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2589
if test -n "$ac_ct_CC"; then
2590
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2591
echo "${ECHO_T}$ac_ct_CC" >&6; }
2593
{ echo "$as_me:$LINENO: result: no" >&5
2594
echo "${ECHO_T}no" >&6; }
2598
test -n "$ac_ct_CC" && break
2601
if test "x$ac_ct_CC" = x; then
2604
case $cross_compiling:$ac_tool_warned in
2606
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2607
whose name does not start with the host triplet. If you think this
2608
configuration is useful to you, please write to autoconf@gnu.org." >&5
2609
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2610
whose name does not start with the host triplet. If you think this
2611
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2612
ac_tool_warned=yes ;;
2621
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2622
See \`config.log' for more details." >&5
2623
echo "$as_me: error: no acceptable C compiler found in \$PATH
2624
See \`config.log' for more details." >&2;}
2625
{ (exit 1); exit 1; }; }
2627
# Provide some information about the compiler.
2628
echo "$as_me:$LINENO: checking for C compiler version" >&5
2629
ac_compiler=`set X $ac_compile; echo $2`
2630
{ (ac_try="$ac_compiler --version >&5"
2632
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633
*) ac_try_echo=$ac_try;;
2635
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636
(eval "$ac_compiler --version >&5") 2>&5
2638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
(exit $ac_status); }
2640
{ (ac_try="$ac_compiler -v >&5"
2642
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643
*) ac_try_echo=$ac_try;;
2645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646
(eval "$ac_compiler -v >&5") 2>&5
2648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649
(exit $ac_status); }
2650
{ (ac_try="$ac_compiler -V >&5"
2652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653
*) ac_try_echo=$ac_try;;
2655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2656
(eval "$ac_compiler -V >&5") 2>&5
2658
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659
(exit $ac_status); }
2661
cat >conftest.$ac_ext <<_ACEOF
2664
cat confdefs.h >>conftest.$ac_ext
2665
cat >>conftest.$ac_ext <<_ACEOF
2666
/* end confdefs.h. */
2676
ac_clean_files_save=$ac_clean_files
2677
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2678
# Try to create an executable without -o first, disregard a.out.
2679
# It will help us diagnose broken compilers, and finding out an intuition
2681
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2682
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2683
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2685
# List of possible output files, starting from the most likely.
2686
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2687
# only as a last resort. b.out is created by i960 compilers.
2688
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2690
# The IRIX 6 linker writes into existing files which may not be
2691
# executable, retaining their permissions. Remove them first so a
2692
# subsequent execution test works.
2694
for ac_file in $ac_files
2697
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2698
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2703
if { (ac_try="$ac_link_default"
2705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706
*) ac_try_echo=$ac_try;;
2708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2709
(eval "$ac_link_default") 2>&5
2711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712
(exit $ac_status); }; then
2713
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2714
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2715
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2716
# so that the user can short-circuit this test for compilers unknown to
2718
for ac_file in $ac_files ''
2720
test -f "$ac_file" || continue
2722
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2725
# We found the default executable, but exeext='' is most
2729
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2731
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2733
# We set ac_cv_exeext here because the later test for it is not
2734
# safe: cross compilers may not add the suffix if given an `-o'
2735
# argument, so we may need to know it at that point already.
2736
# Even if this section looks crufty: it has the advantage of
2743
test "$ac_cv_exeext" = no && ac_cv_exeext=
2749
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2750
echo "${ECHO_T}$ac_file" >&6; }
2751
if test -z "$ac_file"; then
2752
echo "$as_me: failed program was:" >&5
2753
sed 's/^/| /' conftest.$ac_ext >&5
2755
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2756
See \`config.log' for more details." >&5
2757
echo "$as_me: error: C compiler cannot create executables
2758
See \`config.log' for more details." >&2;}
2759
{ (exit 77); exit 77; }; }
2762
ac_exeext=$ac_cv_exeext
2764
# Check that the compiler produces executables we can run. If not, either
2765
# the compiler is broken, or we cross compile.
2766
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2767
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2768
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2769
# If not cross compiling, check that we can run a simple program.
2770
if test "$cross_compiling" != yes; then
2771
if { ac_try='./$ac_file'
2772
{ (case "(($ac_try" in
2773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774
*) ac_try_echo=$ac_try;;
2776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777
(eval "$ac_try") 2>&5
2779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780
(exit $ac_status); }; }; then
2783
if test "$cross_compiling" = maybe; then
2786
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2787
If you meant to cross compile, use \`--host'.
2788
See \`config.log' for more details." >&5
2789
echo "$as_me: error: cannot run C compiled programs.
2790
If you meant to cross compile, use \`--host'.
2791
See \`config.log' for more details." >&2;}
2792
{ (exit 1); exit 1; }; }
2796
{ echo "$as_me:$LINENO: result: yes" >&5
2797
echo "${ECHO_T}yes" >&6; }
2799
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2800
ac_clean_files=$ac_clean_files_save
2801
# Check that the compiler produces executables we can run. If not, either
2802
# the compiler is broken, or we cross compile.
2803
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2804
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2805
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2806
echo "${ECHO_T}$cross_compiling" >&6; }
2808
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2809
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2810
if { (ac_try="$ac_link"
2812
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813
*) ac_try_echo=$ac_try;;
2815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2816
(eval "$ac_link") 2>&5
2818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819
(exit $ac_status); }; then
2820
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2821
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2822
# work properly (i.e., refer to `conftest.exe'), while it won't with
2824
for ac_file in conftest.exe conftest conftest.*; do
2825
test -f "$ac_file" || continue
2827
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2828
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2834
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2835
See \`config.log' for more details." >&5
2836
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2837
See \`config.log' for more details." >&2;}
2838
{ (exit 1); exit 1; }; }
2841
rm -f conftest$ac_cv_exeext
2842
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2843
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2845
rm -f conftest.$ac_ext
2846
EXEEXT=$ac_cv_exeext
2848
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2849
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2850
if test "${ac_cv_objext+set}" = set; then
2851
echo $ECHO_N "(cached) $ECHO_C" >&6
2853
cat >conftest.$ac_ext <<_ACEOF
2856
cat confdefs.h >>conftest.$ac_ext
2857
cat >>conftest.$ac_ext <<_ACEOF
2858
/* end confdefs.h. */
2868
rm -f conftest.o conftest.obj
2869
if { (ac_try="$ac_compile"
2871
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872
*) ac_try_echo=$ac_try;;
2874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875
(eval "$ac_compile") 2>&5
2877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878
(exit $ac_status); }; then
2879
for ac_file in conftest.o conftest.obj conftest.*; do
2880
test -f "$ac_file" || continue;
2882
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2883
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2888
echo "$as_me: failed program was:" >&5
2889
sed 's/^/| /' conftest.$ac_ext >&5
2891
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2892
See \`config.log' for more details." >&5
2893
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2894
See \`config.log' for more details." >&2;}
2895
{ (exit 1); exit 1; }; }
2898
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2900
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2901
echo "${ECHO_T}$ac_cv_objext" >&6; }
2902
OBJEXT=$ac_cv_objext
2904
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2905
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2906
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2907
echo $ECHO_N "(cached) $ECHO_C" >&6
2909
cat >conftest.$ac_ext <<_ACEOF
2912
cat confdefs.h >>conftest.$ac_ext
2913
cat >>conftest.$ac_ext <<_ACEOF
2914
/* end confdefs.h. */
2927
rm -f conftest.$ac_objext
2928
if { (ac_try="$ac_compile"
2930
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931
*) ac_try_echo=$ac_try;;
2933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2934
(eval "$ac_compile") 2>conftest.er1
2936
grep -v '^ *+' conftest.er1 >conftest.err
2938
cat conftest.err >&5
2939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940
(exit $ac_status); } && {
2941
test -z "$ac_c_werror_flag" ||
2942
test ! -s conftest.err
2943
} && test -s conftest.$ac_objext; then
2946
echo "$as_me: failed program was:" >&5
2947
sed 's/^/| /' conftest.$ac_ext >&5
2952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2956
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2957
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2958
GCC=`test $ac_compiler_gnu = yes && echo yes`
2959
ac_test_CFLAGS=${CFLAGS+set}
2960
ac_save_CFLAGS=$CFLAGS
2961
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2962
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2963
if test "${ac_cv_prog_cc_g+set}" = set; then
2964
echo $ECHO_N "(cached) $ECHO_C" >&6
2966
ac_save_c_werror_flag=$ac_c_werror_flag
2967
ac_c_werror_flag=yes
2970
cat >conftest.$ac_ext <<_ACEOF
2973
cat confdefs.h >>conftest.$ac_ext
2974
cat >>conftest.$ac_ext <<_ACEOF
2975
/* end confdefs.h. */
2985
rm -f conftest.$ac_objext
2986
if { (ac_try="$ac_compile"
2988
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989
*) ac_try_echo=$ac_try;;
2991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2992
(eval "$ac_compile") 2>conftest.er1
2994
grep -v '^ *+' conftest.er1 >conftest.err
2996
cat conftest.err >&5
2997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998
(exit $ac_status); } && {
2999
test -z "$ac_c_werror_flag" ||
3000
test ! -s conftest.err
3001
} && test -s conftest.$ac_objext; then
3004
echo "$as_me: failed program was:" >&5
3005
sed 's/^/| /' conftest.$ac_ext >&5
3008
cat >conftest.$ac_ext <<_ACEOF
3011
cat confdefs.h >>conftest.$ac_ext
3012
cat >>conftest.$ac_ext <<_ACEOF
3013
/* end confdefs.h. */
3023
rm -f conftest.$ac_objext
3024
if { (ac_try="$ac_compile"
3026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
*) ac_try_echo=$ac_try;;
3029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3030
(eval "$ac_compile") 2>conftest.er1
3032
grep -v '^ *+' conftest.er1 >conftest.err
3034
cat conftest.err >&5
3035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036
(exit $ac_status); } && {
3037
test -z "$ac_c_werror_flag" ||
3038
test ! -s conftest.err
3039
} && test -s conftest.$ac_objext; then
3042
echo "$as_me: failed program was:" >&5
3043
sed 's/^/| /' conftest.$ac_ext >&5
3045
ac_c_werror_flag=$ac_save_c_werror_flag
3047
cat >conftest.$ac_ext <<_ACEOF
3050
cat confdefs.h >>conftest.$ac_ext
3051
cat >>conftest.$ac_ext <<_ACEOF
3052
/* end confdefs.h. */
3062
rm -f conftest.$ac_objext
3063
if { (ac_try="$ac_compile"
3065
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066
*) ac_try_echo=$ac_try;;
3068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3069
(eval "$ac_compile") 2>conftest.er1
3071
grep -v '^ *+' conftest.er1 >conftest.err
3073
cat conftest.err >&5
3074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075
(exit $ac_status); } && {
3076
test -z "$ac_c_werror_flag" ||
3077
test ! -s conftest.err
3078
} && test -s conftest.$ac_objext; then
3081
echo "$as_me: failed program was:" >&5
3082
sed 's/^/| /' conftest.$ac_ext >&5
3087
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094
ac_c_werror_flag=$ac_save_c_werror_flag
3096
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3097
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3098
if test "$ac_test_CFLAGS" = set; then
3099
CFLAGS=$ac_save_CFLAGS
3100
elif test $ac_cv_prog_cc_g = yes; then
3101
if test "$GCC" = yes; then
3107
if test "$GCC" = yes; then
3113
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3114
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3115
if test "${ac_cv_prog_cc_c89+set}" = set; then
3116
echo $ECHO_N "(cached) $ECHO_C" >&6
3118
ac_cv_prog_cc_c89=no
3120
cat >conftest.$ac_ext <<_ACEOF
3123
cat confdefs.h >>conftest.$ac_ext
3124
cat >>conftest.$ac_ext <<_ACEOF
3125
/* end confdefs.h. */
3128
#include <sys/types.h>
3129
#include <sys/stat.h>
3130
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3131
struct buf { int x; };
3132
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3133
static char *e (p, i)
3139
static char *f (char * (*g) (char **, int), char **p, ...)
3144
s = g (p, va_arg (v,int));
3149
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3150
function prototypes and stuff, but not '\xHH' hex character constants.
3151
These don't provoke an error unfortunately, instead are silently treated
3152
as 'x'. The following induces an error, until -std is added to get
3153
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3154
array size at least. It's necessary to write '\x00'==0 to get something
3155
that's true only with -std. */
3156
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3158
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3159
inside strings and character constants. */
3161
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3163
int test (int i, double x);
3164
struct s1 {int (*f) (int a);};
3165
struct s2 {int (*f) (double a);};
3166
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3172
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3177
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3178
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3180
CC="$ac_save_CC $ac_arg"
3181
rm -f conftest.$ac_objext
3182
if { (ac_try="$ac_compile"
3184
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185
*) ac_try_echo=$ac_try;;
3187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3188
(eval "$ac_compile") 2>conftest.er1
3190
grep -v '^ *+' conftest.er1 >conftest.err
3192
cat conftest.err >&5
3193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
(exit $ac_status); } && {
3195
test -z "$ac_c_werror_flag" ||
3196
test ! -s conftest.err
3197
} && test -s conftest.$ac_objext; then
3198
ac_cv_prog_cc_c89=$ac_arg
3200
echo "$as_me: failed program was:" >&5
3201
sed 's/^/| /' conftest.$ac_ext >&5
3206
rm -f core conftest.err conftest.$ac_objext
3207
test "x$ac_cv_prog_cc_c89" != "xno" && break
3209
rm -f conftest.$ac_ext
3214
case "x$ac_cv_prog_cc_c89" in
3216
{ echo "$as_me:$LINENO: result: none needed" >&5
3217
echo "${ECHO_T}none needed" >&6; } ;;
3219
{ echo "$as_me:$LINENO: result: unsupported" >&5
3220
echo "${ECHO_T}unsupported" >&6; } ;;
3222
CC="$CC $ac_cv_prog_cc_c89"
3223
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3224
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3229
ac_cpp='$CPP $CPPFLAGS'
3230
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233
DEPDIR="${am__leading_dot}deps"
3235
ac_config_commands="$ac_config_commands depfiles"
3238
am_make=${MAKE-make}
3239
cat > confinc << 'END'
3244
# If we don't find an include directive, just comment out the code.
3245
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3246
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3250
# First try GNU make style include.
3251
echo "include confinc" > confmf
3252
# We grep out `Entering directory' and `Leaving directory'
3253
# messages which can occur if `w' ends up in MAKEFLAGS.
3254
# In particular we don't look at `^make:' because GNU make might
3255
# be invoked under some other name (usually "gmake"), in which
3256
# case it prints its new name instead of `make'.
3257
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3262
# Now try BSD make style include.
3263
if test "$am__include" = "#"; then
3264
echo '.include "confinc"' > confmf
3265
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3266
am__include=.include
3273
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3274
echo "${ECHO_T}$_am_result" >&6; }
3275
rm -f confinc confmf
3277
# Check whether --enable-dependency-tracking was given.
3278
if test "${enable_dependency_tracking+set}" = set; then
3279
enableval=$enable_dependency_tracking;
3282
if test "x$enable_dependency_tracking" != xno; then
3283
am_depcomp="$ac_aux_dir/depcomp"
3286
if test "x$enable_dependency_tracking" != xno; then
3296
depcc="$CC" am_compiler_list=
3298
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3299
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3300
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3301
echo $ECHO_N "(cached) $ECHO_C" >&6
3303
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3304
# We make a subdir and do the tests there. Otherwise we can end up
3305
# making bogus files that we don't know about and never remove. For
3306
# instance it was reported that on HP-UX the gcc test will end up
3307
# making a dummy file named `D' -- because `-MD' means `put the output
3310
# Copy depcomp to subdir because otherwise we won't find it if we're
3311
# using a relative directory.
3312
cp "$am_depcomp" conftest.dir
3314
# We will build objects and dependencies in a subdirectory because
3315
# it helps to detect inapplicable dependency modes. For instance
3316
# both Tru64's cc and ICC support -MD to output dependencies as a
3317
# side effect of compilation, but ICC will put the dependencies in
3318
# the current directory while Tru64 will put them in the object
3322
am_cv_CC_dependencies_compiler_type=none
3323
if test "$am_compiler_list" = ""; then
3324
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3326
for depmode in $am_compiler_list; do
3327
# Setup a source with many dependencies, because some compilers
3328
# like to wrap large dependency lists on column 80 (with \), and
3329
# we should not choose a depcomp mode which is confused by this.
3331
# We need to recreate these files for each test, as the compiler may
3332
# overwrite some of them when testing with obscure command lines.
3333
# This happens at least with the AIX C compiler.
3335
for i in 1 2 3 4 5 6; do
3336
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3337
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3338
# Solaris 8's {/usr,}/bin/sh.
3339
touch sub/conftst$i.h
3341
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3345
# after this tag, mechanisms are not by side-effect, so they'll
3346
# only be used when explicitly requested
3347
if test "x$enable_dependency_tracking" = xyes; then
3355
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3356
# mode. It turns out that the SunPro C++ compiler does not properly
3357
# handle `-M -o', and we need to detect this.
3358
if depmode=$depmode \
3359
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3360
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3361
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3362
>/dev/null 2>conftest.err &&
3363
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3364
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3365
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3366
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3367
# icc doesn't choke on unknown options, it will just issue warnings
3368
# or remarks (even with -Werror). So we grep stderr for any message
3369
# that says an option was ignored or not supported.
3370
# When given -MP, icc 7.0 and 7.1 complain thusly:
3371
# icc: Command line warning: ignoring option '-M'; no argument required
3372
# The diagnosis changed in icc 8.0:
3373
# icc: Command line remark: option '-MP' not supported
3374
if (grep 'ignoring option' conftest.err ||
3375
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3376
am_cv_CC_dependencies_compiler_type=$depmode
3385
am_cv_CC_dependencies_compiler_type=none
3389
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3390
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3391
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3394
test "x$enable_dependency_tracking" != xno \
3395
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3397
am__fastdepCC_FALSE='#'
3399
am__fastdepCC_TRUE='#'
3400
am__fastdepCC_FALSE=
3405
ac_cpp='$CXXCPP $CPPFLAGS'
3406
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3409
if test -z "$CXX"; then
3410
if test -n "$CCC"; then
3413
if test -n "$ac_tool_prefix"; then
3414
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3416
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3417
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3418
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3419
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3420
if test "${ac_cv_prog_CXX+set}" = set; then
3421
echo $ECHO_N "(cached) $ECHO_C" >&6
3423
if test -n "$CXX"; then
3424
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430
test -z "$as_dir" && as_dir=.
3431
for ac_exec_ext in '' $ac_executable_extensions; do
3432
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3434
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3444
if test -n "$CXX"; then
3445
{ echo "$as_me:$LINENO: result: $CXX" >&5
3446
echo "${ECHO_T}$CXX" >&6; }
3448
{ echo "$as_me:$LINENO: result: no" >&5
3449
echo "${ECHO_T}no" >&6; }
3453
test -n "$CXX" && break
3456
if test -z "$CXX"; then
3458
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3460
# Extract the first word of "$ac_prog", so it can be a program name with args.
3461
set dummy $ac_prog; ac_word=$2
3462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3464
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3465
echo $ECHO_N "(cached) $ECHO_C" >&6
3467
if test -n "$ac_ct_CXX"; then
3468
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474
test -z "$as_dir" && as_dir=.
3475
for ac_exec_ext in '' $ac_executable_extensions; do
3476
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3477
ac_cv_prog_ac_ct_CXX="$ac_prog"
3478
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3488
if test -n "$ac_ct_CXX"; then
3489
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3490
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3492
{ echo "$as_me:$LINENO: result: no" >&5
3493
echo "${ECHO_T}no" >&6; }
3497
test -n "$ac_ct_CXX" && break
3500
if test "x$ac_ct_CXX" = x; then
3503
case $cross_compiling:$ac_tool_warned in
3505
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3506
whose name does not start with the host triplet. If you think this
3507
configuration is useful to you, please write to autoconf@gnu.org." >&5
3508
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3509
whose name does not start with the host triplet. If you think this
3510
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3511
ac_tool_warned=yes ;;
3519
# Provide some information about the compiler.
3520
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3521
ac_compiler=`set X $ac_compile; echo $2`
3522
{ (ac_try="$ac_compiler --version >&5"
3524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525
*) ac_try_echo=$ac_try;;
3527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3528
(eval "$ac_compiler --version >&5") 2>&5
3530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531
(exit $ac_status); }
3532
{ (ac_try="$ac_compiler -v >&5"
3534
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535
*) ac_try_echo=$ac_try;;
3537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538
(eval "$ac_compiler -v >&5") 2>&5
3540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541
(exit $ac_status); }
3542
{ (ac_try="$ac_compiler -V >&5"
3544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545
*) ac_try_echo=$ac_try;;
3547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3548
(eval "$ac_compiler -V >&5") 2>&5
3550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551
(exit $ac_status); }
3553
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3554
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3555
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3556
echo $ECHO_N "(cached) $ECHO_C" >&6
3558
cat >conftest.$ac_ext <<_ACEOF
3561
cat confdefs.h >>conftest.$ac_ext
3562
cat >>conftest.$ac_ext <<_ACEOF
3563
/* end confdefs.h. */
3576
rm -f conftest.$ac_objext
3577
if { (ac_try="$ac_compile"
3579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580
*) ac_try_echo=$ac_try;;
3582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3583
(eval "$ac_compile") 2>conftest.er1
3585
grep -v '^ *+' conftest.er1 >conftest.err
3587
cat conftest.err >&5
3588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589
(exit $ac_status); } && {
3590
test -z "$ac_cxx_werror_flag" ||
3591
test ! -s conftest.err
3592
} && test -s conftest.$ac_objext; then
3595
echo "$as_me: failed program was:" >&5
3596
sed 's/^/| /' conftest.$ac_ext >&5
3601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3605
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3606
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3607
GXX=`test $ac_compiler_gnu = yes && echo yes`
3608
ac_test_CXXFLAGS=${CXXFLAGS+set}
3609
ac_save_CXXFLAGS=$CXXFLAGS
3610
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3611
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3612
if test "${ac_cv_prog_cxx_g+set}" = set; then
3613
echo $ECHO_N "(cached) $ECHO_C" >&6
3615
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3616
ac_cxx_werror_flag=yes
3619
cat >conftest.$ac_ext <<_ACEOF
3622
cat confdefs.h >>conftest.$ac_ext
3623
cat >>conftest.$ac_ext <<_ACEOF
3624
/* end confdefs.h. */
3634
rm -f conftest.$ac_objext
3635
if { (ac_try="$ac_compile"
3637
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638
*) ac_try_echo=$ac_try;;
3640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3641
(eval "$ac_compile") 2>conftest.er1
3643
grep -v '^ *+' conftest.er1 >conftest.err
3645
cat conftest.err >&5
3646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647
(exit $ac_status); } && {
3648
test -z "$ac_cxx_werror_flag" ||
3649
test ! -s conftest.err
3650
} && test -s conftest.$ac_objext; then
3651
ac_cv_prog_cxx_g=yes
3653
echo "$as_me: failed program was:" >&5
3654
sed 's/^/| /' conftest.$ac_ext >&5
3657
cat >conftest.$ac_ext <<_ACEOF
3660
cat confdefs.h >>conftest.$ac_ext
3661
cat >>conftest.$ac_ext <<_ACEOF
3662
/* end confdefs.h. */
3672
rm -f conftest.$ac_objext
3673
if { (ac_try="$ac_compile"
3675
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676
*) ac_try_echo=$ac_try;;
3678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3679
(eval "$ac_compile") 2>conftest.er1
3681
grep -v '^ *+' conftest.er1 >conftest.err
3683
cat conftest.err >&5
3684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685
(exit $ac_status); } && {
3686
test -z "$ac_cxx_werror_flag" ||
3687
test ! -s conftest.err
3688
} && test -s conftest.$ac_objext; then
3691
echo "$as_me: failed program was:" >&5
3692
sed 's/^/| /' conftest.$ac_ext >&5
3694
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3696
cat >conftest.$ac_ext <<_ACEOF
3699
cat confdefs.h >>conftest.$ac_ext
3700
cat >>conftest.$ac_ext <<_ACEOF
3701
/* end confdefs.h. */
3711
rm -f conftest.$ac_objext
3712
if { (ac_try="$ac_compile"
3714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715
*) ac_try_echo=$ac_try;;
3717
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718
(eval "$ac_compile") 2>conftest.er1
3720
grep -v '^ *+' conftest.er1 >conftest.err
3722
cat conftest.err >&5
3723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724
(exit $ac_status); } && {
3725
test -z "$ac_cxx_werror_flag" ||
3726
test ! -s conftest.err
3727
} && test -s conftest.$ac_objext; then
3728
ac_cv_prog_cxx_g=yes
3730
echo "$as_me: failed program was:" >&5
3731
sed 's/^/| /' conftest.$ac_ext >&5
3736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3745
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3746
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3747
if test "$ac_test_CXXFLAGS" = set; then
3748
CXXFLAGS=$ac_save_CXXFLAGS
3749
elif test $ac_cv_prog_cxx_g = yes; then
3750
if test "$GXX" = yes; then
3756
if test "$GXX" = yes; then
3763
ac_cpp='$CPP $CPPFLAGS'
3764
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768
depcc="$CXX" am_compiler_list=
3770
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3771
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3772
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3773
echo $ECHO_N "(cached) $ECHO_C" >&6
3775
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3776
# We make a subdir and do the tests there. Otherwise we can end up
3777
# making bogus files that we don't know about and never remove. For
3778
# instance it was reported that on HP-UX the gcc test will end up
3779
# making a dummy file named `D' -- because `-MD' means `put the output
3782
# Copy depcomp to subdir because otherwise we won't find it if we're
3783
# using a relative directory.
3784
cp "$am_depcomp" conftest.dir
3786
# We will build objects and dependencies in a subdirectory because
3787
# it helps to detect inapplicable dependency modes. For instance
3788
# both Tru64's cc and ICC support -MD to output dependencies as a
3789
# side effect of compilation, but ICC will put the dependencies in
3790
# the current directory while Tru64 will put them in the object
3794
am_cv_CXX_dependencies_compiler_type=none
3795
if test "$am_compiler_list" = ""; then
3796
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3798
for depmode in $am_compiler_list; do
3799
# Setup a source with many dependencies, because some compilers
3800
# like to wrap large dependency lists on column 80 (with \), and
3801
# we should not choose a depcomp mode which is confused by this.
3803
# We need to recreate these files for each test, as the compiler may
3804
# overwrite some of them when testing with obscure command lines.
3805
# This happens at least with the AIX C compiler.
3807
for i in 1 2 3 4 5 6; do
3808
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3809
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3810
# Solaris 8's {/usr,}/bin/sh.
3811
touch sub/conftst$i.h
3813
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3817
# after this tag, mechanisms are not by side-effect, so they'll
3818
# only be used when explicitly requested
3819
if test "x$enable_dependency_tracking" = xyes; then
3827
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3828
# mode. It turns out that the SunPro C++ compiler does not properly
3829
# handle `-M -o', and we need to detect this.
3830
if depmode=$depmode \
3831
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3832
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3833
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3834
>/dev/null 2>conftest.err &&
3835
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3836
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3837
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3838
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3839
# icc doesn't choke on unknown options, it will just issue warnings
3840
# or remarks (even with -Werror). So we grep stderr for any message
3841
# that says an option was ignored or not supported.
3842
# When given -MP, icc 7.0 and 7.1 complain thusly:
3843
# icc: Command line warning: ignoring option '-M'; no argument required
3844
# The diagnosis changed in icc 8.0:
3845
# icc: Command line remark: option '-MP' not supported
3846
if (grep 'ignoring option' conftest.err ||
3847
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3848
am_cv_CXX_dependencies_compiler_type=$depmode
3857
am_cv_CXX_dependencies_compiler_type=none
3861
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3862
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3863
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3866
test "x$enable_dependency_tracking" != xno \
3867
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3868
am__fastdepCXX_TRUE=
3869
am__fastdepCXX_FALSE='#'
3871
am__fastdepCXX_TRUE='#'
3872
am__fastdepCXX_FALSE=
3876
if test -n "$ac_tool_prefix"; then
3877
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3878
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3879
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3880
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3881
if test "${ac_cv_prog_RANLIB+set}" = set; then
3882
echo $ECHO_N "(cached) $ECHO_C" >&6
3884
if test -n "$RANLIB"; then
3885
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891
test -z "$as_dir" && as_dir=.
3892
for ac_exec_ext in '' $ac_executable_extensions; do
3893
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3894
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3895
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904
RANLIB=$ac_cv_prog_RANLIB
3905
if test -n "$RANLIB"; then
3906
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
3907
echo "${ECHO_T}$RANLIB" >&6; }
3909
{ echo "$as_me:$LINENO: result: no" >&5
3910
echo "${ECHO_T}no" >&6; }
3915
if test -z "$ac_cv_prog_RANLIB"; then
3916
ac_ct_RANLIB=$RANLIB
3917
# Extract the first word of "ranlib", so it can be a program name with args.
3918
set dummy ranlib; ac_word=$2
3919
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3920
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3921
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3922
echo $ECHO_N "(cached) $ECHO_C" >&6
3924
if test -n "$ac_ct_RANLIB"; then
3925
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931
test -z "$as_dir" && as_dir=.
3932
for ac_exec_ext in '' $ac_executable_extensions; do
3933
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934
ac_cv_prog_ac_ct_RANLIB="ranlib"
3935
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3944
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3945
if test -n "$ac_ct_RANLIB"; then
3946
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3947
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3949
{ echo "$as_me:$LINENO: result: no" >&5
3950
echo "${ECHO_T}no" >&6; }
3953
if test "x$ac_ct_RANLIB" = x; then
3956
case $cross_compiling:$ac_tool_warned in
3958
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3959
whose name does not start with the host triplet. If you think this
3960
configuration is useful to you, please write to autoconf@gnu.org." >&5
3961
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3962
whose name does not start with the host triplet. If you think this
3963
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3964
ac_tool_warned=yes ;;
3966
RANLIB=$ac_ct_RANLIB
3969
RANLIB="$ac_cv_prog_RANLIB"
3974
### use option --enable-locales-fix to fix problems with double-byte
3975
### encodings on systems with broken locale, iscntrl()
3977
# Check whether --enable-locales-fix was given.
3978
if test "${enable_locales_fix+set}" = set; then
3979
enableval=$enable_locales_fix; if test "$enableval" = "yes"; then
3980
cat >>confdefs.h <<\_ACEOF
3981
#define LOCALES_HACK 1
3989
### use option --with-fribidi to compile with fribidi support
3991
# Check whether --with-fribidi was given.
3992
if test "${with_fribidi+set}" = set; then
3993
withval=$with_fribidi; with_fribidi=$withval
3999
if test "$with_fribidi" = "yes"; then
4000
for ac_dir in /usr/local /usr; do
4001
if test -f "$ac_dir/include/fribidi/fribidi.h"; then
4002
with_fribidi=$ac_dir
4008
if test -n "$with_fribidi" -a "$with_fribidi" != "no"; then
4009
if test "$with_fribidi" = "yes"; then with_fribidi="/usr"; fi
4011
if test -r $with_fribidi/include/fribidi/fribidi.h; then
4012
echo "enabling FriBiDi support in $with_fribidi"
4013
CXXFLAGS="$CXXFLAGS `$with_fribidi/bin/fribidi-config --cflags`"
4014
LIBS="$LIBS `$with_fribidi/bin/fribidi-config --libs`"
4017
cat >>confdefs.h <<\_ACEOF
4018
#define KTOOL_USE_FRIBIDI 1
4022
echo 'disabling FriBiDi support...'
4027
CXXFLAGS="$CXXFLAGS -I/sw/include"
4033
ac_cpp='$CPP $CPPFLAGS'
4034
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4038
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4039
# On Suns, sometimes $CPP names a directory.
4040
if test -n "$CPP" && test -d "$CPP"; then
4043
if test -z "$CPP"; then
4044
if test "${ac_cv_prog_CPP+set}" = set; then
4045
echo $ECHO_N "(cached) $ECHO_C" >&6
4047
# Double quotes because CPP needs to be expanded
4048
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4051
for ac_c_preproc_warn_flag in '' yes
4053
# Use a header file that comes with gcc, so configuring glibc
4054
# with a fresh cross-compiler works.
4055
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4056
# <limits.h> exists even on freestanding compilers.
4057
# On the NeXT, cc -E runs the code through the compiler's parser,
4058
# not just through cpp. "Syntax error" is here to catch this case.
4059
cat >conftest.$ac_ext <<_ACEOF
4062
cat confdefs.h >>conftest.$ac_ext
4063
cat >>conftest.$ac_ext <<_ACEOF
4064
/* end confdefs.h. */
4066
# include <limits.h>
4068
# include <assert.h>
4072
if { (ac_try="$ac_cpp conftest.$ac_ext"
4074
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075
*) ac_try_echo=$ac_try;;
4077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4080
grep -v '^ *+' conftest.er1 >conftest.err
4082
cat conftest.err >&5
4083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084
(exit $ac_status); } >/dev/null && {
4085
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4086
test ! -s conftest.err
4090
echo "$as_me: failed program was:" >&5
4091
sed 's/^/| /' conftest.$ac_ext >&5
4093
# Broken: fails on valid input.
4097
rm -f conftest.err conftest.$ac_ext
4099
# OK, works on sane cases. Now check whether nonexistent headers
4100
# can be detected and how.
4101
cat >conftest.$ac_ext <<_ACEOF
4104
cat confdefs.h >>conftest.$ac_ext
4105
cat >>conftest.$ac_ext <<_ACEOF
4106
/* end confdefs.h. */
4107
#include <ac_nonexistent.h>
4109
if { (ac_try="$ac_cpp conftest.$ac_ext"
4111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112
*) ac_try_echo=$ac_try;;
4114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4115
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4117
grep -v '^ *+' conftest.er1 >conftest.err
4119
cat conftest.err >&5
4120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121
(exit $ac_status); } >/dev/null && {
4122
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4123
test ! -s conftest.err
4125
# Broken: success on invalid input.
4128
echo "$as_me: failed program was:" >&5
4129
sed 's/^/| /' conftest.$ac_ext >&5
4131
# Passes both tests.
4136
rm -f conftest.err conftest.$ac_ext
4139
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4140
rm -f conftest.err conftest.$ac_ext
4141
if $ac_preproc_ok; then
4153
{ echo "$as_me:$LINENO: result: $CPP" >&5
4154
echo "${ECHO_T}$CPP" >&6; }
4156
for ac_c_preproc_warn_flag in '' yes
4158
# Use a header file that comes with gcc, so configuring glibc
4159
# with a fresh cross-compiler works.
4160
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4161
# <limits.h> exists even on freestanding compilers.
4162
# On the NeXT, cc -E runs the code through the compiler's parser,
4163
# not just through cpp. "Syntax error" is here to catch this case.
4164
cat >conftest.$ac_ext <<_ACEOF
4167
cat confdefs.h >>conftest.$ac_ext
4168
cat >>conftest.$ac_ext <<_ACEOF
4169
/* end confdefs.h. */
4171
# include <limits.h>
4173
# include <assert.h>
4177
if { (ac_try="$ac_cpp conftest.$ac_ext"
4179
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180
*) ac_try_echo=$ac_try;;
4182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4183
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4185
grep -v '^ *+' conftest.er1 >conftest.err
4187
cat conftest.err >&5
4188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189
(exit $ac_status); } >/dev/null && {
4190
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4191
test ! -s conftest.err
4195
echo "$as_me: failed program was:" >&5
4196
sed 's/^/| /' conftest.$ac_ext >&5
4198
# Broken: fails on valid input.
4202
rm -f conftest.err conftest.$ac_ext
4204
# OK, works on sane cases. Now check whether nonexistent headers
4205
# can be detected and how.
4206
cat >conftest.$ac_ext <<_ACEOF
4209
cat confdefs.h >>conftest.$ac_ext
4210
cat >>conftest.$ac_ext <<_ACEOF
4211
/* end confdefs.h. */
4212
#include <ac_nonexistent.h>
4214
if { (ac_try="$ac_cpp conftest.$ac_ext"
4216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4217
*) ac_try_echo=$ac_try;;
4219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4220
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4222
grep -v '^ *+' conftest.er1 >conftest.err
4224
cat conftest.err >&5
4225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226
(exit $ac_status); } >/dev/null && {
4227
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4228
test ! -s conftest.err
4230
# Broken: success on invalid input.
4233
echo "$as_me: failed program was:" >&5
4234
sed 's/^/| /' conftest.$ac_ext >&5
4236
# Passes both tests.
4241
rm -f conftest.err conftest.$ac_ext
4244
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4245
rm -f conftest.err conftest.$ac_ext
4246
if $ac_preproc_ok; then
4249
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4250
See \`config.log' for more details." >&5
4251
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4252
See \`config.log' for more details." >&2;}
4253
{ (exit 1); exit 1; }; }
4257
ac_cpp='$CPP $CPPFLAGS'
4258
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4263
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4264
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4265
if test "${ac_cv_path_GREP+set}" = set; then
4266
echo $ECHO_N "(cached) $ECHO_C" >&6
4268
# Extract the first word of "grep ggrep" to use in msg output
4269
if test -z "$GREP"; then
4270
set dummy grep ggrep; ac_prog_name=$2
4271
if test "${ac_cv_path_GREP+set}" = set; then
4272
echo $ECHO_N "(cached) $ECHO_C" >&6
4274
ac_path_GREP_found=false
4275
# Loop through the user's path and test for each of PROGNAME-LIST
4276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4280
test -z "$as_dir" && as_dir=.
4281
for ac_prog in grep ggrep; do
4282
for ac_exec_ext in '' $ac_executable_extensions; do
4283
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4284
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4285
# Check for GNU ac_path_GREP and select it if it is found.
4286
# Check for GNU $ac_path_GREP
4287
case `"$ac_path_GREP" --version 2>&1` in
4289
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4292
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4295
cat "conftest.in" "conftest.in" >"conftest.tmp"
4296
mv "conftest.tmp" "conftest.in"
4297
cp "conftest.in" "conftest.nl"
4298
echo 'GREP' >> "conftest.nl"
4299
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4300
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4301
ac_count=`expr $ac_count + 1`
4302
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4303
# Best one so far, save it but keep looking for a better one
4304
ac_cv_path_GREP="$ac_path_GREP"
4305
ac_path_GREP_max=$ac_count
4307
# 10*(2^10) chars as input seems more than enough
4308
test $ac_count -gt 10 && break
4310
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314
$ac_path_GREP_found && break 3
4324
GREP="$ac_cv_path_GREP"
4325
if test -z "$GREP"; then
4326
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4327
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4328
{ (exit 1); exit 1; }; }
4332
ac_cv_path_GREP=$GREP
4337
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4338
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4339
GREP="$ac_cv_path_GREP"
4342
{ echo "$as_me:$LINENO: checking for egrep" >&5
4343
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4344
if test "${ac_cv_path_EGREP+set}" = set; then
4345
echo $ECHO_N "(cached) $ECHO_C" >&6
4347
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4348
then ac_cv_path_EGREP="$GREP -E"
4350
# Extract the first word of "egrep" to use in msg output
4351
if test -z "$EGREP"; then
4352
set dummy egrep; ac_prog_name=$2
4353
if test "${ac_cv_path_EGREP+set}" = set; then
4354
echo $ECHO_N "(cached) $ECHO_C" >&6
4356
ac_path_EGREP_found=false
4357
# Loop through the user's path and test for each of PROGNAME-LIST
4358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4362
test -z "$as_dir" && as_dir=.
4363
for ac_prog in egrep; do
4364
for ac_exec_ext in '' $ac_executable_extensions; do
4365
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4366
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4367
# Check for GNU ac_path_EGREP and select it if it is found.
4368
# Check for GNU $ac_path_EGREP
4369
case `"$ac_path_EGREP" --version 2>&1` in
4371
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4374
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4377
cat "conftest.in" "conftest.in" >"conftest.tmp"
4378
mv "conftest.tmp" "conftest.in"
4379
cp "conftest.in" "conftest.nl"
4380
echo 'EGREP' >> "conftest.nl"
4381
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4382
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4383
ac_count=`expr $ac_count + 1`
4384
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4385
# Best one so far, save it but keep looking for a better one
4386
ac_cv_path_EGREP="$ac_path_EGREP"
4387
ac_path_EGREP_max=$ac_count
4389
# 10*(2^10) chars as input seems more than enough
4390
test $ac_count -gt 10 && break
4392
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4396
$ac_path_EGREP_found && break 3
4406
EGREP="$ac_cv_path_EGREP"
4407
if test -z "$EGREP"; then
4408
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4409
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4410
{ (exit 1); exit 1; }; }
4414
ac_cv_path_EGREP=$EGREP
4420
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4421
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4422
EGREP="$ac_cv_path_EGREP"
4425
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4426
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4427
if test "${ac_cv_header_stdc+set}" = set; then
4428
echo $ECHO_N "(cached) $ECHO_C" >&6
4430
cat >conftest.$ac_ext <<_ACEOF
4433
cat confdefs.h >>conftest.$ac_ext
4434
cat >>conftest.$ac_ext <<_ACEOF
4435
/* end confdefs.h. */
4449
rm -f conftest.$ac_objext
4450
if { (ac_try="$ac_compile"
4452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453
*) ac_try_echo=$ac_try;;
4455
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4456
(eval "$ac_compile") 2>conftest.er1
4458
grep -v '^ *+' conftest.er1 >conftest.err
4460
cat conftest.err >&5
4461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462
(exit $ac_status); } && {
4463
test -z "$ac_c_werror_flag" ||
4464
test ! -s conftest.err
4465
} && test -s conftest.$ac_objext; then
4466
ac_cv_header_stdc=yes
4468
echo "$as_me: failed program was:" >&5
4469
sed 's/^/| /' conftest.$ac_ext >&5
4471
ac_cv_header_stdc=no
4474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476
if test $ac_cv_header_stdc = yes; then
4477
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4478
cat >conftest.$ac_ext <<_ACEOF
4481
cat confdefs.h >>conftest.$ac_ext
4482
cat >>conftest.$ac_ext <<_ACEOF
4483
/* end confdefs.h. */
4487
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4488
$EGREP "memchr" >/dev/null 2>&1; then
4491
ac_cv_header_stdc=no
4497
if test $ac_cv_header_stdc = yes; then
4498
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4499
cat >conftest.$ac_ext <<_ACEOF
4502
cat confdefs.h >>conftest.$ac_ext
4503
cat >>conftest.$ac_ext <<_ACEOF
4504
/* end confdefs.h. */
4508
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4509
$EGREP "free" >/dev/null 2>&1; then
4512
ac_cv_header_stdc=no
4518
if test $ac_cv_header_stdc = yes; then
4519
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4520
if test "$cross_compiling" = yes; then
4523
cat >conftest.$ac_ext <<_ACEOF
4526
cat confdefs.h >>conftest.$ac_ext
4527
cat >>conftest.$ac_ext <<_ACEOF
4528
/* end confdefs.h. */
4531
#if ((' ' & 0x0FF) == 0x020)
4532
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4533
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4535
# define ISLOWER(c) \
4536
(('a' <= (c) && (c) <= 'i') \
4537
|| ('j' <= (c) && (c) <= 'r') \
4538
|| ('s' <= (c) && (c) <= 'z'))
4539
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4542
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4547
for (i = 0; i < 256; i++)
4548
if (XOR (islower (i), ISLOWER (i))
4549
|| toupper (i) != TOUPPER (i))
4554
rm -f conftest$ac_exeext
4555
if { (ac_try="$ac_link"
4557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4558
*) ac_try_echo=$ac_try;;
4560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4561
(eval "$ac_link") 2>&5
4563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4565
{ (case "(($ac_try" in
4566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4567
*) ac_try_echo=$ac_try;;
4569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570
(eval "$ac_try") 2>&5
4572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573
(exit $ac_status); }; }; then
4576
echo "$as_me: program exited with status $ac_status" >&5
4577
echo "$as_me: failed program was:" >&5
4578
sed 's/^/| /' conftest.$ac_ext >&5
4581
ac_cv_header_stdc=no
4583
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4589
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4590
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4591
if test $ac_cv_header_stdc = yes; then
4593
cat >>confdefs.h <<\_ACEOF
4594
#define STDC_HEADERS 1
4599
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4609
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4610
inttypes.h stdint.h unistd.h
4612
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4613
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4614
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4615
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4616
echo $ECHO_N "(cached) $ECHO_C" >&6
4618
cat >conftest.$ac_ext <<_ACEOF
4621
cat confdefs.h >>conftest.$ac_ext
4622
cat >>conftest.$ac_ext <<_ACEOF
4623
/* end confdefs.h. */
4624
$ac_includes_default
4626
#include <$ac_header>
4628
rm -f conftest.$ac_objext
4629
if { (ac_try="$ac_compile"
4631
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632
*) ac_try_echo=$ac_try;;
4634
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4635
(eval "$ac_compile") 2>conftest.er1
4637
grep -v '^ *+' conftest.er1 >conftest.err
4639
cat conftest.err >&5
4640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641
(exit $ac_status); } && {
4642
test -z "$ac_c_werror_flag" ||
4643
test ! -s conftest.err
4644
} && test -s conftest.$ac_objext; then
4645
eval "$as_ac_Header=yes"
4647
echo "$as_me: failed program was:" >&5
4648
sed 's/^/| /' conftest.$ac_ext >&5
4650
eval "$as_ac_Header=no"
4653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655
ac_res=`eval echo '${'$as_ac_Header'}'`
4656
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4657
echo "${ECHO_T}$ac_res" >&6; }
4658
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4659
cat >>confdefs.h <<_ACEOF
4660
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4669
for ac_header in _G_config.h
4671
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4672
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4673
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4674
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4675
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4676
echo $ECHO_N "(cached) $ECHO_C" >&6
4678
ac_res=`eval echo '${'$as_ac_Header'}'`
4679
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4680
echo "${ECHO_T}$ac_res" >&6; }
4682
# Is the header compilable?
4683
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4684
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4685
cat >conftest.$ac_ext <<_ACEOF
4688
cat confdefs.h >>conftest.$ac_ext
4689
cat >>conftest.$ac_ext <<_ACEOF
4690
/* end confdefs.h. */
4691
$ac_includes_default
4692
#include <$ac_header>
4694
rm -f conftest.$ac_objext
4695
if { (ac_try="$ac_compile"
4697
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698
*) ac_try_echo=$ac_try;;
4700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701
(eval "$ac_compile") 2>conftest.er1
4703
grep -v '^ *+' conftest.er1 >conftest.err
4705
cat conftest.err >&5
4706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707
(exit $ac_status); } && {
4708
test -z "$ac_c_werror_flag" ||
4709
test ! -s conftest.err
4710
} && test -s conftest.$ac_objext; then
4711
ac_header_compiler=yes
4713
echo "$as_me: failed program was:" >&5
4714
sed 's/^/| /' conftest.$ac_ext >&5
4716
ac_header_compiler=no
4719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4721
echo "${ECHO_T}$ac_header_compiler" >&6; }
4723
# Is the header present?
4724
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4725
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4726
cat >conftest.$ac_ext <<_ACEOF
4729
cat confdefs.h >>conftest.$ac_ext
4730
cat >>conftest.$ac_ext <<_ACEOF
4731
/* end confdefs.h. */
4732
#include <$ac_header>
4734
if { (ac_try="$ac_cpp conftest.$ac_ext"
4736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737
*) ac_try_echo=$ac_try;;
4739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4740
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4742
grep -v '^ *+' conftest.er1 >conftest.err
4744
cat conftest.err >&5
4745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746
(exit $ac_status); } >/dev/null && {
4747
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4748
test ! -s conftest.err
4750
ac_header_preproc=yes
4752
echo "$as_me: failed program was:" >&5
4753
sed 's/^/| /' conftest.$ac_ext >&5
4755
ac_header_preproc=no
4758
rm -f conftest.err conftest.$ac_ext
4759
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4760
echo "${ECHO_T}$ac_header_preproc" >&6; }
4762
# So? What about this header?
4763
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4765
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4766
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4767
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4768
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4769
ac_header_preproc=yes
4772
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4773
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4774
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4775
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4776
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4777
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4778
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4779
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4780
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4781
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4782
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4783
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4787
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4788
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4789
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4790
echo $ECHO_N "(cached) $ECHO_C" >&6
4792
eval "$as_ac_Header=\$ac_header_preproc"
4794
ac_res=`eval echo '${'$as_ac_Header'}'`
4795
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4796
echo "${ECHO_T}$ac_res" >&6; }
4799
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4800
cat >>confdefs.h <<_ACEOF
4801
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4809
ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile"
4811
cat >confcache <<\_ACEOF
4812
# This file is a shell script that caches the results of configure
4813
# tests run on this system so they can be shared between configure
4814
# scripts and configure runs, see configure's option --config-cache.
4815
# It is not useful on other systems. If it contains results you don't
4816
# want to keep, you may remove or edit it.
4818
# config.status only pays attention to the cache file if you give it
4819
# the --recheck option to rerun configure.
4821
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4822
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4827
# The following way of writing the cache mishandles newlines in values,
4828
# but we know of no workaround that is simple, portable, and efficient.
4829
# So, we kill variables containing newlines.
4830
# Ultrix sh set writes to stderr and can't be redirected directly,
4831
# and sets the high bit in the cache file unless we assign to the vars.
4833
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4834
eval ac_val=\$$ac_var
4838
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4839
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4842
_ | IFS | as_nl) ;; #(
4843
*) $as_unset $ac_var ;;
4849
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4850
*${as_nl}ac_space=\ *)
4851
# `set' does not quote correctly, so add quotes (double-quote
4852
# substitution turns \\\\ into \\, and sed turns \\ into \).
4855
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4858
# `set' quotes correctly as required by POSIX, so do not add quotes.
4859
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4868
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4870
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4872
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4873
if test -w "$cache_file"; then
4874
test "x$cache_file" != "x/dev/null" &&
4875
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4876
echo "$as_me: updating cache $cache_file" >&6;}
4877
cat confcache >$cache_file
4879
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4880
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4885
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4886
# Let make expand exec_prefix.
4887
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4889
# Transform confdefs.h into DEFS.
4890
# Protect against shell expansion while executing Makefile rules.
4891
# Protect against Makefile macro expansion.
4893
# If the first sed substitution is executed (which looks for macros that
4894
# take arguments), then branch to the quote section. Otherwise,
4895
# look for a macro that doesn't take arguments.
4899
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4901
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4905
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4918
DEFS=`sed -n "$ac_script" confdefs.h`
4923
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4924
# 1. Remove the extension, and $U if already installed.
4925
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4926
ac_i=`echo "$ac_i" | sed "$ac_script"`
4927
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4928
# will be set to the directory where LIBOBJS objects are built.
4929
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4930
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4934
LTLIBOBJS=$ac_ltlibobjs
4937
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4938
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4939
Usually this means the macro was only invoked conditionally." >&5
4940
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4941
Usually this means the macro was only invoked conditionally." >&2;}
4942
{ (exit 1); exit 1; }; }
4944
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4945
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4946
Usually this means the macro was only invoked conditionally." >&5
4947
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4948
Usually this means the macro was only invoked conditionally." >&2;}
4949
{ (exit 1); exit 1; }; }
4951
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4952
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4953
Usually this means the macro was only invoked conditionally." >&5
4954
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4955
Usually this means the macro was only invoked conditionally." >&2;}
4956
{ (exit 1); exit 1; }; }
4959
: ${CONFIG_STATUS=./config.status}
4960
ac_clean_files_save=$ac_clean_files
4961
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4962
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4963
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4964
cat >$CONFIG_STATUS <<_ACEOF
4966
# Generated by $as_me.
4967
# Run this file to recreate the current configuration.
4968
# Compiler output produced by configure, useful for debugging
4969
# configure, is in config.log if it exists.
4974
SHELL=\${CONFIG_SHELL-$SHELL}
4977
cat >>$CONFIG_STATUS <<\_ACEOF
4978
## --------------------- ##
4979
## M4sh Initialization. ##
4980
## --------------------- ##
4982
# Be more Bourne compatible
4983
DUALCASE=1; export DUALCASE # for MKS sh
4984
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4987
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4988
# is contrary to our usage. Disable this feature.
4989
alias -g '${1+"$@"}'='"$@"'
4990
setopt NO_GLOB_SUBST
4992
case `(set -o) 2>/dev/null` in
4993
*posix*) set -o posix ;;
5002
# Avoid depending upon Character Ranges.
5003
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5004
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5005
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5006
as_cr_digits='0123456789'
5007
as_cr_alnum=$as_cr_Letters$as_cr_digits
5009
# The user is always right.
5010
if test "${PATH_SEPARATOR+set}" != set; then
5011
echo "#! /bin/sh" >conf$$.sh
5012
echo "exit 0" >>conf$$.sh
5014
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5022
# Support unset when possible.
5023
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5031
# We need space, tab and new line, in precisely that order. Quoting is
5032
# there to prevent editors from complaining about space-tab.
5033
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5034
# splitting by setting IFS to empty value.)
5039
# Find who we are. Look in the path if we contain no directory separator.
5041
*[\\/]* ) as_myself=$0 ;;
5042
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046
test -z "$as_dir" && as_dir=.
5047
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5053
# We did not find ourselves, most probably we were run as `sh COMMAND'
5054
# in which case we are not to be found in the path.
5055
if test "x$as_myself" = x; then
5058
if test ! -f "$as_myself"; then
5059
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5060
{ (exit 1); exit 1; }
5063
# Work around bugs in pre-3.0 UWIN ksh.
5064
for as_var in ENV MAIL MAILPATH
5065
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5073
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5074
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5075
LC_TELEPHONE LC_TIME
5077
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5078
eval $as_var=C; export $as_var
5080
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5084
# Required to use basename.
5085
if expr a : '\(a\)' >/dev/null 2>&1 &&
5086
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5092
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5093
as_basename=basename
5099
# Name of the executable.
5100
as_me=`$as_basename -- "$0" ||
5101
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5102
X"$0" : 'X\(//\)$' \| \
5103
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5105
sed '/^.*\/\([^/][^/]*\)\/*$/{
5126
test "x$as_lineno_1" != "x$as_lineno_2" &&
5127
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5129
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5130
# uniformly replaced by the line number. The first 'sed' inserts a
5131
# line-number line after each line using $LINENO; the second 'sed'
5132
# does the real work. The second script uses 'N' to pair each
5133
# line-number line with the line containing $LINENO, and appends
5134
# trailing '-' during substitution so that $LINENO is not a special
5136
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5137
# scripts with optimization help from Paolo Bonzini. Blame Lee
5138
# E. McMahon (1931-1989) for sed's syntax. :-)
5150
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5154
chmod +x "$as_me.lineno" ||
5155
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5156
{ (exit 1); exit 1; }; }
5158
# Don't try to exec as it changes $[0], causing all sort of problems
5159
# (the dirname of $[0] is not the place where we might find the
5160
# original and so on. Autoconf is especially sensitive to this).
5162
# Exit status is that of the last command.
5167
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5173
ECHO_C= ECHO_N= ECHO_T=
5176
case `echo 'x\c'` in
5177
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5184
if expr a : '\(a\)' >/dev/null 2>&1 &&
5185
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5191
rm -f conf$$ conf$$.exe conf$$.file
5192
if test -d conf$$.dir; then
5193
rm -f conf$$.dir/conf$$.file
5199
if ln -s conf$$.file conf$$ 2>/dev/null; then
5201
# ... but there are two gotchas:
5202
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5203
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5204
# In both cases, we have to default to `cp -p'.
5205
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5207
elif ln conf$$.file conf$$ 2>/dev/null; then
5212
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5213
rmdir conf$$.dir 2>/dev/null
5215
if mkdir -p . 2>/dev/null; then
5218
test -d ./-p && rmdir ./-p
5222
if test -x / >/dev/null 2>&1; then
5225
if ls -dL / >/dev/null 2>&1; then
5232
if test -d "$1"; then
5238
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5239
???[sx]*):;;*)false;;esac;fi
5243
as_executable_p=$as_test_x
5245
# Sed expression to map a string onto a valid CPP name.
5246
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5248
# Sed expression to map a string onto a valid variable name.
5249
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5254
# Save the log message, to keep $[0] and so on meaningful, and to
5255
# report actual input values of CONFIG_FILES etc. instead of their
5256
# values after options handling.
5258
This file was extended by $as_me, which was
5259
generated by GNU Autoconf 2.61. Invocation command line was
5261
CONFIG_FILES = $CONFIG_FILES
5262
CONFIG_HEADERS = $CONFIG_HEADERS
5263
CONFIG_LINKS = $CONFIG_LINKS
5264
CONFIG_COMMANDS = $CONFIG_COMMANDS
5267
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5272
cat >>$CONFIG_STATUS <<_ACEOF
5273
# Files that config.status was made for.
5274
config_files="$ac_config_files"
5275
config_commands="$ac_config_commands"
5279
cat >>$CONFIG_STATUS <<\_ACEOF
5281
\`$as_me' instantiates files from templates according to the
5282
current configuration.
5284
Usage: $0 [OPTIONS] [FILE]...
5286
-h, --help print this help, then exit
5287
-V, --version print version number and configuration settings, then exit
5288
-q, --quiet do not print progress messages
5289
-d, --debug don't remove temporary files
5290
--recheck update $as_me by reconfiguring in the same conditions
5291
--file=FILE[:TEMPLATE]
5292
instantiate the configuration file FILE
5294
Configuration files:
5297
Configuration commands:
5300
Report bugs to <bug-autoconf@gnu.org>."
5303
cat >>$CONFIG_STATUS <<_ACEOF
5306
configured by $0, generated by GNU Autoconf 2.61,
5307
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5309
Copyright (C) 2006 Free Software Foundation, Inc.
5310
This config.status script is free software; the Free Software Foundation
5311
gives unlimited permission to copy, distribute and modify it."
5319
cat >>$CONFIG_STATUS <<\_ACEOF
5320
# If no file are specified by the user, then we need to provide default
5321
# value. By we need to know if files were specified by the user.
5327
ac_option=`expr "X$1" : 'X\([^=]*\)='`
5328
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5339
# Handling of the options.
5340
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5342
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5343
echo "$ac_cs_version"; exit ;;
5344
--debug | --debu | --deb | --de | --d | -d )
5346
--file | --fil | --fi | --f )
5348
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5349
ac_need_defaults=false;;
5350
--he | --h | --help | --hel | -h )
5351
echo "$ac_cs_usage"; exit ;;
5352
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5353
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5357
-*) { echo "$as_me: error: unrecognized option: $1
5358
Try \`$0 --help' for more information." >&2
5359
{ (exit 1); exit 1; }; } ;;
5361
*) ac_config_targets="$ac_config_targets $1"
5362
ac_need_defaults=false ;;
5368
ac_configure_extra_args=
5370
if $ac_cs_silent; then
5372
ac_configure_extra_args="$ac_configure_extra_args --silent"
5376
cat >>$CONFIG_STATUS <<_ACEOF
5377
if \$ac_cs_recheck; then
5378
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5381
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5385
cat >>$CONFIG_STATUS <<\_ACEOF
5389
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5390
## Running $as_me. ##
5396
cat >>$CONFIG_STATUS <<_ACEOF
5400
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5404
cat >>$CONFIG_STATUS <<\_ACEOF
5406
# Handling of arguments.
5407
for ac_config_target in $ac_config_targets
5409
case $ac_config_target in
5410
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5411
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5412
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5413
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5415
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5416
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5417
{ (exit 1); exit 1; }; };;
5422
# If the user did not use the arguments to specify the items to instantiate,
5423
# then the envvar interface is used. Set only those that are not.
5424
# We use the long form for the default assignment because of an extremely
5425
# bizarre bug on SunOS 4.1.3.
5426
if $ac_need_defaults; then
5427
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5428
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5431
# Have a temporary directory for convenience. Make it in the build tree
5432
# simply because there is no reason against having it here, and in addition,
5433
# creating and moving files from /tmp can sometimes cause problems.
5434
# Hook for its removal unless debugging.
5435
# Note that there is a small window in which the directory will not be cleaned:
5436
# after its creation but before its name has been assigned to `$tmp'.
5440
trap 'exit_status=$?
5441
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5443
trap '{ (exit 1); exit 1; }' 1 2 13 15
5445
# Create a (secure) tmp directory for tmp files.
5448
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5449
test -n "$tmp" && test -d "$tmp"
5452
tmp=./conf$$-$RANDOM
5453
(umask 077 && mkdir "$tmp")
5456
echo "$me: cannot create a temporary directory in ." >&2
5457
{ (exit 1); exit 1; }
5461
# Set up the sed scripts for CONFIG_FILES section.
5464
# No need to generate the scripts if there are no CONFIG_FILES.
5465
# This happens for instance when ./config.status config.h
5466
if test -n "$CONFIG_FILES"; then
5473
for ac_last_try in false false false false false :; do
5474
cat >conf$$subs.sed <<_ACEOF
5475
SHELL!$SHELL$ac_delim
5476
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5477
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5478
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5479
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5480
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5481
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5482
exec_prefix!$exec_prefix$ac_delim
5483
prefix!$prefix$ac_delim
5484
program_transform_name!$program_transform_name$ac_delim
5485
bindir!$bindir$ac_delim
5486
sbindir!$sbindir$ac_delim
5487
libexecdir!$libexecdir$ac_delim
5488
datarootdir!$datarootdir$ac_delim
5489
datadir!$datadir$ac_delim
5490
sysconfdir!$sysconfdir$ac_delim
5491
sharedstatedir!$sharedstatedir$ac_delim
5492
localstatedir!$localstatedir$ac_delim
5493
includedir!$includedir$ac_delim
5494
oldincludedir!$oldincludedir$ac_delim
5495
docdir!$docdir$ac_delim
5496
infodir!$infodir$ac_delim
5497
htmldir!$htmldir$ac_delim
5498
dvidir!$dvidir$ac_delim
5499
pdfdir!$pdfdir$ac_delim
5500
psdir!$psdir$ac_delim
5501
libdir!$libdir$ac_delim
5502
localedir!$localedir$ac_delim
5503
mandir!$mandir$ac_delim
5505
ECHO_C!$ECHO_C$ac_delim
5506
ECHO_N!$ECHO_N$ac_delim
5507
ECHO_T!$ECHO_T$ac_delim
5509
build_alias!$build_alias$ac_delim
5510
host_alias!$host_alias$ac_delim
5511
target_alias!$target_alias$ac_delim
5512
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5513
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5514
INSTALL_DATA!$INSTALL_DATA$ac_delim
5515
am__isrc!$am__isrc$ac_delim
5516
CYGPATH_W!$CYGPATH_W$ac_delim
5517
PACKAGE!$PACKAGE$ac_delim
5518
VERSION!$VERSION$ac_delim
5519
ACLOCAL!$ACLOCAL$ac_delim
5520
AUTOCONF!$AUTOCONF$ac_delim
5521
AUTOMAKE!$AUTOMAKE$ac_delim
5522
AUTOHEADER!$AUTOHEADER$ac_delim
5523
MAKEINFO!$MAKEINFO$ac_delim
5524
install_sh!$install_sh$ac_delim
5525
STRIP!$STRIP$ac_delim
5526
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5527
mkdir_p!$mkdir_p$ac_delim
5529
SET_MAKE!$SET_MAKE$ac_delim
5530
am__leading_dot!$am__leading_dot$ac_delim
5531
AMTAR!$AMTAR$ac_delim
5532
am__tar!$am__tar$ac_delim
5533
am__untar!$am__untar$ac_delim
5534
build!$build$ac_delim
5535
build_cpu!$build_cpu$ac_delim
5536
build_vendor!$build_vendor$ac_delim
5537
build_os!$build_os$ac_delim
5539
host_cpu!$host_cpu$ac_delim
5540
host_vendor!$host_vendor$ac_delim
5541
host_os!$host_os$ac_delim
5543
CFLAGS!$CFLAGS$ac_delim
5544
LDFLAGS!$LDFLAGS$ac_delim
5545
CPPFLAGS!$CPPFLAGS$ac_delim
5546
ac_ct_CC!$ac_ct_CC$ac_delim
5547
EXEEXT!$EXEEXT$ac_delim
5548
OBJEXT!$OBJEXT$ac_delim
5549
DEPDIR!$DEPDIR$ac_delim
5550
am__include!$am__include$ac_delim
5551
am__quote!$am__quote$ac_delim
5552
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5553
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5554
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5555
CCDEPMODE!$CCDEPMODE$ac_delim
5556
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5557
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5559
CXXFLAGS!$CXXFLAGS$ac_delim
5560
ac_ct_CXX!$ac_ct_CXX$ac_delim
5561
CXXDEPMODE!$CXXDEPMODE$ac_delim
5562
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
5563
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
5564
RANLIB!$RANLIB$ac_delim
5567
EGREP!$EGREP$ac_delim
5568
LIBOBJS!$LIBOBJS$ac_delim
5569
LTLIBOBJS!$LTLIBOBJS$ac_delim
5572
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
5574
elif $ac_last_try; then
5575
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5576
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5577
{ (exit 1); exit 1; }; }
5579
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5583
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5584
if test -n "$ac_eof"; then
5585
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5586
ac_eof=`expr $ac_eof + 1`
5589
cat >>$CONFIG_STATUS <<_ACEOF
5590
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5591
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5594
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5595
s/^/s,@/; s/!/@,|#_!!_#|/
5598
s/'"$ac_delim"'$/,g/; t
5600
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5601
' >>$CONFIG_STATUS <conf$$subs.sed
5602
rm -f conf$$subs.sed
5603
cat >>$CONFIG_STATUS <<_ACEOF
5610
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5611
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5612
# trailing colons and then remove the whole line if VPATH becomes empty
5613
# (actually we leave an empty line to preserve line numbers).
5614
if test "x$srcdir" = x.; then
5615
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5619
s/^\([^=]*=[ ]*\):*/\1/
5625
cat >>$CONFIG_STATUS <<\_ACEOF
5626
fi # test -n "$CONFIG_FILES"
5629
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5632
:[FHLC]) ac_mode=$ac_tag; continue;;
5634
case $ac_mode$ac_tag in
5636
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5637
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5638
{ (exit 1); exit 1; }; };;
5639
:[FH]-) ac_tag=-:-;;
5640
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5657
-) ac_f="$tmp/stdin";;
5658
*) # Look for the file first in the build tree, then in the source tree
5659
# (if the path is not absolute). The absolute path cannot be DOS-style,
5660
# because $ac_f cannot contain `:'.
5664
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5666
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5667
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5668
{ (exit 1); exit 1; }; };;
5670
ac_file_inputs="$ac_file_inputs $ac_f"
5673
# Let's still pretend it is `configure' which instantiates (i.e., don't
5674
# use $as_me), people would be surprised to read:
5675
# /* config.h. Generated by config.status. */
5676
configure_input="Generated from "`IFS=:
5677
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5678
if test x"$ac_file" != x-; then
5679
configure_input="$ac_file. $configure_input"
5680
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5681
echo "$as_me: creating $ac_file" >&6;}
5685
*:-:* | *:-) cat >"$tmp/stdin";;
5690
ac_dir=`$as_dirname -- "$ac_file" ||
5691
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5692
X"$ac_file" : 'X\(//\)[^/]' \| \
5693
X"$ac_file" : 'X\(//\)$' \| \
5694
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5696
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5715
-*) as_dir=./$as_dir;;
5717
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5721
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5722
*) as_qdir=$as_dir;;
5724
as_dirs="'$as_qdir' $as_dirs"
5725
as_dir=`$as_dirname -- "$as_dir" ||
5726
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5727
X"$as_dir" : 'X\(//\)[^/]' \| \
5728
X"$as_dir" : 'X\(//\)$' \| \
5729
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5731
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5748
test -d "$as_dir" && break
5750
test -z "$as_dirs" || eval "mkdir $as_dirs"
5751
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5752
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5753
{ (exit 1); exit 1; }; }; }
5757
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5759
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5760
# A ".." for each directory in $ac_dir_suffix.
5761
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5762
case $ac_top_builddir_sub in
5763
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5764
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5767
ac_abs_top_builddir=$ac_pwd
5768
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5769
# for backward compatibility:
5770
ac_top_builddir=$ac_top_build_prefix
5773
.) # We are building in place.
5775
ac_top_srcdir=$ac_top_builddir_sub
5776
ac_abs_top_srcdir=$ac_pwd ;;
5777
[\\/]* | ?:[\\/]* ) # Absolute name.
5778
ac_srcdir=$srcdir$ac_dir_suffix;
5779
ac_top_srcdir=$srcdir
5780
ac_abs_top_srcdir=$srcdir ;;
5782
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5783
ac_top_srcdir=$ac_top_build_prefix$srcdir
5784
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5786
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5796
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5797
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5801
[\\/$]* | ?:[\\/]* ) ;;
5802
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5806
cat >>$CONFIG_STATUS <<\_ACEOF
5807
# If the template does not know about datarootdir, expand it.
5808
# FIXME: This hack should be removed a few years after 2.60.
5809
ac_datarootdir_hack=; ac_datarootdir_seen=
5811
case `sed -n '/datarootdir/ {
5820
' $ac_file_inputs` in
5821
*datarootdir*) ac_datarootdir_seen=yes;;
5822
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5823
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5824
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5826
cat >>$CONFIG_STATUS <<_ACEOF
5827
ac_datarootdir_hack='
5828
s&@datadir@&$datadir&g
5829
s&@docdir@&$docdir&g
5830
s&@infodir@&$infodir&g
5831
s&@localedir@&$localedir&g
5832
s&@mandir@&$mandir&g
5833
s&\\\${datarootdir}&$datarootdir&g' ;;
5837
# Neutralize VPATH when `$srcdir' = `.'.
5838
# Shell code in configure.ac might set extrasub.
5839
# FIXME: do we really want to maintain this feature?
5840
cat >>$CONFIG_STATUS <<_ACEOF
5844
cat >>$CONFIG_STATUS <<\_ACEOF
5846
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5847
s&@configure_input@&$configure_input&;t t
5848
s&@top_builddir@&$ac_top_builddir_sub&;t t
5849
s&@srcdir@&$ac_srcdir&;t t
5850
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5851
s&@top_srcdir@&$ac_top_srcdir&;t t
5852
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5853
s&@builddir@&$ac_builddir&;t t
5854
s&@abs_builddir@&$ac_abs_builddir&;t t
5855
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5856
s&@INSTALL@&$ac_INSTALL&;t t
5857
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5858
$ac_datarootdir_hack
5859
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5861
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5862
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5863
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5864
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5865
which seems to be undefined. Please make sure it is defined." >&5
5866
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5867
which seems to be undefined. Please make sure it is defined." >&2;}
5871
-) cat "$tmp/out"; rm -f "$tmp/out";;
5872
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5877
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5878
echo "$as_me: executing $ac_file commands" >&6;}
5883
case $ac_file$ac_mode in
5884
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5885
# Strip MF so we end up with the name of the file.
5886
mf=`echo "$mf" | sed -e 's/:.*$//'`
5887
# Check whether this is an Automake generated Makefile or not.
5888
# We used to match only the files named `Makefile.in', but
5889
# some people rename them; so instead we look at the file content.
5890
# Grep'ing the first line is not enough: some people post-process
5891
# each Makefile.in and add a new line on top of each file to say so.
5892
# Grep'ing the whole file is not good either: AIX grep has a line
5893
# limit of 2048, but all sed's we know have understand at least 4000.
5894
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5895
dirpart=`$as_dirname -- "$mf" ||
5896
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5897
X"$mf" : 'X\(//\)[^/]' \| \
5898
X"$mf" : 'X\(//\)$' \| \
5899
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5901
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5921
# Extract the definition of DEPDIR, am__include, and am__quote
5922
# from the Makefile without running `make'.
5923
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5924
test -z "$DEPDIR" && continue
5925
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5926
test -z "am__include" && continue
5927
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5928
# When using ansi2knr, U may be empty or an underscore; expand it
5929
U=`sed -n 's/^U = //p' < "$mf"`
5930
# Find all dependency output files, they are included files with
5931
# $(DEPDIR) in their names. We invoke sed twice because it is the
5932
# simplest approach to changing $(DEPDIR) to its actual value in the
5934
for file in `sed -n "
5935
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5936
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5937
# Make sure the directory exists.
5938
test -f "$dirpart/$file" && continue
5939
fdir=`$as_dirname -- "$file" ||
5940
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5941
X"$file" : 'X\(//\)[^/]' \| \
5942
X"$file" : 'X\(//\)$' \| \
5943
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5945
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5962
{ as_dir=$dirpart/$fdir
5964
-*) as_dir=./$as_dir;;
5966
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5970
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5971
*) as_qdir=$as_dir;;
5973
as_dirs="'$as_qdir' $as_dirs"
5974
as_dir=`$as_dirname -- "$as_dir" ||
5975
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5976
X"$as_dir" : 'X\(//\)[^/]' \| \
5977
X"$as_dir" : 'X\(//\)$' \| \
5978
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5980
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5997
test -d "$as_dir" && break
5999
test -z "$as_dirs" || eval "mkdir $as_dirs"
6000
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6001
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6002
{ (exit 1); exit 1; }; }; }
6003
# echo "creating $dirpart/$file"
6004
echo '# dummy' > "$dirpart/$file"
6013
{ (exit 0); exit 0; }
6015
chmod +x $CONFIG_STATUS
6016
ac_clean_files=$ac_clean_files_save
6019
# configure is writing to config.log, and then calls config.status.
6020
# config.status does its own redirection, appending to config.log.
6021
# Unfortunately, on DOS this fails, as config.log is still kept open
6022
# by configure, so config.status won't be able to write to it; its
6023
# output is simply discarded. So we exec the FD to /dev/null,
6024
# effectively closing config.log, so it can be properly (re)opened and
6025
# appended to by config.status. When coming back to configure, we
6026
# need to make the FD available again.
6027
if test "$no_create" != yes; then
6029
ac_config_status_args=
6030
test "$silent" = yes &&
6031
ac_config_status_args="$ac_config_status_args --quiet"
6033
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6035
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6036
# would make configure fail if this is the last instruction.
6037
$ac_cs_success || { (exit 1); exit 1; }