[poppler] configure.ac

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


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

New commits:
commit e1463451c584181f918265438cf6ddcb408bf731
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 79f99f5..b34cd45 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