Re: Question about CheckForLibrary function in configure script

Giuseppe Sacco <[email protected]> Wed, 10 Feb 2010 09:47:11 +0100
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <1265791631.12232.93.camel@scarafaggio>
Il giorno mar, 09/02/2010 alle 21.15 -0500, Aidan Van Dyk ha scritto:
[...]
> Is there really a system where you don't need -lutil?

well, no. I was investigating this problem: when compiling on linux I
always get a warning about faxgetty being linked against libutil even if
the binary is not loading any symbol from the library.

So, I removed the LIBUTIL part from faxd/Makefile, and faxgetty was
working anyway. Then, I found that on freebsd, faxgetty was not working
anymore.

I now find, that the problem is not libutil, but faxgetty itself: on
linux it uses GettySysV.c++ that doesn't uses libutil, while on BSD it
uses GettyBSD.c++ that require libutil.

So, probably, configure should check about libutil only when GETTY is
BSD and not when GETTY is SysV.

Bye,
Giuseppe


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null