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
This commit is contained in:
Siddhesh Poyarekar 2012-11-27 10:52:54 +00:00 committed by Jakub Jelinek
parent e2b5ad1ea6
commit 647545a516
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
* configure.ac: Disable libsanitizer if we're not building C++.
* configure: Regenerate.
2012-11-15 Roland McGrath <roland@hack.frob.com>
* MAINTAINERS (Write After Approval): Add myself.

4
configure vendored
View File

@ -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

View File

@ -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