Handle the use of install-sh making sure we absolutize the path.

This commit is contained in:
hpa 2004-01-15 20:15:46 +00:00
parent 0740f97365
commit 5967262032

View file

@ -208,7 +208,17 @@ AC_SUBST(TFTPDOBJS)
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_RANLIB AC_PROG_RANLIB
dnl
dnl Make sure the install program has an absolute path if it
dnl has a path at all. autoconf doesn't do this "in order
dnl to not pollute the cache." Sigh.
dnl Note: the $ needs to be double-quoted for reasons unknown.
dnl
AC_PROG_INSTALL AC_PROG_INSTALL
[if echo "$INSTALL" | grep '^[^/].*/' > /dev/null 2>&1; then
INSTALL='\${SRCROOT}'/"$INSTALL"
fi]
AC_CONFIG_HEADERS(aconfig.h) AC_CONFIG_HEADERS(aconfig.h)
AC_OUTPUT(MCONFIG) AC_OUTPUT(MCONFIG)