aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-libgtop-check.m4
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/gnome-libgtop-check.m4
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/gnome-libgtop-check.m4')
-rw-r--r--macros/gnome-libgtop-check.m414
1 files changed, 13 insertions, 1 deletions
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)