Re: FOO_LIBS

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

 



On Mon, Sep 30, 2013 at 8:56 AM, Harlan Stenn <stenn@xxxxxxx> wrote:
> I've got a situation where I want to track specific libraries that are
> needed for building specific programs.  Sometimes this is for things
> like openssl and sometimes it's network stuf or thread stuff, where I
> know which programs need it and which ones don't.
>
> Originally I let configure put all of the libraries in the LIBS
> variable, but I got a lot of pushback from folks with embedded systems
> and similar targets where the extra libraries were taking up too much
> space.
>
> So I started putting specific libraries in different variables so I
> could control when they get linked to an executable.
>
Could you use a "--with" flag using AC_ARG_WITH and run AC_CHECK_LIB
only if the library was enabled?

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux