From: David MacKenzie Date: Fri, 4 Nov 1994 04:12:59 +0000 (+0000) Subject: explain install-sh more X-Git-Tag: fsf-origin~361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d1362ba575b8652bd6cf81fddb6feaec73cc5f3;p=thirdparty%2Fautoconf.git explain install-sh more --- diff --git a/autoconf.texi b/autoconf.texi index 954180534..2dad62d7d 100644 --- a/autoconf.texi +++ b/autoconf.texi @@ -1503,7 +1503,15 @@ work. It prefers to find a C program rather than a shell script, for speed. Instead of @file{install-sh}, it can also use @file{install.sh}, but that name is obsolete because some @code{make} programs have a rule that creates @file{install} from it if there is no @file{Makefile}. -A copy of @file{install-sh} which you may use comes with Autoconf. + +A copy of @file{install-sh} which you may use comes with Autoconf. If +you use @code{AC_PROG_INSTALL}, you must include either +@file{install-sh} or @file{install.sh} in your distribution, or +@code{configure} will produce an error message saying it can't find +them---even if the system you're on has a good @code{install} program. +This check is a safety measure to prevent you from accidentally leaving +that file out, which would prevent your package from installing on +systems that don't have a BSD-compatible @code{install} program. If you need to use your own installation program because it has features not found in standard @code{install} programs, there is no diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 954180534..2dad62d7d 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1503,7 +1503,15 @@ work. It prefers to find a C program rather than a shell script, for speed. Instead of @file{install-sh}, it can also use @file{install.sh}, but that name is obsolete because some @code{make} programs have a rule that creates @file{install} from it if there is no @file{Makefile}. -A copy of @file{install-sh} which you may use comes with Autoconf. + +A copy of @file{install-sh} which you may use comes with Autoconf. If +you use @code{AC_PROG_INSTALL}, you must include either +@file{install-sh} or @file{install.sh} in your distribution, or +@code{configure} will produce an error message saying it can't find +them---even if the system you're on has a good @code{install} program. +This check is a safety measure to prevent you from accidentally leaving +that file out, which would prevent your package from installing on +systems that don't have a BSD-compatible @code{install} program. If you need to use your own installation program because it has features not found in standard @code{install} programs, there is no