Skip to content
Snippets Groups Projects
Commit 3f674f0f authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Enforce minimal Octave version in the configure script

parent e2c2f2d9
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ if test "x$MKOCTFILE" != "x"; then
CXXFLAGS=`$MKOCTFILE -p CXXFLAGS`
LDFLAGS="`$MKOCTFILE -p LFLAGS` `$MKOCTFILE -p LDFLAGS`"
OCTAVE_VERSION=`$MKOCTFILE -v 2>&1 | sed 's/mkoctfile, version //'`
AX_COMPARE_VERSION([$OCTAVE_VERSION], [lt], [3.6], [AC_MSG_ERROR([Your Octave is too old, please upgrade to version 3.6 at least.])])
AX_COMPARE_VERSION([$OCTAVE_VERSION], [lt], [4.2], [AC_MSG_ERROR([Your Octave is too old, please upgrade to version 4.2 at least.])])
fi
CFLAGS="$CFLAGS -Wall -Wno-parentheses"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment