From: Patrick McCarty Date: Wed, 14 Apr 2010 22:06:22 +0000 (-0700) Subject: Configure: Remove unused header check. X-Git-Tag: release/2.13.19-1~2^2~38 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=08f034d86e6e0ae3c72ed303e3cbbfd85fa6f7bf;p=lilypond.git Configure: Remove unused header check. --- diff --git a/config.hh.in b/config.hh.in index 7f43e2139b..47f057fcbc 100644 --- a/config.hh.in +++ b/config.hh.in @@ -89,9 +89,6 @@ /* 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 diff --git a/configure.in b/configure.in index f7547d1770..3f6959fa78 100644 --- a/configure.in +++ b/configure.in @@ -139,7 +139,7 @@ STEPMAKE_PATH_PROG(T1ASM, t1asm, REQUIRED) AC_CHECK_HEADERS([assert.h grp.h libio.h pwd.h sys/stat.h wchar.h fpu_control.h]) AC_LANG_PUSH(C++) -AC_CHECK_HEADERS([sstream boost/lambda/lambda.hpp]) +AC_CHECK_HEADERS([sstream]) AC_LANG_POP(C++) AC_HEADER_STAT AC_FUNC_MEMCMP diff --git a/flower/include/std-vector.hh b/flower/include/std-vector.hh index ba85cb5a2a..ec45376efa 100644 --- a/flower/include/std-vector.hh +++ b/flower/include/std-vector.hh @@ -37,10 +37,6 @@ using namespace std; -#if HAVE_BOOST_LAMBDA_LAMBDA_HPP -#include -#endif - template int default_compare (T const &a, T const &b) { @@ -238,18 +234,6 @@ find (vector const &v, T const &key) return find (v.begin (), v.end (), key); } -#if HAVE_BOOST_LAMBDA_LAMBDA_HPP -#include -using namespace boost::lambda; -template -void -junk_pointers (vector &v) -{ - for_each (v.begin (), v.end (), (delete _1, _1 = 0)); - v.clear (); -} -#else - template struct del : public unary_function { void operator() (T x) @@ -267,7 +251,6 @@ junk_pointers (vector &v) for_each (v.begin (), v.end (), del ()); v.clear (); } -#endif /* HAVE_BOOST_LAMBDA */ vector string_split (string str, char c); string string_join (vector const &strs, string infix);