forked from mirrors/tftp-hpa-google
Handle the use of install-sh making sure we absolutize the path.
This commit is contained in:
parent
0740f97365
commit
5967262032
1 changed files with 10 additions and 0 deletions
10
configure.in
10
configure.in
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue