Patch to GnuPG 1.1.2

Mark Pettit pettit at yahoo-inc.com
Fri Apr 12 06:17:02 CEST 2002


Hello.

When running configure on a Solaris 2.7 system, which does not have
GNU head installed, I get the following error:

[...]
checking for jade... no
checking for jadetex... no
checking for TeX stylesheet... none
configure: error: needed ../scripts/db2html.in not found

This is because the "db2html.in" script runs "head -c1", and Solaris
head doesn't support the "-c" option.  The following patch fixes this:

31c31
< while test "`echo $1 | head -c1`" = "-"; do
---
> while test `expr "$1" : "-.*"` -gt 0; do

I tested this patch on another system with GNU expr installed; it
works in both places.

-- 
Mark K. Pettit          "Ragged lines of ragged grey
pettit at yahoo-inc.com     Skeletons they shuffle away"
Technical Yahoo
Yahoo!, Inc., 701 First Avenue, Sunnyvale, CA 94089




More information about the Gnupg-devel mailing list