summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-07-16 23:05:59 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-07-16 23:05:59 +0100
commit83178a1fe40844c2438bcad871c6cf510bf9c03e (patch)
treea8b97750f996c906c6100b6c3fe057c298ae89cf
parentb28de208697701ec39629a14f23acf37125568e2 (diff)
downloadswig-83178a1fe40844c2438bcad871c6cf510bf9c03e.tar.gz
Correction for detecting invalid Octave options
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ee16ff16e..cc4270ad7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -976,7 +976,7 @@ if test -n "$OCTAVE"; then
for octave_opt in --silent --norc --no-history --no-window-system; do
AC_MSG_CHECKING([if Octave option '${octave_opt}' is supported])
octave_out=`${OCTAVE} ${octave_opt} /dev/null 2>&1 | sed -n '1{/unrecognized/p}'`
- AS_IF([test "x${octave_out}" != x],[
+ AS_IF([test "x${octave_out}" = x],[
AC_MSG_RESULT([yes])
OCTAVE="${OCTAVE} ${octave_opt}"
],[