libiberty configure mysteries
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Apr 10 14:59:00 GMT 2005
Daniel Jacobowitz <drow@false.org> writes:
| On Sun, Apr 10, 2005 at 05:02:36PM +0200, Gabriel Dos Reis wrote:
| >
| > Hi,
| >
| > The following is from libibtery.h
| >
| > /* HAVE_DECL_* is a three-state macro: undefined, 0 or 1. If it is
| > undefined, we haven't run the autoconf check so provide the
| > declaration without arguments. If it is 0, we checked and failed
| > to find the declaration so provide a fully prototyped one. If it
| > is 1, we found it so don't provide any declaration at all. */
| >
| > However, that appears to be incorrect because what configure output in
| > config.h is not HAVE_DECL_XXX, but HAVE_XXX. Therefore, it appears
| > that libiberty would be misdetecting declarations -- it thinks
| > something is missing, whereas in fact it is not.
| >
| > Am I missing something here?
|
| Try adding an AC_CHECK_DECLS call for basename. That will define
| HAVE_DECL_BASENAME.
Thanks. I tried it, but I did not have much success -- configure is
outputting HAVE_BASENAME instead of HAVE_DECL_BASENAME.
(I must have something stupid going on :-()
-- Gaby
More information about the Gcc
mailing list