Permalink
Browse files

* configure.in: adapt the extra version detection code to git

Daniel
  • Loading branch information...
veillard committed May 12, 2009
1 parent 2c8c772 commit 97c7be6a94bbd9de2ee97a8d8de5b0f90369bb07
Showing with 12 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +8 −0 configure.in
View
@@ -1,3 +1,7 @@
Tue May 12 08:42:52 CEST 2009 Daniel Veillard <daniel@veillard.com>
* configure.in: adapt the extra version detection code to git
Wed Apr 29 16:09:38 CEST 2009 Rob Richards <rrichards@cdatazone.org> Wed Apr 29 16:09:38 CEST 2009 Rob Richards <rrichards@cdatazone.org>
* parser.c: do not set error code in xmlNsWarn * parser.c: do not set error code in xmlNsWarn
View
@@ -26,6 +26,14 @@ else if test -d .svn ; then
then then
LIBXML_VERSION_EXTRA="-SVN$extra" LIBXML_VERSION_EXTRA="-SVN$extra"
fi fi
else if test -d .git ; then
extra=`git describe | sed 's+LIBXML[[0-9.]]*-++'`
echo extra=$extra
if test "$extra" != ""
then
LIBXML_VERSION_EXTRA="-GIT$extra"
fi
fi
fi fi
fi fi
AC_SUBST(LIBXML_MAJOR_VERSION) AC_SUBST(LIBXML_MAJOR_VERSION)

0 comments on commit 97c7be6

Please sign in to comment.