]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add a proper autoconf check for Boost lambda.hpp.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 16 Dec 2007 02:31:29 +0000 (00:31 -0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 16 Dec 2007 02:31:29 +0000 (00:31 -0200)
config.hh.in
configure.in
flower/include/std-vector.hh

index 491940834816953e85a32507ab3b3b14833ee875..d7aca8f1f2834d57fcd5ebea560156ad6284813d 100644 (file)
@@ -89,6 +89,9 @@
 /* define if you have sstream */
 #define HAVE_SSTREAM 0
 
+/* define if you have boost/lambda/lambda.hpp */
+#define HAVE_BOOST_LAMBDA_LAMBDA_HPP 0
+
 /* define if you have fontconfig */
 #define HAVE_FONTCONFIG 0
 
index 0c4c47aa387284da5e43d791f4cbdc7af79cfe03..4292dfc92d52b2af58e149eece8a0c4c83c05a81 100644 (file)
@@ -138,7 +138,7 @@ STEPMAKE_PATH_PROG(FONTFORGE, fontforge, REQUIRED, 20050624)
 
 AC_CHECK_HEADERS([assert.h grp.h libio.h pwd.h sys/stat.h wchar.h])
 AC_LANG_PUSH(C++)
-AC_CHECK_HEADERS([sstream])
+AC_CHECK_HEADERS([sstream boost/lambda/lambda.hpp])
 AC_LANG_POP(C++)
 AC_HEADER_STAT
 AC_FUNC_MEMCMP
index 5c2c09c9d0c908fc7880584774bb11cbda8c2823..1f391de20d4dd609ce8cea4a551c9fe7d649d3df 100644 (file)
@@ -25,7 +25,7 @@
 
 using namespace std;
 
-#if HAVE_BOOST_LAMBDA
+#if HAVE_BOOST_LAMBDA_LAMBDA_HPP
 #include <boost/lambda/lambda.hpp>
 #endif
 
@@ -226,7 +226,7 @@ find (vector<T> const &v, T const &key)
   return find (v.begin (), v.end (), key);
 }
 
-#if HAVE_BOOST_LAMBDA
+#if HAVE_BOOST_LAMBDA_LAMBDA_HPP
 #include <boost/lambda/lambda.hpp>
 using namespace boost::lambda;
 template<typename T>