Daily bump.
[official-gcc.git] / libgm2 / ChangeLog
blobcc4bb37086d24636b8e1ae00db6869e75b91d855
1 2024-02-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3         PR modula2/113888
4         * configure.ac (GM2_CHECK_LIB): Rename gettimeofday guard to
5         HAVE_GETTIMEOFDAY.
6         (GM_CHECK_LIB): Check for settimeofday.
7         (GM2_CHECK_LIB): Check for exp10, exp10f, exp10l in libm.
8         (AC_CHECK_DECLS): Check for getenv.
9         * configure, config.h.in: Regenerate.
10         * libm2pim/dtoa.cc: Rename <strings.h>, <string.h> guards to
11         HAVE_STRINGS_H, HAVE_STRING_H.
12         * libm2pim/ldtoa.cc: Likewise.
14 2024-01-18  Gaius Mulley  <gaiusmod2@gmail.com>
16         PR modula2/111956
17         * Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
18         * Makefile.in: Regenerate.
19         * libm2cor/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
20         * libm2cor/Makefile.in: Regenerate.
21         * libm2iso/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
22         * libm2iso/Makefile.in: Regenerate.
23         * libm2log/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
24         * libm2log/Makefile.in: Regenerate.
25         * libm2min/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
26         * libm2min/Makefile.in: Regenerate.
27         * libm2pim/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
28         * libm2pim/Makefile.in: Regenerate.
30 2024-01-05  Gaius Mulley  <gaiusmod2@gmail.com>
32         * libm2iso/RTco.cc (initialized): Use bool instead of int.
34 2023-12-22  Christophe Lyon  <christophe.lyon@linaro.org>
36         * Makefile.am: Allow overriding EXEPCT.
37         * Makefile.in: Regenerate.
39 2023-12-13  Gaius Mulley  <gaiusmod2@gmail.com>
41         PR modula2/112921
42         * libm2iso/Makefile.am (M2DEFS): Add ConvStringShort.def,
43         ShortConv.def, ShortMath.def and ShortStr.def.
44         (M2MODS): Add ConvStringShort.mod,
45         ShortConv.mod, ShortMath.mod and ShortStr.mod.
46         * libm2iso/Makefile.in: Regenerate.
48 2023-12-12  Gaius Mulley  <gaiusmod2@gmail.com>
50         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Added line breaks.
51         * libm2iso/Makefile.in: Regenerate.
52         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Added line breaks.
53         * libm2log/Makefile.in: Regenerate.
54         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Added line breaks.
55         * libm2pim/Makefile.in: Regenerate.
57 2023-11-30  Gaius Mulley  <gaiusmod2@gmail.com>
59         * configure: Regenerate.
60         * configure.ac:(libtool_VERSION): Bump to 19:0:0.
62 2023-11-13  Gaius Mulley  <gaiusmod2@gmail.com>
64         PR modula2/110779
65         * Makefile.in: Regenerate.
66         * aclocal.m4: Regenerate.
67         * config.h.in: Regenerate.
68         * configure: Regenerate.
69         * configure.ac: Remove newline.
70         * libm2cor/Makefile.in: Regenerate.
71         * libm2iso/Makefile.in: Regenerate.
72         * libm2log/Makefile.in: Regenerate.
73         * libm2min/Makefile.in: Regenerate.
74         * libm2pim/Makefile.in: Regenerate.
75         * acinclude.m4: New file.
76         * configure.host: New file.
78 2023-10-27  Gaius Mulley  <gaiusmod2@gmail.com>
80         PR modula2/112110
81         * libm2iso/wrapclock.cc (timezone): Return 0 if unable
82         to get the timezone from the tm struct.
84 2023-10-27  Gaius Mulley  <gaiusmod2@gmail.com>
86         PR modula2/111530
87         * Makefile.in: Regenerate.
88         * aclocal.m4: Regenerate.
89         * config.h.in: Regenerate.
90         * configure: Regenerate.
91         * configure.ac (AC_CHECK_HEADERS): Include getopt.h.
92         (GM2_CHECK_LIB): getopt_long check.
93         (GM2_CHECK_LIB): getopt_long_only check.
94         * libm2cor/Makefile.in: Regenerate.
95         * libm2iso/Makefile.in: Regenerate.
96         * libm2log/Makefile.in: Regenerate.
97         * libm2min/Makefile.in: Regenerate.
98         * libm2pim/Makefile.in: Regenerate.
99         * libm2pim/cgetopt.cc: Re-write using conditional on configure
100         and long function code from libiberty/getopt.c.
102 2023-10-25  Gaius Mulley  <gaiusmod2@gmail.com>
104         PR modula2/111955
105         * libm2pim/wrapc.cc (isnan): Export new function.
106         (isnanf): Export new function.
107         (isnanl): Export new function.
109 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
111         * Makefile.am: Handle Darwin rpaths.
112         * Makefile.in: Regenerate.
113         * aclocal.m4: Regenerate.
114         * configure: Regenerate.
115         * configure.ac: Handle Darwin rpaths.
116         * libm2cor/Makefile.am: Handle Darwin rpaths.
117         * libm2cor/Makefile.in: Regenerate.
118         * libm2iso/Makefile.am: Handle Darwin rpaths.
119         * libm2iso/Makefile.in: Regenerate.
120         * libm2log/Makefile.am: Handle Darwin rpaths.
121         * libm2log/Makefile.in: Regenerate.
122         * libm2min/Makefile.am: Handle Darwin rpaths.
123         * libm2min/Makefile.in: Regenerate.
124         * libm2pim/Makefile.am: Handle Darwin rpaths.
125         * libm2pim/Makefile.in: Regenerate.
127 2023-09-29  Gaius Mulley  <gaiusmod2@gmail.com>
129         * libm2iso/wrapclock.cc (longint_t): New declaration.
130         (GetTimespec): Replace types for sec and nano with
131         longint_t.
132         (SetTimespec): Replace types for sec and nano with
133         longint_t.
135 2023-09-19  Gaius Mulley  <gaiusmod2@gmail.com>
137         * Makefile.am (TARGET_LONGDOUBLE_ABI): New variable set to
138         -mabi=ieeelongdouble if the target is powerpc64le.
139         (AM_MAKEFLAGS): Append TARGET_LONGDOUBLE_ABI.
140         * Makefile.in: Rebuild.
141         * libm2cor/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
142         TARGET_LONGDOUBLE_ABI.
143         (libm2cor_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
144         (libm2cor_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
145         * libm2cor/Makefile.in: Rebuild.
146         * libm2iso/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
147         TARGET_LONGDOUBLE_ABI.
148         (libm2iso_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
149         (libm2iso_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
150         * libm2iso/Makefile.in: Rebuild.
151         * libm2log/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
152         TARGET_LONGDOUBLE_ABI.
153         (libm2log_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
154         (libm2log_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
155         * libm2log/Makefile.in: Rebuild.
156         * libm2min/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
157         TARGET_LONGDOUBLE_ABI.
158         (libm2min_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
159         (libm2min_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
160         * libm2min/Makefile.in: Rebuild.
161         * libm2pim/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
162         TARGET_LONGDOUBLE_ABI.
163         (libm2pim_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
164         (libm2pim_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
165         * libm2pim/Makefile.in: Rebuild.
167 2023-09-13  Gaius Mulley  <gaiusmod2@gmail.com>
169         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add
170         -Wcase-enum.
171         * libm2cor/Makefile.in: Regenerate.
172         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add
173         -Wcase-enum.
174         * libm2iso/Makefile.in: Regenerate.
175         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add
176         -Wcase-enum.
177         * libm2log/Makefile.in: Regenerate.
178         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add
179         -Wcase-enum.
180         * libm2pim/Makefile.in: Regenerate.
182 2023-08-12  Gaius Mulley  <gaiusmod2@gmail.com>
184         PR modula2/110779
185         * configure: Regenerate.
186         * configure.ac: Provide special case test for Darwin cross
187         configuration.
188         (GLIBCXX_CONFIGURE): New statement.
189         (GLIBCXX_CHECK_GETTIMEOFDAY): New statement.
190         (GLIBCXX_ENABLE_LIBSTDCXX_TIME): New statement.
191         * libm2iso/wrapclock.cc: New sys/time.h conditional include.
192         (sys/syscall.h): Conditional include.
193         (unistd.h): Conditional include.
194         (GetTimeRealtime): Re-implement.
195         (SetTimeRealtime): Re-implement.
196         (timezone): Re-implement.
197         (istimezone): New function.
198         (daylight): Re-implement.
199         (isdst): Re-implement.
200         (tzname): Re-implement.
202 2023-08-09  Gaius Mulley  <gaiusmod2@gmail.com>
204         PR modula2/110779
205         * config.h.in: Regenerate.
206         * configure: Regenerate.
207         * configure.ac (AC_CACHE_CHECK): Check for tm_gmtoff field in
208         struct tm.
209         (GM2_CHECK_LIB): Check for daylight, timezone and tzname.
210         * libm2iso/wrapclock.cc (timezone): Guard against absence of
211         struct tm and tm_gmtoff.
212         (daylight): Check for daylight.
213         (timezone): Check for timezone.
214         (isdst): Check for isdst.
215         (tzname): Check for tzname.
216         (GetTimeRealtime): Check for struct timespec.
217         (SetTimeRealtime): Check for struct timespec.
218         (InitTimespec): Check for struct timespec.
219         (KillTimespec): Check for struct timespec.
220         (SetTimespec): Check for struct timespec.
221         (GetTimespec): Check for struct timespec.
223 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
225         * configure: Regenerate.
227 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
229         * configure: Regenerate.
231 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
233         * configure: Regenerate.
235 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
237         * configure: Regenerate.
239 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
241         * configure: Regenerate.
243 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
245         * configure: Regenerate.
247 2023-08-05  Gaius Mulley  <gaiusmod2@gmail.com>
249         PR modula2/110779
250         * config.h.in: Regenerate.
251         * configure: Regenerate.
252         * configure.ac (GM2_CHECK_LIB): Check for clock_gettime
253         and clock_settime.
254         * libm2iso/Makefile.am (M2DEFS): Add wrapclock.def.
255         * libm2iso/Makefile.in: Regenerate.
256         * libm2iso/wraptime.cc: Replace HAVE_TIMEVAL with
257         HAVE_STRUCT_TIMEVAL.
258         * libm2iso/wrapclock.cc: New file.
260 2023-06-02  Thomas Schwinge  <thomas@codesourcery.com>
262         * configure.ac (PERL): Remove.
263         * configure: Regenerate.
264         * Makefile.in: Likewise.
265         * libm2cor/Makefile.in: Likewise.
266         * libm2iso/Makefile.in: Likewise.
267         * libm2log/Makefile.in: Likewise.
268         * libm2min/Makefile.in: Likewise.
269         * libm2pim/Makefile.in: Likewise.
271 2023-05-16  Gaius Mulley  <gaiusmod2@gmail.com>
273         PR modula2/109879
274         * Makefile.in: Regenerate.
275         * aclocal.m4: Regenerate.
276         * libm2cor/Makefile.in: Regenerate.
277         * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
278         (M2MODS): Add TextUtil.mod.
279         * libm2iso/Makefile.in: Regenerate.
280         * libm2log/Makefile.in: Regenerate.
281         * libm2min/Makefile.in: Regenerate.
282         * libm2pim/Makefile.in: Regenerate.
284 2023-05-16  Gaius Mulley  <gaiusmod2@gmail.com>
286         PR modula2/108344
287         * libm2cor/KeyBoardLEDs.cc (initialize_module): New function.
288         (SwitchScroll): Call initialize_module.
289         (SwitchNum): Call initialize_module.
290         (SwitchCaps): Call initialize_module.
291         (SwitchLEDs): Call initialize_module.
292         (M2EXPORT): Remove initialization code.
294 2023-05-13  Gaius Mulley  <gaiusmod2@gmail.com>
296         * libm2cor/KeyBoardLEDs.cc (TRUE): Remove.
297         (FALSE): Remove.
298         (init): Replace TRUE with true.
299         * libm2iso/RTco.cc (TRUE): Remove.
300         (FALSE): Remove.
301         (initSem): Replace int with bool.
302         (init): Replace FALSE with false.
303         * libm2pim/sckt.cc (TRUE): Remove.
304         (FALSE): Remove.
305         * libm2pim/wrapc.cc: Replace TRUE with true
306         and FALSE with false.
307         (FALSE): Remove.
308         (TRUE): Remove.
310 2023-05-08  Thomas Schwinge  <thomas@codesourcery.com>
312         * autogen.sh: Remove.
314 2023-05-08  Thomas Schwinge  <thomas@codesourcery.com>
316         * autogen.sh: For 'aclocal', 'autoreconf', remove '-I .',
317         add '-I ..'.
318         * Makefile.am (ACLOCAL_AMFLAGS): Remove '-I .'.
319         * libm2cor/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
320         * libm2iso/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
321         * libm2log/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
322         * libm2min/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
323         * libm2pim/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
324         * aclocal.m4: Regenerate.
325         * Makefile.in: Likewise.
326         * libm2cor/Makefile.in: Likewise.
327         * libm2iso/Makefile.in: Likewise.
328         * libm2log/Makefile.in: Likewise.
329         * libm2min/Makefile.in: Likewise.
330         * libm2pim/Makefile.in: Likewise.
332 2023-03-22  Gaius Mulley  <gaiusmod2@gmail.com>
334         * libm2pim/Makefile.am (M2DEFS): Remove M2LINK.def.
335         * libm2pim/Makefile.in: Rebuild.
337 2023-03-16  Gaius Mulley  <gaiusmod2@gmail.com>
339         * libm2cor/Makefile.am: Remove
340         * libm2cor/Makefile.in: Rebuild.
341         * libm2iso/RTco.cc (newSem): Halt parameters reordered.
342         (currentThread): Ditto.
343         (never): Ditto.
344         (defined): Ditto.
345         (initThread): Ditto.
346         * libm2iso/m2rts.h (m2iso_M2RTS_HaltC): Ditto.
348 2023-03-15  Gaius Mulley  <gaiusmod2@gmail.com>
350         PR modula2/109125
351         * libm2pim/dtoa.cc (TRUE): Remove.
352         (FALSE): Remove.  Replace int with bool.
353         * libm2pim/ldtoa.cc (TRUE): Remove.
354         (FALSE): Remove.  Replace int with bool.
356 2023-03-14  Gaius Mulley  <gaiusmod2@gmail.com>
358         PR modula2/109125
359         * libm2iso/ErrnoCategory.cc (FALSE): Remove.
360         (TRUE): Remove.
361         * libm2iso/wrapsock.c (TRUE): Remove.
362         (FALSE): Remove.
363         * libm2iso/wraptime.cc (TRUE): Remove.
364         (FALSE): Remove.
365         * libm2pim/cgetopt.cc: Replace int for bool for every BOOLEAN
366         parameter in the definition module.
367         * libm2pim/dtoa.cc: Ditto.
368         * libm2pim/ldtoa.cc: Ditto.
369         * libm2pim/termios.cc: Ditto.
370         (doSetUnset): Replace int for bool.
372 2023-02-27  Gaius Mulley  <gaiusmod2@gmail.com>
374         PR modula2/108944
375         * libm2pim/sckt.cc (getLocalIP): Correct parameter order.
377 2023-02-25  Gaius Mulley  <gaiusmod2@gmail.com>
379         PR modula2/108261
380         * libm2cor/KeyBoardLEDs.cc (EXPORT): New define.
381         (M2EXPORT): New define.
382         (M2LIBNAME): New define.
383         (KeyBoardLEDs_SwitchScroll): EXPORT.
384         (KeyBoardLEDs_SwitchNum): EXPORT.
385         (KeyBoardLEDs_SwitchCaps): EXPORT.
386         (KeyBoardLEDs_SwitchLeds): EXPORT.
387         (_M2_KeyBoardLEDs_init): M2EXPORT.
388         (_M2_KeyBoardLEDs_finish): M2EXPORT.
389         (_M2_KeyBoardLEDs_dep): M2EXPORT.
390         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Define
391         path names.
392         * libm2cor/Makefile.in: Rebuild.
393         * libm2iso/ErrnoCategory.cc (EXPORT): New define.
394         (M2EXPORT): New define.
395         (M2LIBNAME): New define.
396         (ErrnoCategory_IsErrnoHard): EXPORT.
397         (ErrnoCategory_IsErrnoSoft): EXPORT.
398         (ErrnoCategory_UnAvailable): EXPORT.
399         (ErrnoCategory_GetOpenResults): EXPORT.
400         (_M2_ErrnoCategory_init): M2EXPORT.
401         (_M2_ErrnoCategory_fini): M2EXPORT.
402         (_M2_ErrnoCategory_dep): M2EXPORT.
403         (_M2_ErrnoCategory_ctor): M2EXPORT.
404         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Define
405         path names.
406         * libm2iso/Makefile.in: Rebuild.
407         * libm2iso/RTco.cc (EXPORT): New define.
408         (M2EXPORT): New define.
409         (M2LIBNAME): New define.
410         (newSem): Add module libname prefix to HaltC.
411         (currentThread): Remove variable and replace with a function.
412         (never): Add module libname prefix to HaltC.
413         (initThread): Add module libname prefix to HaltC.
414         * libm2iso/m2rts.h (str): New define.
415         (M2RTS_RequestDependant): Change to the mangled name equivalent.
416         (M2RTS_RegisterModule): Change to the mangled name equivalent.
417         (m2iso_M2RTS_RequestDependant): Add libname parameter.
418         (m2iso_M2RTS_RegisterModule): Add libname parameter.
419         (m2pim_M2RTS_RegisterModule): Add libname parameter.
420         (_M2_M2RTS_init): Rename this...
421         (m2iso_M2_M2RTS_init): ...to this.
422         (M2RTS_ConstructModules): Change to the mangled name equivalent.
423         (M2RTS_Terminate): Change to the mangled name equivalent.
424         (M2RTS_DeconstructModules): Change to the mangled name equivalent.
425         (m2iso_M2RTS_ConstructModules): Add libname parameter.
426         (m2iso_M2RTS_Terminate): Add libname parameter.
427         (m2iso_M2RTS_DeconstructModules): Add libname parameter.
428         (M2RTS_HaltC): Rename this...
429         (m2iso_M2RTS_HaltC): ...to this.
430         * libm2iso/wrapsock.c (EXPORT): New define.
431         (IMPORT): New define.
432         (M2EXPORT): New define.
433         (M2LIBNAME): New define.
434         (m2iso_M2RTS_RequestDependant): Add prototype.
435         (wrapsock_clientOpen): EXPORT.
436         (wrapsock_clientOpenIP): EXPORT.
437         (wrapsock_getClientPortNo): EXPORT.
438         (wrapsock_getClientHostname): EXPORT.
439         (wrapsock_getClientSocketFd): EXPORT.
440         (wrapsock_getClientIP): EXPORT.
441         (wrapsock_getPushBackChar): EXPORT.
442         (wrapsock_setPushBackChar): EXPORT.
443         (wrapsock_getSizeOfClientInfo): EXPORT.
444         (_M2_wrapsock_init): M2EXPORT.
445         (_M2_wrapsock_fini): M2EXPORT.
446         (ctor): M2EXPORT.  New function.
447         * libm2iso/wraptime.c: Rename to...
448         * libm2iso/wraptime.cc: ...this.
449         (EXPORT): New define.
450         (M2EXPORT): New define.
451         (M2LIBNAME): New define.
452         (wraptime_InitTimeval): EXPORT.
453         (wraptime_KillTimeval): EXPORT.
454         (wraptime_InitTimezone): EXPORT.
455         (wraptime_KillTimezone): EXPORT.
456         (wraptime_InitTM): EXPORT.
457         (wraptime_KillTM): EXPORT.
458         (wraptime_gettimeofday): EXPORT.
459         (wraptime_settimeofday): EXPORT.
460         (wraptime_GetFractions): EXPORT.
461         (wraptime_localtime_r): EXPORT.
462         (wraptime_GetYear): EXPORT.
463         (wraptime_GetMonth): EXPORT.
464         (wraptime_GetDay): EXPORT.
465         (wraptime_GetHour): EXPORT.
466         (wraptime_GetMinute): EXPORT.
467         (wraptime_GetSecond): EXPORT.
468         (wraptime_GetSummerTime): EXPORT.
469         (wraptime_GetDST): EXPORT.
470         (wraptime_SetTimezone): EXPORT.
471         (wraptime_SetTimeval): EXPORT.
472         (_M2_wraptime_init): M2EXPORT.
473         (_M2_wraptime_fini): M2EXPORT.
474         (ctor): M2EXPORT.  New function.
475         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Define
476         path names.
477         * libm2log/Makefile.in:
478         * libm2min/Makefile.am (libm2min_la_M2FLAGS): Define
479         path names.
480         * libm2min/Makefile.in:
481         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Define
482         path names.
483         * libm2pim/Makefile.in:
484         * libm2pim/Selective.cc (EXPORT): New define.
485         (M2EXPORT): New define.
486         (M2LIBNAME): New define.
487         (Selective_Select): EXPORT.
488         (Selective_InitTime): EXPORT.
489         (Selective_GetTime): EXPORT.
490         (Selective_SetTime): EXPORT.
491         (Selective_KillTime): EXPORT.
492         (Selective_InitSet): EXPORT.
493         (Selective_KillSet): EXPORT.
494         (Selective_FdZero): EXPORT.
495         (Selective_FdSet): EXPORT.
496         (Selective_FdClr): EXPORT.
497         (Selective_FdIsSet): EXPORT.
498         (Selective_GetTimeOfDay): EXPORT.
499         (Selective_MaxFdsPlusOne): EXPORT.
500         (Selective_WriteCharRaw): EXPORT.
501         (Selective_ReadCharRaw): EXPORT.
502         (_M2_Selective_init): M2EXPORT.
503         (_M2_Selective_fini): M2EXPORT.
504         (_M2_Selective_dep): M2EXPORT.
505         (_M2_Selective_ctor): M2EXPORT.
506         * libm2pim/SysExceptions.cc (EXPORT): New define.
507         (M2EXPORT): New define.
508         (M2LIBNAME): New define.
509         (SysExceptions_InitExceptionHandlers): EXPORT.
510         (_M2_SysExceptions_init): M2EXPORT.
511         (_M2_SysExceptions_fini): M2EXPORT.
512         (_M2_SysExceptions_dep): M2EXPORT.
513         (_M2_SysExceptions_ctor): M2EXPORT.
514         * libm2pim/UnixArgs.cc (EXPORT): New define.
515         (M2EXPORT): New define.
516         (M2LIBNAME): New define.
517         (UnixArgs_GetArgC): EXPORT.
518         (UnixArgs_GetArgV): EXPORT.
519         (UnixArgs_GetEnvV): EXPORT.
520         (_M2_UnixArgs_init): M2EXPORT.
521         (_M2_UnixArgs_fini): M2EXPORT.
522         (_M2_UnixArgs_dep): M2EXPORT.
523         (_M2_UnixArgs_ctor): M2EXPORT.
524         * libm2pim/cgetopt.cc (EXPORT): New define.
525         (M2EXPORT): New define.
526         (M2LIBNAME): New define.
527         (cgetopt_getopt): EXPORT.
528         (cgetopt_getopt_long): EXPORT.
529         (cgetopt_getopt_long_only): EXPORT.
530         (cgetopt_InitOptions): EXPORT.
531         (cgetopt_KillOptions): EXPORT.
532         (cgetopt_SetOption): EXPORT.
533         (cgetopt_GetLongOptionArray): EXPORT.
534         (_M2_cgetopt_init): M2EXPORT.
535         (_M2_cgetopt_fini): M2EXPORT.
536         (_M2_cgetopt_dep): M2EXPORT.
537         (_M2_cgetopt_ctor): M2EXPORT.
538         * libm2pim/dtoa.cc (EXPORT): New define.
539         (M2EXPORT): New define.
540         (M2LIBNAME): New define.
541         (dtoa_strtod): EXPORT.
542         (dtoa_calcmaxsig): EXPORT.
543         (dtoa_calcdecimal): EXPORT.
544         (dtoa_calcsign): EXPORT.
545         (dtoa_dtoa): EXPORT.
546         (_M2_dtoa_init): M2EXPORT.
547         (_M2_dtoa_fini): M2EXPORT.
548         (_M2_dtoa_dep): M2EXPORT.
549         (_M2_dtoa_ctor): M2EXPORT.
550         * libm2pim/errno.cc (EXPORT): New define.
551         (M2EXPORT): New define.
552         (M2LIBNAME): New define.
553         (errno_geterrno): EXPORT.
554         (_M2_errno_init): M2EXPORT.
555         (_M2_errno_fini): M2EXPORT.
556         (_M2_errno_dep): M2EXPORT.
557         (_M2_errno_ctor): M2EXPORT.
558         * libm2pim/ldtoa.cc (EXPORT): New define.
559         (IMPORT): New define.
560         (M2EXPORT): New define.
561         (M2LIBNAME): New define.
562         (dtoa_calcmaxsig): EXPORT.
563         (dtoa_calcdecimal): EXPORT.
564         (dtoa_calcsign): EXPORT.
565         (ldtoa_strtold): EXPORT.
566         (ldtoa_ldtoa): EXPORT.
567         (_M2_ldtoa_init): M2EXPORT.
568         (_M2_ldtoa_fini): M2EXPORT.
569         (_M2_ldtoa_dep): M2EXPORT.
570         (_M2_ldtoa_ctor): M2EXPORT.
571         * libm2pim/sckt.cc (EXPORT): New define.
572         (M2EXPORT): New define.
573         (M2LIBNAME): New define.
574         (tcpServerEstablishPort): EXPORT.
575         (tcpServerEstablish): EXPORT.
576         (tcpServerAccept): EXPORT.
577         (tcpServerPortNo): EXPORT.
578         (tcpServerSocketFd): EXPORT.
579         (getLocalIP): EXPORT.
580         (tcpServerIP): EXPORT.
581         (tcpServerClientIP): EXPORT.
582         (tcpServerClientPortNo): EXPORT.
583         (tcpClientSocket): EXPORT.
584         (tcpClientSocketIP): EXPORT.
585         (tcpClientConnect): EXPORT.
586         (tcpClientPortNo): EXPORT.
587         (tcpClientSocketFd): EXPORT.
588         (tcpClientIP): EXPORT.
589         (_M2_sckt_init): M2EXPORT.
590         (_M2_sckt_finish): M2EXPORT.
591         (_M2_sckt_dep): M2EXPORT.
592         (_M2_sckt_ctor): M2EXPORT.
593         * libm2pim/termios.cc (EXPORT): New define.
594         (M2EXPORT): New define.
595         (M2LIBNAME): New define.
596         (_M2_termios_init): M2EXPORT.
597         (_M2_termios_fini): M2EXPORT.
598         (_M2_termios_dep): M2EXPORT.
599         (_M2_termios_ctor): M2EXPORT.
600         * libm2pim/wrapc.c (EXPORT): New define.
601         (M2EXPORT): New define.
602         (M2LIBNAME): New define.
603         (wrapc_strtime): EXPORT.
604         (wrapc_filesize): EXPORT.
605         (wrapc_filemtime): EXPORT.
606         (wrapc_fileinode): EXPORT.
607         (wrapc_getrand): EXPORT.
608         (wrapc_getusername): EXPORT.
609         (wrapc_getnameuidgid): EXPORT.
610         (wrapc_signbit): EXPORT.
611         (wrapc_signbitl): EXPORT.
612         (wrapc_signbitf): EXPORT.
613         (wrapc_isfinite): EXPORT.
614         (wrapc_isfinitel): EXPORT.
615         (wrapc_isfinitef): EXPORT.
616         (_M2_wrapc_init): M2EXPORT.
617         (_M2_wrapc_fini): M2EXPORT.
618         (_M2_wrapc_ctor): M2EXPORT.
619         * libm2pim/wrapc.cc: New file.
621 2023-02-19  Gaius Mulley  <gaiusmod2@gmail.com>
623         PR testsuite/108835
624         * libm2iso/RTco.cc: Re-implementation using a single lock
625         mutex and inlined wait/signal implementation within
626         transfer.
628 2023-02-13  Gaius Mulley  <gaiusmod2@gmail.com>
630         * libm2iso/RTco.cc (tprintf): Replace definition.
632 2023-02-01  Gaius Mulley  <gaiusmod2@gmail.com>
634         PR modula2/108612
635         PR modula2/108551
636         * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add -Wreturn-type
637         -fcase.
638         * libm2cor/Makefile.in: Rebuild.
639         * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add -Wreturn-type
640         -fcase.
641         * libm2iso/Makefile.in: Rebuild.
642         * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add -Wreturn-type
643         -fcase.
644         * libm2log/Makefile.in: Rebuild.
645         * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add -Wreturn-type
646         -fcase.
647         * libm2pim/Makefile.in: Rebuild.
649 2023-01-31  Richard Biener  <rguenther@suse.de>
651         PR modula2/108462
652         * libm2cor/Makefile.am: Remove static lib install from
653         install-data-local.
654         * libm2iso/Makefile.am: Likewise.
655         * libm2log/Makefile.am: Likewise.
656         * libm2min/Makefile.am: Likewise.
657         * libm2pim/Makefile.am: Likewise.
658         * libm2cor/Makefile.in: Regenerate.
659         * libm2iso/Makefile.in: Likewise.
660         * libm2log/Makefile.in: Likewise.
661         * libm2min/Makefile.in: Likewise.
662         * libm2pim/Makefile.in: Likewise.
664 2023-01-31  Gaius Mulley  <gaiusmod2@gmail.com>
666         * libm2log/Makefile.am (VPATH): Replace gm2-libs-pim
667         with gm2-libs-log.
668         (libm2log_la_M2FLAGS): Replace gm2-libs-pim with
669         gm2-libs-log.
670         (install-data-local): Replace gm2-libs-pim with
671         gm2-libs-log.
672         * libm2log/Makefile.in: Rebuilt.
674 2023-01-26  Gaius Mulley  <gaiusmod2@gmail.com>
676         * configure.ac (AM_INIT_AUTOMAKE): Specify 1.15.1.
678 2023-01-24  Co-Authored by: Iain Sandoe  <iain@sandoe.co.uk>
680         * libm2cor/Makefile.am (SYSTEM.def): Split path into
681         multiple -I components.
682         * libm2cor/Makefile.in: Rebuild.
683         * libm2min/Makefile.am (SYSTEM.def): Split path into
684         multiple -I components.
685         * libm2min/Makefile.in: Rebuild.
686         * libm2iso/Makefile.am (SYSTEM.def): Split path into
687         multiple -I components.
688         * libm2iso/Makefile.in: Rebuild.
690 2023-01-23  Richard Biener  <rguenther@suse.de>
692         PR modula2/108144
693         * libm2cor/Makefile.am: Revert previous change, instead
694         drop the redundant $(MULTIDIR).
695         * libm2iso/Makefile.am: Likewise.
696         * libm2log/Makefile.am: Likewise.
697         * libm2min/Makefile.am: Likewise.
698         * libm2pim/Makefile.am: Likewise.
699         * libm2cor/Makefile.in: Regenerate.
700         * libm2iso/Makefile.in: Likewise.
701         * libm2log/Makefile.in: Likewise.
702         * libm2min/Makefile.in: Likewise.
703         * libm2pim/Makefile.in: Likewise.
705 2023-01-23  Richard Biener  <rguenther@suse.de>
707         PR modula2/108144
708         * configure.ac: Apply config-ml.pl to the generated Makefiles.
709         Set multilib_arg, use AM_PROG_LIBTOOL.
710         * configure: Regenerate.
711         * Makefile.am (AM_MAKEFLAGS): Do not override MULTI* flags.
712         * Makefile.in: Regenerate.
713         * libm2cor/Makefile.am: Install to $(toolexeclibdir)$(M2LIBDIR)
714         rather than $(inst_libdir)/$(MULTIDIR)$(M2LIBDIR).
715         * libm2iso/Makefile.am: Likewise.
716         * libm2log/Makefile.am: Likewise.
717         * libm2min/Makefile.am: Likewise.
718         * libm2pim/Makefile.am: Likewise.
719         * libm2cor/Makefile.in: Regenerate.
720         * libm2iso/Makefile.in: Likewise.
721         * libm2log/Makefile.in: Likewise.
722         * libm2min/Makefile.in: Likewise.
723         * libm2pim/Makefile.in: Likewise.
725 2023-01-19  Richard Biener  <rguenther@suse.de>
727         PR modula2/108144
728         * configure.ac: Add GCC_BASE_VER.
729         * configure: Re-generate.
730         * Makefile.am: Use @get_gcc_base_ver@ for gcc_version.
731         * libm2cor/Makefile.am: Likewise.  Use gcc_version instead
732         of version.
733         * libm2iso/Makefile.am: Likewise.
734         * libm2log/Makefile.am: Likewise.
735         * libm2min/Makefile.am: Likewise.
736         * libm2pim/Makefile.am: Likewise.
737         * Makefile.in: Re-generate.
738         * libm2cor/Makefile.in: Likewise.
739         * libm2iso/Makefile.in: Likewise.
740         * libm2log/Makefile.in: Likewise.
741         * libm2min/Makefile.in: Likewise.
742         * libm2pim/Makefile.in: Likewise.
744 2023-01-17  Gaius Mulley  <gaiusmod2@gmail.com>
746         * libm2iso/RTco.cc (_M2_RTco_fini): Call M2RTS_HaltC.
747         (newSem): Call M2RTS_HaltC.
748         (currentThread): Call M2RTS_HaltC.
749         (never): Call M2RTS_HaltC.
750         (defined): Call M2RTS_HaltC.
751         (initThread): Call M2RTS_HaltC.
752         (RTco_transfer): Call M2RTS_HaltC.
753         * libm2iso/m2rts.h (M2RTS_Halt): Provide parameter names.
754         (M2RTS_HaltC): New procedure declaration.
756 2023-01-06  v  <gaiusmod2@gmail.com>
758         * configure: Regenerate.
759         * configure.ac (libtool_VERSION): Bump to 18:0:0.
761 2023-01-04  Iain Sandoe  <iain@sandoe.co.uk>
763         PR modula2/108183
764         * libm2cor/KeyBoardLEDs.cc (_M2_KeyBoardLEDs_ctor): Rework to use
765         an extern "C" function with 'constructor' attribute.
766         * libm2iso/ErrnoCategory.cc (_M2_ErrnoCategory_ctor): Likewise.
767         * libm2iso/RTco.cc (_M2_RTco_ctor): Likewise.
768         * libm2pim/Selective.cc (_M2_Selective_ctor): Likewise.
769         * libm2pim/SysExceptions.cc (_M2_SysExceptions_ctor): Likewise.
770         * libm2pim/UnixArgs.cc (_M2_UnixArgs_ctor): Likewise.
771         * libm2pim/cgetopt.cc (_M2_cgetopt_ctor): Likewise.
772         * libm2pim/dtoa.cc (_M2_dtoa_ctor): Likewise.
773         * libm2pim/errno.cc (_M2_errno_ctor): Likewise.
774         * libm2pim/ldtoa.cc (_M2_ldtoa_ctor): Likewise.
775         * libm2pim/sckt.cc (_M2_sckt_ctor): Likewise.
776         * libm2pim/termios.cc (_M2_termios_ctor): Likewise.
777         * libm2pim/wrapc.c: Add a new line to the file end.
779 2022-12-31  Iain Sandoe  <iain@sandoe.co.uk>
781         * configure: Regenerate.
782         * configure.ac: Make a conditional for configurations targeting
783         Darwin.
784         * libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
785         * libm2iso/Makefile.am: Likewise.
786         * libm2log/Makefile.am: Likewise.
787         * libm2pim/Makefile.am: Likewise
788         * libm2min/Makefile.am: Likewise
789         * libm2cor/Makefile.in: Regenerate.
790         * libm2iso/Makefile.in: Regenerate.
791         * libm2log/Makefile.in: Regenerate.
792         * libm2min/Makefile.in: Regenerate.
793         * libm2pim/Makefile.in: Regenerate.
795 2022-12-14  Gaius Mulley  <gaiusmod2@gmail.com>
797         * Makefile.am: New file.
798         * autogen.sh: New file.
799         * config.h.in: New file.
800         * configure.ac: New file.
801         * libm2cor/KeyBoardLEDs.cc: New file.
802         * libm2cor/Makefile.am: New file.
803         * libm2iso/ChanConsts.h: New file.
804         * libm2iso/ErrnoCategory.cc: New file.
805         * libm2iso/Makefile.am: New file.
806         * libm2iso/RTco.cc: New file.
807         * libm2iso/m2rts.h: New file.
808         * libm2iso/wrapsock.c: New file.
809         * libm2iso/wraptime.c: New file.
810         * libm2log/Break.c: New file.
811         * libm2log/Makefile.am: New file.
812         * libm2min/Makefile.am: New file.
813         * libm2min/libc.c: New file.
814         * libm2pim/Makefile.am: New file.
815         * libm2pim/Selective.cc: New file.
816         * libm2pim/SysExceptions.cc: New file.
817         * libm2pim/UnixArgs.cc: New file.
818         * libm2pim/cgetopt.cc: New file.
819         * libm2pim/dtoa.cc: New file.
820         * libm2pim/errno.cc: New file.
821         * libm2pim/ldtoa.cc: New file.
822         * libm2pim/sckt.cc: New file.
823         * libm2pim/target.c: New file.
824         * libm2pim/termios.cc: New file.
825         * libm2pim/wrapc.c: New file.
826         * configure: Generated.
827         * libm2log/Makefile.in: Generated.
828         * libm2min/Makefile.in: Generated.
829         * libm2cor/Makefile.in: Generated.
830         * libm2pim/Makefile.in: Generated.
831         * libm2iso/Makefile.in: Generated.
832         * Makefile.in: New file.
833         * aclocal.m4: New file.