Commit 11db75ca authored by olivier.salaun's avatar olivier.salaun
Browse files

[change][G.Rousse, INRIA][patch...

[change][G.Rousse, INRIA][patch sympa-trunk-3-correct-autoconf-prolog-and-epilog.patch] Use the standard autoconf method to declare the software version, instead of using the .version file


git-svn-id: https://subversion.renater.fr/sympa/trunk@4950 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 6e25fc5a
......@@ -19,19 +19,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
AC_INIT(check_perl_modules.pl)
PACKAGE=sympa
VERSION=`cat ${srcdir}/.version`
MAJOR_VERSION=[`expr $VERSION : '\([0-9][0-9]*\)'`]
AC_SUBST(MAJOR_VERSION)
MINOR_VERSION=[`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`]
AC_SUBST(MINOR_VERSION)
MICRO_VERSION=[`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`]
AC_SUBST(MICRO_VERSION)
AC_CANONICAL_SYSTEM
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([sympa], $VERSION, nosubst)
AC_PREREQ(2.13)
AC_PREREQ(2.59)
AC_INIT(sympa, 5.4b.1, sympa-authors@cru.fr)
AM_INIT_AUTOMAKE
AC_PREFIX_DEFAULT(/home/sympa)
......@@ -198,7 +188,5 @@ AC_SUBST(POSTMAP_ARG)
dnl Initialize maintainer mode
AM_MAINTAINER_MODE
AC_OUTPUT(Makefile)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment