From f64e5fa754db84e248759d38fdc7ec431b1b45c7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 8 May 2020 14:54:42 +0200 Subject: build: Ensure ar-lib is present. * autogen.sh: Fetch also build-aux/ar-lib. --- .gitignore | 2 +- autogen.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4cfe524..989c82e 100644 --- a/.gitignore +++ b/.gitignore @@ -1943,7 +1943,6 @@ /tests/uniwidth/test-uc_width2.sh # Files brought in by "automake --add-missing --copy": -/build-aux/ar-lib /build-aux/compile /build-aux/depcomp /build-aux/install-sh @@ -1952,6 +1951,7 @@ /build-aux/test-driver # Other files brought in by autogen.sh: +/build-aux/ar-lib /build-aux/config.guess /build-aux/config.sub /build-aux/run-test diff --git a/autogen.sh b/autogen.sh index 20c3655..d1d493c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,7 +11,7 @@ # It also requires # - the gperf program. -# Copyright (C) 2003-2019 Free Software Foundation, Inc. +# Copyright (C) 2003-2020 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -453,6 +453,7 @@ if test $skip_gnulib = false; then < lib/unicase.in.h \ > lib/unicase.in.h.tmp \ && mv lib/unicase.in.h.tmp lib/unicase.in.h + $GNULIB_TOOL --copy-file build-aux/ar-lib; chmod a+x build-aux/ar-lib $GNULIB_TOOL --copy-file build-aux/config.guess; chmod a+x build-aux/config.guess $GNULIB_TOOL --copy-file build-aux/config.sub; chmod a+x build-aux/config.sub $GNULIB_TOOL --copy-file build-aux/declared.sh lib/declared.sh; chmod a+x lib/declared.sh -- cgit v1.2.1