diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-30 18:03:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-30 18:03:51 +0000 |
commit | a6d47514f633deb1b0035af83fd454ea0b642bb8 (patch) | |
tree | f88bc0d1d7edc5590057b54240cda96bd7e8915f /configure.in | |
parent | 206f35d175d7395d2cdabc060ab1b274fe9018d3 (diff) | |
download | fetchmail-a6d47514f633deb1b0035af83fd454ea0b642bb8.tar.gz fetchmail-a6d47514f633deb1b0035af83fd454ea0b642bb8.tar.bz2 fetchmail-a6d47514f633deb1b0035af83fd454ea0b642bb8.zip |
Change in version computation.
svn path=/trunk/; revision=2241
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/configure.in b/configure.in index 8d7427de..e29000e2 100644 --- a/configure.in +++ b/configure.in @@ -35,6 +35,14 @@ AC_SUBST(LDEFLAGS) AC_SUBST(LIBOBJS) AC_SUBST(POMAKE) +pkg=`sed -n '/PACKAGE *= *\(.*\)/s//\1/p' <Makefile.in` +AC_DEFINE_UNQUOTED(PACKAGE, "$pkg") +AC_SUBST(PACKAGE) + +vers=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile.in` +AC_DEFINE_UNQUOTED(VERSION, "$vers") +AC_SUBST(VERSION) + # Check for LynxOS special case: -lbsd needed (at least on 2.3.0) and -s # not working. if test `uname` = "LynxOS" @@ -53,13 +61,6 @@ fi # Arnaldo Carvalho de Melo <acme@conectiva.com.br> # Sat Nov 7 15:39:03 EDT 1998 -PACKAGE=fetchmail -VERSION=4.6.7 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") -AC_DEFINE_UNQUOTED(VERSION, "$VERSION") -AC_SUBST(PACKAGE) -AC_SUBST(VERSION) - ALL_LINGUAS="pt_BR" AM_GNU_GETTEXT |