summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-05-08 12:54:42 (GMT)
committerBruno Haible <bruno@clisp.org>2020-05-08 13:18:53 (GMT)
commitf64e5fa754db84e248759d38fdc7ec431b1b45c7 (patch)
tree0089fd94340116efc1877b765d791a528455f99a
parentaddf468545014f85b6325d3a2b99f8900a40a7bf (diff)
downloadlibunistring-f64e5fa754db84e248759d38fdc7ec431b1b45c7.tar.gz
build: Ensure ar-lib is present.
* autogen.sh: Fetch also build-aux/ar-lib.
-rw-r--r--.gitignore2
-rwxr-xr-xautogen.sh3
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