gcc/libgm2/libm2pim
Rainer Orth 0437cbdccb libgm2: Define missing configure macros [PR113888]
As detailed in PR modula2/113888, the 32-bit libm2pim/target.c doesn't
assemble in a Linux/sparc64 multilib build.  However, the root cause is
that the HAVE_EXP10* macros are never defined.  While I was at it, I
checked for other cases where the code uses HAVE_* macros that are
missing from config.h.in.

This patch adds the missing checks, changes the configure checks where
the names don't match what's used in the code, or corrects the code to
use the right names.

So far tested on sparc64-unknown-linux-gnu by building libgm2 (32 and
64-bit) and running the gm2 tests.

2024-02-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	libgm2:
	PR modula2/113888
	* configure.ac (GM2_CHECK_LIB): Rename gettimeofday guard to
	HAVE_GETTIMEOFDAY.
	(GM_CHECK_LIB): Check for settimeofday.
	(GM2_CHECK_LIB): Check for exp10, exp10f, exp10l in libm.
	(AC_CHECK_DECLS): Check for getenv.
	* configure, config.h.in: Regenerate.
	* libm2pim/dtoa.cc: Rename <strings.h>, <string.h> guards to
	HAVE_STRINGS_H, HAVE_STRING_H.
	* libm2pim/ldtoa.cc: Likewise.
2024-02-12 14:01:41 +01:00
..
cgetopt.cc PR modula2/111530: Build failure on BSD due to getopt_long_only GNU extension dependency 2023-10-27 15:54:48 +01:00
dtoa.cc libgm2: Define missing configure macros [PR113888] 2024-02-12 14:01:41 +01:00
errno.cc
ldtoa.cc libgm2: Define missing configure macros [PR113888] 2024-02-12 14:01:41 +01:00
Makefile.am PR modula2/111956 Many powerpc platforms do _not_ have support for IEEE754 2024-01-18 13:06:30 +00:00
Makefile.in PR modula2/111956 Many powerpc platforms do _not_ have support for IEEE754 2024-01-18 13:06:30 +00:00
sckt.cc
Selective.cc
SysExceptions.cc
target.c
termios.cc
UnixArgs.cc
wrapc.cc PR modula2/111955 introduce isnan support to Builtins.def 2023-10-25 11:04:12 +01:00