fixed a string to integer comparison.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 1 Apr 2010 15:01:39 +0000 (10:01 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 1 Apr 2010 15:01:39 +0000 (10:01 -0500)
src/scripts/configure
src/scripts/configure.in

index 9b1284d12a2d22a57473c96aa450a2cbec0b805b..232cb4c0c778bb6619e2eab5d0dfeb612e6b570e 100755 (executable)
@@ -2455,7 +2455,7 @@ then
   fi
 fi
 
-if test "$BUILD_MPI" -eq 1
+if test "$BUILD_MPI" = "1"
 then
 cat > $t <<EOT
 #include "mpi.h"
@@ -3176,7 +3176,7 @@ then
        add_flag 'CMK_NO_BUILD_SHARED="true"' "build-shared"
 else
        BUILD_SHARED=1
-        if test "$BUILD_MPI" -eq 1
+        if test "$BUILD_MPI" = "1"
        then
 cat > $t <<EOT
 #include "stdlib.h"
index a2c08495a72ecfc09288fd445dfab3fcc5c231b0..da641acecc0880387bc0b976614994b5aeff6948 100644 (file)
@@ -691,7 +691,7 @@ then
   fi
 fi
 
-if test "$BUILD_MPI" -eq 1
+if test "$BUILD_MPI" = "1"
 then
 cat > $t <<EOT
 #include "mpi.h"
@@ -1261,7 +1261,7 @@ then
        add_flag 'CMK_NO_BUILD_SHARED="true"' "build-shared"
 else
        BUILD_SHARED=1
-        if test "$BUILD_MPI" -eq 1
+        if test "$BUILD_MPI" = "1"
        then
 cat > $t <<EOT
 #include "stdlib.h"