bug-gnulib
[Top][All Lists]
Advanced

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

Re: DEPENDS_ON_* preprocessor symbols


From: Bruno Haible
Subject: Re: DEPENDS_ON_* preprocessor symbols
Date: Sun, 23 May 2010 03:16:29 +0200
User-agent: KMail/1.9.9

Hi Ben,

> I noticed that there were references to
> this preprocessor symbol and two related ones
> (DEPENDS_ON_LIBCHARSET and DEPENDS_ON_LIBICONV) in
> relocatable.c.  Their purpose was not documented, but I think
> that I figured out what they are for.  I'm proposing the
> following update to doc/relocatable-maint.texi in gnulib as
> explanation.

Thanks for this text. Yes it is correct. Except for two details:
  - "... C preprocessor symbols to nonzero values"
    I would write "... C preprocessor symbols to 1"
    since there is no point in using other values than 1.
  - "(e.g. with address@hidden)"
    I would omit that, because in larger projects it's more appropriate
    to define these through AM_CPPFLAGS in some Makefile.am.

I wish the list of libraries that support this mechanism was not hard-coded.
Do you have an idea for making it extensible?

Bruno



reply via email to

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