summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-04-29 18:23:46 -0700
committerMark Adler <madler@alumni.caltech.edu>2012-04-29 19:20:05 -0700
commitdbcdbf8c41db8d03e47fdbb0483f2705f8ac77f7 (patch)
tree6c4edfaea0139c196c525c09652c96a0edf0ee48 /configure
parent6c9bd474aa08312ef2e2e9655a80e18db24a1680 (diff)
downloadzlib-dbcdbf8c41db8d03e47fdbb0483f2705f8ac77f7.tar.gz
Fix location of executable for finding a four-byte integer.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6baa34f..0c97d7b 100755
--- 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