summaryrefslogtreecommitdiff
path: root/guile.m4
blob: 58ee476611391e098eca808fd34a183c3f6bf070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## An m4 macro to initialize a guile module.
## Enhance as required.

dnl Usage: AM_INIT_GUILE_MODULE(module-name)
dnl This macro will automatically get the guile version from the
dnl top-level srcdir, and will initialize automake.  It also
dnl defines the `module' variable.
AC_DEFUN([AM_INIT_GUILE_MODULE],[
. $srcdir/../GUILE-VERSION
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_CONFIG_AUX_DIR(..)
module=[$1]
AC_SUBST(module)])