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 1946 by gezelter, Fri Jan 14 20:09:26 2005 UTC vs.
Revision 2023 by gezelter, Mon Feb 14 23:26:25 2005 UTC

# Line 115 | Line 115 | dnl check for system getopt
115   AC_SUBST(F90_MODULE_NAMES)
116   AC_LANG_POP
117  
118 dnl check for system getopt
118   AC_LANG_PUSH(C)
119 + AC_CHECK_HEADERS(unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h)
120 + AC_CHECK_FUNCS(pstat_getstatic sysmp getsysinfo sysctl table)
121 + # special check for _system_configuration because AIX <4.3.2 do not
122 + # contain the `physmem' member.
123 + AC_MSG_CHECKING([for external symbol _system_configuration])
124 + AC_TRY_COMPILE([#include <sys/systemcfg.h>],
125 +               [double x = _system_configuration.physmem;],
126 +  [AC_MSG_RESULT([yes])
127 +  AC_DEFINE(HAVE__SYSTEM_CONFIGURATION, 1,
128 +            [Define if you have the _system_configuration variable.])],
129 +  [AC_MSG_RESULT([no])])
130 +
131 + dnl check for system getopt
132   adl_FUNC_GETOPT_LONG
133  
134   dnl check for strong optimization options
# Line 142 | 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, ps)
160 + AC_CACHE_CHECK([for POSIX ps], ac_cv_prog_ps_posix, [
161 +        USER=${USER:-${LOGNAME:-`logname`}}
162 +        if $PS -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 +        PSTYPE=BSD
170 + else
171 +        PSTYPE=POSIX
172   fi
173  
174 + AC_SUBST(PS)
175 + AC_SUBST(PSTYPE)
176  
177 +
178   AC_ARG_WITH(mpi,
179          [AC_HELP_STRING([--with-mpi=<prefix>],
180                  [compile with MPI installed in <prefix> [default=no]])],

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines