2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61.
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
@%:@ This configure script is free software; the Free Software Foundation
8
@%:@ gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62
# We need space, tab and new line, in precisely that order. Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
70
# Find who we are. Look in the path if we contain no directory separator.
72
*[\\/]* ) as_myself=$0 ;;
73
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77
test -z "$as_dir" && as_dir=.
78
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
89
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
{ (exit 1); exit 1; }; }
457
# Don't try to exec as it changes $[0], causing all sort of problems
458
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
461
# Exit status is that of the last command.
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
exec 7<&0 </dev/null 6>&1
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556
# so uname gets run too.
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562
ac_default_prefix=/usr/local
564
ac_config_libobj_dir=.
570
SHELL=${CONFIG_SHELL-/bin/sh}
572
# Identity of this package.
579
ac_unique_file="src/common.c"
580
# Factoring default headers for most tests.
581
ac_includes_default="\
583
#ifdef HAVE_SYS_TYPES_H
584
# include <sys/types.h>
586
#ifdef HAVE_SYS_STAT_H
587
# include <sys/stat.h>
593
# ifdef HAVE_STDLIB_H
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603
#ifdef HAVE_STRINGS_H
604
# include <strings.h>
606
#ifdef HAVE_INTTYPES_H
607
# include <inttypes.h>
625
program_transform_name
679
INSTALL_STRIP_PROGRAM
690
IBM_IS_PIECE_OF_SHIT_TRUE
691
IBM_IS_PIECE_OF_SHIT_FALSE
717
USE_WINDOWS_COMPILER_TRUE
718
USE_WINDOWS_COMPILER_FALSE
720
USE_EXTERNAL_METIS_TRUE
721
USE_EXTERNAL_METIS_FALSE
723
MAINTAINER_MODE_FALSE
728
ac_precious_vars='build_alias
739
# Initialize some variables set by options.
741
ac_init_version=false
742
# The variables have the same names as the options, with
743
# dashes changed to underlines.
751
program_transform_name=s,x,x,
759
# Installation directory options.
760
# These are left unexpanded so users can "make install exec_prefix=/foo"
761
# and all the variables that are supposed to be based on exec_prefix
762
# by default will actually change.
763
# Use braces instead of parens because sh, perl, etc. also accept them.
764
# (The list follows the same order as the GNU Coding Standards.)
765
bindir='${exec_prefix}/bin'
766
sbindir='${exec_prefix}/sbin'
767
libexecdir='${exec_prefix}/libexec'
768
datarootdir='${prefix}/share'
769
datadir='${datarootdir}'
770
sysconfdir='${prefix}/etc'
771
sharedstatedir='${prefix}/com'
772
localstatedir='${prefix}/var'
773
includedir='${prefix}/include'
774
oldincludedir='/usr/include'
775
docdir='${datarootdir}/doc/${PACKAGE}'
776
infodir='${datarootdir}/info'
781
libdir='${exec_prefix}/lib'
782
localedir='${datarootdir}/locale'
783
mandir='${datarootdir}/man'
789
# If the previous option needs an argument, assign it.
790
if test -n "$ac_prev"; then
791
eval $ac_prev=\$ac_option
797
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801
# Accept the important Cygnus configure options, so we can diagnose typos.
803
case $ac_dashdash$ac_option in
807
-bindir | --bindir | --bindi | --bind | --bin | --bi)
809
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812
-build | --build | --buil | --bui | --bu)
813
ac_prev=build_alias ;;
814
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
815
build_alias=$ac_optarg ;;
817
-cache-file | --cache-file | --cache-fil | --cache-fi \
818
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819
ac_prev=cache_file ;;
820
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822
cache_file=$ac_optarg ;;
825
cache_file=config.cache ;;
827
-datadir | --datadir | --datadi | --datad)
829
-datadir=* | --datadir=* | --datadi=* | --datad=*)
830
datadir=$ac_optarg ;;
832
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833
| --dataroo | --dataro | --datar)
834
ac_prev=datarootdir ;;
835
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837
datarootdir=$ac_optarg ;;
839
-disable-* | --disable-*)
840
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841
# Reject names that are not valid shell variable names.
842
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
843
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
844
{ (exit 1); exit 1; }; }
845
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
846
eval enable_$ac_feature=no ;;
848
-docdir | --docdir | --docdi | --doc | --do)
850
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
853
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
858
-enable-* | --enable-*)
859
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
860
# Reject names that are not valid shell variable names.
861
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
862
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
863
{ (exit 1); exit 1; }; }
864
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
865
eval enable_$ac_feature=\$ac_optarg ;;
867
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
868
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
869
| --exec | --exe | --ex)
870
ac_prev=exec_prefix ;;
871
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
872
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
873
| --exec=* | --exe=* | --ex=*)
874
exec_prefix=$ac_optarg ;;
876
-gas | --gas | --ga | --g)
877
# Obsolete; use --with-gas.
880
-help | --help | --hel | --he | -h)
882
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
883
ac_init_help=recursive ;;
884
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
885
ac_init_help=short ;;
887
-host | --host | --hos | --ho)
888
ac_prev=host_alias ;;
889
-host=* | --host=* | --hos=* | --ho=*)
890
host_alias=$ac_optarg ;;
892
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896
htmldir=$ac_optarg ;;
898
-includedir | --includedir | --includedi | --included | --include \
899
| --includ | --inclu | --incl | --inc)
900
ac_prev=includedir ;;
901
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
902
| --includ=* | --inclu=* | --incl=* | --inc=*)
903
includedir=$ac_optarg ;;
905
-infodir | --infodir | --infodi | --infod | --info | --inf)
907
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
908
infodir=$ac_optarg ;;
910
-libdir | --libdir | --libdi | --libd)
912
-libdir=* | --libdir=* | --libdi=* | --libd=*)
915
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
916
| --libexe | --libex | --libe)
917
ac_prev=libexecdir ;;
918
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
919
| --libexe=* | --libex=* | --libe=*)
920
libexecdir=$ac_optarg ;;
922
-localedir | --localedir | --localedi | --localed | --locale)
924
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
925
localedir=$ac_optarg ;;
927
-localstatedir | --localstatedir | --localstatedi | --localstated \
928
| --localstate | --localstat | --localsta | --localst | --locals)
929
ac_prev=localstatedir ;;
930
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
931
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
932
localstatedir=$ac_optarg ;;
934
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940
# Obsolete; use --without-fp.
943
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
944
| --no-cr | --no-c | -n)
947
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
948
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
951
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
952
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
953
| --oldin | --oldi | --old | --ol | --o)
954
ac_prev=oldincludedir ;;
955
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
956
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
957
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
958
oldincludedir=$ac_optarg ;;
960
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
965
-program-prefix | --program-prefix | --program-prefi | --program-pref \
966
| --program-pre | --program-pr | --program-p)
967
ac_prev=program_prefix ;;
968
-program-prefix=* | --program-prefix=* | --program-prefi=* \
969
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
970
program_prefix=$ac_optarg ;;
972
-program-suffix | --program-suffix | --program-suffi | --program-suff \
973
| --program-suf | --program-su | --program-s)
974
ac_prev=program_suffix ;;
975
-program-suffix=* | --program-suffix=* | --program-suffi=* \
976
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
977
program_suffix=$ac_optarg ;;
979
-program-transform-name | --program-transform-name \
980
| --program-transform-nam | --program-transform-na \
981
| --program-transform-n | --program-transform- \
982
| --program-transform | --program-transfor \
983
| --program-transfo | --program-transf \
984
| --program-trans | --program-tran \
985
| --progr-tra | --program-tr | --program-t)
986
ac_prev=program_transform_name ;;
987
-program-transform-name=* | --program-transform-name=* \
988
| --program-transform-nam=* | --program-transform-na=* \
989
| --program-transform-n=* | --program-transform-=* \
990
| --program-transform=* | --program-transfor=* \
991
| --program-transfo=* | --program-transf=* \
992
| --program-trans=* | --program-tran=* \
993
| --progr-tra=* | --program-tr=* | --program-t=*)
994
program_transform_name=$ac_optarg ;;
996
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001
-psdir | --psdir | --psdi | --psd | --ps)
1003
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1006
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1007
| -silent | --silent | --silen | --sile | --sil)
1010
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014
sbindir=$ac_optarg ;;
1016
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1017
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1018
| --sharedst | --shareds | --shared | --share | --shar \
1020
ac_prev=sharedstatedir ;;
1021
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1022
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1023
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025
sharedstatedir=$ac_optarg ;;
1027
-site | --site | --sit)
1029
-site=* | --site=* | --sit=*)
1032
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1035
srcdir=$ac_optarg ;;
1037
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1038
| --syscon | --sysco | --sysc | --sys | --sy)
1039
ac_prev=sysconfdir ;;
1040
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1041
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1042
sysconfdir=$ac_optarg ;;
1044
-target | --target | --targe | --targ | --tar | --ta | --t)
1045
ac_prev=target_alias ;;
1046
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1047
target_alias=$ac_optarg ;;
1049
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1052
-version | --version | --versio | --versi | --vers | -V)
1053
ac_init_version=: ;;
1056
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1057
# Reject names that are not valid shell variable names.
1058
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1060
{ (exit 1); exit 1; }; }
1061
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1062
eval with_$ac_package=\$ac_optarg ;;
1064
-without-* | --without-*)
1065
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1066
# Reject names that are not valid shell variable names.
1067
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1069
{ (exit 1); exit 1; }; }
1070
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1071
eval with_$ac_package=no ;;
1074
# Obsolete; use --with-x.
1077
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078
| --x-incl | --x-inc | --x-in | --x-i)
1079
ac_prev=x_includes ;;
1080
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082
x_includes=$ac_optarg ;;
1084
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1085
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086
ac_prev=x_libraries ;;
1087
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089
x_libraries=$ac_optarg ;;
1091
-*) { echo "$as_me: error: unrecognized option: $ac_option
1092
Try \`$0 --help' for more information." >&2
1093
{ (exit 1); exit 1; }; }
1097
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098
# Reject names that are not valid shell variable names.
1099
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1100
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1101
{ (exit 1); exit 1; }; }
1102
eval $ac_envvar=\$ac_optarg
1103
export $ac_envvar ;;
1106
# FIXME: should be removed in autoconf 3.0.
1107
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1116
if test -n "$ac_prev"; then
1117
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118
{ echo "$as_me: error: missing argument to $ac_option" >&2
1119
{ (exit 1); exit 1; }; }
1122
# Be sure to have absolute directory names.
1123
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124
datadir sysconfdir sharedstatedir localstatedir includedir \
1125
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126
libdir localedir mandir
1128
eval ac_val=\$$ac_var
1130
[\\/$]* | ?:[\\/]* ) continue;;
1131
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1134
{ (exit 1); exit 1; }; }
1137
# There might be people who depend on the old broken behavior: `$host'
1138
# used to hold the argument of --host etc.
1139
# FIXME: To remove some day.
1142
target=$target_alias
1144
# FIXME: To remove some day.
1145
if test "x$host_alias" != x; then
1146
if test "x$build_alias" = x; then
1147
cross_compiling=maybe
1148
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1149
If a cross compiler is detected then cross compile mode will be used." >&2
1150
elif test "x$build_alias" != "x$host_alias"; then
1156
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158
test "$silent" = yes && exec 6>/dev/null
1161
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162
ac_ls_di=`ls -di .` &&
1163
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164
{ echo "$as_me: error: Working directory cannot be determined" >&2
1165
{ (exit 1); exit 1; }; }
1166
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1168
{ (exit 1); exit 1; }; }
1171
# Find the source files, if location was not specified.
1172
if test -z "$srcdir"; then
1173
ac_srcdir_defaulted=yes
1174
# Try the directory containing this script, then the parent directory.
1175
ac_confdir=`$as_dirname -- "$0" ||
1176
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177
X"$0" : 'X\(//\)[^/]' \| \
1178
X"$0" : 'X\(//\)$' \| \
1179
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1181
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1199
if test ! -r "$srcdir/$ac_unique_file"; then
1203
ac_srcdir_defaulted=no
1205
if test ! -r "$srcdir/$ac_unique_file"; then
1206
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1208
{ (exit 1); exit 1; }; }
1210
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1213
{ (exit 1); exit 1; }; }
1215
# When building in place, set srcdir=.
1216
if test "$ac_abs_confdir" = "$ac_pwd"; then
1219
# Remove unnecessary trailing slashes from srcdir.
1220
# Double slashes in file names in object file debugging info
1221
# mess up M-x gdb in Emacs.
1223
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225
for ac_var in $ac_precious_vars; do
1226
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227
eval ac_env_${ac_var}_value=\$${ac_var}
1228
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233
# Report the --help message.
1235
if test "$ac_init_help" = "long"; then
1236
# Omit some internal or obsolete options to make the list less imposing.
1237
# This message is too long to be a string in the A/UX 3.1 sh.
1239
\`configure' configures this package to adapt to many kinds of systems.
1241
Usage: $0 [OPTION]... [VAR=VALUE]...
1243
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244
VAR=VALUE. See below for descriptions of some of the useful variables.
1246
Defaults for the options are specified in brackets.
1249
-h, --help display this help and exit
1250
--help=short display options specific to this package
1251
--help=recursive display the short help of all the included packages
1252
-V, --version display version information and exit
1253
-q, --quiet, --silent do not print \`checking...' messages
1254
--cache-file=FILE cache test results in FILE [disabled]
1255
-C, --config-cache alias for \`--cache-file=config.cache'
1256
-n, --no-create do not create output files
1257
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1259
Installation directories:
1260
--prefix=PREFIX install architecture-independent files in PREFIX
1261
[$ac_default_prefix]
1262
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265
By default, \`make install' will install all the files in
1266
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268
for instance \`--prefix=\$HOME'.
1270
For better control, use the options below.
1272
Fine tuning of the installation directories:
1273
--bindir=DIR user executables [EPREFIX/bin]
1274
--sbindir=DIR system admin executables [EPREFIX/sbin]
1275
--libexecdir=DIR program executables [EPREFIX/libexec]
1276
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279
--libdir=DIR object code libraries [EPREFIX/lib]
1280
--includedir=DIR C header files [PREFIX/include]
1281
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1282
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284
--infodir=DIR info documentation [DATAROOTDIR/info]
1285
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286
--mandir=DIR man documentation [DATAROOTDIR/man]
1287
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1288
--htmldir=DIR html documentation [DOCDIR]
1289
--dvidir=DIR dvi documentation [DOCDIR]
1290
--pdfdir=DIR pdf documentation [DOCDIR]
1291
--psdir=DIR ps documentation [DOCDIR]
1297
--program-prefix=PREFIX prepend PREFIX to installed program names
1298
--program-suffix=SUFFIX append SUFFIX to installed program names
1299
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1302
--build=BUILD configure for building on BUILD [guessed]
1303
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1304
--target=TARGET configure for building compilers for TARGET [HOST]
1308
if test -n "$ac_init_help"; then
1313
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1314
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1315
--disable-dependency-tracking speeds up one-time build
1316
--enable-dependency-tracking do not reject slow dependency extractors
1317
--enable-maintainer-mode enable make rules and dependencies not useful
1318
(and sometimes confusing) to the casual installer
1321
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1322
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1323
--with-debug Use debugging flags (environment variables override)
1324
--with-64bits=yes(/no) Try to compile using 64 bits (default)
1325
--with-matc=<lib> use MATC library <lib>
1326
--with-metis=/path/to/metis Specify the path to the Metis installation,
1327
of which the include and library directories
1328
are subdirs; use this if you want to override
1329
the METIS_DIR environment variable.
1330
--with-metis-include=/path/to/metis Specify the path to the METIS headers file;
1331
use this if you want to override the
1332
METIS_INCLUDE_DIR environment variable.
1333
--with-metis-libs=/path/to/metis Specify the path to the METIS libraries;
1334
use this if you want to override the
1335
METIS_LIBDIR environment variable.
1337
Some influential environment variables:
1338
CC C compiler command
1339
CFLAGS C compiler flags
1340
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1341
nonstandard directory <lib dir>
1342
LIBS libraries to pass to the linker, e.g. -l<library>
1343
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1344
you have headers in a nonstandard directory <include dir>
1347
Use these variables to override the choices made by `configure' or to help
1348
it to find libraries and programs with nonstandard names/locations.
1354
if test "$ac_init_help" = "recursive"; then
1355
# If there are subdirs, report their specific --help.
1356
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1357
test -d "$ac_dir" || continue
1361
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1364
# A ".." for each directory in $ac_dir_suffix.
1365
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1366
case $ac_top_builddir_sub in
1367
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1371
ac_abs_top_builddir=$ac_pwd
1372
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1373
# for backward compatibility:
1374
ac_top_builddir=$ac_top_build_prefix
1377
.) # We are building in place.
1379
ac_top_srcdir=$ac_top_builddir_sub
1380
ac_abs_top_srcdir=$ac_pwd ;;
1381
[\\/]* | ?:[\\/]* ) # Absolute name.
1382
ac_srcdir=$srcdir$ac_dir_suffix;
1383
ac_top_srcdir=$srcdir
1384
ac_abs_top_srcdir=$srcdir ;;
1386
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1387
ac_top_srcdir=$ac_top_build_prefix$srcdir
1388
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
cd "$ac_dir" || { ac_status=$?; continue; }
1393
# Check for guested configure.
1394
if test -f "$ac_srcdir/configure.gnu"; then
1396
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397
elif test -f "$ac_srcdir/configure"; then
1399
$SHELL "$ac_srcdir/configure" --help=recursive
1401
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403
cd "$ac_pwd" || { ac_status=$?; break; }
1407
test -n "$ac_init_help" && exit $ac_status
1408
if $ac_init_version; then
1411
generated by GNU Autoconf 2.61
1413
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1414
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1415
This configure script is free software; the Free Software Foundation
1416
gives unlimited permission to copy, distribute and modify it.
1420
cat >config.log <<_ACEOF
1421
This file contains any messages produced by compilers while
1422
running configure, to aid debugging if configure makes a mistake.
1424
It was created by $as_me, which was
1425
generated by GNU Autoconf 2.61. Invocation command line was
1433
@%:@@%:@ --------- @%:@@%:@
1434
@%:@@%:@ Platform. @%:@@%:@
1435
@%:@@%:@ --------- @%:@@%:@
1437
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1438
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1439
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1440
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1441
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1443
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1444
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1446
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1447
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1448
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1449
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1450
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1451
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1452
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460
test -z "$as_dir" && as_dir=.
1461
echo "PATH: $as_dir"
1470
@%:@@%:@ ----------- @%:@@%:@
1471
@%:@@%:@ Core tests. @%:@@%:@
1472
@%:@@%:@ ----------- @%:@@%:@
1477
# Keep a trace of the command line.
1478
# Strip out --no-create and --no-recursion so they do not pile up.
1479
# Strip out --silent because we don't want to record it for future runs.
1480
# Also quote any args containing shell meta-characters.
1481
# Make two passes to allow for proper duplicate-argument suppression.
1485
ac_must_keep_next=false
1491
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1492
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1493
| -silent | --silent | --silen | --sile | --sil)
1496
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1499
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1501
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1502
if test $ac_must_keep_next = true; then
1503
ac_must_keep_next=false # Got value, back to normal.
1506
*=* | --config-cache | -C | -disable-* | --disable-* \
1507
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1508
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1509
| -with-* | --with-* | -without-* | --without-* | --x)
1510
case "$ac_configure_args0 " in
1511
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1514
-* ) ac_must_keep_next=true ;;
1517
ac_configure_args="$ac_configure_args '$ac_arg'"
1522
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1523
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1525
# When interrupted or exit'd, cleanup temporary files, and complete
1526
# config.log. We remove comments because anyway the quotes in there
1527
# would cause problems or look ugly.
1528
# WARNING: Use '\'' to represent an apostrophe within the trap.
1529
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1530
trap 'exit_status=$?
1531
# Save into config.log some information that might help in debugging.
1536
@%:@@%:@ ---------------- @%:@@%:@
1537
@%:@@%:@ Cache variables. @%:@@%:@
1538
@%:@@%:@ ---------------- @%:@@%:@
1541
# The following way of writing the cache mishandles newlines in values,
1543
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1544
eval ac_val=\$$ac_var
1548
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1549
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1552
_ | IFS | as_nl) ;; #(
1553
*) $as_unset $ac_var ;;
1558
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1559
*${as_nl}ac_space=\ *)
1561
"s/'\''/'\''\\\\'\'''\''/g;
1562
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1565
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1573
@%:@@%:@ ----------------- @%:@@%:@
1574
@%:@@%:@ Output variables. @%:@@%:@
1575
@%:@@%:@ ----------------- @%:@@%:@
1578
for ac_var in $ac_subst_vars
1580
eval ac_val=\$$ac_var
1582
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584
echo "$ac_var='\''$ac_val'\''"
1588
if test -n "$ac_subst_files"; then
1590
@%:@@%:@ ------------------- @%:@@%:@
1591
@%:@@%:@ File substitutions. @%:@@%:@
1592
@%:@@%:@ ------------------- @%:@@%:@
1595
for ac_var in $ac_subst_files
1597
eval ac_val=\$$ac_var
1599
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601
echo "$ac_var='\''$ac_val'\''"
1606
if test -s confdefs.h; then
1608
@%:@@%:@ ----------- @%:@@%:@
1609
@%:@@%:@ confdefs.h. @%:@@%:@
1610
@%:@@%:@ ----------- @%:@@%:@
1616
test "$ac_signal" != 0 &&
1617
echo "$as_me: caught signal $ac_signal"
1618
echo "$as_me: exit $exit_status"
1620
rm -f core *.core core.conftest.* &&
1621
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1624
for ac_signal in 1 2 13 15; do
1625
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1629
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1630
rm -f -r conftest* confdefs.h
1632
# Predefined preprocessor variables.
1634
cat >>confdefs.h <<_ACEOF
1635
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1639
cat >>confdefs.h <<_ACEOF
1640
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1644
cat >>confdefs.h <<_ACEOF
1645
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1649
cat >>confdefs.h <<_ACEOF
1650
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1654
cat >>confdefs.h <<_ACEOF
1655
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1659
# Let the site file select an alternate cache file if it wants to.
1660
# Prefer explicitly selected file to automatically selected ones.
1661
if test -n "$CONFIG_SITE"; then
1662
set x "$CONFIG_SITE"
1663
elif test "x$prefix" != xNONE; then
1664
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1666
set x "$ac_default_prefix/share/config.site" \
1667
"$ac_default_prefix/etc/config.site"
1672
if test -r "$ac_site_file"; then
1673
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1674
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
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1685
echo "$as_me: loading cache $cache_file" >&6;}
1687
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1688
*) . "./$cache_file";;
1692
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1693
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
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1708
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1709
ac_cache_corrupted=: ;;
1711
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1712
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
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1718
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1719
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1720
echo "$as_me: former value: $ac_old_val" >&2;}
1721
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1722
echo "$as_me: current value: $ac_new_val" >&2;}
1723
ac_cache_corrupted=:
1726
# Pass precious variables to config.status.
1727
if test "$ac_new_set" = set; then
1729
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1730
*) ac_arg=$ac_var=$ac_new_val ;;
1732
case " $ac_configure_args " in
1733
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1734
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1738
if $ac_cache_corrupted; then
1739
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1740
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1741
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1742
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1743
{ (exit 1); exit 1; }; }
1763
ac_cpp='$CPP $CPPFLAGS'
1764
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1765
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1766
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1771
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1772
if test -f "$ac_dir/install-sh"; then
1774
ac_install_sh="$ac_aux_dir/install-sh -c"
1776
elif test -f "$ac_dir/install.sh"; then
1778
ac_install_sh="$ac_aux_dir/install.sh -c"
1780
elif test -f "$ac_dir/shtool"; then
1782
ac_install_sh="$ac_aux_dir/shtool install -c"
1786
if test -z "$ac_aux_dir"; then
1787
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1788
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1789
{ (exit 1); exit 1; }; }
1792
# These three variables are undocumented and unsupported,
1793
# and are intended to be withdrawn in a future Autoconf release.
1794
# They can cause serious problems if a builder's source tree is in a directory
1795
# whose full name contains unusual characters.
1796
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1797
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1798
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1801
# Make sure we can run config.sub.
1802
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1803
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1804
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1805
{ (exit 1); exit 1; }; }
1807
{ echo "$as_me:$LINENO: checking build system type" >&5
1808
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1809
if test "${ac_cv_build+set}" = set; then
1810
echo $ECHO_N "(cached) $ECHO_C" >&6
1812
ac_build_alias=$build_alias
1813
test "x$ac_build_alias" = x &&
1814
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1815
test "x$ac_build_alias" = x &&
1816
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1817
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1818
{ (exit 1); exit 1; }; }
1819
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1820
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1821
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1822
{ (exit 1); exit 1; }; }
1825
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1826
echo "${ECHO_T}$ac_cv_build" >&6; }
1827
case $ac_cv_build in
1829
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1830
echo "$as_me: error: invalid value of canonical build" >&2;}
1831
{ (exit 1); exit 1; }; };;
1834
ac_save_IFS=$IFS; IFS='-'
1840
# Remember, the first character of IFS is used to create $*,
1841
# except with old shells:
1844
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1847
{ echo "$as_me:$LINENO: checking host system type" >&5
1848
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1849
if test "${ac_cv_host+set}" = set; then
1850
echo $ECHO_N "(cached) $ECHO_C" >&6
1852
if test "x$host_alias" = x; then
1853
ac_cv_host=$ac_cv_build
1855
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1856
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1857
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1858
{ (exit 1); exit 1; }; }
1862
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1863
echo "${ECHO_T}$ac_cv_host" >&6; }
1866
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1867
echo "$as_me: error: invalid value of canonical host" >&2;}
1868
{ (exit 1); exit 1; }; };;
1871
ac_save_IFS=$IFS; IFS='-'
1877
# Remember, the first character of IFS is used to create $*,
1878
# except with old shells:
1881
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1884
{ echo "$as_me:$LINENO: checking target system type" >&5
1885
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1886
if test "${ac_cv_target+set}" = set; then
1887
echo $ECHO_N "(cached) $ECHO_C" >&6
1889
if test "x$target_alias" = x; then
1890
ac_cv_target=$ac_cv_host
1892
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1893
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1894
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1895
{ (exit 1); exit 1; }; }
1899
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1900
echo "${ECHO_T}$ac_cv_target" >&6; }
1901
case $ac_cv_target in
1903
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1904
echo "$as_me: error: invalid value of canonical target" >&2;}
1905
{ (exit 1); exit 1; }; };;
1907
target=$ac_cv_target
1908
ac_save_IFS=$IFS; IFS='-'
1914
# Remember, the first character of IFS is used to create $*,
1915
# except with old shells:
1918
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1921
# The aliases save the names the user supplied, while $host etc.
1922
# will get canonicalized.
1923
test -n "$target_alias" &&
1924
test "$program_prefix$program_suffix$program_transform_name" = \
1926
program_prefix=${target_alias}-
1928
am__api_version='1.10'
1930
# Find a good install program. We prefer a C program (faster),
1931
# so one script is as good as another. But avoid the broken or
1932
# incompatible versions:
1933
# SysV /etc/install, /usr/sbin/install
1934
# SunOS /usr/etc/install
1935
# IRIX /sbin/install
1937
# AmigaOS /C/install, which installs bootblocks on floppy discs
1938
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1939
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1940
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1941
# OS/2's system install, which has a completely different semantic
1942
# ./install, which can be erroneously created by make from ./install.sh.
1943
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1944
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1945
if test -z "$INSTALL"; then
1946
if test "${ac_cv_path_install+set}" = set; then
1947
echo $ECHO_N "(cached) $ECHO_C" >&6
1949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953
test -z "$as_dir" && as_dir=.
1954
# Account for people who put trailing slashes in PATH elements.
1956
./ | .// | /cC/* | \
1957
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1958
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1961
# OSF1 and SCO ODT 3.0 have their own names for install.
1962
# Don't use installbsd from OSF since it installs stuff as root
1964
for ac_prog in ginstall scoinst install; do
1965
for ac_exec_ext in '' $ac_executable_extensions; do
1966
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1967
if test $ac_prog = install &&
1968
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1969
# AIX install. It has an incompatible calling convention.
1971
elif test $ac_prog = install &&
1972
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1973
# program-specific install script used by HP pwplus--don't use.
1976
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1989
if test "${ac_cv_path_install+set}" = set; then
1990
INSTALL=$ac_cv_path_install
1992
# As a last resort, use the slow shell script. Don't cache a
1993
# value for INSTALL within a source directory, because that will
1994
# break other packages using the cache if that directory is
1995
# removed, or if the value is a relative name.
1996
INSTALL=$ac_install_sh
1999
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2000
echo "${ECHO_T}$INSTALL" >&6; }
2002
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2003
# It thinks the first close brace ends the variable substitution.
2004
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2006
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2008
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2010
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2011
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2014
echo timestamp > conftest.file
2015
# Do `set' in a subshell so we don't clobber the current shell's
2016
# arguments. Must try -L first in case configure is actually a
2017
# symlink; some systems play weird games with the mod time of symlinks
2018
# (eg FreeBSD returns the mod time of the symlink's containing
2021
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2022
if test "$*" = "X"; then
2024
set X `ls -t $srcdir/configure conftest.file`
2027
if test "$*" != "X $srcdir/configure conftest.file" \
2028
&& test "$*" != "X conftest.file $srcdir/configure"; then
2030
# If neither matched, then we have a broken ls. This can happen
2031
# if, for instance, CONFIG_SHELL is bash and it inherits a
2032
# broken ls alias from the environment. This has actually
2033
# happened. Such a system could not be considered "sane".
2034
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2035
alias in your environment" >&5
2036
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2037
alias in your environment" >&2;}
2038
{ (exit 1); exit 1; }; }
2041
test "$2" = conftest.file
2047
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2048
Check your system clock" >&5
2049
echo "$as_me: error: newly created file is older than distributed files!
2050
Check your system clock" >&2;}
2051
{ (exit 1); exit 1; }; }
2053
{ echo "$as_me:$LINENO: result: yes" >&5
2054
echo "${ECHO_T}yes" >&6; }
2055
test "$program_prefix" != NONE &&
2056
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2057
# Use a double $ so make ignores it.
2058
test "$program_suffix" != NONE &&
2059
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2060
# Double any \ or $. echo might interpret backslashes.
2061
# By default was `s,x,x', remove it if useless.
2062
cat <<\_ACEOF >conftest.sed
2063
s/[\\$]/&&/g;s/;s,x,x,$//
2065
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2068
# expand $ac_aux_dir to an absolute path
2069
am_aux_dir=`cd $ac_aux_dir && pwd`
2071
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2072
# Use eval to expand $SHELL
2073
if eval "$MISSING --run true"; then
2074
am_missing_run="$MISSING --run "
2077
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2078
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2081
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2082
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2083
if test -z "$MKDIR_P"; then
2084
if test "${ac_cv_path_mkdir+set}" = set; then
2085
echo $ECHO_N "(cached) $ECHO_C" >&6
2087
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2091
test -z "$as_dir" && as_dir=.
2092
for ac_prog in mkdir gmkdir; do
2093
for ac_exec_ext in '' $ac_executable_extensions; do
2094
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2095
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2096
'mkdir (GNU coreutils) '* | \
2097
'mkdir (coreutils) '* | \
2098
'mkdir (fileutils) '4.1*)
2099
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2109
if test "${ac_cv_path_mkdir+set}" = set; then
2110
MKDIR_P="$ac_cv_path_mkdir -p"
2112
# As a last resort, use the slow shell script. Don't cache a
2113
# value for MKDIR_P within a source directory, because that will
2114
# break other packages using the cache if that directory is
2115
# removed, or if the value is a relative name.
2116
test -d ./--version && rmdir ./--version
2117
MKDIR_P="$ac_install_sh -d"
2120
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2121
echo "${ECHO_T}$MKDIR_P" >&6; }
2125
[\\/$]* | ?:[\\/]*) ;;
2126
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2129
for ac_prog in gawk mawk nawk awk
2131
# Extract the first word of "$ac_prog", so it can be a program name with args.
2132
set dummy $ac_prog; ac_word=$2
2133
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2134
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2135
if test "${ac_cv_prog_AWK+set}" = set; then
2136
echo $ECHO_N "(cached) $ECHO_C" >&6
2138
if test -n "$AWK"; then
2139
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2141
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145
test -z "$as_dir" && as_dir=.
2146
for ac_exec_ext in '' $ac_executable_extensions; do
2147
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2148
ac_cv_prog_AWK="$ac_prog"
2149
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2159
if test -n "$AWK"; then
2160
{ echo "$as_me:$LINENO: result: $AWK" >&5
2161
echo "${ECHO_T}$AWK" >&6; }
2163
{ echo "$as_me:$LINENO: result: no" >&5
2164
echo "${ECHO_T}no" >&6; }
2168
test -n "$AWK" && break
2171
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2172
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2173
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2174
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2175
echo $ECHO_N "(cached) $ECHO_C" >&6
2177
cat >conftest.make <<\_ACEOF
2180
@echo '@@@%%%=$(MAKE)=@@@%%%'
2182
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2183
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2185
eval ac_cv_prog_make_${ac_make}_set=yes;;
2187
eval ac_cv_prog_make_${ac_make}_set=no;;
2191
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2192
{ echo "$as_me:$LINENO: result: yes" >&5
2193
echo "${ECHO_T}yes" >&6; }
2196
{ echo "$as_me:$LINENO: result: no" >&5
2197
echo "${ECHO_T}no" >&6; }
2198
SET_MAKE="MAKE=${MAKE-make}"
2201
rm -rf .tst 2>/dev/null
2202
mkdir .tst 2>/dev/null
2203
if test -d .tst; then
2208
rmdir .tst 2>/dev/null
2210
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2211
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2212
# is not polluted with repeated "-I."
2213
am__isrc=' -I$(srcdir)'
2214
# test to see if srcdir already configured
2215
if test -f $srcdir/config.status; then
2216
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2217
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2218
{ (exit 1); exit 1; }; }
2222
# test whether we have cygpath
2223
if test -z "$CYGPATH_W"; then
2224
if (cygpath --version) >/dev/null 2>/dev/null; then
2225
CYGPATH_W='cygpath -w'
2232
# Define the identity of the package.
2237
cat >>confdefs.h <<_ACEOF
2238
@%:@define PACKAGE "$PACKAGE"
2242
cat >>confdefs.h <<_ACEOF
2243
@%:@define VERSION "$VERSION"
2246
# Some tools Automake needs.
2248
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2251
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2254
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2257
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2260
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2262
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2264
# Installed binaries are usually stripped using `strip' when the user
2265
# run `make install-strip'. However `strip' might not be the right
2266
# tool to use in cross-compilation environments, therefore Automake
2267
# will honor the `STRIP' environment variable to overrule this program.
2268
if test "$cross_compiling" != no; then
2269
if test -n "$ac_tool_prefix"; then
2270
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2271
set dummy ${ac_tool_prefix}strip; ac_word=$2
2272
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274
if test "${ac_cv_prog_STRIP+set}" = set; then
2275
echo $ECHO_N "(cached) $ECHO_C" >&6
2277
if test -n "$STRIP"; then
2278
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284
test -z "$as_dir" && as_dir=.
2285
for ac_exec_ext in '' $ac_executable_extensions; do
2286
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2288
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297
STRIP=$ac_cv_prog_STRIP
2298
if test -n "$STRIP"; then
2299
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2300
echo "${ECHO_T}$STRIP" >&6; }
2302
{ echo "$as_me:$LINENO: result: no" >&5
2303
echo "${ECHO_T}no" >&6; }
2308
if test -z "$ac_cv_prog_STRIP"; then
2310
# Extract the first word of "strip", so it can be a program name with args.
2311
set dummy strip; ac_word=$2
2312
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2313
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2314
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2315
echo $ECHO_N "(cached) $ECHO_C" >&6
2317
if test -n "$ac_ct_STRIP"; then
2318
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324
test -z "$as_dir" && as_dir=.
2325
for ac_exec_ext in '' $ac_executable_extensions; do
2326
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327
ac_cv_prog_ac_ct_STRIP="strip"
2328
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2338
if test -n "$ac_ct_STRIP"; then
2339
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2340
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2342
{ echo "$as_me:$LINENO: result: no" >&5
2343
echo "${ECHO_T}no" >&6; }
2346
if test "x$ac_ct_STRIP" = x; then
2349
case $cross_compiling:$ac_tool_warned in
2351
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352
whose name does not start with the host triplet. If you think this
2353
configuration is useful to you, please write to autoconf@gnu.org." >&5
2354
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355
whose name does not start with the host triplet. If you think this
2356
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357
ac_tool_warned=yes ;;
2362
STRIP="$ac_cv_prog_STRIP"
2366
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2368
# We need awk for the "check" target. The system "awk" is bad on
2370
# Always define AMTAR for backward compatibility.
2372
AMTAR=${AMTAR-"${am_missing_run}tar"}
2374
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2381
if test `which windres` != ""; then
2383
HAVE_WINDRES_FALSE='#'
2385
HAVE_WINDRES_TRUE='#'
2454
if test -z "$host"; then
2457
canonical_host_type=$host
2458
if test "$host" = unknown; then
2459
{ { echo "$as_me:$LINENO: error: configuring for unknown system type, your build will most likely be screwed." >&5
2460
echo "$as_me: error: configuring for unknown system type, your build will most likely be screwed." >&2;}
2461
{ (exit 1); exit 1; }; }
2464
case "$canonical_host_type" in
2466
LDFLAGS="$LDFLAGS -L/sw/lib"
2467
CFLAGS="$CFLAGS -I/sw/include"
2468
CXXFLAGS="$CXXFLAGS -I/sw/include"
2476
acx_platform_def="GENERIC"
2477
case "$canonical_host_type" in
2478
*-*-386bsd* | *-*-openbsd* | *-*-netbsd*)
2479
acx_platform_def="BSD"
2481
cat >>confdefs.h <<\_ACEOF
2487
acx_platform_def="BSD"
2489
cat >>confdefs.h <<\_ACEOF
2495
acx_platform_def="DEC_ALPHA"
2497
cat >>confdefs.h <<\_ACEOF
2498
@%:@define DEC_ALPHA 1
2504
cat >>confdefs.h <<\_ACEOF
2510
acx_platform_def="WIN32"
2512
cat >>confdefs.h <<\_ACEOF
2518
acx_platform_def="WIN32"
2520
cat >>confdefs.h <<\_ACEOF
2521
@%:@define MINGW32 1
2525
cat >>confdefs.h <<\_ACEOF
2530
*-*-linux* | *-*-gnu*)
2532
cat >>confdefs.h <<\_ACEOF
2537
i[3456]86-*-sco3.2v5*)
2539
cat >>confdefs.h <<\_ACEOF
2540
@%:@define BASTARDS 1
2544
rs6000-ibm-aix* | powerpc-ibm-aix*)
2545
acx_platform_def="AIX"
2547
cat >>confdefs.h <<\_ACEOF
2554
cat >>confdefs.h <<\_ACEOF
2561
cat >>confdefs.h <<\_ACEOF
2568
cat >>confdefs.h <<\_ACEOF
2573
sparc-sun-solaris2* | i386-pc-solaris2*)
2575
cat >>confdefs.h <<\_ACEOF
2576
@%:@define SOLARIS 1
2582
if test "$acx_platform_def" = "AIX"; then
2583
IBM_IS_PIECE_OF_SHIT_TRUE=
2584
IBM_IS_PIECE_OF_SHIT_FALSE='#'
2586
IBM_IS_PIECE_OF_SHIT_TRUE='#'
2587
IBM_IS_PIECE_OF_SHIT_FALSE=
2595
# Check whether --with-debug was given.
2596
if test "${with_debug+set}" = set; then
2597
withval=$with_debug; acx_debug=yes
2601
{ echo "$as_me:$LINENO: checking for default compilation flags" >&5
2602
echo $ECHO_N "checking for default compilation flags... $ECHO_C" >&6; }
2604
if test "$acx_debug" = yes; then
2605
{ echo "$as_me:$LINENO: result: debugging" >&5
2606
echo "${ECHO_T}debugging" >&6; }
2607
if test "$CFLAGS" = ""; then
2611
if test "$FCFLAGS" = ""; then
2615
if test "$FFLAGS" = ""; then
2619
if test "$CXXFLAGS" = ""; then
2623
{ echo "$as_me:$LINENO: result: optimized" >&5
2624
echo "${ECHO_T}optimized" >&6; }
2625
case "$canonical_host_type" in
2626
rs6000-ibm-aix* | powerpc-ibm-aix*)
2627
ACX_OPT_FLAG="-O -qmaxmem=-1 -qstrict"
2634
if test "$CFLAGS" = ""; then
2635
CFLAGS=$ACX_OPT_FLAG
2638
if test "$FCFLAGS" = ""; then
2639
FCFLAGS=$ACX_OPT_FLAG
2642
if test "$FFLAGS" = ""; then
2643
FFLAGS=$ACX_OPT_FLAG
2646
if test "$CXXFLAGS" = ""; then
2647
CXXFLAGS=$ACX_OPT_FLAG
2653
# fixme: do something more intelligent here
2654
{ echo "$as_me:$LINENO: checking for ar" >&5
2655
echo $ECHO_N "checking for ar... $ECHO_C" >&6; }
2656
if test -z "$AR"; then
2658
acx_ar_userdefined=no
2660
acx_ar_userdefined=yes
2663
{ echo "$as_me:$LINENO: result: $AR" >&5
2664
echo "${ECHO_T}$AR" >&6; }
2666
{ echo "$as_me:$LINENO: checking for ar flags" >&5
2667
echo $ECHO_N "checking for ar flags... $ECHO_C" >&6; }
2668
if test -z "$ARFLAGS"; then
2672
{ echo "$as_me:$LINENO: result: $ARFLAGS" >&5
2673
echo "${ECHO_T}$ARFLAGS" >&6; }
2676
if test -n "$ac_tool_prefix"; then
2677
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2678
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2679
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2680
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2681
if test "${ac_cv_prog_RANLIB+set}" = set; then
2682
echo $ECHO_N "(cached) $ECHO_C" >&6
2684
if test -n "$RANLIB"; then
2685
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691
test -z "$as_dir" && as_dir=.
2692
for ac_exec_ext in '' $ac_executable_extensions; do
2693
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2695
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704
RANLIB=$ac_cv_prog_RANLIB
2705
if test -n "$RANLIB"; then
2706
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
2707
echo "${ECHO_T}$RANLIB" >&6; }
2709
{ echo "$as_me:$LINENO: result: no" >&5
2710
echo "${ECHO_T}no" >&6; }
2715
if test -z "$ac_cv_prog_RANLIB"; then
2716
ac_ct_RANLIB=$RANLIB
2717
# Extract the first word of "ranlib", so it can be a program name with args.
2718
set dummy ranlib; ac_word=$2
2719
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2720
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2721
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2722
echo $ECHO_N "(cached) $ECHO_C" >&6
2724
if test -n "$ac_ct_RANLIB"; then
2725
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731
test -z "$as_dir" && as_dir=.
2732
for ac_exec_ext in '' $ac_executable_extensions; do
2733
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734
ac_cv_prog_ac_ct_RANLIB="ranlib"
2735
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2745
if test -n "$ac_ct_RANLIB"; then
2746
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2747
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2749
{ echo "$as_me:$LINENO: result: no" >&5
2750
echo "${ECHO_T}no" >&6; }
2753
if test "x$ac_ct_RANLIB" = x; then
2756
case $cross_compiling:$ac_tool_warned in
2758
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2759
whose name does not start with the host triplet. If you think this
2760
configuration is useful to you, please write to autoconf@gnu.org." >&5
2761
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2762
whose name does not start with the host triplet. If you think this
2763
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2764
ac_tool_warned=yes ;;
2766
RANLIB=$ac_ct_RANLIB
2769
RANLIB="$ac_cv_prog_RANLIB"
2775
ac_cpp='$CPP $CPPFLAGS'
2776
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2777
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2778
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2779
if test -n "$ac_tool_prefix"; then
2780
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2781
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2782
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2783
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2784
if test "${ac_cv_prog_CC+set}" = set; then
2785
echo $ECHO_N "(cached) $ECHO_C" >&6
2787
if test -n "$CC"; then
2788
ac_cv_prog_CC="$CC" # Let the user override the test.
2790
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794
test -z "$as_dir" && as_dir=.
2795
for ac_exec_ext in '' $ac_executable_extensions; do
2796
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2798
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2808
if test -n "$CC"; then
2809
{ echo "$as_me:$LINENO: result: $CC" >&5
2810
echo "${ECHO_T}$CC" >&6; }
2812
{ echo "$as_me:$LINENO: result: no" >&5
2813
echo "${ECHO_T}no" >&6; }
2818
if test -z "$ac_cv_prog_CC"; then
2820
# Extract the first word of "gcc", so it can be a program name with args.
2821
set dummy gcc; ac_word=$2
2822
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2824
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2825
echo $ECHO_N "(cached) $ECHO_C" >&6
2827
if test -n "$ac_ct_CC"; then
2828
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834
test -z "$as_dir" && as_dir=.
2835
for ac_exec_ext in '' $ac_executable_extensions; do
2836
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837
ac_cv_prog_ac_ct_CC="gcc"
2838
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2848
if test -n "$ac_ct_CC"; then
2849
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2850
echo "${ECHO_T}$ac_ct_CC" >&6; }
2852
{ echo "$as_me:$LINENO: result: no" >&5
2853
echo "${ECHO_T}no" >&6; }
2856
if test "x$ac_ct_CC" = x; then
2859
case $cross_compiling:$ac_tool_warned in
2861
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2862
whose name does not start with the host triplet. If you think this
2863
configuration is useful to you, please write to autoconf@gnu.org." >&5
2864
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2865
whose name does not start with the host triplet. If you think this
2866
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2867
ac_tool_warned=yes ;;
2875
if test -z "$CC"; then
2876
if test -n "$ac_tool_prefix"; then
2877
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2878
set dummy ${ac_tool_prefix}cc; ac_word=$2
2879
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2880
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2881
if test "${ac_cv_prog_CC+set}" = set; then
2882
echo $ECHO_N "(cached) $ECHO_C" >&6
2884
if test -n "$CC"; then
2885
ac_cv_prog_CC="$CC" # Let the user override the test.
2887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891
test -z "$as_dir" && as_dir=.
2892
for ac_exec_ext in '' $ac_executable_extensions; do
2893
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894
ac_cv_prog_CC="${ac_tool_prefix}cc"
2895
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905
if test -n "$CC"; then
2906
{ echo "$as_me:$LINENO: result: $CC" >&5
2907
echo "${ECHO_T}$CC" >&6; }
2909
{ echo "$as_me:$LINENO: result: no" >&5
2910
echo "${ECHO_T}no" >&6; }
2916
if test -z "$CC"; then
2917
# Extract the first word of "cc", so it can be a program name with args.
2918
set dummy cc; ac_word=$2
2919
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2920
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2921
if test "${ac_cv_prog_CC+set}" = set; then
2922
echo $ECHO_N "(cached) $ECHO_C" >&6
2924
if test -n "$CC"; then
2925
ac_cv_prog_CC="$CC" # Let the user override the test.
2928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932
test -z "$as_dir" && as_dir=.
2933
for ac_exec_ext in '' $ac_executable_extensions; do
2934
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2936
ac_prog_rejected=yes
2940
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2947
if test $ac_prog_rejected = yes; then
2948
# We found a bogon in the path, so make sure we never use it.
2949
set dummy $ac_cv_prog_CC
2951
if test $@%:@ != 0; then
2952
# We chose a different compiler from the bogus one.
2953
# However, it has the same basename, so the bogon will be chosen
2954
# first if we set CC to just the basename; use the full file name.
2956
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2962
if test -n "$CC"; then
2963
{ echo "$as_me:$LINENO: result: $CC" >&5
2964
echo "${ECHO_T}$CC" >&6; }
2966
{ echo "$as_me:$LINENO: result: no" >&5
2967
echo "${ECHO_T}no" >&6; }
2972
if test -z "$CC"; then
2973
if test -n "$ac_tool_prefix"; then
2974
for ac_prog in cl.exe
2976
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2977
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2978
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2979
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2980
if test "${ac_cv_prog_CC+set}" = set; then
2981
echo $ECHO_N "(cached) $ECHO_C" >&6
2983
if test -n "$CC"; then
2984
ac_cv_prog_CC="$CC" # Let the user override the test.
2986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990
test -z "$as_dir" && as_dir=.
2991
for ac_exec_ext in '' $ac_executable_extensions; do
2992
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2994
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3004
if test -n "$CC"; then
3005
{ echo "$as_me:$LINENO: result: $CC" >&5
3006
echo "${ECHO_T}$CC" >&6; }
3008
{ echo "$as_me:$LINENO: result: no" >&5
3009
echo "${ECHO_T}no" >&6; }
3013
test -n "$CC" && break
3016
if test -z "$CC"; then
3018
for ac_prog in cl.exe
3020
# Extract the first word of "$ac_prog", so it can be a program name with args.
3021
set dummy $ac_prog; ac_word=$2
3022
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3023
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3024
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3025
echo $ECHO_N "(cached) $ECHO_C" >&6
3027
if test -n "$ac_ct_CC"; then
3028
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034
test -z "$as_dir" && as_dir=.
3035
for ac_exec_ext in '' $ac_executable_extensions; do
3036
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037
ac_cv_prog_ac_ct_CC="$ac_prog"
3038
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3047
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3048
if test -n "$ac_ct_CC"; then
3049
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3050
echo "${ECHO_T}$ac_ct_CC" >&6; }
3052
{ echo "$as_me:$LINENO: result: no" >&5
3053
echo "${ECHO_T}no" >&6; }
3057
test -n "$ac_ct_CC" && break
3060
if test "x$ac_ct_CC" = x; then
3063
case $cross_compiling:$ac_tool_warned in
3065
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3066
whose name does not start with the host triplet. If you think this
3067
configuration is useful to you, please write to autoconf@gnu.org." >&5
3068
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3069
whose name does not start with the host triplet. If you think this
3070
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3071
ac_tool_warned=yes ;;
3080
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3081
See \`config.log' for more details." >&5
3082
echo "$as_me: error: no acceptable C compiler found in \$PATH
3083
See \`config.log' for more details." >&2;}
3084
{ (exit 1); exit 1; }; }
3086
# Provide some information about the compiler.
3087
echo "$as_me:$LINENO: checking for C compiler version" >&5
3088
ac_compiler=`set X $ac_compile; echo $2`
3089
{ (ac_try="$ac_compiler --version >&5"
3091
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092
*) ac_try_echo=$ac_try;;
3094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3095
(eval "$ac_compiler --version >&5") 2>&5
3097
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098
(exit $ac_status); }
3099
{ (ac_try="$ac_compiler -v >&5"
3101
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102
*) ac_try_echo=$ac_try;;
3104
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105
(eval "$ac_compiler -v >&5") 2>&5
3107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108
(exit $ac_status); }
3109
{ (ac_try="$ac_compiler -V >&5"
3111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112
*) ac_try_echo=$ac_try;;
3114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3115
(eval "$ac_compiler -V >&5") 2>&5
3117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
(exit $ac_status); }
3120
cat >conftest.$ac_ext <<_ACEOF
3123
cat confdefs.h >>conftest.$ac_ext
3124
cat >>conftest.$ac_ext <<_ACEOF
3125
/* end confdefs.h. */
3135
ac_clean_files_save=$ac_clean_files
3136
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3137
# Try to create an executable without -o first, disregard a.out.
3138
# It will help us diagnose broken compilers, and finding out an intuition
3140
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3141
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3142
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3144
# List of possible output files, starting from the most likely.
3145
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3146
# only as a last resort. b.out is created by i960 compilers.
3147
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3149
# The IRIX 6 linker writes into existing files which may not be
3150
# executable, retaining their permissions. Remove them first so a
3151
# subsequent execution test works.
3153
for ac_file in $ac_files
3156
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3157
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3162
if { (ac_try="$ac_link_default"
3164
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165
*) ac_try_echo=$ac_try;;
3167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3168
(eval "$ac_link_default") 2>&5
3170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
(exit $ac_status); }; then
3172
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3173
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3174
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3175
# so that the user can short-circuit this test for compilers unknown to
3177
for ac_file in $ac_files ''
3179
test -f "$ac_file" || continue
3181
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3184
# We found the default executable, but exeext='' is most
3188
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3190
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3192
# We set ac_cv_exeext here because the later test for it is not
3193
# safe: cross compilers may not add the suffix if given an `-o'
3194
# argument, so we may need to know it at that point already.
3195
# Even if this section looks crufty: it has the advantage of
3202
test "$ac_cv_exeext" = no && ac_cv_exeext=
3208
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3209
echo "${ECHO_T}$ac_file" >&6; }
3210
if test -z "$ac_file"; then
3211
echo "$as_me: failed program was:" >&5
3212
sed 's/^/| /' conftest.$ac_ext >&5
3214
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3215
See \`config.log' for more details." >&5
3216
echo "$as_me: error: C compiler cannot create executables
3217
See \`config.log' for more details." >&2;}
3218
{ (exit 77); exit 77; }; }
3221
ac_exeext=$ac_cv_exeext
3223
# Check that the compiler produces executables we can run. If not, either
3224
# the compiler is broken, or we cross compile.
3225
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3226
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3227
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3228
# If not cross compiling, check that we can run a simple program.
3229
if test "$cross_compiling" != yes; then
3230
if { ac_try='./$ac_file'
3231
{ (case "(($ac_try" in
3232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233
*) ac_try_echo=$ac_try;;
3235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3236
(eval "$ac_try") 2>&5
3238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239
(exit $ac_status); }; }; then
3242
if test "$cross_compiling" = maybe; then
3245
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3246
If you meant to cross compile, use \`--host'.
3247
See \`config.log' for more details." >&5
3248
echo "$as_me: error: cannot run C compiled programs.
3249
If you meant to cross compile, use \`--host'.
3250
See \`config.log' for more details." >&2;}
3251
{ (exit 1); exit 1; }; }
3255
{ echo "$as_me:$LINENO: result: yes" >&5
3256
echo "${ECHO_T}yes" >&6; }
3258
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3259
ac_clean_files=$ac_clean_files_save
3260
# Check that the compiler produces executables we can run. If not, either
3261
# the compiler is broken, or we cross compile.
3262
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3263
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3264
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3265
echo "${ECHO_T}$cross_compiling" >&6; }
3267
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3268
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3269
if { (ac_try="$ac_link"
3271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272
*) ac_try_echo=$ac_try;;
3274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3275
(eval "$ac_link") 2>&5
3277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278
(exit $ac_status); }; then
3279
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3280
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3281
# work properly (i.e., refer to `conftest.exe'), while it won't with
3283
for ac_file in conftest.exe conftest conftest.*; do
3284
test -f "$ac_file" || continue
3286
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3287
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3293
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3294
See \`config.log' for more details." >&5
3295
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3296
See \`config.log' for more details." >&2;}
3297
{ (exit 1); exit 1; }; }
3300
rm -f conftest$ac_cv_exeext
3301
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3302
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3304
rm -f conftest.$ac_ext
3305
EXEEXT=$ac_cv_exeext
3307
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3308
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3309
if test "${ac_cv_objext+set}" = set; then
3310
echo $ECHO_N "(cached) $ECHO_C" >&6
3312
cat >conftest.$ac_ext <<_ACEOF
3315
cat confdefs.h >>conftest.$ac_ext
3316
cat >>conftest.$ac_ext <<_ACEOF
3317
/* end confdefs.h. */
3327
rm -f conftest.o conftest.obj
3328
if { (ac_try="$ac_compile"
3330
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331
*) ac_try_echo=$ac_try;;
3333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3334
(eval "$ac_compile") 2>&5
3336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337
(exit $ac_status); }; then
3338
for ac_file in conftest.o conftest.obj conftest.*; do
3339
test -f "$ac_file" || continue;
3341
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3342
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3347
echo "$as_me: failed program was:" >&5
3348
sed 's/^/| /' conftest.$ac_ext >&5
3350
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3351
See \`config.log' for more details." >&5
3352
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3353
See \`config.log' for more details." >&2;}
3354
{ (exit 1); exit 1; }; }
3357
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3359
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3360
echo "${ECHO_T}$ac_cv_objext" >&6; }
3361
OBJEXT=$ac_cv_objext
3363
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3364
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3365
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3366
echo $ECHO_N "(cached) $ECHO_C" >&6
3368
cat >conftest.$ac_ext <<_ACEOF
3371
cat confdefs.h >>conftest.$ac_ext
3372
cat >>conftest.$ac_ext <<_ACEOF
3373
/* end confdefs.h. */
3386
rm -f conftest.$ac_objext
3387
if { (ac_try="$ac_compile"
3389
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390
*) ac_try_echo=$ac_try;;
3392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3393
(eval "$ac_compile") 2>conftest.er1
3395
grep -v '^ *+' conftest.er1 >conftest.err
3397
cat conftest.err >&5
3398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
(exit $ac_status); } && {
3400
test -z "$ac_c_werror_flag" ||
3401
test ! -s conftest.err
3402
} && test -s conftest.$ac_objext; then
3405
echo "$as_me: failed program was:" >&5
3406
sed 's/^/| /' conftest.$ac_ext >&5
3411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3415
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3416
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3417
GCC=`test $ac_compiler_gnu = yes && echo yes`
3418
ac_test_CFLAGS=${CFLAGS+set}
3419
ac_save_CFLAGS=$CFLAGS
3420
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3421
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3422
if test "${ac_cv_prog_cc_g+set}" = set; then
3423
echo $ECHO_N "(cached) $ECHO_C" >&6
3425
ac_save_c_werror_flag=$ac_c_werror_flag
3426
ac_c_werror_flag=yes
3429
cat >conftest.$ac_ext <<_ACEOF
3432
cat confdefs.h >>conftest.$ac_ext
3433
cat >>conftest.$ac_ext <<_ACEOF
3434
/* end confdefs.h. */
3444
rm -f conftest.$ac_objext
3445
if { (ac_try="$ac_compile"
3447
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448
*) ac_try_echo=$ac_try;;
3450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451
(eval "$ac_compile") 2>conftest.er1
3453
grep -v '^ *+' conftest.er1 >conftest.err
3455
cat conftest.err >&5
3456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457
(exit $ac_status); } && {
3458
test -z "$ac_c_werror_flag" ||
3459
test ! -s conftest.err
3460
} && test -s conftest.$ac_objext; then
3463
echo "$as_me: failed program was:" >&5
3464
sed 's/^/| /' conftest.$ac_ext >&5
3467
cat >conftest.$ac_ext <<_ACEOF
3470
cat confdefs.h >>conftest.$ac_ext
3471
cat >>conftest.$ac_ext <<_ACEOF
3472
/* end confdefs.h. */
3482
rm -f conftest.$ac_objext
3483
if { (ac_try="$ac_compile"
3485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486
*) ac_try_echo=$ac_try;;
3488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3489
(eval "$ac_compile") 2>conftest.er1
3491
grep -v '^ *+' conftest.er1 >conftest.err
3493
cat conftest.err >&5
3494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495
(exit $ac_status); } && {
3496
test -z "$ac_c_werror_flag" ||
3497
test ! -s conftest.err
3498
} && test -s conftest.$ac_objext; then
3501
echo "$as_me: failed program was:" >&5
3502
sed 's/^/| /' conftest.$ac_ext >&5
3504
ac_c_werror_flag=$ac_save_c_werror_flag
3506
cat >conftest.$ac_ext <<_ACEOF
3509
cat confdefs.h >>conftest.$ac_ext
3510
cat >>conftest.$ac_ext <<_ACEOF
3511
/* end confdefs.h. */
3521
rm -f conftest.$ac_objext
3522
if { (ac_try="$ac_compile"
3524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525
*) ac_try_echo=$ac_try;;
3527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3528
(eval "$ac_compile") 2>conftest.er1
3530
grep -v '^ *+' conftest.er1 >conftest.err
3532
cat conftest.err >&5
3533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
(exit $ac_status); } && {
3535
test -z "$ac_c_werror_flag" ||
3536
test ! -s conftest.err
3537
} && test -s conftest.$ac_objext; then
3540
echo "$as_me: failed program was:" >&5
3541
sed 's/^/| /' conftest.$ac_ext >&5
3546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3549
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3553
ac_c_werror_flag=$ac_save_c_werror_flag
3555
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3556
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3557
if test "$ac_test_CFLAGS" = set; then
3558
CFLAGS=$ac_save_CFLAGS
3559
elif test $ac_cv_prog_cc_g = yes; then
3560
if test "$GCC" = yes; then
3566
if test "$GCC" = yes; then
3572
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3573
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3574
if test "${ac_cv_prog_cc_c89+set}" = set; then
3575
echo $ECHO_N "(cached) $ECHO_C" >&6
3577
ac_cv_prog_cc_c89=no
3579
cat >conftest.$ac_ext <<_ACEOF
3582
cat confdefs.h >>conftest.$ac_ext
3583
cat >>conftest.$ac_ext <<_ACEOF
3584
/* end confdefs.h. */
3587
#include <sys/types.h>
3588
#include <sys/stat.h>
3589
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3590
struct buf { int x; };
3591
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3592
static char *e (p, i)
3598
static char *f (char * (*g) (char **, int), char **p, ...)
3603
s = g (p, va_arg (v,int));
3608
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3609
function prototypes and stuff, but not '\xHH' hex character constants.
3610
These don't provoke an error unfortunately, instead are silently treated
3611
as 'x'. The following induces an error, until -std is added to get
3612
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3613
array size at least. It's necessary to write '\x00'==0 to get something
3614
that's true only with -std. */
3615
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3617
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3618
inside strings and character constants. */
3620
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3622
int test (int i, double x);
3623
struct s1 {int (*f) (int a);};
3624
struct s2 {int (*f) (double a);};
3625
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3631
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3636
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3637
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3639
CC="$ac_save_CC $ac_arg"
3640
rm -f conftest.$ac_objext
3641
if { (ac_try="$ac_compile"
3643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644
*) ac_try_echo=$ac_try;;
3646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3647
(eval "$ac_compile") 2>conftest.er1
3649
grep -v '^ *+' conftest.er1 >conftest.err
3651
cat conftest.err >&5
3652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653
(exit $ac_status); } && {
3654
test -z "$ac_c_werror_flag" ||
3655
test ! -s conftest.err
3656
} && test -s conftest.$ac_objext; then
3657
ac_cv_prog_cc_c89=$ac_arg
3659
echo "$as_me: failed program was:" >&5
3660
sed 's/^/| /' conftest.$ac_ext >&5
3665
rm -f core conftest.err conftest.$ac_objext
3666
test "x$ac_cv_prog_cc_c89" != "xno" && break
3668
rm -f conftest.$ac_ext
3673
case "x$ac_cv_prog_cc_c89" in
3675
{ echo "$as_me:$LINENO: result: none needed" >&5
3676
echo "${ECHO_T}none needed" >&6; } ;;
3678
{ echo "$as_me:$LINENO: result: unsupported" >&5
3679
echo "${ECHO_T}unsupported" >&6; } ;;
3681
CC="$CC $ac_cv_prog_cc_c89"
3682
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3683
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3688
ac_cpp='$CPP $CPPFLAGS'
3689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692
DEPDIR="${am__leading_dot}deps"
3694
ac_config_commands="$ac_config_commands depfiles"
3697
am_make=${MAKE-make}
3698
cat > confinc << 'END'
3703
# If we don't find an include directive, just comment out the code.
3704
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3705
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3709
# First try GNU make style include.
3710
echo "include confinc" > confmf
3711
# We grep out `Entering directory' and `Leaving directory'
3712
# messages which can occur if `w' ends up in MAKEFLAGS.
3713
# In particular we don't look at `^make:' because GNU make might
3714
# be invoked under some other name (usually "gmake"), in which
3715
# case it prints its new name instead of `make'.
3716
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3721
# Now try BSD make style include.
3722
if test "$am__include" = "#"; then
3723
echo '.include "confinc"' > confmf
3724
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3725
am__include=.include
3732
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3733
echo "${ECHO_T}$_am_result" >&6; }
3734
rm -f confinc confmf
3736
# Check whether --enable-dependency-tracking was given.
3737
if test "${enable_dependency_tracking+set}" = set; then
3738
enableval=$enable_dependency_tracking;
3741
if test "x$enable_dependency_tracking" != xno; then
3742
am_depcomp="$ac_aux_dir/depcomp"
3745
if test "x$enable_dependency_tracking" != xno; then
3755
depcc="$CC" am_compiler_list=
3757
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3758
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3759
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3760
echo $ECHO_N "(cached) $ECHO_C" >&6
3762
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3763
# We make a subdir and do the tests there. Otherwise we can end up
3764
# making bogus files that we don't know about and never remove. For
3765
# instance it was reported that on HP-UX the gcc test will end up
3766
# making a dummy file named `D' -- because `-MD' means `put the output
3769
# Copy depcomp to subdir because otherwise we won't find it if we're
3770
# using a relative directory.
3771
cp "$am_depcomp" conftest.dir
3773
# We will build objects and dependencies in a subdirectory because
3774
# it helps to detect inapplicable dependency modes. For instance
3775
# both Tru64's cc and ICC support -MD to output dependencies as a
3776
# side effect of compilation, but ICC will put the dependencies in
3777
# the current directory while Tru64 will put them in the object
3781
am_cv_CC_dependencies_compiler_type=none
3782
if test "$am_compiler_list" = ""; then
3783
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3785
for depmode in $am_compiler_list; do
3786
# Setup a source with many dependencies, because some compilers
3787
# like to wrap large dependency lists on column 80 (with \), and
3788
# we should not choose a depcomp mode which is confused by this.
3790
# We need to recreate these files for each test, as the compiler may
3791
# overwrite some of them when testing with obscure command lines.
3792
# This happens at least with the AIX C compiler.
3794
for i in 1 2 3 4 5 6; do
3795
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3796
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3797
# Solaris 8's {/usr,}/bin/sh.
3798
touch sub/conftst$i.h
3800
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3804
# after this tag, mechanisms are not by side-effect, so they'll
3805
# only be used when explicitly requested
3806
if test "x$enable_dependency_tracking" = xyes; then
3814
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3815
# mode. It turns out that the SunPro C++ compiler does not properly
3816
# handle `-M -o', and we need to detect this.
3817
if depmode=$depmode \
3818
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3819
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3820
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3821
>/dev/null 2>conftest.err &&
3822
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3823
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3824
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3825
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3826
# icc doesn't choke on unknown options, it will just issue warnings
3827
# or remarks (even with -Werror). So we grep stderr for any message
3828
# that says an option was ignored or not supported.
3829
# When given -MP, icc 7.0 and 7.1 complain thusly:
3830
# icc: Command line warning: ignoring option '-M'; no argument required
3831
# The diagnosis changed in icc 8.0:
3832
# icc: Command line remark: option '-MP' not supported
3833
if (grep 'ignoring option' conftest.err ||
3834
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3835
am_cv_CC_dependencies_compiler_type=$depmode
3844
am_cv_CC_dependencies_compiler_type=none
3848
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3849
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3850
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3853
test "x$enable_dependency_tracking" != xno \
3854
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3856
am__fastdepCC_FALSE='#'
3858
am__fastdepCC_TRUE='#'
3859
am__fastdepCC_FALSE=
3865
ac_cpp='$CPP $CPPFLAGS'
3866
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3870
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3871
# On Suns, sometimes $CPP names a directory.
3872
if test -n "$CPP" && test -d "$CPP"; then
3875
if test -z "$CPP"; then
3876
if test "${ac_cv_prog_CPP+set}" = set; then
3877
echo $ECHO_N "(cached) $ECHO_C" >&6
3879
# Double quotes because CPP needs to be expanded
3880
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3883
for ac_c_preproc_warn_flag in '' yes
3885
# Use a header file that comes with gcc, so configuring glibc
3886
# with a fresh cross-compiler works.
3887
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3888
# <limits.h> exists even on freestanding compilers.
3889
# On the NeXT, cc -E runs the code through the compiler's parser,
3890
# not just through cpp. "Syntax error" is here to catch this case.
3891
cat >conftest.$ac_ext <<_ACEOF
3894
cat confdefs.h >>conftest.$ac_ext
3895
cat >>conftest.$ac_ext <<_ACEOF
3896
/* end confdefs.h. */
3898
@%:@ include <limits.h>
3900
@%:@ include <assert.h>
3904
if { (ac_try="$ac_cpp conftest.$ac_ext"
3906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907
*) ac_try_echo=$ac_try;;
3909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3910
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3912
grep -v '^ *+' conftest.er1 >conftest.err
3914
cat conftest.err >&5
3915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916
(exit $ac_status); } >/dev/null && {
3917
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3918
test ! -s conftest.err
3922
echo "$as_me: failed program was:" >&5
3923
sed 's/^/| /' conftest.$ac_ext >&5
3925
# Broken: fails on valid input.
3929
rm -f conftest.err conftest.$ac_ext
3931
# OK, works on sane cases. Now check whether nonexistent headers
3932
# can be detected and how.
3933
cat >conftest.$ac_ext <<_ACEOF
3936
cat confdefs.h >>conftest.$ac_ext
3937
cat >>conftest.$ac_ext <<_ACEOF
3938
/* end confdefs.h. */
3939
@%:@include <ac_nonexistent.h>
3941
if { (ac_try="$ac_cpp conftest.$ac_ext"
3943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944
*) ac_try_echo=$ac_try;;
3946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3947
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3949
grep -v '^ *+' conftest.er1 >conftest.err
3951
cat conftest.err >&5
3952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953
(exit $ac_status); } >/dev/null && {
3954
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3955
test ! -s conftest.err
3957
# Broken: success on invalid input.
3960
echo "$as_me: failed program was:" >&5
3961
sed 's/^/| /' conftest.$ac_ext >&5
3963
# Passes both tests.
3968
rm -f conftest.err conftest.$ac_ext
3971
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3972
rm -f conftest.err conftest.$ac_ext
3973
if $ac_preproc_ok; then
3985
{ echo "$as_me:$LINENO: result: $CPP" >&5
3986
echo "${ECHO_T}$CPP" >&6; }
3988
for ac_c_preproc_warn_flag in '' yes
3990
# Use a header file that comes with gcc, so configuring glibc
3991
# with a fresh cross-compiler works.
3992
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3993
# <limits.h> exists even on freestanding compilers.
3994
# On the NeXT, cc -E runs the code through the compiler's parser,
3995
# not just through cpp. "Syntax error" is here to catch this case.
3996
cat >conftest.$ac_ext <<_ACEOF
3999
cat confdefs.h >>conftest.$ac_ext
4000
cat >>conftest.$ac_ext <<_ACEOF
4001
/* end confdefs.h. */
4003
@%:@ include <limits.h>
4005
@%:@ include <assert.h>
4009
if { (ac_try="$ac_cpp conftest.$ac_ext"
4011
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012
*) ac_try_echo=$ac_try;;
4014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4015
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4017
grep -v '^ *+' conftest.er1 >conftest.err
4019
cat conftest.err >&5
4020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021
(exit $ac_status); } >/dev/null && {
4022
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4023
test ! -s conftest.err
4027
echo "$as_me: failed program was:" >&5
4028
sed 's/^/| /' conftest.$ac_ext >&5
4030
# Broken: fails on valid input.
4034
rm -f conftest.err conftest.$ac_ext
4036
# OK, works on sane cases. Now check whether nonexistent headers
4037
# can be detected and how.
4038
cat >conftest.$ac_ext <<_ACEOF
4041
cat confdefs.h >>conftest.$ac_ext
4042
cat >>conftest.$ac_ext <<_ACEOF
4043
/* end confdefs.h. */
4044
@%:@include <ac_nonexistent.h>
4046
if { (ac_try="$ac_cpp conftest.$ac_ext"
4048
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049
*) ac_try_echo=$ac_try;;
4051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4052
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4054
grep -v '^ *+' conftest.er1 >conftest.err
4056
cat conftest.err >&5
4057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058
(exit $ac_status); } >/dev/null && {
4059
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4060
test ! -s conftest.err
4062
# Broken: success on invalid input.
4065
echo "$as_me: failed program was:" >&5
4066
sed 's/^/| /' conftest.$ac_ext >&5
4068
# Passes both tests.
4073
rm -f conftest.err conftest.$ac_ext
4076
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4077
rm -f conftest.err conftest.$ac_ext
4078
if $ac_preproc_ok; then
4081
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4082
See \`config.log' for more details." >&5
4083
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4084
See \`config.log' for more details." >&2;}
4085
{ (exit 1); exit 1; }; }
4089
ac_cpp='$CPP $CPPFLAGS'
4090
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4095
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4096
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4097
if test "${ac_cv_path_GREP+set}" = set; then
4098
echo $ECHO_N "(cached) $ECHO_C" >&6
4100
# Extract the first word of "grep ggrep" to use in msg output
4101
if test -z "$GREP"; then
4102
set dummy grep ggrep; ac_prog_name=$2
4103
if test "${ac_cv_path_GREP+set}" = set; then
4104
echo $ECHO_N "(cached) $ECHO_C" >&6
4106
ac_path_GREP_found=false
4107
# Loop through the user's path and test for each of PROGNAME-LIST
4108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4112
test -z "$as_dir" && as_dir=.
4113
for ac_prog in grep ggrep; do
4114
for ac_exec_ext in '' $ac_executable_extensions; do
4115
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4116
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4117
# Check for GNU ac_path_GREP and select it if it is found.
4118
# Check for GNU $ac_path_GREP
4119
case `"$ac_path_GREP" --version 2>&1` in
4121
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4124
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4127
cat "conftest.in" "conftest.in" >"conftest.tmp"
4128
mv "conftest.tmp" "conftest.in"
4129
cp "conftest.in" "conftest.nl"
4130
echo 'GREP' >> "conftest.nl"
4131
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4132
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4133
ac_count=`expr $ac_count + 1`
4134
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4135
# Best one so far, save it but keep looking for a better one
4136
ac_cv_path_GREP="$ac_path_GREP"
4137
ac_path_GREP_max=$ac_count
4139
# 10*(2^10) chars as input seems more than enough
4140
test $ac_count -gt 10 && break
4142
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4146
$ac_path_GREP_found && break 3
4156
GREP="$ac_cv_path_GREP"
4157
if test -z "$GREP"; then
4158
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4159
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4160
{ (exit 1); exit 1; }; }
4164
ac_cv_path_GREP=$GREP
4169
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4170
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4171
GREP="$ac_cv_path_GREP"
4174
{ echo "$as_me:$LINENO: checking for egrep" >&5
4175
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4176
if test "${ac_cv_path_EGREP+set}" = set; then
4177
echo $ECHO_N "(cached) $ECHO_C" >&6
4179
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4180
then ac_cv_path_EGREP="$GREP -E"
4182
# Extract the first word of "egrep" to use in msg output
4183
if test -z "$EGREP"; then
4184
set dummy egrep; ac_prog_name=$2
4185
if test "${ac_cv_path_EGREP+set}" = set; then
4186
echo $ECHO_N "(cached) $ECHO_C" >&6
4188
ac_path_EGREP_found=false
4189
# Loop through the user's path and test for each of PROGNAME-LIST
4190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4194
test -z "$as_dir" && as_dir=.
4195
for ac_prog in egrep; do
4196
for ac_exec_ext in '' $ac_executable_extensions; do
4197
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4198
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4199
# Check for GNU ac_path_EGREP and select it if it is found.
4200
# Check for GNU $ac_path_EGREP
4201
case `"$ac_path_EGREP" --version 2>&1` in
4203
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4206
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4209
cat "conftest.in" "conftest.in" >"conftest.tmp"
4210
mv "conftest.tmp" "conftest.in"
4211
cp "conftest.in" "conftest.nl"
4212
echo 'EGREP' >> "conftest.nl"
4213
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4214
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4215
ac_count=`expr $ac_count + 1`
4216
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4217
# Best one so far, save it but keep looking for a better one
4218
ac_cv_path_EGREP="$ac_path_EGREP"
4219
ac_path_EGREP_max=$ac_count
4221
# 10*(2^10) chars as input seems more than enough
4222
test $ac_count -gt 10 && break
4224
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228
$ac_path_EGREP_found && break 3
4238
EGREP="$ac_cv_path_EGREP"
4239
if test -z "$EGREP"; then
4240
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4241
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4242
{ (exit 1); exit 1; }; }
4246
ac_cv_path_EGREP=$EGREP
4252
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4253
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4254
EGREP="$ac_cv_path_EGREP"
4257
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4258
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4259
if test "${ac_cv_header_stdc+set}" = set; then
4260
echo $ECHO_N "(cached) $ECHO_C" >&6
4262
cat >conftest.$ac_ext <<_ACEOF
4265
cat confdefs.h >>conftest.$ac_ext
4266
cat >>conftest.$ac_ext <<_ACEOF
4267
/* end confdefs.h. */
4281
rm -f conftest.$ac_objext
4282
if { (ac_try="$ac_compile"
4284
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285
*) ac_try_echo=$ac_try;;
4287
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4288
(eval "$ac_compile") 2>conftest.er1
4290
grep -v '^ *+' conftest.er1 >conftest.err
4292
cat conftest.err >&5
4293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294
(exit $ac_status); } && {
4295
test -z "$ac_c_werror_flag" ||
4296
test ! -s conftest.err
4297
} && test -s conftest.$ac_objext; then
4298
ac_cv_header_stdc=yes
4300
echo "$as_me: failed program was:" >&5
4301
sed 's/^/| /' conftest.$ac_ext >&5
4303
ac_cv_header_stdc=no
4306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308
if test $ac_cv_header_stdc = yes; then
4309
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4310
cat >conftest.$ac_ext <<_ACEOF
4313
cat confdefs.h >>conftest.$ac_ext
4314
cat >>conftest.$ac_ext <<_ACEOF
4315
/* end confdefs.h. */
4319
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4320
$EGREP "memchr" >/dev/null 2>&1; then
4323
ac_cv_header_stdc=no
4329
if test $ac_cv_header_stdc = yes; then
4330
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4331
cat >conftest.$ac_ext <<_ACEOF
4334
cat confdefs.h >>conftest.$ac_ext
4335
cat >>conftest.$ac_ext <<_ACEOF
4336
/* end confdefs.h. */
4340
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4341
$EGREP "free" >/dev/null 2>&1; then
4344
ac_cv_header_stdc=no
4350
if test $ac_cv_header_stdc = yes; then
4351
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4352
if test "$cross_compiling" = yes; then
4355
cat >conftest.$ac_ext <<_ACEOF
4358
cat confdefs.h >>conftest.$ac_ext
4359
cat >>conftest.$ac_ext <<_ACEOF
4360
/* end confdefs.h. */
4363
#if ((' ' & 0x0FF) == 0x020)
4364
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4365
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4367
# define ISLOWER(c) \
4368
(('a' <= (c) && (c) <= 'i') \
4369
|| ('j' <= (c) && (c) <= 'r') \
4370
|| ('s' <= (c) && (c) <= 'z'))
4371
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4374
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4379
for (i = 0; i < 256; i++)
4380
if (XOR (islower (i), ISLOWER (i))
4381
|| toupper (i) != TOUPPER (i))
4386
rm -f conftest$ac_exeext
4387
if { (ac_try="$ac_link"
4389
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390
*) ac_try_echo=$ac_try;;
4392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4393
(eval "$ac_link") 2>&5
4395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4397
{ (case "(($ac_try" in
4398
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4399
*) ac_try_echo=$ac_try;;
4401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4402
(eval "$ac_try") 2>&5
4404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405
(exit $ac_status); }; }; then
4408
echo "$as_me: program exited with status $ac_status" >&5
4409
echo "$as_me: failed program was:" >&5
4410
sed 's/^/| /' conftest.$ac_ext >&5
4413
ac_cv_header_stdc=no
4415
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4421
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4422
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4423
if test $ac_cv_header_stdc = yes; then
4425
cat >>confdefs.h <<\_ACEOF
4426
@%:@define STDC_HEADERS 1
4432
{ echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4433
echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
4434
if test "${ac_cv_lib_m_sqrt+set}" = set; then
4435
echo $ECHO_N "(cached) $ECHO_C" >&6
4437
ac_check_lib_save_LIBS=$LIBS
4439
cat >conftest.$ac_ext <<_ACEOF
4442
cat confdefs.h >>conftest.$ac_ext
4443
cat >>conftest.$ac_ext <<_ACEOF
4444
/* end confdefs.h. */
4446
/* Override any GCC internal prototype to avoid an error.
4447
Use char because int might match the return type of a GCC
4448
builtin and then its argument prototype would still apply. */
4461
rm -f conftest.$ac_objext conftest$ac_exeext
4462
if { (ac_try="$ac_link"
4464
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465
*) ac_try_echo=$ac_try;;
4467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4468
(eval "$ac_link") 2>conftest.er1
4470
grep -v '^ *+' conftest.er1 >conftest.err
4472
cat conftest.err >&5
4473
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474
(exit $ac_status); } && {
4475
test -z "$ac_c_werror_flag" ||
4476
test ! -s conftest.err
4477
} && test -s conftest$ac_exeext &&
4478
$as_test_x conftest$ac_exeext; then
4479
ac_cv_lib_m_sqrt=yes
4481
echo "$as_me: failed program was:" >&5
4482
sed 's/^/| /' conftest.$ac_ext >&5
4487
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4488
conftest$ac_exeext conftest.$ac_ext
4489
LIBS=$ac_check_lib_save_LIBS
4491
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4492
echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
4493
if test $ac_cv_lib_m_sqrt = yes; then
4494
cat >>confdefs.h <<_ACEOF
4495
@%:@define HAVE_LIBM 1
4503
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4513
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4514
inttypes.h stdint.h unistd.h
4516
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4517
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4518
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4519
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4520
echo $ECHO_N "(cached) $ECHO_C" >&6
4522
cat >conftest.$ac_ext <<_ACEOF
4525
cat confdefs.h >>conftest.$ac_ext
4526
cat >>conftest.$ac_ext <<_ACEOF
4527
/* end confdefs.h. */
4528
$ac_includes_default
4530
@%:@include <$ac_header>
4532
rm -f conftest.$ac_objext
4533
if { (ac_try="$ac_compile"
4535
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4536
*) ac_try_echo=$ac_try;;
4538
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4539
(eval "$ac_compile") 2>conftest.er1
4541
grep -v '^ *+' conftest.er1 >conftest.err
4543
cat conftest.err >&5
4544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545
(exit $ac_status); } && {
4546
test -z "$ac_c_werror_flag" ||
4547
test ! -s conftest.err
4548
} && test -s conftest.$ac_objext; then
4549
eval "$as_ac_Header=yes"
4551
echo "$as_me: failed program was:" >&5
4552
sed 's/^/| /' conftest.$ac_ext >&5
4554
eval "$as_ac_Header=no"
4557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559
ac_res=`eval echo '${'$as_ac_Header'}'`
4560
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4561
echo "${ECHO_T}$ac_res" >&6; }
4562
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4563
cat >>confdefs.h <<_ACEOF
4564
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4578
# Check whether --with-64bits was given.
4579
if test "${with_64bits+set}" = set; then
4580
withval=$with_64bits;
4585
if test -z "$host"; then
4588
canonical_host_type=$host
4589
if test "$host" = unknown; then
4590
{ { echo "$as_me:$LINENO: error: unknown system type, your build will most likely be screwed. quitting." >&5
4591
echo "$as_me: error: unknown system type, your build will most likely be screwed. quitting." >&2;}
4592
{ (exit 1); exit 1; }; }
4602
orig_FCFLAGS=$FCFLAGS
4603
orig_CXXFLAGS=$CXXFLAGS
4606
{ echo "$as_me:$LINENO: checking for 64 bit compilation flags" >&5
4607
echo $ECHO_N "checking for 64 bit compilation flags... $ECHO_C" >&6; }
4609
if test "$with_64bits" = no; then
4610
{ echo "$as_me:$LINENO: result: not even going to try" >&5
4611
echo "${ECHO_T}not even going to try" >&6; }
4613
{ echo "$as_me:$LINENO: result: let's see what happens" >&5
4614
echo "${ECHO_T}let's see what happens" >&6; }
4616
case "$canonical_host_type" in
4617
*-*-386bsd* | *-*-openbsd* | *-*-netbsd*)
4625
*-*-cygwin* | *-*-mingw*)
4627
*-*-linux* | *-*-gnu*)
4628
B64FLAGS="-m64 -fPIC"
4629
if test x"$FC" != x; then
4635
B64FCFLAGS=$B64FLAGS
4642
B64FCFLAGS=$B64FLAGS
4647
if test x"$F77" != x; then
4662
if test x"$CC" != x; then
4677
if test x"$CXX" != x; then
4687
B64CXXFLAGS=$B64FLAGS
4692
rs6000-ibm-aix* | powerpc-ibm-aix*)
4695
if test "$acx_ar_userdefined" = no; then
4696
# aix has problems with 64 bits and ar, this fixes it
4699
{ echo "$as_me:$LINENO: checking for 64 bit ar" >&5
4700
echo $ECHO_N "checking for 64 bit ar... $ECHO_C" >&6; }
4701
{ echo "$as_me:$LINENO: result: $AR" >&5
4702
echo "${ECHO_T}$AR" >&6; }
4705
if test x"$FC" != x; then
4711
# hopefully ibm visual age
4712
B64FCFLAGS=$B64FLAGS
4717
if test x"$F77" != x; then
4728
if test x"$CC" != x; then
4739
if test x"$CXX" != x; then
4745
B64CXXFLAGS=$B64FLAGS
4756
sparc-sun-solaris2* | i386-pc-solaris2*)
4757
B64FLAGS="-xtarget=native64 -KPIC"
4758
SUN_64BIT_FLAGS=$B64FLAGS
4760
if test x"$FC" != x; then
4766
B64FCFLAGS=$SUN_64BIT_FLAGS
4771
if test x"$F77" != x; then
4777
B64FFLAGS=$SUN_64BIT_FLAGS
4782
if test x"$CC" != x; then
4788
B64CFLAGS=$SUN_64BIT_FLAGS
4793
if test x"$CXX" != x; then
4799
B64CXXFLAGS=$SUN_64BIT_FLAGS
4806
if test "$with_64bits" != no; then
4807
if test x"$CC" != x; then
4808
{ echo "$as_me:$LINENO: checking for 64 bit CFLAGS" >&5
4809
echo $ECHO_N "checking for 64 bit CFLAGS... $ECHO_C" >&6; }
4810
{ echo "$as_me:$LINENO: result: $B64CFLAGS" >&5
4811
echo "${ECHO_T}$B64CFLAGS" >&6; }
4812
CFLAGS="$CFLAGS $B64CFLAGS"
4815
if test x"$FC" != x; then
4816
{ echo "$as_me:$LINENO: checking for 64 bit FCFLAGS" >&5
4817
echo $ECHO_N "checking for 64 bit FCFLAGS... $ECHO_C" >&6; }
4818
{ echo "$as_me:$LINENO: result: $B64FCFLAGS" >&5
4819
echo "${ECHO_T}$B64FCFLAGS" >&6; }
4820
FCFLAGS="$FCFLAGS $B64FCFLAGS"
4823
if test x"$CXX" != x; then
4824
{ echo "$as_me:$LINENO: checking for 64 bit CXXFLAGS" >&5
4825
echo $ECHO_N "checking for 64 bit CXXFLAGS... $ECHO_C" >&6; }
4826
{ echo "$as_me:$LINENO: result: $B64CXXFLAGS " >&5
4827
echo "${ECHO_T}$B64CXXFLAGS " >&6; }
4828
CXXFLAGS="$CXXFLAGS $B64CXXFLAGS"
4831
if test x"$F77" != x; then
4832
{ echo "$as_me:$LINENO: checking for 64 bit FFLAGS" >&5
4833
echo $ECHO_N "checking for 64 bit FFLAGS... $ECHO_C" >&6; }
4834
{ echo "$as_me:$LINENO: result: $B64FFLAGS" >&5
4835
echo "${ECHO_T}$B64FFLAGS" >&6; }
4836
FFLAGS="$FFLAGS $B64FFLAGS"
4841
{ echo "$as_me:$LINENO: checking for void*" >&5
4842
echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
4843
if test "${ac_cv_type_voidp+set}" = set; then
4844
echo $ECHO_N "(cached) $ECHO_C" >&6
4846
cat >conftest.$ac_ext <<_ACEOF
4849
cat confdefs.h >>conftest.$ac_ext
4850
cat >>conftest.$ac_ext <<_ACEOF
4851
/* end confdefs.h. */
4852
$ac_includes_default
4853
typedef void* ac__type_new_;
4857
if ((ac__type_new_ *) 0)
4859
if (sizeof (ac__type_new_))
4865
rm -f conftest.$ac_objext
4866
if { (ac_try="$ac_compile"
4868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869
*) ac_try_echo=$ac_try;;
4871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4872
(eval "$ac_compile") 2>conftest.er1
4874
grep -v '^ *+' conftest.er1 >conftest.err
4876
cat conftest.err >&5
4877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878
(exit $ac_status); } && {
4879
test -z "$ac_c_werror_flag" ||
4880
test ! -s conftest.err
4881
} && test -s conftest.$ac_objext; then
4882
ac_cv_type_voidp=yes
4884
echo "$as_me: failed program was:" >&5
4885
sed 's/^/| /' conftest.$ac_ext >&5
4890
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892
{ echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
4893
echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
4895
# The cast to long int works around a bug in the HP C Compiler
4896
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4897
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4898
# This bug is HP SR number 8606223364.
4899
{ echo "$as_me:$LINENO: checking size of void*" >&5
4900
echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
4901
if test "${ac_cv_sizeof_voidp+set}" = set; then
4902
echo $ECHO_N "(cached) $ECHO_C" >&6
4904
if test "$cross_compiling" = yes; then
4905
# Depending upon the size, compute the lo and hi bounds.
4906
cat >conftest.$ac_ext <<_ACEOF
4909
cat confdefs.h >>conftest.$ac_ext
4910
cat >>conftest.$ac_ext <<_ACEOF
4911
/* end confdefs.h. */
4912
$ac_includes_default
4913
typedef void* ac__type_sizeof_;
4917
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
4918
test_array @<:@0@:>@ = 0
4924
rm -f conftest.$ac_objext
4925
if { (ac_try="$ac_compile"
4927
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928
*) ac_try_echo=$ac_try;;
4930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4931
(eval "$ac_compile") 2>conftest.er1
4933
grep -v '^ *+' conftest.er1 >conftest.err
4935
cat conftest.err >&5
4936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937
(exit $ac_status); } && {
4938
test -z "$ac_c_werror_flag" ||
4939
test ! -s conftest.err
4940
} && test -s conftest.$ac_objext; then
4943
cat >conftest.$ac_ext <<_ACEOF
4946
cat confdefs.h >>conftest.$ac_ext
4947
cat >>conftest.$ac_ext <<_ACEOF
4948
/* end confdefs.h. */
4949
$ac_includes_default
4950
typedef void* ac__type_sizeof_;
4954
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
4955
test_array @<:@0@:>@ = 0
4961
rm -f conftest.$ac_objext
4962
if { (ac_try="$ac_compile"
4964
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965
*) ac_try_echo=$ac_try;;
4967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4968
(eval "$ac_compile") 2>conftest.er1
4970
grep -v '^ *+' conftest.er1 >conftest.err
4972
cat conftest.err >&5
4973
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974
(exit $ac_status); } && {
4975
test -z "$ac_c_werror_flag" ||
4976
test ! -s conftest.err
4977
} && test -s conftest.$ac_objext; then
4978
ac_hi=$ac_mid; break
4980
echo "$as_me: failed program was:" >&5
4981
sed 's/^/| /' conftest.$ac_ext >&5
4983
ac_lo=`expr $ac_mid + 1`
4984
if test $ac_lo -le $ac_mid; then
4988
ac_mid=`expr 2 '*' $ac_mid + 1`
4991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4994
echo "$as_me: failed program was:" >&5
4995
sed 's/^/| /' conftest.$ac_ext >&5
4997
cat >conftest.$ac_ext <<_ACEOF
5000
cat confdefs.h >>conftest.$ac_ext
5001
cat >>conftest.$ac_ext <<_ACEOF
5002
/* end confdefs.h. */
5003
$ac_includes_default
5004
typedef void* ac__type_sizeof_;
5008
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
5009
test_array @<:@0@:>@ = 0
5015
rm -f conftest.$ac_objext
5016
if { (ac_try="$ac_compile"
5018
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5019
*) ac_try_echo=$ac_try;;
5021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5022
(eval "$ac_compile") 2>conftest.er1
5024
grep -v '^ *+' conftest.er1 >conftest.err
5026
cat conftest.err >&5
5027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028
(exit $ac_status); } && {
5029
test -z "$ac_c_werror_flag" ||
5030
test ! -s conftest.err
5031
} && test -s conftest.$ac_objext; then
5034
cat >conftest.$ac_ext <<_ACEOF
5037
cat confdefs.h >>conftest.$ac_ext
5038
cat >>conftest.$ac_ext <<_ACEOF
5039
/* end confdefs.h. */
5040
$ac_includes_default
5041
typedef void* ac__type_sizeof_;
5045
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
5046
test_array @<:@0@:>@ = 0
5052
rm -f conftest.$ac_objext
5053
if { (ac_try="$ac_compile"
5055
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056
*) ac_try_echo=$ac_try;;
5058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059
(eval "$ac_compile") 2>conftest.er1
5061
grep -v '^ *+' conftest.er1 >conftest.err
5063
cat conftest.err >&5
5064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065
(exit $ac_status); } && {
5066
test -z "$ac_c_werror_flag" ||
5067
test ! -s conftest.err
5068
} && test -s conftest.$ac_objext; then
5069
ac_lo=$ac_mid; break
5071
echo "$as_me: failed program was:" >&5
5072
sed 's/^/| /' conftest.$ac_ext >&5
5074
ac_hi=`expr '(' $ac_mid ')' - 1`
5075
if test $ac_mid -le $ac_hi; then
5079
ac_mid=`expr 2 '*' $ac_mid`
5082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085
echo "$as_me: failed program was:" >&5
5086
sed 's/^/| /' conftest.$ac_ext >&5
5091
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095
# Binary search between lo and hi bounds.
5096
while test "x$ac_lo" != "x$ac_hi"; do
5097
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5098
cat >conftest.$ac_ext <<_ACEOF
5101
cat confdefs.h >>conftest.$ac_ext
5102
cat >>conftest.$ac_ext <<_ACEOF
5103
/* end confdefs.h. */
5104
$ac_includes_default
5105
typedef void* ac__type_sizeof_;
5109
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
5110
test_array @<:@0@:>@ = 0
5116
rm -f conftest.$ac_objext
5117
if { (ac_try="$ac_compile"
5119
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5120
*) ac_try_echo=$ac_try;;
5122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5123
(eval "$ac_compile") 2>conftest.er1
5125
grep -v '^ *+' conftest.er1 >conftest.err
5127
cat conftest.err >&5
5128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129
(exit $ac_status); } && {
5130
test -z "$ac_c_werror_flag" ||
5131
test ! -s conftest.err
5132
} && test -s conftest.$ac_objext; then
5135
echo "$as_me: failed program was:" >&5
5136
sed 's/^/| /' conftest.$ac_ext >&5
5138
ac_lo=`expr '(' $ac_mid ')' + 1`
5141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5144
?*) ac_cv_sizeof_voidp=$ac_lo;;
5145
'') if test "$ac_cv_type_voidp" = yes; then
5146
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
5147
See \`config.log' for more details." >&5
5148
echo "$as_me: error: cannot compute sizeof (void*)
5149
See \`config.log' for more details." >&2;}
5150
{ (exit 77); exit 77; }; }
5152
ac_cv_sizeof_voidp=0
5156
cat >conftest.$ac_ext <<_ACEOF
5159
cat confdefs.h >>conftest.$ac_ext
5160
cat >>conftest.$ac_ext <<_ACEOF
5161
/* end confdefs.h. */
5162
$ac_includes_default
5163
typedef void* ac__type_sizeof_;
5164
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5165
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5166
@%:@include <stdio.h>
5167
@%:@include <stdlib.h>
5172
FILE *f = fopen ("conftest.val", "w");
5175
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5177
long int i = longval ();
5178
if (i != ((long int) (sizeof (ac__type_sizeof_))))
5180
fprintf (f, "%ld\n", i);
5184
unsigned long int i = ulongval ();
5185
if (i != ((long int) (sizeof (ac__type_sizeof_))))
5187
fprintf (f, "%lu\n", i);
5189
return ferror (f) || fclose (f) != 0;
5195
rm -f conftest$ac_exeext
5196
if { (ac_try="$ac_link"
5198
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199
*) ac_try_echo=$ac_try;;
5201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5202
(eval "$ac_link") 2>&5
5204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5206
{ (case "(($ac_try" in
5207
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5208
*) ac_try_echo=$ac_try;;
5210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5211
(eval "$ac_try") 2>&5
5213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214
(exit $ac_status); }; }; then
5215
ac_cv_sizeof_voidp=`cat conftest.val`
5217
echo "$as_me: program exited with status $ac_status" >&5
5218
echo "$as_me: failed program was:" >&5
5219
sed 's/^/| /' conftest.$ac_ext >&5
5222
if test "$ac_cv_type_voidp" = yes; then
5223
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
5224
See \`config.log' for more details." >&5
5225
echo "$as_me: error: cannot compute sizeof (void*)
5226
See \`config.log' for more details." >&2;}
5227
{ (exit 77); exit 77; }; }
5229
ac_cv_sizeof_voidp=0
5232
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5236
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
5237
echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
5241
cat >>confdefs.h <<_ACEOF
5242
@%:@define SIZEOF_VOIDP $ac_cv_sizeof_voidp
5246
case "$ac_cv_sizeof_voidp" in
5249
cat >>confdefs.h <<\_ACEOF
5250
@%:@define ARCH_64_BITS 1
5254
if test x"$with_64bits" = xno; then
5255
{ echo "$as_me:$LINENO: WARNING: Explicitely requested 32 bits, but got 64 bits." >&5
5256
echo "$as_me: WARNING: Explicitely requested 32 bits, but got 64 bits." >&2;}
5261
cat >>confdefs.h <<\_ACEOF
5262
@%:@define ARCH_32_BITS 1
5268
cat >>confdefs.h <<\_ACEOF
5269
@%:@define ARCH_32_BITS 1
5275
if test "$ac_cv_sizeof_voidp" -eq "8"; then
5276
USE_64BIT_ARCH_TRUE=
5277
USE_64BIT_ARCH_FALSE='#'
5279
USE_64BIT_ARCH_TRUE='#'
5280
USE_64BIT_ARCH_FALSE=
5284
if test "$with_64bits" != no; then
5285
{ echo "$as_me:$LINENO: checking to see if we got 64 bits" >&5
5286
echo $ECHO_N "checking to see if we got 64 bits... $ECHO_C" >&6; }
5288
if test "$ac_cv_sizeof_voidp" -ne 8; then
5289
{ echo "$as_me:$LINENO: result: nope, reverting compiler flags" >&5
5290
echo "${ECHO_T}nope, reverting compiler flags" >&6; }
5295
FCFLAGS=$orig_FCFLAGS
5296
CXXFLAGS=$orig_CXXFLAGS
5298
{ echo "$as_me:$LINENO: result: oh yes" >&5
5299
echo "${ECHO_T}oh yes" >&6; }
5306
LIBS="-L. $LIBS -L$prefix/lib"
5307
LDFLAGS="-L. $LDFLAGS -L$prefix/lib"
5309
{ echo "$as_me:$LINENO: checking whether we are using the Microsoft C compiler" >&5
5310
echo $ECHO_N "checking whether we are using the Microsoft C compiler... $ECHO_C" >&6; }
5311
if test "${acx_cv_c_compiler_ms+set}" = set; then
5312
echo $ECHO_N "(cached) $ECHO_C" >&6
5314
cat >conftest.$ac_ext <<_ACEOF
5317
cat confdefs.h >>conftest.$ac_ext
5318
cat >>conftest.$ac_ext <<_ACEOF
5319
/* end confdefs.h. */
5332
rm -f conftest.$ac_objext
5333
if { (ac_try="$ac_compile"
5335
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5336
*) ac_try_echo=$ac_try;;
5338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5339
(eval "$ac_compile") 2>conftest.er1
5341
grep -v '^ *+' conftest.er1 >conftest.err
5343
cat conftest.err >&5
5344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345
(exit $ac_status); } && {
5346
test -z "$ac_c_werror_flag" ||
5347
test ! -s conftest.err
5348
} && test -s conftest.$ac_objext; then
5351
echo "$as_me: failed program was:" >&5
5352
sed 's/^/| /' conftest.$ac_ext >&5
5357
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358
acx_cv_c_compiler_ms=$acx_compiler_ms
5361
{ echo "$as_me:$LINENO: result: $acx_cv_c_compiler_ms" >&5
5362
echo "${ECHO_T}$acx_cv_c_compiler_ms" >&6; }
5364
if test "$acx_cv_c_compiler_ms" = "yes"; then
5366
cat >>confdefs.h <<\_ACEOF
5367
@%:@define STDCALLBULL __stdcall
5371
cat >>confdefs.h <<\_ACEOF
5372
@%:@define C_DLLEXPORT __declspec(dllexport)
5378
cat >>confdefs.h <<\_ACEOF
5379
@%:@define STDCALLBULL
5383
cat >>confdefs.h <<\_ACEOF
5384
@%:@define C_DLLEXPORT
5388
if test "$acx_cv_c_compiler_ms" = "yes"; then
5389
USE_WINDOWS_COMPILER_TRUE=
5390
USE_WINDOWS_COMPILER_FALSE='#'
5392
USE_WINDOWS_COMPILER_TRUE='#'
5393
USE_WINDOWS_COMPILER_FALSE=
5403
# Check whether --with-matc was given.
5404
if test "${with_matc+set}" = set; then
5410
no) acx_matc_ok=disable ;;
5411
-* | */* | *.a | *.so | *.so.* | *.o) MATC_LIBS="$with_matc" ;;
5412
*) MATC_LIBS="-l$with_matc" ;;
5415
acx_matc_save_LIBS="$LIBS"
5417
# First, check EIO_LIBS environment variable
5418
if test $acx_matc_ok = no; then
5419
if test "x$MATC_LIBS" != x; then
5420
save_LIBS="$LIBS"; LIBS="$MATC_LIBS $LIBS"
5421
{ echo "$as_me:$LINENO: checking for mtc_init in $MATC_LIBS" >&5
5422
echo $ECHO_N "checking for mtc_init in $MATC_LIBS... $ECHO_C" >&6; }
5424
cat >conftest.$ac_ext <<_ACEOF
5427
cat confdefs.h >>conftest.$ac_ext
5428
cat >>conftest.$ac_ext <<_ACEOF
5429
/* end confdefs.h. */
5431
/* Override any GCC internal prototype to avoid an error.
5432
Use char because int might match the return type of a GCC
5433
builtin and then its argument prototype would still apply. */
5446
rm -f conftest.$ac_objext conftest$ac_exeext
5447
if { (ac_try="$ac_link"
5449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5450
*) ac_try_echo=$ac_try;;
5452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5453
(eval "$ac_link") 2>conftest.er1
5455
grep -v '^ *+' conftest.er1 >conftest.err
5457
cat conftest.err >&5
5458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
(exit $ac_status); } && {
5460
test -z "$ac_c_werror_flag" ||
5461
test ! -s conftest.err
5462
} && test -s conftest$ac_exeext &&
5463
$as_test_x conftest$ac_exeext; then
5466
echo "$as_me: failed program was:" >&5
5467
sed 's/^/| /' conftest.$ac_ext >&5
5472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5473
conftest$ac_exeext conftest.$ac_ext
5475
{ echo "$as_me:$LINENO: result: $acx_matc_ok" >&5
5476
echo "${ECHO_T}$acx_matc_ok" >&6; }
5481
# Generic MATC library?
5482
if test "$acx_matc_ok" = no; then
5483
{ echo "$as_me:$LINENO: checking for mtc_init in -lmatc" >&5
5484
echo $ECHO_N "checking for mtc_init in -lmatc... $ECHO_C" >&6; }
5485
if test "${ac_cv_lib_matc_mtc_init+set}" = set; then
5486
echo $ECHO_N "(cached) $ECHO_C" >&6
5488
ac_check_lib_save_LIBS=$LIBS
5489
LIBS="-lmatc -lm $LIBS"
5490
cat >conftest.$ac_ext <<_ACEOF
5493
cat confdefs.h >>conftest.$ac_ext
5494
cat >>conftest.$ac_ext <<_ACEOF
5495
/* end confdefs.h. */
5497
/* Override any GCC internal prototype to avoid an error.
5498
Use char because int might match the return type of a GCC
5499
builtin and then its argument prototype would still apply. */
5512
rm -f conftest.$ac_objext conftest$ac_exeext
5513
if { (ac_try="$ac_link"
5515
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5516
*) ac_try_echo=$ac_try;;
5518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5519
(eval "$ac_link") 2>conftest.er1
5521
grep -v '^ *+' conftest.er1 >conftest.err
5523
cat conftest.err >&5
5524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525
(exit $ac_status); } && {
5526
test -z "$ac_c_werror_flag" ||
5527
test ! -s conftest.err
5528
} && test -s conftest$ac_exeext &&
5529
$as_test_x conftest$ac_exeext; then
5530
ac_cv_lib_matc_mtc_init=yes
5532
echo "$as_me: failed program was:" >&5
5533
sed 's/^/| /' conftest.$ac_ext >&5
5535
ac_cv_lib_matc_mtc_init=no
5538
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5539
conftest$ac_exeext conftest.$ac_ext
5540
LIBS=$ac_check_lib_save_LIBS
5542
{ echo "$as_me:$LINENO: result: $ac_cv_lib_matc_mtc_init" >&5
5543
echo "${ECHO_T}$ac_cv_lib_matc_mtc_init" >&6; }
5544
if test $ac_cv_lib_matc_mtc_init = yes; then
5545
acx_matc_ok=yes; MATC_LIBS="-lmatc"
5552
LIBS="$acx_matc_save_LIBS"
5554
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
5555
if test x"$acx_matc_ok" = xyes; then
5557
cat >>confdefs.h <<\_ACEOF
5558
@%:@define HAVE_MATC 1
5564
{ { echo "$as_me:$LINENO: error: libmatc $ELMER_LIBERRORMSG" >&5
5565
echo "$as_me: error: libmatc $ELMER_LIBERRORMSG" >&2;}
5566
{ (exit 1); exit 1; }; }
5569
LIBS="$LIBS $MATC_LIBS"
5579
# Check whether --with-metis was given.
5580
if test "${with_metis+set}" = set; then
5581
withval=$with_metis;
5582
USE_CONTRIB_METIS=yes
5583
DEAL_II_METIS_DIR=$withval
5584
{ echo "$as_me:$LINENO: result: $DEAL_II_METIS_DIR" >&5
5585
echo "${ECHO_T}$DEAL_II_METIS_DIR" >&6; }
5587
if test ! -d $DEAL_II_METIS_DIR/Lib ; then
5588
{ echo "$as_me:$LINENO: WARNING: Path to Metis specified with --with-metis does not
5589
point to a complete Metis installation" >&5
5590
echo "$as_me: WARNING: Path to Metis specified with --with-metis does not
5591
point to a complete Metis installation" >&2;}
5594
DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
5595
DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/Lib"
5599
if test "x$METIS_DIR" != "x" ; then
5600
USE_CONTRIB_METIS=yes
5601
DEAL_II_METIS_DIR="$METIS_DIR"
5602
{ echo "$as_me:$LINENO: result: $DEAL_II_METIS_DIR" >&5
5603
echo "${ECHO_T}$DEAL_II_METIS_DIR" >&6; }
5605
if test ! -d $DEAL_II_METIS_DIR/Lib ; then
5606
{ { echo "$as_me:$LINENO: error: The path to Metis specified in the METIS_DIR
5607
environment variable does not
5608
point to a complete Metis installation" >&5
5609
echo "$as_me: error: The path to Metis specified in the METIS_DIR
5610
environment variable does not
5611
point to a complete Metis installation" >&2;}
5612
{ (exit 1); exit 1; }; }
5614
DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
5615
DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/Lib"
5617
USE_CONTRIB_METIS=no
5618
DEAL_II_METIS_DIR=""
5625
# Check whether --with-metis-include was given.
5626
if test "${with_metis_include+set}" = set; then
5627
withval=$with_metis_include;
5628
METIS_INCLUDE_DIR=$withval
5629
DEAL_II_METIS_INCDIR="$METIS_INCLUDE_DIR"
5635
# Check whether --with-metis-libs was given.
5636
if test "${with_metis_libs+set}" = set; then
5637
withval=$with_metis_libs;
5638
USE_CONTRIB_METIS=yes
5639
DEAL_II_METIS_LIBDIR=$withval
5640
{ echo "$as_me:$LINENO: result: $DEAL_II_METIS_LIBDIR" >&5
5641
echo "${ECHO_T}$DEAL_II_METIS_LIBDIR" >&6; }
5643
if test ! -d $DEAL_II_METIS_LIBDIR ; then
5644
{ { echo "$as_me:$LINENO: error: Path to Metis specified with --with-metis does not
5645
point to a complete Metis installation" >&5
5646
echo "$as_me: error: Path to Metis specified with --with-metis does not
5647
point to a complete Metis installation" >&2;}
5648
{ (exit 1); exit 1; }; }
5653
if test "x$METIS_LIBDIR" != "x" ; then
5654
USE_CONTRIB_METIS=yes
5655
DEAL_II_METIS_LIBDIR="$METIS_LIBDIR"
5656
{ echo "$as_me:$LINENO: result: $DEAL_II_METIS_LIBDIR" >&5
5657
echo "${ECHO_T}$DEAL_II_METIS_LIBDIR" >&6; }
5659
if test ! -d $DEAL_II_METIS_LIBDIR ; then
5660
{ { echo "$as_me:$LINENO: error: The path to Metis specified in the METIS_DIR
5661
environment variable does not
5662
point to a complete Metis installation" >&5
5663
echo "$as_me: error: The path to Metis specified in the METIS_DIR
5664
environment variable does not
5665
point to a complete Metis installation" >&2;}
5666
{ (exit 1); exit 1; }; }
5669
if test "x$USE_CONTRIB_METIS" != "xyes" ; then
5670
USE_CONTRIB_METIS=no
5671
DEAL_II_METIS_LIBDIR=""
5678
if test "x$USE_CONTRIB_METIS" = "xyes" ; then
5680
cat >>confdefs.h <<\_ACEOF
5681
@%:@define DEAL_II_USE_METIS 1
5684
LDFLAGS="$LDFLAGS -L$DEAL_II_METIS_LIBDIR -lmetis"
5688
if test "x$USE_CONTRIB_METIS" = "xyes"; then
5689
USE_EXTERNAL_METIS_TRUE=
5690
USE_EXTERNAL_METIS_FALSE='#'
5692
USE_EXTERNAL_METIS_TRUE='#'
5693
USE_EXTERNAL_METIS_FALSE=
5698
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5699
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
5700
# Check whether --enable-maintainer-mode was given.
5701
if test "${enable_maintainer_mode+set}" = set; then
5702
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5704
USE_MAINTAINER_MODE=no
5707
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5708
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
5709
if test $USE_MAINTAINER_MODE = yes; then
5710
MAINTAINER_MODE_TRUE=
5711
MAINTAINER_MODE_FALSE='#'
5713
MAINTAINER_MODE_TRUE='#'
5714
MAINTAINER_MODE_FALSE=
5717
MAINT=$MAINTAINER_MODE_TRUE
5721
ac_config_headers="$ac_config_headers config.h"
5724
ac_config_files="$ac_config_files Makefile src/Makefile src/metis/Makefile"
5726
cat >confcache <<\_ACEOF
5727
# This file is a shell script that caches the results of configure
5728
# tests run on this system so they can be shared between configure
5729
# scripts and configure runs, see configure's option --config-cache.
5730
# It is not useful on other systems. If it contains results you don't
5731
# want to keep, you may remove or edit it.
5733
# config.status only pays attention to the cache file if you give it
5734
# the --recheck option to rerun configure.
5736
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5737
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5742
# The following way of writing the cache mishandles newlines in values,
5743
# but we know of no workaround that is simple, portable, and efficient.
5744
# So, we kill variables containing newlines.
5745
# Ultrix sh set writes to stderr and can't be redirected directly,
5746
# and sets the high bit in the cache file unless we assign to the vars.
5748
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5749
eval ac_val=\$$ac_var
5753
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5754
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5757
_ | IFS | as_nl) ;; #(
5758
*) $as_unset $ac_var ;;
5764
case $as_nl`(ac_space=' '; set) 2>&1` in #(
5765
*${as_nl}ac_space=\ *)
5766
# `set' does not quote correctly, so add quotes (double-quote
5767
# substitution turns \\\\ into \\, and sed turns \\ into \).
5770
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5773
# `set' quotes correctly as required by POSIX, so do not add quotes.
5774
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5783
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5785
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5787
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5788
if test -w "$cache_file"; then
5789
test "x$cache_file" != "x/dev/null" &&
5790
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
5791
echo "$as_me: updating cache $cache_file" >&6;}
5792
cat confcache >$cache_file
5794
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5795
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5800
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5801
# Let make expand exec_prefix.
5802
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5804
DEFS=-DHAVE_CONFIG_H
5808
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5809
# 1. Remove the extension, and $U if already installed.
5810
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5811
ac_i=`echo "$ac_i" | sed "$ac_script"`
5812
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5813
# will be set to the directory where LIBOBJS objects are built.
5814
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5815
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5817
LIB@&t@OBJS=$ac_libobjs
5819
LTLIBOBJS=$ac_ltlibobjs
5822
if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
5823
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_WINDRES\" was never defined.
5824
Usually this means the macro was only invoked conditionally." >&5
5825
echo "$as_me: error: conditional \"HAVE_WINDRES\" was never defined.
5826
Usually this means the macro was only invoked conditionally." >&2;}
5827
{ (exit 1); exit 1; }; }
5829
if test -z "${IBM_IS_PIECE_OF_SHIT_TRUE}" && test -z "${IBM_IS_PIECE_OF_SHIT_FALSE}"; then
5830
{ { echo "$as_me:$LINENO: error: conditional \"IBM_IS_PIECE_OF_SHIT\" was never defined.
5831
Usually this means the macro was only invoked conditionally." >&5
5832
echo "$as_me: error: conditional \"IBM_IS_PIECE_OF_SHIT\" was never defined.
5833
Usually this means the macro was only invoked conditionally." >&2;}
5834
{ (exit 1); exit 1; }; }
5836
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5837
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5838
Usually this means the macro was only invoked conditionally." >&5
5839
echo "$as_me: error: conditional \"AMDEP\" was never defined.
5840
Usually this means the macro was only invoked conditionally." >&2;}
5841
{ (exit 1); exit 1; }; }
5843
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5844
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5845
Usually this means the macro was only invoked conditionally." >&5
5846
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5847
Usually this means the macro was only invoked conditionally." >&2;}
5848
{ (exit 1); exit 1; }; }
5850
if test -z "${USE_64BIT_ARCH_TRUE}" && test -z "${USE_64BIT_ARCH_FALSE}"; then
5851
{ { echo "$as_me:$LINENO: error: conditional \"USE_64BIT_ARCH\" was never defined.
5852
Usually this means the macro was only invoked conditionally." >&5
5853
echo "$as_me: error: conditional \"USE_64BIT_ARCH\" was never defined.
5854
Usually this means the macro was only invoked conditionally." >&2;}
5855
{ (exit 1); exit 1; }; }
5857
if test -z "${USE_WINDOWS_COMPILER_TRUE}" && test -z "${USE_WINDOWS_COMPILER_FALSE}"; then
5858
{ { echo "$as_me:$LINENO: error: conditional \"USE_WINDOWS_COMPILER\" was never defined.
5859
Usually this means the macro was only invoked conditionally." >&5
5860
echo "$as_me: error: conditional \"USE_WINDOWS_COMPILER\" was never defined.
5861
Usually this means the macro was only invoked conditionally." >&2;}
5862
{ (exit 1); exit 1; }; }
5864
if test -z "${USE_EXTERNAL_METIS_TRUE}" && test -z "${USE_EXTERNAL_METIS_FALSE}"; then
5865
{ { echo "$as_me:$LINENO: error: conditional \"USE_EXTERNAL_METIS\" was never defined.
5866
Usually this means the macro was only invoked conditionally." >&5
5867
echo "$as_me: error: conditional \"USE_EXTERNAL_METIS\" was never defined.
5868
Usually this means the macro was only invoked conditionally." >&2;}
5869
{ (exit 1); exit 1; }; }
5871
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5872
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5873
Usually this means the macro was only invoked conditionally." >&5
5874
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5875
Usually this means the macro was only invoked conditionally." >&2;}
5876
{ (exit 1); exit 1; }; }
5879
: ${CONFIG_STATUS=./config.status}
5880
ac_clean_files_save=$ac_clean_files
5881
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5882
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5883
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5884
cat >$CONFIG_STATUS <<_ACEOF
5886
# Generated by $as_me.
5887
# Run this file to recreate the current configuration.
5888
# Compiler output produced by configure, useful for debugging
5889
# configure, is in config.log if it exists.
5894
SHELL=\${CONFIG_SHELL-$SHELL}
5897
cat >>$CONFIG_STATUS <<\_ACEOF
5898
## --------------------- ##
5899
## M4sh Initialization. ##
5900
## --------------------- ##
5902
# Be more Bourne compatible
5903
DUALCASE=1; export DUALCASE # for MKS sh
5904
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5907
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5908
# is contrary to our usage. Disable this feature.
5909
alias -g '${1+"$@"}'='"$@"'
5910
setopt NO_GLOB_SUBST
5912
case `(set -o) 2>/dev/null` in
5913
*posix*) set -o posix ;;
5922
# Avoid depending upon Character Ranges.
5923
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5924
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5925
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5926
as_cr_digits='0123456789'
5927
as_cr_alnum=$as_cr_Letters$as_cr_digits
5929
# The user is always right.
5930
if test "${PATH_SEPARATOR+set}" != set; then
5931
echo "#! /bin/sh" >conf$$.sh
5932
echo "exit 0" >>conf$$.sh
5934
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5942
# Support unset when possible.
5943
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5951
# We need space, tab and new line, in precisely that order. Quoting is
5952
# there to prevent editors from complaining about space-tab.
5953
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5954
# splitting by setting IFS to empty value.)
5959
# Find who we are. Look in the path if we contain no directory separator.
5961
*[\\/]* ) as_myself=$0 ;;
5962
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966
test -z "$as_dir" && as_dir=.
5967
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5973
# We did not find ourselves, most probably we were run as `sh COMMAND'
5974
# in which case we are not to be found in the path.
5975
if test "x$as_myself" = x; then
5978
if test ! -f "$as_myself"; then
5979
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5980
{ (exit 1); exit 1; }
5983
# Work around bugs in pre-3.0 UWIN ksh.
5984
for as_var in ENV MAIL MAILPATH
5985
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5993
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5994
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5995
LC_TELEPHONE LC_TIME
5997
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5998
eval $as_var=C; export $as_var
6000
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6004
# Required to use basename.
6005
if expr a : '\(a\)' >/dev/null 2>&1 &&
6006
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6012
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6013
as_basename=basename
6019
# Name of the executable.
6020
as_me=`$as_basename -- "$0" ||
6021
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6022
X"$0" : 'X\(//\)$' \| \
6023
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6025
sed '/^.*\/\([^/][^/]*\)\/*$/{
6046
test "x$as_lineno_1" != "x$as_lineno_2" &&
6047
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6049
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6050
# uniformly replaced by the line number. The first 'sed' inserts a
6051
# line-number line after each line using $LINENO; the second 'sed'
6052
# does the real work. The second script uses 'N' to pair each
6053
# line-number line with the line containing $LINENO, and appends
6054
# trailing '-' during substitution so that $LINENO is not a special
6056
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6057
# scripts with optimization help from Paolo Bonzini. Blame Lee
6058
# E. McMahon (1931-1989) for sed's syntax. :-)
6070
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6074
chmod +x "$as_me.lineno" ||
6075
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6076
{ (exit 1); exit 1; }; }
6078
# Don't try to exec as it changes $[0], causing all sort of problems
6079
# (the dirname of $[0] is not the place where we might find the
6080
# original and so on. Autoconf is especially sensitive to this).
6082
# Exit status is that of the last command.
6087
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6093
ECHO_C= ECHO_N= ECHO_T=
6096
case `echo 'x\c'` in
6097
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
6104
if expr a : '\(a\)' >/dev/null 2>&1 &&
6105
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6111
rm -f conf$$ conf$$.exe conf$$.file
6112
if test -d conf$$.dir; then
6113
rm -f conf$$.dir/conf$$.file
6119
if ln -s conf$$.file conf$$ 2>/dev/null; then
6121
# ... but there are two gotchas:
6122
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6123
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6124
# In both cases, we have to default to `cp -p'.
6125
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6127
elif ln conf$$.file conf$$ 2>/dev/null; then
6132
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6133
rmdir conf$$.dir 2>/dev/null
6135
if mkdir -p . 2>/dev/null; then
6138
test -d ./-p && rmdir ./-p
6142
if test -x / >/dev/null 2>&1; then
6145
if ls -dL / >/dev/null 2>&1; then
6152
if test -d "$1"; then
6158
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6159
???[sx]*):;;*)false;;esac;fi
6163
as_executable_p=$as_test_x
6165
# Sed expression to map a string onto a valid CPP name.
6166
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6168
# Sed expression to map a string onto a valid variable name.
6169
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6174
# Save the log message, to keep $[0] and so on meaningful, and to
6175
# report actual input values of CONFIG_FILES etc. instead of their
6176
# values after options handling.
6178
This file was extended by $as_me, which was
6179
generated by GNU Autoconf 2.61. Invocation command line was
6181
CONFIG_FILES = $CONFIG_FILES
6182
CONFIG_HEADERS = $CONFIG_HEADERS
6183
CONFIG_LINKS = $CONFIG_LINKS
6184
CONFIG_COMMANDS = $CONFIG_COMMANDS
6187
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6192
cat >>$CONFIG_STATUS <<_ACEOF
6193
# Files that config.status was made for.
6194
config_files="$ac_config_files"
6195
config_headers="$ac_config_headers"
6196
config_commands="$ac_config_commands"
6200
cat >>$CONFIG_STATUS <<\_ACEOF
6202
\`$as_me' instantiates files from templates according to the
6203
current configuration.
6205
Usage: $0 [OPTIONS] [FILE]...
6207
-h, --help print this help, then exit
6208
-V, --version print version number and configuration settings, then exit
6209
-q, --quiet do not print progress messages
6210
-d, --debug don't remove temporary files
6211
--recheck update $as_me by reconfiguring in the same conditions
6212
--file=FILE[:TEMPLATE]
6213
instantiate the configuration file FILE
6214
--header=FILE[:TEMPLATE]
6215
instantiate the configuration header FILE
6217
Configuration files:
6220
Configuration headers:
6223
Configuration commands:
6226
Report bugs to <bug-autoconf@gnu.org>."
6229
cat >>$CONFIG_STATUS <<_ACEOF
6232
configured by $0, generated by GNU Autoconf 2.61,
6233
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6235
Copyright (C) 2006 Free Software Foundation, Inc.
6236
This config.status script is free software; the Free Software Foundation
6237
gives unlimited permission to copy, distribute and modify it."
6245
cat >>$CONFIG_STATUS <<\_ACEOF
6246
# If no file are specified by the user, then we need to provide default
6247
# value. By we need to know if files were specified by the user.
6253
ac_option=`expr "X$1" : 'X\([^=]*\)='`
6254
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6265
# Handling of the options.
6266
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6268
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6269
echo "$ac_cs_version"; exit ;;
6270
--debug | --debu | --deb | --de | --d | -d )
6272
--file | --fil | --fi | --f )
6274
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6275
ac_need_defaults=false;;
6276
--header | --heade | --head | --hea )
6278
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6279
ac_need_defaults=false;;
6281
# Conflict between --help and --header
6282
{ echo "$as_me: error: ambiguous option: $1
6283
Try \`$0 --help' for more information." >&2
6284
{ (exit 1); exit 1; }; };;
6285
--help | --hel | -h )
6286
echo "$ac_cs_usage"; exit ;;
6287
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6288
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6292
-*) { echo "$as_me: error: unrecognized option: $1
6293
Try \`$0 --help' for more information." >&2
6294
{ (exit 1); exit 1; }; } ;;
6296
*) ac_config_targets="$ac_config_targets $1"
6297
ac_need_defaults=false ;;
6303
ac_configure_extra_args=
6305
if $ac_cs_silent; then
6307
ac_configure_extra_args="$ac_configure_extra_args --silent"
6311
cat >>$CONFIG_STATUS <<_ACEOF
6312
if \$ac_cs_recheck; then
6313
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6316
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6320
cat >>$CONFIG_STATUS <<\_ACEOF
6324
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
6325
@%:@@%:@ Running $as_me. @%:@@%:@
6331
cat >>$CONFIG_STATUS <<_ACEOF
6335
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6339
cat >>$CONFIG_STATUS <<\_ACEOF
6341
# Handling of arguments.
6342
for ac_config_target in $ac_config_targets
6344
case $ac_config_target in
6345
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6346
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6347
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6348
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6349
"src/metis/Makefile") CONFIG_FILES="$CONFIG_FILES src/metis/Makefile" ;;
6351
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6352
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6353
{ (exit 1); exit 1; }; };;
6358
# If the user did not use the arguments to specify the items to instantiate,
6359
# then the envvar interface is used. Set only those that are not.
6360
# We use the long form for the default assignment because of an extremely
6361
# bizarre bug on SunOS 4.1.3.
6362
if $ac_need_defaults; then
6363
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6364
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6365
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6368
# Have a temporary directory for convenience. Make it in the build tree
6369
# simply because there is no reason against having it here, and in addition,
6370
# creating and moving files from /tmp can sometimes cause problems.
6371
# Hook for its removal unless debugging.
6372
# Note that there is a small window in which the directory will not be cleaned:
6373
# after its creation but before its name has been assigned to `$tmp'.
6377
trap 'exit_status=$?
6378
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6380
trap '{ (exit 1); exit 1; }' 1 2 13 15
6382
# Create a (secure) tmp directory for tmp files.
6385
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6386
test -n "$tmp" && test -d "$tmp"
6389
tmp=./conf$$-$RANDOM
6390
(umask 077 && mkdir "$tmp")
6393
echo "$me: cannot create a temporary directory in ." >&2
6394
{ (exit 1); exit 1; }
6398
# Set up the sed scripts for CONFIG_FILES section.
6401
# No need to generate the scripts if there are no CONFIG_FILES.
6402
# This happens for instance when ./config.status config.h
6403
if test -n "$CONFIG_FILES"; then
6410
for ac_last_try in false false false false false :; do
6411
cat >conf$$subs.sed <<_ACEOF
6412
SHELL!$SHELL$ac_delim
6413
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6414
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6415
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6416
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6417
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6418
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6419
exec_prefix!$exec_prefix$ac_delim
6420
prefix!$prefix$ac_delim
6421
program_transform_name!$program_transform_name$ac_delim
6422
bindir!$bindir$ac_delim
6423
sbindir!$sbindir$ac_delim
6424
libexecdir!$libexecdir$ac_delim
6425
datarootdir!$datarootdir$ac_delim
6426
datadir!$datadir$ac_delim
6427
sysconfdir!$sysconfdir$ac_delim
6428
sharedstatedir!$sharedstatedir$ac_delim
6429
localstatedir!$localstatedir$ac_delim
6430
includedir!$includedir$ac_delim
6431
oldincludedir!$oldincludedir$ac_delim
6432
docdir!$docdir$ac_delim
6433
infodir!$infodir$ac_delim
6434
htmldir!$htmldir$ac_delim
6435
dvidir!$dvidir$ac_delim
6436
pdfdir!$pdfdir$ac_delim
6437
psdir!$psdir$ac_delim
6438
libdir!$libdir$ac_delim
6439
localedir!$localedir$ac_delim
6440
mandir!$mandir$ac_delim
6442
ECHO_C!$ECHO_C$ac_delim
6443
ECHO_N!$ECHO_N$ac_delim
6444
ECHO_T!$ECHO_T$ac_delim
6446
build_alias!$build_alias$ac_delim
6447
host_alias!$host_alias$ac_delim
6448
target_alias!$target_alias$ac_delim
6449
build!$build$ac_delim
6450
build_cpu!$build_cpu$ac_delim
6451
build_vendor!$build_vendor$ac_delim
6452
build_os!$build_os$ac_delim
6454
host_cpu!$host_cpu$ac_delim
6455
host_vendor!$host_vendor$ac_delim
6456
host_os!$host_os$ac_delim
6457
target!$target$ac_delim
6458
target_cpu!$target_cpu$ac_delim
6459
target_vendor!$target_vendor$ac_delim
6460
target_os!$target_os$ac_delim
6461
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6462
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6463
INSTALL_DATA!$INSTALL_DATA$ac_delim
6464
am__isrc!$am__isrc$ac_delim
6465
CYGPATH_W!$CYGPATH_W$ac_delim
6466
PACKAGE!$PACKAGE$ac_delim
6467
VERSION!$VERSION$ac_delim
6468
ACLOCAL!$ACLOCAL$ac_delim
6469
AUTOCONF!$AUTOCONF$ac_delim
6470
AUTOMAKE!$AUTOMAKE$ac_delim
6471
AUTOHEADER!$AUTOHEADER$ac_delim
6472
MAKEINFO!$MAKEINFO$ac_delim
6473
install_sh!$install_sh$ac_delim
6474
STRIP!$STRIP$ac_delim
6475
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6476
mkdir_p!$mkdir_p$ac_delim
6478
SET_MAKE!$SET_MAKE$ac_delim
6479
am__leading_dot!$am__leading_dot$ac_delim
6480
AMTAR!$AMTAR$ac_delim
6481
am__tar!$am__tar$ac_delim
6482
am__untar!$am__untar$ac_delim
6483
HAVE_WINDRES_TRUE!$HAVE_WINDRES_TRUE$ac_delim
6484
HAVE_WINDRES_FALSE!$HAVE_WINDRES_FALSE$ac_delim
6485
canonical_host_type!$canonical_host_type$ac_delim
6486
IBM_IS_PIECE_OF_SHIT_TRUE!$IBM_IS_PIECE_OF_SHIT_TRUE$ac_delim
6487
IBM_IS_PIECE_OF_SHIT_FALSE!$IBM_IS_PIECE_OF_SHIT_FALSE$ac_delim
6489
ARFLAGS!$ARFLAGS$ac_delim
6490
RANLIB!$RANLIB$ac_delim
6492
CFLAGS!$CFLAGS$ac_delim
6493
LDFLAGS!$LDFLAGS$ac_delim
6494
CPPFLAGS!$CPPFLAGS$ac_delim
6495
ac_ct_CC!$ac_ct_CC$ac_delim
6496
EXEEXT!$EXEEXT$ac_delim
6497
OBJEXT!$OBJEXT$ac_delim
6498
DEPDIR!$DEPDIR$ac_delim
6499
am__include!$am__include$ac_delim
6500
am__quote!$am__quote$ac_delim
6501
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6502
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6503
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6504
CCDEPMODE!$CCDEPMODE$ac_delim
6505
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6506
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6511
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6513
elif $ac_last_try; then
6514
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6515
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6516
{ (exit 1); exit 1; }; }
6518
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6522
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6523
if test -n "$ac_eof"; then
6524
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6525
ac_eof=`expr $ac_eof + 1`
6528
cat >>$CONFIG_STATUS <<_ACEOF
6529
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6530
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6533
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6534
s/^/s,@/; s/!/@,|#_!!_#|/
6537
s/'"$ac_delim"'$/,g/; t
6539
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6540
' >>$CONFIG_STATUS <conf$$subs.sed
6541
rm -f conf$$subs.sed
6542
cat >>$CONFIG_STATUS <<_ACEOF
6548
for ac_last_try in false false false false false :; do
6549
cat >conf$$subs.sed <<_ACEOF
6550
EGREP!$EGREP$ac_delim
6551
USE_64BIT_ARCH_TRUE!$USE_64BIT_ARCH_TRUE$ac_delim
6552
USE_64BIT_ARCH_FALSE!$USE_64BIT_ARCH_FALSE$ac_delim
6553
B64FLAGS!$B64FLAGS$ac_delim
6554
USE_WINDOWS_COMPILER_TRUE!$USE_WINDOWS_COMPILER_TRUE$ac_delim
6555
USE_WINDOWS_COMPILER_FALSE!$USE_WINDOWS_COMPILER_FALSE$ac_delim
6556
MATC_LIBS!$MATC_LIBS$ac_delim
6557
USE_EXTERNAL_METIS_TRUE!$USE_EXTERNAL_METIS_TRUE$ac_delim
6558
USE_EXTERNAL_METIS_FALSE!$USE_EXTERNAL_METIS_FALSE$ac_delim
6559
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
6560
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
6561
MAINT!$MAINT$ac_delim
6562
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
6563
LTLIBOBJS!$LTLIBOBJS$ac_delim
6566
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
6568
elif $ac_last_try; then
6569
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6570
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6571
{ (exit 1); exit 1; }; }
6573
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6577
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6578
if test -n "$ac_eof"; then
6579
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6580
ac_eof=`expr $ac_eof + 1`
6583
cat >>$CONFIG_STATUS <<_ACEOF
6584
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6585
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6588
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6589
s/^/s,@/; s/!/@,|#_!!_#|/
6592
s/'"$ac_delim"'$/,g/; t
6594
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6595
' >>$CONFIG_STATUS <conf$$subs.sed
6596
rm -f conf$$subs.sed
6597
cat >>$CONFIG_STATUS <<_ACEOF
6604
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6605
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6606
# trailing colons and then remove the whole line if VPATH becomes empty
6607
# (actually we leave an empty line to preserve line numbers).
6608
if test "x$srcdir" = x.; then
6609
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6613
s/^\([^=]*=[ ]*\):*/\1/
6619
cat >>$CONFIG_STATUS <<\_ACEOF
6620
fi # test -n "$CONFIG_FILES"
6623
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6626
:[FHLC]) ac_mode=$ac_tag; continue;;
6628
case $ac_mode$ac_tag in
6630
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6631
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6632
{ (exit 1); exit 1; }; };;
6633
:[FH]-) ac_tag=-:-;;
6634
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6651
-) ac_f="$tmp/stdin";;
6652
*) # Look for the file first in the build tree, then in the source tree
6653
# (if the path is not absolute). The absolute path cannot be DOS-style,
6654
# because $ac_f cannot contain `:'.
6658
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6660
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6661
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6662
{ (exit 1); exit 1; }; };;
6664
ac_file_inputs="$ac_file_inputs $ac_f"
6667
# Let's still pretend it is `configure' which instantiates (i.e., don't
6668
# use $as_me), people would be surprised to read:
6669
# /* config.h. Generated by config.status. */
6670
configure_input="Generated from "`IFS=:
6671
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6672
if test x"$ac_file" != x-; then
6673
configure_input="$ac_file. $configure_input"
6674
{ echo "$as_me:$LINENO: creating $ac_file" >&5
6675
echo "$as_me: creating $ac_file" >&6;}
6679
*:-:* | *:-) cat >"$tmp/stdin";;
6684
ac_dir=`$as_dirname -- "$ac_file" ||
6685
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6686
X"$ac_file" : 'X\(//\)[^/]' \| \
6687
X"$ac_file" : 'X\(//\)$' \| \
6688
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6690
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6709
-*) as_dir=./$as_dir;;
6711
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6715
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6716
*) as_qdir=$as_dir;;
6718
as_dirs="'$as_qdir' $as_dirs"
6719
as_dir=`$as_dirname -- "$as_dir" ||
6720
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6721
X"$as_dir" : 'X\(//\)[^/]' \| \
6722
X"$as_dir" : 'X\(//\)$' \| \
6723
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6725
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6742
test -d "$as_dir" && break
6744
test -z "$as_dirs" || eval "mkdir $as_dirs"
6745
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6746
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6747
{ (exit 1); exit 1; }; }; }
6751
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6753
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6754
# A ".." for each directory in $ac_dir_suffix.
6755
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6756
case $ac_top_builddir_sub in
6757
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6758
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6761
ac_abs_top_builddir=$ac_pwd
6762
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6763
# for backward compatibility:
6764
ac_top_builddir=$ac_top_build_prefix
6767
.) # We are building in place.
6769
ac_top_srcdir=$ac_top_builddir_sub
6770
ac_abs_top_srcdir=$ac_pwd ;;
6771
[\\/]* | ?:[\\/]* ) # Absolute name.
6772
ac_srcdir=$srcdir$ac_dir_suffix;
6773
ac_top_srcdir=$srcdir
6774
ac_abs_top_srcdir=$srcdir ;;
6776
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6777
ac_top_srcdir=$ac_top_build_prefix$srcdir
6778
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6780
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6790
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6791
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6795
[\\/$]* | ?:[\\/]* ) ;;
6796
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6800
cat >>$CONFIG_STATUS <<\_ACEOF
6801
# If the template does not know about datarootdir, expand it.
6802
# FIXME: This hack should be removed a few years after 2.60.
6803
ac_datarootdir_hack=; ac_datarootdir_seen=
6805
case `sed -n '/datarootdir/ {
6814
' $ac_file_inputs` in
6815
*datarootdir*) ac_datarootdir_seen=yes;;
6816
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6817
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6818
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6820
cat >>$CONFIG_STATUS <<_ACEOF
6821
ac_datarootdir_hack='
6822
s&@datadir@&$datadir&g
6823
s&@docdir@&$docdir&g
6824
s&@infodir@&$infodir&g
6825
s&@localedir@&$localedir&g
6826
s&@mandir@&$mandir&g
6827
s&\\\${datarootdir}&$datarootdir&g' ;;
6831
# Neutralize VPATH when `$srcdir' = `.'.
6832
# Shell code in configure.ac might set extrasub.
6833
# FIXME: do we really want to maintain this feature?
6834
cat >>$CONFIG_STATUS <<_ACEOF
6838
cat >>$CONFIG_STATUS <<\_ACEOF
6840
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6841
s&@configure_input@&$configure_input&;t t
6842
s&@top_builddir@&$ac_top_builddir_sub&;t t
6843
s&@srcdir@&$ac_srcdir&;t t
6844
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6845
s&@top_srcdir@&$ac_top_srcdir&;t t
6846
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6847
s&@builddir@&$ac_builddir&;t t
6848
s&@abs_builddir@&$ac_abs_builddir&;t t
6849
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6850
s&@INSTALL@&$ac_INSTALL&;t t
6851
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6852
$ac_datarootdir_hack
6853
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
6855
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6856
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6857
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6858
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6859
which seems to be undefined. Please make sure it is defined." >&5
6860
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6861
which seems to be undefined. Please make sure it is defined." >&2;}
6865
-) cat "$tmp/out"; rm -f "$tmp/out";;
6866
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6875
# Transform confdefs.h into a sed script `conftest.defines', that
6876
# substitutes the proper values into config.h.in to produce config.h.
6877
rm -f conftest.defines conftest.tail
6878
# First, append a space to every undef/define line, to ease matching.
6879
echo 's/$/ /' >conftest.defines
6880
# Then, protect against being on the right side of a sed subst, or in
6881
# an unquoted here document, in config.status. If some macros were
6882
# called several times there might be several #defines for the same
6883
# symbol, which is useless. But do not sort them, since the last
6884
# AC_DEFINE must be honored.
6885
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6886
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6887
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6888
# PARAMS is the parameter list in the macro definition--in most cases, it's
6889
# just an empty string.
6890
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6891
ac_dB='\\)[ (].*,\\1define\\2'
6899
s/^[ ]*#[ ]*define[ ][ ]*//
6904
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6905
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6906
' >>conftest.defines
6908
# Remove the space that was appended to ease matching.
6909
# Then replace #undef with comments. This is necessary, for
6910
# example, in the case of _POSIX_SOURCE, which is predefined and required
6911
# on some systems where configure will not decide to define it.
6912
# (The regexp can be short, since the line contains either #define or #undef.)
6914
s,^[ #]*u.*,/* & */,' >>conftest.defines
6916
# Break up conftest.defines:
6919
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6920
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6921
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6923
ac_in='$ac_file_inputs'
6924
ac_out='"$tmp/out1"'
6925
ac_nxt='"$tmp/out2"'
6929
# Write a here document:
6930
cat >>$CONFIG_STATUS <<_ACEOF
6931
# First, check the format of the line:
6932
cat >"\$tmp/defines.sed" <<\\CEOF
6933
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6934
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6938
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6940
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6941
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6942
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6943
grep . conftest.tail >/dev/null || break
6944
rm -f conftest.defines
6945
mv conftest.tail conftest.defines
6947
rm -f conftest.defines conftest.tail
6949
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6950
cat >>$CONFIG_STATUS <<\_ACEOF
6951
if test x"$ac_file" != x-; then
6952
echo "/* $configure_input */" >"$tmp/config.h"
6953
cat "$ac_result" >>"$tmp/config.h"
6954
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6955
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6956
echo "$as_me: $ac_file is unchanged" >&6;}
6959
mv "$tmp/config.h" $ac_file
6962
echo "/* $configure_input */"
6966
# Compute $ac_file's index in $config_headers.
6968
for _am_header in $config_headers :; do
6970
$ac_file | $ac_file:* )
6973
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6976
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6977
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6978
X$ac_file : 'X\(//\)[^/]' \| \
6979
X$ac_file : 'X\(//\)$' \| \
6980
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6982
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6998
s/.*/./; q'`/stamp-h$_am_stamp_count
7001
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7002
echo "$as_me: executing $ac_file commands" >&6;}
7007
case $ac_file$ac_mode in
7008
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7009
# Strip MF so we end up with the name of the file.
7010
mf=`echo "$mf" | sed -e 's/:.*$//'`
7011
# Check whether this is an Automake generated Makefile or not.
7012
# We used to match only the files named `Makefile.in', but
7013
# some people rename them; so instead we look at the file content.
7014
# Grep'ing the first line is not enough: some people post-process
7015
# each Makefile.in and add a new line on top of each file to say so.
7016
# Grep'ing the whole file is not good either: AIX grep has a line
7017
# limit of 2048, but all sed's we know have understand at least 4000.
7018
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
7019
dirpart=`$as_dirname -- "$mf" ||
7020
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7021
X"$mf" : 'X\(//\)[^/]' \| \
7022
X"$mf" : 'X\(//\)$' \| \
7023
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7025
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7045
# Extract the definition of DEPDIR, am__include, and am__quote
7046
# from the Makefile without running `make'.
7047
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7048
test -z "$DEPDIR" && continue
7049
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7050
test -z "am__include" && continue
7051
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7052
# When using ansi2knr, U may be empty or an underscore; expand it
7053
U=`sed -n 's/^U = //p' < "$mf"`
7054
# Find all dependency output files, they are included files with
7055
# $(DEPDIR) in their names. We invoke sed twice because it is the
7056
# simplest approach to changing $(DEPDIR) to its actual value in the
7058
for file in `sed -n "
7059
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7060
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7061
# Make sure the directory exists.
7062
test -f "$dirpart/$file" && continue
7063
fdir=`$as_dirname -- "$file" ||
7064
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7065
X"$file" : 'X\(//\)[^/]' \| \
7066
X"$file" : 'X\(//\)$' \| \
7067
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7069
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7086
{ as_dir=$dirpart/$fdir
7088
-*) as_dir=./$as_dir;;
7090
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7094
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7095
*) as_qdir=$as_dir;;
7097
as_dirs="'$as_qdir' $as_dirs"
7098
as_dir=`$as_dirname -- "$as_dir" ||
7099
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7100
X"$as_dir" : 'X\(//\)[^/]' \| \
7101
X"$as_dir" : 'X\(//\)$' \| \
7102
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7104
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7121
test -d "$as_dir" && break
7123
test -z "$as_dirs" || eval "mkdir $as_dirs"
7124
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7125
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7126
{ (exit 1); exit 1; }; }; }
7127
# echo "creating $dirpart/$file"
7128
echo '# dummy' > "$dirpart/$file"
7137
{ (exit 0); exit 0; }
7139
chmod +x $CONFIG_STATUS
7140
ac_clean_files=$ac_clean_files_save
7143
# configure is writing to config.log, and then calls config.status.
7144
# config.status does its own redirection, appending to config.log.
7145
# Unfortunately, on DOS this fails, as config.log is still kept open
7146
# by configure, so config.status won't be able to write to it; its
7147
# output is simply discarded. So we exec the FD to /dev/null,
7148
# effectively closing config.log, so it can be properly (re)opened and
7149
# appended to by config.status. When coming back to configure, we
7150
# need to make the FD available again.
7151
if test "$no_create" != yes; then
7153
ac_config_status_args=
7154
test "$silent" = yes &&
7155
ac_config_status_args="$ac_config_status_args --quiet"
7157
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7159
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
7160
# would make configure fail if this is the last instruction.
7161
$ac_cs_success || { (exit 1); exit 1; }