0

I use boost.m4 to find Boost. Here I go:

AC_PROG_CXX
AC_LANG([C++])
AX_CXX_COMPILE_STDCXX_11
BOOST_REQUIRE([1.48])
BOOST_SIGNALS

configure correctly find singals library, but when compiling, I get link error -- undefined reference to boost::signals::. Obvilously, ldflags, determined by BOOST_SIGNALS, do not get added to global flags. What I am supposed to do?

KAction
  • 1,977
  • 15
  • 31

1 Answers1

0

I should add $(BOOST_SIGNALS_LIBS) to AM_LDFLAGS.

KAction
  • 1,977
  • 15
  • 31