diff options
author | Martin Baulig <martin@home-of-linux.org> | 2000-01-24 01:35:11 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-01-24 01:35:11 +0000 |
commit | 52dbe1469d6b597a528672de61f9c88b4447c38b (patch) | |
tree | 332ef3df712a063601aedeb083ccf28bfaf52bce /libgtop-sysdeps.m4 | |
parent | 837ee6bcc698a24543638d3333b220e06161ee29 (diff) | |
download | libgtop-52dbe1469d6b597a528672de61f9c88b4447c38b.tar.gz |
New macro. This is the same than `GNOME_LIBGTOP_TYPES' but also checks for
2000-01-24 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): New macro.
This is the same than `GNOME_LIBGTOP_TYPES' but also checks for
`u_int8_t' and `int8_t' and it doesn't force people to put this
in their acconfig.h.
* configure.in: Use GNOME_LIBGTOP_TYPES_PRIVATE instead of
GNOME_LIBGTOP_TYPES.
Diffstat (limited to 'libgtop-sysdeps.m4')
-rw-r--r-- | libgtop-sysdeps.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4 index 9e54f769..37f8e39d 100644 --- a/libgtop-sysdeps.m4 +++ b/libgtop-sysdeps.m4 @@ -1,3 +1,13 @@ +dnl This is used internally for <glibtop-config.h>. + +AC_DEFUN([GNOME_LIBGTOP_TYPES_PRIVATE], +[ + AC_CHECK_TYPE(u_int64_t, unsigned long long int) + AC_CHECK_TYPE(int64_t, signed long long int) + AC_CHECK_TYPE(u_int8_t, unsigned char) + AC_CHECK_TYPE(int8_t, signed char) +]) + dnl This file is intended for use both internally in libgtop and in every program dnl that wants to use it. dnl |