From e590dfc3c59d5d71b949340f91f65ee93f45fe52 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 10 Dec 2004 23:04:55 +0000 Subject: [PATCH] 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 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 543b23276..491c724ab 100644 --- a/configure.in +++ b/configure.in @@ -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