From 0c255f1119582396c3e6a9d1f7518777ae98b4f4 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 30 Aug 1998 12:47:39 +0000 Subject: Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. Added (AC_DEFINE_UNQUOTED): 1998-08-30 Martin Baulig * gnome-libgtop-check.m4: Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. Added (AC_DEFINE_UNQUOTED): `LIBGTOP_VERSION', `LIBGTOP_VERSION_CODE', `LIBGTOP_{MAJOR,MINOR,MICRO,SERVER}_VERSION'. svn path=/trunk/; revision=353 --- macros/ChangeLog | 6 ++++++ macros/gnome-libgtop-check.m4 | 13 +++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'macros') diff --git a/macros/ChangeLog b/macros/ChangeLog index 23ddb11e35..b345b898bd 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,9 @@ +1998-08-30 Martin Baulig + + * gnome-libgtop-check.m4: Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. + Added (AC_DEFINE_UNQUOTED): `LIBGTOP_VERSION', `LIBGTOP_VERSION_CODE', + `LIBGTOP_{MAJOR,MINOR,MICRO,SERVER}_VERSION'. + 1998-08-29 Martin Baulig * gnome-libgtop-check.m4: Make it require libgtop >= 0.26.0. diff --git a/macros/gnome-libgtop-check.m4 b/macros/gnome-libgtop-check.m4 index edc67088d3..e8f72826be 100644 --- a/macros/gnome-libgtop-check.m4 +++ b/macros/gnome-libgtop-check.m4 @@ -32,11 +32,14 @@ AC_DEFUN([GNOME_LIBGTOP_HOOK], AC_SUBST(LIBGTOP_GUILE_LIBS) AC_SUBST(LIBGTOP_GUILE_NAMES_INCS) AC_SUBST(LIBGTOP_GUILE_NAMES_LIBS) - AC_SUBST(LIBGTOP_MINOR_VERSION) AC_SUBST(LIBGTOP_MAJOR_VERSION) + AC_SUBST(LIBGTOP_MINOR_VERSION) + AC_SUBST(LIBGTOP_MICRO_VERSION) + AC_SUBST(LIBGTOP_VERSION) + AC_SUBST(LIBGTOP_VERSION_CODE) + AC_SUBST(LIBGTOP_SERVER_VERSION) AC_SUBST(LIBGTOP_INTERFACE_AGE) AC_SUBST(LIBGTOP_BINARY_AGE) - AC_SUBST(LIBGTOP_VERSION) AC_SUBST(LIBGTOP_BINDIR) AC_SUBST(LIBGTOP_SERVER) @@ -126,6 +129,12 @@ AC_DEFUN([GNOME_LIBGTOP_HOOK], fi if test x$no_libgtop = x ; then AC_DEFINE(HAVE_LIBGTOP) + AC_DEFINE_UNQUOTED(LIBGTOP_VERSION, "$LIBGTOP_VERSION") + AC_DEFINE_UNQUOTED(LIBGTOP_VERSION_CODE, $LIBGTOP_VERSION_CODE) + AC_DEFINE_UNQUOTED(LIBGTOP_MAJOR_VERSION, $LIBGTOP_MAJOR_VERSION) + AC_DEFINE_UNQUOTED(LIBGTOP_MINOR_VERSION, $LIBGTOP_MINOR_VERSION) + AC_DEFINE_UNQUOTED(LIBGTOP_MICRO_VERSION, $LIBGTOP_MICRO_VERSION) + AC_DEFINE_UNQUOTED(LIBGTOP_SERVER_VERSION, $LIBGTOP_SERVER_VERSION) AC_MSG_RESULT(yes) dnl Note that an empty true branch is not valid sh syntax. ifelse([$2], [], :, [$2]) -- cgit v1.2.3