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