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:
parent
336e8a351e
commit
13da1e3d2b
1 changed files with 4 additions and 0 deletions
|
|
@ -1089,6 +1089,10 @@ fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Ocaml header files)
|
AC_MSG_CHECKING(for Ocaml header files)
|
||||||
dirs="/usr/lib/ocaml/caml /usr/local/lib/ocaml/caml"
|
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
|
for i in $dirs; do
|
||||||
if test -r $i/mlvalues.h; then
|
if test -r $i/mlvalues.h; then
|
||||||
AC_MSG_RESULT($i)
|
AC_MSG_RESULT($i)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue