[barcode] Small bug in configure.in for HTML generation

Nico Kadel-Garcia nkadel@gmail.com
Sun Nov 9 16:55:50 CET 2008


I see that this list is pretty idle: I hope it's because the software is 
stable, not abandoned!

The configure.in file detects the presence of a contemporary makeinfo, 
and by default uses that. But there is a bug in the configure.in: if the 
MAKEINFO environmentn variable is not set, it does not publish the 
makeinfo command properly.

Here is the patch for makeinfo:
       
svn diff -r7991 configure.in  configure
Index: configure.in
===================================================================
--- configure.in        (revision 7991)
+++ configure.in        (working copy)
@@ -39,7 +39,7 @@
 AC_MSG_RESULT($MAKEINFOHTML)
 if test "$MAKEINFOHTML" = "yes"; then
    REMOVEHTMLTAGS="cat"
-   INFOTOHTML="$MAKEINFO --html"
+   INFOTOHTML="${MAKEINFO=makeinfo} --html"
 else
    REMOVEHTMLTAGS="sed 's/ifnottex/ifinfo/; s/ifnotinfo/iftex/'"
    INFOTOHTML="perl texi2html -monolithic"
Index: configure
===================================================================
--- configure   (revision 7991)
+++ configure   (working copy)
@@ -1093,11 +1093,11 @@
 echo $ac_n "checking "if makeinfo can output html"""... $ac_c" 1>&6
 echo "configure:1095: checking "if makeinfo can output html"" >&5
 MAKEINFOHTML=no
-${MAKEINFO=makeinfo} --help | grep .--html > /dev/null && MAKEINFOHTML=yes
+${MAKEINFO:=makeinfo} --help | grep .--html > /dev/null && MAKEINFOHTML=yes
 echo "$ac_t""$MAKEINFOHTML" 1>&6
 if test "$MAKEINFOHTML" = "yes"; then
    REMOVEHTMLTAGS="cat"
-   INFOTOHTML="$MAKEINFO --html"
+   INFOTOHTML="${MAKEINFO:=makeinfo} --html"
 else
    REMOVEHTMLTAGS="sed 's/ifnottex/ifinfo/; s/ifnotinfo/iftex/'"
    INFOTOHTML="perl texi2html -monolithic"




More information about the barcode mailing list