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

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

Re: Bug in AX_APPEND_LINK_FLAGS


From: Peter Johansson
Subject: Re: Bug in AX_APPEND_LINK_FLAGS
Date: Thu, 02 Jan 2014 09:55:44 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

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



reply via email to

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