autoconf
[Top][All Lists]
Advanced

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

Re: checking for libraries that link but do not run


From: Ben Pfaff
Subject: Re: checking for libraries that link but do not run
Date: Thu, 08 Oct 2009 09:51:10 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> * Ben Pfaff wrote on Mon, Oct 05, 2009 at 06:20:47PM CEST:
>> To try to head off the problem, I'm thinking about putting
>> something like this after each command that adds to LIBS:
>>     AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])], 
>>                   [:],
>>                   [AC_MSG_FAILURE([Cannot run program linked against 
>> $LIBS.])],
>>                   [:])
>
> One possibility is to use the gnulib havelib module.

Thank you for pointing that out.  I had never looked at the
havelib module before.  It might fix the problem too.
-- 
"doe not call up Any that you can not put downe."
--H. P. Lovecraft





reply via email to

[Prev in Thread] Current Thread [Next in Thread]