summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-27 19:20:09 +0000
committermidipix <writeonce@midipix.org>2024-03-27 19:20:09 +0000
commit1dbc3058abdba0d9d1e47f7e833e9688b2602137 (patch)
tree74e615d5a494dc33e34d1fd5684b916044eb8026
parentb1c9f43e10de044ac1841171ccbebbe58fc6f347 (diff)
downloadslibtool-1dbc3058abdba0d9d1e47f7e833e9688b2602137.tar.bz2
slibtool-1dbc3058abdba0d9d1e47f7e833e9688b2602137.tar.xz
slibtool.m4: ordering: guard against early macro invocation only once.
-rw-r--r--m4/slibtool.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 1b7d400..0ec5f66 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -42,9 +42,12 @@ slibtool_enable_win32_dll_default='yes'
slibtool_enable_fast_install_default='yes'
slibtool_pic_mode_default='default'
slibtool_sysroot_default=
+])
# slibtool: refined logic for ar, nm, ranlib, etc.
#
+m4_ifdef([SLIBTOOL_INIT],[],[
+#
m4_ifdef([AC_PROG_AR], [m4_undefine([AC_PROG_AR])])
m4_ifdef([AM_PROG_AR], [m4_undefine([AM_PROG_AR])])
@@ -61,7 +64,6 @@ m4_ifdef([LT_LIB_M], [m4_undefine([LT_LIB_M])])
m4_ifdef([LT_LIB_DLLOAD], [m4_undefine([LT_LIB_DLLOAD])])
])
-
# _SLIBTOOL_CONVENIENCE
# ---------------------
AC_DEFUN([LT_DEVAL],[$1]=[$2])