Hello,

I use the Boost Graph Library (BGL) for my software, and I link to the
boost_graph library.
I already use a m4 macro - from autoconf-archive - to check if the BGL
headers are present, but this macro doesn't link to libboost_graph.a
I tried this:
# Boost headers (from autoconf-archive)
AX_BOOST_BASE([1.33])
# Boost graph library
AC_LANG_PUSH(C++)
AC_CHECK_LIB([boost_graph], [read_graphviz], , AC_MSG_ERROR([This
package needs libboost_graph]))
AC_LANG_POP

Unfortunately, the generated code is wrong (since it doesn't use the
right signature for read_graphviz).

Any idea ?

Regards,

-- 
Johan


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to