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