diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-03-16 17:17:27 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-03-16 17:17:27 +0200 |
commit | 08057b45c5baad283f7132b64faa05018ff2f5f7 (patch) | |
tree | bbeefaa36b0542a25cfdf29cc68c71b03afd4d2f /configure.ac | |
parent | 4385b872616eba08c2b8c8b7f465e81ff379b43c (diff) | |
download | idest-08057b45c5baad283f7132b64faa05018ff2f5f7.tar.gz idest-08057b45c5baad283f7132b64faa05018ff2f5f7.tar.bz2 |
Add framework for Guile scripting.
* am/guile.m4: New file.
* Makefile.am (ACLOCAL_AMFLAGS): Add -I am
* configure.ac: Check for Guile.
* src/Makefile.am (idest_SOURCES): guile.c
(INCLUDES,LDADD): Add guile variables.
* src/cmdline.opt: New options: --script and --function.
* src/getopt.m4: Support conditional compilation.
* src/idest.h (guile_debug, guile_script, guile_function): New externs.
* src/guile.c: New file.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8345d9d..a2fdcd1 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,31 @@ AC_CHECK_FUNCS([memset strcasecmp strerror strncasecmp]) gl_INIT +AC_ARG_WITH([guile], + [AC_HELP_STRING([--with-guile], + [enable Guile support (default)])], + [status_guile=${withval}], + [status_guile=yes]) + +if test $status_guile = yes; then + IDEST_CHECK_GUILE(1.8) +fi + AC_CONFIG_SUBDIRS(libid3tag) + +AC_CONFIG_COMMANDS([status],[ +cat <<EOF +******************************************************************* +IdEst configured with the following settings: + +Use Guile...................... $status_guile +******************************************************************* + +Before proceeding, verify if these satisfy your requirements. +EOF +], +[status_guile=$status_guile]) + AC_CONFIG_FILES([Makefile gnu/Makefile src/Makefile]) |