a minor fix.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 7 Dec 2007 22:35:22 +0000 (22:35 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 7 Dec 2007 22:35:22 +0000 (22:35 +0000)
src/scripts/configure
src/scripts/configure.in

index 82876d958ebd34a961e12e839554b04c12eade58..55da221f57eb05e57852335cc66d7643bceab169 100755 (executable)
@@ -1738,7 +1738,7 @@ echo $ECHO_N "checking \"$1\"... $ECHO_C" >&6; }
           echo $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 >> $charmout
           $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 > out 2>&1
           ret=$?
-         test ! -f testlink && ret=1
+         test ! -x testlink && ret=1
           test_result $ret "$1" "$2" "$3"
         fi
        strictpass=$pass
index 54a38f8b2365ee249b37a7422a614eb7abc9fe27..f6d07c7ccba685860cbb4f8223b2ca67d0cf3cb0 100644 (file)
@@ -112,7 +112,7 @@ test_link() {
           echo $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 >> $charmout
           $CMK_LDXX -o testlink test.o $CMK_LIBDIR $OPTS_LD $4 > out 2>&1
           ret=$?
-         test ! -f testlink && ret=1
+         test ! -x testlink && ret=1
           test_result $ret "$1" "$2" "$3"
         fi
        strictpass=$pass