Check for boost_graph library

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

 



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
Autoconf@xxxxxxx
http://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