mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
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.
This commit is contained in:
parent
c47935de9e
commit
c5b290f6ae
@ -569,7 +569,7 @@ case $as_dir in @%:@((
|
|||||||
echo one > conftest.one
|
echo one > conftest.one
|
||||||
echo two > conftest.two
|
echo two > conftest.two
|
||||||
mkdir conftest.dir
|
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.one && test -s conftest.two &&
|
||||||
test -s conftest.dir/conftest.one &&
|
test -s conftest.dir/conftest.one &&
|
||||||
test -s conftest.dir/conftest.two
|
test -s conftest.dir/conftest.two
|
||||||
|
Loading…
Reference in New Issue
Block a user