acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so that all the freaky stuff like sincos will be around...

2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
            Ulrich Drepper  <drepper@cygnus.com>

	* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
	that all the freaky stuff like sincos will be around...

Co-Authored-By: Ulrich Drepper <drepper@cygnus.com>

From-SVN: r34666
This commit is contained in:
Benjamin Kosnik 2000-06-23 17:57:04 +00:00 committed by Benjamin Kosnik
parent 782c59d653
commit 4f76382d2f
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Ulrich Drepper <drepper@cygnus.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
that all the freaky stuff like sincos will be around...
2000-06-22 Branko Cibej <branko.cibej@hermes.si>
* Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.

View File

@ -482,7 +482,7 @@ dnl GLIBCPP_CHECK_MATH_SUPPORT
AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS='-fno-builtins'
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
dnl Check libm
AC_CHECK_LIB(m, sin, libm="-lm")

View File

@ -494,7 +494,7 @@ dnl GLIBCPP_CHECK_MATH_SUPPORT
AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS='-fno-builtins'
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
dnl Check libm
AC_CHECK_LIB(m, sin, libm="-lm")

View File

@ -3970,7 +3970,7 @@ EOF
ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS='-fno-builtins'
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
echo "configure:3977: checking for sin in -lm" >&5