]> granicus.if.org Git - linux-pam/commitdiff
Allow links to be used instead of w3m for documentation regeneration.
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 4 Sep 2015 08:35:45 +0000 (10:35 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Fri, 4 Sep 2015 08:35:45 +0000 (10:35 +0200)
* configure.ac: If w3m is not found check for links.

configure.ac

index 08e453067d5a236f14b12848270b4f16eb849f77..f33b959529362ec8dea2b172e8dc32f29d9a93ef 100644 (file)
@@ -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])