Edit

kc3-lang/automake/m4/strip.m4

Branch :

  • Show log

    Commit

  • Author : Alexandre Duret-Lutz
    Date : 2001-08-03 08:28:21
    Hash : f00ec284
    Message : * m4/install-sh.m4: New file. * m4/Makefile.am (m4data_DATA): Add install-sh.m4. * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ... * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check for install.sh any longer, always use install-sh, don't even fall back to missing. Use $am_aux_dir, making $install_sh absolute. * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh is absolute. * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.

  • m4/strip.m4
  • # One issue with vendor `install' (even GNU) is that you can't
    # specify the program used to strip binaries.  This is especially
    # annoying in cross-compiling environments, where the build's strip
    # is unlikely to handle the host's binaries.
    # Fortunately install-sh will honor a STRIPPROG variable, so we
    # always use install-sh in `make install-strip', and initialize
    # STRIPPROG with the value of the STRIP variable (set by the user).
    AC_DEFUN([AM_PROG_INSTALL_STRIP],
    [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
    AC_SUBST([INSTALL_STRIP_PROGRAM])])