summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-02 03:05:59 +0000
committermidipix <writeonce@midipix.org>2021-05-02 03:05:59 +0000
commit3db17ddcdaa2be517df47f3e0c48a518dc493635 (patch)
treedc54537bd19757402fbfc11cfa8357414684877f /m4
parent129f8a9d096d814d6169cac12d730444e8df9f87 (diff)
downloadslibtool-3db17ddcdaa2be517df47f3e0c48a518dc493635.tar.bz2
slibtool-3db17ddcdaa2be517df47f3e0c48a518dc493635.tar.xz
slibtool.m4: added SLIBTOOL_LANG().
Diffstat (limited to 'm4')
-rw-r--r--m4/slibtool.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 244600c..034a0d6 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -211,6 +211,7 @@ slibtool_options="${slibtool_options} disable-static"
# SLIBTOOL_INIT(_options_)
# ------------------------
AC_DEFUN([SLIBTOOL_INIT],[
+AC_BEFORE([SLIBTOOL_LANG])
AC_REQUIRE([SLIBTOOL_PREREQ])
AC_REQUIRE([_SLIBTOOL_DEFAULTS])
AC_REQUIRE([_SLIBTOOL_SET_FLAVOR])
@@ -299,6 +300,13 @@ m4_define([SLIBTOOL_INIT])
])
+# SLIBTOOL_LANG(_language_)
+# -------------------------
+AC_DEFUN([SLIBTOOL_LANG],[
+AC_REQUIRE([SLIBTOOL_PREREQ])
+])
+
+
# SLIBTOOL_PREREQ(_VERSION_)
# --------------------------
AC_DEFUN([SLIBTOOL_PREREQ],[
@@ -354,6 +362,7 @@ AC_PROG_MKDIR_P
# drop-in replacement
# -------------------
AC_DEFUN([LT_INIT], [SLIBTOOL_INIT($@)])
+AC_DEFUN([LT_LANG], [SLIBTOOL_LANG($@)])
AC_DEFUN([LT_PREREQ], [SLIBTOOL_PREREQ($@)])
AC_DEFUN([AC_PROG_LIBTOOL], [SLIBTOOL_INIT($@)])