From: Nick Bowler Date: Sat, 27 May 2023 06:14:23 +0000 (-0400) Subject: Stop using gnulib's flexmember module. X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/commitdiff_plain/6433794da64fdd089cabb7b82f7f4d8608d98c32 Stop using gnulib's flexmember module. The only thing we're actually using from this module is provided directly by Autoconf, via AC_C_FLEXIBLE_ARRAY_MEMBER, so we can just use that macro instead. --- diff --git a/configure.ac b/configure.ac index 064c324..7239adb 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,8 @@ gl_EARLY LT_INIT gl_INIT +AC_C_FLEXIBLE_ARRAY_MEMBER + AC_CACHE_SAVE m4_include([lib/gnulib.mk]) diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index da8934c..a23b145 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -40,7 +40,6 @@ # --macro-prefix=gl \ # --no-vc-files \ # --avoid=std-gnu11 \ -# flexmember \ # gethrxtime \ # getopt-gnu \ # gettext-h \ @@ -52,7 +51,6 @@ # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([]) gl_MODULES([ - flexmember gethrxtime getopt-gnu gettext-h