diff options
author | Ludovic Courtès | 2012-06-01 18:14:16 +0200 |
---|---|---|
committer | Ludovic Courtès | 2012-06-01 18:14:16 +0200 |
commit | 0d38cbba0b9bbfd3c885c7f24e2b224579a334a4 (patch) | |
tree | 12d4d7229fab634b6ed0aa497b06d374f8577c02 /configure.ac | |
parent | 1392f286a810f4cc227ced3cf832495b4eaae974 (diff) | |
download | skribilo-0d38cbba0b9bbfd3c885c7f24e2b224579a334a4.tar.gz skribilo-0d38cbba0b9bbfd3c885c7f24e2b224579a334a4.tar.lz skribilo-0d38cbba0b9bbfd3c885c7f24e2b224579a334a4.zip |
build: Don't build/test the RSS-2 reader when its requirements aren't met.
Reported by rvclayton@verizon.net (R. Clayton).
* configure.ac: Add `BUILD_RSS2_READER' Automake conditional.
* src/guile/Makefile.am (readers): Make `skribilo/reader/rss-2.scm'
conditional on `BUILD_RSS2_READER'.
(EXTRA_DIST)[!BUILD_RSS2_READER]: Add `skribilo/reader/rss-2.scm'.
* tests/Makefile.am (TESTS): Make `readers/rss-2.test' conditional on
`BUILD_RSS2_READER'.
(EXTRA_DIST)[!BUILD_RSS2_READER]: Add `readers/rss-2.test'.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 505d8e6..2402e6f 100644 --- a/configure.ac +++ b/configure.ac @@ -63,6 +63,9 @@ if test "x$have_sxml_simple$have_htmlprag" != "xyesyes"; then AC_MSG_WARN([Guile-Lib modules needed by the `rss-2' reader are missing.]) fi +AM_CONDITIONAL([BUILD_RSS2_READER], + [test "x$have_sxml_simple$have_htmlprag" == "xyesyes"]) + # Look for `convert', from ImageMagick. AC_PATH_PROG([CONVERT], [convert]) if test "x$CONVERT" == "x"; then |