1 2024-11-20 Gaius Mulley <gaiusmod2@gmail.com>
4 * configure: Regenerate.
5 * configure.ac (libtool_VERSION): Bump to 20:0:0.
7 2024-05-29 Gaius Mulley <gaiusmod2@gmail.com>
10 * config.h.in: Regenerate.
11 * configure: Regenerate.
12 * configure.ac: Use AC_HEADER_TIME.
13 * libm2iso/wraptime.cc (InitTM): Check HAVE_SYS_TIME_H
14 before using struct tm to obtain the size.
16 2024-05-02 Gaius Mulley <gaiusmod2@gmail.com>
18 * Makefile.in: Regenerate.
19 * libm2cor/Makefile.in: Ditto.
20 * libm2iso/Makefile.in: Ditto.
21 * libm2log/Makefile.in: Ditto.
22 * libm2min/Makefile.in: Ditto.
23 * libm2pim/Makefile.in: Ditto.
26 2024-04-02 Jakub Jelinek <jakub@redhat.com>
28 * configure.host: Fix duplicated words; the the -> the.
30 2024-02-25 Gaius Mulley <gaiusmod2@gmail.com>
33 * libm2pim/wrapc.cc: Include fcntl.h.
34 (SeekSet): New function.
39 2024-02-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
41 * libm2iso/wraptime.cc [HAVE_STRUCT_TIMEZONE && HAVE_GETTIMEOFDAY]
42 (EXPORT(gettimeofday)): Cast tv to struct timeval *.
43 [HAVE_STRUCT_TIMEZONE && HAVE_SETTIMEOFDAY]
44 (EXPORT(settimeofday)): Likewise.
46 2024-02-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
49 * configure.ac (GM2_CHECK_LIB): Rename gettimeofday guard to
51 (GM_CHECK_LIB): Check for settimeofday.
52 (GM2_CHECK_LIB): Check for exp10, exp10f, exp10l in libm.
53 (AC_CHECK_DECLS): Check for getenv.
54 * configure, config.h.in: Regenerate.
55 * libm2pim/dtoa.cc: Rename <strings.h>, <string.h> guards to
56 HAVE_STRINGS_H, HAVE_STRING_H.
57 * libm2pim/ldtoa.cc: Likewise.
59 2024-01-18 Gaius Mulley <gaiusmod2@gmail.com>
62 * Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
63 * Makefile.in: Regenerate.
64 * libm2cor/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
65 * libm2cor/Makefile.in: Regenerate.
66 * libm2iso/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
67 * libm2iso/Makefile.in: Regenerate.
68 * libm2log/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
69 * libm2log/Makefile.in: Regenerate.
70 * libm2min/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
71 * libm2min/Makefile.in: Regenerate.
72 * libm2pim/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
73 * libm2pim/Makefile.in: Regenerate.
75 2024-01-05 Gaius Mulley <gaiusmod2@gmail.com>
77 * libm2iso/RTco.cc (initialized): Use bool instead of int.
79 2023-12-22 Christophe Lyon <christophe.lyon@linaro.org>
81 * Makefile.am: Allow overriding EXEPCT.
82 * Makefile.in: Regenerate.
84 2023-12-13 Gaius Mulley <gaiusmod2@gmail.com>
87 * libm2iso/Makefile.am (M2DEFS): Add ConvStringShort.def,
88 ShortConv.def, ShortMath.def and ShortStr.def.
89 (M2MODS): Add ConvStringShort.mod,
90 ShortConv.mod, ShortMath.mod and ShortStr.mod.
91 * libm2iso/Makefile.in: Regenerate.
93 2023-12-12 Gaius Mulley <gaiusmod2@gmail.com>
95 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Added line breaks.
96 * libm2iso/Makefile.in: Regenerate.
97 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Added line breaks.
98 * libm2log/Makefile.in: Regenerate.
99 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Added line breaks.
100 * libm2pim/Makefile.in: Regenerate.
102 2023-11-30 Gaius Mulley <gaiusmod2@gmail.com>
104 * configure: Regenerate.
105 * configure.ac:(libtool_VERSION): Bump to 19:0:0.
107 2023-11-13 Gaius Mulley <gaiusmod2@gmail.com>
110 * Makefile.in: Regenerate.
111 * aclocal.m4: Regenerate.
112 * config.h.in: Regenerate.
113 * configure: Regenerate.
114 * configure.ac: Remove newline.
115 * libm2cor/Makefile.in: Regenerate.
116 * libm2iso/Makefile.in: Regenerate.
117 * libm2log/Makefile.in: Regenerate.
118 * libm2min/Makefile.in: Regenerate.
119 * libm2pim/Makefile.in: Regenerate.
120 * acinclude.m4: New file.
121 * configure.host: New file.
123 2023-10-27 Gaius Mulley <gaiusmod2@gmail.com>
126 * libm2iso/wrapclock.cc (timezone): Return 0 if unable
127 to get the timezone from the tm struct.
129 2023-10-27 Gaius Mulley <gaiusmod2@gmail.com>
132 * Makefile.in: Regenerate.
133 * aclocal.m4: Regenerate.
134 * config.h.in: Regenerate.
135 * configure: Regenerate.
136 * configure.ac (AC_CHECK_HEADERS): Include getopt.h.
137 (GM2_CHECK_LIB): getopt_long check.
138 (GM2_CHECK_LIB): getopt_long_only check.
139 * libm2cor/Makefile.in: Regenerate.
140 * libm2iso/Makefile.in: Regenerate.
141 * libm2log/Makefile.in: Regenerate.
142 * libm2min/Makefile.in: Regenerate.
143 * libm2pim/Makefile.in: Regenerate.
144 * libm2pim/cgetopt.cc: Re-write using conditional on configure
145 and long function code from libiberty/getopt.c.
147 2023-10-25 Gaius Mulley <gaiusmod2@gmail.com>
150 * libm2pim/wrapc.cc (isnan): Export new function.
151 (isnanf): Export new function.
152 (isnanl): Export new function.
154 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
156 * Makefile.am: Handle Darwin rpaths.
157 * Makefile.in: Regenerate.
158 * aclocal.m4: Regenerate.
159 * configure: Regenerate.
160 * configure.ac: Handle Darwin rpaths.
161 * libm2cor/Makefile.am: Handle Darwin rpaths.
162 * libm2cor/Makefile.in: Regenerate.
163 * libm2iso/Makefile.am: Handle Darwin rpaths.
164 * libm2iso/Makefile.in: Regenerate.
165 * libm2log/Makefile.am: Handle Darwin rpaths.
166 * libm2log/Makefile.in: Regenerate.
167 * libm2min/Makefile.am: Handle Darwin rpaths.
168 * libm2min/Makefile.in: Regenerate.
169 * libm2pim/Makefile.am: Handle Darwin rpaths.
170 * libm2pim/Makefile.in: Regenerate.
172 2023-09-29 Gaius Mulley <gaiusmod2@gmail.com>
174 * libm2iso/wrapclock.cc (longint_t): New declaration.
175 (GetTimespec): Replace types for sec and nano with
177 (SetTimespec): Replace types for sec and nano with
180 2023-09-19 Gaius Mulley <gaiusmod2@gmail.com>
182 * Makefile.am (TARGET_LONGDOUBLE_ABI): New variable set to
183 -mabi=ieeelongdouble if the target is powerpc64le.
184 (AM_MAKEFLAGS): Append TARGET_LONGDOUBLE_ABI.
185 * Makefile.in: Rebuild.
186 * libm2cor/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
187 TARGET_LONGDOUBLE_ABI.
188 (libm2cor_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
189 (libm2cor_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
190 * libm2cor/Makefile.in: Rebuild.
191 * libm2iso/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
192 TARGET_LONGDOUBLE_ABI.
193 (libm2iso_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
194 (libm2iso_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
195 * libm2iso/Makefile.in: Rebuild.
196 * libm2log/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
197 TARGET_LONGDOUBLE_ABI.
198 (libm2log_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
199 (libm2log_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
200 * libm2log/Makefile.in: Rebuild.
201 * libm2min/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
202 TARGET_LONGDOUBLE_ABI.
203 (libm2min_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
204 (libm2min_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
205 * libm2min/Makefile.in: Rebuild.
206 * libm2pim/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
207 TARGET_LONGDOUBLE_ABI.
208 (libm2pim_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
209 (libm2pim_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
210 * libm2pim/Makefile.in: Rebuild.
212 2023-09-13 Gaius Mulley <gaiusmod2@gmail.com>
214 * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add
216 * libm2cor/Makefile.in: Regenerate.
217 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add
219 * libm2iso/Makefile.in: Regenerate.
220 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add
222 * libm2log/Makefile.in: Regenerate.
223 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add
225 * libm2pim/Makefile.in: Regenerate.
227 2023-08-12 Gaius Mulley <gaiusmod2@gmail.com>
230 * configure: Regenerate.
231 * configure.ac: Provide special case test for Darwin cross
233 (GLIBCXX_CONFIGURE): New statement.
234 (GLIBCXX_CHECK_GETTIMEOFDAY): New statement.
235 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): New statement.
236 * libm2iso/wrapclock.cc: New sys/time.h conditional include.
237 (sys/syscall.h): Conditional include.
238 (unistd.h): Conditional include.
239 (GetTimeRealtime): Re-implement.
240 (SetTimeRealtime): Re-implement.
241 (timezone): Re-implement.
242 (istimezone): New function.
243 (daylight): Re-implement.
244 (isdst): Re-implement.
245 (tzname): Re-implement.
247 2023-08-09 Gaius Mulley <gaiusmod2@gmail.com>
250 * config.h.in: Regenerate.
251 * configure: Regenerate.
252 * configure.ac (AC_CACHE_CHECK): Check for tm_gmtoff field in
254 (GM2_CHECK_LIB): Check for daylight, timezone and tzname.
255 * libm2iso/wrapclock.cc (timezone): Guard against absence of
256 struct tm and tm_gmtoff.
257 (daylight): Check for daylight.
258 (timezone): Check for timezone.
259 (isdst): Check for isdst.
260 (tzname): Check for tzname.
261 (GetTimeRealtime): Check for struct timespec.
262 (SetTimeRealtime): Check for struct timespec.
263 (InitTimespec): Check for struct timespec.
264 (KillTimespec): Check for struct timespec.
265 (SetTimespec): Check for struct timespec.
266 (GetTimespec): Check for struct timespec.
268 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
270 * configure: Regenerate.
272 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com>
274 * configure: Regenerate.
276 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
278 * configure: Regenerate.
280 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
282 * configure: Regenerate.
284 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
286 * configure: Regenerate.
288 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
290 * configure: Regenerate.
292 2023-08-05 Gaius Mulley <gaiusmod2@gmail.com>
295 * config.h.in: Regenerate.
296 * configure: Regenerate.
297 * configure.ac (GM2_CHECK_LIB): Check for clock_gettime
299 * libm2iso/Makefile.am (M2DEFS): Add wrapclock.def.
300 * libm2iso/Makefile.in: Regenerate.
301 * libm2iso/wraptime.cc: Replace HAVE_TIMEVAL with
303 * libm2iso/wrapclock.cc: New file.
305 2023-06-02 Thomas Schwinge <thomas@codesourcery.com>
307 * configure.ac (PERL): Remove.
308 * configure: Regenerate.
309 * Makefile.in: Likewise.
310 * libm2cor/Makefile.in: Likewise.
311 * libm2iso/Makefile.in: Likewise.
312 * libm2log/Makefile.in: Likewise.
313 * libm2min/Makefile.in: Likewise.
314 * libm2pim/Makefile.in: Likewise.
316 2023-05-16 Gaius Mulley <gaiusmod2@gmail.com>
319 * Makefile.in: Regenerate.
320 * aclocal.m4: Regenerate.
321 * libm2cor/Makefile.in: Regenerate.
322 * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
323 (M2MODS): Add TextUtil.mod.
324 * libm2iso/Makefile.in: Regenerate.
325 * libm2log/Makefile.in: Regenerate.
326 * libm2min/Makefile.in: Regenerate.
327 * libm2pim/Makefile.in: Regenerate.
329 2023-05-16 Gaius Mulley <gaiusmod2@gmail.com>
332 * libm2cor/KeyBoardLEDs.cc (initialize_module): New function.
333 (SwitchScroll): Call initialize_module.
334 (SwitchNum): Call initialize_module.
335 (SwitchCaps): Call initialize_module.
336 (SwitchLEDs): Call initialize_module.
337 (M2EXPORT): Remove initialization code.
339 2023-05-13 Gaius Mulley <gaiusmod2@gmail.com>
341 * libm2cor/KeyBoardLEDs.cc (TRUE): Remove.
343 (init): Replace TRUE with true.
344 * libm2iso/RTco.cc (TRUE): Remove.
346 (initSem): Replace int with bool.
347 (init): Replace FALSE with false.
348 * libm2pim/sckt.cc (TRUE): Remove.
350 * libm2pim/wrapc.cc: Replace TRUE with true
351 and FALSE with false.
355 2023-05-08 Thomas Schwinge <thomas@codesourcery.com>
357 * autogen.sh: Remove.
359 2023-05-08 Thomas Schwinge <thomas@codesourcery.com>
361 * autogen.sh: For 'aclocal', 'autoreconf', remove '-I .',
363 * Makefile.am (ACLOCAL_AMFLAGS): Remove '-I .'.
364 * libm2cor/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
365 * libm2iso/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
366 * libm2log/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
367 * libm2min/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
368 * libm2pim/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
369 * aclocal.m4: Regenerate.
370 * Makefile.in: Likewise.
371 * libm2cor/Makefile.in: Likewise.
372 * libm2iso/Makefile.in: Likewise.
373 * libm2log/Makefile.in: Likewise.
374 * libm2min/Makefile.in: Likewise.
375 * libm2pim/Makefile.in: Likewise.
377 2023-03-22 Gaius Mulley <gaiusmod2@gmail.com>
379 * libm2pim/Makefile.am (M2DEFS): Remove M2LINK.def.
380 * libm2pim/Makefile.in: Rebuild.
382 2023-03-16 Gaius Mulley <gaiusmod2@gmail.com>
384 * libm2cor/Makefile.am: Remove
385 * libm2cor/Makefile.in: Rebuild.
386 * libm2iso/RTco.cc (newSem): Halt parameters reordered.
387 (currentThread): Ditto.
391 * libm2iso/m2rts.h (m2iso_M2RTS_HaltC): Ditto.
393 2023-03-15 Gaius Mulley <gaiusmod2@gmail.com>
396 * libm2pim/dtoa.cc (TRUE): Remove.
397 (FALSE): Remove. Replace int with bool.
398 * libm2pim/ldtoa.cc (TRUE): Remove.
399 (FALSE): Remove. Replace int with bool.
401 2023-03-14 Gaius Mulley <gaiusmod2@gmail.com>
404 * libm2iso/ErrnoCategory.cc (FALSE): Remove.
406 * libm2iso/wrapsock.c (TRUE): Remove.
408 * libm2iso/wraptime.cc (TRUE): Remove.
410 * libm2pim/cgetopt.cc: Replace int for bool for every BOOLEAN
411 parameter in the definition module.
412 * libm2pim/dtoa.cc: Ditto.
413 * libm2pim/ldtoa.cc: Ditto.
414 * libm2pim/termios.cc: Ditto.
415 (doSetUnset): Replace int for bool.
417 2023-02-27 Gaius Mulley <gaiusmod2@gmail.com>
420 * libm2pim/sckt.cc (getLocalIP): Correct parameter order.
422 2023-02-25 Gaius Mulley <gaiusmod2@gmail.com>
425 * libm2cor/KeyBoardLEDs.cc (EXPORT): New define.
426 (M2EXPORT): New define.
427 (M2LIBNAME): New define.
428 (KeyBoardLEDs_SwitchScroll): EXPORT.
429 (KeyBoardLEDs_SwitchNum): EXPORT.
430 (KeyBoardLEDs_SwitchCaps): EXPORT.
431 (KeyBoardLEDs_SwitchLeds): EXPORT.
432 (_M2_KeyBoardLEDs_init): M2EXPORT.
433 (_M2_KeyBoardLEDs_finish): M2EXPORT.
434 (_M2_KeyBoardLEDs_dep): M2EXPORT.
435 * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Define
437 * libm2cor/Makefile.in: Rebuild.
438 * libm2iso/ErrnoCategory.cc (EXPORT): New define.
439 (M2EXPORT): New define.
440 (M2LIBNAME): New define.
441 (ErrnoCategory_IsErrnoHard): EXPORT.
442 (ErrnoCategory_IsErrnoSoft): EXPORT.
443 (ErrnoCategory_UnAvailable): EXPORT.
444 (ErrnoCategory_GetOpenResults): EXPORT.
445 (_M2_ErrnoCategory_init): M2EXPORT.
446 (_M2_ErrnoCategory_fini): M2EXPORT.
447 (_M2_ErrnoCategory_dep): M2EXPORT.
448 (_M2_ErrnoCategory_ctor): M2EXPORT.
449 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Define
451 * libm2iso/Makefile.in: Rebuild.
452 * libm2iso/RTco.cc (EXPORT): New define.
453 (M2EXPORT): New define.
454 (M2LIBNAME): New define.
455 (newSem): Add module libname prefix to HaltC.
456 (currentThread): Remove variable and replace with a function.
457 (never): Add module libname prefix to HaltC.
458 (initThread): Add module libname prefix to HaltC.
459 * libm2iso/m2rts.h (str): New define.
460 (M2RTS_RequestDependant): Change to the mangled name equivalent.
461 (M2RTS_RegisterModule): Change to the mangled name equivalent.
462 (m2iso_M2RTS_RequestDependant): Add libname parameter.
463 (m2iso_M2RTS_RegisterModule): Add libname parameter.
464 (m2pim_M2RTS_RegisterModule): Add libname parameter.
465 (_M2_M2RTS_init): Rename this...
466 (m2iso_M2_M2RTS_init): ...to this.
467 (M2RTS_ConstructModules): Change to the mangled name equivalent.
468 (M2RTS_Terminate): Change to the mangled name equivalent.
469 (M2RTS_DeconstructModules): Change to the mangled name equivalent.
470 (m2iso_M2RTS_ConstructModules): Add libname parameter.
471 (m2iso_M2RTS_Terminate): Add libname parameter.
472 (m2iso_M2RTS_DeconstructModules): Add libname parameter.
473 (M2RTS_HaltC): Rename this...
474 (m2iso_M2RTS_HaltC): ...to this.
475 * libm2iso/wrapsock.c (EXPORT): New define.
476 (IMPORT): New define.
477 (M2EXPORT): New define.
478 (M2LIBNAME): New define.
479 (m2iso_M2RTS_RequestDependant): Add prototype.
480 (wrapsock_clientOpen): EXPORT.
481 (wrapsock_clientOpenIP): EXPORT.
482 (wrapsock_getClientPortNo): EXPORT.
483 (wrapsock_getClientHostname): EXPORT.
484 (wrapsock_getClientSocketFd): EXPORT.
485 (wrapsock_getClientIP): EXPORT.
486 (wrapsock_getPushBackChar): EXPORT.
487 (wrapsock_setPushBackChar): EXPORT.
488 (wrapsock_getSizeOfClientInfo): EXPORT.
489 (_M2_wrapsock_init): M2EXPORT.
490 (_M2_wrapsock_fini): M2EXPORT.
491 (ctor): M2EXPORT. New function.
492 * libm2iso/wraptime.c: Rename to...
493 * libm2iso/wraptime.cc: ...this.
494 (EXPORT): New define.
495 (M2EXPORT): New define.
496 (M2LIBNAME): New define.
497 (wraptime_InitTimeval): EXPORT.
498 (wraptime_KillTimeval): EXPORT.
499 (wraptime_InitTimezone): EXPORT.
500 (wraptime_KillTimezone): EXPORT.
501 (wraptime_InitTM): EXPORT.
502 (wraptime_KillTM): EXPORT.
503 (wraptime_gettimeofday): EXPORT.
504 (wraptime_settimeofday): EXPORT.
505 (wraptime_GetFractions): EXPORT.
506 (wraptime_localtime_r): EXPORT.
507 (wraptime_GetYear): EXPORT.
508 (wraptime_GetMonth): EXPORT.
509 (wraptime_GetDay): EXPORT.
510 (wraptime_GetHour): EXPORT.
511 (wraptime_GetMinute): EXPORT.
512 (wraptime_GetSecond): EXPORT.
513 (wraptime_GetSummerTime): EXPORT.
514 (wraptime_GetDST): EXPORT.
515 (wraptime_SetTimezone): EXPORT.
516 (wraptime_SetTimeval): EXPORT.
517 (_M2_wraptime_init): M2EXPORT.
518 (_M2_wraptime_fini): M2EXPORT.
519 (ctor): M2EXPORT. New function.
520 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Define
522 * libm2log/Makefile.in:
523 * libm2min/Makefile.am (libm2min_la_M2FLAGS): Define
525 * libm2min/Makefile.in:
526 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Define
528 * libm2pim/Makefile.in:
529 * libm2pim/Selective.cc (EXPORT): New define.
530 (M2EXPORT): New define.
531 (M2LIBNAME): New define.
532 (Selective_Select): EXPORT.
533 (Selective_InitTime): EXPORT.
534 (Selective_GetTime): EXPORT.
535 (Selective_SetTime): EXPORT.
536 (Selective_KillTime): EXPORT.
537 (Selective_InitSet): EXPORT.
538 (Selective_KillSet): EXPORT.
539 (Selective_FdZero): EXPORT.
540 (Selective_FdSet): EXPORT.
541 (Selective_FdClr): EXPORT.
542 (Selective_FdIsSet): EXPORT.
543 (Selective_GetTimeOfDay): EXPORT.
544 (Selective_MaxFdsPlusOne): EXPORT.
545 (Selective_WriteCharRaw): EXPORT.
546 (Selective_ReadCharRaw): EXPORT.
547 (_M2_Selective_init): M2EXPORT.
548 (_M2_Selective_fini): M2EXPORT.
549 (_M2_Selective_dep): M2EXPORT.
550 (_M2_Selective_ctor): M2EXPORT.
551 * libm2pim/SysExceptions.cc (EXPORT): New define.
552 (M2EXPORT): New define.
553 (M2LIBNAME): New define.
554 (SysExceptions_InitExceptionHandlers): EXPORT.
555 (_M2_SysExceptions_init): M2EXPORT.
556 (_M2_SysExceptions_fini): M2EXPORT.
557 (_M2_SysExceptions_dep): M2EXPORT.
558 (_M2_SysExceptions_ctor): M2EXPORT.
559 * libm2pim/UnixArgs.cc (EXPORT): New define.
560 (M2EXPORT): New define.
561 (M2LIBNAME): New define.
562 (UnixArgs_GetArgC): EXPORT.
563 (UnixArgs_GetArgV): EXPORT.
564 (UnixArgs_GetEnvV): EXPORT.
565 (_M2_UnixArgs_init): M2EXPORT.
566 (_M2_UnixArgs_fini): M2EXPORT.
567 (_M2_UnixArgs_dep): M2EXPORT.
568 (_M2_UnixArgs_ctor): M2EXPORT.
569 * libm2pim/cgetopt.cc (EXPORT): New define.
570 (M2EXPORT): New define.
571 (M2LIBNAME): New define.
572 (cgetopt_getopt): EXPORT.
573 (cgetopt_getopt_long): EXPORT.
574 (cgetopt_getopt_long_only): EXPORT.
575 (cgetopt_InitOptions): EXPORT.
576 (cgetopt_KillOptions): EXPORT.
577 (cgetopt_SetOption): EXPORT.
578 (cgetopt_GetLongOptionArray): EXPORT.
579 (_M2_cgetopt_init): M2EXPORT.
580 (_M2_cgetopt_fini): M2EXPORT.
581 (_M2_cgetopt_dep): M2EXPORT.
582 (_M2_cgetopt_ctor): M2EXPORT.
583 * libm2pim/dtoa.cc (EXPORT): New define.
584 (M2EXPORT): New define.
585 (M2LIBNAME): New define.
586 (dtoa_strtod): EXPORT.
587 (dtoa_calcmaxsig): EXPORT.
588 (dtoa_calcdecimal): EXPORT.
589 (dtoa_calcsign): EXPORT.
591 (_M2_dtoa_init): M2EXPORT.
592 (_M2_dtoa_fini): M2EXPORT.
593 (_M2_dtoa_dep): M2EXPORT.
594 (_M2_dtoa_ctor): M2EXPORT.
595 * libm2pim/errno.cc (EXPORT): New define.
596 (M2EXPORT): New define.
597 (M2LIBNAME): New define.
598 (errno_geterrno): EXPORT.
599 (_M2_errno_init): M2EXPORT.
600 (_M2_errno_fini): M2EXPORT.
601 (_M2_errno_dep): M2EXPORT.
602 (_M2_errno_ctor): M2EXPORT.
603 * libm2pim/ldtoa.cc (EXPORT): New define.
604 (IMPORT): New define.
605 (M2EXPORT): New define.
606 (M2LIBNAME): New define.
607 (dtoa_calcmaxsig): EXPORT.
608 (dtoa_calcdecimal): EXPORT.
609 (dtoa_calcsign): EXPORT.
610 (ldtoa_strtold): EXPORT.
611 (ldtoa_ldtoa): EXPORT.
612 (_M2_ldtoa_init): M2EXPORT.
613 (_M2_ldtoa_fini): M2EXPORT.
614 (_M2_ldtoa_dep): M2EXPORT.
615 (_M2_ldtoa_ctor): M2EXPORT.
616 * libm2pim/sckt.cc (EXPORT): New define.
617 (M2EXPORT): New define.
618 (M2LIBNAME): New define.
619 (tcpServerEstablishPort): EXPORT.
620 (tcpServerEstablish): EXPORT.
621 (tcpServerAccept): EXPORT.
622 (tcpServerPortNo): EXPORT.
623 (tcpServerSocketFd): EXPORT.
624 (getLocalIP): EXPORT.
625 (tcpServerIP): EXPORT.
626 (tcpServerClientIP): EXPORT.
627 (tcpServerClientPortNo): EXPORT.
628 (tcpClientSocket): EXPORT.
629 (tcpClientSocketIP): EXPORT.
630 (tcpClientConnect): EXPORT.
631 (tcpClientPortNo): EXPORT.
632 (tcpClientSocketFd): EXPORT.
633 (tcpClientIP): EXPORT.
634 (_M2_sckt_init): M2EXPORT.
635 (_M2_sckt_finish): M2EXPORT.
636 (_M2_sckt_dep): M2EXPORT.
637 (_M2_sckt_ctor): M2EXPORT.
638 * libm2pim/termios.cc (EXPORT): New define.
639 (M2EXPORT): New define.
640 (M2LIBNAME): New define.
641 (_M2_termios_init): M2EXPORT.
642 (_M2_termios_fini): M2EXPORT.
643 (_M2_termios_dep): M2EXPORT.
644 (_M2_termios_ctor): M2EXPORT.
645 * libm2pim/wrapc.c (EXPORT): New define.
646 (M2EXPORT): New define.
647 (M2LIBNAME): New define.
648 (wrapc_strtime): EXPORT.
649 (wrapc_filesize): EXPORT.
650 (wrapc_filemtime): EXPORT.
651 (wrapc_fileinode): EXPORT.
652 (wrapc_getrand): EXPORT.
653 (wrapc_getusername): EXPORT.
654 (wrapc_getnameuidgid): EXPORT.
655 (wrapc_signbit): EXPORT.
656 (wrapc_signbitl): EXPORT.
657 (wrapc_signbitf): EXPORT.
658 (wrapc_isfinite): EXPORT.
659 (wrapc_isfinitel): EXPORT.
660 (wrapc_isfinitef): EXPORT.
661 (_M2_wrapc_init): M2EXPORT.
662 (_M2_wrapc_fini): M2EXPORT.
663 (_M2_wrapc_ctor): M2EXPORT.
664 * libm2pim/wrapc.cc: New file.
666 2023-02-19 Gaius Mulley <gaiusmod2@gmail.com>
669 * libm2iso/RTco.cc: Re-implementation using a single lock
670 mutex and inlined wait/signal implementation within
673 2023-02-13 Gaius Mulley <gaiusmod2@gmail.com>
675 * libm2iso/RTco.cc (tprintf): Replace definition.
677 2023-02-01 Gaius Mulley <gaiusmod2@gmail.com>
681 * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add -Wreturn-type
683 * libm2cor/Makefile.in: Rebuild.
684 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add -Wreturn-type
686 * libm2iso/Makefile.in: Rebuild.
687 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add -Wreturn-type
689 * libm2log/Makefile.in: Rebuild.
690 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add -Wreturn-type
692 * libm2pim/Makefile.in: Rebuild.
694 2023-01-31 Richard Biener <rguenther@suse.de>
697 * libm2cor/Makefile.am: Remove static lib install from
699 * libm2iso/Makefile.am: Likewise.
700 * libm2log/Makefile.am: Likewise.
701 * libm2min/Makefile.am: Likewise.
702 * libm2pim/Makefile.am: Likewise.
703 * libm2cor/Makefile.in: Regenerate.
704 * libm2iso/Makefile.in: Likewise.
705 * libm2log/Makefile.in: Likewise.
706 * libm2min/Makefile.in: Likewise.
707 * libm2pim/Makefile.in: Likewise.
709 2023-01-31 Gaius Mulley <gaiusmod2@gmail.com>
711 * libm2log/Makefile.am (VPATH): Replace gm2-libs-pim
713 (libm2log_la_M2FLAGS): Replace gm2-libs-pim with
715 (install-data-local): Replace gm2-libs-pim with
717 * libm2log/Makefile.in: Rebuilt.
719 2023-01-26 Gaius Mulley <gaiusmod2@gmail.com>
721 * configure.ac (AM_INIT_AUTOMAKE): Specify 1.15.1.
723 2023-01-24 Co-Authored by: Iain Sandoe <iain@sandoe.co.uk>
725 * libm2cor/Makefile.am (SYSTEM.def): Split path into
726 multiple -I components.
727 * libm2cor/Makefile.in: Rebuild.
728 * libm2min/Makefile.am (SYSTEM.def): Split path into
729 multiple -I components.
730 * libm2min/Makefile.in: Rebuild.
731 * libm2iso/Makefile.am (SYSTEM.def): Split path into
732 multiple -I components.
733 * libm2iso/Makefile.in: Rebuild.
735 2023-01-23 Richard Biener <rguenther@suse.de>
738 * libm2cor/Makefile.am: Revert previous change, instead
739 drop the redundant $(MULTIDIR).
740 * libm2iso/Makefile.am: Likewise.
741 * libm2log/Makefile.am: Likewise.
742 * libm2min/Makefile.am: Likewise.
743 * libm2pim/Makefile.am: Likewise.
744 * libm2cor/Makefile.in: Regenerate.
745 * libm2iso/Makefile.in: Likewise.
746 * libm2log/Makefile.in: Likewise.
747 * libm2min/Makefile.in: Likewise.
748 * libm2pim/Makefile.in: Likewise.
750 2023-01-23 Richard Biener <rguenther@suse.de>
753 * configure.ac: Apply config-ml.pl to the generated Makefiles.
754 Set multilib_arg, use AM_PROG_LIBTOOL.
755 * configure: Regenerate.
756 * Makefile.am (AM_MAKEFLAGS): Do not override MULTI* flags.
757 * Makefile.in: Regenerate.
758 * libm2cor/Makefile.am: Install to $(toolexeclibdir)$(M2LIBDIR)
759 rather than $(inst_libdir)/$(MULTIDIR)$(M2LIBDIR).
760 * libm2iso/Makefile.am: Likewise.
761 * libm2log/Makefile.am: Likewise.
762 * libm2min/Makefile.am: Likewise.
763 * libm2pim/Makefile.am: Likewise.
764 * libm2cor/Makefile.in: Regenerate.
765 * libm2iso/Makefile.in: Likewise.
766 * libm2log/Makefile.in: Likewise.
767 * libm2min/Makefile.in: Likewise.
768 * libm2pim/Makefile.in: Likewise.
770 2023-01-19 Richard Biener <rguenther@suse.de>
773 * configure.ac: Add GCC_BASE_VER.
774 * configure: Re-generate.
775 * Makefile.am: Use @get_gcc_base_ver@ for gcc_version.
776 * libm2cor/Makefile.am: Likewise. Use gcc_version instead
778 * libm2iso/Makefile.am: Likewise.
779 * libm2log/Makefile.am: Likewise.
780 * libm2min/Makefile.am: Likewise.
781 * libm2pim/Makefile.am: Likewise.
782 * Makefile.in: Re-generate.
783 * libm2cor/Makefile.in: Likewise.
784 * libm2iso/Makefile.in: Likewise.
785 * libm2log/Makefile.in: Likewise.
786 * libm2min/Makefile.in: Likewise.
787 * libm2pim/Makefile.in: Likewise.
789 2023-01-17 Gaius Mulley <gaiusmod2@gmail.com>
791 * libm2iso/RTco.cc (_M2_RTco_fini): Call M2RTS_HaltC.
792 (newSem): Call M2RTS_HaltC.
793 (currentThread): Call M2RTS_HaltC.
794 (never): Call M2RTS_HaltC.
795 (defined): Call M2RTS_HaltC.
796 (initThread): Call M2RTS_HaltC.
797 (RTco_transfer): Call M2RTS_HaltC.
798 * libm2iso/m2rts.h (M2RTS_Halt): Provide parameter names.
799 (M2RTS_HaltC): New procedure declaration.
801 2023-01-06 v <gaiusmod2@gmail.com>
803 * configure: Regenerate.
804 * configure.ac (libtool_VERSION): Bump to 18:0:0.
806 2023-01-04 Iain Sandoe <iain@sandoe.co.uk>
809 * libm2cor/KeyBoardLEDs.cc (_M2_KeyBoardLEDs_ctor): Rework to use
810 an extern "C" function with 'constructor' attribute.
811 * libm2iso/ErrnoCategory.cc (_M2_ErrnoCategory_ctor): Likewise.
812 * libm2iso/RTco.cc (_M2_RTco_ctor): Likewise.
813 * libm2pim/Selective.cc (_M2_Selective_ctor): Likewise.
814 * libm2pim/SysExceptions.cc (_M2_SysExceptions_ctor): Likewise.
815 * libm2pim/UnixArgs.cc (_M2_UnixArgs_ctor): Likewise.
816 * libm2pim/cgetopt.cc (_M2_cgetopt_ctor): Likewise.
817 * libm2pim/dtoa.cc (_M2_dtoa_ctor): Likewise.
818 * libm2pim/errno.cc (_M2_errno_ctor): Likewise.
819 * libm2pim/ldtoa.cc (_M2_ldtoa_ctor): Likewise.
820 * libm2pim/sckt.cc (_M2_sckt_ctor): Likewise.
821 * libm2pim/termios.cc (_M2_termios_ctor): Likewise.
822 * libm2pim/wrapc.c: Add a new line to the file end.
824 2022-12-31 Iain Sandoe <iain@sandoe.co.uk>
826 * configure: Regenerate.
827 * configure.ac: Make a conditional for configurations targeting
829 * libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
830 * libm2iso/Makefile.am: Likewise.
831 * libm2log/Makefile.am: Likewise.
832 * libm2pim/Makefile.am: Likewise
833 * libm2min/Makefile.am: Likewise
834 * libm2cor/Makefile.in: Regenerate.
835 * libm2iso/Makefile.in: Regenerate.
836 * libm2log/Makefile.in: Regenerate.
837 * libm2min/Makefile.in: Regenerate.
838 * libm2pim/Makefile.in: Regenerate.
840 2022-12-14 Gaius Mulley <gaiusmod2@gmail.com>
842 * Makefile.am: New file.
843 * autogen.sh: New file.
844 * config.h.in: New file.
845 * configure.ac: New file.
846 * libm2cor/KeyBoardLEDs.cc: New file.
847 * libm2cor/Makefile.am: New file.
848 * libm2iso/ChanConsts.h: New file.
849 * libm2iso/ErrnoCategory.cc: New file.
850 * libm2iso/Makefile.am: New file.
851 * libm2iso/RTco.cc: New file.
852 * libm2iso/m2rts.h: New file.
853 * libm2iso/wrapsock.c: New file.
854 * libm2iso/wraptime.c: New file.
855 * libm2log/Break.c: New file.
856 * libm2log/Makefile.am: New file.
857 * libm2min/Makefile.am: New file.
858 * libm2min/libc.c: New file.
859 * libm2pim/Makefile.am: New file.
860 * libm2pim/Selective.cc: New file.
861 * libm2pim/SysExceptions.cc: New file.
862 * libm2pim/UnixArgs.cc: New file.
863 * libm2pim/cgetopt.cc: New file.
864 * libm2pim/dtoa.cc: New file.
865 * libm2pim/errno.cc: New file.
866 * libm2pim/ldtoa.cc: New file.
867 * libm2pim/sckt.cc: New file.
868 * libm2pim/target.c: New file.
869 * libm2pim/termios.cc: New file.
870 * libm2pim/wrapc.c: New file.
871 * configure: Generated.
872 * libm2log/Makefile.in: Generated.
873 * libm2min/Makefile.in: Generated.
874 * libm2cor/Makefile.in: Generated.
875 * libm2pim/Makefile.in: Generated.
876 * libm2iso/Makefile.in: Generated.
877 * Makefile.in: New file.
878 * aclocal.m4: New file.