summaryrefslogtreecommitdiff
path: root/m4/init.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/init.m4')
-rw-r--r--m4/init.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/m4/init.m4 b/m4/init.m4
new file mode 100644
index 000000000..8afadf27f
--- /dev/null
+++ b/m4/init.m4
@@ -0,0 +1,20 @@
+# Do all the work for Automake. This macro actually does too much --
+# some checks are only needed if your package does certain things.
+# But this isn't really a big deal.
+
+# serial 1
+
+dnl Usage:
+dnl AM_INIT_AUTOMAKE(package,version)
+
+AC_DEFUN(AM_INIT_AUTOMAKE,
+[AC_REQUIRE([AM_PROG_INSTALL])
+PACKAGE=[$1]
+AC_SUBST(PACKAGE)
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
+VERSION=[$2]
+AC_SUBST(VERSION)
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
+AM_SANITY_CHECK
+AC_ARG_PROGRAM
+AC_PROG_MAKE_SET])