171 |
|
if test "$ac_cv_prog_ps_ax" = yes; then |
172 |
|
ac_cv_prog_ps_syntax=BSD |
173 |
|
else |
174 |
< |
if test "$ac_cv_prog_ps_es" = yes; then |
174 |
> |
if test "$ac_cv_prog_ps_ef" = yes; then |
175 |
|
ac_cv_prog_ps_syntax=POSIX |
176 |
|
else |
177 |
|
AC_MSG_ERROR(Could not determine ps syntax) |
178 |
|
fi |
179 |
|
fi |
180 |
|
]) |
181 |
+ |
|
182 |
|
AC_DEFINE_UNQUOTED(PSCOMMAND, $PS, [Path to ps program]) |
182 |
– |
AC_DEFINE_UNQUOTED(PSTYPE, $ac_cv_prog_ps_syntax, [ps syntax type]) |
183 |
|
|
184 |
+ |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
185 |
+ |
AC_DEFINE(PSTYPE_IS_BSD, 1) |
186 |
+ |
else |
187 |
+ |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
188 |
+ |
AC_DEFINE(PSTYPE_IS_POSIX, 1) |
189 |
+ |
else |
190 |
+ |
AC_MSG_ERROR(Unknown ps syntax type!) |
191 |
+ |
fi |
192 |
+ |
fi |
193 |
|
|
194 |
|
AC_ARG_WITH(mpi, |
195 |
|
[AC_HELP_STRING([--with-mpi=<prefix>], |