2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for coccinelle 1.0.0-rc14.
5 # Report bugs to <cocci@diku.dk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and cocci@diku.dk
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 # Use only awk features that work with 7th edition Unix awk (1978).
560 # My, what an old awk you have, Mr. Solaris!
562 while (length(v1) && length(v2)) {
563 # Set d1 to be the next thing to compare from v1, and likewise for d2.
564 # Normally this is a single character, but if v1 and v2 contain digits,
565 # compare them as integers and fractions as strverscmp does.
566 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
567 # Split v1 and v2 into their leading digit string components d1 and d2,
568 # and advance v1 and v2 past the leading digit strings.
569 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
570 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
571 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
572 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
575 # Compare two fractions.
576 while (d1 ~ /^0/ && d2 ~ /^0/) {
577 d1 = substr(d1, 2); len1--
578 d2 = substr(d2, 2); len2--
580 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
581 # The two components differ in length, and the common prefix
582 # contains only leading zeros. Consider the longer to be less.
586 # Otherwise, compare as strings.
591 # A fraction is less than an integer.
596 # An integer is greater than a fraction.
599 # Compare two integers.
605 # The normal case, without worrying about digits.
606 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
607 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
612 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
613 # which mishandles some comparisons of empty strings to integers.
614 if (length(v2)) exit 1
615 if (length(v1)) exit 2
619 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
623 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
624 # so uname gets run too.
625 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
630 ac_default_prefix
=/usr
/local
632 ac_config_libobj_dir
=.
639 # Identity of this package.
640 PACKAGE_NAME
='coccinelle'
641 PACKAGE_TARNAME
='coccinelle'
642 PACKAGE_VERSION
='1.0.0-rc14'
643 PACKAGE_STRING
='coccinelle 1.0.0-rc14'
644 PACKAGE_BUGREPORT
='cocci@diku.dk'
645 PACKAGE_URL
='http://coccinelle.lip6.fr/'
647 ac_unique_file
="cocci.ml"
648 ac_subst_vars
='LTLIBOBJS
755 RUNTIME_OCAMLFIND_CMD
756 SUBSTITUTED_OCAMLPROF
759 SUBSTITUTED_OCAMLFIND
762 SUBSTITUTED_OCAMLYACC
791 SUBSTITUTED_PKG_CONFIG
845 program_transform_name
859 enable_option_checking
865 with_runtime_ocamlfind
867 with_runtime_ocamlopt
868 with_runtime_ocamldep
885 ac_precious_vars
='PYVER
900 RUNTIME_OCAMLFIND_CMD
916 # Initialize some variables set by options.
918 ac_init_version
=false
919 ac_unrecognized_opts
=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name
=s
,x
,x
,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir
='${exec_prefix}/bin'
945 sbindir
='${exec_prefix}/sbin'
946 libexecdir
='${exec_prefix}/libexec'
947 datarootdir
='${prefix}/share'
948 datadir
='${datarootdir}'
949 sysconfdir
='${prefix}/etc'
950 sharedstatedir
='${prefix}/com'
951 localstatedir
='${prefix}/var'
952 includedir
='${prefix}/include'
953 oldincludedir
='/usr/include'
954 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir
='${datarootdir}/info'
960 libdir
='${exec_prefix}/lib'
961 localedir
='${datarootdir}/locale'
962 mandir
='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\
$ac_option
976 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
987 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
989 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
992 -build |
--build |
--buil |
--bui |
--bu)
993 ac_prev
=build_alias
;;
994 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
995 build_alias
=$ac_optarg ;;
997 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
998 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
999 ac_prev
=cache_file
;;
1000 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1001 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1002 cache_file
=$ac_optarg ;;
1004 --config-cache |
-C)
1005 cache_file
=config.cache
;;
1007 -datadir |
--datadir |
--datadi |
--datad)
1009 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1010 datadir
=$ac_optarg ;;
1012 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1013 |
--dataroo |
--dataro |
--datar)
1014 ac_prev
=datarootdir
;;
1015 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1016 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1017 datarootdir
=$ac_optarg ;;
1019 -disable-* |
--disable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=no
;;
1035 -docdir |
--docdir |
--docdi |
--doc |
--do)
1037 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1038 docdir
=$ac_optarg ;;
1040 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1042 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1043 dvidir
=$ac_optarg ;;
1045 -enable-* |
--enable-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error $?
"invalid feature name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_
$ac_useropt"
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval enable_
$ac_useropt=\
$ac_optarg ;;
1061 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1062 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1063 |
--exec |
--exe |
--ex)
1064 ac_prev
=exec_prefix
;;
1065 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1066 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1067 |
--exec=* |
--exe=* |
--ex=*)
1068 exec_prefix
=$ac_optarg ;;
1070 -gas |
--gas |
--ga |
--g)
1071 # Obsolete; use --with-gas.
1074 -help |
--help |
--hel |
--he |
-h)
1075 ac_init_help
=long
;;
1076 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1077 ac_init_help
=recursive
;;
1078 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1079 ac_init_help
=short
;;
1081 -host |
--host |
--hos |
--ho)
1082 ac_prev
=host_alias
;;
1083 -host=* |
--host=* |
--hos=* |
--ho=*)
1084 host_alias
=$ac_optarg ;;
1086 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1088 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1090 htmldir
=$ac_optarg ;;
1092 -includedir |
--includedir |
--includedi |
--included |
--include \
1093 |
--includ |
--inclu |
--incl |
--inc)
1094 ac_prev
=includedir
;;
1095 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1096 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1097 includedir
=$ac_optarg ;;
1099 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1101 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1102 infodir
=$ac_optarg ;;
1104 -libdir |
--libdir |
--libdi |
--libd)
1106 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1107 libdir
=$ac_optarg ;;
1109 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1110 |
--libexe |
--libex |
--libe)
1111 ac_prev
=libexecdir
;;
1112 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1113 |
--libexe=* |
--libex=* |
--libe=*)
1114 libexecdir
=$ac_optarg ;;
1116 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1117 ac_prev
=localedir
;;
1118 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1119 localedir
=$ac_optarg ;;
1121 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1122 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1123 ac_prev
=localstatedir
;;
1124 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1125 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1126 localstatedir
=$ac_optarg ;;
1128 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1130 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1131 mandir
=$ac_optarg ;;
1133 -nfp |
--nfp |
--nf)
1134 # Obsolete; use --without-fp.
1137 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1138 |
--no-cr |
--no-c |
-n)
1141 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1142 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1145 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1146 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1147 |
--oldin |
--oldi |
--old |
--ol |
--o)
1148 ac_prev
=oldincludedir
;;
1149 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1150 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1151 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1152 oldincludedir
=$ac_optarg ;;
1154 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1156 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1157 prefix
=$ac_optarg ;;
1159 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1160 |
--program-pre |
--program-pr |
--program-p)
1161 ac_prev
=program_prefix
;;
1162 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1163 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1164 program_prefix
=$ac_optarg ;;
1166 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1167 |
--program-suf |
--program-su |
--program-s)
1168 ac_prev
=program_suffix
;;
1169 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1170 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1171 program_suffix
=$ac_optarg ;;
1173 -program-transform-name |
--program-transform-name \
1174 |
--program-transform-nam |
--program-transform-na \
1175 |
--program-transform-n |
--program-transform- \
1176 |
--program-transform |
--program-transfor \
1177 |
--program-transfo |
--program-transf \
1178 |
--program-trans |
--program-tran \
1179 |
--progr-tra |
--program-tr |
--program-t)
1180 ac_prev
=program_transform_name
;;
1181 -program-transform-name=* |
--program-transform-name=* \
1182 |
--program-transform-nam=* |
--program-transform-na=* \
1183 |
--program-transform-n=* |
--program-transform-=* \
1184 |
--program-transform=* |
--program-transfor=* \
1185 |
--program-transfo=* |
--program-transf=* \
1186 |
--program-trans=* |
--program-tran=* \
1187 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1188 program_transform_name
=$ac_optarg ;;
1190 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1192 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1193 pdfdir
=$ac_optarg ;;
1195 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1197 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1201 |
-silent |
--silent |
--silen |
--sile |
--sil)
1204 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1206 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1208 sbindir
=$ac_optarg ;;
1210 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1211 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1212 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1214 ac_prev
=sharedstatedir
;;
1215 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1216 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1217 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1219 sharedstatedir
=$ac_optarg ;;
1221 -site |
--site |
--sit)
1223 -site=* |
--site=* |
--sit=*)
1226 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1228 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1229 srcdir
=$ac_optarg ;;
1231 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1232 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1233 ac_prev
=sysconfdir
;;
1234 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1235 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1236 sysconfdir
=$ac_optarg ;;
1238 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1239 ac_prev
=target_alias
;;
1240 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1241 target_alias
=$ac_optarg ;;
1243 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1246 -version |
--version |
--versio |
--versi |
--vers |
-V)
1247 ac_init_version
=: ;;
1250 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1253 as_fn_error $?
"invalid package name: $ac_useropt"
1254 ac_useropt_orig
=$ac_useropt
1255 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep
=', ';;
1263 eval with_
$ac_useropt=\
$ac_optarg ;;
1265 -without-* |
--without-*)
1266 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1269 as_fn_error $?
"invalid package name: $ac_useropt"
1270 ac_useropt_orig
=$ac_useropt
1271 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1276 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep
=', ';;
1279 eval with_
$ac_useropt=no
;;
1282 # Obsolete; use --with-x.
1285 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1286 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1287 ac_prev
=x_includes
;;
1288 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1289 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1290 x_includes
=$ac_optarg ;;
1292 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1293 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1294 ac_prev
=x_libraries
;;
1295 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1296 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1297 x_libraries
=$ac_optarg ;;
1299 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information"
1304 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1308 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1310 eval $ac_envvar=\
$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1324 if test -n "$ac_prev"; then
1325 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error $?
"missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1332 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337 # Check all directory arguments for consistency.
1338 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val
=\$
$ac_var
1344 # Remove trailing slashes.
1347 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\
$ac_val;;
1350 # Be sure to have absolute directory names.
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1355 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target
=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x
; then
1367 if test "x$build_alias" = x
; then
1368 cross_compiling
=maybe
1369 elif test "x$build_alias" != "x$host_alias"; then
1375 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1377 test "$silent" = yes && exec 6>/dev
/null
1380 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1381 ac_ls_di
=`ls -di .` &&
1382 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1383 as_fn_error $?
"working directory cannot be determined"
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 as_fn_error $?
"pwd does not report name of working directory"
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted
=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir
=`$as_dirname -- "$as_myself" ||
1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$as_myself" : 'X\(//\)[^/]' \| \
1395 X"$as_myself" : 'X\(//\)$' \| \
1396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1397 $as_echo X"$as_myself" |
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1420 ac_srcdir_defaulted
=no
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1424 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1426 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1430 # When building in place, set srcdir=.
1431 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 # Remove unnecessary trailing slashes from srcdir.
1435 # Double slashes in file names in object file debugging info
1436 # mess up M-x gdb in Emacs.
1438 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 for ac_var
in $ac_precious_vars; do
1441 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1442 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1443 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1444 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1448 # Report the --help message.
1450 if test "$ac_init_help" = "long"; then
1451 # Omit some internal or obsolete options to make the list less imposing.
1452 # This message is too long to be a string in the A/UX 3.1 sh.
1454 \`configure' configures coccinelle 1.0.0-rc14 to adapt to many kinds of systems.
1456 Usage: $0 [OPTION]... [VAR=VALUE]...
1458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1459 VAR=VALUE. See below for descriptions of some of the useful variables.
1461 Defaults for the options are specified in brackets.
1464 -h, --help display this help and exit
1465 --help=short display options specific to this package
1466 --help=recursive display the short help of all the included packages
1467 -V, --version display version information and exit
1468 -q, --quiet, --silent do not print \`checking ...' messages
1469 --cache-file=FILE cache test results in FILE [disabled]
1470 -C, --config-cache alias for \`--cache-file=config.cache'
1471 -n, --no-create do not create output files
1472 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1474 Installation directories:
1475 --prefix=PREFIX install architecture-independent files in PREFIX
1476 [$ac_default_prefix]
1477 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 By default, \`make install' will install all the files in
1481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1483 for instance \`--prefix=\$HOME'.
1485 For better control, use the options below.
1487 Fine tuning of the installation directories:
1488 --bindir=DIR user executables [EPREFIX/bin]
1489 --sbindir=DIR system admin executables [EPREFIX/sbin]
1490 --libexecdir=DIR program executables [EPREFIX/libexec]
1491 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1492 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1493 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1494 --libdir=DIR object code libraries [EPREFIX/lib]
1495 --includedir=DIR C header files [PREFIX/include]
1496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1499 --infodir=DIR info documentation [DATAROOTDIR/info]
1500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1501 --mandir=DIR man documentation [DATAROOTDIR/man]
1502 --docdir=DIR documentation root [DATAROOTDIR/doc/coccinelle]
1503 --htmldir=DIR html documentation [DOCDIR]
1504 --dvidir=DIR dvi documentation [DOCDIR]
1505 --pdfdir=DIR pdf documentation [DOCDIR]
1506 --psdir=DIR ps documentation [DOCDIR]
1513 if test -n "$ac_init_help"; then
1514 case $ac_init_help in
1515 short | recursive
) echo "Configuration of coccinelle 1.0.0-rc14:";;
1520 --disable-option-checking ignore unrecognized
--enable/--with options
1521 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1522 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1523 --enable-dynlink enable global package dynlink
(yes,no
) (default
:
1525 --enable-camlp4 enable global package camlp4
(yes,no
) (default
:
1527 --enable-menhirLib enable global package menhirLib
(yes,no
) (default
:
1529 --enable-ocaml enable ocaml scripting
(default
: auto
)
1530 --enable-python enable python scripting
(yes
/no
) (default
: auto
)
1531 --enable-pycaml enable global package pycaml
(yes,no
) (default
:
1533 --enable-pcre-syntax enable pcre regular expression syntax
(default
:
1535 --enable-pcre enable global package pcre
(yes,no
) (default
: auto
)
1536 --enable-release build with a release configuration
(yes,no
,profile
1538 --enable-opt build an optimized spatch
(yes,no
, default
: auto
)
1541 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1542 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1543 --with-pkg-config whether
/which pkg-config to use
(default
: auto
)
1544 --with-ocamllex whether
/which ocamllex to use
(default
: auto
)
1545 --with-ocamlyacc whether
/which ocamlyacc to use
(default
: auto
)
1546 --with-ocamlfind whether
/which ocamlfind to use
(default
: auto
)
1547 --with-ocamlprof whether
/which ocamlprof to use
(default
: auto
)
1548 --with-runtime-ocamlfind
1549 override the runtime cmd
for ocamlfind
1550 --with-runtime-ocamlc override the runtime cmd
for ocamlc
1551 --with-runtime-ocamlopt override the runtime cmd
for ocamlopt
1552 --with-runtime-ocamldep override the runtime cmd
for ocamldep
1553 --with-runtime-camlp4 override the runtime cmd
for camlp4
1554 --with-runtime-camlp4o override the runtime cmd
for camlp4o
1555 --with-menhir whether
/which menhir to use
(default
: auto
)
1556 --with-python whether
/which python to use
(default
: auto
)
1557 --with-pdflatex whether
/which pdflatex to use
(default
: auto
)
1559 Some influential environment variables
:
1560 PYVER python version
1561 CC C compiler
command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1564 nonstandard directory
<lib dir
>
1565 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1566 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1567 you have headers
in a nonstandard directory
<include dir
>
1569 PKG_CONFIG path to pkg-config
1570 OCAMLLEX path to ocamllex
1571 OCAMLYACC path to ocamlyacc
1572 OCAMLFIND path to ocamlfind
1573 OCAMLPROF path to ocamlprof
1574 RUNTIME_OCAMLFIND_CMD
1578 RUNTIME_OCAMLOPT_CMD
1580 RUNTIME_OCAMLDEP_CMD
1586 COCCI_OCAML_EXTERNAL
1587 path to extra ocaml packages
(default
: $COCCI_SRCDIR/bundles
)
1588 MENHIR path to menhir
1589 PYTHON path to python when the version is determined automatically
1591 C compiler flags
for PYTHON
, overriding pkg-config
1592 PYTHON_LIBS linker flags
for PYTHON
, overriding pkg-config
1593 PCRE_CFLAGS C compiler flags
for PCRE
, overriding pkg-config
1594 PCRE_LIBS linker flags
for PCRE
, overriding pkg-config
1595 PDFLATEX path to pdflatex
1597 Use these variables to override the choices made by
`configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1600 Report bugs to <cocci@diku.dk>.
1601 coccinelle home page: <http://coccinelle.lip6.fr/>.
1606 if test "$ac_init_help" = "recursive"; then
1607 # If there are subdirs, report their specific --help.
1608 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1609 test -d "$ac_dir" ||
1610 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1618 # A ".." for each directory in $ac_dir_suffix.
1619 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1620 case $ac_top_builddir_sub in
1621 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1625 ac_abs_top_builddir=$ac_pwd
1626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1627 # for backward compatibility:
1628 ac_top_builddir=$ac_top_build_prefix
1631 .) # We are building in place.
1633 ac_top_srcdir=$ac_top_builddir_sub
1634 ac_abs_top_srcdir=$ac_pwd ;;
1635 [\\/]* | ?:[\\/]* ) # Absolute name.
1636 ac_srcdir=$srcdir$ac_dir_suffix;
1637 ac_top_srcdir=$srcdir
1638 ac_abs_top_srcdir=$srcdir ;;
1640 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1641 ac_top_srcdir=$ac_top_build_prefix$srcdir
1642 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1646 cd "$ac_dir" || { ac_status=$?; continue; }
1647 # Check for guested configure.
1648 if test -f "$ac_srcdir/configure.gnu"; then
1650 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1651 elif test -f "$ac_srcdir/configure"; then
1653 $SHELL "$ac_srcdir/configure" --help=recursive
1655 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1657 cd "$ac_pwd" || { ac_status=$?; break; }
1661 test -n "$ac_init_help" && exit $ac_status
1662 if $ac_init_version; then
1664 coccinelle configure 1.0.0-rc14
1665 generated by GNU Autoconf 2.69
1667 Copyright (C) 2012 Free Software Foundation, Inc.
1668 This configure script is free software; the Free Software Foundation
1669 gives unlimited permission to copy, distribute and modify it.
1674 ## ------------------------ ##
1675 ## Autoconf initialization. ##
1676 ## ------------------------ ##
1678 # ac_fn_c_try_compile LINENO
1679 # --------------------------
1680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1681 ac_fn_c_try_compile ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 rm -f conftest.$ac_objext
1685 if { { ac_try="$ac_compile"
1687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1688 *) ac_try_echo
=$ac_try;;
1690 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_compile") 2>conftest.err
1694 if test -s conftest.err
; then
1695 grep -v '^ *+' conftest.err
>conftest.er1
1696 cat conftest.er1
>&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && {
1701 test -z "$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1703 } && test -s conftest.
$ac_objext; then :
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.
$ac_ext >&5
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status
$ac_retval
1714 } # ac_fn_c_try_compile
1716 # ac_fn_c_try_cpp LINENO
1717 # ----------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1722 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } > conftest.i && {
1738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status $ac_retval
1752 cat >config.log <<_ACEOF
1753 This file contains any messages produced by compilers while
1754 running configure, to aid debugging if configure makes a mistake.
1756 It was created by coccinelle $as_me 1.0.0-rc14, which was
1757 generated by GNU Autoconf 2.69. Invocation command line was
1769 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1770 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1771 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1772 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1773 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1775 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1776 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1778 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1779 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1780 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1781 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1782 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1783 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1784 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 $as_echo "PATH: $as_dir"
1809 # Keep a trace of the command line.
1810 # Strip out --no-create and --no-recursion so they do not pile up.
1811 # Strip out --silent because we don't want to record it for future runs.
1812 # Also quote any args containing shell meta-characters.
1813 # Make two passes to allow for proper duplicate-argument suppression.
1817 ac_must_keep_next=false
1823 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1825 | -silent | --silent | --silen | --sile | --sil)
1828 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1831 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1833 as_fn_append ac_configure_args1 " '$ac_arg'"
1834 if test $ac_must_keep_next = true; then
1835 ac_must_keep_next=false # Got value, back to normal.
1838 *=* | --config-cache | -C | -disable-* | --disable-* \
1839 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1840 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1841 | -with-* | --with-* | -without-* | --without-* | --x)
1842 case "$ac_configure_args0 " in
1843 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1846 -* ) ac_must_keep_next=true ;;
1849 as_fn_append ac_configure_args " '$ac_arg'"
1854 { ac_configure_args0=; unset ac_configure_args0;}
1855 { ac_configure_args1=; unset ac_configure_args1;}
1857 # When interrupted or exit'd, cleanup temporary files, and complete
1858 # config.log. We remove comments because anyway the quotes in there
1859 # would cause problems or look ugly.
1860 # WARNING: Use '\'' to represent an apostrophe within the trap.
1861 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1862 trap 'exit_status=$?
1863 # Save into config.log some information that might help in debugging.
1867 $as_echo "## ---------------- ##
1868 ## Cache variables. ##
1869 ## ---------------- ##"
1871 # The following way of writing the cache mishandles newlines in values,
1873 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1874 eval ac_val=\$$ac_var
1878 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1879 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1882 _ | IFS | as_nl) ;; #(
1883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1884 *) { eval $ac_var=; unset $ac_var;} ;;
1889 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1890 *${as_nl}ac_space=\ *)
1892 "s/'\''/'\''\\\\'\'''\''/g;
1893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1903 $as_echo "## ----------------- ##
1904 ## Output variables. ##
1905 ## ----------------- ##"
1907 for ac_var in $ac_subst_vars
1909 eval ac_val=\$$ac_var
1911 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1913 $as_echo "$ac_var='\''$ac_val'\''"
1917 if test -n "$ac_subst_files"; then
1918 $as_echo "## ------------------- ##
1919 ## File substitutions. ##
1920 ## ------------------- ##"
1922 for ac_var in $ac_subst_files
1924 eval ac_val=\$$ac_var
1926 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1928 $as_echo "$ac_var='\''$ac_val'\''"
1933 if test -s confdefs.h; then
1934 $as_echo "## ----------- ##
1941 test "$ac_signal" != 0 &&
1942 $as_echo "$as_me: caught signal $ac_signal"
1943 $as_echo "$as_me: exit $exit_status"
1945 rm -f core *.core core.conftest.* &&
1946 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1949 for ac_signal in 1 2 13 15; do
1950 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1954 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1955 rm -f -r conftest* confdefs.h
1957 $as_echo "/* confdefs.h */" > confdefs.h
1959 # Predefined preprocessor variables.
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_NAME "$PACKAGE_NAME"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_STRING "$PACKAGE_STRING"
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_URL "$PACKAGE_URL"
1986 # Let the site file select an alternate cache file if it wants to.
1987 # Prefer an explicitly selected file to automatically selected ones.
1990 if test -n "$CONFIG_SITE"; then
1991 # We do not want a PATH search for config.site.
1992 case $CONFIG_SITE in #((
1993 -*) ac_site_file1=./$CONFIG_SITE;;
1994 */*) ac_site_file1=$CONFIG_SITE;;
1995 *) ac_site_file1=./$CONFIG_SITE;;
1997 elif test "x$prefix" != xNONE; then
1998 ac_site_file1=$prefix/share/config.site
1999 ac_site_file2=$prefix/etc/config.site
2001 ac_site_file1=$ac_default_prefix/share/config.site
2002 ac_site_file2=$ac_default_prefix/etc/config.site
2004 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2006 test "x$ac_site_file" = xNONE && continue
2007 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2009 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2010 sed 's/^/| /' "$ac_site_file" >&5
2012 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2014 as_fn_error $? "failed to load site
script $ac_site_file
2015 See \
`config.log' for more details" "$LINENO" 5; }
2019 if test -r "$cache_file"; then
2020 # Some versions of bash will fail to source /dev/null (special files
2021 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2022 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2024 $as_echo "$as_me: loading cache $cache_file" >&6;}
2026 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2027 *) . "./$cache_file";;
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2032 $as_echo "$as_me: creating cache $cache_file" >&6;}
2036 # Check that the precious variables saved in the cache have kept the same
2038 ac_cache_corrupted=false
2039 for ac_var in $ac_precious_vars; do
2040 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2041 eval ac_new_set=\$ac_env_${ac_var}_set
2042 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2043 eval ac_new_val=\$ac_env_${ac_var}_value
2044 case $ac_old_set,$ac_new_set in
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2047 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2048 ac_cache_corrupted=: ;;
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2051 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2052 ac_cache_corrupted=: ;;
2055 if test "x$ac_old_val" != "x$ac_new_val"; then
2056 # differences in whitespace do not lead to failure.
2057 ac_old_val_w=`echo x
$ac_old_val`
2058 ac_new_val_w=`echo x
$ac_new_val`
2059 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2062 ac_cache_corrupted=:
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2066 eval $ac_var=\$ac_old_val
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2069 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2071 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2074 # Pass precious variables to config.status.
2075 if test "$ac_new_set" = set; then
2077 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2078 *) ac_arg=$ac_var=$ac_new_val ;;
2080 case " $ac_configure_args " in
2081 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2082 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2086 if $ac_cache_corrupted; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2091 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2093 ## -------------------- ##
2094 ## Main body of script. ##
2095 ## -------------------- ##
2098 ac_cpp='$CPP $CPPFLAGS'
2099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106 for ac_dir in setup "$srcdir"/setup; do
2107 if test -f "$ac_dir/install-sh"; then
2109 ac_install_sh="$ac_aux_dir/install-sh -c"
2111 elif test -f "$ac_dir/install.sh"; then
2113 ac_install_sh="$ac_aux_dir/install.sh -c"
2115 elif test -f "$ac_dir/shtool"; then
2117 ac_install_sh="$ac_aux_dir/shtool install -c"
2121 if test -z "$ac_aux_dir"; then
2122 as_fn_error $? "cannot find install-sh, install.sh, or shtool in setup \"$srcdir\"/setup" "$LINENO" 5
2125 # These three variables are undocumented and unsupported,
2126 # and are intended to be withdrawn in a future Autoconf release.
2127 # They can cause serious problems if a builder's source tree is in a directory
2128 # whose full name contains unusual characters.
2129 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2130 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2131 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2135 CONFIGURE_FLAGS="$*"
2137 COCCI_VERSION="$PACKAGE_VERSION"
2139 COCCI_SRCDIR="$(pwd)"
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring coccinelle $COCCI_VERSION in $COCCI_SRCDIR" >&5
2142 $as_echo "$as_me: configuring coccinelle $COCCI_VERSION in $COCCI_SRCDIR" >&6;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: determining version suffix" >&5
2146 $as_echo "$as_me: determining version suffix" >&6;}
2148 if test -z "$CONFVERSION" -a -d "./.git"; then :
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: building a version from a git repository" >&5
2150 $as_echo "$as_me: building a version from a git repository" >&6;}
2151 if test -n "$ac_tool_prefix"; then
2152 # Extract the first word of "${ac_tool_prefix}git", so it can be a program name with args.
2153 set dummy ${ac_tool_prefix}git; ac_word=$2
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if ${ac_cv_path_GIT+:} false; then :
2157 $as_echo_n "(cached) " >&6
2161 ac_cv_path_GIT="$GIT" # Let the user override the test with a path.
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
2172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 if test -n "$GIT"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
2185 $as_echo "$GIT" >&6; }
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2188 $as_echo "no" >&6; }
2193 if test -z "$ac_cv_path_GIT"; then
2195 # Extract the first word of "git", so it can be a program name with args.
2196 set dummy git; ac_word=$2
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2198 $as_echo_n "checking for $ac_word... " >&6; }
2199 if ${ac_cv_path_ac_pt_GIT+:} false; then :
2200 $as_echo_n "(cached) " >&6
2204 ac_cv_path_ac_pt_GIT="$ac_pt_GIT" # Let the user override the test with a path.
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_path_ac_pt_GIT="$as_dir/$ac_word$ac_exec_ext"
2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 ac_pt_GIT=$ac_cv_path_ac_pt_GIT
2226 if test -n "$ac_pt_GIT"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GIT" >&5
2228 $as_echo "$ac_pt_GIT" >&6; }
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231 $as_echo "no" >&6; }
2234 if test "x$ac_pt_GIT" = x; then
2237 case $cross_compiling:$ac_tool_warned in
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2241 ac_tool_warned=yes ;;
2246 GIT="$ac_cv_path_GIT"
2249 if test -n "$GIT"; then :
2250 CONFVERSION=`$GIT log
-1 --date-order --date=rfc
--pretty="format:%cd"`
2256 if test -z "$CONFVERSION"; then :
2257 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}date", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}date; ac_word=$2
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2261 $as_echo_n "checking for $ac_word... " >&6; }
2262 if ${ac_cv_path_DATE+:} false; then :
2263 $as_echo_n "(cached) " >&6
2267 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 DATE=$ac_cv_path_DATE
2289 if test -n "$DATE"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
2291 $as_echo "$DATE" >&6; }
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294 $as_echo "no" >&6; }
2299 if test -z "$ac_cv_path_DATE"; then
2301 # Extract the first word of "date", so it can be a program name with args.
2302 set dummy date; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if ${ac_cv_path_ac_pt_DATE+:} false; then :
2306 $as_echo_n "(cached) " >&6
2310 ac_cv_path_ac_pt_DATE="$ac_pt_DATE" # Let the user override the test with a path.
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 for ac_exec_ext in '' $ac_executable_extensions; do
2319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 ac_cv_path_ac_pt_DATE="$as_dir/$ac_word$ac_exec_ext"
2321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 ac_pt_DATE=$ac_cv_path_ac_pt_DATE
2332 if test -n "$ac_pt_DATE"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DATE" >&5
2334 $as_echo "$ac_pt_DATE" >&6; }
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2340 if test "x$ac_pt_DATE" = x; then
2343 case $cross_compiling:$ac_tool_warned in
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2347 ac_tool_warned=yes ;;
2352 DATE="$ac_cv_path_DATE"
2355 if test -n "$DATE"; then :
2356 CONFVERSION=`$DATE "+%a, %d %b %Y %H:%M:%S %z"`
2362 if test -z "$CONFVERSION"; then :
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: version suffix set to $CONFVERSION" >&5
2368 $as_echo "$as_me: version suffix set to $CONFVERSION" >&6;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: this configure program uses pkg-config m4 macros" >&5
2372 $as_echo "$as_me: this configure program uses pkg-config m4 macros" >&6;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: this configure program uses ocaml m4 macros (see setup/ocaml.m4)" >&5
2374 $as_echo "$as_me: this configure program uses ocaml m4 macros (see setup/ocaml.m4)" >&6;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: this configure program uses custom m4 macros (see setup/cocci.m4)" >&5
2376 $as_echo "$as_me: this configure program uses custom m4 macros (see setup/cocci.m4)" >&6;}
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: some fake substitutions for required but unavailable programs may be used (see setup/fake*)" >&5
2378 $as_echo "$as_me: some fake substitutions for required but unavailable programs may be used (see setup/fake*)" >&6;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: verifying basic tools" >&5
2385 $as_echo "$as_me: verifying basic tools" >&6;}
2387 # Find a good install program. We prefer a C program (faster),
2388 # so one script is as good as another. But avoid the broken or
2389 # incompatible versions:
2390 # SysV /etc/install, /usr/sbin/install
2391 # SunOS /usr/etc/install
2392 # IRIX /sbin/install
2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2398 # OS/2's system install, which has a completely different semantic
2399 # ./install, which can be erroneously created by make from ./install.sh.
2400 # Reject install programs that cannot install multiple files.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2403 if test -z "$INSTALL"; then
2404 if ${ac_cv_path_install+:} false; then :
2405 $as_echo_n "(cached) " >&6
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir=.
2412 # Account for people who put trailing slashes in PATH elements.
2413 case $as_dir/ in #((
2414 ./ | .// | /[cC]/* | \
2415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2416 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog in ginstall scoinst install; do
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 rm -rf conftest.one conftest.two conftest.dir
2435 echo one > conftest.one
2436 echo two > conftest.two
2438 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2439 test -s conftest.one && test -s conftest.two &&
2440 test -s conftest.dir/conftest.one &&
2441 test -s conftest.dir/conftest.two
2443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2456 rm -rf conftest.one conftest.two conftest.dir
2459 if test "${ac_cv_path_install+set}" = set; then
2460 INSTALL=$ac_cv_path_install
2462 # As a last resort, use the slow shell script. Don't cache a
2463 # value for INSTALL within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the value is a relative name.
2466 INSTALL=$ac_install_sh
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2470 $as_echo "$INSTALL" >&6; }
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2481 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2482 if test -z "$MKDIR_P"; then
2483 if ${ac_cv_path_mkdir+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2490 test -z "$as_dir" && as_dir=.
2491 for ac_prog in mkdir gmkdir; do
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2494 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2495 'mkdir (GNU coreutils) '* | \
2496 'mkdir (coreutils) '* | \
2497 'mkdir (fileutils) '4.1*)
2498 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2508 test -d ./--version && rmdir ./--version
2509 if test "${ac_cv_path_mkdir+set}" = set; then
2510 MKDIR_P="$ac_cv_path_mkdir -p"
2512 # As a last resort, use the slow shell script. Don't cache a
2513 # value for MKDIR_P within a source directory, because that will
2514 # break other packages using the cache if that directory is
2515 # removed, or if the value is a relative name.
2516 MKDIR_P="$ac_install_sh -d"
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2520 $as_echo "$MKDIR_P" >&6; }
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527 if test -n "$ac_tool_prefix"; then
2528 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if ${ac_cv_prog_CC+:} false; then :
2533 $as_echo_n "(cached) " >&6
2535 if test -n "$CC"; then
2536 ac_cv_prog_CC="$CC" # Let the user override the test.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 if test -n "$CC"; then
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2558 $as_echo "$CC" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2566 if test -z "$ac_cv_prog_CC"; then
2568 # Extract the first word of "gcc", so it can be a program name with args.
2569 set dummy gcc; ac_word=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$ac_ct_CC"; then
2576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_ac_ct_CC="gcc"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2598 $as_echo "$ac_ct_CC" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2604 if test "x$ac_ct_CC" = x; then
2607 case $cross_compiling:$ac_tool_warned in
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2611 ac_tool_warned=yes ;;
2619 if test -z "$CC"; then
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2622 set dummy ${ac_tool_prefix}cc; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if ${ac_cv_prog_CC+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$CC"; then
2629 ac_cv_prog_CC="$CC" # Let the user override the test.
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2638 ac_cv_prog_CC="${ac_tool_prefix}cc"
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 if test -n "$CC"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2651 $as_echo "$CC" >&6; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2660 if test -z "$CC"; then
2661 # Extract the first word of "cc", so it can be a program name with args.
2662 set dummy cc; ac_word=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_CC+:} false; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$CC"; then
2669 ac_cv_prog_CC="$CC" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2679 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2680 ac_prog_rejected=yes
2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test $ac_prog_rejected = yes; then
2692 # We found a bogon in the path, so make sure we never use it.
2693 set dummy $ac_cv_prog_CC
2695 if test $# != 0; then
2696 # We chose a different compiler from the bogus one.
2697 # However, it has the same basename, so the bogon will be chosen
2698 # first if we set CC to just the basename; use the full file name.
2700 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2706 if test -n "$CC"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2708 $as_echo "$CC" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$CC"; then
2717 if test -n "$ac_tool_prefix"; then
2718 for ac_prog in cl.exe
2720 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2721 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_CC+:} false; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$CC"; then
2728 ac_cv_prog_CC="$CC" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2737 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 if test -n "$CC"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2757 test -n "$CC" && break
2760 if test -z "$CC"; then
2762 for ac_prog in cl.exe
2764 # Extract the first word of "$ac_prog", so it can be a program name with args.
2765 set dummy $ac_prog; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$ac_ct_CC"; then
2772 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_ac_ct_CC="$ac_prog"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2792 if test -n "$ac_ct_CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2794 $as_echo "$ac_ct_CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2801 test -n "$ac_ct_CC" && break
2804 if test "x$ac_ct_CC" = x; then
2807 case $cross_compiling:$ac_tool_warned in
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned=yes ;;
2820 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2822 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2823 See \
`config.log' for more details" "$LINENO" 5; }
2825 # Provide some information about the compiler.
2826 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2829 for ac_option in --version -v -V -qversion; do
2830 { { ac_try="$ac_compiler $ac_option >&5"
2832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2833 *) ac_try_echo
=$ac_try;;
2835 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2839 if test -s conftest.err
; then
2841 ... rest of stderr output deleted ...
2842 10q' conftest.err
>conftest.er1
2843 cat conftest.er1
>&5
2845 rm -f conftest.er1 conftest.err
2846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; }
2850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2861 ac_clean_files_save
=$ac_clean_files
2862 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2863 # Try to create an executable without -o first, disregard a.out.
2864 # It will help us diagnose broken compilers, and finding out an intuition
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2867 $as_echo_n "checking whether the C compiler works... " >&6; }
2868 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2870 # The possible output files:
2871 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2874 for ac_file
in $ac_files
2877 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2878 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2883 if { { ac_try
="$ac_link_default"
2885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 $as_echo "$ac_try_echo"; } >&5
2890 (eval "$ac_link_default") 2>&5
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; }; then :
2894 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2895 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2896 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2897 # so that the user can short-circuit this test for compilers unknown to
2899 for ac_file in $ac_files ''
2901 test -f "$ac_file" || continue
2903 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2906 # We found the default executable, but exeext='' is most
2910 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2912 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2914 # We set ac_cv_exeext here because the later test for it is not
2915 # safe: cross compilers may not add the suffix if given an `-o'
2916 # argument, so we may need to know it at that point already.
2917 # Even if this section looks crufty: it has the advantage of
2924 test "$ac_cv_exeext" = no && ac_cv_exeext=
2929 if test -z "$ac_file"; then :
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2932 $as_echo "$as_me: failed program was:" >&5
2933 sed 's
/^
/|
/' conftest.$ac_ext >&5
2935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2936 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2937 as_fn_error 77 "C compiler cannot create executables
2938 See \`config.log
' for more details" "$LINENO" 5; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2941 $as_echo "yes" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2944 $as_echo_n "checking for C compiler default output file name... " >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2946 $as_echo "$ac_file" >&6; }
2947 ac_exeext=$ac_cv_exeext
2949 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2950 ac_clean_files=$ac_clean_files_save
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2952 $as_echo_n "checking for suffix of executables... " >&6; }
2953 if { { ac_try="$ac_link"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959 $as_echo "$ac_try_echo"; } >&5
2960 (eval "$ac_link") 2>&5
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }; then :
2964 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2965 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2966 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2968 for ac_file
in conftest.exe conftest conftest.
*; do
2969 test -f "$ac_file" ||
continue
2971 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2972 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2981 See \`config.log' for more details" "$LINENO" 5; }
2983 rm -f conftest conftest
$ac_cv_exeext
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2985 $as_echo "$ac_cv_exeext" >&6; }
2987 rm -f conftest.
$ac_ext
2988 EXEEXT
=$ac_cv_exeext
2990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2996 FILE *f = fopen ("conftest.out", "w");
2997 return ferror (f) || fclose (f) != 0;
3003 ac_clean_files
="$ac_clean_files conftest.out"
3004 # Check that the compiler produces executables we can run. If not, either
3005 # the compiler is broken, or we cross compile.
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3007 $as_echo_n "checking whether we are cross compiling... " >&6; }
3008 if test "$cross_compiling" != yes; then
3009 { { ac_try
="$ac_link"
3011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3015 $as_echo "$ac_try_echo"; } >&5
3016 (eval "$ac_link") 2>&5
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; }
3020 if { ac_try='./conftest$ac_cv_exeext'
3021 { { case "(($ac_try" in
3022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3023 *) ac_try_echo
=$ac_try;;
3025 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_try") 2>&5
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }; }; then
3033 if test "$cross_compiling" = maybe
; then
3036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3038 as_fn_error $?
"cannot run C compiled programs.
3039 If you meant to cross compile, use \`--host'.
3040 See \`config.log' for more details" "$LINENO" 5; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3045 $as_echo "$cross_compiling" >&6; }
3047 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3048 ac_clean_files
=$ac_clean_files_save
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3050 $as_echo_n "checking for suffix of object files... " >&6; }
3051 if ${ac_cv_objext+:} false
; then :
3052 $as_echo_n "(cached) " >&6
3054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 rm -f conftest.o conftest.obj
3066 if { { ac_try
="$ac_compile"
3068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compile") 2>&5
3075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3076 test $ac_status = 0; }; then :
3077 for ac_file in conftest.o conftest.obj conftest.*; do
3078 test -f "$ac_file" || continue;
3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3081 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3092 See \
`config.log' for more details" "$LINENO" 5; }
3094 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3097 $as_echo "$ac_cv_objext" >&6; }
3098 OBJEXT=$ac_cv_objext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3101 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3102 if ${ac_cv_c_compiler_gnu+:} false; then :
3103 $as_echo_n "(cached) " >&6
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3119 if ac_fn_c_try_compile "$LINENO"; then :
3124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3129 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3130 if test $ac_compiler_gnu = yes; then
3135 ac_test_CFLAGS=${CFLAGS+set}
3136 ac_save_CFLAGS=$CFLAGS
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3138 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3139 if ${ac_cv_prog_cc_g+:} false; then :
3140 $as_echo_n "(cached) " >&6
3142 ac_save_c_werror_flag=$ac_c_werror_flag
3143 ac_c_werror_flag=yes
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 if ac_fn_c_try_compile "$LINENO"; then :
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 if ac_fn_c_try_compile "$LINENO"; then :
3175 ac_c_werror_flag=$ac_save_c_werror_flag
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 if ac_fn_c_try_compile "$LINENO"; then :
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3199 $as_echo "$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3216 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3217 if ${ac_cv_prog_cc_c89+:} false; then :
3218 $as_echo_n "(cached) " >&6
3220 ac_cv_prog_cc_c89=no
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3228 struct buf { int x; };
3229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3230 static char *e (p, i)
3236 static char *f (char * (*g) (char **, int), char **p, ...)
3241 s = g (p, va_arg (v,int));
3246 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3247 function prototypes and stuff, but not '\xHH' hex character constants.
3248 These don't provoke an error unfortunately, instead are silently treated
3249 as 'x'. The following induces an error, until -std is added to get
3250 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3251 array size at least. It's necessary to write '\x00'==0 to get something
3252 that's true only with -std. */
3253 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3255 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3256 inside strings and character constants. */
3258 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3260 int test (int i, double x);
3261 struct s1 {int (*f) (int a);};
3262 struct s2 {int (*f) (double a);};
3263 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3269 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3274 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3275 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3277 CC="$ac_save_CC $ac_arg"
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 ac_cv_prog_cc_c89=$ac_arg
3281 rm -f core conftest.err conftest.$ac_objext
3282 test "x$ac_cv_prog_cc_c89" != "xno" && break
3284 rm -f conftest.$ac_ext
3289 case "x$ac_cv_prog_cc_c89" in
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3292 $as_echo "none needed" >&6; } ;;
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3295 $as_echo "unsupported" >&6; } ;;
3297 CC="$CC $ac_cv_prog_cc_c89"
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3299 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3301 if test "x$ac_cv_prog_cc_c89" != xno; then :
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312 ac_cpp='$CPP $CPPFLAGS'
3313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3317 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3318 # On Suns, sometimes $CPP names a directory.
3319 if test -n "$CPP" && test -d "$CPP"; then
3322 if test -z "$CPP"; then
3323 if ${ac_cv_prog_CPP+:} false; then :
3324 $as_echo_n "(cached) " >&6
3326 # Double quotes because CPP needs to be expanded
3327 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3330 for ac_c_preproc_warn_flag in '' yes
3332 # Use a header file that comes with gcc, so configuring glibc
3333 # with a fresh cross-compiler works.
3334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3335 # <limits.h> exists even on freestanding compilers.
3336 # On the NeXT, cc -E runs the code through the compiler's parser,
3337 # not just through cpp. "Syntax error" is here to catch this case.
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3341 # include <limits.h>
3343 # include <assert.h>
3347 if ac_fn_c_try_cpp "$LINENO"; then :
3350 # Broken: fails on valid input.
3353 rm -f conftest.err conftest.i conftest.$ac_ext
3355 # OK, works on sane cases. Now check whether nonexistent headers
3356 # can be detected and how.
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3359 #include <ac_nonexistent.h>
3361 if ac_fn_c_try_cpp "$LINENO"; then :
3362 # Broken: success on invalid input.
3365 # Passes both tests.
3369 rm -f conftest.err conftest.i conftest.$ac_ext
3372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3373 rm -f conftest.i conftest.err conftest.
$ac_ext
3374 if $ac_preproc_ok; then :
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3387 $as_echo "$CPP" >&6; }
3389 for ac_c_preproc_warn_flag
in '' yes
3391 # Use a header file that comes with gcc, so configuring glibc
3392 # with a fresh cross-compiler works.
3393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3394 # <limits.h> exists even on freestanding compilers.
3395 # On the NeXT, cc -E runs the code through the compiler's parser,
3396 # not just through cpp. "Syntax error" is here to catch this case.
3397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3400 # include <limits.h>
3402 # include <assert.h>
3406 if ac_fn_c_try_cpp
"$LINENO"; then :
3409 # Broken: fails on valid input.
3412 rm -f conftest.err conftest.i conftest.
$ac_ext
3414 # OK, works on sane cases. Now check whether nonexistent headers
3415 # can be detected and how.
3416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3418 #include <ac_nonexistent.h>
3420 if ac_fn_c_try_cpp
"$LINENO"; then :
3421 # Broken: success on invalid input.
3424 # Passes both tests.
3428 rm -f conftest.err conftest.i conftest.
$ac_ext
3431 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3432 rm -f conftest.i conftest.err conftest.
$ac_ext
3433 if $ac_preproc_ok; then :
3436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3439 See \`config.log' for more details" "$LINENO" 5; }
3443 ac_cpp
='$CPP $CPPFLAGS'
3444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3448 # Extract the first word of "tar", so it can be a program name with args.
3449 set dummy
tar; ac_word
=$2
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3451 $as_echo_n "checking for $ac_word... " >&6; }
3452 if ${ac_cv_path_TAR+:} false
; then :
3453 $as_echo_n "(cached) " >&6
3457 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
3460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3464 test -z "$as_dir" && as_dir
=.
3465 for ac_exec_ext
in '' $ac_executable_extensions; do
3466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3467 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
3468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 if test -n "$TAR"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
3481 $as_echo "$TAR" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3488 # Extract the first word of "patch", so it can be a program name with args.
3489 set dummy
patch; ac_word
=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if ${ac_cv_path_PATCH+:} false
; then :
3493 $as_echo_n "(cached) " >&6
3497 ac_cv_path_PATCH
="$PATCH" # Let the user override the test with a path.
3500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3504 test -z "$as_dir" && as_dir
=.
3505 for ac_exec_ext
in '' $ac_executable_extensions; do
3506 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3507 ac_cv_path_PATCH
="$as_dir/$ac_word$ac_exec_ext"
3508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 PATCH
=$ac_cv_path_PATCH
3519 if test -n "$PATCH"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
3521 $as_echo "$PATCH" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3528 # Extract the first word of "patchelf", so it can be a program name with args.
3529 set dummy patchelf
; ac_word
=$2
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 $as_echo_n "checking for $ac_word... " >&6; }
3532 if ${ac_cv_path_PATCHELF+:} false
; then :
3533 $as_echo_n "(cached) " >&6
3537 ac_cv_path_PATCHELF
="$PATCHELF" # Let the user override the test with a path.
3540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir
=.
3545 for ac_exec_ext
in '' $ac_executable_extensions; do
3546 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_path_PATCHELF
="$as_dir/$ac_word$ac_exec_ext"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 PATCHELF
=$ac_cv_path_PATCHELF
3559 if test -n "$PATCHELF"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCHELF" >&5
3561 $as_echo "$PATCHELF" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3571 # Check whether --with-pkg-config was given.
3572 if test "${with_pkg_config+set}" = set; then :
3573 withval
=$with_pkg_config;
3576 with_PKG_CONFIG
="$with_pkg_config"
3578 if test -n "$with_PKG_CONFIG" -a "x$with_PKG_CONFIG" != xno
-a "x$with_PKG_CONFIG" != xyes
; then :
3579 PKG_CONFIG
="$with_PKG_CONFIG"
3583 PKG_CONFIG
="pkg-config"
3588 if test "x$with_PKG_CONFIG" = xno
; then :
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config is disabled explicitly" >&5
3590 $as_echo "$as_me: pkg-config is disabled explicitly" >&6;}
3595 if test "x$PKG_CONFIG" = xpkg-config
-a "xPKG_CONFIG" = xPKG_CONFIG
; then :
3598 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3599 if test -n "$ac_tool_prefix"; then
3600 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3601 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
3605 $as_echo_n "(cached) " >&6
3609 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3631 if test -n "$PKG_CONFIG"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3633 $as_echo "$PKG_CONFIG" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3641 if test -z "$ac_cv_path_PKG_CONFIG"; then
3642 ac_pt_PKG_CONFIG
=$PKG_CONFIG
3643 # Extract the first word of "pkg-config", so it can be a program name with args.
3644 set dummy pkg-config
; ac_word
=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
3648 $as_echo_n "(cached) " >&6
3650 case $ac_pt_PKG_CONFIG in
3652 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
3674 if test -n "$ac_pt_PKG_CONFIG"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3676 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3682 if test "x$ac_pt_PKG_CONFIG" = x
; then
3685 case $cross_compiling:$ac_tool_warned in
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3689 ac_tool_warned
=yes ;;
3691 PKG_CONFIG
=$ac_pt_PKG_CONFIG
3694 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
3698 if test -n "$PKG_CONFIG"; then
3699 _pkg_min_version
=0.9.0
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3701 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3702 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3704 $as_echo "yes" >&6; }
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3713 elif test "x$PKG_CONFIG" = xocamllex
-a "xPKG_CONFIG" = xOCAMLLEX
; then :
3714 # checking for ocamllex
3715 if test -n "$ac_tool_prefix"; then
3716 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
3717 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_path_OCAMLLEX+:} false
; then :
3721 $as_echo_n "(cached) " >&6
3725 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 OCAMLLEX
=$ac_cv_path_OCAMLLEX
3747 if test -n "$OCAMLLEX"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
3749 $as_echo "$OCAMLLEX" >&6; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3757 if test -z "$ac_cv_path_OCAMLLEX"; then
3758 ac_pt_OCAMLLEX
=$OCAMLLEX
3759 # Extract the first word of "ocamllex", so it can be a program name with args.
3760 set dummy ocamllex
; ac_word
=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
3764 $as_echo_n "(cached) " >&6
3766 case $ac_pt_OCAMLLEX in
3768 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
3790 if test -n "$ac_pt_OCAMLLEX"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
3792 $as_echo "$ac_pt_OCAMLLEX" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3798 if test "x$ac_pt_OCAMLLEX" = x
; then
3801 case $cross_compiling:$ac_tool_warned in
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3805 ac_tool_warned
=yes ;;
3807 OCAMLLEX
=$ac_pt_OCAMLLEX
3810 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
3813 if test "$OCAMLLEX" != "no"; then
3814 if test -n "$ac_tool_prefix"; then
3815 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
3816 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
3820 $as_echo_n "(cached) " >&6
3822 case $OCAMLLEXDOTOPT in
3824 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
3827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir
=.
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3834 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
3835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
3846 if test -n "$OCAMLLEXDOTOPT"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
3848 $as_echo "$OCAMLLEXDOTOPT" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3856 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
3857 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
3858 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
3859 set dummy ocamllex.opt
; ac_word
=$2
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3861 $as_echo_n "checking for $ac_word... " >&6; }
3862 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
3863 $as_echo_n "(cached) " >&6
3865 case $ac_pt_OCAMLLEXDOTOPT in
3867 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
3870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
3878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
3889 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
3891 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894 $as_echo "no" >&6; }
3897 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
3900 case $cross_compiling:$ac_tool_warned in
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3904 ac_tool_warned
=yes ;;
3906 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
3909 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
3912 if test "$OCAMLLEXDOTOPT" != "no"; then
3913 OCAMLLEX
=$OCAMLLEXDOTOPT
3919 elif test "x$PKG_CONFIG" = xocamlyacc
-a "xPKG_CONFIG" = xOCAMLYACC
; then :
3920 if test -n "$ac_tool_prefix"; then
3921 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
3922 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_path_OCAMLYACC+:} false
; then :
3926 $as_echo_n "(cached) " >&6
3930 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
3933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir
=.
3938 for ac_exec_ext
in '' $ac_executable_extensions; do
3939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3940 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 OCAMLYACC
=$ac_cv_path_OCAMLYACC
3952 if test -n "$OCAMLYACC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
3954 $as_echo "$OCAMLYACC" >&6; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3962 if test -z "$ac_cv_path_OCAMLYACC"; then
3963 ac_pt_OCAMLYACC
=$OCAMLYACC
3964 # Extract the first word of "ocamlyacc", so it can be a program name with args.
3965 set dummy ocamlyacc
; ac_word
=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
3969 $as_echo_n "(cached) " >&6
3971 case $ac_pt_OCAMLYACC in
3973 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3983 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
3995 if test -n "$ac_pt_OCAMLYACC"; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
3997 $as_echo "$ac_pt_OCAMLYACC" >&6; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4003 if test "x$ac_pt_OCAMLYACC" = x
; then
4006 case $cross_compiling:$ac_tool_warned in
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4010 ac_tool_warned
=yes ;;
4012 OCAMLYACC
=$ac_pt_OCAMLYACC
4015 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
4022 if test -n "$ac_tool_prefix"; then
4023 # Extract the first word of "${ac_tool_prefix}[$]PKG_CONFIG", so it can be a program name with args.
4024 set dummy
${ac_tool_prefix}$PKG_CONFIG; ac_word
=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4028 $as_echo_n "(cached) " >&6
4032 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir
=.
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4042 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4054 if test -n "$PKG_CONFIG"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4056 $as_echo "$PKG_CONFIG" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4064 if test -z "$ac_cv_path_PKG_CONFIG"; then
4065 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4066 # Extract the first word of "[$]PKG_CONFIG", so it can be a program name with args.
4067 set dummy
$PKG_CONFIG; ac_word
=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4071 $as_echo_n "(cached) " >&6
4073 case $ac_pt_PKG_CONFIG in
4075 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4082 test -z "$as_dir" && as_dir
=.
4083 for ac_exec_ext
in '' $ac_executable_extensions; do
4084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4097 if test -n "$ac_pt_PKG_CONFIG"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4099 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4105 if test "x$ac_pt_PKG_CONFIG" = x
; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned
=yes ;;
4114 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4117 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4126 if test -z "$PKG_CONFIG" -o "x$PKG_CONFIG" = xno
; then :
4127 if test "x$with_PKG_CONFIG" = xyes
; then :
4128 as_fn_error $?
"--with=pkg-config is given explicitly but not found" "$LINENO" 5
4132 if test -n "$COCCI_SRCDIR/setup/fake-subst.sh pkg-config"; then :
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config not found. Trying substitute $COCCI_SRCDIR/setup/fake-subst.sh pkg-config." >&5
4134 $as_echo "$as_me: pkg-config not found. Trying substitute $COCCI_SRCDIR/setup/fake-subst.sh pkg-config." >&6;}
4135 PKG_CONFIG
="$COCCI_SRCDIR/setup/fake-subst.sh pkg-config"
4137 if test "xpkg-config" = xpkg-config
-a "xPKG_CONFIG" = xPKG_CONFIG
; then :
4140 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4141 if test -n "$ac_tool_prefix"; then
4142 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4143 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4145 $as_echo_n "checking for $ac_word... " >&6; }
4146 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4147 $as_echo_n "(cached) " >&6
4151 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4173 if test -n "$PKG_CONFIG"; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4175 $as_echo "$PKG_CONFIG" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4178 $as_echo "no" >&6; }
4183 if test -z "$ac_cv_path_PKG_CONFIG"; then
4184 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4185 # Extract the first word of "pkg-config", so it can be a program name with args.
4186 set dummy pkg-config
; ac_word
=$2
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4188 $as_echo_n "checking for $ac_word... " >&6; }
4189 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4190 $as_echo_n "(cached) " >&6
4192 case $ac_pt_PKG_CONFIG in
4194 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4216 if test -n "$ac_pt_PKG_CONFIG"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4218 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4224 if test "x$ac_pt_PKG_CONFIG" = x
; then
4227 case $cross_compiling:$ac_tool_warned in
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4231 ac_tool_warned
=yes ;;
4233 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4236 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4240 if test -n "$PKG_CONFIG"; then
4241 _pkg_min_version
=0.9.0
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4243 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4244 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4246 $as_echo "yes" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4255 elif test "xpkg-config" = xocamllex
-a "xPKG_CONFIG" = xOCAMLLEX
; then :
4256 # checking for ocamllex
4257 if test -n "$ac_tool_prefix"; then
4258 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
4259 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_path_OCAMLLEX+:} false
; then :
4263 $as_echo_n "(cached) " >&6
4267 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
4270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir
=.
4275 for ac_exec_ext
in '' $ac_executable_extensions; do
4276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4277 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4288 OCAMLLEX
=$ac_cv_path_OCAMLLEX
4289 if test -n "$OCAMLLEX"; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
4291 $as_echo "$OCAMLLEX" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4299 if test -z "$ac_cv_path_OCAMLLEX"; then
4300 ac_pt_OCAMLLEX
=$OCAMLLEX
4301 # Extract the first word of "ocamllex", so it can be a program name with args.
4302 set dummy ocamllex
; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
4306 $as_echo_n "(cached) " >&6
4308 case $ac_pt_OCAMLLEX in
4310 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4320 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
4332 if test -n "$ac_pt_OCAMLLEX"; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
4334 $as_echo "$ac_pt_OCAMLLEX" >&6; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4340 if test "x$ac_pt_OCAMLLEX" = x
; then
4343 case $cross_compiling:$ac_tool_warned in
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4347 ac_tool_warned
=yes ;;
4349 OCAMLLEX
=$ac_pt_OCAMLLEX
4352 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
4355 if test "$OCAMLLEX" != "no"; then
4356 if test -n "$ac_tool_prefix"; then
4357 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
4358 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
4362 $as_echo_n "(cached) " >&6
4364 case $OCAMLLEXDOTOPT in
4366 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
4388 if test -n "$OCAMLLEXDOTOPT"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
4390 $as_echo "$OCAMLLEXDOTOPT" >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4398 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
4399 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
4400 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
4401 set dummy ocamllex.opt
; ac_word
=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
4405 $as_echo_n "(cached) " >&6
4407 case $ac_pt_OCAMLLEXDOTOPT in
4409 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
4431 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
4433 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4439 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
4442 case $cross_compiling:$ac_tool_warned in
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4446 ac_tool_warned
=yes ;;
4448 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
4451 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
4454 if test "$OCAMLLEXDOTOPT" != "no"; then
4455 OCAMLLEX
=$OCAMLLEXDOTOPT
4461 elif test "xpkg-config" = xocamlyacc
-a "xPKG_CONFIG" = xOCAMLYACC
; then :
4462 if test -n "$ac_tool_prefix"; then
4463 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
4464 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_path_OCAMLYACC+:} false
; then :
4468 $as_echo_n "(cached) " >&6
4472 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
4475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir
=.
4480 for ac_exec_ext
in '' $ac_executable_extensions; do
4481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 OCAMLYACC
=$ac_cv_path_OCAMLYACC
4494 if test -n "$OCAMLYACC"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
4496 $as_echo "$OCAMLYACC" >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4504 if test -z "$ac_cv_path_OCAMLYACC"; then
4505 ac_pt_OCAMLYACC
=$OCAMLYACC
4506 # Extract the first word of "ocamlyacc", so it can be a program name with args.
4507 set dummy ocamlyacc
; ac_word
=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 case $ac_pt_OCAMLYACC in
4515 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
4518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4522 test -z "$as_dir" && as_dir
=.
4523 for ac_exec_ext
in '' $ac_executable_extensions; do
4524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4525 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
4526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
4537 if test -n "$ac_pt_OCAMLYACC"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
4539 $as_echo "$ac_pt_OCAMLYACC" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4545 if test "x$ac_pt_OCAMLYACC" = x
; then
4548 case $cross_compiling:$ac_tool_warned in
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned
=yes ;;
4554 OCAMLYACC
=$ac_pt_OCAMLYACC
4557 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
4564 if test -n "$ac_tool_prefix"; then
4565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4566 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4570 $as_echo_n "(cached) " >&6
4574 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4584 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4596 if test -n "$PKG_CONFIG"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4598 $as_echo "$PKG_CONFIG" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4606 if test -z "$ac_cv_path_PKG_CONFIG"; then
4607 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4608 # Extract the first word of "pkg-config", so it can be a program name with args.
4609 set dummy pkg-config
; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 case $ac_pt_PKG_CONFIG in
4617 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4639 if test -n "$ac_pt_PKG_CONFIG"; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4641 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4647 if test "x$ac_pt_PKG_CONFIG" = x
; then
4650 case $cross_compiling:$ac_tool_warned in
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4654 ac_tool_warned
=yes ;;
4656 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4659 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4665 SUBSTITUTED_PKG_CONFIG
=yes
4672 if test -z "$PKG_CONFIG"; then :
4677 if test "x$PKG_CONFIG" = xno
; then :
4678 as_fn_error $?
"A suitable pkg-config could not be found." "$LINENO" 5
4682 # checking for ocamlc
4683 if test -n "$ac_tool_prefix"; then
4684 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
4685 set dummy
${ac_tool_prefix}ocamlc
; ac_word
=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_path_OCAMLC+:} false
; then :
4689 $as_echo_n "(cached) " >&6
4693 ac_cv_path_OCAMLC
="$OCAMLC" # Let the user override the test with a path.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_exec_ext
in '' $ac_executable_extensions; do
4702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_path_OCAMLC
="$as_dir/$ac_word$ac_exec_ext"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 OCAMLC
=$ac_cv_path_OCAMLC
4715 if test -n "$OCAMLC"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
4717 $as_echo "$OCAMLC" >&6; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4725 if test -z "$ac_cv_path_OCAMLC"; then
4726 ac_pt_OCAMLC
=$OCAMLC
4727 # Extract the first word of "ocamlc", so it can be a program name with args.
4728 set dummy ocamlc
; ac_word
=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_path_ac_pt_OCAMLC+:} false
; then :
4732 $as_echo_n "(cached) " >&6
4734 case $ac_pt_OCAMLC in
4736 ac_cv_path_ac_pt_OCAMLC
="$ac_pt_OCAMLC" # Let the user override the test with a path.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir
=.
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4746 ac_cv_path_ac_pt_OCAMLC
="$as_dir/$ac_word$ac_exec_ext"
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 ac_pt_OCAMLC
=$ac_cv_path_ac_pt_OCAMLC
4758 if test -n "$ac_pt_OCAMLC"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLC" >&5
4760 $as_echo "$ac_pt_OCAMLC" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4766 if test "x$ac_pt_OCAMLC" = x
; then
4769 case $cross_compiling:$ac_tool_warned in
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4773 ac_tool_warned
=yes ;;
4775 OCAMLC
=$ac_pt_OCAMLC
4778 OCAMLC
="$ac_cv_path_OCAMLC"
4782 if test "$OCAMLC" != "no"; then
4783 OCAMLVERSION
=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
4785 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
4786 # If OCAMLLIB is set, use it
4787 if test "$OCAMLLIB" = ""; then
4788 OCAMLLIB
=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
4791 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
4794 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
4799 # checking for ocamlopt
4800 if test -n "$ac_tool_prefix"; then
4801 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
4802 set dummy
${ac_tool_prefix}ocamlopt
; ac_word
=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_path_OCAMLOPT+:} false
; then :
4806 $as_echo_n "(cached) " >&6
4810 ac_cv_path_OCAMLOPT
="$OCAMLOPT" # Let the user override the test with a path.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir
=.
4818 for ac_exec_ext
in '' $ac_executable_extensions; do
4819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4820 ac_cv_path_OCAMLOPT
="$as_dir/$ac_word$ac_exec_ext"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 OCAMLOPT
=$ac_cv_path_OCAMLOPT
4832 if test -n "$OCAMLOPT"; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
4834 $as_echo "$OCAMLOPT" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4842 if test -z "$ac_cv_path_OCAMLOPT"; then
4843 ac_pt_OCAMLOPT
=$OCAMLOPT
4844 # Extract the first word of "ocamlopt", so it can be a program name with args.
4845 set dummy ocamlopt
; ac_word
=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_path_ac_pt_OCAMLOPT+:} false
; then :
4849 $as_echo_n "(cached) " >&6
4851 case $ac_pt_OCAMLOPT in
4853 ac_cv_path_ac_pt_OCAMLOPT
="$ac_pt_OCAMLOPT" # Let the user override the test with a path.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_path_ac_pt_OCAMLOPT
="$as_dir/$ac_word$ac_exec_ext"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 ac_pt_OCAMLOPT
=$ac_cv_path_ac_pt_OCAMLOPT
4875 if test -n "$ac_pt_OCAMLOPT"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLOPT" >&5
4877 $as_echo "$ac_pt_OCAMLOPT" >&6; }
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4883 if test "x$ac_pt_OCAMLOPT" = x
; then
4886 case $cross_compiling:$ac_tool_warned in
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4890 ac_tool_warned
=yes ;;
4892 OCAMLOPT
=$ac_pt_OCAMLOPT
4895 OCAMLOPT
="$ac_cv_path_OCAMLOPT"
4899 if test "$OCAMLOPT" = "no"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
4901 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
4903 TMPVERSION
=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
4904 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
4906 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
4915 # checking for ocamlc.opt
4916 if test -n "$ac_tool_prefix"; then
4917 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
4918 set dummy
${ac_tool_prefix}ocamlc.opt
; ac_word
=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_path_OCAMLCDOTOPT+:} false
; then :
4922 $as_echo_n "(cached) " >&6
4924 case $OCAMLCDOTOPT in
4926 ac_cv_path_OCAMLCDOTOPT
="$OCAMLCDOTOPT" # Let the user override the test with a path.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_path_OCAMLCDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 OCAMLCDOTOPT
=$ac_cv_path_OCAMLCDOTOPT
4948 if test -n "$OCAMLCDOTOPT"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
4950 $as_echo "$OCAMLCDOTOPT" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_path_OCAMLCDOTOPT"; then
4959 ac_pt_OCAMLCDOTOPT
=$OCAMLCDOTOPT
4960 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
4961 set dummy ocamlc.opt
; ac_word
=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_path_ac_pt_OCAMLCDOTOPT+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4967 case $ac_pt_OCAMLCDOTOPT in
4969 ac_cv_path_ac_pt_OCAMLCDOTOPT
="$ac_pt_OCAMLCDOTOPT" # Let the user override the test with a path.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_path_ac_pt_OCAMLCDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 ac_pt_OCAMLCDOTOPT
=$ac_cv_path_ac_pt_OCAMLCDOTOPT
4991 if test -n "$ac_pt_OCAMLCDOTOPT"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLCDOTOPT" >&5
4993 $as_echo "$ac_pt_OCAMLCDOTOPT" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
4999 if test "x$ac_pt_OCAMLCDOTOPT" = x
; then
5002 case $cross_compiling:$ac_tool_warned in
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006 ac_tool_warned
=yes ;;
5008 OCAMLCDOTOPT
=$ac_pt_OCAMLCDOTOPT
5011 OCAMLCDOTOPT
="$ac_cv_path_OCAMLCDOTOPT"
5014 if test "$OCAMLCDOTOPT" != "no"; then
5015 TMPVERSION
=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
5016 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
5018 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
5020 OCAMLC
=$OCAMLCDOTOPT
5024 # checking for ocamlopt.opt
5025 if test "$OCAMLOPT" != "no" ; then
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
5028 set dummy
${ac_tool_prefix}ocamlopt.opt
; ac_word
=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_path_OCAMLOPTDOTOPT+:} false
; then :
5032 $as_echo_n "(cached) " >&6
5034 case $OCAMLOPTDOTOPT in
5036 ac_cv_path_OCAMLOPTDOTOPT
="$OCAMLOPTDOTOPT" # Let the user override the test with a path.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_path_OCAMLOPTDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 OCAMLOPTDOTOPT
=$ac_cv_path_OCAMLOPTDOTOPT
5058 if test -n "$OCAMLOPTDOTOPT"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
5060 $as_echo "$OCAMLOPTDOTOPT" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5068 if test -z "$ac_cv_path_OCAMLOPTDOTOPT"; then
5069 ac_pt_OCAMLOPTDOTOPT
=$OCAMLOPTDOTOPT
5070 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
5071 set dummy ocamlopt.opt
; ac_word
=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_path_ac_pt_OCAMLOPTDOTOPT+:} false
; then :
5075 $as_echo_n "(cached) " >&6
5077 case $ac_pt_OCAMLOPTDOTOPT in
5079 ac_cv_path_ac_pt_OCAMLOPTDOTOPT
="$ac_pt_OCAMLOPTDOTOPT" # Let the user override the test with a path.
5082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir
=.
5087 for ac_exec_ext
in '' $ac_executable_extensions; do
5088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_path_ac_pt_OCAMLOPTDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 ac_pt_OCAMLOPTDOTOPT
=$ac_cv_path_ac_pt_OCAMLOPTDOTOPT
5101 if test -n "$ac_pt_OCAMLOPTDOTOPT"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLOPTDOTOPT" >&5
5103 $as_echo "$ac_pt_OCAMLOPTDOTOPT" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5109 if test "x$ac_pt_OCAMLOPTDOTOPT" = x
; then
5112 case $cross_compiling:$ac_tool_warned in
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5116 ac_tool_warned
=yes ;;
5118 OCAMLOPTDOTOPT
=$ac_pt_OCAMLOPTDOTOPT
5121 OCAMLOPTDOTOPT
="$ac_cv_path_OCAMLOPTDOTOPT"
5124 if test "$OCAMLOPTDOTOPT" != "no"; then
5125 TMPVERSION
=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
5126 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
5128 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
5130 OCAMLOPT
=$OCAMLOPTDOTOPT
5140 # checking for ocaml toplevel
5141 if test -n "$ac_tool_prefix"; then
5142 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
5143 set dummy
${ac_tool_prefix}ocaml
; ac_word
=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_path_OCAML+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5151 ac_cv_path_OCAML
="$OCAML" # Let the user override the test with a path.
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_exec_ext
in '' $ac_executable_extensions; do
5160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_path_OCAML
="$as_dir/$ac_word$ac_exec_ext"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 OCAML
=$ac_cv_path_OCAML
5173 if test -n "$OCAML"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
5175 $as_echo "$OCAML" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5183 if test -z "$ac_cv_path_OCAML"; then
5185 # Extract the first word of "ocaml", so it can be a program name with args.
5186 set dummy ocaml
; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_path_ac_pt_OCAML+:} false
; then :
5190 $as_echo_n "(cached) " >&6
5192 case $ac_pt_OCAML in
5194 ac_cv_path_ac_pt_OCAML
="$ac_pt_OCAML" # Let the user override the test with a path.
5197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir
=.
5202 for ac_exec_ext
in '' $ac_executable_extensions; do
5203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_path_ac_pt_OCAML
="$as_dir/$ac_word$ac_exec_ext"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 ac_pt_OCAML
=$ac_cv_path_ac_pt_OCAML
5216 if test -n "$ac_pt_OCAML"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAML" >&5
5218 $as_echo "$ac_pt_OCAML" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5224 if test "x$ac_pt_OCAML" = x
; then
5227 case $cross_compiling:$ac_tool_warned in
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned
=yes ;;
5236 OCAML
="$ac_cv_path_OCAML"
5240 # checking for ocamldep
5241 if test -n "$ac_tool_prefix"; then
5242 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
5243 set dummy
${ac_tool_prefix}ocamldep
; ac_word
=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_path_OCAMLDEP+:} false
; then :
5247 $as_echo_n "(cached) " >&6
5251 ac_cv_path_OCAMLDEP
="$OCAMLDEP" # Let the user override the test with a path.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_path_OCAMLDEP
="$as_dir/$ac_word$ac_exec_ext"
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 OCAMLDEP
=$ac_cv_path_OCAMLDEP
5273 if test -n "$OCAMLDEP"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
5275 $as_echo "$OCAMLDEP" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5283 if test -z "$ac_cv_path_OCAMLDEP"; then
5284 ac_pt_OCAMLDEP
=$OCAMLDEP
5285 # Extract the first word of "ocamldep", so it can be a program name with args.
5286 set dummy ocamldep
; ac_word
=$2
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5288 $as_echo_n "checking for $ac_word... " >&6; }
5289 if ${ac_cv_path_ac_pt_OCAMLDEP+:} false
; then :
5290 $as_echo_n "(cached) " >&6
5292 case $ac_pt_OCAMLDEP in
5294 ac_cv_path_ac_pt_OCAMLDEP
="$ac_pt_OCAMLDEP" # Let the user override the test with a path.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_path_ac_pt_OCAMLDEP
="$as_dir/$ac_word$ac_exec_ext"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 ac_pt_OCAMLDEP
=$ac_cv_path_ac_pt_OCAMLDEP
5316 if test -n "$ac_pt_OCAMLDEP"; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLDEP" >&5
5318 $as_echo "$ac_pt_OCAMLDEP" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5321 $as_echo "no" >&6; }
5324 if test "x$ac_pt_OCAMLDEP" = x
; then
5327 case $cross_compiling:$ac_tool_warned in
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5331 ac_tool_warned
=yes ;;
5333 OCAMLDEP
=$ac_pt_OCAMLDEP
5336 OCAMLDEP
="$ac_cv_path_OCAMLDEP"
5340 # checking for ocamlmktop
5341 if test -n "$ac_tool_prefix"; then
5342 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
5343 set dummy
${ac_tool_prefix}ocamlmktop
; ac_word
=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_path_OCAMLMKTOP+:} false
; then :
5347 $as_echo_n "(cached) " >&6
5351 ac_cv_path_OCAMLMKTOP
="$OCAMLMKTOP" # Let the user override the test with a path.
5354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5358 test -z "$as_dir" && as_dir
=.
5359 for ac_exec_ext
in '' $ac_executable_extensions; do
5360 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5361 ac_cv_path_OCAMLMKTOP
="$as_dir/$ac_word$ac_exec_ext"
5362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 OCAMLMKTOP
=$ac_cv_path_OCAMLMKTOP
5373 if test -n "$OCAMLMKTOP"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
5375 $as_echo "$OCAMLMKTOP" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5383 if test -z "$ac_cv_path_OCAMLMKTOP"; then
5384 ac_pt_OCAMLMKTOP
=$OCAMLMKTOP
5385 # Extract the first word of "ocamlmktop", so it can be a program name with args.
5386 set dummy ocamlmktop
; ac_word
=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_path_ac_pt_OCAMLMKTOP+:} false
; then :
5390 $as_echo_n "(cached) " >&6
5392 case $ac_pt_OCAMLMKTOP in
5394 ac_cv_path_ac_pt_OCAMLMKTOP
="$ac_pt_OCAMLMKTOP" # Let the user override the test with a path.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_path_ac_pt_OCAMLMKTOP
="$as_dir/$ac_word$ac_exec_ext"
5405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 ac_pt_OCAMLMKTOP
=$ac_cv_path_ac_pt_OCAMLMKTOP
5416 if test -n "$ac_pt_OCAMLMKTOP"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLMKTOP" >&5
5418 $as_echo "$ac_pt_OCAMLMKTOP" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_pt_OCAMLMKTOP" = x
; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned
=yes ;;
5433 OCAMLMKTOP
=$ac_pt_OCAMLMKTOP
5436 OCAMLMKTOP
="$ac_cv_path_OCAMLMKTOP"
5440 # checking for ocamlmklib
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
5443 set dummy
${ac_tool_prefix}ocamlmklib
; ac_word
=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_path_OCAMLMKLIB+:} false
; then :
5447 $as_echo_n "(cached) " >&6
5451 ac_cv_path_OCAMLMKLIB
="$OCAMLMKLIB" # Let the user override the test with a path.
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_exec_ext
in '' $ac_executable_extensions; do
5460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_path_OCAMLMKLIB
="$as_dir/$ac_word$ac_exec_ext"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 OCAMLMKLIB
=$ac_cv_path_OCAMLMKLIB
5473 if test -n "$OCAMLMKLIB"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
5475 $as_echo "$OCAMLMKLIB" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5483 if test -z "$ac_cv_path_OCAMLMKLIB"; then
5484 ac_pt_OCAMLMKLIB
=$OCAMLMKLIB
5485 # Extract the first word of "ocamlmklib", so it can be a program name with args.
5486 set dummy ocamlmklib
; ac_word
=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_path_ac_pt_OCAMLMKLIB+:} false
; then :
5490 $as_echo_n "(cached) " >&6
5492 case $ac_pt_OCAMLMKLIB in
5494 ac_cv_path_ac_pt_OCAMLMKLIB
="$ac_pt_OCAMLMKLIB" # Let the user override the test with a path.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_path_ac_pt_OCAMLMKLIB
="$as_dir/$ac_word$ac_exec_ext"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 ac_pt_OCAMLMKLIB
=$ac_cv_path_ac_pt_OCAMLMKLIB
5516 if test -n "$ac_pt_OCAMLMKLIB"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLMKLIB" >&5
5518 $as_echo "$ac_pt_OCAMLMKLIB" >&6; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5524 if test "x$ac_pt_OCAMLMKLIB" = x
; then
5527 case $cross_compiling:$ac_tool_warned in
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5531 ac_tool_warned
=yes ;;
5533 OCAMLMKLIB
=$ac_pt_OCAMLMKLIB
5536 OCAMLMKLIB
="$ac_cv_path_OCAMLMKLIB"
5540 # checking for ocamldoc
5541 if test -n "$ac_tool_prefix"; then
5542 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
5543 set dummy
${ac_tool_prefix}ocamldoc
; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_path_OCAMLDOC+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5551 ac_cv_path_OCAMLDOC
="$OCAMLDOC" # Let the user override the test with a path.
5554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5558 test -z "$as_dir" && as_dir
=.
5559 for ac_exec_ext
in '' $ac_executable_extensions; do
5560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_path_OCAMLDOC
="$as_dir/$ac_word$ac_exec_ext"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 OCAMLDOC
=$ac_cv_path_OCAMLDOC
5573 if test -n "$OCAMLDOC"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
5575 $as_echo "$OCAMLDOC" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5583 if test -z "$ac_cv_path_OCAMLDOC"; then
5584 ac_pt_OCAMLDOC
=$OCAMLDOC
5585 # Extract the first word of "ocamldoc", so it can be a program name with args.
5586 set dummy ocamldoc
; ac_word
=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_path_ac_pt_OCAMLDOC+:} false
; then :
5590 $as_echo_n "(cached) " >&6
5592 case $ac_pt_OCAMLDOC in
5594 ac_cv_path_ac_pt_OCAMLDOC
="$ac_pt_OCAMLDOC" # Let the user override the test with a path.
5597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5601 test -z "$as_dir" && as_dir
=.
5602 for ac_exec_ext
in '' $ac_executable_extensions; do
5603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_path_ac_pt_OCAMLDOC
="$as_dir/$ac_word$ac_exec_ext"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 ac_pt_OCAMLDOC
=$ac_cv_path_ac_pt_OCAMLDOC
5616 if test -n "$ac_pt_OCAMLDOC"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLDOC" >&5
5618 $as_echo "$ac_pt_OCAMLDOC" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5624 if test "x$ac_pt_OCAMLDOC" = x
; then
5627 case $cross_compiling:$ac_tool_warned in
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5631 ac_tool_warned
=yes ;;
5633 OCAMLDOC
=$ac_pt_OCAMLDOC
5636 OCAMLDOC
="$ac_cv_path_OCAMLDOC"
5640 # checking for ocamlbuild
5641 if test -n "$ac_tool_prefix"; then
5642 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
5643 set dummy
${ac_tool_prefix}ocamlbuild
; ac_word
=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_path_OCAMLBUILD+:} false
; then :
5647 $as_echo_n "(cached) " >&6
5651 ac_cv_path_OCAMLBUILD
="$OCAMLBUILD" # Let the user override the test with a path.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_path_OCAMLBUILD
="$as_dir/$ac_word$ac_exec_ext"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 OCAMLBUILD
=$ac_cv_path_OCAMLBUILD
5673 if test -n "$OCAMLBUILD"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
5675 $as_echo "$OCAMLBUILD" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5683 if test -z "$ac_cv_path_OCAMLBUILD"; then
5684 ac_pt_OCAMLBUILD
=$OCAMLBUILD
5685 # Extract the first word of "ocamlbuild", so it can be a program name with args.
5686 set dummy ocamlbuild
; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_path_ac_pt_OCAMLBUILD+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 case $ac_pt_OCAMLBUILD in
5694 ac_cv_path_ac_pt_OCAMLBUILD
="$ac_pt_OCAMLBUILD" # Let the user override the test with a path.
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_exec_ext
in '' $ac_executable_extensions; do
5703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_path_ac_pt_OCAMLBUILD
="$as_dir/$ac_word$ac_exec_ext"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 ac_pt_OCAMLBUILD
=$ac_cv_path_ac_pt_OCAMLBUILD
5716 if test -n "$ac_pt_OCAMLBUILD"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLBUILD" >&5
5718 $as_echo "$ac_pt_OCAMLBUILD" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5724 if test "x$ac_pt_OCAMLBUILD" = x
; then
5727 case $cross_compiling:$ac_tool_warned in
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5731 ac_tool_warned
=yes ;;
5733 OCAMLBUILD
=$ac_pt_OCAMLBUILD
5736 OCAMLBUILD
="$ac_cv_path_OCAMLBUILD"
5740 { versioncheck
=; unset versioncheck
;}
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the OCaml version is at least 3.10" >&5
5742 $as_echo_n "checking that the OCaml version is at least 3.10... " >&6; }
5743 as_arg_v1
=$OCAMLVERSION
5745 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
5748 versioncheck
=no
;; #(
5750 versioncheck
=yes ;; #(
5752 versioncheck
=yes ;; #(
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $versioncheck" >&5
5757 $as_echo "$versioncheck" >&6; }
5758 OCAMLATLEAST310
=$versioncheck
5761 { versioncheck
=; unset versioncheck
;}
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the OCaml version is at least 3.11" >&5
5763 $as_echo_n "checking that the OCaml version is at least 3.11... " >&6; }
5764 as_arg_v1
=$OCAMLVERSION
5766 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
5769 versioncheck
=no
;; #(
5771 versioncheck
=yes ;; #(
5773 versioncheck
=yes ;; #(
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $versioncheck" >&5
5778 $as_echo "$versioncheck" >&6; }
5779 OCAMLATLEAST311
=$versioncheck
5782 OCAMLCORIG
="$OCAMLC"
5785 if test "x$OCAMLC" = xno
-o "x$OCAMLDEP" = xno
-o "x$OCAMLDOC" = xno
-o "x$OCAMLMKLIB" = xno
; then :
5786 as_fn_error $?
"You must install the OCaml compiler" "$LINENO" 5
5789 if test "x$OCAMLATLEAST310" = xno
; then :
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: a more recent OCaml installation may be required" >&5
5791 $as_echo "$as_me: a more recent OCaml installation may be required" >&6;}
5795 # checking for camlp4
5796 if test -n "$ac_tool_prefix"; then
5797 # Extract the first word of "${ac_tool_prefix}camlp4", so it can be a program name with args.
5798 set dummy
${ac_tool_prefix}camlp4
; ac_word
=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_path_CAMLP4+:} false
; then :
5802 $as_echo_n "(cached) " >&6
5806 ac_cv_path_CAMLP4
="$CAMLP4" # Let the user override the test with a path.
5809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir
=.
5814 for ac_exec_ext
in '' $ac_executable_extensions; do
5815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_path_CAMLP4
="$as_dir/$ac_word$ac_exec_ext"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 CAMLP4
=$ac_cv_path_CAMLP4
5828 if test -n "$CAMLP4"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4" >&5
5830 $as_echo "$CAMLP4" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5838 if test -z "$ac_cv_path_CAMLP4"; then
5839 ac_pt_CAMLP4
=$CAMLP4
5840 # Extract the first word of "camlp4", so it can be a program name with args.
5841 set dummy camlp4
; ac_word
=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_path_ac_pt_CAMLP4+:} false
; then :
5845 $as_echo_n "(cached) " >&6
5847 case $ac_pt_CAMLP4 in
5849 ac_cv_path_ac_pt_CAMLP4
="$ac_pt_CAMLP4" # Let the user override the test with a path.
5852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir
=.
5857 for ac_exec_ext
in '' $ac_executable_extensions; do
5858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5859 ac_cv_path_ac_pt_CAMLP4
="$as_dir/$ac_word$ac_exec_ext"
5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 ac_pt_CAMLP4
=$ac_cv_path_ac_pt_CAMLP4
5871 if test -n "$ac_pt_CAMLP4"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4" >&5
5873 $as_echo "$ac_pt_CAMLP4" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5879 if test "x$ac_pt_CAMLP4" = x
; then
5882 case $cross_compiling:$ac_tool_warned in
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5886 ac_tool_warned
=yes ;;
5888 CAMLP4
=$ac_pt_CAMLP4
5891 CAMLP4
="$ac_cv_path_CAMLP4"
5894 if test "$CAMLP4" != "no"; then
5895 TMPVERSION
=`$CAMLP4 -v 2>&1| sed -n -e 's|.*version *\(.*\)$|\1|p'`
5896 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc" >&5
5898 $as_echo "versions differs from ocamlc" >&6; }
5904 # checking for companion tools
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}camlp4boot", so it can be a program name with args.
5907 set dummy
${ac_tool_prefix}camlp4boot
; ac_word
=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_path_CAMLP4BOOT+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5915 ac_cv_path_CAMLP4BOOT
="$CAMLP4BOOT" # Let the user override the test with a path.
5918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir
=.
5923 for ac_exec_ext
in '' $ac_executable_extensions; do
5924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_path_CAMLP4BOOT
="$as_dir/$ac_word$ac_exec_ext"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 CAMLP4BOOT
=$ac_cv_path_CAMLP4BOOT
5937 if test -n "$CAMLP4BOOT"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4BOOT" >&5
5939 $as_echo "$CAMLP4BOOT" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 if test -z "$ac_cv_path_CAMLP4BOOT"; then
5948 ac_pt_CAMLP4BOOT
=$CAMLP4BOOT
5949 # Extract the first word of "camlp4boot", so it can be a program name with args.
5950 set dummy camlp4boot
; ac_word
=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_path_ac_pt_CAMLP4BOOT+:} false
; then :
5954 $as_echo_n "(cached) " >&6
5956 case $ac_pt_CAMLP4BOOT in
5958 ac_cv_path_ac_pt_CAMLP4BOOT
="$ac_pt_CAMLP4BOOT" # Let the user override the test with a path.
5961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir
=.
5966 for ac_exec_ext
in '' $ac_executable_extensions; do
5967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_path_ac_pt_CAMLP4BOOT
="$as_dir/$ac_word$ac_exec_ext"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 ac_pt_CAMLP4BOOT
=$ac_cv_path_ac_pt_CAMLP4BOOT
5980 if test -n "$ac_pt_CAMLP4BOOT"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4BOOT" >&5
5982 $as_echo "$ac_pt_CAMLP4BOOT" >&6; }
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5988 if test "x$ac_pt_CAMLP4BOOT" = x
; then
5991 case $cross_compiling:$ac_tool_warned in
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5995 ac_tool_warned
=yes ;;
5997 CAMLP4BOOT
=$ac_pt_CAMLP4BOOT
6000 CAMLP4BOOT
="$ac_cv_path_CAMLP4BOOT"
6003 if test -n "$ac_tool_prefix"; then
6004 # Extract the first word of "${ac_tool_prefix}camlp4o", so it can be a program name with args.
6005 set dummy
${ac_tool_prefix}camlp4o
; ac_word
=$2
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 $as_echo_n "checking for $ac_word... " >&6; }
6008 if ${ac_cv_path_CAMLP4O+:} false
; then :
6009 $as_echo_n "(cached) " >&6
6013 ac_cv_path_CAMLP4O
="$CAMLP4O" # Let the user override the test with a path.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir
=.
6021 for ac_exec_ext
in '' $ac_executable_extensions; do
6022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6023 ac_cv_path_CAMLP4O
="$as_dir/$ac_word$ac_exec_ext"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 CAMLP4O
=$ac_cv_path_CAMLP4O
6035 if test -n "$CAMLP4O"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4O" >&5
6037 $as_echo "$CAMLP4O" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6045 if test -z "$ac_cv_path_CAMLP4O"; then
6046 ac_pt_CAMLP4O
=$CAMLP4O
6047 # Extract the first word of "camlp4o", so it can be a program name with args.
6048 set dummy camlp4o
; ac_word
=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_path_ac_pt_CAMLP4O+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 case $ac_pt_CAMLP4O in
6056 ac_cv_path_ac_pt_CAMLP4O
="$ac_pt_CAMLP4O" # Let the user override the test with a path.
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_path_ac_pt_CAMLP4O
="$as_dir/$ac_word$ac_exec_ext"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 ac_pt_CAMLP4O
=$ac_cv_path_ac_pt_CAMLP4O
6078 if test -n "$ac_pt_CAMLP4O"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4O" >&5
6080 $as_echo "$ac_pt_CAMLP4O" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6086 if test "x$ac_pt_CAMLP4O" = x
; then
6089 case $cross_compiling:$ac_tool_warned in
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned
=yes ;;
6095 CAMLP4O
=$ac_pt_CAMLP4O
6098 CAMLP4O
="$ac_cv_path_CAMLP4O"
6101 if test -n "$ac_tool_prefix"; then
6102 # Extract the first word of "${ac_tool_prefix}camlp4of", so it can be a program name with args.
6103 set dummy
${ac_tool_prefix}camlp4of
; ac_word
=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_path_CAMLP4OF+:} false
; then :
6107 $as_echo_n "(cached) " >&6
6111 ac_cv_path_CAMLP4OF
="$CAMLP4OF" # Let the user override the test with a path.
6114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir
=.
6119 for ac_exec_ext
in '' $ac_executable_extensions; do
6120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_path_CAMLP4OF
="$as_dir/$ac_word$ac_exec_ext"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 CAMLP4OF
=$ac_cv_path_CAMLP4OF
6133 if test -n "$CAMLP4OF"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4OF" >&5
6135 $as_echo "$CAMLP4OF" >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_path_CAMLP4OF"; then
6144 ac_pt_CAMLP4OF
=$CAMLP4OF
6145 # Extract the first word of "camlp4of", so it can be a program name with args.
6146 set dummy camlp4of
; ac_word
=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_path_ac_pt_CAMLP4OF+:} false
; then :
6150 $as_echo_n "(cached) " >&6
6152 case $ac_pt_CAMLP4OF in
6154 ac_cv_path_ac_pt_CAMLP4OF
="$ac_pt_CAMLP4OF" # Let the user override the test with a path.
6157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir
=.
6162 for ac_exec_ext
in '' $ac_executable_extensions; do
6163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6164 ac_cv_path_ac_pt_CAMLP4OF
="$as_dir/$ac_word$ac_exec_ext"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 ac_pt_CAMLP4OF
=$ac_cv_path_ac_pt_CAMLP4OF
6176 if test -n "$ac_pt_CAMLP4OF"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4OF" >&5
6178 $as_echo "$ac_pt_CAMLP4OF" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6184 if test "x$ac_pt_CAMLP4OF" = x
; then
6187 case $cross_compiling:$ac_tool_warned in
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191 ac_tool_warned
=yes ;;
6193 CAMLP4OF
=$ac_pt_CAMLP4OF
6196 CAMLP4OF
="$ac_cv_path_CAMLP4OF"
6199 if test -n "$ac_tool_prefix"; then
6200 # Extract the first word of "${ac_tool_prefix}camlp4oof", so it can be a program name with args.
6201 set dummy
${ac_tool_prefix}camlp4oof
; ac_word
=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_path_CAMLP4OOF+:} false
; then :
6205 $as_echo_n "(cached) " >&6
6209 ac_cv_path_CAMLP4OOF
="$CAMLP4OOF" # Let the user override the test with a path.
6212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir
=.
6217 for ac_exec_ext
in '' $ac_executable_extensions; do
6218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6219 ac_cv_path_CAMLP4OOF
="$as_dir/$ac_word$ac_exec_ext"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 CAMLP4OOF
=$ac_cv_path_CAMLP4OOF
6231 if test -n "$CAMLP4OOF"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4OOF" >&5
6233 $as_echo "$CAMLP4OOF" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6241 if test -z "$ac_cv_path_CAMLP4OOF"; then
6242 ac_pt_CAMLP4OOF
=$CAMLP4OOF
6243 # Extract the first word of "camlp4oof", so it can be a program name with args.
6244 set dummy camlp4oof
; ac_word
=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_path_ac_pt_CAMLP4OOF+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6250 case $ac_pt_CAMLP4OOF in
6252 ac_cv_path_ac_pt_CAMLP4OOF
="$ac_pt_CAMLP4OOF" # Let the user override the test with a path.
6255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir
=.
6260 for ac_exec_ext
in '' $ac_executable_extensions; do
6261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6262 ac_cv_path_ac_pt_CAMLP4OOF
="$as_dir/$ac_word$ac_exec_ext"
6263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_pt_CAMLP4OOF
=$ac_cv_path_ac_pt_CAMLP4OOF
6274 if test -n "$ac_pt_CAMLP4OOF"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4OOF" >&5
6276 $as_echo "$ac_pt_CAMLP4OOF" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6282 if test "x$ac_pt_CAMLP4OOF" = x
; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned
=yes ;;
6291 CAMLP4OOF
=$ac_pt_CAMLP4OOF
6294 CAMLP4OOF
="$ac_cv_path_CAMLP4OOF"
6297 if test -n "$ac_tool_prefix"; then
6298 # Extract the first word of "${ac_tool_prefix}camlp4orf", so it can be a program name with args.
6299 set dummy
${ac_tool_prefix}camlp4orf
; ac_word
=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_path_CAMLP4ORF+:} false
; then :
6303 $as_echo_n "(cached) " >&6
6307 ac_cv_path_CAMLP4ORF
="$CAMLP4ORF" # Let the user override the test with a path.
6310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir
=.
6315 for ac_exec_ext
in '' $ac_executable_extensions; do
6316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_path_CAMLP4ORF
="$as_dir/$ac_word$ac_exec_ext"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 CAMLP4ORF
=$ac_cv_path_CAMLP4ORF
6329 if test -n "$CAMLP4ORF"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4ORF" >&5
6331 $as_echo "$CAMLP4ORF" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6339 if test -z "$ac_cv_path_CAMLP4ORF"; then
6340 ac_pt_CAMLP4ORF
=$CAMLP4ORF
6341 # Extract the first word of "camlp4orf", so it can be a program name with args.
6342 set dummy camlp4orf
; ac_word
=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if ${ac_cv_path_ac_pt_CAMLP4ORF+:} false
; then :
6346 $as_echo_n "(cached) " >&6
6348 case $ac_pt_CAMLP4ORF in
6350 ac_cv_path_ac_pt_CAMLP4ORF
="$ac_pt_CAMLP4ORF" # Let the user override the test with a path.
6353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6357 test -z "$as_dir" && as_dir
=.
6358 for ac_exec_ext
in '' $ac_executable_extensions; do
6359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_path_ac_pt_CAMLP4ORF
="$as_dir/$ac_word$ac_exec_ext"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 ac_pt_CAMLP4ORF
=$ac_cv_path_ac_pt_CAMLP4ORF
6372 if test -n "$ac_pt_CAMLP4ORF"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4ORF" >&5
6374 $as_echo "$ac_pt_CAMLP4ORF" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6377 $as_echo "no" >&6; }
6380 if test "x$ac_pt_CAMLP4ORF" = x
; then
6383 case $cross_compiling:$ac_tool_warned in
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6387 ac_tool_warned
=yes ;;
6389 CAMLP4ORF
=$ac_pt_CAMLP4ORF
6392 CAMLP4ORF
="$ac_cv_path_CAMLP4ORF"
6395 if test -n "$ac_tool_prefix"; then
6396 # Extract the first word of "${ac_tool_prefix}camlp4prof", so it can be a program name with args.
6397 set dummy
${ac_tool_prefix}camlp4prof
; ac_word
=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_path_CAMLP4PROF+:} false
; then :
6401 $as_echo_n "(cached) " >&6
6405 ac_cv_path_CAMLP4PROF
="$CAMLP4PROF" # Let the user override the test with a path.
6408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir
=.
6413 for ac_exec_ext
in '' $ac_executable_extensions; do
6414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_path_CAMLP4PROF
="$as_dir/$ac_word$ac_exec_ext"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 CAMLP4PROF
=$ac_cv_path_CAMLP4PROF
6427 if test -n "$CAMLP4PROF"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4PROF" >&5
6429 $as_echo "$CAMLP4PROF" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6437 if test -z "$ac_cv_path_CAMLP4PROF"; then
6438 ac_pt_CAMLP4PROF
=$CAMLP4PROF
6439 # Extract the first word of "camlp4prof", so it can be a program name with args.
6440 set dummy camlp4prof
; ac_word
=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_path_ac_pt_CAMLP4PROF+:} false
; then :
6444 $as_echo_n "(cached) " >&6
6446 case $ac_pt_CAMLP4PROF in
6448 ac_cv_path_ac_pt_CAMLP4PROF
="$ac_pt_CAMLP4PROF" # Let the user override the test with a path.
6451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir
=.
6456 for ac_exec_ext
in '' $ac_executable_extensions; do
6457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_path_ac_pt_CAMLP4PROF
="$as_dir/$ac_word$ac_exec_ext"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6469 ac_pt_CAMLP4PROF
=$ac_cv_path_ac_pt_CAMLP4PROF
6470 if test -n "$ac_pt_CAMLP4PROF"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4PROF" >&5
6472 $as_echo "$ac_pt_CAMLP4PROF" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6478 if test "x$ac_pt_CAMLP4PROF" = x
; then
6481 case $cross_compiling:$ac_tool_warned in
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6485 ac_tool_warned
=yes ;;
6487 CAMLP4PROF
=$ac_pt_CAMLP4PROF
6490 CAMLP4PROF
="$ac_cv_path_CAMLP4PROF"
6493 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "${ac_tool_prefix}camlp4r", so it can be a program name with args.
6495 set dummy
${ac_tool_prefix}camlp4r
; ac_word
=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if ${ac_cv_path_CAMLP4R+:} false
; then :
6499 $as_echo_n "(cached) " >&6
6503 ac_cv_path_CAMLP4R
="$CAMLP4R" # Let the user override the test with a path.
6506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6510 test -z "$as_dir" && as_dir
=.
6511 for ac_exec_ext
in '' $ac_executable_extensions; do
6512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6513 ac_cv_path_CAMLP4R
="$as_dir/$ac_word$ac_exec_ext"
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 CAMLP4R
=$ac_cv_path_CAMLP4R
6525 if test -n "$CAMLP4R"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4R" >&5
6527 $as_echo "$CAMLP4R" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6535 if test -z "$ac_cv_path_CAMLP4R"; then
6536 ac_pt_CAMLP4R
=$CAMLP4R
6537 # Extract the first word of "camlp4r", so it can be a program name with args.
6538 set dummy camlp4r
; ac_word
=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_path_ac_pt_CAMLP4R+:} false
; then :
6542 $as_echo_n "(cached) " >&6
6544 case $ac_pt_CAMLP4R in
6546 ac_cv_path_ac_pt_CAMLP4R
="$ac_pt_CAMLP4R" # Let the user override the test with a path.
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir
=.
6554 for ac_exec_ext
in '' $ac_executable_extensions; do
6555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_path_ac_pt_CAMLP4R
="$as_dir/$ac_word$ac_exec_ext"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 ac_pt_CAMLP4R
=$ac_cv_path_ac_pt_CAMLP4R
6568 if test -n "$ac_pt_CAMLP4R"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4R" >&5
6570 $as_echo "$ac_pt_CAMLP4R" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6576 if test "x$ac_pt_CAMLP4R" = x
; then
6579 case $cross_compiling:$ac_tool_warned in
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned
=yes ;;
6585 CAMLP4R
=$ac_pt_CAMLP4R
6588 CAMLP4R
="$ac_cv_path_CAMLP4R"
6591 if test -n "$ac_tool_prefix"; then
6592 # Extract the first word of "${ac_tool_prefix}camlp4rf", so it can be a program name with args.
6593 set dummy
${ac_tool_prefix}camlp4rf
; ac_word
=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_path_CAMLP4RF+:} false
; then :
6597 $as_echo_n "(cached) " >&6
6601 ac_cv_path_CAMLP4RF
="$CAMLP4RF" # Let the user override the test with a path.
6604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6608 test -z "$as_dir" && as_dir
=.
6609 for ac_exec_ext
in '' $ac_executable_extensions; do
6610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6611 ac_cv_path_CAMLP4RF
="$as_dir/$ac_word$ac_exec_ext"
6612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 CAMLP4RF
=$ac_cv_path_CAMLP4RF
6623 if test -n "$CAMLP4RF"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4RF" >&5
6625 $as_echo "$CAMLP4RF" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6633 if test -z "$ac_cv_path_CAMLP4RF"; then
6634 ac_pt_CAMLP4RF
=$CAMLP4RF
6635 # Extract the first word of "camlp4rf", so it can be a program name with args.
6636 set dummy camlp4rf
; ac_word
=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_path_ac_pt_CAMLP4RF+:} false
; then :
6640 $as_echo_n "(cached) " >&6
6642 case $ac_pt_CAMLP4RF in
6644 ac_cv_path_ac_pt_CAMLP4RF
="$ac_pt_CAMLP4RF" # Let the user override the test with a path.
6647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir
=.
6652 for ac_exec_ext
in '' $ac_executable_extensions; do
6653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6654 ac_cv_path_ac_pt_CAMLP4RF
="$as_dir/$ac_word$ac_exec_ext"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 ac_pt_CAMLP4RF
=$ac_cv_path_ac_pt_CAMLP4RF
6666 if test -n "$ac_pt_CAMLP4RF"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4RF" >&5
6668 $as_echo "$ac_pt_CAMLP4RF" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6674 if test "x$ac_pt_CAMLP4RF" = x
; then
6677 case $cross_compiling:$ac_tool_warned in
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6681 ac_tool_warned
=yes ;;
6683 CAMLP4RF
=$ac_pt_CAMLP4RF
6686 CAMLP4RF
="$ac_cv_path_CAMLP4RF"
6700 # Check whether --with-ocamllex was given.
6701 if test "${with_ocamllex+set}" = set; then :
6702 withval
=$with_ocamllex;
6705 with_OCAMLLEX
="$with_ocamllex"
6707 if test -n "$with_OCAMLLEX" -a "x$with_OCAMLLEX" != xno
-a "x$with_OCAMLLEX" != xyes
; then :
6708 OCAMLLEX
="$with_OCAMLLEX"
6717 if test "x$with_OCAMLLEX" = xno
; then :
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamllex is disabled explicitly" >&5
6719 $as_echo "$as_me: ocamllex is disabled explicitly" >&6;}
6724 if test "x$OCAMLLEX" = xpkg-config
-a "xOCAMLLEX" = xPKG_CONFIG
; then :
6727 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6730 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
6734 $as_echo_n "(cached) " >&6
6738 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir
=.
6746 for ac_exec_ext
in '' $ac_executable_extensions; do
6747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6760 if test -n "$PKG_CONFIG"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6762 $as_echo "$PKG_CONFIG" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6770 if test -z "$ac_cv_path_PKG_CONFIG"; then
6771 ac_pt_PKG_CONFIG
=$PKG_CONFIG
6772 # Extract the first word of "pkg-config", so it can be a program name with args.
6773 set dummy pkg-config
; ac_word
=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
6777 $as_echo_n "(cached) " >&6
6779 case $ac_pt_PKG_CONFIG in
6781 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir
=.
6789 for ac_exec_ext
in '' $ac_executable_extensions; do
6790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6791 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
6803 if test -n "$ac_pt_PKG_CONFIG"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6805 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6811 if test "x$ac_pt_PKG_CONFIG" = x
; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned
=yes ;;
6820 PKG_CONFIG
=$ac_pt_PKG_CONFIG
6823 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
6827 if test -n "$PKG_CONFIG"; then
6828 _pkg_min_version
=0.9.0
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6830 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6831 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6833 $as_echo "yes" >&6; }
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836 $as_echo "no" >&6; }
6842 elif test "x$OCAMLLEX" = xocamllex
-a "xOCAMLLEX" = xOCAMLLEX
; then :
6843 # checking for ocamllex
6844 if test -n "$ac_tool_prefix"; then
6845 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
6846 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848 $as_echo_n "checking for $ac_word... " >&6; }
6849 if ${ac_cv_path_OCAMLLEX+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6854 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 OCAMLLEX
=$ac_cv_path_OCAMLLEX
6876 if test -n "$OCAMLLEX"; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
6878 $as_echo "$OCAMLLEX" >&6; }
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6881 $as_echo "no" >&6; }
6886 if test -z "$ac_cv_path_OCAMLLEX"; then
6887 ac_pt_OCAMLLEX
=$OCAMLLEX
6888 # Extract the first word of "ocamllex", so it can be a program name with args.
6889 set dummy ocamllex
; ac_word
=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
6893 $as_echo_n "(cached) " >&6
6895 case $ac_pt_OCAMLLEX in
6897 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir
=.
6905 for ac_exec_ext
in '' $ac_executable_extensions; do
6906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6907 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
6919 if test -n "$ac_pt_OCAMLLEX"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
6921 $as_echo "$ac_pt_OCAMLLEX" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6927 if test "x$ac_pt_OCAMLLEX" = x
; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6934 ac_tool_warned
=yes ;;
6936 OCAMLLEX
=$ac_pt_OCAMLLEX
6939 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
6942 if test "$OCAMLLEX" != "no"; then
6943 if test -n "$ac_tool_prefix"; then
6944 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
6945 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
6949 $as_echo_n "(cached) " >&6
6951 case $OCAMLLEXDOTOPT in
6953 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
6956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir
=.
6961 for ac_exec_ext
in '' $ac_executable_extensions; do
6962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6963 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
6975 if test -n "$OCAMLLEXDOTOPT"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
6977 $as_echo "$OCAMLLEXDOTOPT" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6985 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
6986 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
6987 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
6988 set dummy ocamllex.opt
; ac_word
=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
6992 $as_echo_n "(cached) " >&6
6994 case $ac_pt_OCAMLLEXDOTOPT in
6996 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
6999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir
=.
7004 for ac_exec_ext
in '' $ac_executable_extensions; do
7005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7006 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
7007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
7018 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
7020 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7026 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
7029 case $cross_compiling:$ac_tool_warned in
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7033 ac_tool_warned
=yes ;;
7035 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
7038 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
7041 if test "$OCAMLLEXDOTOPT" != "no"; then
7042 OCAMLLEX
=$OCAMLLEXDOTOPT
7048 elif test "x$OCAMLLEX" = xocamlyacc
-a "xOCAMLLEX" = xOCAMLYACC
; then :
7049 if test -n "$ac_tool_prefix"; then
7050 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
7051 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_path_OCAMLYACC+:} false
; then :
7055 $as_echo_n "(cached) " >&6
7059 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
7062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir
=.
7067 for ac_exec_ext
in '' $ac_executable_extensions; do
7068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7069 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 OCAMLYACC
=$ac_cv_path_OCAMLYACC
7081 if test -n "$OCAMLYACC"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
7083 $as_echo "$OCAMLYACC" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7091 if test -z "$ac_cv_path_OCAMLYACC"; then
7092 ac_pt_OCAMLYACC
=$OCAMLYACC
7093 # Extract the first word of "ocamlyacc", so it can be a program name with args.
7094 set dummy ocamlyacc
; ac_word
=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
7098 $as_echo_n "(cached) " >&6
7100 case $ac_pt_OCAMLYACC in
7102 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
7105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir
=.
7110 for ac_exec_ext
in '' $ac_executable_extensions; do
7111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7112 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
7124 if test -n "$ac_pt_OCAMLYACC"; then
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
7126 $as_echo "$ac_pt_OCAMLYACC" >&6; }
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129 $as_echo "no" >&6; }
7132 if test "x$ac_pt_OCAMLYACC" = x
; then
7135 case $cross_compiling:$ac_tool_warned in
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139 ac_tool_warned
=yes ;;
7141 OCAMLYACC
=$ac_pt_OCAMLYACC
7144 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}[$]OCAMLLEX", so it can be a program name with args.
7153 set dummy
${ac_tool_prefix}$OCAMLLEX; ac_word
=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if ${ac_cv_path_OCAMLLEX+:} false
; then :
7157 $as_echo_n "(cached) " >&6
7161 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
7164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir
=.
7169 for ac_exec_ext
in '' $ac_executable_extensions; do
7170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7171 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 OCAMLLEX
=$ac_cv_path_OCAMLLEX
7183 if test -n "$OCAMLLEX"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
7185 $as_echo "$OCAMLLEX" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7193 if test -z "$ac_cv_path_OCAMLLEX"; then
7194 ac_pt_OCAMLLEX
=$OCAMLLEX
7195 # Extract the first word of "[$]OCAMLLEX", so it can be a program name with args.
7196 set dummy
$OCAMLLEX; ac_word
=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
7200 $as_echo_n "(cached) " >&6
7202 case $ac_pt_OCAMLLEX in
7204 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
7207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7211 test -z "$as_dir" && as_dir
=.
7212 for ac_exec_ext
in '' $ac_executable_extensions; do
7213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7214 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
7226 if test -n "$ac_pt_OCAMLLEX"; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
7228 $as_echo "$ac_pt_OCAMLLEX" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7234 if test "x$ac_pt_OCAMLLEX" = x
; then
7237 case $cross_compiling:$ac_tool_warned in
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7241 ac_tool_warned
=yes ;;
7243 OCAMLLEX
=$ac_pt_OCAMLLEX
7246 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
7255 if test -z "$OCAMLLEX" -o "x$OCAMLLEX" = xno
; then :
7256 if test "x$with_OCAMLLEX" = xyes
; then :
7257 as_fn_error $?
"--with=ocamllex is given explicitly but not found" "$LINENO" 5
7261 if test -n ""; then :
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamllex not found. Trying substitute ." >&5
7263 $as_echo "$as_me: ocamllex not found. Trying substitute ." >&6;}
7266 if test "xocamllex" = xpkg-config
-a "xOCAMLLEX" = xPKG_CONFIG
; then :
7269 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7270 if test -n "$ac_tool_prefix"; then
7271 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7272 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7276 $as_echo_n "(cached) " >&6
7280 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7287 test -z "$as_dir" && as_dir
=.
7288 for ac_exec_ext
in '' $ac_executable_extensions; do
7289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7290 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7302 if test -n "$PKG_CONFIG"; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7304 $as_echo "$PKG_CONFIG" >&6; }
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 $as_echo "no" >&6; }
7312 if test -z "$ac_cv_path_PKG_CONFIG"; then
7313 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7314 # Extract the first word of "pkg-config", so it can be a program name with args.
7315 set dummy pkg-config
; ac_word
=$2
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 $as_echo_n "checking for $ac_word... " >&6; }
7318 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7319 $as_echo_n "(cached) " >&6
7321 case $ac_pt_PKG_CONFIG in
7323 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir
=.
7331 for ac_exec_ext
in '' $ac_executable_extensions; do
7332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7345 if test -n "$ac_pt_PKG_CONFIG"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7347 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7353 if test "x$ac_pt_PKG_CONFIG" = x
; then
7356 case $cross_compiling:$ac_tool_warned in
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7360 ac_tool_warned
=yes ;;
7362 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7365 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7369 if test -n "$PKG_CONFIG"; then
7370 _pkg_min_version
=0.9.0
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7372 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7373 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7375 $as_echo "yes" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7384 elif test "xocamllex" = xocamllex
-a "xOCAMLLEX" = xOCAMLLEX
; then :
7385 # checking for ocamllex
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
7388 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_path_OCAMLLEX+:} false
; then :
7392 $as_echo_n "(cached) " >&6
7396 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
7399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 test -z "$as_dir" && as_dir
=.
7404 for ac_exec_ext
in '' $ac_executable_extensions; do
7405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7406 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 OCAMLLEX
=$ac_cv_path_OCAMLLEX
7418 if test -n "$OCAMLLEX"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
7420 $as_echo "$OCAMLLEX" >&6; }
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7428 if test -z "$ac_cv_path_OCAMLLEX"; then
7429 ac_pt_OCAMLLEX
=$OCAMLLEX
7430 # Extract the first word of "ocamllex", so it can be a program name with args.
7431 set dummy ocamllex
; ac_word
=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
7435 $as_echo_n "(cached) " >&6
7437 case $ac_pt_OCAMLLEX in
7439 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
7442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir
=.
7447 for ac_exec_ext
in '' $ac_executable_extensions; do
7448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
7461 if test -n "$ac_pt_OCAMLLEX"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
7463 $as_echo "$ac_pt_OCAMLLEX" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_pt_OCAMLLEX" = x
; then
7472 case $cross_compiling:$ac_tool_warned in
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned
=yes ;;
7478 OCAMLLEX
=$ac_pt_OCAMLLEX
7481 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
7484 if test "$OCAMLLEX" != "no"; then
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
7487 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
7491 $as_echo_n "(cached) " >&6
7493 case $OCAMLLEXDOTOPT in
7495 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
7498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7502 test -z "$as_dir" && as_dir
=.
7503 for ac_exec_ext
in '' $ac_executable_extensions; do
7504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7505 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
7517 if test -n "$OCAMLLEXDOTOPT"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
7519 $as_echo "$OCAMLLEXDOTOPT" >&6; }
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7527 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
7528 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
7529 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
7530 set dummy ocamllex.opt
; ac_word
=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
7534 $as_echo_n "(cached) " >&6
7536 case $ac_pt_OCAMLLEXDOTOPT in
7538 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
7541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7545 test -z "$as_dir" && as_dir
=.
7546 for ac_exec_ext
in '' $ac_executable_extensions; do
7547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
7560 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
7562 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7568 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
7571 case $cross_compiling:$ac_tool_warned in
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7575 ac_tool_warned
=yes ;;
7577 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
7580 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
7583 if test "$OCAMLLEXDOTOPT" != "no"; then
7584 OCAMLLEX
=$OCAMLLEXDOTOPT
7590 elif test "xocamllex" = xocamlyacc
-a "xOCAMLLEX" = xOCAMLYACC
; then :
7591 if test -n "$ac_tool_prefix"; then
7592 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
7593 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595 $as_echo_n "checking for $ac_word... " >&6; }
7596 if ${ac_cv_path_OCAMLYACC+:} false
; then :
7597 $as_echo_n "(cached) " >&6
7601 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
7604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7608 test -z "$as_dir" && as_dir
=.
7609 for ac_exec_ext
in '' $ac_executable_extensions; do
7610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7611 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
7612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 OCAMLYACC
=$ac_cv_path_OCAMLYACC
7623 if test -n "$OCAMLYACC"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
7625 $as_echo "$OCAMLYACC" >&6; }
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }
7633 if test -z "$ac_cv_path_OCAMLYACC"; then
7634 ac_pt_OCAMLYACC
=$OCAMLYACC
7635 # Extract the first word of "ocamlyacc", so it can be a program name with args.
7636 set dummy ocamlyacc
; ac_word
=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
7640 $as_echo_n "(cached) " >&6
7642 case $ac_pt_OCAMLYACC in
7644 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
7647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir
=.
7652 for ac_exec_ext
in '' $ac_executable_extensions; do
7653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7654 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
7666 if test -n "$ac_pt_OCAMLYACC"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
7668 $as_echo "$ac_pt_OCAMLYACC" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7674 if test "x$ac_pt_OCAMLYACC" = x
; then
7677 case $cross_compiling:$ac_tool_warned in
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7681 ac_tool_warned
=yes ;;
7683 OCAMLYACC
=$ac_pt_OCAMLYACC
7686 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
7693 if test -n "$ac_tool_prefix"; then
7694 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
7695 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7697 $as_echo_n "checking for $ac_word... " >&6; }
7698 if ${ac_cv_path_OCAMLLEX+:} false
; then :
7699 $as_echo_n "(cached) " >&6
7703 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
7706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir
=.
7711 for ac_exec_ext
in '' $ac_executable_extensions; do
7712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7713 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 OCAMLLEX
=$ac_cv_path_OCAMLLEX
7725 if test -n "$OCAMLLEX"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
7727 $as_echo "$OCAMLLEX" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7735 if test -z "$ac_cv_path_OCAMLLEX"; then
7736 ac_pt_OCAMLLEX
=$OCAMLLEX
7737 # Extract the first word of "ocamllex", so it can be a program name with args.
7738 set dummy ocamllex
; ac_word
=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
7742 $as_echo_n "(cached) " >&6
7744 case $ac_pt_OCAMLLEX in
7746 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
7749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7753 test -z "$as_dir" && as_dir
=.
7754 for ac_exec_ext
in '' $ac_executable_extensions; do
7755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7767 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
7768 if test -n "$ac_pt_OCAMLLEX"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
7770 $as_echo "$ac_pt_OCAMLLEX" >&6; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7773 $as_echo "no" >&6; }
7776 if test "x$ac_pt_OCAMLLEX" = x
; then
7779 case $cross_compiling:$ac_tool_warned in
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7783 ac_tool_warned
=yes ;;
7785 OCAMLLEX
=$ac_pt_OCAMLLEX
7788 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
7794 SUBSTITUTED_OCAMLLEX
=yes
7801 if test -z "$OCAMLLEX"; then :
7808 # Check whether --with-ocamlyacc was given.
7809 if test "${with_ocamlyacc+set}" = set; then :
7810 withval
=$with_ocamlyacc;
7813 with_OCAMLYACC
="$with_ocamlyacc"
7815 if test -n "$with_OCAMLYACC" -a "x$with_OCAMLYACC" != xno
-a "x$with_OCAMLYACC" != xyes
; then :
7816 OCAMLYACC
="$with_OCAMLYACC"
7820 OCAMLYACC
="ocamlyacc"
7825 if test "x$with_OCAMLYACC" = xno
; then :
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlyacc is disabled explicitly" >&5
7827 $as_echo "$as_me: ocamlyacc is disabled explicitly" >&6;}
7832 if test "x$OCAMLYACC" = xpkg-config
-a "xOCAMLYACC" = xPKG_CONFIG
; then :
7835 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7836 if test -n "$ac_tool_prefix"; then
7837 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7838 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840 $as_echo_n "checking for $ac_word... " >&6; }
7841 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7842 $as_echo_n "(cached) " >&6
7846 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir
=.
7854 for ac_exec_ext
in '' $ac_executable_extensions; do
7855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7856 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7868 if test -n "$PKG_CONFIG"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7870 $as_echo "$PKG_CONFIG" >&6; }
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7878 if test -z "$ac_cv_path_PKG_CONFIG"; then
7879 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7880 # Extract the first word of "pkg-config", so it can be a program name with args.
7881 set dummy pkg-config
; ac_word
=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7883 $as_echo_n "checking for $ac_word... " >&6; }
7884 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7885 $as_echo_n "(cached) " >&6
7887 case $ac_pt_PKG_CONFIG in
7889 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir
=.
7897 for ac_exec_ext
in '' $ac_executable_extensions; do
7898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7911 if test -n "$ac_pt_PKG_CONFIG"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7913 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7919 if test "x$ac_pt_PKG_CONFIG" = x
; then
7922 case $cross_compiling:$ac_tool_warned in
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926 ac_tool_warned
=yes ;;
7928 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7931 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7935 if test -n "$PKG_CONFIG"; then
7936 _pkg_min_version
=0.9.0
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7938 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7939 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7941 $as_echo "yes" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7950 elif test "x$OCAMLYACC" = xocamllex
-a "xOCAMLYACC" = xOCAMLLEX
; then :
7951 # checking for ocamllex
7952 if test -n "$ac_tool_prefix"; then
7953 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
7954 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_path_OCAMLLEX+:} false
; then :
7958 $as_echo_n "(cached) " >&6
7962 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
7965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir
=.
7970 for ac_exec_ext
in '' $ac_executable_extensions; do
7971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 OCAMLLEX
=$ac_cv_path_OCAMLLEX
7984 if test -n "$OCAMLLEX"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
7986 $as_echo "$OCAMLLEX" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7994 if test -z "$ac_cv_path_OCAMLLEX"; then
7995 ac_pt_OCAMLLEX
=$OCAMLLEX
7996 # Extract the first word of "ocamllex", so it can be a program name with args.
7997 set dummy ocamllex
; ac_word
=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
8001 $as_echo_n "(cached) " >&6
8003 case $ac_pt_OCAMLLEX in
8005 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
8008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir
=.
8013 for ac_exec_ext
in '' $ac_executable_extensions; do
8014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8026 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
8027 if test -n "$ac_pt_OCAMLLEX"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
8029 $as_echo "$ac_pt_OCAMLLEX" >&6; }
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8035 if test "x$ac_pt_OCAMLLEX" = x
; then
8038 case $cross_compiling:$ac_tool_warned in
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8042 ac_tool_warned
=yes ;;
8044 OCAMLLEX
=$ac_pt_OCAMLLEX
8047 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
8050 if test "$OCAMLLEX" != "no"; then
8051 if test -n "$ac_tool_prefix"; then
8052 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
8053 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
8057 $as_echo_n "(cached) " >&6
8059 case $OCAMLLEXDOTOPT in
8061 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
8064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8068 test -z "$as_dir" && as_dir
=.
8069 for ac_exec_ext
in '' $ac_executable_extensions; do
8070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
8083 if test -n "$OCAMLLEXDOTOPT"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
8085 $as_echo "$OCAMLLEXDOTOPT" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8093 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
8094 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
8095 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
8096 set dummy ocamllex.opt
; ac_word
=$2
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098 $as_echo_n "checking for $ac_word... " >&6; }
8099 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
8100 $as_echo_n "(cached) " >&6
8102 case $ac_pt_OCAMLLEXDOTOPT in
8104 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
8107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8111 test -z "$as_dir" && as_dir
=.
8112 for ac_exec_ext
in '' $ac_executable_extensions; do
8113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8114 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
8126 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
8128 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8134 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
8137 case $cross_compiling:$ac_tool_warned in
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8141 ac_tool_warned
=yes ;;
8143 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
8146 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
8149 if test "$OCAMLLEXDOTOPT" != "no"; then
8150 OCAMLLEX
=$OCAMLLEXDOTOPT
8156 elif test "x$OCAMLYACC" = xocamlyacc
-a "xOCAMLYACC" = xOCAMLYACC
; then :
8157 if test -n "$ac_tool_prefix"; then
8158 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
8159 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8161 $as_echo_n "checking for $ac_word... " >&6; }
8162 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8163 $as_echo_n "(cached) " >&6
8167 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8174 test -z "$as_dir" && as_dir
=.
8175 for ac_exec_ext
in '' $ac_executable_extensions; do
8176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8177 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8189 if test -n "$OCAMLYACC"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8191 $as_echo "$OCAMLYACC" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8199 if test -z "$ac_cv_path_OCAMLYACC"; then
8200 ac_pt_OCAMLYACC
=$OCAMLYACC
8201 # Extract the first word of "ocamlyacc", so it can be a program name with args.
8202 set dummy ocamlyacc
; ac_word
=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8204 $as_echo_n "checking for $ac_word... " >&6; }
8205 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8206 $as_echo_n "(cached) " >&6
8208 case $ac_pt_OCAMLYACC in
8210 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir
=.
8218 for ac_exec_ext
in '' $ac_executable_extensions; do
8219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8231 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8232 if test -n "$ac_pt_OCAMLYACC"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8234 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8240 if test "x$ac_pt_OCAMLYACC" = x
; then
8243 case $cross_compiling:$ac_tool_warned in
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8247 ac_tool_warned
=yes ;;
8249 OCAMLYACC
=$ac_pt_OCAMLYACC
8252 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
8259 if test -n "$ac_tool_prefix"; then
8260 # Extract the first word of "${ac_tool_prefix}[$]OCAMLYACC", so it can be a program name with args.
8261 set dummy
${ac_tool_prefix}$OCAMLYACC; ac_word
=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263 $as_echo_n "checking for $ac_word... " >&6; }
8264 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8265 $as_echo_n "(cached) " >&6
8269 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir
=.
8277 for ac_exec_ext
in '' $ac_executable_extensions; do
8278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8291 if test -n "$OCAMLYACC"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8293 $as_echo "$OCAMLYACC" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8301 if test -z "$ac_cv_path_OCAMLYACC"; then
8302 ac_pt_OCAMLYACC
=$OCAMLYACC
8303 # Extract the first word of "[$]OCAMLYACC", so it can be a program name with args.
8304 set dummy
$OCAMLYACC; ac_word
=$2
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8306 $as_echo_n "checking for $ac_word... " >&6; }
8307 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8308 $as_echo_n "(cached) " >&6
8310 case $ac_pt_OCAMLYACC in
8312 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir
=.
8320 for ac_exec_ext
in '' $ac_executable_extensions; do
8321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8334 if test -n "$ac_pt_OCAMLYACC"; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8336 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8339 $as_echo "no" >&6; }
8342 if test "x$ac_pt_OCAMLYACC" = x
; then
8345 case $cross_compiling:$ac_tool_warned in
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8349 ac_tool_warned
=yes ;;
8351 OCAMLYACC
=$ac_pt_OCAMLYACC
8354 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
8363 if test -z "$OCAMLYACC" -o "x$OCAMLYACC" = xno
; then :
8364 if test "x$with_OCAMLYACC" = xyes
; then :
8365 as_fn_error $?
"--with=ocamlyacc is given explicitly but not found" "$LINENO" 5
8369 if test -n ""; then :
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlyacc not found. Trying substitute ." >&5
8371 $as_echo "$as_me: ocamlyacc not found. Trying substitute ." >&6;}
8374 if test "xocamlyacc" = xpkg-config
-a "xOCAMLYACC" = xPKG_CONFIG
; then :
8377 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8378 if test -n "$ac_tool_prefix"; then
8379 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8380 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382 $as_echo_n "checking for $ac_word... " >&6; }
8383 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
8384 $as_echo_n "(cached) " >&6
8388 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8395 test -z "$as_dir" && as_dir
=.
8396 for ac_exec_ext
in '' $ac_executable_extensions; do
8397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8398 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8409 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8410 if test -n "$PKG_CONFIG"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8412 $as_echo "$PKG_CONFIG" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8420 if test -z "$ac_cv_path_PKG_CONFIG"; then
8421 ac_pt_PKG_CONFIG
=$PKG_CONFIG
8422 # Extract the first word of "pkg-config", so it can be a program name with args.
8423 set dummy pkg-config
; ac_word
=$2
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8425 $as_echo_n "checking for $ac_word... " >&6; }
8426 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8429 case $ac_pt_PKG_CONFIG in
8431 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8438 test -z "$as_dir" && as_dir
=.
8439 for ac_exec_ext
in '' $ac_executable_extensions; do
8440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8441 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
8453 if test -n "$ac_pt_PKG_CONFIG"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8455 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8461 if test "x$ac_pt_PKG_CONFIG" = x
; then
8464 case $cross_compiling:$ac_tool_warned in
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468 ac_tool_warned
=yes ;;
8470 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8473 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8477 if test -n "$PKG_CONFIG"; then
8478 _pkg_min_version
=0.9.0
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8480 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8481 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8483 $as_echo "yes" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8486 $as_echo "no" >&6; }
8492 elif test "xocamlyacc" = xocamllex
-a "xOCAMLYACC" = xOCAMLLEX
; then :
8493 # checking for ocamllex
8494 if test -n "$ac_tool_prefix"; then
8495 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
8496 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8498 $as_echo_n "checking for $ac_word... " >&6; }
8499 if ${ac_cv_path_OCAMLLEX+:} false
; then :
8500 $as_echo_n "(cached) " >&6
8504 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
8507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir
=.
8512 for ac_exec_ext
in '' $ac_executable_extensions; do
8513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8514 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525 OCAMLLEX
=$ac_cv_path_OCAMLLEX
8526 if test -n "$OCAMLLEX"; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
8528 $as_echo "$OCAMLLEX" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 $as_echo "no" >&6; }
8536 if test -z "$ac_cv_path_OCAMLLEX"; then
8537 ac_pt_OCAMLLEX
=$OCAMLLEX
8538 # Extract the first word of "ocamllex", so it can be a program name with args.
8539 set dummy ocamllex
; ac_word
=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
8543 $as_echo_n "(cached) " >&6
8545 case $ac_pt_OCAMLLEX in
8547 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
8550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8554 test -z "$as_dir" && as_dir
=.
8555 for ac_exec_ext
in '' $ac_executable_extensions; do
8556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8557 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8568 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
8569 if test -n "$ac_pt_OCAMLLEX"; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
8571 $as_echo "$ac_pt_OCAMLLEX" >&6; }
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 $as_echo "no" >&6; }
8577 if test "x$ac_pt_OCAMLLEX" = x
; then
8580 case $cross_compiling:$ac_tool_warned in
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8584 ac_tool_warned
=yes ;;
8586 OCAMLLEX
=$ac_pt_OCAMLLEX
8589 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
8592 if test "$OCAMLLEX" != "no"; then
8593 if test -n "$ac_tool_prefix"; then
8594 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
8595 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8597 $as_echo_n "checking for $ac_word... " >&6; }
8598 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
8599 $as_echo_n "(cached) " >&6
8601 case $OCAMLLEXDOTOPT in
8603 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
8606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir
=.
8611 for ac_exec_ext
in '' $ac_executable_extensions; do
8612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8613 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8624 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
8625 if test -n "$OCAMLLEXDOTOPT"; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
8627 $as_echo "$OCAMLLEXDOTOPT" >&6; }
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8635 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
8636 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
8637 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
8638 set dummy ocamllex.opt
; ac_word
=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8644 case $ac_pt_OCAMLLEXDOTOPT in
8646 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
8649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8653 test -z "$as_dir" && as_dir
=.
8654 for ac_exec_ext
in '' $ac_executable_extensions; do
8655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8656 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8667 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
8668 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
8670 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8673 $as_echo "no" >&6; }
8676 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
8679 case $cross_compiling:$ac_tool_warned in
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8683 ac_tool_warned
=yes ;;
8685 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
8688 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
8691 if test "$OCAMLLEXDOTOPT" != "no"; then
8692 OCAMLLEX
=$OCAMLLEXDOTOPT
8698 elif test "xocamlyacc" = xocamlyacc
-a "xOCAMLYACC" = xOCAMLYACC
; then :
8699 if test -n "$ac_tool_prefix"; then
8700 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
8701 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8703 $as_echo_n "checking for $ac_word... " >&6; }
8704 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8705 $as_echo_n "(cached) " >&6
8709 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8716 test -z "$as_dir" && as_dir
=.
8717 for ac_exec_ext
in '' $ac_executable_extensions; do
8718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8719 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8730 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8731 if test -n "$OCAMLYACC"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8733 $as_echo "$OCAMLYACC" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8736 $as_echo "no" >&6; }
8741 if test -z "$ac_cv_path_OCAMLYACC"; then
8742 ac_pt_OCAMLYACC
=$OCAMLYACC
8743 # Extract the first word of "ocamlyacc", so it can be a program name with args.
8744 set dummy ocamlyacc
; ac_word
=$2
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8746 $as_echo_n "checking for $ac_word... " >&6; }
8747 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8748 $as_echo_n "(cached) " >&6
8750 case $ac_pt_OCAMLYACC in
8752 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8759 test -z "$as_dir" && as_dir
=.
8760 for ac_exec_ext
in '' $ac_executable_extensions; do
8761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8762 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8774 if test -n "$ac_pt_OCAMLYACC"; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8776 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8779 $as_echo "no" >&6; }
8782 if test "x$ac_pt_OCAMLYACC" = x
; then
8785 case $cross_compiling:$ac_tool_warned in
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8789 ac_tool_warned
=yes ;;
8791 OCAMLYACC
=$ac_pt_OCAMLYACC
8794 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
8801 if test -n "$ac_tool_prefix"; then
8802 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
8803 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8811 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir
=.
8819 for ac_exec_ext
in '' $ac_executable_extensions; do
8820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8821 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8833 if test -n "$OCAMLYACC"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8835 $as_echo "$OCAMLYACC" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8843 if test -z "$ac_cv_path_OCAMLYACC"; then
8844 ac_pt_OCAMLYACC
=$OCAMLYACC
8845 # Extract the first word of "ocamlyacc", so it can be a program name with args.
8846 set dummy ocamlyacc
; ac_word
=$2
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8848 $as_echo_n "checking for $ac_word... " >&6; }
8849 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8850 $as_echo_n "(cached) " >&6
8852 case $ac_pt_OCAMLYACC in
8854 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir
=.
8862 for ac_exec_ext
in '' $ac_executable_extensions; do
8863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8864 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8875 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8876 if test -n "$ac_pt_OCAMLYACC"; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8878 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8881 $as_echo "no" >&6; }
8884 if test "x$ac_pt_OCAMLYACC" = x
; then
8887 case $cross_compiling:$ac_tool_warned in
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8891 ac_tool_warned
=yes ;;
8893 OCAMLYACC
=$ac_pt_OCAMLYACC
8896 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
8902 SUBSTITUTED_OCAMLYACC
=yes
8909 if test -z "$OCAMLYACC"; then :
8916 # Check whether --with-ocamlfind was given.
8917 if test "${with_ocamlfind+set}" = set; then :
8918 withval
=$with_ocamlfind;
8921 with_OCAMLFIND
="$with_ocamlfind"
8923 if test -n "$with_OCAMLFIND" -a "x$with_OCAMLFIND" != xno
-a "x$with_OCAMLFIND" != xyes
; then :
8924 OCAMLFIND
="$with_OCAMLFIND"
8928 OCAMLFIND
="ocamlfind"
8933 if test "x$with_OCAMLFIND" = xno
; then :
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlfind is disabled explicitly" >&5
8935 $as_echo "$as_me: ocamlfind is disabled explicitly" >&6;}
8940 if test "x$OCAMLFIND" = xpkg-config
-a "xOCAMLFIND" = xPKG_CONFIG
; then :
8943 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8944 if test -n "$ac_tool_prefix"; then
8945 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8946 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8948 $as_echo_n "checking for $ac_word... " >&6; }
8949 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8954 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8961 test -z "$as_dir" && as_dir
=.
8962 for ac_exec_ext
in '' $ac_executable_extensions; do
8963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8964 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8976 if test -n "$PKG_CONFIG"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8978 $as_echo "$PKG_CONFIG" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8986 if test -z "$ac_cv_path_PKG_CONFIG"; then
8987 ac_pt_PKG_CONFIG
=$PKG_CONFIG
8988 # Extract the first word of "pkg-config", so it can be a program name with args.
8989 set dummy pkg-config
; ac_word
=$2
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8991 $as_echo_n "checking for $ac_word... " >&6; }
8992 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
8993 $as_echo_n "(cached) " >&6
8995 case $ac_pt_PKG_CONFIG in
8997 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir
=.
9005 for ac_exec_ext
in '' $ac_executable_extensions; do
9006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9007 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
9019 if test -n "$ac_pt_PKG_CONFIG"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9021 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9027 if test "x$ac_pt_PKG_CONFIG" = x
; then
9030 case $cross_compiling:$ac_tool_warned in
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9034 ac_tool_warned
=yes ;;
9036 PKG_CONFIG
=$ac_pt_PKG_CONFIG
9039 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
9043 if test -n "$PKG_CONFIG"; then
9044 _pkg_min_version
=0.9.0
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9046 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9047 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9049 $as_echo "yes" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9052 $as_echo "no" >&6; }
9058 elif test "x$OCAMLFIND" = xocamllex
-a "xOCAMLFIND" = xOCAMLLEX
; then :
9059 # checking for ocamllex
9060 if test -n "$ac_tool_prefix"; then
9061 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
9062 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9064 $as_echo_n "checking for $ac_word... " >&6; }
9065 if ${ac_cv_path_OCAMLLEX+:} false
; then :
9066 $as_echo_n "(cached) " >&6
9070 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
9073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir
=.
9078 for ac_exec_ext
in '' $ac_executable_extensions; do
9079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9080 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9091 OCAMLLEX
=$ac_cv_path_OCAMLLEX
9092 if test -n "$OCAMLLEX"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
9094 $as_echo "$OCAMLLEX" >&6; }
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9102 if test -z "$ac_cv_path_OCAMLLEX"; then
9103 ac_pt_OCAMLLEX
=$OCAMLLEX
9104 # Extract the first word of "ocamllex", so it can be a program name with args.
9105 set dummy ocamllex
; ac_word
=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9107 $as_echo_n "checking for $ac_word... " >&6; }
9108 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
9109 $as_echo_n "(cached) " >&6
9111 case $ac_pt_OCAMLLEX in
9113 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
9116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir
=.
9121 for ac_exec_ext
in '' $ac_executable_extensions; do
9122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9123 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9134 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
9135 if test -n "$ac_pt_OCAMLLEX"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
9137 $as_echo "$ac_pt_OCAMLLEX" >&6; }
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9140 $as_echo "no" >&6; }
9143 if test "x$ac_pt_OCAMLLEX" = x
; then
9146 case $cross_compiling:$ac_tool_warned in
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9150 ac_tool_warned
=yes ;;
9152 OCAMLLEX
=$ac_pt_OCAMLLEX
9155 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
9158 if test "$OCAMLLEX" != "no"; then
9159 if test -n "$ac_tool_prefix"; then
9160 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
9161 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163 $as_echo_n "checking for $ac_word... " >&6; }
9164 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
9165 $as_echo_n "(cached) " >&6
9167 case $OCAMLLEXDOTOPT in
9169 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
9172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9176 test -z "$as_dir" && as_dir
=.
9177 for ac_exec_ext
in '' $ac_executable_extensions; do
9178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9179 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9190 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
9191 if test -n "$OCAMLLEXDOTOPT"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
9193 $as_echo "$OCAMLLEXDOTOPT" >&6; }
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9201 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
9202 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
9203 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
9204 set dummy ocamllex.opt
; ac_word
=$2
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9206 $as_echo_n "checking for $ac_word... " >&6; }
9207 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
9208 $as_echo_n "(cached) " >&6
9210 case $ac_pt_OCAMLLEXDOTOPT in
9212 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
9215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9219 test -z "$as_dir" && as_dir
=.
9220 for ac_exec_ext
in '' $ac_executable_extensions; do
9221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9222 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9233 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
9234 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
9236 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 $as_echo "no" >&6; }
9242 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
9245 case $cross_compiling:$ac_tool_warned in
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9249 ac_tool_warned
=yes ;;
9251 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
9254 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
9257 if test "$OCAMLLEXDOTOPT" != "no"; then
9258 OCAMLLEX
=$OCAMLLEXDOTOPT
9264 elif test "x$OCAMLFIND" = xocamlyacc
-a "xOCAMLFIND" = xOCAMLYACC
; then :
9265 if test -n "$ac_tool_prefix"; then
9266 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
9267 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9269 $as_echo_n "checking for $ac_word... " >&6; }
9270 if ${ac_cv_path_OCAMLYACC+:} false
; then :
9271 $as_echo_n "(cached) " >&6
9275 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
9278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9282 test -z "$as_dir" && as_dir
=.
9283 for ac_exec_ext
in '' $ac_executable_extensions; do
9284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9285 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9296 OCAMLYACC
=$ac_cv_path_OCAMLYACC
9297 if test -n "$OCAMLYACC"; then
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
9299 $as_echo "$OCAMLYACC" >&6; }
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9302 $as_echo "no" >&6; }
9307 if test -z "$ac_cv_path_OCAMLYACC"; then
9308 ac_pt_OCAMLYACC
=$OCAMLYACC
9309 # Extract the first word of "ocamlyacc", so it can be a program name with args.
9310 set dummy ocamlyacc
; ac_word
=$2
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9312 $as_echo_n "checking for $ac_word... " >&6; }
9313 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
9314 $as_echo_n "(cached) " >&6
9316 case $ac_pt_OCAMLYACC in
9318 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
9321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9325 test -z "$as_dir" && as_dir
=.
9326 for ac_exec_ext
in '' $ac_executable_extensions; do
9327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9328 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9339 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
9340 if test -n "$ac_pt_OCAMLYACC"; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
9342 $as_echo "$ac_pt_OCAMLYACC" >&6; }
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9345 $as_echo "no" >&6; }
9348 if test "x$ac_pt_OCAMLYACC" = x
; then
9351 case $cross_compiling:$ac_tool_warned in
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9355 ac_tool_warned
=yes ;;
9357 OCAMLYACC
=$ac_pt_OCAMLYACC
9360 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
9367 if test -n "$ac_tool_prefix"; then
9368 # Extract the first word of "${ac_tool_prefix}[$]OCAMLFIND", so it can be a program name with args.
9369 set dummy
${ac_tool_prefix}$OCAMLFIND; ac_word
=$2
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9371 $as_echo_n "checking for $ac_word... " >&6; }
9372 if ${ac_cv_path_OCAMLFIND+:} false
; then :
9373 $as_echo_n "(cached) " >&6
9377 ac_cv_path_OCAMLFIND
="$OCAMLFIND" # Let the user override the test with a path.
9380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9384 test -z "$as_dir" && as_dir
=.
9385 for ac_exec_ext
in '' $ac_executable_extensions; do
9386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9387 ac_cv_path_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
9388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9398 OCAMLFIND
=$ac_cv_path_OCAMLFIND
9399 if test -n "$OCAMLFIND"; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
9401 $as_echo "$OCAMLFIND" >&6; }
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9404 $as_echo "no" >&6; }
9409 if test -z "$ac_cv_path_OCAMLFIND"; then
9410 ac_pt_OCAMLFIND
=$OCAMLFIND
9411 # Extract the first word of "[$]OCAMLFIND", so it can be a program name with args.
9412 set dummy
$OCAMLFIND; ac_word
=$2
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9414 $as_echo_n "checking for $ac_word... " >&6; }
9415 if ${ac_cv_path_ac_pt_OCAMLFIND+:} false
; then :
9416 $as_echo_n "(cached) " >&6
9418 case $ac_pt_OCAMLFIND in
9420 ac_cv_path_ac_pt_OCAMLFIND
="$ac_pt_OCAMLFIND" # Let the user override the test with a path.
9423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9427 test -z "$as_dir" && as_dir
=.
9428 for ac_exec_ext
in '' $ac_executable_extensions; do
9429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9430 ac_cv_path_ac_pt_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
9431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9441 ac_pt_OCAMLFIND
=$ac_cv_path_ac_pt_OCAMLFIND
9442 if test -n "$ac_pt_OCAMLFIND"; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLFIND" >&5
9444 $as_echo "$ac_pt_OCAMLFIND" >&6; }
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 $as_echo "no" >&6; }
9450 if test "x$ac_pt_OCAMLFIND" = x
; then
9453 case $cross_compiling:$ac_tool_warned in
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9457 ac_tool_warned
=yes ;;
9459 OCAMLFIND
=$ac_pt_OCAMLFIND
9462 OCAMLFIND
="$ac_cv_path_OCAMLFIND"
9471 if test -z "$OCAMLFIND" -o "x$OCAMLFIND" = xno
; then :
9472 if test "x$with_OCAMLFIND" = xyes
; then :
9473 as_fn_error $?
"--with=ocamlfind is given explicitly but not found" "$LINENO" 5
9477 if test -n "$COCCI_SRCDIR/setup/fake-subst.sh ocamlfind"; then :
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlfind not found. Trying substitute $COCCI_SRCDIR/setup/fake-subst.sh ocamlfind." >&5
9479 $as_echo "$as_me: ocamlfind not found. Trying substitute $COCCI_SRCDIR/setup/fake-subst.sh ocamlfind." >&6;}
9480 OCAMLFIND
="$COCCI_SRCDIR/setup/fake-subst.sh ocamlfind"
9482 if test "xocamlfind" = xpkg-config
-a "xOCAMLFIND" = xPKG_CONFIG
; then :
9485 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9486 if test -n "$ac_tool_prefix"; then
9487 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9488 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
9492 $as_echo_n "(cached) " >&6
9496 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir
=.
9504 for ac_exec_ext
in '' $ac_executable_extensions; do
9505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9518 if test -n "$PKG_CONFIG"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9520 $as_echo "$PKG_CONFIG" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9528 if test -z "$ac_cv_path_PKG_CONFIG"; then
9529 ac_pt_PKG_CONFIG
=$PKG_CONFIG
9530 # Extract the first word of "pkg-config", so it can be a program name with args.
9531 set dummy pkg-config
; ac_word
=$2
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9533 $as_echo_n "checking for $ac_word... " >&6; }
9534 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 case $ac_pt_PKG_CONFIG in
9539 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9546 test -z "$as_dir" && as_dir
=.
9547 for ac_exec_ext
in '' $ac_executable_extensions; do
9548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9549 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9560 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
9561 if test -n "$ac_pt_PKG_CONFIG"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9563 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566 $as_echo "no" >&6; }
9569 if test "x$ac_pt_PKG_CONFIG" = x
; then
9572 case $cross_compiling:$ac_tool_warned in
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9576 ac_tool_warned
=yes ;;
9578 PKG_CONFIG
=$ac_pt_PKG_CONFIG
9581 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
9585 if test -n "$PKG_CONFIG"; then
9586 _pkg_min_version
=0.9.0
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9588 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9589 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9591 $as_echo "yes" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 $as_echo "no" >&6; }
9600 elif test "xocamlfind" = xocamllex
-a "xOCAMLFIND" = xOCAMLLEX
; then :
9601 # checking for ocamllex
9602 if test -n "$ac_tool_prefix"; then
9603 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
9604 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9606 $as_echo_n "checking for $ac_word... " >&6; }
9607 if ${ac_cv_path_OCAMLLEX+:} false
; then :
9608 $as_echo_n "(cached) " >&6
9612 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
9615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9619 test -z "$as_dir" && as_dir
=.
9620 for ac_exec_ext
in '' $ac_executable_extensions; do
9621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9622 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9633 OCAMLLEX
=$ac_cv_path_OCAMLLEX
9634 if test -n "$OCAMLLEX"; then
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
9636 $as_echo "$OCAMLLEX" >&6; }
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9639 $as_echo "no" >&6; }
9644 if test -z "$ac_cv_path_OCAMLLEX"; then
9645 ac_pt_OCAMLLEX
=$OCAMLLEX
9646 # Extract the first word of "ocamllex", so it can be a program name with args.
9647 set dummy ocamllex
; ac_word
=$2
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9649 $as_echo_n "checking for $ac_word... " >&6; }
9650 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
9651 $as_echo_n "(cached) " >&6
9653 case $ac_pt_OCAMLLEX in
9655 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
9658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9662 test -z "$as_dir" && as_dir
=.
9663 for ac_exec_ext
in '' $ac_executable_extensions; do
9664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9665 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9676 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
9677 if test -n "$ac_pt_OCAMLLEX"; then
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
9679 $as_echo "$ac_pt_OCAMLLEX" >&6; }
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9682 $as_echo "no" >&6; }
9685 if test "x$ac_pt_OCAMLLEX" = x
; then
9688 case $cross_compiling:$ac_tool_warned in
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9692 ac_tool_warned
=yes ;;
9694 OCAMLLEX
=$ac_pt_OCAMLLEX
9697 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
9700 if test "$OCAMLLEX" != "no"; then
9701 if test -n "$ac_tool_prefix"; then
9702 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
9703 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9705 $as_echo_n "checking for $ac_word... " >&6; }
9706 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
9707 $as_echo_n "(cached) " >&6
9709 case $OCAMLLEXDOTOPT in
9711 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
9714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9718 test -z "$as_dir" && as_dir
=.
9719 for ac_exec_ext
in '' $ac_executable_extensions; do
9720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9721 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9732 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
9733 if test -n "$OCAMLLEXDOTOPT"; then
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
9735 $as_echo "$OCAMLLEXDOTOPT" >&6; }
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9738 $as_echo "no" >&6; }
9743 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
9744 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
9745 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
9746 set dummy ocamllex.opt
; ac_word
=$2
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9748 $as_echo_n "checking for $ac_word... " >&6; }
9749 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
9750 $as_echo_n "(cached) " >&6
9752 case $ac_pt_OCAMLLEXDOTOPT in
9754 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
9757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9761 test -z "$as_dir" && as_dir
=.
9762 for ac_exec_ext
in '' $ac_executable_extensions; do
9763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9764 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9775 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
9776 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
9778 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9781 $as_echo "no" >&6; }
9784 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
9787 case $cross_compiling:$ac_tool_warned in
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9791 ac_tool_warned
=yes ;;
9793 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
9796 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
9799 if test "$OCAMLLEXDOTOPT" != "no"; then
9800 OCAMLLEX
=$OCAMLLEXDOTOPT
9806 elif test "xocamlfind" = xocamlyacc
-a "xOCAMLFIND" = xOCAMLYACC
; then :
9807 if test -n "$ac_tool_prefix"; then
9808 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
9809 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9811 $as_echo_n "checking for $ac_word... " >&6; }
9812 if ${ac_cv_path_OCAMLYACC+:} false
; then :
9813 $as_echo_n "(cached) " >&6
9817 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
9820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9824 test -z "$as_dir" && as_dir
=.
9825 for ac_exec_ext
in '' $ac_executable_extensions; do
9826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9827 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 OCAMLYACC
=$ac_cv_path_OCAMLYACC
9839 if test -n "$OCAMLYACC"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
9841 $as_echo "$OCAMLYACC" >&6; }
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9844 $as_echo "no" >&6; }
9849 if test -z "$ac_cv_path_OCAMLYACC"; then
9850 ac_pt_OCAMLYACC
=$OCAMLYACC
9851 # Extract the first word of "ocamlyacc", so it can be a program name with args.
9852 set dummy ocamlyacc
; ac_word
=$2
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9854 $as_echo_n "checking for $ac_word... " >&6; }
9855 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
9856 $as_echo_n "(cached) " >&6
9858 case $ac_pt_OCAMLYACC in
9860 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
9863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9867 test -z "$as_dir" && as_dir
=.
9868 for ac_exec_ext
in '' $ac_executable_extensions; do
9869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9870 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
9882 if test -n "$ac_pt_OCAMLYACC"; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
9884 $as_echo "$ac_pt_OCAMLYACC" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9887 $as_echo "no" >&6; }
9890 if test "x$ac_pt_OCAMLYACC" = x
; then
9893 case $cross_compiling:$ac_tool_warned in
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9897 ac_tool_warned
=yes ;;
9899 OCAMLYACC
=$ac_pt_OCAMLYACC
9902 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
9909 if test -n "$ac_tool_prefix"; then
9910 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
9911 set dummy
${ac_tool_prefix}ocamlfind
; ac_word
=$2
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9913 $as_echo_n "checking for $ac_word... " >&6; }
9914 if ${ac_cv_path_OCAMLFIND+:} false
; then :
9915 $as_echo_n "(cached) " >&6
9919 ac_cv_path_OCAMLFIND
="$OCAMLFIND" # Let the user override the test with a path.
9922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9926 test -z "$as_dir" && as_dir
=.
9927 for ac_exec_ext
in '' $ac_executable_extensions; do
9928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9929 ac_cv_path_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
9930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9940 OCAMLFIND
=$ac_cv_path_OCAMLFIND
9941 if test -n "$OCAMLFIND"; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
9943 $as_echo "$OCAMLFIND" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946 $as_echo "no" >&6; }
9951 if test -z "$ac_cv_path_OCAMLFIND"; then
9952 ac_pt_OCAMLFIND
=$OCAMLFIND
9953 # Extract the first word of "ocamlfind", so it can be a program name with args.
9954 set dummy ocamlfind
; ac_word
=$2
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9956 $as_echo_n "checking for $ac_word... " >&6; }
9957 if ${ac_cv_path_ac_pt_OCAMLFIND+:} false
; then :
9958 $as_echo_n "(cached) " >&6
9960 case $ac_pt_OCAMLFIND in
9962 ac_cv_path_ac_pt_OCAMLFIND
="$ac_pt_OCAMLFIND" # Let the user override the test with a path.
9965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir
=.
9970 for ac_exec_ext
in '' $ac_executable_extensions; do
9971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9972 ac_cv_path_ac_pt_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
9973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 ac_pt_OCAMLFIND
=$ac_cv_path_ac_pt_OCAMLFIND
9984 if test -n "$ac_pt_OCAMLFIND"; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLFIND" >&5
9986 $as_echo "$ac_pt_OCAMLFIND" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9989 $as_echo "no" >&6; }
9992 if test "x$ac_pt_OCAMLFIND" = x
; then
9995 case $cross_compiling:$ac_tool_warned in
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9999 ac_tool_warned
=yes ;;
10001 OCAMLFIND
=$ac_pt_OCAMLFIND
10004 OCAMLFIND
="$ac_cv_path_OCAMLFIND"
10010 SUBSTITUTED_OCAMLFIND
=yes
10017 if test -z "$OCAMLFIND"; then :
10024 # Check whether --with-ocamlprof was given.
10025 if test "${with_ocamlprof+set}" = set; then :
10026 withval
=$with_ocamlprof;
10029 with_OCAMLPROF
="$with_ocamlprof"
10031 if test -n "$with_OCAMLPROF" -a "x$with_OCAMLPROF" != xno
-a "x$with_OCAMLPROF" != xyes
; then :
10032 OCAMLPROF
="$with_OCAMLPROF"
10036 OCAMLPROF
="ocamlprof"
10041 if test "x$with_OCAMLPROF" = xno
; then :
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlprof is disabled explicitly" >&5
10043 $as_echo "$as_me: ocamlprof is disabled explicitly" >&6;}
10048 if test "x$OCAMLPROF" = xpkg-config
-a "xOCAMLPROF" = xPKG_CONFIG
; then :
10051 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10052 if test -n "$ac_tool_prefix"; then
10053 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10054 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10056 $as_echo_n "checking for $ac_word... " >&6; }
10057 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 case $PKG_CONFIG in
10062 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10072 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10083 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10084 if test -n "$PKG_CONFIG"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10086 $as_echo "$PKG_CONFIG" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10089 $as_echo "no" >&6; }
10094 if test -z "$ac_cv_path_PKG_CONFIG"; then
10095 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10096 # Extract the first word of "pkg-config", so it can be a program name with args.
10097 set dummy pkg-config
; ac_word
=$2
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10099 $as_echo_n "checking for $ac_word... " >&6; }
10100 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10101 $as_echo_n "(cached) " >&6
10103 case $ac_pt_PKG_CONFIG in
10105 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10109 for as_dir
in $PATH
10112 test -z "$as_dir" && as_dir
=.
10113 for ac_exec_ext
in '' $ac_executable_extensions; do
10114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10115 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10126 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10127 if test -n "$ac_pt_PKG_CONFIG"; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10129 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10132 $as_echo "no" >&6; }
10135 if test "x$ac_pt_PKG_CONFIG" = x
; then
10138 case $cross_compiling:$ac_tool_warned in
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10142 ac_tool_warned
=yes ;;
10144 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10147 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10151 if test -n "$PKG_CONFIG"; then
10152 _pkg_min_version
=0.9.0
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10154 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10155 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10157 $as_echo "yes" >&6; }
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10160 $as_echo "no" >&6; }
10166 elif test "x$OCAMLPROF" = xocamllex
-a "xOCAMLPROF" = xOCAMLLEX
; then :
10167 # checking for ocamllex
10168 if test -n "$ac_tool_prefix"; then
10169 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
10170 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10172 $as_echo_n "checking for $ac_word... " >&6; }
10173 if ${ac_cv_path_OCAMLLEX+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10178 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
10181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10182 for as_dir
in $PATH
10185 test -z "$as_dir" && as_dir
=.
10186 for ac_exec_ext
in '' $ac_executable_extensions; do
10187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10188 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10199 OCAMLLEX
=$ac_cv_path_OCAMLLEX
10200 if test -n "$OCAMLLEX"; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
10202 $as_echo "$OCAMLLEX" >&6; }
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10205 $as_echo "no" >&6; }
10210 if test -z "$ac_cv_path_OCAMLLEX"; then
10211 ac_pt_OCAMLLEX
=$OCAMLLEX
10212 # Extract the first word of "ocamllex", so it can be a program name with args.
10213 set dummy ocamllex
; ac_word
=$2
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10215 $as_echo_n "checking for $ac_word... " >&6; }
10216 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10219 case $ac_pt_OCAMLLEX in
10221 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
10224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10225 for as_dir
in $PATH
10228 test -z "$as_dir" && as_dir
=.
10229 for ac_exec_ext
in '' $ac_executable_extensions; do
10230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10231 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
10243 if test -n "$ac_pt_OCAMLLEX"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
10245 $as_echo "$ac_pt_OCAMLLEX" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10251 if test "x$ac_pt_OCAMLLEX" = x
; then
10254 case $cross_compiling:$ac_tool_warned in
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10258 ac_tool_warned
=yes ;;
10260 OCAMLLEX
=$ac_pt_OCAMLLEX
10263 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
10266 if test "$OCAMLLEX" != "no"; then
10267 if test -n "$ac_tool_prefix"; then
10268 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
10269 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10271 $as_echo_n "checking for $ac_word... " >&6; }
10272 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
10273 $as_echo_n "(cached) " >&6
10275 case $OCAMLLEXDOTOPT in
10277 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
10280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10281 for as_dir
in $PATH
10284 test -z "$as_dir" && as_dir
=.
10285 for ac_exec_ext
in '' $ac_executable_extensions; do
10286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10287 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10298 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
10299 if test -n "$OCAMLLEXDOTOPT"; then
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
10301 $as_echo "$OCAMLLEXDOTOPT" >&6; }
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10304 $as_echo "no" >&6; }
10309 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
10310 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
10311 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
10312 set dummy ocamllex.opt
; ac_word
=$2
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10314 $as_echo_n "checking for $ac_word... " >&6; }
10315 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
10316 $as_echo_n "(cached) " >&6
10318 case $ac_pt_OCAMLLEXDOTOPT in
10320 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
10323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10324 for as_dir
in $PATH
10327 test -z "$as_dir" && as_dir
=.
10328 for ac_exec_ext
in '' $ac_executable_extensions; do
10329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10330 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10341 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
10342 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
10344 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10347 $as_echo "no" >&6; }
10350 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
10351 OCAMLLEXDOTOPT
="no"
10353 case $cross_compiling:$ac_tool_warned in
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10357 ac_tool_warned
=yes ;;
10359 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
10362 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
10365 if test "$OCAMLLEXDOTOPT" != "no"; then
10366 OCAMLLEX
=$OCAMLLEXDOTOPT
10372 elif test "x$OCAMLPROF" = xocamlyacc
-a "xOCAMLPROF" = xOCAMLYACC
; then :
10373 if test -n "$ac_tool_prefix"; then
10374 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
10375 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 $as_echo_n "checking for $ac_word... " >&6; }
10378 if ${ac_cv_path_OCAMLYACC+:} false
; then :
10379 $as_echo_n "(cached) " >&6
10383 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
10386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10387 for as_dir
in $PATH
10390 test -z "$as_dir" && as_dir
=.
10391 for ac_exec_ext
in '' $ac_executable_extensions; do
10392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10393 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
10394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10404 OCAMLYACC
=$ac_cv_path_OCAMLYACC
10405 if test -n "$OCAMLYACC"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
10407 $as_echo "$OCAMLYACC" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10415 if test -z "$ac_cv_path_OCAMLYACC"; then
10416 ac_pt_OCAMLYACC
=$OCAMLYACC
10417 # Extract the first word of "ocamlyacc", so it can be a program name with args.
10418 set dummy ocamlyacc
; ac_word
=$2
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10420 $as_echo_n "checking for $ac_word... " >&6; }
10421 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
10422 $as_echo_n "(cached) " >&6
10424 case $ac_pt_OCAMLYACC in
10426 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
10448 if test -n "$ac_pt_OCAMLYACC"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
10450 $as_echo "$ac_pt_OCAMLYACC" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10456 if test "x$ac_pt_OCAMLYACC" = x
; then
10459 case $cross_compiling:$ac_tool_warned in
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10463 ac_tool_warned
=yes ;;
10465 OCAMLYACC
=$ac_pt_OCAMLYACC
10468 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
10475 if test -n "$ac_tool_prefix"; then
10476 # Extract the first word of "${ac_tool_prefix}[$]OCAMLPROF", so it can be a program name with args.
10477 set dummy
${ac_tool_prefix}$OCAMLPROF; ac_word
=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; }
10480 if ${ac_cv_path_OCAMLPROF+:} false
; then :
10481 $as_echo_n "(cached) " >&6
10485 ac_cv_path_OCAMLPROF
="$OCAMLPROF" # Let the user override the test with a path.
10488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10489 for as_dir
in $PATH
10492 test -z "$as_dir" && as_dir
=.
10493 for ac_exec_ext
in '' $ac_executable_extensions; do
10494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10495 ac_cv_path_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
10496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10506 OCAMLPROF
=$ac_cv_path_OCAMLPROF
10507 if test -n "$OCAMLPROF"; then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLPROF" >&5
10509 $as_echo "$OCAMLPROF" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10517 if test -z "$ac_cv_path_OCAMLPROF"; then
10518 ac_pt_OCAMLPROF
=$OCAMLPROF
10519 # Extract the first word of "[$]OCAMLPROF", so it can be a program name with args.
10520 set dummy
$OCAMLPROF; ac_word
=$2
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10522 $as_echo_n "checking for $ac_word... " >&6; }
10523 if ${ac_cv_path_ac_pt_OCAMLPROF+:} false
; then :
10524 $as_echo_n "(cached) " >&6
10526 case $ac_pt_OCAMLPROF in
10528 ac_cv_path_ac_pt_OCAMLPROF
="$ac_pt_OCAMLPROF" # Let the user override the test with a path.
10531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10532 for as_dir
in $PATH
10535 test -z "$as_dir" && as_dir
=.
10536 for ac_exec_ext
in '' $ac_executable_extensions; do
10537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10538 ac_cv_path_ac_pt_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
10539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10549 ac_pt_OCAMLPROF
=$ac_cv_path_ac_pt_OCAMLPROF
10550 if test -n "$ac_pt_OCAMLPROF"; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLPROF" >&5
10552 $as_echo "$ac_pt_OCAMLPROF" >&6; }
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10555 $as_echo "no" >&6; }
10558 if test "x$ac_pt_OCAMLPROF" = x
; then
10561 case $cross_compiling:$ac_tool_warned in
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10565 ac_tool_warned
=yes ;;
10567 OCAMLPROF
=$ac_pt_OCAMLPROF
10570 OCAMLPROF
="$ac_cv_path_OCAMLPROF"
10579 if test -z "$OCAMLPROF" -o "x$OCAMLPROF" = xno
; then :
10580 if test "x$with_OCAMLPROF" = xyes
; then :
10581 as_fn_error $?
"--with=ocamlprof is given explicitly but not found" "$LINENO" 5
10585 if test -n ""; then :
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlprof not found. Trying substitute ." >&5
10587 $as_echo "$as_me: ocamlprof not found. Trying substitute ." >&6;}
10590 if test "xocamlprof" = xpkg-config
-a "xOCAMLPROF" = xPKG_CONFIG
; then :
10593 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10594 if test -n "$ac_tool_prefix"; then
10595 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10596 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10598 $as_echo_n "checking for $ac_word... " >&6; }
10599 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10600 $as_echo_n "(cached) " >&6
10602 case $PKG_CONFIG in
10604 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10608 for as_dir
in $PATH
10611 test -z "$as_dir" && as_dir
=.
10612 for ac_exec_ext
in '' $ac_executable_extensions; do
10613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10614 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10625 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10626 if test -n "$PKG_CONFIG"; then
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10628 $as_echo "$PKG_CONFIG" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10631 $as_echo "no" >&6; }
10636 if test -z "$ac_cv_path_PKG_CONFIG"; then
10637 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10638 # Extract the first word of "pkg-config", so it can be a program name with args.
10639 set dummy pkg-config
; ac_word
=$2
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10641 $as_echo_n "checking for $ac_word... " >&6; }
10642 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 case $ac_pt_PKG_CONFIG in
10647 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10651 for as_dir
in $PATH
10654 test -z "$as_dir" && as_dir
=.
10655 for ac_exec_ext
in '' $ac_executable_extensions; do
10656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10657 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10668 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10669 if test -n "$ac_pt_PKG_CONFIG"; then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10671 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10674 $as_echo "no" >&6; }
10677 if test "x$ac_pt_PKG_CONFIG" = x
; then
10680 case $cross_compiling:$ac_tool_warned in
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10684 ac_tool_warned
=yes ;;
10686 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10689 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10693 if test -n "$PKG_CONFIG"; then
10694 _pkg_min_version
=0.9.0
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10696 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10697 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10699 $as_echo "yes" >&6; }
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10702 $as_echo "no" >&6; }
10708 elif test "xocamlprof" = xocamllex
-a "xOCAMLPROF" = xOCAMLLEX
; then :
10709 # checking for ocamllex
10710 if test -n "$ac_tool_prefix"; then
10711 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
10712 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10714 $as_echo_n "checking for $ac_word... " >&6; }
10715 if ${ac_cv_path_OCAMLLEX+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10720 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
10723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10724 for as_dir
in $PATH
10727 test -z "$as_dir" && as_dir
=.
10728 for ac_exec_ext
in '' $ac_executable_extensions; do
10729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10730 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10741 OCAMLLEX
=$ac_cv_path_OCAMLLEX
10742 if test -n "$OCAMLLEX"; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
10744 $as_echo "$OCAMLLEX" >&6; }
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10747 $as_echo "no" >&6; }
10752 if test -z "$ac_cv_path_OCAMLLEX"; then
10753 ac_pt_OCAMLLEX
=$OCAMLLEX
10754 # Extract the first word of "ocamllex", so it can be a program name with args.
10755 set dummy ocamllex
; ac_word
=$2
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10757 $as_echo_n "checking for $ac_word... " >&6; }
10758 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
10759 $as_echo_n "(cached) " >&6
10761 case $ac_pt_OCAMLLEX in
10763 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
10766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10767 for as_dir
in $PATH
10770 test -z "$as_dir" && as_dir
=.
10771 for ac_exec_ext
in '' $ac_executable_extensions; do
10772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10773 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10784 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
10785 if test -n "$ac_pt_OCAMLLEX"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
10787 $as_echo "$ac_pt_OCAMLLEX" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10790 $as_echo "no" >&6; }
10793 if test "x$ac_pt_OCAMLLEX" = x
; then
10796 case $cross_compiling:$ac_tool_warned in
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10800 ac_tool_warned
=yes ;;
10802 OCAMLLEX
=$ac_pt_OCAMLLEX
10805 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
10808 if test "$OCAMLLEX" != "no"; then
10809 if test -n "$ac_tool_prefix"; then
10810 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
10811 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10813 $as_echo_n "checking for $ac_word... " >&6; }
10814 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
10815 $as_echo_n "(cached) " >&6
10817 case $OCAMLLEXDOTOPT in
10819 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
10822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10823 for as_dir
in $PATH
10826 test -z "$as_dir" && as_dir
=.
10827 for ac_exec_ext
in '' $ac_executable_extensions; do
10828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10829 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10840 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
10841 if test -n "$OCAMLLEXDOTOPT"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
10843 $as_echo "$OCAMLLEXDOTOPT" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10846 $as_echo "no" >&6; }
10851 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
10852 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
10853 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
10854 set dummy ocamllex.opt
; ac_word
=$2
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10856 $as_echo_n "checking for $ac_word... " >&6; }
10857 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
10858 $as_echo_n "(cached) " >&6
10860 case $ac_pt_OCAMLLEXDOTOPT in
10862 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
10865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10866 for as_dir
in $PATH
10869 test -z "$as_dir" && as_dir
=.
10870 for ac_exec_ext
in '' $ac_executable_extensions; do
10871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10872 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10883 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
10884 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
10886 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10889 $as_echo "no" >&6; }
10892 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
10893 OCAMLLEXDOTOPT
="no"
10895 case $cross_compiling:$ac_tool_warned in
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10899 ac_tool_warned
=yes ;;
10901 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
10904 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
10907 if test "$OCAMLLEXDOTOPT" != "no"; then
10908 OCAMLLEX
=$OCAMLLEXDOTOPT
10914 elif test "xocamlprof" = xocamlyacc
-a "xOCAMLPROF" = xOCAMLYACC
; then :
10915 if test -n "$ac_tool_prefix"; then
10916 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
10917 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10919 $as_echo_n "checking for $ac_word... " >&6; }
10920 if ${ac_cv_path_OCAMLYACC+:} false
; then :
10921 $as_echo_n "(cached) " >&6
10925 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
10928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10929 for as_dir
in $PATH
10932 test -z "$as_dir" && as_dir
=.
10933 for ac_exec_ext
in '' $ac_executable_extensions; do
10934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10935 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
10936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10946 OCAMLYACC
=$ac_cv_path_OCAMLYACC
10947 if test -n "$OCAMLYACC"; then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
10949 $as_echo "$OCAMLYACC" >&6; }
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952 $as_echo "no" >&6; }
10957 if test -z "$ac_cv_path_OCAMLYACC"; then
10958 ac_pt_OCAMLYACC
=$OCAMLYACC
10959 # Extract the first word of "ocamlyacc", so it can be a program name with args.
10960 set dummy ocamlyacc
; ac_word
=$2
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10962 $as_echo_n "checking for $ac_word... " >&6; }
10963 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 case $ac_pt_OCAMLYACC in
10968 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10978 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
10979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
10990 if test -n "$ac_pt_OCAMLYACC"; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
10992 $as_echo "$ac_pt_OCAMLYACC" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
10998 if test "x$ac_pt_OCAMLYACC" = x
; then
11001 case $cross_compiling:$ac_tool_warned in
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11005 ac_tool_warned
=yes ;;
11007 OCAMLYACC
=$ac_pt_OCAMLYACC
11010 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
11017 if test -n "$ac_tool_prefix"; then
11018 # Extract the first word of "${ac_tool_prefix}ocamlprof", so it can be a program name with args.
11019 set dummy
${ac_tool_prefix}ocamlprof
; ac_word
=$2
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11021 $as_echo_n "checking for $ac_word... " >&6; }
11022 if ${ac_cv_path_OCAMLPROF+:} false
; then :
11023 $as_echo_n "(cached) " >&6
11027 ac_cv_path_OCAMLPROF
="$OCAMLPROF" # Let the user override the test with a path.
11030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11031 for as_dir
in $PATH
11034 test -z "$as_dir" && as_dir
=.
11035 for ac_exec_ext
in '' $ac_executable_extensions; do
11036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11037 ac_cv_path_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
11038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11048 OCAMLPROF
=$ac_cv_path_OCAMLPROF
11049 if test -n "$OCAMLPROF"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLPROF" >&5
11051 $as_echo "$OCAMLPROF" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11054 $as_echo "no" >&6; }
11059 if test -z "$ac_cv_path_OCAMLPROF"; then
11060 ac_pt_OCAMLPROF
=$OCAMLPROF
11061 # Extract the first word of "ocamlprof", so it can be a program name with args.
11062 set dummy ocamlprof
; ac_word
=$2
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11064 $as_echo_n "checking for $ac_word... " >&6; }
11065 if ${ac_cv_path_ac_pt_OCAMLPROF+:} false
; then :
11066 $as_echo_n "(cached) " >&6
11068 case $ac_pt_OCAMLPROF in
11070 ac_cv_path_ac_pt_OCAMLPROF
="$ac_pt_OCAMLPROF" # Let the user override the test with a path.
11073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11074 for as_dir
in $PATH
11077 test -z "$as_dir" && as_dir
=.
11078 for ac_exec_ext
in '' $ac_executable_extensions; do
11079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11080 ac_cv_path_ac_pt_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
11081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11091 ac_pt_OCAMLPROF
=$ac_cv_path_ac_pt_OCAMLPROF
11092 if test -n "$ac_pt_OCAMLPROF"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLPROF" >&5
11094 $as_echo "$ac_pt_OCAMLPROF" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 $as_echo "no" >&6; }
11100 if test "x$ac_pt_OCAMLPROF" = x
; then
11103 case $cross_compiling:$ac_tool_warned in
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11107 ac_tool_warned
=yes ;;
11109 OCAMLPROF
=$ac_pt_OCAMLPROF
11112 OCAMLPROF
="$ac_cv_path_OCAMLPROF"
11118 SUBSTITUTED_OCAMLPROF
=yes
11125 if test -z "$OCAMLPROF"; then :
11131 if test "x$OCAMLLEX" = xno
; then :
11132 as_fn_error $?
"the OCaml Lexer needs to be installed (the ocamllex command). It should be part of your OCaml distribution." "$LINENO" 5
11136 if test "x$OCAMLYACC" = xno
; then :
11137 as_fn_error $?
"The OCaml parser generated needs to be installed (the ocamlyacc command). It should be part of your OCaml distribution." "$LINENO" 5
11141 if test "x$OCAMLFIND" = xno
; then :
11142 as_fn_error $?
"A suitable OCaml findlib (the ocamlfind command) could not be found." "$LINENO" 5
11148 # Check whether --with-runtime-ocamlfind was given.
11149 if test "${with_runtime_ocamlfind+set}" = set; then :
11150 withval
=$with_runtime_ocamlfind;
11154 if test -z "$RUNTIME_OCAMLFIND_CMD"; then :
11155 if test "x$with_runtime_ocamlfind" = xno
; then :
11156 RUNTIME_OCAMLFIND_CMD
=$OCAMLFIND
11159 elif test -n "$with_runtime_ocamlfind" -a "x$with_runtime_ocamlfind" != xyes
; then :
11160 RUNTIME_OCAMLFIND_CMD
="$with_runtime_ocamlfind"
11164 RUNTIME_OCAMLFIND_CMD
="ocamlfind"
11173 # Check whether --with-runtime-ocamlc was given.
11174 if test "${with_runtime_ocamlc+set}" = set; then :
11175 withval
=$with_runtime_ocamlc;
11179 if test -z "$RUNTIME_OCAMLC_CMD"; then :
11180 if test "x$with_runtime_ocamlc" = xno
; then :
11181 RUNTIME_OCAMLC_CMD
=$OCAMLC
11184 elif test -n "$with_runtime_ocamlc" -a "x$with_runtime_ocamlc" != xyes
; then :
11185 RUNTIME_OCAMLC_CMD
="$with_runtime_ocamlc"
11189 RUNTIME_OCAMLC_CMD
="ocamlc"
11198 # Check whether --with-runtime-ocamlopt was given.
11199 if test "${with_runtime_ocamlopt+set}" = set; then :
11200 withval
=$with_runtime_ocamlopt;
11204 if test -z "$RUNTIME_OCAMLOPT_CMD"; then :
11205 if test "x$with_runtime_ocamlopt" = xno
; then :
11206 RUNTIME_OCAMLOPT_CMD
=$OCAMLOPT
11209 elif test -n "$with_runtime_ocamlopt" -a "x$with_runtime_ocamlopt" != xyes
; then :
11210 RUNTIME_OCAMLOPT_CMD
="$with_runtime_ocamlopt"
11214 RUNTIME_OCAMLOPT_CMD
="ocamlopt"
11223 # Check whether --with-runtime-ocamldep was given.
11224 if test "${with_runtime_ocamldep+set}" = set; then :
11225 withval
=$with_runtime_ocamldep;
11229 if test -z "$RUNTIME_OCAMLDEP_CMD"; then :
11230 if test "x$with_runtime_ocamldep" = xno
; then :
11231 RUNTIME_OCAMLDEP_CMD
=$OCAMLDEP
11234 elif test -n "$with_runtime_ocamldep" -a "x$with_runtime_ocamldep" != xyes
; then :
11235 RUNTIME_OCAMLDEP_CMD
="$with_runtime_ocamldep"
11239 RUNTIME_OCAMLDEP_CMD
="ocamldep"
11248 # Check whether --with-runtime-camlp4 was given.
11249 if test "${with_runtime_camlp4+set}" = set; then :
11250 withval
=$with_runtime_camlp4;
11254 if test -z "$RUNTIME_CAMLP4_CMD"; then :
11255 if test "x$with_runtime_camlp4" = xno
; then :
11256 RUNTIME_CAMLP4_CMD
=$CAMLP4
11259 elif test -n "$with_runtime_camlp4" -a "x$with_runtime_camlp4" != xyes
; then :
11260 RUNTIME_CAMLP4_CMD
="$with_runtime_camlp4"
11264 RUNTIME_CAMLP4_CMD
="camlp4"
11273 # Check whether --with-runtime-camlp4o was given.
11274 if test "${with_runtime_camlp4o+set}" = set; then :
11275 withval
=$with_runtime_camlp4o;
11279 if test -z "$RUNTIME_CAMLP4O_CMD"; then :
11280 if test "x$with_runtime_camlp4o" = xno
; then :
11281 RUNTIME_CAMLP4O_CMD
=$CAMLP4O
11284 elif test -n "$with_runtime_camlp4o" -a "x$with_runtime_camlp4o" != xyes
; then :
11285 RUNTIME_CAMLP4O_CMD
="$with_runtime_camlp4o"
11289 RUNTIME_CAMLP4O_CMD
="camlp4o"
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: verifying basic ocaml modules" >&5
11301 $as_echo "$as_me: verifying basic ocaml modules" >&6;}
11304 COCCI_OCAML_EXTERNAL
="$COCCI_SRCDIR/bundles"
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: coccinelle may use external ocaml libraries in $COCCI_OCAML_EXTERNAL" >&5
11307 $as_echo "$as_me: coccinelle may use external ocaml libraries in $COCCI_OCAML_EXTERNAL" >&6;}
11310 FEATURE_menhirLib
=0
11312 LOCALLIB_menhirLib
=0
11318 MODULESOPT_menhirLib
=
11331 MODULESOPT_dynlink
=
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: the following OCaml packages should be provided by your ocaml installation" >&5
11377 $as_echo "$as_me: the following OCaml packages should be provided by your ocaml installation" >&6;}
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package unix" >&5
11380 $as_echo_n "checking for OCaml findlib package unix... " >&6; }
11385 for pkg
in unix
; do
11386 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11388 $as_echo "found" >&6; }
11389 OCAML_PKG_unix
=$pkg
11394 if test "$found" = "no" ; then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11396 $as_echo "not found" >&6; }
11402 if test "x$OCAML_PKG_unix" != xno
; then :
11403 PATH_unix
=`$OCAMLFIND query unix 2>/dev/null`
11408 if test "x$OCAML_PKG_unix" = xno
; then :
11409 as_fn_error $?
"package unix is required. It should be part of your ocaml installation." "$LINENO" 5
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package bigarray" >&5
11415 $as_echo_n "checking for OCaml findlib package bigarray... " >&6; }
11420 for pkg
in bigarray
; do
11421 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11423 $as_echo "found" >&6; }
11424 OCAML_PKG_bigarray
=$pkg
11429 if test "$found" = "no" ; then
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11431 $as_echo "not found" >&6; }
11432 OCAML_PKG_bigarray
=no
11437 if test "x$OCAML_PKG_bigarray" != xno
; then :
11438 PATH_bigarray
=`$OCAMLFIND query bigarray 2>/dev/null`
11443 if test "x$OCAML_PKG_bigarray" = xno
; then :
11444 as_fn_error $?
"package bigarray is required. It should be part of your ocaml installation." "$LINENO" 5
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package num" >&5
11450 $as_echo_n "checking for OCaml findlib package num... " >&6; }
11455 for pkg
in num
; do
11456 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11458 $as_echo "found" >&6; }
11464 if test "$found" = "no" ; then
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11466 $as_echo "not found" >&6; }
11472 if test "x$OCAML_PKG_num" != xno
; then :
11473 PATH_num
=`$OCAMLFIND query num 2>/dev/null`
11478 if test "x$OCAML_PKG_num" = xno
; then :
11479 as_fn_error $?
"package num is required. It should be part of your ocaml installation." "$LINENO" 5
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package str" >&5
11485 $as_echo_n "checking for OCaml findlib package str... " >&6; }
11490 for pkg
in str
; do
11491 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11493 $as_echo "found" >&6; }
11499 if test "$found" = "no" ; then
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11501 $as_echo "not found" >&6; }
11507 if test "x$OCAML_PKG_str" != xno
; then :
11508 PATH_str
=`$OCAMLFIND query str 2>/dev/null`
11513 if test "x$OCAML_PKG_str" = xno
; then :
11514 as_fn_error $?
"package str is required. It should be part of your ocaml installation." "$LINENO" 5
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package dynlink" >&5
11520 $as_echo "$as_me: configuring package dynlink" >&6;}
11521 # Check whether --enable-dynlink was given.
11522 if test "${enable_dynlink+set}" = set; then :
11523 enableval
=$enable_dynlink;
11527 if test "x$enable_dynlink" != xno
; then :
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package dynlink" >&5
11530 $as_echo_n "checking for OCaml findlib package dynlink... " >&6; }
11535 for pkg
in dynlink
; do
11536 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11538 $as_echo "found" >&6; }
11539 OCAML_PKG_dynlink
=$pkg
11544 if test "$found" = "no" ; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11546 $as_echo "not found" >&6; }
11547 OCAML_PKG_dynlink
=no
11552 if test "x$OCAML_PKG_dynlink" != xno
; then :
11553 PATH_dynlink
=`$OCAMLFIND query dynlink 2>/dev/null`
11558 GLOBAL_dynlink
=$OCAML_PKG_dynlink
11561 if test "x$GLOBAL_dynlink" != xno
; then :
11566 if test "x$enable_dynlink" = xyes
; then :
11567 as_fn_error $?
"OCaml package dynlink is not available but requested explicitly" "$LINENO" 5
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package dynlink is not available" >&5
11571 $as_echo "$as_me: OCaml package dynlink is not available" >&6;}
11579 if test "x$enable_dynlink" = xno
; then :
11580 { pkgdir
=; unset pkgdir
;}
11581 pkgdir
="$COCCI_OCAML_EXTERNAL/dynlink/"
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of dynlink" >&5
11583 $as_echo_n "checking for a bundled substitute of dynlink... " >&6; }
11584 if test -d "$pkgdir"; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11586 $as_echo "yes" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for dynlink in $pkgdir" >&5
11588 $as_echo "$as_me: using bundled substitute for dynlink in $pkgdir" >&6;}
11589 enable_dynlink
=local
11591 PATH_dynlink
="$pkgdir"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
11596 $as_echo "not available" >&6; }
11601 if test "x$enable_dynlink" != xno
; then :
11604 FLAGS_dynlink
='$(FLAGS_dynlink)'
11606 OPTFLAGS_dynlink
='$(OPTFLAGS_dynlink)'
11609 if test "x$enable_dynlink" = xlocal
; then :
11612 MODULES_dynlink
='$(LOCAL_dynlink)'
11614 MODULESOPT_dynlink
='$(LOCALOPT_dynlink)'
11617 if test -f "$PATH_dynlink/Makefile"; then :
11618 MAKE_dynlink
=$PATH_dynlink
11628 MODULES_dynlink
='$(GLOBAL_dynlink)'
11630 MODULESOPT_dynlink
='$(GLOBALOPT_dynlink)'
11637 if test "x$enable_dynlink" = xno
; then :
11638 as_fn_error $?
"OCaml package dynlink is required. Please make sure it is available." "$LINENO" 5
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package camlp4" >&5
11643 $as_echo "$as_me: configuring package camlp4" >&6;}
11644 # Check whether --enable-camlp4 was given.
11645 if test "${enable_camlp4+set}" = set; then :
11646 enableval
=$enable_camlp4;
11650 if test "x$enable_camlp4" != xno
; then :
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package camlp4" >&5
11653 $as_echo_n "checking for OCaml findlib package camlp4... " >&6; }
11658 for pkg
in camlp4
; do
11659 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11661 $as_echo "found" >&6; }
11662 OCAML_PKG_camlp4
=$pkg
11667 if test "$found" = "no" ; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11670 OCAML_PKG_camlp4
=no
11675 if test "x$OCAML_PKG_camlp4" != xno
; then :
11676 PATH_camlp4
=`$OCAMLFIND query camlp4 2>/dev/null`
11681 GLOBAL_camlp4
=$OCAML_PKG_camlp4
11684 if test "x$GLOBAL_camlp4" != xno
; then :
11689 if test "x$enable_camlp4" = xyes
; then :
11690 as_fn_error $?
"OCaml package camlp4 is not available but requested explicitly" "$LINENO" 5
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package camlp4 is not available" >&5
11694 $as_echo "$as_me: OCaml package camlp4 is not available" >&6;}
11702 if test "x$enable_camlp4" = xno
; then :
11703 { pkgdir
=; unset pkgdir
;}
11704 pkgdir
="$COCCI_OCAML_EXTERNAL/camlp4/"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of camlp4" >&5
11706 $as_echo_n "checking for a bundled substitute of camlp4... " >&6; }
11707 if test -d "$pkgdir"; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709 $as_echo "yes" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for camlp4 in $pkgdir" >&5
11711 $as_echo "$as_me: using bundled substitute for camlp4 in $pkgdir" >&6;}
11712 enable_camlp4
=local
11714 PATH_camlp4
="$pkgdir"
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
11719 $as_echo "not available" >&6; }
11724 if test "x$enable_camlp4" != xno
; then :
11727 FLAGS_camlp4
='$(FLAGS_camlp4)'
11729 OPTFLAGS_camlp4
='$(OPTFLAGS_camlp4)'
11732 if test "x$enable_camlp4" = xlocal
; then :
11735 MODULES_camlp4
='$(LOCAL_camlp4)'
11737 MODULESOPT_camlp4
='$(LOCALOPT_camlp4)'
11740 if test -f "$PATH_camlp4/Makefile"; then :
11741 MAKE_camlp4
=$PATH_camlp4
11751 MODULES_camlp4
='$(GLOBAL_camlp4)'
11753 MODULESOPT_camlp4
='$(GLOBALOPT_camlp4)'
11760 if test "x$enable_camlp4" = xno
; then :
11761 as_fn_error $?
"OCaml package camlp4 is required. Please make sure it is available." "$LINENO" 5
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package menhirLib" >&5
11766 $as_echo "$as_me: configuring package menhirLib" >&6;}
11767 # Check whether --enable-menhirLib was given.
11768 if test "${enable_menhirLib+set}" = set; then :
11769 enableval
=$enable_menhirLib;
11773 if test "x$enable_menhirLib" != xno
; then :
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package menhirLib" >&5
11776 $as_echo_n "checking for OCaml findlib package menhirLib... " >&6; }
11781 for pkg
in menhirLib
; do
11782 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
11784 $as_echo "found" >&6; }
11785 OCAML_PKG_menhirLib
=$pkg
11790 if test "$found" = "no" ; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11792 $as_echo "not found" >&6; }
11793 OCAML_PKG_menhirLib
=no
11798 if test "x$OCAML_PKG_menhirLib" != xno
; then :
11799 PATH_menhirLib
=`$OCAMLFIND query menhirLib 2>/dev/null`
11804 GLOBAL_menhirLib
=$OCAML_PKG_menhirLib
11807 if test "x$GLOBAL_menhirLib" != xno
; then :
11808 enable_menhirLib
=yes
11812 if test "x$enable_menhirLib" = xyes
; then :
11813 as_fn_error $?
"OCaml package menhirLib is not available but requested explicitly" "$LINENO" 5
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package menhirLib is not available" >&5
11817 $as_echo "$as_me: OCaml package menhirLib is not available" >&6;}
11818 enable_menhirLib
=no
11825 if test "x$enable_menhirLib" = xno
; then :
11826 { pkgdir
=; unset pkgdir
;}
11827 pkgdir
="$COCCI_OCAML_EXTERNAL/menhirLib/"
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of menhirLib" >&5
11829 $as_echo_n "checking for a bundled substitute of menhirLib... " >&6; }
11830 if test -d "$pkgdir"; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11832 $as_echo "yes" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for menhirLib in $pkgdir" >&5
11834 $as_echo "$as_me: using bundled substitute for menhirLib in $pkgdir" >&6;}
11835 enable_menhirLib
=local
11837 PATH_menhirLib
="$pkgdir"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
11842 $as_echo "not available" >&6; }
11847 if test "x$enable_menhirLib" != xno
; then :
11848 FEATURE_menhirLib
=1
11850 FLAGS_menhirLib
='$(FLAGS_menhirLib)'
11852 OPTFLAGS_menhirLib
='$(OPTFLAGS_menhirLib)'
11855 if test "x$enable_menhirLib" = xlocal
; then :
11856 LOCALLIB_menhirLib
=1
11858 MODULES_menhirLib
='$(LOCAL_menhirLib)'
11860 MODULESOPT_menhirLib
='$(LOCALOPT_menhirLib)'
11863 if test -f "$PATH_menhirLib/Makefile"; then :
11864 MAKE_menhirLib
=$PATH_menhirLib
11874 MODULES_menhirLib
='$(GLOBAL_menhirLib)'
11876 MODULESOPT_menhirLib
='$(GLOBALOPT_menhirLib)'
11883 if test "x$enable_menhirLib" = xno
; then :
11884 as_fn_error $?
"OCaml package menhirLib is required. Please make sure it is available." "$LINENO" 5
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: verifying optional features" >&5
11894 $as_echo "$as_me: verifying optional features" >&6;}
11896 if test "x$OCAML_PKG_dynlink" != xno
-a -f "$PATH_dynlink/dynlink.cmxa"; then :
11897 OPTIMIZED_dynlink
=yes
11901 OPTIMIZED_dynlink
=no
11909 # Check whether --with-menhir was given.
11910 if test "${with_menhir+set}" = set; then :
11911 withval
=$with_menhir;
11914 with_MENHIR
="$with_menhir"
11916 if test -n "$with_MENHIR" -a "x$with_MENHIR" != xno
-a "x$with_MENHIR" != xyes
; then :
11917 MENHIR
="$with_MENHIR"
11926 if test "x$with_MENHIR" = xno
; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: menhir is disabled explicitly" >&5
11928 $as_echo "$as_me: menhir is disabled explicitly" >&6;}
11933 if test "x$MENHIR" = xpkg-config
-a "xMENHIR" = xPKG_CONFIG
; then :
11936 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11937 if test -n "$ac_tool_prefix"; then
11938 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11939 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941 $as_echo_n "checking for $ac_word... " >&6; }
11942 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11945 case $PKG_CONFIG in
11947 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11951 for as_dir
in $PATH
11954 test -z "$as_dir" && as_dir
=.
11955 for ac_exec_ext
in '' $ac_executable_extensions; do
11956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11957 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11968 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11969 if test -n "$PKG_CONFIG"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11971 $as_echo "$PKG_CONFIG" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11979 if test -z "$ac_cv_path_PKG_CONFIG"; then
11980 ac_pt_PKG_CONFIG
=$PKG_CONFIG
11981 # Extract the first word of "pkg-config", so it can be a program name with args.
11982 set dummy pkg-config
; ac_word
=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 case $ac_pt_PKG_CONFIG in
11990 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12011 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
12012 if test -n "$ac_pt_PKG_CONFIG"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12014 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12020 if test "x$ac_pt_PKG_CONFIG" = x
; then
12023 case $cross_compiling:$ac_tool_warned in
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12027 ac_tool_warned
=yes ;;
12029 PKG_CONFIG
=$ac_pt_PKG_CONFIG
12032 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12036 if test -n "$PKG_CONFIG"; then
12037 _pkg_min_version
=0.9.0
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12039 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12040 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12042 $as_echo "yes" >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12045 $as_echo "no" >&6; }
12051 elif test "x$MENHIR" = xocamllex
-a "xMENHIR" = xOCAMLLEX
; then :
12052 # checking for ocamllex
12053 if test -n "$ac_tool_prefix"; then
12054 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
12055 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12057 $as_echo_n "checking for $ac_word... " >&6; }
12058 if ${ac_cv_path_OCAMLLEX+:} false
; then :
12059 $as_echo_n "(cached) " >&6
12063 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
12066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12067 for as_dir
in $PATH
12070 test -z "$as_dir" && as_dir
=.
12071 for ac_exec_ext
in '' $ac_executable_extensions; do
12072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12073 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
12074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12084 OCAMLLEX
=$ac_cv_path_OCAMLLEX
12085 if test -n "$OCAMLLEX"; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
12087 $as_echo "$OCAMLLEX" >&6; }
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12090 $as_echo "no" >&6; }
12095 if test -z "$ac_cv_path_OCAMLLEX"; then
12096 ac_pt_OCAMLLEX
=$OCAMLLEX
12097 # Extract the first word of "ocamllex", so it can be a program name with args.
12098 set dummy ocamllex
; ac_word
=$2
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12100 $as_echo_n "checking for $ac_word... " >&6; }
12101 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
12102 $as_echo_n "(cached) " >&6
12104 case $ac_pt_OCAMLLEX in
12106 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
12109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12110 for as_dir
in $PATH
12113 test -z "$as_dir" && as_dir
=.
12114 for ac_exec_ext
in '' $ac_executable_extensions; do
12115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
12117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
12128 if test -n "$ac_pt_OCAMLLEX"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
12130 $as_echo "$ac_pt_OCAMLLEX" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12136 if test "x$ac_pt_OCAMLLEX" = x
; then
12139 case $cross_compiling:$ac_tool_warned in
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12143 ac_tool_warned
=yes ;;
12145 OCAMLLEX
=$ac_pt_OCAMLLEX
12148 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
12151 if test "$OCAMLLEX" != "no"; then
12152 if test -n "$ac_tool_prefix"; then
12153 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
12154 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12156 $as_echo_n "checking for $ac_word... " >&6; }
12157 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
12158 $as_echo_n "(cached) " >&6
12160 case $OCAMLLEXDOTOPT in
12162 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
12165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12166 for as_dir
in $PATH
12169 test -z "$as_dir" && as_dir
=.
12170 for ac_exec_ext
in '' $ac_executable_extensions; do
12171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12172 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
12173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12183 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
12184 if test -n "$OCAMLLEXDOTOPT"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
12186 $as_echo "$OCAMLLEXDOTOPT" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12189 $as_echo "no" >&6; }
12194 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
12195 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
12196 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
12197 set dummy ocamllex.opt
; ac_word
=$2
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12199 $as_echo_n "checking for $ac_word... " >&6; }
12200 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
12201 $as_echo_n "(cached) " >&6
12203 case $ac_pt_OCAMLLEXDOTOPT in
12205 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
12208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12209 for as_dir
in $PATH
12212 test -z "$as_dir" && as_dir
=.
12213 for ac_exec_ext
in '' $ac_executable_extensions; do
12214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12215 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
12216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12226 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
12227 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
12229 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12235 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
12236 OCAMLLEXDOTOPT
="no"
12238 case $cross_compiling:$ac_tool_warned in
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12242 ac_tool_warned
=yes ;;
12244 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
12247 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
12250 if test "$OCAMLLEXDOTOPT" != "no"; then
12251 OCAMLLEX
=$OCAMLLEXDOTOPT
12257 elif test "x$MENHIR" = xocamlyacc
-a "xMENHIR" = xOCAMLYACC
; then :
12258 if test -n "$ac_tool_prefix"; then
12259 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
12260 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12262 $as_echo_n "checking for $ac_word... " >&6; }
12263 if ${ac_cv_path_OCAMLYACC+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12268 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
12271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12272 for as_dir
in $PATH
12275 test -z "$as_dir" && as_dir
=.
12276 for ac_exec_ext
in '' $ac_executable_extensions; do
12277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12278 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
12279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12289 OCAMLYACC
=$ac_cv_path_OCAMLYACC
12290 if test -n "$OCAMLYACC"; then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
12292 $as_echo "$OCAMLYACC" >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12295 $as_echo "no" >&6; }
12300 if test -z "$ac_cv_path_OCAMLYACC"; then
12301 ac_pt_OCAMLYACC
=$OCAMLYACC
12302 # Extract the first word of "ocamlyacc", so it can be a program name with args.
12303 set dummy ocamlyacc
; ac_word
=$2
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12305 $as_echo_n "checking for $ac_word... " >&6; }
12306 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
12307 $as_echo_n "(cached) " >&6
12309 case $ac_pt_OCAMLYACC in
12311 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
12314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12315 for as_dir
in $PATH
12318 test -z "$as_dir" && as_dir
=.
12319 for ac_exec_ext
in '' $ac_executable_extensions; do
12320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12321 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
12322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
12333 if test -n "$ac_pt_OCAMLYACC"; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
12335 $as_echo "$ac_pt_OCAMLYACC" >&6; }
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12338 $as_echo "no" >&6; }
12341 if test "x$ac_pt_OCAMLYACC" = x
; then
12344 case $cross_compiling:$ac_tool_warned in
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12348 ac_tool_warned
=yes ;;
12350 OCAMLYACC
=$ac_pt_OCAMLYACC
12353 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
12360 if test -n "$ac_tool_prefix"; then
12361 # Extract the first word of "${ac_tool_prefix}[$]MENHIR", so it can be a program name with args.
12362 set dummy
${ac_tool_prefix}$MENHIR; ac_word
=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364 $as_echo_n "checking for $ac_word... " >&6; }
12365 if ${ac_cv_path_MENHIR+:} false
; then :
12366 $as_echo_n "(cached) " >&6
12370 ac_cv_path_MENHIR
="$MENHIR" # Let the user override the test with a path.
12373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12374 for as_dir
in $PATH
12377 test -z "$as_dir" && as_dir
=.
12378 for ac_exec_ext
in '' $ac_executable_extensions; do
12379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12380 ac_cv_path_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
12381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12391 MENHIR
=$ac_cv_path_MENHIR
12392 if test -n "$MENHIR"; then
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MENHIR" >&5
12394 $as_echo "$MENHIR" >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12397 $as_echo "no" >&6; }
12402 if test -z "$ac_cv_path_MENHIR"; then
12403 ac_pt_MENHIR
=$MENHIR
12404 # Extract the first word of "[$]MENHIR", so it can be a program name with args.
12405 set dummy
$MENHIR; ac_word
=$2
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12407 $as_echo_n "checking for $ac_word... " >&6; }
12408 if ${ac_cv_path_ac_pt_MENHIR+:} false
; then :
12409 $as_echo_n "(cached) " >&6
12411 case $ac_pt_MENHIR in
12413 ac_cv_path_ac_pt_MENHIR
="$ac_pt_MENHIR" # Let the user override the test with a path.
12416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12417 for as_dir
in $PATH
12420 test -z "$as_dir" && as_dir
=.
12421 for ac_exec_ext
in '' $ac_executable_extensions; do
12422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12423 ac_cv_path_ac_pt_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
12424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12434 ac_pt_MENHIR
=$ac_cv_path_ac_pt_MENHIR
12435 if test -n "$ac_pt_MENHIR"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MENHIR" >&5
12437 $as_echo "$ac_pt_MENHIR" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 $as_echo "no" >&6; }
12443 if test "x$ac_pt_MENHIR" = x
; then
12446 case $cross_compiling:$ac_tool_warned in
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12450 ac_tool_warned
=yes ;;
12452 MENHIR
=$ac_pt_MENHIR
12455 MENHIR
="$ac_cv_path_MENHIR"
12464 if test -z "$MENHIR" -o "x$MENHIR" = xno
; then :
12465 if test "x$with_MENHIR" = xyes
; then :
12466 as_fn_error $?
"--with=menhir is given explicitly but not found" "$LINENO" 5
12470 if test -n "$COCCI_SRCDIR/setup/fake-menhir.sh menhir"; then :
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: menhir not found. Trying substitute $COCCI_SRCDIR/setup/fake-menhir.sh menhir." >&5
12472 $as_echo "$as_me: menhir not found. Trying substitute $COCCI_SRCDIR/setup/fake-menhir.sh menhir." >&6;}
12473 MENHIR
="$COCCI_SRCDIR/setup/fake-menhir.sh menhir"
12475 if test "xmenhir" = xpkg-config
-a "xMENHIR" = xPKG_CONFIG
; then :
12478 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12479 if test -n "$ac_tool_prefix"; then
12480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12481 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12483 $as_echo_n "checking for $ac_word... " >&6; }
12484 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
12485 $as_echo_n "(cached) " >&6
12487 case $PKG_CONFIG in
12489 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12493 for as_dir
in $PATH
12496 test -z "$as_dir" && as_dir
=.
12497 for ac_exec_ext
in '' $ac_executable_extensions; do
12498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12499 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12511 if test -n "$PKG_CONFIG"; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12513 $as_echo "$PKG_CONFIG" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12516 $as_echo "no" >&6; }
12521 if test -z "$ac_cv_path_PKG_CONFIG"; then
12522 ac_pt_PKG_CONFIG
=$PKG_CONFIG
12523 # Extract the first word of "pkg-config", so it can be a program name with args.
12524 set dummy pkg-config
; ac_word
=$2
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12526 $as_echo_n "checking for $ac_word... " >&6; }
12527 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
12528 $as_echo_n "(cached) " >&6
12530 case $ac_pt_PKG_CONFIG in
12532 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12536 for as_dir
in $PATH
12539 test -z "$as_dir" && as_dir
=.
12540 for ac_exec_ext
in '' $ac_executable_extensions; do
12541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12542 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12553 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
12554 if test -n "$ac_pt_PKG_CONFIG"; then
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12556 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12559 $as_echo "no" >&6; }
12562 if test "x$ac_pt_PKG_CONFIG" = x
; then
12565 case $cross_compiling:$ac_tool_warned in
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12569 ac_tool_warned
=yes ;;
12571 PKG_CONFIG
=$ac_pt_PKG_CONFIG
12574 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12578 if test -n "$PKG_CONFIG"; then
12579 _pkg_min_version
=0.9.0
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12581 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12582 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12584 $as_echo "yes" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12587 $as_echo "no" >&6; }
12593 elif test "xmenhir" = xocamllex
-a "xMENHIR" = xOCAMLLEX
; then :
12594 # checking for ocamllex
12595 if test -n "$ac_tool_prefix"; then
12596 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
12597 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12599 $as_echo_n "checking for $ac_word... " >&6; }
12600 if ${ac_cv_path_OCAMLLEX+:} false
; then :
12601 $as_echo_n "(cached) " >&6
12605 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
12608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12609 for as_dir
in $PATH
12612 test -z "$as_dir" && as_dir
=.
12613 for ac_exec_ext
in '' $ac_executable_extensions; do
12614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12615 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
12616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12626 OCAMLLEX
=$ac_cv_path_OCAMLLEX
12627 if test -n "$OCAMLLEX"; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
12629 $as_echo "$OCAMLLEX" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632 $as_echo "no" >&6; }
12637 if test -z "$ac_cv_path_OCAMLLEX"; then
12638 ac_pt_OCAMLLEX
=$OCAMLLEX
12639 # Extract the first word of "ocamllex", so it can be a program name with args.
12640 set dummy ocamllex
; ac_word
=$2
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12642 $as_echo_n "checking for $ac_word... " >&6; }
12643 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
12644 $as_echo_n "(cached) " >&6
12646 case $ac_pt_OCAMLLEX in
12648 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
12651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12652 for as_dir
in $PATH
12655 test -z "$as_dir" && as_dir
=.
12656 for ac_exec_ext
in '' $ac_executable_extensions; do
12657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12658 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
12659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12669 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
12670 if test -n "$ac_pt_OCAMLLEX"; then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
12672 $as_echo "$ac_pt_OCAMLLEX" >&6; }
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12675 $as_echo "no" >&6; }
12678 if test "x$ac_pt_OCAMLLEX" = x
; then
12681 case $cross_compiling:$ac_tool_warned in
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12685 ac_tool_warned
=yes ;;
12687 OCAMLLEX
=$ac_pt_OCAMLLEX
12690 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
12693 if test "$OCAMLLEX" != "no"; then
12694 if test -n "$ac_tool_prefix"; then
12695 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
12696 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12698 $as_echo_n "checking for $ac_word... " >&6; }
12699 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
12700 $as_echo_n "(cached) " >&6
12702 case $OCAMLLEXDOTOPT in
12704 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
12707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12708 for as_dir
in $PATH
12711 test -z "$as_dir" && as_dir
=.
12712 for ac_exec_ext
in '' $ac_executable_extensions; do
12713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12714 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
12715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12725 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
12726 if test -n "$OCAMLLEXDOTOPT"; then
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
12728 $as_echo "$OCAMLLEXDOTOPT" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12736 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
12737 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
12738 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
12739 set dummy ocamllex.opt
; ac_word
=$2
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12741 $as_echo_n "checking for $ac_word... " >&6; }
12742 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
12743 $as_echo_n "(cached) " >&6
12745 case $ac_pt_OCAMLLEXDOTOPT in
12747 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
12750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12751 for as_dir
in $PATH
12754 test -z "$as_dir" && as_dir
=.
12755 for ac_exec_ext
in '' $ac_executable_extensions; do
12756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12757 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
12758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12768 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
12769 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
12771 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 $as_echo "no" >&6; }
12777 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
12778 OCAMLLEXDOTOPT
="no"
12780 case $cross_compiling:$ac_tool_warned in
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12784 ac_tool_warned
=yes ;;
12786 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
12789 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
12792 if test "$OCAMLLEXDOTOPT" != "no"; then
12793 OCAMLLEX
=$OCAMLLEXDOTOPT
12799 elif test "xmenhir" = xocamlyacc
-a "xMENHIR" = xOCAMLYACC
; then :
12800 if test -n "$ac_tool_prefix"; then
12801 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
12802 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12804 $as_echo_n "checking for $ac_word... " >&6; }
12805 if ${ac_cv_path_OCAMLYACC+:} false
; then :
12806 $as_echo_n "(cached) " >&6
12810 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
12813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12814 for as_dir
in $PATH
12817 test -z "$as_dir" && as_dir
=.
12818 for ac_exec_ext
in '' $ac_executable_extensions; do
12819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12820 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12831 OCAMLYACC
=$ac_cv_path_OCAMLYACC
12832 if test -n "$OCAMLYACC"; then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
12834 $as_echo "$OCAMLYACC" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12837 $as_echo "no" >&6; }
12842 if test -z "$ac_cv_path_OCAMLYACC"; then
12843 ac_pt_OCAMLYACC
=$OCAMLYACC
12844 # Extract the first word of "ocamlyacc", so it can be a program name with args.
12845 set dummy ocamlyacc
; ac_word
=$2
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12847 $as_echo_n "checking for $ac_word... " >&6; }
12848 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
12849 $as_echo_n "(cached) " >&6
12851 case $ac_pt_OCAMLYACC in
12853 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
12856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12857 for as_dir
in $PATH
12860 test -z "$as_dir" && as_dir
=.
12861 for ac_exec_ext
in '' $ac_executable_extensions; do
12862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12863 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
12864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
12875 if test -n "$ac_pt_OCAMLYACC"; then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
12877 $as_echo "$ac_pt_OCAMLYACC" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12883 if test "x$ac_pt_OCAMLYACC" = x
; then
12886 case $cross_compiling:$ac_tool_warned in
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12890 ac_tool_warned
=yes ;;
12892 OCAMLYACC
=$ac_pt_OCAMLYACC
12895 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
12902 if test -n "$ac_tool_prefix"; then
12903 # Extract the first word of "${ac_tool_prefix}menhir", so it can be a program name with args.
12904 set dummy
${ac_tool_prefix}menhir
; ac_word
=$2
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12906 $as_echo_n "checking for $ac_word... " >&6; }
12907 if ${ac_cv_path_MENHIR+:} false
; then :
12908 $as_echo_n "(cached) " >&6
12912 ac_cv_path_MENHIR
="$MENHIR" # Let the user override the test with a path.
12915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12916 for as_dir
in $PATH
12919 test -z "$as_dir" && as_dir
=.
12920 for ac_exec_ext
in '' $ac_executable_extensions; do
12921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12922 ac_cv_path_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
12923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12933 MENHIR
=$ac_cv_path_MENHIR
12934 if test -n "$MENHIR"; then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MENHIR" >&5
12936 $as_echo "$MENHIR" >&6; }
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12939 $as_echo "no" >&6; }
12944 if test -z "$ac_cv_path_MENHIR"; then
12945 ac_pt_MENHIR
=$MENHIR
12946 # Extract the first word of "menhir", so it can be a program name with args.
12947 set dummy menhir
; ac_word
=$2
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12949 $as_echo_n "checking for $ac_word... " >&6; }
12950 if ${ac_cv_path_ac_pt_MENHIR+:} false
; then :
12951 $as_echo_n "(cached) " >&6
12953 case $ac_pt_MENHIR in
12955 ac_cv_path_ac_pt_MENHIR
="$ac_pt_MENHIR" # Let the user override the test with a path.
12958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12959 for as_dir
in $PATH
12962 test -z "$as_dir" && as_dir
=.
12963 for ac_exec_ext
in '' $ac_executable_extensions; do
12964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12965 ac_cv_path_ac_pt_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
12966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12976 ac_pt_MENHIR
=$ac_cv_path_ac_pt_MENHIR
12977 if test -n "$ac_pt_MENHIR"; then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MENHIR" >&5
12979 $as_echo "$ac_pt_MENHIR" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12982 $as_echo "no" >&6; }
12985 if test "x$ac_pt_MENHIR" = x
; then
12988 case $cross_compiling:$ac_tool_warned in
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12992 ac_tool_warned
=yes ;;
12994 MENHIR
=$ac_pt_MENHIR
12997 MENHIR
="$ac_cv_path_MENHIR"
13003 SUBSTITUTED_MENHIR
=yes
13010 if test -z "$MENHIR"; then :
13015 if test "x$SUBSTITUTED_MENHIR" = xyes
; then :
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: pregenerated parsers will be required as substitute for Menhir" >&5
13017 $as_echo "$as_me: pregenerated parsers will be required as substitute for Menhir" >&6;}
13022 # Check whether --enable-ocaml was given.
13023 if test "${enable_ocaml+set}" = set; then :
13024 enableval
=$enable_ocaml;
13027 if test "x$OCAML_PKG_dynlink" = xno
; then :
13028 if test -z "$enable_ocaml"; then :
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting is disabled because the 'dynlink' package is not installed" >&5
13032 $as_echo "$as_me: ocaml scripting is disabled because the 'dynlink' package is not installed" >&6;}
13034 elif test "x$enable_ocaml" != xno
; then :
13035 as_fn_error $?
"the OCaml package dynlink is required for ocaml scripting" "$LINENO" 5
13041 if test "x$OCAMLATLEAST311" = xno
; then :
13042 if test -z "$enable_ocaml"; then :
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting has been disabled by default because your OCaml version may not support dynamic linking properly" >&5
13046 $as_echo "$as_me: ocaml scripting has been disabled by default because your OCaml version may not support dynamic linking properly" >&6;}
13048 elif test "x$enable_ocaml" = xyes
; then :
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: your ocaml version may be too old for dynamic linking, thus ocaml scripting may not work" >&5
13050 $as_echo "$as_me: warning: your ocaml version may be too old for dynamic linking, thus ocaml scripting may not work" >&6;}
13056 if test "x$OPTIMIZED_dynlink" = xno
; then :
13057 if test -z "$enable_ocaml"; then :
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting has been disabled by default because the optimized version of dynlink is not available" >&5
13061 $as_echo "$as_me: ocaml scripting has been disabled by default because the optimized version of dynlink is not available" >&6;}
13063 elif test "x$enable_ocaml" = xyes
; then :
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: the optimized version of dynlink is not available, thus ocaml scripting may not work" >&5
13065 $as_echo "$as_me: warning: the optimized version of dynlink is not available, thus ocaml scripting may not work" >&6;}
13071 if test -n "$SUBSTITUTED_OCAMLFIND"; then :
13072 if test -z "$enable_ocaml"; then :
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting is disabled because it depends on ocamlfind" >&5
13076 $as_echo "$as_me: ocaml scripting is disabled because it depends on ocamlfind" >&6;}
13078 elif test "x$enable_ocaml" != xno
; then :
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ocamlfind is not found but may be required when ocaml scripts are used" >&5
13080 $as_echo "$as_me: warning: ocamlfind is not found but may be required when ocaml scripts are used" >&6;}
13086 if test "x$CAMLP4" = xno
; then :
13087 if test -z "$enable_ocaml"; then :
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting is disabled because it requires camlp4 which is not available" >&5
13091 $as_echo "$as_me: ocaml scripting is disabled because it requires camlp4 which is not available" >&6;}
13093 elif test "x$enable_ocaml" != xno
; then :
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: camlp4 is not found but may be required when ocaml scripts are used" >&5
13095 $as_echo "$as_me: warning: camlp4 is not found but may be required when ocaml scripts are used" >&6;}
13101 if test "x$enable_ocaml" = xno
; then :
13110 MODULESOPT_dynlink
=
13114 OCAMLCOCCI_MODULE
=No_prepare_ocamlcocci
13116 OCAMLCOCCI_FILE
=no_prepare_ocamlcocci.ml
13122 OCAMLCOCCI_MODULE
=Yes_prepare_ocamlcocci
13124 OCAMLCOCCI_FILE
=yes_prepare_ocamlcocci.ml
13131 # Check whether --enable-python was given.
13132 if test "${enable_python+set}" = set; then :
13133 enableval
=$enable_python;
13136 if test "x$enable_python" != xno
; then :
13137 if test -n "$enable_python" -a -z "$enable_pycaml"; then :
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: skipped the selection of a global pycaml module because --enable-python is given explicitly but --enable-pycaml is not." >&5
13139 $as_echo "$as_me: skipped the selection of a global pycaml module because --enable-python is given explicitly but --enable-pycaml is not." >&6;}
13145 if test -z "$PYVER"; then :
13149 # Check whether --with-python was given.
13150 if test "${with_python+set}" = set; then :
13151 withval
=$with_python;
13154 with_PYTHON
="$with_python"
13156 if test -n "$with_PYTHON" -a "x$with_PYTHON" != xno
-a "x$with_PYTHON" != xyes
; then :
13157 PYTHON
="$with_PYTHON"
13166 if test "x$with_PYTHON" = xno
; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: python is disabled explicitly" >&5
13168 $as_echo "$as_me: python is disabled explicitly" >&6;}
13173 if test "x$PYTHON" = xpkg-config
-a "xPYTHON" = xPKG_CONFIG
; then :
13176 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13177 if test -n "$ac_tool_prefix"; then
13178 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13179 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13181 $as_echo_n "checking for $ac_word... " >&6; }
13182 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
13183 $as_echo_n "(cached) " >&6
13185 case $PKG_CONFIG in
13187 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13191 for as_dir
in $PATH
13194 test -z "$as_dir" && as_dir
=.
13195 for ac_exec_ext
in '' $ac_executable_extensions; do
13196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13197 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13208 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13209 if test -n "$PKG_CONFIG"; then
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13211 $as_echo "$PKG_CONFIG" >&6; }
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13214 $as_echo "no" >&6; }
13219 if test -z "$ac_cv_path_PKG_CONFIG"; then
13220 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13221 # Extract the first word of "pkg-config", so it can be a program name with args.
13222 set dummy pkg-config
; ac_word
=$2
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13224 $as_echo_n "checking for $ac_word... " >&6; }
13225 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
13226 $as_echo_n "(cached) " >&6
13228 case $ac_pt_PKG_CONFIG in
13230 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13234 for as_dir
in $PATH
13237 test -z "$as_dir" && as_dir
=.
13238 for ac_exec_ext
in '' $ac_executable_extensions; do
13239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13240 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13251 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13252 if test -n "$ac_pt_PKG_CONFIG"; then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13254 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13257 $as_echo "no" >&6; }
13260 if test "x$ac_pt_PKG_CONFIG" = x
; then
13263 case $cross_compiling:$ac_tool_warned in
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13267 ac_tool_warned
=yes ;;
13269 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13272 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13276 if test -n "$PKG_CONFIG"; then
13277 _pkg_min_version
=0.9.0
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13279 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13280 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13282 $as_echo "yes" >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13285 $as_echo "no" >&6; }
13291 elif test "x$PYTHON" = xocamllex
-a "xPYTHON" = xOCAMLLEX
; then :
13292 # checking for ocamllex
13293 if test -n "$ac_tool_prefix"; then
13294 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
13295 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13297 $as_echo_n "checking for $ac_word... " >&6; }
13298 if ${ac_cv_path_OCAMLLEX+:} false
; then :
13299 $as_echo_n "(cached) " >&6
13303 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
13306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13307 for as_dir
in $PATH
13310 test -z "$as_dir" && as_dir
=.
13311 for ac_exec_ext
in '' $ac_executable_extensions; do
13312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13313 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13324 OCAMLLEX
=$ac_cv_path_OCAMLLEX
13325 if test -n "$OCAMLLEX"; then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
13327 $as_echo "$OCAMLLEX" >&6; }
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13330 $as_echo "no" >&6; }
13335 if test -z "$ac_cv_path_OCAMLLEX"; then
13336 ac_pt_OCAMLLEX
=$OCAMLLEX
13337 # Extract the first word of "ocamllex", so it can be a program name with args.
13338 set dummy ocamllex
; ac_word
=$2
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13340 $as_echo_n "checking for $ac_word... " >&6; }
13341 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 case $ac_pt_OCAMLLEX in
13346 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
13349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13350 for as_dir
in $PATH
13353 test -z "$as_dir" && as_dir
=.
13354 for ac_exec_ext
in '' $ac_executable_extensions; do
13355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13356 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13367 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
13368 if test -n "$ac_pt_OCAMLLEX"; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
13370 $as_echo "$ac_pt_OCAMLLEX" >&6; }
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13376 if test "x$ac_pt_OCAMLLEX" = x
; then
13379 case $cross_compiling:$ac_tool_warned in
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13383 ac_tool_warned
=yes ;;
13385 OCAMLLEX
=$ac_pt_OCAMLLEX
13388 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
13391 if test "$OCAMLLEX" != "no"; then
13392 if test -n "$ac_tool_prefix"; then
13393 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
13394 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13396 $as_echo_n "checking for $ac_word... " >&6; }
13397 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
13398 $as_echo_n "(cached) " >&6
13400 case $OCAMLLEXDOTOPT in
13402 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
13405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13406 for as_dir
in $PATH
13409 test -z "$as_dir" && as_dir
=.
13410 for ac_exec_ext
in '' $ac_executable_extensions; do
13411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13412 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
13413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13423 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
13424 if test -n "$OCAMLLEXDOTOPT"; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
13426 $as_echo "$OCAMLLEXDOTOPT" >&6; }
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13429 $as_echo "no" >&6; }
13434 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
13435 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
13436 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
13437 set dummy ocamllex.opt
; ac_word
=$2
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13439 $as_echo_n "checking for $ac_word... " >&6; }
13440 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
13441 $as_echo_n "(cached) " >&6
13443 case $ac_pt_OCAMLLEXDOTOPT in
13445 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
13448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13449 for as_dir
in $PATH
13452 test -z "$as_dir" && as_dir
=.
13453 for ac_exec_ext
in '' $ac_executable_extensions; do
13454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13455 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
13456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13466 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
13467 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
13469 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13472 $as_echo "no" >&6; }
13475 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
13476 OCAMLLEXDOTOPT
="no"
13478 case $cross_compiling:$ac_tool_warned in
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13482 ac_tool_warned
=yes ;;
13484 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
13487 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
13490 if test "$OCAMLLEXDOTOPT" != "no"; then
13491 OCAMLLEX
=$OCAMLLEXDOTOPT
13497 elif test "x$PYTHON" = xocamlyacc
-a "xPYTHON" = xOCAMLYACC
; then :
13498 if test -n "$ac_tool_prefix"; then
13499 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
13500 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13502 $as_echo_n "checking for $ac_word... " >&6; }
13503 if ${ac_cv_path_OCAMLYACC+:} false
; then :
13504 $as_echo_n "(cached) " >&6
13508 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
13511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13512 for as_dir
in $PATH
13515 test -z "$as_dir" && as_dir
=.
13516 for ac_exec_ext
in '' $ac_executable_extensions; do
13517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13518 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
13519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13529 OCAMLYACC
=$ac_cv_path_OCAMLYACC
13530 if test -n "$OCAMLYACC"; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
13532 $as_echo "$OCAMLYACC" >&6; }
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13540 if test -z "$ac_cv_path_OCAMLYACC"; then
13541 ac_pt_OCAMLYACC
=$OCAMLYACC
13542 # Extract the first word of "ocamlyacc", so it can be a program name with args.
13543 set dummy ocamlyacc
; ac_word
=$2
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13545 $as_echo_n "checking for $ac_word... " >&6; }
13546 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 case $ac_pt_OCAMLYACC in
13551 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
13554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13555 for as_dir
in $PATH
13558 test -z "$as_dir" && as_dir
=.
13559 for ac_exec_ext
in '' $ac_executable_extensions; do
13560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13561 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
13562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13572 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
13573 if test -n "$ac_pt_OCAMLYACC"; then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
13575 $as_echo "$ac_pt_OCAMLYACC" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578 $as_echo "no" >&6; }
13581 if test "x$ac_pt_OCAMLYACC" = x
; then
13584 case $cross_compiling:$ac_tool_warned in
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13588 ac_tool_warned
=yes ;;
13590 OCAMLYACC
=$ac_pt_OCAMLYACC
13593 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
13600 if test -n "$ac_tool_prefix"; then
13601 # Extract the first word of "${ac_tool_prefix}[$]PYTHON", so it can be a program name with args.
13602 set dummy
${ac_tool_prefix}$PYTHON; ac_word
=$2
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13604 $as_echo_n "checking for $ac_word... " >&6; }
13605 if ${ac_cv_path_PYTHON+:} false
; then :
13606 $as_echo_n "(cached) " >&6
13610 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
13613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13614 for as_dir
in $PATH
13617 test -z "$as_dir" && as_dir
=.
13618 for ac_exec_ext
in '' $ac_executable_extensions; do
13619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13620 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
13621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13631 PYTHON
=$ac_cv_path_PYTHON
13632 if test -n "$PYTHON"; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13634 $as_echo "$PYTHON" >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13637 $as_echo "no" >&6; }
13642 if test -z "$ac_cv_path_PYTHON"; then
13643 ac_pt_PYTHON
=$PYTHON
13644 # Extract the first word of "[$]PYTHON", so it can be a program name with args.
13645 set dummy
$PYTHON; ac_word
=$2
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13647 $as_echo_n "checking for $ac_word... " >&6; }
13648 if ${ac_cv_path_ac_pt_PYTHON+:} false
; then :
13649 $as_echo_n "(cached) " >&6
13651 case $ac_pt_PYTHON in
13653 ac_cv_path_ac_pt_PYTHON
="$ac_pt_PYTHON" # Let the user override the test with a path.
13656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13657 for as_dir
in $PATH
13660 test -z "$as_dir" && as_dir
=.
13661 for ac_exec_ext
in '' $ac_executable_extensions; do
13662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13663 ac_cv_path_ac_pt_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
13664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13674 ac_pt_PYTHON
=$ac_cv_path_ac_pt_PYTHON
13675 if test -n "$ac_pt_PYTHON"; then
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PYTHON" >&5
13677 $as_echo "$ac_pt_PYTHON" >&6; }
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13680 $as_echo "no" >&6; }
13683 if test "x$ac_pt_PYTHON" = x
; then
13686 case $cross_compiling:$ac_tool_warned in
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13690 ac_tool_warned
=yes ;;
13692 PYTHON
=$ac_pt_PYTHON
13695 PYTHON
="$ac_cv_path_PYTHON"
13704 if test -z "$PYTHON" -o "x$PYTHON" = xno
; then :
13705 if test "x$with_PYTHON" = xyes
; then :
13706 as_fn_error $?
"--with=python is given explicitly but not found" "$LINENO" 5
13710 if test -n ""; then :
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: python not found. Trying substitute ." >&5
13712 $as_echo "$as_me: python not found. Trying substitute ." >&6;}
13715 if test "xpython" = xpkg-config
-a "xPYTHON" = xPKG_CONFIG
; then :
13718 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13719 if test -n "$ac_tool_prefix"; then
13720 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13721 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13723 $as_echo_n "checking for $ac_word... " >&6; }
13724 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
13725 $as_echo_n "(cached) " >&6
13727 case $PKG_CONFIG in
13729 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13733 for as_dir
in $PATH
13736 test -z "$as_dir" && as_dir
=.
13737 for ac_exec_ext
in '' $ac_executable_extensions; do
13738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13739 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13750 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13751 if test -n "$PKG_CONFIG"; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13753 $as_echo "$PKG_CONFIG" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13756 $as_echo "no" >&6; }
13761 if test -z "$ac_cv_path_PKG_CONFIG"; then
13762 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13763 # Extract the first word of "pkg-config", so it can be a program name with args.
13764 set dummy pkg-config
; ac_word
=$2
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13766 $as_echo_n "checking for $ac_word... " >&6; }
13767 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13770 case $ac_pt_PKG_CONFIG in
13772 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13776 for as_dir
in $PATH
13779 test -z "$as_dir" && as_dir
=.
13780 for ac_exec_ext
in '' $ac_executable_extensions; do
13781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13782 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13793 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13794 if test -n "$ac_pt_PKG_CONFIG"; then
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13796 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13799 $as_echo "no" >&6; }
13802 if test "x$ac_pt_PKG_CONFIG" = x
; then
13805 case $cross_compiling:$ac_tool_warned in
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13809 ac_tool_warned
=yes ;;
13811 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13814 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13818 if test -n "$PKG_CONFIG"; then
13819 _pkg_min_version
=0.9.0
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13821 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13822 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13824 $as_echo "yes" >&6; }
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13827 $as_echo "no" >&6; }
13833 elif test "xpython" = xocamllex
-a "xPYTHON" = xOCAMLLEX
; then :
13834 # checking for ocamllex
13835 if test -n "$ac_tool_prefix"; then
13836 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
13837 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13839 $as_echo_n "checking for $ac_word... " >&6; }
13840 if ${ac_cv_path_OCAMLLEX+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13845 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
13848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13849 for as_dir
in $PATH
13852 test -z "$as_dir" && as_dir
=.
13853 for ac_exec_ext
in '' $ac_executable_extensions; do
13854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13855 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13866 OCAMLLEX
=$ac_cv_path_OCAMLLEX
13867 if test -n "$OCAMLLEX"; then
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
13869 $as_echo "$OCAMLLEX" >&6; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13872 $as_echo "no" >&6; }
13877 if test -z "$ac_cv_path_OCAMLLEX"; then
13878 ac_pt_OCAMLLEX
=$OCAMLLEX
13879 # Extract the first word of "ocamllex", so it can be a program name with args.
13880 set dummy ocamllex
; ac_word
=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
13884 $as_echo_n "(cached) " >&6
13886 case $ac_pt_OCAMLLEX in
13888 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
13891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13892 for as_dir
in $PATH
13895 test -z "$as_dir" && as_dir
=.
13896 for ac_exec_ext
in '' $ac_executable_extensions; do
13897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13898 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13909 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
13910 if test -n "$ac_pt_OCAMLLEX"; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
13912 $as_echo "$ac_pt_OCAMLLEX" >&6; }
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13915 $as_echo "no" >&6; }
13918 if test "x$ac_pt_OCAMLLEX" = x
; then
13921 case $cross_compiling:$ac_tool_warned in
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13925 ac_tool_warned
=yes ;;
13927 OCAMLLEX
=$ac_pt_OCAMLLEX
13930 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
13933 if test "$OCAMLLEX" != "no"; then
13934 if test -n "$ac_tool_prefix"; then
13935 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
13936 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13938 $as_echo_n "checking for $ac_word... " >&6; }
13939 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
13940 $as_echo_n "(cached) " >&6
13942 case $OCAMLLEXDOTOPT in
13944 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
13947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13948 for as_dir
in $PATH
13951 test -z "$as_dir" && as_dir
=.
13952 for ac_exec_ext
in '' $ac_executable_extensions; do
13953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13954 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
13955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13965 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
13966 if test -n "$OCAMLLEXDOTOPT"; then
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
13968 $as_echo "$OCAMLLEXDOTOPT" >&6; }
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971 $as_echo "no" >&6; }
13976 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
13977 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
13978 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
13979 set dummy ocamllex.opt
; ac_word
=$2
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13981 $as_echo_n "checking for $ac_word... " >&6; }
13982 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
13983 $as_echo_n "(cached) " >&6
13985 case $ac_pt_OCAMLLEXDOTOPT in
13987 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
13990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13991 for as_dir
in $PATH
13994 test -z "$as_dir" && as_dir
=.
13995 for ac_exec_ext
in '' $ac_executable_extensions; do
13996 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13997 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
13998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14008 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
14009 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
14011 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14017 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
14018 OCAMLLEXDOTOPT
="no"
14020 case $cross_compiling:$ac_tool_warned in
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14024 ac_tool_warned
=yes ;;
14026 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
14029 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
14032 if test "$OCAMLLEXDOTOPT" != "no"; then
14033 OCAMLLEX
=$OCAMLLEXDOTOPT
14039 elif test "xpython" = xocamlyacc
-a "xPYTHON" = xOCAMLYACC
; then :
14040 if test -n "$ac_tool_prefix"; then
14041 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
14042 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14044 $as_echo_n "checking for $ac_word... " >&6; }
14045 if ${ac_cv_path_OCAMLYACC+:} false
; then :
14046 $as_echo_n "(cached) " >&6
14050 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
14053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14054 for as_dir
in $PATH
14057 test -z "$as_dir" && as_dir
=.
14058 for ac_exec_ext
in '' $ac_executable_extensions; do
14059 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
14061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14071 OCAMLYACC
=$ac_cv_path_OCAMLYACC
14072 if test -n "$OCAMLYACC"; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
14074 $as_echo "$OCAMLYACC" >&6; }
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14077 $as_echo "no" >&6; }
14082 if test -z "$ac_cv_path_OCAMLYACC"; then
14083 ac_pt_OCAMLYACC
=$OCAMLYACC
14084 # Extract the first word of "ocamlyacc", so it can be a program name with args.
14085 set dummy ocamlyacc
; ac_word
=$2
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14087 $as_echo_n "checking for $ac_word... " >&6; }
14088 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
14089 $as_echo_n "(cached) " >&6
14091 case $ac_pt_OCAMLYACC in
14093 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
14096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14097 for as_dir
in $PATH
14100 test -z "$as_dir" && as_dir
=.
14101 for ac_exec_ext
in '' $ac_executable_extensions; do
14102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14103 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
14104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14114 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
14115 if test -n "$ac_pt_OCAMLYACC"; then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
14117 $as_echo "$ac_pt_OCAMLYACC" >&6; }
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14120 $as_echo "no" >&6; }
14123 if test "x$ac_pt_OCAMLYACC" = x
; then
14126 case $cross_compiling:$ac_tool_warned in
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14130 ac_tool_warned
=yes ;;
14132 OCAMLYACC
=$ac_pt_OCAMLYACC
14135 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
14142 if test -n "$ac_tool_prefix"; then
14143 # Extract the first word of "${ac_tool_prefix}python", so it can be a program name with args.
14144 set dummy
${ac_tool_prefix}python
; ac_word
=$2
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14146 $as_echo_n "checking for $ac_word... " >&6; }
14147 if ${ac_cv_path_PYTHON+:} false
; then :
14148 $as_echo_n "(cached) " >&6
14152 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
14155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14156 for as_dir
in $PATH
14159 test -z "$as_dir" && as_dir
=.
14160 for ac_exec_ext
in '' $ac_executable_extensions; do
14161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14162 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14173 PYTHON
=$ac_cv_path_PYTHON
14174 if test -n "$PYTHON"; then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14176 $as_echo "$PYTHON" >&6; }
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14179 $as_echo "no" >&6; }
14184 if test -z "$ac_cv_path_PYTHON"; then
14185 ac_pt_PYTHON
=$PYTHON
14186 # Extract the first word of "python", so it can be a program name with args.
14187 set dummy python
; ac_word
=$2
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14189 $as_echo_n "checking for $ac_word... " >&6; }
14190 if ${ac_cv_path_ac_pt_PYTHON+:} false
; then :
14191 $as_echo_n "(cached) " >&6
14193 case $ac_pt_PYTHON in
14195 ac_cv_path_ac_pt_PYTHON
="$ac_pt_PYTHON" # Let the user override the test with a path.
14198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14199 for as_dir
in $PATH
14202 test -z "$as_dir" && as_dir
=.
14203 for ac_exec_ext
in '' $ac_executable_extensions; do
14204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14205 ac_cv_path_ac_pt_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14216 ac_pt_PYTHON
=$ac_cv_path_ac_pt_PYTHON
14217 if test -n "$ac_pt_PYTHON"; then
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PYTHON" >&5
14219 $as_echo "$ac_pt_PYTHON" >&6; }
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14222 $as_echo "no" >&6; }
14225 if test "x$ac_pt_PYTHON" = x
; then
14228 case $cross_compiling:$ac_tool_warned in
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14232 ac_tool_warned
=yes ;;
14234 PYTHON
=$ac_pt_PYTHON
14237 PYTHON
="$ac_cv_path_PYTHON"
14243 SUBSTITUTED_PYTHON
=yes
14250 if test -z "$PYTHON"; then :
14256 if test "x$PYTHON" = xno
-a -z "$with_python"; then :
14257 for ac_prog
in python python3 python3.2 python3.1 python2 python2.7 python2.6 python2.5
14259 # Extract the first word of "$ac_prog", so it can be a program name with args.
14260 set dummy
$ac_prog; ac_word
=$2
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14262 $as_echo_n "checking for $ac_word... " >&6; }
14263 if ${ac_cv_path_PYTHON+:} false
; then :
14264 $as_echo_n "(cached) " >&6
14268 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
14271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14272 for as_dir
in $PATH
14275 test -z "$as_dir" && as_dir
=.
14276 for ac_exec_ext
in '' $ac_executable_extensions; do
14277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14278 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14289 PYTHON
=$ac_cv_path_PYTHON
14290 if test -n "$PYTHON"; then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14292 $as_echo "$PYTHON" >&6; }
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14295 $as_echo "no" >&6; }
14299 test -n "$PYTHON" && break
14302 if test -z "$PYTHON"; then :
14309 if test "x$PYTHON" = xno
-a -n "$with_python" -a "x$with_python" != xyes
; then :
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: $with_python is not a found as tool, therefore interpreted as version" >&5
14311 $as_echo "$as_me: $with_python is not a found as tool, therefore interpreted as version" >&6;}
14312 PYVER
="$with_python"
14317 if test "x$PYTHON" != xno
; then :
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python version" >&5
14319 $as_echo_n "checking python version... " >&6; }
14320 PYVER
=`$PYTHON -c "import sys; print(sys.version[:3])"`
14321 if test -n "$PYVER"; then :
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYVER found" >&5
14323 $as_echo "$PYVER found" >&6; }
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
14326 $as_echo "failed" >&6; }
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: python version assumed to be $PYVER" >&5
14334 $as_echo "$as_me: python version assumed to be $PYVER" >&6;}
14338 PYVER_MAJOR
=${PYVER%%.*}
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: python major version: $PYVER_MAJOR" >&5
14341 $as_echo "$as_me: python major version: $PYVER_MAJOR" >&6;}
14344 if test -z "$PYVER"; then :
14345 if test "x$enable_python" = xyes
; then :
14346 as_fn_error $?
"python scripting is enabled explicitly but the version of python could not be determined" "$LINENO" 5
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for the corresponding python library" >&5
14352 $as_echo "$as_me: looking for the corresponding python library" >&6;}
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
14356 $as_echo_n "checking for PYTHON... " >&6; }
14358 if test -n "$PYTHON_CFLAGS"; then
14359 pkg_cv_PYTHON_CFLAGS
="$PYTHON_CFLAGS"
14360 elif test -n "$PKG_CONFIG"; then
14361 if test -n "$PKG_CONFIG" && \
14362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYVER\""; } >&5
14363 ($PKG_CONFIG --exists --print-errors "python-$PYVER") 2>&5
14365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14366 test $ac_status = 0; }; then
14367 pkg_cv_PYTHON_CFLAGS
=`$PKG_CONFIG --cflags "python-$PYVER" 2>/dev/null`
14374 if test -n "$PYTHON_LIBS"; then
14375 pkg_cv_PYTHON_LIBS
="$PYTHON_LIBS"
14376 elif test -n "$PKG_CONFIG"; then
14377 if test -n "$PKG_CONFIG" && \
14378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYVER\""; } >&5
14379 ($PKG_CONFIG --exists --print-errors "python-$PYVER") 2>&5
14381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14382 test $ac_status = 0; }; then
14383 pkg_cv_PYTHON_LIBS
=`$PKG_CONFIG --libs "python-$PYVER" 2>/dev/null`
14393 if test $pkg_failed = yes; then
14395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14396 _pkg_short_errors_supported
=yes
14398 _pkg_short_errors_supported
=no
14400 if test $_pkg_short_errors_supported = yes; then
14401 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "python-$PYVER" 2>&1`
14403 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --print-errors "python-$PYVER" 2>&1`
14405 # Put the nasty error message in config.log where it belongs
14406 echo "$PYTHON_PKG_ERRORS" >&5
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14409 $as_echo "no" >&6; }
14412 elif test $pkg_failed = untried
; then
14416 PYTHON_CFLAGS
=$pkg_cv_PYTHON_CFLAGS
14417 PYTHON_LIBS
=$pkg_cv_PYTHON_LIBS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14424 if test "x$HAVE_PYTHON" != xyes
-a "x$enable_python" != xyes
; then :
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: trying the default python library as fallback" >&5
14426 $as_echo "$as_me: trying the default python library as fallback" >&6;}
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
14430 $as_echo_n "checking for PYTHON... " >&6; }
14432 if test -n "$PYTHON_CFLAGS"; then
14433 pkg_cv_PYTHON_CFLAGS
="$PYTHON_CFLAGS"
14434 elif test -n "$PKG_CONFIG"; then
14435 if test -n "$PKG_CONFIG" && \
14436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
14437 ($PKG_CONFIG --exists --print-errors "python") 2>&5
14439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14440 test $ac_status = 0; }; then
14441 pkg_cv_PYTHON_CFLAGS
=`$PKG_CONFIG --cflags "python" 2>/dev/null`
14448 if test -n "$PYTHON_LIBS"; then
14449 pkg_cv_PYTHON_LIBS
="$PYTHON_LIBS"
14450 elif test -n "$PKG_CONFIG"; then
14451 if test -n "$PKG_CONFIG" && \
14452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
14453 ($PKG_CONFIG --exists --print-errors "python") 2>&5
14455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14456 test $ac_status = 0; }; then
14457 pkg_cv_PYTHON_LIBS
=`$PKG_CONFIG --libs "python" 2>/dev/null`
14467 if test $pkg_failed = yes; then
14469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14470 _pkg_short_errors_supported
=yes
14472 _pkg_short_errors_supported
=no
14474 if test $_pkg_short_errors_supported = yes; then
14475 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "python" 2>&1`
14477 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --print-errors "python" 2>&1`
14479 # Put the nasty error message in config.log where it belongs
14480 echo "$PYTHON_PKG_ERRORS" >&5
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14483 $as_echo "no" >&6; }
14486 elif test $pkg_failed = untried
; then
14490 PYTHON_CFLAGS
=$pkg_cv_PYTHON_CFLAGS
14491 PYTHON_LIBS
=$pkg_cv_PYTHON_LIBS
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14504 if test -z "$enable_python"; then :
14505 if test "x$HAVE_PYTHON" = xyes
; then :
14517 if test "x$enable_python" != xno
; then :
14518 if test "x$HAVE_PYTHON" = xyes
; then :
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: support for python scripts is enabled" >&5
14520 $as_echo "$as_me: support for python scripts is enabled" >&6;}
14523 as_fn_error $?
"the python scripts feature is enabled but the pkg-config python library is not found" "$LINENO" 5
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package pycaml" >&5
14528 $as_echo "$as_me: configuring package pycaml" >&6;}
14529 # Check whether --enable-pycaml was given.
14530 if test "${enable_pycaml+set}" = set; then :
14531 enableval
=$enable_pycaml;
14535 if test "x$enable_pycaml" != xno
; then :
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package pycaml" >&5
14538 $as_echo_n "checking for OCaml findlib package pycaml... " >&6; }
14543 for pkg
in pycaml
; do
14544 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14546 $as_echo "found" >&6; }
14547 OCAML_PKG_pycaml
=$pkg
14552 if test "$found" = "no" ; then
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14554 $as_echo "not found" >&6; }
14555 OCAML_PKG_pycaml
=no
14560 if test "x$OCAML_PKG_pycaml" != xno
; then :
14561 PATH_pycaml
=`$OCAMLFIND query pycaml 2>/dev/null`
14566 GLOBAL_pycaml
=$OCAML_PKG_pycaml
14569 if test "x$GLOBAL_pycaml" != xno
; then :
14574 if test "x$enable_pycaml" = xyes
; then :
14575 as_fn_error $?
"OCaml package pycaml is not available but requested explicitly" "$LINENO" 5
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package pycaml is not available" >&5
14579 $as_echo "$as_me: OCaml package pycaml is not available" >&6;}
14587 if test "x$enable_pycaml" = xno
; then :
14588 { pkgdir
=; unset pkgdir
;}
14589 pkgdir
="$COCCI_OCAML_EXTERNAL/pycaml/"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of pycaml" >&5
14591 $as_echo_n "checking for a bundled substitute of pycaml... " >&6; }
14592 if test -d "$pkgdir"; then :
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14594 $as_echo "yes" >&6; }
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for pycaml in $pkgdir" >&5
14596 $as_echo "$as_me: using bundled substitute for pycaml in $pkgdir" >&6;}
14597 enable_pycaml
=local
14599 PATH_pycaml
="$pkgdir"
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
14604 $as_echo "not available" >&6; }
14609 if test "x$enable_pycaml" != xno
; then :
14612 FLAGS_pycaml
='$(FLAGS_pycaml)'
14614 OPTFLAGS_pycaml
='$(OPTFLAGS_pycaml)'
14617 if test "x$enable_pycaml" = xlocal
; then :
14620 MODULES_pycaml
='$(LOCAL_pycaml)'
14622 MODULESOPT_pycaml
='$(LOCALOPT_pycaml)'
14625 if test -f "$PATH_pycaml/Makefile"; then :
14626 MAKE_pycaml
=$PATH_pycaml
14636 MODULES_pycaml
='$(GLOBAL_pycaml)'
14638 MODULESOPT_pycaml
='$(GLOBALOPT_pycaml)'
14645 if test "x$enable_pycaml" = xno
; then :
14646 as_fn_error $?
"OCaml package pycaml is required. Please make sure it is available." "$LINENO" 5
14650 PYCOCCI_MODULE
=Yes_pycocci
14652 PYCOCCI_FILE
=yes_pycocci.ml
14669 PYCOCCI_MODULE
=No_pycocci
14671 PYCOCCI_FILE
=no_pycocci.ml
14677 # Check whether --enable-pcre-syntax was given.
14678 if test "${enable_pcre_syntax+set}" = set; then :
14679 enableval
=$enable_pcre_syntax;
14682 if test "x$enable_pcre_syntax" != "xno"; then :
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
14686 $as_echo_n "checking for PCRE... " >&6; }
14688 if test -n "$PCRE_CFLAGS"; then
14689 pkg_cv_PCRE_CFLAGS
="$PCRE_CFLAGS"
14690 elif test -n "$PKG_CONFIG"; then
14691 if test -n "$PKG_CONFIG" && \
14692 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
14693 ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
14695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14696 test $ac_status = 0; }; then
14697 pkg_cv_PCRE_CFLAGS
=`$PKG_CONFIG --cflags "libpcre" 2>/dev/null`
14704 if test -n "$PCRE_LIBS"; then
14705 pkg_cv_PCRE_LIBS
="$PCRE_LIBS"
14706 elif test -n "$PKG_CONFIG"; then
14707 if test -n "$PKG_CONFIG" && \
14708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
14709 ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
14711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14712 test $ac_status = 0; }; then
14713 pkg_cv_PCRE_LIBS
=`$PKG_CONFIG --libs "libpcre" 2>/dev/null`
14723 if test $pkg_failed = yes; then
14725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14726 _pkg_short_errors_supported
=yes
14728 _pkg_short_errors_supported
=no
14730 if test $_pkg_short_errors_supported = yes; then
14731 PCRE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libpcre" 2>&1`
14733 PCRE_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libpcre" 2>&1`
14735 # Put the nasty error message in config.log where it belongs
14736 echo "$PCRE_PKG_ERRORS" >&5
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14739 $as_echo "no" >&6; }
14742 elif test $pkg_failed = untried
; then
14746 PCRE_CFLAGS
=$pkg_cv_PCRE_CFLAGS
14747 PCRE_LIBS
=$pkg_cv_PCRE_LIBS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14749 $as_echo "yes" >&6; }
14753 if test -z "$enable_pcre_syntax" -a "x$HAVE_PCRE" != xyes
; then :
14754 enable_pcre_syntax
=no
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package pcre" >&5
14759 $as_echo "$as_me: configuring package pcre" >&6;}
14760 # Check whether --enable-pcre was given.
14761 if test "${enable_pcre+set}" = set; then :
14762 enableval
=$enable_pcre;
14766 if test "x$enable_pcre" != xno
; then :
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package pcre" >&5
14769 $as_echo_n "checking for OCaml findlib package pcre... " >&6; }
14774 for pkg
in pcre
; do
14775 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14777 $as_echo "found" >&6; }
14778 OCAML_PKG_pcre
=$pkg
14783 if test "$found" = "no" ; then
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14785 $as_echo "not found" >&6; }
14791 if test "x$OCAML_PKG_pcre" != xno
; then :
14792 PATH_pcre
=`$OCAMLFIND query pcre 2>/dev/null`
14797 GLOBAL_pcre
=$OCAML_PKG_pcre
14800 if test "x$GLOBAL_pcre" != xno
; then :
14805 if test "x$enable_pcre" = xyes
; then :
14806 as_fn_error $?
"OCaml package pcre is not available but requested explicitly" "$LINENO" 5
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package pcre is not available" >&5
14810 $as_echo "$as_me: OCaml package pcre is not available" >&6;}
14818 if test "x$enable_pcre" = xno
; then :
14819 { pkgdir
=; unset pkgdir
;}
14820 pkgdir
="$COCCI_OCAML_EXTERNAL/pcre/"
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of pcre" >&5
14822 $as_echo_n "checking for a bundled substitute of pcre... " >&6; }
14823 if test -d "$pkgdir"; then :
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14825 $as_echo "yes" >&6; }
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for pcre in $pkgdir" >&5
14827 $as_echo "$as_me: using bundled substitute for pcre in $pkgdir" >&6;}
14830 PATH_pcre
="$pkgdir"
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
14835 $as_echo "not available" >&6; }
14840 if test "x$enable_pcre" != xno
; then :
14843 FLAGS_pcre
='$(FLAGS_pcre)'
14845 OPTFLAGS_pcre
='$(OPTFLAGS_pcre)'
14848 if test "x$enable_pcre" = xlocal
; then :
14851 MODULES_pcre
='$(LOCAL_pcre)'
14853 MODULESOPT_pcre
='$(LOCALOPT_pcre)'
14856 if test -f "$PATH_pcre/Makefile"; then :
14857 MAKE_pcre
=$PATH_pcre
14867 MODULES_pcre
='$(GLOBAL_pcre)'
14869 MODULESOPT_pcre
='$(GLOBALOPT_pcre)'
14875 enable_pcre_syntax
=$enable_pcre
14881 if test "x$enable_pcre_syntax" != xno
; then :
14882 if test "x$HAVE_PCRE" = xyes
; then :
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: support for pcre syntax is enabled" >&5
14884 $as_echo "$as_me: support for pcre syntax is enabled" >&6;}
14887 as_fn_error $?
"the pcre feature is enabled but the pkg-config libpcre library is not found" "$LINENO" 5
14891 REGEXP_MODULE
=Regexp_pcre
14893 REGEXP_FILE
=regexp_pcre.ml
14910 REGEXP_MODULE
=Regexp_str
14912 REGEXP_FILE
=regexp_str.ml
14920 if test "$prefix" = "NONE"; then :
14921 prefix
=$ac_default_prefix
14926 SHAREDIR
="${prefix}/share/coccinelle"
14929 if test "x$enable_python" != xno
; then :
14939 if test "x$enable_ocaml" != xno
; then :
14949 if test "x$OCAMLATLEAST311" = xyes
-a "x$enable_ocaml" = xyes
-a "x$OCAMLOPT" != xno
; then :
14950 DYNLINK_IS_NATIVE
=Dynlink.is_native
14954 DYNLINK_IS_NATIVE
=false
14961 # Check whether --with-pdflatex was given.
14962 if test "${with_pdflatex+set}" = set; then :
14963 withval
=$with_pdflatex;
14966 with_PDFLATEX
="$with_pdflatex"
14968 if test -n "$with_PDFLATEX" -a "x$with_PDFLATEX" != xno
-a "x$with_PDFLATEX" != xyes
; then :
14969 PDFLATEX
="$with_PDFLATEX"
14973 PDFLATEX
="pdflatex"
14978 if test "x$with_PDFLATEX" = xno
; then :
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: pdflatex is disabled explicitly" >&5
14980 $as_echo "$as_me: pdflatex is disabled explicitly" >&6;}
14985 if test "x$PDFLATEX" = xpkg-config
-a "xPDFLATEX" = xPKG_CONFIG
; then :
14988 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14989 if test -n "$ac_tool_prefix"; then
14990 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14991 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14993 $as_echo_n "checking for $ac_word... " >&6; }
14994 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14995 $as_echo_n "(cached) " >&6
14997 case $PKG_CONFIG in
14999 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15003 for as_dir
in $PATH
15006 test -z "$as_dir" && as_dir
=.
15007 for ac_exec_ext
in '' $ac_executable_extensions; do
15008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15009 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15020 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15021 if test -n "$PKG_CONFIG"; then
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15023 $as_echo "$PKG_CONFIG" >&6; }
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15026 $as_echo "no" >&6; }
15031 if test -z "$ac_cv_path_PKG_CONFIG"; then
15032 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15033 # Extract the first word of "pkg-config", so it can be a program name with args.
15034 set dummy pkg-config
; ac_word
=$2
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15036 $as_echo_n "checking for $ac_word... " >&6; }
15037 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15038 $as_echo_n "(cached) " >&6
15040 case $ac_pt_PKG_CONFIG in
15042 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15046 for as_dir
in $PATH
15049 test -z "$as_dir" && as_dir
=.
15050 for ac_exec_ext
in '' $ac_executable_extensions; do
15051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15052 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15063 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15064 if test -n "$ac_pt_PKG_CONFIG"; then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15066 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15069 $as_echo "no" >&6; }
15072 if test "x$ac_pt_PKG_CONFIG" = x
; then
15075 case $cross_compiling:$ac_tool_warned in
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15079 ac_tool_warned
=yes ;;
15081 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15084 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15088 if test -n "$PKG_CONFIG"; then
15089 _pkg_min_version
=0.9.0
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15091 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15092 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15094 $as_echo "yes" >&6; }
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15097 $as_echo "no" >&6; }
15103 elif test "x$PDFLATEX" = xocamllex
-a "xPDFLATEX" = xOCAMLLEX
; then :
15104 # checking for ocamllex
15105 if test -n "$ac_tool_prefix"; then
15106 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
15107 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15109 $as_echo_n "checking for $ac_word... " >&6; }
15110 if ${ac_cv_path_OCAMLLEX+:} false
; then :
15111 $as_echo_n "(cached) " >&6
15115 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
15118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15119 for as_dir
in $PATH
15122 test -z "$as_dir" && as_dir
=.
15123 for ac_exec_ext
in '' $ac_executable_extensions; do
15124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15125 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
15126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15136 OCAMLLEX
=$ac_cv_path_OCAMLLEX
15137 if test -n "$OCAMLLEX"; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
15139 $as_echo "$OCAMLLEX" >&6; }
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15142 $as_echo "no" >&6; }
15147 if test -z "$ac_cv_path_OCAMLLEX"; then
15148 ac_pt_OCAMLLEX
=$OCAMLLEX
15149 # Extract the first word of "ocamllex", so it can be a program name with args.
15150 set dummy ocamllex
; ac_word
=$2
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15152 $as_echo_n "checking for $ac_word... " >&6; }
15153 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
15154 $as_echo_n "(cached) " >&6
15156 case $ac_pt_OCAMLLEX in
15158 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
15161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15162 for as_dir
in $PATH
15165 test -z "$as_dir" && as_dir
=.
15166 for ac_exec_ext
in '' $ac_executable_extensions; do
15167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15168 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
15169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15179 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
15180 if test -n "$ac_pt_OCAMLLEX"; then
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
15182 $as_echo "$ac_pt_OCAMLLEX" >&6; }
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15185 $as_echo "no" >&6; }
15188 if test "x$ac_pt_OCAMLLEX" = x
; then
15191 case $cross_compiling:$ac_tool_warned in
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15195 ac_tool_warned
=yes ;;
15197 OCAMLLEX
=$ac_pt_OCAMLLEX
15200 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
15203 if test "$OCAMLLEX" != "no"; then
15204 if test -n "$ac_tool_prefix"; then
15205 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
15206 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15208 $as_echo_n "checking for $ac_word... " >&6; }
15209 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
15210 $as_echo_n "(cached) " >&6
15212 case $OCAMLLEXDOTOPT in
15214 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
15217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15218 for as_dir
in $PATH
15221 test -z "$as_dir" && as_dir
=.
15222 for ac_exec_ext
in '' $ac_executable_extensions; do
15223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15224 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
15225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15235 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
15236 if test -n "$OCAMLLEXDOTOPT"; then
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
15238 $as_echo "$OCAMLLEXDOTOPT" >&6; }
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15241 $as_echo "no" >&6; }
15246 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
15247 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
15248 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
15249 set dummy ocamllex.opt
; ac_word
=$2
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15251 $as_echo_n "checking for $ac_word... " >&6; }
15252 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
15253 $as_echo_n "(cached) " >&6
15255 case $ac_pt_OCAMLLEXDOTOPT in
15257 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
15260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15261 for as_dir
in $PATH
15264 test -z "$as_dir" && as_dir
=.
15265 for ac_exec_ext
in '' $ac_executable_extensions; do
15266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15267 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
15268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15278 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
15279 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
15281 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15284 $as_echo "no" >&6; }
15287 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
15288 OCAMLLEXDOTOPT
="no"
15290 case $cross_compiling:$ac_tool_warned in
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15294 ac_tool_warned
=yes ;;
15296 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
15299 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
15302 if test "$OCAMLLEXDOTOPT" != "no"; then
15303 OCAMLLEX
=$OCAMLLEXDOTOPT
15309 elif test "x$PDFLATEX" = xocamlyacc
-a "xPDFLATEX" = xOCAMLYACC
; then :
15310 if test -n "$ac_tool_prefix"; then
15311 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
15312 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15314 $as_echo_n "checking for $ac_word... " >&6; }
15315 if ${ac_cv_path_OCAMLYACC+:} false
; then :
15316 $as_echo_n "(cached) " >&6
15320 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
15323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15324 for as_dir
in $PATH
15327 test -z "$as_dir" && as_dir
=.
15328 for ac_exec_ext
in '' $ac_executable_extensions; do
15329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15330 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
15331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15341 OCAMLYACC
=$ac_cv_path_OCAMLYACC
15342 if test -n "$OCAMLYACC"; then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
15344 $as_echo "$OCAMLYACC" >&6; }
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15347 $as_echo "no" >&6; }
15352 if test -z "$ac_cv_path_OCAMLYACC"; then
15353 ac_pt_OCAMLYACC
=$OCAMLYACC
15354 # Extract the first word of "ocamlyacc", so it can be a program name with args.
15355 set dummy ocamlyacc
; ac_word
=$2
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15357 $as_echo_n "checking for $ac_word... " >&6; }
15358 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
15359 $as_echo_n "(cached) " >&6
15361 case $ac_pt_OCAMLYACC in
15363 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
15366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15367 for as_dir
in $PATH
15370 test -z "$as_dir" && as_dir
=.
15371 for ac_exec_ext
in '' $ac_executable_extensions; do
15372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15373 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
15374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15384 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
15385 if test -n "$ac_pt_OCAMLYACC"; then
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
15387 $as_echo "$ac_pt_OCAMLYACC" >&6; }
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15390 $as_echo "no" >&6; }
15393 if test "x$ac_pt_OCAMLYACC" = x
; then
15396 case $cross_compiling:$ac_tool_warned in
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15400 ac_tool_warned
=yes ;;
15402 OCAMLYACC
=$ac_pt_OCAMLYACC
15405 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
15412 if test -n "$ac_tool_prefix"; then
15413 # Extract the first word of "${ac_tool_prefix}[$]PDFLATEX", so it can be a program name with args.
15414 set dummy
${ac_tool_prefix}$PDFLATEX; ac_word
=$2
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15416 $as_echo_n "checking for $ac_word... " >&6; }
15417 if ${ac_cv_path_PDFLATEX+:} false
; then :
15418 $as_echo_n "(cached) " >&6
15422 ac_cv_path_PDFLATEX
="$PDFLATEX" # Let the user override the test with a path.
15425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15426 for as_dir
in $PATH
15429 test -z "$as_dir" && as_dir
=.
15430 for ac_exec_ext
in '' $ac_executable_extensions; do
15431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15432 ac_cv_path_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
15433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15443 PDFLATEX
=$ac_cv_path_PDFLATEX
15444 if test -n "$PDFLATEX"; then
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
15446 $as_echo "$PDFLATEX" >&6; }
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15449 $as_echo "no" >&6; }
15454 if test -z "$ac_cv_path_PDFLATEX"; then
15455 ac_pt_PDFLATEX
=$PDFLATEX
15456 # Extract the first word of "[$]PDFLATEX", so it can be a program name with args.
15457 set dummy
$PDFLATEX; ac_word
=$2
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15459 $as_echo_n "checking for $ac_word... " >&6; }
15460 if ${ac_cv_path_ac_pt_PDFLATEX+:} false
; then :
15461 $as_echo_n "(cached) " >&6
15463 case $ac_pt_PDFLATEX in
15465 ac_cv_path_ac_pt_PDFLATEX
="$ac_pt_PDFLATEX" # Let the user override the test with a path.
15468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15469 for as_dir
in $PATH
15472 test -z "$as_dir" && as_dir
=.
15473 for ac_exec_ext
in '' $ac_executable_extensions; do
15474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15475 ac_cv_path_ac_pt_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
15476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15486 ac_pt_PDFLATEX
=$ac_cv_path_ac_pt_PDFLATEX
15487 if test -n "$ac_pt_PDFLATEX"; then
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PDFLATEX" >&5
15489 $as_echo "$ac_pt_PDFLATEX" >&6; }
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15492 $as_echo "no" >&6; }
15495 if test "x$ac_pt_PDFLATEX" = x
; then
15498 case $cross_compiling:$ac_tool_warned in
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15502 ac_tool_warned
=yes ;;
15504 PDFLATEX
=$ac_pt_PDFLATEX
15507 PDFLATEX
="$ac_cv_path_PDFLATEX"
15516 if test -z "$PDFLATEX" -o "x$PDFLATEX" = xno
; then :
15517 if test "x$with_PDFLATEX" = xyes
; then :
15518 as_fn_error $?
"--with=pdflatex is given explicitly but not found" "$LINENO" 5
15522 if test -n "$COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex"; then :
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: pdflatex not found. Trying substitute $COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex." >&5
15524 $as_echo "$as_me: pdflatex not found. Trying substitute $COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex." >&6;}
15525 PDFLATEX
="$COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex"
15527 if test "xpdflatex" = xpkg-config
-a "xPDFLATEX" = xPKG_CONFIG
; then :
15530 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15531 if test -n "$ac_tool_prefix"; then
15532 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15533 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15535 $as_echo_n "checking for $ac_word... " >&6; }
15536 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15537 $as_echo_n "(cached) " >&6
15539 case $PKG_CONFIG in
15541 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15545 for as_dir
in $PATH
15548 test -z "$as_dir" && as_dir
=.
15549 for ac_exec_ext
in '' $ac_executable_extensions; do
15550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15551 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15562 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15563 if test -n "$PKG_CONFIG"; then
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15565 $as_echo "$PKG_CONFIG" >&6; }
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15568 $as_echo "no" >&6; }
15573 if test -z "$ac_cv_path_PKG_CONFIG"; then
15574 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15575 # Extract the first word of "pkg-config", so it can be a program name with args.
15576 set dummy pkg-config
; ac_word
=$2
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15578 $as_echo_n "checking for $ac_word... " >&6; }
15579 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15580 $as_echo_n "(cached) " >&6
15582 case $ac_pt_PKG_CONFIG in
15584 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15588 for as_dir
in $PATH
15591 test -z "$as_dir" && as_dir
=.
15592 for ac_exec_ext
in '' $ac_executable_extensions; do
15593 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15594 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15605 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15606 if test -n "$ac_pt_PKG_CONFIG"; then
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15608 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15611 $as_echo "no" >&6; }
15614 if test "x$ac_pt_PKG_CONFIG" = x
; then
15617 case $cross_compiling:$ac_tool_warned in
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15621 ac_tool_warned
=yes ;;
15623 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15626 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15630 if test -n "$PKG_CONFIG"; then
15631 _pkg_min_version
=0.9.0
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15633 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15634 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15636 $as_echo "yes" >&6; }
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15639 $as_echo "no" >&6; }
15645 elif test "xpdflatex" = xocamllex
-a "xPDFLATEX" = xOCAMLLEX
; then :
15646 # checking for ocamllex
15647 if test -n "$ac_tool_prefix"; then
15648 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
15649 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15651 $as_echo_n "checking for $ac_word... " >&6; }
15652 if ${ac_cv_path_OCAMLLEX+:} false
; then :
15653 $as_echo_n "(cached) " >&6
15657 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
15660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15661 for as_dir
in $PATH
15664 test -z "$as_dir" && as_dir
=.
15665 for ac_exec_ext
in '' $ac_executable_extensions; do
15666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15667 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
15668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15678 OCAMLLEX
=$ac_cv_path_OCAMLLEX
15679 if test -n "$OCAMLLEX"; then
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
15681 $as_echo "$OCAMLLEX" >&6; }
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15689 if test -z "$ac_cv_path_OCAMLLEX"; then
15690 ac_pt_OCAMLLEX
=$OCAMLLEX
15691 # Extract the first word of "ocamllex", so it can be a program name with args.
15692 set dummy ocamllex
; ac_word
=$2
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15694 $as_echo_n "checking for $ac_word... " >&6; }
15695 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
15696 $as_echo_n "(cached) " >&6
15698 case $ac_pt_OCAMLLEX in
15700 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
15703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15704 for as_dir
in $PATH
15707 test -z "$as_dir" && as_dir
=.
15708 for ac_exec_ext
in '' $ac_executable_extensions; do
15709 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15710 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
15711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15721 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
15722 if test -n "$ac_pt_OCAMLLEX"; then
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
15724 $as_echo "$ac_pt_OCAMLLEX" >&6; }
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15727 $as_echo "no" >&6; }
15730 if test "x$ac_pt_OCAMLLEX" = x
; then
15733 case $cross_compiling:$ac_tool_warned in
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15737 ac_tool_warned
=yes ;;
15739 OCAMLLEX
=$ac_pt_OCAMLLEX
15742 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
15745 if test "$OCAMLLEX" != "no"; then
15746 if test -n "$ac_tool_prefix"; then
15747 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
15748 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15750 $as_echo_n "checking for $ac_word... " >&6; }
15751 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
15752 $as_echo_n "(cached) " >&6
15754 case $OCAMLLEXDOTOPT in
15756 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
15759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15760 for as_dir
in $PATH
15763 test -z "$as_dir" && as_dir
=.
15764 for ac_exec_ext
in '' $ac_executable_extensions; do
15765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15766 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
15767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15777 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
15778 if test -n "$OCAMLLEXDOTOPT"; then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
15780 $as_echo "$OCAMLLEXDOTOPT" >&6; }
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15783 $as_echo "no" >&6; }
15788 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
15789 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
15790 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
15791 set dummy ocamllex.opt
; ac_word
=$2
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15793 $as_echo_n "checking for $ac_word... " >&6; }
15794 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
15795 $as_echo_n "(cached) " >&6
15797 case $ac_pt_OCAMLLEXDOTOPT in
15799 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
15802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15803 for as_dir
in $PATH
15806 test -z "$as_dir" && as_dir
=.
15807 for ac_exec_ext
in '' $ac_executable_extensions; do
15808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15809 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
15810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15820 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
15821 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
15823 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15826 $as_echo "no" >&6; }
15829 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
15830 OCAMLLEXDOTOPT
="no"
15832 case $cross_compiling:$ac_tool_warned in
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15836 ac_tool_warned
=yes ;;
15838 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
15841 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
15844 if test "$OCAMLLEXDOTOPT" != "no"; then
15845 OCAMLLEX
=$OCAMLLEXDOTOPT
15851 elif test "xpdflatex" = xocamlyacc
-a "xPDFLATEX" = xOCAMLYACC
; then :
15852 if test -n "$ac_tool_prefix"; then
15853 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
15854 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15856 $as_echo_n "checking for $ac_word... " >&6; }
15857 if ${ac_cv_path_OCAMLYACC+:} false
; then :
15858 $as_echo_n "(cached) " >&6
15862 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
15865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15866 for as_dir
in $PATH
15869 test -z "$as_dir" && as_dir
=.
15870 for ac_exec_ext
in '' $ac_executable_extensions; do
15871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15872 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
15873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15883 OCAMLYACC
=$ac_cv_path_OCAMLYACC
15884 if test -n "$OCAMLYACC"; then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
15886 $as_echo "$OCAMLYACC" >&6; }
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15889 $as_echo "no" >&6; }
15894 if test -z "$ac_cv_path_OCAMLYACC"; then
15895 ac_pt_OCAMLYACC
=$OCAMLYACC
15896 # Extract the first word of "ocamlyacc", so it can be a program name with args.
15897 set dummy ocamlyacc
; ac_word
=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15899 $as_echo_n "checking for $ac_word... " >&6; }
15900 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
15901 $as_echo_n "(cached) " >&6
15903 case $ac_pt_OCAMLYACC in
15905 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
15908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15909 for as_dir
in $PATH
15912 test -z "$as_dir" && as_dir
=.
15913 for ac_exec_ext
in '' $ac_executable_extensions; do
15914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15915 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
15916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15926 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
15927 if test -n "$ac_pt_OCAMLYACC"; then
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
15929 $as_echo "$ac_pt_OCAMLYACC" >&6; }
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15932 $as_echo "no" >&6; }
15935 if test "x$ac_pt_OCAMLYACC" = x
; then
15938 case $cross_compiling:$ac_tool_warned in
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15942 ac_tool_warned
=yes ;;
15944 OCAMLYACC
=$ac_pt_OCAMLYACC
15947 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
15954 if test -n "$ac_tool_prefix"; then
15955 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
15956 set dummy
${ac_tool_prefix}pdflatex
; ac_word
=$2
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15958 $as_echo_n "checking for $ac_word... " >&6; }
15959 if ${ac_cv_path_PDFLATEX+:} false
; then :
15960 $as_echo_n "(cached) " >&6
15964 ac_cv_path_PDFLATEX
="$PDFLATEX" # Let the user override the test with a path.
15967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15968 for as_dir
in $PATH
15971 test -z "$as_dir" && as_dir
=.
15972 for ac_exec_ext
in '' $ac_executable_extensions; do
15973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15974 ac_cv_path_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
15975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15985 PDFLATEX
=$ac_cv_path_PDFLATEX
15986 if test -n "$PDFLATEX"; then
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
15988 $as_echo "$PDFLATEX" >&6; }
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15991 $as_echo "no" >&6; }
15996 if test -z "$ac_cv_path_PDFLATEX"; then
15997 ac_pt_PDFLATEX
=$PDFLATEX
15998 # Extract the first word of "pdflatex", so it can be a program name with args.
15999 set dummy pdflatex
; ac_word
=$2
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16001 $as_echo_n "checking for $ac_word... " >&6; }
16002 if ${ac_cv_path_ac_pt_PDFLATEX+:} false
; then :
16003 $as_echo_n "(cached) " >&6
16005 case $ac_pt_PDFLATEX in
16007 ac_cv_path_ac_pt_PDFLATEX
="$ac_pt_PDFLATEX" # Let the user override the test with a path.
16010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16011 for as_dir
in $PATH
16014 test -z "$as_dir" && as_dir
=.
16015 for ac_exec_ext
in '' $ac_executable_extensions; do
16016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16017 ac_cv_path_ac_pt_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16028 ac_pt_PDFLATEX
=$ac_cv_path_ac_pt_PDFLATEX
16029 if test -n "$ac_pt_PDFLATEX"; then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PDFLATEX" >&5
16031 $as_echo "$ac_pt_PDFLATEX" >&6; }
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16034 $as_echo "no" >&6; }
16037 if test "x$ac_pt_PDFLATEX" = x
; then
16040 case $cross_compiling:$ac_tool_warned in
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16044 ac_tool_warned
=yes ;;
16046 PDFLATEX
=$ac_pt_PDFLATEX
16049 PDFLATEX
="$ac_cv_path_PDFLATEX"
16055 SUBSTITUTED_PDFLATEX
=yes
16062 if test -z "$PDFLATEX"; then :
16069 # Check whether --enable-release was given.
16070 if test "${enable_release+set}" = set; then :
16071 enableval
=$enable_release;
16074 if test -z "$enable_release"; then :
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: choosing the development Makefile configuration because the release configuration is not explicitly requested." >&5
16076 $as_echo "$as_me: choosing the development Makefile configuration because the release configuration is not explicitly requested." >&6;}
16083 if test "x$enable_release" = xyes
; then :
16084 MAKETARGET_ALL
=all-release
16087 elif test "x$enable_release" = xno
; then :
16088 MAKETARGET_ALL
=all-dev
16091 elif test "x$enable_release" = xprofile
; then :
16092 if test -z "$OCAMLPROF" -o "x$OCAMLPROF" = xno
; then :
16093 as_fn_error $?
"ocamlprof is required for profiling, but is absent." "$LINENO" 5
16097 MAKETARGET_ALL
=all-dev
16099 OCAMLC
="$COCCI_SRCDIR/setup/wrapper-ocamlcp.sh \"$OCAMLCORIG\" \"$OCAMLPROF\""
16101 MODULES_profiling
=profiling.cmo
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: configured coccinelle for profiling" >&5
16104 $as_echo "$as_me: configured coccinelle for profiling" >&6;}
16107 MAKETARGET_ALL
="$enable_release"
16112 # Check whether --enable-opt was given.
16113 if test "${enable_opt+set}" = set; then :
16114 enableval
=$enable_opt;
16117 if test "x$OCAMLOPT" = xno
-a "x$enable_opt" != xno
; then :
16118 if test -n "$enable_release" -a "x$enable_release" != xyes
-a "x$enable_release" != xno
; then :
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ensure that make target $enable_release does not depend on the unavailable ocamlopt" >&5
16120 $as_echo "$as_me: warning: ensure that make target $enable_release does not depend on the unavailable ocamlopt" >&6;}
16122 elif test "x$enable_opt" = xyes
; then :
16123 as_fn_error $?
"the optimized version of coccinelle is requested explicitly, but ocamlopt is absent" "$LINENO" 5
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: the optimized version of coccinelle will not be build because ocamlopt is not present" >&5
16127 $as_echo "$as_me: the optimized version of coccinelle will not be build because ocamlopt is not present" >&6;}
16135 if test "x$OCAMLVERSION" = x3.11
.2 -a -z "$enable_opt"; then :
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: the optimized version of coccinelle will not be build by default due to OCaml version $OCAMLVERSION" >&5
16137 $as_echo "$as_me: the optimized version of coccinelle will not be build by default due to OCaml version $OCAMLVERSION" >&6;}
16143 if test "x$OPTIMIZED_dynlink" = xno
-a "x$enable_ocaml" = xyes
; then :
16144 if test -z "$enable_opt"; then :
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: the optimized version of coccinelle will not be build by default because ocaml scripting is enabled but the required optimized dynlink package is not present" >&5
16146 $as_echo "$as_me: the optimized version of coccinelle will not be build by default because ocaml scripting is enabled but the required optimized dynlink package is not present" >&6;}
16150 elif test "x$enable_opt" = xyes
; then :
16151 as_fn_error $?
"the optimized version of coccinelle in combination with ocaml scripting requires the optimized version of the dynlik package, which is not present" "$LINENO" 5
16157 # set the default enable-opt setting
16158 if test -z "$enable_opt"; then :
16159 if test "x$enable_release" = xyes
-o "x$enable_release" = xno
; then :
16160 enable_opt
="$enable_release"
16167 if test "x$enable_opt" = xyes
; then :
16168 SPATCHNAME
=spatch.opt
16170 MAKETARGET_SPATCH
=opt-only
16176 MAKETARGET_SPATCH
=byte-only
16183 ac_config_files
="$ac_config_files Makefile.config version.ml commons/commands.ml globals/config.ml globals/regexp.ml python/pycocci.ml ocaml/prepare_ocamlcocci.ml scripts/spatch.sh docs/spatch.1"
16186 cat >confcache
<<\_ACEOF
16187 # This file is a shell script that caches the results of configure
16188 # tests run on this system so they can be shared between configure
16189 # scripts and configure runs, see configure's option --config-cache.
16190 # It is not useful on other systems. If it contains results you don't
16191 # want to keep, you may remove or edit it.
16193 # config.status only pays attention to the cache file if you give it
16194 # the --recheck option to rerun configure.
16196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16198 # following values.
16202 # The following way of writing the cache mishandles newlines in values,
16203 # but we know of no workaround that is simple, portable, and efficient.
16204 # So, we kill variables containing newlines.
16205 # Ultrix sh set writes to stderr and can't be redirected directly,
16206 # and sets the high bit in the cache file unless we assign to the vars.
16208 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16209 eval ac_val
=\$
$ac_var
16213 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16214 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16217 _ | IFS | as_nl
) ;; #(
16218 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16219 *) { eval $ac_var=; unset $ac_var;} ;;
16225 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16226 *${as_nl}ac_space
=\
*)
16227 # `set' does not quote correctly, so add quotes: double-quote
16228 # substitution turns \\\\ into \\, and sed turns \\ into \.
16231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16234 # `set' quotes correctly as required by POSIX, so do not add quotes.
16235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16246 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16248 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16249 if test -w "$cache_file"; then
16250 if test "x$cache_file" != "x/dev/null"; then
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16252 $as_echo "$as_me: updating cache $cache_file" >&6;}
16253 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16254 cat confcache
>"$cache_file"
16256 case $cache_file in #(
16258 mv -f confcache
"$cache_file"$$
&&
16259 mv -f "$cache_file"$$
"$cache_file" ;; #(
16261 mv -f confcache
"$cache_file" ;;
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16267 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16272 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16273 # Let make expand exec_prefix.
16274 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16276 # Transform confdefs.h into DEFS.
16277 # Protect against shell expansion while executing Makefile rules.
16278 # Protect against Makefile macro expansion.
16280 # If the first sed substitution is executed (which looks for macros that
16281 # take arguments), then branch to the quote section. Otherwise,
16282 # look for a macro that doesn't take arguments.
16292 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16294 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16298 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16311 DEFS
=`sed -n "$ac_script" confdefs.h`
16317 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16318 # 1. Remove the extension, and $U if already installed.
16319 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16320 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16321 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16322 # will be set to the directory where LIBOBJS objects are built.
16323 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16324 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16326 LIBOBJS
=$ac_libobjs
16328 LTLIBOBJS
=$ac_ltlibobjs
16332 : "${CONFIG_STATUS=./config.status}"
16334 ac_clean_files_save
=$ac_clean_files
16335 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16337 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16339 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16341 # Generated by $as_me.
16342 # Run this file to recreate the current configuration.
16343 # Compiler output produced by configure, useful for debugging
16344 # configure, is in config.log if it exists.
16347 ac_cs_recheck=false
16350 SHELL=\${CONFIG_SHELL-$SHELL}
16353 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16354 ## -------------------- ##
16355 ## M4sh Initialization. ##
16356 ## -------------------- ##
16358 # Be more Bourne compatible
16359 DUALCASE
=1; export DUALCASE
# for MKS sh
16360 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16363 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16364 # is contrary to our usage. Disable this feature.
16365 alias -g '${1+"$@"}'='"$@"'
16366 setopt NO_GLOB_SUBST
16368 case `(set -o) 2>/dev/null` in #(
16380 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16381 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16382 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16383 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16384 # Prefer a ksh shell builtin over an external printf program on Solaris,
16385 # but without wasting forks for bash or zsh.
16386 if test -z "$BASH_VERSION$ZSH_VERSION" \
16387 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16388 as_echo='print
-r --'
16389 as_echo_n='print
-rn --'
16390 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16391 as_echo='printf %s
\n'
16392 as_echo_n='printf %s
'
16394 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16395 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16396 as_echo_n='/usr
/ucb
/echo -n'
16398 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16399 as_echo_n_body='eval
16403 expr "X$arg" : "X\\(.*\\)$as_nl";
16404 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16406 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16408 export as_echo_n_body
16409 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16411 export as_echo_body
16412 as_echo='sh
-c $as_echo_body as_echo
'
16415 # The user is always right.
16416 if test "${PATH_SEPARATOR+set}" != set; then
16418 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16419 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16426 # We need space, tab and new line, in precisely that order. Quoting is
16427 # there to prevent editors from complaining about space-tab.
16428 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16429 # splitting by setting IFS to empty value.)
16432 # Find who we are. Look in the path if we contain no directory separator.
16435 *[\\/]* ) as_myself=$0 ;;
16436 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16437 for as_dir in $PATH
16440 test -z "$as_dir" && as_dir=.
16441 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16447 # We did not find ourselves, most probably we were run as `sh COMMAND'
16448 # in which case we are not to be found in the path.
16449 if test "x$as_myself" = x
; then
16452 if test ! -f "$as_myself"; then
16453 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16457 # Unset variables that we do not need and which cause bugs (e.g. in
16458 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16459 # suppresses any "Segmentation fault" message there. '((' could
16460 # trigger a bug in pdksh 5.2.14.
16461 for as_var
in BASH_ENV ENV MAIL MAILPATH
16462 do eval test x\
${$as_var+set} = xset \
16463 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16476 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16479 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16480 # ----------------------------------------
16481 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16482 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16483 # script with STATUS, using 1 if that was 0.
16486 as_status
=$1; test $as_status -eq 0 && as_status
=1
16488 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16489 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16491 $as_echo "$as_me: error: $2" >&2
16492 as_fn_exit
$as_status
16496 # as_fn_set_status STATUS
16497 # -----------------------
16498 # Set $? to STATUS, without forking.
16499 as_fn_set_status
()
16502 } # as_fn_set_status
16504 # as_fn_exit STATUS
16505 # -----------------
16506 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16510 as_fn_set_status
$1
16516 # Portably unset VAR.
16519 { eval $1=; unset $1;}
16521 as_unset
=as_fn_unset
16522 # as_fn_append VAR VALUE
16523 # ----------------------
16524 # Append the text in VALUE to the end of the definition contained in VAR. Take
16525 # advantage of any shell optimizations that allow amortized linear growth over
16526 # repeated appends, instead of the typical quadratic growth present in naive
16528 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16529 eval 'as_fn_append ()
16540 # as_fn_arith ARG...
16541 # ------------------
16542 # Perform arithmetic evaluation on the ARGs, and store the result in the
16543 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16544 # must be portable across $(()) and expr.
16545 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16546 eval 'as_fn_arith ()
16553 as_val
=`expr "$@" || test $? -eq 1`
16558 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16559 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16565 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16566 as_basename
=basename
16571 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16577 as_me
=`$as_basename -- "$0" ||
16578 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16579 X"$0" : 'X\(//\)$' \| \
16580 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16582 sed '/^.*\/\([^/][^/]*\)\/*$/{
16596 # Avoid depending upon Character Ranges.
16597 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16598 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16599 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16600 as_cr_digits
='0123456789'
16601 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16603 ECHO_C
= ECHO_N
= ECHO_T
=
16604 case `echo -n x` in #(((((
16606 case `echo 'xy\c'` in
16607 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16609 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16616 rm -f conf$$ conf$$.exe conf$$.
file
16617 if test -d conf$$.dir
; then
16618 rm -f conf$$.dir
/conf$$.
file
16621 mkdir conf$$.dir
2>/dev
/null
16623 if (echo >conf$$.
file) 2>/dev
/null
; then
16624 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16626 # ... but there are two gotchas:
16627 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16628 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16629 # In both cases, we have to default to `cp -pR'.
16630 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16632 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16640 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16641 rmdir conf$$.dir
2>/dev
/null
16646 # Create "$as_dir" as a directory, including parents if necessary.
16651 -*) as_dir
=.
/$as_dir;;
16653 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16657 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16658 *) as_qdir
=$as_dir;;
16660 as_dirs
="'$as_qdir' $as_dirs"
16661 as_dir
=`$as_dirname -- "$as_dir" ||
16662 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16663 X"$as_dir" : 'X\(//\)[^/]' \| \
16664 X"$as_dir" : 'X\(//\)$' \| \
16665 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16666 $as_echo X"$as_dir" |
16667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16671 /^X\(\/\/\)[^/].*/{
16684 test -d "$as_dir" && break
16686 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16687 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16691 if mkdir
-p .
2>/dev
/null
; then
16692 as_mkdir_p
='mkdir -p "$as_dir"'
16694 test -d .
/-p && rmdir .
/-p
16699 # as_fn_executable_p FILE
16700 # -----------------------
16701 # Test if FILE is an executable regular file.
16702 as_fn_executable_p
()
16704 test -f "$1" && test -x "$1"
16705 } # as_fn_executable_p
16706 as_test_x
='test -x'
16707 as_executable_p
=as_fn_executable_p
16709 # Sed expression to map a string onto a valid CPP name.
16710 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16712 # Sed expression to map a string onto a valid variable name.
16713 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16717 ## ----------------------------------- ##
16718 ## Main body of $CONFIG_STATUS script. ##
16719 ## ----------------------------------- ##
16721 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16724 # Save the log message, to keep $0 and so on meaningful, and to
16725 # report actual input values of CONFIG_FILES etc. instead of their
16726 # values after options handling.
16728 This file was extended by coccinelle $as_me 1.0.0-rc14, which was
16729 generated by GNU Autoconf 2.69. Invocation command line was
16731 CONFIG_FILES = $CONFIG_FILES
16732 CONFIG_HEADERS = $CONFIG_HEADERS
16733 CONFIG_LINKS = $CONFIG_LINKS
16734 CONFIG_COMMANDS = $CONFIG_COMMANDS
16737 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16742 case $ac_config_files in *"
16743 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16749 # Files that config.status was made for.
16750 config_files="$ac_config_files"
16754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16756 \`$as_me' instantiates files and other configuration actions
16757 from templates according to the current configuration. Unless the files
16758 and actions are specified as TAGs, all are instantiated by default.
16760 Usage: $0 [OPTION]... [TAG]...
16762 -h, --help print this help, then exit
16763 -V, --version print version number and configuration settings, then exit
16764 --config print configuration, then exit
16765 -q, --quiet, --silent
16766 do not print progress messages
16767 -d, --debug don't remove temporary files
16768 --recheck update $as_me by reconfiguring in the same conditions
16769 --file=FILE[:TEMPLATE]
16770 instantiate the configuration file FILE
16772 Configuration files:
16775 Report bugs to <cocci@diku.dk>.
16776 coccinelle home page: <http://coccinelle.lip6.fr/>."
16779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16780 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16782 coccinelle config.status 1.0.0-rc14
16783 configured by $0, generated by GNU Autoconf 2.69,
16784 with options \\"\$ac_cs_config\\"
16786 Copyright (C) 2012 Free Software Foundation, Inc.
16787 This config.status script is free software; the Free Software Foundation
16788 gives unlimited permission to copy, distribute and modify it."
16794 test -n "\$AWK" || AWK=awk
16797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16798 # The default lists apply if the user does not specify any file.
16804 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16805 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16809 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16821 # Handling of the options.
16822 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16824 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16825 $as_echo "$ac_cs_version"; exit ;;
16826 --config |
--confi |
--conf |
--con |
--co |
--c )
16827 $as_echo "$ac_cs_config"; exit ;;
16828 --debug |
--debu |
--deb |
--de |
--d |
-d )
16830 --file |
--fil |
--fi |
--f )
16833 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16834 '') as_fn_error $?
"missing file argument" ;;
16836 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16837 ac_need_defaults
=false
;;
16838 --he |
--h |
--help |
--hel |
-h )
16839 $as_echo "$ac_cs_usage"; exit ;;
16840 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16841 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16844 # This is an error.
16845 -*) as_fn_error $?
"unrecognized option: \`$1'
16846 Try \`$0 --help' for more information." ;;
16848 *) as_fn_append ac_config_targets
" $1"
16849 ac_need_defaults
=false
;;
16855 ac_configure_extra_args
=
16857 if $ac_cs_silent; then
16859 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864 if \$ac_cs_recheck; then
16865 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16867 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16868 CONFIG_SHELL='$SHELL'
16869 export CONFIG_SHELL
16874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16878 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16879 ## Running $as_me. ##
16885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16890 # Handling of arguments.
16891 for ac_config_target
in $ac_config_targets
16893 case $ac_config_target in
16894 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
16895 "version.ml") CONFIG_FILES
="$CONFIG_FILES version.ml" ;;
16896 "commons/commands.ml") CONFIG_FILES
="$CONFIG_FILES commons/commands.ml" ;;
16897 "globals/config.ml") CONFIG_FILES
="$CONFIG_FILES globals/config.ml" ;;
16898 "globals/regexp.ml") CONFIG_FILES
="$CONFIG_FILES globals/regexp.ml" ;;
16899 "python/pycocci.ml") CONFIG_FILES
="$CONFIG_FILES python/pycocci.ml" ;;
16900 "ocaml/prepare_ocamlcocci.ml") CONFIG_FILES
="$CONFIG_FILES ocaml/prepare_ocamlcocci.ml" ;;
16901 "scripts/spatch.sh") CONFIG_FILES
="$CONFIG_FILES scripts/spatch.sh" ;;
16902 "docs/spatch.1") CONFIG_FILES
="$CONFIG_FILES docs/spatch.1" ;;
16904 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16909 # If the user did not use the arguments to specify the items to instantiate,
16910 # then the envvar interface is used. Set only those that are not.
16911 # We use the long form for the default assignment because of an extremely
16912 # bizarre bug on SunOS 4.1.3.
16913 if $ac_need_defaults; then
16914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16917 # Have a temporary directory for convenience. Make it in the build tree
16918 # simply because there is no reason against having it here, and in addition,
16919 # creating and moving files from /tmp can sometimes cause problems.
16920 # Hook for its removal unless debugging.
16921 # Note that there is a small window in which the directory will not be cleaned:
16922 # after its creation but before its name has been assigned to `$tmp'.
16926 trap 'exit_status=$?
16927 : "${ac_tmp:=$tmp}"
16928 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16930 trap 'as_fn_exit 1' 1 2 13 15
16932 # Create a (secure) tmp directory for tmp files.
16935 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16939 tmp
=.
/conf$$
-$RANDOM
16940 (umask 077 && mkdir
"$tmp")
16941 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16944 # Set up the scripts for CONFIG_FILES section.
16945 # No need to generate them if there are no CONFIG_FILES.
16946 # This happens for instance with `./config.status config.h'.
16947 if test -n "$CONFIG_FILES"; then
16950 ac_cr
=`echo X | tr X '\015'`
16951 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16952 # But we know of no other shell where ac_cr would be empty at this
16953 # point, so we can use a bashism as a fallback.
16954 if test "x$ac_cr" = x
; then
16955 eval ac_cr
=\$
\'\\r
\'
16957 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16958 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16961 ac_cs_awk_cr
=$ac_cr
16964 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16969 echo "cat >conf$$subs.awk <<_ACEOF" &&
16970 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16972 } >conf$$subs.sh ||
16973 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16974 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16976 for ac_last_try in false false false false false :; do
16977 . ./conf$$subs.sh ||
16978 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16980 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16981 if test $ac_delim_n = $ac_delim_num; then
16983 elif $ac_last_try; then
16984 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16986 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16989 rm -f conf$$subs.sh
16991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16992 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16996 s/^/S["/; s
/!.
*/"]=/
17006 s/\(.\{148\}\)..*/\1/
17008 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17013 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17020 s/\(.\{148\}\)..*/\1/
17022 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17026 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17031 ' <conf$$subs.awk | sed '
17036 ' >>$CONFIG_STATUS || ac_write_fail=1
17037 rm -f conf$$subs.awk
17038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17040 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17041 for (key in S) S_is_set[key] = 1
17047 nfields = split(line, field, "@
")
17049 len = length(field[1])
17050 for (i = 2; i < nfields; i++) {
17052 keylen = length(key)
17053 if (S_is_set[key]) {
17055 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17056 len += length(value) + length(field[++i])
17067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17068 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17069 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17072 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17073 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17076 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17077 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17078 # trailing colons and then remove the whole line if VPATH becomes empty
17079 # (actually we leave an empty line to preserve line numbers).
17080 if test "x
$srcdir" = x.; then
17081 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17100 fi # test -n "$CONFIG_FILES"
17103 eval set X " :F
$CONFIG_FILES "
17108 :[FHLC]) ac_mode=$ac_tag; continue;;
17110 case $ac_mode$ac_tag in
17112 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17113 :[FH]-) ac_tag=-:-;;
17114 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17131 -) ac_f="$ac_tmp/stdin";;
17132 *) # Look for the file first in the build tree, then in the source tree
17133 # (if the path is not absolute). The absolute path cannot be DOS-style,
17134 # because $ac_f cannot contain `:'.
17138 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17140 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17142 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17143 as_fn_append ac_file_inputs " '$ac_f'"
17146 # Let's still pretend it is `configure' which instantiates (i.e., don't
17147 # use $as_me), people would be surprised to read:
17148 # /* config.h. Generated by config.status. */
17149 configure_input='Generated from '`
17150 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17152 if test x"$ac_file" != x-; then
17153 configure_input="$ac_file.
$configure_input"
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17155 $as_echo "$as_me: creating
$ac_file" >&6;}
17157 # Neutralize special characters interpreted by sed in replacement strings.
17158 case $configure_input in #(
17159 *\&* | *\|* | *\\* )
17160 ac_sed_conf_input=`$as_echo "$configure_input" |
17161 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17162 *) ac_sed_conf_input=$configure_input;;
17166 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17167 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17172 ac_dir=`$as_dirname -- "$ac_file" ||
17173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17174 X"$ac_file" : 'X\(//\)[^/]' \| \
17175 X"$ac_file" : 'X\(//\)$' \| \
17176 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17177 $as_echo X"$ac_file" |
17178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17182 /^X\(\/\/\)[^/].*/{
17195 as_dir="$ac_dir"; as_fn_mkdir_p
17199 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17201 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17202 # A "..
" for each directory in $ac_dir_suffix.
17203 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17204 case $ac_top_builddir_sub in
17205 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17206 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17209 ac_abs_top_builddir=$ac_pwd
17210 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17211 # for backward compatibility:
17212 ac_top_builddir=$ac_top_build_prefix
17215 .) # We are building in place.
17217 ac_top_srcdir=$ac_top_builddir_sub
17218 ac_abs_top_srcdir=$ac_pwd ;;
17219 [\\/]* | ?:[\\/]* ) # Absolute name.
17220 ac_srcdir=$srcdir$ac_dir_suffix;
17221 ac_top_srcdir=$srcdir
17222 ac_abs_top_srcdir=$srcdir ;;
17223 *) # Relative name.
17224 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17225 ac_top_srcdir=$ac_top_build_prefix$srcdir
17226 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17228 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17238 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17239 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17241 ac_MKDIR_P=$MKDIR_P
17243 [\\/$]* | ?:[\\/]* ) ;;
17244 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17249 # If the template does not know about datarootdir, expand it.
17250 # FIXME: This hack should be removed a few years after 2.60.
17251 ac_datarootdir_hack=; ac_datarootdir_seen=
17262 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17263 *datarootdir*) ac_datarootdir_seen=yes;;
17264 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17266 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17269 ac_datarootdir_hack='
17270 s&@datadir@&$datadir&g
17271 s&@docdir@&$docdir&g
17272 s&@infodir@&$infodir&g
17273 s&@localedir@&$localedir&g
17274 s&@mandir@&$mandir&g
17275 s&\\\${datarootdir}&$datarootdir&g' ;;
17279 # Neutralize VPATH when `$srcdir' = `.'.
17280 # Shell code in configure.ac might set extrasub.
17281 # FIXME: do we really want to maintain this feature?
17282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17283 ac_sed_extra="$ac_vpsub
17286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17288 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17289 s|@configure_input@|
$ac_sed_conf_input|
;t t
17290 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17291 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17292 s
&@srcdir@
&$ac_srcdir&;t t
17293 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17294 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17295 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17296 s
&@builddir@
&$ac_builddir&;t t
17297 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17298 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17299 s
&@INSTALL@
&$ac_INSTALL&;t t
17300 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17301 $ac_datarootdir_hack
17303 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17304 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17306 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17307 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17308 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17309 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17311 which seems to be undefined. Please make sure it is defined" >&5
17312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17313 which seems to be undefined. Please make sure it is defined" >&2;}
17315 rm -f "$ac_tmp/stdin"
17317 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17318 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17332 ac_clean_files=$ac_clean_files_save
17334 test $ac_write_fail = 0 ||
17335 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17338 # configure is writing to config.log, and then calls config.status.
17339 # config.status does its own redirection, appending to config.log.
17340 # Unfortunately, on DOS this fails, as config.log is still kept open
17341 # by configure, so config.status won't be able to
write to it
; its
17342 # output is simply discarded. So we exec the FD to /dev/null,
17343 # effectively closing config.log, so it can be properly (re)opened and
17344 # appended to by config.status. When coming back to configure, we
17345 # need to make the FD available again.
17346 if test "$no_create" != yes; then
17348 ac_config_status_args
=
17349 test "$silent" = yes &&
17350 ac_config_status_args
="$ac_config_status_args --quiet"
17352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17355 # would make configure fail if this is the last instruction.
17356 $ac_cs_success || as_fn_exit
1
17358 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17360 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: configuration completed" >&5
17365 $as_echo "$as_me: configuration completed" >&6;}
17368 ------------------------------------------------------------------------------
17371 configure flags: $CONFIGURE_FLAGS
17372 findlib: $OCAMLFIND (an actual version is strongly recommended)
17373 menhir: $MENHIR (should be an optional tool)
17374 menhirLib module: $enable_menhirLib (for local package use --disable-menhirLib)
17376 ocaml scripting: $enable_ocaml (overridable with --enable-ocaml)
17377 python scripting: $enable_python (overridable with --enable-python)
17378 pycaml module: $enable_pycaml (for local package use --disable-pycaml)
17380 pcre regexes: $enable_pcre_syntax (overridable with --enable-pcre-syntax)
17381 pcre module: $enable_pcre (for local package use --disable-pcre)
17382 pcre library: $HAVE_PCRE (requires the dev version of libpcre)
17384 release config: $enable_release (strongly recommended to be 'yes', overridable with --enable-release)
17385 optimized spatch: $enable_opt (overridable with --disable-opt)
17387 ------------------------------------------------------------------------------
17388 Coccinelle can now be compiled and installed.
17391 If you compile coccinelle again after source code changes or
17392 configuration changes, you may need to run first:
17395 To compile coccinelle, run:
17398 To install coccinelle, run:
17401 Then, to test coccinelle, run for example:
17402 \$ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
17404 Or when coccinelle is not installed yet:
17405 \$ COCCINELLE_HOME=$(pwd) ./scripts/spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
17408 if test "x$enable_python" != "xno"; then
17410 ------------------------------------------------------------------------------
17411 You may need to set some environment variables so that the python
17412 libraries are found. The frontend 'spatch' sets the following variables:
17414 \$ export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$prefix/lib
17415 \$ export PYTHONPATH=\$PYTHONPATH:$prefix/share/coccinelle/python
17421 ------------------------------------------------------------------------------