]> git.ipfire.org Git - thirdparty/gcc.git/commit
Properly test for madvise on Solaris 10 (PR bootstrap/50777)
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 19 Oct 2011 16:02:30 +0000 (16:02 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 19 Oct 2011 16:02:30 +0000 (16:02 +0000)
commit87fb500b9377df6eddfc8efd0b5aa186e075951e
treeff885ca14bd208f4f68df8f5bac6ccd4ad83387b
parent09dbcd96d6b668e325e3b34297648d12f25e51b9
Properly test for madvise on Solaris 10 (PR bootstrap/50777)

PR bootstrap/50777
* configure.ac: Save and restore CXXFLAGS around
gcc_AC_CHECK_DECLS uses.
Check for madvise() declaration with g++ if --enable-build-with-cxx.
* configure: Regenerate.
* config.in: Regenerate.
* ggc-page.c (USING_MADVISE): Also check HAVE_DECL_MADVISE.

From-SVN: r180195
gcc/ChangeLog
gcc/config.in
gcc/configure
gcc/configure.ac
gcc/ggc-page.c