Permalink
Browse files

Attempt to make configure yield proper svn version number.

git-svn-id: https://svn.kannel.org/opensmppbox/trunk@21 0b225a68-5fa7-45c5-9c9e-d7f6881f360f
  • Loading branch information...
1 parent def6589 commit 9beaf68d38533caeeae3e22813214c4dd2a1c728 rkluwen committed Jul 10, 2010
Showing with 176 additions and 86 deletions.
  1. +1 −0 Makefile.in
  2. +14 −0 acinclude.m4
  3. +79 −72 configure
  4. +73 −12 configure.in
  5. +1 −1 doc/userguide.xml
  6. +1 −0 gw/Makefile.in
  7. +7 −1 sb-config.h.in
View
@@ -111,6 +111,7 @@ F77 = @F77@
FFLAGS = @FFLAGS@
FIG2DEV = @FIG2DEV@
GW_CONFIG = @GW_CONFIG@
+GW_VERSION = @GW_VERSION@
HTML_DSL = @HTML_DSL@
INCLUDES = @INCLUDES@
INSTALL_DATA = @INSTALL_DATA@
View
@@ -28,3 +28,17 @@ AC_DEFUN([AC_CONFIG_SECTION],
echo "${nl}${T_MD}$1 ...${T_ME}"
])
+dnl Check which SVN revision is and apply
+dnl the value to the given variable
+
+AC_DEFUN([AC_SVN_REVISION],
+[
+ if test -d ".svn"
+ then
+ revision=`svnversion .`
+ test -z "$revision" && revision="unknown"
+ $1="$revision"
+ fi
+])
+
+
Oops, something went wrong.

0 comments on commit 9beaf68

Please sign in to comment.