configure fix for when more than one version of jni_md.h is found in the Java include directory.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-12-10 23:04:55 +00:00
commit e590dfc3c5

View file

@ -743,7 +743,7 @@ else
if test "$JAVAMDDIR" = "" ; then
AC_MSG_RESULT(not found)
else
JAVAMDDIR=`dirname "$JAVAMDDIR"`
JAVAMDDIR=`dirname "$JAVAMDDIR" | tail -n 1`
JAVAINC="${JAVAINC} -I\"$JAVAMDDIR\""
AC_MSG_RESULT($JAVAMDDIR)
fi