diff options
author | hpa <hpa> | 2004-01-15 20:15:46 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-01-15 20:15:46 +0000 |
commit | 59672620321a3c104ef680392eaa7de7e5a7ac9f (patch) | |
tree | 12f2e71c6971e49c24f732cbdfbd3a6c4e5c661c | |
parent | 0740f97365591cde7f67972557ab838821cef789 (diff) | |
download | tftp-hpa-59672620321a3c104ef680392eaa7de7e5a7ac9f.tar.gz |
Handle the use of install-sh making sure we absolutize the path.
-rw-r--r-- | configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
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) |