From: Nick Bowler Date: Fri, 1 Dec 2023 03:56:54 +0000 (-0500) Subject: Replace gnulib patch with new common helper macro. X-Git-Url: https://git.draconx.ca/gitweb/slotifier.git/commitdiff_plain/b9599af9fd61b5718e3e1db436b617aceab0ac02?ds=sidebyside Replace gnulib patch with new common helper macro. Using the new DX_PATCH_GNULIB macro allows m4 to implement the conditional dependency patches that were previously being done in bootstrap. --- diff --git a/bootstrap b/bootstrap index 7bb1f8d..4aff9de 100755 --- a/bootstrap +++ b/bootstrap @@ -43,12 +43,6 @@ fi $PERL common/scripts/fix-gnulib.pl -o lib/gnulib.mk -i lib/gnulib.mk.in \ || die "Failed to fixup Gnulib makefile fragment." -# Rewrite if ! ... construts produced by gnulib conditional dependencies -# as these fail in heirloom-sh. -sed 's/if ! *\(.*gnulib_enabled[^;]*\); then/if \1; then :; else/' \ - m4/gnulib-comp.m4 >m4/gnulib-comp.m4.new || exit -mv -f m4/gnulib-comp.m4.new m4/gnulib-comp.m4 || exit - # Punt some automake-generated files so that Gentoo's wrapper script doesn't # try to detect the automake version in use. rm -f Makefile.in aclocal.m4 diff --git a/common b/common index 207d0db..1566158 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 207d0dbfbbfa7ad70b59ada3a741895842958885 +Subproject commit 156615815cd9db9dfc55356939ec15d5d2ea5180 diff --git a/configure.ac b/configure.ac index c7bc907..ac2b384 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,8 @@ 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. dnl There is NO WARRANTY, to the extent permitted by law. +DX_PATCH_GNULIB + AC_INIT([slotifier], [1.2a], [nbowler@draconx.ca]) AC_CONFIG_HEADERS([config.h])