INSTALLDIR = $(LIBDIR)/mlminidom
OBJECTS = minidom.cmi minidom.cmo ml_minidom.o ominidom.cmi ominidom.cmo
OBJECTS_OPT = minidom.cmx ominidom.cmx
-INST = minidom.o ominidom.o ml_minidom.h minidom.mli
+INST = minidom.o ominidom.o ml_minidom.h minidom.mli ml_minidom.h
DIST_FILES = Makefile.in configure.in configure *.ml *.mli test.xml ml_minidom.c ml_minidom.h
DOC_FILES = AUTHORS COPYING ChangeLog NEWS README
AC_MSG_ERROR(could not find ocamlc in PATH, please make sure ocaml is installed)
fi
-
AC_MSG_CHECKING("for the ocaml library dir")
OCAML_LIB_DIR=`ocamlc -v | grep "^Standard" | sed 's/^.*: *//'`
AC_MSG_RESULT($OCAML_LIB_DIR)
AC_CHECK_FILE(/usr/include/caml/mlvalues.h,
OCAML_INCLUDE_DIR=/usr/include/caml,
- OCAML_INCLUDE_DIR=$OCAML_LIB_DIR
+ OCAML_INCLUDE_DIR=$OCAML_LIB_DIR/caml
)
AC_SUBST(PACKAGE)