1 # One issue with vendor `install' (even GNU) is that you can't
2 # specify the program used to strip binaries. This is especially
3 # annoying in cross-compiling environments, where the build's strip
4 # is unlikely to handle the host's binaries.
5 # Fortunately install-sh will honor a STRIPPROG variable, so we
6 # always use install-sh in `make install-strip', and initialize
7 # STRIPPROG with the value of the STRIP variable (set by the user).
8 AC_DEFUN([AM_PROG_INSTALL_STRIP],
9 [AC_REQUIRE([AM_MISSING_INSTALL_SH])dnl
10 _am_dirpart="`echo $install_sh | sed -e 's,//*[[^/]]*$,,'`"
11 INSTALL_STRIP_PROGRAM="\${SHELL} \`CDPATH=: && cd $_am_dirpart && pwd\`/install-sh -c -s"
12 AC_SUBST([INSTALL_STRIP_PROGRAM])])