summaryrefslogtreecommitdiffhomepage
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-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
])