summaryrefslogtreecommitdiff
path: root/libgtop-sysdeps.m4
Commit message (Collapse)AuthorAgeFilesLines
* Check for kinfo_getfile on FreeBSDTing-Wei Lan2019-10-311-0/+3
| | | | | | Code in sysdeps/freebsd contains a lot of HAVE_KINFO_GETFILE checks, but the macro is always undefined because the configure script doesn't check for it. To fix it, add required checks for kinfo_getfile function.
* Make linux build with server.Benoît Dejean2018-03-261-1/+2
| | | | | Add suid infrastructure. Demo proc_map.
* Rename --with-libgtop-examples to --with-examplesTing-Wei Lan2016-08-201-1/+1
| | | | | | | | This makes what commit 598374b wanted to do really work. The 9-year-old commit was intented to rename the option, but it modified the help string without changing the first argument of AC_ARG_WITH. https://bugzilla.gnome.org/show_bug.cgi?id=770165
* Always define gligtop_machine.Benoit Dejean2015-08-081-24/+0
| | | | | | | | | | | There was an ABI mismatch because HAVE_GLIBTOP_MACHINE was only defined when compiling the library itself. The library code would then use a larger struct glibtop (with a machine member) than the application code. Everyone defines a glibtop_machine but linux (though it as a glibtop_machine.h) and cygwin (code unchanged for 5 years) so this should not break anything.
* Drop --with-libgtop-smp.Benoît Dejean2015-07-101-27/+0
| | | | No code uses this switch.
* Rename NEED_LIBGTOP to LIBGTOP_NEED_SERVER.Benoit Dejean2015-06-261-4/+4
|
* freebsd: don't link to libgeomRyan Lortie2014-02-201-14/+0
| | | | | | | | | | | libgeom declares several symbols in GLib's namespace, including g_close() and it therefore cannot be used from any program that also uses GLib. For now, disable the parts of the FreeBSD sysdep that use libgeom. Hopefully the libgeom API will be changed soon. https://bugzilla.gnome.org/show_bug.cgi?id=723685
* Fix build issues on FreeBSDTing-Wei Lan2014-02-201-1/+4
|
* openbsd: merge patches from ports treeAntoine Jacoutot2014-02-031-0/+2
| | | | | | | | Bring OpenBSD closer to FreeBSD to help checking what is missing/different. Also we make sure to use and build mountlist and fsusage from the sysdeps/openbsd directory instead of the common one. https://bugzilla.gnome.org/show_bug.cgi?id=723521
* Fixed automake warningRobert Roth2013-08-221-8/+8
|
* Fixed automake warningRobert Roth2013-08-221-2/+2
|
* Revert "Fixed missing cache-id warning" as it breaks jhbuild.Robert Roth2013-08-221-8/+8
| | | | This reverts commit 4cffb2f094c7730ee10a835ecd142a7e143c536e.
* Fixed missing cache-id warningRobert Roth2013-08-211-8/+8
|
* Dont add extra libs for kfreebsdPetr Salinger2011-08-301-7/+1
| | | | | | | The current version fails to build on GNU/kFreeBSD. The problem is due to cleanup in GNU/kFreeBSD world https://bugzilla.gnome.org/show_bug.cgi?id=601319
* Split off OpenBSD code into a separate implementationJasper Lievisse Adriaanse2011-06-161-1/+7
| | | | | | Move OpenBSD code into its own sysdeps directory. The changes from bsd/ were becoming to hard to maintain as a #ifdef tree. This is what's currently being distributed as part of OpenBSD ports.
* Cygwin: Add private mountlist support.Yaakov Selkowitz2010-11-281-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=621820
* Added cygwin support.Benoît Dejean2009-04-301-0/+6
| | | | | Patch by Cygwin Ports maintainer <yselkowitz@users.sourceforge.net>. See #578890.
* r2792 | bdejean | 2009-01-12 22:05:48 +0100 (lun 12 jan 2009) | 4 linesBenoît Dejean2009-02-161-1/+1
| | | | | | | | Fixed Darwin build. Patch by "paul" <ephraim_owns@hotmail.com>. See #556904. svn path=/trunk/; revision=2802
* Improved freebsd port.Benoît Dejean2008-08-181-0/+2
| | | | | | | Patch by Joe Marcus Clarke <marcus@freebsd.org>. Closes #548184. svn path=/trunk/; revision=2767
* Implemented a linux-only fsusage sysdeps.Benoît Dejean2007-10-171-0/+2
| | | | svn path=/trunk/; revision=2683
* Implemented a linux-only mountlist.Benoît Dejean2007-10-151-0/+2
| | | | | | Smarter ignore list based on /proc/filesystems. svn path=/trunk/; revision=2678
* Added darwin port. Patch by Benjamin Reed <ranger@befunk.com>. ClosesBenoît Dejean2007-09-281-0/+7
| | | | | | | | | | Added darwin port. Patch by Benjamin Reed <ranger@befunk.com>. Closes #481068. Bumped version number to 2.21.1. svn path=/trunk/; revision=2666
* Enable example by default. Renamed option to --with-examples.Benoît Dejean2007-05-191-3/+3
| | | | | | | | | | | 2007-05-17 Benoît Dejean <benoit@placenet.org> * libgtop-sysdeps.m4: Enable example by default. Renamed option to --with-examples. svn path=/trunk/; revision=2594
* Huge (k)FreeBSD update. (k)FreeBSD support is freebsd/ Other BSD are inBenoît Dejean2007-02-181-2/+22
| | | | | | | | | | | | | | | | | | | 2007-02-18 Benoît Dejean <benoit@placenet.org> * configure.in: * libgtop-sysdeps.m4: * sysdeps/Makefile.am: Huge (k)FreeBSD update. (k)FreeBSD support is freebsd/ Other BSD are in bsd/ Patch by Joe Marcus Clarke <marcus@freebsd.org> Alexander Nedotsukov <bland@FreeBSD.org> Closes #407693. svn path=/trunk/; revision=2557
* Various FreeBSD and kFreeBSD updates. Patch by Roy MarplesBenoît Dejean2007-01-311-0/+1
| | | | | | | | | | | | | | | | | | | 2007-01-31 Benoît Dejean <benoit@placenet.org> * fsusage.c: (_glibtop_freebsd_get_fsusage_read_write): * netload.c: (glibtop_get_netload_p): * prockernel.c: (glibtop_get_proc_kernel_p): * procmap.c: (glibtop_get_proc_map_p): * proctime.c: * siglist.c: * /libgtop-sysdeps.m4: Various FreeBSD and kFreeBSD updates. Patch by Roy Marples <uberlord@gentoo.org>. Reviewed by Petr Salinger <Petr.Salinger@seznam.cz>. Closes #387200. svn path=/trunk/; revision=2550
* Use the AS_HELP_STRING macro to format help messages. Fixes bug #337068.Julio M. Merino Vidal2006-12-011-3/+6
| | | | | | | | | | 2006-12-19 Julio M. Merino Vidal <jmmv@NetBSD.org> * configure.in: * libgtop-sysdeps.m4: Use the AS_HELP_STRING macro to format help messages. Fixes bug #337068.
* Added kfreebsd support. Patch by Petr Salinger <Petr.Salinger@seznam.cz>.Benoît Dejean2006-11-271-4/+10
| | | | | | | | | 2006-11-27 Benoît Dejean <benoit@placenet.org> * libgtop-sysdeps.m4: Added kfreebsd support. Patch by Petr Salinger <Petr.Salinger@seznam.cz>.
* Updated the GLIBTOP_SOLARIS_RELEASEBenoît Dejean2006-06-241-5/+5
| | | | | | | | | | | | 2006-06-24 Benoît Dejean <benoit@placenet.org> * libgtop-sysdeps.m4: * sysdeps/solaris/glibtop_machine.h: Updated the GLIBTOP_SOLARIS_RELEASE Patch by hua.zhang@sun.com. Closes #345821.
* Removed undefined LIBGTOP_HACKER_TESTS. Closes #342890.Benoît Dejean2006-06-031-4/+0
| | | | | | | | | 2006-06-04 Benoît Dejean <benoit@placenet.org> * libgtop-sysdeps.m4: Removed undefined LIBGTOP_HACKER_TESTS. Closes #342890.
* Use configure checks to detect whether we need to define either KERNEL orJulio M. Merino Vidal2006-04-091-0/+35
| | | | | | | | | | | | | | | | | | 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.
* Check for the kvm library and use it to link the suid freebsd sysdeps codeJulio M. Merino Vidal2006-04-091-0/+3
| | | | | | | | | | | | | 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.
* remove unused file.James Henstridge2005-12-121-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* UTF-8-ified.Benoît Dejean2004-11-221-56/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * AUTHORS: * MAINTAINERS: UTF-8-ified. * acconfig.h: * acinclude.m4: * configure.in: * kernel/ChangeLog: * kernel/sysctl/.cvsignore: * kernel/sysctl/Makefile: * kernel/sysctl/libgtop.c: * kernel/sysctl/libgtop.h: * kernel/sysctl/libgtop_syms.c: * kernel/sysctl/main.c: * kernel/sysctl/patch-2.2.1: * kernel/sysctl/patch-2.2.x: * kernel/table.h: * kernel/table20/Makefile: * kernel/table20/README: * kernel/table20/entry-i386.S: * kernel/table20/kernel.patch: * kernel/table20/main.c: * kernel/table20/unistd-i386.h: * kernel/table20/version.h: * kernel/table21/.cvsignore: * kernel/table21/Makefile: * kernel/table21/README: * kernel/table21/entry-i386.S: * kernel/table21/main.c: * kernel/table21/module.c: * kernel/table21/unistd-i386.h: * kernel/table21/version.h: * kernel/version.h: * libgtop-sysdeps.m4: * sysdeps/Makefile.am: * sysdeps/kernel/.cvsignore: * sysdeps/kernel/ChangeLog: * sysdeps/kernel/Makefile.am: * sysdeps/kernel/close.c: * sysdeps/kernel/cpu.c: * sysdeps/kernel/glibtop_private.h: * sysdeps/kernel/glibtop_server.h: * sysdeps/kernel/kernel.h: * sysdeps/kernel/kernel.s: * sysdeps/kernel/loadavg.c: * sysdeps/kernel/mem.c: * sysdeps/kernel/msg_limits.c: * sysdeps/kernel/netload.c: * sysdeps/kernel/open.c: * sysdeps/kernel/ppp.c: * sysdeps/kernel/procargs.c: * sysdeps/kernel/procdata.c: * sysdeps/kernel/prockernel.c: * sysdeps/kernel/proclist.c: * sysdeps/kernel/procmap.c: * sysdeps/kernel/procmem.c: * sysdeps/kernel/procsegment.c: * sysdeps/kernel/procsignal.c: * sysdeps/kernel/procstate.c: * sysdeps/kernel/proctime.c: * sysdeps/kernel/procuid.c: * sysdeps/kernel/sem_limits.c: * sysdeps/kernel/shm_limits.c: * sysdeps/kernel/siglist.c: * sysdeps/kernel/swap.c: * sysdeps/kernel/sysinfo.c: * sysdeps/kernel/uptime.c: Removed kernel patch and implementation.
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-191-0/+300
| | | | | | | | 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.
* Removed gnomesupport checks here and started to use pkg-config.Martin Baulig2000-11-211-491/+0
| | | | | | | | | | | | | 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.
* Set this to "no" for all systems until I made up my mind how this'll workMartin Baulig2000-02-271-2/+2
| | | | | | | 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.
* s/USE_GMODULE/LIBGTOP_USE_GMODULE/Martin Baulig2000-02-231-1/+1
|
* Fix some True64 issues which were reported from Aron Griffis.Martin Baulig2000-02-221-4/+5
| | | | | | | | | | | | | 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).
* Added. (LIBGTOP_NEED_SERVER): Added.Martin Baulig2000-02-221-0/+8
| | | | | | | 2000-02-22 Martin Baulig <martin@home-of-linux.org> * acconfig.h (LIBGTOP_HAVE_SYSDEPS): Added. (LIBGTOP_NEED_SERVER): Added.
* Added this to CVS and hacked it to use `$CC -shared' to create sharedMartin Baulig2000-02-221-17/+21
| | | | | | | | | | 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.
* *** empty log message ***Martin Baulig2000-02-221-0/+7
|
* Add `-lgtop_backend_sysdeps' and `-lgtop_backend_common' if dynamicMartin Baulig2000-02-221-0/+92
| | | | | | | | | | | | | | | | 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.
* Removed the `lockfile' argument; we now use a configure check to determineMartin Baulig2000-02-061-0/+11
| | | | | | | | | | | | | | | | 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.
* New macro. This is the same than `GNOME_LIBGTOP_TYPES' but also checks forMartin Baulig2000-01-241-0/+10
| | | | | | | | | | | | 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.
* *** empty log message ***Martin Baulig2000-01-231-16/+16
|
* Load the "glibtop-backend-kernel" before "glibtop-backend-command" andMartin Baulig2000-01-221-14/+20
| | | | | | | | | | | | | | 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.
* Call `_glibtop_open_sysdeps'.Martin Baulig2000-01-121-0/+6
| | | | | | | | | | | | | | | | 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'.
* New macro; moved check for the sysdeps directory here.Martin Baulig1999-12-261-40/+97
| | | | | | | | | | | 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.
* The LibGTop examples have been moved into their own top-level moduleMartin Baulig1999-10-241-6/+0
| | | | | | | | | | | | 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.
* Check for <osreldate.h> on *BSD* systems.Martin Baulig1999-10-241-1/+1
| | | | | | 1999-10-24 Martin Baulig <martin@home-of-linux.org> * libgtop-sysdeps.m4: Check for <osreldate.h> on *BSD* systems.