Merge pull request #48 from dougalb/2.1-patches

ncurses.h error and MANPATH
add help messages and defaults to AC_ARG_VAR variables
openlavadmin -> openlavaadmin (typo corrected in all cases)

Signed-off-by: Roy Storey <roy.storey@plantandfood.co.nz>
making the AC_ARG_VAR(openlavacluster) useful WRT config and ${prefix}/etc/lsf.cluster.NAME

Signed-off-by: Roy Storey <roy.storey@plantandfood.co.nz>
Merge pull request #51 from kiwiroy/ac_arg_var-with-defaults

AC_ARG_VAR with defaults and lsf.cluster.CLUSTERNAME file
Called rd_select_() with fd == -1

This caused an abort (buffer overflow) when openlava was built with fortify support (as it is when built as an Ubuntu package).

Signed-off-by: Chris Smith <chris@distributedbio.com>
Count cached memory as free memory.
Remote comment.
Change the behaviour of the SBD SIGCHLD handler. By default, the
handler would sleep for 1 second for each child reaped, which would
cause long waits on machines with lots of slots when lots of jobs
finished at the same time (e.g. lots of short jobs). The default is
now to not sleep at all.
make indxnames static since it's only initialized once

'lhosts -l' crashes reliably if there is more than one configured (or
specified) host.  This is because indxnames is declared non-static, but
is only initialized on the first call to print_long (via "first").
Merge pull request #56 from nweisenfeld/2.1-fix-lshosts-crash

fix crash with 'lshosts -l' and more than one host specified
Updating script and spec file to enable 2.1 RPMS