[vmkit-commits] [vmkit] r64138 - in /vmkit/trunk: Makefile.common.in autoconf/configure.ac
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Feb 9 05:05:18 PST 2009
Author: geoffray
Date: Mon Feb 9 07:05:16 2009
New Revision: 64138
URL: http://llvm.org/viewvc/llvm-project?rev=64138&view=rev
Log:
New configure parameter to specify the type of exception: dwarf or runtime checks.
Modified:
vmkit/trunk/Makefile.common.in
vmkit/trunk/autoconf/configure.ac
Modified: vmkit/trunk/Makefile.common.in
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/Makefile.common.in?rev=64138&r1=64137&r2=64138&view=diff
==============================================================================
--- vmkit/trunk/Makefile.common.in (original)
+++ vmkit/trunk/Makefile.common.in Mon Feb 9 07:05:16 2009
@@ -23,7 +23,7 @@
# Include LLVM's Master Makefile.
include $(LLVM_OBJ_ROOT)/Makefile.common
-CXX.Flags += @GC_FLAGS@ @VM_FLAGS@ -Wno-variadic-macros -fno-omit-frame-pointer -fno-strict-aliasing -Wno-deprecated -ansi -DENABLE_THREADS
+CXX.Flags += @GC_FLAGS@ @VM_FLAGS@ @EXCEPTION_FLAGS@ -Wno-variadic-macros -fno-omit-frame-pointer -fno-strict-aliasing -Wno-deprecated -ansi -DENABLE_THREADS
# GNU Classpath flags
CLASSPATH_FLAGS = @classpathinclude@
Modified: vmkit/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/autoconf/configure.ac?rev=64138&r1=64137&r2=64138&view=diff
==============================================================================
--- vmkit/trunk/autoconf/configure.ac (original)
+++ vmkit/trunk/autoconf/configure.ac Mon Feb 9 07:05:16 2009
@@ -245,6 +245,24 @@
AC_SUBST([VM_FLAGS])
dnl **************************************************************************
+dnl Exception type
+dnl **************************************************************************
+AC_ARG_WITH(exception-type,
+ [AS_HELP_STRING(--with-exception-type=something,
+ [VM type ('check' or 'dwarf')])],
+ [[exceptiontype=$withval]],
+ [[ echo Using check as exception type.
+ exceptiontype=check
+ ]]
+)
+
+if test "x$exceptiontype" = "xdwarf"; then
+ EXCEPTION_FLAGS="-DDWARF_EXCEPTIONS"
+fi
+
+AC_SUBST([EXCEPTION_FLAGS])
+
+dnl **************************************************************************
dnl GNU CLASSPATH installation prefix
dnl **************************************************************************
More information about the vmkit-commits
mailing list