Skip to content
Snippets Groups Projects
Commit bc9408da authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed broken configure-test.

Rev: src/modules/Gz/configure.in:1.5
parent 06005022
No related branches found
No related tags found
No related merge requests found
...@@ -11,10 +11,7 @@ if test x$with_zlib = xyes ; then ...@@ -11,10 +11,7 @@ if test x$with_zlib = xyes ; then
AC_TRY_LINK([ AC_TRY_LINK([
#include <zlib.h> #include <zlib.h>
],[ ],[
int main(int argc, char **argv) int foo = (int)(Z_NO_COMPRESSION | Z_VERSION_ERROR);
{
return((Z_NO_COMPRESSION|Z_VERSION_ERROR) & 0);
}
],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no); ac_cv_header_zlib_h=no ]) ],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no); ac_cv_header_zlib_h=no ])
if test $ac_cv_header_zlib_h = yes ; then if test $ac_cv_header_zlib_h = yes ; then
AC_CHECK_LIB(z, compress, [ AC_CHECK_LIB(z, compress, [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment