--- configure.orig Wed Jan 3 10:03:39 2001
+++ configure Thu Mar 1 22:34:57 2001
@@ -11,7 +11,7 @@
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
-ac_default_prefix=/usr/local/netsaint
+#ac_default_prefix=/usr/local/netsaint
ac_help="$ac_help
--with-cgiurl=
sets URL for cgi programs"
ac_help="$ac_help
@@ -53,12 +53,12 @@
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
+sbindir='${exec_prefix}/share/netsaint/sbin'
+libexecdir='${exec_prefix}/libexec/netsaint'
+datadir='${prefix}/share/netsaint'
+sysconfdir='${prefix}/etc/netsaint'
sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
+localstatedir='${prefix}/var/netsaint'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
@@ -1133,7 +1133,7 @@
SET_MAKE="MAKE=${MAKE-make}"
fi
-for ac_prog in gawk mawk nawk awk
+for ac_prog in mawk gawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -3718,7 +3718,7 @@
EOF
echo " ps syntax... $PATH_TO_PS -eo 's comm vsz rss user ppid args'"
-elif ps -Ao 's comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
+elif ps -axo 's comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
then
cat >> confdefs.h <<\EOF
#define USE_PS_VARS 1
@@ -3729,12 +3729,12 @@
EOF
cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h </dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
+ echo " ps syntax... $PATH_TO_PS -axo 's comm vsz rss'"
+elif ps -axo 'status comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
then
cat >> confdefs.h <<\EOF
#define USE_PS_VARS 1
@@ -3769,12 +3769,12 @@
EOF
cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h </dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
+ echo " ps syntax... $PATH_TO_PS -axo 'status comm vsz rss'"
+elif ps -axo 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
then
cat >> confdefs.h <<\EOF
#define USE_PS_VARS 1
@@ -3809,12 +3809,12 @@
EOF
cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h </dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
+ echo " ps syntax... $PATH_TO_PS -axo 'state comm vsz rss'"
+elif ps -axo 'state command vsz rss user ppid args' 2>/dev/null | egrep -i "^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
then
cat >> confdefs.h <<\EOF
#define USE_PS_VARS 1
@@ -3849,12 +3849,12 @@
EOF
cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h </dev/null | egrep -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PPID" >/dev/null
+ echo " ps syntax... $PATH_TO_PS -axo 'state command vsz rss'"
+elif ps waxo 'state command vsz rss uid user ppid' 2>/dev/null | egrep -i "^STAT +COMMAND +VSZ +RSS +UID +USER +PPID" >/dev/null
then
cat >> confdefs.h <<\EOF
#define USE_PS_VARS 1
@@ -3894,7 +3894,7 @@
EXTRAS="$EXTRAS check_netsaint"
cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h </dev/null | egrep -i "^S +COMMAND +VSZ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
then
cat >> confdefs.h <<\EOF
@@ -3957,7 +3957,7 @@
#define RSS_FORMAT "%d %s"
EOF
- echo " ps syntax... $PATH_TO_PS -waxco 'state comm vsz rss'"
+ echo " ps syntax... $PATH_TO_PS -waxo 'state comm vsz rss'"
elif ps -el 2>/dev/null | egrep -i "^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+" >/dev/null
then
cat >> confdefs.h <<\EOF