]> git.draconx.ca Git - liblbx.git/commitdiff
Stop using gnulib's flexmember module.
authorNick Bowler <nbowler@draconx.ca>
Sat, 27 May 2023 06:27:13 +0000 (02:27 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sat, 27 May 2023 06:27:13 +0000 (02:27 -0400)
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
m4/gnulib-cache.m4

index e722392f084bfd30c42a754bdbaf5954435ce637..9ed1a995cd79824aa9d85fc6a5c6ffa0f3446123 100644 (file)
@@ -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],
index 6ab3fd5f37a4a850b0d05a28e40249c7e7dab848..ba2b8a640bc404ded96d055937888643475cc1bd 100644 (file)
 #  --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
 ])