Start new section for post-1.0 changes.
[bpt/guile.git] / aclocal.m4
CommitLineData
66b62aa4 1dnl aclocal.m4 generated automatically by aclocal 1.1l
ebf50833 2
733943b9
TT
3# Do all the work for Automake. This macro actually does too much --
4# some checks are only needed if your package does certain things.
5# But this isn't really a big deal.
6
7# serial 1
8
9dnl Usage:
10dnl AM_INIT_AUTOMAKE(package,version)
11
12AC_DEFUN(AM_INIT_AUTOMAKE,
13[AC_REQUIRE([AM_PROG_INSTALL])
14PACKAGE=[$1]
15AC_SUBST(PACKAGE)
16AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
17VERSION=[$2]
18AC_SUBST(VERSION)
19AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
20AM_SANITY_CHECK
21AC_ARG_PROGRAM
22AC_PROG_MAKE_SET])
23
24
25# serial 1
26
27AC_DEFUN(AM_PROG_INSTALL,
28[AC_REQUIRE([AC_PROG_INSTALL])
29test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
30AC_SUBST(INSTALL_SCRIPT)dnl
ebf50833 31])
733943b9
TT
32
33#
34# Check to make sure that the build environment is sane.
35#
36
37AC_DEFUN(AM_SANITY_CHECK,
38[AC_MSG_CHECKING([whether build environment is sane])
39echo timestamp > conftestfile
40# Do this in a subshell so we don't clobber the current shell's
41# arguments. FIXME: maybe try `-L' hack like GETLOADAVG test?
42if (set X `ls -t $srcdir/configure conftestfile`; test "[$]2" = conftestfile)
43then
44 # Ok.
45 :
46else
47 AC_MSG_ERROR([newly created file is older than distributed files!
48Check your system clock])
49fi
50rm -f conftest*
51AC_MSG_RESULT(yes)])
52