aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-30 17:16:14 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-30 17:16:14 +0000
commitdf148e44caaa3b60fc646e1b6aed64b257174f66 (patch)
tree80445252005987111a91256b35774483d66bfb2f /configure
parentbde9ffa8ca4a5427d23f789888e2e9106ca9c97e (diff)
PR libstdc++/61011
* configure.ac (--disable-libstdcxx): Set noconfigdirs correctly. Disable libcilkrts, libitm, libsanitizer when not building libstdc++. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211087 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure b/configure
index 36455713f33..e9ca33e6f24 100755
--- a/configure
+++ b/configure
@@ -3090,7 +3090,7 @@ else
fi
if test "${ENABLE_LIBSTDCXX}" = "no" ; then
- noconfigdirs="$noconfigdirs libstdc++-v3"
+ noconfigdirs="$noconfigdirs target-libstdc++-v3"
fi
# Save it here so that, even in case of --enable-libgcj, if the Java
@@ -6628,9 +6628,17 @@ case ,${enable_languages},:${enable_objc_gc} in
;;
esac
-# Disable libitm, libsanitizer, libvtv if we're not building C++
+# Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
case ,${enable_languages}, in
- *,c++,*) ;;
+ *,c++,*)
+ # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
+ case "${noconfigdirs}" in
+ *target-libstdc++-v3*)
+ noconfigdirs="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
+ ;;
+ *) ;;
+ esac
+ ;;
*)
noconfigdirs="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
;;