ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/ac-tools/configure.in
(Generate patch)

Comparing trunk/OOPSE-3.0/ac-tools/configure.in (file contents):
Revision 1997 by tim, Fri Feb 11 22:35:51 2005 UTC vs.
Revision 2022 by gezelter, Mon Feb 14 23:16:48 2005 UTC

# Line 128 | Line 128 | AC_TRY_COMPILE([#include <sys/systemcfg.h>],
128              [Define if you have the _system_configuration variable.])],
129    [AC_MSG_RESULT([no])])
130  
131
132 dnl undef HAVE__SYSTEM_CONFIGURATION
133
134
131   dnl check for system getopt
132   adl_FUNC_GETOPT_LONG
133  
# Line 158 | Line 154 | fi
154    AC_MSG_ERROR(--> Can't find \`ar'!)
155    AC_CACHE_SAVE
156    exit 1
157 + fi
158 +
159 + AC_PATH_PROG(PS_PATH, ps)
160 + AC_CACHE_CHECK([for POSIX ps], ac_cv_prog_ps_posix, [
161 +        USER=${USER:-${LOGNAME:-`logname`}}
162 +        if $PS_PATH -U $USER -opid,args >/dev/null 2>&1; then
163 +                ac_cv_prog_ps_posix=yes
164 +        else
165 +                ac_cv_prog_ps_posix=no
166 +        fi
167 + ])
168 + if test "$ac_cv_prog_ps_posix" = yes; then
169 +        BSD_PS=yes
170 + else
171 +        POSIX_PS=yes
172   fi
173 + AC_SUBST(PS_PATH)
174 + AC_SUBST(BSD_PS)
175 + AC_SUBST(POSIX_PS)
176  
177  
178   AC_ARG_WITH(mpi,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines