<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 11:15 AM, Dimitry Andric <span dir="ltr"><<a href="mailto:dimitry@andric.com" target="_blank">dimitry@andric.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2012-09-22 01:03, Eric Christopher wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: echristo<br>
Date: Fri Sep 21 18:03:29 2012<br>
New Revision: 164426<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=164426&view=rev" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project?rev=164426&view=rev</a><br>
Log:<br>
Add an --enable-backtraces option to configure to determine<br>
whether or not we want to print out backtrace information. Useful<br>
for libraries that don't need backtrace information on a crash.<br>
</blockquote>
...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
@@ -678,6 +678,21 @@<br>
  AC_DEFINE_UNQUOTED([ENABLE_<u></u>TIMESTAMPS],$ENABLE_<u></u>TIMESTAMPS,<br>
                     [Define if timestamp information (e.g., __DATE__) is allowed])<br>
<br>
+dnl Enable embedding timestamp information into build.<br>
+<br>
+AC_ARG_ENABLE(backtraces,<br>
+  AS_HELP_STRING([--enable-<u></u>backtraces],<br>
+                 [Enable embedding backtraces on crash (default is YES)]),,<br>
+                 enableval=default)<br>
+case "$enableval" in<br>
+  yes) AC_SUBST(ENABLE_TIMESTAMPS,[1]<u></u>) ;;<br>
+  no)  AC_SUBST(ENABLE_TIMESTAMPS,[0]<u></u>) ;;<br>
+  default) AC_SUBST(ENABLE_TIMESTAMPS,[1]<u></u>) ;;<br>
</blockquote>
<br>
This is a pasto, you probably meant ENABLE_BACKTRACES here?<br></blockquote><div><br></div><div>Uh, yep.</div><div><br></div><div>Thanks. I'll fix shortly.</div><div><br></div><div>-eric </div></div></div>