Re: [libxml++] Re: libxml++ config file



On Mon, 2006-04-24 at 14:50 +0200, Cedric Gustin wrote:
> The way I understand this config.h business is the following :
> 
> 1. In libxml++config.h installed in $prefix/lib/libxml++-2.6/include,
> put configuration options that should be defined and are useful when
> USING the library. As an example, as LIBXMLPP_API is used in the
> library headers, it should be defined (to either dllimport or
> dllexport) in libxml++config.h.
> 2. In the (not installed) config.h, put everything that is used only
> when BUILDING the library and that users should be unaware of.
> Typically, this file is auto-generated by scanning the configure.in
> and looking for AC_DEFINE macros. For example, with glibmm, we look
> for mkfifo and define/undefine HAVE_MKFIFO in config.h. This is the
> job performed by autoheader.
> 
> Currently, no macro defined in config.h is used at build time. We
> could thus skip this file altogether. On the other hand, we might need
> it in the future and it is not installed anyway, so I would recommend
> disabling autoheader and adding a blank config.h.in to CVS, similar to
> what is done for glibmm/gtkmm.

Sounds good. Maybe we should put comments in these files. Thanks.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





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