aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-31 01:51:56 +0800
committerMartin Baulig <martin@src.gnome.org>1998-07-31 01:51:56 +0800
commit065d930830034facc67d9532109551e33abeef32 (patch)
tree43ff790c732fd27b90a31630521ab59f6eae6f16 /macros
parent131df2c4bb7f8d6c4e95a1d2b92e32b11186ad0e (diff)
downloadgsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.tar
gsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.tar.gz
gsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.tar.bz2
gsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.tar.lz
gsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.tar.xz
gsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.tar.zst
gsoc2013-evolution-065d930830034facc67d9532109551e33abeef32.zip
New macro. Checks for `u_int64_t' and `int64_t'.
1998-07-30 Martin Baulig <martin@home-of-linux.org> * gnome-libgtop-check.m4 (GNOME_LIBGTOP_TYPES): New macro. Checks for `u_int64_t' and `int64_t'. svn path=/trunk/; revision=293
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-libgtop-check.m414
2 files changed, 18 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 923a5d4cd4..1be1d491f0 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+1998-07-30 Martin Baulig <martin@home-of-linux.org>
+
+ * gnome-libgtop-check.m4 (GNOME_LIBGTOP_TYPES): New macro.
+ Checks for `u_int64_t' and `int64_t'.
+
1998-07-29 Martin Baulig <martin@home-of-linux.org>
* gnome-libgtop-check.m4: Added (AC_SUBST):
diff --git a/macros/gnome-libgtop-check.m4 b/macros/gnome-libgtop-check.m4
index 908c9e780f..cc899e5eff 100644
--- a/macros/gnome-libgtop-check.m4
+++ b/macros/gnome-libgtop-check.m4
@@ -1,4 +1,16 @@
dnl
+dnl GNOME_LIBGTOP_TYPES
+dnl
+dnl some typechecks for libgtop.
+dnl
+
+AC_DEFUN([GNOME_LIBGTOP_TYPES],
+[
+ AC_CHECK_TYPE(u_int64_t, unsigned long long int)
+ AC_CHECK_TYPE(int64_t, long long int)
+])
+
+dnl
dnl GNOME_LIBGTOP_HOOK (script-if-libgtop-enabled, failflag)
dnl
dnl if failflag is "fail" then GNOME_LIBGTOP_HOOK will abort if gtopConf.sh
@@ -7,7 +19,7 @@ dnl
AC_DEFUN([GNOME_LIBGTOP_HOOK],
[
- dnl AC_REQUIRE([GNOME_LIBGTOP_SYSDEPS])
+ AC_REQUIRE([GNOME_LIBGTOP_TYPES])
AC_SUBST(LIBGTOP_LIBDIR)
AC_SUBST(LIBGTOP_INCLUDEDIR)