From b194f3961c8cb06e4bb6d5ac7dce99e94429c352 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sat, 27 May 2023 02:27:13 -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 | 4 +++- m4/gnulib-cache.m4 | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e722392..9ed1a99 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl Copyright © 2009, 2013-2014, 2021 Nick Bowler +dnl Copyright © 2009, 2013-2014, 2021, 2023 Nick Bowler dnl dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2. dnl This is free software: you are free to do what the fuck you want to. @@ -21,6 +21,8 @@ AC_HEADER_ASSERT LT_INIT gl_INIT +AC_C_FLEXIBLE_ARRAY_MEMBER + m4_include([lib/gnulib.mk]) AC_ARG_WITH([libpng], diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index 6ab3fd5..ba2b8a6 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -40,14 +40,12 @@ # --macro-prefix=gl \ # --no-vc-files \ # --avoid=std-gnu11 \ -# flexmember \ # fnmatch \ # getopt-gnu # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([]) gl_MODULES([ - flexmember fnmatch getopt-gnu ]) -- 2.43.2