Commit f57ea80c authored by POGODALLA Sylvain's avatar POGODALLA Sylvain

No commit message

No commit message
parent a8e982f5
...@@ -516,7 +516,7 @@ s,@OCAMLP4@,|#_!!_#|camlp4o,g ...@@ -516,7 +516,7 @@ s,@OCAMLP4@,|#_!!_#|camlp4o,g
s,@OCAMLDOC@,|#_!!_#|ocamldoc.opt,g s,@OCAMLDOC@,|#_!!_#|ocamldoc.opt,g
s,@OCAMLDEP@,|#_!!_#|ocamldep.opt,g s,@OCAMLDEP@,|#_!!_#|ocamldep.opt,g
s,@OCAMLLEX@,|#_!!_#|ocamllex.opt,g s,@OCAMLLEX@,|#_!!_#|ocamllex.opt,g
s,@DYPGEN@,|#_!!_#|dypgen,g s,@DYPGEN@,|#_!!_#|dypgen.opt,g
s,@TYPES@,|#_!!_#|-dtypes,g s,@TYPES@,|#_!!_#|-dtypes,g
s,@OCAML09WARNINGS@,|#_!!_#|-w yz,g s,@OCAML09WARNINGS@,|#_!!_#|-w yz,g
s,@OCAMLP4_LOC@,|#_!!_#|-loc loc,g s,@OCAMLP4_LOC@,|#_!!_#|-loc loc,g
......
...@@ -54,7 +54,7 @@ fi ...@@ -54,7 +54,7 @@ fi
# AC_MSG_ERROR(Cannot find ocamlyacc) # AC_MSG_ERROR(Cannot find ocamlyacc)
#fi #fi
AC_CHECK_PROG(DYPGEN,dypgen.opt,dypgen,no) AC_CHECK_PROGS(DYPGEN,dypgen.opt dypgen,no)
if test "$DYPGEN" = no ; then if test "$DYPGEN" = no ; then
AC_MSG_ERROR(Cannot find dypgen) AC_MSG_ERROR(Cannot find dypgen)
fi fi
......
...@@ -1981,8 +1981,10 @@ fi ...@@ -1981,8 +1981,10 @@ fi
# AC_MSG_ERROR(Cannot find ocamlyacc) # AC_MSG_ERROR(Cannot find ocamlyacc)
#fi #fi
# Extract the first word of "dypgen.opt", so it can be a program name with args. for ac_prog in dypgen.opt dypgen
set dummy dypgen.opt; ac_word=$2 do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 { echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_DYPGEN+set}" = set; then if test "${ac_cv_prog_DYPGEN+set}" = set; then
...@@ -1998,7 +2000,7 @@ do ...@@ -1998,7 +2000,7 @@ do
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_DYPGEN="dypgen" ac_cv_prog_DYPGEN="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2 break 2
fi fi
...@@ -2006,7 +2008,6 @@ done ...@@ -2006,7 +2008,6 @@ done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$ac_cv_prog_DYPGEN" && ac_cv_prog_DYPGEN="no"
fi fi
fi fi
DYPGEN=$ac_cv_prog_DYPGEN DYPGEN=$ac_cv_prog_DYPGEN
...@@ -2019,6 +2020,10 @@ echo "${ECHO_T}no" >&6; } ...@@ -2019,6 +2020,10 @@ echo "${ECHO_T}no" >&6; }
fi fi
test -n "$DYPGEN" && break
done
test -n "$DYPGEN" || DYPGEN="no"
if test "$DYPGEN" = no ; then if test "$DYPGEN" = no ; then
{ { echo "$as_me:$LINENO: error: Cannot find dypgen" >&5 { { echo "$as_me:$LINENO: error: Cannot find dypgen" >&5
echo "$as_me: error: Cannot find dypgen" >&2;} echo "$as_me: error: Cannot find dypgen" >&2;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment