summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-01 10:59:08 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-01 10:59:08 +0000
commit15b936ef242981647b563b969a2a27613a7e5d1b (patch)
treea91610fe63671a92c150ffd8c3f04d2fe0ae789c /libstdc++-v3/configure
parent209cc0f21d2a22ca839dd126dd9b1fa3703e81c4 (diff)
downloadgcc-15b936ef242981647b563b969a2a27613a7e5d1b.tar.gz
2013-03-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 196372 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@196374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure7
1 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index ed7a080ae36..52b828905c2 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -26472,7 +26472,12 @@ $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_dev
else
if test -r /dev/random && test -r /dev/urandom; then
- glibcxx_cv_random_tr1=yes;
+ ## For MSys environment the test above is detect as false-positive
+ ## on mingw-targets. So disable it explicit for them.
+ case ${target_os} in
+ *mingw*) glibcxx_cv_random_tr1=no ;;
+ *) glibcxx_cv_random_tr1=yes ;;
+ esac
else
glibcxx_cv_random_tr1=no;
fi