From d14adeb1d96f784d2f2784ef4a7d03e2d3fe7e1e Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 6 Jun 2018 17:52:17 -0700 Subject: Use git-version-gen to generate version info Suggested-by: Chris Packham Signed-off-by: Alexey Neyman --- configure.ac | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 14a30b4d..4e14db23 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 -- cgit v1.2.3