* 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
+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.
;;
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.
;;
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.