diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-01 10:59:08 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-01 10:59:08 +0000 |
commit | 15b936ef242981647b563b969a2a27613a7e5d1b (patch) | |
tree | a91610fe63671a92c150ffd8c3f04d2fe0ae789c /libstdc++-v3/configure | |
parent | 209cc0f21d2a22ca839dd126dd9b1fa3703e81c4 (diff) | |
download | gcc-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-x | libstdc++-v3/configure | 7 |
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 |