diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/slibtool.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index 1f2c857..7e81820 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -587,11 +587,21 @@ AC_PROG_MKDIR_P ]) +# SLIBTOOL_OUTPUT +# --------------- +AC_DEFUN([SLIBTOOL_OUTPUT],[ +_slibtool_cmd="${SLIBTOOL:-slibtool}" +_slibtool_cmd="${_slibtool_cmd%% *}" +_slibtool_aux_dir=$("${_slibtool_cmd}" -print-aux-dir) +cp -p "${_slibtool_aux_dir}/slibtool.sh" 'libtool' +]) + # drop-in replacement # ------------------- AC_DEFUN([LT_INIT], [SLIBTOOL_INIT($@)]) AC_DEFUN([LT_LANG], [SLIBTOOL_LANG($@)]) AC_DEFUN([LT_PREREQ], [SLIBTOOL_PREREQ($@)]) +AC_DEFUN([LT_OUTPUT], [SLIBTOOL_OUTPUT($@)]) AC_DEFUN([AC_PROG_LIBTOOL], [SLIBTOOL_INIT($@)]) AC_DEFUN([AM_PROG_LIBTOOL], [SLIBTOOL_INIT($@)]) |