redo the previous fix.
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 31 Mar 2010 06:16:18 +0000 (01:16 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 31 Mar 2010 06:16:18 +0000 (01:16 -0500)
src/scripts/configure
src/scripts/configure.in

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