Octave: use correct mkoctfile executable
Allow a versioned Octave executable to be configured via --with-octave and the correct corresponding mkoctfile executable to be used.
This commit is contained in:
parent
d49267ca3f
commit
5ab9563c2a
1 changed files with 1 additions and 1 deletions
|
|
@ -1030,7 +1030,7 @@ fi
|
||||||
|
|
||||||
if test -n "$OCTAVE"; then
|
if test -n "$OCTAVE"; then
|
||||||
AC_MSG_CHECKING([for mkoctfile])
|
AC_MSG_CHECKING([for mkoctfile])
|
||||||
mkoctfile="`dirname ${OCTAVE}`/mkoctfile"
|
mkoctfile="$(dirname $OCTAVE)/$(basename $OCTAVE | sed -e 's/octave/mkoctfile/')"
|
||||||
AS_IF([test -x "${mkoctfile}"],[
|
AS_IF([test -x "${mkoctfile}"],[
|
||||||
AC_MSG_RESULT([${mkoctfile}])
|
AC_MSG_RESULT([${mkoctfile}])
|
||||||
],[
|
],[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue