Commit be317174 authored by Steffen Grunewald's avatar Steffen Grunewald 💬

Replace query for octave_prefix: -p PREFIX becomes -p OCTAVE_HOME

parent 24322407
......@@ -329,7 +329,9 @@ AC_DEFUN([LALSUITE_USE_SWIG_OCTAVE],[
# is installed in the same directory as Octave, .oct files will be found by
# Octave without having to add to OCTAVE_PATH
AC_MSG_CHECKING([${OCTAVE} .oct installation directory])
octave_prefix=[`${octave_cfg} -p PREFIX 2>/dev/null | ${SED} -e 's|/*$||'`]
# at least in Debian Buster, "HOME" has been dropped in favour of "OCTAVE_HOME"
# should we be worried that Wheezy didn't know about OCTAVE_HOME yet?
octave_prefix=[`${octave_cfg} -p OCTAVE_HOME 2>/dev/null | ${SED} -e 's|/*$||'`]
octexecdir=[`${octave_cfg} -p LOCALVEROCTFILEDIR 2>/dev/null | ${SED} -e 's|/*$||'`]
octexecdir=[`echo ${octexecdir} | ${SED} -e "s|^${octave_prefix}/||"`]
AS_IF([test "x`echo ${octexecdir} | ${SED} -n -e '\|^/|p'`" != x],[
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment