Committed a patch to find ocaml in a non-standard directory

-- Patch by Blair Zajac


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-11-25 02:12:24 +00:00
commit 13da1e3d2b

View file

@ -1089,6 +1089,10 @@ fi
AC_MSG_CHECKING(for Ocaml header files)
dirs="/usr/lib/ocaml/caml /usr/local/lib/ocaml/caml"
dir="`$OCAMLC -where 2>/dev/null`"
if test "$dir"; then
dirs="$dir/caml $dirs"
fi
for i in $dirs; do
if test -r $i/mlvalues.h; then
AC_MSG_RESULT($i)