unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: emacs-devel@gnu.org
Subject: Re: zlib autoconf question
Date: Thu, 08 Aug 2013 05:47:30 -0700	[thread overview]
Message-ID: <52039362.9050903@cs.ucla.edu> (raw)
In-Reply-To: <m361vg3046.fsf@stories.gnus.org>

On 08/08/2013 04:14 AM, Lars Magne Ingebrigtsen wrote:
> AC_CHECK_LIB(z, inflateInit2_, HAVE_ZLIB=yes, HAVE_ZLIB=no)
> 
> works!
> 
> What's up with that?

inflateInit2 is a macro that invokes inflateInit2_,
a function that user code isn't supposed to call directly.
AC_CHECK_LIB can't check for macros, only functions.
I'd check for something that's a function, zlibVersion say.



  parent reply	other threads:[~2013-08-08 12:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 11:14 zlib autoconf question Lars Magne Ingebrigtsen
2013-08-08 11:23 ` Jérémie Courrèges-Anglas
2013-08-08 12:46 ` Andreas Schwab
2013-08-08 12:48   ` Lars Magne Ingebrigtsen
2013-08-08 13:26     ` Andreas Schwab
2013-08-08 12:47 ` Paul Eggert [this message]
2013-08-08 12:49   ` Lars Magne Ingebrigtsen
2013-08-08 12:57     ` Dmitry Antipov
2013-08-08 16:52       ` Eli Zaretskii
2013-08-11 19:52         ` Lars Magne Ingebrigtsen
2013-08-08 12:55 ` Ulrich Mueller
2013-08-11 19:53   ` Lars Magne Ingebrigtsen
2013-08-11 20:28     ` Ulrich Mueller
2013-08-11 22:01       ` Lars Magne Ingebrigtsen
2013-08-11 22:54         ` Ulrich Mueller
2013-08-11 22:59           ` Paul Eggert
2013-08-12  2:41       ` Eli Zaretskii
2013-08-12 13:58         ` Stefan Monnier
2013-08-12 13:58         ` Stefan Monnier
2013-08-12 15:19           ` Eli Zaretskii
2013-08-12 16:05             ` Stefan Monnier
2013-08-12 16:12               ` Lars Magne Ingebrigtsen
2013-08-12 16:35           ` Richard Stallman
2013-08-12 18:20             ` Lars Magne Ingebrigtsen
2013-08-12 19:17               ` Paul Eggert
2013-08-12  5:45       ` Dmitry Antipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52039362.9050903@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).