Merge pull request #462 from mtmiller/fix-mkoctfile

Octave: use correct mkoctfile executable
This commit is contained in:
Karl Wette 2015-07-17 09:32:49 +02:00
commit 53feb8ee3a

View file

@ -1030,7 +1030,7 @@ fi
if test -n "$OCTAVE"; then
AC_MSG_CHECKING([for mkoctfile])
mkoctfile="`dirname ${OCTAVE}`/mkoctfile"
mkoctfile="$(dirname $OCTAVE)/$(basename $OCTAVE | sed -e 's/octave/mkoctfile/')"
AS_IF([test -x "${mkoctfile}"],[
AC_MSG_RESULT([${mkoctfile}])
],[