From f0b3b74477f7305ef964ecc01d79387c839dae0e Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 19 Nov 2012 19:31:02 +0000 Subject: [PATCH] Fix a pasto. Noticed by Dimitri Andric! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168319 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 6 +++--- configure | 12 +++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index b206f08f023..eec857f7822 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -685,9 +685,9 @@ AC_ARG_ENABLE(backtraces, [Enable embedding backtraces on crash (default is YES)]),, enableval=default) case "$enableval" in - yes) AC_SUBST(ENABLE_TIMESTAMPS,[1]) ;; - no) AC_SUBST(ENABLE_TIMESTAMPS,[0]) ;; - default) AC_SUBST(ENABLE_TIMESTAMPS,[1]) ;; + yes) AC_SUBST(ENABLE_BACKTRACES,[1]) ;; + no) AC_SUBST(ENABLE_BACKTRACES,[0]) ;; + default) AC_SUBST(ENABLE_BACKTRACES,[1]) ;; *) AC_MSG_ERROR([Invalid setting for --enable-backtraces. Use "yes" or "no"]) ;; esac AC_DEFINE_UNQUOTED([ENABLE_BACKTRACES],$ENABLE_BACKTRACES, diff --git a/configure b/configure index 25fe9d0530b..4813af3d273 100755 --- a/configure +++ b/configure @@ -704,6 +704,7 @@ ENABLE_PIC ENABLE_SHARED ENABLE_EMBED_STDCXX ENABLE_TIMESTAMPS +ENABLE_BACKTRACES TARGETS_TO_BUILD LLVM_ENUM_TARGETS LLVM_ENUM_ASM_PRINTERS @@ -5390,11 +5391,11 @@ else fi case "$enableval" in - yes) ENABLE_TIMESTAMPS=1 + yes) ENABLE_BACKTRACES=1 ;; - no) ENABLE_TIMESTAMPS=0 + no) ENABLE_BACKTRACES=0 ;; - default) ENABLE_TIMESTAMPS=1 + default) ENABLE_BACKTRACES=1 ;; *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-backtraces. Use \"yes\" or \"no\"" >&5 echo "$as_me: error: Invalid setting for --enable-backtraces. Use \"yes\" or \"no\"" >&2;} @@ -10313,7 +10314,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <&5