summaryrefslogtreecommitdiffstats
path: root/kalzium/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/configure.in.in')
-rw-r--r--kalzium/configure.in.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/kalzium/configure.in.in b/kalzium/configure.in.in
index 24a74adc..9d44e5dd 100644
--- a/kalzium/configure.in.in
+++ b/kalzium/configure.in.in
@@ -45,11 +45,14 @@ if test "x$with_ocamlsolver" != xno; then
EQCHEM_SUB=
OCAMLLIB=
+ OCAMLLIB_FLAGS=
EQCHEM_LDADD=
if test "$eqchem_enabled" = "yes"; then
EQCHEM_SUB=solver
OCAMLLIB=`ocamlc -where`
+ OCAMLLIB_FLAGS=-L$(OCAMLLIB)
FACILELIB=`ocamlc -where`/facile
+ FACILELIB_FLAGS=-L$(FACILELIB)
EQCHEM_LDADD="-lasmrun -lnums -lm -ldl solver.o modwrap.o"
AC_DEFINE(HAVE_FACILE, 1)
@@ -58,6 +61,8 @@ if test "x$with_ocamlsolver" != xno; then
AC_SUBST(EQCHEM_SUB)
AC_SUBST(OCAMLLIB)
AC_SUBST(FACILELIB)
+ AC_SUBST(OCAMLLIB_FLAGS)
+ AC_SUBST(FACILELIB_FLAGS)
AC_SUBST(EQCHEM_LDADD)
if test "$eqchem_enabled" = "yes"; then