configure: check for sgml to texi tools fails with OpenSP

John Clizbe JPClizbe at tx.rr.com
Thu Sep 25 20:58:41 CEST 2008


Last night I was building a svn rev of 1.4.10 on my Slackware box. Going over
the output from configure, I thought it odd the the test for sgml to texi tools
was failing. OpenSP 1.5.2 is installed, sgml2xml is present:

    bear at yogi:~/gnupg14r4834# sgml2xml -v
    sgml2xml:I: "OpenSP" version "1.5.2"

OK, so OpenSP is wrapping things in double-quotes

Here's a patch...

bear at yogi:~/gnupg14r4834# diff -u acinclude.m4{~,}
--- acinclude.m4~       2008-09-25 00:52:52.000000000 -0500
+++ acinclude.m4        2008-09-25 03:27:51.000000000 -0500
@@ -99,6 +99,8 @@
     if test "$ac_cv_prog_DOCBOOK_TO_TEXI" = yes; then
       if sgml2xml -v /dev/null 2>&1 | grep 'SP version' >/dev/null 2>&1 ; then
             working_sgmltotexi=yes
+      elif sgml2xml -v /dev/null 2>&1 | grep 'OpenSP\" version' >/dev/null 2>&1
; then
+            working_sgmltotexi=yes
       fi
     fi
     AC_MSG_RESULT($working_sgmltotexi)

Sorry about the elif line wrapping

The same test fails on Cygwin, but that's an issue with their build of OpenSP.

Best,

John
-- 
John P. Clizbe                      Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:pgp-public-keys at gingerbear.net?subject=HELP

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 679 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20080925/9de2d6ee/attachment.pgp>


More information about the Gnupg-devel mailing list