mu: add 'scm' command

Add the "scm" command, the way to get a Guile/Scheme shell.

This is experimental but will replace the current guile support in guile/ at
some point.
This commit is contained in:
Dirk-Jan C. Binnema
2025-05-31 12:41:37 +03:00
parent 7f274fe518
commit f9c24c7166
6 changed files with 73 additions and 6 deletions

View File

@ -306,6 +306,15 @@ if not get_option('guile').disabled() and guile_dep.found()
subdir('guile')
endif
# this must happen _after_ subdir('lib')
if not get_option('scm').disabled() and guile_dep.found()
config_h_data.set('BUILD_SCM', 1)
subdir('scm')
else
# dummy-dep.
mu_scm_dep = declare_dependency('', required:false)
endif
subdir('mu')
# emacs -- needed for mu4e compilation