mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Configure gnucash version numbers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5336 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d4e08fe2e5
commit
8061492f76
@ -29,6 +29,10 @@
|
||||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
|
||||
#undef GNUCASH_MAJOR_VERSION
|
||||
#undef GNUCASH_MINOR_VERSION
|
||||
#undef GNUCASH_MICRO_VERSION
|
||||
|
||||
/* Are we compiling for GNOME? The answer right now is always yes... */
|
||||
#undef GNOME
|
||||
|
||||
|
16
configure.in
16
configure.in
@ -24,9 +24,23 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
### commands depend on them):
|
||||
|
||||
AC_INIT(src/guile/gnucash.h)
|
||||
AM_INIT_AUTOMAKE(gnucash,1.7.0)
|
||||
|
||||
GNUCASH_MAJOR_VERSION=1
|
||||
GNUCASH_MINOR_VERSION=7
|
||||
GNUCASH_MICRO_VERSION=0
|
||||
GNUCASH_VERSION=$GNUCASH_MAJOR_VERSION.$GNUCASH_MINOR_VERSION.$GNUCASH_MICRO_VERSION
|
||||
|
||||
AC_SUBST(GNUCASH_MAJOR_VERSION)
|
||||
AC_SUBST(GNUCASH_MINOR_VERSION)
|
||||
AC_SUBST(GNUCASH_MICRO_VERSION)
|
||||
|
||||
AM_INIT_AUTOMAKE(gnucash,$GNUCASH_VERSION)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_MAJOR_VERSION, $GNUCASH_MAJOR_VERSION)
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_MINOR_VERSION, $GNUCASH_MINOR_VERSION)
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_MICRO_VERSION, $GNUCASH_MICRO_VERSION)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
AM_MAINTAINER_MODE
|
||||
AM_ACLOCAL_INCLUDE(macros)
|
||||
|
Loading…
Reference in New Issue
Block a user