We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98057ff commit 2241321Copy full SHA for 2241321
src/configure.ac
@@ -29,11 +29,11 @@ AC_CANONICAL_TARGET
29
AC_PROG_SED
30
AC_PROG_GREP
31
32
-AC_PATH_PROG([MKOCTFILE], [mkoctfile])
33
-if test -z "$MKOCTFILE"; then
+AC_CHECK_TOOL([MKOCTFILE], [mkoctfile], [none])
+if [ test "x$MKOCTFILE" = "xnone" ]; then
34
AC_MSG_ERROR([*** 'mkoctfile' not found.])
35
fi
36
-AC_CHECK_PROG(OCTAVE_CONFIG,octave-config,octave-config)
+AC_CHECK_TOOL([OCTAVE_CONFIG], [octave-config] ,[])
37
test -z "$OCTAVE_CONFIG" && OCTAVE_CONFIG=$MKOCTFILE
38
39
CXX=`${MKOCTFILE} -p CXX`
0 commit comments