Hrvoje Nikšić <[EMAIL PROTECTED]> writes:

> On Thu, 2006-10-26 at 00:36 +0200, Neil Jerram wrote:
>> > +AC_CHECK_LIB(uca, __uc_get_ar_bsp)
>> 
>> Is there any point in this check?  As far as I can tell we don't use 
>> the result of the check anywhere.
>
> We use it for the check's side effect: if libuca exists, it is added to
> the LIBS.  Without -luca, Guile using __uc_get_ar_bsp would not link on
> HPUX.  There are other checks that use the same logic, such as check for
> connect in -lsocket and for gethostbyname in -lnsl.

Thanks for explaining that.  I misunderstood something you said in
your previous email about libuca being a system library; I thought you
meant by that that the compiler linked it automatically on HP-UX,
without needing "-luca" in the invocation.

(I actually included this change in what I committed yesterday, so no
further change is needed now.)

Regards,
     Neil



_______________________________________________
Guile-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to