From 647545a516180cf715f8b87a3947554c3b9f7f54 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 27 Nov 2012 10:52:54 +0000 Subject: [PATCH] configure.ac: Disable libsanitizer if we're not building C++. * configure.ac: Disable libsanitizer if we're not building C++. * configure: Regenerate. From-SVN: r193842 --- ChangeLog | 5 +++++ configure | 4 ++-- configure.ac | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 87559f36f79..6c0d6d60399 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-11-27 Siddhesh Poyarekar + + * configure.ac: Disable libsanitizer if we're not building C++. + * configure: Regenerate. + 2012-11-15 Roland McGrath * MAINTAINERS (Write After Approval): Add myself. diff --git a/configure b/configure index d72d4f93f9c..16bbaa82bed 100755 --- a/configure +++ b/configure @@ -6437,11 +6437,11 @@ case ,${enable_languages},:${enable_objc_gc} in ;; esac -# Disable libitm if we're not building C++ +# Disable libitm and libsanitizer if we're not building C++ case ,${enable_languages}, in *,c++,*) ;; *) - noconfigdirs="$noconfigdirs target-libitm" + noconfigdirs="$noconfigdirs target-libitm target-libsanitizer" ;; esac diff --git a/configure.ac b/configure.ac index 24ea7e526a3..cd6721e4594 100644 --- a/configure.ac +++ b/configure.ac @@ -2008,11 +2008,11 @@ case ,${enable_languages},:${enable_objc_gc} in ;; esac -# Disable libitm if we're not building C++ +# Disable libitm and libsanitizer if we're not building C++ case ,${enable_languages}, in *,c++,*) ;; *) - noconfigdirs="$noconfigdirs target-libitm" + noconfigdirs="$noconfigdirs target-libitm target-libsanitizer" ;; esac