[1.5.8 and Cygwin] Build problem related to HAVE_CONFIG_H
Hi folks,
I just tried building mutt 1.5.8 under Cygwin and came across the
following buglet. It seems that the -DHAVE_CONFIG_H is not passed
to the makedoc rule in the Makefile (see below). If I compile this
step manually, then the make proceeds without incident to the end.
Cheers!
rudy
----- Build log -----
make[3]: Entering directory `/cygdrive/c/rudy/src/mutt-1.5.8'
gcc -Wall -pedantic -g -O2 -I/usr/include/ncurses -I./intl -I/usr/local/include
makedoc.c -o makedoc <============== there should be a -DHAVE_CONFIG_H=1
entry on this line
makedoc.c:52: error: conflicting types for `sys_errlist'
/usr/include/sys/errno.h:23: error: previous declaration of `sys_errlist'
makedoc.c: In function `main':
makedoc.c:121: warning: implicit declaration of function `getopt'
make[3]: *** [makedoc] Error 1