automake: Depend on LIBOBJDIR for LIBOBJS and ALLOCA
[automake.git] / m4 / install-sh.m4
blob94b886a2a761c7ed06c36d85c850da40c225b59f
1 ##                                                          -*- Autoconf -*-
2 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # AM_PROG_INSTALL_SH
9 # ------------------
10 # Define $install_sh.
11 AC_DEFUN([AM_PROG_INSTALL_SH],
12 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
13 if test x"${install_sh+set}" != xset; then
14   case $am_aux_dir in
15   *\ * | *\     *)
16     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
17   *)
18     install_sh="\${SHELL} $am_aux_dir/install-sh"
19   esac
21 AC_SUBST([install_sh])])