boost: Search for /lib64
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 22 Dec 2010 15:09:11 +0000 (16:09 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 22 Dec 2010 15:09:11 +0000 (16:09 +0100)
boost.m4

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