added some code to include the CVS ChangeLog version in the version

* configure.in libxslt/xsltconfig.h.in libxslt/xslt.c
  libxslt/xsltwin32config.* libexslt/exsltconfig.h.in
  libexslt/exslt.c: added some code to include the CVS
  ChangeLog version in the version strings available for
  printing (e.g. by xsltproc)
This commit is contained in:
William M. Brack 2004-08-18 21:27:08 +00:00
parent 0a78ff02f0
commit 42e56fe78f
8 changed files with 49 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Wed Aug 18 14:27:18 PDT 2004 William Brack <wbrack@mmm.com.hk>
* configure.in libxslt/xsltconfig.h.in libxslt/xslt.c
libxslt/xsltwin32config.* libexslt/exsltconfig.h.in
libexslt/exslt.c: added some code to include the CVS
ChangeLog version in the version strings available for
printing (e.g. by xsltproc)
Wed Aug 18 00:22:00 CEST 2004 Daniel Veillard <daniel@veillard.com>
* xsltproc/xsltproc.c: implemented --nodtdattr to avoid defaulting

View File

@ -23,12 +23,17 @@ LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIB
LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VERSION \* 100 + $LIBXSLT_MICRO_VERSION`
if test -f CVS/Entries; then
LIBXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
fi
AC_SUBST(LIBXSLT_MAJOR_VERSION)
AC_SUBST(LIBXSLT_MINOR_VERSION)
AC_SUBST(LIBXSLT_MICRO_VERSION)
AC_SUBST(LIBXSLT_VERSION)
AC_SUBST(LIBXSLT_VERSION_INFO)
AC_SUBST(LIBXSLT_VERSION_NUMBER)
AC_SUBST(LIBXSLT_VERSION_EXTRA)
dnl
dnl libexslt is an extension library
@ -39,12 +44,17 @@ LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$
LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR_VERSION \* 100 + $LIBEXSLT_MICRO_VERSION`
if test -f CVS/Entries; then
LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
fi
AC_SUBST(LIBEXSLT_MAJOR_VERSION)
AC_SUBST(LIBEXSLT_MINOR_VERSION)
AC_SUBST(LIBEXSLT_MICRO_VERSION)
AC_SUBST(LIBEXSLT_VERSION)
AC_SUBST(LIBEXSLT_VERSION_INFO)
AC_SUBST(LIBEXSLT_VERSION_NUMBER)
AC_SUBST(LIBEXSLT_VERSION_EXTRA)
VERSION=${LIBXSLT_VERSION}

View File

@ -19,7 +19,8 @@
#include "exsltconfig.h"
#include "exslt.h"
const char *exsltLibraryVersion = LIBEXSLT_VERSION_STRING;
const char *exsltLibraryVersion = LIBEXSLT_VERSION_STRING
LIBEXSLT_VERSION_EXTRA;
const int exsltLibexsltVersion = LIBEXSLT_VERSION;
const int exsltLibxsltVersion = LIBXSLT_VERSION;
const int exsltLibxmlVersion = LIBXML_VERSION;

View File

@ -34,6 +34,13 @@ extern "C" {
*/
#define LIBEXSLT_VERSION_STRING "@LIBEXSLT_VERSION_NUMBER@"
/**
* LIBEXSLT_VERSION_EXTRA:
*
* extra version information, used to show a CVS compilation
*/
#define LIBEXSLT_VERSION_EXTRA "@LIBEXSLT_VERSION_EXTRA@"
/**
* WITH_CRYPTO:
*

View File

@ -47,7 +47,7 @@
/* #define WITH_XSLT_DEBUG_BLANKS */
#endif
const char *xsltEngineVersion = LIBXSLT_VERSION_STRING;
const char *xsltEngineVersion = LIBXSLT_VERSION_STRING LIBXSLT_VERSION_EXTRA;
const int xsltLibxsltVersion = LIBXSLT_VERSION;
const int xsltLibxmlVersion = LIBXML_VERSION;

View File

@ -36,6 +36,13 @@ extern "C" {
*/
#define LIBXSLT_VERSION_STRING "@LIBXSLT_VERSION_NUMBER@"
/**
* LIBXSLT_VERSION_EXTRA:
*
* extra version information, used to show a CVS compilation
*/
#define LIBXSLT_VERSION_EXTRA "@LIBXSLT_VERSION_EXTRA@"
/**
* WITH_XSLT_DEBUG:
*

View File

@ -39,6 +39,13 @@ extern "C" {
*/
#define LIBXSLT_VERSION_STRING "10108"
/**
* LIBXSLT_VERSION_EXTRA
*
* extra version information, used to show a CVS compilation
*/
#define LIBXML_VERSION_EXTRA "-CVS931"
/**
* WITH_XSLT_DEBUG:
*

View File

@ -39,6 +39,13 @@ extern "C" {
*/
#define LIBXSLT_VERSION_STRING "@LIBXSLT_VERSION_NUMBER@"
/**
* LIBXSLT_VERSION_EXTRA
*
* extra version information, used to show a CVS compilation
*/
#define LIBXML_VERSION_EXTRA "@LIBXSLT_VERSION_EXTRA@"
/**
* WITH_XSLT_DEBUG:
*