diff octave-bug.in @ 9538:d0239bddf621

use OCTAVE_CHECK_LIB to check for zlib
author John W. Eaton <jwe@octave.org>
date Mon, 17 Aug 2009 19:52:18 -0400
parents 592a959b68e5
children f5ec5dc66824
line wrap: on
line diff
--- a/octave-bug.in
+++ b/octave-bug.in
@@ -102,7 +102,9 @@
 UMFPACK_LIBS=%UMFPACK_LIBS%
 X11_INCFLAGS=%X11_INCFLAGS%
 X11_LIBS=%X11_LIBS%
-ZLIB_LIBS=%ZLIB_LIBS%
+Z_CPPFLAGS=%Z_CPPFLAGS%
+Z_LDFLAGS=%Z_LDFLAGS%
+Z_LIBS=%Z_LIBS%
 
 DEFS=%OCTAVE_CONF_DEFS%
 
@@ -345,7 +347,9 @@
 UMFPACK_LIBS:      $UMFPACK_LIBS
 X11_INCFLAGS:      $X11_INCFLAGS
 X11_LIBS:          $X11_LIBS
-ZLIB_LIBS:         $ZLIB_LIBS
+Z_CPPFLAGS:        $Z_CPPFLAGS
+Z_LDFLAGS:         $Z_LDFLAGS
+Z_LIBS:            $Z_LIBS
 DEFS:
 
 EOF