Added sanity check macro
[automake.git] / m4 / init.m4
blob8afadf27fd9a442d19863e1bfdd015a65f516f98
1 # Do all the work for Automake.  This macro actually does too much --
2 # some checks are only needed if your package does certain things.
3 # But this isn't really a big deal.
5 # serial 1
7 dnl Usage:
8 dnl AM_INIT_AUTOMAKE(package,version)
10 AC_DEFUN(AM_INIT_AUTOMAKE,
11 [AC_REQUIRE([AM_PROG_INSTALL])
12 PACKAGE=[$1]
13 AC_SUBST(PACKAGE)
14 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
15 VERSION=[$2]
16 AC_SUBST(VERSION)
17 AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
18 AM_SANITY_CHECK
19 AC_ARG_PROGRAM
20 AC_PROG_MAKE_SET])