X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=124c013c0ee7cf69a752d9ad508fb0982da108ef;hb=5a1e87c8d9a1d8a6b8dbf8b7d1738395fdb6b856;hp=b350c827cd30ad64b6b2d8483de40d5301788a87;hpb=ad24cbafd0d19690668323cc8368e7d8f925a667;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index b350c82..124c013 100644 --- a/configure.ac +++ b/configure.ac @@ -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)