diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-23 11:21:04 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-23 12:49:23 -0700 |
commit | c5b290f6ae4d993b0218142b3a4cd8133c5a7756 (patch) | |
tree | de9811ab1fe004fbefde65f4a053e59bc8c06337 | |
parent | c47935de9e362917899045e2a80fbbe75a67512f (diff) | |
download | autoconf-c5b290f6ae4d993b0218142b3a4cd8133c5a7756.tar.gz |
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.
-rw-r--r-- | lib/autoconf/programs.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |