diff options
-rw-r--r-- | configure.in | 39 |
1 files changed, 10 insertions, 29 deletions
diff --git a/configure.in b/configure.in index 21e7564..459a775 100644 --- a/configure.in +++ b/configure.in @@ -13,9 +13,17 @@ dnl dnl $Id$ #----------------------------------------------------------------------- +# Define MAJOR_VERSION, MINOR_VERSION and PATCHLEVEL, they are +# useful to built version strings without dots (windows). +#----------------------------------------------------------------------- +MAJOR_VERSION=3 +MINOR_VERSION=3 +PATCHLEVEL=4 + +#----------------------------------------------------------------------- # Check the source path of the package #----------------------------------------------------------------------- -AC_INIT([Tkzinc], [3.3.4]) +AC_INIT([Tkzinc], [MAJOR_VERSION.MINOR_VERSION.PATCHLEVEL]) #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. @@ -33,36 +41,9 @@ AC_CONFIG_AUX_DIR(tclconfig) CONFIGDIR=${srcdir}/tclconfig AC_SUBST(CONFIGDIR) -#----------------------------------------------------------------------- -# Define the PACKAGE variable -#-------------------------------------------------------------------- -PACKAGE=Tkzinc - -#----------------------------------------------------------------------- -# Define the VERSION variable -# -# VERSION is constructed from MAJOR_VERSION, MINOR_VERSION and -# PATCHLEVEL. The windows variant does not containt a dot. -#----------------------------------------------------------------------- -MAJOR_VERSION=3 -MINOR_VERSION=3 -PATCHLEVEL=4 - -VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCHLEVEL} - AC_SUBST(MAJOR_VERSION) AC_SUBST(MINOR_VERSION) AC_SUBST(PATCHLEVEL) -AC_SUBST(VERSION) -AC_SUBST(PACKAGE) -AC_SUBST(Tkzinc_LIB_FILE) -AC_SUBST(Tkzincstub_LIB_FILE) - -#-------------------------------------------------------------------- -# This define a preprocessor macro -DVERSION=xxxxx to include -# the package version in the sources. -#-------------------------------------------------------------------- -eval AC_DEFINE_UNQUOTED(VERSION, "${VERSION}") #-------------------------------------------------------------------- # Load the tclConfig.sh file @@ -246,4 +227,4 @@ ZINC_ENABLE_ATC AC_SUBST(TCL_INCLUDE_SPEC) AC_SUBST(TK_INCLUDE_SPEC) -AC_OUTPUT([Makefile starkit.tcl Python/library/Zinc.py]) +AC_OUTPUT([Makefile starkit.tcl]) |