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_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).