Browse Source

Try to fix server.tag issue with localized svnversion

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2595 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.24
Stefan Bühler 13 years ago
parent
commit
f712888913
  1. 1
      NEWS
  2. 6
      src/Makefile.am

1
NEWS

@ -26,6 +26,7 @@ NEWS
* Allow all comparisons for $SERVER["socket"] - only bind for "=="
* Remove strptime failed message (fixes #2031)
* Fix issues found with clang analyzer
* Try to fix server.tag issue with localized svnversion
- 1.4.23 - 2009-06-19
* Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)

6
src/Makefile.am

@ -13,14 +13,14 @@ lighttpd_angel_SOURCES=lighttpd-angel.c
versionstamp:
@test -f versionstamp.h || touch versionstamp.h; \
REVISION=""; \
if test -x "`which svnversion`"; then \
REVISION="$$(LANG=C svnversion "$(top_srcdir)" 2>/dev/null || echo exported)"; \
if test -d "$(top_srcdir)/.svn" -a -x "`which svnversion`"; then \
REVISION="$$(LANG= LC_ALL=C svnversion "$(top_srcdir)" 2>/dev/null || echo exported)"; \
if test "$$REVISION" = "exported"; then \
REVISION=""; \
fi; \
fi; \
if test -z "$$REVISION" -a -x "`which git`"; then \
REVISION="$$(cd "$(top_srcdir)"; LANG=C git describe --always 2>/dev/null || echo)"; \
REVISION="$$(cd "$(top_srcdir)"; LANG= LC_ALL=C git describe --always 2>/dev/null || echo)"; \
fi; \
if test -n "$$REVISION"; then \
echo "#define REPO_VERSION \"-devel-$$REVISION\"" > versionstamp.h.tmp; \

Loading…
Cancel
Save