Commit | Line | Data |
---|---|---|
733943b9 TT |
1 | ## An m4 macro to initialize a guile module. |
2 | ## Enhance as required. | |
3 | ||
4 | dnl Usage: AM_INIT_GUILE_MODULE(module-name) | |
5 | dnl This macro will automatically get the guile version from the | |
6 | dnl top-level srcdir, and will initialize automake. It also | |
7 | dnl defines the `module' variable. | |
8 | AC_DEFUN([AM_INIT_GUILE_MODULE],[ | |
9 | . $srcdir/../GUILE-VERSION | |
7ecb9fc6 | 10 | AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) |
733943b9 TT |
11 | AC_CONFIG_AUX_DIR(..) |
12 | module=[$1] | |
13 | AC_SUBST(module)]) |