2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org>
* libgtop-sysdeps.m4:
* sysdeps/freebsd/msg_limits.c:
Use configure checks to detect whether we need to define either
KERNEL or _KERNEL to get the definition of 'struct msginfo' in a
BSD system. This replaces the previous checks in the code that
relied on __FreeBSD__ and similar macros.
Before this change, the explicit definition of _KERNEL in the
msg_limits.c file broke the build in NetBSD because it made the
system headers pull in stuff unavailable to userland.
Fixes bug #337207.
2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org>
* libgtop-sysdeps.m4:
* sysdeps/freebsd/Makefile.am:
Check for the kvm library and use it to link the suid freebsd
sysdeps code (only if available). This library provides all the
kvm_* functions used in it and is needed, at least, under NetBSD.
Fixes bug #337247.
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.
2003-10-19 Carlos Perelló Marín <carlos@gnome.org>
* support/*: Reverted libgtop changes. It's a common module
and I should not modify it.
* Added/removed files. Now the move should be done.
2000-11-21 Martin Baulig <martin@home-of-linux.org>
* configure.in: Removed gnomesupport checks here and started
to use pkg-config.
* acinclude.m4: New file. Put contents of libgtop-sysdeps.m4
and xml.m4 and LIBGTOP_CHECK_TYPE here.
* libgtop-sysdeps.m4, xml.m4: Removed.
* Makefile.am (SUBDIRS): Don't compile support and macros.
2000-02-27 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (libgtop_have_sysdeps): Set this to "no" for
all systems until I made up my mind how this'll work in future.
2000-02-23 Martin Baulig <martin@home-of-linux.org>
Fix some True64 issues which were reported from Aron Griffis.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): Check for
<sys/bittype.h> and use AC_LIBGTOP_CHECK_TYPE, not AC_CHECK_TYPE.
* include/glibtop/global.h: #include <sys/bittypes.h>.
* ltmain.sh: Added this from libtool 1.3.4 (only used on Solaris).
2000-02-22 Martin Baulig <martin@home-of-linux.org>
* ltconfig: Added this to CVS and hacked it to use `$CC -shared'
to create shared libraries on Solaris.
* automake.sh: Don't run libtoolize on Solaris but use the CVS
version instead.
2000-02-16 Martin Baulig <martin@home-of-linux.org>
* configure.in (LIBGTOP_LIBS): Add `-lgtop_backend_sysdeps' and
`-lgtop_backend_common' if dynamic linking does not work.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_DYNLINK): New macro to check
whether dynamic linking works.
(libgtop_use_gmodule): Set this to `yes' or `no' depending on
whether dynamic linking of the backends work on the current system.
(LIBGTOP_USE_GMODULE): New automake conditional.
* acconfig.h (LIBGTOP_USE_GMOUDLE): Define this when dynamic
linking of the backends work on the current system.
2000-02-06 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/ppp.h (glibtop_get_ppp): Removed the `lockfile'
argument; we now use a configure check to determine the modem
lockfile.
* include/glibtop/error.h (GLIBTOP_ERROR_NEED_MODEM_LOCKFILE):
Removed this now obsolete error constant again.
* configure.in (--with-modem-lockfile): New configure parameter
to manually specify the modem lockfile.
(LIBGTOP_MODEM_LOCKFILE): Define this to be a printf-format string
for the modem lockfile; takes the interface number as argument.
2000-01-24 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): New macro.
This is the same than `GNOME_LIBGTOP_TYPES' but also checks for
`u_int8_t' and `int8_t' and it doesn't force people to put this
in their acconfig.h.
* configure.in: Use GNOME_LIBGTOP_TYPES_PRIVATE instead of
GNOME_LIBGTOP_TYPES.
2000-01-23 Martin Baulig <martin@home-of-linux.org>
* lib/sysdeps-init-kernel.c: Load the "glibtop-backend-kernel" before
"glibtop-backend-command" and "glibtop-backend-sysdeps".
* libgtop-sysdeps.m4: "kernel" is now a backend and no longer a
sysdeps port; we compile the normal "linux" sysdeps dir when we
have it.
* backends/Makefile.am: Only compile `server' and `sysdeps'
directories if appropriate.
2000-01-12 Martin Baulig <martin@home-of-linux.org>
* lib/init.c (glibtop_init_s): Call `_glibtop_open_sysdeps'.
* include/glibtop/open.h (_glibtop_open_sysdeps): Declare this
when we are _IN_LIBGTOP.
* configure.in (sysdeps_name): Define and AC_SUBST this.
(sysdeps_init_file): Define and AC_SUBST this to
`sysdeps-init-${sysdeps_name}.c'.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_SYSDEPS): Define and AC_SUBST
`libgtop_sysdeps_name'.
1999-12-26 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (LIBGTOP_CHECK_SYSDEPS_DIR): New macro;
moved check for the sysdeps directory here.
(--with-sysdeps-dir): New hacker mode command line option to
manually override the sysdeps dir. Use of this option is highly
deprecated; I only added it to be able to do `stub_suid' hackings
on my GNU/Linux machine.
1999-10-24 Martin Baulig <martin@home-of-linux.org>
The LibGTop examples have been moved into their own top-level
module libgtop-examples.
* examples/*: Removed.
* configure.in: Removed all checks for the examples.
* libgtop-sysdeps.m4: Removed --with-libgtop-examples parameter.
* Makefile.am: Removed examples from the subdir list.
1999-05-15 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4: Remove the `--enable-hacker-mode' requirement
for the BSDI, Solaris and Digital Unix ports.
1999-05-13 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4 (GLIBTOP_SOLARIS_RELEASE): Define this on Solaris;
we use version codes like 270 for SunOS 5.7 and 251 for SunOS 2.5.1.
1999-03-21 Martin Baulig <martin@home-of-linux.org>
Added a new sysctl () interface to the Linux Kernel.
* kernel/sysctl: Imported.
* libgtop-sysdeps.m4: If `--enable-hacker-mode' is given, check
for my new sysctl () interface.
1999-03-20 Martin Baulig <martin@home-of-linux.org>
Removed all traces of my old table () Linux kernel hack.
* kernel: Removed.
* sysdeps/kernel: Removed.
* libgtop-sysdeps.m4: Don't check for table (); it does not
exist any longer.
1999-03-19 Martin Baulig <martin@home-of-linux.org>
This is *untested* - please read "sysdeps/freebsd/ChangeLog" !
* libgtop-sysdeps.m4: Use the `freebsd' sysdeps directory for
BSDI as well if the `--enable-hacker-mode' parameter was given.
1999-03-17 Martin Baulig <martin@home-of-linux.org>
Imported first version of my Solaris port.
* configure.in: Check for `kstat_open' in `-lkstat'.
* libgtop-sysdeps.m4: Recognize the `solaris' sysdeps directory
when the `--enable-hacker-mode' parameter was given.
1998-12-09 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4: Moved here from the macros directory,
formerly known as `macros/gnome-libgtop-sysdeps.m4'.
(--enable-hacker-mode): New command line parameter to configure,
enables building of unstable sysdeps directories.
(LIBGTOP_HACKER_TESTS): New macro to check for unsafe things when
hacker mode was enabled.
1998-12-09 Martin Baulig <martin@home-of-linux.org>
* libgtop-sysdeps.m4: Moved here from the macros directory,
formerly known as `macros/gnome-libgtop-sysdeps.m4'.