diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-05 01:35:25 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-05 01:35:25 +0000 |
commit | b33ca042ba186f30ca27740719a9a7188f1fa419 (patch) | |
tree | ed66bfe3f00e27ed5b2a77a416a23ffa7ea37ba2 | |
parent | d1a21c3587f1f9190f36491fc74f47d4417279fd (diff) | |
download | gcc-b33ca042ba186f30ca27740719a9a7188f1fa419.tar.gz |
PR bootstrap/51072
* configure.ac: Disable libitm if c++ is not enabled.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182899 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.ac | 8 |
3 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b9d08f3e9a2..a8019b354ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-05 Richard Henderson <rth@redhat.com> + + PR bootstrap/51072 + * configure.ac: Disable libitm if c++ is not enabled. + * configure: Rebuild. + 2012-01-02 Balaji V. Iyer <bviyer@gmail.com> * MAINTAINERS (Write After Approval): Add myself. diff --git a/configure b/configure index fd6defaf9dc..d970c1dc526 100755 --- a/configure +++ b/configure @@ -6473,6 +6473,14 @@ case ,${enable_languages},:${enable_objc_gc} in ;; esac +# Disable libitm if we're not building C++ +case ,${enable_languages}, in + *,c++) ;; + *) + noconfigdirs="$noconfigdirs target-libitm" + ;; +esac + # Remove the entries in $skipdirs and $noconfigdirs from $configdirs, # $build_configdirs and $target_configdirs. # If we have the source for $noconfigdirs entries, add them to $notsupp. diff --git a/configure.ac b/configure.ac index 9fee56378e1..b97c5051044 100644 --- a/configure.ac +++ b/configure.ac @@ -1982,6 +1982,14 @@ case ,${enable_languages},:${enable_objc_gc} in ;; esac +# Disable libitm if we're not building C++ +case ,${enable_languages}, in + *,c++) ;; + *) + noconfigdirs="$noconfigdirs target-libitm" + ;; +esac + # Remove the entries in $skipdirs and $noconfigdirs from $configdirs, # $build_configdirs and $target_configdirs. # If we have the source for $noconfigdirs entries, add them to $notsupp. |