[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.100,1.101

Ton Voon tonvoon at users.sourceforge.net
Fri Dec 5 10:09:02 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv29631

Modified Files:
	configure.in 
Log Message:
Not correctly working out ps command if /usr/ucb before /usr/bin in PATH for
Solaris (reported by Ben Whaley)


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -r1.100 -r1.101
*** configure.in	20 Oct 2003 14:03:17 -0000	1.100
--- configure.in	5 Dec 2003 18:08:16 -0000	1.101
***************
*** 676,680 ****
  dnl SunOS 4.1.3:
  dnl  F  UID  PID  PPID  CP  PRI  NI  SZ  RSS  WCHAN  STAT  TT  TIME  COMMAND
! elif ps -laxnwww 2>/dev/null | \
  	egrep -i ["^ *F(LAGS)? +UID +PID +PPID +CP +PRI +NI +(SZ)|(VSZ)|(SIZE) +RSS +WCHAN +STAT? +TTY? +TIME +COMMAND"] >/dev/null
  then
--- 676,681 ----
  dnl SunOS 4.1.3:
  dnl  F  UID  PID  PPID  CP  PRI  NI  SZ  RSS  WCHAN  STAT  TT  TIME  COMMAND
! dnl Need the head -1 otherwise test will work because arguments are found
! elif ps -laxnwww 2>/dev/null | head -1 | \
  	egrep -i ["^ *F(LAGS)? +UID +PID +PPID +CP +PRI +NI +(SZ)|(VSZ)|(SIZE) +RSS +WCHAN +STAT? +TTY? +TIME +COMMAND"] >/dev/null
  then
***************
*** 844,848 ****
  fi
  
! if test -n $ac_cv_ps_varlist ; then
  	AC_DEFINE_UNQUOTED(PS_VARLIST,$ac_cv_ps_varlist,
  		[Variable list for sscanf of 'ps' output])
--- 845,849 ----
  fi
  
! if test -n "$ac_cv_ps_varlist" ; then
  	AC_DEFINE_UNQUOTED(PS_VARLIST,$ac_cv_ps_varlist,
  		[Variable list for sscanf of 'ps' output])





More information about the Commits mailing list