From c5b290f6ae4d993b0218142b3a4cd8133c5a7756 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 23 Sep 2017 11:21:04 -0700 Subject: [PATCH] =?UTF-8?q?lib:=20check=20=E2=80=98install=20file=20dir/?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Check that the system install program works when the destination name has a trailing slash. This helped catch problems in an experimental and never-published version of GNU Coreutils, and is a good thing to check in general. --- lib/autoconf/programs.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 4d1b34e2..cf36ac15 100644 --- a/lib/autoconf/programs.m4 +++ b/lib/autoconf/programs.m4 @@ -569,7 +569,7 @@ case $as_dir in @%:@(( echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two