Kaveh R. Ghazi
434fa0b8ca
* physmem.c: Formatting changes from upstream.
...
From-SVN: r63519
2003-02-27 20:18:20 +00:00
Danny Smith
ed935c3531
physmem.c (physmem_total): Add _WIN32 support.
...
2003-02-24 Danny Smith <dannysmith@users.source.forge.net>
* physmem.c (physmem_total): Add _WIN32 support.
(physmem_available): Likewise.
From-SVN: r63504
2003-02-27 13:44:27 +00:00
Rainer Orth
7f9fc00642
physmem.c (physmem_total): Test for GSI_PHYSMEM.
...
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
GSI_PHYSMEM.
(physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
From-SVN: r63373
2003-02-24 19:31:49 +00:00
Kaveh R. Ghazi
d47f75c469
configure.in: Check for sys/systemcfg.h and _system_configuration.
...
* configure.in: Check for sys/systemcfg.h and
_system_configuration.
* physmem.c: Add support for AIX. Tweek formatting as per
upstream coreutils beta.
From-SVN: r63287
2003-02-22 15:39:16 +00:00
Kaveh R. Ghazi
170230b723
configure.in: Check for sys/sysctl.h and sysctl.
...
* configure.in: Check for sys/sysctl.h and sysctl.
* physmem.c: Add support for *bsd and darwin.
* Makefile.in: Generate depedency for physmem.o.
Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r63285
2003-02-22 15:17:36 +00:00
Rainer Orth
4a06f7f2ec
physmem.c (physmem_total): Use getsysinfo on Tru64 UNIX.
...
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
Tru64 UNIX.
(physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
Tru64 UNIX.
* configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
machine/hal_sysinfo.h, sys/table.h.
(checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
* configure, config.in: Regenerate.
From-SVN: r63241
2003-02-21 20:33:50 +00:00
Kaveh R. Ghazi
64c7e556ab
configure.in: Check for sys/sysmp.h and sysmp.
...
* configure.in: Check for sys/sysmp.h and sysmp.
* physmem.c: Pull upstream copy, add support for irix6.
* config.in, configure: Regenerated.
From-SVN: r63237
2003-02-21 20:15:39 +00:00
Kaveh R. Ghazi
e9019af616
physmem.c (physmem_total, [...]): De-ANSI-fy.
...
* physmem.c (physmem_total, physmem_available): De-ANSI-fy.
* configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
pstat_getdynamic.
From-SVN: r63203
2003-02-21 05:02:44 +00:00
Kaveh R. Ghazi
a354191ebf
libiberty.h (physmem_total, [...]): Prototype.
...
include:
* libiberty.h (physmem_total, physmem_available): Prototype.
libiberty:
* Makefile.in (CFILES): Add physmem.c.
(REQUIRED_OFILES): Add physmem.o.
* configure.in: Check for sys/pstat.h.
(checkfuncs): Add pstat_getstatic and pstat_getdynamic.
* physmem.c: New file, copied from textutils.
* config.in, configure: Regenerated.
From-SVN: r63198
2003-02-21 00:27:04 +00:00