From: Paul Eggert Date: Sat, 23 Sep 2017 18:21:04 +0000 (-0700) Subject: lib: check ‘install file dir/’ X-Git-Tag: v2.69b~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b290f6ae4d993b0218142b3a4cd8133c5a7756;p=thirdparty%2Fautoconf.git lib: check ‘install file dir/’ * 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. --- diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 4d1b34e2a..cf36ac154 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