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.
The files fsusage.c and fsusage.h have been stolen from the GNU Coreutils package (version 5.0) and are the actual implementation of the fsusage function. The only changes that have been made to these files is that some code for SVR2 has been ripped out since it depended on some more code (SVR3 was released in 1986 and introduced shared libraries), and the functions have been prefixed with glibtop_private to avoid name clashes with user code.