2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for FULL-PACKAGE-NAME VERSION.
5
# Report bugs to <BUG-REPORT-ADDRESS>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92
# We need space, tab and new line, in precisely that order. Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
98
# Find who we are. Look in the path if we contain no directory separator.
100
*[\\/]* ) as_myself=$0 ;;
101
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
test -z "$as_dir" && as_dir=.
106
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
117
if test ! -f "$as_myself"; then
118
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
{ (exit 1); exit 1; }
122
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
175
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
test -z "$as_dir" && as_dir=.
249
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do 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 ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
471
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475
chmod +x "$as_me.lineno" ||
476
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
{ (exit 1); exit 1; }; }
479
# Don't try to exec as it changes $[0], causing all sort of problems
480
# (the dirname of $[0] is not the place where we might find the
481
# original and so on. Autoconf is especially sensitive to this).
483
# Exit status is that of the last command.
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494
ECHO_C= ECHO_N= ECHO_T=
498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
test "X`expr 00001 : '.*\(...\)'`" = X001; then
511
rm -f conf$$ conf$$.exe conf$$.file
512
if test -d conf$$.dir; then
513
rm -f conf$$.dir/conf$$.file
516
mkdir conf$$.dir 2>/dev/null
518
if (echo >conf$$.file) 2>/dev/null; then
519
if ln -s conf$$.file conf$$ 2>/dev/null; then
521
# ... but there are two gotchas:
522
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
# In both cases, we have to default to `cp -p'.
525
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
elif ln conf$$.file conf$$ 2>/dev/null; then
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
538
if mkdir -p . 2>/dev/null; then
541
test -d ./-p && rmdir ./-p
545
if test -x / >/dev/null 2>&1; then
548
if ls -dL / >/dev/null 2>&1; then
555
if test -d "$1"; then
561
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562
???[sx]*):;;*)false;;esac;fi
566
as_executable_p=$as_test_x
568
# Sed expression to map a string onto a valid CPP name.
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571
# Sed expression to map a string onto a valid variable name.
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576
exec 7<&0 </dev/null 6>&1
579
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580
# so uname gets run too.
581
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586
ac_default_prefix=/usr/local
588
ac_config_libobj_dir=.
594
SHELL=${CONFIG_SHELL-/bin/sh}
596
# Identity of this package.
597
PACKAGE_NAME='FULL-PACKAGE-NAME'
598
PACKAGE_TARNAME='full-package-name'
599
PACKAGE_VERSION='VERSION'
600
PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
601
PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
603
ac_unique_file="gfanlib.h"
604
# Factoring default headers for most tests.
605
ac_includes_default="\
607
#ifdef HAVE_SYS_TYPES_H
608
# include <sys/types.h>
610
#ifdef HAVE_SYS_STAT_H
611
# include <sys/stat.h>
617
# ifdef HAVE_STDLIB_H
622
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627
#ifdef HAVE_STRINGS_H
628
# include <strings.h>
630
#ifdef HAVE_INTTYPES_H
631
# include <inttypes.h>
640
ac_subst_vars='LTLIBOBJS
684
program_transform_name
696
enable_option_checking
698
ac_precious_vars='build_alias
712
# Initialize some variables set by options.
714
ac_init_version=false
715
ac_unrecognized_opts=
717
# The variables have the same names as the options, with
718
# dashes changed to underlines.
726
program_transform_name=s,x,x,
734
# Installation directory options.
735
# These are left unexpanded so users can "make install exec_prefix=/foo"
736
# and all the variables that are supposed to be based on exec_prefix
737
# by default will actually change.
738
# Use braces instead of parens because sh, perl, etc. also accept them.
739
# (The list follows the same order as the GNU Coding Standards.)
740
bindir='${exec_prefix}/bin'
741
sbindir='${exec_prefix}/sbin'
742
libexecdir='${exec_prefix}/libexec'
743
datarootdir='${prefix}/share'
744
datadir='${datarootdir}'
745
sysconfdir='${prefix}/etc'
746
sharedstatedir='${prefix}/com'
747
localstatedir='${prefix}/var'
748
includedir='${prefix}/include'
749
oldincludedir='/usr/include'
750
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
751
infodir='${datarootdir}/info'
756
libdir='${exec_prefix}/lib'
757
localedir='${datarootdir}/locale'
758
mandir='${datarootdir}/man'
764
# If the previous option needs an argument, assign it.
765
if test -n "$ac_prev"; then
766
eval $ac_prev=\$ac_option
772
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
776
# Accept the important Cygnus configure options, so we can diagnose typos.
778
case $ac_dashdash$ac_option in
782
-bindir | --bindir | --bindi | --bind | --bin | --bi)
784
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787
-build | --build | --buil | --bui | --bu)
788
ac_prev=build_alias ;;
789
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
790
build_alias=$ac_optarg ;;
792
-cache-file | --cache-file | --cache-fil | --cache-fi \
793
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794
ac_prev=cache_file ;;
795
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797
cache_file=$ac_optarg ;;
800
cache_file=config.cache ;;
802
-datadir | --datadir | --datadi | --datad)
804
-datadir=* | --datadir=* | --datadi=* | --datad=*)
805
datadir=$ac_optarg ;;
807
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808
| --dataroo | --dataro | --datar)
809
ac_prev=datarootdir ;;
810
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812
datarootdir=$ac_optarg ;;
814
-disable-* | --disable-*)
815
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816
# Reject names that are not valid shell variable names.
817
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
818
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
819
{ (exit 1); exit 1; }; }
820
ac_useropt_orig=$ac_useropt
821
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822
case $ac_user_opts in
826
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827
ac_unrecognized_sep=', ';;
829
eval enable_$ac_useropt=no ;;
831
-docdir | --docdir | --docdi | --doc | --do)
833
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
836
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
838
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
841
-enable-* | --enable-*)
842
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843
# Reject names that are not valid shell variable names.
844
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
846
{ (exit 1); exit 1; }; }
847
ac_useropt_orig=$ac_useropt
848
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849
case $ac_user_opts in
853
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
854
ac_unrecognized_sep=', ';;
856
eval enable_$ac_useropt=\$ac_optarg ;;
858
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
859
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
860
| --exec | --exe | --ex)
861
ac_prev=exec_prefix ;;
862
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
863
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
864
| --exec=* | --exe=* | --ex=*)
865
exec_prefix=$ac_optarg ;;
867
-gas | --gas | --ga | --g)
868
# Obsolete; use --with-gas.
871
-help | --help | --hel | --he | -h)
873
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
874
ac_init_help=recursive ;;
875
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
876
ac_init_help=short ;;
878
-host | --host | --hos | --ho)
879
ac_prev=host_alias ;;
880
-host=* | --host=* | --hos=* | --ho=*)
881
host_alias=$ac_optarg ;;
883
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
885
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
887
htmldir=$ac_optarg ;;
889
-includedir | --includedir | --includedi | --included | --include \
890
| --includ | --inclu | --incl | --inc)
891
ac_prev=includedir ;;
892
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
893
| --includ=* | --inclu=* | --incl=* | --inc=*)
894
includedir=$ac_optarg ;;
896
-infodir | --infodir | --infodi | --infod | --info | --inf)
898
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
899
infodir=$ac_optarg ;;
901
-libdir | --libdir | --libdi | --libd)
903
-libdir=* | --libdir=* | --libdi=* | --libd=*)
906
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
907
| --libexe | --libex | --libe)
908
ac_prev=libexecdir ;;
909
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
910
| --libexe=* | --libex=* | --libe=*)
911
libexecdir=$ac_optarg ;;
913
-localedir | --localedir | --localedi | --localed | --locale)
915
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
916
localedir=$ac_optarg ;;
918
-localstatedir | --localstatedir | --localstatedi | --localstated \
919
| --localstate | --localstat | --localsta | --localst | --locals)
920
ac_prev=localstatedir ;;
921
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
922
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
923
localstatedir=$ac_optarg ;;
925
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
927
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
931
# Obsolete; use --without-fp.
934
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
935
| --no-cr | --no-c | -n)
938
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
939
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
942
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
943
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
944
| --oldin | --oldi | --old | --ol | --o)
945
ac_prev=oldincludedir ;;
946
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
947
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
948
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
949
oldincludedir=$ac_optarg ;;
951
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
953
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
956
-program-prefix | --program-prefix | --program-prefi | --program-pref \
957
| --program-pre | --program-pr | --program-p)
958
ac_prev=program_prefix ;;
959
-program-prefix=* | --program-prefix=* | --program-prefi=* \
960
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
961
program_prefix=$ac_optarg ;;
963
-program-suffix | --program-suffix | --program-suffi | --program-suff \
964
| --program-suf | --program-su | --program-s)
965
ac_prev=program_suffix ;;
966
-program-suffix=* | --program-suffix=* | --program-suffi=* \
967
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
968
program_suffix=$ac_optarg ;;
970
-program-transform-name | --program-transform-name \
971
| --program-transform-nam | --program-transform-na \
972
| --program-transform-n | --program-transform- \
973
| --program-transform | --program-transfor \
974
| --program-transfo | --program-transf \
975
| --program-trans | --program-tran \
976
| --progr-tra | --program-tr | --program-t)
977
ac_prev=program_transform_name ;;
978
-program-transform-name=* | --program-transform-name=* \
979
| --program-transform-nam=* | --program-transform-na=* \
980
| --program-transform-n=* | --program-transform-=* \
981
| --program-transform=* | --program-transfor=* \
982
| --program-transfo=* | --program-transf=* \
983
| --program-trans=* | --program-tran=* \
984
| --progr-tra=* | --program-tr=* | --program-t=*)
985
program_transform_name=$ac_optarg ;;
987
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
989
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
992
-psdir | --psdir | --psdi | --psd | --ps)
994
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
997
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
998
| -silent | --silent | --silen | --sile | --sil)
1001
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1003
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1005
sbindir=$ac_optarg ;;
1007
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1008
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1009
| --sharedst | --shareds | --shared | --share | --shar \
1011
ac_prev=sharedstatedir ;;
1012
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1013
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1014
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1016
sharedstatedir=$ac_optarg ;;
1018
-site | --site | --sit)
1020
-site=* | --site=* | --sit=*)
1023
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1025
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1026
srcdir=$ac_optarg ;;
1028
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1029
| --syscon | --sysco | --sysc | --sys | --sy)
1030
ac_prev=sysconfdir ;;
1031
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1032
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1033
sysconfdir=$ac_optarg ;;
1035
-target | --target | --targe | --targ | --tar | --ta | --t)
1036
ac_prev=target_alias ;;
1037
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1038
target_alias=$ac_optarg ;;
1040
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1043
-version | --version | --versio | --versi | --vers | -V)
1044
ac_init_version=: ;;
1047
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1048
# Reject names that are not valid shell variable names.
1049
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1051
{ (exit 1); exit 1; }; }
1052
ac_useropt_orig=$ac_useropt
1053
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054
case $ac_user_opts in
1058
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1059
ac_unrecognized_sep=', ';;
1061
eval with_$ac_useropt=\$ac_optarg ;;
1063
-without-* | --without-*)
1064
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1065
# Reject names that are not valid shell variable names.
1066
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1068
{ (exit 1); exit 1; }; }
1069
ac_useropt_orig=$ac_useropt
1070
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071
case $ac_user_opts in
1075
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1076
ac_unrecognized_sep=', ';;
1078
eval with_$ac_useropt=no ;;
1081
# Obsolete; use --with-x.
1084
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1085
| --x-incl | --x-inc | --x-in | --x-i)
1086
ac_prev=x_includes ;;
1087
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1088
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1089
x_includes=$ac_optarg ;;
1091
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1092
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1093
ac_prev=x_libraries ;;
1094
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1095
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1096
x_libraries=$ac_optarg ;;
1098
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1099
Try \`$0 --help' for more information." >&2
1100
{ (exit 1); exit 1; }; }
1104
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1105
# Reject names that are not valid shell variable names.
1106
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1107
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1108
{ (exit 1); exit 1; }; }
1109
eval $ac_envvar=\$ac_optarg
1110
export $ac_envvar ;;
1113
# FIXME: should be removed in autoconf 3.0.
1114
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1115
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1117
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1123
if test -n "$ac_prev"; then
1124
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1125
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1126
{ (exit 1); exit 1; }; }
1129
if test -n "$ac_unrecognized_opts"; then
1130
case $enable_option_checking in
1132
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1133
{ (exit 1); exit 1; }; } ;;
1134
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1138
# Check all directory arguments for consistency.
1139
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1140
datadir sysconfdir sharedstatedir localstatedir includedir \
1141
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1142
libdir localedir mandir
1144
eval ac_val=\$$ac_var
1145
# Remove trailing slashes.
1148
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1149
eval $ac_var=\$ac_val;;
1151
# Be sure to have absolute directory names.
1153
[\\/$]* | ?:[\\/]* ) continue;;
1154
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1156
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1157
{ (exit 1); exit 1; }; }
1160
# There might be people who depend on the old broken behavior: `$host'
1161
# used to hold the argument of --host etc.
1162
# FIXME: To remove some day.
1165
target=$target_alias
1167
# FIXME: To remove some day.
1168
if test "x$host_alias" != x; then
1169
if test "x$build_alias" = x; then
1170
cross_compiling=maybe
1171
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1172
If a cross compiler is detected then cross compile mode will be used." >&2
1173
elif test "x$build_alias" != "x$host_alias"; then
1179
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1181
test "$silent" = yes && exec 6>/dev/null
1184
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1185
ac_ls_di=`ls -di .` &&
1186
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1187
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1188
{ (exit 1); exit 1; }; }
1189
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1191
{ (exit 1); exit 1; }; }
1194
# Find the source files, if location was not specified.
1195
if test -z "$srcdir"; then
1196
ac_srcdir_defaulted=yes
1197
# Try the directory containing this script, then the parent directory.
1198
ac_confdir=`$as_dirname -- "$as_myself" ||
1199
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1200
X"$as_myself" : 'X\(//\)[^/]' \| \
1201
X"$as_myself" : 'X\(//\)$' \| \
1202
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1203
$as_echo X"$as_myself" |
1204
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1222
if test ! -r "$srcdir/$ac_unique_file"; then
1226
ac_srcdir_defaulted=no
1228
if test ! -r "$srcdir/$ac_unique_file"; then
1229
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1230
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1231
{ (exit 1); exit 1; }; }
1233
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1235
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1236
{ (exit 1); exit 1; }; }
1238
# When building in place, set srcdir=.
1239
if test "$ac_abs_confdir" = "$ac_pwd"; then
1242
# Remove unnecessary trailing slashes from srcdir.
1243
# Double slashes in file names in object file debugging info
1244
# mess up M-x gdb in Emacs.
1246
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1248
for ac_var in $ac_precious_vars; do
1249
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1250
eval ac_env_${ac_var}_value=\$${ac_var}
1251
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1252
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1256
# Report the --help message.
1258
if test "$ac_init_help" = "long"; then
1259
# Omit some internal or obsolete options to make the list less imposing.
1260
# This message is too long to be a string in the A/UX 3.1 sh.
1262
\`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
1264
Usage: $0 [OPTION]... [VAR=VALUE]...
1266
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1267
VAR=VALUE. See below for descriptions of some of the useful variables.
1269
Defaults for the options are specified in brackets.
1272
-h, --help display this help and exit
1273
--help=short display options specific to this package
1274
--help=recursive display the short help of all the included packages
1275
-V, --version display version information and exit
1276
-q, --quiet, --silent do not print \`checking...' messages
1277
--cache-file=FILE cache test results in FILE [disabled]
1278
-C, --config-cache alias for \`--cache-file=config.cache'
1279
-n, --no-create do not create output files
1280
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1282
Installation directories:
1283
--prefix=PREFIX install architecture-independent files in PREFIX
1284
[$ac_default_prefix]
1285
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1288
By default, \`make install' will install all the files in
1289
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1290
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1291
for instance \`--prefix=\$HOME'.
1293
For better control, use the options below.
1295
Fine tuning of the installation directories:
1296
--bindir=DIR user executables [EPREFIX/bin]
1297
--sbindir=DIR system admin executables [EPREFIX/sbin]
1298
--libexecdir=DIR program executables [EPREFIX/libexec]
1299
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1300
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1301
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1302
--libdir=DIR object code libraries [EPREFIX/lib]
1303
--includedir=DIR C header files [PREFIX/include]
1304
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1305
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1306
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1307
--infodir=DIR info documentation [DATAROOTDIR/info]
1308
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1309
--mandir=DIR man documentation [DATAROOTDIR/man]
1310
--docdir=DIR documentation root
1311
[DATAROOTDIR/doc/full-package-name]
1312
--htmldir=DIR html documentation [DOCDIR]
1313
--dvidir=DIR dvi documentation [DOCDIR]
1314
--pdfdir=DIR pdf documentation [DOCDIR]
1315
--psdir=DIR ps documentation [DOCDIR]
1322
if test -n "$ac_init_help"; then
1323
case $ac_init_help in
1324
short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
1328
Some influential environment variables:
1329
CC C compiler command
1330
CFLAGS C compiler flags
1331
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1332
nonstandard directory <lib dir>
1333
LIBS libraries to pass to the linker, e.g. -l<library>
1334
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1335
you have headers in a nonstandard directory <include dir>
1336
CXX C++ compiler command
1337
CXXFLAGS C++ compiler flags
1340
Use these variables to override the choices made by `configure' or to help
1341
it to find libraries and programs with nonstandard names/locations.
1343
Report bugs to <BUG-REPORT-ADDRESS>.
1348
if test "$ac_init_help" = "recursive"; then
1349
# If there are subdirs, report their specific --help.
1350
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351
test -d "$ac_dir" ||
1352
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1360
# A ".." for each directory in $ac_dir_suffix.
1361
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362
case $ac_top_builddir_sub in
1363
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367
ac_abs_top_builddir=$ac_pwd
1368
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369
# for backward compatibility:
1370
ac_top_builddir=$ac_top_build_prefix
1373
.) # We are building in place.
1375
ac_top_srcdir=$ac_top_builddir_sub
1376
ac_abs_top_srcdir=$ac_pwd ;;
1377
[\\/]* | ?:[\\/]* ) # Absolute name.
1378
ac_srcdir=$srcdir$ac_dir_suffix;
1379
ac_top_srcdir=$srcdir
1380
ac_abs_top_srcdir=$srcdir ;;
1382
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383
ac_top_srcdir=$ac_top_build_prefix$srcdir
1384
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388
cd "$ac_dir" || { ac_status=$?; continue; }
1389
# Check for guested configure.
1390
if test -f "$ac_srcdir/configure.gnu"; then
1392
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393
elif test -f "$ac_srcdir/configure"; then
1395
$SHELL "$ac_srcdir/configure" --help=recursive
1397
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399
cd "$ac_pwd" || { ac_status=$?; break; }
1403
test -n "$ac_init_help" && exit $ac_status
1404
if $ac_init_version; then
1406
FULL-PACKAGE-NAME configure VERSION
1407
generated by GNU Autoconf 2.63
1409
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1410
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1411
This configure script is free software; the Free Software Foundation
1412
gives unlimited permission to copy, distribute and modify it.
1416
cat >config.log <<_ACEOF
1417
This file contains any messages produced by compilers while
1418
running configure, to aid debugging if configure makes a mistake.
1420
It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
1421
generated by GNU Autoconf 2.63. Invocation command line was
1433
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1434
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1435
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1436
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1437
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1439
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1440
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1442
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1443
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1444
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1445
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1446
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1447
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1448
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456
test -z "$as_dir" && as_dir=.
1457
$as_echo "PATH: $as_dir"
1473
# Keep a trace of the command line.
1474
# Strip out --no-create and --no-recursion so they do not pile up.
1475
# Strip out --silent because we don't want to record it for future runs.
1476
# Also quote any args containing shell meta-characters.
1477
# Make two passes to allow for proper duplicate-argument suppression.
1481
ac_must_keep_next=false
1487
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1488
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1489
| -silent | --silent | --silen | --sile | --sil)
1492
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1495
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1497
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1498
if test $ac_must_keep_next = true; then
1499
ac_must_keep_next=false # Got value, back to normal.
1502
*=* | --config-cache | -C | -disable-* | --disable-* \
1503
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1504
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1505
| -with-* | --with-* | -without-* | --without-* | --x)
1506
case "$ac_configure_args0 " in
1507
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1510
-* ) ac_must_keep_next=true ;;
1513
ac_configure_args="$ac_configure_args '$ac_arg'"
1518
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1519
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1521
# When interrupted or exit'd, cleanup temporary files, and complete
1522
# config.log. We remove comments because anyway the quotes in there
1523
# would cause problems or look ugly.
1524
# WARNING: Use '\'' to represent an apostrophe within the trap.
1525
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1526
trap 'exit_status=$?
1527
# Save into config.log some information that might help in debugging.
1532
## ---------------- ##
1533
## Cache variables. ##
1534
## ---------------- ##
1537
# The following way of writing the cache mishandles newlines in values,
1539
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1540
eval ac_val=\$$ac_var
1544
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1545
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1548
_ | IFS | as_nl) ;; #(
1549
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1550
*) $as_unset $ac_var ;;
1555
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1556
*${as_nl}ac_space=\ *)
1558
"s/'\''/'\''\\\\'\'''\''/g;
1559
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1562
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1570
## ----------------- ##
1571
## Output variables. ##
1572
## ----------------- ##
1575
for ac_var in $ac_subst_vars
1577
eval ac_val=\$$ac_var
1579
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581
$as_echo "$ac_var='\''$ac_val'\''"
1585
if test -n "$ac_subst_files"; then
1587
## ------------------- ##
1588
## File substitutions. ##
1589
## ------------------- ##
1592
for ac_var in $ac_subst_files
1594
eval ac_val=\$$ac_var
1596
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1598
$as_echo "$ac_var='\''$ac_val'\''"
1603
if test -s confdefs.h; then
1613
test "$ac_signal" != 0 &&
1614
$as_echo "$as_me: caught signal $ac_signal"
1615
$as_echo "$as_me: exit $exit_status"
1617
rm -f core *.core core.conftest.* &&
1618
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1621
for ac_signal in 1 2 13 15; do
1622
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1626
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1627
rm -f -r conftest* confdefs.h
1629
# Predefined preprocessor variables.
1631
cat >>confdefs.h <<_ACEOF
1632
#define PACKAGE_NAME "$PACKAGE_NAME"
1636
cat >>confdefs.h <<_ACEOF
1637
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1641
cat >>confdefs.h <<_ACEOF
1642
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1646
cat >>confdefs.h <<_ACEOF
1647
#define PACKAGE_STRING "$PACKAGE_STRING"
1651
cat >>confdefs.h <<_ACEOF
1652
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1656
# Let the site file select an alternate cache file if it wants to.
1657
# Prefer an explicitly selected file to automatically selected ones.
1660
if test -n "$CONFIG_SITE"; then
1661
ac_site_file1=$CONFIG_SITE
1662
elif test "x$prefix" != xNONE; then
1663
ac_site_file1=$prefix/share/config.site
1664
ac_site_file2=$prefix/etc/config.site
1666
ac_site_file1=$ac_default_prefix/share/config.site
1667
ac_site_file2=$ac_default_prefix/etc/config.site
1669
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1671
test "x$ac_site_file" = xNONE && continue
1672
if test -r "$ac_site_file"; then
1673
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1674
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1675
sed 's/^/| /' "$ac_site_file" >&5
1680
if test -r "$cache_file"; then
1681
# Some versions of bash will fail to source /dev/null (special
1682
# files actually), so we avoid doing that.
1683
if test -f "$cache_file"; then
1684
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1685
$as_echo "$as_me: loading cache $cache_file" >&6;}
1687
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1688
*) . "./$cache_file";;
1692
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1693
$as_echo "$as_me: creating cache $cache_file" >&6;}
1697
# Check that the precious variables saved in the cache have kept the same
1699
ac_cache_corrupted=false
1700
for ac_var in $ac_precious_vars; do
1701
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1702
eval ac_new_set=\$ac_env_${ac_var}_set
1703
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1704
eval ac_new_val=\$ac_env_${ac_var}_value
1705
case $ac_old_set,$ac_new_set in
1707
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1708
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1709
ac_cache_corrupted=: ;;
1711
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1712
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1713
ac_cache_corrupted=: ;;
1716
if test "x$ac_old_val" != "x$ac_new_val"; then
1717
# differences in whitespace do not lead to failure.
1718
ac_old_val_w=`echo x $ac_old_val`
1719
ac_new_val_w=`echo x $ac_new_val`
1720
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1721
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1722
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1723
ac_cache_corrupted=:
1725
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1726
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1727
eval $ac_var=\$ac_old_val
1729
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1730
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1731
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1732
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1735
# Pass precious variables to config.status.
1736
if test "$ac_new_set" = set; then
1738
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1739
*) ac_arg=$ac_var=$ac_new_val ;;
1741
case " $ac_configure_args " in
1742
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1743
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1747
if $ac_cache_corrupted; then
1748
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1749
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1750
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1751
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1752
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1753
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1754
{ (exit 1); exit 1; }; }
1782
ac_cpp='$CPP $CPPFLAGS'
1783
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1789
#AC_CONFIG_HEADERS([config.h])
1791
# Checks for programs.
1793
ac_cpp='$CPP $CPPFLAGS'
1794
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1795
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1796
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1797
if test -n "$ac_tool_prefix"; then
1798
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1799
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1800
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1801
$as_echo_n "checking for $ac_word... " >&6; }
1802
if test "${ac_cv_prog_CC+set}" = set; then
1803
$as_echo_n "(cached) " >&6
1805
if test -n "$CC"; then
1806
ac_cv_prog_CC="$CC" # Let the user override the test.
1808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812
test -z "$as_dir" && as_dir=.
1813
for ac_exec_ext in '' $ac_executable_extensions; do
1814
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1815
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1816
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826
if test -n "$CC"; then
1827
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
1828
$as_echo "$CC" >&6; }
1830
{ $as_echo "$as_me:$LINENO: result: no" >&5
1831
$as_echo "no" >&6; }
1836
if test -z "$ac_cv_prog_CC"; then
1838
# Extract the first word of "gcc", so it can be a program name with args.
1839
set dummy gcc; ac_word=$2
1840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1841
$as_echo_n "checking for $ac_word... " >&6; }
1842
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1843
$as_echo_n "(cached) " >&6
1845
if test -n "$ac_ct_CC"; then
1846
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852
test -z "$as_dir" && as_dir=.
1853
for ac_exec_ext in '' $ac_executable_extensions; do
1854
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1855
ac_cv_prog_ac_ct_CC="gcc"
1856
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1866
if test -n "$ac_ct_CC"; then
1867
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1868
$as_echo "$ac_ct_CC" >&6; }
1870
{ $as_echo "$as_me:$LINENO: result: no" >&5
1871
$as_echo "no" >&6; }
1874
if test "x$ac_ct_CC" = x; then
1877
case $cross_compiling:$ac_tool_warned in
1879
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1880
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1881
ac_tool_warned=yes ;;
1889
if test -z "$CC"; then
1890
if test -n "$ac_tool_prefix"; then
1891
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1892
set dummy ${ac_tool_prefix}cc; ac_word=$2
1893
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1894
$as_echo_n "checking for $ac_word... " >&6; }
1895
if test "${ac_cv_prog_CC+set}" = set; then
1896
$as_echo_n "(cached) " >&6
1898
if test -n "$CC"; then
1899
ac_cv_prog_CC="$CC" # Let the user override the test.
1901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905
test -z "$as_dir" && as_dir=.
1906
for ac_exec_ext in '' $ac_executable_extensions; do
1907
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908
ac_cv_prog_CC="${ac_tool_prefix}cc"
1909
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919
if test -n "$CC"; then
1920
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
1921
$as_echo "$CC" >&6; }
1923
{ $as_echo "$as_me:$LINENO: result: no" >&5
1924
$as_echo "no" >&6; }
1930
if test -z "$CC"; then
1931
# Extract the first word of "cc", so it can be a program name with args.
1932
set dummy cc; ac_word=$2
1933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1934
$as_echo_n "checking for $ac_word... " >&6; }
1935
if test "${ac_cv_prog_CC+set}" = set; then
1936
$as_echo_n "(cached) " >&6
1938
if test -n "$CC"; then
1939
ac_cv_prog_CC="$CC" # Let the user override the test.
1942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946
test -z "$as_dir" && as_dir=.
1947
for ac_exec_ext in '' $ac_executable_extensions; do
1948
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1949
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1950
ac_prog_rejected=yes
1954
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961
if test $ac_prog_rejected = yes; then
1962
# We found a bogon in the path, so make sure we never use it.
1963
set dummy $ac_cv_prog_CC
1965
if test $# != 0; then
1966
# We chose a different compiler from the bogus one.
1967
# However, it has the same basename, so the bogon will be chosen
1968
# first if we set CC to just the basename; use the full file name.
1970
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1976
if test -n "$CC"; then
1977
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
1978
$as_echo "$CC" >&6; }
1980
{ $as_echo "$as_me:$LINENO: result: no" >&5
1981
$as_echo "no" >&6; }
1986
if test -z "$CC"; then
1987
if test -n "$ac_tool_prefix"; then
1988
for ac_prog in cl.exe
1990
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1991
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1992
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1993
$as_echo_n "checking for $ac_word... " >&6; }
1994
if test "${ac_cv_prog_CC+set}" = set; then
1995
$as_echo_n "(cached) " >&6
1997
if test -n "$CC"; then
1998
ac_cv_prog_CC="$CC" # Let the user override the test.
2000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004
test -z "$as_dir" && as_dir=.
2005
for ac_exec_ext in '' $ac_executable_extensions; do
2006
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2007
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2008
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018
if test -n "$CC"; then
2019
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2020
$as_echo "$CC" >&6; }
2022
{ $as_echo "$as_me:$LINENO: result: no" >&5
2023
$as_echo "no" >&6; }
2027
test -n "$CC" && break
2030
if test -z "$CC"; then
2032
for ac_prog in cl.exe
2034
# Extract the first word of "$ac_prog", so it can be a program name with args.
2035
set dummy $ac_prog; ac_word=$2
2036
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2037
$as_echo_n "checking for $ac_word... " >&6; }
2038
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2039
$as_echo_n "(cached) " >&6
2041
if test -n "$ac_ct_CC"; then
2042
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048
test -z "$as_dir" && as_dir=.
2049
for ac_exec_ext in '' $ac_executable_extensions; do
2050
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051
ac_cv_prog_ac_ct_CC="$ac_prog"
2052
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2062
if test -n "$ac_ct_CC"; then
2063
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2064
$as_echo "$ac_ct_CC" >&6; }
2066
{ $as_echo "$as_me:$LINENO: result: no" >&5
2067
$as_echo "no" >&6; }
2071
test -n "$ac_ct_CC" && break
2074
if test "x$ac_ct_CC" = x; then
2077
case $cross_compiling:$ac_tool_warned in
2079
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2080
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2081
ac_tool_warned=yes ;;
2090
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2091
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2093
See \`config.log' for more details." >&5
2094
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2095
See \`config.log' for more details." >&2;}
2096
{ (exit 1); exit 1; }; }; }
2098
# Provide some information about the compiler.
2099
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2102
{ (ac_try="$ac_compiler --version >&5"
2104
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105
*) ac_try_echo=$ac_try;;
2107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2108
$as_echo "$ac_try_echo") >&5
2109
(eval "$ac_compiler --version >&5") 2>&5
2111
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112
(exit $ac_status); }
2113
{ (ac_try="$ac_compiler -v >&5"
2115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116
*) ac_try_echo=$ac_try;;
2118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2119
$as_echo "$ac_try_echo") >&5
2120
(eval "$ac_compiler -v >&5") 2>&5
2122
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123
(exit $ac_status); }
2124
{ (ac_try="$ac_compiler -V >&5"
2126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127
*) ac_try_echo=$ac_try;;
2129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2130
$as_echo "$ac_try_echo") >&5
2131
(eval "$ac_compiler -V >&5") 2>&5
2133
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134
(exit $ac_status); }
2136
cat >conftest.$ac_ext <<_ACEOF
2139
cat confdefs.h >>conftest.$ac_ext
2140
cat >>conftest.$ac_ext <<_ACEOF
2141
/* end confdefs.h. */
2151
ac_clean_files_save=$ac_clean_files
2152
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2153
# Try to create an executable without -o first, disregard a.out.
2154
# It will help us diagnose broken compilers, and finding out an intuition
2156
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2157
$as_echo_n "checking for C compiler default output file name... " >&6; }
2158
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2160
# The possible output files:
2161
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2164
for ac_file in $ac_files
2167
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2168
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2173
if { (ac_try="$ac_link_default"
2175
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2176
*) ac_try_echo=$ac_try;;
2178
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2179
$as_echo "$ac_try_echo") >&5
2180
(eval "$ac_link_default") 2>&5
2182
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183
(exit $ac_status); }; then
2184
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2185
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2186
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2187
# so that the user can short-circuit this test for compilers unknown to
2189
for ac_file in $ac_files ''
2191
test -f "$ac_file" || continue
2193
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2196
# We found the default executable, but exeext='' is most
2200
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2202
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2204
# We set ac_cv_exeext here because the later test for it is not
2205
# safe: cross compilers may not add the suffix if given an `-o'
2206
# argument, so we may need to know it at that point already.
2207
# Even if this section looks crufty: it has the advantage of
2214
test "$ac_cv_exeext" = no && ac_cv_exeext=
2220
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2221
$as_echo "$ac_file" >&6; }
2222
if test -z "$ac_file"; then
2223
$as_echo "$as_me: failed program was:" >&5
2224
sed 's/^/| /' conftest.$ac_ext >&5
2226
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2229
See \`config.log' for more details." >&5
2230
$as_echo "$as_me: error: C compiler cannot create executables
2231
See \`config.log' for more details." >&2;}
2232
{ (exit 77); exit 77; }; }; }
2235
ac_exeext=$ac_cv_exeext
2237
# Check that the compiler produces executables we can run. If not, either
2238
# the compiler is broken, or we cross compile.
2239
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2240
$as_echo_n "checking whether the C compiler works... " >&6; }
2241
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2242
# If not cross compiling, check that we can run a simple program.
2243
if test "$cross_compiling" != yes; then
2244
if { ac_try='./$ac_file'
2245
{ (case "(($ac_try" in
2246
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247
*) ac_try_echo=$ac_try;;
2249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2250
$as_echo "$ac_try_echo") >&5
2251
(eval "$ac_try") 2>&5
2253
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254
(exit $ac_status); }; }; then
2257
if test "$cross_compiling" = maybe; then
2260
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2261
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2262
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2263
If you meant to cross compile, use \`--host'.
2264
See \`config.log' for more details." >&5
2265
$as_echo "$as_me: error: cannot run C compiled programs.
2266
If you meant to cross compile, use \`--host'.
2267
See \`config.log' for more details." >&2;}
2268
{ (exit 1); exit 1; }; }; }
2272
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2273
$as_echo "yes" >&6; }
2275
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2276
ac_clean_files=$ac_clean_files_save
2277
# Check that the compiler produces executables we can run. If not, either
2278
# the compiler is broken, or we cross compile.
2279
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2280
$as_echo_n "checking whether we are cross compiling... " >&6; }
2281
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2282
$as_echo "$cross_compiling" >&6; }
2284
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2285
$as_echo_n "checking for suffix of executables... " >&6; }
2286
if { (ac_try="$ac_link"
2288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289
*) ac_try_echo=$ac_try;;
2291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2292
$as_echo "$ac_try_echo") >&5
2293
(eval "$ac_link") 2>&5
2295
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296
(exit $ac_status); }; then
2297
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2298
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2299
# work properly (i.e., refer to `conftest.exe'), while it won't with
2301
for ac_file in conftest.exe conftest conftest.*; do
2302
test -f "$ac_file" || continue
2304
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2305
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2311
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2312
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2314
See \`config.log' for more details." >&5
2315
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2316
See \`config.log' for more details." >&2;}
2317
{ (exit 1); exit 1; }; }; }
2320
rm -f conftest$ac_cv_exeext
2321
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2322
$as_echo "$ac_cv_exeext" >&6; }
2324
rm -f conftest.$ac_ext
2325
EXEEXT=$ac_cv_exeext
2327
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2328
$as_echo_n "checking for suffix of object files... " >&6; }
2329
if test "${ac_cv_objext+set}" = set; then
2330
$as_echo_n "(cached) " >&6
2332
cat >conftest.$ac_ext <<_ACEOF
2335
cat confdefs.h >>conftest.$ac_ext
2336
cat >>conftest.$ac_ext <<_ACEOF
2337
/* end confdefs.h. */
2347
rm -f conftest.o conftest.obj
2348
if { (ac_try="$ac_compile"
2350
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351
*) ac_try_echo=$ac_try;;
2353
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2354
$as_echo "$ac_try_echo") >&5
2355
(eval "$ac_compile") 2>&5
2357
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358
(exit $ac_status); }; then
2359
for ac_file in conftest.o conftest.obj conftest.*; do
2360
test -f "$ac_file" || continue;
2362
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2363
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2368
$as_echo "$as_me: failed program was:" >&5
2369
sed 's/^/| /' conftest.$ac_ext >&5
2371
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2374
See \`config.log' for more details." >&5
2375
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2376
See \`config.log' for more details." >&2;}
2377
{ (exit 1); exit 1; }; }; }
2380
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2382
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2383
$as_echo "$ac_cv_objext" >&6; }
2384
OBJEXT=$ac_cv_objext
2386
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2387
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2388
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2389
$as_echo_n "(cached) " >&6
2391
cat >conftest.$ac_ext <<_ACEOF
2394
cat confdefs.h >>conftest.$ac_ext
2395
cat >>conftest.$ac_ext <<_ACEOF
2396
/* end confdefs.h. */
2409
rm -f conftest.$ac_objext
2410
if { (ac_try="$ac_compile"
2412
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413
*) ac_try_echo=$ac_try;;
2415
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2416
$as_echo "$ac_try_echo") >&5
2417
(eval "$ac_compile") 2>conftest.er1
2419
grep -v '^ *+' conftest.er1 >conftest.err
2421
cat conftest.err >&5
2422
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423
(exit $ac_status); } && {
2424
test -z "$ac_c_werror_flag" ||
2425
test ! -s conftest.err
2426
} && test -s conftest.$ac_objext; then
2429
$as_echo "$as_me: failed program was:" >&5
2430
sed 's/^/| /' conftest.$ac_ext >&5
2435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2439
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2440
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2441
if test $ac_compiler_gnu = yes; then
2446
ac_test_CFLAGS=${CFLAGS+set}
2447
ac_save_CFLAGS=$CFLAGS
2448
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2449
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2450
if test "${ac_cv_prog_cc_g+set}" = set; then
2451
$as_echo_n "(cached) " >&6
2453
ac_save_c_werror_flag=$ac_c_werror_flag
2454
ac_c_werror_flag=yes
2457
cat >conftest.$ac_ext <<_ACEOF
2460
cat confdefs.h >>conftest.$ac_ext
2461
cat >>conftest.$ac_ext <<_ACEOF
2462
/* end confdefs.h. */
2472
rm -f conftest.$ac_objext
2473
if { (ac_try="$ac_compile"
2475
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476
*) ac_try_echo=$ac_try;;
2478
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2479
$as_echo "$ac_try_echo") >&5
2480
(eval "$ac_compile") 2>conftest.er1
2482
grep -v '^ *+' conftest.er1 >conftest.err
2484
cat conftest.err >&5
2485
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486
(exit $ac_status); } && {
2487
test -z "$ac_c_werror_flag" ||
2488
test ! -s conftest.err
2489
} && test -s conftest.$ac_objext; then
2492
$as_echo "$as_me: failed program was:" >&5
2493
sed 's/^/| /' conftest.$ac_ext >&5
2496
cat >conftest.$ac_ext <<_ACEOF
2499
cat confdefs.h >>conftest.$ac_ext
2500
cat >>conftest.$ac_ext <<_ACEOF
2501
/* end confdefs.h. */
2511
rm -f conftest.$ac_objext
2512
if { (ac_try="$ac_compile"
2514
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515
*) ac_try_echo=$ac_try;;
2517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2518
$as_echo "$ac_try_echo") >&5
2519
(eval "$ac_compile") 2>conftest.er1
2521
grep -v '^ *+' conftest.er1 >conftest.err
2523
cat conftest.err >&5
2524
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525
(exit $ac_status); } && {
2526
test -z "$ac_c_werror_flag" ||
2527
test ! -s conftest.err
2528
} && test -s conftest.$ac_objext; then
2531
$as_echo "$as_me: failed program was:" >&5
2532
sed 's/^/| /' conftest.$ac_ext >&5
2534
ac_c_werror_flag=$ac_save_c_werror_flag
2536
cat >conftest.$ac_ext <<_ACEOF
2539
cat confdefs.h >>conftest.$ac_ext
2540
cat >>conftest.$ac_ext <<_ACEOF
2541
/* end confdefs.h. */
2551
rm -f conftest.$ac_objext
2552
if { (ac_try="$ac_compile"
2554
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555
*) ac_try_echo=$ac_try;;
2557
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2558
$as_echo "$ac_try_echo") >&5
2559
(eval "$ac_compile") 2>conftest.er1
2561
grep -v '^ *+' conftest.er1 >conftest.err
2563
cat conftest.err >&5
2564
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565
(exit $ac_status); } && {
2566
test -z "$ac_c_werror_flag" ||
2567
test ! -s conftest.err
2568
} && test -s conftest.$ac_objext; then
2571
$as_echo "$as_me: failed program was:" >&5
2572
sed 's/^/| /' conftest.$ac_ext >&5
2577
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584
ac_c_werror_flag=$ac_save_c_werror_flag
2586
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2587
$as_echo "$ac_cv_prog_cc_g" >&6; }
2588
if test "$ac_test_CFLAGS" = set; then
2589
CFLAGS=$ac_save_CFLAGS
2590
elif test $ac_cv_prog_cc_g = yes; then
2591
if test "$GCC" = yes; then
2597
if test "$GCC" = yes; then
2603
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2604
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2605
if test "${ac_cv_prog_cc_c89+set}" = set; then
2606
$as_echo_n "(cached) " >&6
2608
ac_cv_prog_cc_c89=no
2610
cat >conftest.$ac_ext <<_ACEOF
2613
cat confdefs.h >>conftest.$ac_ext
2614
cat >>conftest.$ac_ext <<_ACEOF
2615
/* end confdefs.h. */
2618
#include <sys/types.h>
2619
#include <sys/stat.h>
2620
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2621
struct buf { int x; };
2622
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2623
static char *e (p, i)
2629
static char *f (char * (*g) (char **, int), char **p, ...)
2634
s = g (p, va_arg (v,int));
2639
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2640
function prototypes and stuff, but not '\xHH' hex character constants.
2641
These don't provoke an error unfortunately, instead are silently treated
2642
as 'x'. The following induces an error, until -std is added to get
2643
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2644
array size at least. It's necessary to write '\x00'==0 to get something
2645
that's true only with -std. */
2646
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2648
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2649
inside strings and character constants. */
2651
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2653
int test (int i, double x);
2654
struct s1 {int (*f) (int a);};
2655
struct s2 {int (*f) (double a);};
2656
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2662
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2667
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2668
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2670
CC="$ac_save_CC $ac_arg"
2671
rm -f conftest.$ac_objext
2672
if { (ac_try="$ac_compile"
2674
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675
*) ac_try_echo=$ac_try;;
2677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678
$as_echo "$ac_try_echo") >&5
2679
(eval "$ac_compile") 2>conftest.er1
2681
grep -v '^ *+' conftest.er1 >conftest.err
2683
cat conftest.err >&5
2684
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685
(exit $ac_status); } && {
2686
test -z "$ac_c_werror_flag" ||
2687
test ! -s conftest.err
2688
} && test -s conftest.$ac_objext; then
2689
ac_cv_prog_cc_c89=$ac_arg
2691
$as_echo "$as_me: failed program was:" >&5
2692
sed 's/^/| /' conftest.$ac_ext >&5
2697
rm -f core conftest.err conftest.$ac_objext
2698
test "x$ac_cv_prog_cc_c89" != "xno" && break
2700
rm -f conftest.$ac_ext
2705
case "x$ac_cv_prog_cc_c89" in
2707
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
2708
$as_echo "none needed" >&6; } ;;
2710
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
2711
$as_echo "unsupported" >&6; } ;;
2713
CC="$CC $ac_cv_prog_cc_c89"
2714
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2715
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2720
ac_cpp='$CPP $CPPFLAGS'
2721
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2722
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2723
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2726
ac_cpp='$CXXCPP $CPPFLAGS'
2727
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2730
if test -z "$CXX"; then
2731
if test -n "$CCC"; then
2734
if test -n "$ac_tool_prefix"; then
2735
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2737
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2738
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2739
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2740
$as_echo_n "checking for $ac_word... " >&6; }
2741
if test "${ac_cv_prog_CXX+set}" = set; then
2742
$as_echo_n "(cached) " >&6
2744
if test -n "$CXX"; then
2745
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751
test -z "$as_dir" && as_dir=.
2752
for ac_exec_ext in '' $ac_executable_extensions; do
2753
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2755
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765
if test -n "$CXX"; then
2766
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
2767
$as_echo "$CXX" >&6; }
2769
{ $as_echo "$as_me:$LINENO: result: no" >&5
2770
$as_echo "no" >&6; }
2774
test -n "$CXX" && break
2777
if test -z "$CXX"; then
2779
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2781
# Extract the first word of "$ac_prog", so it can be a program name with args.
2782
set dummy $ac_prog; ac_word=$2
2783
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2784
$as_echo_n "checking for $ac_word... " >&6; }
2785
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2786
$as_echo_n "(cached) " >&6
2788
if test -n "$ac_ct_CXX"; then
2789
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795
test -z "$as_dir" && as_dir=.
2796
for ac_exec_ext in '' $ac_executable_extensions; do
2797
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2798
ac_cv_prog_ac_ct_CXX="$ac_prog"
2799
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2808
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2809
if test -n "$ac_ct_CXX"; then
2810
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2811
$as_echo "$ac_ct_CXX" >&6; }
2813
{ $as_echo "$as_me:$LINENO: result: no" >&5
2814
$as_echo "no" >&6; }
2818
test -n "$ac_ct_CXX" && break
2821
if test "x$ac_ct_CXX" = x; then
2824
case $cross_compiling:$ac_tool_warned in
2826
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2827
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2828
ac_tool_warned=yes ;;
2836
# Provide some information about the compiler.
2837
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2840
{ (ac_try="$ac_compiler --version >&5"
2842
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843
*) ac_try_echo=$ac_try;;
2845
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846
$as_echo "$ac_try_echo") >&5
2847
(eval "$ac_compiler --version >&5") 2>&5
2849
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
(exit $ac_status); }
2851
{ (ac_try="$ac_compiler -v >&5"
2853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854
*) ac_try_echo=$ac_try;;
2856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857
$as_echo "$ac_try_echo") >&5
2858
(eval "$ac_compiler -v >&5") 2>&5
2860
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861
(exit $ac_status); }
2862
{ (ac_try="$ac_compiler -V >&5"
2864
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865
*) ac_try_echo=$ac_try;;
2867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868
$as_echo "$ac_try_echo") >&5
2869
(eval "$ac_compiler -V >&5") 2>&5
2871
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
(exit $ac_status); }
2874
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2875
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2876
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2877
$as_echo_n "(cached) " >&6
2879
cat >conftest.$ac_ext <<_ACEOF
2882
cat confdefs.h >>conftest.$ac_ext
2883
cat >>conftest.$ac_ext <<_ACEOF
2884
/* end confdefs.h. */
2897
rm -f conftest.$ac_objext
2898
if { (ac_try="$ac_compile"
2900
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901
*) ac_try_echo=$ac_try;;
2903
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2904
$as_echo "$ac_try_echo") >&5
2905
(eval "$ac_compile") 2>conftest.er1
2907
grep -v '^ *+' conftest.er1 >conftest.err
2909
cat conftest.err >&5
2910
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911
(exit $ac_status); } && {
2912
test -z "$ac_cxx_werror_flag" ||
2913
test ! -s conftest.err
2914
} && test -s conftest.$ac_objext; then
2917
$as_echo "$as_me: failed program was:" >&5
2918
sed 's/^/| /' conftest.$ac_ext >&5
2923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2927
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2928
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2929
if test $ac_compiler_gnu = yes; then
2934
ac_test_CXXFLAGS=${CXXFLAGS+set}
2935
ac_save_CXXFLAGS=$CXXFLAGS
2936
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2937
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2938
if test "${ac_cv_prog_cxx_g+set}" = set; then
2939
$as_echo_n "(cached) " >&6
2941
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2942
ac_cxx_werror_flag=yes
2945
cat >conftest.$ac_ext <<_ACEOF
2948
cat confdefs.h >>conftest.$ac_ext
2949
cat >>conftest.$ac_ext <<_ACEOF
2950
/* end confdefs.h. */
2960
rm -f conftest.$ac_objext
2961
if { (ac_try="$ac_compile"
2963
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964
*) ac_try_echo=$ac_try;;
2966
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2967
$as_echo "$ac_try_echo") >&5
2968
(eval "$ac_compile") 2>conftest.er1
2970
grep -v '^ *+' conftest.er1 >conftest.err
2972
cat conftest.err >&5
2973
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
(exit $ac_status); } && {
2975
test -z "$ac_cxx_werror_flag" ||
2976
test ! -s conftest.err
2977
} && test -s conftest.$ac_objext; then
2978
ac_cv_prog_cxx_g=yes
2980
$as_echo "$as_me: failed program was:" >&5
2981
sed 's/^/| /' conftest.$ac_ext >&5
2984
cat >conftest.$ac_ext <<_ACEOF
2987
cat confdefs.h >>conftest.$ac_ext
2988
cat >>conftest.$ac_ext <<_ACEOF
2989
/* end confdefs.h. */
2999
rm -f conftest.$ac_objext
3000
if { (ac_try="$ac_compile"
3002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003
*) ac_try_echo=$ac_try;;
3005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3006
$as_echo "$ac_try_echo") >&5
3007
(eval "$ac_compile") 2>conftest.er1
3009
grep -v '^ *+' conftest.er1 >conftest.err
3011
cat conftest.err >&5
3012
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013
(exit $ac_status); } && {
3014
test -z "$ac_cxx_werror_flag" ||
3015
test ! -s conftest.err
3016
} && test -s conftest.$ac_objext; then
3019
$as_echo "$as_me: failed program was:" >&5
3020
sed 's/^/| /' conftest.$ac_ext >&5
3022
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3024
cat >conftest.$ac_ext <<_ACEOF
3027
cat confdefs.h >>conftest.$ac_ext
3028
cat >>conftest.$ac_ext <<_ACEOF
3029
/* end confdefs.h. */
3039
rm -f conftest.$ac_objext
3040
if { (ac_try="$ac_compile"
3042
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043
*) ac_try_echo=$ac_try;;
3045
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3046
$as_echo "$ac_try_echo") >&5
3047
(eval "$ac_compile") 2>conftest.er1
3049
grep -v '^ *+' conftest.er1 >conftest.err
3051
cat conftest.err >&5
3052
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053
(exit $ac_status); } && {
3054
test -z "$ac_cxx_werror_flag" ||
3055
test ! -s conftest.err
3056
} && test -s conftest.$ac_objext; then
3057
ac_cv_prog_cxx_g=yes
3059
$as_echo "$as_me: failed program was:" >&5
3060
sed 's/^/| /' conftest.$ac_ext >&5
3065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3074
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3075
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3076
if test "$ac_test_CXXFLAGS" = set; then
3077
CXXFLAGS=$ac_save_CXXFLAGS
3078
elif test $ac_cv_prog_cxx_g = yes; then
3079
if test "$GXX" = yes; then
3085
if test "$GXX" = yes; then
3092
ac_cpp='$CPP $CPPFLAGS'
3093
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3097
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3098
$as_echo_n "checking whether ln -s works... " >&6; }
3100
if test "$LN_S" = "ln -s"; then
3101
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3102
$as_echo "yes" >&6; }
3104
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3105
$as_echo "no, using $LN_S" >&6; }
3109
if test -n "$ac_tool_prefix"; then
3110
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3111
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3112
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3113
$as_echo_n "checking for $ac_word... " >&6; }
3114
if test "${ac_cv_prog_RANLIB+set}" = set; then
3115
$as_echo_n "(cached) " >&6
3117
if test -n "$RANLIB"; then
3118
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124
test -z "$as_dir" && as_dir=.
3125
for ac_exec_ext in '' $ac_executable_extensions; do
3126
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3128
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3137
RANLIB=$ac_cv_prog_RANLIB
3138
if test -n "$RANLIB"; then
3139
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3140
$as_echo "$RANLIB" >&6; }
3142
{ $as_echo "$as_me:$LINENO: result: no" >&5
3143
$as_echo "no" >&6; }
3148
if test -z "$ac_cv_prog_RANLIB"; then
3149
ac_ct_RANLIB=$RANLIB
3150
# Extract the first word of "ranlib", so it can be a program name with args.
3151
set dummy ranlib; ac_word=$2
3152
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3153
$as_echo_n "checking for $ac_word... " >&6; }
3154
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3155
$as_echo_n "(cached) " >&6
3157
if test -n "$ac_ct_RANLIB"; then
3158
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164
test -z "$as_dir" && as_dir=.
3165
for ac_exec_ext in '' $ac_executable_extensions; do
3166
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167
ac_cv_prog_ac_ct_RANLIB="ranlib"
3168
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3177
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3178
if test -n "$ac_ct_RANLIB"; then
3179
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3180
$as_echo "$ac_ct_RANLIB" >&6; }
3182
{ $as_echo "$as_me:$LINENO: result: no" >&5
3183
$as_echo "no" >&6; }
3186
if test "x$ac_ct_RANLIB" = x; then
3189
case $cross_compiling:$ac_tool_warned in
3191
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3192
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193
ac_tool_warned=yes ;;
3195
RANLIB=$ac_ct_RANLIB
3198
RANLIB="$ac_cv_prog_RANLIB"
3202
# Checks for libraries.
3204
# Checks for header files.
3207
ac_cpp='$CPP $CPPFLAGS'
3208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3212
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3213
# On Suns, sometimes $CPP names a directory.
3214
if test -n "$CPP" && test -d "$CPP"; then
3217
if test -z "$CPP"; then
3218
if test "${ac_cv_prog_CPP+set}" = set; then
3219
$as_echo_n "(cached) " >&6
3221
# Double quotes because CPP needs to be expanded
3222
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3225
for ac_c_preproc_warn_flag in '' yes
3227
# Use a header file that comes with gcc, so configuring glibc
3228
# with a fresh cross-compiler works.
3229
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3230
# <limits.h> exists even on freestanding compilers.
3231
# On the NeXT, cc -E runs the code through the compiler's parser,
3232
# not just through cpp. "Syntax error" is here to catch this case.
3233
cat >conftest.$ac_ext <<_ACEOF
3236
cat confdefs.h >>conftest.$ac_ext
3237
cat >>conftest.$ac_ext <<_ACEOF
3238
/* end confdefs.h. */
3240
# include <limits.h>
3242
# include <assert.h>
3246
if { (ac_try="$ac_cpp conftest.$ac_ext"
3248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249
*) ac_try_echo=$ac_try;;
3251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3252
$as_echo "$ac_try_echo") >&5
3253
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3255
grep -v '^ *+' conftest.er1 >conftest.err
3257
cat conftest.err >&5
3258
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259
(exit $ac_status); } >/dev/null && {
3260
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3261
test ! -s conftest.err
3265
$as_echo "$as_me: failed program was:" >&5
3266
sed 's/^/| /' conftest.$ac_ext >&5
3268
# Broken: fails on valid input.
3272
rm -f conftest.err conftest.$ac_ext
3274
# OK, works on sane cases. Now check whether nonexistent headers
3275
# can be detected and how.
3276
cat >conftest.$ac_ext <<_ACEOF
3279
cat confdefs.h >>conftest.$ac_ext
3280
cat >>conftest.$ac_ext <<_ACEOF
3281
/* end confdefs.h. */
3282
#include <ac_nonexistent.h>
3284
if { (ac_try="$ac_cpp conftest.$ac_ext"
3286
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287
*) ac_try_echo=$ac_try;;
3289
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3290
$as_echo "$ac_try_echo") >&5
3291
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3293
grep -v '^ *+' conftest.er1 >conftest.err
3295
cat conftest.err >&5
3296
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297
(exit $ac_status); } >/dev/null && {
3298
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3299
test ! -s conftest.err
3301
# Broken: success on invalid input.
3304
$as_echo "$as_me: failed program was:" >&5
3305
sed 's/^/| /' conftest.$ac_ext >&5
3307
# Passes both tests.
3312
rm -f conftest.err conftest.$ac_ext
3315
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3316
rm -f conftest.err conftest.$ac_ext
3317
if $ac_preproc_ok; then
3329
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3330
$as_echo "$CPP" >&6; }
3332
for ac_c_preproc_warn_flag in '' yes
3334
# Use a header file that comes with gcc, so configuring glibc
3335
# with a fresh cross-compiler works.
3336
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3337
# <limits.h> exists even on freestanding compilers.
3338
# On the NeXT, cc -E runs the code through the compiler's parser,
3339
# not just through cpp. "Syntax error" is here to catch this case.
3340
cat >conftest.$ac_ext <<_ACEOF
3343
cat confdefs.h >>conftest.$ac_ext
3344
cat >>conftest.$ac_ext <<_ACEOF
3345
/* end confdefs.h. */
3347
# include <limits.h>
3349
# include <assert.h>
3353
if { (ac_try="$ac_cpp conftest.$ac_ext"
3355
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356
*) ac_try_echo=$ac_try;;
3358
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3359
$as_echo "$ac_try_echo") >&5
3360
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3362
grep -v '^ *+' conftest.er1 >conftest.err
3364
cat conftest.err >&5
3365
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366
(exit $ac_status); } >/dev/null && {
3367
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3368
test ! -s conftest.err
3372
$as_echo "$as_me: failed program was:" >&5
3373
sed 's/^/| /' conftest.$ac_ext >&5
3375
# Broken: fails on valid input.
3379
rm -f conftest.err conftest.$ac_ext
3381
# OK, works on sane cases. Now check whether nonexistent headers
3382
# can be detected and how.
3383
cat >conftest.$ac_ext <<_ACEOF
3386
cat confdefs.h >>conftest.$ac_ext
3387
cat >>conftest.$ac_ext <<_ACEOF
3388
/* end confdefs.h. */
3389
#include <ac_nonexistent.h>
3391
if { (ac_try="$ac_cpp conftest.$ac_ext"
3393
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394
*) ac_try_echo=$ac_try;;
3396
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3397
$as_echo "$ac_try_echo") >&5
3398
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3400
grep -v '^ *+' conftest.er1 >conftest.err
3402
cat conftest.err >&5
3403
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404
(exit $ac_status); } >/dev/null && {
3405
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3406
test ! -s conftest.err
3408
# Broken: success on invalid input.
3411
$as_echo "$as_me: failed program was:" >&5
3412
sed 's/^/| /' conftest.$ac_ext >&5
3414
# Passes both tests.
3419
rm -f conftest.err conftest.$ac_ext
3422
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3423
rm -f conftest.err conftest.$ac_ext
3424
if $ac_preproc_ok; then
3427
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3428
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3430
See \`config.log' for more details." >&5
3431
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3432
See \`config.log' for more details." >&2;}
3433
{ (exit 1); exit 1; }; }; }
3437
ac_cpp='$CPP $CPPFLAGS'
3438
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3439
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3440
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3443
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3444
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3445
if test "${ac_cv_path_GREP+set}" = set; then
3446
$as_echo_n "(cached) " >&6
3448
if test -z "$GREP"; then
3449
ac_path_GREP_found=false
3450
# Loop through the user's path and test for each of PROGNAME-LIST
3451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3455
test -z "$as_dir" && as_dir=.
3456
for ac_prog in grep ggrep; do
3457
for ac_exec_ext in '' $ac_executable_extensions; do
3458
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3459
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3460
# Check for GNU ac_path_GREP and select it if it is found.
3461
# Check for GNU $ac_path_GREP
3462
case `"$ac_path_GREP" --version 2>&1` in
3464
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3467
$as_echo_n 0123456789 >"conftest.in"
3470
cat "conftest.in" "conftest.in" >"conftest.tmp"
3471
mv "conftest.tmp" "conftest.in"
3472
cp "conftest.in" "conftest.nl"
3473
$as_echo 'GREP' >> "conftest.nl"
3474
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3475
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3476
ac_count=`expr $ac_count + 1`
3477
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3478
# Best one so far, save it but keep looking for a better one
3479
ac_cv_path_GREP="$ac_path_GREP"
3480
ac_path_GREP_max=$ac_count
3482
# 10*(2^10) chars as input seems more than enough
3483
test $ac_count -gt 10 && break
3485
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3488
$ac_path_GREP_found && break 3
3493
if test -z "$ac_cv_path_GREP"; then
3494
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3495
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3496
{ (exit 1); exit 1; }; }
3499
ac_cv_path_GREP=$GREP
3503
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3504
$as_echo "$ac_cv_path_GREP" >&6; }
3505
GREP="$ac_cv_path_GREP"
3508
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3509
$as_echo_n "checking for egrep... " >&6; }
3510
if test "${ac_cv_path_EGREP+set}" = set; then
3511
$as_echo_n "(cached) " >&6
3513
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3514
then ac_cv_path_EGREP="$GREP -E"
3516
if test -z "$EGREP"; then
3517
ac_path_EGREP_found=false
3518
# Loop through the user's path and test for each of PROGNAME-LIST
3519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3523
test -z "$as_dir" && as_dir=.
3524
for ac_prog in egrep; do
3525
for ac_exec_ext in '' $ac_executable_extensions; do
3526
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3527
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3528
# Check for GNU ac_path_EGREP and select it if it is found.
3529
# Check for GNU $ac_path_EGREP
3530
case `"$ac_path_EGREP" --version 2>&1` in
3532
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3535
$as_echo_n 0123456789 >"conftest.in"
3538
cat "conftest.in" "conftest.in" >"conftest.tmp"
3539
mv "conftest.tmp" "conftest.in"
3540
cp "conftest.in" "conftest.nl"
3541
$as_echo 'EGREP' >> "conftest.nl"
3542
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3543
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3544
ac_count=`expr $ac_count + 1`
3545
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3546
# Best one so far, save it but keep looking for a better one
3547
ac_cv_path_EGREP="$ac_path_EGREP"
3548
ac_path_EGREP_max=$ac_count
3550
# 10*(2^10) chars as input seems more than enough
3551
test $ac_count -gt 10 && break
3553
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3556
$ac_path_EGREP_found && break 3
3561
if test -z "$ac_cv_path_EGREP"; then
3562
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3563
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3564
{ (exit 1); exit 1; }; }
3567
ac_cv_path_EGREP=$EGREP
3572
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3573
$as_echo "$ac_cv_path_EGREP" >&6; }
3574
EGREP="$ac_cv_path_EGREP"
3577
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3578
$as_echo_n "checking for ANSI C header files... " >&6; }
3579
if test "${ac_cv_header_stdc+set}" = set; then
3580
$as_echo_n "(cached) " >&6
3582
cat >conftest.$ac_ext <<_ACEOF
3585
cat confdefs.h >>conftest.$ac_ext
3586
cat >>conftest.$ac_ext <<_ACEOF
3587
/* end confdefs.h. */
3601
rm -f conftest.$ac_objext
3602
if { (ac_try="$ac_compile"
3604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605
*) ac_try_echo=$ac_try;;
3607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3608
$as_echo "$ac_try_echo") >&5
3609
(eval "$ac_compile") 2>conftest.er1
3611
grep -v '^ *+' conftest.er1 >conftest.err
3613
cat conftest.err >&5
3614
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615
(exit $ac_status); } && {
3616
test -z "$ac_c_werror_flag" ||
3617
test ! -s conftest.err
3618
} && test -s conftest.$ac_objext; then
3619
ac_cv_header_stdc=yes
3621
$as_echo "$as_me: failed program was:" >&5
3622
sed 's/^/| /' conftest.$ac_ext >&5
3624
ac_cv_header_stdc=no
3627
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629
if test $ac_cv_header_stdc = yes; then
3630
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3631
cat >conftest.$ac_ext <<_ACEOF
3634
cat confdefs.h >>conftest.$ac_ext
3635
cat >>conftest.$ac_ext <<_ACEOF
3636
/* end confdefs.h. */
3640
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3641
$EGREP "memchr" >/dev/null 2>&1; then
3644
ac_cv_header_stdc=no
3650
if test $ac_cv_header_stdc = yes; then
3651
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3652
cat >conftest.$ac_ext <<_ACEOF
3655
cat confdefs.h >>conftest.$ac_ext
3656
cat >>conftest.$ac_ext <<_ACEOF
3657
/* end confdefs.h. */
3661
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3662
$EGREP "free" >/dev/null 2>&1; then
3665
ac_cv_header_stdc=no
3671
if test $ac_cv_header_stdc = yes; then
3672
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3673
if test "$cross_compiling" = yes; then
3676
cat >conftest.$ac_ext <<_ACEOF
3679
cat confdefs.h >>conftest.$ac_ext
3680
cat >>conftest.$ac_ext <<_ACEOF
3681
/* end confdefs.h. */
3684
#if ((' ' & 0x0FF) == 0x020)
3685
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3686
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3688
# define ISLOWER(c) \
3689
(('a' <= (c) && (c) <= 'i') \
3690
|| ('j' <= (c) && (c) <= 'r') \
3691
|| ('s' <= (c) && (c) <= 'z'))
3692
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3695
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3700
for (i = 0; i < 256; i++)
3701
if (XOR (islower (i), ISLOWER (i))
3702
|| toupper (i) != TOUPPER (i))
3707
rm -f conftest$ac_exeext
3708
if { (ac_try="$ac_link"
3710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711
*) ac_try_echo=$ac_try;;
3713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3714
$as_echo "$ac_try_echo") >&5
3715
(eval "$ac_link") 2>&5
3717
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3719
{ (case "(($ac_try" in
3720
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721
*) ac_try_echo=$ac_try;;
3723
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3724
$as_echo "$ac_try_echo") >&5
3725
(eval "$ac_try") 2>&5
3727
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728
(exit $ac_status); }; }; then
3731
$as_echo "$as_me: program exited with status $ac_status" >&5
3732
$as_echo "$as_me: failed program was:" >&5
3733
sed 's/^/| /' conftest.$ac_ext >&5
3736
ac_cv_header_stdc=no
3738
rm -rf conftest.dSYM
3739
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3745
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3746
$as_echo "$ac_cv_header_stdc" >&6; }
3747
if test $ac_cv_header_stdc = yes; then
3749
cat >>confdefs.h <<\_ACEOF
3750
#define STDC_HEADERS 1
3755
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3765
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3766
inttypes.h stdint.h unistd.h
3768
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3769
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3770
$as_echo_n "checking for $ac_header... " >&6; }
3771
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3772
$as_echo_n "(cached) " >&6
3774
cat >conftest.$ac_ext <<_ACEOF
3777
cat confdefs.h >>conftest.$ac_ext
3778
cat >>conftest.$ac_ext <<_ACEOF
3779
/* end confdefs.h. */
3780
$ac_includes_default
3782
#include <$ac_header>
3784
rm -f conftest.$ac_objext
3785
if { (ac_try="$ac_compile"
3787
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788
*) ac_try_echo=$ac_try;;
3790
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3791
$as_echo "$ac_try_echo") >&5
3792
(eval "$ac_compile") 2>conftest.er1
3794
grep -v '^ *+' conftest.er1 >conftest.err
3796
cat conftest.err >&5
3797
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798
(exit $ac_status); } && {
3799
test -z "$ac_c_werror_flag" ||
3800
test ! -s conftest.err
3801
} && test -s conftest.$ac_objext; then
3802
eval "$as_ac_Header=yes"
3804
$as_echo "$as_me: failed program was:" >&5
3805
sed 's/^/| /' conftest.$ac_ext >&5
3807
eval "$as_ac_Header=no"
3810
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812
ac_res=`eval 'as_val=${'$as_ac_Header'}
3813
$as_echo "$as_val"'`
3814
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3815
$as_echo "$ac_res" >&6; }
3816
as_val=`eval 'as_val=${'$as_ac_Header'}
3817
$as_echo "$as_val"'`
3818
if test "x$as_val" = x""yes; then
3819
cat >>confdefs.h <<_ACEOF
3820
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3829
for ac_header in gmp.h
3831
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3832
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3833
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3834
$as_echo_n "checking for $ac_header... " >&6; }
3835
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3836
$as_echo_n "(cached) " >&6
3838
ac_res=`eval 'as_val=${'$as_ac_Header'}
3839
$as_echo "$as_val"'`
3840
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3841
$as_echo "$ac_res" >&6; }
3843
# Is the header compilable?
3844
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3845
$as_echo_n "checking $ac_header usability... " >&6; }
3846
cat >conftest.$ac_ext <<_ACEOF
3849
cat confdefs.h >>conftest.$ac_ext
3850
cat >>conftest.$ac_ext <<_ACEOF
3851
/* end confdefs.h. */
3852
$ac_includes_default
3853
#include <$ac_header>
3855
rm -f conftest.$ac_objext
3856
if { (ac_try="$ac_compile"
3858
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859
*) ac_try_echo=$ac_try;;
3861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3862
$as_echo "$ac_try_echo") >&5
3863
(eval "$ac_compile") 2>conftest.er1
3865
grep -v '^ *+' conftest.er1 >conftest.err
3867
cat conftest.err >&5
3868
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869
(exit $ac_status); } && {
3870
test -z "$ac_c_werror_flag" ||
3871
test ! -s conftest.err
3872
} && test -s conftest.$ac_objext; then
3873
ac_header_compiler=yes
3875
$as_echo "$as_me: failed program was:" >&5
3876
sed 's/^/| /' conftest.$ac_ext >&5
3878
ac_header_compiler=no
3881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3883
$as_echo "$ac_header_compiler" >&6; }
3885
# Is the header present?
3886
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3887
$as_echo_n "checking $ac_header presence... " >&6; }
3888
cat >conftest.$ac_ext <<_ACEOF
3891
cat confdefs.h >>conftest.$ac_ext
3892
cat >>conftest.$ac_ext <<_ACEOF
3893
/* end confdefs.h. */
3894
#include <$ac_header>
3896
if { (ac_try="$ac_cpp conftest.$ac_ext"
3898
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899
*) ac_try_echo=$ac_try;;
3901
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3902
$as_echo "$ac_try_echo") >&5
3903
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3905
grep -v '^ *+' conftest.er1 >conftest.err
3907
cat conftest.err >&5
3908
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909
(exit $ac_status); } >/dev/null && {
3910
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3911
test ! -s conftest.err
3913
ac_header_preproc=yes
3915
$as_echo "$as_me: failed program was:" >&5
3916
sed 's/^/| /' conftest.$ac_ext >&5
3918
ac_header_preproc=no
3921
rm -f conftest.err conftest.$ac_ext
3922
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3923
$as_echo "$ac_header_preproc" >&6; }
3925
# So? What about this header?
3926
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3928
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3929
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3930
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3931
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3932
ac_header_preproc=yes
3935
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3936
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3937
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3938
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3939
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3940
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3941
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3942
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3943
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3944
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3945
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3946
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3948
## --------------------------------- ##
3949
## Report this to BUG-REPORT-ADDRESS ##
3950
## --------------------------------- ##
3952
) | sed "s/^/$as_me: WARNING: /" >&2
3955
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3956
$as_echo_n "checking for $ac_header... " >&6; }
3957
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3958
$as_echo_n "(cached) " >&6
3960
eval "$as_ac_Header=\$ac_header_preproc"
3962
ac_res=`eval 'as_val=${'$as_ac_Header'}
3963
$as_echo "$as_val"'`
3964
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3965
$as_echo "$ac_res" >&6; }
3968
as_val=`eval 'as_val=${'$as_ac_Header'}
3969
$as_echo "$as_val"'`
3970
if test "x$as_val" = x""yes; then
3971
cat >>confdefs.h <<_ACEOF
3972
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3980
for ac_header in cdd.h
3982
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3983
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3984
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3985
$as_echo_n "checking for $ac_header... " >&6; }
3986
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3987
$as_echo_n "(cached) " >&6
3989
ac_res=`eval 'as_val=${'$as_ac_Header'}
3990
$as_echo "$as_val"'`
3991
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3992
$as_echo "$ac_res" >&6; }
3994
# Is the header compilable?
3995
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3996
$as_echo_n "checking $ac_header usability... " >&6; }
3997
cat >conftest.$ac_ext <<_ACEOF
4000
cat confdefs.h >>conftest.$ac_ext
4001
cat >>conftest.$ac_ext <<_ACEOF
4002
/* end confdefs.h. */
4003
$ac_includes_default
4004
#include <$ac_header>
4006
rm -f conftest.$ac_objext
4007
if { (ac_try="$ac_compile"
4009
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010
*) ac_try_echo=$ac_try;;
4012
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4013
$as_echo "$ac_try_echo") >&5
4014
(eval "$ac_compile") 2>conftest.er1
4016
grep -v '^ *+' conftest.er1 >conftest.err
4018
cat conftest.err >&5
4019
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020
(exit $ac_status); } && {
4021
test -z "$ac_c_werror_flag" ||
4022
test ! -s conftest.err
4023
} && test -s conftest.$ac_objext; then
4024
ac_header_compiler=yes
4026
$as_echo "$as_me: failed program was:" >&5
4027
sed 's/^/| /' conftest.$ac_ext >&5
4029
ac_header_compiler=no
4032
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4034
$as_echo "$ac_header_compiler" >&6; }
4036
# Is the header present?
4037
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4038
$as_echo_n "checking $ac_header presence... " >&6; }
4039
cat >conftest.$ac_ext <<_ACEOF
4042
cat confdefs.h >>conftest.$ac_ext
4043
cat >>conftest.$ac_ext <<_ACEOF
4044
/* end confdefs.h. */
4045
#include <$ac_header>
4047
if { (ac_try="$ac_cpp conftest.$ac_ext"
4049
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050
*) ac_try_echo=$ac_try;;
4052
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4053
$as_echo "$ac_try_echo") >&5
4054
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4056
grep -v '^ *+' conftest.er1 >conftest.err
4058
cat conftest.err >&5
4059
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060
(exit $ac_status); } >/dev/null && {
4061
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4062
test ! -s conftest.err
4064
ac_header_preproc=yes
4066
$as_echo "$as_me: failed program was:" >&5
4067
sed 's/^/| /' conftest.$ac_ext >&5
4069
ac_header_preproc=no
4072
rm -f conftest.err conftest.$ac_ext
4073
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4074
$as_echo "$ac_header_preproc" >&6; }
4076
# So? What about this header?
4077
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4079
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4080
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4081
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4082
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4083
ac_header_preproc=yes
4086
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4087
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4088
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4089
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4090
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4091
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4092
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4093
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4094
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4095
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4096
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4097
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4099
## --------------------------------- ##
4100
## Report this to BUG-REPORT-ADDRESS ##
4101
## --------------------------------- ##
4103
) | sed "s/^/$as_me: WARNING: /" >&2
4106
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4107
$as_echo_n "checking for $ac_header... " >&6; }
4108
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4109
$as_echo_n "(cached) " >&6
4111
eval "$as_ac_Header=\$ac_header_preproc"
4113
ac_res=`eval 'as_val=${'$as_ac_Header'}
4114
$as_echo "$as_val"'`
4115
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4116
$as_echo "$ac_res" >&6; }
4119
as_val=`eval 'as_val=${'$as_ac_Header'}
4120
$as_echo "$as_val"'`
4121
if test "x$as_val" = x""yes; then
4122
cat >>confdefs.h <<_ACEOF
4123
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4131
for ac_header in setoper.h
4133
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4134
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4135
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4136
$as_echo_n "checking for $ac_header... " >&6; }
4137
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4138
$as_echo_n "(cached) " >&6
4140
ac_res=`eval 'as_val=${'$as_ac_Header'}
4141
$as_echo "$as_val"'`
4142
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4143
$as_echo "$ac_res" >&6; }
4145
# Is the header compilable?
4146
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4147
$as_echo_n "checking $ac_header usability... " >&6; }
4148
cat >conftest.$ac_ext <<_ACEOF
4151
cat confdefs.h >>conftest.$ac_ext
4152
cat >>conftest.$ac_ext <<_ACEOF
4153
/* end confdefs.h. */
4154
$ac_includes_default
4155
#include <$ac_header>
4157
rm -f conftest.$ac_objext
4158
if { (ac_try="$ac_compile"
4160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161
*) ac_try_echo=$ac_try;;
4163
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4164
$as_echo "$ac_try_echo") >&5
4165
(eval "$ac_compile") 2>conftest.er1
4167
grep -v '^ *+' conftest.er1 >conftest.err
4169
cat conftest.err >&5
4170
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171
(exit $ac_status); } && {
4172
test -z "$ac_c_werror_flag" ||
4173
test ! -s conftest.err
4174
} && test -s conftest.$ac_objext; then
4175
ac_header_compiler=yes
4177
$as_echo "$as_me: failed program was:" >&5
4178
sed 's/^/| /' conftest.$ac_ext >&5
4180
ac_header_compiler=no
4183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4185
$as_echo "$ac_header_compiler" >&6; }
4187
# Is the header present?
4188
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4189
$as_echo_n "checking $ac_header presence... " >&6; }
4190
cat >conftest.$ac_ext <<_ACEOF
4193
cat confdefs.h >>conftest.$ac_ext
4194
cat >>conftest.$ac_ext <<_ACEOF
4195
/* end confdefs.h. */
4196
#include <$ac_header>
4198
if { (ac_try="$ac_cpp conftest.$ac_ext"
4200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201
*) ac_try_echo=$ac_try;;
4203
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4204
$as_echo "$ac_try_echo") >&5
4205
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4207
grep -v '^ *+' conftest.er1 >conftest.err
4209
cat conftest.err >&5
4210
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211
(exit $ac_status); } >/dev/null && {
4212
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213
test ! -s conftest.err
4215
ac_header_preproc=yes
4217
$as_echo "$as_me: failed program was:" >&5
4218
sed 's/^/| /' conftest.$ac_ext >&5
4220
ac_header_preproc=no
4223
rm -f conftest.err conftest.$ac_ext
4224
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4225
$as_echo "$ac_header_preproc" >&6; }
4227
# So? What about this header?
4228
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4230
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4231
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4232
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4233
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4234
ac_header_preproc=yes
4237
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4238
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4239
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4240
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4241
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4242
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4243
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4244
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4245
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4246
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4247
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4248
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4250
## --------------------------------- ##
4251
## Report this to BUG-REPORT-ADDRESS ##
4252
## --------------------------------- ##
4254
) | sed "s/^/$as_me: WARNING: /" >&2
4257
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4258
$as_echo_n "checking for $ac_header... " >&6; }
4259
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4260
$as_echo_n "(cached) " >&6
4262
eval "$as_ac_Header=\$ac_header_preproc"
4264
ac_res=`eval 'as_val=${'$as_ac_Header'}
4265
$as_echo "$as_val"'`
4266
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4267
$as_echo "$ac_res" >&6; }
4270
as_val=`eval 'as_val=${'$as_ac_Header'}
4271
$as_echo "$as_val"'`
4272
if test "x$as_val" = x""yes; then
4273
cat >>confdefs.h <<_ACEOF
4274
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4282
if test "$ac_cv_header_gmp_h" == no
4284
{ $as_echo "$as_me:$LINENO: WARNING: Error, gmp.h is missing!" >&5
4285
$as_echo "$as_me: WARNING: Error, gmp.h is missing!" >&2;}
4289
if test "$ac_cv_header_cdd_h" == no
4291
{ $as_echo "$as_me:$LINENO: WARNING: Error, cdd.h is missing!" >&5
4292
$as_echo "$as_me: WARNING: Error, cdd.h is missing!" >&2;}
4296
if test "$ac_cv_header_setoper_h" == no
4298
{ $as_echo "$as_me:$LINENO: WARNING: Error, setoper.h is missing!" >&5
4299
$as_echo "$as_me: WARNING: Error, setoper.h is missing!" >&2;}
4303
# Checks for typedefs, structures, and compiler characteristics.
4304
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
4305
$as_echo_n "checking for inline... " >&6; }
4306
if test "${ac_cv_c_inline+set}" = set; then
4307
$as_echo_n "(cached) " >&6
4310
for ac_kw in inline __inline__ __inline; do
4311
cat >conftest.$ac_ext <<_ACEOF
4314
cat confdefs.h >>conftest.$ac_ext
4315
cat >>conftest.$ac_ext <<_ACEOF
4316
/* end confdefs.h. */
4319
static $ac_kw foo_t static_foo () {return 0; }
4320
$ac_kw foo_t foo () {return 0; }
4324
rm -f conftest.$ac_objext
4325
if { (ac_try="$ac_compile"
4327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328
*) ac_try_echo=$ac_try;;
4330
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4331
$as_echo "$ac_try_echo") >&5
4332
(eval "$ac_compile") 2>conftest.er1
4334
grep -v '^ *+' conftest.er1 >conftest.err
4336
cat conftest.err >&5
4337
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
(exit $ac_status); } && {
4339
test -z "$ac_c_werror_flag" ||
4340
test ! -s conftest.err
4341
} && test -s conftest.$ac_objext; then
4342
ac_cv_c_inline=$ac_kw
4344
$as_echo "$as_me: failed program was:" >&5
4345
sed 's/^/| /' conftest.$ac_ext >&5
4350
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351
test "$ac_cv_c_inline" != no && break
4355
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4356
$as_echo "$ac_cv_c_inline" >&6; }
4359
case $ac_cv_c_inline in
4362
case $ac_cv_c_inline in
4364
*) ac_val=$ac_cv_c_inline;;
4366
cat >>confdefs.h <<_ACEOF
4368
#define inline $ac_val
4375
#AC_MSG_RESULT($ac_cv_singuname)
4376
#if test "$ac_cv_singuname" = unknown; then
4377
# AC_MSG_WARN(Unknown architecture: Check singuname.sh)
4378
# ac_cv_singuname="unknown"
4380
#AC_DEFINE_UNQUOTED(S_UNAME, "$ac_cv_singuname")
4381
#SINGUNAME=$ac_cv_singuname
4382
#AC_SUBST(SINGUNAME)
4384
ac_config_files="$ac_config_files Makefile"
4386
cat >confcache <<\_ACEOF
4387
# This file is a shell script that caches the results of configure
4388
# tests run on this system so they can be shared between configure
4389
# scripts and configure runs, see configure's option --config-cache.
4390
# It is not useful on other systems. If it contains results you don't
4391
# want to keep, you may remove or edit it.
4393
# config.status only pays attention to the cache file if you give it
4394
# the --recheck option to rerun configure.
4396
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4397
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4402
# The following way of writing the cache mishandles newlines in values,
4403
# but we know of no workaround that is simple, portable, and efficient.
4404
# So, we kill variables containing newlines.
4405
# Ultrix sh set writes to stderr and can't be redirected directly,
4406
# and sets the high bit in the cache file unless we assign to the vars.
4408
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4409
eval ac_val=\$$ac_var
4413
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4414
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4417
_ | IFS | as_nl) ;; #(
4418
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4419
*) $as_unset $ac_var ;;
4425
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4426
*${as_nl}ac_space=\ *)
4427
# `set' does not quote correctly, so add quotes (double-quote
4428
# substitution turns \\\\ into \\, and sed turns \\ into \).
4431
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4434
# `set' quotes correctly as required by POSIX, so do not add quotes.
4435
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4444
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4446
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4448
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4449
if test -w "$cache_file"; then
4450
test "x$cache_file" != "x/dev/null" &&
4451
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4452
$as_echo "$as_me: updating cache $cache_file" >&6;}
4453
cat confcache >$cache_file
4455
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4456
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4461
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4462
# Let make expand exec_prefix.
4463
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4465
# Transform confdefs.h into DEFS.
4466
# Protect against shell expansion while executing Makefile rules.
4467
# Protect against Makefile macro expansion.
4469
# If the first sed substitution is executed (which looks for macros that
4470
# take arguments), then branch to the quote section. Otherwise,
4471
# look for a macro that doesn't take arguments.
4481
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4483
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4487
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4500
DEFS=`sed -n "$ac_script" confdefs.h`
4505
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4506
# 1. Remove the extension, and $U if already installed.
4507
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4508
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4509
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4510
# will be set to the directory where LIBOBJS objects are built.
4511
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4512
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4516
LTLIBOBJS=$ac_ltlibobjs
4520
: ${CONFIG_STATUS=./config.status}
4522
ac_clean_files_save=$ac_clean_files
4523
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4524
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4525
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4526
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528
# Generated by $as_me.
4529
# Run this file to recreate the current configuration.
4530
# Compiler output produced by configure, useful for debugging
4531
# configure, is in config.log if it exists.
4536
SHELL=\${CONFIG_SHELL-$SHELL}
4539
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4540
## --------------------- ##
4541
## M4sh Initialization. ##
4542
## --------------------- ##
4544
# Be more Bourne compatible
4545
DUALCASE=1; export DUALCASE # for MKS sh
4546
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4549
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4550
# is contrary to our usage. Disable this feature.
4551
alias -g '${1+"$@"}'='"$@"'
4552
setopt NO_GLOB_SUBST
4554
case `(set -o) 2>/dev/null` in
4555
*posix*) set -o posix ;;
4564
# Avoid depending upon Character Ranges.
4565
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4566
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4567
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4568
as_cr_digits='0123456789'
4569
as_cr_alnum=$as_cr_Letters$as_cr_digits
4574
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4575
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4576
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4577
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4578
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4579
as_echo='printf %s\n'
4580
as_echo_n='printf %s'
4582
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4583
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4584
as_echo_n='/usr/ucb/echo -n'
4586
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4587
as_echo_n_body='eval
4591
expr "X$arg" : "X\\(.*\\)$as_nl";
4592
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4594
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4596
export as_echo_n_body
4597
as_echo_n='sh -c $as_echo_n_body as_echo'
4600
as_echo='sh -c $as_echo_body as_echo'
4603
# The user is always right.
4604
if test "${PATH_SEPARATOR+set}" != set; then
4606
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4607
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4612
# Support unset when possible.
4613
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4621
# We need space, tab and new line, in precisely that order. Quoting is
4622
# there to prevent editors from complaining about space-tab.
4623
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4624
# splitting by setting IFS to empty value.)
4627
# Find who we are. Look in the path if we contain no directory separator.
4629
*[\\/]* ) as_myself=$0 ;;
4630
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634
test -z "$as_dir" && as_dir=.
4635
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4641
# We did not find ourselves, most probably we were run as `sh COMMAND'
4642
# in which case we are not to be found in the path.
4643
if test "x$as_myself" = x; then
4646
if test ! -f "$as_myself"; then
4647
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4648
{ (exit 1); exit 1; }
4651
# Work around bugs in pre-3.0 UWIN ksh.
4652
for as_var in ENV MAIL MAILPATH
4653
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4665
# Required to use basename.
4666
if expr a : '\(a\)' >/dev/null 2>&1 &&
4667
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4673
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4674
as_basename=basename
4680
# Name of the executable.
4681
as_me=`$as_basename -- "$0" ||
4682
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4683
X"$0" : 'X\(//\)$' \| \
4684
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4686
sed '/^.*\/\([^/][^/]*\)\/*$/{
4707
test "x$as_lineno_1" != "x$as_lineno_2" &&
4708
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4710
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4711
# uniformly replaced by the line number. The first 'sed' inserts a
4712
# line-number line after each line using $LINENO; the second 'sed'
4713
# does the real work. The second script uses 'N' to pair each
4714
# line-number line with the line containing $LINENO, and appends
4715
# trailing '-' during substitution so that $LINENO is not a special
4717
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4718
# scripts with optimization help from Paolo Bonzini. Blame Lee
4719
# E. McMahon (1931-1989) for sed's syntax. :-)
4731
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4735
chmod +x "$as_me.lineno" ||
4736
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4737
{ (exit 1); exit 1; }; }
4739
# Don't try to exec as it changes $[0], causing all sort of problems
4740
# (the dirname of $[0] is not the place where we might find the
4741
# original and so on. Autoconf is especially sensitive to this).
4743
# Exit status is that of the last command.
4748
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4754
ECHO_C= ECHO_N= ECHO_T=
4757
case `echo 'x\c'` in
4758
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4764
if expr a : '\(a\)' >/dev/null 2>&1 &&
4765
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4771
rm -f conf$$ conf$$.exe conf$$.file
4772
if test -d conf$$.dir; then
4773
rm -f conf$$.dir/conf$$.file
4776
mkdir conf$$.dir 2>/dev/null
4778
if (echo >conf$$.file) 2>/dev/null; then
4779
if ln -s conf$$.file conf$$ 2>/dev/null; then
4781
# ... but there are two gotchas:
4782
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4783
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4784
# In both cases, we have to default to `cp -p'.
4785
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4787
elif ln conf$$.file conf$$ 2>/dev/null; then
4795
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4796
rmdir conf$$.dir 2>/dev/null
4798
if mkdir -p . 2>/dev/null; then
4801
test -d ./-p && rmdir ./-p
4805
if test -x / >/dev/null 2>&1; then
4808
if ls -dL / >/dev/null 2>&1; then
4815
if test -d "$1"; then
4821
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4822
???[sx]*):;;*)false;;esac;fi
4826
as_executable_p=$as_test_x
4828
# Sed expression to map a string onto a valid CPP name.
4829
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4831
# Sed expression to map a string onto a valid variable name.
4832
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4837
# Save the log message, to keep $[0] and so on meaningful, and to
4838
# report actual input values of CONFIG_FILES etc. instead of their
4839
# values after options handling.
4841
This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
4842
generated by GNU Autoconf 2.63. Invocation command line was
4844
CONFIG_FILES = $CONFIG_FILES
4845
CONFIG_HEADERS = $CONFIG_HEADERS
4846
CONFIG_LINKS = $CONFIG_LINKS
4847
CONFIG_COMMANDS = $CONFIG_COMMANDS
4850
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4855
case $ac_config_files in *"
4856
"*) set x $ac_config_files; shift; ac_config_files=$*;;
4861
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4862
# Files that config.status was made for.
4863
config_files="$ac_config_files"
4867
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4869
\`$as_me' instantiates files from templates according to the
4870
current configuration.
4872
Usage: $0 [OPTION]... [FILE]...
4874
-h, --help print this help, then exit
4875
-V, --version print version number and configuration settings, then exit
4876
-q, --quiet, --silent
4877
do not print progress messages
4878
-d, --debug don't remove temporary files
4879
--recheck update $as_me by reconfiguring in the same conditions
4880
--file=FILE[:TEMPLATE]
4881
instantiate the configuration file FILE
4883
Configuration files:
4886
Report bugs to <bug-autoconf@gnu.org>."
4889
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4891
FULL-PACKAGE-NAME config.status VERSION
4892
configured by $0, generated by GNU Autoconf 2.63,
4893
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4895
Copyright (C) 2008 Free Software Foundation, Inc.
4896
This config.status script is free software; the Free Software Foundation
4897
gives unlimited permission to copy, distribute and modify it."
4901
test -n "\$AWK" || AWK=awk
4904
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4905
# The default lists apply if the user does not specify any file.
4911
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4912
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4923
# Handling of the options.
4924
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4926
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4927
$as_echo "$ac_cs_version"; exit ;;
4928
--debug | --debu | --deb | --de | --d | -d )
4930
--file | --fil | --fi | --f )
4933
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4935
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4936
ac_need_defaults=false;;
4937
--he | --h | --help | --hel | -h )
4938
$as_echo "$ac_cs_usage"; exit ;;
4939
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4940
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4944
-*) { $as_echo "$as_me: error: unrecognized option: $1
4945
Try \`$0 --help' for more information." >&2
4946
{ (exit 1); exit 1; }; } ;;
4948
*) ac_config_targets="$ac_config_targets $1"
4949
ac_need_defaults=false ;;
4955
ac_configure_extra_args=
4957
if $ac_cs_silent; then
4959
ac_configure_extra_args="$ac_configure_extra_args --silent"
4963
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4964
if \$ac_cs_recheck; then
4965
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4967
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4968
CONFIG_SHELL='$SHELL'
4974
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4978
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4979
## Running $as_me. ##
4985
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4988
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4990
# Handling of arguments.
4991
for ac_config_target in $ac_config_targets
4993
case $ac_config_target in
4994
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4996
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4997
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4998
{ (exit 1); exit 1; }; };;
5003
# If the user did not use the arguments to specify the items to instantiate,
5004
# then the envvar interface is used. Set only those that are not.
5005
# We use the long form for the default assignment because of an extremely
5006
# bizarre bug on SunOS 4.1.3.
5007
if $ac_need_defaults; then
5008
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5011
# Have a temporary directory for convenience. Make it in the build tree
5012
# simply because there is no reason against having it here, and in addition,
5013
# creating and moving files from /tmp can sometimes cause problems.
5014
# Hook for its removal unless debugging.
5015
# Note that there is a small window in which the directory will not be cleaned:
5016
# after its creation but before its name has been assigned to `$tmp'.
5020
trap 'exit_status=$?
5021
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5023
trap '{ (exit 1); exit 1; }' 1 2 13 15
5025
# Create a (secure) tmp directory for tmp files.
5028
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5029
test -n "$tmp" && test -d "$tmp"
5032
tmp=./conf$$-$RANDOM
5033
(umask 077 && mkdir "$tmp")
5036
$as_echo "$as_me: cannot create a temporary directory in ." >&2
5037
{ (exit 1); exit 1; }
5040
# Set up the scripts for CONFIG_FILES section.
5041
# No need to generate them if there are no CONFIG_FILES.
5042
# This happens for instance with `./config.status config.h'.
5043
if test -n "$CONFIG_FILES"; then
5047
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5048
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5054
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5059
echo "cat >conf$$subs.awk <<_ACEOF" &&
5060
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5063
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5064
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5065
{ (exit 1); exit 1; }; }
5066
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5068
for ac_last_try in false false false false false :; do
5069
. ./conf$$subs.sh ||
5070
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5071
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5072
{ (exit 1); exit 1; }; }
5074
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5075
if test $ac_delim_n = $ac_delim_num; then
5077
elif $ac_last_try; then
5078
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5079
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5080
{ (exit 1); exit 1; }; }
5082
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5087
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5088
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5092
s/^/S["/; s/!.*/"]=/
5102
s/\(.\{148\}\).*/\1/
5104
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5109
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5116
s/\(.\{148\}\).*/\1/
5118
s/["\\]/\\&/g; s/^/"/; s/$/"/
5122
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5127
' <conf$$subs.awk | sed '
5132
' >>$CONFIG_STATUS || ac_write_fail=1
5133
rm -f conf$$subs.awk
5134
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5136
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5137
for (key in S) S_is_set[key] = 1
5143
nfields = split(line, field, "@")
5145
len = length(field[1])
5146
for (i = 2; i < nfields; i++) {
5148
keylen = length(key)
5149
if (S_is_set[key]) {
5151
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5152
len += length(value) + length(field[++i])
5163
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5164
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5165
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5168
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5169
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5170
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5171
{ (exit 1); exit 1; }; }
5174
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5175
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5176
# trailing colons and then remove the whole line if VPATH becomes empty
5177
# (actually we leave an empty line to preserve line numbers).
5178
if test "x$srcdir" = x.; then
5179
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5183
s/^\([^=]*=[ ]*\):*/\1/
5189
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5190
fi # test -n "$CONFIG_FILES"
5193
eval set X " :F $CONFIG_FILES "
5198
:[FHLC]) ac_mode=$ac_tag; continue;;
5200
case $ac_mode$ac_tag in
5202
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5203
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5204
{ (exit 1); exit 1; }; };;
5205
:[FH]-) ac_tag=-:-;;
5206
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5223
-) ac_f="$tmp/stdin";;
5224
*) # Look for the file first in the build tree, then in the source tree
5225
# (if the path is not absolute). The absolute path cannot be DOS-style,
5226
# because $ac_f cannot contain `:'.
5230
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5232
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5233
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5234
{ (exit 1); exit 1; }; };;
5236
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5237
ac_file_inputs="$ac_file_inputs '$ac_f'"
5240
# Let's still pretend it is `configure' which instantiates (i.e., don't
5241
# use $as_me), people would be surprised to read:
5242
# /* config.h. Generated by config.status. */
5243
configure_input='Generated from '`
5244
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5246
if test x"$ac_file" != x-; then
5247
configure_input="$ac_file. $configure_input"
5248
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5249
$as_echo "$as_me: creating $ac_file" >&6;}
5251
# Neutralize special characters interpreted by sed in replacement strings.
5252
case $configure_input in #(
5253
*\&* | *\|* | *\\* )
5254
ac_sed_conf_input=`$as_echo "$configure_input" |
5255
sed 's/[\\\\&|]/\\\\&/g'`;; #(
5256
*) ac_sed_conf_input=$configure_input;;
5260
*:-:* | *:-) cat >"$tmp/stdin" \
5261
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5262
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5263
{ (exit 1); exit 1; }; } ;;
5268
ac_dir=`$as_dirname -- "$ac_file" ||
5269
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5270
X"$ac_file" : 'X\(//\)[^/]' \| \
5271
X"$ac_file" : 'X\(//\)$' \| \
5272
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5273
$as_echo X"$ac_file" |
5274
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5293
-*) as_dir=./$as_dir;;
5295
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5299
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5300
*) as_qdir=$as_dir;;
5302
as_dirs="'$as_qdir' $as_dirs"
5303
as_dir=`$as_dirname -- "$as_dir" ||
5304
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5305
X"$as_dir" : 'X\(//\)[^/]' \| \
5306
X"$as_dir" : 'X\(//\)$' \| \
5307
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5308
$as_echo X"$as_dir" |
5309
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5326
test -d "$as_dir" && break
5328
test -z "$as_dirs" || eval "mkdir $as_dirs"
5329
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5330
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5331
{ (exit 1); exit 1; }; }; }
5335
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5337
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5338
# A ".." for each directory in $ac_dir_suffix.
5339
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5340
case $ac_top_builddir_sub in
5341
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5342
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5345
ac_abs_top_builddir=$ac_pwd
5346
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5347
# for backward compatibility:
5348
ac_top_builddir=$ac_top_build_prefix
5351
.) # We are building in place.
5353
ac_top_srcdir=$ac_top_builddir_sub
5354
ac_abs_top_srcdir=$ac_pwd ;;
5355
[\\/]* | ?:[\\/]* ) # Absolute name.
5356
ac_srcdir=$srcdir$ac_dir_suffix;
5357
ac_top_srcdir=$srcdir
5358
ac_abs_top_srcdir=$srcdir ;;
5360
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5361
ac_top_srcdir=$ac_top_build_prefix$srcdir
5362
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5364
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5375
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5376
# If the template does not know about datarootdir, expand it.
5377
# FIXME: This hack should be removed a few years after 2.60.
5378
ac_datarootdir_hack=; ac_datarootdir_seen=
5391
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5392
*datarootdir*) ac_datarootdir_seen=yes;;
5393
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5394
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5395
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5397
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5398
ac_datarootdir_hack='
5399
s&@datadir@&$datadir&g
5400
s&@docdir@&$docdir&g
5401
s&@infodir@&$infodir&g
5402
s&@localedir@&$localedir&g
5403
s&@mandir@&$mandir&g
5404
s&\\\${datarootdir}&$datarootdir&g' ;;
5408
# Neutralize VPATH when `$srcdir' = `.'.
5409
# Shell code in configure.ac might set extrasub.
5410
# FIXME: do we really want to maintain this feature?
5411
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5412
ac_sed_extra="$ac_vpsub
5415
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5417
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5418
s|@configure_input@|$ac_sed_conf_input|;t t
5419
s&@top_builddir@&$ac_top_builddir_sub&;t t
5420
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5421
s&@srcdir@&$ac_srcdir&;t t
5422
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5423
s&@top_srcdir@&$ac_top_srcdir&;t t
5424
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5425
s&@builddir@&$ac_builddir&;t t
5426
s&@abs_builddir@&$ac_abs_builddir&;t t
5427
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5428
$ac_datarootdir_hack
5430
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5431
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5432
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5433
{ (exit 1); exit 1; }; }
5435
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5436
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5437
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5438
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5439
which seems to be undefined. Please make sure it is defined." >&5
5440
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5441
which seems to be undefined. Please make sure it is defined." >&2;}
5445
-) cat "$tmp/out" && rm -f "$tmp/out";;
5446
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5448
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5449
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5450
{ (exit 1); exit 1; }; }
5460
{ (exit 0); exit 0; }
5462
chmod +x $CONFIG_STATUS
5463
ac_clean_files=$ac_clean_files_save
5465
test $ac_write_fail = 0 ||
5466
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5467
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5468
{ (exit 1); exit 1; }; }
5471
# configure is writing to config.log, and then calls config.status.
5472
# config.status does its own redirection, appending to config.log.
5473
# Unfortunately, on DOS this fails, as config.log is still kept open
5474
# by configure, so config.status won't be able to write to it; its
5475
# output is simply discarded. So we exec the FD to /dev/null,
5476
# effectively closing config.log, so it can be properly (re)opened and
5477
# appended to by config.status. When coming back to configure, we
5478
# need to make the FD available again.
5479
if test "$no_create" != yes; then
5481
ac_config_status_args=
5482
test "$silent" = yes &&
5483
ac_config_status_args="$ac_config_status_args --quiet"
5485
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5487
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5488
# would make configure fail if this is the last instruction.
5489
$ac_cs_success || { (exit 1); exit 1; }
5491
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5492
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5493
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}