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/kernel"
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
701
HAS_LEGACY_GTKSOURCEVIEW
703
HAS_LABLGTK_CUSTOM_MODEL
709
ENABLE_SYNTACTIC_CALLGRAPH
710
ENABLE_CONSTANT_PROPAGATION
717
ENABLE_JOURNAL_LOADER
723
ENABLE_POSTDOMINATORS
726
ENABLE_SEMANTIC_CALLGRAPH
736
ac_precious_vars='build_alias
747
# Initialize some variables set by options.
749
ac_init_version=false
750
# The variables have the same names as the options, with
751
# dashes changed to underlines.
759
program_transform_name=s,x,x,
767
# Installation directory options.
768
# These are left unexpanded so users can "make install exec_prefix=/foo"
769
# and all the variables that are supposed to be based on exec_prefix
770
# by default will actually change.
771
# Use braces instead of parens because sh, perl, etc. also accept them.
772
# (The list follows the same order as the GNU Coding Standards.)
773
bindir='${exec_prefix}/bin'
774
sbindir='${exec_prefix}/sbin'
775
libexecdir='${exec_prefix}/libexec'
776
datarootdir='${prefix}/share'
777
datadir='${datarootdir}'
778
sysconfdir='${prefix}/etc'
779
sharedstatedir='${prefix}/com'
780
localstatedir='${prefix}/var'
781
includedir='${prefix}/include'
782
oldincludedir='/usr/include'
783
docdir='${datarootdir}/doc/${PACKAGE}'
784
infodir='${datarootdir}/info'
789
libdir='${exec_prefix}/lib'
790
localedir='${datarootdir}/locale'
791
mandir='${datarootdir}/man'
797
# If the previous option needs an argument, assign it.
798
if test -n "$ac_prev"; then
799
eval $ac_prev=\$ac_option
805
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809
# Accept the important Cygnus configure options, so we can diagnose typos.
811
case $ac_dashdash$ac_option in
815
-bindir | --bindir | --bindi | --bind | --bin | --bi)
817
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820
-build | --build | --buil | --bui | --bu)
821
ac_prev=build_alias ;;
822
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
823
build_alias=$ac_optarg ;;
825
-cache-file | --cache-file | --cache-fil | --cache-fi \
826
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
827
ac_prev=cache_file ;;
828
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
829
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
830
cache_file=$ac_optarg ;;
833
cache_file=config.cache ;;
835
-datadir | --datadir | --datadi | --datad)
837
-datadir=* | --datadir=* | --datadi=* | --datad=*)
838
datadir=$ac_optarg ;;
840
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
841
| --dataroo | --dataro | --datar)
842
ac_prev=datarootdir ;;
843
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
844
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
845
datarootdir=$ac_optarg ;;
847
-disable-* | --disable-*)
848
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849
# Reject names that are not valid shell variable names.
850
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
851
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
852
{ (exit 1); exit 1; }; }
853
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
854
eval enable_$ac_feature=no ;;
856
-docdir | --docdir | --docdi | --doc | --do)
858
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866
-enable-* | --enable-*)
867
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868
# Reject names that are not valid shell variable names.
869
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
870
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
871
{ (exit 1); exit 1; }; }
872
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
873
eval enable_$ac_feature=\$ac_optarg ;;
875
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
876
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
877
| --exec | --exe | --ex)
878
ac_prev=exec_prefix ;;
879
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
880
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
881
| --exec=* | --exe=* | --ex=*)
882
exec_prefix=$ac_optarg ;;
884
-gas | --gas | --ga | --g)
885
# Obsolete; use --with-gas.
888
-help | --help | --hel | --he | -h)
890
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
891
ac_init_help=recursive ;;
892
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
893
ac_init_help=short ;;
895
-host | --host | --hos | --ho)
896
ac_prev=host_alias ;;
897
-host=* | --host=* | --hos=* | --ho=*)
898
host_alias=$ac_optarg ;;
900
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
902
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
904
htmldir=$ac_optarg ;;
906
-includedir | --includedir | --includedi | --included | --include \
907
| --includ | --inclu | --incl | --inc)
908
ac_prev=includedir ;;
909
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
910
| --includ=* | --inclu=* | --incl=* | --inc=*)
911
includedir=$ac_optarg ;;
913
-infodir | --infodir | --infodi | --infod | --info | --inf)
915
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
916
infodir=$ac_optarg ;;
918
-libdir | --libdir | --libdi | --libd)
920
-libdir=* | --libdir=* | --libdi=* | --libd=*)
923
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
924
| --libexe | --libex | --libe)
925
ac_prev=libexecdir ;;
926
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
927
| --libexe=* | --libex=* | --libe=*)
928
libexecdir=$ac_optarg ;;
930
-localedir | --localedir | --localedi | --localed | --locale)
932
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
933
localedir=$ac_optarg ;;
935
-localstatedir | --localstatedir | --localstatedi | --localstated \
936
| --localstate | --localstat | --localsta | --localst | --locals)
937
ac_prev=localstatedir ;;
938
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
939
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
940
localstatedir=$ac_optarg ;;
942
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
944
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
948
# Obsolete; use --without-fp.
951
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
952
| --no-cr | --no-c | -n)
955
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
956
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
960
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
961
| --oldin | --oldi | --old | --ol | --o)
962
ac_prev=oldincludedir ;;
963
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
964
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
965
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
966
oldincludedir=$ac_optarg ;;
968
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
970
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973
-program-prefix | --program-prefix | --program-prefi | --program-pref \
974
| --program-pre | --program-pr | --program-p)
975
ac_prev=program_prefix ;;
976
-program-prefix=* | --program-prefix=* | --program-prefi=* \
977
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
978
program_prefix=$ac_optarg ;;
980
-program-suffix | --program-suffix | --program-suffi | --program-suff \
981
| --program-suf | --program-su | --program-s)
982
ac_prev=program_suffix ;;
983
-program-suffix=* | --program-suffix=* | --program-suffi=* \
984
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
985
program_suffix=$ac_optarg ;;
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
ac_prev=program_transform_name ;;
995
-program-transform-name=* | --program-transform-name=* \
996
| --program-transform-nam=* | --program-transform-na=* \
997
| --program-transform-n=* | --program-transform-=* \
998
| --program-transform=* | --program-transfor=* \
999
| --program-transfo=* | --program-transf=* \
1000
| --program-trans=* | --program-tran=* \
1001
| --progr-tra=* | --program-tr=* | --program-t=*)
1002
program_transform_name=$ac_optarg ;;
1004
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1006
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1007
pdfdir=$ac_optarg ;;
1009
-psdir | --psdir | --psdi | --psd | --ps)
1011
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015
| -silent | --silent | --silen | --sile | --sil)
1018
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1020
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1022
sbindir=$ac_optarg ;;
1024
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1025
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1026
| --sharedst | --shareds | --shared | --share | --shar \
1028
ac_prev=sharedstatedir ;;
1029
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1030
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1031
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1033
sharedstatedir=$ac_optarg ;;
1035
-site | --site | --sit)
1037
-site=* | --site=* | --sit=*)
1040
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1042
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1043
srcdir=$ac_optarg ;;
1045
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1046
| --syscon | --sysco | --sysc | --sys | --sy)
1047
ac_prev=sysconfdir ;;
1048
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1049
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1050
sysconfdir=$ac_optarg ;;
1052
-target | --target | --targe | --targ | --tar | --ta | --t)
1053
ac_prev=target_alias ;;
1054
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1055
target_alias=$ac_optarg ;;
1057
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1060
-version | --version | --versio | --versi | --vers | -V)
1061
ac_init_version=: ;;
1064
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065
# Reject names that are not valid shell variable names.
1066
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1067
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1068
{ (exit 1); exit 1; }; }
1069
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1070
eval with_$ac_package=\$ac_optarg ;;
1072
-without-* | --without-*)
1073
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074
# Reject names that are not valid shell variable names.
1075
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1077
{ (exit 1); exit 1; }; }
1078
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1079
eval with_$ac_package=no ;;
1082
# Obsolete; use --with-x.
1085
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1086
| --x-incl | --x-inc | --x-in | --x-i)
1087
ac_prev=x_includes ;;
1088
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1089
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1090
x_includes=$ac_optarg ;;
1092
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1093
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1094
ac_prev=x_libraries ;;
1095
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1096
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1097
x_libraries=$ac_optarg ;;
1099
-*) { echo "$as_me: error: unrecognized option: $ac_option
1100
Try \`$0 --help' for more information." >&2
1101
{ (exit 1); exit 1; }; }
1105
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1106
# Reject names that are not valid shell variable names.
1107
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1108
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1109
{ (exit 1); exit 1; }; }
1110
eval $ac_envvar=\$ac_optarg
1111
export $ac_envvar ;;
1114
# FIXME: should be removed in autoconf 3.0.
1115
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1117
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1124
if test -n "$ac_prev"; then
1125
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1126
{ echo "$as_me: error: missing argument to $ac_option" >&2
1127
{ (exit 1); exit 1; }; }
1130
# Be sure to have absolute directory names.
1131
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132
datadir sysconfdir sharedstatedir localstatedir includedir \
1133
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134
libdir localedir mandir
1136
eval ac_val=\$$ac_var
1138
[\\/$]* | ?:[\\/]* ) continue;;
1139
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1142
{ (exit 1); exit 1; }; }
1145
# There might be people who depend on the old broken behavior: `$host'
1146
# used to hold the argument of --host etc.
1147
# FIXME: To remove some day.
1150
target=$target_alias
1152
# FIXME: To remove some day.
1153
if test "x$host_alias" != x; then
1154
if test "x$build_alias" = x; then
1155
cross_compiling=maybe
1156
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1157
If a cross compiler is detected then cross compile mode will be used." >&2
1158
elif test "x$build_alias" != "x$host_alias"; then
1164
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166
test "$silent" = yes && exec 6>/dev/null
1169
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170
ac_ls_di=`ls -di .` &&
1171
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172
{ echo "$as_me: error: Working directory cannot be determined" >&2
1173
{ (exit 1); exit 1; }; }
1174
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1176
{ (exit 1); exit 1; }; }
1179
# Find the source files, if location was not specified.
1180
if test -z "$srcdir"; then
1181
ac_srcdir_defaulted=yes
1182
# Try the directory containing this script, then the parent directory.
1183
ac_confdir=`$as_dirname -- "$0" ||
1184
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185
X"$0" : 'X\(//\)[^/]' \| \
1186
X"$0" : 'X\(//\)$' \| \
1187
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1189
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207
if test ! -r "$srcdir/$ac_unique_file"; then
1211
ac_srcdir_defaulted=no
1213
if test ! -r "$srcdir/$ac_unique_file"; then
1214
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1216
{ (exit 1); exit 1; }; }
1218
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1220
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1221
{ (exit 1); exit 1; }; }
1223
# When building in place, set srcdir=.
1224
if test "$ac_abs_confdir" = "$ac_pwd"; then
1227
# Remove unnecessary trailing slashes from srcdir.
1228
# Double slashes in file names in object file debugging info
1229
# mess up M-x gdb in Emacs.
1231
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233
for ac_var in $ac_precious_vars; do
1234
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1235
eval ac_env_${ac_var}_value=\$${ac_var}
1236
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1237
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1241
# Report the --help message.
1243
if test "$ac_init_help" = "long"; then
1244
# Omit some internal or obsolete options to make the list less imposing.
1245
# This message is too long to be a string in the A/UX 3.1 sh.
1247
\`configure' configures this package to adapt to many kinds of systems.
1249
Usage: $0 [OPTION]... [VAR=VALUE]...
1251
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1252
VAR=VALUE. See below for descriptions of some of the useful variables.
1254
Defaults for the options are specified in brackets.
1257
-h, --help display this help and exit
1258
--help=short display options specific to this package
1259
--help=recursive display the short help of all the included packages
1260
-V, --version display version information and exit
1261
-q, --quiet, --silent do not print \`checking...' messages
1262
--cache-file=FILE cache test results in FILE [disabled]
1263
-C, --config-cache alias for \`--cache-file=config.cache'
1264
-n, --no-create do not create output files
1265
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1267
Installation directories:
1268
--prefix=PREFIX install architecture-independent files in PREFIX
1269
[$ac_default_prefix]
1270
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273
By default, \`make install' will install all the files in
1274
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1275
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1276
for instance \`--prefix=\$HOME'.
1278
For better control, use the options below.
1280
Fine tuning of the installation directories:
1281
--bindir=DIR user executables [EPREFIX/bin]
1282
--sbindir=DIR system admin executables [EPREFIX/sbin]
1283
--libexecdir=DIR program executables [EPREFIX/libexec]
1284
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1285
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1286
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1287
--libdir=DIR object code libraries [EPREFIX/lib]
1288
--includedir=DIR C header files [PREFIX/include]
1289
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1290
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1291
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1292
--infodir=DIR info documentation [DATAROOTDIR/info]
1293
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1294
--mandir=DIR man documentation [DATAROOTDIR/man]
1295
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1296
--htmldir=DIR html documentation [DOCDIR]
1297
--dvidir=DIR dvi documentation [DOCDIR]
1298
--pdfdir=DIR pdf documentation [DOCDIR]
1299
--psdir=DIR ps documentation [DOCDIR]
1306
if test -n "$ac_init_help"; then
1311
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1312
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1313
--enable-verbosemake verbose makefile commands
1314
--enable-unsupported-ocaml
1315
attempt to compile even against unsupported ocaml version
1316
--enable-localmachdep enable local machdep configuration
1317
--enable-syntactic_callgraph
1318
support for callgraph plugin (default: yes)
1319
--enable-constant_propagation
1320
support for constant propagation plugin (default: yes)
1321
--enable-cxx support for cxx plugin (default: no)
1322
--enable-from support for from analysis (default: yes)
1323
--enable-gui support for gui (default: yes)
1324
--enable-impact support for impact plugin (default: yes)
1325
--enable-inout support for inout analysis (default: yes)
1326
--enable-jessie support for jessie plugin (default: yes)
1327
--enable-journal_loader
1328
support journal loading (default: yes)
1329
--enable-metrics support for metrics analysis (default: yes)
1330
--enable-miel support for miel plugin (default: no)
1331
--enable-occurrence support for occurrence analysis (default: yes)
1332
--enable-pdg support for pdg plugin (default: yes)
1333
--enable-postdominators
1334
support for postdominators plugin (default: yes)
1335
--enable-scope support for scope plugin (default: yes)
1336
--enable-security support for security plugin (default: yes)
1337
--enable-semantic_callgraph
1338
support for semantic_callgraph (default: yes)
1339
--enable-slicing support for slicing plugin (default: yes)
1340
--enable-sparecode support for sparecode plugin (default: yes)
1341
--enable-users support for users analysis (default: yes)
1342
--enable-value support for value analysis (default: yes)
1343
--enable-wp support for wp plugin (default: yes)
1344
--enable-ltl_to_acsl support for Aorai plugin (ltl to acsl conversion) (default: yes)
1345
--enable-custommodel
1346
use a custom tree model in GUI. Need to have a recent lablgtk version
1349
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1350
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1351
--with-whydir=<path> directory for Why sources (default: why)
1353
Some influential environment variables:
1354
CC C compiler command
1355
CFLAGS C compiler flags
1356
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1357
nonstandard directory <lib dir>
1358
LIBS libraries to pass to the linker, e.g. -l<library>
1359
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1360
you have headers in a nonstandard directory <include dir>
1363
Use these variables to override the choices made by `configure' or to help
1364
it to find libraries and programs with nonstandard names/locations.
1370
if test "$ac_init_help" = "recursive"; then
1371
# If there are subdirs, report their specific --help.
1372
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1373
test -d "$ac_dir" || continue
1377
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1380
# A ".." for each directory in $ac_dir_suffix.
1381
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1382
case $ac_top_builddir_sub in
1383
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1387
ac_abs_top_builddir=$ac_pwd
1388
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1389
# for backward compatibility:
1390
ac_top_builddir=$ac_top_build_prefix
1393
.) # We are building in place.
1395
ac_top_srcdir=$ac_top_builddir_sub
1396
ac_abs_top_srcdir=$ac_pwd ;;
1397
[\\/]* | ?:[\\/]* ) # Absolute name.
1398
ac_srcdir=$srcdir$ac_dir_suffix;
1399
ac_top_srcdir=$srcdir
1400
ac_abs_top_srcdir=$srcdir ;;
1402
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1403
ac_top_srcdir=$ac_top_build_prefix$srcdir
1404
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1406
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1408
cd "$ac_dir" || { ac_status=$?; continue; }
1409
# Check for guested configure.
1410
if test -f "$ac_srcdir/configure.gnu"; then
1412
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1413
elif test -f "$ac_srcdir/configure"; then
1415
$SHELL "$ac_srcdir/configure" --help=recursive
1417
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1419
cd "$ac_pwd" || { ac_status=$?; break; }
1423
test -n "$ac_init_help" && exit $ac_status
1424
if $ac_init_version; then
1427
generated by GNU Autoconf 2.61
1429
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1430
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1431
This configure script is free software; the Free Software Foundation
1432
gives unlimited permission to copy, distribute and modify it.
1436
cat >config.log <<_ACEOF
1437
This file contains any messages produced by compilers while
1438
running configure, to aid debugging if configure makes a mistake.
1440
It was created by $as_me, which was
1441
generated by GNU Autoconf 2.61. Invocation command line was
1453
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1454
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1455
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1456
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1457
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1459
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1460
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1462
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1463
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1464
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1465
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1466
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1467
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1468
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1472
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476
test -z "$as_dir" && as_dir=.
1477
echo "PATH: $as_dir"
1493
# Keep a trace of the command line.
1494
# Strip out --no-create and --no-recursion so they do not pile up.
1495
# Strip out --silent because we don't want to record it for future runs.
1496
# Also quote any args containing shell meta-characters.
1497
# Make two passes to allow for proper duplicate-argument suppression.
1501
ac_must_keep_next=false
1507
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1508
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1509
| -silent | --silent | --silen | --sile | --sil)
1512
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1515
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1517
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1518
if test $ac_must_keep_next = true; then
1519
ac_must_keep_next=false # Got value, back to normal.
1522
*=* | --config-cache | -C | -disable-* | --disable-* \
1523
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1524
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1525
| -with-* | --with-* | -without-* | --without-* | --x)
1526
case "$ac_configure_args0 " in
1527
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1530
-* ) ac_must_keep_next=true ;;
1533
ac_configure_args="$ac_configure_args '$ac_arg'"
1538
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1539
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1541
# When interrupted or exit'd, cleanup temporary files, and complete
1542
# config.log. We remove comments because anyway the quotes in there
1543
# would cause problems or look ugly.
1544
# WARNING: Use '\'' to represent an apostrophe within the trap.
1545
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1546
trap 'exit_status=$?
1547
# Save into config.log some information that might help in debugging.
1552
## ---------------- ##
1553
## Cache variables. ##
1554
## ---------------- ##
1557
# The following way of writing the cache mishandles newlines in values,
1559
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560
eval ac_val=\$$ac_var
1564
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1565
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1568
_ | IFS | as_nl) ;; #(
1569
*) $as_unset $ac_var ;;
1574
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1575
*${as_nl}ac_space=\ *)
1577
"s/'\''/'\''\\\\'\'''\''/g;
1578
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1581
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589
## ----------------- ##
1590
## Output variables. ##
1591
## ----------------- ##
1594
for ac_var in $ac_subst_vars
1596
eval ac_val=\$$ac_var
1598
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600
echo "$ac_var='\''$ac_val'\''"
1604
if test -n "$ac_subst_files"; then
1606
## ------------------- ##
1607
## File substitutions. ##
1608
## ------------------- ##
1611
for ac_var in $ac_subst_files
1613
eval ac_val=\$$ac_var
1615
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617
echo "$ac_var='\''$ac_val'\''"
1622
if test -s confdefs.h; then
1632
test "$ac_signal" != 0 &&
1633
echo "$as_me: caught signal $ac_signal"
1634
echo "$as_me: exit $exit_status"
1636
rm -f core *.core core.conftest.* &&
1637
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1640
for ac_signal in 1 2 13 15; do
1641
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1645
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1646
rm -f -r conftest* confdefs.h
1648
# Predefined preprocessor variables.
1650
cat >>confdefs.h <<_ACEOF
1651
#define PACKAGE_NAME "$PACKAGE_NAME"
1655
cat >>confdefs.h <<_ACEOF
1656
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1660
cat >>confdefs.h <<_ACEOF
1661
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1665
cat >>confdefs.h <<_ACEOF
1666
#define PACKAGE_STRING "$PACKAGE_STRING"
1670
cat >>confdefs.h <<_ACEOF
1671
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1675
# Let the site file select an alternate cache file if it wants to.
1676
# Prefer explicitly selected file to automatically selected ones.
1677
if test -n "$CONFIG_SITE"; then
1678
set x "$CONFIG_SITE"
1679
elif test "x$prefix" != xNONE; then
1680
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1682
set x "$ac_default_prefix/share/config.site" \
1683
"$ac_default_prefix/etc/config.site"
1688
if test -r "$ac_site_file"; then
1689
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1690
echo "$as_me: loading site script $ac_site_file" >&6;}
1691
sed 's/^/| /' "$ac_site_file" >&5
1696
if test -r "$cache_file"; then
1697
# Some versions of bash will fail to source /dev/null (special
1698
# files actually), so we avoid doing that.
1699
if test -f "$cache_file"; then
1700
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1701
echo "$as_me: loading cache $cache_file" >&6;}
1703
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1704
*) . "./$cache_file";;
1708
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1709
echo "$as_me: creating cache $cache_file" >&6;}
1713
# Check that the precious variables saved in the cache have kept the same
1715
ac_cache_corrupted=false
1716
for ac_var in $ac_precious_vars; do
1717
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1718
eval ac_new_set=\$ac_env_${ac_var}_set
1719
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1720
eval ac_new_val=\$ac_env_${ac_var}_value
1721
case $ac_old_set,$ac_new_set in
1723
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1724
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1725
ac_cache_corrupted=: ;;
1727
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1728
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1729
ac_cache_corrupted=: ;;
1732
if test "x$ac_old_val" != "x$ac_new_val"; then
1733
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1734
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1735
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1736
echo "$as_me: former value: $ac_old_val" >&2;}
1737
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1738
echo "$as_me: current value: $ac_new_val" >&2;}
1739
ac_cache_corrupted=:
1742
# Pass precious variables to config.status.
1743
if test "$ac_new_set" = set; then
1745
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1746
*) ac_arg=$ac_var=$ac_new_val ;;
1748
case " $ac_configure_args " in
1749
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1750
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1754
if $ac_cache_corrupted; then
1755
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1756
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1757
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1758
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1759
{ (exit 1); exit 1; }; }
1779
ac_cpp='$CPP $CPPFLAGS'
1780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1785
export CYGWIN=nobinmode
1788
echo "$1" | tr "a-z" "A-Z"
1792
echo "$1" | tr "A-Z" "a-z"
1796
banner=`echo "* $1 *" | sed -e 's/./*/g'`
1797
title=`echo "* $1 *" | tr "a-z" "A-Z"`
1798
{ echo "$as_me:$LINENO: $banner" >&5
1799
echo "$as_me: $banner" >&6;}
1800
{ echo "$as_me:$LINENO: $title" >&5
1801
echo "$as_me: $title" >&6;}
1802
{ echo "$as_me:$LINENO: $banner" >&5
1803
echo "$as_me: $banner" >&6;}
1806
##########################
1807
# Check for Make version #
1808
##########################
1810
new_section "configure make"
1812
# Extract the first word of "make", so it can be a program name with args.
1813
set dummy make; ac_word=$2
1814
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1815
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1816
if test "${ac_cv_prog_MAKE+set}" = set; then
1817
echo $ECHO_N "(cached) $ECHO_C" >&6
1819
if test -n "$MAKE"; then
1820
ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1822
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826
test -z "$as_dir" && as_dir=.
1827
for ac_exec_ext in '' $ac_executable_extensions; do
1828
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1829
ac_cv_prog_MAKE="make"
1830
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839
MAKE=$ac_cv_prog_MAKE
1840
if test -n "$MAKE"; then
1841
{ echo "$as_me:$LINENO: result: $MAKE" >&5
1842
echo "${ECHO_T}$MAKE" >&6; }
1844
{ echo "$as_me:$LINENO: result: no" >&5
1845
echo "${ECHO_T}no" >&6; }
1849
MAKE_DISTRIB=`$MAKE -v | sed -n -e 's/\(.*\) Make.*$/\1/p' `
1850
MAKE_MAJOR=`$MAKE -v | sed -n -f bin/sed_get_make_major `
1851
MAKE_MINOR=`$MAKE -v | sed -n -f bin/sed_get_make_minor `
1852
echo $ECHO_N "make version is $MAKE_DISTRIB Make $MAKE_MAJOR.$MAKE_MINOR: $ECHO_C"
1853
if test "$MAKE_DISTRIB" != GNU -o "$MAKE_MAJOR" -lt 3 -o "$MAKE_MINOR" -lt 81;
1856
{ { echo "$as_me:$LINENO: error: unsupported version; GNU Make version 3.81
1857
or higher is required." >&5
1858
echo "$as_me: error: unsupported version; GNU Make version 3.81
1859
or higher is required." >&2;}
1860
{ (exit 1); exit 1; }; };
1862
echo "${ECHO_T}Good!"
1865
# verbosemake feature
1866
# Check whether --enable-verbosemake was given.
1867
if test "${enable_verbosemake+set}" = set; then
1868
enableval=$enable_verbosemake; VERBOSEMAKE=yes
1873
if test "$VERBOSEMAKE" = yes ; then
1874
{ echo "$as_me:$LINENO: result: Make will be verbose." >&5
1875
echo "${ECHO_T}Make will be verbose." >&6; }
1878
#############################
1879
# Check for Ocaml compilers #
1880
#############################
1882
# Specifically allow 3.10.0
1883
UNSUPPORTED_OCAML=no
1884
# Check whether --enable-unsupported-ocaml was given.
1885
if test "${enable_unsupported_ocaml+set}" = set; then
1886
enableval=$enable_unsupported_ocaml; UNSUPPORTED_OCAML=yes
1888
UNSUPPORTED_OCAML=no
1892
new_section "configure ocaml compilers"
1894
# we first look for ocamlc in the path; if not present, we fail
1895
# Extract the first word of "ocamlc", so it can be a program name with args.
1896
set dummy ocamlc; ac_word=$2
1897
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1898
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1899
if test "${ac_cv_prog_OCAMLC+set}" = set; then
1900
echo $ECHO_N "(cached) $ECHO_C" >&6
1902
if test -n "$OCAMLC"; then
1903
ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test.
1905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909
test -z "$as_dir" && as_dir=.
1910
for ac_exec_ext in '' $ac_executable_extensions; do
1911
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1912
ac_cv_prog_OCAMLC="ocamlc"
1913
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920
test -z "$ac_cv_prog_OCAMLC" && ac_cv_prog_OCAMLC="no"
1923
OCAMLC=$ac_cv_prog_OCAMLC
1924
if test -n "$OCAMLC"; then
1925
{ echo "$as_me:$LINENO: result: $OCAMLC" >&5
1926
echo "${ECHO_T}$OCAMLC" >&6; }
1928
{ echo "$as_me:$LINENO: result: no" >&5
1929
echo "${ECHO_T}no" >&6; }
1933
if test "$OCAMLC" = no ; then
1934
{ { echo "$as_me:$LINENO: error: Cannot find ocamlc." >&5
1935
echo "$as_me: error: Cannot find ocamlc." >&2;}
1936
{ (exit 1); exit 1; }; }
1939
# we extract Ocaml version number and library path
1940
OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
1941
LOWER_THAN_311="yes"
1942
echo $ECHO_N "ocaml version is $OCAMLVERSION: $ECHO_C"
1943
case $OCAMLVERSION in
1944
3.09.3*) echo "${ECHO_T}Good!";;
1945
3.09*) echo "${ECHO_T}Warning: unsupported version.";
1946
if test "$UNSUPPORTED_OCAML" == "yes"; then
1947
echo "Compile at your own risks";
1949
echo "If you want to compile Frama-C with this version, use the \
1950
--enable-unsupported-ocaml option of configure";
1954
3.0*) echo "${ECHO_T}Incompatible version!"; exit 2;;
1955
3.10.0) echo "${ECHO_T}Warning: unsupported version." ;
1956
if test "$UNSUPPORTED_OCAML" == "yes"; then
1957
echo "Compile at your own risks";
1959
echo "If you want to compile Frama-C with this version, use the \
1960
--enable-unsupported-ocaml option of configure";
1964
3.10*) echo "${ECHO_T}Good!";;
1965
3.1*) LOWER_THAN_311=no;
1966
echo "${ECHO_T}Good!";;
1967
*) echo "${ECHO_T}Incompatible version!"; exit 2;;
1970
# Ocaml library path
1971
OCAMLLIB=`$OCAMLC -where | tr -d '\\r'`
1972
echo "ocaml library path is $OCAMLLIB"
1974
# then we look for ocamlopt; if not present, we issue a warning
1975
# if the version is not the same, we also discard it
1976
# we set OCAMLBEST to "opt" or "byte", whether ocamlopt is available or not
1977
# Extract the first word of "ocamlopt", so it can be a program name with args.
1978
set dummy ocamlopt; ac_word=$2
1979
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1980
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981
if test "${ac_cv_prog_OCAMLOPT+set}" = set; then
1982
echo $ECHO_N "(cached) $ECHO_C" >&6
1984
if test -n "$OCAMLOPT"; then
1985
ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test.
1987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1991
test -z "$as_dir" && as_dir=.
1992
for ac_exec_ext in '' $ac_executable_extensions; do
1993
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994
ac_cv_prog_OCAMLOPT="ocamlopt"
1995
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2002
test -z "$ac_cv_prog_OCAMLOPT" && ac_cv_prog_OCAMLOPT="no"
2005
OCAMLOPT=$ac_cv_prog_OCAMLOPT
2006
if test -n "$OCAMLOPT"; then
2007
{ echo "$as_me:$LINENO: result: $OCAMLOPT" >&5
2008
echo "${ECHO_T}$OCAMLOPT" >&6; }
2010
{ echo "$as_me:$LINENO: result: no" >&5
2011
echo "${ECHO_T}no" >&6; }
2016
if test "$OCAMLOPT" = no ; then
2017
{ echo "$as_me:$LINENO: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
2018
echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
2020
{ echo "$as_me:$LINENO: checking ocamlopt version" >&5
2021
echo $ECHO_N "checking ocamlopt version... $ECHO_C" >&6; }
2022
TMPVERSION=`$OCAMLOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
2023
if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2024
{ echo "$as_me:$LINENO: result: differs from ocamlc; ocamlopt discarded." >&5
2025
echo "${ECHO_T}differs from ocamlc; ocamlopt discarded." >&6; }
2028
{ echo "$as_me:$LINENO: result: ok" >&5
2029
echo "${ECHO_T}ok" >&6; }
2034
if test "$OCAMLBEST" = "opt"; then
2042
# checking for ocamlc.opt
2043
# Extract the first word of "ocamlc.opt", so it can be a program name with args.
2044
set dummy ocamlc.opt; ac_word=$2
2045
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2046
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2047
if test "${ac_cv_prog_OCAMLCDOTOPT+set}" = set; then
2048
echo $ECHO_N "(cached) $ECHO_C" >&6
2050
if test -n "$OCAMLCDOTOPT"; then
2051
ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test.
2053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057
test -z "$as_dir" && as_dir=.
2058
for ac_exec_ext in '' $ac_executable_extensions; do
2059
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060
ac_cv_prog_OCAMLCDOTOPT="ocamlc.opt"
2061
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068
test -z "$ac_cv_prog_OCAMLCDOTOPT" && ac_cv_prog_OCAMLCDOTOPT="no"
2071
OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT
2072
if test -n "$OCAMLCDOTOPT"; then
2073
{ echo "$as_me:$LINENO: result: $OCAMLCDOTOPT" >&5
2074
echo "${ECHO_T}$OCAMLCDOTOPT" >&6; }
2076
{ echo "$as_me:$LINENO: result: no" >&5
2077
echo "${ECHO_T}no" >&6; }
2081
if test "$OCAMLCDOTOPT" != no ; then
2082
{ echo "$as_me:$LINENO: checking ocamlc.opt version" >&5
2083
echo $ECHO_N "checking ocamlc.opt version... $ECHO_C" >&6; }
2084
TMPVERSION=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
2085
if test "$TMPVERSION" != "$OCAMLVERSION" ; then
2086
{ echo "$as_me:$LINENO: result: differs from ocamlc; ocamlc.opt discarded." >&5
2087
echo "${ECHO_T}differs from ocamlc; ocamlc.opt discarded." >&6; }
2089
{ echo "$as_me:$LINENO: result: ok" >&5
2090
echo "${ECHO_T}ok" >&6; }
2091
OCAMLC=$OCAMLCDOTOPT
2095
# checking for ocamlopt.opt
2096
if test "$OCAMLOPT" != no ; then
2097
# Extract the first word of "ocamlopt.opt", so it can be a program name with args.
2098
set dummy ocamlopt.opt; ac_word=$2
2099
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2100
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2101
if test "${ac_cv_prog_OCAMLOPTDOTOPT+set}" = set; then
2102
echo $ECHO_N "(cached) $ECHO_C" >&6
2104
if test -n "$OCAMLOPTDOTOPT"; then
2105
ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test.
2107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111
test -z "$as_dir" && as_dir=.
2112
for ac_exec_ext in '' $ac_executable_extensions; do
2113
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114
ac_cv_prog_OCAMLOPTDOTOPT="ocamlopt.opt"
2115
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122
test -z "$ac_cv_prog_OCAMLOPTDOTOPT" && ac_cv_prog_OCAMLOPTDOTOPT="no"
2125
OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT
2126
if test -n "$OCAMLOPTDOTOPT"; then
2127
{ echo "$as_me:$LINENO: result: $OCAMLOPTDOTOPT" >&5
2128
echo "${ECHO_T}$OCAMLOPTDOTOPT" >&6; }
2130
{ echo "$as_me:$LINENO: result: no" >&5
2131
echo "${ECHO_T}no" >&6; }
2135
if test "$OCAMLOPTDOTOPT" != no ; then
2136
{ echo "$as_me:$LINENO: checking ocamlc.opt version" >&5
2137
echo $ECHO_N "checking ocamlc.opt version... $ECHO_C" >&6; }
2138
TMPVER=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version *\(.*\)$|\1|p' `
2139
if test "$TMPVER" != "$OCAMLVERSION" ; then
2140
{ echo "$as_me:$LINENO: result: differs from ocamlc; ocamlopt.opt discarded." >&5
2141
echo "${ECHO_T}differs from ocamlc; ocamlopt.opt discarded." >&6; }
2143
{ echo "$as_me:$LINENO: result: ok" >&5
2144
echo "${ECHO_T}ok" >&6; }
2145
OCAMLOPT=$OCAMLOPTDOTOPT
2150
##############################################
2151
# Check for other mandatory tools/libraries #
2152
##############################################
2154
new_section "configure mandatory tools and libraries"
2157
# Extract the first word of "ocamldep", so it can be a program name with args.
2158
set dummy ocamldep; ac_word=$2
2159
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2160
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2161
if test "${ac_cv_prog_OCAMLDEP+set}" = set; then
2162
echo $ECHO_N "(cached) $ECHO_C" >&6
2164
if test -n "$OCAMLDEP"; then
2165
ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test.
2167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171
test -z "$as_dir" && as_dir=.
2172
for ac_exec_ext in '' $ac_executable_extensions; do
2173
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2174
ac_cv_prog_OCAMLDEP="ocamldep"
2175
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182
test -z "$ac_cv_prog_OCAMLDEP" && ac_cv_prog_OCAMLDEP="no"
2185
OCAMLDEP=$ac_cv_prog_OCAMLDEP
2186
if test -n "$OCAMLDEP"; then
2187
{ echo "$as_me:$LINENO: result: $OCAMLDEP" >&5
2188
echo "${ECHO_T}$OCAMLDEP" >&6; }
2190
{ echo "$as_me:$LINENO: result: no" >&5
2191
echo "${ECHO_T}no" >&6; }
2195
if test "$OCAMLDEP" = no ; then
2196
{ { echo "$as_me:$LINENO: error: Cannot find ocamldep." >&5
2197
echo "$as_me: error: Cannot find ocamldep." >&2;}
2198
{ (exit 1); exit 1; }; }
2200
# Extract the first word of "ocamldep.opt", so it can be a program name with args.
2201
set dummy ocamldep.opt; ac_word=$2
2202
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2203
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2204
if test "${ac_cv_prog_OCAMLDEPDOTOPT+set}" = set; then
2205
echo $ECHO_N "(cached) $ECHO_C" >&6
2207
if test -n "$OCAMLDEPDOTOPT"; then
2208
ac_cv_prog_OCAMLDEPDOTOPT="$OCAMLDEPDOTOPT" # Let the user override the test.
2210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214
test -z "$as_dir" && as_dir=.
2215
for ac_exec_ext in '' $ac_executable_extensions; do
2216
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217
ac_cv_prog_OCAMLDEPDOTOPT="ocamldep.opt"
2218
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225
test -z "$ac_cv_prog_OCAMLDEPDOTOPT" && ac_cv_prog_OCAMLDEPDOTOPT="no"
2228
OCAMLDEPDOTOPT=$ac_cv_prog_OCAMLDEPDOTOPT
2229
if test -n "$OCAMLDEPDOTOPT"; then
2230
{ echo "$as_me:$LINENO: result: $OCAMLDEPDOTOPT" >&5
2231
echo "${ECHO_T}$OCAMLDEPDOTOPT" >&6; }
2233
{ echo "$as_me:$LINENO: result: no" >&5
2234
echo "${ECHO_T}no" >&6; }
2238
if test "$OCAMLDEPDOTOPT" != no ; then
2239
OCAMLDEP=$OCAMLDEPDOTOPT
2244
# Extract the first word of "ocamllex", so it can be a program name with args.
2245
set dummy ocamllex; ac_word=$2
2246
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2247
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2248
if test "${ac_cv_prog_OCAMLLEX+set}" = set; then
2249
echo $ECHO_N "(cached) $ECHO_C" >&6
2251
if test -n "$OCAMLLEX"; then
2252
ac_cv_prog_OCAMLLEX="$OCAMLLEX" # Let the user override the test.
2254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258
test -z "$as_dir" && as_dir=.
2259
for ac_exec_ext in '' $ac_executable_extensions; do
2260
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261
ac_cv_prog_OCAMLLEX="ocamllex"
2262
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269
test -z "$ac_cv_prog_OCAMLLEX" && ac_cv_prog_OCAMLLEX="no"
2272
OCAMLLEX=$ac_cv_prog_OCAMLLEX
2273
if test -n "$OCAMLLEX"; then
2274
{ echo "$as_me:$LINENO: result: $OCAMLLEX" >&5
2275
echo "${ECHO_T}$OCAMLLEX" >&6; }
2277
{ echo "$as_me:$LINENO: result: no" >&5
2278
echo "${ECHO_T}no" >&6; }
2282
if test "$OCAMLLEX" = no ; then
2283
{ { echo "$as_me:$LINENO: error: Cannot find ocamllex." >&5
2284
echo "$as_me: error: Cannot find ocamllex." >&2;}
2285
{ (exit 1); exit 1; }; }
2287
# Extract the first word of "ocamllex.opt", so it can be a program name with args.
2288
set dummy ocamllex.opt; ac_word=$2
2289
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2290
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291
if test "${ac_cv_prog_OCAMLLEXDOTOPT+set}" = set; then
2292
echo $ECHO_N "(cached) $ECHO_C" >&6
2294
if test -n "$OCAMLLEXDOTOPT"; then
2295
ac_cv_prog_OCAMLLEXDOTOPT="$OCAMLLEXDOTOPT" # Let the user override the test.
2297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301
test -z "$as_dir" && as_dir=.
2302
for ac_exec_ext in '' $ac_executable_extensions; do
2303
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304
ac_cv_prog_OCAMLLEXDOTOPT="ocamllex.opt"
2305
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312
test -z "$ac_cv_prog_OCAMLLEXDOTOPT" && ac_cv_prog_OCAMLLEXDOTOPT="no"
2315
OCAMLLEXDOTOPT=$ac_cv_prog_OCAMLLEXDOTOPT
2316
if test -n "$OCAMLLEXDOTOPT"; then
2317
{ echo "$as_me:$LINENO: result: $OCAMLLEXDOTOPT" >&5
2318
echo "${ECHO_T}$OCAMLLEXDOTOPT" >&6; }
2320
{ echo "$as_me:$LINENO: result: no" >&5
2321
echo "${ECHO_T}no" >&6; }
2325
if test "$OCAMLLEXDOTOPT" != no ; then
2326
OCAMLLEX=$OCAMLLEXDOTOPT
2331
# Extract the first word of "ocamlyacc", so it can be a program name with args.
2332
set dummy ocamlyacc; ac_word=$2
2333
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2334
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335
if test "${ac_cv_prog_OCAMLYACC+set}" = set; then
2336
echo $ECHO_N "(cached) $ECHO_C" >&6
2338
if test -n "$OCAMLYACC"; then
2339
ac_cv_prog_OCAMLYACC="$OCAMLYACC" # Let the user override the test.
2341
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345
test -z "$as_dir" && as_dir=.
2346
for ac_exec_ext in '' $ac_executable_extensions; do
2347
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348
ac_cv_prog_OCAMLYACC="ocamlyacc"
2349
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356
test -z "$ac_cv_prog_OCAMLYACC" && ac_cv_prog_OCAMLYACC="no"
2359
OCAMLYACC=$ac_cv_prog_OCAMLYACC
2360
if test -n "$OCAMLYACC"; then
2361
{ echo "$as_me:$LINENO: result: $OCAMLYACC" >&5
2362
echo "${ECHO_T}$OCAMLYACC" >&6; }
2364
{ echo "$as_me:$LINENO: result: no" >&5
2365
echo "${ECHO_T}no" >&6; }
2369
if test "$OCAMLYACC" = no ; then
2370
{ { echo "$as_me:$LINENO: error: Cannot find ocamlyacc." >&5
2371
echo "$as_me: error: Cannot find ocamlyacc." >&2;}
2372
{ (exit 1); exit 1; }; }
2379
OCAMLGRAPH_LOCAL=ocamlgraph
2380
OCAMLGRAPH_EXISTS=no
2382
OCAMLGRAPH_TEST=$OCAMLGRAPH_LOCAL
2384
as_ac_File=`echo "ac_cv_file_$OCAMLGRAPH_TEST" | $as_tr_sh`
2385
{ echo "$as_me:$LINENO: checking for $OCAMLGRAPH_TEST" >&5
2386
echo $ECHO_N "checking for $OCAMLGRAPH_TEST... $ECHO_C" >&6; }
2387
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
2388
echo $ECHO_N "(cached) $ECHO_C" >&6
2390
test "$cross_compiling" = yes &&
2391
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2392
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2393
{ (exit 1); exit 1; }; }
2394
if test -r "$OCAMLGRAPH_TEST"; then
2395
eval "$as_ac_File=yes"
2397
eval "$as_ac_File=no"
2400
ac_res=`eval echo '${'$as_ac_File'}'`
2401
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2402
echo "${ECHO_T}$ac_res" >&6; }
2403
if test `eval echo '${'$as_ac_File'}'` = yes; then
2404
OCAMLGRAPH_EXISTS=yes
2408
if test "$OCAMLGRAPH_EXISTS" == "no"; then
2409
{ echo "$as_me:$LINENO: checking for ocamlgraph.tar.gz" >&5
2410
echo $ECHO_N "checking for ocamlgraph.tar.gz... $ECHO_C" >&6; }
2411
if test "${ac_cv_file_ocamlgraph_tar_gz+set}" = set; then
2412
echo $ECHO_N "(cached) $ECHO_C" >&6
2414
test "$cross_compiling" = yes &&
2415
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2416
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2417
{ (exit 1); exit 1; }; }
2418
if test -r "ocamlgraph.tar.gz"; then
2419
ac_cv_file_ocamlgraph_tar_gz=yes
2421
ac_cv_file_ocamlgraph_tar_gz=no
2424
{ echo "$as_me:$LINENO: result: $ac_cv_file_ocamlgraph_tar_gz" >&5
2425
echo "${ECHO_T}$ac_cv_file_ocamlgraph_tar_gz" >&6; }
2426
if test $ac_cv_file_ocamlgraph_tar_gz = yes; then
2427
OCAMLGRAPH_EXISTS=yes
2430
if test "$OCAMLGRAPH_EXISTS" == "yes"; then
2431
{ echo "$as_me:$LINENO: Unarchiving ocamlgraph.tar.gz" >&5
2432
echo "$as_me: Unarchiving ocamlgraph.tar.gz" >&6;}
2433
tar zxf ocamlgraph.tar.gz
2436
{ echo "$as_me:$LINENO: checking for ocamlgraph.tar.gz" >&5
2437
echo $ECHO_N "checking for ocamlgraph.tar.gz... $ECHO_C" >&6; }
2438
if test "${ac_cv_file_ocamlgraph_tar_gz+set}" = set; then
2439
echo $ECHO_N "(cached) $ECHO_C" >&6
2441
test "$cross_compiling" = yes &&
2442
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2443
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2444
{ (exit 1); exit 1; }; }
2445
if test -r "ocamlgraph.tar.gz"; then
2446
ac_cv_file_ocamlgraph_tar_gz=yes
2448
ac_cv_file_ocamlgraph_tar_gz=no
2451
{ echo "$as_me:$LINENO: result: $ac_cv_file_ocamlgraph_tar_gz" >&5
2452
echo "${ECHO_T}$ac_cv_file_ocamlgraph_tar_gz" >&6; }
2453
if test $ac_cv_file_ocamlgraph_tar_gz = yes; then
2457
if test "$OCAMLGRAPH_TAR" == "yes"; then
2458
if test ocamlgraph.tar.gz -nt ocamlgraph; then
2460
{ echo "$as_me:$LINENO: Ocamlgraph updated" >&5
2461
echo "$as_me: Ocamlgraph updated" >&6;}
2462
tar zxf ocamlgraph.tar.gz
2467
#NB: until now, it is not really possible to check a particular
2468
#version of ocamlgraph if it is installed system-wide. for godi installs, this
2469
#is taken into account by godi itself
2470
if test "$OCAMLGRAPH_EXISTS" == "no"; then
2472
OCAMLGRAPH_TEST=$OCAMLLIB/ocamlgraph
2473
OCAMLGRAPH="-I +ocamlgraph"
2474
as_ac_File=`echo "ac_cv_file_$OCAMLGRAPH_TEST" | $as_tr_sh`
2475
{ echo "$as_me:$LINENO: checking for $OCAMLGRAPH_TEST" >&5
2476
echo $ECHO_N "checking for $OCAMLGRAPH_TEST... $ECHO_C" >&6; }
2477
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
2478
echo $ECHO_N "(cached) $ECHO_C" >&6
2480
test "$cross_compiling" = yes &&
2481
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2482
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2483
{ (exit 1); exit 1; }; }
2484
if test -r "$OCAMLGRAPH_TEST"; then
2485
eval "$as_ac_File=yes"
2487
eval "$as_ac_File=no"
2490
ac_res=`eval echo '${'$as_ac_File'}'`
2491
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2492
echo "${ECHO_T}$ac_res" >&6; }
2493
if test `eval echo '${'$as_ac_File'}'` = yes; then
2494
OCAMLGRAPH_EXISTS=yes
2498
if test "$OCAMLGRAPH_EXISTS" == "no"; then
2499
OCAMLGRAPH_TEST=$OCAMLLIB
2501
as_ac_File=`echo "ac_cv_file_$OCAMLGRAPH_TEST/graph.$OBJ_SUFFIX" | $as_tr_sh`
2502
{ echo "$as_me:$LINENO: checking for $OCAMLGRAPH_TEST/graph.$OBJ_SUFFIX" >&5
2503
echo $ECHO_N "checking for $OCAMLGRAPH_TEST/graph.$OBJ_SUFFIX... $ECHO_C" >&6; }
2504
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
2505
echo $ECHO_N "(cached) $ECHO_C" >&6
2507
test "$cross_compiling" = yes &&
2508
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2509
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2510
{ (exit 1); exit 1; }; }
2511
if test -r "$OCAMLGRAPH_TEST/graph.$OBJ_SUFFIX"; then
2512
eval "$as_ac_File=yes"
2514
eval "$as_ac_File=no"
2517
ac_res=`eval echo '${'$as_ac_File'}'`
2518
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2519
echo "${ECHO_T}$ac_res" >&6; }
2520
if test `eval echo '${'$as_ac_File'}'` = yes; then
2521
OCAMLGRAPH_EXISTS=yes
2526
if test "$OCAMLGRAPH_EXISTS" == "no"; then
2527
{ { echo "$as_me:$LINENO: error: Cannot find $OCAMLGRAPH_LOCAL in current directory
2528
Please download the latest version from http://ocamlgraph.lri.fr/download
2529
Compile it in \"ocamlgraph\" then rerun ./configure" >&5
2530
echo "$as_me: error: Cannot find $OCAMLGRAPH_LOCAL in current directory
2531
Please download the latest version from http://ocamlgraph.lri.fr/download
2532
Compile it in \"ocamlgraph\" then rerun ./configure" >&2;}
2533
{ (exit 1); exit 1; }; }
2536
as_ac_File=`echo "ac_cv_file_$OCAMLGRAPH_TEST/Makefile" | $as_tr_sh`
2537
{ echo "$as_me:$LINENO: checking for $OCAMLGRAPH_TEST/Makefile" >&5
2538
echo $ECHO_N "checking for $OCAMLGRAPH_TEST/Makefile... $ECHO_C" >&6; }
2539
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
2540
echo $ECHO_N "(cached) $ECHO_C" >&6
2542
test "$cross_compiling" = yes &&
2543
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2544
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2545
{ (exit 1); exit 1; }; }
2546
if test -r "$OCAMLGRAPH_TEST/Makefile"; then
2547
eval "$as_ac_File=yes"
2549
eval "$as_ac_File=no"
2552
ac_res=`eval echo '${'$as_ac_File'}'`
2553
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2554
echo "${ECHO_T}$ac_res" >&6; }
2555
if test `eval echo '${'$as_ac_File'}'` = yes; then
2558
{ echo "$as_me:$LINENO: Configuring ocamlgraph" >&5
2559
echo "$as_me: Configuring ocamlgraph" >&6;}
2560
(cd $OCAMLGRAPH_TEST && ./configure > /dev/null)
2563
# AC_CHECK_FILE($OCAMLGRAPH_TEST/graph.cmo,,
2564
# AC_MSG_NOTICE([ocamlgraph not compiled: compiling it])
2565
# [$MAKE -s -C $OCAMLGRAPH_TEST])
2568
#################################################
2569
# Check for other non-mandatory tools/libraries #
2570
#################################################
2572
new_section "configure non-mandatory tools and libraries"
2574
# Extract the first word of "ocamldoc", so it can be a program name with args.
2575
set dummy ocamldoc; ac_word=$2
2576
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2577
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578
if test "${ac_cv_prog_OCAMLDOC+set}" = set; then
2579
echo $ECHO_N "(cached) $ECHO_C" >&6
2581
if test -n "$OCAMLDOC"; then
2582
ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test.
2584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588
test -z "$as_dir" && as_dir=.
2589
for ac_exec_ext in '' $ac_executable_extensions; do
2590
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591
ac_cv_prog_OCAMLDOC="ocamldoc"
2592
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2599
test -z "$ac_cv_prog_OCAMLDOC" && ac_cv_prog_OCAMLDOC="no"
2602
OCAMLDOC=$ac_cv_prog_OCAMLDOC
2603
if test -n "$OCAMLDOC"; then
2604
{ echo "$as_me:$LINENO: result: $OCAMLDOC" >&5
2605
echo "${ECHO_T}$OCAMLDOC" >&6; }
2607
{ echo "$as_me:$LINENO: result: no" >&5
2608
echo "${ECHO_T}no" >&6; }
2612
if test "$OCAMLDOC" = no ; then
2613
{ echo "$as_me:$LINENO: result: ocamldoc discarded not present" >&5
2614
echo "${ECHO_T}ocamldoc discarded not present" >&6; }
2617
# Extract the first word of "ocamlmktop", so it can be a program name with args.
2618
set dummy ocamlmktop; ac_word=$2
2619
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2620
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2621
if test "${ac_cv_prog_OCAMLMKTOP+set}" = set; then
2622
echo $ECHO_N "(cached) $ECHO_C" >&6
2624
if test -n "$OCAMLMKTOP"; then
2625
ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test.
2627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631
test -z "$as_dir" && as_dir=.
2632
for ac_exec_ext in '' $ac_executable_extensions; do
2633
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634
ac_cv_prog_OCAMLMKTOP="ocamlmktop"
2635
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2642
test -z "$ac_cv_prog_OCAMLMKTOP" && ac_cv_prog_OCAMLMKTOP="no"
2645
OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP
2646
if test -n "$OCAMLMKTOP"; then
2647
{ echo "$as_me:$LINENO: result: $OCAMLMKTOP" >&5
2648
echo "${ECHO_T}$OCAMLMKTOP" >&6; }
2650
{ echo "$as_me:$LINENO: result: no" >&5
2651
echo "${ECHO_T}no" >&6; }
2655
if test "$OCAMLMKTOP" = no ; then
2656
{ echo "$as_me:$LINENO: result: Cannot find ocamlmktop: toplevels cannot be built." >&5
2657
echo "${ECHO_T}Cannot find ocamlmktop: toplevels cannot be built." >&6; }
2660
# Extract the first word of "otags", so it can be a program name with args.
2661
set dummy otags; ac_word=$2
2662
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2663
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2664
if test "${ac_cv_prog_OTAGS+set}" = set; then
2665
echo $ECHO_N "(cached) $ECHO_C" >&6
2667
if test -n "$OTAGS"; then
2668
ac_cv_prog_OTAGS="$OTAGS" # Let the user override the test.
2670
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674
test -z "$as_dir" && as_dir=.
2675
for ac_exec_ext in '' $ac_executable_extensions; do
2676
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677
ac_cv_prog_OTAGS="otags"
2678
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687
OTAGS=$ac_cv_prog_OTAGS
2688
if test -n "$OTAGS"; then
2689
{ echo "$as_me:$LINENO: result: $OTAGS" >&5
2690
echo "${ECHO_T}$OTAGS" >&6; }
2692
{ echo "$as_me:$LINENO: result: no" >&5
2693
echo "${ECHO_T}no" >&6; }
2697
# Extract the first word of "dot", so it can be a program name with args.
2698
set dummy dot; ac_word=$2
2699
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2700
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2701
if test "${ac_cv_prog_DOT+set}" = set; then
2702
echo $ECHO_N "(cached) $ECHO_C" >&6
2704
if test -n "$DOT"; then
2705
ac_cv_prog_DOT="$DOT" # Let the user override the test.
2707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711
test -z "$as_dir" && as_dir=.
2712
for ac_exec_ext in '' $ac_executable_extensions; do
2713
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714
ac_cv_prog_DOT="dot"
2715
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725
if test -n "$DOT"; then
2726
{ echo "$as_me:$LINENO: result: $DOT" >&5
2727
echo "${ECHO_T}$DOT" >&6; }
2729
{ echo "$as_me:$LINENO: result: no" >&5
2730
echo "${ECHO_T}no" >&6; }
2739
new_section "configure platform"
2741
{ echo "$as_me:$LINENO: checking platform" >&5
2742
echo $ECHO_N "checking platform... $ECHO_C" >&6; }
2743
if echo "let _ = Sys.os_type;;" | ocaml | grep -q Win32; then
2744
{ echo "$as_me:$LINENO: result: Win32" >&5
2745
echo "${ECHO_T}Win32" >&6; }
2750
if echo "let _ = Sys.os_type;;" | ocaml | grep -q Cygwin; then
2751
{ echo "$as_me:$LINENO: result: Cygwin" >&5
2752
echo "${ECHO_T}Cygwin" >&6; }
2755
{ echo "$as_me:$LINENO: result: Unix" >&5
2756
echo "${ECHO_T}Unix" >&6; }
2761
# Local machdep feature (to generate new platforms)
2762
# Check whether --enable-localmachdep was given.
2763
if test "${enable_localmachdep+set}" = set; then
2764
enableval=$enable_localmachdep; LOCAL_MACHDEP=yes
2770
if test "$LOCAL_MACHDEP" = yes ; then
2771
ac_config_headers="$ac_config_headers config.h"
2774
ac_cpp='$CPP $CPPFLAGS'
2775
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2776
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2777
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2778
if test -n "$ac_tool_prefix"; then
2779
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2780
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2781
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2782
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2783
if test "${ac_cv_prog_CC+set}" = set; then
2784
echo $ECHO_N "(cached) $ECHO_C" >&6
2786
if test -n "$CC"; then
2787
ac_cv_prog_CC="$CC" # Let the user override the test.
2789
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793
test -z "$as_dir" && as_dir=.
2794
for ac_exec_ext in '' $ac_executable_extensions; do
2795
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2797
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807
if test -n "$CC"; then
2808
{ echo "$as_me:$LINENO: result: $CC" >&5
2809
echo "${ECHO_T}$CC" >&6; }
2811
{ echo "$as_me:$LINENO: result: no" >&5
2812
echo "${ECHO_T}no" >&6; }
2817
if test -z "$ac_cv_prog_CC"; then
2819
# Extract the first word of "gcc", so it can be a program name with args.
2820
set dummy gcc; ac_word=$2
2821
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2822
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2823
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2824
echo $ECHO_N "(cached) $ECHO_C" >&6
2826
if test -n "$ac_ct_CC"; then
2827
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2829
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833
test -z "$as_dir" && as_dir=.
2834
for ac_exec_ext in '' $ac_executable_extensions; do
2835
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836
ac_cv_prog_ac_ct_CC="gcc"
2837
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2847
if test -n "$ac_ct_CC"; then
2848
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2849
echo "${ECHO_T}$ac_ct_CC" >&6; }
2851
{ echo "$as_me:$LINENO: result: no" >&5
2852
echo "${ECHO_T}no" >&6; }
2855
if test "x$ac_ct_CC" = x; then
2858
case $cross_compiling:$ac_tool_warned in
2860
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2861
whose name does not start with the host triplet. If you think this
2862
configuration is useful to you, please write to autoconf@gnu.org." >&5
2863
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2864
whose name does not start with the host triplet. If you think this
2865
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2866
ac_tool_warned=yes ;;
2874
if test -z "$CC"; then
2875
if test -n "$ac_tool_prefix"; then
2876
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2877
set dummy ${ac_tool_prefix}cc; ac_word=$2
2878
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2879
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2880
if test "${ac_cv_prog_CC+set}" = set; then
2881
echo $ECHO_N "(cached) $ECHO_C" >&6
2883
if test -n "$CC"; then
2884
ac_cv_prog_CC="$CC" # Let the user override the test.
2886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890
test -z "$as_dir" && as_dir=.
2891
for ac_exec_ext in '' $ac_executable_extensions; do
2892
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893
ac_cv_prog_CC="${ac_tool_prefix}cc"
2894
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904
if test -n "$CC"; then
2905
{ echo "$as_me:$LINENO: result: $CC" >&5
2906
echo "${ECHO_T}$CC" >&6; }
2908
{ echo "$as_me:$LINENO: result: no" >&5
2909
echo "${ECHO_T}no" >&6; }
2915
if test -z "$CC"; then
2916
# Extract the first word of "cc", so it can be a program name with args.
2917
set dummy cc; ac_word=$2
2918
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2919
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2920
if test "${ac_cv_prog_CC+set}" = set; then
2921
echo $ECHO_N "(cached) $ECHO_C" >&6
2923
if test -n "$CC"; then
2924
ac_cv_prog_CC="$CC" # Let the user override the test.
2927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931
test -z "$as_dir" && as_dir=.
2932
for ac_exec_ext in '' $ac_executable_extensions; do
2933
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2935
ac_prog_rejected=yes
2939
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2946
if test $ac_prog_rejected = yes; then
2947
# We found a bogon in the path, so make sure we never use it.
2948
set dummy $ac_cv_prog_CC
2950
if test $# != 0; then
2951
# We chose a different compiler from the bogus one.
2952
# However, it has the same basename, so the bogon will be chosen
2953
# first if we set CC to just the basename; use the full file name.
2955
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2961
if test -n "$CC"; then
2962
{ echo "$as_me:$LINENO: result: $CC" >&5
2963
echo "${ECHO_T}$CC" >&6; }
2965
{ echo "$as_me:$LINENO: result: no" >&5
2966
echo "${ECHO_T}no" >&6; }
2971
if test -z "$CC"; then
2972
if test -n "$ac_tool_prefix"; then
2973
for ac_prog in cl.exe
2975
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2976
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2977
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2978
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2979
if test "${ac_cv_prog_CC+set}" = set; then
2980
echo $ECHO_N "(cached) $ECHO_C" >&6
2982
if test -n "$CC"; then
2983
ac_cv_prog_CC="$CC" # Let the user override the test.
2985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989
test -z "$as_dir" && as_dir=.
2990
for ac_exec_ext in '' $ac_executable_extensions; do
2991
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2993
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3003
if test -n "$CC"; then
3004
{ echo "$as_me:$LINENO: result: $CC" >&5
3005
echo "${ECHO_T}$CC" >&6; }
3007
{ echo "$as_me:$LINENO: result: no" >&5
3008
echo "${ECHO_T}no" >&6; }
3012
test -n "$CC" && break
3015
if test -z "$CC"; then
3017
for ac_prog in cl.exe
3019
# Extract the first word of "$ac_prog", so it can be a program name with args.
3020
set dummy $ac_prog; ac_word=$2
3021
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3022
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3023
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3024
echo $ECHO_N "(cached) $ECHO_C" >&6
3026
if test -n "$ac_ct_CC"; then
3027
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033
test -z "$as_dir" && as_dir=.
3034
for ac_exec_ext in '' $ac_executable_extensions; do
3035
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
ac_cv_prog_ac_ct_CC="$ac_prog"
3037
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3047
if test -n "$ac_ct_CC"; then
3048
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3049
echo "${ECHO_T}$ac_ct_CC" >&6; }
3051
{ echo "$as_me:$LINENO: result: no" >&5
3052
echo "${ECHO_T}no" >&6; }
3056
test -n "$ac_ct_CC" && break
3059
if test "x$ac_ct_CC" = x; then
3062
case $cross_compiling:$ac_tool_warned in
3064
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3065
whose name does not start with the host triplet. If you think this
3066
configuration is useful to you, please write to autoconf@gnu.org." >&5
3067
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3068
whose name does not start with the host triplet. If you think this
3069
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3070
ac_tool_warned=yes ;;
3079
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3080
See \`config.log' for more details." >&5
3081
echo "$as_me: error: no acceptable C compiler found in \$PATH
3082
See \`config.log' for more details." >&2;}
3083
{ (exit 1); exit 1; }; }
3085
# Provide some information about the compiler.
3086
echo "$as_me:$LINENO: checking for C compiler version" >&5
3087
ac_compiler=`set X $ac_compile; echo $2`
3088
{ (ac_try="$ac_compiler --version >&5"
3090
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091
*) ac_try_echo=$ac_try;;
3093
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094
(eval "$ac_compiler --version >&5") 2>&5
3096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097
(exit $ac_status); }
3098
{ (ac_try="$ac_compiler -v >&5"
3100
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101
*) ac_try_echo=$ac_try;;
3103
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104
(eval "$ac_compiler -v >&5") 2>&5
3106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107
(exit $ac_status); }
3108
{ (ac_try="$ac_compiler -V >&5"
3110
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111
*) ac_try_echo=$ac_try;;
3113
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3114
(eval "$ac_compiler -V >&5") 2>&5
3116
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117
(exit $ac_status); }
3119
cat >conftest.$ac_ext <<_ACEOF
3122
cat confdefs.h >>conftest.$ac_ext
3123
cat >>conftest.$ac_ext <<_ACEOF
3124
/* end confdefs.h. */
3134
ac_clean_files_save=$ac_clean_files
3135
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3136
# Try to create an executable without -o first, disregard a.out.
3137
# It will help us diagnose broken compilers, and finding out an intuition
3139
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3140
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3141
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3143
# List of possible output files, starting from the most likely.
3144
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3145
# only as a last resort. b.out is created by i960 compilers.
3146
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3148
# The IRIX 6 linker writes into existing files which may not be
3149
# executable, retaining their permissions. Remove them first so a
3150
# subsequent execution test works.
3152
for ac_file in $ac_files
3155
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3156
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3161
if { (ac_try="$ac_link_default"
3163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164
*) ac_try_echo=$ac_try;;
3166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3167
(eval "$ac_link_default") 2>&5
3169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170
(exit $ac_status); }; then
3171
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3172
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3173
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3174
# so that the user can short-circuit this test for compilers unknown to
3176
for ac_file in $ac_files ''
3178
test -f "$ac_file" || continue
3180
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3183
# We found the default executable, but exeext='' is most
3187
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3189
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3191
# We set ac_cv_exeext here because the later test for it is not
3192
# safe: cross compilers may not add the suffix if given an `-o'
3193
# argument, so we may need to know it at that point already.
3194
# Even if this section looks crufty: it has the advantage of
3201
test "$ac_cv_exeext" = no && ac_cv_exeext=
3207
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3208
echo "${ECHO_T}$ac_file" >&6; }
3209
if test -z "$ac_file"; then
3210
echo "$as_me: failed program was:" >&5
3211
sed 's/^/| /' conftest.$ac_ext >&5
3213
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3214
See \`config.log' for more details." >&5
3215
echo "$as_me: error: C compiler cannot create executables
3216
See \`config.log' for more details." >&2;}
3217
{ (exit 77); exit 77; }; }
3220
ac_exeext=$ac_cv_exeext
3222
# Check that the compiler produces executables we can run. If not, either
3223
# the compiler is broken, or we cross compile.
3224
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3225
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3226
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3227
# If not cross compiling, check that we can run a simple program.
3228
if test "$cross_compiling" != yes; then
3229
if { ac_try='./$ac_file'
3230
{ (case "(($ac_try" in
3231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232
*) ac_try_echo=$ac_try;;
3234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235
(eval "$ac_try") 2>&5
3237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238
(exit $ac_status); }; }; then
3241
if test "$cross_compiling" = maybe; then
3244
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3245
If you meant to cross compile, use \`--host'.
3246
See \`config.log' for more details." >&5
3247
echo "$as_me: error: cannot run C compiled programs.
3248
If you meant to cross compile, use \`--host'.
3249
See \`config.log' for more details." >&2;}
3250
{ (exit 1); exit 1; }; }
3254
{ echo "$as_me:$LINENO: result: yes" >&5
3255
echo "${ECHO_T}yes" >&6; }
3257
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3258
ac_clean_files=$ac_clean_files_save
3259
# Check that the compiler produces executables we can run. If not, either
3260
# the compiler is broken, or we cross compile.
3261
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3262
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3263
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3264
echo "${ECHO_T}$cross_compiling" >&6; }
3266
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3267
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3268
if { (ac_try="$ac_link"
3270
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271
*) ac_try_echo=$ac_try;;
3273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274
(eval "$ac_link") 2>&5
3276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277
(exit $ac_status); }; then
3278
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3279
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3280
# work properly (i.e., refer to `conftest.exe'), while it won't with
3282
for ac_file in conftest.exe conftest conftest.*; do
3283
test -f "$ac_file" || continue
3285
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3286
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3292
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3293
See \`config.log' for more details." >&5
3294
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3295
See \`config.log' for more details." >&2;}
3296
{ (exit 1); exit 1; }; }
3299
rm -f conftest$ac_cv_exeext
3300
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3301
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3303
rm -f conftest.$ac_ext
3304
EXEEXT=$ac_cv_exeext
3306
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3307
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3308
if test "${ac_cv_objext+set}" = set; then
3309
echo $ECHO_N "(cached) $ECHO_C" >&6
3311
cat >conftest.$ac_ext <<_ACEOF
3314
cat confdefs.h >>conftest.$ac_ext
3315
cat >>conftest.$ac_ext <<_ACEOF
3316
/* end confdefs.h. */
3326
rm -f conftest.o conftest.obj
3327
if { (ac_try="$ac_compile"
3329
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330
*) ac_try_echo=$ac_try;;
3332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3333
(eval "$ac_compile") 2>&5
3335
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336
(exit $ac_status); }; then
3337
for ac_file in conftest.o conftest.obj conftest.*; do
3338
test -f "$ac_file" || continue;
3340
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3341
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3346
echo "$as_me: failed program was:" >&5
3347
sed 's/^/| /' conftest.$ac_ext >&5
3349
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3350
See \`config.log' for more details." >&5
3351
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3352
See \`config.log' for more details." >&2;}
3353
{ (exit 1); exit 1; }; }
3356
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3358
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3359
echo "${ECHO_T}$ac_cv_objext" >&6; }
3360
OBJEXT=$ac_cv_objext
3362
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3363
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3364
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3365
echo $ECHO_N "(cached) $ECHO_C" >&6
3367
cat >conftest.$ac_ext <<_ACEOF
3370
cat confdefs.h >>conftest.$ac_ext
3371
cat >>conftest.$ac_ext <<_ACEOF
3372
/* end confdefs.h. */
3385
rm -f conftest.$ac_objext
3386
if { (ac_try="$ac_compile"
3388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389
*) ac_try_echo=$ac_try;;
3391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392
(eval "$ac_compile") 2>conftest.er1
3394
grep -v '^ *+' conftest.er1 >conftest.err
3396
cat conftest.err >&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); } && {
3399
test -z "$ac_c_werror_flag" ||
3400
test ! -s conftest.err
3401
} && test -s conftest.$ac_objext; then
3404
echo "$as_me: failed program was:" >&5
3405
sed 's/^/| /' conftest.$ac_ext >&5
3410
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3414
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3415
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3416
GCC=`test $ac_compiler_gnu = yes && echo yes`
3417
ac_test_CFLAGS=${CFLAGS+set}
3418
ac_save_CFLAGS=$CFLAGS
3419
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3420
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3421
if test "${ac_cv_prog_cc_g+set}" = set; then
3422
echo $ECHO_N "(cached) $ECHO_C" >&6
3424
ac_save_c_werror_flag=$ac_c_werror_flag
3425
ac_c_werror_flag=yes
3428
cat >conftest.$ac_ext <<_ACEOF
3431
cat confdefs.h >>conftest.$ac_ext
3432
cat >>conftest.$ac_ext <<_ACEOF
3433
/* end confdefs.h. */
3443
rm -f conftest.$ac_objext
3444
if { (ac_try="$ac_compile"
3446
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447
*) ac_try_echo=$ac_try;;
3449
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450
(eval "$ac_compile") 2>conftest.er1
3452
grep -v '^ *+' conftest.er1 >conftest.err
3454
cat conftest.err >&5
3455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456
(exit $ac_status); } && {
3457
test -z "$ac_c_werror_flag" ||
3458
test ! -s conftest.err
3459
} && test -s conftest.$ac_objext; then
3462
echo "$as_me: failed program was:" >&5
3463
sed 's/^/| /' conftest.$ac_ext >&5
3466
cat >conftest.$ac_ext <<_ACEOF
3469
cat confdefs.h >>conftest.$ac_ext
3470
cat >>conftest.$ac_ext <<_ACEOF
3471
/* end confdefs.h. */
3481
rm -f conftest.$ac_objext
3482
if { (ac_try="$ac_compile"
3484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485
*) ac_try_echo=$ac_try;;
3487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488
(eval "$ac_compile") 2>conftest.er1
3490
grep -v '^ *+' conftest.er1 >conftest.err
3492
cat conftest.err >&5
3493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
(exit $ac_status); } && {
3495
test -z "$ac_c_werror_flag" ||
3496
test ! -s conftest.err
3497
} && test -s conftest.$ac_objext; then
3500
echo "$as_me: failed program was:" >&5
3501
sed 's/^/| /' conftest.$ac_ext >&5
3503
ac_c_werror_flag=$ac_save_c_werror_flag
3505
cat >conftest.$ac_ext <<_ACEOF
3508
cat confdefs.h >>conftest.$ac_ext
3509
cat >>conftest.$ac_ext <<_ACEOF
3510
/* end confdefs.h. */
3520
rm -f conftest.$ac_objext
3521
if { (ac_try="$ac_compile"
3523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524
*) ac_try_echo=$ac_try;;
3526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3527
(eval "$ac_compile") 2>conftest.er1
3529
grep -v '^ *+' conftest.er1 >conftest.err
3531
cat conftest.err >&5
3532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533
(exit $ac_status); } && {
3534
test -z "$ac_c_werror_flag" ||
3535
test ! -s conftest.err
3536
} && test -s conftest.$ac_objext; then
3539
echo "$as_me: failed program was:" >&5
3540
sed 's/^/| /' conftest.$ac_ext >&5
3545
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3551
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552
ac_c_werror_flag=$ac_save_c_werror_flag
3554
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3555
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3556
if test "$ac_test_CFLAGS" = set; then
3557
CFLAGS=$ac_save_CFLAGS
3558
elif test $ac_cv_prog_cc_g = yes; then
3559
if test "$GCC" = yes; then
3565
if test "$GCC" = yes; then
3571
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3572
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3573
if test "${ac_cv_prog_cc_c89+set}" = set; then
3574
echo $ECHO_N "(cached) $ECHO_C" >&6
3576
ac_cv_prog_cc_c89=no
3578
cat >conftest.$ac_ext <<_ACEOF
3581
cat confdefs.h >>conftest.$ac_ext
3582
cat >>conftest.$ac_ext <<_ACEOF
3583
/* end confdefs.h. */
3586
#include <sys/types.h>
3587
#include <sys/stat.h>
3588
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3589
struct buf { int x; };
3590
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3591
static char *e (p, i)
3597
static char *f (char * (*g) (char **, int), char **p, ...)
3602
s = g (p, va_arg (v,int));
3607
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3608
function prototypes and stuff, but not '\xHH' hex character constants.
3609
These don't provoke an error unfortunately, instead are silently treated
3610
as 'x'. The following induces an error, until -std is added to get
3611
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3612
array size at least. It's necessary to write '\x00'==0 to get something
3613
that's true only with -std. */
3614
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3616
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3617
inside strings and character constants. */
3619
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3621
int test (int i, double x);
3622
struct s1 {int (*f) (int a);};
3623
struct s2 {int (*f) (double a);};
3624
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3630
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3635
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3636
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3638
CC="$ac_save_CC $ac_arg"
3639
rm -f conftest.$ac_objext
3640
if { (ac_try="$ac_compile"
3642
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643
*) ac_try_echo=$ac_try;;
3645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3646
(eval "$ac_compile") 2>conftest.er1
3648
grep -v '^ *+' conftest.er1 >conftest.err
3650
cat conftest.err >&5
3651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652
(exit $ac_status); } && {
3653
test -z "$ac_c_werror_flag" ||
3654
test ! -s conftest.err
3655
} && test -s conftest.$ac_objext; then
3656
ac_cv_prog_cc_c89=$ac_arg
3658
echo "$as_me: failed program was:" >&5
3659
sed 's/^/| /' conftest.$ac_ext >&5
3664
rm -f core conftest.err conftest.$ac_objext
3665
test "x$ac_cv_prog_cc_c89" != "xno" && break
3667
rm -f conftest.$ac_ext
3672
case "x$ac_cv_prog_cc_c89" in
3674
{ echo "$as_me:$LINENO: result: none needed" >&5
3675
echo "${ECHO_T}none needed" >&6; } ;;
3677
{ echo "$as_me:$LINENO: result: unsupported" >&5
3678
echo "${ECHO_T}unsupported" >&6; } ;;
3680
CC="$CC $ac_cv_prog_cc_c89"
3681
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3682
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3687
ac_cpp='$CPP $CPPFLAGS'
3688
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3689
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694
ac_cpp='$CPP $CPPFLAGS'
3695
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3699
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3700
# On Suns, sometimes $CPP names a directory.
3701
if test -n "$CPP" && test -d "$CPP"; then
3704
if test -z "$CPP"; then
3705
if test "${ac_cv_prog_CPP+set}" = set; then
3706
echo $ECHO_N "(cached) $ECHO_C" >&6
3708
# Double quotes because CPP needs to be expanded
3709
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3712
for ac_c_preproc_warn_flag in '' yes
3714
# Use a header file that comes with gcc, so configuring glibc
3715
# with a fresh cross-compiler works.
3716
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3717
# <limits.h> exists even on freestanding compilers.
3718
# On the NeXT, cc -E runs the code through the compiler's parser,
3719
# not just through cpp. "Syntax error" is here to catch this case.
3720
cat >conftest.$ac_ext <<_ACEOF
3723
cat confdefs.h >>conftest.$ac_ext
3724
cat >>conftest.$ac_ext <<_ACEOF
3725
/* end confdefs.h. */
3727
# include <limits.h>
3729
# include <assert.h>
3733
if { (ac_try="$ac_cpp conftest.$ac_ext"
3735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736
*) ac_try_echo=$ac_try;;
3738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3739
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3741
grep -v '^ *+' conftest.er1 >conftest.err
3743
cat conftest.err >&5
3744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745
(exit $ac_status); } >/dev/null && {
3746
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747
test ! -s conftest.err
3751
echo "$as_me: failed program was:" >&5
3752
sed 's/^/| /' conftest.$ac_ext >&5
3754
# Broken: fails on valid input.
3758
rm -f conftest.err conftest.$ac_ext
3760
# OK, works on sane cases. Now check whether nonexistent headers
3761
# can be detected and how.
3762
cat >conftest.$ac_ext <<_ACEOF
3765
cat confdefs.h >>conftest.$ac_ext
3766
cat >>conftest.$ac_ext <<_ACEOF
3767
/* end confdefs.h. */
3768
#include <ac_nonexistent.h>
3770
if { (ac_try="$ac_cpp conftest.$ac_ext"
3772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773
*) ac_try_echo=$ac_try;;
3775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778
grep -v '^ *+' conftest.er1 >conftest.err
3780
cat conftest.err >&5
3781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782
(exit $ac_status); } >/dev/null && {
3783
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3784
test ! -s conftest.err
3786
# Broken: success on invalid input.
3789
echo "$as_me: failed program was:" >&5
3790
sed 's/^/| /' conftest.$ac_ext >&5
3792
# Passes both tests.
3797
rm -f conftest.err conftest.$ac_ext
3800
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3801
rm -f conftest.err conftest.$ac_ext
3802
if $ac_preproc_ok; then
3814
{ echo "$as_me:$LINENO: result: $CPP" >&5
3815
echo "${ECHO_T}$CPP" >&6; }
3817
for ac_c_preproc_warn_flag in '' yes
3819
# Use a header file that comes with gcc, so configuring glibc
3820
# with a fresh cross-compiler works.
3821
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3822
# <limits.h> exists even on freestanding compilers.
3823
# On the NeXT, cc -E runs the code through the compiler's parser,
3824
# not just through cpp. "Syntax error" is here to catch this case.
3825
cat >conftest.$ac_ext <<_ACEOF
3828
cat confdefs.h >>conftest.$ac_ext
3829
cat >>conftest.$ac_ext <<_ACEOF
3830
/* end confdefs.h. */
3832
# include <limits.h>
3834
# include <assert.h>
3838
if { (ac_try="$ac_cpp conftest.$ac_ext"
3840
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841
*) ac_try_echo=$ac_try;;
3843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3844
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3846
grep -v '^ *+' conftest.er1 >conftest.err
3848
cat conftest.err >&5
3849
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850
(exit $ac_status); } >/dev/null && {
3851
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3852
test ! -s conftest.err
3856
echo "$as_me: failed program was:" >&5
3857
sed 's/^/| /' conftest.$ac_ext >&5
3859
# Broken: fails on valid input.
3863
rm -f conftest.err conftest.$ac_ext
3865
# OK, works on sane cases. Now check whether nonexistent headers
3866
# can be detected and how.
3867
cat >conftest.$ac_ext <<_ACEOF
3870
cat confdefs.h >>conftest.$ac_ext
3871
cat >>conftest.$ac_ext <<_ACEOF
3872
/* end confdefs.h. */
3873
#include <ac_nonexistent.h>
3875
if { (ac_try="$ac_cpp conftest.$ac_ext"
3877
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878
*) ac_try_echo=$ac_try;;
3880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3881
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3883
grep -v '^ *+' conftest.er1 >conftest.err
3885
cat conftest.err >&5
3886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887
(exit $ac_status); } >/dev/null && {
3888
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3889
test ! -s conftest.err
3891
# Broken: success on invalid input.
3894
echo "$as_me: failed program was:" >&5
3895
sed 's/^/| /' conftest.$ac_ext >&5
3897
# Passes both tests.
3902
rm -f conftest.err conftest.$ac_ext
3905
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3906
rm -f conftest.err conftest.$ac_ext
3907
if $ac_preproc_ok; then
3910
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3911
See \`config.log' for more details." >&5
3912
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3913
See \`config.log' for more details." >&2;}
3914
{ (exit 1); exit 1; }; }
3918
ac_cpp='$CPP $CPPFLAGS'
3919
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3925
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3926
if test "${ac_cv_path_GREP+set}" = set; then
3927
echo $ECHO_N "(cached) $ECHO_C" >&6
3929
# Extract the first word of "grep ggrep" to use in msg output
3930
if test -z "$GREP"; then
3931
set dummy grep ggrep; ac_prog_name=$2
3932
if test "${ac_cv_path_GREP+set}" = set; then
3933
echo $ECHO_N "(cached) $ECHO_C" >&6
3935
ac_path_GREP_found=false
3936
# Loop through the user's path and test for each of PROGNAME-LIST
3937
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3941
test -z "$as_dir" && as_dir=.
3942
for ac_prog in grep ggrep; do
3943
for ac_exec_ext in '' $ac_executable_extensions; do
3944
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3945
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3946
# Check for GNU ac_path_GREP and select it if it is found.
3947
# Check for GNU $ac_path_GREP
3948
case `"$ac_path_GREP" --version 2>&1` in
3950
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3953
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3956
cat "conftest.in" "conftest.in" >"conftest.tmp"
3957
mv "conftest.tmp" "conftest.in"
3958
cp "conftest.in" "conftest.nl"
3959
echo 'GREP' >> "conftest.nl"
3960
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3961
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3962
ac_count=`expr $ac_count + 1`
3963
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3964
# Best one so far, save it but keep looking for a better one
3965
ac_cv_path_GREP="$ac_path_GREP"
3966
ac_path_GREP_max=$ac_count
3968
# 10*(2^10) chars as input seems more than enough
3969
test $ac_count -gt 10 && break
3971
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3975
$ac_path_GREP_found && break 3
3985
GREP="$ac_cv_path_GREP"
3986
if test -z "$GREP"; then
3987
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3988
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3989
{ (exit 1); exit 1; }; }
3993
ac_cv_path_GREP=$GREP
3998
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3999
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4000
GREP="$ac_cv_path_GREP"
4003
{ echo "$as_me:$LINENO: checking for egrep" >&5
4004
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4005
if test "${ac_cv_path_EGREP+set}" = set; then
4006
echo $ECHO_N "(cached) $ECHO_C" >&6
4008
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4009
then ac_cv_path_EGREP="$GREP -E"
4011
# Extract the first word of "egrep" to use in msg output
4012
if test -z "$EGREP"; then
4013
set dummy egrep; ac_prog_name=$2
4014
if test "${ac_cv_path_EGREP+set}" = set; then
4015
echo $ECHO_N "(cached) $ECHO_C" >&6
4017
ac_path_EGREP_found=false
4018
# Loop through the user's path and test for each of PROGNAME-LIST
4019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4020
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4023
test -z "$as_dir" && as_dir=.
4024
for ac_prog in egrep; do
4025
for ac_exec_ext in '' $ac_executable_extensions; do
4026
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4027
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4028
# Check for GNU ac_path_EGREP and select it if it is found.
4029
# Check for GNU $ac_path_EGREP
4030
case `"$ac_path_EGREP" --version 2>&1` in
4032
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4035
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4038
cat "conftest.in" "conftest.in" >"conftest.tmp"
4039
mv "conftest.tmp" "conftest.in"
4040
cp "conftest.in" "conftest.nl"
4041
echo 'EGREP' >> "conftest.nl"
4042
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4043
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4044
ac_count=`expr $ac_count + 1`
4045
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4046
# Best one so far, save it but keep looking for a better one
4047
ac_cv_path_EGREP="$ac_path_EGREP"
4048
ac_path_EGREP_max=$ac_count
4050
# 10*(2^10) chars as input seems more than enough
4051
test $ac_count -gt 10 && break
4053
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4057
$ac_path_EGREP_found && break 3
4067
EGREP="$ac_cv_path_EGREP"
4068
if test -z "$EGREP"; then
4069
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4070
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4071
{ (exit 1); exit 1; }; }
4075
ac_cv_path_EGREP=$EGREP
4081
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4082
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4083
EGREP="$ac_cv_path_EGREP"
4086
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4087
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4088
if test "${ac_cv_header_stdc+set}" = set; then
4089
echo $ECHO_N "(cached) $ECHO_C" >&6
4091
cat >conftest.$ac_ext <<_ACEOF
4094
cat confdefs.h >>conftest.$ac_ext
4095
cat >>conftest.$ac_ext <<_ACEOF
4096
/* end confdefs.h. */
4110
rm -f conftest.$ac_objext
4111
if { (ac_try="$ac_compile"
4113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114
*) ac_try_echo=$ac_try;;
4116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4117
(eval "$ac_compile") 2>conftest.er1
4119
grep -v '^ *+' conftest.er1 >conftest.err
4121
cat conftest.err >&5
4122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123
(exit $ac_status); } && {
4124
test -z "$ac_c_werror_flag" ||
4125
test ! -s conftest.err
4126
} && test -s conftest.$ac_objext; then
4127
ac_cv_header_stdc=yes
4129
echo "$as_me: failed program was:" >&5
4130
sed 's/^/| /' conftest.$ac_ext >&5
4132
ac_cv_header_stdc=no
4135
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137
if test $ac_cv_header_stdc = yes; then
4138
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4139
cat >conftest.$ac_ext <<_ACEOF
4142
cat confdefs.h >>conftest.$ac_ext
4143
cat >>conftest.$ac_ext <<_ACEOF
4144
/* end confdefs.h. */
4148
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4149
$EGREP "memchr" >/dev/null 2>&1; then
4152
ac_cv_header_stdc=no
4158
if test $ac_cv_header_stdc = yes; then
4159
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4160
cat >conftest.$ac_ext <<_ACEOF
4163
cat confdefs.h >>conftest.$ac_ext
4164
cat >>conftest.$ac_ext <<_ACEOF
4165
/* end confdefs.h. */
4169
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4170
$EGREP "free" >/dev/null 2>&1; then
4173
ac_cv_header_stdc=no
4179
if test $ac_cv_header_stdc = yes; then
4180
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4181
if test "$cross_compiling" = yes; then
4184
cat >conftest.$ac_ext <<_ACEOF
4187
cat confdefs.h >>conftest.$ac_ext
4188
cat >>conftest.$ac_ext <<_ACEOF
4189
/* end confdefs.h. */
4192
#if ((' ' & 0x0FF) == 0x020)
4193
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4194
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4196
# define ISLOWER(c) \
4197
(('a' <= (c) && (c) <= 'i') \
4198
|| ('j' <= (c) && (c) <= 'r') \
4199
|| ('s' <= (c) && (c) <= 'z'))
4200
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4203
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4208
for (i = 0; i < 256; i++)
4209
if (XOR (islower (i), ISLOWER (i))
4210
|| toupper (i) != TOUPPER (i))
4215
rm -f conftest$ac_exeext
4216
if { (ac_try="$ac_link"
4218
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219
*) ac_try_echo=$ac_try;;
4221
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222
(eval "$ac_link") 2>&5
4224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4226
{ (case "(($ac_try" in
4227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228
*) ac_try_echo=$ac_try;;
4230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231
(eval "$ac_try") 2>&5
4233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234
(exit $ac_status); }; }; then
4237
echo "$as_me: program exited with status $ac_status" >&5
4238
echo "$as_me: failed program was:" >&5
4239
sed 's/^/| /' conftest.$ac_ext >&5
4242
ac_cv_header_stdc=no
4244
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4250
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4251
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4252
if test $ac_cv_header_stdc = yes; then
4254
cat >>confdefs.h <<\_ACEOF
4255
#define STDC_HEADERS 1
4260
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4270
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4271
inttypes.h stdint.h unistd.h
4273
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4274
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4275
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4276
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4277
echo $ECHO_N "(cached) $ECHO_C" >&6
4279
cat >conftest.$ac_ext <<_ACEOF
4282
cat confdefs.h >>conftest.$ac_ext
4283
cat >>conftest.$ac_ext <<_ACEOF
4284
/* end confdefs.h. */
4285
$ac_includes_default
4287
#include <$ac_header>
4289
rm -f conftest.$ac_objext
4290
if { (ac_try="$ac_compile"
4292
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293
*) ac_try_echo=$ac_try;;
4295
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296
(eval "$ac_compile") 2>conftest.er1
4298
grep -v '^ *+' conftest.er1 >conftest.err
4300
cat conftest.err >&5
4301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302
(exit $ac_status); } && {
4303
test -z "$ac_c_werror_flag" ||
4304
test ! -s conftest.err
4305
} && test -s conftest.$ac_objext; then
4306
eval "$as_ac_Header=yes"
4308
echo "$as_me: failed program was:" >&5
4309
sed 's/^/| /' conftest.$ac_ext >&5
4311
eval "$as_ac_Header=no"
4314
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316
ac_res=`eval echo '${'$as_ac_Header'}'`
4317
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4318
echo "${ECHO_T}$ac_res" >&6; }
4319
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4320
cat >>confdefs.h <<_ACEOF
4321
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4330
for ac_header in stdlib.h
4332
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4333
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4334
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4335
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4336
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4337
echo $ECHO_N "(cached) $ECHO_C" >&6
4339
ac_res=`eval echo '${'$as_ac_Header'}'`
4340
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4341
echo "${ECHO_T}$ac_res" >&6; }
4343
# Is the header compilable?
4344
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4345
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4346
cat >conftest.$ac_ext <<_ACEOF
4349
cat confdefs.h >>conftest.$ac_ext
4350
cat >>conftest.$ac_ext <<_ACEOF
4351
/* end confdefs.h. */
4352
$ac_includes_default
4353
#include <$ac_header>
4355
rm -f conftest.$ac_objext
4356
if { (ac_try="$ac_compile"
4358
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359
*) ac_try_echo=$ac_try;;
4361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362
(eval "$ac_compile") 2>conftest.er1
4364
grep -v '^ *+' conftest.er1 >conftest.err
4366
cat conftest.err >&5
4367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368
(exit $ac_status); } && {
4369
test -z "$ac_c_werror_flag" ||
4370
test ! -s conftest.err
4371
} && test -s conftest.$ac_objext; then
4372
ac_header_compiler=yes
4374
echo "$as_me: failed program was:" >&5
4375
sed 's/^/| /' conftest.$ac_ext >&5
4377
ac_header_compiler=no
4380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4382
echo "${ECHO_T}$ac_header_compiler" >&6; }
4384
# Is the header present?
4385
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4386
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4387
cat >conftest.$ac_ext <<_ACEOF
4390
cat confdefs.h >>conftest.$ac_ext
4391
cat >>conftest.$ac_ext <<_ACEOF
4392
/* end confdefs.h. */
4393
#include <$ac_header>
4395
if { (ac_try="$ac_cpp conftest.$ac_ext"
4397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398
*) ac_try_echo=$ac_try;;
4400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4401
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4403
grep -v '^ *+' conftest.er1 >conftest.err
4405
cat conftest.err >&5
4406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407
(exit $ac_status); } >/dev/null && {
4408
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4409
test ! -s conftest.err
4411
ac_header_preproc=yes
4413
echo "$as_me: failed program was:" >&5
4414
sed 's/^/| /' conftest.$ac_ext >&5
4416
ac_header_preproc=no
4419
rm -f conftest.err conftest.$ac_ext
4420
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4421
echo "${ECHO_T}$ac_header_preproc" >&6; }
4423
# So? What about this header?
4424
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4426
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4427
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4428
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4429
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4430
ac_header_preproc=yes
4433
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4434
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4435
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4436
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4437
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4438
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4439
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4440
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4441
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4442
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4443
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4444
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4448
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4449
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4450
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4451
echo $ECHO_N "(cached) $ECHO_C" >&6
4453
eval "$as_ac_Header=\$ac_header_preproc"
4455
ac_res=`eval echo '${'$as_ac_Header'}'`
4456
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4457
echo "${ECHO_T}$ac_res" >&6; }
4460
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4461
cat >>confdefs.h <<_ACEOF
4462
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4470
for ac_header in wchar.h
4472
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4473
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4474
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4475
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4476
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4477
echo $ECHO_N "(cached) $ECHO_C" >&6
4479
ac_res=`eval echo '${'$as_ac_Header'}'`
4480
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4481
echo "${ECHO_T}$ac_res" >&6; }
4483
# Is the header compilable?
4484
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4485
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4486
cat >conftest.$ac_ext <<_ACEOF
4489
cat confdefs.h >>conftest.$ac_ext
4490
cat >>conftest.$ac_ext <<_ACEOF
4491
/* end confdefs.h. */
4492
$ac_includes_default
4493
#include <$ac_header>
4495
rm -f conftest.$ac_objext
4496
if { (ac_try="$ac_compile"
4498
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4499
*) ac_try_echo=$ac_try;;
4501
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4502
(eval "$ac_compile") 2>conftest.er1
4504
grep -v '^ *+' conftest.er1 >conftest.err
4506
cat conftest.err >&5
4507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508
(exit $ac_status); } && {
4509
test -z "$ac_c_werror_flag" ||
4510
test ! -s conftest.err
4511
} && test -s conftest.$ac_objext; then
4512
ac_header_compiler=yes
4514
echo "$as_me: failed program was:" >&5
4515
sed 's/^/| /' conftest.$ac_ext >&5
4517
ac_header_compiler=no
4520
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4522
echo "${ECHO_T}$ac_header_compiler" >&6; }
4524
# Is the header present?
4525
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4526
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4527
cat >conftest.$ac_ext <<_ACEOF
4530
cat confdefs.h >>conftest.$ac_ext
4531
cat >>conftest.$ac_ext <<_ACEOF
4532
/* end confdefs.h. */
4533
#include <$ac_header>
4535
if { (ac_try="$ac_cpp conftest.$ac_ext"
4537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538
*) ac_try_echo=$ac_try;;
4540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4543
grep -v '^ *+' conftest.er1 >conftest.err
4545
cat conftest.err >&5
4546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547
(exit $ac_status); } >/dev/null && {
4548
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4549
test ! -s conftest.err
4551
ac_header_preproc=yes
4553
echo "$as_me: failed program was:" >&5
4554
sed 's/^/| /' conftest.$ac_ext >&5
4556
ac_header_preproc=no
4559
rm -f conftest.err conftest.$ac_ext
4560
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4561
echo "${ECHO_T}$ac_header_preproc" >&6; }
4563
# So? What about this header?
4564
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4566
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4567
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4568
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4569
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4570
ac_header_preproc=yes
4573
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4574
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4575
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4576
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4577
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4578
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4579
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4580
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4581
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4582
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4583
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4584
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4588
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4589
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4590
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4591
echo $ECHO_N "(cached) $ECHO_C" >&6
4593
eval "$as_ac_Header=\$ac_header_preproc"
4595
ac_res=`eval echo '${'$as_ac_Header'}'`
4596
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4597
echo "${ECHO_T}$ac_res" >&6; }
4600
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4601
cat >>confdefs.h <<_ACEOF
4602
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4611
# Find out the true definitions of some integer types
4612
# checkIntegerype(size_t) will echo "int" or "long"
4613
checkIntegerType() {
4616
for t in "int" "unsigned int" "long" "unsigned long" "short" "unsigned short" "char" "unsigned char" ;do
4617
echo "#include <stddef.h>" >$fn
4618
echo "#include <wchar.h>" >>$fn
4619
# We define a prototype with one type and the function with
4620
# another type. This will result in compilation error
4621
# unless the types are really identical
4622
echo "$t foo($t x);" >>$fn
4623
echo "$1 foo($1 x) { return x;}" >>$fn
4624
if gcc -c $fn 2>/dev/null ;then
4634
{ echo "$as_me:$LINENO: checking definition of size_t" >&5
4635
echo $ECHO_N "checking definition of size_t... $ECHO_C" >&6; }
4636
TYPE_SIZE_T=`checkIntegerType "size_t"`
4637
if test "x$TYPE_SIZE_T" = "x" ;then
4638
{ { echo "$as_me:$LINENO: error: Cannot find definition of size_t" >&5
4639
echo "$as_me: error: Cannot find definition of size_t" >&2;}
4640
{ (exit 1); exit 1; }; }
4642
cat >>confdefs.h <<_ACEOF
4643
#define TYPE_SIZE_T "$TYPE_SIZE_T"
4646
{ echo "$as_me:$LINENO: result: $TYPE_SIZE_T" >&5
4647
echo "${ECHO_T}$TYPE_SIZE_T" >&6; }
4649
{ echo "$as_me:$LINENO: checking definition of wchar_t" >&5
4650
echo $ECHO_N "checking definition of wchar_t... $ECHO_C" >&6; }
4651
TYPE_WCHAR_T=`checkIntegerType "wchar_t"`
4652
if test "x$TYPE_WCHAR_T" = "x" ;then
4653
{ { echo "$as_me:$LINENO: error: Cannot find definition of wchar_t" >&5
4654
echo "$as_me: error: Cannot find definition of wchar_t" >&2;}
4655
{ (exit 1); exit 1; }; }
4657
cat >>confdefs.h <<_ACEOF
4658
#define TYPE_WCHAR_T "$TYPE_WCHAR_T"
4661
{ echo "$as_me:$LINENO: result: $TYPE_WCHAR_T" >&5
4662
echo "${ECHO_T}$TYPE_WCHAR_T" >&6; }
4664
{ echo "$as_me:$LINENO: checking definition of ptrdiff_t" >&5
4665
echo $ECHO_N "checking definition of ptrdiff_t... $ECHO_C" >&6; }
4666
TYPE_PTRDIFF_T=`checkIntegerType "ptrdiff_t"`
4667
if test "x$TYPE_PTRDIFF_T" = "x" ;then
4668
{ { echo "$as_me:$LINENO: error: Cannot find definition of ptrdiff_t" >&5
4669
echo "$as_me: error: Cannot find definition of ptrdiff_t" >&2;}
4670
{ (exit 1); exit 1; }; }
4672
cat >>confdefs.h <<_ACEOF
4673
#define TYPE_PTRDIFF_T "$TYPE_PTRDIFF_T"
4676
{ echo "$as_me:$LINENO: result: $TYPE_PTRDIFF_T" >&5
4677
echo "${ECHO_T}$TYPE_PTRDIFF_T" >&6; }
4679
{ echo "$as_me:$LINENO: checking for gcc version" >&5
4680
echo $ECHO_N "checking for gcc version... $ECHO_C" >&6; }
4681
{ echo "$as_me:$LINENO: checking for __builtin_va_list" >&5
4682
echo $ECHO_N "checking for __builtin_va_list... $ECHO_C" >&6; }
4683
if test "${ac_cv_type___builtin_va_list+set}" = set; then
4684
echo $ECHO_N "(cached) $ECHO_C" >&6
4686
cat >conftest.$ac_ext <<_ACEOF
4689
cat confdefs.h >>conftest.$ac_ext
4690
cat >>conftest.$ac_ext <<_ACEOF
4691
/* end confdefs.h. */
4692
$ac_includes_default
4693
typedef __builtin_va_list ac__type_new_;
4697
if ((ac__type_new_ *) 0)
4699
if (sizeof (ac__type_new_))
4705
rm -f conftest.$ac_objext
4706
if { (ac_try="$ac_compile"
4708
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4709
*) ac_try_echo=$ac_try;;
4711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4712
(eval "$ac_compile") 2>conftest.er1
4714
grep -v '^ *+' conftest.er1 >conftest.err
4716
cat conftest.err >&5
4717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718
(exit $ac_status); } && {
4719
test -z "$ac_c_werror_flag" ||
4720
test ! -s conftest.err
4721
} && test -s conftest.$ac_objext; then
4722
ac_cv_type___builtin_va_list=yes
4724
echo "$as_me: failed program was:" >&5
4725
sed 's/^/| /' conftest.$ac_ext >&5
4727
ac_cv_type___builtin_va_list=no
4730
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732
{ echo "$as_me:$LINENO: result: $ac_cv_type___builtin_va_list" >&5
4733
echo "${ECHO_T}$ac_cv_type___builtin_va_list" >&6; }
4734
if test $ac_cv_type___builtin_va_list = yes; then
4735
HAVE_BUILTIN_VA_LIST=true
4737
HAVE_BUILTIN_VA_LIST=false
4740
{ echo "$as_me:$LINENO: checking if __thread is a keyword" >&5
4741
echo $ECHO_N "checking if __thread is a keyword... $ECHO_C" >&6; }
4742
cat >conftest.$ac_ext <<_ACEOF
4743
int main(int __thread) { return 0; }
4745
rm -f conftest.$ac_objext
4746
if { (ac_try="$ac_compile"
4748
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4749
*) ac_try_echo=$ac_try;;
4751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4752
(eval "$ac_compile") 2>conftest.er1
4754
grep -v '^ *+' conftest.er1 >conftest.err
4756
cat conftest.err >&5
4757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
(exit $ac_status); } && {
4759
test -z "$ac_c_werror_flag" ||
4760
test ! -s conftest.err
4761
} && test -s conftest.$ac_objext; then
4762
THREAD_IS_KEYWORD=false
4764
echo "$as_me: failed program was:" >&5
4765
sed 's/^/| /' conftest.$ac_ext >&5
4767
THREAD_IS_KEYWORD=true
4770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4771
{ echo "$as_me:$LINENO: result: $THREAD_IS_KEYWORD" >&5
4772
echo "${ECHO_T}$THREAD_IS_KEYWORD" >&6; }
4774
# Does gcc add underscores to identifiers to make assembly labels?
4775
# (I think MSVC always does)
4776
{ echo "$as_me:$LINENO: checking if gcc adds underscores to assembly labels." >&5
4777
echo $ECHO_N "checking if gcc adds underscores to assembly labels.... $ECHO_C" >&6; }
4778
cat >conftest.$ac_ext <<_ACEOF
4779
int main() { __asm__("jmp _main"); }
4781
rm -f conftest.$ac_objext conftest$ac_exeext
4782
if { (ac_try="$ac_link"
4784
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4785
*) ac_try_echo=$ac_try;;
4787
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4788
(eval "$ac_link") 2>conftest.er1
4790
grep -v '^ *+' conftest.er1 >conftest.err
4792
cat conftest.err >&5
4793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794
(exit $ac_status); } && {
4795
test -z "$ac_c_werror_flag" ||
4796
test ! -s conftest.err
4797
} && test -s conftest$ac_exeext &&
4798
$as_test_x conftest$ac_exeext; then
4799
UNDERSCORE_NAME=true
4801
echo "$as_me: failed program was:" >&5
4802
sed 's/^/| /' conftest.$ac_ext >&5
4804
UNDERSCORE_NAME=false
4807
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4808
conftest$ac_exeext conftest.$ac_ext
4809
{ echo "$as_me:$LINENO: result: $UNDERSCORE_NAME" >&5
4810
echo "${ECHO_T}$UNDERSCORE_NAME" >&6; }
4814
{ echo "$as_me:$LINENO: checking if performance counters are usable" >&5
4815
echo $ECHO_N "checking if performance counters are usable... $ECHO_C" >&6; }
4816
# Create a C file from src/perfcount.c.in
4818
if gcc -DCONFIGURATION_ONLY \
4819
-x c cil/ocamlutil/perfcount.c.in -lm -o bin/cycles.exe >/dev/null 2>&1; then
4821
if CYCLES_PER_USEC=`bin/cycles.exe 2>&1` ;then
4822
{ echo "$as_me:$LINENO: result: ok ($CYCLES_PER_USEC cycles per us)" >&5
4823
echo "${ECHO_T}ok ($CYCLES_PER_USEC cycles per us)" >&6; }
4826
{ echo "$as_me:$LINENO: result: no ($CYCLES_PER_USEC)" >&5
4827
echo "${ECHO_T}no ($CYCLES_PER_USEC)" >&6; }
4832
{ echo "$as_me:$LINENO: result: no (cannot compile perfcount.c)" >&5
4833
echo "${ECHO_T}no (cannot compile perfcount.c)" >&6; }
4835
rm -f bin/cycles.exe
4837
# If we are on Linux and we use performance counters try to get
4838
# the processor speed from /proc/cpuinfo
4839
if test "$CYCLES_PER_USEC" != "0" ;then
4843
{ echo "$as_me:$LINENO: checking if /proc/cpuinfo has processor speed" >&5
4844
echo $ECHO_N "checking if /proc/cpuinfo has processor speed... $ECHO_C" >&6; }
4845
cpuinfo=`cat /proc/cpuinfo 2>/dev/null | grep "cpu MHz"`
4846
procspeed=`echo $cpuinfo | sed 's/^.*[^0-9]\([0-9]\+\.[0-9]\+\).*$/\1/g'`
4847
if test "$procspeed"!="" ;then
4848
CYCLES_PER_USEC=$procspeed
4849
{ echo "$as_me:$LINENO: result: got $CYCLES_PER_USEC cycles per us" >&5
4850
echo "${ECHO_T}got $CYCLES_PER_USEC cycles per us" >&6; }
4852
{ echo "$as_me:$LINENO: result: no" >&5
4853
echo "${ECHO_T}no" >&6; }
4859
# Now set HAS_PERFCOUNT
4869
new_section "wished frama-c plugins"
4871
# Library declarations
4872
######################
4874
# REQUIRE_LIBRARY: library *must* be present in order to build plugins
4875
# USE_LIBRARY: better for plugins if library is present, but not required
4876
# HAS_LIBRARY: is the library available?
4896
####################
4899
REQUIRE_LABLGLADECC=
4915
### Now plugin declarations
4921
# syntactic callgraph
4922
#####################
4930
{ echo "$as_me:$LINENO: checking for src/syntactic_callgraph" >&5
4931
echo $ECHO_N "checking for src/syntactic_callgraph... $ECHO_C" >&6; }
4932
if test "${ac_cv_file_src_syntactic_callgraph+set}" = set; then
4933
echo $ECHO_N "(cached) $ECHO_C" >&6
4935
test "$cross_compiling" = yes &&
4936
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4937
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4938
{ (exit 1); exit 1; }; }
4939
if test -r "src/syntactic_callgraph"; then
4940
ac_cv_file_src_syntactic_callgraph=yes
4942
ac_cv_file_src_syntactic_callgraph=no
4945
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_syntactic_callgraph" >&5
4946
echo "${ECHO_T}$ac_cv_file_src_syntactic_callgraph" >&6; }
4947
if test $ac_cv_file_src_syntactic_callgraph = yes; then
4950
plugin_present=no;default=no
4955
# Check whether --enable-PLUGIN_NAME was given.
4956
if test "${enable_syntactic_callgraph+set}" = set; then
4957
enableval=$enable_syntactic_callgraph; ENABLE=$enableval;
4964
# Test to change for static plugin, dynamic option
4966
#define([PLUGIN_HELP_DYN],
4967
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
4968
# [PLUGIN_MSG (default: static)])
4969
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
4971
# [PLUGIN_NAME_DYN],
4973
# ENABLE=$enableval;
4975
# ENABLE=$default_dyn
4977
#eval ENABLE_DYNAMIC_$up=\$ENABLE
4978
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
4980
{ { echo "$as_me:$LINENO: error: syntactic_callgraph is not available" >&5
4981
echo "$as_me: error: syntactic_callgraph is not available" >&2;}
4982
{ (exit 1); exit 1; }; }
4984
up=`upper syntactic_callgraph`
4985
eval FORCE_$up=\$FORCE
4986
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
4987
eval ENABLE_$up=\$ENABLE
4989
echo "syntactic_callgraph... $ENABLE"
4992
if test "$ENABLE_SYNTACTIC_CALLGRAPH" == "yes"; then
4993
USE_GNOMECANVAS=${USE_GNOMECANVAS}" syntactic_callgraph"
4994
USE_LABLGTK=${USE_LABLGTK}" syntactic_callgraph"
4997
# constant propagation
4998
######################
5006
{ echo "$as_me:$LINENO: checking for src/constant_propagation" >&5
5007
echo $ECHO_N "checking for src/constant_propagation... $ECHO_C" >&6; }
5008
if test "${ac_cv_file_src_constant_propagation+set}" = set; then
5009
echo $ECHO_N "(cached) $ECHO_C" >&6
5011
test "$cross_compiling" = yes &&
5012
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5013
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5014
{ (exit 1); exit 1; }; }
5015
if test -r "src/constant_propagation"; then
5016
ac_cv_file_src_constant_propagation=yes
5018
ac_cv_file_src_constant_propagation=no
5021
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_constant_propagation" >&5
5022
echo "${ECHO_T}$ac_cv_file_src_constant_propagation" >&6; }
5023
if test $ac_cv_file_src_constant_propagation = yes; then
5026
plugin_present=no;default=no
5031
# Check whether --enable-PLUGIN_NAME was given.
5032
if test "${enable_constant_propagation+set}" = set; then
5033
enableval=$enable_constant_propagation; ENABLE=$enableval;
5040
# Test to change for static plugin, dynamic option
5042
#define([PLUGIN_HELP_DYN],
5043
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5044
# [PLUGIN_MSG (default: static)])
5045
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5047
# [PLUGIN_NAME_DYN],
5049
# ENABLE=$enableval;
5051
# ENABLE=$default_dyn
5053
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5054
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5056
{ { echo "$as_me:$LINENO: error: constant_propagation is not available" >&5
5057
echo "$as_me: error: constant_propagation is not available" >&2;}
5058
{ (exit 1); exit 1; }; }
5060
up=`upper constant_propagation`
5061
eval FORCE_$up=\$FORCE
5062
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5063
eval ENABLE_$up=\$ENABLE
5065
echo "constant_propagation... $ENABLE"
5077
{ echo "$as_me:$LINENO: checking for cxx_elsa" >&5
5078
echo $ECHO_N "checking for cxx_elsa... $ECHO_C" >&6; }
5079
if test "${ac_cv_file_cxx_elsa+set}" = set; then
5080
echo $ECHO_N "(cached) $ECHO_C" >&6
5082
test "$cross_compiling" = yes &&
5083
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5084
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5085
{ (exit 1); exit 1; }; }
5086
if test -r "cxx_elsa"; then
5087
ac_cv_file_cxx_elsa=yes
5089
ac_cv_file_cxx_elsa=no
5092
{ echo "$as_me:$LINENO: result: $ac_cv_file_cxx_elsa" >&5
5093
echo "${ECHO_T}$ac_cv_file_cxx_elsa" >&6; }
5094
if test $ac_cv_file_cxx_elsa = yes; then
5097
plugin_present=no;default=no
5102
# Check whether --enable-PLUGIN_NAME was given.
5103
if test "${enable_cxx+set}" = set; then
5104
enableval=$enable_cxx; ENABLE=$enableval;
5111
# Test to change for static plugin, dynamic option
5113
#define([PLUGIN_HELP_DYN],
5114
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5115
# [PLUGIN_MSG (default: static)])
5116
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5118
# [PLUGIN_NAME_DYN],
5120
# ENABLE=$enableval;
5122
# ENABLE=$default_dyn
5124
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5125
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5127
{ { echo "$as_me:$LINENO: error: cxx is not available" >&5
5128
echo "$as_me: error: cxx is not available" >&2;}
5129
{ (exit 1); exit 1; }; }
5132
eval FORCE_$up=\$FORCE
5133
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5134
eval ENABLE_$up=\$ENABLE
5136
echo "cxx... $ENABLE"
5139
if test "$ENABLE_CXX" == "yes"; then
5140
REQUIRE_ELSA=${REQUIRE_ELSA}" cxx"
5141
REQUIRE_CAMLP4O=${REQUIRE_CAMLP4O}" cxx"
5153
{ echo "$as_me:$LINENO: checking for src/from" >&5
5154
echo $ECHO_N "checking for src/from... $ECHO_C" >&6; }
5155
if test "${ac_cv_file_src_from+set}" = set; then
5156
echo $ECHO_N "(cached) $ECHO_C" >&6
5158
test "$cross_compiling" = yes &&
5159
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5160
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5161
{ (exit 1); exit 1; }; }
5162
if test -r "src/from"; then
5163
ac_cv_file_src_from=yes
5165
ac_cv_file_src_from=no
5168
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_from" >&5
5169
echo "${ECHO_T}$ac_cv_file_src_from" >&6; }
5170
if test $ac_cv_file_src_from = yes; then
5173
plugin_present=no;default=no
5178
# Check whether --enable-PLUGIN_NAME was given.
5179
if test "${enable_from+set}" = set; then
5180
enableval=$enable_from; ENABLE=$enableval;
5187
# Test to change for static plugin, dynamic option
5189
#define([PLUGIN_HELP_DYN],
5190
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5191
# [PLUGIN_MSG (default: static)])
5192
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5194
# [PLUGIN_NAME_DYN],
5196
# ENABLE=$enableval;
5198
# ENABLE=$default_dyn
5200
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5201
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5203
{ { echo "$as_me:$LINENO: error: from is not available" >&5
5204
echo "$as_me: error: from is not available" >&2;}
5205
{ (exit 1); exit 1; }; }
5208
eval FORCE_$up=\$FORCE
5209
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5210
eval ENABLE_$up=\$ENABLE
5212
echo "from... $ENABLE"
5224
{ echo "$as_me:$LINENO: checking for src/gui" >&5
5225
echo $ECHO_N "checking for src/gui... $ECHO_C" >&6; }
5226
if test "${ac_cv_file_src_gui+set}" = set; then
5227
echo $ECHO_N "(cached) $ECHO_C" >&6
5229
test "$cross_compiling" = yes &&
5230
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5231
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5232
{ (exit 1); exit 1; }; }
5233
if test -r "src/gui"; then
5234
ac_cv_file_src_gui=yes
5236
ac_cv_file_src_gui=no
5239
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_gui" >&5
5240
echo "${ECHO_T}$ac_cv_file_src_gui" >&6; }
5241
if test $ac_cv_file_src_gui = yes; then
5244
plugin_present=no;default=no
5249
# Check whether --enable-PLUGIN_NAME was given.
5250
if test "${enable_gui+set}" = set; then
5251
enableval=$enable_gui; ENABLE=$enableval;
5258
# Test to change for static plugin, dynamic option
5260
#define([PLUGIN_HELP_DYN],
5261
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5262
# [PLUGIN_MSG (default: static)])
5263
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5265
# [PLUGIN_NAME_DYN],
5267
# ENABLE=$enableval;
5269
# ENABLE=$default_dyn
5271
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5272
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5274
{ { echo "$as_me:$LINENO: error: gui is not available" >&5
5275
echo "$as_me: error: gui is not available" >&2;}
5276
{ (exit 1); exit 1; }; }
5279
eval FORCE_$up=\$FORCE
5280
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5281
eval ENABLE_$up=\$ENABLE
5283
echo "gui... $ENABLE"
5286
if test "$ENABLE_GUI" == "yes"; then
5287
REQUIRE_LABLGTK=${REQUIRE_LABLGTK}" gui"
5299
{ echo "$as_me:$LINENO: checking for src/impact" >&5
5300
echo $ECHO_N "checking for src/impact... $ECHO_C" >&6; }
5301
if test "${ac_cv_file_src_impact+set}" = set; then
5302
echo $ECHO_N "(cached) $ECHO_C" >&6
5304
test "$cross_compiling" = yes &&
5305
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5306
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5307
{ (exit 1); exit 1; }; }
5308
if test -r "src/impact"; then
5309
ac_cv_file_src_impact=yes
5311
ac_cv_file_src_impact=no
5314
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_impact" >&5
5315
echo "${ECHO_T}$ac_cv_file_src_impact" >&6; }
5316
if test $ac_cv_file_src_impact = yes; then
5319
plugin_present=no;default=no
5324
# Check whether --enable-PLUGIN_NAME was given.
5325
if test "${enable_impact+set}" = set; then
5326
enableval=$enable_impact; ENABLE=$enableval;
5333
# Test to change for static plugin, dynamic option
5335
#define([PLUGIN_HELP_DYN],
5336
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5337
# [PLUGIN_MSG (default: static)])
5338
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5340
# [PLUGIN_NAME_DYN],
5342
# ENABLE=$enableval;
5344
# ENABLE=$default_dyn
5346
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5347
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5349
{ { echo "$as_me:$LINENO: error: impact is not available" >&5
5350
echo "$as_me: error: impact is not available" >&2;}
5351
{ (exit 1); exit 1; }; }
5354
eval FORCE_$up=\$FORCE
5355
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5356
eval ENABLE_$up=\$ENABLE
5358
echo "impact... $ENABLE"
5370
{ echo "$as_me:$LINENO: checking for src/inout" >&5
5371
echo $ECHO_N "checking for src/inout... $ECHO_C" >&6; }
5372
if test "${ac_cv_file_src_inout+set}" = set; then
5373
echo $ECHO_N "(cached) $ECHO_C" >&6
5375
test "$cross_compiling" = yes &&
5376
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5377
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5378
{ (exit 1); exit 1; }; }
5379
if test -r "src/inout"; then
5380
ac_cv_file_src_inout=yes
5382
ac_cv_file_src_inout=no
5385
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_inout" >&5
5386
echo "${ECHO_T}$ac_cv_file_src_inout" >&6; }
5387
if test $ac_cv_file_src_inout = yes; then
5390
plugin_present=no;default=no
5395
# Check whether --enable-PLUGIN_NAME was given.
5396
if test "${enable_inout+set}" = set; then
5397
enableval=$enable_inout; ENABLE=$enableval;
5404
# Test to change for static plugin, dynamic option
5406
#define([PLUGIN_HELP_DYN],
5407
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5408
# [PLUGIN_MSG (default: static)])
5409
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5411
# [PLUGIN_NAME_DYN],
5413
# ENABLE=$enableval;
5415
# ENABLE=$default_dyn
5417
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5418
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5420
{ { echo "$as_me:$LINENO: error: inout is not available" >&5
5421
echo "$as_me: error: inout is not available" >&2;}
5422
{ (exit 1); exit 1; }; }
5425
eval FORCE_$up=\$FORCE
5426
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5427
eval ENABLE_$up=\$ENABLE
5429
echo "inout... $ENABLE"
5441
{ echo "$as_me:$LINENO: checking for src/jessie" >&5
5442
echo $ECHO_N "checking for src/jessie... $ECHO_C" >&6; }
5443
if test "${ac_cv_file_src_jessie+set}" = set; then
5444
echo $ECHO_N "(cached) $ECHO_C" >&6
5446
test "$cross_compiling" = yes &&
5447
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5448
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5449
{ (exit 1); exit 1; }; }
5450
if test -r "src/jessie"; then
5451
ac_cv_file_src_jessie=yes
5453
ac_cv_file_src_jessie=no
5456
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_jessie" >&5
5457
echo "${ECHO_T}$ac_cv_file_src_jessie" >&6; }
5458
if test $ac_cv_file_src_jessie = yes; then
5461
plugin_present=no;default=no
5466
# Check whether --enable-PLUGIN_NAME was given.
5467
if test "${enable_jessie+set}" = set; then
5468
enableval=$enable_jessie; ENABLE=$enableval;
5475
# Test to change for static plugin, dynamic option
5477
#define([PLUGIN_HELP_DYN],
5478
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5479
# [PLUGIN_MSG (default: static)])
5480
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5482
# [PLUGIN_NAME_DYN],
5484
# ENABLE=$enableval;
5486
# ENABLE=$default_dyn
5488
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5489
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5491
{ { echo "$as_me:$LINENO: error: jessie is not available" >&5
5492
echo "$as_me: error: jessie is not available" >&2;}
5493
{ (exit 1); exit 1; }; }
5496
eval FORCE_$up=\$FORCE
5497
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5498
eval ENABLE_$up=\$ENABLE
5500
echo "jessie... $ENABLE"
5503
if test "$ENABLE_JESSIE" == "yes"; then
5504
REQUIRE_WHYJC=${REQUIRE_WHYJC}" jessie"
5505
USE_APRON=${USE_APRON}" jessie"
5517
{ echo "$as_me:$LINENO: checking for src/journal_loader" >&5
5518
echo $ECHO_N "checking for src/journal_loader... $ECHO_C" >&6; }
5519
if test "${ac_cv_file_src_journal_loader+set}" = set; then
5520
echo $ECHO_N "(cached) $ECHO_C" >&6
5522
test "$cross_compiling" = yes &&
5523
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5524
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5525
{ (exit 1); exit 1; }; }
5526
if test -r "src/journal_loader"; then
5527
ac_cv_file_src_journal_loader=yes
5529
ac_cv_file_src_journal_loader=no
5532
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_journal_loader" >&5
5533
echo "${ECHO_T}$ac_cv_file_src_journal_loader" >&6; }
5534
if test $ac_cv_file_src_journal_loader = yes; then
5537
plugin_present=no;default=no
5542
# Check whether --enable-PLUGIN_NAME was given.
5543
if test "${enable_journal_loader+set}" = set; then
5544
enableval=$enable_journal_loader; ENABLE=$enableval;
5551
# Test to change for static plugin, dynamic option
5553
#define([PLUGIN_HELP_DYN],
5554
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5555
# [PLUGIN_MSG (default: static)])
5556
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5558
# [PLUGIN_NAME_DYN],
5560
# ENABLE=$enableval;
5562
# ENABLE=$default_dyn
5564
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5565
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5567
{ { echo "$as_me:$LINENO: error: journal_loader is not available" >&5
5568
echo "$as_me: error: journal_loader is not available" >&2;}
5569
{ (exit 1); exit 1; }; }
5571
up=`upper journal_loader`
5572
eval FORCE_$up=\$FORCE
5573
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5574
eval ENABLE_$up=\$ENABLE
5576
echo "journal_loader... $ENABLE"
5588
{ echo "$as_me:$LINENO: checking for src/metrics" >&5
5589
echo $ECHO_N "checking for src/metrics... $ECHO_C" >&6; }
5590
if test "${ac_cv_file_src_metrics+set}" = set; then
5591
echo $ECHO_N "(cached) $ECHO_C" >&6
5593
test "$cross_compiling" = yes &&
5594
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5595
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5596
{ (exit 1); exit 1; }; }
5597
if test -r "src/metrics"; then
5598
ac_cv_file_src_metrics=yes
5600
ac_cv_file_src_metrics=no
5603
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_metrics" >&5
5604
echo "${ECHO_T}$ac_cv_file_src_metrics" >&6; }
5605
if test $ac_cv_file_src_metrics = yes; then
5608
plugin_present=no;default=no
5613
# Check whether --enable-PLUGIN_NAME was given.
5614
if test "${enable_metrics+set}" = set; then
5615
enableval=$enable_metrics; ENABLE=$enableval;
5622
# Test to change for static plugin, dynamic option
5624
#define([PLUGIN_HELP_DYN],
5625
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5626
# [PLUGIN_MSG (default: static)])
5627
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5629
# [PLUGIN_NAME_DYN],
5631
# ENABLE=$enableval;
5633
# ENABLE=$default_dyn
5635
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5636
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5638
{ { echo "$as_me:$LINENO: error: metrics is not available" >&5
5639
echo "$as_me: error: metrics is not available" >&2;}
5640
{ (exit 1); exit 1; }; }
5643
eval FORCE_$up=\$FORCE
5644
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5645
eval ENABLE_$up=\$ENABLE
5647
echo "metrics... $ENABLE"
5659
{ echo "$as_me:$LINENO: checking for src/miel" >&5
5660
echo $ECHO_N "checking for src/miel... $ECHO_C" >&6; }
5661
if test "${ac_cv_file_src_miel+set}" = set; then
5662
echo $ECHO_N "(cached) $ECHO_C" >&6
5664
test "$cross_compiling" = yes &&
5665
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5666
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5667
{ (exit 1); exit 1; }; }
5668
if test -r "src/miel"; then
5669
ac_cv_file_src_miel=yes
5671
ac_cv_file_src_miel=no
5674
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_miel" >&5
5675
echo "${ECHO_T}$ac_cv_file_src_miel" >&6; }
5676
if test $ac_cv_file_src_miel = yes; then
5679
plugin_present=no;default=no
5684
# Check whether --enable-PLUGIN_NAME was given.
5685
if test "${enable_miel+set}" = set; then
5686
enableval=$enable_miel; ENABLE=$enableval;
5693
# Test to change for static plugin, dynamic option
5695
#define([PLUGIN_HELP_DYN],
5696
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5697
# [PLUGIN_MSG (default: static)])
5698
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5700
# [PLUGIN_NAME_DYN],
5702
# ENABLE=$enableval;
5704
# ENABLE=$default_dyn
5706
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5707
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5709
{ { echo "$as_me:$LINENO: error: miel is not available" >&5
5710
echo "$as_me: error: miel is not available" >&2;}
5711
{ (exit 1); exit 1; }; }
5714
eval FORCE_$up=\$FORCE
5715
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5716
eval ENABLE_$up=\$ENABLE
5718
echo "miel... $ENABLE"
5721
if test "$ENABLE_MIEL" == "yes"; then
5722
REQUIRE_LABLGTK=${REQUIRE_LABLGTK}" miel"
5723
REQUIRE_LABLGLADECC=${REQUIRE_LABLGLADECC}" miel"
5735
{ echo "$as_me:$LINENO: checking for src/occurrence" >&5
5736
echo $ECHO_N "checking for src/occurrence... $ECHO_C" >&6; }
5737
if test "${ac_cv_file_src_occurrence+set}" = set; then
5738
echo $ECHO_N "(cached) $ECHO_C" >&6
5740
test "$cross_compiling" = yes &&
5741
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5742
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5743
{ (exit 1); exit 1; }; }
5744
if test -r "src/occurrence"; then
5745
ac_cv_file_src_occurrence=yes
5747
ac_cv_file_src_occurrence=no
5750
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_occurrence" >&5
5751
echo "${ECHO_T}$ac_cv_file_src_occurrence" >&6; }
5752
if test $ac_cv_file_src_occurrence = yes; then
5755
plugin_present=no;default=no
5760
# Check whether --enable-PLUGIN_NAME was given.
5761
if test "${enable_occurrence+set}" = set; then
5762
enableval=$enable_occurrence; ENABLE=$enableval;
5769
# Test to change for static plugin, dynamic option
5771
#define([PLUGIN_HELP_DYN],
5772
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5773
# [PLUGIN_MSG (default: static)])
5774
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5776
# [PLUGIN_NAME_DYN],
5778
# ENABLE=$enableval;
5780
# ENABLE=$default_dyn
5782
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5783
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5785
{ { echo "$as_me:$LINENO: error: occurrence is not available" >&5
5786
echo "$as_me: error: occurrence is not available" >&2;}
5787
{ (exit 1); exit 1; }; }
5789
up=`upper occurrence`
5790
eval FORCE_$up=\$FORCE
5791
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5792
eval ENABLE_$up=\$ENABLE
5794
echo "occurrence... $ENABLE"
5810
{ echo "$as_me:$LINENO: checking for src/pdg" >&5
5811
echo $ECHO_N "checking for src/pdg... $ECHO_C" >&6; }
5812
if test "${ac_cv_file_src_pdg+set}" = set; then
5813
echo $ECHO_N "(cached) $ECHO_C" >&6
5815
test "$cross_compiling" = yes &&
5816
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5817
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5818
{ (exit 1); exit 1; }; }
5819
if test -r "src/pdg"; then
5820
ac_cv_file_src_pdg=yes
5822
ac_cv_file_src_pdg=no
5825
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_pdg" >&5
5826
echo "${ECHO_T}$ac_cv_file_src_pdg" >&6; }
5827
if test $ac_cv_file_src_pdg = yes; then
5830
plugin_present=no;default=no
5835
# Check whether --enable-PLUGIN_NAME was given.
5836
if test "${enable_pdg+set}" = set; then
5837
enableval=$enable_pdg; ENABLE=$enableval;
5844
# Test to change for static plugin, dynamic option
5846
#define([PLUGIN_HELP_DYN],
5847
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5848
# [PLUGIN_MSG (default: static)])
5849
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5851
# [PLUGIN_NAME_DYN],
5853
# ENABLE=$enableval;
5855
# ENABLE=$default_dyn
5857
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5858
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5860
{ { echo "$as_me:$LINENO: error: pdg is not available" >&5
5861
echo "$as_me: error: pdg is not available" >&2;}
5862
{ (exit 1); exit 1; }; }
5865
eval FORCE_$up=\$FORCE
5866
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5867
eval ENABLE_$up=\$ENABLE
5869
echo "pdg... $ENABLE"
5881
{ echo "$as_me:$LINENO: checking for src/postdominators" >&5
5882
echo $ECHO_N "checking for src/postdominators... $ECHO_C" >&6; }
5883
if test "${ac_cv_file_src_postdominators+set}" = set; then
5884
echo $ECHO_N "(cached) $ECHO_C" >&6
5886
test "$cross_compiling" = yes &&
5887
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5888
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5889
{ (exit 1); exit 1; }; }
5890
if test -r "src/postdominators"; then
5891
ac_cv_file_src_postdominators=yes
5893
ac_cv_file_src_postdominators=no
5896
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_postdominators" >&5
5897
echo "${ECHO_T}$ac_cv_file_src_postdominators" >&6; }
5898
if test $ac_cv_file_src_postdominators = yes; then
5901
plugin_present=no;default=no
5906
# Check whether --enable-PLUGIN_NAME was given.
5907
if test "${enable_postdominators+set}" = set; then
5908
enableval=$enable_postdominators; ENABLE=$enableval;
5915
# Test to change for static plugin, dynamic option
5917
#define([PLUGIN_HELP_DYN],
5918
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5919
# [PLUGIN_MSG (default: static)])
5920
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5922
# [PLUGIN_NAME_DYN],
5924
# ENABLE=$enableval;
5926
# ENABLE=$default_dyn
5928
#eval ENABLE_DYNAMIC_$up=\$ENABLE
5929
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
5931
{ { echo "$as_me:$LINENO: error: postdominators is not available" >&5
5932
echo "$as_me: error: postdominators is not available" >&2;}
5933
{ (exit 1); exit 1; }; }
5935
up=`upper postdominators`
5936
eval FORCE_$up=\$FORCE
5937
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
5938
eval ENABLE_$up=\$ENABLE
5940
echo "postdominators... $ENABLE"
5952
{ echo "$as_me:$LINENO: checking for src/scope" >&5
5953
echo $ECHO_N "checking for src/scope... $ECHO_C" >&6; }
5954
if test "${ac_cv_file_src_scope+set}" = set; then
5955
echo $ECHO_N "(cached) $ECHO_C" >&6
5957
test "$cross_compiling" = yes &&
5958
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5959
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5960
{ (exit 1); exit 1; }; }
5961
if test -r "src/scope"; then
5962
ac_cv_file_src_scope=yes
5964
ac_cv_file_src_scope=no
5967
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_scope" >&5
5968
echo "${ECHO_T}$ac_cv_file_src_scope" >&6; }
5969
if test $ac_cv_file_src_scope = yes; then
5972
plugin_present=no;default=no
5977
# Check whether --enable-PLUGIN_NAME was given.
5978
if test "${enable_scope+set}" = set; then
5979
enableval=$enable_scope; ENABLE=$enableval;
5986
# Test to change for static plugin, dynamic option
5988
#define([PLUGIN_HELP_DYN],
5989
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
5990
# [PLUGIN_MSG (default: static)])
5991
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
5993
# [PLUGIN_NAME_DYN],
5995
# ENABLE=$enableval;
5997
# ENABLE=$default_dyn
5999
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6000
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6002
{ { echo "$as_me:$LINENO: error: scope is not available" >&5
6003
echo "$as_me: error: scope is not available" >&2;}
6004
{ (exit 1); exit 1; }; }
6007
eval FORCE_$up=\$FORCE
6008
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6009
eval ENABLE_$up=\$ENABLE
6011
echo "scope... $ENABLE"
6023
{ echo "$as_me:$LINENO: checking for src/security" >&5
6024
echo $ECHO_N "checking for src/security... $ECHO_C" >&6; }
6025
if test "${ac_cv_file_src_security+set}" = set; then
6026
echo $ECHO_N "(cached) $ECHO_C" >&6
6028
test "$cross_compiling" = yes &&
6029
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6030
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6031
{ (exit 1); exit 1; }; }
6032
if test -r "src/security"; then
6033
ac_cv_file_src_security=yes
6035
ac_cv_file_src_security=no
6038
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_security" >&5
6039
echo "${ECHO_T}$ac_cv_file_src_security" >&6; }
6040
if test $ac_cv_file_src_security = yes; then
6043
plugin_present=no;default=no
6048
# Check whether --enable-PLUGIN_NAME was given.
6049
if test "${enable_security+set}" = set; then
6050
enableval=$enable_security; ENABLE=$enableval;
6057
# Test to change for static plugin, dynamic option
6059
#define([PLUGIN_HELP_DYN],
6060
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6061
# [PLUGIN_MSG (default: static)])
6062
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6064
# [PLUGIN_NAME_DYN],
6066
# ENABLE=$enableval;
6068
# ENABLE=$default_dyn
6070
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6071
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6073
{ { echo "$as_me:$LINENO: error: security is not available" >&5
6074
echo "$as_me: error: security is not available" >&2;}
6075
{ (exit 1); exit 1; }; }
6078
eval FORCE_$up=\$FORCE
6079
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6080
eval ENABLE_$up=\$ENABLE
6082
echo "security... $ENABLE"
6085
# semantic callgraph
6086
####################
6094
{ echo "$as_me:$LINENO: checking for src/semantic_callgraph" >&5
6095
echo $ECHO_N "checking for src/semantic_callgraph... $ECHO_C" >&6; }
6096
if test "${ac_cv_file_src_semantic_callgraph+set}" = set; then
6097
echo $ECHO_N "(cached) $ECHO_C" >&6
6099
test "$cross_compiling" = yes &&
6100
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6101
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6102
{ (exit 1); exit 1; }; }
6103
if test -r "src/semantic_callgraph"; then
6104
ac_cv_file_src_semantic_callgraph=yes
6106
ac_cv_file_src_semantic_callgraph=no
6109
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_semantic_callgraph" >&5
6110
echo "${ECHO_T}$ac_cv_file_src_semantic_callgraph" >&6; }
6111
if test $ac_cv_file_src_semantic_callgraph = yes; then
6114
plugin_present=no;default=no
6119
# Check whether --enable-PLUGIN_NAME was given.
6120
if test "${enable_semantic_callgraph+set}" = set; then
6121
enableval=$enable_semantic_callgraph; ENABLE=$enableval;
6128
# Test to change for static plugin, dynamic option
6130
#define([PLUGIN_HELP_DYN],
6131
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6132
# [PLUGIN_MSG (default: static)])
6133
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6135
# [PLUGIN_NAME_DYN],
6137
# ENABLE=$enableval;
6139
# ENABLE=$default_dyn
6141
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6142
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6144
{ { echo "$as_me:$LINENO: error: semantic_callgraph is not available" >&5
6145
echo "$as_me: error: semantic_callgraph is not available" >&2;}
6146
{ (exit 1); exit 1; }; }
6148
up=`upper semantic_callgraph`
6149
eval FORCE_$up=\$FORCE
6150
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6151
eval ENABLE_$up=\$ENABLE
6153
echo "semantic_callgraph... $ENABLE"
6165
{ echo "$as_me:$LINENO: checking for src/slicing" >&5
6166
echo $ECHO_N "checking for src/slicing... $ECHO_C" >&6; }
6167
if test "${ac_cv_file_src_slicing+set}" = set; then
6168
echo $ECHO_N "(cached) $ECHO_C" >&6
6170
test "$cross_compiling" = yes &&
6171
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6172
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6173
{ (exit 1); exit 1; }; }
6174
if test -r "src/slicing"; then
6175
ac_cv_file_src_slicing=yes
6177
ac_cv_file_src_slicing=no
6180
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_slicing" >&5
6181
echo "${ECHO_T}$ac_cv_file_src_slicing" >&6; }
6182
if test $ac_cv_file_src_slicing = yes; then
6185
plugin_present=no;default=no
6190
# Check whether --enable-PLUGIN_NAME was given.
6191
if test "${enable_slicing+set}" = set; then
6192
enableval=$enable_slicing; ENABLE=$enableval;
6199
# Test to change for static plugin, dynamic option
6201
#define([PLUGIN_HELP_DYN],
6202
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6203
# [PLUGIN_MSG (default: static)])
6204
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6206
# [PLUGIN_NAME_DYN],
6208
# ENABLE=$enableval;
6210
# ENABLE=$default_dyn
6212
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6213
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6215
{ { echo "$as_me:$LINENO: error: slicing is not available" >&5
6216
echo "$as_me: error: slicing is not available" >&2;}
6217
{ (exit 1); exit 1; }; }
6220
eval FORCE_$up=\$FORCE
6221
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6222
eval ENABLE_$up=\$ENABLE
6224
echo "slicing... $ENABLE"
6236
{ echo "$as_me:$LINENO: checking for src/sparecode" >&5
6237
echo $ECHO_N "checking for src/sparecode... $ECHO_C" >&6; }
6238
if test "${ac_cv_file_src_sparecode+set}" = set; then
6239
echo $ECHO_N "(cached) $ECHO_C" >&6
6241
test "$cross_compiling" = yes &&
6242
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6243
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6244
{ (exit 1); exit 1; }; }
6245
if test -r "src/sparecode"; then
6246
ac_cv_file_src_sparecode=yes
6248
ac_cv_file_src_sparecode=no
6251
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_sparecode" >&5
6252
echo "${ECHO_T}$ac_cv_file_src_sparecode" >&6; }
6253
if test $ac_cv_file_src_sparecode = yes; then
6256
plugin_present=no;default=no
6261
# Check whether --enable-PLUGIN_NAME was given.
6262
if test "${enable_sparecode+set}" = set; then
6263
enableval=$enable_sparecode; ENABLE=$enableval;
6270
# Test to change for static plugin, dynamic option
6272
#define([PLUGIN_HELP_DYN],
6273
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6274
# [PLUGIN_MSG (default: static)])
6275
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6277
# [PLUGIN_NAME_DYN],
6279
# ENABLE=$enableval;
6281
# ENABLE=$default_dyn
6283
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6284
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6286
{ { echo "$as_me:$LINENO: error: sparecode is not available" >&5
6287
echo "$as_me: error: sparecode is not available" >&2;}
6288
{ (exit 1); exit 1; }; }
6290
up=`upper sparecode`
6291
eval FORCE_$up=\$FORCE
6292
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6293
eval ENABLE_$up=\$ENABLE
6295
echo "sparecode... $ENABLE"
6307
{ echo "$as_me:$LINENO: checking for src/users" >&5
6308
echo $ECHO_N "checking for src/users... $ECHO_C" >&6; }
6309
if test "${ac_cv_file_src_users+set}" = set; then
6310
echo $ECHO_N "(cached) $ECHO_C" >&6
6312
test "$cross_compiling" = yes &&
6313
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6314
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6315
{ (exit 1); exit 1; }; }
6316
if test -r "src/users"; then
6317
ac_cv_file_src_users=yes
6319
ac_cv_file_src_users=no
6322
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_users" >&5
6323
echo "${ECHO_T}$ac_cv_file_src_users" >&6; }
6324
if test $ac_cv_file_src_users = yes; then
6327
plugin_present=no;default=no
6332
# Check whether --enable-PLUGIN_NAME was given.
6333
if test "${enable_users+set}" = set; then
6334
enableval=$enable_users; ENABLE=$enableval;
6341
# Test to change for static plugin, dynamic option
6343
#define([PLUGIN_HELP_DYN],
6344
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6345
# [PLUGIN_MSG (default: static)])
6346
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6348
# [PLUGIN_NAME_DYN],
6350
# ENABLE=$enableval;
6352
# ENABLE=$default_dyn
6354
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6355
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6357
{ { echo "$as_me:$LINENO: error: users is not available" >&5
6358
echo "$as_me: error: users is not available" >&2;}
6359
{ (exit 1); exit 1; }; }
6362
eval FORCE_$up=\$FORCE
6363
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6364
eval ENABLE_$up=\$ENABLE
6366
echo "users... $ENABLE"
6378
{ echo "$as_me:$LINENO: checking for src/value" >&5
6379
echo $ECHO_N "checking for src/value... $ECHO_C" >&6; }
6380
if test "${ac_cv_file_src_value+set}" = set; then
6381
echo $ECHO_N "(cached) $ECHO_C" >&6
6383
test "$cross_compiling" = yes &&
6384
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6385
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6386
{ (exit 1); exit 1; }; }
6387
if test -r "src/value"; then
6388
ac_cv_file_src_value=yes
6390
ac_cv_file_src_value=no
6393
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_value" >&5
6394
echo "${ECHO_T}$ac_cv_file_src_value" >&6; }
6395
if test $ac_cv_file_src_value = yes; then
6398
plugin_present=no;default=no
6403
# Check whether --enable-PLUGIN_NAME was given.
6404
if test "${enable_value+set}" = set; then
6405
enableval=$enable_value; ENABLE=$enableval;
6412
# Test to change for static plugin, dynamic option
6414
#define([PLUGIN_HELP_DYN],
6415
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6416
# [PLUGIN_MSG (default: static)])
6417
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6419
# [PLUGIN_NAME_DYN],
6421
# ENABLE=$enableval;
6423
# ENABLE=$default_dyn
6425
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6426
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6428
{ { echo "$as_me:$LINENO: error: value is not available" >&5
6429
echo "$as_me: error: value is not available" >&2;}
6430
{ (exit 1); exit 1; }; }
6433
eval FORCE_$up=\$FORCE
6434
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6435
eval ENABLE_$up=\$ENABLE
6437
echo "value... $ENABLE"
6449
{ echo "$as_me:$LINENO: checking for src/wp" >&5
6450
echo $ECHO_N "checking for src/wp... $ECHO_C" >&6; }
6451
if test "${ac_cv_file_src_wp+set}" = set; then
6452
echo $ECHO_N "(cached) $ECHO_C" >&6
6454
test "$cross_compiling" = yes &&
6455
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6456
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6457
{ (exit 1); exit 1; }; }
6458
if test -r "src/wp"; then
6459
ac_cv_file_src_wp=yes
6461
ac_cv_file_src_wp=no
6464
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_wp" >&5
6465
echo "${ECHO_T}$ac_cv_file_src_wp" >&6; }
6466
if test $ac_cv_file_src_wp = yes; then
6469
plugin_present=no;default=no
6474
# Check whether --enable-PLUGIN_NAME was given.
6475
if test "${enable_wp+set}" = set; then
6476
enableval=$enable_wp; ENABLE=$enableval;
6483
# Test to change for static plugin, dynamic option
6485
#define([PLUGIN_HELP_DYN],
6486
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6487
# [PLUGIN_MSG (default: static)])
6488
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6490
# [PLUGIN_NAME_DYN],
6492
# ENABLE=$enableval;
6494
# ENABLE=$default_dyn
6496
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6497
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6499
{ { echo "$as_me:$LINENO: error: wp is not available" >&5
6500
echo "$as_me: error: wp is not available" >&2;}
6501
{ (exit 1); exit 1; }; }
6504
eval FORCE_$up=\$FORCE
6505
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6506
eval ENABLE_$up=\$ENABLE
6508
echo "wp... $ENABLE"
6512
# Aorai : ltl_to_acsl
6513
#####################
6521
{ echo "$as_me:$LINENO: checking for src/ltl_to_acsl" >&5
6522
echo $ECHO_N "checking for src/ltl_to_acsl... $ECHO_C" >&6; }
6523
if test "${ac_cv_file_src_ltl_to_acsl+set}" = set; then
6524
echo $ECHO_N "(cached) $ECHO_C" >&6
6526
test "$cross_compiling" = yes &&
6527
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6528
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6529
{ (exit 1); exit 1; }; }
6530
if test -r "src/ltl_to_acsl"; then
6531
ac_cv_file_src_ltl_to_acsl=yes
6533
ac_cv_file_src_ltl_to_acsl=no
6536
{ echo "$as_me:$LINENO: result: $ac_cv_file_src_ltl_to_acsl" >&5
6537
echo "${ECHO_T}$ac_cv_file_src_ltl_to_acsl" >&6; }
6538
if test $ac_cv_file_src_ltl_to_acsl = yes; then
6541
plugin_present=no;default=no
6546
# Check whether --enable-PLUGIN_NAME was given.
6547
if test "${enable_ltl_to_acsl+set}" = set; then
6548
enableval=$enable_ltl_to_acsl; ENABLE=$enableval;
6555
# Test to change for static plugin, dynamic option
6557
#define([PLUGIN_HELP_DYN],
6558
# AC_HELP_STRING([--enable-PLUGIN_NAME-dynamic],
6559
# [PLUGIN_MSG (default: static)])
6560
#define([PLUGIN_NAME_DYN],[PLUGIN_NAME]-dynamic)
6562
# [PLUGIN_NAME_DYN],
6564
# ENABLE=$enableval;
6566
# ENABLE=$default_dyn
6568
#eval ENABLE_DYNAMIC_$up=\$ENABLE
6569
if test "$plugin_present" == "no" -a "$FORCE" == "yes"; \
6571
{ { echo "$as_me:$LINENO: error: ltl_to_acsl is not available" >&5
6572
echo "$as_me: error: ltl_to_acsl is not available" >&2;}
6573
{ (exit 1); exit 1; }; }
6575
up=`upper ltl_to_acsl`
6576
eval FORCE_$up=\$FORCE
6577
PLUGINS_FORCE_LIST=${PLUGINS_FORCE_LIST}" "FORCE_$up
6578
eval ENABLE_$up=\$ENABLE
6580
echo "ltl_to_acsl... $ENABLE"
6582
#if test "$ENABLE_LTL_TO_ACSL" == "yes"; then
6583
# REQUIRE_LTLTOBA=${REQUIRE_LTLTOBA}" ltl_to_acsl"
6588
#####################################################
6589
# Check for tools/libraries requirements of plugins #
6590
#####################################################
6592
new_section "configure tools and libraries used by some plugins"
6594
# 1st param: uppercase name of the library
6595
# 2nd param: file which must exist. This parameter can be a list of files.
6596
# In this case, they will be tried in turn until one of them exists. The
6597
# name of the file found will be put in the variable SELECTED_$1
6598
# 3d param: warning to display if problem
6601
# 1st param: uppercase name of the program
6602
# 2nd param: program which must exist. See comment on configure_library()
6603
# on how to deal with multiple choices for a given program.
6604
# 3d param: warning to display if problem
6618
if test -n "$REQUIRE_ELSA" -o -n "$USE_ELSA"; then
6620
if test "$HAS_ELSA" != "yes"; then
6621
{ echo "$as_me:$LINENO: checking for cxx_elsa" >&5
6622
echo $ECHO_N "checking for cxx_elsa... $ECHO_C" >&6; }
6623
if test "${ac_cv_file_cxx_elsa+set}" = set; then
6624
echo $ECHO_N "(cached) $ECHO_C" >&6
6626
test "$cross_compiling" = yes &&
6627
{ { echo "$as_me:$LINENO: error: cannot check for cxx_elsa existence when cross compiling" >&5
6628
echo "$as_me: error: cannot check for cxx_elsa existence when cross compiling" >&2;}
6629
{ (exit 1); exit 1; }; }
6630
if test -r "cxx_elsa"; then
6631
ac_cv_file_cxx_elsa=yes
6633
ac_cv_file_cxx_elsa=no
6636
{ echo "$as_me:$LINENO: result: $ac_cv_file_cxx_elsa" >&5
6637
echo "${ECHO_T}$ac_cv_file_cxx_elsa" >&6; }
6638
if test $ac_cv_file_cxx_elsa = yes; then
6644
if test "$HAS_ELSA" == "yes"; then SELECTED_ELSA=cxx_elsa
6648
if test "$HAS_ELSA" == "no"; then
6649
{ echo "$as_me:$LINENO: WARNING:
6650
sources of cxx_elsa are not present in this directory.
6651
Please check them out from the cvs repository." >&5
6652
echo "$as_me: WARNING:
6653
sources of cxx_elsa are not present in this directory.
6654
Please check them out from the cvs repository." >&2;}
6655
if test "$REQUIRE_ELSA" != ""; then
6656
echo "plugins disabled:
6658
for p in $REQUIRE_ELSA; do
6659
fp=FORCE_`upper "$p"`
6660
if eval test "\$$fp" == "yes"; then
6661
{ { echo "$as_me:$LINENO: error: $p requested but cxx_elsa missing." >&5
6662
echo "$as_me: error: $p requested but cxx_elsa missing." >&2;}
6663
{ (exit 1); exit 1; }; }
6665
ep=ENABLE_`upper "$p"`
6666
eval $ep="no\ \(see\ warning\ about\ cxx_elsa\)"
6669
if test "$USE_ELSA" != ""; then
6670
echo "plugins not fully functional:
6672
for p in $USE_ELSA; do
6673
ep=ENABLE_`upper "$p"`
6675
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
6676
eval $ep="partial\ \(see\ warning\ about\ cxx_elsa\)"
6695
if test "$has" == "yes"; then
6696
USE_CCPARSE="$REQUIRE_ELSA$USE_ELSA"
6708
if test -n "$REQUIRE_CCPARSE" -o -n "$USE_CCPARSE"; then
6710
if test "$HAS_CCPARSE" != "yes"; then
6711
{ echo "$as_me:$LINENO: checking for cxx_elsa/elsa-2006.06.11/elsa/ccparse" >&5
6712
echo $ECHO_N "checking for cxx_elsa/elsa-2006.06.11/elsa/ccparse... $ECHO_C" >&6; }
6713
if test "${ac_cv_file_cxx_elsa_elsa_2006_06_11_elsa_ccparse+set}" = set; then
6714
echo $ECHO_N "(cached) $ECHO_C" >&6
6716
test "$cross_compiling" = yes &&
6717
{ { echo "$as_me:$LINENO: error: cannot check for cxx_elsa/elsa-2006.06.11/elsa/ccparse existence when cross compiling" >&5
6718
echo "$as_me: error: cannot check for cxx_elsa/elsa-2006.06.11/elsa/ccparse existence when cross compiling" >&2;}
6719
{ (exit 1); exit 1; }; }
6720
if test -r "cxx_elsa/elsa-2006.06.11/elsa/ccparse"; then
6721
ac_cv_file_cxx_elsa_elsa_2006_06_11_elsa_ccparse=yes
6723
ac_cv_file_cxx_elsa_elsa_2006_06_11_elsa_ccparse=no
6726
{ echo "$as_me:$LINENO: result: $ac_cv_file_cxx_elsa_elsa_2006_06_11_elsa_ccparse" >&5
6727
echo "${ECHO_T}$ac_cv_file_cxx_elsa_elsa_2006_06_11_elsa_ccparse" >&6; }
6728
if test $ac_cv_file_cxx_elsa_elsa_2006_06_11_elsa_ccparse = yes; then
6734
if test "$HAS_CCPARSE" == "yes"; then SELECTED_CCPARSE=cxx_elsa/elsa-2006.06.11/elsa/ccparse
6738
if test "$HAS_CCPARSE" == "no"; then
6739
{ echo "$as_me:$LINENO: WARNING: elsa seems to be uncompiled. Please run 'make elsa'." >&5
6740
echo "$as_me: WARNING: elsa seems to be uncompiled. Please run 'make elsa'." >&2;}
6741
if test "$REQUIRE_CCPARSE" != ""; then
6742
echo "plugins disabled:
6744
for p in $REQUIRE_CCPARSE; do
6745
fp=FORCE_`upper "$p"`
6746
if eval test "\$$fp" == "yes"; then
6747
{ { echo "$as_me:$LINENO: error: $p requested but cxx_elsa/elsa-2006.06.11/elsa/ccparse missing." >&5
6748
echo "$as_me: error: $p requested but cxx_elsa/elsa-2006.06.11/elsa/ccparse missing." >&2;}
6749
{ (exit 1); exit 1; }; }
6751
ep=ENABLE_`upper "$p"`
6752
eval $ep="no\ \(see\ warning\ about\ cxx_elsa/elsa-2006.06.11/elsa/ccparse\)"
6755
if test "$USE_CCPARSE" != ""; then
6756
echo "plugins not fully functional:
6758
for p in $USE_CCPARSE; do
6759
ep=ENABLE_`upper "$p"`
6761
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
6762
eval $ep="partial\ \(see\ warning\ about\ cxx_elsa/elsa-2006.06.11/elsa/ccparse\)"
6788
if test -n "$REQUIRE_LABLGLADECC" -o -n "$USE_LABLGLADECC"; then
6789
for FILE_CCPARSE in lablgladecc2; do
6791
# Extract the first word of "$FILE_CCPARSE", so it can be a program name with args.
6792
set dummy $FILE_CCPARSE; ac_word=$2
6793
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6794
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6795
if test "${ac_cv_prog_HAS_LABLGLADECC+set}" = set; then
6796
echo $ECHO_N "(cached) $ECHO_C" >&6
6798
if test -n "$HAS_LABLGLADECC"; then
6799
ac_cv_prog_HAS_LABLGLADECC="$HAS_LABLGLADECC" # Let the user override the test.
6801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805
test -z "$as_dir" && as_dir=.
6806
for ac_exec_ext in '' $ac_executable_extensions; do
6807
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808
ac_cv_prog_HAS_LABLGLADECC="yes"
6809
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6816
test -z "$ac_cv_prog_HAS_LABLGLADECC" && ac_cv_prog_HAS_LABLGLADECC="no"
6819
HAS_LABLGLADECC=$ac_cv_prog_HAS_LABLGLADECC
6820
if test -n "$HAS_LABLGLADECC"; then
6821
{ echo "$as_me:$LINENO: result: $HAS_LABLGLADECC" >&5
6822
echo "${ECHO_T}$HAS_LABLGLADECC" >&6; }
6824
{ echo "$as_me:$LINENO: result: no" >&5
6825
echo "${ECHO_T}no" >&6; }
6829
if test "$HAS_LABLGLADECC" == "yes"; then SELECTED_VAR=$FILE_CCPARSE break; fi
6831
if test "$HAS_LABLGLADECC" == "no"; then
6832
{ echo "$as_me:$LINENO: WARNING: lablgladecc2 not found." >&5
6833
echo "$as_me: WARNING: lablgladecc2 not found." >&2;}
6834
if test "$REQUIRE_LABLGLADECC" != ""; then
6835
echo "plugins disabled:
6836
$REQUIRE_LABLGLADECC"
6837
for p in $REQUIRE_LABLGLADECC; do
6838
fp=FORCE_`upper "$p"`
6839
if eval test "\$$fp" == "yes"; then
6840
{ { echo "$as_me:$LINENO: error: $p requested but lablgladecc2 missing." >&5
6841
echo "$as_me: error: $p requested but lablgladecc2 missing." >&2;}
6842
{ (exit 1); exit 1; }; }
6844
ep=ENABLE_`upper "$p"`
6845
eval $ep="no\ \(see\ warning\ about\ lablgladecc2\)"
6848
if test "$USE_LABLGLADECC" != ""; then
6849
echo "plugins not fully functional:
6851
for p in $USE_LABLGLADECC; do
6852
ep=ENABLE_`upper "$p"`
6854
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
6855
eval $ep="partial\ \(see\ warning\ about\ lablgladecc2\)"
6861
LABLGLADECC=lablgladecc2
6882
if test -n "$REQUIRE_CAMLP4O" -o -n "$USE_CAMLP4O"; then
6883
for FILE_CCPARSE in camlp4o; do
6885
# Extract the first word of "$FILE_CCPARSE", so it can be a program name with args.
6886
set dummy $FILE_CCPARSE; ac_word=$2
6887
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6889
if test "${ac_cv_prog_HAS_CAMLP4O+set}" = set; then
6890
echo $ECHO_N "(cached) $ECHO_C" >&6
6892
if test -n "$HAS_CAMLP4O"; then
6893
ac_cv_prog_HAS_CAMLP4O="$HAS_CAMLP4O" # Let the user override the test.
6895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899
test -z "$as_dir" && as_dir=.
6900
for ac_exec_ext in '' $ac_executable_extensions; do
6901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6902
ac_cv_prog_HAS_CAMLP4O="yes"
6903
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6910
test -z "$ac_cv_prog_HAS_CAMLP4O" && ac_cv_prog_HAS_CAMLP4O="no"
6913
HAS_CAMLP4O=$ac_cv_prog_HAS_CAMLP4O
6914
if test -n "$HAS_CAMLP4O"; then
6915
{ echo "$as_me:$LINENO: result: $HAS_CAMLP4O" >&5
6916
echo "${ECHO_T}$HAS_CAMLP4O" >&6; }
6918
{ echo "$as_me:$LINENO: result: no" >&5
6919
echo "${ECHO_T}no" >&6; }
6923
if test "$HAS_CAMLP4O" == "yes"; then SELECTED_VAR=$FILE_CCPARSE break; fi
6925
if test "$HAS_CAMLP4O" == "no"; then
6926
{ echo "$as_me:$LINENO: WARNING: camlp4o not found." >&5
6927
echo "$as_me: WARNING: camlp4o not found." >&2;}
6928
if test "$REQUIRE_CAMLP4O" != ""; then
6929
echo "plugins disabled:
6931
for p in $REQUIRE_CAMLP4O; do
6932
fp=FORCE_`upper "$p"`
6933
if eval test "\$$fp" == "yes"; then
6934
{ { echo "$as_me:$LINENO: error: $p requested but camlp4o missing." >&5
6935
echo "$as_me: error: $p requested but camlp4o missing." >&2;}
6936
{ (exit 1); exit 1; }; }
6938
ep=ENABLE_`upper "$p"`
6939
eval $ep="no\ \(see\ warning\ about\ camlp4o\)"
6942
if test "$USE_CAMLP4O" != ""; then
6943
echo "plugins not fully functional:
6945
for p in $USE_CAMLP4O; do
6946
ep=ENABLE_`upper "$p"`
6948
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
6949
eval $ep="partial\ \(see\ warning\ about\ camlp4o\)"
6976
if test -n "$REQUIRE_LTLTOBA" -o -n "$USE_LTLTOBA"; then
6977
for FILE_CCPARSE in ltl2ba; do
6979
# Extract the first word of "$FILE_CCPARSE", so it can be a program name with args.
6980
set dummy $FILE_CCPARSE; ac_word=$2
6981
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6982
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6983
if test "${ac_cv_prog_HAS_LTLTOBA+set}" = set; then
6984
echo $ECHO_N "(cached) $ECHO_C" >&6
6986
if test -n "$HAS_LTLTOBA"; then
6987
ac_cv_prog_HAS_LTLTOBA="$HAS_LTLTOBA" # Let the user override the test.
6989
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993
test -z "$as_dir" && as_dir=.
6994
for ac_exec_ext in '' $ac_executable_extensions; do
6995
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996
ac_cv_prog_HAS_LTLTOBA="yes"
6997
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7004
test -z "$ac_cv_prog_HAS_LTLTOBA" && ac_cv_prog_HAS_LTLTOBA="no"
7007
HAS_LTLTOBA=$ac_cv_prog_HAS_LTLTOBA
7008
if test -n "$HAS_LTLTOBA"; then
7009
{ echo "$as_me:$LINENO: result: $HAS_LTLTOBA" >&5
7010
echo "${ECHO_T}$HAS_LTLTOBA" >&6; }
7012
{ echo "$as_me:$LINENO: result: no" >&5
7013
echo "${ECHO_T}no" >&6; }
7017
if test "$HAS_LTLTOBA" == "yes"; then SELECTED_VAR=$FILE_CCPARSE break; fi
7019
if test "$HAS_LTLTOBA" == "no"; then
7020
{ echo "$as_me:$LINENO: WARNING: ltl2ba not found." >&5
7021
echo "$as_me: WARNING: ltl2ba not found." >&2;}
7022
if test "$REQUIRE_LTLTOBA" != ""; then
7023
echo "plugins disabled:
7025
for p in $REQUIRE_LTLTOBA; do
7026
fp=FORCE_`upper "$p"`
7027
if eval test "\$$fp" == "yes"; then
7028
{ { echo "$as_me:$LINENO: error: $p requested but ltl2ba missing." >&5
7029
echo "$as_me: error: $p requested but ltl2ba missing." >&2;}
7030
{ (exit 1); exit 1; }; }
7032
ep=ENABLE_`upper "$p"`
7033
eval $ep="no\ \(see\ warning\ about\ ltl2ba\)"
7036
if test "$USE_LTLTOBA" != ""; then
7037
echo "plugins not fully functional:
7039
for p in $USE_LTLTOBA; do
7040
ep=ENABLE_`upper "$p"`
7042
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
7043
eval $ep="partial\ \(see\ warning\ about\ ltl2ba\)"
7071
if test -n "$REQUIRE_LABLGTK" -o -n "$USE_LABLGTK"; then
7073
if test "$HAS_LABLGTK" != "yes"; then
7074
as_ac_File=`echo "ac_cv_file_$OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX" | $as_tr_sh`
7075
{ echo "$as_me:$LINENO: checking for $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX" >&5
7076
echo $ECHO_N "checking for $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX... $ECHO_C" >&6; }
7077
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7078
echo $ECHO_N "(cached) $ECHO_C" >&6
7080
test "$cross_compiling" = yes &&
7081
{ { echo "$as_me:$LINENO: error: cannot check for $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX existence when cross compiling" >&5
7082
echo "$as_me: error: cannot check for $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX existence when cross compiling" >&2;}
7083
{ (exit 1); exit 1; }; }
7084
if test -r "$OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX"; then
7085
eval "$as_ac_File=yes"
7087
eval "$as_ac_File=no"
7090
ac_res=`eval echo '${'$as_ac_File'}'`
7091
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7092
echo "${ECHO_T}$ac_res" >&6; }
7093
if test `eval echo '${'$as_ac_File'}'` = yes; then
7099
if test "$HAS_LABLGTK" == "yes"; then SELECTED_LABLGTK=$OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX
7103
if test "$HAS_LABLGTK" == "no"; then
7104
{ echo "$as_me:$LINENO: WARNING: lablgtk2/lablgtk.$LIB_SUFFIX not found." >&5
7105
echo "$as_me: WARNING: lablgtk2/lablgtk.$LIB_SUFFIX not found." >&2;}
7106
if test "$REQUIRE_LABLGTK" != ""; then
7107
echo "plugins disabled:
7109
for p in $REQUIRE_LABLGTK; do
7110
fp=FORCE_`upper "$p"`
7111
if eval test "\$$fp" == "yes"; then
7112
{ { echo "$as_me:$LINENO: error: $p requested but $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX missing." >&5
7113
echo "$as_me: error: $p requested but $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX missing." >&2;}
7114
{ (exit 1); exit 1; }; }
7116
ep=ENABLE_`upper "$p"`
7117
eval $ep="no\ \(see\ warning\ about\ $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX\)"
7120
if test "$USE_LABLGTK" != ""; then
7121
echo "plugins not fully functional:
7123
for p in $USE_LABLGTK; do
7124
ep=ENABLE_`upper "$p"`
7126
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
7127
eval $ep="partial\ \(see\ warning\ about\ $OCAMLLIB/lablgtk2/lablgtk.$LIB_SUFFIX\)"
7143
HAS_LABLGTK_CUSTOM_MODEL=no
7144
# Check whether --enable-custommodel was given.
7145
if test "${enable_custommodel+set}" = set; then
7146
enableval=$enable_custommodel; HAS_LABLGTK_CUSTOM_MODEL=yes
7148
HAS_LABLGTK_CUSTOM_MODEL=no
7154
REQUIRE_GTKSOURCEVIEW=
7157
FORCE_GTKSOURCEVIEW="yes"
7159
if test "$FORCE_GTKSOURCEVIEW" == "yes"; then
7160
REQUIRE_GTKSOURCEVIEW="$REQUIRE_LABLGTK"
7161
USE_GTKSOURCEVIEW="$USE_LABLGTK"
7163
if test "$has" == "yes"; then
7164
USE_GTKSOURCEVIEW="$REQUIRE_LABLGTK$USE_LABLGTK"
7177
if test -n "$REQUIRE_GTKSOURCEVIEW" -o -n "$USE_GTKSOURCEVIEW"; then
7178
HAS_GTKSOURCEVIEW=no
7179
if test "$HAS_GTKSOURCEVIEW" != "yes"; then
7180
as_ac_File=`echo "ac_cv_file_$OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX" | $as_tr_sh`
7181
{ echo "$as_me:$LINENO: checking for $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX" >&5
7182
echo $ECHO_N "checking for $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX... $ECHO_C" >&6; }
7183
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7184
echo $ECHO_N "(cached) $ECHO_C" >&6
7186
test "$cross_compiling" = yes &&
7187
{ { echo "$as_me:$LINENO: error: cannot check for $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX existence when cross compiling" >&5
7188
echo "$as_me: error: cannot check for $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX existence when cross compiling" >&2;}
7189
{ (exit 1); exit 1; }; }
7190
if test -r "$OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX"; then
7191
eval "$as_ac_File=yes"
7193
eval "$as_ac_File=no"
7196
ac_res=`eval echo '${'$as_ac_File'}'`
7197
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7198
echo "${ECHO_T}$ac_res" >&6; }
7199
if test `eval echo '${'$as_ac_File'}'` = yes; then
7200
HAS_GTKSOURCEVIEW=yes
7202
HAS_GTKSOURCEVIEW=no
7205
if test "$HAS_GTKSOURCEVIEW" == "yes"; then SELECTED_GTKSOURCEVIEW=$OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX
7208
if test "$HAS_GTKSOURCEVIEW" != "yes"; then
7209
as_ac_File=`echo "ac_cv_file_$OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX" | $as_tr_sh`
7210
{ echo "$as_me:$LINENO: checking for $OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX" >&5
7211
echo $ECHO_N "checking for $OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX... $ECHO_C" >&6; }
7212
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7213
echo $ECHO_N "(cached) $ECHO_C" >&6
7215
test "$cross_compiling" = yes &&
7216
{ { echo "$as_me:$LINENO: error: cannot check for $OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX existence when cross compiling" >&5
7217
echo "$as_me: error: cannot check for $OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX existence when cross compiling" >&2;}
7218
{ (exit 1); exit 1; }; }
7219
if test -r "$OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX"; then
7220
eval "$as_ac_File=yes"
7222
eval "$as_ac_File=no"
7225
ac_res=`eval echo '${'$as_ac_File'}'`
7226
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7227
echo "${ECHO_T}$ac_res" >&6; }
7228
if test `eval echo '${'$as_ac_File'}'` = yes; then
7229
HAS_GTKSOURCEVIEW=yes
7231
HAS_GTKSOURCEVIEW=no
7234
if test "$HAS_GTKSOURCEVIEW" == "yes"; then SELECTED_GTKSOURCEVIEW=$OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX
7238
if test "$HAS_GTKSOURCEVIEW" == "no"; then
7239
{ echo "$as_me:$LINENO: WARNING: lablgtksourceview.$LIB_SUFFIX not found" >&5
7240
echo "$as_me: WARNING: lablgtksourceview.$LIB_SUFFIX not found" >&2;}
7241
if test "$REQUIRE_GTKSOURCEVIEW" != ""; then
7242
echo "plugins disabled:
7243
$REQUIRE_GTKSOURCEVIEW"
7244
for p in $REQUIRE_GTKSOURCEVIEW; do
7245
fp=FORCE_`upper "$p"`
7246
if eval test "\$$fp" == "yes"; then
7247
{ { echo "$as_me:$LINENO: error: $p requested but $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX" >&5
7248
echo "$as_me: error: $p requested but $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX" >&2;}
7249
{ (exit $OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX missing.); exit $OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX missing.; }; }
7251
ep=ENABLE_`upper "$p"`
7252
eval $ep="no\ \(see\ warning\ about\ $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX,$OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX\)"
7255
if test "$USE_GTKSOURCEVIEW" != ""; then
7256
echo "plugins not fully functional:
7258
for p in $USE_GTKSOURCEVIEW; do
7259
ep=ENABLE_`upper "$p"`
7261
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
7262
eval $ep="partial\ \(see\ warning\ about\ $OCAMLLIB/lablgtk2/lablgtksourceview.$LIB_SUFFIX,$OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX\)"
7278
case $SELECTED_GTKSOURCEVIEW in
7279
$OCAMLLIB/lablgtksourceview/lablgtksourceview.$LIB_SUFFIX)
7280
HAS_LEGACY_GTKSOURCEVIEW=yes
7295
if test -n "$REQUIRE_GNOMECANVAS" -o -n "$USE_GNOMECANVAS"; then
7297
if test "$HAS_GNOMECANVAS" != "yes"; then
7298
as_ac_File=`echo "ac_cv_file_$OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX" | $as_tr_sh`
7299
{ echo "$as_me:$LINENO: checking for $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX" >&5
7300
echo $ECHO_N "checking for $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX... $ECHO_C" >&6; }
7301
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7302
echo $ECHO_N "(cached) $ECHO_C" >&6
7304
test "$cross_compiling" = yes &&
7305
{ { echo "$as_me:$LINENO: error: cannot check for $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX existence when cross compiling" >&5
7306
echo "$as_me: error: cannot check for $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX existence when cross compiling" >&2;}
7307
{ (exit 1); exit 1; }; }
7308
if test -r "$OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX"; then
7309
eval "$as_ac_File=yes"
7311
eval "$as_ac_File=no"
7314
ac_res=`eval echo '${'$as_ac_File'}'`
7315
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7316
echo "${ECHO_T}$ac_res" >&6; }
7317
if test `eval echo '${'$as_ac_File'}'` = yes; then
7323
if test "$HAS_GNOMECANVAS" == "yes"; then SELECTED_GNOMECANVAS=$OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX
7327
if test "$HAS_GNOMECANVAS" == "no"; then
7328
{ echo "$as_me:$LINENO: WARNING: lablgnomecanvas.$LIB_SUFFIX not found" >&5
7329
echo "$as_me: WARNING: lablgnomecanvas.$LIB_SUFFIX not found" >&2;}
7330
if test "$REQUIRE_GNOMECANVAS" != ""; then
7331
echo "plugins disabled:
7332
$REQUIRE_GNOMECANVAS"
7333
for p in $REQUIRE_GNOMECANVAS; do
7334
fp=FORCE_`upper "$p"`
7335
if eval test "\$$fp" == "yes"; then
7336
{ { echo "$as_me:$LINENO: error: $p requested but $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX missing." >&5
7337
echo "$as_me: error: $p requested but $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX missing." >&2;}
7338
{ (exit 1); exit 1; }; }
7340
ep=ENABLE_`upper "$p"`
7341
eval $ep="no\ \(see\ warning\ about\ $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX\)"
7344
if test "$USE_GNOMECANVAS" != ""; then
7345
echo "plugins not fully functional:
7347
for p in $USE_GNOMECANVAS; do
7348
ep=ENABLE_`upper "$p"`
7350
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
7351
eval $ep="partial\ \(see\ warning\ about\ $OCAMLLIB/lablgtk2/lablgnomecanvas.$LIB_SUFFIX\)"
7372
# Check whether --with-whydir was given.
7373
if test "${with_whydir+set}" = set; then
7374
withval=$with_whydir; WHYDISTRIB=$with_whydir
7390
if test -n "$REQUIRE_WHYJC" -o -n "$USE_WHYJC"; then
7392
if test "$HAS_WHYJC" != "yes"; then
7393
as_ac_File=`echo "ac_cv_file_$WHYDISTRIB/jc" | $as_tr_sh`
7394
{ echo "$as_me:$LINENO: checking for $WHYDISTRIB/jc" >&5
7395
echo $ECHO_N "checking for $WHYDISTRIB/jc... $ECHO_C" >&6; }
7396
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7397
echo $ECHO_N "(cached) $ECHO_C" >&6
7399
test "$cross_compiling" = yes &&
7400
{ { echo "$as_me:$LINENO: error: cannot check for $WHYDISTRIB/jc existence when cross compiling" >&5
7401
echo "$as_me: error: cannot check for $WHYDISTRIB/jc existence when cross compiling" >&2;}
7402
{ (exit 1); exit 1; }; }
7403
if test -r "$WHYDISTRIB/jc"; then
7404
eval "$as_ac_File=yes"
7406
eval "$as_ac_File=no"
7409
ac_res=`eval echo '${'$as_ac_File'}'`
7410
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7411
echo "${ECHO_T}$ac_res" >&6; }
7412
if test `eval echo '${'$as_ac_File'}'` = yes; then
7418
if test "$HAS_WHYJC" == "yes"; then SELECTED_WHYJC=$WHYDISTRIB/jc
7421
if test "$HAS_WHYJC" != "yes"; then
7422
as_ac_File=`echo "ac_cv_file_$OCAMLLIB/jessie/jc.$OBJ_SUFFIX" | $as_tr_sh`
7423
{ echo "$as_me:$LINENO: checking for $OCAMLLIB/jessie/jc.$OBJ_SUFFIX" >&5
7424
echo $ECHO_N "checking for $OCAMLLIB/jessie/jc.$OBJ_SUFFIX... $ECHO_C" >&6; }
7425
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7426
echo $ECHO_N "(cached) $ECHO_C" >&6
7428
test "$cross_compiling" = yes &&
7429
{ { echo "$as_me:$LINENO: error: cannot check for $OCAMLLIB/jessie/jc.$OBJ_SUFFIX existence when cross compiling" >&5
7430
echo "$as_me: error: cannot check for $OCAMLLIB/jessie/jc.$OBJ_SUFFIX existence when cross compiling" >&2;}
7431
{ (exit 1); exit 1; }; }
7432
if test -r "$OCAMLLIB/jessie/jc.$OBJ_SUFFIX"; then
7433
eval "$as_ac_File=yes"
7435
eval "$as_ac_File=no"
7438
ac_res=`eval echo '${'$as_ac_File'}'`
7439
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7440
echo "${ECHO_T}$ac_res" >&6; }
7441
if test `eval echo '${'$as_ac_File'}'` = yes; then
7447
if test "$HAS_WHYJC" == "yes"; then SELECTED_WHYJC=$OCAMLLIB/jessie/jc.$OBJ_SUFFIX
7451
if test "$HAS_WHYJC" == "no"; then
7452
{ echo "$as_me:$LINENO: WARNING: why not found" >&5
7453
echo "$as_me: WARNING: why not found" >&2;}
7454
if test "$REQUIRE_WHYJC" != ""; then
7455
echo "plugins disabled:
7457
for p in $REQUIRE_WHYJC; do
7458
fp=FORCE_`upper "$p"`
7459
if eval test "\$$fp" == "yes"; then
7460
{ { echo "$as_me:$LINENO: error: $p requested but $WHYDISTRIB/jc" >&5
7461
echo "$as_me: error: $p requested but $WHYDISTRIB/jc" >&2;}
7462
{ (exit $OCAMLLIB/jessie/jc.$OBJ_SUFFIX missing.); exit $OCAMLLIB/jessie/jc.$OBJ_SUFFIX missing.; }; }
7464
ep=ENABLE_`upper "$p"`
7465
eval $ep="no\ \(see\ warning\ about\ $WHYDISTRIB/jc,$OCAMLLIB/jessie/jc.$OBJ_SUFFIX\)"
7468
if test "$USE_WHYJC" != ""; then
7469
echo "plugins not fully functional:
7471
for p in $USE_WHYJC; do
7472
ep=ENABLE_`upper "$p"`
7474
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
7475
eval $ep="partial\ \(see\ warning\ about\ $WHYDISTRIB/jc,$OCAMLLIB/jessie/jc.$OBJ_SUFFIX\)"
7500
if test -n "$REQUIRE_APRON" -o -n "$USE_APRON"; then
7502
if test "$HAS_APRON" != "yes"; then
7503
{ echo "$as_me:$LINENO: checking for /usr/local/lib/apron.a" >&5
7504
echo $ECHO_N "checking for /usr/local/lib/apron.a... $ECHO_C" >&6; }
7505
if test "${ac_cv_file__usr_local_lib_apron_a+set}" = set; then
7506
echo $ECHO_N "(cached) $ECHO_C" >&6
7508
test "$cross_compiling" = yes &&
7509
{ { echo "$as_me:$LINENO: error: cannot check for /usr/local/lib/apron.a existence when cross compiling" >&5
7510
echo "$as_me: error: cannot check for /usr/local/lib/apron.a existence when cross compiling" >&2;}
7511
{ (exit 1); exit 1; }; }
7512
if test -r "/usr/local/lib/apron.a"; then
7513
ac_cv_file__usr_local_lib_apron_a=yes
7515
ac_cv_file__usr_local_lib_apron_a=no
7518
{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_lib_apron_a" >&5
7519
echo "${ECHO_T}$ac_cv_file__usr_local_lib_apron_a" >&6; }
7520
if test $ac_cv_file__usr_local_lib_apron_a = yes; then
7526
if test "$HAS_APRON" == "yes"; then SELECTED_APRON=/usr/local/lib/apron.a
7529
if test "$HAS_APRON" != "yes"; then
7530
{ echo "$as_me:$LINENO: checking for /usr/lib/apron.a" >&5
7531
echo $ECHO_N "checking for /usr/lib/apron.a... $ECHO_C" >&6; }
7532
if test "${ac_cv_file__usr_lib_apron_a+set}" = set; then
7533
echo $ECHO_N "(cached) $ECHO_C" >&6
7535
test "$cross_compiling" = yes &&
7536
{ { echo "$as_me:$LINENO: error: cannot check for /usr/lib/apron.a existence when cross compiling" >&5
7537
echo "$as_me: error: cannot check for /usr/lib/apron.a existence when cross compiling" >&2;}
7538
{ (exit 1); exit 1; }; }
7539
if test -r "/usr/lib/apron.a"; then
7540
ac_cv_file__usr_lib_apron_a=yes
7542
ac_cv_file__usr_lib_apron_a=no
7545
{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_lib_apron_a" >&5
7546
echo "${ECHO_T}$ac_cv_file__usr_lib_apron_a" >&6; }
7547
if test $ac_cv_file__usr_lib_apron_a = yes; then
7553
if test "$HAS_APRON" == "yes"; then SELECTED_APRON=/usr/lib/apron.a
7557
if test "$HAS_APRON" == "no"; then
7558
{ echo "$as_me:$LINENO: WARNING: apron not found" >&5
7559
echo "$as_me: WARNING: apron not found" >&2;}
7560
if test "$REQUIRE_APRON" != ""; then
7561
echo "plugins disabled:
7563
for p in $REQUIRE_APRON; do
7564
fp=FORCE_`upper "$p"`
7565
if eval test "\$$fp" == "yes"; then
7566
{ { echo "$as_me:$LINENO: error: $p requested but /usr/local/lib/apron.a" >&5
7567
echo "$as_me: error: $p requested but /usr/local/lib/apron.a" >&2;}
7568
{ (exit /usr/lib/apron.a missing.); exit /usr/lib/apron.a missing.; }; }
7570
ep=ENABLE_`upper "$p"`
7571
eval $ep="no\ \(see\ warning\ about\ /usr/local/lib/apron.a,/usr/lib/apron.a\)"
7574
if test "$USE_APRON" != ""; then
7575
echo "plugins not fully functional:
7577
for p in $USE_APRON; do
7578
ep=ENABLE_`upper "$p"`
7580
if test "`echo $eep | sed -e 's/ .*//' `" != "no"; then
7581
eval $ep="partial\ \(see\ warning\ about\ /usr/local/lib/apron.a,/usr/lib/apron.a\)"
7597
if test "$HAS_WHYJC" == "yes" -a "$REQUIRE_WHYJC" != ""; then
7598
case $SELECTED_WHYJC in
7600
JCCMO=$WHYDISTRIB/jc/jc.cmo
7601
JCCMX=$WHYDISTRIB/jc/jc.cmx
7603
JESSIE_INCLUDES="-I $WHYDISTRIB/src -I $WHYDISTRIB/jc"
7604
(cd $WHYDISTRIB && ./configure --prefix=$prefix --datarootdir=$datarootdir \
7605
--exec_prefix=$exec_prefix --bindir=$bindir --libdir=$datadir/frama-c \
7606
--mandir=$mandir --enable-apron=$HAS_APRON) || ENABLE_JESSIE=no
7607
if test "$ENABLE_JESSIE" == "no"; then
7608
INFO_JESSIE=" (configuration of Why failed)"
7612
JCCMO=$SELECTED_WHYJC/jc.cmo
7613
JCCMX=$SELECTED_WHYJC/jc.cmx
7615
JESSIE_INCLUDES="-I $SELECTED_WHYJC"
7618
{ echo "$as_me:$LINENO: WARNING: Unexpected location for why tool: $SELECTED_WHYJC" >&5
7619
echo "$as_me: WARNING: Unexpected location for why tool: $SELECTED_WHYJC" >&2;}
7627
#######################
7628
# Plugin dependencies #
7629
#######################
7631
new_section "checking for plugin dependencies"
7633
# What are the dependencies?
7634
############################
7635
# Each plugin has to update these lists
7637
REQUIRE_FROM="value inout pdg slicing"
7639
#USE_GUI="occurrence security slicing value impact"
7641
REQUIRE_PDG="slicing security"
7643
REQUIRE_SECURITY="impact"
7645
USE_SLICING="security miel"
7647
REQUIRE_VALUE="constant_propagation from inout occurrence pdg scope security \
7648
slicing sparecode users semantic_callgraph miel"
7650
### Now compute the dependencies
7651
# a bit ugly... Probably optimizable
7653
# First, initialize some variables
7654
for fp in ${PLUGINS_FORCE_LIST}; do
7655
if test "$fp" != "FORCE_GTKSOURCEVIEW"; then
7656
plugin=`echo $fp | sed -e "s/FORCE_\(.*\)/\1/" `
7657
TODOLIST=$TODOLIST" "$plugin
7659
eval REMEMBER_$plugin=
7663
# Implementation of an ordering $1 < $2: "" < yes < partial < no
7665
first=`echo "$1" | sed -e 's/ .*//' `
7666
second=`echo "$2" | sed -e 's/ .*//' `
7672
"partial" | "no") echo "true";;
7676
"yes" | "partial") echo "";;
7683
# Check and propagate marks to requires and users.
7685
# $2: mark to propagate to requires
7686
# $3: mark to propagate to users
7687
check_and_propagate () {
7691
for p in $require; do
7695
if test `lt_mark "$mark" "$2" `; then
7697
eval MARK_$up=\"$2\";
7698
TODOLIST=$TODOLIST" "$p
7699
# display a warning or an error if required
7700
short_mark=`echo $2 | sed -e 's/ .*//'`
7702
reason=`echo $2 | sed -e 's/no (\(.*\))/\1/' `
7703
if test "$short_mark" == "no"; then
7705
if eval test "\$$fp" == "yes"; then
7706
{ { echo "$as_me:$LINENO: error: $lp requested but $reason." >&5
7707
echo "$as_me: error: $lp requested but $reason." >&2;}
7708
{ (exit 1); exit 1; }; }
7710
{ echo "$as_me:$LINENO: WARNING: $lp disable because $reason." >&5
7711
echo "$as_me: WARNING: $lp disable because $reason." >&2;}
7714
if test "$short_mark" == "partial"; then
7715
reason=`echo $2 | sed -e 's/partial (\(.*\))/\1/' `
7716
{ echo "$as_me:$LINENO: WARNING: $lp only partially enable because $reason." >&5
7717
echo "$as_me: WARNING: $lp only partially enable because $reason." >&2;}
7729
if test `lt_mark "$mark" "$3" `; then
7731
eval MARK_$up=\"$3\";
7732
TODOLIST=$TODOLIST" "$p
7733
# display a warning if required
7735
reason=`echo $3 | sed -e 's/partial (\(.*\))/\1/' `
7736
if test "$reason" != "$3"; then
7737
{ echo "$as_me:$LINENO: WARNING: $lp only partially enable because $reason." >&5
7738
echo "$as_me: WARNING: $lp only partially enable because $reason." >&2;}
7744
# Recursively check the plugin dependencies using the plugin dependency graph
7745
compute_dependency () {
7746
plugin=`echo $TODOLIST | sed -e 's/ .*//' `
7747
TODOLIST=`echo $TODOLIST | sed -e 's/[^ ]* *\(.*\)/\1/' `
7749
lplugin=`lower "$plugin"`
7750
uplugin=`upper "$plugin"`
7751
# new mark to consider
7754
# old mark to consider
7756
eval remember="\$$r"
7757
# the exact mark (final result),
7758
# also the old mark if plugin already visited
7762
# echo "plugin $lplugin (mark=$mark, remember=$remember, enable=$enable)"
7763
if test `lt_mark "$remember" "$mark"`; then
7764
# visit the current plugin:
7765
# mark <- max(mark, enable)
7766
case `echo "$mark" | sed -e 's/ .*//' ` in
7768
if test -n "$enable"; then mark="$enable"; else mark="yes"; fi;;
7769
"partial") if test "$enable" == "no"; then mark="no"; fi;;
7772
# update plugin attributes with the new mark
7773
# echo "update attributes with $mark"
7778
# compute and propagate a new mark to requieres and users
7779
case `echo "$enable" | sed -e 's/ .*//' ` in
7780
"") echo "problem?"; exit 3;;
7781
"yes") check_and_propagate $uplugin "yes" "yes";;
7783
check_and_propagate \
7785
"partial ($lplugin partially enable)" \
7788
check_and_propagate \
7790
"no ($lplugin not enable)" \
7791
"partial ($lplugin not enable)";;
7795
# recursively consider the next plugins
7796
if test -n "$TODOLIST"; then
7804
# Compute INFO_* and exported ENABLE_* from previously computed ENABLE_*
7805
for fp in ${PLUGINS_FORCE_LIST}; do
7806
if test "$fp" != "FORCE_GTKSOURCEVIEW"; then
7807
plugin=`echo $fp | sed -e "s/FORCE_\(.*\)/\1/" `
7810
eval ep_v=`echo $v | sed -e 's/ .*//' `
7811
eval ENABLE_$plugin=$ep_v
7812
reason=`echo $v | sed -e 's/[a-z]*\( .*\)/\1/' `
7813
if test "$reason" != "$ep_v"; then
7814
eval INFO_$plugin="\$reason"
7819
############################
7820
# Substitutions to perform #
7821
############################
7884
################################################
7885
# Finally create the Makefile from Makefile.in #
7886
################################################
7888
new_section "creating makefile"
7890
ac_config_files="$ac_config_files cil/ocamlutil/perfcount.c Makefile"
7892
cat >confcache <<\_ACEOF
7893
# This file is a shell script that caches the results of configure
7894
# tests run on this system so they can be shared between configure
7895
# scripts and configure runs, see configure's option --config-cache.
7896
# It is not useful on other systems. If it contains results you don't
7897
# want to keep, you may remove or edit it.
7899
# config.status only pays attention to the cache file if you give it
7900
# the --recheck option to rerun configure.
7902
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7903
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7908
# The following way of writing the cache mishandles newlines in values,
7909
# but we know of no workaround that is simple, portable, and efficient.
7910
# So, we kill variables containing newlines.
7911
# Ultrix sh set writes to stderr and can't be redirected directly,
7912
# and sets the high bit in the cache file unless we assign to the vars.
7914
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7915
eval ac_val=\$$ac_var
7919
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7920
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7923
_ | IFS | as_nl) ;; #(
7924
*) $as_unset $ac_var ;;
7930
case $as_nl`(ac_space=' '; set) 2>&1` in #(
7931
*${as_nl}ac_space=\ *)
7932
# `set' does not quote correctly, so add quotes (double-quote
7933
# substitution turns \\\\ into \\, and sed turns \\ into \).
7936
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7939
# `set' quotes correctly as required by POSIX, so do not add quotes.
7940
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7949
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7951
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7953
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7954
if test -w "$cache_file"; then
7955
test "x$cache_file" != "x/dev/null" &&
7956
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
7957
echo "$as_me: updating cache $cache_file" >&6;}
7958
cat confcache >$cache_file
7960
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7961
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7966
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7967
# Let make expand exec_prefix.
7968
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7970
DEFS=-DHAVE_CONFIG_H
7974
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7975
# 1. Remove the extension, and $U if already installed.
7976
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7977
ac_i=`echo "$ac_i" | sed "$ac_script"`
7978
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7979
# will be set to the directory where LIBOBJS objects are built.
7980
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7981
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7985
LTLIBOBJS=$ac_ltlibobjs
7989
: ${CONFIG_STATUS=./config.status}
7990
ac_clean_files_save=$ac_clean_files
7991
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7992
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7993
echo "$as_me: creating $CONFIG_STATUS" >&6;}
7994
cat >$CONFIG_STATUS <<_ACEOF
7996
# Generated by $as_me.
7997
# Run this file to recreate the current configuration.
7998
# Compiler output produced by configure, useful for debugging
7999
# configure, is in config.log if it exists.
8004
SHELL=\${CONFIG_SHELL-$SHELL}
8007
cat >>$CONFIG_STATUS <<\_ACEOF
8008
## --------------------- ##
8009
## M4sh Initialization. ##
8010
## --------------------- ##
8012
# Be more Bourne compatible
8013
DUALCASE=1; export DUALCASE # for MKS sh
8014
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8017
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8018
# is contrary to our usage. Disable this feature.
8019
alias -g '${1+"$@"}'='"$@"'
8020
setopt NO_GLOB_SUBST
8022
case `(set -o) 2>/dev/null` in
8023
*posix*) set -o posix ;;
8032
# Avoid depending upon Character Ranges.
8033
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8034
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8035
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8036
as_cr_digits='0123456789'
8037
as_cr_alnum=$as_cr_Letters$as_cr_digits
8039
# The user is always right.
8040
if test "${PATH_SEPARATOR+set}" != set; then
8041
echo "#! /bin/sh" >conf$$.sh
8042
echo "exit 0" >>conf$$.sh
8044
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8052
# Support unset when possible.
8053
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8061
# We need space, tab and new line, in precisely that order. Quoting is
8062
# there to prevent editors from complaining about space-tab.
8063
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8064
# splitting by setting IFS to empty value.)
8069
# Find who we are. Look in the path if we contain no directory separator.
8071
*[\\/]* ) as_myself=$0 ;;
8072
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076
test -z "$as_dir" && as_dir=.
8077
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8083
# We did not find ourselves, most probably we were run as `sh COMMAND'
8084
# in which case we are not to be found in the path.
8085
if test "x$as_myself" = x; then
8088
if test ! -f "$as_myself"; then
8089
echo "$as_myself: error: cannot find myself; rerun with an absolute FILE_APRON name" >&2
8090
{ (exit 1); exit 1; }
8093
# Work around bugs in pre-3.0 UWIN ksh.
8094
for as_var in ENV MAIL MAILPATH
8095
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8103
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8104
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8105
LC_TELEPHONE LC_TIME
8107
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8108
eval $as_var=C; export $as_var
8110
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8114
# Required to use basename.
8115
if expr a : '\(a\)' >/dev/null 2>&1 &&
8116
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8122
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8123
as_basename=basename
8129
# Name of the executable.
8130
as_me=`$as_basename -- "$0" ||
8131
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8132
X"$0" : 'X\(//\)$' \| \
8133
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8135
sed '/^.*\/\([^/][^/]*\)\/*$/{
8156
test "x$as_lineno_1" != "x$as_lineno_2" &&
8157
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8159
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8160
# uniformly replaced by the line number. The first 'sed' inserts a
8161
# line-number line after each line using $LINENO; the second 'sed'
8162
# does the real work. The second script uses 'N' to pair each
8163
# line-number line with the line containing $LINENO, and appends
8164
# trailing '-' during substitution so that $LINENO is not a special
8166
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8167
# scripts with optimization help from Paolo Bonzini. Blame Lee
8168
# E. McMahon (1931-1989) for sed's syntax. :-)
8180
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8184
chmod +x "$as_me.lineno" ||
8185
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8186
{ (exit 1); exit 1; }; }
8188
# Don't try to exec as it changes $[0], causing all sort of problems
8189
# (the dirname of $[0] is not the place where we might find the
8190
# original and so on. Autoconf is especially sensitive to this).
8192
# Exit status is that of the last command.
8197
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8203
ECHO_C= ECHO_N= ECHO_T=
8206
case `echo 'x\c'` in
8207
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
8214
if expr a : '\(a\)' >/dev/null 2>&1 &&
8215
test "X`expr 00001 : '.*\(...\)'`" = X001; then
8221
rm -f conf$$ conf$$.exe conf$$.FILE_APRON
8222
if test -d conf$$.dir; then
8223
rm -f conf$$.dir/conf$$.FILE_APRON
8228
echo >conf$$.FILE_APRON
8229
if ln -s conf$$.FILE_APRON conf$$ 2>/dev/null; then
8231
# ... but there are two gotchas:
8232
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8233
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8234
# In both cases, we have to default to `cp -p'.
8235
ln -s conf$$.FILE_APRON conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8237
elif ln conf$$.FILE_APRON conf$$ 2>/dev/null; then
8242
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.FILE_APRON conf$$.FILE_APRON
8243
rmdir conf$$.dir 2>/dev/null
8245
if mkdir -p . 2>/dev/null; then
8248
test -d ./-p && rmdir ./-p
8252
if test -x / >/dev/null 2>&1; then
8255
if ls -dL / >/dev/null 2>&1; then
8262
if test -d "$1"; then
8268
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8269
???[sx]*):;;*)false;;esac;fi
8273
as_executable_p=$as_test_x
8275
# Sed expression to map a string onto a valid CPP name.
8276
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8278
# Sed expression to map a string onto a valid variable name.
8279
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8284
# Save the log message, to keep $[0] and so on meaningful, and to
8285
# report actual input values of CONFIG_FILES etc. instead of their
8286
# values after options handling.
8288
This FILE_APRON was extended by $as_me, which was
8289
generated by GNU Autoconf 2.61. Invocation command line was
8291
CONFIG_FILES = $CONFIG_FILES
8292
CONFIG_HEADERS = $CONFIG_HEADERS
8293
CONFIG_LINKS = $CONFIG_LINKS
8294
CONFIG_COMMANDS = $CONFIG_COMMANDS
8297
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8302
cat >>$CONFIG_STATUS <<_ACEOF
8303
# Files that config.status was made for.
8304
config_files="$ac_config_files"
8305
config_headers="$ac_config_headers"
8309
cat >>$CONFIG_STATUS <<\_ACEOF
8311
\`$as_me' instantiates files from templates according to the
8312
current configuration.
8314
Usage: $0 [OPTIONS] [FILE]...
8316
-h, --help print this help, then exit
8317
-V, --version print version number and configuration settings, then exit
8318
-q, --quiet do not print progress messages
8319
-d, --debug don't remove temporary files
8320
--recheck update $as_me by reconfiguring in the same conditions
8321
--file=FILE[:TEMPLATE]
8322
instantiate the configuration file FILE
8323
--header=FILE[:TEMPLATE]
8324
instantiate the configuration header FILE
8326
Configuration files:
8329
Configuration headers:
8332
Report bugs to <bug-autoconf@gnu.org>."
8335
cat >>$CONFIG_STATUS <<_ACEOF
8338
configured by $0, generated by GNU Autoconf 2.61,
8339
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8341
Copyright (C) 2006 Free Software Foundation, Inc.
8342
This config.status script is free software; the Free Software Foundation
8343
gives unlimited permission to copy, distribute and modify it."
8349
cat >>$CONFIG_STATUS <<\_ACEOF
8350
# If no file are specified by the user, then we need to provide default
8351
# value. By we need to know if files were specified by the user.
8357
ac_option=`expr "X$1" : 'X\([^=]*\)='`
8358
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8369
# Handling of the options.
8370
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8372
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8373
echo "$ac_cs_version"; exit ;;
8374
--debug | --debu | --deb | --de | --d | -d )
8376
--FILE_APRON | --fil | --fi | --f )
8378
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8379
ac_need_defaults=false;;
8380
--header | --heade | --head | --hea )
8382
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8383
ac_need_defaults=false;;
8385
# Conflict between --help and --header
8386
{ echo "$as_me: error: ambiguous option: $1
8387
Try \`$0 --help' for more information." >&2
8388
{ (exit 1); exit 1; }; };;
8389
--help | --hel | -h )
8390
echo "$ac_cs_usage"; exit ;;
8391
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8392
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8396
-*) { echo "$as_me: error: unrecognized option: $1
8397
Try \`$0 --help' for more information." >&2
8398
{ (exit 1); exit 1; }; } ;;
8400
*) ac_config_targets="$ac_config_targets $1"
8401
ac_need_defaults=false ;;
8407
ac_configure_extra_args=
8409
if $ac_cs_silent; then
8411
ac_configure_extra_args="$ac_configure_extra_args --silent"
8415
cat >>$CONFIG_STATUS <<_ACEOF
8416
if \$ac_cs_recheck; then
8417
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8420
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8424
cat >>$CONFIG_STATUS <<\_ACEOF
8428
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8429
## Running $as_me. ##
8435
cat >>$CONFIG_STATUS <<_ACEOF
8438
cat >>$CONFIG_STATUS <<\_ACEOF
8440
# Handling of arguments.
8441
for ac_config_target in $ac_config_targets
8443
case $ac_config_target in
8444
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8445
"cil/ocamlutil/perfcount.c") CONFIG_FILES="$CONFIG_FILES cil/ocamlutil/perfcount.c" ;;
8446
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8448
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8449
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8450
{ (exit 1); exit 1; }; };;
8455
# If the user did not use the arguments to specify the items to instantiate,
8456
# then the envvar interface is used. Set only those that are not.
8457
# We use the long form for the default assignment because of an extremely
8458
# bizarre bug on SunOS 4.1.3.
8459
if $ac_need_defaults; then
8460
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8461
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8464
# Have a temporary directory for convenience. Make it in the build tree
8465
# simply because there is no reason against having it here, and in addition,
8466
# creating and moving files from /tmp can sometimes cause problems.
8467
# Hook for its removal unless debugging.
8468
# Note that there is a small window in which the directory will not be cleaned:
8469
# after its creation but before its name has been assigned to `$tmp'.
8473
trap 'exit_status=$?
8474
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8476
trap '{ (exit 1); exit 1; }' 1 2 13 15
8478
# Create a (secure) tmp directory for tmp files.
8481
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8482
test -n "$tmp" && test -d "$tmp"
8485
tmp=./conf$$-$RANDOM
8486
(umask 077 && mkdir "$tmp")
8489
echo "$me: cannot create a temporary directory in ." >&2
8490
{ (exit 1); exit 1; }
8494
# Set up the sed scripts for CONFIG_FILES section.
8497
# No need to generate the scripts if there are no CONFIG_FILES.
8498
# This happens for instance when ./config.status config.h
8499
if test -n "$CONFIG_FILES"; then
8506
for ac_last_try in false false false false false :; do
8507
cat >conf$$subs.sed <<_ACEOF
8508
SHELL!$SHELL$ac_delim
8509
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8510
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8511
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8512
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8513
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8514
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8515
exec_prefix!$exec_prefix$ac_delim
8516
prefix!$prefix$ac_delim
8517
program_transform_name!$program_transform_name$ac_delim
8518
bindir!$bindir$ac_delim
8519
sbindir!$sbindir$ac_delim
8520
libexecdir!$libexecdir$ac_delim
8521
datarootdir!$datarootdir$ac_delim
8522
datadir!$datadir$ac_delim
8523
sysconfdir!$sysconfdir$ac_delim
8524
sharedstatedir!$sharedstatedir$ac_delim
8525
localstatedir!$localstatedir$ac_delim
8526
includedir!$includedir$ac_delim
8527
oldincludedir!$oldincludedir$ac_delim
8528
docdir!$docdir$ac_delim
8529
infodir!$infodir$ac_delim
8530
htmldir!$htmldir$ac_delim
8531
dvidir!$dvidir$ac_delim
8532
pdfdir!$pdfdir$ac_delim
8533
psdir!$psdir$ac_delim
8534
libdir!$libdir$ac_delim
8535
localedir!$localedir$ac_delim
8536
mandir!$mandir$ac_delim
8538
ECHO_C!$ECHO_C$ac_delim
8539
ECHO_N!$ECHO_N$ac_delim
8540
ECHO_T!$ECHO_T$ac_delim
8542
build_alias!$build_alias$ac_delim
8543
host_alias!$host_alias$ac_delim
8544
target_alias!$target_alias$ac_delim
8546
OCAMLC!$OCAMLC$ac_delim
8547
OCAMLOPT!$OCAMLOPT$ac_delim
8548
OCAMLCDOTOPT!$OCAMLCDOTOPT$ac_delim
8549
OCAMLOPTDOTOPT!$OCAMLOPTDOTOPT$ac_delim
8550
OCAMLDEP!$OCAMLDEP$ac_delim
8551
OCAMLDEPDOTOPT!$OCAMLDEPDOTOPT$ac_delim
8552
OCAMLLEX!$OCAMLLEX$ac_delim
8553
OCAMLLEXDOTOPT!$OCAMLLEXDOTOPT$ac_delim
8554
OCAMLYACC!$OCAMLYACC$ac_delim
8555
OCAMLDOC!$OCAMLDOC$ac_delim
8556
OCAMLMKTOP!$OCAMLMKTOP$ac_delim
8557
OTAGS!$OTAGS$ac_delim
8560
CFLAGS!$CFLAGS$ac_delim
8561
LDFLAGS!$LDFLAGS$ac_delim
8562
CPPFLAGS!$CPPFLAGS$ac_delim
8563
ac_ct_CC!$ac_ct_CC$ac_delim
8564
EXEEXT!$EXEEXT$ac_delim
8565
OBJEXT!$OBJEXT$ac_delim
8568
EGREP!$EGREP$ac_delim
8569
HAS_LABLGLADECC!$HAS_LABLGLADECC$ac_delim
8570
HAS_CAMLP4O!$HAS_CAMLP4O$ac_delim
8571
HAS_LTLTOBA!$HAS_LTLTOBA$ac_delim
8572
VERBOSEMAKE!$VERBOSEMAKE$ac_delim
8573
OCAMLGRAPH!$OCAMLGRAPH$ac_delim
8574
OCAMLGRAPH_LOCAL!$OCAMLGRAPH_LOCAL$ac_delim
8575
OCAMLBEST!$OCAMLBEST$ac_delim
8576
OCAMLVERSION!$OCAMLVERSION$ac_delim
8577
LOWER_THAN_311!$LOWER_THAN_311$ac_delim
8578
OCAMLLIB!$OCAMLLIB$ac_delim
8579
OCAMLWIN32!$OCAMLWIN32$ac_delim
8580
CAMLP4O!$CAMLP4O$ac_delim
8582
HAVE_STDLIB_H!$HAVE_STDLIB_H$ac_delim
8583
HAVE_WCHAR_H!$HAVE_WCHAR_H$ac_delim
8584
HAVE_PTRDIFF_H!$HAVE_PTRDIFF_H$ac_delim
8585
HAVE_BUILTIN_VA_LIST!$HAVE_BUILTIN_VA_LIST$ac_delim
8586
THREAD_IS_KEYWORD!$THREAD_IS_KEYWORD$ac_delim
8587
UNDERSCORE_NAME!$UNDERSCORE_NAME$ac_delim
8588
HAS_PERFCOUNT!$HAS_PERFCOUNT$ac_delim
8589
CYCLES_PER_USEC!$CYCLES_PER_USEC$ac_delim
8590
LOCAL_MACHDEP!$LOCAL_MACHDEP$ac_delim
8591
HAS_LABLGTK!$HAS_LABLGTK$ac_delim
8592
HAS_GTKSOURCEVIEW!$HAS_GTKSOURCEVIEW$ac_delim
8593
HAS_LEGACY_GTKSOURCEVIEW!$HAS_LEGACY_GTKSOURCEVIEW$ac_delim
8594
HAS_GNOMECANVAS!$HAS_GNOMECANVAS$ac_delim
8595
HAS_LABLGTK_CUSTOM_MODEL!$HAS_LABLGTK_CUSTOM_MODEL$ac_delim
8596
LABLGLADECC!$LABLGLADECC$ac_delim
8597
JCCMO!$JCCMO$ac_delim
8598
JCCMX!$JCCMX$ac_delim
8599
JESSIE_LOCAL!$JESSIE_LOCAL$ac_delim
8600
JESSIE_INCLUDES!$JESSIE_INCLUDES$ac_delim
8601
ENABLE_SYNTACTIC_CALLGRAPH!$ENABLE_SYNTACTIC_CALLGRAPH$ac_delim
8602
ENABLE_CONSTANT_PROPAGATION!$ENABLE_CONSTANT_PROPAGATION$ac_delim
8603
ENABLE_CXX!$ENABLE_CXX$ac_delim
8604
ENABLE_FROM!$ENABLE_FROM$ac_delim
8607
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8609
elif $ac_last_try; then
8610
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8611
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8612
{ (exit 1); exit 1; }; }
8614
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8618
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8619
if test -n "$ac_eof"; then
8620
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8621
ac_eof=`expr $ac_eof + 1`
8624
cat >>$CONFIG_STATUS <<_ACEOF
8625
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8626
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8629
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8630
s/^/s,@/; s/!/@,|#_!!_#|/
8633
s/'"$ac_delim"'$/,g/; t
8635
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8636
' >>$CONFIG_STATUS <conf$$subs.sed
8637
rm -f conf$$subs.sed
8638
cat >>$CONFIG_STATUS <<_ACEOF
8644
for ac_last_try in false false false false false :; do
8645
cat >conf$$subs.sed <<_ACEOF
8646
ENABLE_GUI!$ENABLE_GUI$ac_delim
8647
ENABLE_IMPACT!$ENABLE_IMPACT$ac_delim
8648
ENABLE_INOUT!$ENABLE_INOUT$ac_delim
8649
ENABLE_JESSIE!$ENABLE_JESSIE$ac_delim
8650
ENABLE_JOURNAL_LOADER!$ENABLE_JOURNAL_LOADER$ac_delim
8651
WHYDISTRIB!$WHYDISTRIB$ac_delim
8652
ENABLE_METRICS!$ENABLE_METRICS$ac_delim
8653
ENABLE_MIEL!$ENABLE_MIEL$ac_delim
8654
ENABLE_OCCURRENCE!$ENABLE_OCCURRENCE$ac_delim
8655
ENABLE_PDG!$ENABLE_PDG$ac_delim
8656
ENABLE_POSTDOMINATORS!$ENABLE_POSTDOMINATORS$ac_delim
8657
ENABLE_SCOPE!$ENABLE_SCOPE$ac_delim
8658
ENABLE_SECURITY!$ENABLE_SECURITY$ac_delim
8659
ENABLE_SEMANTIC_CALLGRAPH!$ENABLE_SEMANTIC_CALLGRAPH$ac_delim
8660
ENABLE_SLICING!$ENABLE_SLICING$ac_delim
8661
ENABLE_SPARECODE!$ENABLE_SPARECODE$ac_delim
8662
ENABLE_USERS!$ENABLE_USERS$ac_delim
8663
ENABLE_VALUE!$ENABLE_VALUE$ac_delim
8664
ENABLE_WP!$ENABLE_WP$ac_delim
8665
ENABLE_LTL_TO_ACSL!$ENABLE_LTL_TO_ACSL$ac_delim
8666
LIBOBJS!$LIBOBJS$ac_delim
8667
LTLIBOBJS!$LTLIBOBJS$ac_delim
8670
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
8672
elif $ac_last_try; then
8673
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8674
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8675
{ (exit 1); exit 1; }; }
8677
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8681
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8682
if test -n "$ac_eof"; then
8683
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8684
ac_eof=`expr $ac_eof + 1`
8687
cat >>$CONFIG_STATUS <<_ACEOF
8688
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8689
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8692
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8693
s/^/s,@/; s/!/@,|#_!!_#|/
8696
s/'"$ac_delim"'$/,g/; t
8698
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8699
' >>$CONFIG_STATUS <conf$$subs.sed
8700
rm -f conf$$subs.sed
8701
cat >>$CONFIG_STATUS <<_ACEOF
8708
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8709
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8710
# trailing colons and then remove the whole line if VPATH becomes empty
8711
# (actually we leave an empty line to preserve line numbers).
8712
if test "x$srcdir" = x.; then
8713
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8717
s/^\([^=]*=[ ]*\):*/\1/
8723
cat >>$CONFIG_STATUS <<\_ACEOF
8724
fi # test -n "$CONFIG_FILES"
8727
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
8730
:[FHLC]) ac_mode=$ac_tag; continue;;
8732
case $ac_mode$ac_tag in
8734
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8735
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8736
{ (exit 1); exit 1; }; };;
8737
:[FH]-) ac_tag=-:-;;
8738
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8755
-) ac_f="$tmp/stdin";;
8756
*) # Look for the file first in the build tree, then in the source tree
8757
# (if the path is not absolute). The absolute path cannot be DOS-style,
8758
# because $ac_f cannot contain `:'.
8762
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8764
{ { echo "$as_me:$LINENO: error: cannot find input FILE_APRON: $ac_f" >&5
8765
echo "$as_me: error: cannot find input FILE_APRON: $ac_f" >&2;}
8766
{ (exit 1); exit 1; }; };;
8768
ac_file_inputs="$ac_file_inputs $ac_f"
8771
# Let's still pretend it is `configure' which instantiates (i.e., don't
8772
# use $as_me), people would be surprised to read:
8773
# /* config.h. Generated by config.status. */
8774
configure_input="Generated from "`IFS=:
8775
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8776
if test x"$ac_file" != x-; then
8777
configure_input="$ac_file. $configure_input"
8778
{ echo "$as_me:$LINENO: creating $ac_file" >&5
8779
echo "$as_me: creating $ac_file" >&6;}
8783
*:-:* | *:-) cat >"$tmp/stdin";;
8788
ac_dir=`$as_dirname -- "$ac_file" ||
8789
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8790
X"$ac_file" : 'X\(//\)[^/]' \| \
8791
X"$ac_file" : 'X\(//\)$' \| \
8792
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8794
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8813
-*) as_dir=./$as_dir;;
8815
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8819
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8820
*) as_qdir=$as_dir;;
8822
as_dirs="'$as_qdir' $as_dirs"
8823
as_dir=`$as_dirname -- "$as_dir" ||
8824
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8825
X"$as_dir" : 'X\(//\)[^/]' \| \
8826
X"$as_dir" : 'X\(//\)$' \| \
8827
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8829
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8846
test -d "$as_dir" && break
8848
test -z "$as_dirs" || eval "mkdir $as_dirs"
8849
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8850
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8851
{ (exit 1); exit 1; }; }; }
8855
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8857
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8858
# A ".." for each directory in $ac_dir_suffix.
8859
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8860
case $ac_top_builddir_sub in
8861
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8862
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8865
ac_abs_top_builddir=$ac_pwd
8866
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8867
# for backward compatibility:
8868
ac_top_builddir=$ac_top_build_prefix
8871
.) # We are building in place.
8873
ac_top_srcdir=$ac_top_builddir_sub
8874
ac_abs_top_srcdir=$ac_pwd ;;
8875
[\\/]* | ?:[\\/]* ) # Absolute name.
8876
ac_srcdir=$srcdir$ac_dir_suffix;
8877
ac_top_srcdir=$srcdir
8878
ac_abs_top_srcdir=$srcdir ;;
8880
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8881
ac_top_srcdir=$ac_top_build_prefix$srcdir
8882
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8884
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8895
cat >>$CONFIG_STATUS <<\_ACEOF
8896
# If the template does not know about datarootdir, expand it.
8897
# FIXME: This hack should be removed a few years after 2.60.
8898
ac_datarootdir_hack=; ac_datarootdir_seen=
8900
case `sed -n '/datarootdir/ {
8909
' $ac_file_inputs` in
8910
*datarootdir*) ac_datarootdir_seen=yes;;
8911
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8912
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8913
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8915
cat >>$CONFIG_STATUS <<_ACEOF
8916
ac_datarootdir_hack='
8917
s&@datadir@&$datadir&g
8918
s&@docdir@&$docdir&g
8919
s&@infodir@&$infodir&g
8920
s&@localedir@&$localedir&g
8921
s&@mandir@&$mandir&g
8922
s&\\\${datarootdir}&$datarootdir&g' ;;
8926
# Neutralize VPATH when `$srcdir' = `.'.
8927
# Shell code in configure.ac might set extrasub.
8928
# FIXME: do we really want to maintain this feature?
8929
cat >>$CONFIG_STATUS <<_ACEOF
8933
cat >>$CONFIG_STATUS <<\_ACEOF
8935
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8936
s&@configure_input@&$configure_input&;t t
8937
s&@top_builddir@&$ac_top_builddir_sub&;t t
8938
s&@srcdir@&$ac_srcdir&;t t
8939
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8940
s&@top_srcdir@&$ac_top_srcdir&;t t
8941
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8942
s&@builddir@&$ac_builddir&;t t
8943
s&@abs_builddir@&$ac_abs_builddir&;t t
8944
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8945
$ac_datarootdir_hack
8946
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8948
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8949
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8950
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8951
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8952
which seems to be undefined. Please make sure it is defined." >&5
8953
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8954
which seems to be undefined. Please make sure it is defined." >&2;}
8958
-) cat "$tmp/out"; rm -f "$tmp/out";;
8959
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8968
# Transform confdefs.h into a sed script `conftest.defines', that
8969
# substitutes the proper values into config.h.in to produce config.h.
8970
rm -f conftest.defines conftest.tail
8971
# First, append a space to every undef/define line, to ease matching.
8972
echo 's/$/ /' >conftest.defines
8973
# Then, protect against being on the right side of a sed subst, or in
8974
# an unquoted here document, in config.status. If some macros were
8975
# called several times there might be several #defines for the same
8976
# symbol, which is useless. But do not sort them, since the last
8977
# AC_DEFINE must be honored.
8978
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8979
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8980
# NAME is the cpp macro being defined, VALUE is the value it is being given.
8981
# PARAMS is the parameter list in the macro definition--in most cases, it's
8982
# just an empty string.
8983
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8984
ac_dB='\\)[ (].*,\\1define\\2'
8992
s/^[ ]*#[ ]*define[ ][ ]*//
8997
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8998
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8999
' >>conftest.defines
9001
# Remove the space that was appended to ease matching.
9002
# Then replace #undef with comments. This is necessary, for
9003
# example, in the case of _POSIX_SOURCE, which is predefined and required
9004
# on some systems where configure will not decide to define it.
9005
# (The regexp can be short, since the line contains either #define or #undef.)
9007
s,^[ #]*u.*,/* & */,' >>conftest.defines
9009
# Break up conftest.defines:
9012
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9013
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9014
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9016
ac_in='$ac_file_inputs'
9017
ac_out='"$tmp/out1"'
9018
ac_nxt='"$tmp/out2"'
9022
# Write a here document:
9023
cat >>$CONFIG_STATUS <<_ACEOF
9024
# First, check the format of the line:
9025
cat >"\$tmp/defines.sed" <<\\CEOF
9026
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9027
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9031
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9033
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9034
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9035
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9036
grep . conftest.tail >/dev/null || break
9037
rm -f conftest.defines
9038
mv conftest.tail conftest.defines
9040
rm -f conftest.defines conftest.tail
9042
echo "ac_result=$ac_in" >>$CONFIG_STATUS
9043
cat >>$CONFIG_STATUS <<\_ACEOF
9044
if test x"$ac_file" != x-; then
9045
echo "/* $configure_input */" >"$tmp/config.h"
9046
cat "$ac_result" >>"$tmp/config.h"
9047
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9048
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9049
echo "$as_me: $ac_file is unchanged" >&6;}
9052
mv "$tmp/config.h" $ac_file
9055
echo "/* $configure_input */"
9067
{ (exit 0); exit 0; }
9069
chmod +x $CONFIG_STATUS
9070
ac_clean_files=$ac_clean_files_save
9073
# configure is writing to config.log, and then calls config.status.
9074
# config.status does its own redirection, appending to config.log.
9075
# Unfortunately, on DOS this fails, as config.log is still kept open
9076
# by configure, so config.status won't be able to write to it; its
9077
# output is simply discarded. So we exec the FD to /dev/null,
9078
# effectively closing config.log, so it can be properly (re)opened and
9079
# appended to by config.status. When coming back to configure, we
9080
# need to make the FD available again.
9081
if test "$no_create" != yes; then
9083
ac_config_status_args=
9084
test "$silent" = yes &&
9085
ac_config_status_args="$ac_config_status_args --quiet"
9087
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9089
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9090
# would make configure fail if this is the last instruction.
9091
$ac_cs_success || { (exit 1); exit 1; }
9094
chmod a-w cil/ocamlutil/perfcount.c
9101
new_section "summary: plugins available"
9103
if test "$LOWER_THAN_311" == yes ; then
9104
{ echo "$as_me:$LINENO: WARNING: Dynamic plugins in native mode are disabled." >&5
9105
echo "$as_me: WARNING: Dynamic plugins in native mode are disabled." >&2;}
9108
{ echo "$as_me:$LINENO: syntactic callgraph : $ENABLE_SYNTACTIC_CALLGRAPH$INFO_SYNTACTIC_CALLGRAPH" >&5
9109
echo "$as_me: syntactic callgraph : $ENABLE_SYNTACTIC_CALLGRAPH$INFO_SYNTACTIC_CALLGRAPH" >&6;}
9110
{ echo "$as_me:$LINENO: constant propagation : $ENABLE_CONSTANT_PROPAGATION$INFO_CONSTANT_PROPAGATION" >&5
9111
echo "$as_me: constant propagation : $ENABLE_CONSTANT_PROPAGATION$INFO_CONSTANT_PROPAGATION" >&6;}
9112
{ echo "$as_me:$LINENO: cxx : $ENABLE_CXX$INFO_CXX" >&5
9113
echo "$as_me: cxx : $ENABLE_CXX$INFO_CXX" >&6;}
9114
{ echo "$as_me:$LINENO: from : $ENABLE_FROM$INFO_FROM" >&5
9115
echo "$as_me: from : $ENABLE_FROM$INFO_FROM" >&6;}
9116
{ echo "$as_me:$LINENO: gui : $ENABLE_GUI$INFO_GUI" >&5
9117
echo "$as_me: gui : $ENABLE_GUI$INFO_GUI" >&6;}
9118
{ echo "$as_me:$LINENO: impact : $ENABLE_IMPACT$INFO_IMPACT" >&5
9119
echo "$as_me: impact : $ENABLE_IMPACT$INFO_IMPACT" >&6;}
9120
{ echo "$as_me:$LINENO: inout : $ENABLE_INOUT$INFO_INOUT" >&5
9121
echo "$as_me: inout : $ENABLE_INOUT$INFO_INOUT" >&6;}
9122
{ echo "$as_me:$LINENO: jessie : $ENABLE_JESSIE$INFO_JESSIE" >&5
9123
echo "$as_me: jessie : $ENABLE_JESSIE$INFO_JESSIE" >&6;}
9124
{ echo "$as_me:$LINENO: journal loader : $ENABLE_JOURNAL_LOADER$INFO_JOURNAL_LOADER" >&5
9125
echo "$as_me: journal loader : $ENABLE_JOURNAL_LOADER$INFO_JOURNAL_LOADER" >&6;}
9126
{ echo "$as_me:$LINENO: metrics : $ENABLE_METRICS$INFO_METRICS" >&5
9127
echo "$as_me: metrics : $ENABLE_METRICS$INFO_METRICS" >&6;}
9128
{ echo "$as_me:$LINENO: miel : $ENABLE_MIEL$INFO_MIEL" >&5
9129
echo "$as_me: miel : $ENABLE_MIEL$INFO_MIEL" >&6;}
9130
{ echo "$as_me:$LINENO: occurrence : $ENABLE_OCCURRENCE$INFO_OCCURRENCE" >&5
9131
echo "$as_me: occurrence : $ENABLE_OCCURRENCE$INFO_OCCURRENCE" >&6;}
9132
{ echo "$as_me:$LINENO: pdg : $ENABLE_PDG$INFO_PDG" >&5
9133
echo "$as_me: pdg : $ENABLE_PDG$INFO_PDG" >&6;}
9134
{ echo "$as_me:$LINENO: postdominators : $ENABLE_POSTDOMINATORS$INFO_POSTDOMINATORS" >&5
9135
echo "$as_me: postdominators : $ENABLE_POSTDOMINATORS$INFO_POSTDOMINATORS" >&6;}
9136
{ echo "$as_me:$LINENO: scope : $ENABLE_SCOPE$INFO_SCOPE" >&5
9137
echo "$as_me: scope : $ENABLE_SCOPE$INFO_SCOPE" >&6;}
9138
{ echo "$as_me:$LINENO: security : $ENABLE_SECURITY$INFO_SECURITY" >&5
9139
echo "$as_me: security : $ENABLE_SECURITY$INFO_SECURITY" >&6;}
9140
{ echo "$as_me:$LINENO: semantic callgraph : $ENABLE_SEMANTIC_CALLGRAPH$INFO_SEMANTIC_CALLGRAPH" >&5
9141
echo "$as_me: semantic callgraph : $ENABLE_SEMANTIC_CALLGRAPH$INFO_SEMANTIC_CALLGRAPH" >&6;}
9142
{ echo "$as_me:$LINENO: slicing : $ENABLE_SLICING$INFO_SLICING" >&5
9143
echo "$as_me: slicing : $ENABLE_SLICING$INFO_SLICING" >&6;}
9144
{ echo "$as_me:$LINENO: spare code : $ENABLE_SPARECODE$INFO_SPARECODE" >&5
9145
echo "$as_me: spare code : $ENABLE_SPARECODE$INFO_SPARECODE" >&6;}
9146
{ echo "$as_me:$LINENO: users : $ENABLE_USERS$INFO_USERS" >&5
9147
echo "$as_me: users : $ENABLE_USERS$INFO_USERS" >&6;}
9148
{ echo "$as_me:$LINENO: value : $ENABLE_VALUE$INFO_VALUE" >&5
9149
echo "$as_me: value : $ENABLE_VALUE$INFO_VALUE" >&6;}
9150
{ echo "$as_me:$LINENO: wp : $ENABLE_WP$INFO_WP" >&5
9151
echo "$as_me: wp : $ENABLE_WP$INFO_WP" >&6;}
9152
{ echo "$as_me:$LINENO: ltl to acsl : $ENABLE_LTL_TO_ACSL$INFO_LTL_TO_ACSL" >&5
9153
echo "$as_me: ltl to acsl : $ENABLE_LTL_TO_ACSL$INFO_LTL_TO_ACSL" >&6;}