ac-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

code error -typo- in check_zlib.m4


From: intrepid
Subject: code error -typo- in check_zlib.m4
Date: Tue, 24 Feb 2004 16:35:31 -0500
User-agent: Mutt/1.5.4i

Hello Archivists,

I spotted a pretty clear typo in Loic Dachary's "check_zlib" macro. A
patch is attached as well as shown below. It seems like a natural
operator error since the substring "cv" in one variable name was typed
"cvs" instead ;-). Could happen to most of us I think.


*** src/src.ref/autoconf-macros-ext/check_zlib.m4       Sun Dec  7 07:38:20 2003
--- src/src.hacked/autoconf-macros-ext/check_zlib.m4    Tue Feb 24 08:17:04 2004
***************
*** 57,63 ****
          AC_LANG_SAVE
          AC_LANG_C
          AC_CHECK_LIB(z, inflateEnd, [zlib_cv_libz=yes], [zlib_cv_libz=no])
!         AC_CHECK_HEADER(zlib.h, [zlib_cv_zlib_h=yes], [zlib_cvs_zlib_h=no])
          AC_LANG_RESTORE
          if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
          then
--- 57,63 ----
          AC_LANG_SAVE
          AC_LANG_C
          AC_CHECK_LIB(z, inflateEnd, [zlib_cv_libz=yes], [zlib_cv_libz=no])
!         AC_CHECK_HEADER(zlib.h, [zlib_cv_zlib_h=yes], [zlib_cv_zlib_h=no])
          AC_LANG_RESTORE
          if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
          then

HTH,
    Soren A.

Attachment: zlib-macro.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]