115 |
|
AC_SUBST(F90_MODULE_NAMES) |
116 |
|
AC_LANG_POP |
117 |
|
|
118 |
+ |
AC_LANG_CPLUSPLUS |
119 |
+ |
dnl Checks for libraries. |
120 |
+ |
AC_CHECK_LIB(m, asin, , exit) |
121 |
+ |
|
122 |
|
AC_LANG_PUSH(C) |
123 |
|
ACX_CHECK_ZLIB |
124 |
< |
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) |
124 |
> |
dnl Checks for header files. |
125 |
> |
AC_CHECK_HEADERS(sys/time.h unistd.h stdlib.h stdio.h conio.h string.h) |
126 |
> |
AC_CHECK_HEADERS(strstream.h iostream.h fstream.h math.h time.h) |
127 |
> |
AC_LANG_CPLUSPLUS |
128 |
> |
AC_CHECK_HEADERS(ctype.h iostream fstream sstream strstream) |
129 |
> |
AC_LANG_C |
130 |
> |
AC_CHECK_HEADERS(sys/pstat.h sys/sysmp.h sys/sysinfo.h) |
131 |
> |
AC_CHECK_HEADERS(sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h) |
132 |
> |
AC_CHECK_HEADERS(machine/hal_sysinfo.h) |
133 |
|
AC_CHECK_FUNCS(pstat_getstatic sysmp getsysinfo sysctl table) |
134 |
|
# special check for _system_configuration because AIX <4.3.2 do not |
135 |
|
# contain the `physmem' member. |
140 |
|
AC_DEFINE(HAVE__SYSTEM_CONFIGURATION, 1, |
141 |
|
[Define if you have the _system_configuration variable.])], |
142 |
|
[AC_MSG_RESULT([no])]) |
143 |
+ |
AC_HEADER_TIME |
144 |
+ |
|
145 |
+ |
dnl Checks for typedefs, structures, and compiler characteristics. |
146 |
+ |
AC_CHECK_TYPES(clock_t) |
147 |
+ |
AC_C_CONST |
148 |
+ |
AC_C_INLINE |
149 |
|
|
150 |
+ |
dnl Checks for library functions. |
151 |
+ |
AC_CHECK_FUNCS([rint sranddev]) |
152 |
+ |
|
153 |
|
dnl check for system getopt |
154 |
|
adl_FUNC_GETOPT_LONG |
155 |
|
|
203 |
|
]) |
204 |
|
|
205 |
|
AC_DEFINE_UNQUOTED(PSCOMMAND, $PS, [Path to ps program]) |
206 |
+ |
AC_DEFINE([OBAPI], [], [Used to export symbols for DLL / shared library builds]) |
207 |
+ |
|
208 |
|
|
209 |
|
if test "$ac_cv_prog_ps_syntax" = BSD; then |
210 |
|
AC_DEFINE(PSTYPE_IS_BSD, 1) |