summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-11-25 15:33:30 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-11-25 15:33:30 (GMT)
commit4290edae65911224e7a3e5f3482dea16e16c6f2e (patch)
treeae3916999ca24ec6f59b32e6cb89ad23f285dc11
parentc406fbab8e5a34a8d4e2f7b3a98d1c59e072e4db (diff)
downloadpatchelf-4290edae65911224e7a3e5f3482dea16e16c6f2e.zip
patchelf-4290edae65911224e7a3e5f3482dea16e16c6f2e.tar.gz
patchelf-4290edae65911224e7a3e5f3482dea16e16c6f2e.tar.bz2
* Let the release expression supply a version suffix.
-rwxr-xr-xbootstrap.sh2
-rw-r--r--configure.ac15
2 files changed, 2 insertions, 15 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index c7a72e5..3302c9f 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -2,4 +2,4 @@
aclocal
#autoheader
automake --add-missing --copy --foreign
-autoconf
+autoconf --force
diff --git a/configure.ac b/configure.ac
index b148ac3..9987fd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,20 +1,7 @@
-AC_INIT(patchelf, "0.5")
+AC_INIT(patchelf, m4_esyscmd([echo -n 0.5$VERSION_SUFFIX]))
AC_CONFIG_SRCDIR(Makefile.am)
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
-# Change to `1' to produce a `stable' release (i.e., the `preREVISION'
-# suffix is not added).
-STABLE=0
-
-# Put the revision number in the version.
-if test "$STABLE" != "1"; then
- if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
- VERSION="${VERSION}pre${REVISION}"
- elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
- VERSION="${VERSION}pre${REVISION}"
- fi
-fi
-
AC_PROG_CC
AC_PROG_CXX