[poppler] Branch 'poppler-0.6' - configure.ac

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Feb 21 11:44:09 PST 2008


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fe7a71a6fd87a0ead3952d23500adbb918be823d
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Feb 21 20:43:56 2008 +0100

    Code uses if USE_EXCEPTIONS, so we need to defined it to 1, not just define it

diff --git a/configure.ac b/configure.ac
index f49df4d..41c36d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ AC_HEADER_DIRENT
 
 AC_ARG_ENABLE(exceptions,
 	      [  --enable-exceptions     use C++ exceptions],
-	      AC_DEFINE([USE_EXCEPTIONS], [], [Throw exceptions to deal with not enough memory and similar problems]))
+	      AC_DEFINE([USE_EXCEPTIONS], [1], [Throw exceptions to deal with not enough memory and similar problems]))
 
 dnl ##### Switch over to C++.  This will make the checks below a little
 dnl ##### bit stricter (requiring function prototypes in include files).


More information about the poppler mailing list