From f740634a3b5bd6faedde396af5874d4c4d5cb908 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 6 Mar 2008 01:16:07 +0000 Subject: [PATCH] Add a convenience to help me build distfiles. Originally committed to SVN as r1912. --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.in b/configure.in index d864853dc..d373cbbb7 100644 --- a/configure.in +++ b/configure.in @@ -74,6 +74,13 @@ else AC_MSG_RESULT([no]) fi +AC_ARG_ENABLE(build-dist) +if test "$enable_build_dist" = "yes"; then + SVN_VERSION=`svnversion .` + PACKAGE_STRING="${PACKAGE_STRING}-r$SVN_VERSION" + PACKAGE_VERSION="${PACKAGE_VERSION}-r$SVN_VERSION" + VERSION="${VERSION}-r$SVN_VERSION" +fi ###################################################