remove unused file.

2005-12-12  James Henstridge  <james@jamesh.id.au>

	* doc/auto-macros.texi.in: remove unused file.

	* doc/libgtop2.texi: don't include auto-macros.texi.

	* doc/Makefile.am: don't build auto-macros.texi, since none of its
	macros are used in the documentation any more.

	* include/glibtop/global.h: don't include <config.h> from headers.

	* .../*.c: make sure <config.h> is the first thing included.

	* acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than
	inlining it.

	* acinclude.m4, libgtop-sysdeps.m4: use third argument to
	AC_DEFINE() to set the comment.

	* configure.in: modernise a bit.

	* acconfig.h: remove file, since it is deprecated

	* autogen.sh: require automake 1.9 instead of 1.4.
This commit is contained in:
James Henstridge
2005-12-12 09:38:15 +00:00
committed by James Henstridge
parent a7db1f4dfd
commit aa5ac8fc10
233 changed files with 406 additions and 545 deletions

View File

@@ -1,3 +1,28 @@
2005-12-12 James Henstridge <james@jamesh.id.au>
* doc/auto-macros.texi.in: remove unused file.
* doc/libgtop2.texi: don't include auto-macros.texi.
* doc/Makefile.am: don't build auto-macros.texi, since none of its
macros are used in the documentation any more.
* include/glibtop/global.h: don't include <config.h> from headers.
* .../*.c: make sure <config.h> is the first thing included.
* acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than
inlining it.
* acinclude.m4, libgtop-sysdeps.m4: use third argument to
AC_DEFINE() to set the comment.
* configure.in: modernise a bit.
* acconfig.h: remove file, since it is deprecated
* autogen.sh: require automake 1.9 instead of 1.4.
2005-12-09 Benoît Dejean <benoit@placenet.org> 2005-12-09 Benoît Dejean <benoit@placenet.org>
* configure.in: * configure.in:

View File

@@ -1,168 +0,0 @@
/* Define if gethostname () must be declared. */
#undef NEED_DECLARATION_GETHOSTNAME
/* Define if setreuid () must be declared. */
#undef NEED_DECLARATION_SETREUID
/* Define if setregid () must be declared. */
#undef NEED_DECLARATION_SETREGID
/* Define if getpagesize () must be declared. */
#undef NEED_DECLARATION_GETPAGESIZE
/* Define if program_invocation_name must be declared. */
#undef NEED_DECLARATION_PROGRAM_INVOCATION_NAME
@TOP@
#undef ENABLE_NLS
#undef HAVE_CATGETS
#undef GETTEXT_PACKAGE
#undef HAVE_GETTEXT
#undef HAVE_LC_MESSAGES
#undef HAVE_STPCPY
#undef HAVE_STRUCT_OSOCKADDR
#undef PACKAGE
#undef VERSION
#undef HAVE_LIBSM
#undef HAVE_LIBINTL_H
#undef HAVE_GTK_SIGNAL_HANDLER_PENDING
/* Do not remove this comments and the empty lines; they are needed */
#undef HAVE_PROGRAM_INVOCATION_SHORT_NAME
/* Define if you have the Andrew File System. */
#undef AFS
/* Define one of the following to indicate how a program can
get a list of mounted filesystems. */
/* Define if there is no specific function for reading the list of
mounted filesystems. fread will be used to read /etc/mnttab. [SVR2] */
#undef MOUNTED_FREAD
/* Define if (like SVR2) there is no specific function for reading the
list of mounted filesystems, and your system has these header files:
<sys/fstyp.h> and <sys/statfs.h>. [SVR3] */
#undef MOUNTED_FREAD_FSTYP
/* Define if there is a function named getfsstat for reading the list
of mounted filesystems. [DEC Alpha running OSF/1] */
#undef MOUNTED_GETFSSTAT
/* Define if there is a function named getmnt for reading the list of
mounted filesystems. [Ultrix] */
#undef MOUNTED_GETMNT
/* Define if there is a function named getmntent for reading the list
of mounted filesystems, and that function takes a single argument.
[4.3BSD, SunOS, HP-UX, Dynix, Irix] */
#undef MOUNTED_GETMNTENT1
/* Define if there is a function named getmntent for reading the list of
mounted filesystems, and that function takes two arguments. [SVR4] */
#undef MOUNTED_GETMNTENT2
/* Define if there is a function named getmntinfo for reading the list
of mounted filesystems. [4.4BSD] */
#undef MOUNTED_GETMNTINFO
/* Define if there is a function named listmntent that can be used to
list all mounted filesystems. [UNICOS] */
#undef MOUNTED_LISTMNTENT
/* Define if there is a function named mntctl that can be used to read
the list of mounted filesystems, and there is a system header file
that declares `struct vmount.' [AIX] */
#undef MOUNTED_VMOUNT
/* Define one of the following to indicate how a program can obtain
filesystems usage information. */
/* Define if statfs takes 3 args. [DEC Alpha running OSF/1] */
#undef STAT_STATFS3_OSF1
/* Define if there is no specific function for reading filesystems usage
information and you have the <sys/filsys.h> header file. [SVR2] */
#undef STAT_READ_FILSYS
/* Define if statfs takes 2 args and struct statfs has a field named f_bsize.
[4.3BSD, SunOS 4, HP-UX, AIX PS/2] */
#undef STAT_STATFS2_BSIZE
/* Define if statfs takes 2 args and struct statfs has a field named f_fsize.
[4.4BSD, NetBSD] */
#undef STAT_STATFS2_FSIZE
/* Define if statfs takes 2 args and the second argument has
type struct fs_data. [Ultrix] */
#undef STAT_STATFS2_FS_DATA
/* Define if statfs takes 4 args. [SVR3, Dynix, Irix, Dolphin] */
#undef STAT_STATFS4
/* Define if there is a function named statvfs. [SVR4] */
#undef STAT_STATVFS
/* Define if the block counts reported by statfs may be truncated to 2GB
and the correct values may be stored in the f_spare array.
[SunOS 4.1.2, 4.1.3, and 4.1.3_U1 are reported to have this problem.
SunOS 4.1.1 seems not to be affected.] */
#undef STATFS_TRUNCATES_BLOCK_COUNTS
/* to fix a bug in autoheader on DEC OSF1. */
#undef HAVE_PROGRAM_INVOCATION_NAME
#undef HAVE_SOCKETS
#undef HAVE_SOCKADDR_SUN_LEN
#undef HAVE_LIBJPEG
#undef HAVE_LIBGIF
#undef HAVE_LIBTIFF
#undef HAVE_LIBZ
#undef HAVE_LIBPNG
#undef HAVE_GMP2_INCLUDE_DIR
#undef HAVE_GUILE
#undef ssize_t
#undef guint64
#undef int64_t
#undef HAVE_GLIBTOP_MACHINE_H
#undef GLIBTOP_GUILE
#undef GLIBTOP_GUILE_NAMES
#undef GLIBTOP_EXAMPLES
#undef GLIBTOP_INODEDB
#undef NEED_LIBGTOP
#undef HAVE_LIBGTOP_SMP
#undef HAVE_XAUTH
/* Define if your have the I4B package. */
#undef HAVE_I4B
#undef HAVE_I4B_ACCT
/* Define to enable debugging. */
#undef LIBGTOP_ENABLE_DEBUG
#undef LIBGTOP_FATAL_WARNINGS
/* Same as LINUX_VERSION_CODE either from <linux/version.h> or from
* the running kernel (if we don't have configured kernel sources).
*/
#undef GLIBTOP_LINUX_VERSION_CODE
/* Solaris release code (eg. 251 for Solaris 2.5.1). */
#undef GLIBTOP_SOLARIS_RELEASE
/* Define if you want to use LibGTop without GNOME. */
#undef WITHOUT_GNOME
/* Define if you have the <procfs.h> header file */
#undef HAVE_PROCFS_H
/* Define if you have the <sys/procfs.h> header file */
#undef HAVE_SYS_PROCFS_H

View File

@@ -30,7 +30,7 @@ changequote([,]), [#include <sys/types.h>
], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl ], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
AC_MSG_RESULT($ac_cv_type_$1) AC_MSG_RESULT($ac_cv_type_$1)
if test $ac_cv_type_$1 = no; then if test $ac_cv_type_$1 = no; then
AC_DEFINE($1, $2) AC_DEFINE($1, $2, [Define to $2 if <sys/types.h> does not define.])
fi fi
]) ])
@@ -72,7 +72,7 @@ if eval "test \"`echo '$gcc_cv_decl_needed_'$1`\" = yes"; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
gcc_need_declarations="$gcc_need_declarations $1" gcc_need_declarations="$gcc_need_declarations $1"
gcc_tr_decl=NEED_DECLARATION_`echo $1 | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` gcc_tr_decl=NEED_DECLARATION_`echo $1 | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
AC_DEFINE_UNQUOTED($gcc_tr_decl) AC_DEFINE_UNQUOTED($gcc_tr_decl, 1, [Define if $1 () must be declared.])
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
@@ -157,7 +157,8 @@ yes
AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent) AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent)
if test $fu_cv_sys_mounted_cray_listmntent = yes; then if test $fu_cv_sys_mounted_cray_listmntent = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_LISTMNTENT) AC_DEFINE(MOUNTED_LISTMNTENT, 1,
[Define if there is a function named listmntent that can be used to list all mounted filesystems. [UNICOS]])
fi fi
fi fi
@@ -176,7 +177,8 @@ AC_CACHE_VAL(fu_cv_sys_mounted_getmntent1,
AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1) AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1)
if test $fu_cv_sys_mounted_getmntent1 = yes; then if test $fu_cv_sys_mounted_getmntent1 = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_GETMNTENT1) AC_DEFINE(MOUNTED_GETMNTENT1, 1,
[Define if there is a function named getmntent for reading the list of mounted filesystems, and that function takes a single argument. [4.3BSD, SunOS, HP-UX, Dynix, Irix]])
fi fi
fi fi
@@ -190,7 +192,8 @@ fu_cv_sys_mounted_getmntent2=no)])
AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2) AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2)
if test $fu_cv_sys_mounted_getmntent2 = yes; then if test $fu_cv_sys_mounted_getmntent2 = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_GETMNTENT2) AC_DEFINE(MOUNTED_GETMNTENT2, 1,
[Define if there is a function named getmntent for reading the list of mounted filesystems, and that function takes two arguments. [SVR4]])
fi fi
fi fi
@@ -215,7 +218,8 @@ fu_cv_sys_mounted_getsstat=no)])
AC_MSG_RESULT($fu_cv_sys_mounted_getsstat) AC_MSG_RESULT($fu_cv_sys_mounted_getsstat)
if test $fu_cv_sys_mounted_getsstat = yes; then if test $fu_cv_sys_mounted_getsstat = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_GETFSSTAT) AC_DEFINE(MOUNTED_GETFSSTAT, 1,
[Define if there is a function named getfsstat for reading the list of mounted filesystems. [DEC Alpha running OSF/1]])
fi fi
fi fi
@@ -229,7 +233,8 @@ fu_cv_sys_mounted_vmount=no)])
AC_MSG_RESULT($fu_cv_sys_mounted_vmount) AC_MSG_RESULT($fu_cv_sys_mounted_vmount)
if test $fu_cv_sys_mounted_vmount = yes; then if test $fu_cv_sys_mounted_vmount = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_VMOUNT) AC_DEFINE(MOUNTED_VMOUNT, 1,
[Define if there is a function named mntctl that can be used to read the list of mounted filesystems, and there is a system header file that declares `struct vmount.' [AIX]])
fi fi
fi fi
@@ -246,7 +251,8 @@ fu_cv_sys_mounted_fread_fstyp=no)])
AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp) AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp)
if test $fu_cv_sys_mounted_fread_fstyp = yes; then if test $fu_cv_sys_mounted_fread_fstyp = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_FREAD_FSTYP) AC_DEFINE(MOUNTED_FREAD_FSTYP, 1,
[Define if (like SVR2) there is no specific function for reading the list of mounted filesystems, and your system has these header files: <sys/fstyp.h> and <sys/statfs.h>. [SVR3]])
fi fi
fi fi
@@ -267,7 +273,8 @@ test -n "$ok" \
AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo) AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo)
if test $fu_cv_sys_mounted_getmntinfo = yes; then if test $fu_cv_sys_mounted_getmntinfo = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_GETMNTINFO) AC_DEFINE(MOUNTED_GETMNTINFO, 1,
[Define if there is a function named getmntinfo for reading the list of mounted filesystems. [4.4BSD]])
fi fi
fi fi
@@ -285,7 +292,8 @@ fu_cv_sys_mounted_getmnt=no)])
AC_MSG_RESULT($fu_cv_sys_mounted_getmnt) AC_MSG_RESULT($fu_cv_sys_mounted_getmnt)
if test $fu_cv_sys_mounted_getmnt = yes; then if test $fu_cv_sys_mounted_getmnt = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_GETMNT) AC_DEFINE(MOUNTED_GETMNT, 1,
[Define if there is a function named getmnt for reading the list of mounted filesystems. [Ultrix]])
fi fi
fi fi
@@ -299,7 +307,8 @@ fu_cv_sys_mounted_fread=no)])
AC_MSG_RESULT($fu_cv_sys_mounted_fread) AC_MSG_RESULT($fu_cv_sys_mounted_fread)
if test $fu_cv_sys_mounted_fread = yes; then if test $fu_cv_sys_mounted_fread = yes; then
list_mounted_fs=found list_mounted_fs=found
AC_DEFINE(MOUNTED_FREAD) AC_DEFINE(MOUNTED_FREAD, 1,
[Define if there is no specific function for reading the list of mounted filesystems. fread will be used to read /etc/mnttab. [SVR2]])
fi fi
fi fi
@@ -328,7 +337,8 @@ fu_cv_sys_stat_statvfs=yes,
fu_cv_sys_stat_statvfs=no)]) fu_cv_sys_stat_statvfs=no)])
if test $fu_cv_sys_stat_statvfs = yes; then if test $fu_cv_sys_stat_statvfs = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATVFS) AC_DEFINE(STAT_STATVFS, 1,
[Define if there is a function named statvfs. [SVR4]])
fi fi
fi fi
@@ -352,7 +362,8 @@ fu_cv_sys_stat_statfs3_osf1=no)])
AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1) AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
if test $fu_cv_sys_stat_statfs3_osf1 = yes; then if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS3_OSF1) AC_DEFINE(STAT_STATFS3_OSF1, 1,
[Define if statfs takes 3 args. [DEC Alpha running OSF/1]])
fi fi
fi fi
@@ -383,7 +394,8 @@ fu_cv_sys_stat_statfs2_bsize=no)])
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize) AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize)
if test $fu_cv_sys_stat_statfs2_bsize = yes; then if test $fu_cv_sys_stat_statfs2_bsize = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS2_BSIZE) AC_DEFINE(STAT_STATFS2_BSIZE, 1,
[Define if statfs takes 2 args and struct statfs has a field named f_bsize. [4.3BSD, SunOS 4, HP-UX, AIX PS/2]])
fi fi
fi fi
@@ -404,7 +416,8 @@ fu_cv_sys_stat_statfs4=no)])
AC_MSG_RESULT($fu_cv_sys_stat_statfs4) AC_MSG_RESULT($fu_cv_sys_stat_statfs4)
if test $fu_cv_sys_stat_statfs4 = yes; then if test $fu_cv_sys_stat_statfs4 = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS4) AC_DEFINE(STAT_STATFS4, 1,
[Define if statfs takes 4 args. [SVR3, Dynix, Irix, Dolphin]])
fi fi
fi fi
@@ -432,7 +445,8 @@ fu_cv_sys_stat_statfs2_fsize=no)])
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize) AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize)
if test $fu_cv_sys_stat_statfs2_fsize = yes; then if test $fu_cv_sys_stat_statfs2_fsize = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS2_FSIZE) AC_DEFINE(STAT_STATFS2_FSIZE, 1,
[Define if statfs takes 2 args and struct statfs has a field named f_fsize. [4.4BSD, NetBSD]])
fi fi
fi fi
@@ -463,14 +477,17 @@ fu_cv_sys_stat_fs_data=no)])
AC_MSG_RESULT($fu_cv_sys_stat_fs_data) AC_MSG_RESULT($fu_cv_sys_stat_fs_data)
if test $fu_cv_sys_stat_fs_data = yes; then if test $fu_cv_sys_stat_fs_data = yes; then
space=yes space=yes
AC_DEFINE(STAT_STATFS2_FS_DATA) AC_DEFINE(STAT_STATFS2_FS_DATA, 1,
[Define if statfs takes 2 args and the second argument has type struct fs_data. [Ultrix]])
fi fi
fi fi
if test $space = no; then if test $space = no; then
# SVR2 # SVR2
AC_TRY_CPP([#include <sys/filsys.h>], AC_TRY_CPP([#include <sys/filsys.h>],
AC_DEFINE(STAT_READ_FILSYS) space=yes) AC_DEFINE(STAT_READ_FILSYS, 1,
[Define if there is no specific function for reading filesystems usage information and you have the <sys/filsys.h> header file. [SVR2]])
space=yes)
fi fi
if test -n "$list_mounted_fs" && test $space != no; then if test -n "$list_mounted_fs" && test $space != no; then
@@ -495,260 +512,14 @@ fu_cv_sys_truncating_statfs=yes,
fu_cv_sys_truncating_statfs=no, fu_cv_sys_truncating_statfs=no,
)]) )])
if test $fu_cv_sys_truncating_statfs = yes; then if test $fu_cv_sys_truncating_statfs = yes; then
AC_DEFINE(STATFS_TRUNCATES_BLOCK_COUNTS) AC_DEFINE(STATFS_TRUNCATES_BLOCK_COUNTS, 1,
[Define if the block counts reported by statfs may be truncated to 2GB and the correct values may be stored in the f_spare array. [SunOS 4.1.2, 4.1.3, and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be affected.]])
fi fi
AC_MSG_RESULT($fu_cv_sys_truncating_statfs) AC_MSG_RESULT($fu_cv_sys_truncating_statfs)
AC_CHECKING(for AFS) AC_CHECKING(for AFS)
test -d /afs && AC_DEFINE(AFS) test -d /afs && AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.])
]) ])
dnl This file is intended for use both internally in libgtop and in every program m4_include([libgtop-sysdeps.m4])
dnl that wants to use it.
dnl
dnl It defines the following variables:
dnl
dnl * 'libgtop_sysdeps_dir' - sysdeps dir for libgtop.
dnl * 'libgtop_use_machine_h' - some of system dependend parts of libgtop provide
dnl their own header file. In this case we need to
dnl define 'HAVE_GLIBTOP_MACHINE_H'.
dnl * 'libgtop_need_server' - is the server really needed? Defines 'NEED_LIBGTOP'
dnl if true; defines conditional 'NEED_LIBGTOP'.
AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
AC_REQUIRE([AC_CANONICAL_HOST])
AC_SUBST(libgtop_sysdeps_dir)
AC_SUBST(libgtop_use_machine_h)
AC_SUBST(libgtop_need_server)
AC_ARG_WITH(libgtop-examples,
[ --with-libgtop-examples Build the libgtop examples (default=no)],[
build_examples="$withval"], [build_examples=no])
AM_CONDITIONAL(EXAMPLES, test x"$build_examples" = xyes)
AC_ARG_ENABLE(hacker-mode,
[ --enable-hacker-mode Enable building of unstable sysdeps],
[hacker_mode="$enableval"], [hacker_mode=no])
AM_CONDITIONAL(HACKER_MODE, test x"$hacker_mode" = xyes)
if test x$hacker_mode = xyes ; then
LIBGTOP_HACKER_TESTS
fi
AC_ARG_WITH(libgtop-smp,
[ --with-libgtop-smp Enable SMP support (default-auto)],[
libgtop_smp="$withval"],[libgtop_smp=auto])
if test $libgtop_smp = auto ; then
AC_MSG_CHECKING(whether to enable SMP support)
case "$host_os" in
linux*)
libgtop_smp=yes
;;
aix*)
libgtop_smp=yes
;;
*)
libgtop_smp=no
;;
esac
AC_MSG_RESULT($libgtop_smp)
fi
if test $libgtop_smp = yes ; then
AC_DEFINE(HAVE_LIBGTOP_SMP)
fi
AM_CONDITIONAL(LIBGTOP_SMP, test $libgtop_smp = yes)
AC_MSG_CHECKING(for libgtop sysdeps directory)
case "$host_os" in
linux*)
libgtop_sysdeps_dir=linux
libgtop_use_machine_h=no
libgtop_have_sysinfo=yes
libgtop_need_server=no
;;
freebsd*|netbsd*|openbsd*|bsdi*)
libgtop_sysdeps_dir=freebsd
libgtop_use_machine_h=yes
libgtop_need_server=yes
libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
;;
solaris*)
libgtop_sysdeps_dir=solaris
libgtop_use_machine_h=yes
libgtop_need_server=yes
libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
;;
aix*)
libgtop_sysdeps_dir=aix
libgtop_use_machine_h=yes
libgtop_need_server=yes
libgtop_have_sysinfo=yes
libgtop_postinstall='chgrp system $(bindir)/libgtop_server && chmod g+s $(bindir)/libgtop_server2'
;;
*)
if test x$hacker_mode = xyes ; then
case "$host_os" in
sunos4*)
#Please note that this port is obsolete and not working at
#all. It is only useful for people who want to fix it ... :-)
libgtop_sysdeps_dir=sun4
libgtop_use_machine_h=yes
libgtop_need_server=yes
;;
osf*)
libgtop_sysdeps_dir=osf1
libgtop_use_machine_h=yes
libgtop_need_server=yes
;;
*)
libgtop_sysdeps_dir=stub
libgtop_use_machine_h=no
libgtop_need_server=no
;;
esac
else
libgtop_sysdeps_dir=stub
libgtop_use_machine_h=no
libgtop_need_server=no
fi
;;
esac
test -z "$libgtop_postinstall" && libgtop_postinstall=:
AC_MSG_RESULT($libgtop_sysdeps_dir)
AC_SUBST(libgtop_sysdeps_dir)
AC_SUBST(libgtop_postinstall)
AC_SUBST(libgtop_have_sysinfo)
case "$host_os" in
*bsd*)
AC_CHECK_HEADERS(net/if_var.h)
AC_MSG_CHECKING([for I4B])
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_types.h>
#ifdef HAVE_NET_IF_VAR_H
#include <net/if_var.h>
#endif
#include <net/netisr.h>
#include <net/route.h>
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <net/if_sppp.h>
#else
#include <i4b/sppp/if_sppp.h>
#endif
],[
size_t size = sizeof (struct sppp);
], have_i4b=yes, have_i4b=no)
AC_MSG_RESULT($have_i4b)
if test x$have_i4b = xyes; then
AC_DEFINE(HAVE_I4B)
AC_MSG_CHECKING([for I4B accounting])
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_types.h>
#ifdef HAVE_NET_IF_VAR_H
#include <net/if_var.h>
#endif
#include <net/netisr.h>
#include <net/route.h>
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <net/if_sppp.h>
#else
#include <i4b/sppp/if_sppp.h>
#endif
#include <machine/i4b_acct.h>
],[
size_t size = sizeof (struct i4bisppp_softc);
], have_i4b_acct=yes, have_i4b_acct=no)
AC_MSG_RESULT($have_i4b_acct)
if test x$have_i4b_acct = xyes ; then
AC_DEFINE(HAVE_I4B_ACCT)
else
AC_WARN([
*** I4B accounting disabled - you won't get any PPP statistics.
*** Read "misc/i4b_acct.txt" in the LibGTop source directory
*** to see how to enable it.])
fi
fi
;;
linux*)
os_major_version=`uname -r | sed 's/-pre[[0-9]]*//' | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
os_minor_version=`uname -r | sed 's/-pre[[0-9]]*//' | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
os_micro_version=`uname -r | sed 's/-pre[[0-9]]*//' | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
os_version_expr="$os_major_version 65536 * $os_minor_version 256 * + $os_micro_version + p q"
AC_CHECK_HEADERS(linux/version.h, have_linux_version_h=yes,
have_linux_version_h=no)
if test x$have_linux_version_h = xyes ; then
version_code=`cat /usr/include/linux/version.h | \
grep \#define | grep LINUX_VERSION_CODE`
os_version_code=`echo $version_code | \
sed 's/^.*LINUX_VERSION_CODE[[ \t]]*\([[0-9]]*\).*$/\1/'`
else
os_version_code=`echo "$os_version_expr" | dc`
fi
AC_MSG_CHECKING(for Linux kernel version code)
AC_DEFINE_UNQUOTED(GLIBTOP_LINUX_VERSION_CODE, $os_version_code)
AC_MSG_RESULT($os_version_code)
;;
solaris*)
os_major_version=`uname -r | sed 's/\([[0-9]]*\).\([[0-9]]\)\.*\([[0-9]]*\)/\1/'`
os_minor_version=`uname -r | sed 's/\([[0-9]]*\).\([[0-9]]\)\.*\([[0-9]]*\)/\2/'`
os_micro_version=`uname -r | sed 's/\([[0-9]]*\).\([[0-9]]\)\.*\([[0-9]]*\)/\3/'`
test -z "$os_micro_version" && os_micro_version=0
os_version_expr="$os_major_version 100 * $os_minor_version 10 * + $os_micro_version + p q"
os_version_code=`echo "$os_version_expr" | dc`
AC_MSG_CHECKING(for Solaris release code)
AC_DEFINE_UNQUOTED(GLIBTOP_SOLARIS_RELEASE, $os_version_code)
AC_MSG_RESULT($os_version_code)
;;
esac
AC_MSG_CHECKING(for machine.h in libgtop sysdeps dir)
AC_MSG_RESULT($libgtop_use_machine_h)
AC_MSG_CHECKING(whether we need libgtop)
AC_MSG_RESULT($libgtop_need_server)
if test x$libgtop_need_server = xyes ; then
AC_DEFINE(NEED_LIBGTOP)
fi
if test x$libgtop_use_machine_h = xyes ; then
AC_DEFINE(HAVE_GLIBTOP_MACHINE_H)
fi
AM_CONDITIONAL(NEED_LIBGTOP, test x$libgtop_need_server = xyes)
])

View File

@@ -18,4 +18,5 @@ which gnome-autogen.sh || {
echo "You need to install gnome-common from the GNOME CVS" echo "You need to install gnome-common from the GNOME CVS"
exit 1 exit 1
} }
USE_GNOME2_MACROS=1 . gnome-autogen.sh REQUIRED_AUTOMAKE_VERSION=1.9
. gnome-autogen.sh

View File

@@ -2,59 +2,49 @@ dnl
dnl Configure script for the Gnome library dnl Configure script for the Gnome library
dnl dnl
AC_INIT(copyright.txt) m4_define([libgtop_major_version], [2])
AM_CONFIG_HEADER(config.h) m4_define([libgtop_minor_version], [13])
AC_CANONICAL_SYSTEM m4_define([libgtop_micro_version], [0])
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
LIBGTOP_MAJOR_VERSION=2
LIBGTOP_MINOR_VERSION=13
LIBGTOP_MICRO_VERSION=0
LIBGTOP_VERSION=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION.$LIBGTOP_MICRO_VERSION
AM_INIT_AUTOMAKE(libgtop, $LIBGTOP_VERSION)
dnl increment if the interface has additions, changes, removals. dnl increment if the interface has additions, changes, removals.
LIBGTOP_CURRENT=7 m4_define([libgtop_current], [7])
dnl increment any time the source changes; set to dnl increment any time the source changes; set to
dnl 0 if you increment CURRENT dnl 0 if you increment CURRENT
LIBGTOP_REVISION=0 m4_define([libgtop_revision], [0])
dnl increment if any interfaces have been added; set to 0 dnl increment if any interfaces have been added; set to 0
dnl if any interfaces have been removed. removal has dnl if any interfaces have been removed. removal has
dnl precedence over adding, so set to 0 if both happened. dnl precedence over adding, so set to 0 if both happened.
LIBGTOP_AGE=0 m4_define([libgtop_age], [0])
# you can set this to `-snap' for instance to create
# a `libgtop-1.x.y-snap.tar.gz' tarball.
LIBGTOP_VERSION_SUFFIX=
# Increase each time you change the client/server protocol. # Increase each time you change the client/server protocol.
LIBGTOP_SERVER_VERSION=5 m4_define([libgtop_server_version], [5])
# Version code calculation # Version code calculation
LIBGTOP_VERSION_CODE=`expr $LIBGTOP_MAJOR_VERSION \* 1000000 + $LIBGTOP_MINOR_VERSION \* 1000 + $LIBGTOP_MICRO_VERSION` m4_define([libgtop_version_code], [m4_eval(libgtop_major_version * 1000000 + libgtop_minor_version * 1000 + libgtop_micro_version)])
AC_SUBST(LIBGTOP_MAJOR_VERSION) AC_INIT([libgtop], [libgtop_version],
AC_SUBST(LIBGTOP_MINOR_VERSION) [http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop])
AC_SUBST(LIBGTOP_MICRO_VERSION) AC_CONFIG_SRCDIR(copyright.txt)
AC_SUBST(LIBGTOP_INTERFACE_AGE) AC_CONFIG_HEADERS(config.h)
AC_SUBST(LIBGTOP_BINARY_AGE)
AC_SUBST(LIBGTOP_SERVER_VERSION) AC_CANONICAL_SYSTEM
AC_SUBST(LIBGTOP_VERSION)
AC_SUBST(LIBGTOP_VERSION_CODE) AM_INIT_AUTOMAKE
AC_SUBST(LIBGTOP_VERSION_SUFFIX) AC_SUBST(ACLOCAL_AMFLAGS, [\${ACLOCAL_FLAGS}])
AC_SUBST(LIBGTOP_MAJOR_VERSION, [libgtop_major_version])
AC_SUBST(LIBGTOP_MINOR_VERSION, [libgtop_minor_version])
AC_SUBST(LIBGTOP_MICRO_VERSION, [libgtop_micro_version])
AC_SUBST(LIBGTOP_SERVER_VERSION, [libgtop_server_version])
AC_SUBST(LIBGTOP_VERSION, [libgtop_version])
AC_SUBST(LIBGTOP_VERSION_CODE, [libgtop_version_code])
# libtool versioning # libtool versioning
LT_RELEASE=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION AC_SUBST(LT_VERSION_INFO,
LT_CURRENT=$LIBGTOP_CURRENT [-version-info libgtop_current:libgtop_revision:libgtop_age])
LT_REVISION=$LIBGTOP_REVISION
LT_AGE=$LIBGTOP_AGE
LT_VERSION_INFO="-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}"
AC_SUBST(LT_VERSION_INFO)
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ." ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ."
@@ -109,7 +99,8 @@ fi
AM_CONDITIONAL(INODEDB, test x$build_inodedb = xyes) AM_CONDITIONAL(INODEDB, test x$build_inodedb = xyes)
if test x$build_inodedb = xyes ; then if test x$build_inodedb = xyes ; then
AC_DEFINE(GLIBTOP_INODEDB) AC_DEFINE(GLIBTOP_INODEDB, 1,
[Define if the libgtop inodedb should be built])
fi fi
GLIB_REQUIRED=2.6.0 GLIB_REQUIRED=2.6.0
@@ -170,8 +161,9 @@ if test x$HAVE_ISDN_H = xyes ; then
fi fi
dnl AIX dnl AIX
AH_TEMPLATE(HAVE_VMGETINFO, [Define to 1 if you have the 'vmgetinfo' function in libperfstat]) AC_CHECK_LIB(perfstat, vmgetinfo,
AC_CHECK_LIB(perfstat, vmgetinfo, AC_DEFINE(HAVE_VMGETINFO)) AC_DEFINE(HAVE_VMGETINFO, 1,
[Define to 1 if you have the 'vmgetinfo' function in libperfstat]))
dnl Solaris dnl Solaris
case "$host_os" in case "$host_os" in
@@ -220,7 +212,7 @@ CFLAGS=$saved_CFLAGS
AC_CHECK_FUNC(socket, AC_CHECK_FUNC(socket,
[AC_CHECK_HEADER(netinet/in.h, [AC_CHECK_HEADER(netinet/in.h,
[AC_CHECK_HEADER(arpa/inet.h, [ [AC_CHECK_HEADER(arpa/inet.h, [
AC_DEFINE(HAVE_SOCKETS) AC_DEFINE(HAVE_SOCKETS, 1, [Define if BSD sockets are supported])
AC_MSG_CHECKING("for sun_len member in struct sockaddr_un") AC_MSG_CHECKING("for sun_len member in struct sockaddr_un")
AC_TRY_LINK([ AC_TRY_LINK([
#include <sys/types.h> #include <sys/types.h>
@@ -228,7 +220,7 @@ AC_CHECK_FUNC(socket,
#include <sys/un.h> #include <sys/un.h>
], ],
[static struct sockaddr_un x; x.sun_len = 1;], [static struct sockaddr_un x; x.sun_len = 1;],
[AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SOCKADDR_SUN_LEN)], [AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SOCKADDR_SUN_LEN, 1, [Define if struct sockaddr_un has a sun_len member])],
[AC_MSG_RESULT(no)])])])]) [AC_MSG_RESULT(no)])])])])
dnl Checks for library functions. dnl Checks for library functions.
@@ -242,9 +234,11 @@ ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi f
GETTEXT_PACKAGE=libgtop-2.0 GETTEXT_PACKAGE=libgtop-2.0
AC_SUBST(GETTEXT_PACKAGE) AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE") AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[Define to the gettext package used by the library])
AM_GLIB_GNU_GETTEXT AM_GLIB_GNU_GETTEXT
GLIB_DEFINE_LOCALEDIR([GTOPLOCALEDIR])
AC_PATH_XTRA AC_PATH_XTRA
@@ -271,7 +265,7 @@ test -z "$with_xauth" && { AC_CHECK_HEADER(X11/Xauth.h, ,with_xauth=no)
test -z "$with_xauth" && { AC_CHECK_LIB(Xau, XauGetAuthByAddr,[:],with_xauth=no, $X_LIBS) } test -z "$with_xauth" && { AC_CHECK_LIB(Xau, XauGetAuthByAddr,[:],with_xauth=no, $X_LIBS) }
test -z "$with_xauth" && with_xauth=yes test -z "$with_xauth" && with_xauth=yes
if test "$with_xauth" = "yes"; then if test "$with_xauth" = "yes"; then
AC_DEFINE(HAVE_XAUTH) AC_DEFINE(HAVE_XAUTH, 1, [Define if Xauth is supported])
XE_SPACE(libs_xauth, $X_LIBS -lXau) XE_SPACE(libs_xauth, $X_LIBS -lXau)
fi fi
CPPFLAGS="$saved_CPPFLAGS" CPPFLAGS="$saved_CPPFLAGS"
@@ -281,8 +275,8 @@ dnl For diskusage stuff
GNOME_FILEUTILS_CHECKS GNOME_FILEUTILS_CHECKS
dnl Debugging dnl Debugging
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],AC_DEFINE(LIBGTOP_ENABLE_DEBUG),) AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 1, [Define to enable debugging]),)
AC_ARG_ENABLE(fatal-warnings, [ --enable-fatal-warnings make all warnings fatal [debug=no]],AC_DEFINE(LIBGTOP_FATAL_WARNINGS),) AC_ARG_ENABLE(fatal-warnings, [ --enable-fatal-warnings make all warnings fatal [debug=no]],AC_DEFINE(LIBGTOP_FATAL_WARNINGS, 1, [Define to enable fatal warnings]),)
dnl These definitions are expanded in make. dnl These definitions are expanded in make.
LIBGTOP_LIBS='-L$(libdir)' LIBGTOP_LIBS='-L$(libdir)'
@@ -306,8 +300,14 @@ fi
LIBGTOP_INCS="$LIBGTOP_INCS $GLIB_CFLAGS" LIBGTOP_INCS="$LIBGTOP_INCS $GLIB_CFLAGS"
LIBGTOP_BINDIR='$(bindir)' libgtop_save_prefix="$prefix"
LIBGTOP_SERVER='$(bindir)/libgtop_server2' libgtop_save_exec_prefix="$exec_prefix"
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
LIBGTOP_BINDIR=`eval echo "${bindir}"`
LIBGTOP_SERVER=`eval echo "${bindir}/libgtop_server2"`
prefix="$libgtop_save_prefix"
exec_prefix="$libgtop_save_exec_prefix"
sysdeps_dir="$libgtop_sysdeps_dir" sysdeps_dir="$libgtop_sysdeps_dir"
AC_SUBST(sysdeps_dir) AC_SUBST(sysdeps_dir)
@@ -340,7 +340,24 @@ if test "$GCC" = "yes" ; then
$CFLAGS" $CFLAGS"
fi fi
INCLUDES="-D_IN_LIBGTOP -D_GNU_SOURCE -I\$(top_builddir) -I\$(top_srcdir) -I\$(top_srcdir)/sysdeps/$sysdeps_dir -I\$(top_srcdir)/include $GLIB_CFLAGS $CFLAGS $X_CFLAGS "'-DGTOPLOCALEDIR=\"$(datadir)/locale\" -DLIBGTOP_VERSION=\"'"$LIBGTOP_VERSION"'\" -DLIBGTOP_SERVER_VERSION=\"'"$LIBGTOP_SERVER_VERSION"'\" -DLIBGTOP_VERSION_CODE='$LIBGTOP_VERSION_CODE' -DLIBGTOP_SERVER=\"'"$LIBGTOP_SERVER"'\"' INCLUDES="-I\$(top_builddir) -I\$(top_srcdir) -I\$(top_srcdir)/sysdeps/$sysdeps_dir -I\$(top_srcdir)/include $GLIB_CFLAGS $X_CFLAGS"
# Add various defines to the config.h file ...
AH_VERBATIM([_GNU_SOURCE],
[/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif])
AC_DEFINE([_IN_LIBGTOP], 1,
[Note that we are building libgtop rather than using it])
AC_DEFINE([LIBGTOP_VERSION], ["libgtop_version"],
[The libgtop version number])
AC_DEFINE([LIBGTOP_SERVER_VERSION], ["libgtop_server_version"],
[The libgtop server version])
AC_DEFINE([LIBGTOP_VERSION_CODE], [libgtop_version_code],
[The libgtop version number as an integer])
AC_DEFINE_UNQUOTED([LIBGTOP_SERVER], ["$LIBGTOP_SERVER"],
[The path to the libgtop server])
AC_SUBST(INCLUDES) AC_SUBST(INCLUDES)
@@ -361,7 +378,7 @@ fi
AC_SUBST(sysdeps_suid_lib) AC_SUBST(sysdeps_suid_lib)
AC_SUBST(server_programs) AC_SUBST(server_programs)
AC_OUTPUT([ AC_CONFIG_FILES([
Makefile Makefile
libgtop.spec libgtop.spec
po/Makefile.in po/Makefile.in
@@ -387,3 +404,5 @@ doc/Makefile
libgtop-2.0.pc libgtop-2.0.pc
libgtopconfig.h libgtopconfig.h
]) ])
AC_OUTPUT

View File

@@ -1,38 +1,6 @@
info_TEXINFOS = libgtop2.texi info_TEXINFOS = libgtop2.texi
libgtop2_TEXINFOS = libgtop2.texi about.texi reference.texi \ libgtop2_TEXINFOS = libgtop2.texi about.texi reference.texi \
auto-macros.texi version.texi main.texi \ version.texi main.texi white-paper.texi
white-paper.texi
MAKEINFO = @MAKEINFO@ -I @libgtop_top_builddir@/doc AM_MAKEINFOFLAGS = -I $(libgtop_top_builddir)/doc
EXTRA_DIST = auto-macros.texi.in
auto-macros.texi: auto-macros.texi.in Makefile
## Use sed and then mv to avoid problems if the user interrupts.
sed -e 's#\%LIBGTOP_LIBDIR\%#$(libdir)#g' \
-e 's#\%LIBGTOP_INCLUDEDIR\%#$(includedir)/libgtop-2.0#g' \
-e 's#\%LIBGTOP_DATADIR\%#$(datadir)#g' \
-e 's#\%LIBGTOP_EXTRA_LIBS\%#$(LIBGTOP_EXTRA_LIBS)#g' \
-e 's#\%LIBGTOP_LIBS\%#$(LIBGTOP_LIBS)#g' \
-e 's#\%LIBGTOP_INCS\%#$(LIBGTOP_INCS)#g' \
-e 's#\%LIBGTOP_BINDIR\%#$(LIBGTOP_BINDIR)#g' \
-e 's#\%LIBGTOP_SERVER\%#$(LIBGTOP_SERVER)#g' \
-e 's#\%LIBGTOP_MAJOR_VERSION\%#$(LIBGTOP_MAJOR_VERSION)#g' \
-e 's#\%LIBGTOP_MINOR_VERSION\%#$(LIBGTOP_MINOR_VERSION)#g' \
-e 's#\%LIBGTOP_MICRO_VERSION\%#$(LIBGTOP_MICRO_VERSION)#g' \
-e 's#\%LIBGTOP_VERSION\%#$(LIBGTOP_VERSION)#g' \
-e 's#\%LIBGTOP_VERSION_CODE\%#$(LIBGTOP_VERSION_CODE)#g' \
-e 's#\%LIBGTOP_SERVER_VERSION\%#$(LIBGTOP_SERVER_VERSION)#g' \
-e 's#\%libgtop_sysdeps_dir\%#$(libgtop_sysdeps_dir)#g' \
-e 's#\%libgtop_need_server\%#$(libgtop_need_server)#g' \
-e 's#\%libgtop_use_machine_h\%#$(libgtop_use_machine_h)#g' \
-e 's#\%libgtop_want_examples\%#$(libgtop_want_examples)#g' \
< $(srcdir)/auto-macros.texi.in > auto-macros.tmp
echo '@c Set this if this is LibGTop 1.1.x' >> auto-macros.tmp
if [ $(LIBGTOP_VERSION_CODE) -ge 1001000 ] ; then \
echo '@set LIBGTOP-1-1' >> auto-macros.tmp ; \
else \
echo '@clear LIBGTOP-1-1' >> auto-macros.tmp ; \
fi
mv auto-macros.tmp auto-macros.texi

View File

@@ -1,12 +0,0 @@
@c LibGTop major, minor and micro version.
@set LIBGTOP_MAJOR_VERSION %LIBGTOP_MAJOR_VERSION%
@set LIBGTOP_MINOR_VERSION %LIBGTOP_MINOR_VERSION%
@set LIBGTOP_MICRO_VERSION %LIBGTOP_MICRO_VERSION%
@c LibGTop version and numerical version code ("1.234.567" -> 1234567).
@set LIBGTOP_VERSION "%LIBGTOP_VERSION%"
@set LIBGTOP_VERSION_CODE %LIBGTOP_VERSION_CODE%
@c LibGTop server version, increased each time the protocol changes.
@set LIBGTOP_SERVER_VERSION %LIBGTOP_SERVER_VERSION%

View File

@@ -5,7 +5,6 @@
@setchapternewpage odd @setchapternewpage odd
@c %**end of header @c %**end of header
@include auto-macros.texi
@include version.texi @include version.texi
@ifinfo @ifinfo

View File

@@ -1,3 +1,6 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/fsusage.h> #include <glibtop/fsusage.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <libintl.h> #include <libintl.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <libintl.h> #include <libintl.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -18,6 +18,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <libintl.h> #include <libintl.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/procopenfiles.h> #include <glibtop/procopenfiles.h>

View File

@@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/union.h> #include <glibtop/union.h>

View File

@@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/procargs.h> #include <glibtop/procargs.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <libintl.h> #include <libintl.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <libintl.h> #include <libintl.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -21,6 +21,10 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <locale.h> #include <locale.h>
#include <stdio.h> #include <stdio.h>
#include <libintl.h> #include <libintl.h>

View File

@@ -26,10 +26,6 @@
#include <glib.h> #include <glib.h>
#ifdef _IN_LIBGTOP
#include <config.h>
#endif
#ifdef _IN_LIBGTOP #ifdef _IN_LIBGTOP
#endif /* _IN_LIBGTOP */ #endif /* _IN_LIBGTOP */

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/open.h> #include <glibtop/open.h>
#include <glibtop/error.h> #include <glibtop/error.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop/read.h> #include <glibtop/read.h>
#include <glibtop/write.h> #include <glibtop/write.h>
#include <glibtop/read_data.h> #include <glibtop/read_data.h>

View File

@@ -23,6 +23,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop-server-private.h> #include <glibtop-server-private.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/sysdeps.h> #include <glibtop/sysdeps.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/inodedb.h> #include <glibtop/inodedb.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/open.h> #include <glibtop/open.h>
#include <glibtop/read.h> #include <glibtop/read.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/parameter.h> #include <glibtop/parameter.h>
#include <glibtop/error.h> #include <glibtop/error.h>

View File

@@ -19,6 +19,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/union.h> #include <glibtop/union.h>
#include <glibtop/sysdeps.h> #include <glibtop/sysdeps.h>

View File

@@ -54,7 +54,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
fi fi
if test $libgtop_smp = yes ; then if test $libgtop_smp = yes ; then
AC_DEFINE(HAVE_LIBGTOP_SMP) AC_DEFINE(HAVE_LIBGTOP_SMP, 1, [Define if libgtop supports SMP])
fi fi
AM_CONDITIONAL(LIBGTOP_SMP, test $libgtop_smp = yes) AM_CONDITIONAL(LIBGTOP_SMP, test $libgtop_smp = yes)
@@ -152,7 +152,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
], have_i4b=yes, have_i4b=no) ], have_i4b=yes, have_i4b=no)
AC_MSG_RESULT($have_i4b) AC_MSG_RESULT($have_i4b)
if test x$have_i4b = xyes; then if test x$have_i4b = xyes; then
AC_DEFINE(HAVE_I4B) AC_DEFINE(HAVE_I4B, 1, [Define if I4B is available])
AC_MSG_CHECKING([for I4B accounting]) AC_MSG_CHECKING([for I4B accounting])
AC_TRY_COMPILE([ AC_TRY_COMPILE([
#include <sys/types.h> #include <sys/types.h>
@@ -180,7 +180,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
], have_i4b_acct=yes, have_i4b_acct=no) ], have_i4b_acct=yes, have_i4b_acct=no)
AC_MSG_RESULT($have_i4b_acct) AC_MSG_RESULT($have_i4b_acct)
if test x$have_i4b_acct = xyes ; then if test x$have_i4b_acct = xyes ; then
AC_DEFINE(HAVE_I4B_ACCT) AC_DEFINE(HAVE_I4B_ACCT, 1,
[Define if I4B accounting is supported])
else else
AC_WARN([ AC_WARN([
*** I4B accounting disabled - you won't get any PPP statistics. *** I4B accounting disabled - you won't get any PPP statistics.
@@ -211,7 +212,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
fi fi
AC_MSG_CHECKING(for Linux kernel version code) AC_MSG_CHECKING(for Linux kernel version code)
AC_DEFINE_UNQUOTED(GLIBTOP_LINUX_VERSION_CODE, $os_version_code) AC_DEFINE_UNQUOTED(GLIBTOP_LINUX_VERSION_CODE, $os_version_code,
[Same as LINUX_VERSION_CODE either from <linux/version.h> or from the running kernel (if there are no configured kernel sources).])
AC_MSG_RESULT($os_version_code) AC_MSG_RESULT($os_version_code)
;; ;;
solaris*) solaris*)
@@ -223,7 +225,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
os_version_code=`echo "$os_version_expr" | dc` os_version_code=`echo "$os_version_expr" | dc`
AC_MSG_CHECKING(for Solaris release code) AC_MSG_CHECKING(for Solaris release code)
AC_DEFINE_UNQUOTED(GLIBTOP_SOLARIS_RELEASE, $os_version_code) AC_DEFINE_UNQUOTED(GLIBTOP_SOLARIS_RELEASE, $os_version_code,
[Solaris release code (eg. 251 for Solaris 2.5.1).])
AC_MSG_RESULT($os_version_code) AC_MSG_RESULT($os_version_code)
;; ;;
esac esac
@@ -235,11 +238,12 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
AC_MSG_RESULT($libgtop_need_server) AC_MSG_RESULT($libgtop_need_server)
if test x$libgtop_need_server = xyes ; then if test x$libgtop_need_server = xyes ; then
AC_DEFINE(NEED_LIBGTOP) AC_DEFINE(NEED_LIBGTOP, 1, [Define if libgtop is required])
fi fi
if test x$libgtop_use_machine_h = xyes ; then if test x$libgtop_use_machine_h = xyes ; then
AC_DEFINE(HAVE_GLIBTOP_MACHINE_H) AC_DEFINE(HAVE_GLIBTOP_MACHINE_H, 1,
[Define if machine.h in libgtop sysdeps dir])
fi fi
AM_CONDITIONAL(NEED_LIBGTOP, test x$libgtop_need_server = xyes) AM_CONDITIONAL(NEED_LIBGTOP, test x$libgtop_need_server = xyes)

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include "daemon.h" #include "daemon.h"
#include <glibtop/error.h> #include <glibtop/error.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include "daemon.h" #include "daemon.h"
#ifdef LIBGTOP_ENABLE_DEBUG #ifdef LIBGTOP_ENABLE_DEBUG

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include "daemon.h" #include "daemon.h"
static glibtop _glibtop_global_server; static glibtop _glibtop_global_server;

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include "daemon.h" #include "daemon.h"
#include <glibtop/error.h> #include <glibtop/error.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/version.h> #include <glibtop/version.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/inodedb.h> #include <glibtop/inodedb.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/inodedb.h> #include <glibtop/inodedb.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop/close.h> #include <glibtop/close.h>
/* Closes pipe to gtop server. */ /* Closes pipe to gtop server. */

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/systemcfg.h> #include <sys/systemcfg.h>
#include <sys/sysinfo.h> #include <sys/sysinfo.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <nlist.h> #include <nlist.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/loadavg.h> #include <glibtop/loadavg.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <unistd.h> #include <unistd.h>
#include <sys/vminfo.h> #include <sys/vminfo.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <sys/msg.h> #include <sys/msg.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/netlist.h> #include <glibtop/netlist.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <net/if.h> #include <net/if.h>
#include <netinet/in.h> #include <netinet/in.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <sys/systemcfg.h> #include <sys/systemcfg.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/ppp.h> #include <glibtop/ppp.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <procinfo.h> #include <procinfo.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <procinfo.h> #include <procinfo.h>
#include <sys/proc.h> #include <sys/proc.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <procinfo.h> #include <procinfo.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -22,6 +22,7 @@
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procmap.h> #include <glibtop/procmap.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <unistd.h> #include <unistd.h>
#include <sys/vminfo.h> #include <sys/vminfo.h>
#include <sys/resource.h> #include <sys/resource.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <unistd.h> #include <unistd.h>
#include <sys/vminfo.h> #include <sys/vminfo.h>
#include <sys/resource.h> #include <sys/resource.h>

View File

@@ -21,6 +21,7 @@
Boston, MA) +2111-1307, USA. Boston, MA) +2111-1307, USA.
*/ */
#include <config.h>
#include <unistd.h> #include <unistd.h>
#include <sys/vminfo.h> #include <sys/vminfo.h>
#include <sys/resource.h> #include <sys/resource.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <procinfo.h> #include <procinfo.h>
#include <sys/thread.h> #include <sys/thread.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <unistd.h> #include <unistd.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <unistd.h> #include <unistd.h>
#include <sys/vminfo.h> #include <sys/vminfo.h>
#include <sys/resource.h> #include <sys/resource.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/sem_limits.h> #include <glibtop/sem_limits.h>
#include <glibtop/error.h> #include <glibtop/error.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <sys/shm.h> #include <sys/shm.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/signal.h> #include <glibtop/signal.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <sys/vminfo.h> #include <sys/vminfo.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <sys/times.h> #include <sys/times.h>
#include <glibtop.h> #include <glibtop.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <nlist.h> #include <nlist.h>
#include <procinfo.h> #include <procinfo.h>

View File

@@ -29,6 +29,7 @@
* ../etc/gnuserv.README relative to the directory containing this file) * ../etc/gnuserv.README relative to the directory containing this file)
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/gnuserv.h> #include <glibtop/gnuserv.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/inodedb.h> #include <glibtop/inodedb.h>

View File

@@ -1,3 +1,4 @@
#include <config.h>
#include <glibtop/procargs.h> #include <glibtop/procargs.h>
#include <glib.h> #include <glib.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/open.h> #include <glibtop/open.h>
#include <glibtop/union.h> #include <glibtop/union.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/close.h> #include <glibtop/close.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/cpu.h> #include <glibtop/cpu.h>

View File

@@ -1,3 +1,4 @@
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/fsusage.h> #include <glibtop/fsusage.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/open.h> #include <glibtop/open.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/loadavg.h> #include <glibtop/loadavg.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/mem.h> #include <glibtop/mem.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/msg_limits.h> #include <glibtop/msg_limits.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/netload.h> #include <glibtop/netload.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/open.h> #include <glibtop/open.h>
#include <glibtop/close.h> #include <glibtop/close.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/open.h> #include <glibtop/open.h>
#include <glibtop/init_hooks.h> #include <glibtop/init_hooks.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/ppp.h> #include <glibtop/ppp.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procargs.h> #include <glibtop/procargs.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/prockernel.h> #include <glibtop/prockernel.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/proclist.h> #include <glibtop/proclist.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procmap.h> #include <glibtop/procmap.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procmem.h> #include <glibtop/procmem.h>

View File

@@ -24,6 +24,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procopenfiles.h> #include <glibtop/procopenfiles.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procsegment.h> #include <glibtop/procsegment.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procsignal.h> #include <glibtop/procsignal.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procstate.h> #include <glibtop/procstate.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/proctime.h> #include <glibtop/proctime.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/procuid.h> #include <glibtop/procuid.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/sem_limits.h> #include <glibtop/sem_limits.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/shm_limits.h> #include <glibtop/shm_limits.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/signal.h> #include <glibtop/signal.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/swap.h> #include <glibtop/swap.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/uptime.h> #include <glibtop/uptime.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop/close.h> #include <glibtop/close.h>
/* Closes pipe to gtop server. */ /* Closes pipe to gtop server. */

View File

@@ -1,3 +1,4 @@
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/fsusage.h> #include <glibtop/fsusage.h>

View File

@@ -1,3 +1,4 @@
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop/msg_limits.h> #include <glibtop/msg_limits.h>
#include <sys/ipc.h> #include <sys/ipc.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/cpu.h> #include <glibtop/cpu.h>
#include <glibtop/open.h> #include <glibtop/open.h>

View File

@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
#include <config.h>
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/error.h> #include <glibtop/error.h>
#include <glibtop/ppp.h> #include <glibtop/ppp.h>

Some files were not shown because too many files have changed in this diff Show More