Bernie Bright wrote:
> 
> "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.
> 

Further investigation reveals that FLIGHTGEAR_VERSION is defined in
src/Include/version.h.  If we just want the version without the
MSVC6-WIN32- prefix then we can just delete the relevant line from
config.h-msvc6.  Otherwise I can trivially modify am2dsp as above.

Bernie

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

Reply via email to