m4 fixes
[automake.git] / m4 / AM_INIT_AUTOMAKE.m4
blob4825742fd730a6e9422a154d5c63bf771fcfd2f9
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 AC_ARG_PROGRAM
19 AC_PROG_MAKE_SET])