diff options
author | Ludovic Courtès | 2009-03-24 23:28:06 +0100 |
---|---|---|
committer | Ludovic Courtès | 2009-03-24 23:28:58 +0100 |
commit | f37487368372c5ab6207e756b4b4ae89c6d145c3 (patch) | |
tree | b9097bfdc18502f1c8bad33c8ca630fba20f54f5 /configure.ac | |
parent | 3a72d5b1cf38fc3c579336e76e2b0354dcd4c4ae (diff) | |
download | skribilo-f37487368372c5ab6207e756b4b4ae89c6d145c3.tar.gz skribilo-f37487368372c5ab6207e756b4b4ae89c6d145c3.tar.lz skribilo-f37487368372c5ab6207e756b4b4ae89c6d145c3.zip |
Add experimental `--enable-guile-vm' configure option.
* configure.ac (--enable-guile-vm): New option.
(ENABLE_GUILE_VM): New Automake conditional.
* guile-vm.am: New file.
* src/guile/Makefile.am (SOURCES): New variable, formerly
`nobase_dist_module_DATA'.
(SOURCES_NOT_COMPILED): New.
Include `guile-vm.am'.
* NEWS: Update.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0da5c01..a0617b9 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,10 @@ AM_INIT_AUTOMAKE([gnu no-define check-news readme-alpha]) AC_CONFIG_SRCDIR([src/guile/skribilo/reader.scm]) +# Options. +AC_ARG_ENABLE([guile-vm], + [AS_HELP_STRING([--enable-guile-vm], + [compile source files for use with Guile-VM (aka. Guile 2.x)])]) # GNU Gettext. AM_GNU_GETTEXT([external]) @@ -29,6 +33,11 @@ AC_ARG_WITH([guilemoduledir], GUILE_PROGS GUILE_SITE_DIR +# Guile-VM's compiler (aka. Guile 2.0.x). +AM_CONDITIONAL([ENABLE_GUILE_VM], + [test "x$enable_guile_vm" = "xyes" && \ + $GUILE_TOOLS compile --help 2>&1 >/dev/null]) + # Guile-Lint (http://www.geocities.com/user42_kevin/guile-lint/index.html) AC_PATH_PROG([GUILE_LINT], [guile-lint]) AC_SUBST([GUILE_LINT]) |