From: Nick Bowler Date: Sat, 27 May 2023 00:38:11 +0000 (-0400) Subject: Stop using gnulib's flexmember module. X-Git-Tag: v1.3~175 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/8f6809e4a28ad0dd08a5aea14ac1011b6bf0dd92 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 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