mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-09 17:57:24 +03:00
added some code to include the CVS ChangeLog version in the
* configure.in globals.c include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: added some code to include the CVS ChangeLog version in the xmlParserVersion string (printed by xmllint with --version)
This commit is contained in:
parent
3cef119005
commit
f4025492f5
@ -1,3 +1,10 @@
|
||||
Wed Aug 18 14:04:31 PDT 2004 William Brack <wbrack@mmm.com.hk>
|
||||
|
||||
* configure.in globals.c include/libxml/xmlversion.h.in
|
||||
include/libxml/xmlwin32version.h.in: added some code to
|
||||
include the CVS ChangeLog version in the xmlParserVersion
|
||||
string (printed by xmllint with --version)
|
||||
|
||||
Wed Aug 18 11:14:06 CEST 2004 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlschemas.c include/libxml/xmlschemas.h python/generator.py
|
||||
|
@ -12,12 +12,16 @@ LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML
|
||||
|
||||
LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
|
||||
|
||||
if test -f CVS/Entries; then
|
||||
LIBXML_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
|
||||
fi
|
||||
AC_SUBST(LIBXML_MAJOR_VERSION)
|
||||
AC_SUBST(LIBXML_MINOR_VERSION)
|
||||
AC_SUBST(LIBXML_MICRO_VERSION)
|
||||
AC_SUBST(LIBXML_VERSION)
|
||||
AC_SUBST(LIBXML_VERSION_INFO)
|
||||
AC_SUBST(LIBXML_VERSION_NUMBER)
|
||||
AC_SUBST(LIBXML_VERSION_EXTRA)
|
||||
|
||||
VERSION=${LIBXML_VERSION}
|
||||
|
||||
|
@ -176,7 +176,7 @@ xmlStrdupFunc xmlMemStrdup = (xmlStrdupFunc) xmlStrdup;
|
||||
*
|
||||
* Constant string describing the internal version of the library
|
||||
*/
|
||||
const char *xmlParserVersion = LIBXML_VERSION_STRING;
|
||||
const char *xmlParserVersion = LIBXML_VERSION_STRING LIBXML_VERSION_EXTRA;
|
||||
|
||||
/**
|
||||
* xmlBufferAllocScheme:
|
||||
|
@ -45,6 +45,13 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
||||
*/
|
||||
#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
|
||||
|
||||
/**
|
||||
* LIBXML_VERSION_EXTRA:
|
||||
*
|
||||
* extra version information, used to show a CVS compilation
|
||||
*/
|
||||
#define LIBXML_VERSION_EXTRA "@LIBXML_VERSION_EXTRA@"
|
||||
|
||||
/**
|
||||
* LIBXML_TEST_VERSION:
|
||||
*
|
||||
|
@ -44,6 +44,13 @@ extern void xmlCheckVersion(int version);
|
||||
*/
|
||||
#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
|
||||
|
||||
/**
|
||||
* LIBXML_VERSION_EXTRA:
|
||||
*
|
||||
* extra version information, used to show a CVS compilation
|
||||
*/
|
||||
#define LIBXML_VERSION_EXTRA "@LIBXML_VERSION_EXTRA@"
|
||||
|
||||
/**
|
||||
* LIBXML_TEST_VERSION:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user