2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for coccinelle 1.0.0-rc15.
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-rc15'
643 PACKAGE_STRING
='coccinelle 1.0.0-rc15'
644 PACKAGE_BUGREPORT
='cocci@diku.dk'
645 PACKAGE_URL
='http://coccinelle.lip6.fr/'
647 ac_unique_file
="cocci.ml"
648 ac_subst_vars
='am__EXEEXT_FALSE
758 RUNTIME_OCAMLFIND_CMD
759 SUBSTITUTED_OCAMLPROF
762 SUBSTITUTED_OCAMLFIND
765 SUBSTITUTED_OCAMLYACC
795 SUBSTITUTED_PKG_CONFIG
836 INSTALL_STRIP_PROGRAM
881 program_transform_name
895 enable_option_checking
896 enable_dependency_tracking
902 with_runtime_ocamlfind
904 with_runtime_ocamlopt
905 with_runtime_ocamldep
923 ac_precious_vars
='PYVER
940 RUNTIME_OCAMLFIND_CMD
956 # Initialize some variables set by options.
958 ac_init_version
=false
959 ac_unrecognized_opts
=
961 # The variables have the same names as the options, with
962 # dashes changed to underlines.
970 program_transform_name
=s
,x
,x
,
978 # Installation directory options.
979 # These are left unexpanded so users can "make install exec_prefix=/foo"
980 # and all the variables that are supposed to be based on exec_prefix
981 # by default will actually change.
982 # Use braces instead of parens because sh, perl, etc. also accept them.
983 # (The list follows the same order as the GNU Coding Standards.)
984 bindir
='${exec_prefix}/bin'
985 sbindir
='${exec_prefix}/sbin'
986 libexecdir
='${exec_prefix}/libexec'
987 datarootdir
='${prefix}/share'
988 datadir
='${datarootdir}'
989 sysconfdir
='${prefix}/etc'
990 sharedstatedir
='${prefix}/com'
991 localstatedir
='${prefix}/var'
992 includedir
='${prefix}/include'
993 oldincludedir
='/usr/include'
994 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
995 infodir
='${datarootdir}/info'
1000 libdir
='${exec_prefix}/lib'
1001 localedir
='${datarootdir}/locale'
1002 mandir
='${datarootdir}/man'
1008 # If the previous option needs an argument, assign it.
1009 if test -n "$ac_prev"; then
1010 eval $ac_prev=\
$ac_option
1016 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021 # Accept the important Cygnus configure options, so we can diagnose typos.
1023 case $ac_dashdash$ac_option in
1027 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1029 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1030 bindir
=$ac_optarg ;;
1032 -build |
--build |
--buil |
--bui |
--bu)
1033 ac_prev
=build_alias
;;
1034 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1035 build_alias
=$ac_optarg ;;
1037 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1038 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1039 ac_prev
=cache_file
;;
1040 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1041 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1042 cache_file
=$ac_optarg ;;
1044 --config-cache |
-C)
1045 cache_file
=config.cache
;;
1047 -datadir |
--datadir |
--datadi |
--datad)
1049 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1050 datadir
=$ac_optarg ;;
1052 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1053 |
--dataroo |
--dataro |
--datar)
1054 ac_prev
=datarootdir
;;
1055 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1056 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1057 datarootdir
=$ac_optarg ;;
1059 -disable-* |
--disable-*)
1060 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1063 as_fn_error $?
"invalid feature name: $ac_useropt"
1064 ac_useropt_orig
=$ac_useropt
1065 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1068 "enable_
$ac_useropt"
1070 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1071 ac_unrecognized_sep
=', ';;
1073 eval enable_
$ac_useropt=no
;;
1075 -docdir |
--docdir |
--docdi |
--doc |
--do)
1077 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1078 docdir
=$ac_optarg ;;
1080 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1082 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1083 dvidir
=$ac_optarg ;;
1085 -enable-* |
--enable-*)
1086 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1089 as_fn_error $?
"invalid feature name: $ac_useropt"
1090 ac_useropt_orig
=$ac_useropt
1091 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_
$ac_useropt"
1096 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1097 ac_unrecognized_sep
=', ';;
1099 eval enable_
$ac_useropt=\
$ac_optarg ;;
1101 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1102 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1103 |
--exec |
--exe |
--ex)
1104 ac_prev
=exec_prefix
;;
1105 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1106 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1107 |
--exec=* |
--exe=* |
--ex=*)
1108 exec_prefix
=$ac_optarg ;;
1110 -gas |
--gas |
--ga |
--g)
1111 # Obsolete; use --with-gas.
1114 -help |
--help |
--hel |
--he |
-h)
1115 ac_init_help
=long
;;
1116 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1117 ac_init_help
=recursive
;;
1118 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1119 ac_init_help
=short
;;
1121 -host |
--host |
--hos |
--ho)
1122 ac_prev
=host_alias
;;
1123 -host=* |
--host=* |
--hos=* |
--ho=*)
1124 host_alias
=$ac_optarg ;;
1126 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1128 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1130 htmldir
=$ac_optarg ;;
1132 -includedir |
--includedir |
--includedi |
--included |
--include \
1133 |
--includ |
--inclu |
--incl |
--inc)
1134 ac_prev
=includedir
;;
1135 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1136 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1137 includedir
=$ac_optarg ;;
1139 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1141 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1142 infodir
=$ac_optarg ;;
1144 -libdir |
--libdir |
--libdi |
--libd)
1146 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1147 libdir
=$ac_optarg ;;
1149 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1150 |
--libexe |
--libex |
--libe)
1151 ac_prev
=libexecdir
;;
1152 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1153 |
--libexe=* |
--libex=* |
--libe=*)
1154 libexecdir
=$ac_optarg ;;
1156 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1157 ac_prev
=localedir
;;
1158 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1159 localedir
=$ac_optarg ;;
1161 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1162 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1163 ac_prev
=localstatedir
;;
1164 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1165 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1166 localstatedir
=$ac_optarg ;;
1168 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1170 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1171 mandir
=$ac_optarg ;;
1173 -nfp |
--nfp |
--nf)
1174 # Obsolete; use --without-fp.
1177 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1178 |
--no-cr |
--no-c |
-n)
1181 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1182 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1185 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1186 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1187 |
--oldin |
--oldi |
--old |
--ol |
--o)
1188 ac_prev
=oldincludedir
;;
1189 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1190 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1191 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1192 oldincludedir
=$ac_optarg ;;
1194 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1196 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1197 prefix
=$ac_optarg ;;
1199 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1200 |
--program-pre |
--program-pr |
--program-p)
1201 ac_prev
=program_prefix
;;
1202 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1203 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1204 program_prefix
=$ac_optarg ;;
1206 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1207 |
--program-suf |
--program-su |
--program-s)
1208 ac_prev
=program_suffix
;;
1209 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1210 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1211 program_suffix
=$ac_optarg ;;
1213 -program-transform-name |
--program-transform-name \
1214 |
--program-transform-nam |
--program-transform-na \
1215 |
--program-transform-n |
--program-transform- \
1216 |
--program-transform |
--program-transfor \
1217 |
--program-transfo |
--program-transf \
1218 |
--program-trans |
--program-tran \
1219 |
--progr-tra |
--program-tr |
--program-t)
1220 ac_prev
=program_transform_name
;;
1221 -program-transform-name=* |
--program-transform-name=* \
1222 |
--program-transform-nam=* |
--program-transform-na=* \
1223 |
--program-transform-n=* |
--program-transform-=* \
1224 |
--program-transform=* |
--program-transfor=* \
1225 |
--program-transfo=* |
--program-transf=* \
1226 |
--program-trans=* |
--program-tran=* \
1227 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1228 program_transform_name
=$ac_optarg ;;
1230 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1232 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1233 pdfdir
=$ac_optarg ;;
1235 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1237 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1240 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1241 |
-silent |
--silent |
--silen |
--sile |
--sil)
1244 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1246 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1248 sbindir
=$ac_optarg ;;
1250 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1251 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1252 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1254 ac_prev
=sharedstatedir
;;
1255 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1256 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1257 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1259 sharedstatedir
=$ac_optarg ;;
1261 -site |
--site |
--sit)
1263 -site=* |
--site=* |
--sit=*)
1266 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1268 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1269 srcdir
=$ac_optarg ;;
1271 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1272 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1273 ac_prev
=sysconfdir
;;
1274 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1275 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1276 sysconfdir
=$ac_optarg ;;
1278 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1279 ac_prev
=target_alias
;;
1280 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1281 target_alias
=$ac_optarg ;;
1283 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1286 -version |
--version |
--versio |
--versi |
--vers |
-V)
1287 ac_init_version
=: ;;
1290 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1293 as_fn_error $?
"invalid package name: $ac_useropt"
1294 ac_useropt_orig
=$ac_useropt
1295 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 case $ac_user_opts in
1300 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1301 ac_unrecognized_sep
=', ';;
1303 eval with_
$ac_useropt=\
$ac_optarg ;;
1305 -without-* |
--without-*)
1306 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1307 # Reject names that are not valid shell variable names.
1308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1309 as_fn_error $?
"invalid package name: $ac_useropt"
1310 ac_useropt_orig
=$ac_useropt
1311 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1316 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1317 ac_unrecognized_sep
=', ';;
1319 eval with_
$ac_useropt=no
;;
1322 # Obsolete; use --with-x.
1325 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1326 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1327 ac_prev
=x_includes
;;
1328 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1329 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1330 x_includes
=$ac_optarg ;;
1332 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1333 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1334 ac_prev
=x_libraries
;;
1335 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1336 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1337 x_libraries
=$ac_optarg ;;
1339 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1340 Try \`$0 --help' for more information"
1344 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1345 # Reject names that are not valid shell variable names.
1346 case $ac_envvar in #(
1347 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1348 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1350 eval $ac_envvar=\
$ac_optarg
1351 export $ac_envvar ;;
1354 # FIXME: should be removed in autoconf 3.0.
1355 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1356 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1357 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1358 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1364 if test -n "$ac_prev"; then
1365 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1366 as_fn_error $?
"missing argument to $ac_option"
1369 if test -n "$ac_unrecognized_opts"; then
1370 case $enable_option_checking in
1372 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1373 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377 # Check all directory arguments for consistency.
1378 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1379 datadir sysconfdir sharedstatedir localstatedir includedir \
1380 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1381 libdir localedir mandir
1383 eval ac_val
=\$
$ac_var
1384 # Remove trailing slashes.
1387 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1388 eval $ac_var=\
$ac_val;;
1390 # Be sure to have absolute directory names.
1392 [\\/$
]* | ?
:[\\/]* ) continue;;
1393 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1395 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1398 # There might be people who depend on the old broken behavior: `$host'
1399 # used to hold the argument of --host etc.
1400 # FIXME: To remove some day.
1403 target
=$target_alias
1405 # FIXME: To remove some day.
1406 if test "x$host_alias" != x
; then
1407 if test "x$build_alias" = x
; then
1408 cross_compiling
=maybe
1409 elif test "x$build_alias" != "x$host_alias"; then
1415 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1417 test "$silent" = yes && exec 6>/dev
/null
1420 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1421 ac_ls_di
=`ls -di .` &&
1422 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1423 as_fn_error $?
"working directory cannot be determined"
1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1425 as_fn_error $?
"pwd does not report name of working directory"
1428 # Find the source files, if location was not specified.
1429 if test -z "$srcdir"; then
1430 ac_srcdir_defaulted
=yes
1431 # Try the directory containing this script, then the parent directory.
1432 ac_confdir
=`$as_dirname -- "$as_myself" ||
1433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1434 X"$as_myself" : 'X\(//\)[^/]' \| \
1435 X"$as_myself" : 'X\(//\)$' \| \
1436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1437 $as_echo X"$as_myself" |
1438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1460 ac_srcdir_defaulted
=no
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1464 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1466 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1470 # When building in place, set srcdir=.
1471 if test "$ac_abs_confdir" = "$ac_pwd"; then
1474 # Remove unnecessary trailing slashes from srcdir.
1475 # Double slashes in file names in object file debugging info
1476 # mess up M-x gdb in Emacs.
1478 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1480 for ac_var
in $ac_precious_vars; do
1481 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1482 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1483 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1484 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1488 # Report the --help message.
1490 if test "$ac_init_help" = "long"; then
1491 # Omit some internal or obsolete options to make the list less imposing.
1492 # This message is too long to be a string in the A/UX 3.1 sh.
1494 \`configure' configures coccinelle 1.0.0-rc15 to adapt to many kinds of systems.
1496 Usage: $0 [OPTION]... [VAR=VALUE]...
1498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1499 VAR=VALUE. See below for descriptions of some of the useful variables.
1501 Defaults for the options are specified in brackets.
1504 -h, --help display this help and exit
1505 --help=short display options specific to this package
1506 --help=recursive display the short help of all the included packages
1507 -V, --version display version information and exit
1508 -q, --quiet, --silent do not print \`checking ...' messages
1509 --cache-file=FILE cache test results in FILE [disabled]
1510 -C, --config-cache alias for \`--cache-file=config.cache'
1511 -n, --no-create do not create output files
1512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1514 Installation directories:
1515 --prefix=PREFIX install architecture-independent files in PREFIX
1516 [$ac_default_prefix]
1517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1520 By default, \`make install' will install all the files in
1521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1523 for instance \`--prefix=\$HOME'.
1525 For better control, use the options below.
1527 Fine tuning of the installation directories:
1528 --bindir=DIR user executables [EPREFIX/bin]
1529 --sbindir=DIR system admin executables [EPREFIX/sbin]
1530 --libexecdir=DIR program executables [EPREFIX/libexec]
1531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1534 --libdir=DIR object code libraries [EPREFIX/lib]
1535 --includedir=DIR C header files [PREFIX/include]
1536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1539 --infodir=DIR info documentation [DATAROOTDIR/info]
1540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1541 --mandir=DIR man documentation [DATAROOTDIR/man]
1542 --docdir=DIR documentation root [DATAROOTDIR/doc/coccinelle]
1543 --htmldir=DIR html documentation [DOCDIR]
1544 --dvidir=DIR dvi documentation [DOCDIR]
1545 --pdfdir=DIR pdf documentation [DOCDIR]
1546 --psdir=DIR ps documentation [DOCDIR]
1552 --program-prefix=PREFIX prepend PREFIX to installed program names
1553 --program-suffix=SUFFIX append SUFFIX to installed program names
1554 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1558 if test -n "$ac_init_help"; then
1559 case $ac_init_help in
1560 short | recursive
) echo "Configuration of coccinelle 1.0.0-rc15:";;
1565 --disable-option-checking ignore unrecognized
--enable/--with options
1566 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1567 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1568 --enable-dependency-tracking
1569 do not reject slow dependency extractors
1570 --disable-dependency-tracking
1571 speeds up one-time build
1572 --enable-dynlink enable global package dynlink
(yes,no
) (default
:
1574 --enable-camlp4 enable global package camlp4
(yes,no
) (default
:
1576 --enable-menhirLib enable global package menhirLib
(yes,no
) (default
:
1578 --enable-ocaml enable ocaml scripting
(default
: auto
)
1579 --enable-python enable python scripting
(yes
/no
) (default
: auto
)
1580 --enable-pycaml enable global package pycaml
(yes,no
) (default
:
1582 --enable-pcre-syntax enable pcre regular expression syntax
(default
:
1584 --enable-pcre enable global package pcre
(yes,no
) (default
: auto
)
1585 --enable-release build with a release configuration
(yes,no
,profile
1587 --enable-opt build an optimized spatch
(yes,no
, default
: auto
)
1588 --enable-ocamlbuild enable ocamlbuild support
(default
: no
)
1591 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1592 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1593 --with-pkg-config whether
/which pkg-config to use
(default
: auto
)
1594 --with-ocamllex whether
/which ocamllex to use
(default
: auto
)
1595 --with-ocamlyacc whether
/which ocamlyacc to use
(default
: auto
)
1596 --with-ocamlfind whether
/which ocamlfind to use
(default
: auto
)
1597 --with-ocamlprof whether
/which ocamlprof to use
(default
: auto
)
1598 --with-runtime-ocamlfind
1599 override the runtime cmd
for ocamlfind
1600 --with-runtime-ocamlc override the runtime cmd
for ocamlc
1601 --with-runtime-ocamlopt override the runtime cmd
for ocamlopt
1602 --with-runtime-ocamldep override the runtime cmd
for ocamldep
1603 --with-runtime-camlp4 override the runtime cmd
for camlp4
1604 --with-runtime-camlp4o override the runtime cmd
for camlp4o
1605 --with-menhir whether
/which menhir to use
(default
: auto
)
1606 --with-python whether
/which python to use
(default
: auto
)
1607 --with-pdflatex whether
/which pdflatex to use
(default
: auto
)
1609 Some influential environment variables
:
1610 PYVER python version
1611 CC C compiler
command
1612 CFLAGS C compiler flags
1613 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1614 nonstandard directory
<lib dir
>
1615 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1616 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1617 you have headers
in a nonstandard directory
<include dir
>
1619 PKG_CONFIG path to pkg-config
1621 directories to add to pkg-config
's search path
1623 path overriding pkg-config's built-in search path
1624 OCAMLLEX path to ocamllex
1625 OCAMLYACC path to ocamlyacc
1626 OCAMLFIND path to ocamlfind
1627 OCAMLPROF path to ocamlprof
1628 RUNTIME_OCAMLFIND_CMD
1632 RUNTIME_OCAMLOPT_CMD
1634 RUNTIME_OCAMLDEP_CMD
1640 COCCI_OCAML_EXTERNAL
1641 path to extra ocaml packages
(default
: $COCCI_SRCDIR/bundles
)
1642 MENHIR path to menhir
1643 PYTHON path to python when the version is determined automatically
1645 C compiler flags
for PYTHON
, overriding pkg-config
1646 PYTHON_LIBS linker flags
for PYTHON
, overriding pkg-config
1647 PCRE_CFLAGS C compiler flags
for PCRE
, overriding pkg-config
1648 PCRE_LIBS linker flags
for PCRE
, overriding pkg-config
1649 PDFLATEX path to pdflatex
1651 Use these variables to override the choices made by
`configure' or to help
1652 it to find libraries and programs with nonstandard names/locations.
1654 Report bugs to <cocci@diku.dk>.
1655 coccinelle home page: <http://coccinelle.lip6.fr/>.
1660 if test "$ac_init_help" = "recursive"; then
1661 # If there are subdirs, report their specific --help.
1662 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1663 test -d "$ac_dir" ||
1664 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1671 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1672 # A ".." for each directory in $ac_dir_suffix.
1673 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1674 case $ac_top_builddir_sub in
1675 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1676 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1679 ac_abs_top_builddir=$ac_pwd
1680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1681 # for backward compatibility:
1682 ac_top_builddir=$ac_top_build_prefix
1685 .) # We are building in place.
1687 ac_top_srcdir=$ac_top_builddir_sub
1688 ac_abs_top_srcdir=$ac_pwd ;;
1689 [\\/]* | ?:[\\/]* ) # Absolute name.
1690 ac_srcdir=$srcdir$ac_dir_suffix;
1691 ac_top_srcdir=$srcdir
1692 ac_abs_top_srcdir=$srcdir ;;
1694 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1695 ac_top_srcdir=$ac_top_build_prefix$srcdir
1696 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1700 cd "$ac_dir" || { ac_status=$?; continue; }
1701 # Check for guested configure.
1702 if test -f "$ac_srcdir/configure.gnu"; then
1704 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1705 elif test -f "$ac_srcdir/configure"; then
1707 $SHELL "$ac_srcdir/configure" --help=recursive
1709 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1711 cd "$ac_pwd" || { ac_status=$?; break; }
1715 test -n "$ac_init_help" && exit $ac_status
1716 if $ac_init_version; then
1718 coccinelle configure 1.0.0-rc15
1719 generated by GNU Autoconf 2.69
1721 Copyright (C) 2012 Free Software Foundation, Inc.
1722 This configure script is free software; the Free Software Foundation
1723 gives unlimited permission to copy, distribute and modify it.
1728 ## ------------------------ ##
1729 ## Autoconf initialization. ##
1730 ## ------------------------ ##
1732 # ac_fn_c_try_compile LINENO
1733 # --------------------------
1734 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1735 ac_fn_c_try_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext
1739 if { { ac_try="$ac_compile"
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_compile") 2>conftest.err
1748 if test -s conftest.err
; then
1749 grep -v '^ *+' conftest.err
>conftest.er1
1750 cat conftest.er1
>&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest.
$ac_objext; then :
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.
$ac_ext >&5
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status
$ac_retval
1768 } # ac_fn_c_try_compile
1770 # ac_fn_c_try_cpp LINENO
1771 # ----------------------
1772 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } > conftest.i && {
1792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1806 cat >config.log <<_ACEOF
1807 This file contains any messages produced by compilers while
1808 running configure, to aid debugging if configure makes a mistake.
1810 It was created by coccinelle $as_me 1.0.0-rc15, which was
1811 generated by GNU Autoconf 2.69. Invocation command line was
1823 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1824 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1825 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1826 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1827 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1829 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1830 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1832 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1833 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1834 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1835 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1836 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1837 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1838 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir=.
1847 $as_echo "PATH: $as_dir"
1863 # Keep a trace of the command line.
1864 # Strip out --no-create and --no-recursion so they do not pile up.
1865 # Strip out --silent because we don't want to record it for future runs.
1866 # Also quote any args containing shell meta-characters.
1867 # Make two passes to allow for proper duplicate-argument suppression.
1871 ac_must_keep_next=false
1877 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1878 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1879 | -silent | --silent | --silen | --sile | --sil)
1882 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1885 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1887 as_fn_append ac_configure_args1 " '$ac_arg'"
1888 if test $ac_must_keep_next = true; then
1889 ac_must_keep_next=false # Got value, back to normal.
1892 *=* | --config-cache | -C | -disable-* | --disable-* \
1893 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1894 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1895 | -with-* | --with-* | -without-* | --without-* | --x)
1896 case "$ac_configure_args0 " in
1897 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1900 -* ) ac_must_keep_next=true ;;
1903 as_fn_append ac_configure_args " '$ac_arg'"
1908 { ac_configure_args0=; unset ac_configure_args0;}
1909 { ac_configure_args1=; unset ac_configure_args1;}
1911 # When interrupted or exit'd, cleanup temporary files, and complete
1912 # config.log. We remove comments because anyway the quotes in there
1913 # would cause problems or look ugly.
1914 # WARNING: Use '\'' to represent an apostrophe within the trap.
1915 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1916 trap 'exit_status=$?
1917 # Save into config.log some information that might help in debugging.
1921 $as_echo "## ---------------- ##
1922 ## Cache variables. ##
1923 ## ---------------- ##"
1925 # The following way of writing the cache mishandles newlines in values,
1927 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1928 eval ac_val=\$$ac_var
1932 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1936 _ | IFS | as_nl) ;; #(
1937 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1938 *) { eval $ac_var=; unset $ac_var;} ;;
1943 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1944 *${as_nl}ac_space=\ *)
1946 "s/'\''/'\''\\\\'\'''\''/g;
1947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1950 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1957 $as_echo "## ----------------- ##
1958 ## Output variables. ##
1959 ## ----------------- ##"
1961 for ac_var in $ac_subst_vars
1963 eval ac_val=\$$ac_var
1965 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1967 $as_echo "$ac_var='\''$ac_val'\''"
1971 if test -n "$ac_subst_files"; then
1972 $as_echo "## ------------------- ##
1973 ## File substitutions. ##
1974 ## ------------------- ##"
1976 for ac_var in $ac_subst_files
1978 eval ac_val=\$$ac_var
1980 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1982 $as_echo "$ac_var='\''$ac_val'\''"
1987 if test -s confdefs.h; then
1988 $as_echo "## ----------- ##
1995 test "$ac_signal" != 0 &&
1996 $as_echo "$as_me: caught signal $ac_signal"
1997 $as_echo "$as_me: exit $exit_status"
1999 rm -f core *.core core.conftest.* &&
2000 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2003 for ac_signal in 1 2 13 15; do
2004 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2008 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2009 rm -f -r conftest* confdefs.h
2011 $as_echo "/* confdefs.h */" > confdefs.h
2013 # Predefined preprocessor variables.
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_NAME "$PACKAGE_NAME"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_STRING "$PACKAGE_STRING"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_URL "$PACKAGE_URL"
2040 # Let the site file select an alternate cache file if it wants to.
2041 # Prefer an explicitly selected file to automatically selected ones.
2044 if test -n "$CONFIG_SITE"; then
2045 # We do not want a PATH search for config.site.
2046 case $CONFIG_SITE in #((
2047 -*) ac_site_file1=./$CONFIG_SITE;;
2048 */*) ac_site_file1=$CONFIG_SITE;;
2049 *) ac_site_file1=./$CONFIG_SITE;;
2051 elif test "x$prefix" != xNONE; then
2052 ac_site_file1=$prefix/share/config.site
2053 ac_site_file2=$prefix/etc/config.site
2055 ac_site_file1=$ac_default_prefix/share/config.site
2056 ac_site_file2=$ac_default_prefix/etc/config.site
2058 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2060 test "x$ac_site_file" = xNONE && continue
2061 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2064 sed 's/^/| /' "$ac_site_file" >&5
2066 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2068 as_fn_error $? "failed to load site
script $ac_site_file
2069 See \
`config.log' for more details" "$LINENO" 5; }
2073 if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special files
2075 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2076 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 # Check that the precious variables saved in the cache have kept the same
2092 ac_cache_corrupted=false
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2101 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2105 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x
$ac_old_val`
2112 ac_new_val_w=`echo x
$ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2116 ac_cache_corrupted=:
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2147 ## -------------------- ##
2148 ## Main body of script. ##
2149 ## -------------------- ##
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2160 for ac_dir in setup "$srcdir"/setup; do
2161 if test -f "$ac_dir/install-sh"; then
2163 ac_install_sh="$ac_aux_dir/install-sh -c"
2165 elif test -f "$ac_dir/install.sh"; then
2167 ac_install_sh="$ac_aux_dir/install.sh -c"
2169 elif test -f "$ac_dir/shtool"; then
2171 ac_install_sh="$ac_aux_dir/shtool install -c"
2175 if test -z "$ac_aux_dir"; then
2176 as_fn_error $? "cannot find install-sh, install.sh, or shtool in setup \"$srcdir\"/setup" "$LINENO" 5
2179 # These three variables are undocumented and unsupported,
2180 # and are intended to be withdrawn in a future Autoconf release.
2181 # They can cause serious problems if a builder's source tree is in a directory
2182 # whose full name contains unusual characters.
2183 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2184 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2185 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2188 CONFIGURE_FLAGS="$*"
2190 COCCI_VERSION="$PACKAGE_VERSION"
2192 COCCI_SRCDIR="$(pwd)"
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring coccinelle $COCCI_VERSION in $COCCI_SRCDIR" >&5
2195 $as_echo "$as_me: configuring coccinelle $COCCI_VERSION in $COCCI_SRCDIR" >&6;}
2196 am__api_version='1.12'
2198 # Find a good install program. We prefer a C program (faster),
2199 # so one script is as good as another. But avoid the broken or
2200 # incompatible versions:
2201 # SysV /etc/install, /usr/sbin/install
2202 # SunOS /usr/etc/install
2203 # IRIX /sbin/install
2205 # AmigaOS /C/install, which installs bootblocks on floppy discs
2206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2209 # OS/2's system install, which has a completely different semantic
2210 # ./install, which can be erroneously created by make from ./install.sh.
2211 # Reject install programs that cannot install multiple files.
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2213 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2214 if test -z "$INSTALL"; then
2215 if ${ac_cv_path_install+:} false; then :
2216 $as_echo_n "(cached) " >&6
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 # Account for people who put trailing slashes in PATH elements.
2224 case $as_dir/ in #((
2225 ./ | .// | /[cC]/* | \
2226 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2227 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2230 # OSF1 and SCO ODT 3.0 have their own names for install.
2231 # Don't use installbsd from OSF since it installs stuff as root
2233 for ac_prog in ginstall scoinst install; do
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2236 if test $ac_prog = install &&
2237 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2238 # AIX install. It has an incompatible calling convention.
2240 elif test $ac_prog = install &&
2241 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2242 # program-specific install script used by HP pwplus--don't use.
2245 rm -rf conftest.one conftest.two conftest.dir
2246 echo one > conftest.one
2247 echo two > conftest.two
2249 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2250 test -s conftest.one && test -s conftest.two &&
2251 test -s conftest.dir/conftest.one &&
2252 test -s conftest.dir/conftest.two
2254 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2267 rm -rf conftest.one conftest.two conftest.dir
2270 if test "${ac_cv_path_install+set}" = set; then
2271 INSTALL=$ac_cv_path_install
2273 # As a last resort, use the slow shell script. Don't cache a
2274 # value for INSTALL within a source directory, because that will
2275 # break other packages using the cache if that directory is
2276 # removed, or if the value is a relative name.
2277 INSTALL=$ac_install_sh
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2281 $as_echo "$INSTALL" >&6; }
2283 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2284 # It thinks the first close brace ends the variable substitution.
2285 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2287 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2289 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2292 $as_echo_n "checking whether build environment is sane... " >&6; }
2293 # Reject unsafe characters in $srcdir or the absolute working directory
2294 # name. Accept space and tab only in the latter.
2298 *[\\\"\#\$\&\'\`$am_lf]*)
2299 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2302 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2303 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2306 # Do 'set' in a subshell so we don't clobber the current shell's
2307 # arguments. Must try -L first in case configure is actually a
2308 # symlink; some systems play weird games with the mod time of symlinks
2309 # (eg FreeBSD returns the mod time of the symlink's containing
2313 for am_try
in 1 2; do
2314 echo "timestamp, slept: $am_has_slept" > conftest.
file
2315 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2316 if test "$*" = "X"; then
2318 set X
`ls -t "$srcdir/configure" conftest.file`
2320 if test "$*" != "X $srcdir/configure conftest.file" \
2321 && test "$*" != "X conftest.file $srcdir/configure"; then
2323 # If neither matched, then we have a broken ls. This can happen
2324 # if, for instance, CONFIG_SHELL is bash and it inherits a
2325 # broken ls alias from the environment. This has actually
2326 # happened. Such a system could not be considered "sane".
2327 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2328 alias in your environment" "$LINENO" 5
2330 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2337 test "$2" = conftest.
file
2343 as_fn_error $?
"newly created file is older than distributed files!
2344 Check your system clock" "$LINENO" 5
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2347 $as_echo "yes" >&6; }
2348 # If we didn't sleep, we still need to ensure time stamps of config.status and
2349 # generated files are strictly newer.
2351 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2358 test "$program_prefix" != NONE
&&
2359 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2360 # Use a double $ so make ignores it.
2361 test "$program_suffix" != NONE
&&
2362 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2363 # Double any \ or $.
2364 # By default was `s,x,x', remove it if useless.
2365 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2366 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2368 # expand $ac_aux_dir to an absolute path
2369 am_aux_dir
=`cd $ac_aux_dir && pwd`
2371 if test x
"${MISSING+set}" != xset
; then
2374 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2376 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2379 # Use eval to expand $SHELL
2380 if eval "$MISSING --run true"; then
2381 am_missing_run
="$MISSING --run "
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2385 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2388 if test x
"${install_sh}" != xset
; then
2391 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2393 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2397 # Installed binaries are usually stripped using 'strip' when the user
2398 # run "make install-strip". However 'strip' might not be the right
2399 # tool to use in cross-compilation environments, therefore Automake
2400 # will honor the 'STRIP' environment variable to overrule this program.
2401 if test "$cross_compiling" != no
; then
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2404 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if ${ac_cv_prog_STRIP+:} false
; then :
2408 $as_echo_n "(cached) " >&6
2410 if test -n "$STRIP"; then
2411 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir
=.
2418 for ac_exec_ext
in '' $ac_executable_extensions; do
2419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2420 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 STRIP
=$ac_cv_prog_STRIP
2431 if test -n "$STRIP"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2433 $as_echo "$STRIP" >&6; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 $as_echo "no" >&6; }
2441 if test -z "$ac_cv_prog_STRIP"; then
2443 # Extract the first word of "strip", so it can be a program name with args.
2444 set dummy strip
; ac_word
=$2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2448 $as_echo_n "(cached) " >&6
2450 if test -n "$ac_ct_STRIP"; then
2451 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir
=.
2458 for ac_exec_ext
in '' $ac_executable_extensions; do
2459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2460 ac_cv_prog_ac_ct_STRIP
="strip"
2461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2471 if test -n "$ac_ct_STRIP"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2473 $as_echo "$ac_ct_STRIP" >&6; }
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2479 if test "x$ac_ct_STRIP" = x
; then
2482 case $cross_compiling:$ac_tool_warned in
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2486 ac_tool_warned
=yes ;;
2491 STRIP
="$ac_cv_prog_STRIP"
2495 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2498 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2499 if test -z "$MKDIR_P"; then
2500 if ${ac_cv_path_mkdir+:} false
; then :
2501 $as_echo_n "(cached) " >&6
2503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2504 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2507 test -z "$as_dir" && as_dir
=.
2508 for ac_prog
in mkdir gmkdir
; do
2509 for ac_exec_ext
in '' $ac_executable_extensions; do
2510 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2511 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2512 'mkdir (GNU coreutils) '* | \
2513 'mkdir (coreutils) '* | \
2514 'mkdir (fileutils) '4.1*)
2515 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2525 test -d .
/--version && rmdir .
/--version
2526 if test "${ac_cv_path_mkdir+set}" = set; then
2527 MKDIR_P
="$ac_cv_path_mkdir -p"
2529 # As a last resort, use the slow shell script. Don't cache a
2530 # value for MKDIR_P within a source directory, because that will
2531 # break other packages using the cache if that directory is
2532 # removed, or if the value is a relative name.
2533 MKDIR_P
="$ac_install_sh -d"
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2537 $as_echo "$MKDIR_P" >&6; }
2539 for ac_prog
in gawk mawk nawk
awk
2541 # Extract the first word of "$ac_prog", so it can be a program name with args.
2542 set dummy
$ac_prog; ac_word
=$2
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if ${ac_cv_prog_AWK+:} false
; then :
2546 $as_echo_n "(cached) " >&6
2548 if test -n "$AWK"; then
2549 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir
=.
2556 for ac_exec_ext
in '' $ac_executable_extensions; do
2557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_AWK
="$ac_prog"
2559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test -n "$AWK"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2571 $as_echo "$AWK" >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574 $as_echo "no" >&6; }
2578 test -n "$AWK" && break
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2582 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2584 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2585 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2586 $as_echo_n "(cached) " >&6
2588 cat >conftest.
make <<\_ACEOF
2591 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2593 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2594 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2596 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2598 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2602 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2604 $as_echo "yes" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2609 SET_MAKE
="MAKE=${MAKE-make}"
2612 rm -rf .tst
2>/dev
/null
2613 mkdir .tst
2>/dev
/null
2614 if test -d .tst
; then
2619 rmdir .tst
2>/dev
/null
2621 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2622 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2623 # is not polluted with repeated "-I."
2624 am__isrc
=' -I$(srcdir)'
2625 # test to see if srcdir already configured
2626 if test -f $srcdir/config.status
; then
2627 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2631 # test whether we have cygpath
2632 if test -z "$CYGPATH_W"; then
2633 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2634 CYGPATH_W
='cygpath -w'
2641 # Define the identity of the package.
2642 PACKAGE
='coccinelle'
2643 VERSION
='1.0.0-rc15'
2646 cat >>confdefs.h
<<_ACEOF
2647 #define PACKAGE "$PACKAGE"
2651 cat >>confdefs.h
<<_ACEOF
2652 #define VERSION "$VERSION"
2655 # Some tools Automake needs.
2657 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2660 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2663 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2666 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2669 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2671 # For better backward compatibility. To be removed once Automake 1.9.x
2672 # dies out for good. For more background, see:
2673 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2674 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2675 mkdir_p
='$(MKDIR_P)'
2677 # We need awk for the "check" target. The system "awk" is bad on
2679 # Always define AMTAR for backward compatibility. Yes, it's still used
2680 # in the wild :-( We should find a proper way to deprecate it ...
2683 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: determining version suffix" >&5
2692 $as_echo "$as_me: determining version suffix" >&6;}
2694 if test -z "$CONFVERSION" -a -d "./.git"; then :
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: building a version from a git repository" >&5
2696 $as_echo "$as_me: building a version from a git repository" >&6;}
2697 if test -n "$ac_tool_prefix"; then
2698 # Extract the first word of "${ac_tool_prefix}git", so it can be a program name with args.
2699 set dummy
${ac_tool_prefix}git
; ac_word
=$2
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701 $as_echo_n "checking for $ac_word... " >&6; }
2702 if ${ac_cv_path_GIT+:} false
; then :
2703 $as_echo_n "(cached) " >&6
2707 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$GIT"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
2731 $as_echo "$GIT" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2739 if test -z "$ac_cv_path_GIT"; then
2741 # Extract the first word of "git", so it can be a program name with args.
2742 set dummy git
; ac_word
=$2
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if ${ac_cv_path_ac_pt_GIT+:} false
; then :
2746 $as_echo_n "(cached) " >&6
2750 ac_cv_path_ac_pt_GIT
="$ac_pt_GIT" # Let the user override the test with a path.
2753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2757 test -z "$as_dir" && as_dir
=.
2758 for ac_exec_ext
in '' $ac_executable_extensions; do
2759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2760 ac_cv_path_ac_pt_GIT
="$as_dir/$ac_word$ac_exec_ext"
2761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 ac_pt_GIT
=$ac_cv_path_ac_pt_GIT
2772 if test -n "$ac_pt_GIT"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GIT" >&5
2774 $as_echo "$ac_pt_GIT" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2780 if test "x$ac_pt_GIT" = x
; then
2783 case $cross_compiling:$ac_tool_warned in
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2787 ac_tool_warned
=yes ;;
2792 GIT
="$ac_cv_path_GIT"
2795 if test -n "$GIT"; then :
2796 CONFVERSION
=`$GIT log -1 --date-order --date=rfc --pretty="format:%cd"`
2802 if test -z "$CONFVERSION"; then :
2803 if test -n "$ac_tool_prefix"; then
2804 # Extract the first word of "${ac_tool_prefix}date", so it can be a program name with args.
2805 set dummy
${ac_tool_prefix}date; ac_word
=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_path_DATE+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2813 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 DATE
=$ac_cv_path_DATE
2835 if test -n "$DATE"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
2837 $as_echo "$DATE" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2845 if test -z "$ac_cv_path_DATE"; then
2847 # Extract the first word of "date", so it can be a program name with args.
2848 set dummy
date; ac_word
=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_path_ac_pt_DATE+:} false
; then :
2852 $as_echo_n "(cached) " >&6
2856 ac_cv_path_ac_pt_DATE
="$ac_pt_DATE" # Let the user override the test with a path.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_path_ac_pt_DATE
="$as_dir/$ac_word$ac_exec_ext"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 ac_pt_DATE
=$ac_cv_path_ac_pt_DATE
2878 if test -n "$ac_pt_DATE"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DATE" >&5
2880 $as_echo "$ac_pt_DATE" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2886 if test "x$ac_pt_DATE" = x
; then
2889 case $cross_compiling:$ac_tool_warned in
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2893 ac_tool_warned
=yes ;;
2898 DATE
="$ac_cv_path_DATE"
2901 if test -n "$DATE"; then :
2902 CONFVERSION
=`$DATE "+%a, %d %b %Y %H:%M:%S %z"`
2908 if test -z "$CONFVERSION"; then :
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: version suffix set to $CONFVERSION" >&5
2914 $as_echo "$as_me: version suffix set to $CONFVERSION" >&6;}
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: this configure program uses pkg-config m4 macros" >&5
2918 $as_echo "$as_me: this configure program uses pkg-config m4 macros" >&6;}
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: this configure program uses ocaml m4 macros (see setup/ocaml.m4)" >&5
2920 $as_echo "$as_me: this configure program uses ocaml m4 macros (see setup/ocaml.m4)" >&6;}
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: this configure program uses custom m4 macros (see setup/cocci.m4)" >&5
2922 $as_echo "$as_me: this configure program uses custom m4 macros (see setup/cocci.m4)" >&6;}
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: some fake substitutions for required but unavailable programs may be used (see setup/fake*)" >&5
2924 $as_echo "$as_me: some fake substitutions for required but unavailable programs may be used (see setup/fake*)" >&6;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: verifying basic tools" >&5
2931 $as_echo "$as_me: verifying basic tools" >&6;}
2935 DEPDIR
="${am__leading_dot}deps"
2937 ac_config_commands
="$ac_config_commands depfiles"
2940 am_make
=${MAKE-make}
2941 cat > confinc
<< 'END'
2943 @
echo this is the am__doit target
2946 # If we don't find an include directive, just comment out the code.
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2948 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2952 # First try GNU make style include.
2953 echo "include confinc" > confmf
2954 # Ignore all kinds of additional output from 'make'.
2955 case `$am_make -s -f confmf 2> /dev/null` in #(
2956 *the\ am__doit\ target
*)
2962 # Now try BSD make style include.
2963 if test "$am__include" = "#"; then
2964 echo '.include "confinc"' > confmf
2965 case `$am_make -s -f confmf 2> /dev/null` in #(
2966 *the\ am__doit\ target
*)
2967 am__include
=.include
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2976 $as_echo "$_am_result" >&6; }
2977 rm -f confinc confmf
2979 # Check whether --enable-dependency-tracking was given.
2980 if test "${enable_dependency_tracking+set}" = set; then :
2981 enableval
=$enable_dependency_tracking;
2984 if test "x$enable_dependency_tracking" != xno
; then
2985 am_depcomp
="$ac_aux_dir/depcomp"
2989 if test "x$enable_dependency_tracking" != xno; then
2999 ac_cpp
='$CPP $CPPFLAGS'
3000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3003 if test -n "$ac_tool_prefix"; then
3004 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3005 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if ${ac_cv_prog_CC+:} false
; then :
3009 $as_echo_n "(cached) " >&6
3011 if test -n "$CC"; then
3012 ac_cv_prog_CC
="$CC" # Let the user override the test.
3014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir
=.
3019 for ac_exec_ext
in '' $ac_executable_extensions; do
3020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3021 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 if test -n "$CC"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3034 $as_echo "$CC" >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3042 if test -z "$ac_cv_prog_CC"; then
3044 # Extract the first word of "gcc", so it can be a program name with args.
3045 set dummy gcc
; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$ac_ct_CC"; then
3052 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_ac_ct_CC
="gcc"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3072 if test -n "$ac_ct_CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3074 $as_echo "$ac_ct_CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3080 if test "x$ac_ct_CC" = x
; then
3083 case $cross_compiling:$ac_tool_warned in
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3087 ac_tool_warned
=yes ;;
3095 if test -z "$CC"; then
3096 if test -n "$ac_tool_prefix"; then
3097 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3098 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_CC+:} false
; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$CC"; then
3105 ac_cv_prog_CC
="$CC" # Let the user override the test.
3107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir
=.
3112 for ac_exec_ext
in '' $ac_executable_extensions; do
3113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 if test -n "$CC"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3127 $as_echo "$CC" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3136 if test -z "$CC"; then
3137 # Extract the first word of "cc", so it can be a program name with args.
3138 set dummy cc
; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_CC+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$CC"; then
3145 ac_cv_prog_CC
="$CC" # Let the user override the test.
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3155 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3156 ac_prog_rejected
=yes
3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 if test $ac_prog_rejected = yes; then
3168 # We found a bogon in the path, so make sure we never use it.
3169 set dummy
$ac_cv_prog_CC
3171 if test $# != 0; then
3172 # We chose a different compiler from the bogus one.
3173 # However, it has the same basename, so the bogon will be chosen
3174 # first if we set CC to just the basename; use the full file name.
3176 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3182 if test -n "$CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 $as_echo "$CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3192 if test -z "$CC"; then
3193 if test -n "$ac_tool_prefix"; then
3194 for ac_prog
in cl.exe
3196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if ${ac_cv_prog_CC+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$CC"; then
3204 ac_cv_prog_CC
="$CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3226 $as_echo "$CC" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3233 test -n "$CC" && break
3236 if test -z "$CC"; then
3238 for ac_prog
in cl.exe
3240 # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy
$ac_prog; ac_word
=$2
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243 $as_echo_n "checking for $ac_word... " >&6; }
3244 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3245 $as_echo_n "(cached) " >&6
3247 if test -n "$ac_ct_CC"; then
3248 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir
=.
3255 for ac_exec_ext
in '' $ac_executable_extensions; do
3256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3257 ac_cv_prog_ac_ct_CC
="$ac_prog"
3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3268 if test -n "$ac_ct_CC"; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3270 $as_echo "$ac_ct_CC" >&6; }
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3277 test -n "$ac_ct_CC" && break
3280 if test "x$ac_ct_CC" = x
; then
3283 case $cross_compiling:$ac_tool_warned in
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3287 ac_tool_warned
=yes ;;
3296 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $?
"no acceptable C compiler found in \$PATH
3299 See \`config.log' for more details" "$LINENO" 5; }
3301 # Provide some information about the compiler.
3302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3305 for ac_option
in --version -v -V -qversion; do
3306 { { ac_try
="$ac_compiler $ac_option >&5"
3308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3309 *) ac_try_echo=$ac_try;;
3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3315 if test -s conftest.err; then
3317 ... rest of stderr output deleted ...
3318 10q' conftest.err >conftest.er1
3319 cat conftest.er1 >&5
3321 rm -f conftest.er1 conftest.err
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3337 ac_clean_files_save=$ac_clean_files
3338 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3339 # Try to create an executable without -o first, disregard a.out.
3340 # It will help us diagnose broken compilers, and finding out an intuition
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3343 $as_echo_n "checking whether the C compiler works... " >&6; }
3344 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3346 # The possible output files:
3347 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3350 for ac_file in $ac_files
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3354 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3359 if { { ac_try="$ac_link_default"
3361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3362 *) ac_try_echo
=$ac_try;;
3364 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_link_default") 2>&5
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369 test $ac_status = 0; }; then :
3370 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3371 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3372 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3373 # so that the user can short-circuit this test for compilers unknown to
3375 for ac_file
in $ac_files ''
3377 test -f "$ac_file" ||
continue
3379 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3382 # We found the default executable, but exeext='' is most
3386 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3388 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3390 # We set ac_cv_exeext here because the later test for it is not
3391 # safe: cross compilers may not add the suffix if given an `-o'
3392 # argument, so we may need to know it at that point already.
3393 # Even if this section looks crufty: it has the advantage of
3400 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3405 if test -z "$ac_file"; then :
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3408 $as_echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.
$ac_ext >&5
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error
77 "C compiler cannot create executables
3414 See \`config.log' for more details" "$LINENO" 5; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3417 $as_echo "yes" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3420 $as_echo_n "checking for C compiler default output file name... " >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3422 $as_echo "$ac_file" >&6; }
3423 ac_exeext
=$ac_cv_exeext
3425 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3426 ac_clean_files
=$ac_clean_files_save
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3428 $as_echo_n "checking for suffix of executables... " >&6; }
3429 if { { ac_try
="$ac_link"
3431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_link") 2>&5
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }; then :
3440 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3441 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3442 # work properly (i.e., refer to `conftest.exe'), while it won't with
3444 for ac_file
in conftest.exe conftest conftest.
*; do
3445 test -f "$ac_file" ||
continue
3447 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3448 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3457 See \`config.log' for more details" "$LINENO" 5; }
3459 rm -f conftest conftest
$ac_cv_exeext
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3461 $as_echo "$ac_cv_exeext" >&6; }
3463 rm -f conftest.
$ac_ext
3464 EXEEXT
=$ac_cv_exeext
3466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3472 FILE *f = fopen ("conftest.out", "w");
3473 return ferror (f) || fclose (f) != 0;
3479 ac_clean_files
="$ac_clean_files conftest.out"
3480 # Check that the compiler produces executables we can run. If not, either
3481 # the compiler is broken, or we cross compile.
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3483 $as_echo_n "checking whether we are cross compiling... " >&6; }
3484 if test "$cross_compiling" != yes; then
3485 { { ac_try
="$ac_link"
3487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491 $as_echo "$ac_try_echo"; } >&5
3492 (eval "$ac_link") 2>&5
3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495 test $ac_status = 0; }
3496 if { ac_try='./conftest$ac_cv_exeext'
3497 { { case "(($ac_try" in
3498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3499 *) ac_try_echo
=$ac_try;;
3501 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502 $as_echo "$ac_try_echo"; } >&5
3503 (eval "$ac_try") 2>&5
3505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506 test $ac_status = 0; }; }; then
3509 if test "$cross_compiling" = maybe
; then
3512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514 as_fn_error $?
"cannot run C compiled programs.
3515 If you meant to cross compile, use \`--host'.
3516 See \`config.log' for more details" "$LINENO" 5; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3521 $as_echo "$cross_compiling" >&6; }
3523 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3524 ac_clean_files
=$ac_clean_files_save
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3526 $as_echo_n "checking for suffix of object files... " >&6; }
3527 if ${ac_cv_objext+:} false
; then :
3528 $as_echo_n "(cached) " >&6
3530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */
3541 rm -f conftest.o conftest.obj
3542 if { { ac_try
="$ac_compile"
3544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_compile") 2>&5
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }; then :
3553 for ac_file in conftest.o conftest.obj conftest.*; do
3554 test -f "$ac_file" || continue;
3556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3557 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3562 $as_echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.$ac_ext >&5
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3568 See \
`config.log' for more details" "$LINENO" 5; }
3570 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3573 $as_echo "$ac_cv_objext" >&6; }
3574 OBJEXT=$ac_cv_objext
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3577 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3578 if ${ac_cv_c_compiler_gnu+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3605 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3606 if test $ac_compiler_gnu = yes; then
3611 ac_test_CFLAGS=${CFLAGS+set}
3612 ac_save_CFLAGS=$CFLAGS
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3614 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3615 if ${ac_cv_prog_cc_g+:} false; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_save_c_werror_flag=$ac_c_werror_flag
3619 ac_c_werror_flag=yes
3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623 /* end confdefs.h. */
3633 if ac_fn_c_try_compile "$LINENO"; then :
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3648 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_c_werror_flag=$ac_save_c_werror_flag
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3664 if ac_fn_c_try_compile "$LINENO"; then :
3667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672 ac_c_werror_flag=$ac_save_c_werror_flag
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3675 $as_echo "$ac_cv_prog_cc_g" >&6; }
3676 if test "$ac_test_CFLAGS" = set; then
3677 CFLAGS=$ac_save_CFLAGS
3678 elif test $ac_cv_prog_cc_g = yes; then
3679 if test "$GCC" = yes; then
3685 if test "$GCC" = yes; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3692 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3693 if ${ac_cv_prog_cc_c89+:} false; then :
3694 $as_echo_n "(cached) " >&6
3696 ac_cv_prog_cc_c89=no
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3704 struct buf { int x; };
3705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3706 static char *e (p, i)
3712 static char *f (char * (*g) (char **, int), char **p, ...)
3717 s = g (p, va_arg (v,int));
3722 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3723 function prototypes and stuff, but not '\xHH' hex character constants.
3724 These don't provoke an error unfortunately, instead are silently treated
3725 as 'x'. The following induces an error, until -std is added to get
3726 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3727 array size at least. It's necessary to write '\x00'==0 to get something
3728 that's true only with -std. */
3729 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3732 inside strings and character constants. */
3734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3736 int test (int i, double x);
3737 struct s1 {int (*f) (int a);};
3738 struct s2 {int (*f) (double a);};
3739 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3745 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3751 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3753 CC="$ac_save_CC $ac_arg"
3754 if ac_fn_c_try_compile "$LINENO"; then :
3755 ac_cv_prog_cc_c89=$ac_arg
3757 rm -f core conftest.err conftest.$ac_objext
3758 test "x$ac_cv_prog_cc_c89" != "xno" && break
3760 rm -f conftest.$ac_ext
3765 case "x$ac_cv_prog_cc_c89" in
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3768 $as_echo "none needed" >&6; } ;;
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3771 $as_echo "unsupported" >&6; } ;;
3773 CC="$CC $ac_cv_prog_cc_c89"
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3775 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3777 if test "x$ac_cv_prog_cc_c89" != xno; then :
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3787 depcc="$CC" am_compiler_list=
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3790 $as_echo_n "checking dependency style of $depcc... " >&6; }
3791 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3795 # We make a subdir and do the tests there. Otherwise we can end up
3796 # making bogus files that we don't know about and never remove. For
3797 # instance it was reported that on HP-UX the gcc test will end up
3798 # making a dummy file named 'D' -- because '-MD' means "put the output
3802 # Copy depcomp to subdir because otherwise we won't find it if we're
3803 # using a relative directory.
3804 cp "$am_depcomp" conftest.dir
3806 # We will build objects and dependencies in a subdirectory because
3807 # it helps to detect inapplicable dependency modes. For instance
3808 # both Tru64's cc and ICC support -MD to output dependencies as a
3809 # side effect of compilation, but ICC will put the dependencies in
3810 # the current directory while Tru64 will put them in the object
3814 am_cv_CC_dependencies_compiler_type=none
3815 if test "$am_compiler_list" = ""; then
3816 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3819 case " $depcc " in #(
3820 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3823 for depmode in $am_compiler_list; do
3824 # Setup a source with many dependencies, because some compilers
3825 # like to wrap large dependency lists on column 80 (with \), and
3826 # we should not choose a depcomp mode which is confused by this.
3828 # We need to recreate these files for each test, as the compiler may
3829 # overwrite some of them when testing with obscure command lines.
3830 # This happens at least with the AIX C compiler.
3832 for i in 1 2 3 4 5 6; do
3833 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3834 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3835 # Solaris 10 /bin/sh.
3836 echo '/* dummy */' > sub/conftst$i.h
3838 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3840 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3841 # mode. It turns out that the SunPro C++ compiler does not properly
3842 # handle '-M -o', and we need to detect this. Also, some Intel
3843 # versions had trouble with output in subdirs.
3844 am__obj=sub/conftest.${OBJEXT-o}
3845 am__minus_obj="-o $am__obj"
3848 # This depmode causes a compiler race in universal mode.
3849 test "$am__universal" = false || continue
3852 # After this tag, mechanisms are not by side-effect, so they'll
3853 # only be used when explicitly requested.
3854 if test "x$enable_dependency_tracking" = xyes; then
3860 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3861 # This compiler won't grok '-c -o', but also, the minuso test has
3862 # not run yet. These depmodes are late enough in the game, and
3863 # so weak that their functioning should not be impacted.
3864 am__obj=conftest.${OBJEXT-o}
3869 if depmode=$depmode \
3870 source=sub/conftest.c object=$am__obj \
3871 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3872 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3873 >/dev/null 2>conftest.err &&
3874 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3875 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3876 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3877 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3878 # icc doesn't choke on unknown options, it will just issue warnings
3879 # or remarks (even with -Werror). So we grep stderr for any message
3880 # that says an option was ignored or not supported.
3881 # When given -MP, icc 7.0 and 7.1 complain thusly:
3882 # icc: Command line warning: ignoring option '-M'; no argument required
3883 # The diagnosis changed in icc 8.0:
3884 # icc: Command line remark: option '-MP' not supported
3885 if (grep 'ignoring option' conftest.err ||
3886 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3887 am_cv_CC_dependencies_compiler_type=$depmode
3896 am_cv_CC_dependencies_compiler_type=none
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3901 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3902 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3905 test "x$enable_dependency_tracking" != xno \
3906 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3908 am__fastdepCC_FALSE='#'
3910 am__fastdepCC_TRUE='#'
3911 am__fastdepCC_FALSE=
3916 ac_cpp='$CPP $CPPFLAGS'
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3921 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3922 # On Suns, sometimes $CPP names a directory.
3923 if test -n "$CPP" && test -d "$CPP"; then
3926 if test -z "$CPP"; then
3927 if ${ac_cv_prog_CPP+:} false; then :
3928 $as_echo_n "(cached) " >&6
3930 # Double quotes because CPP needs to be expanded
3931 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3934 for ac_c_preproc_warn_flag in '' yes
3936 # Use a header file that comes with gcc, so configuring glibc
3937 # with a fresh cross-compiler works.
3938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3939 # <limits.h> exists even on freestanding compilers.
3940 # On the NeXT, cc -E runs the code through the compiler's parser,
3941 # not just through cpp. "Syntax error" is here to catch this case.
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3945 # include <limits.h>
3947 # include <assert.h>
3951 if ac_fn_c_try_cpp "$LINENO"; then :
3954 # Broken: fails on valid input.
3957 rm -f conftest.err conftest.i conftest.$ac_ext
3959 # OK, works on sane cases. Now check whether nonexistent headers
3960 # can be detected and how.
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3963 #include <ac_nonexistent.h>
3965 if ac_fn_c_try_cpp "$LINENO"; then :
3966 # Broken: success on invalid input.
3969 # Passes both tests.
3973 rm -f conftest.err conftest.i conftest.$ac_ext
3976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3977 rm -f conftest.i conftest.err conftest.
$ac_ext
3978 if $ac_preproc_ok; then :
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3991 $as_echo "$CPP" >&6; }
3993 for ac_c_preproc_warn_flag
in '' yes
3995 # Use a header file that comes with gcc, so configuring glibc
3996 # with a fresh cross-compiler works.
3997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998 # <limits.h> exists even on freestanding compilers.
3999 # On the NeXT, cc -E runs the code through the compiler's parser,
4000 # not just through cpp. "Syntax error" is here to catch this case.
4001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 # include <limits.h>
4006 # include <assert.h>
4010 if ac_fn_c_try_cpp
"$LINENO"; then :
4013 # Broken: fails on valid input.
4016 rm -f conftest.err conftest.i conftest.
$ac_ext
4018 # OK, works on sane cases. Now check whether nonexistent headers
4019 # can be detected and how.
4020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <ac_nonexistent.h>
4024 if ac_fn_c_try_cpp
"$LINENO"; then :
4025 # Broken: success on invalid input.
4028 # Passes both tests.
4032 rm -f conftest.err conftest.i conftest.
$ac_ext
4035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4036 rm -f conftest.i conftest.err conftest.
$ac_ext
4037 if $ac_preproc_ok; then :
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4043 See \`config.log' for more details" "$LINENO" 5; }
4047 ac_cpp
='$CPP $CPPFLAGS'
4048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4052 # Extract the first word of "tar", so it can be a program name with args.
4053 set dummy
tar; ac_word
=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_path_TAR+:} false
; then :
4057 $as_echo_n "(cached) " >&6
4061 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
4064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4068 test -z "$as_dir" && as_dir
=.
4069 for ac_exec_ext
in '' $ac_executable_extensions; do
4070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4071 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
4072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 if test -n "$TAR"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4085 $as_echo "$TAR" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4092 # Extract the first word of "patch", so it can be a program name with args.
4093 set dummy
patch; ac_word
=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_path_PATCH+:} false
; then :
4097 $as_echo_n "(cached) " >&6
4101 ac_cv_path_PATCH
="$PATCH" # Let the user override the test with a path.
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_exec_ext
in '' $ac_executable_extensions; do
4110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4111 ac_cv_path_PATCH
="$as_dir/$ac_word$ac_exec_ext"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 PATCH
=$ac_cv_path_PATCH
4123 if test -n "$PATCH"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
4125 $as_echo "$PATCH" >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4133 if test "$INSTALL" = "setup/install-sh -c" -o "$INSTALL" = "./setup-install-sh -c"; then :
4134 INSTALL
="$COCCI_SRCDIR/$INSTALL"
4139 if test "$MKDIR_P" = "setup/install-sh -c -d" -o "$INSTALL" = "./setup-install-sh -c -d"; then :
4140 MKDIR_P
="$COCCI_SRCDIR/$MKDIR_P"
4145 # Extract the first word of "patchelf", so it can be a program name with args.
4146 set dummy patchelf
; ac_word
=$2
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4148 $as_echo_n "checking for $ac_word... " >&6; }
4149 if ${ac_cv_path_PATCHELF+:} false
; then :
4150 $as_echo_n "(cached) " >&6
4154 ac_cv_path_PATCHELF
="$PATCHELF" # Let the user override the test with a path.
4157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir
=.
4162 for ac_exec_ext
in '' $ac_executable_extensions; do
4163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_path_PATCHELF
="$as_dir/$ac_word$ac_exec_ext"
4165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4175 PATCHELF
=$ac_cv_path_PATCHELF
4176 if test -n "$PATCHELF"; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCHELF" >&5
4178 $as_echo "$PATCHELF" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4188 # Check whether --with-pkg-config was given.
4189 if test "${with_pkg_config+set}" = set; then :
4190 withval
=$with_pkg_config;
4193 with_PKG_CONFIG
="$with_pkg_config"
4195 if test -n "$with_PKG_CONFIG" -a "x$with_PKG_CONFIG" != xno
-a "x$with_PKG_CONFIG" != xyes
; then :
4196 PKG_CONFIG
="$with_PKG_CONFIG"
4200 PKG_CONFIG
="pkg-config"
4205 if test "x$with_PKG_CONFIG" = xno
; then :
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config is disabled explicitly" >&5
4207 $as_echo "$as_me: pkg-config is disabled explicitly" >&6;}
4212 if test "x$PKG_CONFIG" = xpkg-config
-a "xPKG_CONFIG" = xPKG_CONFIG
; then :
4220 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4221 if test -n "$ac_tool_prefix"; then
4222 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4223 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4231 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4253 if test -n "$PKG_CONFIG"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4255 $as_echo "$PKG_CONFIG" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4263 if test -z "$ac_cv_path_PKG_CONFIG"; then
4264 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4265 # Extract the first word of "pkg-config", so it can be a program name with args.
4266 set dummy pkg-config
; ac_word
=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4270 $as_echo_n "(cached) " >&6
4272 case $ac_pt_PKG_CONFIG in
4274 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4296 if test -n "$ac_pt_PKG_CONFIG"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4298 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4304 if test "x$ac_pt_PKG_CONFIG" = x
; then
4307 case $cross_compiling:$ac_tool_warned in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned
=yes ;;
4313 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4316 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4320 if test -n "$PKG_CONFIG"; then
4321 _pkg_min_version
=0.9.0
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4323 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4324 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4326 $as_echo "yes" >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4334 elif test "x$PKG_CONFIG" = xocamllex
-a "xPKG_CONFIG" = xOCAMLLEX
; then :
4335 # checking for ocamllex
4336 if test -n "$ac_tool_prefix"; then
4337 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
4338 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_path_OCAMLLEX+:} false
; then :
4342 $as_echo_n "(cached) " >&6
4346 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
4349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir
=.
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 OCAMLLEX
=$ac_cv_path_OCAMLLEX
4368 if test -n "$OCAMLLEX"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
4370 $as_echo "$OCAMLLEX" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4378 if test -z "$ac_cv_path_OCAMLLEX"; then
4379 ac_pt_OCAMLLEX
=$OCAMLLEX
4380 # Extract the first word of "ocamllex", so it can be a program name with args.
4381 set dummy ocamllex
; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 case $ac_pt_OCAMLLEX in
4389 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
4411 if test -n "$ac_pt_OCAMLLEX"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
4413 $as_echo "$ac_pt_OCAMLLEX" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4419 if test "x$ac_pt_OCAMLLEX" = x
; then
4422 case $cross_compiling:$ac_tool_warned in
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4426 ac_tool_warned
=yes ;;
4428 OCAMLLEX
=$ac_pt_OCAMLLEX
4431 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
4434 if test "$OCAMLLEX" != "no"; then
4435 if test -n "$ac_tool_prefix"; then
4436 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
4437 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
4441 $as_echo_n "(cached) " >&6
4443 case $OCAMLLEXDOTOPT in
4445 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
4467 if test -n "$OCAMLLEXDOTOPT"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
4469 $as_echo "$OCAMLLEXDOTOPT" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4477 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
4478 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
4479 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
4480 set dummy ocamllex.opt
; ac_word
=$2
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
4484 $as_echo_n "(cached) " >&6
4486 case $ac_pt_OCAMLLEXDOTOPT in
4488 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4498 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
4510 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
4512 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4518 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
4521 case $cross_compiling:$ac_tool_warned in
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned
=yes ;;
4527 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
4530 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
4533 if test "$OCAMLLEXDOTOPT" != "no"; then
4534 OCAMLLEX
=$OCAMLLEXDOTOPT
4540 elif test "x$PKG_CONFIG" = xocamlyacc
-a "xPKG_CONFIG" = xOCAMLYACC
; then :
4541 if test -n "$ac_tool_prefix"; then
4542 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
4543 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_path_OCAMLYACC+:} false
; then :
4547 $as_echo_n "(cached) " >&6
4551 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
4554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir
=.
4559 for ac_exec_ext
in '' $ac_executable_extensions; do
4560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 OCAMLYACC
=$ac_cv_path_OCAMLYACC
4573 if test -n "$OCAMLYACC"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
4575 $as_echo "$OCAMLYACC" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4583 if test -z "$ac_cv_path_OCAMLYACC"; then
4584 ac_pt_OCAMLYACC
=$OCAMLYACC
4585 # Extract the first word of "ocamlyacc", so it can be a program name with args.
4586 set dummy ocamlyacc
; ac_word
=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
4590 $as_echo_n "(cached) " >&6
4592 case $ac_pt_OCAMLYACC in
4594 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
4616 if test -n "$ac_pt_OCAMLYACC"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
4618 $as_echo "$ac_pt_OCAMLYACC" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4624 if test "x$ac_pt_OCAMLYACC" = x
; then
4627 case $cross_compiling:$ac_tool_warned in
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned
=yes ;;
4633 OCAMLYACC
=$ac_pt_OCAMLYACC
4636 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
4643 if test -n "$ac_tool_prefix"; then
4644 # Extract the first word of "${ac_tool_prefix}[$]PKG_CONFIG", so it can be a program name with args.
4645 set dummy
${ac_tool_prefix}$PKG_CONFIG; ac_word
=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4653 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4675 if test -n "$PKG_CONFIG"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4677 $as_echo "$PKG_CONFIG" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4685 if test -z "$ac_cv_path_PKG_CONFIG"; then
4686 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4687 # Extract the first word of "[$]PKG_CONFIG", so it can be a program name with args.
4688 set dummy
$PKG_CONFIG; ac_word
=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4692 $as_echo_n "(cached) " >&6
4694 case $ac_pt_PKG_CONFIG in
4696 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4706 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4718 if test -n "$ac_pt_PKG_CONFIG"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4720 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4726 if test "x$ac_pt_PKG_CONFIG" = x
; then
4729 case $cross_compiling:$ac_tool_warned in
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4733 ac_tool_warned
=yes ;;
4735 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4738 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4747 if test -z "$PKG_CONFIG" -o "x$PKG_CONFIG" = xno
; then :
4748 if test "x$with_PKG_CONFIG" = xyes
; then :
4749 as_fn_error $?
"--with=pkg-config is given explicitly but not found" "$LINENO" 5
4753 if test -n ""; then :
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config not found. Trying substitute ." >&5
4755 $as_echo "$as_me: pkg-config not found. Trying substitute ." >&6;}
4758 if test "xpkg-config" = xpkg-config
-a "xPKG_CONFIG" = xPKG_CONFIG
; then :
4766 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4769 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4773 $as_echo_n "(cached) " >&6
4777 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir
=.
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4799 if test -n "$PKG_CONFIG"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4801 $as_echo "$PKG_CONFIG" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4809 if test -z "$ac_cv_path_PKG_CONFIG"; then
4810 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4811 # Extract the first word of "pkg-config", so it can be a program name with args.
4812 set dummy pkg-config
; ac_word
=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4816 $as_echo_n "(cached) " >&6
4818 case $ac_pt_PKG_CONFIG in
4820 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir
=.
4828 for ac_exec_ext
in '' $ac_executable_extensions; do
4829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4842 if test -n "$ac_pt_PKG_CONFIG"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4844 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4850 if test "x$ac_pt_PKG_CONFIG" = x
; then
4853 case $cross_compiling:$ac_tool_warned in
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4857 ac_tool_warned
=yes ;;
4859 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4862 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4866 if test -n "$PKG_CONFIG"; then
4867 _pkg_min_version
=0.9.0
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4869 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4870 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4872 $as_echo "yes" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4880 elif test "xpkg-config" = xocamllex
-a "xPKG_CONFIG" = xOCAMLLEX
; then :
4881 # checking for ocamllex
4882 if test -n "$ac_tool_prefix"; then
4883 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
4884 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_path_OCAMLLEX+:} false
; then :
4888 $as_echo_n "(cached) " >&6
4892 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 OCAMLLEX
=$ac_cv_path_OCAMLLEX
4914 if test -n "$OCAMLLEX"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
4916 $as_echo "$OCAMLLEX" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_path_OCAMLLEX"; then
4925 ac_pt_OCAMLLEX
=$OCAMLLEX
4926 # Extract the first word of "ocamllex", so it can be a program name with args.
4927 set dummy ocamllex
; ac_word
=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
4931 $as_echo_n "(cached) " >&6
4933 case $ac_pt_OCAMLLEX in
4935 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
4938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir
=.
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
4957 if test -n "$ac_pt_OCAMLLEX"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
4959 $as_echo "$ac_pt_OCAMLLEX" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4965 if test "x$ac_pt_OCAMLLEX" = x
; then
4968 case $cross_compiling:$ac_tool_warned in
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4972 ac_tool_warned
=yes ;;
4974 OCAMLLEX
=$ac_pt_OCAMLLEX
4977 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
4980 if test "$OCAMLLEX" != "no"; then
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 case $OCAMLLEXDOTOPT in
4991 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
5013 if test -n "$OCAMLLEXDOTOPT"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
5015 $as_echo "$OCAMLLEXDOTOPT" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
5024 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
5025 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
5026 set dummy ocamllex.opt
; ac_word
=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
5030 $as_echo_n "(cached) " >&6
5032 case $ac_pt_OCAMLLEXDOTOPT in
5034 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
5037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir
=.
5042 for ac_exec_ext
in '' $ac_executable_extensions; do
5043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
5056 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
5058 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5064 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
5067 case $cross_compiling:$ac_tool_warned in
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned
=yes ;;
5073 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
5076 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
5079 if test "$OCAMLLEXDOTOPT" != "no"; then
5080 OCAMLLEX
=$OCAMLLEXDOTOPT
5086 elif test "xpkg-config" = xocamlyacc
-a "xPKG_CONFIG" = xOCAMLYACC
; then :
5087 if test -n "$ac_tool_prefix"; then
5088 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
5089 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_path_OCAMLYACC+:} false
; then :
5093 $as_echo_n "(cached) " >&6
5097 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
5100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir
=.
5105 for ac_exec_ext
in '' $ac_executable_extensions; do
5106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 OCAMLYACC
=$ac_cv_path_OCAMLYACC
5119 if test -n "$OCAMLYACC"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
5121 $as_echo "$OCAMLYACC" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5129 if test -z "$ac_cv_path_OCAMLYACC"; then
5130 ac_pt_OCAMLYACC
=$OCAMLYACC
5131 # Extract the first word of "ocamlyacc", so it can be a program name with args.
5132 set dummy ocamlyacc
; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 case $ac_pt_OCAMLYACC in
5140 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
5162 if test -n "$ac_pt_OCAMLYACC"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
5164 $as_echo "$ac_pt_OCAMLYACC" >&6; }
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5170 if test "x$ac_pt_OCAMLYACC" = x
; then
5173 case $cross_compiling:$ac_tool_warned in
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5177 ac_tool_warned
=yes ;;
5179 OCAMLYACC
=$ac_pt_OCAMLYACC
5182 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
5189 if test -n "$ac_tool_prefix"; then
5190 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5191 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5195 $as_echo_n "(cached) " >&6
5199 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5206 test -z "$as_dir" && as_dir
=.
5207 for ac_exec_ext
in '' $ac_executable_extensions; do
5208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5209 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5221 if test -n "$PKG_CONFIG"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5223 $as_echo "$PKG_CONFIG" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5231 if test -z "$ac_cv_path_PKG_CONFIG"; then
5232 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5233 # Extract the first word of "pkg-config", so it can be a program name with args.
5234 set dummy pkg-config
; ac_word
=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 case $ac_pt_PKG_CONFIG in
5242 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir
=.
5250 for ac_exec_ext
in '' $ac_executable_extensions; do
5251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5264 if test -n "$ac_pt_PKG_CONFIG"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5266 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5272 if test "x$ac_pt_PKG_CONFIG" = x
; then
5275 case $cross_compiling:$ac_tool_warned in
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5279 ac_tool_warned
=yes ;;
5281 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5284 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5290 SUBSTITUTED_PKG_CONFIG
=yes
5297 if test -z "$PKG_CONFIG"; then :
5302 if test "x$PKG_CONFIG" = xno
; then :
5303 PKG_CONFIG_ORIG
=pkg-config
5307 PKG_CONFIG_ORIG
=$PKG_CONFIG
5312 PKG_CONFIG
="$COCCI_SRCDIR/setup/fake-subst.sh $PKG_CONFIG_ORIG"
5316 # checking for ocamlc
5317 if test -n "$ac_tool_prefix"; then
5318 # Extract the first word of "${ac_tool_prefix}ocamlc", so it can be a program name with args.
5319 set dummy
${ac_tool_prefix}ocamlc
; ac_word
=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if ${ac_cv_path_OCAMLC+:} false
; then :
5323 $as_echo_n "(cached) " >&6
5327 ac_cv_path_OCAMLC
="$OCAMLC" # Let the user override the test with a path.
5330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir
=.
5335 for ac_exec_ext
in '' $ac_executable_extensions; do
5336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_path_OCAMLC
="$as_dir/$ac_word$ac_exec_ext"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 OCAMLC
=$ac_cv_path_OCAMLC
5349 if test -n "$OCAMLC"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLC" >&5
5351 $as_echo "$OCAMLC" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test -z "$ac_cv_path_OCAMLC"; then
5360 ac_pt_OCAMLC
=$OCAMLC
5361 # Extract the first word of "ocamlc", so it can be a program name with args.
5362 set dummy ocamlc
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_path_ac_pt_OCAMLC+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 case $ac_pt_OCAMLC in
5370 ac_cv_path_ac_pt_OCAMLC
="$ac_pt_OCAMLC" # Let the user override the test with a path.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_path_ac_pt_OCAMLC
="$as_dir/$ac_word$ac_exec_ext"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 ac_pt_OCAMLC
=$ac_cv_path_ac_pt_OCAMLC
5392 if test -n "$ac_pt_OCAMLC"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLC" >&5
5394 $as_echo "$ac_pt_OCAMLC" >&6; }
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5400 if test "x$ac_pt_OCAMLC" = x
; then
5403 case $cross_compiling:$ac_tool_warned in
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5407 ac_tool_warned
=yes ;;
5409 OCAMLC
=$ac_pt_OCAMLC
5412 OCAMLC
="$ac_cv_path_OCAMLC"
5416 if test "$OCAMLC" != "no"; then
5417 OCAMLVERSION
=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p'`
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml version is $OCAMLVERSION" >&5
5419 $as_echo "OCaml version is $OCAMLVERSION" >&6; }
5420 # If OCAMLLIB is set, use it
5421 if test "$OCAMLLIB" = ""; then
5422 OCAMLLIB
=`$OCAMLC -where 2>/dev/null || $OCAMLC -v|tail -1|cut -d ' ' -f 4`
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCAMLLIB previously set; preserving it." >&5
5425 $as_echo "OCAMLLIB previously set; preserving it." >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OCaml library path is $OCAMLLIB" >&5
5428 $as_echo "OCaml library path is $OCAMLLIB" >&6; }
5433 # checking for ocamlopt
5434 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "${ac_tool_prefix}ocamlopt", so it can be a program name with args.
5436 set dummy
${ac_tool_prefix}ocamlopt
; ac_word
=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_path_OCAMLOPT+:} false
; then :
5440 $as_echo_n "(cached) " >&6
5444 ac_cv_path_OCAMLOPT
="$OCAMLOPT" # Let the user override the test with a path.
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_path_OCAMLOPT
="$as_dir/$ac_word$ac_exec_ext"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 OCAMLOPT
=$ac_cv_path_OCAMLOPT
5466 if test -n "$OCAMLOPT"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPT" >&5
5468 $as_echo "$OCAMLOPT" >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5476 if test -z "$ac_cv_path_OCAMLOPT"; then
5477 ac_pt_OCAMLOPT
=$OCAMLOPT
5478 # Extract the first word of "ocamlopt", so it can be a program name with args.
5479 set dummy ocamlopt
; ac_word
=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_path_ac_pt_OCAMLOPT+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 case $ac_pt_OCAMLOPT in
5487 ac_cv_path_ac_pt_OCAMLOPT
="$ac_pt_OCAMLOPT" # Let the user override the test with a path.
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 for ac_exec_ext
in '' $ac_executable_extensions; do
5496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_path_ac_pt_OCAMLOPT
="$as_dir/$ac_word$ac_exec_ext"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 ac_pt_OCAMLOPT
=$ac_cv_path_ac_pt_OCAMLOPT
5509 if test -n "$ac_pt_OCAMLOPT"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLOPT" >&5
5511 $as_echo "$ac_pt_OCAMLOPT" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5517 if test "x$ac_pt_OCAMLOPT" = x
; then
5520 case $cross_compiling:$ac_tool_warned in
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned
=yes ;;
5526 OCAMLOPT
=$ac_pt_OCAMLOPT
5529 OCAMLOPT
="$ac_cv_path_OCAMLOPT"
5533 if test "$OCAMLOPT" = "no"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find ocamlopt; bytecode compilation only." >&5
5535 $as_echo "$as_me: WARNING: Cannot find ocamlopt; bytecode compilation only." >&2;}
5537 TMPVERSION
=`$OCAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
5538 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlopt discarded." >&5
5540 $as_echo "versions differs from ocamlc; ocamlopt discarded." >&6; }
5549 # checking for ocamlc.opt
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}ocamlc.opt", so it can be a program name with args.
5552 set dummy
${ac_tool_prefix}ocamlc.opt
; ac_word
=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_path_OCAMLCDOTOPT+:} false
; then :
5556 $as_echo_n "(cached) " >&6
5558 case $OCAMLCDOTOPT in
5560 ac_cv_path_OCAMLCDOTOPT
="$OCAMLCDOTOPT" # Let the user override the test with a path.
5563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir
=.
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_path_OCAMLCDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 OCAMLCDOTOPT
=$ac_cv_path_OCAMLCDOTOPT
5582 if test -n "$OCAMLCDOTOPT"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLCDOTOPT" >&5
5584 $as_echo "$OCAMLCDOTOPT" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5592 if test -z "$ac_cv_path_OCAMLCDOTOPT"; then
5593 ac_pt_OCAMLCDOTOPT
=$OCAMLCDOTOPT
5594 # Extract the first word of "ocamlc.opt", so it can be a program name with args.
5595 set dummy ocamlc.opt
; ac_word
=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_path_ac_pt_OCAMLCDOTOPT+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 case $ac_pt_OCAMLCDOTOPT in
5603 ac_cv_path_ac_pt_OCAMLCDOTOPT
="$ac_pt_OCAMLCDOTOPT" # Let the user override the test with a path.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_path_ac_pt_OCAMLCDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 ac_pt_OCAMLCDOTOPT
=$ac_cv_path_ac_pt_OCAMLCDOTOPT
5625 if test -n "$ac_pt_OCAMLCDOTOPT"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLCDOTOPT" >&5
5627 $as_echo "$ac_pt_OCAMLCDOTOPT" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5633 if test "x$ac_pt_OCAMLCDOTOPT" = x
; then
5636 case $cross_compiling:$ac_tool_warned in
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5640 ac_tool_warned
=yes ;;
5642 OCAMLCDOTOPT
=$ac_pt_OCAMLCDOTOPT
5645 OCAMLCDOTOPT
="$ac_cv_path_OCAMLCDOTOPT"
5648 if test "$OCAMLCDOTOPT" != "no"; then
5649 TMPVERSION
=`$OCAMLCDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
5650 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc; ocamlc.opt discarded." >&5
5652 $as_echo "versions differs from ocamlc; ocamlc.opt discarded." >&6; }
5654 OCAMLC
=$OCAMLCDOTOPT
5658 # checking for ocamlopt.opt
5659 if test "$OCAMLOPT" != "no" ; then
5660 if test -n "$ac_tool_prefix"; then
5661 # Extract the first word of "${ac_tool_prefix}ocamlopt.opt", so it can be a program name with args.
5662 set dummy
${ac_tool_prefix}ocamlopt.opt
; ac_word
=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_path_OCAMLOPTDOTOPT+:} false
; then :
5666 $as_echo_n "(cached) " >&6
5668 case $OCAMLOPTDOTOPT in
5670 ac_cv_path_OCAMLOPTDOTOPT
="$OCAMLOPTDOTOPT" # Let the user override the test with a path.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_path_OCAMLOPTDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 OCAMLOPTDOTOPT
=$ac_cv_path_OCAMLOPTDOTOPT
5692 if test -n "$OCAMLOPTDOTOPT"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLOPTDOTOPT" >&5
5694 $as_echo "$OCAMLOPTDOTOPT" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5702 if test -z "$ac_cv_path_OCAMLOPTDOTOPT"; then
5703 ac_pt_OCAMLOPTDOTOPT
=$OCAMLOPTDOTOPT
5704 # Extract the first word of "ocamlopt.opt", so it can be a program name with args.
5705 set dummy ocamlopt.opt
; ac_word
=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_path_ac_pt_OCAMLOPTDOTOPT+:} false
; then :
5709 $as_echo_n "(cached) " >&6
5711 case $ac_pt_OCAMLOPTDOTOPT in
5713 ac_cv_path_ac_pt_OCAMLOPTDOTOPT
="$ac_pt_OCAMLOPTDOTOPT" # Let the user override the test with a path.
5716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir
=.
5721 for ac_exec_ext
in '' $ac_executable_extensions; do
5722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_path_ac_pt_OCAMLOPTDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 ac_pt_OCAMLOPTDOTOPT
=$ac_cv_path_ac_pt_OCAMLOPTDOTOPT
5735 if test -n "$ac_pt_OCAMLOPTDOTOPT"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLOPTDOTOPT" >&5
5737 $as_echo "$ac_pt_OCAMLOPTDOTOPT" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5743 if test "x$ac_pt_OCAMLOPTDOTOPT" = x
; then
5746 case $cross_compiling:$ac_tool_warned in
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5750 ac_tool_warned
=yes ;;
5752 OCAMLOPTDOTOPT
=$ac_pt_OCAMLOPTDOTOPT
5755 OCAMLOPTDOTOPT
="$ac_cv_path_OCAMLOPTDOTOPT"
5758 if test "$OCAMLOPTDOTOPT" != "no"; then
5759 TMPVERSION
=`$OCAMLOPTDOTOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
5760 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version differs from ocamlc; ocamlopt.opt discarded." >&5
5762 $as_echo "version differs from ocamlc; ocamlopt.opt discarded." >&6; }
5764 OCAMLOPT
=$OCAMLOPTDOTOPT
5774 # checking for ocaml toplevel
5775 if test -n "$ac_tool_prefix"; then
5776 # Extract the first word of "${ac_tool_prefix}ocaml", so it can be a program name with args.
5777 set dummy
${ac_tool_prefix}ocaml
; ac_word
=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_path_OCAML+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5785 ac_cv_path_OCAML
="$OCAML" # Let the user override the test with a path.
5788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir
=.
5793 for ac_exec_ext
in '' $ac_executable_extensions; do
5794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_path_OCAML
="$as_dir/$ac_word$ac_exec_ext"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 OCAML
=$ac_cv_path_OCAML
5807 if test -n "$OCAML"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAML" >&5
5809 $as_echo "$OCAML" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5817 if test -z "$ac_cv_path_OCAML"; then
5819 # Extract the first word of "ocaml", so it can be a program name with args.
5820 set dummy ocaml
; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_path_ac_pt_OCAML+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 case $ac_pt_OCAML in
5828 ac_cv_path_ac_pt_OCAML
="$ac_pt_OCAML" # Let the user override the test with a path.
5831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir
=.
5836 for ac_exec_ext
in '' $ac_executable_extensions; do
5837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_path_ac_pt_OCAML
="$as_dir/$ac_word$ac_exec_ext"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849 ac_pt_OCAML
=$ac_cv_path_ac_pt_OCAML
5850 if test -n "$ac_pt_OCAML"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAML" >&5
5852 $as_echo "$ac_pt_OCAML" >&6; }
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5858 if test "x$ac_pt_OCAML" = x
; then
5861 case $cross_compiling:$ac_tool_warned in
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5865 ac_tool_warned
=yes ;;
5870 OCAML
="$ac_cv_path_OCAML"
5874 # checking for ocamldep
5875 if test -n "$ac_tool_prefix"; then
5876 # Extract the first word of "${ac_tool_prefix}ocamldep", so it can be a program name with args.
5877 set dummy
${ac_tool_prefix}ocamldep
; ac_word
=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_path_OCAMLDEP+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5885 ac_cv_path_OCAMLDEP
="$OCAMLDEP" # Let the user override the test with a path.
5888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir
=.
5893 for ac_exec_ext
in '' $ac_executable_extensions; do
5894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_path_OCAMLDEP
="$as_dir/$ac_word$ac_exec_ext"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 OCAMLDEP
=$ac_cv_path_OCAMLDEP
5907 if test -n "$OCAMLDEP"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDEP" >&5
5909 $as_echo "$OCAMLDEP" >&6; }
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5917 if test -z "$ac_cv_path_OCAMLDEP"; then
5918 ac_pt_OCAMLDEP
=$OCAMLDEP
5919 # Extract the first word of "ocamldep", so it can be a program name with args.
5920 set dummy ocamldep
; ac_word
=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_path_ac_pt_OCAMLDEP+:} false
; then :
5924 $as_echo_n "(cached) " >&6
5926 case $ac_pt_OCAMLDEP in
5928 ac_cv_path_ac_pt_OCAMLDEP
="$ac_pt_OCAMLDEP" # Let the user override the test with a path.
5931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5935 test -z "$as_dir" && as_dir
=.
5936 for ac_exec_ext
in '' $ac_executable_extensions; do
5937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5938 ac_cv_path_ac_pt_OCAMLDEP
="$as_dir/$ac_word$ac_exec_ext"
5939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 ac_pt_OCAMLDEP
=$ac_cv_path_ac_pt_OCAMLDEP
5950 if test -n "$ac_pt_OCAMLDEP"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLDEP" >&5
5952 $as_echo "$ac_pt_OCAMLDEP" >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5958 if test "x$ac_pt_OCAMLDEP" = x
; then
5961 case $cross_compiling:$ac_tool_warned in
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5965 ac_tool_warned
=yes ;;
5967 OCAMLDEP
=$ac_pt_OCAMLDEP
5970 OCAMLDEP
="$ac_cv_path_OCAMLDEP"
5974 # checking for ocamlmktop
5975 if test -n "$ac_tool_prefix"; then
5976 # Extract the first word of "${ac_tool_prefix}ocamlmktop", so it can be a program name with args.
5977 set dummy
${ac_tool_prefix}ocamlmktop
; ac_word
=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_path_OCAMLMKTOP+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5985 ac_cv_path_OCAMLMKTOP
="$OCAMLMKTOP" # Let the user override the test with a path.
5988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir
=.
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_path_OCAMLMKTOP
="$as_dir/$ac_word$ac_exec_ext"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 OCAMLMKTOP
=$ac_cv_path_OCAMLMKTOP
6007 if test -n "$OCAMLMKTOP"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKTOP" >&5
6009 $as_echo "$OCAMLMKTOP" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6017 if test -z "$ac_cv_path_OCAMLMKTOP"; then
6018 ac_pt_OCAMLMKTOP
=$OCAMLMKTOP
6019 # Extract the first word of "ocamlmktop", so it can be a program name with args.
6020 set dummy ocamlmktop
; ac_word
=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_path_ac_pt_OCAMLMKTOP+:} false
; then :
6024 $as_echo_n "(cached) " >&6
6026 case $ac_pt_OCAMLMKTOP in
6028 ac_cv_path_ac_pt_OCAMLMKTOP
="$ac_pt_OCAMLMKTOP" # Let the user override the test with a path.
6031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6035 test -z "$as_dir" && as_dir
=.
6036 for ac_exec_ext
in '' $ac_executable_extensions; do
6037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6038 ac_cv_path_ac_pt_OCAMLMKTOP
="$as_dir/$ac_word$ac_exec_ext"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049 ac_pt_OCAMLMKTOP
=$ac_cv_path_ac_pt_OCAMLMKTOP
6050 if test -n "$ac_pt_OCAMLMKTOP"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLMKTOP" >&5
6052 $as_echo "$ac_pt_OCAMLMKTOP" >&6; }
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6058 if test "x$ac_pt_OCAMLMKTOP" = x
; then
6061 case $cross_compiling:$ac_tool_warned in
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6065 ac_tool_warned
=yes ;;
6067 OCAMLMKTOP
=$ac_pt_OCAMLMKTOP
6070 OCAMLMKTOP
="$ac_cv_path_OCAMLMKTOP"
6074 # checking for ocamlmklib
6075 if test -n "$ac_tool_prefix"; then
6076 # Extract the first word of "${ac_tool_prefix}ocamlmklib", so it can be a program name with args.
6077 set dummy
${ac_tool_prefix}ocamlmklib
; ac_word
=$2
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6079 $as_echo_n "checking for $ac_word... " >&6; }
6080 if ${ac_cv_path_OCAMLMKLIB+:} false
; then :
6081 $as_echo_n "(cached) " >&6
6085 ac_cv_path_OCAMLMKLIB
="$OCAMLMKLIB" # Let the user override the test with a path.
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 test -z "$as_dir" && as_dir
=.
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6095 ac_cv_path_OCAMLMKLIB
="$as_dir/$ac_word$ac_exec_ext"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 OCAMLMKLIB
=$ac_cv_path_OCAMLMKLIB
6107 if test -n "$OCAMLMKLIB"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLMKLIB" >&5
6109 $as_echo "$OCAMLMKLIB" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6117 if test -z "$ac_cv_path_OCAMLMKLIB"; then
6118 ac_pt_OCAMLMKLIB
=$OCAMLMKLIB
6119 # Extract the first word of "ocamlmklib", so it can be a program name with args.
6120 set dummy ocamlmklib
; ac_word
=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_path_ac_pt_OCAMLMKLIB+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6126 case $ac_pt_OCAMLMKLIB in
6128 ac_cv_path_ac_pt_OCAMLMKLIB
="$ac_pt_OCAMLMKLIB" # Let the user override the test with a path.
6131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir
=.
6136 for ac_exec_ext
in '' $ac_executable_extensions; do
6137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6138 ac_cv_path_ac_pt_OCAMLMKLIB
="$as_dir/$ac_word$ac_exec_ext"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_pt_OCAMLMKLIB
=$ac_cv_path_ac_pt_OCAMLMKLIB
6150 if test -n "$ac_pt_OCAMLMKLIB"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLMKLIB" >&5
6152 $as_echo "$ac_pt_OCAMLMKLIB" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_pt_OCAMLMKLIB" = x
; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned
=yes ;;
6167 OCAMLMKLIB
=$ac_pt_OCAMLMKLIB
6170 OCAMLMKLIB
="$ac_cv_path_OCAMLMKLIB"
6174 # checking for ocamldoc
6175 if test -n "$ac_tool_prefix"; then
6176 # Extract the first word of "${ac_tool_prefix}ocamldoc", so it can be a program name with args.
6177 set dummy
${ac_tool_prefix}ocamldoc
; ac_word
=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if ${ac_cv_path_OCAMLDOC+:} false
; then :
6181 $as_echo_n "(cached) " >&6
6185 ac_cv_path_OCAMLDOC
="$OCAMLDOC" # Let the user override the test with a path.
6188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6192 test -z "$as_dir" && as_dir
=.
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6195 ac_cv_path_OCAMLDOC
="$as_dir/$ac_word$ac_exec_ext"
6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 OCAMLDOC
=$ac_cv_path_OCAMLDOC
6207 if test -n "$OCAMLDOC"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLDOC" >&5
6209 $as_echo "$OCAMLDOC" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6217 if test -z "$ac_cv_path_OCAMLDOC"; then
6218 ac_pt_OCAMLDOC
=$OCAMLDOC
6219 # Extract the first word of "ocamldoc", so it can be a program name with args.
6220 set dummy ocamldoc
; ac_word
=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_path_ac_pt_OCAMLDOC+:} false
; then :
6224 $as_echo_n "(cached) " >&6
6226 case $ac_pt_OCAMLDOC in
6228 ac_cv_path_ac_pt_OCAMLDOC
="$ac_pt_OCAMLDOC" # Let the user override the test with a path.
6231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir
=.
6236 for ac_exec_ext
in '' $ac_executable_extensions; do
6237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6238 ac_cv_path_ac_pt_OCAMLDOC
="$as_dir/$ac_word$ac_exec_ext"
6239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 ac_pt_OCAMLDOC
=$ac_cv_path_ac_pt_OCAMLDOC
6250 if test -n "$ac_pt_OCAMLDOC"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLDOC" >&5
6252 $as_echo "$ac_pt_OCAMLDOC" >&6; }
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_pt_OCAMLDOC" = x
; then
6261 case $cross_compiling:$ac_tool_warned in
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned
=yes ;;
6267 OCAMLDOC
=$ac_pt_OCAMLDOC
6270 OCAMLDOC
="$ac_cv_path_OCAMLDOC"
6274 # checking for ocamlbuild
6275 if test -n "$ac_tool_prefix"; then
6276 # Extract the first word of "${ac_tool_prefix}ocamlbuild", so it can be a program name with args.
6277 set dummy
${ac_tool_prefix}ocamlbuild
; ac_word
=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279 $as_echo_n "checking for $ac_word... " >&6; }
6280 if ${ac_cv_path_OCAMLBUILD+:} false
; then :
6281 $as_echo_n "(cached) " >&6
6285 ac_cv_path_OCAMLBUILD
="$OCAMLBUILD" # Let the user override the test with a path.
6288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir
=.
6293 for ac_exec_ext
in '' $ac_executable_extensions; do
6294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_path_OCAMLBUILD
="$as_dir/$ac_word$ac_exec_ext"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 OCAMLBUILD
=$ac_cv_path_OCAMLBUILD
6307 if test -n "$OCAMLBUILD"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLBUILD" >&5
6309 $as_echo "$OCAMLBUILD" >&6; }
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 $as_echo "no" >&6; }
6317 if test -z "$ac_cv_path_OCAMLBUILD"; then
6318 ac_pt_OCAMLBUILD
=$OCAMLBUILD
6319 # Extract the first word of "ocamlbuild", so it can be a program name with args.
6320 set dummy ocamlbuild
; ac_word
=$2
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322 $as_echo_n "checking for $ac_word... " >&6; }
6323 if ${ac_cv_path_ac_pt_OCAMLBUILD+:} false
; then :
6324 $as_echo_n "(cached) " >&6
6326 case $ac_pt_OCAMLBUILD in
6328 ac_cv_path_ac_pt_OCAMLBUILD
="$ac_pt_OCAMLBUILD" # Let the user override the test with a path.
6331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6335 test -z "$as_dir" && as_dir
=.
6336 for ac_exec_ext
in '' $ac_executable_extensions; do
6337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6338 ac_cv_path_ac_pt_OCAMLBUILD
="$as_dir/$ac_word$ac_exec_ext"
6339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 ac_pt_OCAMLBUILD
=$ac_cv_path_ac_pt_OCAMLBUILD
6350 if test -n "$ac_pt_OCAMLBUILD"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLBUILD" >&5
6352 $as_echo "$ac_pt_OCAMLBUILD" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6358 if test "x$ac_pt_OCAMLBUILD" = x
; then
6361 case $cross_compiling:$ac_tool_warned in
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6365 ac_tool_warned
=yes ;;
6367 OCAMLBUILD
=$ac_pt_OCAMLBUILD
6370 OCAMLBUILD
="$ac_cv_path_OCAMLBUILD"
6374 { versioncheck
=; unset versioncheck
;}
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the OCaml version is at least 3.10" >&5
6376 $as_echo_n "checking that the OCaml version is at least 3.10... " >&6; }
6377 as_arg_v1
=$OCAMLVERSION
6379 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
6382 versioncheck
=no
;; #(
6384 versioncheck
=yes ;; #(
6386 versioncheck
=yes ;; #(
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $versioncheck" >&5
6391 $as_echo "$versioncheck" >&6; }
6392 OCAMLATLEAST310
=$versioncheck
6395 { versioncheck
=; unset versioncheck
;}
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the OCaml version is at least 3.11" >&5
6397 $as_echo_n "checking that the OCaml version is at least 3.11... " >&6; }
6398 as_arg_v1
=$OCAMLVERSION
6400 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
6403 versioncheck
=no
;; #(
6405 versioncheck
=yes ;; #(
6407 versioncheck
=yes ;; #(
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $versioncheck" >&5
6412 $as_echo "$versioncheck" >&6; }
6413 OCAMLATLEAST311
=$versioncheck
6416 OCAMLCORIG
="$OCAMLC"
6419 if test "x$OCAMLC" = xno
-o "x$OCAMLDEP" = xno
-o "x$OCAMLDOC" = xno
-o "x$OCAMLMKLIB" = xno
; then :
6420 as_fn_error $?
"You must install the OCaml compiler" "$LINENO" 5
6423 if test "x$OCAMLATLEAST310" = xno
; then :
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: a more recent OCaml installation may be required" >&5
6425 $as_echo "$as_me: a more recent OCaml installation may be required" >&6;}
6429 # checking for camlp4
6430 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "${ac_tool_prefix}camlp4", so it can be a program name with args.
6432 set dummy
${ac_tool_prefix}camlp4
; ac_word
=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_path_CAMLP4+:} false
; then :
6436 $as_echo_n "(cached) " >&6
6440 ac_cv_path_CAMLP4
="$CAMLP4" # Let the user override the test with a path.
6443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir
=.
6448 for ac_exec_ext
in '' $ac_executable_extensions; do
6449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6450 ac_cv_path_CAMLP4
="$as_dir/$ac_word$ac_exec_ext"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 CAMLP4
=$ac_cv_path_CAMLP4
6462 if test -n "$CAMLP4"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4" >&5
6464 $as_echo "$CAMLP4" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6472 if test -z "$ac_cv_path_CAMLP4"; then
6473 ac_pt_CAMLP4
=$CAMLP4
6474 # Extract the first word of "camlp4", so it can be a program name with args.
6475 set dummy camlp4
; ac_word
=$2
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477 $as_echo_n "checking for $ac_word... " >&6; }
6478 if ${ac_cv_path_ac_pt_CAMLP4+:} false
; then :
6479 $as_echo_n "(cached) " >&6
6481 case $ac_pt_CAMLP4 in
6483 ac_cv_path_ac_pt_CAMLP4
="$ac_pt_CAMLP4" # Let the user override the test with a path.
6486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir
=.
6491 for ac_exec_ext
in '' $ac_executable_extensions; do
6492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_path_ac_pt_CAMLP4
="$as_dir/$ac_word$ac_exec_ext"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 ac_pt_CAMLP4
=$ac_cv_path_ac_pt_CAMLP4
6505 if test -n "$ac_pt_CAMLP4"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4" >&5
6507 $as_echo "$ac_pt_CAMLP4" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6513 if test "x$ac_pt_CAMLP4" = x
; then
6516 case $cross_compiling:$ac_tool_warned in
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned
=yes ;;
6522 CAMLP4
=$ac_pt_CAMLP4
6525 CAMLP4
="$ac_cv_path_CAMLP4"
6528 if test "$CAMLP4" != "no"; then
6529 TMPVERSION
=`$CAMLP4 -v 2>&1| sed -n -e 's|.*version *\(.*\)$|\1|p'`
6530 if test "$TMPVERSION" != "$OCAMLVERSION" ; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: versions differs from ocamlc" >&5
6532 $as_echo "versions differs from ocamlc" >&6; }
6538 # checking for companion tools
6539 if test -n "$ac_tool_prefix"; then
6540 # Extract the first word of "${ac_tool_prefix}camlp4boot", so it can be a program name with args.
6541 set dummy
${ac_tool_prefix}camlp4boot
; ac_word
=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if ${ac_cv_path_CAMLP4BOOT+:} false
; then :
6545 $as_echo_n "(cached) " >&6
6549 ac_cv_path_CAMLP4BOOT
="$CAMLP4BOOT" # Let the user override the test with a path.
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir
=.
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6559 ac_cv_path_CAMLP4BOOT
="$as_dir/$ac_word$ac_exec_ext"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 CAMLP4BOOT
=$ac_cv_path_CAMLP4BOOT
6571 if test -n "$CAMLP4BOOT"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4BOOT" >&5
6573 $as_echo "$CAMLP4BOOT" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if test -z "$ac_cv_path_CAMLP4BOOT"; then
6582 ac_pt_CAMLP4BOOT
=$CAMLP4BOOT
6583 # Extract the first word of "camlp4boot", so it can be a program name with args.
6584 set dummy camlp4boot
; ac_word
=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_path_ac_pt_CAMLP4BOOT+:} false
; then :
6588 $as_echo_n "(cached) " >&6
6590 case $ac_pt_CAMLP4BOOT in
6592 ac_cv_path_ac_pt_CAMLP4BOOT
="$ac_pt_CAMLP4BOOT" # Let the user override the test with a path.
6595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir
=.
6600 for ac_exec_ext
in '' $ac_executable_extensions; do
6601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_path_ac_pt_CAMLP4BOOT
="$as_dir/$ac_word$ac_exec_ext"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_pt_CAMLP4BOOT
=$ac_cv_path_ac_pt_CAMLP4BOOT
6614 if test -n "$ac_pt_CAMLP4BOOT"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4BOOT" >&5
6616 $as_echo "$ac_pt_CAMLP4BOOT" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_pt_CAMLP4BOOT" = x
; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned
=yes ;;
6631 CAMLP4BOOT
=$ac_pt_CAMLP4BOOT
6634 CAMLP4BOOT
="$ac_cv_path_CAMLP4BOOT"
6637 if test -n "$ac_tool_prefix"; then
6638 # Extract the first word of "${ac_tool_prefix}camlp4o", so it can be a program name with args.
6639 set dummy
${ac_tool_prefix}camlp4o
; ac_word
=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_path_CAMLP4O+:} false
; then :
6643 $as_echo_n "(cached) " >&6
6647 ac_cv_path_CAMLP4O
="$CAMLP4O" # Let the user override the test with a path.
6650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6654 test -z "$as_dir" && as_dir
=.
6655 for ac_exec_ext
in '' $ac_executable_extensions; do
6656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6657 ac_cv_path_CAMLP4O
="$as_dir/$ac_word$ac_exec_ext"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 CAMLP4O
=$ac_cv_path_CAMLP4O
6669 if test -n "$CAMLP4O"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4O" >&5
6671 $as_echo "$CAMLP4O" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_path_CAMLP4O"; then
6680 ac_pt_CAMLP4O
=$CAMLP4O
6681 # Extract the first word of "camlp4o", so it can be a program name with args.
6682 set dummy camlp4o
; ac_word
=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_path_ac_pt_CAMLP4O+:} false
; then :
6686 $as_echo_n "(cached) " >&6
6688 case $ac_pt_CAMLP4O in
6690 ac_cv_path_ac_pt_CAMLP4O
="$ac_pt_CAMLP4O" # Let the user override the test with a path.
6693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir
=.
6698 for ac_exec_ext
in '' $ac_executable_extensions; do
6699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6700 ac_cv_path_ac_pt_CAMLP4O
="$as_dir/$ac_word$ac_exec_ext"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 ac_pt_CAMLP4O
=$ac_cv_path_ac_pt_CAMLP4O
6712 if test -n "$ac_pt_CAMLP4O"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4O" >&5
6714 $as_echo "$ac_pt_CAMLP4O" >&6; }
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6720 if test "x$ac_pt_CAMLP4O" = x
; then
6723 case $cross_compiling:$ac_tool_warned in
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned
=yes ;;
6729 CAMLP4O
=$ac_pt_CAMLP4O
6732 CAMLP4O
="$ac_cv_path_CAMLP4O"
6735 if test -n "$ac_tool_prefix"; then
6736 # Extract the first word of "${ac_tool_prefix}camlp4of", so it can be a program name with args.
6737 set dummy
${ac_tool_prefix}camlp4of
; ac_word
=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739 $as_echo_n "checking for $ac_word... " >&6; }
6740 if ${ac_cv_path_CAMLP4OF+:} false
; then :
6741 $as_echo_n "(cached) " >&6
6745 ac_cv_path_CAMLP4OF
="$CAMLP4OF" # Let the user override the test with a path.
6748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir
=.
6753 for ac_exec_ext
in '' $ac_executable_extensions; do
6754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_path_CAMLP4OF
="$as_dir/$ac_word$ac_exec_ext"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 CAMLP4OF
=$ac_cv_path_CAMLP4OF
6767 if test -n "$CAMLP4OF"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4OF" >&5
6769 $as_echo "$CAMLP4OF" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_path_CAMLP4OF"; then
6778 ac_pt_CAMLP4OF
=$CAMLP4OF
6779 # Extract the first word of "camlp4of", so it can be a program name with args.
6780 set dummy camlp4of
; ac_word
=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_path_ac_pt_CAMLP4OF+:} false
; then :
6784 $as_echo_n "(cached) " >&6
6786 case $ac_pt_CAMLP4OF in
6788 ac_cv_path_ac_pt_CAMLP4OF
="$ac_pt_CAMLP4OF" # Let the user override the test with a path.
6791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir
=.
6796 for ac_exec_ext
in '' $ac_executable_extensions; do
6797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_path_ac_pt_CAMLP4OF
="$as_dir/$ac_word$ac_exec_ext"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 ac_pt_CAMLP4OF
=$ac_cv_path_ac_pt_CAMLP4OF
6810 if test -n "$ac_pt_CAMLP4OF"; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4OF" >&5
6812 $as_echo "$ac_pt_CAMLP4OF" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 $as_echo "no" >&6; }
6818 if test "x$ac_pt_CAMLP4OF" = x
; then
6821 case $cross_compiling:$ac_tool_warned in
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825 ac_tool_warned
=yes ;;
6827 CAMLP4OF
=$ac_pt_CAMLP4OF
6830 CAMLP4OF
="$ac_cv_path_CAMLP4OF"
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}camlp4oof", so it can be a program name with args.
6835 set dummy
${ac_tool_prefix}camlp4oof
; ac_word
=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_path_CAMLP4OOF+:} false
; then :
6839 $as_echo_n "(cached) " >&6
6843 ac_cv_path_CAMLP4OOF
="$CAMLP4OOF" # Let the user override the test with a path.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir
=.
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6853 ac_cv_path_CAMLP4OOF
="$as_dir/$ac_word$ac_exec_ext"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6864 CAMLP4OOF
=$ac_cv_path_CAMLP4OOF
6865 if test -n "$CAMLP4OOF"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4OOF" >&5
6867 $as_echo "$CAMLP4OOF" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 $as_echo "no" >&6; }
6875 if test -z "$ac_cv_path_CAMLP4OOF"; then
6876 ac_pt_CAMLP4OOF
=$CAMLP4OOF
6877 # Extract the first word of "camlp4oof", so it can be a program name with args.
6878 set dummy camlp4oof
; ac_word
=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880 $as_echo_n "checking for $ac_word... " >&6; }
6881 if ${ac_cv_path_ac_pt_CAMLP4OOF+:} false
; then :
6882 $as_echo_n "(cached) " >&6
6884 case $ac_pt_CAMLP4OOF in
6886 ac_cv_path_ac_pt_CAMLP4OOF
="$ac_pt_CAMLP4OOF" # Let the user override the test with a path.
6889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir
=.
6894 for ac_exec_ext
in '' $ac_executable_extensions; do
6895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_path_ac_pt_CAMLP4OOF
="$as_dir/$ac_word$ac_exec_ext"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 ac_pt_CAMLP4OOF
=$ac_cv_path_ac_pt_CAMLP4OOF
6908 if test -n "$ac_pt_CAMLP4OOF"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4OOF" >&5
6910 $as_echo "$ac_pt_CAMLP4OOF" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6916 if test "x$ac_pt_CAMLP4OOF" = x
; then
6919 case $cross_compiling:$ac_tool_warned in
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6923 ac_tool_warned
=yes ;;
6925 CAMLP4OOF
=$ac_pt_CAMLP4OOF
6928 CAMLP4OOF
="$ac_cv_path_CAMLP4OOF"
6931 if test -n "$ac_tool_prefix"; then
6932 # Extract the first word of "${ac_tool_prefix}camlp4orf", so it can be a program name with args.
6933 set dummy
${ac_tool_prefix}camlp4orf
; ac_word
=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if ${ac_cv_path_CAMLP4ORF+:} false
; then :
6937 $as_echo_n "(cached) " >&6
6941 ac_cv_path_CAMLP4ORF
="$CAMLP4ORF" # Let the user override the test with a path.
6944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir
=.
6949 for ac_exec_ext
in '' $ac_executable_extensions; do
6950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_path_CAMLP4ORF
="$as_dir/$ac_word$ac_exec_ext"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 CAMLP4ORF
=$ac_cv_path_CAMLP4ORF
6963 if test -n "$CAMLP4ORF"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4ORF" >&5
6965 $as_echo "$CAMLP4ORF" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6973 if test -z "$ac_cv_path_CAMLP4ORF"; then
6974 ac_pt_CAMLP4ORF
=$CAMLP4ORF
6975 # Extract the first word of "camlp4orf", so it can be a program name with args.
6976 set dummy camlp4orf
; ac_word
=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_path_ac_pt_CAMLP4ORF+:} false
; then :
6980 $as_echo_n "(cached) " >&6
6982 case $ac_pt_CAMLP4ORF in
6984 ac_cv_path_ac_pt_CAMLP4ORF
="$ac_pt_CAMLP4ORF" # Let the user override the test with a path.
6987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir
=.
6992 for ac_exec_ext
in '' $ac_executable_extensions; do
6993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_path_ac_pt_CAMLP4ORF
="$as_dir/$ac_word$ac_exec_ext"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 ac_pt_CAMLP4ORF
=$ac_cv_path_ac_pt_CAMLP4ORF
7006 if test -n "$ac_pt_CAMLP4ORF"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4ORF" >&5
7008 $as_echo "$ac_pt_CAMLP4ORF" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7014 if test "x$ac_pt_CAMLP4ORF" = x
; then
7017 case $cross_compiling:$ac_tool_warned in
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7021 ac_tool_warned
=yes ;;
7023 CAMLP4ORF
=$ac_pt_CAMLP4ORF
7026 CAMLP4ORF
="$ac_cv_path_CAMLP4ORF"
7029 if test -n "$ac_tool_prefix"; then
7030 # Extract the first word of "${ac_tool_prefix}camlp4prof", so it can be a program name with args.
7031 set dummy
${ac_tool_prefix}camlp4prof
; ac_word
=$2
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033 $as_echo_n "checking for $ac_word... " >&6; }
7034 if ${ac_cv_path_CAMLP4PROF+:} false
; then :
7035 $as_echo_n "(cached) " >&6
7039 ac_cv_path_CAMLP4PROF
="$CAMLP4PROF" # Let the user override the test with a path.
7042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7046 test -z "$as_dir" && as_dir
=.
7047 for ac_exec_ext
in '' $ac_executable_extensions; do
7048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7049 ac_cv_path_CAMLP4PROF
="$as_dir/$ac_word$ac_exec_ext"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 CAMLP4PROF
=$ac_cv_path_CAMLP4PROF
7061 if test -n "$CAMLP4PROF"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4PROF" >&5
7063 $as_echo "$CAMLP4PROF" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7071 if test -z "$ac_cv_path_CAMLP4PROF"; then
7072 ac_pt_CAMLP4PROF
=$CAMLP4PROF
7073 # Extract the first word of "camlp4prof", so it can be a program name with args.
7074 set dummy camlp4prof
; ac_word
=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if ${ac_cv_path_ac_pt_CAMLP4PROF+:} false
; then :
7078 $as_echo_n "(cached) " >&6
7080 case $ac_pt_CAMLP4PROF in
7082 ac_cv_path_ac_pt_CAMLP4PROF
="$ac_pt_CAMLP4PROF" # Let the user override the test with a path.
7085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir
=.
7090 for ac_exec_ext
in '' $ac_executable_extensions; do
7091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7092 ac_cv_path_ac_pt_CAMLP4PROF
="$as_dir/$ac_word$ac_exec_ext"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103 ac_pt_CAMLP4PROF
=$ac_cv_path_ac_pt_CAMLP4PROF
7104 if test -n "$ac_pt_CAMLP4PROF"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4PROF" >&5
7106 $as_echo "$ac_pt_CAMLP4PROF" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7112 if test "x$ac_pt_CAMLP4PROF" = x
; then
7115 case $cross_compiling:$ac_tool_warned in
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned
=yes ;;
7121 CAMLP4PROF
=$ac_pt_CAMLP4PROF
7124 CAMLP4PROF
="$ac_cv_path_CAMLP4PROF"
7127 if test -n "$ac_tool_prefix"; then
7128 # Extract the first word of "${ac_tool_prefix}camlp4r", so it can be a program name with args.
7129 set dummy
${ac_tool_prefix}camlp4r
; ac_word
=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_path_CAMLP4R+:} false
; then :
7133 $as_echo_n "(cached) " >&6
7137 ac_cv_path_CAMLP4R
="$CAMLP4R" # Let the user override the test with a path.
7140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7144 test -z "$as_dir" && as_dir
=.
7145 for ac_exec_ext
in '' $ac_executable_extensions; do
7146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_path_CAMLP4R
="$as_dir/$ac_word$ac_exec_ext"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 CAMLP4R
=$ac_cv_path_CAMLP4R
7159 if test -n "$CAMLP4R"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4R" >&5
7161 $as_echo "$CAMLP4R" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7169 if test -z "$ac_cv_path_CAMLP4R"; then
7170 ac_pt_CAMLP4R
=$CAMLP4R
7171 # Extract the first word of "camlp4r", so it can be a program name with args.
7172 set dummy camlp4r
; ac_word
=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_path_ac_pt_CAMLP4R+:} false
; then :
7176 $as_echo_n "(cached) " >&6
7178 case $ac_pt_CAMLP4R in
7180 ac_cv_path_ac_pt_CAMLP4R
="$ac_pt_CAMLP4R" # Let the user override the test with a path.
7183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir
=.
7188 for ac_exec_ext
in '' $ac_executable_extensions; do
7189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_path_ac_pt_CAMLP4R
="$as_dir/$ac_word$ac_exec_ext"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201 ac_pt_CAMLP4R
=$ac_cv_path_ac_pt_CAMLP4R
7202 if test -n "$ac_pt_CAMLP4R"; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4R" >&5
7204 $as_echo "$ac_pt_CAMLP4R" >&6; }
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 $as_echo "no" >&6; }
7210 if test "x$ac_pt_CAMLP4R" = x
; then
7213 case $cross_compiling:$ac_tool_warned in
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217 ac_tool_warned
=yes ;;
7219 CAMLP4R
=$ac_pt_CAMLP4R
7222 CAMLP4R
="$ac_cv_path_CAMLP4R"
7225 if test -n "$ac_tool_prefix"; then
7226 # Extract the first word of "${ac_tool_prefix}camlp4rf", so it can be a program name with args.
7227 set dummy
${ac_tool_prefix}camlp4rf
; ac_word
=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if ${ac_cv_path_CAMLP4RF+:} false
; then :
7231 $as_echo_n "(cached) " >&6
7235 ac_cv_path_CAMLP4RF
="$CAMLP4RF" # Let the user override the test with a path.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7245 ac_cv_path_CAMLP4RF
="$as_dir/$ac_word$ac_exec_ext"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 CAMLP4RF
=$ac_cv_path_CAMLP4RF
7257 if test -n "$CAMLP4RF"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAMLP4RF" >&5
7259 $as_echo "$CAMLP4RF" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7267 if test -z "$ac_cv_path_CAMLP4RF"; then
7268 ac_pt_CAMLP4RF
=$CAMLP4RF
7269 # Extract the first word of "camlp4rf", so it can be a program name with args.
7270 set dummy camlp4rf
; ac_word
=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_path_ac_pt_CAMLP4RF+:} false
; then :
7274 $as_echo_n "(cached) " >&6
7276 case $ac_pt_CAMLP4RF in
7278 ac_cv_path_ac_pt_CAMLP4RF
="$ac_pt_CAMLP4RF" # Let the user override the test with a path.
7281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir
=.
7286 for ac_exec_ext
in '' $ac_executable_extensions; do
7287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7288 ac_cv_path_ac_pt_CAMLP4RF
="$as_dir/$ac_word$ac_exec_ext"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 ac_pt_CAMLP4RF
=$ac_cv_path_ac_pt_CAMLP4RF
7300 if test -n "$ac_pt_CAMLP4RF"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CAMLP4RF" >&5
7302 $as_echo "$ac_pt_CAMLP4RF" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7308 if test "x$ac_pt_CAMLP4RF" = x
; then
7311 case $cross_compiling:$ac_tool_warned in
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned
=yes ;;
7317 CAMLP4RF
=$ac_pt_CAMLP4RF
7320 CAMLP4RF
="$ac_cv_path_CAMLP4RF"
7334 # Check whether --with-ocamllex was given.
7335 if test "${with_ocamllex+set}" = set; then :
7336 withval
=$with_ocamllex;
7339 with_OCAMLLEX
="$with_ocamllex"
7341 if test -n "$with_OCAMLLEX" -a "x$with_OCAMLLEX" != xno
-a "x$with_OCAMLLEX" != xyes
; then :
7342 OCAMLLEX
="$with_OCAMLLEX"
7351 if test "x$with_OCAMLLEX" = xno
; then :
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamllex is disabled explicitly" >&5
7353 $as_echo "$as_me: ocamllex is disabled explicitly" >&6;}
7358 if test "x$OCAMLLEX" = xpkg-config
-a "xOCAMLLEX" = xPKG_CONFIG
; then :
7366 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7369 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7373 $as_echo_n "(cached) " >&6
7377 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir
=.
7385 for ac_exec_ext
in '' $ac_executable_extensions; do
7386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7387 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7399 if test -n "$PKG_CONFIG"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7401 $as_echo "$PKG_CONFIG" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7409 if test -z "$ac_cv_path_PKG_CONFIG"; then
7410 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7411 # Extract the first word of "pkg-config", so it can be a program name with args.
7412 set dummy pkg-config
; ac_word
=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7416 $as_echo_n "(cached) " >&6
7418 case $ac_pt_PKG_CONFIG in
7420 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir
=.
7428 for ac_exec_ext
in '' $ac_executable_extensions; do
7429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7442 if test -n "$ac_pt_PKG_CONFIG"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7444 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7450 if test "x$ac_pt_PKG_CONFIG" = x
; then
7453 case $cross_compiling:$ac_tool_warned in
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457 ac_tool_warned
=yes ;;
7459 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7462 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7466 if test -n "$PKG_CONFIG"; then
7467 _pkg_min_version
=0.9.0
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7469 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7470 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7472 $as_echo "yes" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7480 elif test "x$OCAMLLEX" = xocamllex
-a "xOCAMLLEX" = xOCAMLLEX
; then :
7481 # checking for ocamllex
7482 if test -n "$ac_tool_prefix"; then
7483 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
7484 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486 $as_echo_n "checking for $ac_word... " >&6; }
7487 if ${ac_cv_path_OCAMLLEX+:} false
; then :
7488 $as_echo_n "(cached) " >&6
7492 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
7495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir
=.
7500 for ac_exec_ext
in '' $ac_executable_extensions; do
7501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 OCAMLLEX
=$ac_cv_path_OCAMLLEX
7514 if test -n "$OCAMLLEX"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
7516 $as_echo "$OCAMLLEX" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_path_OCAMLLEX"; then
7525 ac_pt_OCAMLLEX
=$OCAMLLEX
7526 # Extract the first word of "ocamllex", so it can be a program name with args.
7527 set dummy ocamllex
; ac_word
=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
7531 $as_echo_n "(cached) " >&6
7533 case $ac_pt_OCAMLLEX in
7535 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
7538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir
=.
7543 for ac_exec_ext
in '' $ac_executable_extensions; do
7544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
7557 if test -n "$ac_pt_OCAMLLEX"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
7559 $as_echo "$ac_pt_OCAMLLEX" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 if test "x$ac_pt_OCAMLLEX" = x
; then
7568 case $cross_compiling:$ac_tool_warned in
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned
=yes ;;
7574 OCAMLLEX
=$ac_pt_OCAMLLEX
7577 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
7580 if test "$OCAMLLEX" != "no"; then
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
7583 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
7587 $as_echo_n "(cached) " >&6
7589 case $OCAMLLEXDOTOPT in
7591 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
7594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7598 test -z "$as_dir" && as_dir
=.
7599 for ac_exec_ext
in '' $ac_executable_extensions; do
7600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
7613 if test -n "$OCAMLLEXDOTOPT"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
7615 $as_echo "$OCAMLLEXDOTOPT" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
7624 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
7625 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
7626 set dummy ocamllex.opt
; ac_word
=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
7630 $as_echo_n "(cached) " >&6
7632 case $ac_pt_OCAMLLEXDOTOPT in
7634 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
7637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir
=.
7642 for ac_exec_ext
in '' $ac_executable_extensions; do
7643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
7656 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
7658 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7664 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
7667 case $cross_compiling:$ac_tool_warned in
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned
=yes ;;
7673 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
7676 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
7679 if test "$OCAMLLEXDOTOPT" != "no"; then
7680 OCAMLLEX
=$OCAMLLEXDOTOPT
7686 elif test "x$OCAMLLEX" = xocamlyacc
-a "xOCAMLLEX" = xOCAMLYACC
; then :
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
7689 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_path_OCAMLYACC+:} false
; then :
7693 $as_echo_n "(cached) " >&6
7697 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
7700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir
=.
7705 for ac_exec_ext
in '' $ac_executable_extensions; do
7706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7707 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7718 OCAMLYACC
=$ac_cv_path_OCAMLYACC
7719 if test -n "$OCAMLYACC"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
7721 $as_echo "$OCAMLYACC" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724 $as_echo "no" >&6; }
7729 if test -z "$ac_cv_path_OCAMLYACC"; then
7730 ac_pt_OCAMLYACC
=$OCAMLYACC
7731 # Extract the first word of "ocamlyacc", so it can be a program name with args.
7732 set dummy ocamlyacc
; ac_word
=$2
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7734 $as_echo_n "checking for $ac_word... " >&6; }
7735 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
7736 $as_echo_n "(cached) " >&6
7738 case $ac_pt_OCAMLYACC in
7740 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
7743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7747 test -z "$as_dir" && as_dir
=.
7748 for ac_exec_ext
in '' $ac_executable_extensions; do
7749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7750 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
7751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
7762 if test -n "$ac_pt_OCAMLYACC"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
7764 $as_echo "$ac_pt_OCAMLYACC" >&6; }
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7767 $as_echo "no" >&6; }
7770 if test "x$ac_pt_OCAMLYACC" = x
; then
7773 case $cross_compiling:$ac_tool_warned in
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7777 ac_tool_warned
=yes ;;
7779 OCAMLYACC
=$ac_pt_OCAMLYACC
7782 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
7789 if test -n "$ac_tool_prefix"; then
7790 # Extract the first word of "${ac_tool_prefix}[$]OCAMLLEX", so it can be a program name with args.
7791 set dummy
${ac_tool_prefix}$OCAMLLEX; ac_word
=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7793 $as_echo_n "checking for $ac_word... " >&6; }
7794 if ${ac_cv_path_OCAMLLEX+:} false
; then :
7795 $as_echo_n "(cached) " >&6
7799 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
7802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir
=.
7807 for ac_exec_ext
in '' $ac_executable_extensions; do
7808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7809 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7820 OCAMLLEX
=$ac_cv_path_OCAMLLEX
7821 if test -n "$OCAMLLEX"; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
7823 $as_echo "$OCAMLLEX" >&6; }
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826 $as_echo "no" >&6; }
7831 if test -z "$ac_cv_path_OCAMLLEX"; then
7832 ac_pt_OCAMLLEX
=$OCAMLLEX
7833 # Extract the first word of "[$]OCAMLLEX", so it can be a program name with args.
7834 set dummy
$OCAMLLEX; ac_word
=$2
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7836 $as_echo_n "checking for $ac_word... " >&6; }
7837 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
7838 $as_echo_n "(cached) " >&6
7840 case $ac_pt_OCAMLLEX in
7842 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
7845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir
=.
7850 for ac_exec_ext
in '' $ac_executable_extensions; do
7851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
7864 if test -n "$ac_pt_OCAMLLEX"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
7866 $as_echo "$ac_pt_OCAMLLEX" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7869 $as_echo "no" >&6; }
7872 if test "x$ac_pt_OCAMLLEX" = x
; then
7875 case $cross_compiling:$ac_tool_warned in
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7879 ac_tool_warned
=yes ;;
7881 OCAMLLEX
=$ac_pt_OCAMLLEX
7884 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
7893 if test -z "$OCAMLLEX" -o "x$OCAMLLEX" = xno
; then :
7894 if test "x$with_OCAMLLEX" = xyes
; then :
7895 as_fn_error $?
"--with=ocamllex is given explicitly but not found" "$LINENO" 5
7899 if test -n ""; then :
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamllex not found. Trying substitute ." >&5
7901 $as_echo "$as_me: ocamllex not found. Trying substitute ." >&6;}
7904 if test "xocamllex" = xpkg-config
-a "xOCAMLLEX" = xPKG_CONFIG
; then :
7912 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7915 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7919 $as_echo_n "(cached) " >&6
7923 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir
=.
7931 for ac_exec_ext
in '' $ac_executable_extensions; do
7932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7945 if test -n "$PKG_CONFIG"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7947 $as_echo "$PKG_CONFIG" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_path_PKG_CONFIG"; then
7956 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7957 # Extract the first word of "pkg-config", so it can be a program name with args.
7958 set dummy pkg-config
; ac_word
=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7962 $as_echo_n "(cached) " >&6
7964 case $ac_pt_PKG_CONFIG in
7966 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir
=.
7974 for ac_exec_ext
in '' $ac_executable_extensions; do
7975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7988 if test -n "$ac_pt_PKG_CONFIG"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7990 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7996 if test "x$ac_pt_PKG_CONFIG" = x
; then
7999 case $cross_compiling:$ac_tool_warned in
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003 ac_tool_warned
=yes ;;
8005 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8008 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8012 if test -n "$PKG_CONFIG"; then
8013 _pkg_min_version
=0.9.0
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8015 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8016 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8018 $as_echo "yes" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8021 $as_echo "no" >&6; }
8026 elif test "xocamllex" = xocamllex
-a "xOCAMLLEX" = xOCAMLLEX
; then :
8027 # checking for ocamllex
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
8030 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_path_OCAMLLEX+:} false
; then :
8034 $as_echo_n "(cached) " >&6
8038 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
8041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir
=.
8046 for ac_exec_ext
in '' $ac_executable_extensions; do
8047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 OCAMLLEX
=$ac_cv_path_OCAMLLEX
8060 if test -n "$OCAMLLEX"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
8062 $as_echo "$OCAMLLEX" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8070 if test -z "$ac_cv_path_OCAMLLEX"; then
8071 ac_pt_OCAMLLEX
=$OCAMLLEX
8072 # Extract the first word of "ocamllex", so it can be a program name with args.
8073 set dummy ocamllex
; ac_word
=$2
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8075 $as_echo_n "checking for $ac_word... " >&6; }
8076 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
8077 $as_echo_n "(cached) " >&6
8079 case $ac_pt_OCAMLLEX in
8081 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
8084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir
=.
8089 for ac_exec_ext
in '' $ac_executable_extensions; do
8090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
8103 if test -n "$ac_pt_OCAMLLEX"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
8105 $as_echo "$ac_pt_OCAMLLEX" >&6; }
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8111 if test "x$ac_pt_OCAMLLEX" = x
; then
8114 case $cross_compiling:$ac_tool_warned in
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8118 ac_tool_warned
=yes ;;
8120 OCAMLLEX
=$ac_pt_OCAMLLEX
8123 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
8126 if test "$OCAMLLEX" != "no"; then
8127 if test -n "$ac_tool_prefix"; then
8128 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
8129 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 case $OCAMLLEXDOTOPT in
8137 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
8140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir
=.
8145 for ac_exec_ext
in '' $ac_executable_extensions; do
8146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
8159 if test -n "$OCAMLLEXDOTOPT"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
8161 $as_echo "$OCAMLLEXDOTOPT" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8169 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
8170 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
8171 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
8172 set dummy ocamllex.opt
; ac_word
=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8174 $as_echo_n "checking for $ac_word... " >&6; }
8175 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
8176 $as_echo_n "(cached) " >&6
8178 case $ac_pt_OCAMLLEXDOTOPT in
8180 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
8183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir
=.
8188 for ac_exec_ext
in '' $ac_executable_extensions; do
8189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8190 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8201 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
8202 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
8204 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8210 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
8213 case $cross_compiling:$ac_tool_warned in
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8217 ac_tool_warned
=yes ;;
8219 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
8222 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
8225 if test "$OCAMLLEXDOTOPT" != "no"; then
8226 OCAMLLEX
=$OCAMLLEXDOTOPT
8232 elif test "xocamllex" = xocamlyacc
-a "xOCAMLLEX" = xOCAMLYACC
; then :
8233 if test -n "$ac_tool_prefix"; then
8234 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
8235 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8237 $as_echo_n "checking for $ac_word... " >&6; }
8238 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8239 $as_echo_n "(cached) " >&6
8243 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8250 test -z "$as_dir" && as_dir
=.
8251 for ac_exec_ext
in '' $ac_executable_extensions; do
8252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8264 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8265 if test -n "$OCAMLYACC"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8267 $as_echo "$OCAMLYACC" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8275 if test -z "$ac_cv_path_OCAMLYACC"; then
8276 ac_pt_OCAMLYACC
=$OCAMLYACC
8277 # Extract the first word of "ocamlyacc", so it can be a program name with args.
8278 set dummy ocamlyacc
; ac_word
=$2
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280 $as_echo_n "checking for $ac_word... " >&6; }
8281 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8282 $as_echo_n "(cached) " >&6
8284 case $ac_pt_OCAMLYACC in
8286 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8293 test -z "$as_dir" && as_dir
=.
8294 for ac_exec_ext
in '' $ac_executable_extensions; do
8295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8296 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8308 if test -n "$ac_pt_OCAMLYACC"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8310 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8316 if test "x$ac_pt_OCAMLYACC" = x
; then
8319 case $cross_compiling:$ac_tool_warned in
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8323 ac_tool_warned
=yes ;;
8325 OCAMLYACC
=$ac_pt_OCAMLYACC
8328 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
8335 if test -n "$ac_tool_prefix"; then
8336 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
8337 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if ${ac_cv_path_OCAMLLEX+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8345 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
8348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8352 test -z "$as_dir" && as_dir
=.
8353 for ac_exec_ext
in '' $ac_executable_extensions; do
8354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8355 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 OCAMLLEX
=$ac_cv_path_OCAMLLEX
8367 if test -n "$OCAMLLEX"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
8369 $as_echo "$OCAMLLEX" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8377 if test -z "$ac_cv_path_OCAMLLEX"; then
8378 ac_pt_OCAMLLEX
=$OCAMLLEX
8379 # Extract the first word of "ocamllex", so it can be a program name with args.
8380 set dummy ocamllex
; 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_ac_pt_OCAMLLEX+:} false
; then :
8384 $as_echo_n "(cached) " >&6
8386 case $ac_pt_OCAMLLEX in
8388 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # 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_ac_pt_OCAMLLEX
="$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 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
8410 if test -n "$ac_pt_OCAMLLEX"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
8412 $as_echo "$ac_pt_OCAMLLEX" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8418 if test "x$ac_pt_OCAMLLEX" = x
; then
8421 case $cross_compiling:$ac_tool_warned in
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8425 ac_tool_warned
=yes ;;
8427 OCAMLLEX
=$ac_pt_OCAMLLEX
8430 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
8436 SUBSTITUTED_OCAMLLEX
=yes
8443 if test -z "$OCAMLLEX"; then :
8450 # Check whether --with-ocamlyacc was given.
8451 if test "${with_ocamlyacc+set}" = set; then :
8452 withval
=$with_ocamlyacc;
8455 with_OCAMLYACC
="$with_ocamlyacc"
8457 if test -n "$with_OCAMLYACC" -a "x$with_OCAMLYACC" != xno
-a "x$with_OCAMLYACC" != xyes
; then :
8458 OCAMLYACC
="$with_OCAMLYACC"
8462 OCAMLYACC
="ocamlyacc"
8467 if test "x$with_OCAMLYACC" = xno
; then :
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlyacc is disabled explicitly" >&5
8469 $as_echo "$as_me: ocamlyacc is disabled explicitly" >&6;}
8474 if test "x$OCAMLYACC" = xpkg-config
-a "xOCAMLYACC" = xPKG_CONFIG
; then :
8482 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8483 if test -n "$ac_tool_prefix"; then
8484 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8485 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8487 $as_echo_n "checking for $ac_word... " >&6; }
8488 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
8489 $as_echo_n "(cached) " >&6
8493 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir
=.
8501 for ac_exec_ext
in '' $ac_executable_extensions; do
8502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8503 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8515 if test -n "$PKG_CONFIG"; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8517 $as_echo "$PKG_CONFIG" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 $as_echo "no" >&6; }
8525 if test -z "$ac_cv_path_PKG_CONFIG"; then
8526 ac_pt_PKG_CONFIG
=$PKG_CONFIG
8527 # Extract the first word of "pkg-config", so it can be a program name with args.
8528 set dummy pkg-config
; ac_word
=$2
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8530 $as_echo_n "checking for $ac_word... " >&6; }
8531 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
8532 $as_echo_n "(cached) " >&6
8534 case $ac_pt_PKG_CONFIG in
8536 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir
=.
8544 for ac_exec_ext
in '' $ac_executable_extensions; do
8545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8546 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8557 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
8558 if test -n "$ac_pt_PKG_CONFIG"; then
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8560 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8563 $as_echo "no" >&6; }
8566 if test "x$ac_pt_PKG_CONFIG" = x
; then
8569 case $cross_compiling:$ac_tool_warned in
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8573 ac_tool_warned
=yes ;;
8575 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8578 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8582 if test -n "$PKG_CONFIG"; then
8583 _pkg_min_version
=0.9.0
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8585 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8586 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8588 $as_echo "yes" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8596 elif test "x$OCAMLYACC" = xocamllex
-a "xOCAMLYACC" = xOCAMLLEX
; then :
8597 # checking for ocamllex
8598 if test -n "$ac_tool_prefix"; then
8599 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
8600 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602 $as_echo_n "checking for $ac_word... " >&6; }
8603 if ${ac_cv_path_OCAMLLEX+:} false
; then :
8604 $as_echo_n "(cached) " >&6
8608 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
8611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8615 test -z "$as_dir" && as_dir
=.
8616 for ac_exec_ext
in '' $ac_executable_extensions; do
8617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8618 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8629 OCAMLLEX
=$ac_cv_path_OCAMLLEX
8630 if test -n "$OCAMLLEX"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
8632 $as_echo "$OCAMLLEX" >&6; }
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8640 if test -z "$ac_cv_path_OCAMLLEX"; then
8641 ac_pt_OCAMLLEX
=$OCAMLLEX
8642 # Extract the first word of "ocamllex", so it can be a program name with args.
8643 set dummy ocamllex
; ac_word
=$2
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8645 $as_echo_n "checking for $ac_word... " >&6; }
8646 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
8647 $as_echo_n "(cached) " >&6
8649 case $ac_pt_OCAMLLEX in
8651 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
8654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir
=.
8659 for ac_exec_ext
in '' $ac_executable_extensions; do
8660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
8673 if test -n "$ac_pt_OCAMLLEX"; then
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
8675 $as_echo "$ac_pt_OCAMLLEX" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8678 $as_echo "no" >&6; }
8681 if test "x$ac_pt_OCAMLLEX" = x
; then
8684 case $cross_compiling:$ac_tool_warned in
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8688 ac_tool_warned
=yes ;;
8690 OCAMLLEX
=$ac_pt_OCAMLLEX
8693 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
8696 if test "$OCAMLLEX" != "no"; then
8697 if test -n "$ac_tool_prefix"; then
8698 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
8699 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8701 $as_echo_n "checking for $ac_word... " >&6; }
8702 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
8703 $as_echo_n "(cached) " >&6
8705 case $OCAMLLEXDOTOPT in
8707 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
8710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8714 test -z "$as_dir" && as_dir
=.
8715 for ac_exec_ext
in '' $ac_executable_extensions; do
8716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8717 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8728 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
8729 if test -n "$OCAMLLEXDOTOPT"; then
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
8731 $as_echo "$OCAMLLEXDOTOPT" >&6; }
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734 $as_echo "no" >&6; }
8739 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
8740 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
8741 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
8742 set dummy ocamllex.opt
; ac_word
=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 case $ac_pt_OCAMLLEXDOTOPT in
8750 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
8753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir
=.
8758 for ac_exec_ext
in '' $ac_executable_extensions; do
8759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8760 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
8761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
8772 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
8774 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8780 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
8783 case $cross_compiling:$ac_tool_warned in
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8787 ac_tool_warned
=yes ;;
8789 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
8792 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
8795 if test "$OCAMLLEXDOTOPT" != "no"; then
8796 OCAMLLEX
=$OCAMLLEXDOTOPT
8802 elif test "x$OCAMLYACC" = xocamlyacc
-a "xOCAMLYACC" = xOCAMLYACC
; then :
8803 if test -n "$ac_tool_prefix"; then
8804 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
8805 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8807 $as_echo_n "checking for $ac_word... " >&6; }
8808 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8809 $as_echo_n "(cached) " >&6
8813 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8820 test -z "$as_dir" && as_dir
=.
8821 for ac_exec_ext
in '' $ac_executable_extensions; do
8822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8823 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8834 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8835 if test -n "$OCAMLYACC"; then
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8837 $as_echo "$OCAMLYACC" >&6; }
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8840 $as_echo "no" >&6; }
8845 if test -z "$ac_cv_path_OCAMLYACC"; then
8846 ac_pt_OCAMLYACC
=$OCAMLYACC
8847 # Extract the first word of "ocamlyacc", so it can be a program name with args.
8848 set dummy ocamlyacc
; ac_word
=$2
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 $as_echo_n "checking for $ac_word... " >&6; }
8851 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8852 $as_echo_n "(cached) " >&6
8854 case $ac_pt_OCAMLYACC in
8856 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir
=.
8864 for ac_exec_ext
in '' $ac_executable_extensions; do
8865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8866 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8877 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8878 if test -n "$ac_pt_OCAMLYACC"; then
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8880 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8883 $as_echo "no" >&6; }
8886 if test "x$ac_pt_OCAMLYACC" = x
; then
8889 case $cross_compiling:$ac_tool_warned in
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8893 ac_tool_warned
=yes ;;
8895 OCAMLYACC
=$ac_pt_OCAMLYACC
8898 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
8905 if test -n "$ac_tool_prefix"; then
8906 # Extract the first word of "${ac_tool_prefix}[$]OCAMLYACC", so it can be a program name with args.
8907 set dummy
${ac_tool_prefix}$OCAMLYACC; ac_word
=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if ${ac_cv_path_OCAMLYACC+:} false
; then :
8911 $as_echo_n "(cached) " >&6
8915 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
8918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8922 test -z "$as_dir" && as_dir
=.
8923 for ac_exec_ext
in '' $ac_executable_extensions; do
8924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8925 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8936 OCAMLYACC
=$ac_cv_path_OCAMLYACC
8937 if test -n "$OCAMLYACC"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
8939 $as_echo "$OCAMLYACC" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8947 if test -z "$ac_cv_path_OCAMLYACC"; then
8948 ac_pt_OCAMLYACC
=$OCAMLYACC
8949 # Extract the first word of "[$]OCAMLYACC", so it can be a program name with args.
8950 set dummy
$OCAMLYACC; ac_word
=$2
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8952 $as_echo_n "checking for $ac_word... " >&6; }
8953 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
8954 $as_echo_n "(cached) " >&6
8956 case $ac_pt_OCAMLYACC in
8958 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
8961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8965 test -z "$as_dir" && as_dir
=.
8966 for ac_exec_ext
in '' $ac_executable_extensions; do
8967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8968 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
8969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8979 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
8980 if test -n "$ac_pt_OCAMLYACC"; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
8982 $as_echo "$ac_pt_OCAMLYACC" >&6; }
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8988 if test "x$ac_pt_OCAMLYACC" = x
; then
8991 case $cross_compiling:$ac_tool_warned in
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8995 ac_tool_warned
=yes ;;
8997 OCAMLYACC
=$ac_pt_OCAMLYACC
9000 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
9009 if test -z "$OCAMLYACC" -o "x$OCAMLYACC" = xno
; then :
9010 if test "x$with_OCAMLYACC" = xyes
; then :
9011 as_fn_error $?
"--with=ocamlyacc is given explicitly but not found" "$LINENO" 5
9015 if test -n ""; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlyacc not found. Trying substitute ." >&5
9017 $as_echo "$as_me: ocamlyacc not found. Trying substitute ." >&6;}
9020 if test "xocamlyacc" = xpkg-config
-a "xOCAMLYACC" = xPKG_CONFIG
; then :
9028 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9029 if test -n "$ac_tool_prefix"; then
9030 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9031 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9033 $as_echo_n "checking for $ac_word... " >&6; }
9034 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
9035 $as_echo_n "(cached) " >&6
9039 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9046 test -z "$as_dir" && as_dir
=.
9047 for ac_exec_ext
in '' $ac_executable_extensions; do
9048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9049 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9060 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9061 if test -n "$PKG_CONFIG"; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9063 $as_echo "$PKG_CONFIG" >&6; }
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9066 $as_echo "no" >&6; }
9071 if test -z "$ac_cv_path_PKG_CONFIG"; then
9072 ac_pt_PKG_CONFIG
=$PKG_CONFIG
9073 # Extract the first word of "pkg-config", so it can be a program name with args.
9074 set dummy pkg-config
; ac_word
=$2
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9076 $as_echo_n "checking for $ac_word... " >&6; }
9077 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 case $ac_pt_PKG_CONFIG in
9082 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9089 test -z "$as_dir" && as_dir
=.
9090 for ac_exec_ext
in '' $ac_executable_extensions; do
9091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9092 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9103 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
9104 if test -n "$ac_pt_PKG_CONFIG"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9106 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 $as_echo "no" >&6; }
9112 if test "x$ac_pt_PKG_CONFIG" = x
; then
9115 case $cross_compiling:$ac_tool_warned in
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9119 ac_tool_warned
=yes ;;
9121 PKG_CONFIG
=$ac_pt_PKG_CONFIG
9124 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
9128 if test -n "$PKG_CONFIG"; then
9129 _pkg_min_version
=0.9.0
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9131 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9132 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9134 $as_echo "yes" >&6; }
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9137 $as_echo "no" >&6; }
9142 elif test "xocamlyacc" = xocamllex
-a "xOCAMLYACC" = xOCAMLLEX
; then :
9143 # checking for ocamllex
9144 if test -n "$ac_tool_prefix"; then
9145 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
9146 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9148 $as_echo_n "checking for $ac_word... " >&6; }
9149 if ${ac_cv_path_OCAMLLEX+:} false
; then :
9150 $as_echo_n "(cached) " >&6
9154 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
9157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9161 test -z "$as_dir" && as_dir
=.
9162 for ac_exec_ext
in '' $ac_executable_extensions; do
9163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9164 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9175 OCAMLLEX
=$ac_cv_path_OCAMLLEX
9176 if test -n "$OCAMLLEX"; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
9178 $as_echo "$OCAMLLEX" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 $as_echo "no" >&6; }
9186 if test -z "$ac_cv_path_OCAMLLEX"; then
9187 ac_pt_OCAMLLEX
=$OCAMLLEX
9188 # Extract the first word of "ocamllex", so it can be a program name with args.
9189 set dummy ocamllex
; ac_word
=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 $as_echo_n "checking for $ac_word... " >&6; }
9192 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 case $ac_pt_OCAMLLEX in
9197 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
9200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9204 test -z "$as_dir" && as_dir
=.
9205 for ac_exec_ext
in '' $ac_executable_extensions; do
9206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9207 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9218 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
9219 if test -n "$ac_pt_OCAMLLEX"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
9221 $as_echo "$ac_pt_OCAMLLEX" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9227 if test "x$ac_pt_OCAMLLEX" = x
; then
9230 case $cross_compiling:$ac_tool_warned in
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9234 ac_tool_warned
=yes ;;
9236 OCAMLLEX
=$ac_pt_OCAMLLEX
9239 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
9242 if test "$OCAMLLEX" != "no"; then
9243 if test -n "$ac_tool_prefix"; then
9244 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
9245 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9247 $as_echo_n "checking for $ac_word... " >&6; }
9248 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
9249 $as_echo_n "(cached) " >&6
9251 case $OCAMLLEXDOTOPT in
9253 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
9256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir
=.
9261 for ac_exec_ext
in '' $ac_executable_extensions; do
9262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9263 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9274 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
9275 if test -n "$OCAMLLEXDOTOPT"; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
9277 $as_echo "$OCAMLLEXDOTOPT" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 $as_echo "no" >&6; }
9285 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
9286 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
9287 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
9288 set dummy ocamllex.opt
; ac_word
=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9290 $as_echo_n "checking for $ac_word... " >&6; }
9291 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
9292 $as_echo_n "(cached) " >&6
9294 case $ac_pt_OCAMLLEXDOTOPT in
9296 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
9299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9303 test -z "$as_dir" && as_dir
=.
9304 for ac_exec_ext
in '' $ac_executable_extensions; do
9305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9306 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
9318 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
9320 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9323 $as_echo "no" >&6; }
9326 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
9329 case $cross_compiling:$ac_tool_warned in
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9333 ac_tool_warned
=yes ;;
9335 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
9338 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
9341 if test "$OCAMLLEXDOTOPT" != "no"; then
9342 OCAMLLEX
=$OCAMLLEXDOTOPT
9348 elif test "xocamlyacc" = xocamlyacc
-a "xOCAMLYACC" = xOCAMLYACC
; then :
9349 if test -n "$ac_tool_prefix"; then
9350 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
9351 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9353 $as_echo_n "checking for $ac_word... " >&6; }
9354 if ${ac_cv_path_OCAMLYACC+:} false
; then :
9355 $as_echo_n "(cached) " >&6
9359 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
9362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9366 test -z "$as_dir" && as_dir
=.
9367 for ac_exec_ext
in '' $ac_executable_extensions; do
9368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9369 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9380 OCAMLYACC
=$ac_cv_path_OCAMLYACC
9381 if test -n "$OCAMLYACC"; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
9383 $as_echo "$OCAMLYACC" >&6; }
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9386 $as_echo "no" >&6; }
9391 if test -z "$ac_cv_path_OCAMLYACC"; then
9392 ac_pt_OCAMLYACC
=$OCAMLYACC
9393 # Extract the first word of "ocamlyacc", so it can be a program name with args.
9394 set dummy ocamlyacc
; ac_word
=$2
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9396 $as_echo_n "checking for $ac_word... " >&6; }
9397 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
9398 $as_echo_n "(cached) " >&6
9400 case $ac_pt_OCAMLYACC in
9402 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
9405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9409 test -z "$as_dir" && as_dir
=.
9410 for ac_exec_ext
in '' $ac_executable_extensions; do
9411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9412 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9423 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
9424 if test -n "$ac_pt_OCAMLYACC"; then
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
9426 $as_echo "$ac_pt_OCAMLYACC" >&6; }
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9429 $as_echo "no" >&6; }
9432 if test "x$ac_pt_OCAMLYACC" = x
; then
9435 case $cross_compiling:$ac_tool_warned in
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9439 ac_tool_warned
=yes ;;
9441 OCAMLYACC
=$ac_pt_OCAMLYACC
9444 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
9451 if test -n "$ac_tool_prefix"; then
9452 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
9453 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9455 $as_echo_n "checking for $ac_word... " >&6; }
9456 if ${ac_cv_path_OCAMLYACC+:} false
; then :
9457 $as_echo_n "(cached) " >&6
9461 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
9464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9468 test -z "$as_dir" && as_dir
=.
9469 for ac_exec_ext
in '' $ac_executable_extensions; do
9470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9471 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9482 OCAMLYACC
=$ac_cv_path_OCAMLYACC
9483 if test -n "$OCAMLYACC"; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
9485 $as_echo "$OCAMLYACC" >&6; }
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9488 $as_echo "no" >&6; }
9493 if test -z "$ac_cv_path_OCAMLYACC"; then
9494 ac_pt_OCAMLYACC
=$OCAMLYACC
9495 # Extract the first word of "ocamlyacc", so it can be a program name with args.
9496 set dummy ocamlyacc
; ac_word
=$2
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9498 $as_echo_n "checking for $ac_word... " >&6; }
9499 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
9500 $as_echo_n "(cached) " >&6
9502 case $ac_pt_OCAMLYACC in
9504 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
9507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9511 test -z "$as_dir" && as_dir
=.
9512 for ac_exec_ext
in '' $ac_executable_extensions; do
9513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9514 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9525 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
9526 if test -n "$ac_pt_OCAMLYACC"; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
9528 $as_echo "$ac_pt_OCAMLYACC" >&6; }
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9531 $as_echo "no" >&6; }
9534 if test "x$ac_pt_OCAMLYACC" = x
; then
9537 case $cross_compiling:$ac_tool_warned in
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9541 ac_tool_warned
=yes ;;
9543 OCAMLYACC
=$ac_pt_OCAMLYACC
9546 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
9552 SUBSTITUTED_OCAMLYACC
=yes
9559 if test -z "$OCAMLYACC"; then :
9566 # Check whether --with-ocamlfind was given.
9567 if test "${with_ocamlfind+set}" = set; then :
9568 withval
=$with_ocamlfind;
9571 with_OCAMLFIND
="$with_ocamlfind"
9573 if test -n "$with_OCAMLFIND" -a "x$with_OCAMLFIND" != xno
-a "x$with_OCAMLFIND" != xyes
; then :
9574 OCAMLFIND
="$with_OCAMLFIND"
9578 OCAMLFIND
="ocamlfind"
9583 if test "x$with_OCAMLFIND" = xno
; then :
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlfind is disabled explicitly" >&5
9585 $as_echo "$as_me: ocamlfind is disabled explicitly" >&6;}
9590 if test "x$OCAMLFIND" = xpkg-config
-a "xOCAMLFIND" = xPKG_CONFIG
; then :
9598 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9599 if test -n "$ac_tool_prefix"; then
9600 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9601 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9603 $as_echo_n "checking for $ac_word... " >&6; }
9604 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
9605 $as_echo_n "(cached) " >&6
9609 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
9612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir
=.
9617 for ac_exec_ext
in '' $ac_executable_extensions; do
9618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9619 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9630 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
9631 if test -n "$PKG_CONFIG"; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9633 $as_echo "$PKG_CONFIG" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9636 $as_echo "no" >&6; }
9641 if test -z "$ac_cv_path_PKG_CONFIG"; then
9642 ac_pt_PKG_CONFIG
=$PKG_CONFIG
9643 # Extract the first word of "pkg-config", so it can be a program name with args.
9644 set dummy pkg-config
; ac_word
=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 case $ac_pt_PKG_CONFIG in
9652 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9659 test -z "$as_dir" && as_dir
=.
9660 for ac_exec_ext
in '' $ac_executable_extensions; do
9661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9662 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9673 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
9674 if test -n "$ac_pt_PKG_CONFIG"; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9676 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9679 $as_echo "no" >&6; }
9682 if test "x$ac_pt_PKG_CONFIG" = x
; then
9685 case $cross_compiling:$ac_tool_warned in
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9689 ac_tool_warned
=yes ;;
9691 PKG_CONFIG
=$ac_pt_PKG_CONFIG
9694 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
9698 if test -n "$PKG_CONFIG"; then
9699 _pkg_min_version
=0.9.0
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9701 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9702 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9704 $as_echo "yes" >&6; }
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9707 $as_echo "no" >&6; }
9712 elif test "x$OCAMLFIND" = xocamllex
-a "xOCAMLFIND" = xOCAMLLEX
; then :
9713 # checking for ocamllex
9714 if test -n "$ac_tool_prefix"; then
9715 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
9716 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9718 $as_echo_n "checking for $ac_word... " >&6; }
9719 if ${ac_cv_path_OCAMLLEX+:} false
; then :
9720 $as_echo_n "(cached) " >&6
9724 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
9727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9731 test -z "$as_dir" && as_dir
=.
9732 for ac_exec_ext
in '' $ac_executable_extensions; do
9733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9734 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9745 OCAMLLEX
=$ac_cv_path_OCAMLLEX
9746 if test -n "$OCAMLLEX"; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
9748 $as_echo "$OCAMLLEX" >&6; }
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9751 $as_echo "no" >&6; }
9756 if test -z "$ac_cv_path_OCAMLLEX"; then
9757 ac_pt_OCAMLLEX
=$OCAMLLEX
9758 # Extract the first word of "ocamllex", so it can be a program name with args.
9759 set dummy ocamllex
; ac_word
=$2
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9761 $as_echo_n "checking for $ac_word... " >&6; }
9762 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
9763 $as_echo_n "(cached) " >&6
9765 case $ac_pt_OCAMLLEX in
9767 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
9770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9774 test -z "$as_dir" && as_dir
=.
9775 for ac_exec_ext
in '' $ac_executable_extensions; do
9776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9777 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
9778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9788 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
9789 if test -n "$ac_pt_OCAMLLEX"; then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
9791 $as_echo "$ac_pt_OCAMLLEX" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9794 $as_echo "no" >&6; }
9797 if test "x$ac_pt_OCAMLLEX" = x
; then
9800 case $cross_compiling:$ac_tool_warned in
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9804 ac_tool_warned
=yes ;;
9806 OCAMLLEX
=$ac_pt_OCAMLLEX
9809 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
9812 if test "$OCAMLLEX" != "no"; then
9813 if test -n "$ac_tool_prefix"; then
9814 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
9815 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9817 $as_echo_n "checking for $ac_word... " >&6; }
9818 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
9819 $as_echo_n "(cached) " >&6
9821 case $OCAMLLEXDOTOPT in
9823 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
9826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir
=.
9831 for ac_exec_ext
in '' $ac_executable_extensions; do
9832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9833 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9844 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
9845 if test -n "$OCAMLLEXDOTOPT"; then
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
9847 $as_echo "$OCAMLLEXDOTOPT" >&6; }
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9850 $as_echo "no" >&6; }
9855 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
9856 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
9857 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
9858 set dummy ocamllex.opt
; ac_word
=$2
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9860 $as_echo_n "checking for $ac_word... " >&6; }
9861 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
9862 $as_echo_n "(cached) " >&6
9864 case $ac_pt_OCAMLLEXDOTOPT in
9866 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
9869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9873 test -z "$as_dir" && as_dir
=.
9874 for ac_exec_ext
in '' $ac_executable_extensions; do
9875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9876 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
9877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
9888 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
9890 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 $as_echo "no" >&6; }
9896 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
9899 case $cross_compiling:$ac_tool_warned in
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9903 ac_tool_warned
=yes ;;
9905 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
9908 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
9911 if test "$OCAMLLEXDOTOPT" != "no"; then
9912 OCAMLLEX
=$OCAMLLEXDOTOPT
9918 elif test "x$OCAMLFIND" = xocamlyacc
-a "xOCAMLFIND" = xOCAMLYACC
; then :
9919 if test -n "$ac_tool_prefix"; then
9920 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
9921 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9923 $as_echo_n "checking for $ac_word... " >&6; }
9924 if ${ac_cv_path_OCAMLYACC+:} false
; then :
9925 $as_echo_n "(cached) " >&6
9929 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
9932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9936 test -z "$as_dir" && as_dir
=.
9937 for ac_exec_ext
in '' $ac_executable_extensions; do
9938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9939 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9950 OCAMLYACC
=$ac_cv_path_OCAMLYACC
9951 if test -n "$OCAMLYACC"; then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
9953 $as_echo "$OCAMLYACC" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9956 $as_echo "no" >&6; }
9961 if test -z "$ac_cv_path_OCAMLYACC"; then
9962 ac_pt_OCAMLYACC
=$OCAMLYACC
9963 # Extract the first word of "ocamlyacc", so it can be a program name with args.
9964 set dummy ocamlyacc
; ac_word
=$2
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9966 $as_echo_n "checking for $ac_word... " >&6; }
9967 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
9968 $as_echo_n "(cached) " >&6
9970 case $ac_pt_OCAMLYACC in
9972 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
9975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9979 test -z "$as_dir" && as_dir
=.
9980 for ac_exec_ext
in '' $ac_executable_extensions; do
9981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9982 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
9983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9993 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
9994 if test -n "$ac_pt_OCAMLYACC"; then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
9996 $as_echo "$ac_pt_OCAMLYACC" >&6; }
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9999 $as_echo "no" >&6; }
10002 if test "x$ac_pt_OCAMLYACC" = x
; then
10005 case $cross_compiling:$ac_tool_warned in
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10009 ac_tool_warned
=yes ;;
10011 OCAMLYACC
=$ac_pt_OCAMLYACC
10014 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
10021 if test -n "$ac_tool_prefix"; then
10022 # Extract the first word of "${ac_tool_prefix}[$]OCAMLFIND", so it can be a program name with args.
10023 set dummy
${ac_tool_prefix}$OCAMLFIND; ac_word
=$2
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10025 $as_echo_n "checking for $ac_word... " >&6; }
10026 if ${ac_cv_path_OCAMLFIND+:} false
; then :
10027 $as_echo_n "(cached) " >&6
10031 ac_cv_path_OCAMLFIND
="$OCAMLFIND" # Let the user override the test with a path.
10034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10035 for as_dir
in $PATH
10038 test -z "$as_dir" && as_dir
=.
10039 for ac_exec_ext
in '' $ac_executable_extensions; do
10040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10041 ac_cv_path_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
10042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10052 OCAMLFIND
=$ac_cv_path_OCAMLFIND
10053 if test -n "$OCAMLFIND"; then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
10055 $as_echo "$OCAMLFIND" >&6; }
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10058 $as_echo "no" >&6; }
10063 if test -z "$ac_cv_path_OCAMLFIND"; then
10064 ac_pt_OCAMLFIND
=$OCAMLFIND
10065 # Extract the first word of "[$]OCAMLFIND", so it can be a program name with args.
10066 set dummy
$OCAMLFIND; ac_word
=$2
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10068 $as_echo_n "checking for $ac_word... " >&6; }
10069 if ${ac_cv_path_ac_pt_OCAMLFIND+:} false
; then :
10070 $as_echo_n "(cached) " >&6
10072 case $ac_pt_OCAMLFIND in
10074 ac_cv_path_ac_pt_OCAMLFIND
="$ac_pt_OCAMLFIND" # Let the user override the test with a path.
10077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10078 for as_dir
in $PATH
10081 test -z "$as_dir" && as_dir
=.
10082 for ac_exec_ext
in '' $ac_executable_extensions; do
10083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10084 ac_cv_path_ac_pt_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
10085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10095 ac_pt_OCAMLFIND
=$ac_cv_path_ac_pt_OCAMLFIND
10096 if test -n "$ac_pt_OCAMLFIND"; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLFIND" >&5
10098 $as_echo "$ac_pt_OCAMLFIND" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10101 $as_echo "no" >&6; }
10104 if test "x$ac_pt_OCAMLFIND" = x
; then
10107 case $cross_compiling:$ac_tool_warned in
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10111 ac_tool_warned
=yes ;;
10113 OCAMLFIND
=$ac_pt_OCAMLFIND
10116 OCAMLFIND
="$ac_cv_path_OCAMLFIND"
10125 if test -z "$OCAMLFIND" -o "x$OCAMLFIND" = xno
; then :
10126 if test "x$with_OCAMLFIND" = xyes
; then :
10127 as_fn_error $?
"--with=ocamlfind is given explicitly but not found" "$LINENO" 5
10131 if test -n "$COCCI_SRCDIR/setup/fake-subst.sh ocamlfind"; then :
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlfind not found. Trying substitute $COCCI_SRCDIR/setup/fake-subst.sh ocamlfind." >&5
10133 $as_echo "$as_me: ocamlfind not found. Trying substitute $COCCI_SRCDIR/setup/fake-subst.sh ocamlfind." >&6;}
10134 OCAMLFIND
="$COCCI_SRCDIR/setup/fake-subst.sh ocamlfind"
10136 if test "xocamlfind" = xpkg-config
-a "xOCAMLFIND" = xPKG_CONFIG
; then :
10144 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10145 if test -n "$ac_tool_prefix"; then
10146 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10147 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10149 $as_echo_n "checking for $ac_word... " >&6; }
10150 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10151 $as_echo_n "(cached) " >&6
10153 case $PKG_CONFIG in
10155 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10159 for as_dir
in $PATH
10162 test -z "$as_dir" && as_dir
=.
10163 for ac_exec_ext
in '' $ac_executable_extensions; do
10164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10165 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10176 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10177 if test -n "$PKG_CONFIG"; then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10179 $as_echo "$PKG_CONFIG" >&6; }
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10182 $as_echo "no" >&6; }
10187 if test -z "$ac_cv_path_PKG_CONFIG"; then
10188 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10189 # Extract the first word of "pkg-config", so it can be a program name with args.
10190 set dummy pkg-config
; ac_word
=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10192 $as_echo_n "checking for $ac_word... " >&6; }
10193 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10194 $as_echo_n "(cached) " >&6
10196 case $ac_pt_PKG_CONFIG in
10198 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10202 for as_dir
in $PATH
10205 test -z "$as_dir" && as_dir
=.
10206 for ac_exec_ext
in '' $ac_executable_extensions; do
10207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10208 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10219 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10220 if test -n "$ac_pt_PKG_CONFIG"; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10222 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10225 $as_echo "no" >&6; }
10228 if test "x$ac_pt_PKG_CONFIG" = x
; then
10231 case $cross_compiling:$ac_tool_warned in
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10235 ac_tool_warned
=yes ;;
10237 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10240 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10244 if test -n "$PKG_CONFIG"; then
10245 _pkg_min_version
=0.9.0
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10247 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10248 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10250 $as_echo "yes" >&6; }
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10253 $as_echo "no" >&6; }
10258 elif test "xocamlfind" = xocamllex
-a "xOCAMLFIND" = xOCAMLLEX
; then :
10259 # checking for ocamllex
10260 if test -n "$ac_tool_prefix"; then
10261 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
10262 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10264 $as_echo_n "checking for $ac_word... " >&6; }
10265 if ${ac_cv_path_OCAMLLEX+:} false
; then :
10266 $as_echo_n "(cached) " >&6
10270 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
10273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10274 for as_dir
in $PATH
10277 test -z "$as_dir" && as_dir
=.
10278 for ac_exec_ext
in '' $ac_executable_extensions; do
10279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10280 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 OCAMLLEX
=$ac_cv_path_OCAMLLEX
10292 if test -n "$OCAMLLEX"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
10294 $as_echo "$OCAMLLEX" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10297 $as_echo "no" >&6; }
10302 if test -z "$ac_cv_path_OCAMLLEX"; then
10303 ac_pt_OCAMLLEX
=$OCAMLLEX
10304 # Extract the first word of "ocamllex", so it can be a program name with args.
10305 set dummy ocamllex
; ac_word
=$2
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10307 $as_echo_n "checking for $ac_word... " >&6; }
10308 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
10309 $as_echo_n "(cached) " >&6
10311 case $ac_pt_OCAMLLEX in
10313 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
10316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10317 for as_dir
in $PATH
10320 test -z "$as_dir" && as_dir
=.
10321 for ac_exec_ext
in '' $ac_executable_extensions; do
10322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10323 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10334 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
10335 if test -n "$ac_pt_OCAMLLEX"; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
10337 $as_echo "$ac_pt_OCAMLLEX" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10340 $as_echo "no" >&6; }
10343 if test "x$ac_pt_OCAMLLEX" = x
; then
10346 case $cross_compiling:$ac_tool_warned in
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10350 ac_tool_warned
=yes ;;
10352 OCAMLLEX
=$ac_pt_OCAMLLEX
10355 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
10358 if test "$OCAMLLEX" != "no"; then
10359 if test -n "$ac_tool_prefix"; then
10360 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
10361 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10363 $as_echo_n "checking for $ac_word... " >&6; }
10364 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
10365 $as_echo_n "(cached) " >&6
10367 case $OCAMLLEXDOTOPT in
10369 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
10372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10373 for as_dir
in $PATH
10376 test -z "$as_dir" && as_dir
=.
10377 for ac_exec_ext
in '' $ac_executable_extensions; do
10378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10379 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10390 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
10391 if test -n "$OCAMLLEXDOTOPT"; then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
10393 $as_echo "$OCAMLLEXDOTOPT" >&6; }
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 $as_echo "no" >&6; }
10401 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
10402 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
10403 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
10404 set dummy ocamllex.opt
; ac_word
=$2
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10406 $as_echo_n "checking for $ac_word... " >&6; }
10407 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
10408 $as_echo_n "(cached) " >&6
10410 case $ac_pt_OCAMLLEXDOTOPT in
10412 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
10415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10416 for as_dir
in $PATH
10419 test -z "$as_dir" && as_dir
=.
10420 for ac_exec_ext
in '' $ac_executable_extensions; do
10421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10433 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
10434 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
10436 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10439 $as_echo "no" >&6; }
10442 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
10443 OCAMLLEXDOTOPT
="no"
10445 case $cross_compiling:$ac_tool_warned in
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10449 ac_tool_warned
=yes ;;
10451 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
10454 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
10457 if test "$OCAMLLEXDOTOPT" != "no"; then
10458 OCAMLLEX
=$OCAMLLEXDOTOPT
10464 elif test "xocamlfind" = xocamlyacc
-a "xOCAMLFIND" = xOCAMLYACC
; then :
10465 if test -n "$ac_tool_prefix"; then
10466 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
10467 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10469 $as_echo_n "checking for $ac_word... " >&6; }
10470 if ${ac_cv_path_OCAMLYACC+:} false
; then :
10471 $as_echo_n "(cached) " >&6
10475 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
10478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10479 for as_dir
in $PATH
10482 test -z "$as_dir" && as_dir
=.
10483 for ac_exec_ext
in '' $ac_executable_extensions; do
10484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10485 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
10486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10496 OCAMLYACC
=$ac_cv_path_OCAMLYACC
10497 if test -n "$OCAMLYACC"; then
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
10499 $as_echo "$OCAMLYACC" >&6; }
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10502 $as_echo "no" >&6; }
10507 if test -z "$ac_cv_path_OCAMLYACC"; then
10508 ac_pt_OCAMLYACC
=$OCAMLYACC
10509 # Extract the first word of "ocamlyacc", so it can be a program name with args.
10510 set dummy ocamlyacc
; ac_word
=$2
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10512 $as_echo_n "checking for $ac_word... " >&6; }
10513 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
10514 $as_echo_n "(cached) " >&6
10516 case $ac_pt_OCAMLYACC in
10518 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
10521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10522 for as_dir
in $PATH
10525 test -z "$as_dir" && as_dir
=.
10526 for ac_exec_ext
in '' $ac_executable_extensions; do
10527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10528 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
10529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10539 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
10540 if test -n "$ac_pt_OCAMLYACC"; then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
10542 $as_echo "$ac_pt_OCAMLYACC" >&6; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 $as_echo "no" >&6; }
10548 if test "x$ac_pt_OCAMLYACC" = x
; then
10551 case $cross_compiling:$ac_tool_warned in
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10555 ac_tool_warned
=yes ;;
10557 OCAMLYACC
=$ac_pt_OCAMLYACC
10560 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
10567 if test -n "$ac_tool_prefix"; then
10568 # Extract the first word of "${ac_tool_prefix}ocamlfind", so it can be a program name with args.
10569 set dummy
${ac_tool_prefix}ocamlfind
; ac_word
=$2
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10571 $as_echo_n "checking for $ac_word... " >&6; }
10572 if ${ac_cv_path_OCAMLFIND+:} false
; then :
10573 $as_echo_n "(cached) " >&6
10577 ac_cv_path_OCAMLFIND
="$OCAMLFIND" # Let the user override the test with a path.
10580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10581 for as_dir
in $PATH
10584 test -z "$as_dir" && as_dir
=.
10585 for ac_exec_ext
in '' $ac_executable_extensions; do
10586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10587 ac_cv_path_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
10588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10598 OCAMLFIND
=$ac_cv_path_OCAMLFIND
10599 if test -n "$OCAMLFIND"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLFIND" >&5
10601 $as_echo "$OCAMLFIND" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10604 $as_echo "no" >&6; }
10609 if test -z "$ac_cv_path_OCAMLFIND"; then
10610 ac_pt_OCAMLFIND
=$OCAMLFIND
10611 # Extract the first word of "ocamlfind", so it can be a program name with args.
10612 set dummy ocamlfind
; ac_word
=$2
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10614 $as_echo_n "checking for $ac_word... " >&6; }
10615 if ${ac_cv_path_ac_pt_OCAMLFIND+:} false
; then :
10616 $as_echo_n "(cached) " >&6
10618 case $ac_pt_OCAMLFIND in
10620 ac_cv_path_ac_pt_OCAMLFIND
="$ac_pt_OCAMLFIND" # Let the user override the test with a path.
10623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10624 for as_dir
in $PATH
10627 test -z "$as_dir" && as_dir
=.
10628 for ac_exec_ext
in '' $ac_executable_extensions; do
10629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10630 ac_cv_path_ac_pt_OCAMLFIND
="$as_dir/$ac_word$ac_exec_ext"
10631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10641 ac_pt_OCAMLFIND
=$ac_cv_path_ac_pt_OCAMLFIND
10642 if test -n "$ac_pt_OCAMLFIND"; then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLFIND" >&5
10644 $as_echo "$ac_pt_OCAMLFIND" >&6; }
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 $as_echo "no" >&6; }
10650 if test "x$ac_pt_OCAMLFIND" = x
; then
10653 case $cross_compiling:$ac_tool_warned in
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10657 ac_tool_warned
=yes ;;
10659 OCAMLFIND
=$ac_pt_OCAMLFIND
10662 OCAMLFIND
="$ac_cv_path_OCAMLFIND"
10668 SUBSTITUTED_OCAMLFIND
=yes
10675 if test -z "$OCAMLFIND"; then :
10682 # Check whether --with-ocamlprof was given.
10683 if test "${with_ocamlprof+set}" = set; then :
10684 withval
=$with_ocamlprof;
10687 with_OCAMLPROF
="$with_ocamlprof"
10689 if test -n "$with_OCAMLPROF" -a "x$with_OCAMLPROF" != xno
-a "x$with_OCAMLPROF" != xyes
; then :
10690 OCAMLPROF
="$with_OCAMLPROF"
10694 OCAMLPROF
="ocamlprof"
10699 if test "x$with_OCAMLPROF" = xno
; then :
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlprof is disabled explicitly" >&5
10701 $as_echo "$as_me: ocamlprof is disabled explicitly" >&6;}
10706 if test "x$OCAMLPROF" = xpkg-config
-a "xOCAMLPROF" = xPKG_CONFIG
; then :
10714 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10715 if test -n "$ac_tool_prefix"; then
10716 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10717 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10719 $as_echo_n "checking for $ac_word... " >&6; }
10720 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10721 $as_echo_n "(cached) " >&6
10723 case $PKG_CONFIG in
10725 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10729 for as_dir
in $PATH
10732 test -z "$as_dir" && as_dir
=.
10733 for ac_exec_ext
in '' $ac_executable_extensions; do
10734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10735 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10746 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10747 if test -n "$PKG_CONFIG"; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10749 $as_echo "$PKG_CONFIG" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10752 $as_echo "no" >&6; }
10757 if test -z "$ac_cv_path_PKG_CONFIG"; then
10758 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10759 # Extract the first word of "pkg-config", so it can be a program name with args.
10760 set dummy pkg-config
; ac_word
=$2
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10762 $as_echo_n "checking for $ac_word... " >&6; }
10763 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10764 $as_echo_n "(cached) " >&6
10766 case $ac_pt_PKG_CONFIG in
10768 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10772 for as_dir
in $PATH
10775 test -z "$as_dir" && as_dir
=.
10776 for ac_exec_ext
in '' $ac_executable_extensions; do
10777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10778 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10789 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10790 if test -n "$ac_pt_PKG_CONFIG"; then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10792 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10795 $as_echo "no" >&6; }
10798 if test "x$ac_pt_PKG_CONFIG" = x
; then
10801 case $cross_compiling:$ac_tool_warned in
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10805 ac_tool_warned
=yes ;;
10807 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10810 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10814 if test -n "$PKG_CONFIG"; then
10815 _pkg_min_version
=0.9.0
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10817 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10818 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10820 $as_echo "yes" >&6; }
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10823 $as_echo "no" >&6; }
10828 elif test "x$OCAMLPROF" = xocamllex
-a "xOCAMLPROF" = xOCAMLLEX
; then :
10829 # checking for ocamllex
10830 if test -n "$ac_tool_prefix"; then
10831 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
10832 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10834 $as_echo_n "checking for $ac_word... " >&6; }
10835 if ${ac_cv_path_OCAMLLEX+:} false
; then :
10836 $as_echo_n "(cached) " >&6
10840 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
10843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10844 for as_dir
in $PATH
10847 test -z "$as_dir" && as_dir
=.
10848 for ac_exec_ext
in '' $ac_executable_extensions; do
10849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10850 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10861 OCAMLLEX
=$ac_cv_path_OCAMLLEX
10862 if test -n "$OCAMLLEX"; then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
10864 $as_echo "$OCAMLLEX" >&6; }
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10867 $as_echo "no" >&6; }
10872 if test -z "$ac_cv_path_OCAMLLEX"; then
10873 ac_pt_OCAMLLEX
=$OCAMLLEX
10874 # Extract the first word of "ocamllex", so it can be a program name with args.
10875 set dummy ocamllex
; ac_word
=$2
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10877 $as_echo_n "checking for $ac_word... " >&6; }
10878 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
10879 $as_echo_n "(cached) " >&6
10881 case $ac_pt_OCAMLLEX in
10883 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
10886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10887 for as_dir
in $PATH
10890 test -z "$as_dir" && as_dir
=.
10891 for ac_exec_ext
in '' $ac_executable_extensions; do
10892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
10894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10904 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
10905 if test -n "$ac_pt_OCAMLLEX"; then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
10907 $as_echo "$ac_pt_OCAMLLEX" >&6; }
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10910 $as_echo "no" >&6; }
10913 if test "x$ac_pt_OCAMLLEX" = x
; then
10916 case $cross_compiling:$ac_tool_warned in
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10920 ac_tool_warned
=yes ;;
10922 OCAMLLEX
=$ac_pt_OCAMLLEX
10925 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
10928 if test "$OCAMLLEX" != "no"; then
10929 if test -n "$ac_tool_prefix"; then
10930 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
10931 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10933 $as_echo_n "checking for $ac_word... " >&6; }
10934 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
10935 $as_echo_n "(cached) " >&6
10937 case $OCAMLLEXDOTOPT in
10939 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
10942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10943 for as_dir
in $PATH
10946 test -z "$as_dir" && as_dir
=.
10947 for ac_exec_ext
in '' $ac_executable_extensions; do
10948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10949 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10960 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
10961 if test -n "$OCAMLLEXDOTOPT"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
10963 $as_echo "$OCAMLLEXDOTOPT" >&6; }
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10966 $as_echo "no" >&6; }
10971 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
10972 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
10973 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
10974 set dummy ocamllex.opt
; ac_word
=$2
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10976 $as_echo_n "checking for $ac_word... " >&6; }
10977 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
10978 $as_echo_n "(cached) " >&6
10980 case $ac_pt_OCAMLLEXDOTOPT in
10982 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
10985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10986 for as_dir
in $PATH
10989 test -z "$as_dir" && as_dir
=.
10990 for ac_exec_ext
in '' $ac_executable_extensions; do
10991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10992 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
10993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11003 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
11004 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
11006 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11009 $as_echo "no" >&6; }
11012 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
11013 OCAMLLEXDOTOPT
="no"
11015 case $cross_compiling:$ac_tool_warned in
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11019 ac_tool_warned
=yes ;;
11021 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
11024 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
11027 if test "$OCAMLLEXDOTOPT" != "no"; then
11028 OCAMLLEX
=$OCAMLLEXDOTOPT
11034 elif test "x$OCAMLPROF" = xocamlyacc
-a "xOCAMLPROF" = xOCAMLYACC
; then :
11035 if test -n "$ac_tool_prefix"; then
11036 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
11037 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11039 $as_echo_n "checking for $ac_word... " >&6; }
11040 if ${ac_cv_path_OCAMLYACC+:} false
; then :
11041 $as_echo_n "(cached) " >&6
11045 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
11048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11049 for as_dir
in $PATH
11052 test -z "$as_dir" && as_dir
=.
11053 for ac_exec_ext
in '' $ac_executable_extensions; do
11054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11055 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
11056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11066 OCAMLYACC
=$ac_cv_path_OCAMLYACC
11067 if test -n "$OCAMLYACC"; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
11069 $as_echo "$OCAMLYACC" >&6; }
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11072 $as_echo "no" >&6; }
11077 if test -z "$ac_cv_path_OCAMLYACC"; then
11078 ac_pt_OCAMLYACC
=$OCAMLYACC
11079 # Extract the first word of "ocamlyacc", so it can be a program name with args.
11080 set dummy ocamlyacc
; ac_word
=$2
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11082 $as_echo_n "checking for $ac_word... " >&6; }
11083 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
11084 $as_echo_n "(cached) " >&6
11086 case $ac_pt_OCAMLYACC in
11088 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
11091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11092 for as_dir
in $PATH
11095 test -z "$as_dir" && as_dir
=.
11096 for ac_exec_ext
in '' $ac_executable_extensions; do
11097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11098 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
11099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11109 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
11110 if test -n "$ac_pt_OCAMLYACC"; then
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
11112 $as_echo "$ac_pt_OCAMLYACC" >&6; }
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11115 $as_echo "no" >&6; }
11118 if test "x$ac_pt_OCAMLYACC" = x
; then
11121 case $cross_compiling:$ac_tool_warned in
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11125 ac_tool_warned
=yes ;;
11127 OCAMLYACC
=$ac_pt_OCAMLYACC
11130 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
11137 if test -n "$ac_tool_prefix"; then
11138 # Extract the first word of "${ac_tool_prefix}[$]OCAMLPROF", so it can be a program name with args.
11139 set dummy
${ac_tool_prefix}$OCAMLPROF; ac_word
=$2
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11141 $as_echo_n "checking for $ac_word... " >&6; }
11142 if ${ac_cv_path_OCAMLPROF+:} false
; then :
11143 $as_echo_n "(cached) " >&6
11147 ac_cv_path_OCAMLPROF
="$OCAMLPROF" # Let the user override the test with a path.
11150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11151 for as_dir
in $PATH
11154 test -z "$as_dir" && as_dir
=.
11155 for ac_exec_ext
in '' $ac_executable_extensions; do
11156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11157 ac_cv_path_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
11158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11168 OCAMLPROF
=$ac_cv_path_OCAMLPROF
11169 if test -n "$OCAMLPROF"; then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLPROF" >&5
11171 $as_echo "$OCAMLPROF" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174 $as_echo "no" >&6; }
11179 if test -z "$ac_cv_path_OCAMLPROF"; then
11180 ac_pt_OCAMLPROF
=$OCAMLPROF
11181 # Extract the first word of "[$]OCAMLPROF", so it can be a program name with args.
11182 set dummy
$OCAMLPROF; ac_word
=$2
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11184 $as_echo_n "checking for $ac_word... " >&6; }
11185 if ${ac_cv_path_ac_pt_OCAMLPROF+:} false
; then :
11186 $as_echo_n "(cached) " >&6
11188 case $ac_pt_OCAMLPROF in
11190 ac_cv_path_ac_pt_OCAMLPROF
="$ac_pt_OCAMLPROF" # Let the user override the test with a path.
11193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11194 for as_dir
in $PATH
11197 test -z "$as_dir" && as_dir
=.
11198 for ac_exec_ext
in '' $ac_executable_extensions; do
11199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11200 ac_cv_path_ac_pt_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
11201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11211 ac_pt_OCAMLPROF
=$ac_cv_path_ac_pt_OCAMLPROF
11212 if test -n "$ac_pt_OCAMLPROF"; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLPROF" >&5
11214 $as_echo "$ac_pt_OCAMLPROF" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11217 $as_echo "no" >&6; }
11220 if test "x$ac_pt_OCAMLPROF" = x
; then
11223 case $cross_compiling:$ac_tool_warned in
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11227 ac_tool_warned
=yes ;;
11229 OCAMLPROF
=$ac_pt_OCAMLPROF
11232 OCAMLPROF
="$ac_cv_path_OCAMLPROF"
11241 if test -z "$OCAMLPROF" -o "x$OCAMLPROF" = xno
; then :
11242 if test "x$with_OCAMLPROF" = xyes
; then :
11243 as_fn_error $?
"--with=ocamlprof is given explicitly but not found" "$LINENO" 5
11247 if test -n ""; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: ocamlprof not found. Trying substitute ." >&5
11249 $as_echo "$as_me: ocamlprof not found. Trying substitute ." >&6;}
11252 if test "xocamlprof" = xpkg-config
-a "xOCAMLPROF" = xPKG_CONFIG
; then :
11260 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11261 if test -n "$ac_tool_prefix"; then
11262 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11263 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11265 $as_echo_n "checking for $ac_word... " >&6; }
11266 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
11267 $as_echo_n "(cached) " >&6
11269 case $PKG_CONFIG in
11271 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11275 for as_dir
in $PATH
11278 test -z "$as_dir" && as_dir
=.
11279 for ac_exec_ext
in '' $ac_executable_extensions; do
11280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11281 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11292 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11293 if test -n "$PKG_CONFIG"; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11295 $as_echo "$PKG_CONFIG" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11298 $as_echo "no" >&6; }
11303 if test -z "$ac_cv_path_PKG_CONFIG"; then
11304 ac_pt_PKG_CONFIG
=$PKG_CONFIG
11305 # Extract the first word of "pkg-config", so it can be a program name with args.
11306 set dummy pkg-config
; ac_word
=$2
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11308 $as_echo_n "checking for $ac_word... " >&6; }
11309 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
11310 $as_echo_n "(cached) " >&6
11312 case $ac_pt_PKG_CONFIG in
11314 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11318 for as_dir
in $PATH
11321 test -z "$as_dir" && as_dir
=.
11322 for ac_exec_ext
in '' $ac_executable_extensions; do
11323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11324 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11335 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
11336 if test -n "$ac_pt_PKG_CONFIG"; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11338 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11341 $as_echo "no" >&6; }
11344 if test "x$ac_pt_PKG_CONFIG" = x
; then
11347 case $cross_compiling:$ac_tool_warned in
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11351 ac_tool_warned
=yes ;;
11353 PKG_CONFIG
=$ac_pt_PKG_CONFIG
11356 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11360 if test -n "$PKG_CONFIG"; then
11361 _pkg_min_version
=0.9.0
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11363 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11364 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11366 $as_echo "yes" >&6; }
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11369 $as_echo "no" >&6; }
11374 elif test "xocamlprof" = xocamllex
-a "xOCAMLPROF" = xOCAMLLEX
; then :
11375 # checking for ocamllex
11376 if test -n "$ac_tool_prefix"; then
11377 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
11378 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11380 $as_echo_n "checking for $ac_word... " >&6; }
11381 if ${ac_cv_path_OCAMLLEX+:} false
; then :
11382 $as_echo_n "(cached) " >&6
11386 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
11389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11390 for as_dir
in $PATH
11393 test -z "$as_dir" && as_dir
=.
11394 for ac_exec_ext
in '' $ac_executable_extensions; do
11395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11396 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
11397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11407 OCAMLLEX
=$ac_cv_path_OCAMLLEX
11408 if test -n "$OCAMLLEX"; then
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
11410 $as_echo "$OCAMLLEX" >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11413 $as_echo "no" >&6; }
11418 if test -z "$ac_cv_path_OCAMLLEX"; then
11419 ac_pt_OCAMLLEX
=$OCAMLLEX
11420 # Extract the first word of "ocamllex", so it can be a program name with args.
11421 set dummy ocamllex
; ac_word
=$2
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11423 $as_echo_n "checking for $ac_word... " >&6; }
11424 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 case $ac_pt_OCAMLLEX in
11429 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
11432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11433 for as_dir
in $PATH
11436 test -z "$as_dir" && as_dir
=.
11437 for ac_exec_ext
in '' $ac_executable_extensions; do
11438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11439 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
11440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11450 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
11451 if test -n "$ac_pt_OCAMLLEX"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
11453 $as_echo "$ac_pt_OCAMLLEX" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11456 $as_echo "no" >&6; }
11459 if test "x$ac_pt_OCAMLLEX" = x
; then
11462 case $cross_compiling:$ac_tool_warned in
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11466 ac_tool_warned
=yes ;;
11468 OCAMLLEX
=$ac_pt_OCAMLLEX
11471 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
11474 if test "$OCAMLLEX" != "no"; then
11475 if test -n "$ac_tool_prefix"; then
11476 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
11477 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11479 $as_echo_n "checking for $ac_word... " >&6; }
11480 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
11481 $as_echo_n "(cached) " >&6
11483 case $OCAMLLEXDOTOPT in
11485 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
11488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11489 for as_dir
in $PATH
11492 test -z "$as_dir" && as_dir
=.
11493 for ac_exec_ext
in '' $ac_executable_extensions; do
11494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11495 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
11496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11506 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
11507 if test -n "$OCAMLLEXDOTOPT"; then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
11509 $as_echo "$OCAMLLEXDOTOPT" >&6; }
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11512 $as_echo "no" >&6; }
11517 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
11518 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
11519 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
11520 set dummy ocamllex.opt
; ac_word
=$2
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11522 $as_echo_n "checking for $ac_word... " >&6; }
11523 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
11524 $as_echo_n "(cached) " >&6
11526 case $ac_pt_OCAMLLEXDOTOPT in
11528 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
11531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11532 for as_dir
in $PATH
11535 test -z "$as_dir" && as_dir
=.
11536 for ac_exec_ext
in '' $ac_executable_extensions; do
11537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11538 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
11539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11549 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
11550 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
11552 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11555 $as_echo "no" >&6; }
11558 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
11559 OCAMLLEXDOTOPT
="no"
11561 case $cross_compiling:$ac_tool_warned in
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11565 ac_tool_warned
=yes ;;
11567 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
11570 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
11573 if test "$OCAMLLEXDOTOPT" != "no"; then
11574 OCAMLLEX
=$OCAMLLEXDOTOPT
11580 elif test "xocamlprof" = xocamlyacc
-a "xOCAMLPROF" = xOCAMLYACC
; then :
11581 if test -n "$ac_tool_prefix"; then
11582 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
11583 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11585 $as_echo_n "checking for $ac_word... " >&6; }
11586 if ${ac_cv_path_OCAMLYACC+:} false
; then :
11587 $as_echo_n "(cached) " >&6
11591 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
11594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11595 for as_dir
in $PATH
11598 test -z "$as_dir" && as_dir
=.
11599 for ac_exec_ext
in '' $ac_executable_extensions; do
11600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11601 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
11602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11612 OCAMLYACC
=$ac_cv_path_OCAMLYACC
11613 if test -n "$OCAMLYACC"; then
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
11615 $as_echo "$OCAMLYACC" >&6; }
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11618 $as_echo "no" >&6; }
11623 if test -z "$ac_cv_path_OCAMLYACC"; then
11624 ac_pt_OCAMLYACC
=$OCAMLYACC
11625 # Extract the first word of "ocamlyacc", so it can be a program name with args.
11626 set dummy ocamlyacc
; ac_word
=$2
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11628 $as_echo_n "checking for $ac_word... " >&6; }
11629 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
11630 $as_echo_n "(cached) " >&6
11632 case $ac_pt_OCAMLYACC in
11634 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
11637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11638 for as_dir
in $PATH
11641 test -z "$as_dir" && as_dir
=.
11642 for ac_exec_ext
in '' $ac_executable_extensions; do
11643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11644 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
11656 if test -n "$ac_pt_OCAMLYACC"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
11658 $as_echo "$ac_pt_OCAMLYACC" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11664 if test "x$ac_pt_OCAMLYACC" = x
; then
11667 case $cross_compiling:$ac_tool_warned in
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11671 ac_tool_warned
=yes ;;
11673 OCAMLYACC
=$ac_pt_OCAMLYACC
11676 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
11683 if test -n "$ac_tool_prefix"; then
11684 # Extract the first word of "${ac_tool_prefix}ocamlprof", so it can be a program name with args.
11685 set dummy
${ac_tool_prefix}ocamlprof
; ac_word
=$2
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11687 $as_echo_n "checking for $ac_word... " >&6; }
11688 if ${ac_cv_path_OCAMLPROF+:} false
; then :
11689 $as_echo_n "(cached) " >&6
11693 ac_cv_path_OCAMLPROF
="$OCAMLPROF" # Let the user override the test with a path.
11696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11697 for as_dir
in $PATH
11700 test -z "$as_dir" && as_dir
=.
11701 for ac_exec_ext
in '' $ac_executable_extensions; do
11702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11703 ac_cv_path_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
11704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11714 OCAMLPROF
=$ac_cv_path_OCAMLPROF
11715 if test -n "$OCAMLPROF"; then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLPROF" >&5
11717 $as_echo "$OCAMLPROF" >&6; }
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11720 $as_echo "no" >&6; }
11725 if test -z "$ac_cv_path_OCAMLPROF"; then
11726 ac_pt_OCAMLPROF
=$OCAMLPROF
11727 # Extract the first word of "ocamlprof", so it can be a program name with args.
11728 set dummy ocamlprof
; ac_word
=$2
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11730 $as_echo_n "checking for $ac_word... " >&6; }
11731 if ${ac_cv_path_ac_pt_OCAMLPROF+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 case $ac_pt_OCAMLPROF in
11736 ac_cv_path_ac_pt_OCAMLPROF
="$ac_pt_OCAMLPROF" # Let the user override the test with a path.
11739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11740 for as_dir
in $PATH
11743 test -z "$as_dir" && as_dir
=.
11744 for ac_exec_ext
in '' $ac_executable_extensions; do
11745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11746 ac_cv_path_ac_pt_OCAMLPROF
="$as_dir/$ac_word$ac_exec_ext"
11747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11757 ac_pt_OCAMLPROF
=$ac_cv_path_ac_pt_OCAMLPROF
11758 if test -n "$ac_pt_OCAMLPROF"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLPROF" >&5
11760 $as_echo "$ac_pt_OCAMLPROF" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 $as_echo "no" >&6; }
11766 if test "x$ac_pt_OCAMLPROF" = x
; then
11769 case $cross_compiling:$ac_tool_warned in
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11773 ac_tool_warned
=yes ;;
11775 OCAMLPROF
=$ac_pt_OCAMLPROF
11778 OCAMLPROF
="$ac_cv_path_OCAMLPROF"
11784 SUBSTITUTED_OCAMLPROF
=yes
11791 if test -z "$OCAMLPROF"; then :
11797 if test "x$OCAMLLEX" = xno
; then :
11798 as_fn_error $?
"the OCaml Lexer needs to be installed (the ocamllex command). It should be part of your OCaml distribution." "$LINENO" 5
11802 if test "x$OCAMLYACC" = xno
; then :
11803 as_fn_error $?
"The OCaml parser generated needs to be installed (the ocamlyacc command). It should be part of your OCaml distribution." "$LINENO" 5
11807 if test "x$OCAMLFIND" = xno
; then :
11808 as_fn_error $?
"A suitable OCaml findlib (the ocamlfind command) could not be found." "$LINENO" 5
11814 # Check whether --with-runtime-ocamlfind was given.
11815 if test "${with_runtime_ocamlfind+set}" = set; then :
11816 withval
=$with_runtime_ocamlfind;
11820 if test -z "$RUNTIME_OCAMLFIND_CMD"; then :
11821 if test "x$with_runtime_ocamlfind" = xno
; then :
11822 RUNTIME_OCAMLFIND_CMD
=$OCAMLFIND
11825 elif test -n "$with_runtime_ocamlfind" -a "x$with_runtime_ocamlfind" != xyes
; then :
11826 RUNTIME_OCAMLFIND_CMD
="$with_runtime_ocamlfind"
11830 RUNTIME_OCAMLFIND_CMD
="ocamlfind"
11839 # Check whether --with-runtime-ocamlc was given.
11840 if test "${with_runtime_ocamlc+set}" = set; then :
11841 withval
=$with_runtime_ocamlc;
11845 if test -z "$RUNTIME_OCAMLC_CMD"; then :
11846 if test "x$with_runtime_ocamlc" = xno
; then :
11847 RUNTIME_OCAMLC_CMD
=$OCAMLC
11850 elif test -n "$with_runtime_ocamlc" -a "x$with_runtime_ocamlc" != xyes
; then :
11851 RUNTIME_OCAMLC_CMD
="$with_runtime_ocamlc"
11855 RUNTIME_OCAMLC_CMD
="ocamlc"
11864 # Check whether --with-runtime-ocamlopt was given.
11865 if test "${with_runtime_ocamlopt+set}" = set; then :
11866 withval
=$with_runtime_ocamlopt;
11870 if test -z "$RUNTIME_OCAMLOPT_CMD"; then :
11871 if test "x$with_runtime_ocamlopt" = xno
; then :
11872 RUNTIME_OCAMLOPT_CMD
=$OCAMLOPT
11875 elif test -n "$with_runtime_ocamlopt" -a "x$with_runtime_ocamlopt" != xyes
; then :
11876 RUNTIME_OCAMLOPT_CMD
="$with_runtime_ocamlopt"
11880 RUNTIME_OCAMLOPT_CMD
="ocamlopt"
11889 # Check whether --with-runtime-ocamldep was given.
11890 if test "${with_runtime_ocamldep+set}" = set; then :
11891 withval
=$with_runtime_ocamldep;
11895 if test -z "$RUNTIME_OCAMLDEP_CMD"; then :
11896 if test "x$with_runtime_ocamldep" = xno
; then :
11897 RUNTIME_OCAMLDEP_CMD
=$OCAMLDEP
11900 elif test -n "$with_runtime_ocamldep" -a "x$with_runtime_ocamldep" != xyes
; then :
11901 RUNTIME_OCAMLDEP_CMD
="$with_runtime_ocamldep"
11905 RUNTIME_OCAMLDEP_CMD
="ocamldep"
11914 # Check whether --with-runtime-camlp4 was given.
11915 if test "${with_runtime_camlp4+set}" = set; then :
11916 withval
=$with_runtime_camlp4;
11920 if test -z "$RUNTIME_CAMLP4_CMD"; then :
11921 if test "x$with_runtime_camlp4" = xno
; then :
11922 RUNTIME_CAMLP4_CMD
=$CAMLP4
11925 elif test -n "$with_runtime_camlp4" -a "x$with_runtime_camlp4" != xyes
; then :
11926 RUNTIME_CAMLP4_CMD
="$with_runtime_camlp4"
11930 RUNTIME_CAMLP4_CMD
="camlp4"
11939 # Check whether --with-runtime-camlp4o was given.
11940 if test "${with_runtime_camlp4o+set}" = set; then :
11941 withval
=$with_runtime_camlp4o;
11945 if test -z "$RUNTIME_CAMLP4O_CMD"; then :
11946 if test "x$with_runtime_camlp4o" = xno
; then :
11947 RUNTIME_CAMLP4O_CMD
=$CAMLP4O
11950 elif test -n "$with_runtime_camlp4o" -a "x$with_runtime_camlp4o" != xyes
; then :
11951 RUNTIME_CAMLP4O_CMD
="$with_runtime_camlp4o"
11955 RUNTIME_CAMLP4O_CMD
="camlp4o"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: verifying basic ocaml modules" >&5
11967 $as_echo "$as_me: verifying basic ocaml modules" >&6;}
11970 COCCI_OCAML_EXTERNAL
="$COCCI_SRCDIR/bundles"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: coccinelle may use external ocaml libraries in $COCCI_OCAML_EXTERNAL" >&5
11973 $as_echo "$as_me: coccinelle may use external ocaml libraries in $COCCI_OCAML_EXTERNAL" >&6;}
11976 FEATURE_menhirLib
=0
11978 LOCALLIB_menhirLib
=0
11984 MODULESOPT_menhirLib
=
11997 MODULESOPT_dynlink
=
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: the following OCaml packages should be provided by your ocaml installation" >&5
12043 $as_echo "$as_me: the following OCaml packages should be provided by your ocaml installation" >&6;}
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package unix" >&5
12046 $as_echo_n "checking for OCaml findlib package unix... " >&6; }
12051 for pkg
in unix
; do
12052 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12054 $as_echo "found" >&6; }
12055 OCAML_PKG_unix
=$pkg
12060 if test "$found" = "no" ; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12062 $as_echo "not found" >&6; }
12068 if test "x$OCAML_PKG_unix" != xno
; then :
12069 PATH_unix
=`$OCAMLFIND query unix 2>/dev/null`
12074 if test "x$OCAML_PKG_unix" = xno
; then :
12075 as_fn_error $?
"package unix is required. It should be part of your ocaml installation." "$LINENO" 5
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package bigarray" >&5
12081 $as_echo_n "checking for OCaml findlib package bigarray... " >&6; }
12086 for pkg
in bigarray
; do
12087 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12089 $as_echo "found" >&6; }
12090 OCAML_PKG_bigarray
=$pkg
12095 if test "$found" = "no" ; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12097 $as_echo "not found" >&6; }
12098 OCAML_PKG_bigarray
=no
12103 if test "x$OCAML_PKG_bigarray" != xno
; then :
12104 PATH_bigarray
=`$OCAMLFIND query bigarray 2>/dev/null`
12109 if test "x$OCAML_PKG_bigarray" = xno
; then :
12110 as_fn_error $?
"package bigarray is required. It should be part of your ocaml installation." "$LINENO" 5
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package num" >&5
12116 $as_echo_n "checking for OCaml findlib package num... " >&6; }
12121 for pkg
in num
; do
12122 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12124 $as_echo "found" >&6; }
12130 if test "$found" = "no" ; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12132 $as_echo "not found" >&6; }
12138 if test "x$OCAML_PKG_num" != xno
; then :
12139 PATH_num
=`$OCAMLFIND query num 2>/dev/null`
12144 if test "x$OCAML_PKG_num" = xno
; then :
12145 as_fn_error $?
"package num is required. It should be part of your ocaml installation." "$LINENO" 5
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package str" >&5
12151 $as_echo_n "checking for OCaml findlib package str... " >&6; }
12156 for pkg
in str
; do
12157 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12159 $as_echo "found" >&6; }
12165 if test "$found" = "no" ; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12167 $as_echo "not found" >&6; }
12173 if test "x$OCAML_PKG_str" != xno
; then :
12174 PATH_str
=`$OCAMLFIND query str 2>/dev/null`
12179 if test "x$OCAML_PKG_str" = xno
; then :
12180 as_fn_error $?
"package str is required. It should be part of your ocaml installation." "$LINENO" 5
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package dynlink" >&5
12186 $as_echo "$as_me: configuring package dynlink" >&6;}
12187 # Check whether --enable-dynlink was given.
12188 if test "${enable_dynlink+set}" = set; then :
12189 enableval
=$enable_dynlink;
12193 if test "x$enable_dynlink" != xno
; then :
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package dynlink" >&5
12196 $as_echo_n "checking for OCaml findlib package dynlink... " >&6; }
12201 for pkg
in dynlink
; do
12202 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12204 $as_echo "found" >&6; }
12205 OCAML_PKG_dynlink
=$pkg
12210 if test "$found" = "no" ; then
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12212 $as_echo "not found" >&6; }
12213 OCAML_PKG_dynlink
=no
12218 if test "x$OCAML_PKG_dynlink" != xno
; then :
12219 PATH_dynlink
=`$OCAMLFIND query dynlink 2>/dev/null`
12224 GLOBAL_dynlink
=$OCAML_PKG_dynlink
12227 if test "x$GLOBAL_dynlink" != xno
; then :
12232 if test "x$enable_dynlink" = xyes
; then :
12233 as_fn_error $?
"OCaml package dynlink is not available but requested explicitly" "$LINENO" 5
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package dynlink is not available" >&5
12237 $as_echo "$as_me: OCaml package dynlink is not available" >&6;}
12245 if test "x$enable_dynlink" = xno
; then :
12246 { pkgdir
=; unset pkgdir
;}
12247 pkgdir
="$COCCI_OCAML_EXTERNAL/dynlink/"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of dynlink" >&5
12249 $as_echo_n "checking for a bundled substitute of dynlink... " >&6; }
12250 if test -d "$pkgdir"; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12252 $as_echo "yes" >&6; }
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for dynlink in $pkgdir" >&5
12254 $as_echo "$as_me: using bundled substitute for dynlink in $pkgdir" >&6;}
12255 enable_dynlink
=local
12257 PATH_dynlink
="$pkgdir"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
12262 $as_echo "not available" >&6; }
12267 if test "x$enable_dynlink" != xno
; then :
12270 FLAGS_dynlink
='$(FLAGS_dynlink)'
12272 OPTFLAGS_dynlink
='$(OPTFLAGS_dynlink)'
12275 if test "x$enable_dynlink" = xlocal
; then :
12278 MODULES_dynlink
='$(LOCAL_dynlink)'
12280 MODULESOPT_dynlink
='$(LOCALOPT_dynlink)'
12283 if test -f "$PATH_dynlink/Makefile"; then :
12284 MAKE_dynlink
=$PATH_dynlink
12294 MODULES_dynlink
='$(GLOBAL_dynlink)'
12296 MODULESOPT_dynlink
='$(GLOBALOPT_dynlink)'
12303 if test "x$enable_dynlink" = xno
; then :
12304 as_fn_error $?
"OCaml package dynlink is required. Please make sure it is available." "$LINENO" 5
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package camlp4" >&5
12309 $as_echo "$as_me: configuring package camlp4" >&6;}
12310 # Check whether --enable-camlp4 was given.
12311 if test "${enable_camlp4+set}" = set; then :
12312 enableval
=$enable_camlp4;
12316 if test "x$enable_camlp4" != xno
; then :
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package camlp4" >&5
12319 $as_echo_n "checking for OCaml findlib package camlp4... " >&6; }
12324 for pkg
in camlp4
; do
12325 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12327 $as_echo "found" >&6; }
12328 OCAML_PKG_camlp4
=$pkg
12333 if test "$found" = "no" ; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12335 $as_echo "not found" >&6; }
12336 OCAML_PKG_camlp4
=no
12341 if test "x$OCAML_PKG_camlp4" != xno
; then :
12342 PATH_camlp4
=`$OCAMLFIND query camlp4 2>/dev/null`
12347 GLOBAL_camlp4
=$OCAML_PKG_camlp4
12350 if test "x$GLOBAL_camlp4" != xno
; then :
12355 if test "x$enable_camlp4" = xyes
; then :
12356 as_fn_error $?
"OCaml package camlp4 is not available but requested explicitly" "$LINENO" 5
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package camlp4 is not available" >&5
12360 $as_echo "$as_me: OCaml package camlp4 is not available" >&6;}
12368 if test "x$enable_camlp4" = xno
; then :
12369 { pkgdir
=; unset pkgdir
;}
12370 pkgdir
="$COCCI_OCAML_EXTERNAL/camlp4/"
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of camlp4" >&5
12372 $as_echo_n "checking for a bundled substitute of camlp4... " >&6; }
12373 if test -d "$pkgdir"; then :
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12375 $as_echo "yes" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for camlp4 in $pkgdir" >&5
12377 $as_echo "$as_me: using bundled substitute for camlp4 in $pkgdir" >&6;}
12378 enable_camlp4
=local
12380 PATH_camlp4
="$pkgdir"
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
12385 $as_echo "not available" >&6; }
12390 if test "x$enable_camlp4" != xno
; then :
12393 FLAGS_camlp4
='$(FLAGS_camlp4)'
12395 OPTFLAGS_camlp4
='$(OPTFLAGS_camlp4)'
12398 if test "x$enable_camlp4" = xlocal
; then :
12401 MODULES_camlp4
='$(LOCAL_camlp4)'
12403 MODULESOPT_camlp4
='$(LOCALOPT_camlp4)'
12406 if test -f "$PATH_camlp4/Makefile"; then :
12407 MAKE_camlp4
=$PATH_camlp4
12417 MODULES_camlp4
='$(GLOBAL_camlp4)'
12419 MODULESOPT_camlp4
='$(GLOBALOPT_camlp4)'
12426 if test "x$enable_camlp4" = xno
; then :
12427 as_fn_error $?
"OCaml package camlp4 is required. Please make sure it is available." "$LINENO" 5
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package menhirLib" >&5
12432 $as_echo "$as_me: configuring package menhirLib" >&6;}
12433 # Check whether --enable-menhirLib was given.
12434 if test "${enable_menhirLib+set}" = set; then :
12435 enableval
=$enable_menhirLib;
12439 if test "x$enable_menhirLib" != xno
; then :
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package menhirLib" >&5
12442 $as_echo_n "checking for OCaml findlib package menhirLib... " >&6; }
12447 for pkg
in menhirLib
; do
12448 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
12450 $as_echo "found" >&6; }
12451 OCAML_PKG_menhirLib
=$pkg
12456 if test "$found" = "no" ; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12458 $as_echo "not found" >&6; }
12459 OCAML_PKG_menhirLib
=no
12464 if test "x$OCAML_PKG_menhirLib" != xno
; then :
12465 PATH_menhirLib
=`$OCAMLFIND query menhirLib 2>/dev/null`
12470 GLOBAL_menhirLib
=$OCAML_PKG_menhirLib
12473 if test "x$GLOBAL_menhirLib" != xno
; then :
12474 enable_menhirLib
=yes
12478 if test "x$enable_menhirLib" = xyes
; then :
12479 as_fn_error $?
"OCaml package menhirLib is not available but requested explicitly" "$LINENO" 5
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package menhirLib is not available" >&5
12483 $as_echo "$as_me: OCaml package menhirLib is not available" >&6;}
12484 enable_menhirLib
=no
12491 if test "x$enable_menhirLib" = xno
; then :
12492 { pkgdir
=; unset pkgdir
;}
12493 pkgdir
="$COCCI_OCAML_EXTERNAL/menhirLib/"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of menhirLib" >&5
12495 $as_echo_n "checking for a bundled substitute of menhirLib... " >&6; }
12496 if test -d "$pkgdir"; then :
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12498 $as_echo "yes" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for menhirLib in $pkgdir" >&5
12500 $as_echo "$as_me: using bundled substitute for menhirLib in $pkgdir" >&6;}
12501 enable_menhirLib
=local
12503 PATH_menhirLib
="$pkgdir"
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
12508 $as_echo "not available" >&6; }
12513 if test "x$enable_menhirLib" != xno
; then :
12514 FEATURE_menhirLib
=1
12516 FLAGS_menhirLib
='$(FLAGS_menhirLib)'
12518 OPTFLAGS_menhirLib
='$(OPTFLAGS_menhirLib)'
12521 if test "x$enable_menhirLib" = xlocal
; then :
12522 LOCALLIB_menhirLib
=1
12524 MODULES_menhirLib
='$(LOCAL_menhirLib)'
12526 MODULESOPT_menhirLib
='$(LOCALOPT_menhirLib)'
12529 if test -f "$PATH_menhirLib/Makefile"; then :
12530 MAKE_menhirLib
=$PATH_menhirLib
12540 MODULES_menhirLib
='$(GLOBAL_menhirLib)'
12542 MODULESOPT_menhirLib
='$(GLOBALOPT_menhirLib)'
12549 if test "x$enable_menhirLib" = xno
; then :
12550 as_fn_error $?
"OCaml package menhirLib is required. Please make sure it is available." "$LINENO" 5
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: verifying optional features" >&5
12560 $as_echo "$as_me: verifying optional features" >&6;}
12562 if test "x$OCAML_PKG_dynlink" != xno
-a -f "$PATH_dynlink/dynlink.cmxa"; then :
12563 OPTIMIZED_dynlink
=yes
12567 OPTIMIZED_dynlink
=no
12575 # Check whether --with-menhir was given.
12576 if test "${with_menhir+set}" = set; then :
12577 withval
=$with_menhir;
12580 with_MENHIR
="$with_menhir"
12582 if test -n "$with_MENHIR" -a "x$with_MENHIR" != xno
-a "x$with_MENHIR" != xyes
; then :
12583 MENHIR
="$with_MENHIR"
12592 if test "x$with_MENHIR" = xno
; then :
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: menhir is disabled explicitly" >&5
12594 $as_echo "$as_me: menhir is disabled explicitly" >&6;}
12599 if test "x$MENHIR" = xpkg-config
-a "xMENHIR" = xPKG_CONFIG
; then :
12607 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12608 if test -n "$ac_tool_prefix"; then
12609 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12610 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12612 $as_echo_n "checking for $ac_word... " >&6; }
12613 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
12614 $as_echo_n "(cached) " >&6
12616 case $PKG_CONFIG in
12618 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12622 for as_dir
in $PATH
12625 test -z "$as_dir" && as_dir
=.
12626 for ac_exec_ext
in '' $ac_executable_extensions; do
12627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12628 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12639 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12640 if test -n "$PKG_CONFIG"; then
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12642 $as_echo "$PKG_CONFIG" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645 $as_echo "no" >&6; }
12650 if test -z "$ac_cv_path_PKG_CONFIG"; then
12651 ac_pt_PKG_CONFIG
=$PKG_CONFIG
12652 # Extract the first word of "pkg-config", so it can be a program name with args.
12653 set dummy pkg-config
; ac_word
=$2
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12655 $as_echo_n "checking for $ac_word... " >&6; }
12656 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
12657 $as_echo_n "(cached) " >&6
12659 case $ac_pt_PKG_CONFIG in
12661 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12665 for as_dir
in $PATH
12668 test -z "$as_dir" && as_dir
=.
12669 for ac_exec_ext
in '' $ac_executable_extensions; do
12670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12671 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12682 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
12683 if test -n "$ac_pt_PKG_CONFIG"; then
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12685 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12688 $as_echo "no" >&6; }
12691 if test "x$ac_pt_PKG_CONFIG" = x
; then
12694 case $cross_compiling:$ac_tool_warned in
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12698 ac_tool_warned
=yes ;;
12700 PKG_CONFIG
=$ac_pt_PKG_CONFIG
12703 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12707 if test -n "$PKG_CONFIG"; then
12708 _pkg_min_version
=0.9.0
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12710 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12711 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12713 $as_echo "yes" >&6; }
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12716 $as_echo "no" >&6; }
12721 elif test "x$MENHIR" = xocamllex
-a "xMENHIR" = xOCAMLLEX
; then :
12722 # checking for ocamllex
12723 if test -n "$ac_tool_prefix"; then
12724 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
12725 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_path_OCAMLLEX+:} false
; then :
12729 $as_echo_n "(cached) " >&6
12733 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
12736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12737 for as_dir
in $PATH
12740 test -z "$as_dir" && as_dir
=.
12741 for ac_exec_ext
in '' $ac_executable_extensions; do
12742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754 OCAMLLEX
=$ac_cv_path_OCAMLLEX
12755 if test -n "$OCAMLLEX"; then
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
12757 $as_echo "$OCAMLLEX" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12760 $as_echo "no" >&6; }
12765 if test -z "$ac_cv_path_OCAMLLEX"; then
12766 ac_pt_OCAMLLEX
=$OCAMLLEX
12767 # Extract the first word of "ocamllex", so it can be a program name with args.
12768 set dummy ocamllex
; ac_word
=$2
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12770 $as_echo_n "checking for $ac_word... " >&6; }
12771 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
12772 $as_echo_n "(cached) " >&6
12774 case $ac_pt_OCAMLLEX in
12776 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
12779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12780 for as_dir
in $PATH
12783 test -z "$as_dir" && as_dir
=.
12784 for ac_exec_ext
in '' $ac_executable_extensions; do
12785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12786 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
12787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
12798 if test -n "$ac_pt_OCAMLLEX"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
12800 $as_echo "$ac_pt_OCAMLLEX" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12806 if test "x$ac_pt_OCAMLLEX" = x
; then
12809 case $cross_compiling:$ac_tool_warned in
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12813 ac_tool_warned
=yes ;;
12815 OCAMLLEX
=$ac_pt_OCAMLLEX
12818 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
12821 if test "$OCAMLLEX" != "no"; then
12822 if test -n "$ac_tool_prefix"; then
12823 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
12824 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12826 $as_echo_n "checking for $ac_word... " >&6; }
12827 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
12828 $as_echo_n "(cached) " >&6
12830 case $OCAMLLEXDOTOPT in
12832 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
12835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12836 for as_dir
in $PATH
12839 test -z "$as_dir" && as_dir
=.
12840 for ac_exec_ext
in '' $ac_executable_extensions; do
12841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12842 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
12843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
12854 if test -n "$OCAMLLEXDOTOPT"; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
12856 $as_echo "$OCAMLLEXDOTOPT" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12864 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
12865 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
12866 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
12867 set dummy ocamllex.opt
; ac_word
=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12869 $as_echo_n "checking for $ac_word... " >&6; }
12870 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
12871 $as_echo_n "(cached) " >&6
12873 case $ac_pt_OCAMLLEXDOTOPT in
12875 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
12878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12879 for as_dir
in $PATH
12882 test -z "$as_dir" && as_dir
=.
12883 for ac_exec_ext
in '' $ac_executable_extensions; do
12884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12885 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
12886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12896 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
12897 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
12899 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12905 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
12906 OCAMLLEXDOTOPT
="no"
12908 case $cross_compiling:$ac_tool_warned in
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12912 ac_tool_warned
=yes ;;
12914 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
12917 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
12920 if test "$OCAMLLEXDOTOPT" != "no"; then
12921 OCAMLLEX
=$OCAMLLEXDOTOPT
12927 elif test "x$MENHIR" = xocamlyacc
-a "xMENHIR" = xOCAMLYACC
; then :
12928 if test -n "$ac_tool_prefix"; then
12929 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
12930 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12932 $as_echo_n "checking for $ac_word... " >&6; }
12933 if ${ac_cv_path_OCAMLYACC+:} false
; then :
12934 $as_echo_n "(cached) " >&6
12938 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
12941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12942 for as_dir
in $PATH
12945 test -z "$as_dir" && as_dir
=.
12946 for ac_exec_ext
in '' $ac_executable_extensions; do
12947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12948 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
12949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 OCAMLYACC
=$ac_cv_path_OCAMLYACC
12960 if test -n "$OCAMLYACC"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
12962 $as_echo "$OCAMLYACC" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12970 if test -z "$ac_cv_path_OCAMLYACC"; then
12971 ac_pt_OCAMLYACC
=$OCAMLYACC
12972 # Extract the first word of "ocamlyacc", so it can be a program name with args.
12973 set dummy ocamlyacc
; ac_word
=$2
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12975 $as_echo_n "checking for $ac_word... " >&6; }
12976 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
12977 $as_echo_n "(cached) " >&6
12979 case $ac_pt_OCAMLYACC in
12981 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
12984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12985 for as_dir
in $PATH
12988 test -z "$as_dir" && as_dir
=.
12989 for ac_exec_ext
in '' $ac_executable_extensions; do
12990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12991 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
12992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13002 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
13003 if test -n "$ac_pt_OCAMLYACC"; then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
13005 $as_echo "$ac_pt_OCAMLYACC" >&6; }
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13008 $as_echo "no" >&6; }
13011 if test "x$ac_pt_OCAMLYACC" = x
; then
13014 case $cross_compiling:$ac_tool_warned in
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13018 ac_tool_warned
=yes ;;
13020 OCAMLYACC
=$ac_pt_OCAMLYACC
13023 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
13030 if test -n "$ac_tool_prefix"; then
13031 # Extract the first word of "${ac_tool_prefix}[$]MENHIR", so it can be a program name with args.
13032 set dummy
${ac_tool_prefix}$MENHIR; ac_word
=$2
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13034 $as_echo_n "checking for $ac_word... " >&6; }
13035 if ${ac_cv_path_MENHIR+:} false
; then :
13036 $as_echo_n "(cached) " >&6
13040 ac_cv_path_MENHIR
="$MENHIR" # Let the user override the test with a path.
13043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13044 for as_dir
in $PATH
13047 test -z "$as_dir" && as_dir
=.
13048 for ac_exec_ext
in '' $ac_executable_extensions; do
13049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13050 ac_cv_path_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13061 MENHIR
=$ac_cv_path_MENHIR
13062 if test -n "$MENHIR"; then
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MENHIR" >&5
13064 $as_echo "$MENHIR" >&6; }
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13067 $as_echo "no" >&6; }
13072 if test -z "$ac_cv_path_MENHIR"; then
13073 ac_pt_MENHIR
=$MENHIR
13074 # Extract the first word of "[$]MENHIR", so it can be a program name with args.
13075 set dummy
$MENHIR; ac_word
=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13077 $as_echo_n "checking for $ac_word... " >&6; }
13078 if ${ac_cv_path_ac_pt_MENHIR+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 case $ac_pt_MENHIR in
13083 ac_cv_path_ac_pt_MENHIR
="$ac_pt_MENHIR" # Let the user override the test with a path.
13086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13087 for as_dir
in $PATH
13090 test -z "$as_dir" && as_dir
=.
13091 for ac_exec_ext
in '' $ac_executable_extensions; do
13092 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13093 ac_cv_path_ac_pt_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
13094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13104 ac_pt_MENHIR
=$ac_cv_path_ac_pt_MENHIR
13105 if test -n "$ac_pt_MENHIR"; then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MENHIR" >&5
13107 $as_echo "$ac_pt_MENHIR" >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110 $as_echo "no" >&6; }
13113 if test "x$ac_pt_MENHIR" = x
; then
13116 case $cross_compiling:$ac_tool_warned in
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13120 ac_tool_warned
=yes ;;
13122 MENHIR
=$ac_pt_MENHIR
13125 MENHIR
="$ac_cv_path_MENHIR"
13134 if test -z "$MENHIR" -o "x$MENHIR" = xno
; then :
13135 if test "x$with_MENHIR" = xyes
; then :
13136 as_fn_error $?
"--with=menhir is given explicitly but not found" "$LINENO" 5
13140 if test -n "$COCCI_SRCDIR/setup/fake-menhir.sh menhir"; then :
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: menhir not found. Trying substitute $COCCI_SRCDIR/setup/fake-menhir.sh menhir." >&5
13142 $as_echo "$as_me: menhir not found. Trying substitute $COCCI_SRCDIR/setup/fake-menhir.sh menhir." >&6;}
13143 MENHIR
="$COCCI_SRCDIR/setup/fake-menhir.sh menhir"
13145 if test "xmenhir" = xpkg-config
-a "xMENHIR" = xPKG_CONFIG
; then :
13153 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13154 if test -n "$ac_tool_prefix"; then
13155 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13156 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13158 $as_echo_n "checking for $ac_word... " >&6; }
13159 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
13160 $as_echo_n "(cached) " >&6
13162 case $PKG_CONFIG in
13164 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13168 for as_dir
in $PATH
13171 test -z "$as_dir" && as_dir
=.
13172 for ac_exec_ext
in '' $ac_executable_extensions; do
13173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13174 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13185 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13186 if test -n "$PKG_CONFIG"; then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13188 $as_echo "$PKG_CONFIG" >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13191 $as_echo "no" >&6; }
13196 if test -z "$ac_cv_path_PKG_CONFIG"; then
13197 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13198 # Extract the first word of "pkg-config", so it can be a program name with args.
13199 set dummy pkg-config
; ac_word
=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13201 $as_echo_n "checking for $ac_word... " >&6; }
13202 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
13203 $as_echo_n "(cached) " >&6
13205 case $ac_pt_PKG_CONFIG in
13207 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13211 for as_dir
in $PATH
13214 test -z "$as_dir" && as_dir
=.
13215 for ac_exec_ext
in '' $ac_executable_extensions; do
13216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13217 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13228 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13229 if test -n "$ac_pt_PKG_CONFIG"; then
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13231 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13234 $as_echo "no" >&6; }
13237 if test "x$ac_pt_PKG_CONFIG" = x
; then
13240 case $cross_compiling:$ac_tool_warned in
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13244 ac_tool_warned
=yes ;;
13246 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13249 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13253 if test -n "$PKG_CONFIG"; then
13254 _pkg_min_version
=0.9.0
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13256 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13257 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13259 $as_echo "yes" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13267 elif test "xmenhir" = xocamllex
-a "xMENHIR" = xOCAMLLEX
; then :
13268 # checking for ocamllex
13269 if test -n "$ac_tool_prefix"; then
13270 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
13271 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13273 $as_echo_n "checking for $ac_word... " >&6; }
13274 if ${ac_cv_path_OCAMLLEX+:} false
; then :
13275 $as_echo_n "(cached) " >&6
13279 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
13282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13283 for as_dir
in $PATH
13286 test -z "$as_dir" && as_dir
=.
13287 for ac_exec_ext
in '' $ac_executable_extensions; do
13288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13289 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13300 OCAMLLEX
=$ac_cv_path_OCAMLLEX
13301 if test -n "$OCAMLLEX"; then
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
13303 $as_echo "$OCAMLLEX" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13306 $as_echo "no" >&6; }
13311 if test -z "$ac_cv_path_OCAMLLEX"; then
13312 ac_pt_OCAMLLEX
=$OCAMLLEX
13313 # Extract the first word of "ocamllex", so it can be a program name with args.
13314 set dummy ocamllex
; ac_word
=$2
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13316 $as_echo_n "checking for $ac_word... " >&6; }
13317 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
13318 $as_echo_n "(cached) " >&6
13320 case $ac_pt_OCAMLLEX in
13322 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
13325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13326 for as_dir
in $PATH
13329 test -z "$as_dir" && as_dir
=.
13330 for ac_exec_ext
in '' $ac_executable_extensions; do
13331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13332 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13343 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
13344 if test -n "$ac_pt_OCAMLLEX"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
13346 $as_echo "$ac_pt_OCAMLLEX" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13352 if test "x$ac_pt_OCAMLLEX" = x
; then
13355 case $cross_compiling:$ac_tool_warned in
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13359 ac_tool_warned
=yes ;;
13361 OCAMLLEX
=$ac_pt_OCAMLLEX
13364 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
13367 if test "$OCAMLLEX" != "no"; then
13368 if test -n "$ac_tool_prefix"; then
13369 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
13370 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13372 $as_echo_n "checking for $ac_word... " >&6; }
13373 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
13374 $as_echo_n "(cached) " >&6
13376 case $OCAMLLEXDOTOPT in
13378 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
13381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13382 for as_dir
in $PATH
13385 test -z "$as_dir" && as_dir
=.
13386 for ac_exec_ext
in '' $ac_executable_extensions; do
13387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13388 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
13389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13399 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
13400 if test -n "$OCAMLLEXDOTOPT"; then
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
13402 $as_echo "$OCAMLLEXDOTOPT" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13405 $as_echo "no" >&6; }
13410 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
13411 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
13412 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
13413 set dummy ocamllex.opt
; ac_word
=$2
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13415 $as_echo_n "checking for $ac_word... " >&6; }
13416 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
13417 $as_echo_n "(cached) " >&6
13419 case $ac_pt_OCAMLLEXDOTOPT in
13421 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
13424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13425 for as_dir
in $PATH
13428 test -z "$as_dir" && as_dir
=.
13429 for ac_exec_ext
in '' $ac_executable_extensions; do
13430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13431 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
13432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13442 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
13443 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
13445 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13448 $as_echo "no" >&6; }
13451 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
13452 OCAMLLEXDOTOPT
="no"
13454 case $cross_compiling:$ac_tool_warned in
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13458 ac_tool_warned
=yes ;;
13460 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
13463 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
13466 if test "$OCAMLLEXDOTOPT" != "no"; then
13467 OCAMLLEX
=$OCAMLLEXDOTOPT
13473 elif test "xmenhir" = xocamlyacc
-a "xMENHIR" = xOCAMLYACC
; then :
13474 if test -n "$ac_tool_prefix"; then
13475 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
13476 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13478 $as_echo_n "checking for $ac_word... " >&6; }
13479 if ${ac_cv_path_OCAMLYACC+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13484 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
13487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13488 for as_dir
in $PATH
13491 test -z "$as_dir" && as_dir
=.
13492 for ac_exec_ext
in '' $ac_executable_extensions; do
13493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13494 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
13495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13505 OCAMLYACC
=$ac_cv_path_OCAMLYACC
13506 if test -n "$OCAMLYACC"; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
13508 $as_echo "$OCAMLYACC" >&6; }
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13511 $as_echo "no" >&6; }
13516 if test -z "$ac_cv_path_OCAMLYACC"; then
13517 ac_pt_OCAMLYACC
=$OCAMLYACC
13518 # Extract the first word of "ocamlyacc", so it can be a program name with args.
13519 set dummy ocamlyacc
; ac_word
=$2
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13521 $as_echo_n "checking for $ac_word... " >&6; }
13522 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
13523 $as_echo_n "(cached) " >&6
13525 case $ac_pt_OCAMLYACC in
13527 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
13530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13531 for as_dir
in $PATH
13534 test -z "$as_dir" && as_dir
=.
13535 for ac_exec_ext
in '' $ac_executable_extensions; do
13536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13537 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
13538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13548 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
13549 if test -n "$ac_pt_OCAMLYACC"; then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
13551 $as_echo "$ac_pt_OCAMLYACC" >&6; }
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13554 $as_echo "no" >&6; }
13557 if test "x$ac_pt_OCAMLYACC" = x
; then
13560 case $cross_compiling:$ac_tool_warned in
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13564 ac_tool_warned
=yes ;;
13566 OCAMLYACC
=$ac_pt_OCAMLYACC
13569 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
13576 if test -n "$ac_tool_prefix"; then
13577 # Extract the first word of "${ac_tool_prefix}menhir", so it can be a program name with args.
13578 set dummy
${ac_tool_prefix}menhir
; ac_word
=$2
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13580 $as_echo_n "checking for $ac_word... " >&6; }
13581 if ${ac_cv_path_MENHIR+:} false
; then :
13582 $as_echo_n "(cached) " >&6
13586 ac_cv_path_MENHIR
="$MENHIR" # Let the user override the test with a path.
13589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13590 for as_dir
in $PATH
13593 test -z "$as_dir" && as_dir
=.
13594 for ac_exec_ext
in '' $ac_executable_extensions; do
13595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_path_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
13597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13607 MENHIR
=$ac_cv_path_MENHIR
13608 if test -n "$MENHIR"; then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MENHIR" >&5
13610 $as_echo "$MENHIR" >&6; }
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13613 $as_echo "no" >&6; }
13618 if test -z "$ac_cv_path_MENHIR"; then
13619 ac_pt_MENHIR
=$MENHIR
13620 # Extract the first word of "menhir", so it can be a program name with args.
13621 set dummy menhir
; ac_word
=$2
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13623 $as_echo_n "checking for $ac_word... " >&6; }
13624 if ${ac_cv_path_ac_pt_MENHIR+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 case $ac_pt_MENHIR in
13629 ac_cv_path_ac_pt_MENHIR
="$ac_pt_MENHIR" # Let the user override the test with a path.
13632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13633 for as_dir
in $PATH
13636 test -z "$as_dir" && as_dir
=.
13637 for ac_exec_ext
in '' $ac_executable_extensions; do
13638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13639 ac_cv_path_ac_pt_MENHIR
="$as_dir/$ac_word$ac_exec_ext"
13640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13650 ac_pt_MENHIR
=$ac_cv_path_ac_pt_MENHIR
13651 if test -n "$ac_pt_MENHIR"; then
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MENHIR" >&5
13653 $as_echo "$ac_pt_MENHIR" >&6; }
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13656 $as_echo "no" >&6; }
13659 if test "x$ac_pt_MENHIR" = x
; then
13662 case $cross_compiling:$ac_tool_warned in
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13666 ac_tool_warned
=yes ;;
13668 MENHIR
=$ac_pt_MENHIR
13671 MENHIR
="$ac_cv_path_MENHIR"
13677 SUBSTITUTED_MENHIR
=yes
13684 if test -z "$MENHIR"; then :
13689 if test "x$SUBSTITUTED_MENHIR" = xyes
; then :
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: pregenerated parsers will be required as substitute for Menhir" >&5
13691 $as_echo "$as_me: pregenerated parsers will be required as substitute for Menhir" >&6;}
13696 # Check whether --enable-ocaml was given.
13697 if test "${enable_ocaml+set}" = set; then :
13698 enableval
=$enable_ocaml;
13701 if test "x$OCAML_PKG_dynlink" = xno
; then :
13702 if test -z "$enable_ocaml"; then :
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting is disabled because the 'dynlink' package is not installed" >&5
13706 $as_echo "$as_me: ocaml scripting is disabled because the 'dynlink' package is not installed" >&6;}
13708 elif test "x$enable_ocaml" != xno
; then :
13709 as_fn_error $?
"the OCaml package dynlink is required for ocaml scripting" "$LINENO" 5
13715 if test "x$OCAMLATLEAST311" = xno
; then :
13716 if test -z "$enable_ocaml"; then :
13719 { $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
13720 $as_echo "$as_me: ocaml scripting has been disabled by default because your OCaml version may not support dynamic linking properly" >&6;}
13722 elif test "x$enable_ocaml" = xyes
; then :
13723 { $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
13724 $as_echo "$as_me: warning: your ocaml version may be too old for dynamic linking, thus ocaml scripting may not work" >&6;}
13730 if test "x$OPTIMIZED_dynlink" = xno
; then :
13731 if test -z "$enable_ocaml"; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting has been disabled by default because the optimized version of dynlink is not available" >&5
13735 $as_echo "$as_me: ocaml scripting has been disabled by default because the optimized version of dynlink is not available" >&6;}
13737 elif test "x$enable_ocaml" = xyes
; then :
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: the optimized version of dynlink is not available, thus ocaml scripting may not work" >&5
13739 $as_echo "$as_me: warning: the optimized version of dynlink is not available, thus ocaml scripting may not work" >&6;}
13745 if test -n "$SUBSTITUTED_OCAMLFIND"; then :
13746 if test -z "$enable_ocaml"; then :
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting is disabled because it depends on ocamlfind" >&5
13750 $as_echo "$as_me: ocaml scripting is disabled because it depends on ocamlfind" >&6;}
13752 elif test "x$enable_ocaml" != xno
; then :
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ocamlfind is not found but may be required when ocaml scripts are used" >&5
13754 $as_echo "$as_me: warning: ocamlfind is not found but may be required when ocaml scripts are used" >&6;}
13760 if test "x$CAMLP4" = xno
; then :
13761 if test -z "$enable_ocaml"; then :
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: ocaml scripting is disabled because it requires camlp4 which is not available" >&5
13765 $as_echo "$as_me: ocaml scripting is disabled because it requires camlp4 which is not available" >&6;}
13767 elif test "x$enable_ocaml" != xno
; then :
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: camlp4 is not found but may be required when ocaml scripts are used" >&5
13769 $as_echo "$as_me: warning: camlp4 is not found but may be required when ocaml scripts are used" >&6;}
13775 if test "x$enable_ocaml" = xno
; then :
13784 MODULESOPT_dynlink
=
13788 OCAMLCOCCI_MODULE
=No_prepare_ocamlcocci
13790 OCAMLCOCCI_FILE
=no_prepare_ocamlcocci.ml
13796 OCAMLCOCCI_MODULE
=Yes_prepare_ocamlcocci
13798 OCAMLCOCCI_FILE
=yes_prepare_ocamlcocci.ml
13805 # Check whether --enable-python was given.
13806 if test "${enable_python+set}" = set; then :
13807 enableval
=$enable_python;
13810 if test "x$enable_python" != xno
; then :
13811 if test -n "$enable_python" -a -z "$enable_pycaml"; then :
13812 { $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
13813 $as_echo "$as_me: skipped the selection of a global pycaml module because --enable-python is given explicitly but --enable-pycaml is not." >&6;}
13819 if test -z "$PYVER"; then :
13823 # Check whether --with-python was given.
13824 if test "${with_python+set}" = set; then :
13825 withval
=$with_python;
13828 with_PYTHON
="$with_python"
13830 if test -n "$with_PYTHON" -a "x$with_PYTHON" != xno
-a "x$with_PYTHON" != xyes
; then :
13831 PYTHON
="$with_PYTHON"
13840 if test "x$with_PYTHON" = xno
; then :
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: python is disabled explicitly" >&5
13842 $as_echo "$as_me: python is disabled explicitly" >&6;}
13847 if test "x$PYTHON" = xpkg-config
-a "xPYTHON" = xPKG_CONFIG
; then :
13855 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13856 if test -n "$ac_tool_prefix"; then
13857 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13858 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13860 $as_echo_n "checking for $ac_word... " >&6; }
13861 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
13862 $as_echo_n "(cached) " >&6
13864 case $PKG_CONFIG in
13866 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13870 for as_dir
in $PATH
13873 test -z "$as_dir" && as_dir
=.
13874 for ac_exec_ext
in '' $ac_executable_extensions; do
13875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13876 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13887 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13888 if test -n "$PKG_CONFIG"; then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13890 $as_echo "$PKG_CONFIG" >&6; }
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13898 if test -z "$ac_cv_path_PKG_CONFIG"; then
13899 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13900 # Extract the first word of "pkg-config", so it can be a program name with args.
13901 set dummy pkg-config
; ac_word
=$2
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13903 $as_echo_n "checking for $ac_word... " >&6; }
13904 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
13905 $as_echo_n "(cached) " >&6
13907 case $ac_pt_PKG_CONFIG in
13909 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13913 for as_dir
in $PATH
13916 test -z "$as_dir" && as_dir
=.
13917 for ac_exec_ext
in '' $ac_executable_extensions; do
13918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13919 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13930 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13931 if test -n "$ac_pt_PKG_CONFIG"; then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13933 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13936 $as_echo "no" >&6; }
13939 if test "x$ac_pt_PKG_CONFIG" = x
; then
13942 case $cross_compiling:$ac_tool_warned in
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13946 ac_tool_warned
=yes ;;
13948 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13951 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13955 if test -n "$PKG_CONFIG"; then
13956 _pkg_min_version
=0.9.0
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13958 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13959 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13961 $as_echo "yes" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13969 elif test "x$PYTHON" = xocamllex
-a "xPYTHON" = xOCAMLLEX
; then :
13970 # checking for ocamllex
13971 if test -n "$ac_tool_prefix"; then
13972 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
13973 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13975 $as_echo_n "checking for $ac_word... " >&6; }
13976 if ${ac_cv_path_OCAMLLEX+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13981 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
13984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13985 for as_dir
in $PATH
13988 test -z "$as_dir" && as_dir
=.
13989 for ac_exec_ext
in '' $ac_executable_extensions; do
13990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13991 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
13992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14002 OCAMLLEX
=$ac_cv_path_OCAMLLEX
14003 if test -n "$OCAMLLEX"; then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
14005 $as_echo "$OCAMLLEX" >&6; }
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14013 if test -z "$ac_cv_path_OCAMLLEX"; then
14014 ac_pt_OCAMLLEX
=$OCAMLLEX
14015 # Extract the first word of "ocamllex", so it can be a program name with args.
14016 set dummy ocamllex
; ac_word
=$2
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14018 $as_echo_n "checking for $ac_word... " >&6; }
14019 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
14020 $as_echo_n "(cached) " >&6
14022 case $ac_pt_OCAMLLEX in
14024 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
14027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14028 for as_dir
in $PATH
14031 test -z "$as_dir" && as_dir
=.
14032 for ac_exec_ext
in '' $ac_executable_extensions; do
14033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14034 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
14035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14045 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
14046 if test -n "$ac_pt_OCAMLLEX"; then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
14048 $as_echo "$ac_pt_OCAMLLEX" >&6; }
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14051 $as_echo "no" >&6; }
14054 if test "x$ac_pt_OCAMLLEX" = x
; then
14057 case $cross_compiling:$ac_tool_warned in
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14061 ac_tool_warned
=yes ;;
14063 OCAMLLEX
=$ac_pt_OCAMLLEX
14066 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
14069 if test "$OCAMLLEX" != "no"; then
14070 if test -n "$ac_tool_prefix"; then
14071 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
14072 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14074 $as_echo_n "checking for $ac_word... " >&6; }
14075 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
14076 $as_echo_n "(cached) " >&6
14078 case $OCAMLLEXDOTOPT in
14080 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
14083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14084 for as_dir
in $PATH
14087 test -z "$as_dir" && as_dir
=.
14088 for ac_exec_ext
in '' $ac_executable_extensions; do
14089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14090 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
14091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14101 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
14102 if test -n "$OCAMLLEXDOTOPT"; then
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
14104 $as_echo "$OCAMLLEXDOTOPT" >&6; }
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14107 $as_echo "no" >&6; }
14112 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
14113 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
14114 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
14115 set dummy ocamllex.opt
; ac_word
=$2
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14117 $as_echo_n "checking for $ac_word... " >&6; }
14118 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
14119 $as_echo_n "(cached) " >&6
14121 case $ac_pt_OCAMLLEXDOTOPT in
14123 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
14126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14127 for as_dir
in $PATH
14130 test -z "$as_dir" && as_dir
=.
14131 for ac_exec_ext
in '' $ac_executable_extensions; do
14132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14133 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
14134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14144 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
14145 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
14147 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14150 $as_echo "no" >&6; }
14153 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
14154 OCAMLLEXDOTOPT
="no"
14156 case $cross_compiling:$ac_tool_warned in
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14160 ac_tool_warned
=yes ;;
14162 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
14165 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
14168 if test "$OCAMLLEXDOTOPT" != "no"; then
14169 OCAMLLEX
=$OCAMLLEXDOTOPT
14175 elif test "x$PYTHON" = xocamlyacc
-a "xPYTHON" = xOCAMLYACC
; then :
14176 if test -n "$ac_tool_prefix"; then
14177 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
14178 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14180 $as_echo_n "checking for $ac_word... " >&6; }
14181 if ${ac_cv_path_OCAMLYACC+:} false
; then :
14182 $as_echo_n "(cached) " >&6
14186 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
14189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14190 for as_dir
in $PATH
14193 test -z "$as_dir" && as_dir
=.
14194 for ac_exec_ext
in '' $ac_executable_extensions; do
14195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14196 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
14197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14207 OCAMLYACC
=$ac_cv_path_OCAMLYACC
14208 if test -n "$OCAMLYACC"; then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
14210 $as_echo "$OCAMLYACC" >&6; }
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14213 $as_echo "no" >&6; }
14218 if test -z "$ac_cv_path_OCAMLYACC"; then
14219 ac_pt_OCAMLYACC
=$OCAMLYACC
14220 # Extract the first word of "ocamlyacc", so it can be a program name with args.
14221 set dummy ocamlyacc
; ac_word
=$2
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14223 $as_echo_n "checking for $ac_word... " >&6; }
14224 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 case $ac_pt_OCAMLYACC in
14229 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
14232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14233 for as_dir
in $PATH
14236 test -z "$as_dir" && as_dir
=.
14237 for ac_exec_ext
in '' $ac_executable_extensions; do
14238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14239 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
14240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14250 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
14251 if test -n "$ac_pt_OCAMLYACC"; then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
14253 $as_echo "$ac_pt_OCAMLYACC" >&6; }
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14256 $as_echo "no" >&6; }
14259 if test "x$ac_pt_OCAMLYACC" = x
; then
14262 case $cross_compiling:$ac_tool_warned in
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14266 ac_tool_warned
=yes ;;
14268 OCAMLYACC
=$ac_pt_OCAMLYACC
14271 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
14278 if test -n "$ac_tool_prefix"; then
14279 # Extract the first word of "${ac_tool_prefix}[$]PYTHON", so it can be a program name with args.
14280 set dummy
${ac_tool_prefix}$PYTHON; ac_word
=$2
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14282 $as_echo_n "checking for $ac_word... " >&6; }
14283 if ${ac_cv_path_PYTHON+:} false
; then :
14284 $as_echo_n "(cached) " >&6
14288 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
14291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14292 for as_dir
in $PATH
14295 test -z "$as_dir" && as_dir
=.
14296 for ac_exec_ext
in '' $ac_executable_extensions; do
14297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14298 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14309 PYTHON
=$ac_cv_path_PYTHON
14310 if test -n "$PYTHON"; then
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14312 $as_echo "$PYTHON" >&6; }
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14315 $as_echo "no" >&6; }
14320 if test -z "$ac_cv_path_PYTHON"; then
14321 ac_pt_PYTHON
=$PYTHON
14322 # Extract the first word of "[$]PYTHON", so it can be a program name with args.
14323 set dummy
$PYTHON; ac_word
=$2
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14325 $as_echo_n "checking for $ac_word... " >&6; }
14326 if ${ac_cv_path_ac_pt_PYTHON+:} false
; then :
14327 $as_echo_n "(cached) " >&6
14329 case $ac_pt_PYTHON in
14331 ac_cv_path_ac_pt_PYTHON
="$ac_pt_PYTHON" # Let the user override the test with a path.
14334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14335 for as_dir
in $PATH
14338 test -z "$as_dir" && as_dir
=.
14339 for ac_exec_ext
in '' $ac_executable_extensions; do
14340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14341 ac_cv_path_ac_pt_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14352 ac_pt_PYTHON
=$ac_cv_path_ac_pt_PYTHON
14353 if test -n "$ac_pt_PYTHON"; then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PYTHON" >&5
14355 $as_echo "$ac_pt_PYTHON" >&6; }
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14358 $as_echo "no" >&6; }
14361 if test "x$ac_pt_PYTHON" = x
; then
14364 case $cross_compiling:$ac_tool_warned in
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14368 ac_tool_warned
=yes ;;
14370 PYTHON
=$ac_pt_PYTHON
14373 PYTHON
="$ac_cv_path_PYTHON"
14382 if test -z "$PYTHON" -o "x$PYTHON" = xno
; then :
14383 if test "x$with_PYTHON" = xyes
; then :
14384 as_fn_error $?
"--with=python is given explicitly but not found" "$LINENO" 5
14388 if test -n ""; then :
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: python not found. Trying substitute ." >&5
14390 $as_echo "$as_me: python not found. Trying substitute ." >&6;}
14393 if test "xpython" = xpkg-config
-a "xPYTHON" = xPKG_CONFIG
; then :
14401 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14402 if test -n "$ac_tool_prefix"; then
14403 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14404 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14406 $as_echo_n "checking for $ac_word... " >&6; }
14407 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14408 $as_echo_n "(cached) " >&6
14410 case $PKG_CONFIG in
14412 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14416 for as_dir
in $PATH
14419 test -z "$as_dir" && as_dir
=.
14420 for ac_exec_ext
in '' $ac_executable_extensions; do
14421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14422 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14433 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14434 if test -n "$PKG_CONFIG"; then
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14436 $as_echo "$PKG_CONFIG" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14439 $as_echo "no" >&6; }
14444 if test -z "$ac_cv_path_PKG_CONFIG"; then
14445 ac_pt_PKG_CONFIG
=$PKG_CONFIG
14446 # Extract the first word of "pkg-config", so it can be a program name with args.
14447 set dummy pkg-config
; ac_word
=$2
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14449 $as_echo_n "checking for $ac_word... " >&6; }
14450 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
14451 $as_echo_n "(cached) " >&6
14453 case $ac_pt_PKG_CONFIG in
14455 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14459 for as_dir
in $PATH
14462 test -z "$as_dir" && as_dir
=.
14463 for ac_exec_ext
in '' $ac_executable_extensions; do
14464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14465 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14476 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
14477 if test -n "$ac_pt_PKG_CONFIG"; then
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14479 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14482 $as_echo "no" >&6; }
14485 if test "x$ac_pt_PKG_CONFIG" = x
; then
14488 case $cross_compiling:$ac_tool_warned in
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14492 ac_tool_warned
=yes ;;
14494 PKG_CONFIG
=$ac_pt_PKG_CONFIG
14497 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14501 if test -n "$PKG_CONFIG"; then
14502 _pkg_min_version
=0.9.0
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14504 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14505 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14507 $as_echo "yes" >&6; }
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14510 $as_echo "no" >&6; }
14515 elif test "xpython" = xocamllex
-a "xPYTHON" = xOCAMLLEX
; then :
14516 # checking for ocamllex
14517 if test -n "$ac_tool_prefix"; then
14518 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
14519 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14521 $as_echo_n "checking for $ac_word... " >&6; }
14522 if ${ac_cv_path_OCAMLLEX+:} false
; then :
14523 $as_echo_n "(cached) " >&6
14527 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
14530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14531 for as_dir
in $PATH
14534 test -z "$as_dir" && as_dir
=.
14535 for ac_exec_ext
in '' $ac_executable_extensions; do
14536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14537 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
14538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14548 OCAMLLEX
=$ac_cv_path_OCAMLLEX
14549 if test -n "$OCAMLLEX"; then
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
14551 $as_echo "$OCAMLLEX" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14554 $as_echo "no" >&6; }
14559 if test -z "$ac_cv_path_OCAMLLEX"; then
14560 ac_pt_OCAMLLEX
=$OCAMLLEX
14561 # Extract the first word of "ocamllex", so it can be a program name with args.
14562 set dummy ocamllex
; ac_word
=$2
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14564 $as_echo_n "checking for $ac_word... " >&6; }
14565 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
14566 $as_echo_n "(cached) " >&6
14568 case $ac_pt_OCAMLLEX in
14570 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
14573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14574 for as_dir
in $PATH
14577 test -z "$as_dir" && as_dir
=.
14578 for ac_exec_ext
in '' $ac_executable_extensions; do
14579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14580 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
14581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14591 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
14592 if test -n "$ac_pt_OCAMLLEX"; then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
14594 $as_echo "$ac_pt_OCAMLLEX" >&6; }
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14597 $as_echo "no" >&6; }
14600 if test "x$ac_pt_OCAMLLEX" = x
; then
14603 case $cross_compiling:$ac_tool_warned in
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14607 ac_tool_warned
=yes ;;
14609 OCAMLLEX
=$ac_pt_OCAMLLEX
14612 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
14615 if test "$OCAMLLEX" != "no"; then
14616 if test -n "$ac_tool_prefix"; then
14617 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
14618 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14620 $as_echo_n "checking for $ac_word... " >&6; }
14621 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
14622 $as_echo_n "(cached) " >&6
14624 case $OCAMLLEXDOTOPT in
14626 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
14629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14630 for as_dir
in $PATH
14633 test -z "$as_dir" && as_dir
=.
14634 for ac_exec_ext
in '' $ac_executable_extensions; do
14635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14636 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
14637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14647 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
14648 if test -n "$OCAMLLEXDOTOPT"; then
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
14650 $as_echo "$OCAMLLEXDOTOPT" >&6; }
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14653 $as_echo "no" >&6; }
14658 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
14659 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
14660 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
14661 set dummy ocamllex.opt
; ac_word
=$2
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14663 $as_echo_n "checking for $ac_word... " >&6; }
14664 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
14665 $as_echo_n "(cached) " >&6
14667 case $ac_pt_OCAMLLEXDOTOPT in
14669 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
14672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14673 for as_dir
in $PATH
14676 test -z "$as_dir" && as_dir
=.
14677 for ac_exec_ext
in '' $ac_executable_extensions; do
14678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14679 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
14680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14690 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
14691 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
14693 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14699 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
14700 OCAMLLEXDOTOPT
="no"
14702 case $cross_compiling:$ac_tool_warned in
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14706 ac_tool_warned
=yes ;;
14708 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
14711 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
14714 if test "$OCAMLLEXDOTOPT" != "no"; then
14715 OCAMLLEX
=$OCAMLLEXDOTOPT
14721 elif test "xpython" = xocamlyacc
-a "xPYTHON" = xOCAMLYACC
; then :
14722 if test -n "$ac_tool_prefix"; then
14723 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
14724 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14726 $as_echo_n "checking for $ac_word... " >&6; }
14727 if ${ac_cv_path_OCAMLYACC+:} false
; then :
14728 $as_echo_n "(cached) " >&6
14732 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
14735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14736 for as_dir
in $PATH
14739 test -z "$as_dir" && as_dir
=.
14740 for ac_exec_ext
in '' $ac_executable_extensions; do
14741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14742 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
14743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14753 OCAMLYACC
=$ac_cv_path_OCAMLYACC
14754 if test -n "$OCAMLYACC"; then
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
14756 $as_echo "$OCAMLYACC" >&6; }
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14759 $as_echo "no" >&6; }
14764 if test -z "$ac_cv_path_OCAMLYACC"; then
14765 ac_pt_OCAMLYACC
=$OCAMLYACC
14766 # Extract the first word of "ocamlyacc", so it can be a program name with args.
14767 set dummy ocamlyacc
; ac_word
=$2
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14769 $as_echo_n "checking for $ac_word... " >&6; }
14770 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
14771 $as_echo_n "(cached) " >&6
14773 case $ac_pt_OCAMLYACC in
14775 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
14778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14779 for as_dir
in $PATH
14782 test -z "$as_dir" && as_dir
=.
14783 for ac_exec_ext
in '' $ac_executable_extensions; do
14784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14785 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
14786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14796 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
14797 if test -n "$ac_pt_OCAMLYACC"; then
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
14799 $as_echo "$ac_pt_OCAMLYACC" >&6; }
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14802 $as_echo "no" >&6; }
14805 if test "x$ac_pt_OCAMLYACC" = x
; then
14808 case $cross_compiling:$ac_tool_warned in
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14812 ac_tool_warned
=yes ;;
14814 OCAMLYACC
=$ac_pt_OCAMLYACC
14817 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
14824 if test -n "$ac_tool_prefix"; then
14825 # Extract the first word of "${ac_tool_prefix}python", so it can be a program name with args.
14826 set dummy
${ac_tool_prefix}python
; ac_word
=$2
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14828 $as_echo_n "checking for $ac_word... " >&6; }
14829 if ${ac_cv_path_PYTHON+:} false
; then :
14830 $as_echo_n "(cached) " >&6
14834 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
14837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14838 for as_dir
in $PATH
14841 test -z "$as_dir" && as_dir
=.
14842 for ac_exec_ext
in '' $ac_executable_extensions; do
14843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14844 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14855 PYTHON
=$ac_cv_path_PYTHON
14856 if test -n "$PYTHON"; then
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14858 $as_echo "$PYTHON" >&6; }
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14861 $as_echo "no" >&6; }
14866 if test -z "$ac_cv_path_PYTHON"; then
14867 ac_pt_PYTHON
=$PYTHON
14868 # Extract the first word of "python", so it can be a program name with args.
14869 set dummy python
; ac_word
=$2
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14871 $as_echo_n "checking for $ac_word... " >&6; }
14872 if ${ac_cv_path_ac_pt_PYTHON+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14875 case $ac_pt_PYTHON in
14877 ac_cv_path_ac_pt_PYTHON
="$ac_pt_PYTHON" # Let the user override the test with a path.
14880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14881 for as_dir
in $PATH
14884 test -z "$as_dir" && as_dir
=.
14885 for ac_exec_ext
in '' $ac_executable_extensions; do
14886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14887 ac_cv_path_ac_pt_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14898 ac_pt_PYTHON
=$ac_cv_path_ac_pt_PYTHON
14899 if test -n "$ac_pt_PYTHON"; then
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PYTHON" >&5
14901 $as_echo "$ac_pt_PYTHON" >&6; }
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14904 $as_echo "no" >&6; }
14907 if test "x$ac_pt_PYTHON" = x
; then
14910 case $cross_compiling:$ac_tool_warned in
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14914 ac_tool_warned
=yes ;;
14916 PYTHON
=$ac_pt_PYTHON
14919 PYTHON
="$ac_cv_path_PYTHON"
14925 SUBSTITUTED_PYTHON
=yes
14932 if test -z "$PYTHON"; then :
14938 if test "x$PYTHON" = xno
-a -z "$with_python"; then :
14939 for ac_prog
in python python3 python3.2 python3.1 python2 python2.7 python2.6 python2.5
14941 # Extract the first word of "$ac_prog", so it can be a program name with args.
14942 set dummy
$ac_prog; ac_word
=$2
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14944 $as_echo_n "checking for $ac_word... " >&6; }
14945 if ${ac_cv_path_PYTHON+:} false
; then :
14946 $as_echo_n "(cached) " >&6
14950 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
14953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14954 for as_dir
in $PATH
14957 test -z "$as_dir" && as_dir
=.
14958 for ac_exec_ext
in '' $ac_executable_extensions; do
14959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14960 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
14961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14971 PYTHON
=$ac_cv_path_PYTHON
14972 if test -n "$PYTHON"; then
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14974 $as_echo "$PYTHON" >&6; }
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14977 $as_echo "no" >&6; }
14981 test -n "$PYTHON" && break
14984 if test -z "$PYTHON"; then :
14991 if test "x$PYTHON" = xno
-a -n "$with_python" -a "x$with_python" != xyes
; then :
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: $with_python is not a found as tool, therefore interpreted as version" >&5
14993 $as_echo "$as_me: $with_python is not a found as tool, therefore interpreted as version" >&6;}
14994 PYVER
="$with_python"
14999 if test "x$PYTHON" != xno
; then :
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking python version" >&5
15001 $as_echo_n "checking python version... " >&6; }
15002 PYVER
=`$PYTHON -c "import sys; print(sys.version[:3])"`
15003 if test -n "$PYVER"; then :
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYVER found" >&5
15005 $as_echo "$PYVER found" >&6; }
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
15008 $as_echo "failed" >&6; }
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: python version assumed to be $PYVER" >&5
15016 $as_echo "$as_me: python version assumed to be $PYVER" >&6;}
15020 PYVER_MAJOR
=${PYVER%%.*}
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: python major version: $PYVER_MAJOR" >&5
15023 $as_echo "$as_me: python major version: $PYVER_MAJOR" >&6;}
15026 if test -z "$PYVER"; then :
15027 if test "x$enable_python" = xyes
; then :
15028 as_fn_error $?
"python scripting is enabled explicitly but the version of python could not be determined" "$LINENO" 5
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for the corresponding python library" >&5
15034 $as_echo "$as_me: looking for the corresponding python library" >&6;}
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
15038 $as_echo_n "checking for PYTHON... " >&6; }
15040 if test -n "$PYTHON_CFLAGS"; then
15041 pkg_cv_PYTHON_CFLAGS
="$PYTHON_CFLAGS"
15042 elif test -n "$PKG_CONFIG"; then
15043 if test -n "$PKG_CONFIG" && \
15044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYVER\""; } >&5
15045 ($PKG_CONFIG --exists --print-errors "python-$PYVER") 2>&5
15047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048 test $ac_status = 0; }; then
15049 pkg_cv_PYTHON_CFLAGS
=`$PKG_CONFIG --cflags "python-$PYVER" 2>/dev/null`
15050 test "x$?" != "x0" && pkg_failed
=yes
15057 if test -n "$PYTHON_LIBS"; then
15058 pkg_cv_PYTHON_LIBS
="$PYTHON_LIBS"
15059 elif test -n "$PKG_CONFIG"; then
15060 if test -n "$PKG_CONFIG" && \
15061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYVER\""; } >&5
15062 ($PKG_CONFIG --exists --print-errors "python-$PYVER") 2>&5
15064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15065 test $ac_status = 0; }; then
15066 pkg_cv_PYTHON_LIBS
=`$PKG_CONFIG --libs "python-$PYVER" 2>/dev/null`
15067 test "x$?" != "x0" && pkg_failed
=yes
15077 if test $pkg_failed = yes; then
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15079 $as_echo "no" >&6; }
15081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15082 _pkg_short_errors_supported
=yes
15084 _pkg_short_errors_supported
=no
15086 if test $_pkg_short_errors_supported = yes; then
15087 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-$PYVER" 2>&1`
15089 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "python-$PYVER" 2>&1`
15091 # Put the nasty error message in config.log where it belongs
15092 echo "$PYTHON_PKG_ERRORS" >&5
15096 elif test $pkg_failed = untried
; then
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15098 $as_echo "no" >&6; }
15102 PYTHON_CFLAGS
=$pkg_cv_PYTHON_CFLAGS
15103 PYTHON_LIBS
=$pkg_cv_PYTHON_LIBS
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15105 $as_echo "yes" >&6; }
15110 if test "x$HAVE_PYTHON" != xyes
-a "x$enable_python" != xyes
; then :
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: trying the default python library as fallback" >&5
15112 $as_echo "$as_me: trying the default python library as fallback" >&6;}
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
15116 $as_echo_n "checking for PYTHON... " >&6; }
15118 if test -n "$PYTHON_CFLAGS"; then
15119 pkg_cv_PYTHON_CFLAGS
="$PYTHON_CFLAGS"
15120 elif test -n "$PKG_CONFIG"; then
15121 if test -n "$PKG_CONFIG" && \
15122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15123 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15126 test $ac_status = 0; }; then
15127 pkg_cv_PYTHON_CFLAGS
=`$PKG_CONFIG --cflags "python" 2>/dev/null`
15128 test "x$?" != "x0" && pkg_failed
=yes
15135 if test -n "$PYTHON_LIBS"; then
15136 pkg_cv_PYTHON_LIBS
="$PYTHON_LIBS"
15137 elif test -n "$PKG_CONFIG"; then
15138 if test -n "$PKG_CONFIG" && \
15139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15140 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15143 test $ac_status = 0; }; then
15144 pkg_cv_PYTHON_LIBS
=`$PKG_CONFIG --libs "python" 2>/dev/null`
15145 test "x$?" != "x0" && pkg_failed
=yes
15155 if test $pkg_failed = yes; then
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15157 $as_echo "no" >&6; }
15159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15160 _pkg_short_errors_supported
=yes
15162 _pkg_short_errors_supported
=no
15164 if test $_pkg_short_errors_supported = yes; then
15165 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python" 2>&1`
15167 PYTHON_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "python" 2>&1`
15169 # Put the nasty error message in config.log where it belongs
15170 echo "$PYTHON_PKG_ERRORS" >&5
15174 elif test $pkg_failed = untried
; then
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15176 $as_echo "no" >&6; }
15180 PYTHON_CFLAGS
=$pkg_cv_PYTHON_CFLAGS
15181 PYTHON_LIBS
=$pkg_cv_PYTHON_LIBS
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15183 $as_echo "yes" >&6; }
15194 if test -z "$enable_python"; then :
15195 if test "x$HAVE_PYTHON" = xyes
; then :
15207 if test "x$enable_python" != xno
; then :
15208 if test "x$HAVE_PYTHON" = xyes
; then :
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: support for python scripts is enabled" >&5
15210 $as_echo "$as_me: support for python scripts is enabled" >&6;}
15213 as_fn_error $?
"the python scripts feature is enabled but the pkg-config python library is not found" "$LINENO" 5
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package pycaml" >&5
15218 $as_echo "$as_me: configuring package pycaml" >&6;}
15219 # Check whether --enable-pycaml was given.
15220 if test "${enable_pycaml+set}" = set; then :
15221 enableval
=$enable_pycaml;
15225 if test "x$enable_pycaml" != xno
; then :
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package pycaml" >&5
15228 $as_echo_n "checking for OCaml findlib package pycaml... " >&6; }
15233 for pkg
in pycaml
; do
15234 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15236 $as_echo "found" >&6; }
15237 OCAML_PKG_pycaml
=$pkg
15242 if test "$found" = "no" ; then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15244 $as_echo "not found" >&6; }
15245 OCAML_PKG_pycaml
=no
15250 if test "x$OCAML_PKG_pycaml" != xno
; then :
15251 PATH_pycaml
=`$OCAMLFIND query pycaml 2>/dev/null`
15256 GLOBAL_pycaml
=$OCAML_PKG_pycaml
15259 if test "x$GLOBAL_pycaml" != xno
; then :
15264 if test "x$enable_pycaml" = xyes
; then :
15265 as_fn_error $?
"OCaml package pycaml is not available but requested explicitly" "$LINENO" 5
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package pycaml is not available" >&5
15269 $as_echo "$as_me: OCaml package pycaml is not available" >&6;}
15277 if test "x$enable_pycaml" = xno
; then :
15278 { pkgdir
=; unset pkgdir
;}
15279 pkgdir
="$COCCI_OCAML_EXTERNAL/pycaml/"
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of pycaml" >&5
15281 $as_echo_n "checking for a bundled substitute of pycaml... " >&6; }
15282 if test -d "$pkgdir"; then :
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15284 $as_echo "yes" >&6; }
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for pycaml in $pkgdir" >&5
15286 $as_echo "$as_me: using bundled substitute for pycaml in $pkgdir" >&6;}
15287 enable_pycaml
=local
15289 PATH_pycaml
="$pkgdir"
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
15294 $as_echo "not available" >&6; }
15299 if test "x$enable_pycaml" != xno
; then :
15302 FLAGS_pycaml
='$(FLAGS_pycaml)'
15304 OPTFLAGS_pycaml
='$(OPTFLAGS_pycaml)'
15307 if test "x$enable_pycaml" = xlocal
; then :
15310 MODULES_pycaml
='$(LOCAL_pycaml)'
15312 MODULESOPT_pycaml
='$(LOCALOPT_pycaml)'
15315 if test -f "$PATH_pycaml/Makefile"; then :
15316 MAKE_pycaml
=$PATH_pycaml
15326 MODULES_pycaml
='$(GLOBAL_pycaml)'
15328 MODULESOPT_pycaml
='$(GLOBALOPT_pycaml)'
15335 if test "x$enable_pycaml" = xno
; then :
15336 as_fn_error $?
"OCaml package pycaml is required. Please make sure it is available." "$LINENO" 5
15340 PYCOCCI_MODULE
=Yes_pycocci
15342 PYCOCCI_FILE
=yes_pycocci.ml
15359 PYCOCCI_MODULE
=No_pycocci
15361 PYCOCCI_FILE
=no_pycocci.ml
15367 # Check whether --enable-pcre-syntax was given.
15368 if test "${enable_pcre_syntax+set}" = set; then :
15369 enableval
=$enable_pcre_syntax;
15372 if test "x$enable_pcre_syntax" != "xno"; then :
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
15376 $as_echo_n "checking for PCRE... " >&6; }
15378 if test -n "$PCRE_CFLAGS"; then
15379 pkg_cv_PCRE_CFLAGS
="$PCRE_CFLAGS"
15380 elif test -n "$PKG_CONFIG"; then
15381 if test -n "$PKG_CONFIG" && \
15382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
15383 ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
15385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15386 test $ac_status = 0; }; then
15387 pkg_cv_PCRE_CFLAGS
=`$PKG_CONFIG --cflags "libpcre" 2>/dev/null`
15388 test "x$?" != "x0" && pkg_failed
=yes
15395 if test -n "$PCRE_LIBS"; then
15396 pkg_cv_PCRE_LIBS
="$PCRE_LIBS"
15397 elif test -n "$PKG_CONFIG"; then
15398 if test -n "$PKG_CONFIG" && \
15399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
15400 ($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
15402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15403 test $ac_status = 0; }; then
15404 pkg_cv_PCRE_LIBS
=`$PKG_CONFIG --libs "libpcre" 2>/dev/null`
15405 test "x$?" != "x0" && pkg_failed
=yes
15415 if test $pkg_failed = yes; then
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15417 $as_echo "no" >&6; }
15419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15420 _pkg_short_errors_supported
=yes
15422 _pkg_short_errors_supported
=no
15424 if test $_pkg_short_errors_supported = yes; then
15425 PCRE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcre" 2>&1`
15427 PCRE_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libpcre" 2>&1`
15429 # Put the nasty error message in config.log where it belongs
15430 echo "$PCRE_PKG_ERRORS" >&5
15434 elif test $pkg_failed = untried
; then
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15436 $as_echo "no" >&6; }
15440 PCRE_CFLAGS
=$pkg_cv_PCRE_CFLAGS
15441 PCRE_LIBS
=$pkg_cv_PCRE_LIBS
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15443 $as_echo "yes" >&6; }
15447 if test -z "$enable_pcre_syntax" -a "x$HAVE_PCRE" != xyes
; then :
15448 enable_pcre_syntax
=no
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring package pcre" >&5
15453 $as_echo "$as_me: configuring package pcre" >&6;}
15454 # Check whether --enable-pcre was given.
15455 if test "${enable_pcre+set}" = set; then :
15456 enableval
=$enable_pcre;
15460 if test "x$enable_pcre" != xno
; then :
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package pcre" >&5
15463 $as_echo_n "checking for OCaml findlib package pcre... " >&6; }
15468 for pkg
in pcre
; do
15469 if $OCAMLFIND query
$pkg >/dev
/null
2>/dev
/null
; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15471 $as_echo "found" >&6; }
15472 OCAML_PKG_pcre
=$pkg
15477 if test "$found" = "no" ; then
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15479 $as_echo "not found" >&6; }
15485 if test "x$OCAML_PKG_pcre" != xno
; then :
15486 PATH_pcre
=`$OCAMLFIND query pcre 2>/dev/null`
15491 GLOBAL_pcre
=$OCAML_PKG_pcre
15494 if test "x$GLOBAL_pcre" != xno
; then :
15499 if test "x$enable_pcre" = xyes
; then :
15500 as_fn_error $?
"OCaml package pcre is not available but requested explicitly" "$LINENO" 5
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: OCaml package pcre is not available" >&5
15504 $as_echo "$as_me: OCaml package pcre is not available" >&6;}
15512 if test "x$enable_pcre" = xno
; then :
15513 { pkgdir
=; unset pkgdir
;}
15514 pkgdir
="$COCCI_OCAML_EXTERNAL/pcre/"
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a bundled substitute of pcre" >&5
15516 $as_echo_n "checking for a bundled substitute of pcre... " >&6; }
15517 if test -d "$pkgdir"; then :
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15519 $as_echo "yes" >&6; }
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled substitute for pcre in $pkgdir" >&5
15521 $as_echo "$as_me: using bundled substitute for pcre in $pkgdir" >&6;}
15524 PATH_pcre
="$pkgdir"
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
15529 $as_echo "not available" >&6; }
15534 if test "x$enable_pcre" != xno
; then :
15537 FLAGS_pcre
='$(FLAGS_pcre)'
15539 OPTFLAGS_pcre
='$(OPTFLAGS_pcre)'
15542 if test "x$enable_pcre" = xlocal
; then :
15545 MODULES_pcre
='$(LOCAL_pcre)'
15547 MODULESOPT_pcre
='$(LOCALOPT_pcre)'
15550 if test -f "$PATH_pcre/Makefile"; then :
15551 MAKE_pcre
=$PATH_pcre
15561 MODULES_pcre
='$(GLOBAL_pcre)'
15563 MODULESOPT_pcre
='$(GLOBALOPT_pcre)'
15569 enable_pcre_syntax
=$enable_pcre
15575 if test "x$enable_pcre_syntax" != xno
; then :
15576 if test "x$HAVE_PCRE" = xyes
; then :
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: support for pcre syntax is enabled" >&5
15578 $as_echo "$as_me: support for pcre syntax is enabled" >&6;}
15581 as_fn_error $?
"the pcre feature is enabled but the pkg-config libpcre library is not found" "$LINENO" 5
15585 REGEXP_MODULE
=Regexp_pcre
15587 REGEXP_FILE
=regexp_pcre.ml
15604 REGEXP_MODULE
=Regexp_str
15606 REGEXP_FILE
=regexp_str.ml
15614 if test "$prefix" = "NONE"; then :
15615 prefix
=$ac_default_prefix
15620 SHAREDIR
="${prefix}/share/coccinelle"
15623 if test "x$enable_python" != xno
; then :
15633 if test "x$enable_ocaml" != xno
; then :
15643 if test "x$OCAMLATLEAST311" = xyes
-a "x$enable_ocaml" = xyes
-a "x$OCAMLOPT" != xno
; then :
15644 DYNLINK_IS_NATIVE
=Dynlink.is_native
15648 DYNLINK_IS_NATIVE
=false
15655 # Check whether --with-pdflatex was given.
15656 if test "${with_pdflatex+set}" = set; then :
15657 withval
=$with_pdflatex;
15660 with_PDFLATEX
="$with_pdflatex"
15662 if test -n "$with_PDFLATEX" -a "x$with_PDFLATEX" != xno
-a "x$with_PDFLATEX" != xyes
; then :
15663 PDFLATEX
="$with_PDFLATEX"
15667 PDFLATEX
="pdflatex"
15672 if test "x$with_PDFLATEX" = xno
; then :
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: pdflatex is disabled explicitly" >&5
15674 $as_echo "$as_me: pdflatex is disabled explicitly" >&6;}
15679 if test "x$PDFLATEX" = xpkg-config
-a "xPDFLATEX" = xPKG_CONFIG
; then :
15687 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15688 if test -n "$ac_tool_prefix"; then
15689 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15690 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15692 $as_echo_n "checking for $ac_word... " >&6; }
15693 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15694 $as_echo_n "(cached) " >&6
15696 case $PKG_CONFIG in
15698 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15702 for as_dir
in $PATH
15705 test -z "$as_dir" && as_dir
=.
15706 for ac_exec_ext
in '' $ac_executable_extensions; do
15707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15708 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15719 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15720 if test -n "$PKG_CONFIG"; then
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15722 $as_echo "$PKG_CONFIG" >&6; }
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15725 $as_echo "no" >&6; }
15730 if test -z "$ac_cv_path_PKG_CONFIG"; then
15731 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15732 # Extract the first word of "pkg-config", so it can be a program name with args.
15733 set dummy pkg-config
; ac_word
=$2
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15735 $as_echo_n "checking for $ac_word... " >&6; }
15736 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15737 $as_echo_n "(cached) " >&6
15739 case $ac_pt_PKG_CONFIG in
15741 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15745 for as_dir
in $PATH
15748 test -z "$as_dir" && as_dir
=.
15749 for ac_exec_ext
in '' $ac_executable_extensions; do
15750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15751 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15762 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15763 if test -n "$ac_pt_PKG_CONFIG"; then
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15765 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15768 $as_echo "no" >&6; }
15771 if test "x$ac_pt_PKG_CONFIG" = x
; then
15774 case $cross_compiling:$ac_tool_warned in
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15778 ac_tool_warned
=yes ;;
15780 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15783 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15787 if test -n "$PKG_CONFIG"; then
15788 _pkg_min_version
=0.9.0
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15790 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15791 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15793 $as_echo "yes" >&6; }
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15796 $as_echo "no" >&6; }
15801 elif test "x$PDFLATEX" = xocamllex
-a "xPDFLATEX" = xOCAMLLEX
; then :
15802 # checking for ocamllex
15803 if test -n "$ac_tool_prefix"; then
15804 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
15805 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15807 $as_echo_n "checking for $ac_word... " >&6; }
15808 if ${ac_cv_path_OCAMLLEX+:} false
; then :
15809 $as_echo_n "(cached) " >&6
15813 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
15816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15817 for as_dir
in $PATH
15820 test -z "$as_dir" && as_dir
=.
15821 for ac_exec_ext
in '' $ac_executable_extensions; do
15822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15823 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
15824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15834 OCAMLLEX
=$ac_cv_path_OCAMLLEX
15835 if test -n "$OCAMLLEX"; then
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
15837 $as_echo "$OCAMLLEX" >&6; }
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15840 $as_echo "no" >&6; }
15845 if test -z "$ac_cv_path_OCAMLLEX"; then
15846 ac_pt_OCAMLLEX
=$OCAMLLEX
15847 # Extract the first word of "ocamllex", so it can be a program name with args.
15848 set dummy ocamllex
; ac_word
=$2
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15850 $as_echo_n "checking for $ac_word... " >&6; }
15851 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
15852 $as_echo_n "(cached) " >&6
15854 case $ac_pt_OCAMLLEX in
15856 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
15859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15860 for as_dir
in $PATH
15863 test -z "$as_dir" && as_dir
=.
15864 for ac_exec_ext
in '' $ac_executable_extensions; do
15865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15866 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
15867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15877 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
15878 if test -n "$ac_pt_OCAMLLEX"; then
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
15880 $as_echo "$ac_pt_OCAMLLEX" >&6; }
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15883 $as_echo "no" >&6; }
15886 if test "x$ac_pt_OCAMLLEX" = x
; then
15889 case $cross_compiling:$ac_tool_warned in
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15893 ac_tool_warned
=yes ;;
15895 OCAMLLEX
=$ac_pt_OCAMLLEX
15898 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
15901 if test "$OCAMLLEX" != "no"; then
15902 if test -n "$ac_tool_prefix"; then
15903 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
15904 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15906 $as_echo_n "checking for $ac_word... " >&6; }
15907 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
15908 $as_echo_n "(cached) " >&6
15910 case $OCAMLLEXDOTOPT in
15912 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
15915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15916 for as_dir
in $PATH
15919 test -z "$as_dir" && as_dir
=.
15920 for ac_exec_ext
in '' $ac_executable_extensions; do
15921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15922 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
15923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15933 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
15934 if test -n "$OCAMLLEXDOTOPT"; then
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
15936 $as_echo "$OCAMLLEXDOTOPT" >&6; }
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15939 $as_echo "no" >&6; }
15944 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
15945 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
15946 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
15947 set dummy ocamllex.opt
; ac_word
=$2
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15949 $as_echo_n "checking for $ac_word... " >&6; }
15950 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
15951 $as_echo_n "(cached) " >&6
15953 case $ac_pt_OCAMLLEXDOTOPT in
15955 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
15958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15959 for as_dir
in $PATH
15962 test -z "$as_dir" && as_dir
=.
15963 for ac_exec_ext
in '' $ac_executable_extensions; do
15964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15965 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
15966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15976 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
15977 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
15979 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15982 $as_echo "no" >&6; }
15985 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
15986 OCAMLLEXDOTOPT
="no"
15988 case $cross_compiling:$ac_tool_warned in
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15992 ac_tool_warned
=yes ;;
15994 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
15997 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
16000 if test "$OCAMLLEXDOTOPT" != "no"; then
16001 OCAMLLEX
=$OCAMLLEXDOTOPT
16007 elif test "x$PDFLATEX" = xocamlyacc
-a "xPDFLATEX" = xOCAMLYACC
; then :
16008 if test -n "$ac_tool_prefix"; then
16009 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
16010 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16012 $as_echo_n "checking for $ac_word... " >&6; }
16013 if ${ac_cv_path_OCAMLYACC+:} false
; then :
16014 $as_echo_n "(cached) " >&6
16018 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
16021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16022 for as_dir
in $PATH
16025 test -z "$as_dir" && as_dir
=.
16026 for ac_exec_ext
in '' $ac_executable_extensions; do
16027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16028 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
16029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16039 OCAMLYACC
=$ac_cv_path_OCAMLYACC
16040 if test -n "$OCAMLYACC"; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
16042 $as_echo "$OCAMLYACC" >&6; }
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16045 $as_echo "no" >&6; }
16050 if test -z "$ac_cv_path_OCAMLYACC"; then
16051 ac_pt_OCAMLYACC
=$OCAMLYACC
16052 # Extract the first word of "ocamlyacc", so it can be a program name with args.
16053 set dummy ocamlyacc
; ac_word
=$2
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16055 $as_echo_n "checking for $ac_word... " >&6; }
16056 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
16057 $as_echo_n "(cached) " >&6
16059 case $ac_pt_OCAMLYACC in
16061 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
16064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16065 for as_dir
in $PATH
16068 test -z "$as_dir" && as_dir
=.
16069 for ac_exec_ext
in '' $ac_executable_extensions; do
16070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16071 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
16072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16082 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
16083 if test -n "$ac_pt_OCAMLYACC"; then
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
16085 $as_echo "$ac_pt_OCAMLYACC" >&6; }
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16088 $as_echo "no" >&6; }
16091 if test "x$ac_pt_OCAMLYACC" = x
; then
16094 case $cross_compiling:$ac_tool_warned in
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16098 ac_tool_warned
=yes ;;
16100 OCAMLYACC
=$ac_pt_OCAMLYACC
16103 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
16110 if test -n "$ac_tool_prefix"; then
16111 # Extract the first word of "${ac_tool_prefix}[$]PDFLATEX", so it can be a program name with args.
16112 set dummy
${ac_tool_prefix}$PDFLATEX; ac_word
=$2
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16114 $as_echo_n "checking for $ac_word... " >&6; }
16115 if ${ac_cv_path_PDFLATEX+:} false
; then :
16116 $as_echo_n "(cached) " >&6
16120 ac_cv_path_PDFLATEX
="$PDFLATEX" # Let the user override the test with a path.
16123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16124 for as_dir
in $PATH
16127 test -z "$as_dir" && as_dir
=.
16128 for ac_exec_ext
in '' $ac_executable_extensions; do
16129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16130 ac_cv_path_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16141 PDFLATEX
=$ac_cv_path_PDFLATEX
16142 if test -n "$PDFLATEX"; then
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
16144 $as_echo "$PDFLATEX" >&6; }
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16147 $as_echo "no" >&6; }
16152 if test -z "$ac_cv_path_PDFLATEX"; then
16153 ac_pt_PDFLATEX
=$PDFLATEX
16154 # Extract the first word of "[$]PDFLATEX", so it can be a program name with args.
16155 set dummy
$PDFLATEX; ac_word
=$2
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16157 $as_echo_n "checking for $ac_word... " >&6; }
16158 if ${ac_cv_path_ac_pt_PDFLATEX+:} false
; then :
16159 $as_echo_n "(cached) " >&6
16161 case $ac_pt_PDFLATEX in
16163 ac_cv_path_ac_pt_PDFLATEX
="$ac_pt_PDFLATEX" # Let the user override the test with a path.
16166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16167 for as_dir
in $PATH
16170 test -z "$as_dir" && as_dir
=.
16171 for ac_exec_ext
in '' $ac_executable_extensions; do
16172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16173 ac_cv_path_ac_pt_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16184 ac_pt_PDFLATEX
=$ac_cv_path_ac_pt_PDFLATEX
16185 if test -n "$ac_pt_PDFLATEX"; then
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PDFLATEX" >&5
16187 $as_echo "$ac_pt_PDFLATEX" >&6; }
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16190 $as_echo "no" >&6; }
16193 if test "x$ac_pt_PDFLATEX" = x
; then
16196 case $cross_compiling:$ac_tool_warned in
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16200 ac_tool_warned
=yes ;;
16202 PDFLATEX
=$ac_pt_PDFLATEX
16205 PDFLATEX
="$ac_cv_path_PDFLATEX"
16214 if test -z "$PDFLATEX" -o "x$PDFLATEX" = xno
; then :
16215 if test "x$with_PDFLATEX" = xyes
; then :
16216 as_fn_error $?
"--with=pdflatex is given explicitly but not found" "$LINENO" 5
16220 if test -n "$COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex"; then :
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: pdflatex not found. Trying substitute $COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex." >&5
16222 $as_echo "$as_me: pdflatex not found. Trying substitute $COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex." >&6;}
16223 PDFLATEX
="$COCCI_SRCDIR/setup/fake-pdflatex.sh pdflatex"
16225 if test "xpdflatex" = xpkg-config
-a "xPDFLATEX" = xPKG_CONFIG
; then :
16233 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16234 if test -n "$ac_tool_prefix"; then
16235 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16236 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16238 $as_echo_n "checking for $ac_word... " >&6; }
16239 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16240 $as_echo_n "(cached) " >&6
16242 case $PKG_CONFIG in
16244 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16248 for as_dir
in $PATH
16251 test -z "$as_dir" && as_dir
=.
16252 for ac_exec_ext
in '' $ac_executable_extensions; do
16253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16254 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16265 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16266 if test -n "$PKG_CONFIG"; then
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16268 $as_echo "$PKG_CONFIG" >&6; }
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16271 $as_echo "no" >&6; }
16276 if test -z "$ac_cv_path_PKG_CONFIG"; then
16277 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16278 # Extract the first word of "pkg-config", so it can be a program name with args.
16279 set dummy pkg-config
; ac_word
=$2
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16281 $as_echo_n "checking for $ac_word... " >&6; }
16282 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16283 $as_echo_n "(cached) " >&6
16285 case $ac_pt_PKG_CONFIG in
16287 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16291 for as_dir
in $PATH
16294 test -z "$as_dir" && as_dir
=.
16295 for ac_exec_ext
in '' $ac_executable_extensions; do
16296 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16297 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16309 if test -n "$ac_pt_PKG_CONFIG"; then
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16311 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16314 $as_echo "no" >&6; }
16317 if test "x$ac_pt_PKG_CONFIG" = x
; then
16320 case $cross_compiling:$ac_tool_warned in
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16324 ac_tool_warned
=yes ;;
16326 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16329 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16333 if test -n "$PKG_CONFIG"; then
16334 _pkg_min_version
=0.9.0
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16336 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16339 $as_echo "yes" >&6; }
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342 $as_echo "no" >&6; }
16347 elif test "xpdflatex" = xocamllex
-a "xPDFLATEX" = xOCAMLLEX
; then :
16348 # checking for ocamllex
16349 if test -n "$ac_tool_prefix"; then
16350 # Extract the first word of "${ac_tool_prefix}ocamllex", so it can be a program name with args.
16351 set dummy
${ac_tool_prefix}ocamllex
; ac_word
=$2
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16353 $as_echo_n "checking for $ac_word... " >&6; }
16354 if ${ac_cv_path_OCAMLLEX+:} false
; then :
16355 $as_echo_n "(cached) " >&6
16359 ac_cv_path_OCAMLLEX
="$OCAMLLEX" # Let the user override the test with a path.
16362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16363 for as_dir
in $PATH
16366 test -z "$as_dir" && as_dir
=.
16367 for ac_exec_ext
in '' $ac_executable_extensions; do
16368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16369 ac_cv_path_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
16370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16380 OCAMLLEX
=$ac_cv_path_OCAMLLEX
16381 if test -n "$OCAMLLEX"; then
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEX" >&5
16383 $as_echo "$OCAMLLEX" >&6; }
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16386 $as_echo "no" >&6; }
16391 if test -z "$ac_cv_path_OCAMLLEX"; then
16392 ac_pt_OCAMLLEX
=$OCAMLLEX
16393 # Extract the first word of "ocamllex", so it can be a program name with args.
16394 set dummy ocamllex
; ac_word
=$2
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16396 $as_echo_n "checking for $ac_word... " >&6; }
16397 if ${ac_cv_path_ac_pt_OCAMLLEX+:} false
; then :
16398 $as_echo_n "(cached) " >&6
16400 case $ac_pt_OCAMLLEX in
16402 ac_cv_path_ac_pt_OCAMLLEX
="$ac_pt_OCAMLLEX" # Let the user override the test with a path.
16405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16406 for as_dir
in $PATH
16409 test -z "$as_dir" && as_dir
=.
16410 for ac_exec_ext
in '' $ac_executable_extensions; do
16411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16412 ac_cv_path_ac_pt_OCAMLLEX
="$as_dir/$ac_word$ac_exec_ext"
16413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16423 ac_pt_OCAMLLEX
=$ac_cv_path_ac_pt_OCAMLLEX
16424 if test -n "$ac_pt_OCAMLLEX"; then
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEX" >&5
16426 $as_echo "$ac_pt_OCAMLLEX" >&6; }
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16429 $as_echo "no" >&6; }
16432 if test "x$ac_pt_OCAMLLEX" = x
; then
16435 case $cross_compiling:$ac_tool_warned in
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16439 ac_tool_warned
=yes ;;
16441 OCAMLLEX
=$ac_pt_OCAMLLEX
16444 OCAMLLEX
="$ac_cv_path_OCAMLLEX"
16447 if test "$OCAMLLEX" != "no"; then
16448 if test -n "$ac_tool_prefix"; then
16449 # Extract the first word of "${ac_tool_prefix}ocamllex.opt", so it can be a program name with args.
16450 set dummy
${ac_tool_prefix}ocamllex.opt
; ac_word
=$2
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16452 $as_echo_n "checking for $ac_word... " >&6; }
16453 if ${ac_cv_path_OCAMLLEXDOTOPT+:} false
; then :
16454 $as_echo_n "(cached) " >&6
16456 case $OCAMLLEXDOTOPT in
16458 ac_cv_path_OCAMLLEXDOTOPT
="$OCAMLLEXDOTOPT" # Let the user override the test with a path.
16461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16462 for as_dir
in $PATH
16465 test -z "$as_dir" && as_dir
=.
16466 for ac_exec_ext
in '' $ac_executable_extensions; do
16467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16468 ac_cv_path_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
16469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16479 OCAMLLEXDOTOPT
=$ac_cv_path_OCAMLLEXDOTOPT
16480 if test -n "$OCAMLLEXDOTOPT"; then
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLLEXDOTOPT" >&5
16482 $as_echo "$OCAMLLEXDOTOPT" >&6; }
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16485 $as_echo "no" >&6; }
16490 if test -z "$ac_cv_path_OCAMLLEXDOTOPT"; then
16491 ac_pt_OCAMLLEXDOTOPT
=$OCAMLLEXDOTOPT
16492 # Extract the first word of "ocamllex.opt", so it can be a program name with args.
16493 set dummy ocamllex.opt
; ac_word
=$2
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16495 $as_echo_n "checking for $ac_word... " >&6; }
16496 if ${ac_cv_path_ac_pt_OCAMLLEXDOTOPT+:} false
; then :
16497 $as_echo_n "(cached) " >&6
16499 case $ac_pt_OCAMLLEXDOTOPT in
16501 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$ac_pt_OCAMLLEXDOTOPT" # Let the user override the test with a path.
16504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16505 for as_dir
in $PATH
16508 test -z "$as_dir" && as_dir
=.
16509 for ac_exec_ext
in '' $ac_executable_extensions; do
16510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16511 ac_cv_path_ac_pt_OCAMLLEXDOTOPT
="$as_dir/$ac_word$ac_exec_ext"
16512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16522 ac_pt_OCAMLLEXDOTOPT
=$ac_cv_path_ac_pt_OCAMLLEXDOTOPT
16523 if test -n "$ac_pt_OCAMLLEXDOTOPT"; then
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLLEXDOTOPT" >&5
16525 $as_echo "$ac_pt_OCAMLLEXDOTOPT" >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16528 $as_echo "no" >&6; }
16531 if test "x$ac_pt_OCAMLLEXDOTOPT" = x
; then
16532 OCAMLLEXDOTOPT
="no"
16534 case $cross_compiling:$ac_tool_warned in
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16538 ac_tool_warned
=yes ;;
16540 OCAMLLEXDOTOPT
=$ac_pt_OCAMLLEXDOTOPT
16543 OCAMLLEXDOTOPT
="$ac_cv_path_OCAMLLEXDOTOPT"
16546 if test "$OCAMLLEXDOTOPT" != "no"; then
16547 OCAMLLEX
=$OCAMLLEXDOTOPT
16553 elif test "xpdflatex" = xocamlyacc
-a "xPDFLATEX" = xOCAMLYACC
; then :
16554 if test -n "$ac_tool_prefix"; then
16555 # Extract the first word of "${ac_tool_prefix}ocamlyacc", so it can be a program name with args.
16556 set dummy
${ac_tool_prefix}ocamlyacc
; ac_word
=$2
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16558 $as_echo_n "checking for $ac_word... " >&6; }
16559 if ${ac_cv_path_OCAMLYACC+:} false
; then :
16560 $as_echo_n "(cached) " >&6
16564 ac_cv_path_OCAMLYACC
="$OCAMLYACC" # Let the user override the test with a path.
16567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16568 for as_dir
in $PATH
16571 test -z "$as_dir" && as_dir
=.
16572 for ac_exec_ext
in '' $ac_executable_extensions; do
16573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16574 ac_cv_path_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
16575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16585 OCAMLYACC
=$ac_cv_path_OCAMLYACC
16586 if test -n "$OCAMLYACC"; then
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCAMLYACC" >&5
16588 $as_echo "$OCAMLYACC" >&6; }
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16591 $as_echo "no" >&6; }
16596 if test -z "$ac_cv_path_OCAMLYACC"; then
16597 ac_pt_OCAMLYACC
=$OCAMLYACC
16598 # Extract the first word of "ocamlyacc", so it can be a program name with args.
16599 set dummy ocamlyacc
; ac_word
=$2
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16601 $as_echo_n "checking for $ac_word... " >&6; }
16602 if ${ac_cv_path_ac_pt_OCAMLYACC+:} false
; then :
16603 $as_echo_n "(cached) " >&6
16605 case $ac_pt_OCAMLYACC in
16607 ac_cv_path_ac_pt_OCAMLYACC
="$ac_pt_OCAMLYACC" # Let the user override the test with a path.
16610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16611 for as_dir
in $PATH
16614 test -z "$as_dir" && as_dir
=.
16615 for ac_exec_ext
in '' $ac_executable_extensions; do
16616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16617 ac_cv_path_ac_pt_OCAMLYACC
="$as_dir/$ac_word$ac_exec_ext"
16618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16628 ac_pt_OCAMLYACC
=$ac_cv_path_ac_pt_OCAMLYACC
16629 if test -n "$ac_pt_OCAMLYACC"; then
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_OCAMLYACC" >&5
16631 $as_echo "$ac_pt_OCAMLYACC" >&6; }
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16634 $as_echo "no" >&6; }
16637 if test "x$ac_pt_OCAMLYACC" = x
; then
16640 case $cross_compiling:$ac_tool_warned in
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16644 ac_tool_warned
=yes ;;
16646 OCAMLYACC
=$ac_pt_OCAMLYACC
16649 OCAMLYACC
="$ac_cv_path_OCAMLYACC"
16656 if test -n "$ac_tool_prefix"; then
16657 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
16658 set dummy
${ac_tool_prefix}pdflatex
; ac_word
=$2
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16660 $as_echo_n "checking for $ac_word... " >&6; }
16661 if ${ac_cv_path_PDFLATEX+:} false
; then :
16662 $as_echo_n "(cached) " >&6
16666 ac_cv_path_PDFLATEX
="$PDFLATEX" # Let the user override the test with a path.
16669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16670 for as_dir
in $PATH
16673 test -z "$as_dir" && as_dir
=.
16674 for ac_exec_ext
in '' $ac_executable_extensions; do
16675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16676 ac_cv_path_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16687 PDFLATEX
=$ac_cv_path_PDFLATEX
16688 if test -n "$PDFLATEX"; then
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
16690 $as_echo "$PDFLATEX" >&6; }
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16693 $as_echo "no" >&6; }
16698 if test -z "$ac_cv_path_PDFLATEX"; then
16699 ac_pt_PDFLATEX
=$PDFLATEX
16700 # Extract the first word of "pdflatex", so it can be a program name with args.
16701 set dummy pdflatex
; ac_word
=$2
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16703 $as_echo_n "checking for $ac_word... " >&6; }
16704 if ${ac_cv_path_ac_pt_PDFLATEX+:} false
; then :
16705 $as_echo_n "(cached) " >&6
16707 case $ac_pt_PDFLATEX in
16709 ac_cv_path_ac_pt_PDFLATEX
="$ac_pt_PDFLATEX" # Let the user override the test with a path.
16712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16713 for as_dir
in $PATH
16716 test -z "$as_dir" && as_dir
=.
16717 for ac_exec_ext
in '' $ac_executable_extensions; do
16718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16719 ac_cv_path_ac_pt_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16730 ac_pt_PDFLATEX
=$ac_cv_path_ac_pt_PDFLATEX
16731 if test -n "$ac_pt_PDFLATEX"; then
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PDFLATEX" >&5
16733 $as_echo "$ac_pt_PDFLATEX" >&6; }
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16736 $as_echo "no" >&6; }
16739 if test "x$ac_pt_PDFLATEX" = x
; then
16742 case $cross_compiling:$ac_tool_warned in
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16746 ac_tool_warned
=yes ;;
16748 PDFLATEX
=$ac_pt_PDFLATEX
16751 PDFLATEX
="$ac_cv_path_PDFLATEX"
16757 SUBSTITUTED_PDFLATEX
=yes
16764 if test -z "$PDFLATEX"; then :
16771 # Check whether --enable-release was given.
16772 if test "${enable_release+set}" = set; then :
16773 enableval
=$enable_release;
16776 if test -z "$enable_release"; then :
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: choosing the development Makefile configuration because the release configuration is not explicitly requested." >&5
16778 $as_echo "$as_me: choosing the development Makefile configuration because the release configuration is not explicitly requested." >&6;}
16785 if test "x$enable_release" = xyes
; then :
16786 MAKETARGET_ALL
=all-release
16789 elif test "x$enable_release" = xno
; then :
16790 MAKETARGET_ALL
=all-dev
16793 elif test "x$enable_release" = xprofile
; then :
16794 if test -z "$OCAMLPROF" -o "x$OCAMLPROF" = xno
; then :
16795 as_fn_error $?
"ocamlprof is required for profiling, but is absent." "$LINENO" 5
16799 MAKETARGET_ALL
=all-dev
16801 OCAMLC
="$COCCI_SRCDIR/setup/wrapper-ocamlcp.sh $OCAMLCORIG $OCAMLPROF"
16803 MODULES_profiling
=profiling.cmo
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: configured coccinelle for profiling" >&5
16806 $as_echo "$as_me: configured coccinelle for profiling" >&6;}
16809 MAKETARGET_ALL
="$enable_release"
16814 # Check whether --enable-opt was given.
16815 if test "${enable_opt+set}" = set; then :
16816 enableval
=$enable_opt;
16819 if test "x$OCAMLOPT" = xno
-a "x$enable_opt" != xno
; then :
16820 if test -n "$enable_release" -a "x$enable_release" != xyes
-a "x$enable_release" != xno
; then :
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ensure that make target $enable_release does not depend on the unavailable ocamlopt" >&5
16822 $as_echo "$as_me: warning: ensure that make target $enable_release does not depend on the unavailable ocamlopt" >&6;}
16824 elif test "x$enable_opt" = xyes
; then :
16825 as_fn_error $?
"the optimized version of coccinelle is requested explicitly, but ocamlopt is absent" "$LINENO" 5
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: the optimized version of coccinelle will not be build because ocamlopt is not present" >&5
16829 $as_echo "$as_me: the optimized version of coccinelle will not be build because ocamlopt is not present" >&6;}
16837 if test "x$OCAMLVERSION" = x3.11
.2 -a -z "$enable_opt"; then :
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: the optimized version of coccinelle will not be build by default due to OCaml version $OCAMLVERSION" >&5
16839 $as_echo "$as_me: the optimized version of coccinelle will not be build by default due to OCaml version $OCAMLVERSION" >&6;}
16845 if test "x$OPTIMIZED_dynlink" = xno
-a "x$enable_ocaml" = xyes
; then :
16846 if test -z "$enable_opt"; then :
16847 { $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
16848 $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;}
16852 elif test "x$enable_opt" = xyes
; then :
16853 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
16859 if test -z "$enable_opt"; then :
16860 if test "x$enable_release" = xyes
-o "x$enable_release" = xno
; then :
16861 enable_opt
="$enable_release"
16868 if test "x$enable_opt" = xyes
; then :
16869 SPATCHNAME
=spatch.opt
16871 MAKETARGET_SPATCH
=opt-only
16877 MAKETARGET_SPATCH
=byte-only
16883 # Check whether --enable-ocamlbuild was given.
16884 if test "${enable_ocamlbuild+set}" = set; then :
16885 enableval
=$enable_ocamlbuild;
16888 if test "x$enable_ocamlbuild" = xyes
; then :
16889 if test -z "$OCAMLBUILD" -o "x$OCAMLBUILD" = xno
; then :
16890 as_fn_error $?
"Ocamlbuild is required but is not installed." "$LINENO" 5
16894 FEATURE_OCAMLBUILD
=yes
16898 FEATURE_OCAMLBUILD
=
16905 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 myocamlbuild.ml setup/Makefile"
16908 cat >confcache
<<\_ACEOF
16909 # This file is a shell script that caches the results of configure
16910 # tests run on this system so they can be shared between configure
16911 # scripts and configure runs, see configure's option --config-cache.
16912 # It is not useful on other systems. If it contains results you don't
16913 # want to keep, you may remove or edit it.
16915 # config.status only pays attention to the cache file if you give it
16916 # the --recheck option to rerun configure.
16918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16920 # following values.
16924 # The following way of writing the cache mishandles newlines in values,
16925 # but we know of no workaround that is simple, portable, and efficient.
16926 # So, we kill variables containing newlines.
16927 # Ultrix sh set writes to stderr and can't be redirected directly,
16928 # and sets the high bit in the cache file unless we assign to the vars.
16930 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16931 eval ac_val
=\$
$ac_var
16935 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16939 _ | IFS | as_nl
) ;; #(
16940 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16941 *) { eval $ac_var=; unset $ac_var;} ;;
16947 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16948 *${as_nl}ac_space
=\
*)
16949 # `set' does not quote correctly, so add quotes: double-quote
16950 # substitution turns \\\\ into \\, and sed turns \\ into \.
16953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16956 # `set' quotes correctly as required by POSIX, so do not add quotes.
16957 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16968 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16970 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16971 if test -w "$cache_file"; then
16972 if test "x$cache_file" != "x/dev/null"; then
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16974 $as_echo "$as_me: updating cache $cache_file" >&6;}
16975 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16976 cat confcache
>"$cache_file"
16978 case $cache_file in #(
16980 mv -f confcache
"$cache_file"$$
&&
16981 mv -f "$cache_file"$$
"$cache_file" ;; #(
16983 mv -f confcache
"$cache_file" ;;
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16989 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16994 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16995 # Let make expand exec_prefix.
16996 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16998 # Transform confdefs.h into DEFS.
16999 # Protect against shell expansion while executing Makefile rules.
17000 # Protect against Makefile macro expansion.
17002 # If the first sed substitution is executed (which looks for macros that
17003 # take arguments), then branch to the quote section. Otherwise,
17004 # look for a macro that doesn't take arguments.
17014 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17016 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17020 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17033 DEFS
=`sed -n "$ac_script" confdefs.h`
17039 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17040 # 1. Remove the extension, and $U if already installed.
17041 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17042 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17043 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17044 # will be set to the directory where LIBOBJS objects are built.
17045 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17046 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17048 LIBOBJS
=$ac_libobjs
17050 LTLIBOBJS
=$ac_ltlibobjs
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17054 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17055 if test -n "$am_sleep_pid"; then
17056 # Hide warnings about reused PIDs.
17057 wait $am_sleep_pid 2>/dev
/null
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17060 $as_echo "done" >&6; }
17061 if test -n "$EXEEXT"; then
17063 am__EXEEXT_FALSE
='#'
17065 am__EXEEXT_TRUE
='#'
17069 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17070 as_fn_error $?
"conditional \"AMDEP\" was never defined.
17071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17073 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17074 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
17075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17078 : "${CONFIG_STATUS=./config.status}"
17080 ac_clean_files_save
=$ac_clean_files
17081 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17083 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17085 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17087 # Generated by $as_me.
17088 # Run this file to recreate the current configuration.
17089 # Compiler output produced by configure, useful for debugging
17090 # configure, is in config.log if it exists.
17093 ac_cs_recheck=false
17096 SHELL=\${CONFIG_SHELL-$SHELL}
17099 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17100 ## -------------------- ##
17101 ## M4sh Initialization. ##
17102 ## -------------------- ##
17104 # Be more Bourne compatible
17105 DUALCASE
=1; export DUALCASE
# for MKS sh
17106 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17109 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17110 # is contrary to our usage. Disable this feature.
17111 alias -g '${1+"$@"}'='"$@"'
17112 setopt NO_GLOB_SUBST
17114 case `(set -o) 2>/dev/null` in #(
17126 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17127 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17129 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17130 # Prefer a ksh shell builtin over an external printf program on Solaris,
17131 # but without wasting forks for bash or zsh.
17132 if test -z "$BASH_VERSION$ZSH_VERSION" \
17133 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17134 as_echo='print
-r --'
17135 as_echo_n='print
-rn --'
17136 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17137 as_echo='printf %s
\n'
17138 as_echo_n='printf %s
'
17140 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17141 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17142 as_echo_n='/usr
/ucb
/echo -n'
17144 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17145 as_echo_n_body='eval
17149 expr "X$arg" : "X\\(.*\\)$as_nl";
17150 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17152 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17154 export as_echo_n_body
17155 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17157 export as_echo_body
17158 as_echo='sh
-c $as_echo_body as_echo
'
17161 # The user is always right.
17162 if test "${PATH_SEPARATOR+set}" != set; then
17164 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17165 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17172 # We need space, tab and new line, in precisely that order. Quoting is
17173 # there to prevent editors from complaining about space-tab.
17174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17175 # splitting by setting IFS to empty value.)
17178 # Find who we are. Look in the path if we contain no directory separator.
17181 *[\\/]* ) as_myself=$0 ;;
17182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17183 for as_dir in $PATH
17186 test -z "$as_dir" && as_dir=.
17187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17193 # We did not find ourselves, most probably we were run as `sh COMMAND'
17194 # in which case we are not to be found in the path.
17195 if test "x$as_myself" = x
; then
17198 if test ! -f "$as_myself"; then
17199 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17203 # Unset variables that we do not need and which cause bugs (e.g. in
17204 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17205 # suppresses any "Segmentation fault" message there. '((' could
17206 # trigger a bug in pdksh 5.2.14.
17207 for as_var
in BASH_ENV ENV MAIL MAILPATH
17208 do eval test x\
${$as_var+set} = xset \
17209 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17222 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17225 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17226 # ----------------------------------------
17227 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17228 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17229 # script with STATUS, using 1 if that was 0.
17232 as_status
=$1; test $as_status -eq 0 && as_status
=1
17234 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17235 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17237 $as_echo "$as_me: error: $2" >&2
17238 as_fn_exit
$as_status
17242 # as_fn_set_status STATUS
17243 # -----------------------
17244 # Set $? to STATUS, without forking.
17245 as_fn_set_status
()
17248 } # as_fn_set_status
17250 # as_fn_exit STATUS
17251 # -----------------
17252 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17256 as_fn_set_status
$1
17262 # Portably unset VAR.
17265 { eval $1=; unset $1;}
17267 as_unset
=as_fn_unset
17268 # as_fn_append VAR VALUE
17269 # ----------------------
17270 # Append the text in VALUE to the end of the definition contained in VAR. Take
17271 # advantage of any shell optimizations that allow amortized linear growth over
17272 # repeated appends, instead of the typical quadratic growth present in naive
17274 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17275 eval 'as_fn_append ()
17286 # as_fn_arith ARG...
17287 # ------------------
17288 # Perform arithmetic evaluation on the ARGs, and store the result in the
17289 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17290 # must be portable across $(()) and expr.
17291 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17292 eval 'as_fn_arith ()
17299 as_val
=`expr "$@" || test $? -eq 1`
17304 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17305 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17311 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17312 as_basename
=basename
17317 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17323 as_me
=`$as_basename -- "$0" ||
17324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17325 X"$0" : 'X\(//\)$' \| \
17326 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17328 sed '/^.*\/\([^/][^/]*\)\/*$/{
17342 # Avoid depending upon Character Ranges.
17343 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17344 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17345 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17346 as_cr_digits
='0123456789'
17347 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17349 ECHO_C
= ECHO_N
= ECHO_T
=
17350 case `echo -n x` in #(((((
17352 case `echo 'xy\c'` in
17353 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17355 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17362 rm -f conf$$ conf$$.exe conf$$.
file
17363 if test -d conf$$.dir
; then
17364 rm -f conf$$.dir
/conf$$.
file
17367 mkdir conf$$.dir
2>/dev
/null
17369 if (echo >conf$$.
file) 2>/dev
/null
; then
17370 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17372 # ... but there are two gotchas:
17373 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17374 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17375 # In both cases, we have to default to `cp -pR'.
17376 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17378 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17386 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17387 rmdir conf$$.dir
2>/dev
/null
17392 # Create "$as_dir" as a directory, including parents if necessary.
17397 -*) as_dir
=.
/$as_dir;;
17399 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17403 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17404 *) as_qdir
=$as_dir;;
17406 as_dirs
="'$as_qdir' $as_dirs"
17407 as_dir
=`$as_dirname -- "$as_dir" ||
17408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17409 X"$as_dir" : 'X\(//\)[^/]' \| \
17410 X"$as_dir" : 'X\(//\)$' \| \
17411 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17412 $as_echo X"$as_dir" |
17413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17417 /^X\(\/\/\)[^/].*/{
17430 test -d "$as_dir" && break
17432 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17433 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17437 if mkdir
-p .
2>/dev
/null
; then
17438 as_mkdir_p
='mkdir -p "$as_dir"'
17440 test -d .
/-p && rmdir .
/-p
17445 # as_fn_executable_p FILE
17446 # -----------------------
17447 # Test if FILE is an executable regular file.
17448 as_fn_executable_p
()
17450 test -f "$1" && test -x "$1"
17451 } # as_fn_executable_p
17452 as_test_x
='test -x'
17453 as_executable_p
=as_fn_executable_p
17455 # Sed expression to map a string onto a valid CPP name.
17456 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17458 # Sed expression to map a string onto a valid variable name.
17459 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17463 ## ----------------------------------- ##
17464 ## Main body of $CONFIG_STATUS script. ##
17465 ## ----------------------------------- ##
17467 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17470 # Save the log message, to keep $0 and so on meaningful, and to
17471 # report actual input values of CONFIG_FILES etc. instead of their
17472 # values after options handling.
17474 This file was extended by coccinelle $as_me 1.0.0-rc15, which was
17475 generated by GNU Autoconf 2.69. Invocation command line was
17477 CONFIG_FILES = $CONFIG_FILES
17478 CONFIG_HEADERS = $CONFIG_HEADERS
17479 CONFIG_LINKS = $CONFIG_LINKS
17480 CONFIG_COMMANDS = $CONFIG_COMMANDS
17483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17488 case $ac_config_files in *"
17489 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17495 # Files that config.status was made for.
17496 config_files="$ac_config_files"
17497 config_commands="$ac_config_commands"
17501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17503 \`$as_me' instantiates files and other configuration actions
17504 from templates according to the current configuration. Unless the files
17505 and actions are specified as TAGs, all are instantiated by default.
17507 Usage: $0 [OPTION]... [TAG]...
17509 -h, --help print this help, then exit
17510 -V, --version print version number and configuration settings, then exit
17511 --config print configuration, then exit
17512 -q, --quiet, --silent
17513 do not print progress messages
17514 -d, --debug don't remove temporary files
17515 --recheck update $as_me by reconfiguring in the same conditions
17516 --file=FILE[:TEMPLATE]
17517 instantiate the configuration file FILE
17519 Configuration files:
17522 Configuration commands:
17525 Report bugs to <cocci@diku.dk>.
17526 coccinelle home page: <http://coccinelle.lip6.fr/>."
17529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17530 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17532 coccinelle config.status 1.0.0-rc15
17533 configured by $0, generated by GNU Autoconf 2.69,
17534 with options \\"\$ac_cs_config\\"
17536 Copyright (C) 2012 Free Software Foundation, Inc.
17537 This config.status script is free software; the Free Software Foundation
17538 gives unlimited permission to copy, distribute and modify it."
17545 test -n "\$AWK" || AWK=awk
17548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17549 # The default lists apply if the user does not specify any file.
17555 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17556 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17560 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17572 # Handling of the options.
17573 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17575 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17576 $as_echo "$ac_cs_version"; exit ;;
17577 --config |
--confi |
--conf |
--con |
--co |
--c )
17578 $as_echo "$ac_cs_config"; exit ;;
17579 --debug |
--debu |
--deb |
--de |
--d |
-d )
17581 --file |
--fil |
--fi |
--f )
17584 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17585 '') as_fn_error $?
"missing file argument" ;;
17587 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17588 ac_need_defaults
=false
;;
17589 --he |
--h |
--help |
--hel |
-h )
17590 $as_echo "$ac_cs_usage"; exit ;;
17591 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17592 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17595 # This is an error.
17596 -*) as_fn_error $?
"unrecognized option: \`$1'
17597 Try \`$0 --help' for more information." ;;
17599 *) as_fn_append ac_config_targets
" $1"
17600 ac_need_defaults
=false
;;
17606 ac_configure_extra_args
=
17608 if $ac_cs_silent; then
17610 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17615 if \$ac_cs_recheck; then
17616 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17618 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17619 CONFIG_SHELL='$SHELL'
17620 export CONFIG_SHELL
17625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17629 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17630 ## Running $as_me. ##
17636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17640 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17646 # Handling of arguments.
17647 for ac_config_target
in $ac_config_targets
17649 case $ac_config_target in
17650 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17651 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
17652 "version.ml") CONFIG_FILES
="$CONFIG_FILES version.ml" ;;
17653 "commons/commands.ml") CONFIG_FILES
="$CONFIG_FILES commons/commands.ml" ;;
17654 "globals/config.ml") CONFIG_FILES
="$CONFIG_FILES globals/config.ml" ;;
17655 "globals/regexp.ml") CONFIG_FILES
="$CONFIG_FILES globals/regexp.ml" ;;
17656 "python/pycocci.ml") CONFIG_FILES
="$CONFIG_FILES python/pycocci.ml" ;;
17657 "ocaml/prepare_ocamlcocci.ml") CONFIG_FILES
="$CONFIG_FILES ocaml/prepare_ocamlcocci.ml" ;;
17658 "scripts/spatch.sh") CONFIG_FILES
="$CONFIG_FILES scripts/spatch.sh" ;;
17659 "docs/spatch.1") CONFIG_FILES
="$CONFIG_FILES docs/spatch.1" ;;
17660 "myocamlbuild.ml") CONFIG_FILES
="$CONFIG_FILES myocamlbuild.ml" ;;
17661 "setup/Makefile") CONFIG_FILES
="$CONFIG_FILES setup/Makefile" ;;
17663 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17668 # If the user did not use the arguments to specify the items to instantiate,
17669 # then the envvar interface is used. Set only those that are not.
17670 # We use the long form for the default assignment because of an extremely
17671 # bizarre bug on SunOS 4.1.3.
17672 if $ac_need_defaults; then
17673 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17674 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17677 # Have a temporary directory for convenience. Make it in the build tree
17678 # simply because there is no reason against having it here, and in addition,
17679 # creating and moving files from /tmp can sometimes cause problems.
17680 # Hook for its removal unless debugging.
17681 # Note that there is a small window in which the directory will not be cleaned:
17682 # after its creation but before its name has been assigned to `$tmp'.
17686 trap 'exit_status=$?
17687 : "${ac_tmp:=$tmp}"
17688 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17690 trap 'as_fn_exit 1' 1 2 13 15
17692 # Create a (secure) tmp directory for tmp files.
17695 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17699 tmp
=.
/conf$$
-$RANDOM
17700 (umask 077 && mkdir
"$tmp")
17701 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17704 # Set up the scripts for CONFIG_FILES section.
17705 # No need to generate them if there are no CONFIG_FILES.
17706 # This happens for instance with `./config.status config.h'.
17707 if test -n "$CONFIG_FILES"; then
17710 ac_cr
=`echo X | tr X '\015'`
17711 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17712 # But we know of no other shell where ac_cr would be empty at this
17713 # point, so we can use a bashism as a fallback.
17714 if test "x$ac_cr" = x
; then
17715 eval ac_cr
=\$
\'\\r
\'
17717 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17718 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17721 ac_cs_awk_cr
=$ac_cr
17724 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17729 echo "cat >conf$$subs.awk <<_ACEOF" &&
17730 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17732 } >conf$$subs.sh ||
17733 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17734 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17736 for ac_last_try in false false false false false :; do
17737 . ./conf$$subs.sh ||
17738 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17740 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17741 if test $ac_delim_n = $ac_delim_num; then
17743 elif $ac_last_try; then
17744 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17746 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17749 rm -f conf$$subs.sh
17751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17752 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17756 s/^/S["/; s
/!.
*/"]=/
17766 s/\(.\{148\}\)..*/\1/
17768 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17773 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17780 s/\(.\{148\}\)..*/\1/
17782 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17786 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17791 ' <conf$$subs.awk | sed '
17796 ' >>$CONFIG_STATUS || ac_write_fail=1
17797 rm -f conf$$subs.awk
17798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17800 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17801 for (key in S) S_is_set[key] = 1
17807 nfields = split(line, field, "@
")
17809 len = length(field[1])
17810 for (i = 2; i < nfields; i++) {
17812 keylen = length(key)
17813 if (S_is_set[key]) {
17815 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17816 len += length(value) + length(field[++i])
17827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17828 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17829 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17832 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17833 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17836 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17837 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17838 # trailing colons and then remove the whole line if VPATH becomes empty
17839 # (actually we leave an empty line to preserve line numbers).
17840 if test "x
$srcdir" = x.; then
17841 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17860 fi # test -n "$CONFIG_FILES"
17863 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17868 :[FHLC]) ac_mode=$ac_tag; continue;;
17870 case $ac_mode$ac_tag in
17872 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17873 :[FH]-) ac_tag=-:-;;
17874 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17891 -) ac_f="$ac_tmp/stdin";;
17892 *) # Look for the file first in the build tree, then in the source tree
17893 # (if the path is not absolute). The absolute path cannot be DOS-style,
17894 # because $ac_f cannot contain `:'.
17898 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17900 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17902 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17903 as_fn_append ac_file_inputs " '$ac_f'"
17906 # Let's still pretend it is `configure' which instantiates (i.e., don't
17907 # use $as_me), people would be surprised to read:
17908 # /* config.h. Generated by config.status. */
17909 configure_input='Generated from '`
17910 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17912 if test x"$ac_file" != x-; then
17913 configure_input="$ac_file.
$configure_input"
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17915 $as_echo "$as_me: creating
$ac_file" >&6;}
17917 # Neutralize special characters interpreted by sed in replacement strings.
17918 case $configure_input in #(
17919 *\&* | *\|* | *\\* )
17920 ac_sed_conf_input=`$as_echo "$configure_input" |
17921 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17922 *) ac_sed_conf_input=$configure_input;;
17926 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17927 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17932 ac_dir=`$as_dirname -- "$ac_file" ||
17933 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17934 X"$ac_file" : 'X\(//\)[^/]' \| \
17935 X"$ac_file" : 'X\(//\)$' \| \
17936 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17937 $as_echo X"$ac_file" |
17938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17942 /^X\(\/\/\)[^/].*/{
17955 as_dir="$ac_dir"; as_fn_mkdir_p
17959 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17961 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17962 # A "..
" for each directory in $ac_dir_suffix.
17963 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17964 case $ac_top_builddir_sub in
17965 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17966 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17969 ac_abs_top_builddir=$ac_pwd
17970 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17971 # for backward compatibility:
17972 ac_top_builddir=$ac_top_build_prefix
17975 .) # We are building in place.
17977 ac_top_srcdir=$ac_top_builddir_sub
17978 ac_abs_top_srcdir=$ac_pwd ;;
17979 [\\/]* | ?:[\\/]* ) # Absolute name.
17980 ac_srcdir=$srcdir$ac_dir_suffix;
17981 ac_top_srcdir=$srcdir
17982 ac_abs_top_srcdir=$srcdir ;;
17983 *) # Relative name.
17984 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17985 ac_top_srcdir=$ac_top_build_prefix$srcdir
17986 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17988 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17998 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17999 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18001 ac_MKDIR_P=$MKDIR_P
18003 [\\/$]* | ?:[\\/]* ) ;;
18004 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18009 # If the template does not know about datarootdir, expand it.
18010 # FIXME: This hack should be removed a few years after 2.60.
18011 ac_datarootdir_hack=; ac_datarootdir_seen=
18022 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
18023 *datarootdir*) ac_datarootdir_seen=yes;;
18024 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
18026 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
18028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18029 ac_datarootdir_hack='
18030 s&@datadir@&$datadir&g
18031 s&@docdir@&$docdir&g
18032 s&@infodir@&$infodir&g
18033 s&@localedir@&$localedir&g
18034 s&@mandir@&$mandir&g
18035 s&\\\${datarootdir}&$datarootdir&g' ;;
18039 # Neutralize VPATH when `$srcdir' = `.'.
18040 # Shell code in configure.ac might set extrasub.
18041 # FIXME: do we really want to maintain this feature?
18042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18043 ac_sed_extra="$ac_vpsub
18046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18048 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18049 s|@configure_input@|
$ac_sed_conf_input|
;t t
18050 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18051 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18052 s
&@srcdir@
&$ac_srcdir&;t t
18053 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18054 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18055 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18056 s
&@builddir@
&$ac_builddir&;t t
18057 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18058 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18059 s
&@INSTALL@
&$ac_INSTALL&;t t
18060 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18061 $ac_datarootdir_hack
18063 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18064 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18066 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18067 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18068 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18069 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18071 which seems to be undefined. Please make sure it is defined" >&5
18072 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18073 which seems to be undefined. Please make sure it is defined" >&2;}
18075 rm -f "$ac_tmp/stdin"
18077 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18078 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18084 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18085 $as_echo "$as_me: executing $ac_file commands" >&6;}
18090 case $ac_file$ac_mode in
18091 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18092 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18093 # are listed without --file. Let's play safe and only
enable the
eval
18094 # if we detect the quoting.
18095 case $CONFIG_FILES in
18096 *\'*) eval set x
"$CONFIG_FILES" ;;
18097 *) set x
$CONFIG_FILES ;;
18102 # Strip MF so we end up with the name of the file.
18103 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18104 # Check whether this is an Automake generated Makefile or not.
18105 # We used to match only the files named 'Makefile.in', but
18106 # some people rename them; so instead we look at the file content.
18107 # Grep'ing the first line is not enough: some people post-process
18108 # each Makefile.in and add a new line on top of each file to say so.
18109 # Grep'ing the whole file is not good either: AIX grep has a line
18110 # limit of 2048, but all sed's we know have understand at least 4000.
18111 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18112 dirpart
=`$as_dirname -- "$mf" ||
18113 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18114 X"$mf" : 'X\(//\)[^/]' \| \
18115 X"$mf" : 'X\(//\)$' \| \
18116 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18122 /^X\(\/\/\)[^/].*/{
18138 # Extract the definition of DEPDIR, am__include, and am__quote
18139 # from the Makefile without running 'make'.
18140 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18141 test -z "$DEPDIR" && continue
18142 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18143 test -z "am__include" && continue
18144 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18145 # Find all dependency output files, they are included files with
18146 # $(DEPDIR) in their names. We invoke sed twice because it is the
18147 # simplest approach to changing $(DEPDIR) to its actual value in the
18149 for file in `sed -n "
18150 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18151 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18152 # Make sure the directory exists.
18153 test -f "$dirpart/$file" && continue
18154 fdir
=`$as_dirname -- "$file" ||
18155 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18156 X"$file" : 'X\(//\)[^/]' \| \
18157 X"$file" : 'X\(//\)$' \| \
18158 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18159 $as_echo X"$file" |
18160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18164 /^X\(\/\/\)[^/].*/{
18177 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18178 # echo "creating $dirpart/$file"
18179 echo '# dummy' > "$dirpart/$file"
18191 ac_clean_files
=$ac_clean_files_save
18193 test $ac_write_fail = 0 ||
18194 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18197 # configure is writing to config.log, and then calls config.status.
18198 # config.status does its own redirection, appending to config.log.
18199 # Unfortunately, on DOS this fails, as config.log is still kept open
18200 # by configure, so config.status won't be able to write to it; its
18201 # output is simply discarded. So we exec the FD to /dev/null,
18202 # effectively closing config.log, so it can be properly (re)opened and
18203 # appended to by config.status. When coming back to configure, we
18204 # need to make the FD available again.
18205 if test "$no_create" != yes; then
18207 ac_config_status_args
=
18208 test "$silent" = yes &&
18209 ac_config_status_args
="$ac_config_status_args --quiet"
18211 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18213 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18214 # would make configure fail if this is the last instruction.
18215 $ac_cs_success || as_fn_exit
1
18217 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18219 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: configuration completed" >&5
18224 $as_echo "$as_me: configuration completed" >&6;}
18227 ------------------------------------------------------------------------------
18230 configure flags: $CONFIGURE_FLAGS
18231 findlib: $OCAMLFIND (an actual version is strongly recommended)
18232 menhir: $MENHIR (should be an optional tool)
18233 menhirLib module: $enable_menhirLib (for local package use --disable-menhirLib)
18235 ocaml scripting: $enable_ocaml (overridable with --enable-ocaml)
18236 python scripting: $enable_python (overridable with --enable-python)
18237 pycaml module: $enable_pycaml (for local package use --disable-pycaml)
18239 pcre regexes: $enable_pcre_syntax (overridable with --enable-pcre-syntax)
18240 pcre module: $enable_pcre (for local package use --disable-pcre)
18241 pcre library: $HAVE_PCRE (requires the dev version of libpcre)
18243 release config: $enable_release (strongly recommended to be 'yes', overridable with --enable-release)
18244 optimized spatch: $enable_opt (overridable with --disable-opt)
18246 ------------------------------------------------------------------------------
18247 Coccinelle can now be compiled and installed.
18250 If you compile coccinelle again after source code changes or
18251 configuration changes, you may need to run first:
18254 To compile coccinelle, run:
18257 To install coccinelle, run:
18260 Then, to test coccinelle, run for example:
18261 \$ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
18263 Or when coccinelle is not installed yet:
18264 \$ COCCINELLE_HOME=$(pwd) ./scripts/spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
18267 if test "x$enable_python" != "xno"; then
18269 ------------------------------------------------------------------------------
18270 You may need to set some environment variables so that the python
18271 libraries are found. The frontend 'spatch' sets the following variables:
18273 \$ export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$prefix/lib
18274 \$ export PYTHONPATH=\$PYTHONPATH:$prefix/share/coccinelle/python
18280 ------------------------------------------------------------------------------