X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=124c013c0ee7cf69a752d9ad508fb0982da108ef;hb=8d84e2c0857878d0391aee40190919cf57d689e7;hp=b350c827cd30ad64b6b2d8483de40d5301788a87;hpb=e9de9629478f63b357b69314d7935c6539c3ad71;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)