[Nut-upsdev] AC_CONFIG_MACRO_DIR

Arjen de Korte nut+devel at de-korte.org
Tue Dec 30 13:55:08 UTC 2008


Citeren Charles Lepple <clepple at gmail.com>:

> Peter Selinger was our resident expert who did the conversion to
> automake (from plain autoconf). I'd agree that we can just add them to
> svn:ignore until we know more about them.

Done.

While adding the tcp_wrappers support, I also noticed that in many  
cases we use both WITH_FOO (usually in Makefile.am) and HAVE_FOO  
(mostly in the sources).

Note that having something available, may not mean that it should be  
configured with it. So in most cases, if we conditionally compile  
sources, we should be testing against WITH_FOO instead of HAVE_FOO. As  
far as I can see, the HAVE_FOO stuff should be replaced almost  
everywhere by WITH_FOO except in configure.in, where the prerequisites  
for WITH_BAR may require the presence of both HAVE_FOO and HAVE_BAR.

Any thoughts?

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list