From 3bf118dad0deed7fd25701a1c0ec3afd0a113ba9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 16 Dec 2021 08:24:30 -0800 Subject: [PATCH] build: non-recursive Automake in a less hacky way * bootstrap.conf (gnulib_modules): Remove non-recursive-gnulib-prefix-hack. (gnulib_tool_option_extras): Add --automake-subdir. (bootstrap_post_import_hook): No need to massage lib/gnulib.mk. --- bootstrap.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bootstrap.conf b/bootstrap.conf index 2b66bc42d7..c2f74f4066 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -182,7 +182,6 @@ gnulib_modules=" mountlist mpsort netinet_in - non-recursive-gnulib-prefix-hack nproc nstrftime obstack @@ -339,7 +338,7 @@ XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ ' gnulib_tool_option_extras="--tests-base=gnulib-tests --with-tests --symlink\ - --makefile-name=gnulib.mk + --makefile-name=gnulib.mk --automake-subdir " # Build prerequisites @@ -373,9 +372,6 @@ bootstrap_post_import_hook () && chmod a-w $tmp-1 $tmp-2 \ && mv -f $tmp-1 $m4f && mv -f $tmp-2 $mkf) - # Massage lib/gnulib.mk before using it later in the bootstrapping process. - build-aux/prefix-gnulib-mk --lib-name=$gnulib_name lib/$gnulib_mk - # Regenerate src/single-binary.mk (mkf=src/single-binary.mk tmp=single-binary.tmp \ && rm -f $mkf $tmp \ -- 2.47.2