summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-02 01:56:52 +0000
committermidipix <writeonce@midipix.org>2021-05-02 01:56:52 +0000
commit666643bd30271ad868d968ece49fa08340735d8f (patch)
tree9967b86f7527529b4dbbb78050ee4abb9906b845
parentad93f04901a3b900810376b5ea3ca78a60c8a2c7 (diff)
downloadslibtool-666643bd30271ad868d968ece49fa08340735d8f.tar.bz2
slibtool-666643bd30271ad868d968ece49fa08340735d8f.tar.xz
slibtool.m4: SLIBTOOL_PREREQ(): ensure presence of core autoconf macros.
-rw-r--r--m4/slibtool.m443
1 files changed, 43 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 47e2797..2c69088 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -163,6 +163,7 @@ slibtool_set_flavor()
# SLIBTOOL_INIT(_options_)
# ------------------------
AC_DEFUN([SLIBTOOL_INIT],[
+AC_REQUIRE([SLIBTOOL_PREREQ])
AC_REQUIRE([_SLIBTOOL_DEFAULTS])
AC_REQUIRE([_SLIBTOOL_SET_FLAVOR])
AC_REQUIRE([_SLIBTOOL_ARGUMENT_HANDLING])
@@ -253,6 +254,48 @@ m4_define([SLIBTOOL_INIT])
# SLIBTOOL_PREREQ(_VERSION_)
# --------------------------
AC_DEFUN([SLIBTOOL_PREREQ],[
+
+AC_REQUIRE([AC_PROG_CC])
+AC_REQUIRE([AC_PROG_CPP])
+AC_REQUIRE([AC_PROG_CXX])
+
+AC_REQUIRE([AC_PROG_OBJC])
+AC_REQUIRE([AC_PROG_OBJCPP])
+AC_REQUIRE([AC_PROG_OBJCXX])
+
+AC_REQUIRE([AC_PROG_FC])
+AC_REQUIRE([AC_PROG_F77])
+
+AC_REQUIRE([AC_PROG_AWK])
+AC_REQUIRE([AC_PROG_LEX])
+AC_REQUIRE([AC_PROG_SED])
+AC_REQUIRE([AC_PROG_YACC])
+
+AC_REQUIRE([AC_PROG_RANLIB])
+
+AC_REQUIRE([AC_PROG_LN_S])
+AC_REQUIRE([AC_PROG_MKDIR_P])
+
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_CXX
+
+AC_PROG_OBJC
+AC_PROG_OBJCPP
+AC_PROG_OBJCXX
+
+AC_PROG_FC
+AC_PROG_F77
+
+AC_PROG_AWK
+AC_PROG_LEX
+AC_PROG_SED
+AC_PROG_YACC
+
+AC_PROG_RANLIB
+
+AC_PROG_LN_S
+AC_PROG_MKDIR_P
])