Is it possible to change the VERSION #define to something different?
The reason I need to do this is because VERSION is already used as a
typedef in the software package, WINE.  The Win32 API declares it, so
there's not much I can do to avoid it.

Hmmm, come to think of it, I may only need to change VERSION in the
AC_DEFINE_UNQUOTED macro in AM_INIT_AUTOMAKE:

-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
+AC_DEFINE_UNQUOTED(PKGVERSION, "$VERSION", [Version number of package]))

Any problems with doing this?  I really don't like the idea of
duplicating AM_INIT_AUTOMAKE, but I don't see a better way.  (Obviously
I would rename the macro to something like WINE_INIT_AUTOMAKE.)

Thanks,
John

-- 
[EMAIL PROTECTED]                                http://www.gnome.org
[EMAIL PROTECTED]                      http://www.worldforge.org

Reply via email to