summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar m0gg2006-03-07 11:29:16 +0000
committerGravatar m0gg2006-03-07 11:29:16 +0000
commit546e58b83a8a9b6048a076010f72d4b3fd344206 (patch)
treedb26cd0dc4f1291645f30383815353f849232a77
parent77c386469dacd95ef8fa943eb4164ba13f1b6c07 (diff)
downloadcsoap-546e58b83a8a9b6048a076010f72d4b3fd344206.tar.gz
csoap-546e58b83a8a9b6048a076010f72d4b3fd344206.tar.bz2
Fixed broken release number (X.Y.Z -> X.Y)
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 95f26ad..850942a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,13 +13,13 @@ AC_CONFIG_SRCDIR([nanohttp/nanohttp-server.c])
AC_CONFIG_SRCDIR([libcsoap/soap-server.c])
AM_INIT_AUTOMAKE
-csoap_release=AC_PACKAGE_VERSION
+csoap_release=`echo $VERSION | awk -F. '{print $1"."$2}'`
AC_SUBST(csoap_release)
AC_SUBST(csoap_version)
csoap_version_dotted=`echo $csoap_version | sed 's/:/./g'`
AC_SUBST(csoap_version_dotted)
-nanohttp_release=AC_PACKAGE_VERSION
+nanohttp_release=$csoap_release
AC_SUBST(nanohttp_release)
AC_SUBST(nanohttp_version)
@@ -27,6 +27,7 @@ AM_CONFIG_HEADER(config.h)
AC_LANG_C
AC_PROG_CC
+AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_HEADER_STDC