[llvm-commits] CVS: llvm/autoconf/configure.ac

David Greene greened at obbligato.org
Thu Jun 28 12:36:31 PDT 2007

Changes in directory llvm/autoconf:

configure.ac updated: 1.271 -> 1.272
Log message:

Add support for building with _GLIBCXX_DEBUG.  New configure option
--enable-expensive-checks allows the developer to enable runtime
checking that can greatly increase compile time.  Currently it only
turns on _GLIBCXX_DEBUG.  Other expensive debugging checks added later
should be controlled by this configure option.

This patch also updates llvm-config with a --cppflags option to inform
llvm-gcc how to build itself so that it is compatible with an llvm that
was built with _GLIBCXX_DEBUG.

Diffs of the changes:  (+11 -0)

 configure.ac |   11 +++++++++++
 1 files changed, 11 insertions(+)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.271 llvm/autoconf/configure.ac:1.272
--- llvm/autoconf/configure.ac:1.271	Thu May 17 13:06:19 2007
+++ llvm/autoconf/configure.ac	Thu Jun 28 14:36:07 2007
@@ -274,6 +274,17 @@
+dnl --enable-expensive-checks : check whether they want to turn on expensive debug checks:
+  [--enable-expensive-checks,Compile with expensive debug checks enabled (default is NO)]),, enableval="no")
+if test ${enableval} = "yes" ; then
 dnl --enable-debug-runtime : should runtime libraries have debug symbols?
    AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug symbols (default is NO)]),,enableval=no)

More information about the llvm-commits mailing list