Commit 337187ff by Benjamin Kosnik Committed by Benjamin Kosnik

acinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build compiler.


2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>

	* acinclude.m4 (CXX): Set to CXX so that in-directory
	re-configures find the build compiler.
	(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
	libstdc++/2609.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r41506
parent 3fa03ff9
2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2001-04-20 Benjamin Kosnik <bkoz@redhat.com> 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
......
...@@ -85,6 +85,7 @@ AC_PROVIDE([AC_PROG_CXX]) ...@@ -85,6 +85,7 @@ AC_PROVIDE([AC_PROG_CXX])
glibcpp_CXX=$CXX glibcpp_CXX=$CXX
AC_CHECK_PROGS(glibcpp_CXX, $CCC c++ g++ gcc CC cxx cc++, gcc) AC_CHECK_PROGS(glibcpp_CXX, $CCC c++ g++ gcc CC cxx cc++, gcc)
AC_SUBST(glibcpp_CXX) AC_SUBST(glibcpp_CXX)
CXX=$glibcpp_CXX
test -z "$glibcpp_CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) test -z "$glibcpp_CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH])
AC_PROG_CXX_GNU AC_PROG_CXX_GNU
...@@ -1354,12 +1355,15 @@ AC_DEFUN(GLIBCPP_ENABLE_C99, [dnl ...@@ -1354,12 +1355,15 @@ AC_DEFUN(GLIBCPP_ENABLE_C99, [dnl
AC_TRY_COMPILE([#include <math.h>],[isnan(0.0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isnan(0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isnormal(0.0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isnormal(0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[signbit(0.0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[signbit(0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isgreater(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isgreater(0.0,0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isgreaterequal(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],
AC_TRY_COMPILE([#include <math.h>],[isless(0,0);],, [ac_c99_math=no]) [isgreaterequal(0.0,0.0);], , [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[islessequal(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isless(0.0,0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[islessgreater(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[islessequal(0.0,0.0);],,[ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isunordered(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],
[islessgreater(0.0,0.0);], , [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],
[isunordered(0.0,0.0);], , [ac_c99_math=no])
# Check for the existence in <stdlib.h> of lldiv_t, et. al. # Check for the existence in <stdlib.h> of lldiv_t, et. al.
AC_CHECK_FUNC(strtoll,,ac_c99_stdlib=no) AC_CHECK_FUNC(strtoll,,ac_c99_stdlib=no)
......
...@@ -97,6 +97,7 @@ AC_PROVIDE([AC_PROG_CXX]) ...@@ -97,6 +97,7 @@ AC_PROVIDE([AC_PROG_CXX])
glibcpp_CXX=$CXX glibcpp_CXX=$CXX
AC_CHECK_PROGS(glibcpp_CXX, $CCC c++ g++ gcc CC cxx cc++, gcc) AC_CHECK_PROGS(glibcpp_CXX, $CCC c++ g++ gcc CC cxx cc++, gcc)
AC_SUBST(glibcpp_CXX) AC_SUBST(glibcpp_CXX)
CXX=$glibcpp_CXX
test -z "$glibcpp_CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) test -z "$glibcpp_CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH])
AC_PROG_CXX_GNU AC_PROG_CXX_GNU
...@@ -1366,12 +1367,15 @@ AC_DEFUN(GLIBCPP_ENABLE_C99, [dnl ...@@ -1366,12 +1367,15 @@ AC_DEFUN(GLIBCPP_ENABLE_C99, [dnl
AC_TRY_COMPILE([#include <math.h>],[isnan(0.0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isnan(0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isnormal(0.0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isnormal(0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[signbit(0.0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[signbit(0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isgreater(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isgreater(0.0,0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isgreaterequal(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],
AC_TRY_COMPILE([#include <math.h>],[isless(0,0);],, [ac_c99_math=no]) [isgreaterequal(0.0,0.0);], , [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[islessequal(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[isless(0.0,0.0);],, [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[islessgreater(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],[islessequal(0.0,0.0);],,[ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],[isunordered(0,0);],, [ac_c99_math=no]) AC_TRY_COMPILE([#include <math.h>],
[islessgreater(0.0,0.0);], , [ac_c99_math=no])
AC_TRY_COMPILE([#include <math.h>],
[isunordered(0.0,0.0);], , [ac_c99_math=no])
# Check for the existence in <stdlib.h> of lldiv_t, et. al. # Check for the existence in <stdlib.h> of lldiv_t, et. al.
AC_CHECK_FUNC(strtoll,,ac_c99_stdlib=no) AC_CHECK_FUNC(strtoll,,ac_c99_stdlib=no)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment