From: Mark Adler Date: Mon, 30 Apr 2012 01:23:46 +0000 (-0700) Subject: Fix location of executable for finding a four-byte integer. X-Git-Tag: v1.2.7~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcdbf8c41db8d03e47fdbb0483f2705f8ac77f7;p=thirdparty%2Fzlib-ng.git Fix location of executable for finding a four-byte integer. --- diff --git a/configure b/configure index 6baa34f5b..0c97d7b7a 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