3 modified files
slic
diff -u -r1.154 -r1.155
--- configure 31 May 2011 17:07:55 -0000 1.154
+++ configure 9 Jun 2011 01:51:18 -0000 1.155
@@ -859,6 +859,7 @@
--enable-profiling enable profiling using gprof; default = no
--enable-log enable logging; disabling will turn off most console
output; default = yes
+ --enable-exceptions yes to enable exception handling; no to disable
--enable-compile-verbose
use verbose compilation and linking flags
--enable-version=<yes|no>
@@ -3898,6 +3899,31 @@
+
+echo "$as_me:$LINENO: checking whether to enable exception handling" >&5
+echo $ECHO_N "checking whether to enable exception handling... $ECHO_C" >&6
+
+# Check whether --enable-exceptions or --disable-exceptions was given.
+if test "${enable_exceptions+set}" = set; then
+ enableval="$enable_exceptions"
+
+fi;
+
+if test "${enable_package_info}" != "no"; then
+ cat >>confdefs.h <<\_ACEOF
+#define SLIC_CATCH_STD_EXCEPTIONS 1
+_ACEOF
+
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+
+
+
echo "$as_me:$LINENO: checking whether verbose compiler output should be enabled" >&5
echo $ECHO_N "checking whether verbose compiler output should be enabled... $ECHO_C" >&6
slic
diff -u -r1.41 -r1.42
--- aclocal.m4 9 Jun 2011 01:48:48 -0000 1.41
+++ aclocal.m4 9 Jun 2011 01:51:18 -0000 1.42
@@ -1,4 +1,4 @@
-]dnl $Header: /cvs/lcd/slic/aclocal.m4,v 1.41 2011/06/09 01:48:48 jeremy Exp $
+]dnl $Header: /cvs/lcd/slic/aclocal.m4,v 1.42 2011/06/09 01:51:18 jeremy Exp $
dnl /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
dnl Autoconf macros for SLIC and its dependencies.
@@ -586,7 +586,7 @@
dnl /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
AC_DEFUN(AC_SLIC_EXCEPTIONS, [
-AC_MSG_CHECK(NG(whether to enable exception handling)
+AC_MSG_CHECKING(whether to enable exception handling)
AC_ARG_ENABLE(exceptions,
AC_HELP_STRING([--enable-exceptions], [yes to enable exception handling; no to disable]))
slic
diff -u -r1.135 -r1.136
--- configure.ac 31 May 2011 17:07:55 -0000 1.135
+++ configure.ac 9 Jun 2011 01:51:18 -0000 1.136
@@ -1,4 +1,4 @@
-# $Header: /cvs/lcd/slic/configure.ac,v 1.135 2011/05/31 17:07:55 jeremy Exp $
+# $Header: /cvs/lcd/slic/configure.ac,v 1.136 2011/06/09 01:51:18 jeremy Exp $
#
# Process this file with autoconf to produce a configure script for SLIC.
#
@@ -68,6 +68,9 @@
dnl SLIC
SIM_SETUP_SLIC
+dnl Config exception handling.
+AC_SLIC_EXCEPTIONS
+
dnl possible option for verbose compiler output
SIM_SETUP_VERBOSE_COMPILE
CVSspam 0.2.8