fixed an error in testing MPI. BUILD_MPI may be an empty string.
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 31 Mar 2010 06:12:30 +0000 (01:12 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 31 Mar 2010 06:12:30 +0000 (01:12 -0500)
src/scripts/configure
src/scripts/configure.in

index 51b0afbd27f848103ebb01ed59d9fcce62b9cd82..c499dbc68ad76b72399c3b752a56f6595f6c2648 100755 (executable)
@@ -2455,7 +2455,7 @@ then
   fi
 fi
 
-if test $BUILD_MPI -eq 1
+if test "$BUILD_MPI" -eq 1
 then
 cat > $t <<EOT
 #include "mpi.h"
index 25e3cccea058653754dbd92d65e2eb97eb20115c..f080c24988730bec1d9d4437435af9e5921bc9f8 100644 (file)
@@ -691,7 +691,7 @@ then
   fi
 fi
 
-if test $BUILD_MPI -eq 1
+if test "$BUILD_MPI" -eq 1
 then
 cat > $t <<EOT
 #include "mpi.h"