Re: gl_MODULE_INDICATOR

2011-05-05 Thread Eric Blake
On 05/05/2011 08:28 AM, Bruno Haible wrote: > Hi Eric, > >> I have a condition (namely, test-fclose), where I only want to test >> a particular behavior of fclose if I know that fflush was replaced at >> the same level as fclose. That is, if fclose is in lib, but fflush is >> only in tests, then

Re: gl_MODULE_INDICATOR

2011-05-05 Thread Bruno Haible
Hi Eric, > I have a condition (namely, test-fclose), where I only want to test > a particular behavior of fclose if I know that fflush was replaced at > the same level as fclose.  That is, if fclose is in lib, but fflush is > only in tests, then the test is likely to fail and so I want to compile

gl_MODULE_INDICATOR

2011-05-04 Thread Eric Blake
Right now, we have: # gl_MODULE_INDICATOR([modulename]) # defines a C macro indicating the presence of the given module # in a location where it can be used. # | Value | Value | # | in lib/ | in tests