Fix location of executable for finding a four-byte integer.
authorMark Adler <madler@alumni.caltech.edu>
Mon, 30 Apr 2012 01:23:46 +0000 (18:23 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Mon, 30 Apr 2012 02:20:05 +0000 (19:20 -0700)
configure

index 6baa34f..0c97d7b 100755 (executable)
--- a/configure
+++ b/configure
@@ -716,7 +716,7 @@ int main() {
 }
 EOF
 Z_U4=""
-if try $CC $CFLAGS $test.c -o $test && Z_U4=`$test` && test -n "$Z_U4"; then
+if try $CC $CFLAGS $test.c -o $test && Z_U4=`./$test` && test -n "$Z_U4"; then
   sed < zconf.h "/#define Z_U4/s/\/\* \.\/configure may/#define Z_U4 $Z_U4   \/* .\/configure put the/" > zconf.temp.h
   mv zconf.temp.h zconf.h
   echo "Looking for a four-byte integer type... Found." | tee -a configure.log