summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-06-07 00:52:17 (GMT)
committerAlexey Neyman <stilor@att.net>2018-06-07 00:52:17 (GMT)
commitd14adeb1d96f784d2f2784ef4a7d03e2d3fe7e1e (patch)
treea7a4da6f4c3d6e0d3ac6ce977ea5e3bf76544f54 /configure.ac
parent21489af99a997118997e9cdb2356e06832d2c9f0 (diff)
Use git-version-gen to generate version info
Suggested-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 14a30b4..4e14db2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,11 +3,9 @@
AC_PREREQ([2.67])
-# FIXME Temporary hack until the next release (we'll switch to plain numeric tags then)
-# FIXME need to quote sed expression
AC_INIT(
[crosstool-NG],
- [m4_esyscmd_s([git describe --always --dirty | sed s,^crosstool-ng-,,])],
+ [m4_esyscmd_s([maintainer/git-version-gen --prefix crosstool-ng- .tarball-version])],
[crossgcc@sourceware.org],
[crosstool-ng],
[http://crosstool-ng.org])
@@ -300,12 +298,6 @@ AM_CONDITIONAL([INSTALL_USER_MANUAL], [test ! -f "${srcdir}/docs/MANUAL_ONLINE"]
AC_MSG_CHECKING([if the manual needs to be installed])
AM_COND_IF([INSTALL_USER_MANUAL], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
-# FIXME Retire? We don't want to debug a version that has been mislabeled by a user
-# Decorate the version string per user-supplied version.sh, if any
-AS_IF(
- [test -f version.sh -a -x version.sh],
- [PACKAGE_VERSION=$(./version.sh "${PACKAGE_VERSION}")])
-
AC_CONFIG_FILES([
Makefile
paths.sh