diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-08-31 09:48:16 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-08-31 09:48:16 +0000 |
commit | 7b58a72bfc0cc3ec25d985e0c5fce9c7b98f7df2 (patch) | |
tree | 59fe55fded403b5268cfad504f22425281fd0e3d /configure.ac | |
parent | 2e0f2f691aa2a8f5aab07e219c73f0a62d22ff55 (diff) | |
download | mpc-7b58a72bfc0cc3ec25d985e0c5fce9c7b98f7df2.tar.gz |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
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 |