"Curtis L. Olson" wrote:
> 
> Ugh, that's ugly.  The configure script takes care of this
> automatically with unix/cygwin.  Could something be done with the
> am2dsp.pl script?

Tricky!  The am2dsp.pl script doesn't touch config.h.in.  However I
could get the AM_INIT_AUTOMAKE version string from configure.in
("0.7.10pre1" or whatever), concatenate it with "MSVC6-WIN32-" and then
pass it on the compiler command line, -DFLIGHTGEAR_VERSION=...  Let me
investigate further before I decide on a solution.

Bernie

> Jonathan Polley writes:
> > The 0.7.10 version of config.h-msvc6 reports itself as
> >
> > #define FLIGHTGEAR_VERSION "MSVC6-WIN32-0.7.9"
> >
> > Which gets printed on startup.  It also exports the following version
> > constant.
> >
> > #define VERSION "0.57"
> >
> >
> >
> > Jonathan Polley
>

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to