From 4df170d1189a316a8b6100bf6940a8ab655b623b Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 20 Sep 2026 21:06:31 +0000 Subject: Commit files generated by autoreconf -fiv (only those which I think are needed) FossilOrigin-Name: c7000a23e6a1fdce0df7ed52e4b544d1f34dcce0bc67d4f63e37d973ccdf15de --- config.h.in | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 config.h.in (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..fbdc27b --- /dev/null +++ b/config.h.in @@ -0,0 +1,34 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Defined if the build mode is "coverage" */ +#undef APLWC_BUILD_TYPE_COVERAGE + +/* Defined if the build mode is "debug" */ +#undef APLWC_BUILD_TYPE_DEBUG + +/* Defined if the build mode is "release" */ +#undef APLWC_BUILD_TYPE_RELEASE + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Version number of package */ +#undef VERSION -- cgit v1.2.3 From ea381bac43f3ce78be5fa3ea10810810670dfb89 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 22 Sep 2026 18:26:55 +0000 Subject: Check for flexible array member support via autoconf FossilOrigin-Name: 4d8f080ee14f63ea5cb2c0aa87be1519e7b74e3c42de2370e90ae1e1f9268cd0 --- config.h.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index fbdc27b..cd458a5 100644 --- a/config.h.in +++ b/config.h.in @@ -9,6 +9,15 @@ /* Defined if the build mode is "release" */ #undef APLWC_BUILD_TYPE_RELEASE +/* Define to nothing if C supports flexible array members, and to 1 if it does + not. That way, with a declaration like 'struct s { int n; double + d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 + compilers. When computing the size of such an object, don't use 'sizeof + (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)' + instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with + MSVC and with C++ compilers. */ +#undef FLEXIBLE_ARRAY_MEMBER + /* Name of package */ #undef PACKAGE -- cgit v1.2.3 From 949896e24ef16d703ee07fb3e489f2a986050d5b Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 22 Sep 2026 19:18:35 +0000 Subject: Final changes to be able to switch over to an autotools based setup FossilOrigin-Name: 6a01b406226d3f60ea7d86fc177296f8e0a6c1e0816264bac807e30d78edbf21 --- config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index cd458a5..bf2893d 100644 --- a/config.h.in +++ b/config.h.in @@ -18,6 +18,9 @@ MSVC and with C++ compilers. */ #undef FLEXIBLE_ARRAY_MEMBER +/* Defined if the build mode is "coverage", to disable asserts */ +#undef NDEBUG + /* Name of package */ #undef PACKAGE -- cgit v1.2.3