|
From: Tatsuro M. <tma...@ya...> - 2016-02-04 07:52:39
|
----- Original Message ----- > From: Tatsuro MATSUOKA > To: Jun T. ; gnuplot-beta > Cc: > Date: 2016/2/3, Wed 16:46 > Subject: Re: cannot compile doc2html.c on current cvs (2016-01-31) on MinGW > > ----- Original Message ----- > >> From: Jun T. >> To: "gnu...@li..." >> Cc: Tatsuro MATSUOKA >> Date: 2016/2/3, Wed 16:08 >> Subject: Re: cannot compile doc2html.c on current cvs (2016-01-31) on MinGW >> >> >> On 2016/02/03, at 13:24, Tatsuro MATSUOKA <tma...@ya...> > wrote: >>> I have tried to build the recent cvs tree using MinGW. >>> (snip) >>> ../../docs/windows/doc2html.c:171:72: error: 'VERSION_MAJOR' >> undeclared (first use in this function) >> >> Sorry, I haven't realized that there are systems on which configure >> is not used for generating config.h (and Makefiles). >> >>> I have made a patch to config/config.mgw. >> >> Yes, it should work, but you need to update config.mgw every time >> the PATCHLEVEL (or VERSION) changes. >> >> I can't test on MinGW now, but if the patch attached below works then >> it would be somewhat better. > > > It works perfectly! > Thanks for your excellent solution. > > I hope that this patch will be applied in the cvs source. > I confirmed the patch was applied to cvs tree and the corrected makefile worked. Thanks! Tatsuro |