[Nut-upsdev] building a library for common/ [was: minor building

Arnaud Quette aquette.dev at gmail.com
Mon May 22 07:14:32 UTC 2006


2006/5/22, Charles Lepple <clepple at gmail.com>:
> On 5/21/06, Peter Selinger <selinger at mathstat.dal.ca> wrote:
> >    These macros are used to find functions not covered by the
> > "particular" test macros.  If the functions might be in libraries
> >                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > other than the default C library, first call `AC_CHECK_LIB' for those
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > libraries.
> > ^^^^^^^^^^
>
> I think this is for libraries which can be found in the -L path in LDFLAGS.
>
> As I understand it, we have separate NETSNMP_{CFLAGS,LIBS} that only
> get used when compiling snmp-ups. Somewhere else, we are doing a big
> save-restore of LDFLAGS etc., so it seems possible. But if someone
> else manages to fix this before I do, I won't complain :-)

you might want to have a look at what we've done for libupsclient and
things in the client/ dir. Note that I'll have a trainee engineer to
do the same for "libupsconfig", though the difference with common/ is
that both libupsclient/config are to be usable by external app

Arnaud



More information about the Nut-upsdev mailing list