cec: use boost::shared_ptr for messages
[deb_libcec.git] / configure.ac
index b350c827cd30ad64b6b2d8483de40d5301788a87..124c013c0ee7cf69a752d9ad508fb0982da108ef 100644 (file)
@@ -23,6 +23,11 @@ libs_pre_dl=$LIBS
   AC_SUBST([LIBS_DL])
 LIBS=$libs_pre_dl
 
+AC_LANG_PUSH([C++])
+AC_CHECK_HEADERS([boost/shared_ptr.hpp], [],
+    [AC_MSG_ERROR(You need the Boost libraries.)])
+AC_LANG_POP([C++])
+
 CXXFLAGS="-fPIC -Wall -Wextra $CXXFLAGS"
 
 AC_SUBST(REQUIRES)