Changes in directory llvm/autoconf:

configure.ac updated: 1.201 -> 1.202
---
Log message:

Implement fix for PR471: http://llvm.cs.uiuc.edu/PR471 :
* Add --enable-debug-runtime option, defaults to disabled
* Pass the new config var, DEBUG_RUNTIME, to Makefiles
* Don't use -Wa,-strip-debug if debug-runtime is enabled


---
Diffs of the changes:  (+9 -0)

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.201 llvm/autoconf/configure.ac:1.202
--- llvm/autoconf/configure.ac:1.201    Mon Dec 19 14:27:24 2005
+++ llvm/autoconf/configure.ac  Tue Dec 20 21:31:53 2005
@@ -199,6 +199,15 @@
   AC_SUBST(ENABLE_OPTIMIZED,[[ENABLE_OPTIMIZED=1]])
 fi
 
+dnl --enable-debug-runtime : should runtime libraries have debug symbols?
+AC_ARG_ENABLE(debug-runtime,
+   AS_HELP_STRING([--enable-debug-runtime,Build runtime libs with debug 
symbols (default is NO)]),,enableval=no)
+if test ${enableval} = "no" ; then
+  AC_SUBST(DEBUG_RUNTIME,[[]])
+else
+  AC_SUBST(DEBUG_RUNTIME,[[DEBUG_RUNTIME=1]])
+fi
+
 dnl --enable-jit: check whether they want to enable the jit
 AC_ARG_ENABLE(jit,
   AS_HELP_STRING(--enable-jit,



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to