commit caeae5bc84045df20f9e4fddcaefddde6209f6cd
Author: Tomas Mraz <tmraz(a)fedoraproject.org>
Date: Fri Sep 4 10:35:45 2015 +0200
Allow links to be used instead of w3m for documentation regeneration.
* configure.ac: If w3m is not found check for links.
configure.ac | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 08e4530..f33b959 100644
--- a/configure.ac
+++ b/configure.ac
@@ -568,7 +568,12 @@ AC_PATH_PROG([BROWSER], [w3m])
if test ! -z "$BROWSER"; then
BROWSER="$BROWSER -T text/html -dump"
else
- enable_docu=no
+ AC_PATH_PROG([BROWSER], [links])
+ if test ! -z "$BROWSER"; then
+ BROWSER="$BROWSER -no-numbering -no-references -dump"
+ else
+ enable_docu=no
+ fi
fi
AC_PATH_PROG([FO2PDF], [fop])
Show replies by date