diff --git a/autoconf/configure.ac b/autoconf/configure.ac index e5c7fd3c..be3578fb 100755 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -256,9 +256,6 @@ AS_IF([test "$ac_cv_path_PYTHON" = "nopython"],AC_MSG_ERROR([could not find pyth AC_PATH_PROG(GNUPLOT, gnuplot, nognuplot) AS_IF([test "$ac_cv_path_GNUPLOT" = "nognuplot"],AC_MSG_NOTICE([could not find gnuplot]),[]) AX_SWIG_BIN([]) -echo $SWIG_BIN -echo -echo AC_PATH_PROG(SWIG, swig, noswig, $SWIG_BIN) echo $SWIG AS_IF([test "$ac_cv_path_SWIG" = "noswig"],AC_MSG_ERROR([could not find swig]),[]) diff --git a/configure b/configure index 486c04e5..a438d119 100755 --- a/configure +++ b/configure @@ -4144,9 +4144,6 @@ fi -echo $SWIG_BIN -echo -echo # Extract the first word of "swig", so it can be a program name with args. set dummy swig; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -4188,6 +4185,7 @@ $as_echo "no" >&6; } fi +echo $SWIG if test "$ac_cv_path_SWIG" = "noswig"; then : as_fn_error $? "could not find swig" "$LINENO" 5 fi