From 38eed686ddbd588ae684a660a7c5a848a04ed560 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Thu, 21 Apr 2022 22:01:57 -0400 Subject: [PATCH] Explicitly require gnulib getline module. Currently, the gnulib getline module is only pulled in indirectly via the readline module. As a result, when configuring for a system that has GNU readline installed (and readline is enabled), the readline replacement is not used and therefore the getline replacement is never included. But on systems that lack getline in the C library, without the gnulib replacement the build will fail. Simply listing getline as a needed module suffices to allow such configurations to build successfully. --- NEWS | 3 +++ configure.ac | 2 +- m4/gnulib-cache.m4 | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 21e6822..d7c9dab 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +Release 1.2a: + * Various bug fixes and improvements. + Release 1.2: * Removed external library dependencies from the test suite. * Fixed compilation failures in some enviroments. diff --git a/configure.ac b/configure.ac index 4c906c0..f89b63f 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ dnl This is free software: you are free to do what the fuck you want to. dnl There is NO WARRANTY, to the extent permitted by law. AC_PREREQ([2.68]) -AC_INIT([cdecl99], [1.2], [nbowler@draconx.ca]) +AC_INIT([cdecl99], [1.2a], [nbowler@draconx.ca]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects dist-xz]) diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4 index ae908ee..bb361f7 100644 --- a/m4/gnulib-cache.m4 +++ b/m4/gnulib-cache.m4 @@ -40,6 +40,7 @@ # --macro-prefix=gl \ # --no-vc-files \ # flexmember \ +# getline \ # getopt-gnu \ # gettext-h \ # gitlog-to-changelog \ @@ -56,6 +57,7 @@ gl_LOCAL_DIR([]) gl_MODULES([ flexmember + getline getopt-gnu gettext-h gitlog-to-changelog -- 2.43.2