Configure script now checks for `reatk.ctrlnbac' package.

master
Nicolas Berthier 10 years ago
parent 5506690de5
commit 3b27de8146

29
configure vendored

@ -586,6 +586,7 @@ LIBOBJS
enable_simulator
stdlib_dir
INSTALL
OCAML_PKG_reatk_ctrlNbac
OCAML_PKG_lablgtk2
OCAML_PKG_ocamlgraph
OCAML_PKG_menhirLib
@ -3971,6 +3972,34 @@ $as_echo "not found" >&6; }
$as_echo "$as_me: WARNING: Could not find 'lablgtk2'. The simulator will not be built" >&2;}
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCaml findlib package reatk.ctrlNbac" >&5
$as_echo_n "checking for OCaml findlib package reatk.ctrlNbac... " >&6; }
unset found
unset pkg
found=no
for pkg in reatk.ctrlNbac ; do
if $OCAMLFIND query $pkg >/dev/null 2>/dev/null; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
$as_echo "found" >&6; }
OCAML_PKG_reatk_ctrlNbac=$pkg
found=yes
break
fi
done
if test "$found" = "no" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
$as_echo "not found" >&6; }
OCAML_PKG_reatk_ctrlNbac=no
fi
if test "${OCAML_PKG_reatk_ctrlNbac}" = "no"; then
as_fn_error $? "Please install reatk package." "$LINENO" 5
fi
if test "$enable_local_stdlib" = "yes"; then
stdlib_dir=$PWD/lib
else

@ -59,6 +59,11 @@ AC_CHECK_OCAML_PKG([lablgtk2])
AC_MSG_WARN([Could not find 'lablgtk2'. The simulator will not be built])
fi
AC_CHECK_OCAML_PKG([reatk.ctrlNbac])
if test "${OCAML_PKG_reatk_ctrlNbac}" = "no"; then
AC_MSG_ERROR([Please install reatk package.])
fi
if test "$enable_local_stdlib" = "yes"; then
stdlib_dir=$PWD/lib
else

Loading…
Cancel
Save