From 4f7e8edf9f3bf734ca6bfb56756ef7cd90ffb32e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 Nov 2015 21:35:34 +0000 Subject: require newer gnulib for free_mount_entry support gnulib commit 41d1b6c42641a5b9e21486ca2074198ee7909bd7 ("mountlist: add support for deallocating returned list entries") or later (from July 2013) is needed for free_mount_entry support introduced in our commit 1225f9ce4c32b3bba61ce92a487d99260a001995 ("use free_mount_entry from gnulib instead of rolling our own"). --- HACKING | 5 +++++ autogen.sh | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/HACKING b/HACKING index 2088958..4afe63a 100644 --- a/HACKING +++ b/HACKING @@ -20,8 +20,13 @@ Generally, the versions of these tools bundled with the latest stable release of Debian GNU/Linux will work. For Gnulib, we will use the latest git checkouts from: + git://git.savannah.gnu.org/gnulib.git +We currently require gnulib commit 41d1b6c42641a5b9e21486ca2074198ee7909bd7 +("mountlist: add support for deallocating returned list entries") +or later (from July 2013) for free_mount_entry support + For gcov code coverage reports, we rely on "gcov2perl" and "cover" from the Devel::Cover Perl module: diff --git a/autogen.sh b/autogen.sh index 4db469d..6fb4433 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,6 +4,18 @@ glver="$(gnulib-tool --version | head -n1)" if gnulib-tool --update && autoreconf -i then echo "$glver" > .gnulib-version + if ! grep -w free_mount_entry >/dev/null lib/mountlist.h + then + cat >&2 <