[gnote] Allow using Boost TR1 implementation if really needed.
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] Allow using Boost TR1 implementation if really needed.
- Date: Mon, 8 Jun 2009 16:59:13 -0400 (EDT)
commit 5bcbde2f63ef0cd8f5cec64ca57c96de4bb09630
Author: Hubert Figuiere <hub figuiere net>
Date: Sat Jun 6 03:22:12 2009 -0400
Allow using Boost TR1 implementation if really needed.
---
NEWS | 1 +
configure.ac | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 10bfb17..fc25395 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ Fixes:
* Update boost.m4 to latest version. (Closes #581559) (Priit Laes)
* Fix bug in URL parsing causing file link when not appropriate.
(Closes #581506)
+ * Allow using Boost TR1 implementation if really needed.
Translations:
diff --git a/configure.ac b/configure.ac
index 03d9582..1f45f63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,6 +138,11 @@ BOOST_CONVERSION
BOOST_FILESYSTEM
BOOST_FORMAT
BOOST_TEST([s])
+AC_CHECK_HEADER(tr1/memory,,[
+ CXXFLAGS="$CXXFLAGS -I/usr/include/boost/tr1";
+ AC_MSG_NOTICE([using boost tr1 implementation.])
+])
+
AC_LANG_PUSH(C++)
if test "$GCC" = "yes"; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]