Fix check for version.hpp
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 Aug 2010 11:18:40 +0000 (13:18 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 Aug 2010 11:18:40 +0000 (13:18 +0200)
This fixes --with-boost=PREFIX.

boost.m4

index 5b6f109..f3eb607 100644 (file)
--- a/boost.m4
+++ b/boost.m4
@@ -30,7 +30,7 @@ AC_DEFUN([ID_BOOST],
        else
            BOOST_LIB="-L${with_boost}/lib"
            BOOST_CPPFLAGS="-I${with_boost}/include"
-           if test ! -f "${with_boost}/include/version.hpp"; then
+           if test ! -f "${with_boost}/include/boost/version.hpp"; then
                for b in ${with_boost}/include/boost-*; do
                    BOOST_CPPFLAGS="-I$b"
                done