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