Release: 1.2.2
Environment
AlphaServer ES40, Compaq C V6.1-123 on Digital UNIX V4.0G (Rev. 1530)
Description
Stupid Compaq C compiler does not recognize preprocessor conditional directives (e.g. #if ...) where hash mark does not appear in column 1. Consequently configure generates not-quite-correct config.h and also many modules fail to compile with illegal syntax, conflicting type definitions, etc.
How To Repeat
Perform a standard build of gnupg-1.2.2 under Tru64 V4.0G using the Compaq C compiler. Note this problem does *NOT* occur with Tru64 V5.1A (using Compaq C V6.4-014).
Fix
In rough metacode, I performed the following:
for each file in source tree named configure or *.h or *.c:
cp -p $1 $1.orig
sed 's/^[ ]#/#' < $1.orig > $1
(note the square brackets enclose a space followed by a tab)
After this, I was able to execute configure and make to get a working executable.