Re: VERSION and PACKAGE



On Friday, February 04, 2000, Loban Rahman <loban@enigma.caltech.edu> wrote:
> > In some of the packages, like gnome-vfs and gtkhtml, in some of their files
> > there is a reference to "VERSION" and "PACKAGE".  I can't find anywhere
> > where they are defined.  Please help.  Where are they supposed to be
> > defined.  Just tell me where to go, and I can figure out the rest.  Am I
> > doing something wrong, or are the authors?  Thanks!
> 
> PACKAGE and VERSION are defined in the config.h file, which is automatically
> generated by the configure script, which is in turn automatically generated
> by autoconf and automake.

If you want to see the original definition, look at the AM_INIT_AUTOMAKE
line in the configure.in file of each project.  For example, the entry
for gnome-libs is

 AM_INIT_AUTOMAKE(gnome-libs, 1.0.52)

PACKAGE is set to "gnome-libs" and VERSION is set to "1.0.52".

John

-- 
dusk@ravendusk.org                                http://www.gnome.org
jsheets@codeweavers.com                      http://www.worldforge.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]