|
Boost Users : |
From: Petri Latvala (adrinael_at_[hidden])
Date: 2004-06-24 21:01:56
> is somewhere documented how to add automake/autoconf stuff for boost to a
> project? I have a set of small testcases and the need
> boost_unit_test_framework-gcc library to compile. At the moment I add the
> lib directly to linker options with
>
> project_test_LDADD = -lboost_unit_test_framework-gcc
>
> But this is not platform independent, because someone might have not gcc
> installed. So how can I do it in a better way?
The way to put in libraries is to AC_CHECK_LIB them. That will check
that the lib is present with the given test symbol, and will link to it
in the final build.
-- Petri Latvala
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net