summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-24unifdef -UumipsAlan Coopersmith1-32/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-24unifdef -UMOTOROLAAlan Coopersmith1-103/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-24unifdef -UAIXV3Alan Coopersmith1-41/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-24unifdef -UCRAYAlan Coopersmith1-27/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-20Combine usage message stringsAlan Coopersmith1-27/+16
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-08-23Eliminate use of tab stops. Helps with translation to DocBook.Eric S. Raymond1-6/+4
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-03-22xload 1.1.1xload-1.1.1Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-01-18Solaris: use getloadavg from libc instead of kstatsAlan Coopersmith2-103/+13
The simpler interface (based on the BSD function) has been in libc since Solaris 7, and avoids datasize bugs like the previous fix, so might as well use it. Purge all the other ancient Solaris & SunOS support variants as well. This does mean if you want to keep running xload on a Sun OS version from before 1998 you will need to use a branch of xload from before 2012 (such as the one included in those old releases). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-01-18Solaris: Read avenrun_1min kstat as a uint32, not a longAlan Coopersmith1-1/+1
Fixes garbage data & crashes when built as a 64-bit binary on Solaris SPARC, since the high 32-bits was being filled with randomness. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Arvind Umrao <arvind.umrao@oracle.com> Reviewed-by: Jay Cotton <jay.cotton@oracle.com>
2011-12-20Remove DG/UX supportAlan Coopersmith2-89/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-20Convert sprintf to snprintfAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-20Mark domaindir variable as const char * for gcc -Wwrite-stringsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-20Mark xload_error as noreturnAlan Coopersmith2-2/+2
Silences a gcc warning Raises the minimum version of xproto needed to build to 7.0.17 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-20Mark string arguments to xload_error as const char * for gcc -Wwrite-stringsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-19config: move man pages into their own directoryGaetan Nadon4-19/+18
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon1-7/+7
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-11-20Purge RCS/CVS version tagsAlan Coopersmith5-10/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-20Remove ancient Domain/OS support (unifdef -Uapollo)Alan Coopersmith1-63/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-20Remove ancient A/UX support (unifdef -UmacII)Alan Coopersmith1-60/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-20config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith1-2/+5
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-07Fix old-style function definitions on CygwinYaakov Selkowitz1-5/+5
get_load.c: In function ‘InitLoadPoint’: get_load.c:74:6: warning: old-style function definition get_load.c: In function ‘GetLoadPoint’: get_load.c:92:6: warning: old-style function definition Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-10-07Avoid excess Win32 includes on CygwinYaakov Selkowitz1-0/+1
Fixes compilation errors due to recent w32api <winspool.h>, which is not needed to compile xload. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Tested-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-09-26xload 1.1.0xload-1.1.0Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23config: Remove unnecessary calls from configure.acAlan Coopersmith1-3/+0
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-06Sun copyrights are now owned by OracleAlan Coopersmith2-24/+25
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01Xmu functions are called directly, so include it in PKG_CHECK_MODULESAlan Coopersmith1-3/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith2-22/+4
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS The existing statement can now be removed from the configuration file. Use XORG_DEFAULT_OPTIONS provided $(SED) Use platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-03-31config: ignore xload.po when using GETTEXTGaetan Nadon1-0/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-31 config: update and relocate AX_DEFINE_DIR macroGaetan Nadon3-1/+6
Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-16Let xload build on systems without gettext().Matthieu Herrb1-0/+2
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15Integrate gettext support with autotools build systemAlan Coopersmith4-3/+87
Mostly cribbed from prior work for libXpm Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15Internationalize xload: Call gettext on strings printed to stderrJay Hobson2-28/+88
Originally done for Solaris 9 to fix Sun bug 4365629 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4365629 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15Use automake silencer on man page generation tooAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15Move CWARNFLAGS addition from configure.ac to Makefile.amAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-15Raise xorg-macros requirement to 1.4Alan Coopersmith1-2/+2
Needed since the changes in f5eb18cefb774c5a5d43923d21b61c180a96b8ad depend on the INSTALL file delivered in xorg-macros 1.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-19configure.ac: use backticks rather than $() for cmd subsGaetan Nadon1-1/+1
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+1
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon5-3/+6
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-27Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon1-7/+5
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-10-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-2/+0
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-12/+66
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith1-0/+25
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-22Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade7-38/+38
2008-11-28Compile warning fixes.Paulo Cesar Pereira de Andrade3-46/+37
Ansify some functions with K&R definitions.
2008-08-20xaw8 is gone, use xaw7James Cloos1-1/+1
2008-07-07Fill in COPYING fileAlan Coopersmith1-8/+53
2008-07-07Update man page to note that /dev/kmem access is only on old platformsAlan Coopersmith1-6/+6