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