Re: Bug in AX_APPEND_LINK_FLAGS

Peter Johansson <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
On 01/02/2014 03:59 AM, Mike Frysinger wrote:
> blah, it's because i misused the AC_REQUIRE helper.  it not only makes sure
> the func is available, but then also calls it.  i don't know of a way to get
> the desired behavior (an m4 error when the macro isn't available) other than
> AC_REQUIRE.
I think a combination of 'm4_ifndef' and 'm4_fatal' could make it with 
something like:

m4_ifndef([AX_FOO], [m4_fatal])

I haven't tested though.

Cheers,
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.