aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-08-30 20:47:39 +0800
committerMartin Baulig <martin@src.gnome.org>1998-08-30 20:47:39 +0800
commit0c255f1119582396c3e6a9d1f7518777ae98b4f4 (patch)
treeb4b068975f2a7a3b6f88feb617d83b16c96ee971
parent5f228d1144c5c6d4f65f89c733d500697fee86e0 (diff)
downloadgsoc2013-evolution-0c255f1119582396c3e6a9d1f7518777ae98b4f4.tar.gz
gsoc2013-evolution-0c255f1119582396c3e6a9d1f7518777ae98b4f4.tar.zst
gsoc2013-evolution-0c255f1119582396c3e6a9d1f7518777ae98b4f4.zip
Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. Added (AC_DEFINE_UNQUOTED):
1998-08-30 Martin Baulig <martin@home-of-linux.org> * 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
-rw-r--r--macros/ChangeLog6
-rw-r--r--macros/gnome-libgtop-check.m413
2 files changed, 17 insertions, 2 deletions
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 <martin@home-of-linux.org>
+
+ * 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 <martin@home-of-linux.org>
* 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])