diff --git a/configure b/configure index c7aa3d262..f9f6ba0ce 100755 --- a/configure +++ b/configure @@ -3019,13 +3019,13 @@ fi # Define these variables, but turn them off in main version of code # build_with_f2c=0 -if test -n $BUILD_WITH_F2C ; then - if test $BUILD_WITH_F2C = "y" -o $BUILD_WITH_F2C = "Y" ; then +if test -n "$BUILD_WITH_F2C" ; then + if test "$BUILD_WITH_F2C" = "y" -o "$BUILD_WITH_F2C" = "Y" ; then build_with_f2c=1 - elif test $BUILD_WITH_F2C = "n" -o $BUILD_WITH_F2C = "N" ; then + elif test "$BUILD_WITH_F2C" = "n" -o "$BUILD_WITH_F2C" = "N" ; then build_with_f2c=0 - elif test $BUILD_WITH_F2C = "default" ; then - if test x$OS_IS_WIN = "x1" ; then + elif test "$BUILD_WITH_F2C" = "default" ; then + if test "x$OS_IS_WIN" = "x1" ; then build_with_f2c=1 else build_with_f2c=0 diff --git a/configure.in b/configure.in index d57d0213f..0c760fe9d 100755 --- a/configure.in +++ b/configure.in @@ -1060,7 +1060,7 @@ EOF fi rm -f testf90.f90 AC_MSG_RESULT(${f90type}) - if test -n $BUILD_F90; then + if test "x${BUILD_F90}" != "x0"; then if test "x${has_f90}" = "xno"; then echo " -> cannot build the Fortran 90 interface" BUILD_F90=0 @@ -1237,7 +1237,6 @@ AC_OUTPUT(Makefile \ ext/f2c_blas/Makefile \ ext/f2c_lapack/Makefile \ ext/f2c_math/Makefile \ - ext/recipes/Makefile \ examples/Makefile \ examples/cxx/Makefile \ tools/Makefile \