From 8f6809e4a28ad0dd08a5aea14ac1011b6bf0dd92 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 26 May 2023 20:38:11 -0400 Subject: [PATCH] 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. --- configure.ac | 2 ++ m4/gnulib-cache.m4 | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9572e8c..a9893ba 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,8 @@ gl_EARLY LT_INIT gl_INIT +AC_C_FLEXIBLE_ARRAY_MEMBER + # Work around quoting bug in Gnulib threadlib.m4 which prevents # correct detection on e.g., Solaris 8. These platforms require # PTHREAD_IN_USE_DETECTION_HARD to be set otherwise cdecl99 will diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index 7e15afe..82646fb 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 \ # getline \ # getopt-gnu \ # gettext-h \ @@ -57,7 +56,6 @@ # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([]) gl_MODULES([ - flexmember getline getopt-gnu gettext-h -- 2.43.2