gcc/libgm2
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
..
libm2cor PR modula2/111956 Many powerpc platforms do _not_ have support for IEEE754 2024-01-18 13:06:30 +00:00
libm2iso PR modula2/111956 Many powerpc platforms do _not_ have support for IEEE754 2024-01-18 13:06:30 +00:00
libm2log PR modula2/111956 Many powerpc platforms do _not_ have support for IEEE754 2024-01-18 13:06:30 +00:00
libm2min PR modula2/111956 Many powerpc platforms do _not_ have support for IEEE754 2024-01-18 13:06:30 +00:00
libm2pim libgm2: Define missing configure macros [PR113888] 2024-02-12 14:01:41 +01:00
acinclude.m4
aclocal.m4
ChangeLog Daily bump. 2024-01-19 00:18:21 +00:00
config.h.in libgm2: Define missing configure macros [PR113888] 2024-02-12 14:01:41 +01:00
configure libgm2: Define missing configure macros [PR113888] 2024-02-12 14:01:41 +01:00
configure.ac libgm2: Define missing configure macros [PR113888] 2024-02-12 14:01:41 +01:00
configure.host
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