diff options
author | James Henstridge <james@jamesh.id.au> | 2005-12-12 09:38:15 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2005-12-12 09:38:15 +0000 |
commit | aa5ac8fc10d5c04fbdf78145aa5d933685ec796d (patch) | |
tree | e05a16735aaa79cad15fb143b6ee0aded6bcb99b | |
parent | a7db1f4dfd236013291bbfd62deda29c3aa2070c (diff) | |
download | libgtop-aa5ac8fc10d5c04fbdf78145aa5d933685ec796d.tar.gz |
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.
233 files changed, 407 insertions, 546 deletions
@@ -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> * configure.in: diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index b70899e0..00000000 --- a/acconfig.h +++ /dev/null @@ -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 diff --git a/acinclude.m4 b/acinclude.m4 index b1dd1d57..79e0b374 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -30,7 +30,7 @@ changequote([,]), [#include <sys/types.h> ], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl AC_MSG_RESULT($ac_cv_type_$1) 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 ]) @@ -72,7 +72,7 @@ if eval "test \"`echo '$gcc_cv_decl_needed_'$1`\" = yes"; then AC_MSG_RESULT(yes) gcc_need_declarations="$gcc_need_declarations $1" 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 AC_MSG_RESULT(no) fi @@ -157,7 +157,8 @@ yes AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent) if test $fu_cv_sys_mounted_cray_listmntent = yes; then 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 @@ -176,7 +177,8 @@ AC_CACHE_VAL(fu_cv_sys_mounted_getmntent1, AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1) if test $fu_cv_sys_mounted_getmntent1 = yes; then 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 @@ -190,7 +192,8 @@ fu_cv_sys_mounted_getmntent2=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2) if test $fu_cv_sys_mounted_getmntent2 = yes; then 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 @@ -215,7 +218,8 @@ fu_cv_sys_mounted_getsstat=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_getsstat) if test $fu_cv_sys_mounted_getsstat = yes; then 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 @@ -229,7 +233,8 @@ fu_cv_sys_mounted_vmount=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_vmount) if test $fu_cv_sys_mounted_vmount = yes; then 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 @@ -246,7 +251,8 @@ fu_cv_sys_mounted_fread_fstyp=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp) if test $fu_cv_sys_mounted_fread_fstyp = yes; then 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 @@ -267,7 +273,8 @@ test -n "$ok" \ AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo) if test $fu_cv_sys_mounted_getmntinfo = yes; then 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 @@ -285,7 +292,8 @@ fu_cv_sys_mounted_getmnt=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_getmnt) if test $fu_cv_sys_mounted_getmnt = yes; then 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 @@ -299,7 +307,8 @@ fu_cv_sys_mounted_fread=no)]) AC_MSG_RESULT($fu_cv_sys_mounted_fread) if test $fu_cv_sys_mounted_fread = yes; then 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 @@ -328,7 +337,8 @@ fu_cv_sys_stat_statvfs=yes, fu_cv_sys_stat_statvfs=no)]) if test $fu_cv_sys_stat_statvfs = yes; then space=yes -AC_DEFINE(STAT_STATVFS) +AC_DEFINE(STAT_STATVFS, 1, + [Define if there is a function named statvfs. [SVR4]]) fi fi @@ -352,7 +362,8 @@ fu_cv_sys_stat_statfs3_osf1=no)]) AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1) if test $fu_cv_sys_stat_statfs3_osf1 = yes; then 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 @@ -383,7 +394,8 @@ fu_cv_sys_stat_statfs2_bsize=no)]) AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize) if test $fu_cv_sys_stat_statfs2_bsize = yes; then 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 @@ -404,7 +416,8 @@ fu_cv_sys_stat_statfs4=no)]) AC_MSG_RESULT($fu_cv_sys_stat_statfs4) if test $fu_cv_sys_stat_statfs4 = yes; then space=yes -AC_DEFINE(STAT_STATFS4) +AC_DEFINE(STAT_STATFS4, 1, + [Define if statfs takes 4 args. [SVR3, Dynix, Irix, Dolphin]]) fi fi @@ -432,7 +445,8 @@ fu_cv_sys_stat_statfs2_fsize=no)]) AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize) if test $fu_cv_sys_stat_statfs2_fsize = yes; then 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 @@ -463,14 +477,17 @@ fu_cv_sys_stat_fs_data=no)]) AC_MSG_RESULT($fu_cv_sys_stat_fs_data) if test $fu_cv_sys_stat_fs_data = yes; then 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 if test $space = no; then # SVR2 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 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, )]) 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 AC_MSG_RESULT($fu_cv_sys_truncating_statfs) 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 -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) -]) - - +m4_include([libgtop-sysdeps.m4]) @@ -18,4 +18,5 @@ which gnome-autogen.sh || { echo "You need to install gnome-common from the GNOME CVS" exit 1 } -USE_GNOME2_MACROS=1 . gnome-autogen.sh +REQUIRED_AUTOMAKE_VERSION=1.9 +. gnome-autogen.sh diff --git a/configure.in b/configure.in index 06539fc1..1ce9c1a1 100644 --- a/configure.in +++ b/configure.in @@ -2,59 +2,49 @@ dnl dnl Configure script for the Gnome library dnl -AC_INIT(copyright.txt) -AM_CONFIG_HEADER(config.h) -AC_CANONICAL_SYSTEM - -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) +m4_define([libgtop_major_version], [2]) +m4_define([libgtop_minor_version], [13]) +m4_define([libgtop_micro_version], [0]) +m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version]) 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 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 if any interfaces have been removed. removal has dnl precedence over adding, so set to 0 if both happened. -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= +m4_define([libgtop_age], [0]) # Increase each time you change the client/server protocol. -LIBGTOP_SERVER_VERSION=5 +m4_define([libgtop_server_version], [5]) # Version code calculation -LIBGTOP_VERSION_CODE=`expr $LIBGTOP_MAJOR_VERSION \* 1000000 + $LIBGTOP_MINOR_VERSION \* 1000 + $LIBGTOP_MICRO_VERSION` - -AC_SUBST(LIBGTOP_MAJOR_VERSION) -AC_SUBST(LIBGTOP_MINOR_VERSION) -AC_SUBST(LIBGTOP_MICRO_VERSION) -AC_SUBST(LIBGTOP_INTERFACE_AGE) -AC_SUBST(LIBGTOP_BINARY_AGE) -AC_SUBST(LIBGTOP_SERVER_VERSION) -AC_SUBST(LIBGTOP_VERSION) -AC_SUBST(LIBGTOP_VERSION_CODE) -AC_SUBST(LIBGTOP_VERSION_SUFFIX) +m4_define([libgtop_version_code], [m4_eval(libgtop_major_version * 1000000 + libgtop_minor_version * 1000 + libgtop_micro_version)]) + +AC_INIT([libgtop], [libgtop_version], + [http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop]) +AC_CONFIG_SRCDIR(copyright.txt) +AC_CONFIG_HEADERS(config.h) + +AC_CANONICAL_SYSTEM + +AM_INIT_AUTOMAKE +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 -LT_RELEASE=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION -LT_CURRENT=$LIBGTOP_CURRENT -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) +AC_SUBST(LT_VERSION_INFO, + [-version-info libgtop_current:libgtop_revision:libgtop_age]) ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ." @@ -109,7 +99,8 @@ fi AM_CONDITIONAL(INODEDB, test x$build_inodedb = xyes) 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 GLIB_REQUIRED=2.6.0 @@ -170,8 +161,9 @@ if test x$HAVE_ISDN_H = xyes ; then fi dnl AIX -AH_TEMPLATE(HAVE_VMGETINFO, [Define to 1 if you have the 'vmgetinfo' function in libperfstat]) -AC_CHECK_LIB(perfstat, vmgetinfo, AC_DEFINE(HAVE_VMGETINFO)) +AC_CHECK_LIB(perfstat, vmgetinfo, + AC_DEFINE(HAVE_VMGETINFO, 1, + [Define to 1 if you have the 'vmgetinfo' function in libperfstat])) dnl Solaris case "$host_os" in @@ -220,7 +212,7 @@ CFLAGS=$saved_CFLAGS AC_CHECK_FUNC(socket, [AC_CHECK_HEADER(netinet/in.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_TRY_LINK([ #include <sys/types.h> @@ -228,7 +220,7 @@ AC_CHECK_FUNC(socket, #include <sys/un.h> ], [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)])])])]) 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 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 +GLIB_DEFINE_LOCALEDIR([GTOPLOCALEDIR]) 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" && with_xauth=yes 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) fi CPPFLAGS="$saved_CPPFLAGS" @@ -281,8 +275,8 @@ dnl For diskusage stuff GNOME_FILEUTILS_CHECKS dnl Debugging -AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],AC_DEFINE(LIBGTOP_ENABLE_DEBUG),) -AC_ARG_ENABLE(fatal-warnings, [ --enable-fatal-warnings make all warnings fatal [debug=no]],AC_DEFINE(LIBGTOP_FATAL_WARNINGS),) +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, 1, [Define to enable fatal warnings]),) dnl These definitions are expanded in make. LIBGTOP_LIBS='-L$(libdir)' @@ -306,8 +300,14 @@ fi LIBGTOP_INCS="$LIBGTOP_INCS $GLIB_CFLAGS" -LIBGTOP_BINDIR='$(bindir)' -LIBGTOP_SERVER='$(bindir)/libgtop_server2' +libgtop_save_prefix="$prefix" +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" AC_SUBST(sysdeps_dir) @@ -340,7 +340,24 @@ if test "$GCC" = "yes" ; then $CFLAGS" 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) @@ -361,7 +378,7 @@ fi AC_SUBST(sysdeps_suid_lib) AC_SUBST(server_programs) -AC_OUTPUT([ +AC_CONFIG_FILES([ Makefile libgtop.spec po/Makefile.in @@ -387,3 +404,5 @@ doc/Makefile libgtop-2.0.pc libgtopconfig.h ]) + +AC_OUTPUT diff --git a/doc/Makefile.am b/doc/Makefile.am index 93ff815c..23f26b7d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,38 +1,6 @@ info_TEXINFOS = libgtop2.texi libgtop2_TEXINFOS = libgtop2.texi about.texi reference.texi \ - auto-macros.texi version.texi main.texi \ - white-paper.texi + version.texi main.texi white-paper.texi -MAKEINFO = @MAKEINFO@ -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 +AM_MAKEINFOFLAGS = -I $(libgtop_top_builddir)/doc diff --git a/doc/auto-macros.texi.in b/doc/auto-macros.texi.in deleted file mode 100644 index eab55b77..00000000 --- a/doc/auto-macros.texi.in +++ /dev/null @@ -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% - diff --git a/doc/libgtop2.texi b/doc/libgtop2.texi index 2dc8b31a..8ca66851 100644 --- a/doc/libgtop2.texi +++ b/doc/libgtop2.texi @@ -5,7 +5,6 @@ @setchapternewpage odd @c %**end of header -@include auto-macros.texi @include version.texi @ifinfo diff --git a/examples/df.c b/examples/df.c index b0295a46..6537ce44 100644 --- a/examples/df.c +++ b/examples/df.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <glibtop.h> #include <glibtop/fsusage.h> diff --git a/examples/first.c b/examples/first.c index fc907a73..199b2871 100644 --- a/examples/first.c +++ b/examples/first.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/mountlist.c b/examples/mountlist.c index f4a07d87..7118514b 100644 --- a/examples/mountlist.c +++ b/examples/mountlist.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/netlist.c b/examples/netlist.c index 686d733a..7f7ac773 100644 --- a/examples/netlist.c +++ b/examples/netlist.c @@ -18,6 +18,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <stdio.h> #include <glibtop.h> diff --git a/examples/netload.c b/examples/netload.c index a9439bdd..a28ea82c 100644 --- a/examples/netload.c +++ b/examples/netload.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/openfiles.c b/examples/openfiles.c index f4f0fd1b..9811fe0e 100644 --- a/examples/openfiles.c +++ b/examples/openfiles.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <glibtop.h> #include <glibtop/procopenfiles.h> diff --git a/examples/pprint.c b/examples/pprint.c index 59e55476..31dfdb0a 100644 --- a/examples/pprint.c +++ b/examples/pprint.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <glibtop.h> #include <glibtop/union.h> diff --git a/examples/procargs.c b/examples/procargs.c index 0bf4711d..d5bd1fdd 100644 --- a/examples/procargs.c +++ b/examples/procargs.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <glibtop.h> #include <glibtop/procargs.h> diff --git a/examples/procmap.c b/examples/procmap.c index d3e251ff..17501125 100644 --- a/examples/procmap.c +++ b/examples/procmap.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/second.c b/examples/second.c index cb5a7a5b..7ffee635 100644 --- a/examples/second.c +++ b/examples/second.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <math.h> #include <stdio.h> diff --git a/examples/sysdeps.c b/examples/sysdeps.c index 61fee334..a1205fcd 100644 --- a/examples/sysdeps.c +++ b/examples/sysdeps.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <libintl.h> #include <stdio.h> diff --git a/examples/timings.c b/examples/timings.c index 311b120d..09e67d25 100644 --- a/examples/timings.c +++ b/examples/timings.c @@ -21,6 +21,10 @@ Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <locale.h> #include <stdio.h> #include <libintl.h> diff --git a/include/glibtop/global.h b/include/glibtop/global.h index 0d39e0da..8c05e78f 100644 --- a/include/glibtop/global.h +++ b/include/glibtop/global.h @@ -27,10 +27,6 @@ #include <glib.h> #ifdef _IN_LIBGTOP -#include <config.h> -#endif - -#ifdef _IN_LIBGTOP #endif /* _IN_LIBGTOP */ diff --git a/lib/close.c b/lib/close.c index c0c919c2..16e2e013 100644 --- a/lib/close.c +++ b/lib/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/error.h> diff --git a/lib/command.c b/lib/command.c index 3583d60f..dd700c8f 100644 --- a/lib/command.c +++ b/lib/command.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/read.h> #include <glibtop/write.h> #include <glibtop/read_data.h> diff --git a/lib/glibtop-server.c b/lib/glibtop-server.c index d00b7983..5fbca586 100644 --- a/lib/glibtop-server.c +++ b/lib/glibtop-server.c @@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop-server-private.h> @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/sysdeps.h> diff --git a/lib/inodedb.c b/lib/inodedb.c index daa99944..fa0b529c 100644 --- a/lib/inodedb.c +++ b/lib/inodedb.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/inodedb.h> @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/read.h> diff --git a/lib/parameter.c b/lib/parameter.c index e09aba93..7f5bd2e1 100644 --- a/lib/parameter.c +++ b/lib/parameter.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/parameter.h> #include <glibtop/error.h> diff --git a/lib/sysdeps.c b/lib/sysdeps.c index e0413632..b7e76320 100644 --- a/lib/sysdeps.c +++ b/lib/sysdeps.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/union.h> #include <glibtop/sysdeps.h> diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4 index c96bbd9e..5fffc118 100644 --- a/libgtop-sysdeps.m4 +++ b/libgtop-sysdeps.m4 @@ -54,7 +54,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ fi if test $libgtop_smp = yes ; then - AC_DEFINE(HAVE_LIBGTOP_SMP) + AC_DEFINE(HAVE_LIBGTOP_SMP, 1, [Define if libgtop supports SMP]) fi AM_CONDITIONAL(LIBGTOP_SMP, test $libgtop_smp = yes) @@ -152,7 +152,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ ], have_i4b=yes, have_i4b=no) AC_MSG_RESULT($have_i4b) 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_TRY_COMPILE([ #include <sys/types.h> @@ -180,7 +180,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ ], 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) + AC_DEFINE(HAVE_I4B_ACCT, 1, + [Define if I4B accounting is supported]) else AC_WARN([ *** I4B accounting disabled - you won't get any PPP statistics. @@ -211,7 +212,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ fi 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) ;; solaris*) @@ -223,7 +225,8 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ 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_DEFINE_UNQUOTED(GLIBTOP_SOLARIS_RELEASE, $os_version_code, + [Solaris release code (eg. 251 for Solaris 2.5.1).]) AC_MSG_RESULT($os_version_code) ;; esac @@ -235,11 +238,12 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[ AC_MSG_RESULT($libgtop_need_server) if test x$libgtop_need_server = xyes ; then - AC_DEFINE(NEED_LIBGTOP) + AC_DEFINE(NEED_LIBGTOP, 1, [Define if libgtop is required]) fi 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 AM_CONDITIONAL(NEED_LIBGTOP, test x$libgtop_need_server = xyes) diff --git a/src/daemon/io.c b/src/daemon/io.c index 3f7d115d..c141d827 100644 --- a/src/daemon/io.c +++ b/src/daemon/io.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include "daemon.h" #include <glibtop/error.h> diff --git a/src/daemon/main.c b/src/daemon/main.c index 2cf9fa1e..ffb106ee 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include "daemon.h" #ifdef LIBGTOP_ENABLE_DEBUG diff --git a/src/daemon/server.c b/src/daemon/server.c index d4a7c35b..a02ea5ff 100644 --- a/src/daemon/server.c +++ b/src/daemon/server.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include "daemon.h" static glibtop _glibtop_global_server; diff --git a/src/daemon/slave.c b/src/daemon/slave.c index 4d3762da..e166687e 100644 --- a/src/daemon/slave.c +++ b/src/daemon/slave.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include "daemon.h" #include <glibtop/error.h> diff --git a/src/daemon/version.c b/src/daemon/version.c index 113c0170..c485b684 100644 --- a/src/daemon/version.c +++ b/src/daemon/version.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/version.h> diff --git a/src/inodedb/file_by_inode2.c b/src/inodedb/file_by_inode2.c index 8e4370fe..43439355 100644 --- a/src/inodedb/file_by_inode2.c +++ b/src/inodedb/file_by_inode2.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/inodedb.h> diff --git a/src/inodedb/mkinodedb2.c b/src/inodedb/mkinodedb2.c index 6317eb90..89dd4b54 100644 --- a/src/inodedb/mkinodedb2.c +++ b/src/inodedb/mkinodedb2.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/inodedb.h> diff --git a/sysdeps/aix/close.c b/sysdeps/aix/close.c index 4262d2f0..fef30820 100644 --- a/sysdeps/aix/close.c +++ b/sysdeps/aix/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/aix/cpu.c b/sysdeps/aix/cpu.c index eac0a5b6..20ad3a1a 100644 --- a/sysdeps/aix/cpu.c +++ b/sysdeps/aix/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <stdlib.h> #include <sys/systemcfg.h> #include <sys/sysinfo.h> diff --git a/sysdeps/aix/loadavg.c b/sysdeps/aix/loadavg.c index c4388e36..7068b27e 100644 --- a/sysdeps/aix/loadavg.c +++ b/sysdeps/aix/loadavg.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <nlist.h> #include <glibtop.h> #include <glibtop/loadavg.h> diff --git a/sysdeps/aix/mem.c b/sysdeps/aix/mem.c index 960b1ff3..46692675 100644 --- a/sysdeps/aix/mem.c +++ b/sysdeps/aix/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <sys/vminfo.h> diff --git a/sysdeps/aix/msg_limits.c b/sysdeps/aix/msg_limits.c index 3b527f4d..87ef5d47 100644 --- a/sysdeps/aix/msg_limits.c +++ b/sysdeps/aix/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <sys/msg.h> #include <glibtop.h> diff --git a/sysdeps/aix/netlist.c b/sysdeps/aix/netlist.c index 0f1fe569..d38ae07f 100644 --- a/sysdeps/aix/netlist.c +++ b/sysdeps/aix/netlist.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/netlist.h> diff --git a/sysdeps/aix/netload.c b/sysdeps/aix/netload.c index 0ec8cdaf..0e1e4b6f 100644 --- a/sysdeps/aix/netload.c +++ b/sysdeps/aix/netload.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <sys/socket.h> #include <net/if.h> #include <netinet/in.h> diff --git a/sysdeps/aix/nosuid.c b/sysdeps/aix/nosuid.c index c904a3a5..50f56975 100644 --- a/sysdeps/aix/nosuid.c +++ b/sysdeps/aix/nosuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <sys/systemcfg.h> #include <glibtop.h> diff --git a/sysdeps/aix/open.c b/sysdeps/aix/open.c index 5c4056ba..409b748b 100644 --- a/sysdeps/aix/open.c +++ b/sysdeps/aix/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <fcntl.h> #include <unistd.h> #include <glibtop.h> diff --git a/sysdeps/aix/ppp.c b/sysdeps/aix/ppp.c index 6d0905d5..bbbffe3b 100644 --- a/sysdeps/aix/ppp.c +++ b/sysdeps/aix/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/aix/procargs.c b/sysdeps/aix/procargs.c index 01f9e0e0..723bb0df 100644 --- a/sysdeps/aix/procargs.c +++ b/sysdeps/aix/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <procinfo.h> #include <glibtop.h> diff --git a/sysdeps/aix/prockernel.c b/sysdeps/aix/prockernel.c index f105e1dc..8738bafb 100644 --- a/sysdeps/aix/prockernel.c +++ b/sysdeps/aix/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <procinfo.h> #include <sys/proc.h> diff --git a/sysdeps/aix/proclist.c b/sysdeps/aix/proclist.c index ecba03ad..a075311e 100644 --- a/sysdeps/aix/proclist.c +++ b/sysdeps/aix/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <procinfo.h> #include <glibtop.h> diff --git a/sysdeps/aix/procmap.c b/sysdeps/aix/procmap.c index 85fcbf5e..245e1b83 100644 --- a/sysdeps/aix/procmap.c +++ b/sysdeps/aix/procmap.c @@ -22,6 +22,7 @@ */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmap.h> diff --git a/sysdeps/aix/procmem.c b/sysdeps/aix/procmem.c index 6fea79da..9d3b9eed 100644 --- a/sysdeps/aix/procmem.c +++ b/sysdeps/aix/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <sys/vminfo.h> #include <sys/resource.h> diff --git a/sysdeps/aix/procsegment.c b/sysdeps/aix/procsegment.c index b00d98db..1c8bb159 100644 --- a/sysdeps/aix/procsegment.c +++ b/sysdeps/aix/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <sys/vminfo.h> #include <sys/resource.h> diff --git a/sysdeps/aix/procsignal.c b/sysdeps/aix/procsignal.c index b0cd6ba2..4cefe17c 100644 --- a/sysdeps/aix/procsignal.c +++ b/sysdeps/aix/procsignal.c @@ -21,6 +21,7 @@ Boston, MA) +2111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <sys/vminfo.h> #include <sys/resource.h> diff --git a/sysdeps/aix/procstate.c b/sysdeps/aix/procstate.c index 6efb95c4..2d86510f 100644 --- a/sysdeps/aix/procstate.c +++ b/sysdeps/aix/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <procinfo.h> #include <sys/thread.h> diff --git a/sysdeps/aix/proctime.c b/sysdeps/aix/proctime.c index 53d837e6..ade396e9 100644 --- a/sysdeps/aix/proctime.c +++ b/sysdeps/aix/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <glibtop.h> diff --git a/sysdeps/aix/procuid.c b/sysdeps/aix/procuid.c index 675b6117..83399d4b 100644 --- a/sysdeps/aix/procuid.c +++ b/sysdeps/aix/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <sys/vminfo.h> #include <sys/resource.h> diff --git a/sysdeps/aix/sem_limits.c b/sysdeps/aix/sem_limits.c index 24418ffb..3b0b7ea7 100644 --- a/sysdeps/aix/sem_limits.c +++ b/sysdeps/aix/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/sem_limits.h> #include <glibtop/error.h> diff --git a/sysdeps/aix/shm_limits.c b/sysdeps/aix/shm_limits.c index 01a0e6ab..45620eba 100644 --- a/sysdeps/aix/shm_limits.c +++ b/sysdeps/aix/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <sys/shm.h> #include <glibtop.h> diff --git a/sysdeps/aix/siglist.c b/sysdeps/aix/siglist.c index 9778c0f8..ee5725bb 100644 --- a/sysdeps/aix/siglist.c +++ b/sysdeps/aix/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/aix/swap.c b/sysdeps/aix/swap.c index 84884a24..5ccb6be0 100644 --- a/sysdeps/aix/swap.c +++ b/sysdeps/aix/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <sys/vminfo.h> #include <glibtop.h> diff --git a/sysdeps/aix/uptime.c b/sysdeps/aix/uptime.c index 3081cc4b..074ae515 100644 --- a/sysdeps/aix/uptime.c +++ b/sysdeps/aix/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <sys/times.h> #include <glibtop.h> diff --git a/sysdeps/aix/utils.c b/sysdeps/aix/utils.c index b0108418..71e482cc 100644 --- a/sysdeps/aix/utils.c +++ b/sysdeps/aix/utils.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <nlist.h> #include <procinfo.h> diff --git a/sysdeps/common/gnuslib.c b/sysdeps/common/gnuslib.c index 3c35773a..79295485 100644 --- a/sysdeps/common/gnuslib.c +++ b/sysdeps/common/gnuslib.c @@ -29,6 +29,7 @@ * ../etc/gnuserv.README relative to the directory containing this file) */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/gnuserv.h> diff --git a/sysdeps/common/inodedb.c b/sysdeps/common/inodedb.c index daa99944..fa0b529c 100644 --- a/sysdeps/common/inodedb.c +++ b/sysdeps/common/inodedb.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/inodedb.h> diff --git a/sysdeps/common/procargs.c b/sysdeps/common/procargs.c index ba3b154b..cefdb582 100644 --- a/sysdeps/common/procargs.c +++ b/sysdeps/common/procargs.c @@ -1,3 +1,4 @@ +#include <config.h> #include <glibtop/procargs.h> #include <glib.h> diff --git a/sysdeps/common/sysdeps_suid.c b/sysdeps/common/sysdeps_suid.c index 5b52348c..537ead23 100644 --- a/sysdeps/common/sysdeps_suid.c +++ b/sysdeps/common/sysdeps_suid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/union.h> diff --git a/sysdeps/freebsd/close.c b/sysdeps/freebsd/close.c index b887a914..f2ada3ec 100644 --- a/sysdeps/freebsd/close.c +++ b/sysdeps/freebsd/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/close.h> diff --git a/sysdeps/freebsd/cpu.c b/sysdeps/freebsd/cpu.c index 377e0339..3d4098b3 100644 --- a/sysdeps/freebsd/cpu.c +++ b/sysdeps/freebsd/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/cpu.h> diff --git a/sysdeps/freebsd/fsusage.c b/sysdeps/freebsd/fsusage.c index b8245407..f0bd423d 100644 --- a/sysdeps/freebsd/fsusage.c +++ b/sysdeps/freebsd/fsusage.c @@ -1,3 +1,4 @@ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/fsusage.h> diff --git a/sysdeps/freebsd/init.c b/sysdeps/freebsd/init.c index 241754f3..d43b71f8 100644 --- a/sysdeps/freebsd/init.c +++ b/sysdeps/freebsd/init.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> diff --git a/sysdeps/freebsd/loadavg.c b/sysdeps/freebsd/loadavg.c index 569fb733..5764e475 100644 --- a/sysdeps/freebsd/loadavg.c +++ b/sysdeps/freebsd/loadavg.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/loadavg.h> diff --git a/sysdeps/freebsd/mem.c b/sysdeps/freebsd/mem.c index 1b7031ee..84e1d861 100644 --- a/sysdeps/freebsd/mem.c +++ b/sysdeps/freebsd/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/mem.h> diff --git a/sysdeps/freebsd/msg_limits.c b/sysdeps/freebsd/msg_limits.c index d0013fdf..4886e9ad 100644 --- a/sysdeps/freebsd/msg_limits.c +++ b/sysdeps/freebsd/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/msg_limits.h> diff --git a/sysdeps/freebsd/netload.c b/sysdeps/freebsd/netload.c index 79a1ce0e..157b8726 100644 --- a/sysdeps/freebsd/netload.c +++ b/sysdeps/freebsd/netload.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/netload.h> diff --git a/sysdeps/freebsd/nosuid.c b/sysdeps/freebsd/nosuid.c index 15edf79a..6bc83467 100644 --- a/sysdeps/freebsd/nosuid.c +++ b/sysdeps/freebsd/nosuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/close.h> diff --git a/sysdeps/freebsd/open.c b/sysdeps/freebsd/open.c index 2d66f39e..4703eb70 100644 --- a/sysdeps/freebsd/open.c +++ b/sysdeps/freebsd/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/init_hooks.h> diff --git a/sysdeps/freebsd/ppp.c b/sysdeps/freebsd/ppp.c index 7aebba95..1c97bdca 100644 --- a/sysdeps/freebsd/ppp.c +++ b/sysdeps/freebsd/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/freebsd/procargs.c b/sysdeps/freebsd/procargs.c index 8b19109c..9b7357ee 100644 --- a/sysdeps/freebsd/procargs.c +++ b/sysdeps/freebsd/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procargs.h> diff --git a/sysdeps/freebsd/prockernel.c b/sysdeps/freebsd/prockernel.c index 05c57d6d..a760228e 100644 --- a/sysdeps/freebsd/prockernel.c +++ b/sysdeps/freebsd/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/freebsd/proclist.c b/sysdeps/freebsd/proclist.c index 0038e426..bbb92386 100644 --- a/sysdeps/freebsd/proclist.c +++ b/sysdeps/freebsd/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/proclist.h> diff --git a/sysdeps/freebsd/procmap.c b/sysdeps/freebsd/procmap.c index d8919819..28ce1292 100644 --- a/sysdeps/freebsd/procmap.c +++ b/sysdeps/freebsd/procmap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmap.h> diff --git a/sysdeps/freebsd/procmem.c b/sysdeps/freebsd/procmem.c index 5673c544..a835f4e6 100644 --- a/sysdeps/freebsd/procmem.c +++ b/sysdeps/freebsd/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmem.h> diff --git a/sysdeps/freebsd/procopenfiles.c b/sysdeps/freebsd/procopenfiles.c index c462e395..520f9012 100644 --- a/sysdeps/freebsd/procopenfiles.c +++ b/sysdeps/freebsd/procopenfiles.c @@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procopenfiles.h> diff --git a/sysdeps/freebsd/procsegment.c b/sysdeps/freebsd/procsegment.c index 7e5473ad..460f96ad 100644 --- a/sysdeps/freebsd/procsegment.c +++ b/sysdeps/freebsd/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procsegment.h> diff --git a/sysdeps/freebsd/procsignal.c b/sysdeps/freebsd/procsignal.c index 4b6fef19..9c864882 100644 --- a/sysdeps/freebsd/procsignal.c +++ b/sysdeps/freebsd/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/freebsd/procstate.c b/sysdeps/freebsd/procstate.c index 71e09271..5f7beced 100644 --- a/sysdeps/freebsd/procstate.c +++ b/sysdeps/freebsd/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procstate.h> diff --git a/sysdeps/freebsd/proctime.c b/sysdeps/freebsd/proctime.c index 3d775365..c2f6a2ea 100644 --- a/sysdeps/freebsd/proctime.c +++ b/sysdeps/freebsd/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/proctime.h> diff --git a/sysdeps/freebsd/procuid.c b/sysdeps/freebsd/procuid.c index 53a4d40b..36aea63a 100644 --- a/sysdeps/freebsd/procuid.c +++ b/sysdeps/freebsd/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procuid.h> diff --git a/sysdeps/freebsd/sem_limits.c b/sysdeps/freebsd/sem_limits.c index 36201468..191c25c0 100644 --- a/sysdeps/freebsd/sem_limits.c +++ b/sysdeps/freebsd/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/sem_limits.h> diff --git a/sysdeps/freebsd/shm_limits.c b/sysdeps/freebsd/shm_limits.c index d69ef1e0..c7b2584b 100644 --- a/sysdeps/freebsd/shm_limits.c +++ b/sysdeps/freebsd/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/shm_limits.h> diff --git a/sysdeps/freebsd/siglist.c b/sysdeps/freebsd/siglist.c index 94abfdc6..7931ba27 100644 --- a/sysdeps/freebsd/siglist.c +++ b/sysdeps/freebsd/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/freebsd/swap.c b/sysdeps/freebsd/swap.c index ff7cef56..83b2ab1a 100644 --- a/sysdeps/freebsd/swap.c +++ b/sysdeps/freebsd/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/swap.h> diff --git a/sysdeps/freebsd/uptime.c b/sysdeps/freebsd/uptime.c index 32517b37..a7d8e40e 100644 --- a/sysdeps/freebsd/uptime.c +++ b/sysdeps/freebsd/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/uptime.h> diff --git a/sysdeps/linux/close.c b/sysdeps/linux/close.c index 4262d2f0..fef30820 100644 --- a/sysdeps/linux/close.c +++ b/sysdeps/linux/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/linux/fsusage.c b/sysdeps/linux/fsusage.c index d90e6304..c2a9107a 100644 --- a/sysdeps/linux/fsusage.c +++ b/sysdeps/linux/fsusage.c @@ -1,3 +1,4 @@ +#include <config.h> #include <glibtop.h> #include <glibtop/fsusage.h> diff --git a/sysdeps/linux/glibtop_private.c b/sysdeps/linux/glibtop_private.c index 0ff47a62..62314aea 100644 --- a/sysdeps/linux/glibtop_private.c +++ b/sysdeps/linux/glibtop_private.c @@ -1,3 +1,4 @@ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> diff --git a/sysdeps/linux/msg_limits.c b/sysdeps/linux/msg_limits.c index 8f3479ac..71ef34b4 100644 --- a/sysdeps/linux/msg_limits.c +++ b/sysdeps/linux/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/msg_limits.h> #include <sys/ipc.h> diff --git a/sysdeps/linux/open.c b/sysdeps/linux/open.c index 30d245e9..c3d8e171 100644 --- a/sysdeps/linux/open.c +++ b/sysdeps/linux/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/cpu.h> #include <glibtop/open.h> diff --git a/sysdeps/linux/ppp.c b/sysdeps/linux/ppp.c index 0d222218..dbcdd393 100644 --- a/sysdeps/linux/ppp.c +++ b/sysdeps/linux/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/linux/procargs.c b/sysdeps/linux/procargs.c index 99dd0a95..675d25a5 100644 --- a/sysdeps/linux/procargs.c +++ b/sysdeps/linux/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procargs.h> diff --git a/sysdeps/linux/prockernel.c b/sysdeps/linux/prockernel.c index 84601af3..63ed9690 100644 --- a/sysdeps/linux/prockernel.c +++ b/sysdeps/linux/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/linux/procmap.c b/sysdeps/linux/procmap.c index 03a64c33..c6752f2b 100644 --- a/sysdeps/linux/procmap.c +++ b/sysdeps/linux/procmap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glib.h> #include <glibtop.h> diff --git a/sysdeps/linux/procmem.c b/sysdeps/linux/procmem.c index 5b246d40..b41645dc 100644 --- a/sysdeps/linux/procmem.c +++ b/sysdeps/linux/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmem.h> diff --git a/sysdeps/linux/procopenfiles.c b/sysdeps/linux/procopenfiles.c index 283f72ad..0c3aaa82 100644 --- a/sysdeps/linux/procopenfiles.c +++ b/sysdeps/linux/procopenfiles.c @@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procopenfiles.h> diff --git a/sysdeps/linux/procsignal.c b/sysdeps/linux/procsignal.c index 94af3082..503c21ad 100644 --- a/sysdeps/linux/procsignal.c +++ b/sysdeps/linux/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/linux/procstate.c b/sysdeps/linux/procstate.c index ba39655d..c4d46d3c 100644 --- a/sysdeps/linux/procstate.c +++ b/sysdeps/linux/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procstate.h> diff --git a/sysdeps/linux/proctime.c b/sysdeps/linux/proctime.c index 3fbffc6a..5da0e806 100644 --- a/sysdeps/linux/proctime.c +++ b/sysdeps/linux/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/proctime.h> diff --git a/sysdeps/linux/procuid.c b/sysdeps/linux/procuid.c index bdbf3afb..d3a498eb 100644 --- a/sysdeps/linux/procuid.c +++ b/sysdeps/linux/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procuid.h> diff --git a/sysdeps/linux/sem_limits.c b/sysdeps/linux/sem_limits.c index 692da62c..8e78cf9c 100644 --- a/sysdeps/linux/sem_limits.c +++ b/sysdeps/linux/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/sem_limits.h> #include <sys/ipc.h> diff --git a/sysdeps/linux/shm_limits.c b/sysdeps/linux/shm_limits.c index 8bd17408..526c610c 100644 --- a/sysdeps/linux/shm_limits.c +++ b/sysdeps/linux/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/shm_limits.h> #include <sys/ipc.h> diff --git a/sysdeps/linux/siglist.c b/sysdeps/linux/siglist.c index 9bf7973b..c6c6dfcc 100644 --- a/sysdeps/linux/siglist.c +++ b/sysdeps/linux/siglist.c @@ -22,6 +22,7 @@ */ +#include <config.h> #include <glibtop/signal.h> #include <signal.h> diff --git a/sysdeps/osf1/close.c b/sysdeps/osf1/close.c index 4262d2f0..fef30820 100644 --- a/sysdeps/osf1/close.c +++ b/sysdeps/osf1/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/osf1/close_suid.c b/sysdeps/osf1/close_suid.c index a8733f0f..2debc4da 100644 --- a/sysdeps/osf1/close_suid.c +++ b/sysdeps/osf1/close_suid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/osf1/cpu.c b/sysdeps/osf1/cpu.c index b8ccfc85..6f964fa2 100644 --- a/sysdeps/osf1/cpu.c +++ b/sysdeps/osf1/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/cpu.h> diff --git a/sysdeps/osf1/mem.c b/sysdeps/osf1/mem.c index b1010589..4e527045 100644 --- a/sysdeps/osf1/mem.c +++ b/sysdeps/osf1/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/mem.h> diff --git a/sysdeps/osf1/msg_limits.c b/sysdeps/osf1/msg_limits.c index 2d73bf92..6b3057ca 100644 --- a/sysdeps/osf1/msg_limits.c +++ b/sysdeps/osf1/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/msg_limits.h> diff --git a/sysdeps/osf1/netload.c b/sysdeps/osf1/netload.c index bb1226ed..2561bd25 100644 --- a/sysdeps/osf1/netload.c +++ b/sysdeps/osf1/netload.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/netload.h> diff --git a/sysdeps/osf1/open.c b/sysdeps/osf1/open.c index 645e22d8..62545ade 100644 --- a/sysdeps/osf1/open.c +++ b/sysdeps/osf1/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> diff --git a/sysdeps/osf1/open_suid.c b/sysdeps/osf1/open_suid.c index 913169e3..a4ebf058 100644 --- a/sysdeps/osf1/open_suid.c +++ b/sysdeps/osf1/open_suid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/init_hooks.h> diff --git a/sysdeps/osf1/ppp.c b/sysdeps/osf1/ppp.c index 6d0905d5..bbbffe3b 100644 --- a/sysdeps/osf1/ppp.c +++ b/sysdeps/osf1/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/osf1/procargs.c b/sysdeps/osf1/procargs.c index 90d05c9c..d37facaf 100644 --- a/sysdeps/osf1/procargs.c +++ b/sysdeps/osf1/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procargs.h> diff --git a/sysdeps/osf1/prockernel.c b/sysdeps/osf1/prockernel.c index e6417327..49a2ad68 100644 --- a/sysdeps/osf1/prockernel.c +++ b/sysdeps/osf1/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/osf1/proclist.c b/sysdeps/osf1/proclist.c index 3caf81ad..db91d6dd 100644 --- a/sysdeps/osf1/proclist.c +++ b/sysdeps/osf1/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/proclist.h> diff --git a/sysdeps/osf1/procmap.c b/sysdeps/osf1/procmap.c index 44d91b24..3c692acf 100644 --- a/sysdeps/osf1/procmap.c +++ b/sysdeps/osf1/procmap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmap.h> diff --git a/sysdeps/osf1/procmem.c b/sysdeps/osf1/procmem.c index d8617426..0eafeb6c 100644 --- a/sysdeps/osf1/procmem.c +++ b/sysdeps/osf1/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmem.h> diff --git a/sysdeps/osf1/procsegment.c b/sysdeps/osf1/procsegment.c index 5a664d4c..9f37b412 100644 --- a/sysdeps/osf1/procsegment.c +++ b/sysdeps/osf1/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsegment.h> diff --git a/sysdeps/osf1/procsignal.c b/sysdeps/osf1/procsignal.c index 3e4f1174..26bbad22 100644 --- a/sysdeps/osf1/procsignal.c +++ b/sysdeps/osf1/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/osf1/procstate.c b/sysdeps/osf1/procstate.c index 31edb4e4..f855b98d 100644 --- a/sysdeps/osf1/procstate.c +++ b/sysdeps/osf1/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procstate.h> diff --git a/sysdeps/osf1/proctime.c b/sysdeps/osf1/proctime.c index 4208e926..3ef11874 100644 --- a/sysdeps/osf1/proctime.c +++ b/sysdeps/osf1/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proctime.h> diff --git a/sysdeps/osf1/procuid.c b/sysdeps/osf1/procuid.c index 5c12505d..76a643ca 100644 --- a/sysdeps/osf1/procuid.c +++ b/sysdeps/osf1/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procuid.h> diff --git a/sysdeps/osf1/sem_limits.c b/sysdeps/osf1/sem_limits.c index 924890df..cccfb4e4 100644 --- a/sysdeps/osf1/sem_limits.c +++ b/sysdeps/osf1/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/sem_limits.h> diff --git a/sysdeps/osf1/shm_limits.c b/sysdeps/osf1/shm_limits.c index 9ce67a2a..7be04d85 100644 --- a/sysdeps/osf1/shm_limits.c +++ b/sysdeps/osf1/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/shm_limits.h> diff --git a/sysdeps/osf1/siglist.c b/sysdeps/osf1/siglist.c index c5bd59c0..2330987e 100644 --- a/sysdeps/osf1/siglist.c +++ b/sysdeps/osf1/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/osf1/swap.c b/sysdeps/osf1/swap.c index 917f8b4b..90a645d5 100644 --- a/sysdeps/osf1/swap.c +++ b/sysdeps/osf1/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/swap.h> diff --git a/sysdeps/osf1/uptime.c b/sysdeps/osf1/uptime.c index fbc7d4a2..1dd3eb06 100644 --- a/sysdeps/osf1/uptime.c +++ b/sysdeps/osf1/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/uptime.h> diff --git a/sysdeps/solaris/close.c b/sysdeps/solaris/close.c index 4262d2f0..fef30820 100644 --- a/sysdeps/solaris/close.c +++ b/sysdeps/solaris/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/solaris/close_suid.c b/sysdeps/solaris/close_suid.c index a8733f0f..2debc4da 100644 --- a/sysdeps/solaris/close_suid.c +++ b/sysdeps/solaris/close_suid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/solaris/cpu.c b/sysdeps/solaris/cpu.c index 430e00b1..4f884acc 100644 --- a/sysdeps/solaris/cpu.c +++ b/sysdeps/solaris/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/cpu.h> diff --git a/sysdeps/solaris/loadavg.c b/sysdeps/solaris/loadavg.c index 8a3dd834..999dbdc6 100644 --- a/sysdeps/solaris/loadavg.c +++ b/sysdeps/solaris/loadavg.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/loadavg.h> diff --git a/sysdeps/solaris/mem.c b/sysdeps/solaris/mem.c index 32bf8bb0..039d6e9b 100644 --- a/sysdeps/solaris/mem.c +++ b/sysdeps/solaris/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/mem.h> diff --git a/sysdeps/solaris/msg_limits.c b/sysdeps/solaris/msg_limits.c index e8b4f616..51719038 100644 --- a/sysdeps/solaris/msg_limits.c +++ b/sysdeps/solaris/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/msg_limits.h> diff --git a/sysdeps/solaris/netlist.c b/sysdeps/solaris/netlist.c index 6276a9a8..ce3ddd2b 100644 --- a/sysdeps/solaris/netlist.c +++ b/sysdeps/solaris/netlist.c @@ -17,6 +17,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <string.h> #include <kstat.h> diff --git a/sysdeps/solaris/netload.c b/sysdeps/solaris/netload.c index beebedba..addaf377 100644 --- a/sysdeps/solaris/netload.c +++ b/sysdeps/solaris/netload.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/netload.h> diff --git a/sysdeps/solaris/open.c b/sysdeps/solaris/open.c index 6f8ff32d..998b7655 100644 --- a/sysdeps/solaris/open.c +++ b/sysdeps/solaris/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/open.h> #include <glibtop/cpu.h> #include <glibtop/error.h> diff --git a/sysdeps/solaris/open_suid.c b/sysdeps/solaris/open_suid.c index b447fdbe..d9a5306c 100644 --- a/sysdeps/solaris/open_suid.c +++ b/sysdeps/solaris/open_suid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/init_hooks.h> diff --git a/sysdeps/solaris/ppp.c b/sysdeps/solaris/ppp.c index 6d0905d5..bbbffe3b 100644 --- a/sysdeps/solaris/ppp.c +++ b/sysdeps/solaris/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/solaris/procargs.c b/sysdeps/solaris/procargs.c index a5bad8bd..1c844664 100644 --- a/sysdeps/solaris/procargs.c +++ b/sysdeps/solaris/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procargs.h> diff --git a/sysdeps/solaris/procdata.c b/sysdeps/solaris/procdata.c index d27a7c83..10450d3f 100644 --- a/sysdeps/solaris/procdata.c +++ b/sysdeps/solaris/procdata.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop_private.h> #include <glibtop/procuid.h> diff --git a/sysdeps/solaris/prockernel.c b/sysdeps/solaris/prockernel.c index d06f6cab..b59f4537 100644 --- a/sysdeps/solaris/prockernel.c +++ b/sysdeps/solaris/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/solaris/proclist.c b/sysdeps/solaris/proclist.c index 1024ae03..da7aa559 100644 --- a/sysdeps/solaris/proclist.c +++ b/sysdeps/solaris/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proclist.h> diff --git a/sysdeps/solaris/procmap.c b/sysdeps/solaris/procmap.c index 2935e417..a1e7d6c2 100644 --- a/sysdeps/solaris/procmap.c +++ b/sysdeps/solaris/procmap.c @@ -22,6 +22,7 @@ */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmap.h> diff --git a/sysdeps/solaris/procmem.c b/sysdeps/solaris/procmem.c index 66730ccb..fb735b72 100644 --- a/sysdeps/solaris/procmem.c +++ b/sysdeps/solaris/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procmem.h> diff --git a/sysdeps/solaris/procsegment.c b/sysdeps/solaris/procsegment.c index b03709d4..faf14bcc 100644 --- a/sysdeps/solaris/procsegment.c +++ b/sysdeps/solaris/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsegment.h> diff --git a/sysdeps/solaris/procsignal.c b/sysdeps/solaris/procsignal.c index c20cb70f..5de2333a 100644 --- a/sysdeps/solaris/procsignal.c +++ b/sysdeps/solaris/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/solaris/procstate.c b/sysdeps/solaris/procstate.c index c356bc94..3d34dd27 100644 --- a/sysdeps/solaris/procstate.c +++ b/sysdeps/solaris/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procstate.h> diff --git a/sysdeps/solaris/proctime.c b/sysdeps/solaris/proctime.c index 6fef5169..0e85127b 100644 --- a/sysdeps/solaris/proctime.c +++ b/sysdeps/solaris/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proctime.h> diff --git a/sysdeps/solaris/procuid.c b/sysdeps/solaris/procuid.c index f763757d..082fd83f 100644 --- a/sysdeps/solaris/procuid.c +++ b/sysdeps/solaris/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procuid.h> diff --git a/sysdeps/solaris/safeio.c b/sysdeps/solaris/safeio.c index d322fd7e..456341e1 100644 --- a/sysdeps/solaris/safeio.c +++ b/sysdeps/solaris/safeio.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <unistd.h> #include <fcntl.h> #include <sys/types.h> diff --git a/sysdeps/solaris/sem_limits.c b/sysdeps/solaris/sem_limits.c index c121a1d5..d48892da 100644 --- a/sysdeps/solaris/sem_limits.c +++ b/sysdeps/solaris/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/sem_limits.h> diff --git a/sysdeps/solaris/shm_limits.c b/sysdeps/solaris/shm_limits.c index 08586b76..f009f390 100644 --- a/sysdeps/solaris/shm_limits.c +++ b/sysdeps/solaris/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/shm_limits.h> diff --git a/sysdeps/solaris/siglist.c b/sysdeps/solaris/siglist.c index 292bb73e..6ee8c411 100644 --- a/sysdeps/solaris/siglist.c +++ b/sysdeps/solaris/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/solaris/swap.c b/sysdeps/solaris/swap.c index a80e7dd4..b0a28113 100644 --- a/sysdeps/solaris/swap.c +++ b/sysdeps/solaris/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/swap.h> diff --git a/sysdeps/solaris/uptime.c b/sysdeps/solaris/uptime.c index 9a672bab..8eb8b40d 100644 --- a/sysdeps/solaris/uptime.c +++ b/sysdeps/solaris/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/uptime.h> diff --git a/sysdeps/stub/close.c b/sysdeps/stub/close.c index 4262d2f0..fef30820 100644 --- a/sysdeps/stub/close.c +++ b/sysdeps/stub/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/stub/cpu.c b/sysdeps/stub/cpu.c index 3ddfdfb8..7f9cec53 100644 --- a/sysdeps/stub/cpu.c +++ b/sysdeps/stub/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/cpu.h> diff --git a/sysdeps/stub/loadavg.c b/sysdeps/stub/loadavg.c index 9bf900f5..6fc445f5 100644 --- a/sysdeps/stub/loadavg.c +++ b/sysdeps/stub/loadavg.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/loadavg.h> diff --git a/sysdeps/stub/mem.c b/sysdeps/stub/mem.c index 8a2c31a5..a34d4eed 100644 --- a/sysdeps/stub/mem.c +++ b/sysdeps/stub/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/mem.h> diff --git a/sysdeps/stub/msg_limits.c b/sysdeps/stub/msg_limits.c index adee0dae..017f7f81 100644 --- a/sysdeps/stub/msg_limits.c +++ b/sysdeps/stub/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/msg_limits.h> diff --git a/sysdeps/stub/netlist.c b/sysdeps/stub/netlist.c index 0f1fe569..d38ae07f 100644 --- a/sysdeps/stub/netlist.c +++ b/sysdeps/stub/netlist.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/netlist.h> diff --git a/sysdeps/stub/netload.c b/sysdeps/stub/netload.c index beebedba..addaf377 100644 --- a/sysdeps/stub/netload.c +++ b/sysdeps/stub/netload.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/netload.h> diff --git a/sysdeps/stub/open.c b/sysdeps/stub/open.c index eef22d71..ed992cb6 100644 --- a/sysdeps/stub/open.c +++ b/sysdeps/stub/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/open.h> /* Opens pipe to gtop server. Returns 0 on success and -1 on error. */ diff --git a/sysdeps/stub/ppp.c b/sysdeps/stub/ppp.c index 6d0905d5..bbbffe3b 100644 --- a/sysdeps/stub/ppp.c +++ b/sysdeps/stub/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/stub/procargs.c b/sysdeps/stub/procargs.c index c009839b..e28765b8 100644 --- a/sysdeps/stub/procargs.c +++ b/sysdeps/stub/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procargs.h> diff --git a/sysdeps/stub/prockernel.c b/sysdeps/stub/prockernel.c index d06f6cab..b59f4537 100644 --- a/sysdeps/stub/prockernel.c +++ b/sysdeps/stub/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/stub/proclist.c b/sysdeps/stub/proclist.c index 0bb5ea07..81919ed2 100644 --- a/sysdeps/stub/proclist.c +++ b/sysdeps/stub/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proclist.h> diff --git a/sysdeps/stub/procmap.c b/sysdeps/stub/procmap.c index c28fab88..2e06a244 100644 --- a/sysdeps/stub/procmap.c +++ b/sysdeps/stub/procmap.c @@ -22,6 +22,7 @@ */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmap.h> diff --git a/sysdeps/stub/procmem.c b/sysdeps/stub/procmem.c index ab0c4170..e93010fb 100644 --- a/sysdeps/stub/procmem.c +++ b/sysdeps/stub/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procmem.h> diff --git a/sysdeps/stub/procopenfiles.c b/sysdeps/stub/procopenfiles.c index 222bc796..4b5c72dd 100644 --- a/sysdeps/stub/procopenfiles.c +++ b/sysdeps/stub/procopenfiles.c @@ -23,6 +23,7 @@ */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procopenfiles.h> diff --git a/sysdeps/stub/procsegment.c b/sysdeps/stub/procsegment.c index b03709d4..faf14bcc 100644 --- a/sysdeps/stub/procsegment.c +++ b/sysdeps/stub/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsegment.h> diff --git a/sysdeps/stub/procsignal.c b/sysdeps/stub/procsignal.c index 540960f5..c84573f1 100644 --- a/sysdeps/stub/procsignal.c +++ b/sysdeps/stub/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/stub/procstate.c b/sysdeps/stub/procstate.c index 227f52ee..d26b3f88 100644 --- a/sysdeps/stub/procstate.c +++ b/sysdeps/stub/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procstate.h> diff --git a/sysdeps/stub/proctime.c b/sysdeps/stub/proctime.c index 4c060235..f4e90ced 100644 --- a/sysdeps/stub/proctime.c +++ b/sysdeps/stub/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proctime.h> diff --git a/sysdeps/stub/procuid.c b/sysdeps/stub/procuid.c index f9f68311..61b43d4f 100644 --- a/sysdeps/stub/procuid.c +++ b/sysdeps/stub/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procuid.h> diff --git a/sysdeps/stub/sem_limits.c b/sysdeps/stub/sem_limits.c index 474ce8c7..0ecde5a1 100644 --- a/sysdeps/stub/sem_limits.c +++ b/sysdeps/stub/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/sem_limits.h> diff --git a/sysdeps/stub/shm_limits.c b/sysdeps/stub/shm_limits.c index 8a024b4a..c1b7e8d5 100644 --- a/sysdeps/stub/shm_limits.c +++ b/sysdeps/stub/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/shm_limits.h> diff --git a/sysdeps/stub/siglist.c b/sysdeps/stub/siglist.c index 94abfdc6..7931ba27 100644 --- a/sysdeps/stub/siglist.c +++ b/sysdeps/stub/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/stub/swap.c b/sysdeps/stub/swap.c index 4731b8e3..651fc7f5 100644 --- a/sysdeps/stub/swap.c +++ b/sysdeps/stub/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/swap.h> diff --git a/sysdeps/stub/uptime.c b/sysdeps/stub/uptime.c index a6189448..449a2878 100644 --- a/sysdeps/stub/uptime.c +++ b/sysdeps/stub/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/uptime.h> diff --git a/sysdeps/stub_suid/close.c b/sysdeps/stub_suid/close.c index 4262d2f0..fef30820 100644 --- a/sysdeps/stub_suid/close.c +++ b/sysdeps/stub_suid/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/stub_suid/cpu.c b/sysdeps/stub_suid/cpu.c index 5eb11297..04a1e7df 100644 --- a/sysdeps/stub_suid/cpu.c +++ b/sysdeps/stub_suid/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/cpu.h> diff --git a/sysdeps/stub_suid/init.c b/sysdeps/stub_suid/init.c index 3d74cab2..73b614c7 100644 --- a/sysdeps/stub_suid/init.c +++ b/sysdeps/stub_suid/init.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> diff --git a/sysdeps/stub_suid/loadavg.c b/sysdeps/stub_suid/loadavg.c index a59af22c..d805f548 100644 --- a/sysdeps/stub_suid/loadavg.c +++ b/sysdeps/stub_suid/loadavg.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/loadavg.h> diff --git a/sysdeps/stub_suid/mem.c b/sysdeps/stub_suid/mem.c index 0a6b95a4..df4efcae 100644 --- a/sysdeps/stub_suid/mem.c +++ b/sysdeps/stub_suid/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/mem.h> diff --git a/sysdeps/stub_suid/msg_limits.c b/sysdeps/stub_suid/msg_limits.c index 07ee9ba9..5ede9c27 100644 --- a/sysdeps/stub_suid/msg_limits.c +++ b/sysdeps/stub_suid/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/msg_limits.h> diff --git a/sysdeps/stub_suid/netload.c b/sysdeps/stub_suid/netload.c index bb1226ed..2561bd25 100644 --- a/sysdeps/stub_suid/netload.c +++ b/sysdeps/stub_suid/netload.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/netload.h> diff --git a/sysdeps/stub_suid/nosuid.c b/sysdeps/stub_suid/nosuid.c index 9f6ce9cb..c1479024 100644 --- a/sysdeps/stub_suid/nosuid.c +++ b/sysdeps/stub_suid/nosuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> diff --git a/sysdeps/stub_suid/open.c b/sysdeps/stub_suid/open.c index d498f795..bee3c59d 100644 --- a/sysdeps/stub_suid/open.c +++ b/sysdeps/stub_suid/open.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/init_hooks.h> diff --git a/sysdeps/stub_suid/ppp.c b/sysdeps/stub_suid/ppp.c index 67d01fcf..07fd66fd 100644 --- a/sysdeps/stub_suid/ppp.c +++ b/sysdeps/stub_suid/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/stub_suid/procargs.c b/sysdeps/stub_suid/procargs.c index 90d05c9c..d37facaf 100644 --- a/sysdeps/stub_suid/procargs.c +++ b/sysdeps/stub_suid/procargs.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procargs.h> diff --git a/sysdeps/stub_suid/prockernel.c b/sysdeps/stub_suid/prockernel.c index e6417327..49a2ad68 100644 --- a/sysdeps/stub_suid/prockernel.c +++ b/sysdeps/stub_suid/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/stub_suid/proclist.c b/sysdeps/stub_suid/proclist.c index 38171fce..da0b4d42 100644 --- a/sysdeps/stub_suid/proclist.c +++ b/sysdeps/stub_suid/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/proclist.h> diff --git a/sysdeps/stub_suid/procmap.c b/sysdeps/stub_suid/procmap.c index 44d91b24..3c692acf 100644 --- a/sysdeps/stub_suid/procmap.c +++ b/sysdeps/stub_suid/procmap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmap.h> diff --git a/sysdeps/stub_suid/procmem.c b/sysdeps/stub_suid/procmem.c index 0282e3a4..e058c50f 100644 --- a/sysdeps/stub_suid/procmem.c +++ b/sysdeps/stub_suid/procmem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procmem.h> diff --git a/sysdeps/stub_suid/procsegment.c b/sysdeps/stub_suid/procsegment.c index 9e77f23e..3b8567fa 100644 --- a/sysdeps/stub_suid/procsegment.c +++ b/sysdeps/stub_suid/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procsegment.h> diff --git a/sysdeps/stub_suid/procsignal.c b/sysdeps/stub_suid/procsignal.c index ae1fe7d9..c26ba7be 100644 --- a/sysdeps/stub_suid/procsignal.c +++ b/sysdeps/stub_suid/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/stub_suid/procstate.c b/sysdeps/stub_suid/procstate.c index bfdfef58..a2dbcd64 100644 --- a/sysdeps/stub_suid/procstate.c +++ b/sysdeps/stub_suid/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procstate.h> diff --git a/sysdeps/stub_suid/proctime.c b/sysdeps/stub_suid/proctime.c index 03408512..eebaa1ca 100644 --- a/sysdeps/stub_suid/proctime.c +++ b/sysdeps/stub_suid/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/proctime.h> diff --git a/sysdeps/stub_suid/procuid.c b/sysdeps/stub_suid/procuid.c index d058ecf4..50ea177e 100644 --- a/sysdeps/stub_suid/procuid.c +++ b/sysdeps/stub_suid/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/procuid.h> diff --git a/sysdeps/stub_suid/sem_limits.c b/sysdeps/stub_suid/sem_limits.c index c0404758..3f9172bd 100644 --- a/sysdeps/stub_suid/sem_limits.c +++ b/sysdeps/stub_suid/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/sem_limits.h> diff --git a/sysdeps/stub_suid/shm_limits.c b/sysdeps/stub_suid/shm_limits.c index feeb63d1..5d446862 100644 --- a/sysdeps/stub_suid/shm_limits.c +++ b/sysdeps/stub_suid/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/shm_limits.h> diff --git a/sysdeps/stub_suid/siglist.c b/sysdeps/stub_suid/siglist.c index 94abfdc6..7931ba27 100644 --- a/sysdeps/stub_suid/siglist.c +++ b/sysdeps/stub_suid/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/stub_suid/swap.c b/sysdeps/stub_suid/swap.c index ce6aa972..6ed35c08 100644 --- a/sysdeps/stub_suid/swap.c +++ b/sysdeps/stub_suid/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/swap.h> diff --git a/sysdeps/stub_suid/uptime.c b/sysdeps/stub_suid/uptime.c index 3a72b5d7..303d1f4f 100644 --- a/sysdeps/stub_suid/uptime.c +++ b/sysdeps/stub_suid/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/uptime.h> diff --git a/sysdeps/sun4/close.c b/sysdeps/sun4/close.c index a8733f0f..2debc4da 100644 --- a/sysdeps/sun4/close.c +++ b/sysdeps/sun4/close.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop/close.h> /* Closes pipe to gtop server. */ diff --git a/sysdeps/sun4/cpu.c b/sysdeps/sun4/cpu.c index 94101c80..5196ba9b 100644 --- a/sysdeps/sun4/cpu.c +++ b/sysdeps/sun4/cpu.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/cpu.h> diff --git a/sysdeps/sun4/loadavg.c b/sysdeps/sun4/loadavg.c index fa765d11..72493ca6 100644 --- a/sysdeps/sun4/loadavg.c +++ b/sysdeps/sun4/loadavg.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/loadavg.h> diff --git a/sysdeps/sun4/mem.c b/sysdeps/sun4/mem.c index 7e8d7aeb..a6d5a3a3 100644 --- a/sysdeps/sun4/mem.c +++ b/sysdeps/sun4/mem.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/mem.h> diff --git a/sysdeps/sun4/msg_limits.c b/sysdeps/sun4/msg_limits.c index 154dc301..888c3457 100644 --- a/sysdeps/sun4/msg_limits.c +++ b/sysdeps/sun4/msg_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/msg_limits.h> diff --git a/sysdeps/sun4/nosuid.c b/sysdeps/sun4/nosuid.c index cd52852c..a9fe0e2b 100644 --- a/sysdeps/sun4/nosuid.c +++ b/sysdeps/sun4/nosuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/close.h> diff --git a/sysdeps/sun4/ppp.c b/sysdeps/sun4/ppp.c index 6d0905d5..bbbffe3b 100644 --- a/sysdeps/sun4/ppp.c +++ b/sysdeps/sun4/ppp.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/error.h> #include <glibtop/ppp.h> diff --git a/sysdeps/sun4/prockernel.c b/sysdeps/sun4/prockernel.c index 3625225e..2812918f 100644 --- a/sysdeps/sun4/prockernel.c +++ b/sysdeps/sun4/prockernel.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/prockernel.h> diff --git a/sysdeps/sun4/proclist.c b/sysdeps/sun4/proclist.c index dd13e0c1..4b5c8aa1 100644 --- a/sysdeps/sun4/proclist.c +++ b/sysdeps/sun4/proclist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proclist.h> diff --git a/sysdeps/sun4/procsegment.c b/sysdeps/sun4/procsegment.c index 4ace858e..b0762052 100644 --- a/sysdeps/sun4/procsegment.c +++ b/sysdeps/sun4/procsegment.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsegment.h> diff --git a/sysdeps/sun4/procsignal.c b/sysdeps/sun4/procsignal.c index 6a3e88ed..e72d8512 100644 --- a/sysdeps/sun4/procsignal.c +++ b/sysdeps/sun4/procsignal.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procsignal.h> diff --git a/sysdeps/sun4/procstate.c b/sysdeps/sun4/procstate.c index 372bf51c..c80d10ca 100644 --- a/sysdeps/sun4/procstate.c +++ b/sysdeps/sun4/procstate.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procstate.h> diff --git a/sysdeps/sun4/proctime.c b/sysdeps/sun4/proctime.c index 353085fc..df797e7d 100644 --- a/sysdeps/sun4/proctime.c +++ b/sysdeps/sun4/proctime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/proctime.h> diff --git a/sysdeps/sun4/procuid.c b/sysdeps/sun4/procuid.c index ef883fec..af7c4a5e 100644 --- a/sysdeps/sun4/procuid.c +++ b/sysdeps/sun4/procuid.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/procuid.h> diff --git a/sysdeps/sun4/sem_limits.c b/sysdeps/sun4/sem_limits.c index 47003813..de53d392 100644 --- a/sysdeps/sun4/sem_limits.c +++ b/sysdeps/sun4/sem_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/sem_limits.h> diff --git a/sysdeps/sun4/shm_limits.c b/sysdeps/sun4/shm_limits.c index a4e254cc..cd91267d 100644 --- a/sysdeps/sun4/shm_limits.c +++ b/sysdeps/sun4/shm_limits.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/shm_limits.h> diff --git a/sysdeps/sun4/siglist.c b/sysdeps/sun4/siglist.c index c5bd59c0..2330987e 100644 --- a/sysdeps/sun4/siglist.c +++ b/sysdeps/sun4/siglist.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/signal.h> diff --git a/sysdeps/sun4/swap.c b/sysdeps/sun4/swap.c index 3c93e3a7..f71c9913 100644 --- a/sysdeps/sun4/swap.c +++ b/sysdeps/sun4/swap.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/swap.h> diff --git a/sysdeps/sun4/uptime.c b/sysdeps/sun4/uptime.c index f3debf99..406bed1c 100644 --- a/sysdeps/sun4/uptime.c +++ b/sysdeps/sun4/uptime.c @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ +#include <config.h> #include <glibtop.h> #include <glibtop/cpu.h> #include <glibtop/uptime.h> |