summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2008-02-21 20:43:56 +0100
committerAlbert Astals Cid <aacid@kde.org>2008-02-21 20:43:56 +0100
commitfe7a71a6fd87a0ead3952d23500adbb918be823d (patch)
tree47278d903d2d65fd21243730deb054b4666ec473
parent41c06da33841add89871f6d51f49d70c205ce041 (diff)
Code uses if USE_EXCEPTIONS, so we need to defined it to 1, not just define it
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f49df4dd..41c36d3d 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).