From 59672620321a3c104ef680392eaa7de7e5a7ac9f Mon Sep 17 00:00:00 2001 From: hpa Date: Thu, 15 Jan 2004 20:15:46 +0000 Subject: [PATCH] Handle the use of install-sh making sure we absolutize the path. --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.in b/configure.in index 2ec102c..4bb0e2c 100644 --- a/configure.in +++ b/configure.in @@ -208,7 +208,17 @@ AC_SUBST(TFTPDOBJS) AC_PROG_LN_S 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 +[if echo "$INSTALL" | grep '^[^/].*/' > /dev/null 2>&1; then + INSTALL='\${SRCROOT}'/"$INSTALL" +fi] AC_CONFIG_HEADERS(aconfig.h) AC_OUTPUT(MCONFIG)