Commit 99776ebd by Richard Henderson Committed by Richard Henderson

re PR libitm/51072 (Build with --disable-bootstrap fails in libitm)

PR bootstrap/51072
        * configure.ac: Disable libitm if c++ is not enabled.
        * configure: Rebuild.

From-SVN: r182899
parent cbd65133
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.
......
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment