[libxml++] Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally.



commit 950627ed11e2ddf6ced38178ccc17b2cc9752340
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Apr 12 16:11:22 2012 +0200

    Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally.
    
    * configure.ac: Add AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1],...

 ChangeLog    |    6 ++++++
 configure.ac |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index db29cb7..6cf98bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-04-12  Kjell Ahlstedt  <kjell ahlstedt bredband net>
+
+	Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally.
+
+	* configure.ac: Add AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1],...
+
 2012-03-30  Murray Cumming  <murrayc murrayc com>
 
 	Node: Check for a null pointer, to fix a scan-build warning.
diff --git a/configure.ac b/configure.ac
index 5e65125..70f388d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,6 +56,9 @@ AC_PATH_PROGS([DB2LATEX], [db2latex docbook2latex], [db2latex])
 AC_ARG_VAR([DB2LATEX], [path to db2latex utility])
 MM_CHECK_PERL()
 
+# This is just defined to avoid breaking old code:
+AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1], [This is always set. This is only for backwards compatibility.])
+
 AC_CONFIG_FILES([Makefile
         docs/reference/Doxyfile
         MSVC_Net2005/libxml++/libxml++.rc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]