From 7b58a72bfc0cc3ec25d985e0c5fce9c7b98f7df2 Mon Sep 17 00:00:00 2001 From: enge Date: Wed, 31 Aug 2011 09:48:16 +0000 Subject: configure.ac, mpc.m4, Makefile.am: do not use svn version for autoconf, but in development versions, export it to the makefile to be used for the distribution name git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1049 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5560da3..bb32fac 100644 --- a/configure.ac +++ b/configure.ac @@ -22,8 +22,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -define([svnversion], esyscmd([svnversion -n])) -AC_INIT(mpc, 1.0.0-dev-svnversion, mpc-discuss@lists.gforge.inria.fr) +AC_INIT(mpc, 1.0.0-dev, mpc-discuss@lists.gforge.inria.fr) AC_CONFIG_SRCDIR([src/mpc-impl.h]) AC_CONFIG_HEADER([config.h]) @@ -218,13 +217,14 @@ case $host in MPC_WINDOWS esac - - # Checks for gcc version, result in GCC_VERSION inside config.log, for instance AX_GCC_VERSION AC_DEFINE_UNQUOTED([MPC_GCC], ["$GCC"], [Gcc yes or no]) AC_DEFINE_UNQUOTED([MPC_CC], ["$CC"], [C compiler]) AC_DEFINE_UNQUOTED([MPC_GCC_VERSION], ["$GCC_VERSION"], [Version of gcc]) +# Looks for svn version if the version string contains "dev" +MPC_SVNVERSION + AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile]) AC_OUTPUT -- cgit v1.2.1