From: Tomas Mraz Date: Fri, 4 Sep 2015 08:35:45 +0000 (+0200) Subject: Allow links to be used instead of w3m for documentation regeneration. X-Git-Tag: Linux-PAM-1.3.0~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=caeae5bc84045df20f9e4fddcaefddde6209f6cd;p=linux-pam Allow links to be used instead of w3m for documentation regeneration. * configure.ac: If w3m is not found check for links. --- diff --git a/configure.ac b/configure.ac index 08e45306..f33b9595 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])