-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
How about if we generate version.h with configure, since the version number is given in configure.in, which then defines PACKAGE_VERSION and also does an AC_SUBST for each component of the Lib3DS version number anyway. Just rename version.h to version.h.in, add it to configure's output file list, and use @LIB3DS_MAJOR_VERSION@, @LIB3DS_MINOR_VERSION@, @LIB3DS_MICRO_VERSION@ for the version numbers. (We could rename MICRO to RELEASE if you want.) Reed Gernot Ziegler wrote: > Update of /cvsroot/lib3ds/lib3ds/lib3ds > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27149a/lib3ds > > Modified Files: > Makefile.am > Added Files: > version.h > Log Message: > committing Andreas Beckermann's change to introduce version.h > > Index: Makefile.am > =================================================================== > RCS file: /cvsroot/lib3ds/lib3ds/lib3ds/Makefile.am,v > retrieving revision 1.11 > retrieving revision 1.12 > diff -C2 -d -r1.11 -r1.12 > *** Makefile.am 14 Jan 2002 12:27:45 -0000 1.11 > --- Makefile.am 16 Apr 2006 13:25:15 -0000 1.12 > *************** > *** 69,73 **** > light.h \ > tracks.h \ > ! node.h > > EXTRA_DIST = \ > --- 69,74 ---- > light.h \ > tracks.h \ > ! node.h \ > ! version.h > > EXTRA_DIST = \ > > --- NEW FILE: version.h --- > /* -*- c -*- */ > #ifndef INCLUDED_LIB3DS_VERSION_H > #define INCLUDED_LIB3DS_VERSION_H > /* > * The 3D Studio File Format Library > * Copyright (C) 1996-2001 by J.E. Hoffmann <[EMAIL PROTECTED]> > * All rights reserved. > * > * This program is free software; you can redistribute it and/or modify it > * under the terms of the GNU Lesser General Public License as published by > * the Free Software Foundation; either version 2.1 of the License, or (at > * your option) any later version. > * > * This program is distributed in the hope that it will be useful, but > * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY > * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public > > * License for more details. > * > * You should have received a copy of the GNU Lesser General Public License > * along with this program; if not, write to the Free Software Foundation, > * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > */ > > > #define LIB3DS_VERSION_STRING "1.3.0" > #define LIB3DS_VERSION_MAJOR 1 > #define LIB3DS_VERSION_MINOR 3 > #define LIB3DS_VERSION_RELEASE 0 > #define LIB3DS_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c)) > > #define LIB3DS_VERSION \ > > LIB3DS_MAKE_VERSION(LIB3DS_VERSION_MAJOR,LIB3DS_VERSION_MINOR,LIB3DS_VERSION_RELEASE) > > #define LIB3DS_IS_VERSION(a,b,c) ( LIB3DS_VERSION >= > LIB3DS_MAKE_VERSION(a,b,c) ) > > #endif > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEYzB3FK83gN8ItOQRAnSqAJ43GVaVHlkaQ889JCw5K9CFHMf12gCfRiZn RngSAO2IVeN0qejjNAn+DOQ= =P6cT -----END PGP SIGNATURE----- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ lib3ds-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
