[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CHECK_FUNCS vs. undeclared entry points
From: |
Noah Misch |
Subject: |
Re: AC_CHECK_FUNCS vs. undeclared entry points |
Date: |
Fri, 14 Apr 2006 13:12:50 -0700 |
User-agent: |
Mutt/1.5.6i |
On Fri, Apr 14, 2006 at 02:53:30PM +0000, Eric Blake wrote:
> It turns out that gettext was doing AC_CHECK_FUNCS([__argz_stringify]). Well,
> on cygwin, the entry point __argz_stringify is defined as an alias to
> argz_stringify, so the conftest.c program links just fine because it provides
> its own prototype, while l10nflist.c fails to compile because the __*
> variants are not declared in any header.
> Should we change AC_CHECK_FUNCS to also check for a prototype?
No. Gettext should use AC_CHECK_DECLS in place of or in addition to
AC_CHECK_FUNCS.