]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
lib: check ‘install file dir/’
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Sep 2017 18:21:04 +0000 (11:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Sep 2017 19:49:23 +0000 (12:49 -0700)
* 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

index 4d1b34e2afb7034824e050d5f2f61823656abf24..cf36ac15425e0e61ddcdf0addbec9a09eba1320b 100644 (file)
@@ -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