| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.68 for OpenMD 1.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.68 for OpenMD 2.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 560 |
|
# Identity of this package. |
| 561 |
|
PACKAGE_NAME='OpenMD' |
| 562 |
|
PACKAGE_TARNAME='openmd' |
| 563 |
< |
PACKAGE_VERSION='1.0' |
| 564 |
< |
PACKAGE_STRING='OpenMD 1.0' |
| 563 |
> |
PACKAGE_VERSION='2.0' |
| 564 |
> |
PACKAGE_STRING='OpenMD 2.0' |
| 565 |
|
PACKAGE_BUGREPORT='gezelter@nd.edu' |
| 566 |
|
PACKAGE_URL='' |
| 567 |
|
|
| 632 |
|
ZLIB |
| 633 |
|
ZLIB_LIB_DIR |
| 634 |
|
ZLIB_INC_DIR |
| 635 |
– |
PS |
| 635 |
|
AR |
| 636 |
|
INSTALL_DATA |
| 637 |
|
INSTALL_SCRIPT |
| 1282 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1283 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1284 |
|
cat <<_ACEOF |
| 1285 |
< |
\`configure' configures OpenMD 1.0 to adapt to many kinds of systems. |
| 1285 |
> |
\`configure' configures OpenMD 2.0 to adapt to many kinds of systems. |
| 1286 |
|
|
| 1287 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1288 |
|
|
| 1347 |
|
|
| 1348 |
|
if test -n "$ac_init_help"; then |
| 1349 |
|
case $ac_init_help in |
| 1350 |
< |
short | recursive ) echo "Configuration of OpenMD 1.0:";; |
| 1350 |
> |
short | recursive ) echo "Configuration of OpenMD 2.0:";; |
| 1351 |
|
esac |
| 1352 |
|
cat <<\_ACEOF |
| 1353 |
|
|
| 1460 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1461 |
|
if $ac_init_version; then |
| 1462 |
|
cat <<\_ACEOF |
| 1463 |
< |
OpenMD configure 1.0 |
| 1463 |
> |
OpenMD configure 2.0 |
| 1464 |
|
generated by GNU Autoconf 2.68 |
| 1465 |
|
|
| 1466 |
|
Copyright (C) 2010 Free Software Foundation, Inc. |
| 2162 |
|
This file contains any messages produced by compilers while |
| 2163 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2164 |
|
|
| 2165 |
< |
It was created by OpenMD $as_me 1.0, which was |
| 2165 |
> |
It was created by OpenMD $as_me 2.0, which was |
| 2166 |
|
generated by GNU Autoconf 2.68. Invocation command line was |
| 2167 |
|
|
| 2168 |
|
$ $0 $@ |
| 2567 |
|
|
| 2568 |
|
|
| 2569 |
|
|
| 2571 |
– |
|
| 2572 |
– |
|
| 2573 |
– |
|
| 2570 |
|
# |
| 2571 |
|
# |
| 2572 |
|
# |
| 4984 |
|
fi |
| 4985 |
|
rm -f confcache |
| 4986 |
|
exit 1 |
| 4991 |
– |
fi |
| 4992 |
– |
# Extract the first word of "ps", so it can be a program name with args. |
| 4993 |
– |
set dummy ps; ac_word=$2 |
| 4994 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4995 |
– |
$as_echo_n "checking for $ac_word... " >&6; } |
| 4996 |
– |
if ${ac_cv_path_PS+:} false; then : |
| 4997 |
– |
$as_echo_n "(cached) " >&6 |
| 4998 |
– |
else |
| 4999 |
– |
case $PS in |
| 5000 |
– |
[\\/]* | ?:[\\/]*) |
| 5001 |
– |
ac_cv_path_PS="$PS" # Let the user override the test with a path. |
| 5002 |
– |
;; |
| 5003 |
– |
*) |
| 5004 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5005 |
– |
for as_dir in $PATH |
| 5006 |
– |
do |
| 5007 |
– |
IFS=$as_save_IFS |
| 5008 |
– |
test -z "$as_dir" && as_dir=. |
| 5009 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5010 |
– |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5011 |
– |
ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" |
| 5012 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5013 |
– |
break 2 |
| 5014 |
– |
fi |
| 5015 |
– |
done |
| 5016 |
– |
done |
| 5017 |
– |
IFS=$as_save_IFS |
| 5018 |
– |
|
| 5019 |
– |
;; |
| 5020 |
– |
esac |
| 5021 |
– |
fi |
| 5022 |
– |
PS=$ac_cv_path_PS |
| 5023 |
– |
if test -n "$PS"; then |
| 5024 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS" >&5 |
| 5025 |
– |
$as_echo "$PS" >&6; } |
| 5026 |
– |
else |
| 5027 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5028 |
– |
$as_echo "no" >&6; } |
| 5029 |
– |
fi |
| 5030 |
– |
|
| 5031 |
– |
|
| 5032 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX or BSD ps syntax" >&5 |
| 5033 |
– |
$as_echo_n "checking for POSIX or BSD ps syntax... " >&6; } |
| 5034 |
– |
if ${ac_cv_prog_ps_syntax+:} false; then : |
| 5035 |
– |
$as_echo_n "(cached) " >&6 |
| 5036 |
– |
else |
| 5037 |
– |
|
| 5038 |
– |
if $PS ax -o rss > /dev/null 2>&1; then |
| 5039 |
– |
ac_cv_prog_ps_ax=yes |
| 5040 |
– |
else |
| 5041 |
– |
ac_cv_prog_ps_ax=no |
| 5042 |
– |
fi |
| 5043 |
– |
if $PS -ef -o rss > /dev/null 2>&1; then |
| 5044 |
– |
ac_cv_prog_ps_ef=yes |
| 5045 |
– |
else |
| 5046 |
– |
ac_cv_prog_ps_ef=no |
| 5047 |
– |
fi |
| 5048 |
– |
if test "$ac_cv_prog_ps_ax" = yes; then |
| 5049 |
– |
ac_cv_prog_ps_syntax=BSD |
| 5050 |
– |
else |
| 5051 |
– |
if test "$ac_cv_prog_ps_ef" = yes; then |
| 5052 |
– |
ac_cv_prog_ps_syntax=POSIX |
| 5053 |
– |
else |
| 5054 |
– |
as_fn_error $? "Could not determine ps syntax" "$LINENO" 5 |
| 5055 |
– |
fi |
| 5056 |
– |
fi |
| 5057 |
– |
|
| 5058 |
– |
fi |
| 5059 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_ps_syntax" >&5 |
| 5060 |
– |
$as_echo "$ac_cv_prog_ps_syntax" >&6; } |
| 5061 |
– |
|
| 5062 |
– |
cat >>confdefs.h <<_ACEOF |
| 5063 |
– |
#define PSCOMMAND $PS |
| 5064 |
– |
_ACEOF |
| 5065 |
– |
|
| 5066 |
– |
if test "$ac_cv_prog_ps_syntax" = BSD; then |
| 5067 |
– |
|
| 5068 |
– |
$as_echo "#define PSTYPE_IS_BSD 1" >>confdefs.h |
| 5069 |
– |
|
| 5070 |
– |
else |
| 5071 |
– |
if test "$ac_cv_prog_ps_syntax" = POSIX; then |
| 5072 |
– |
|
| 5073 |
– |
$as_echo "#define PSTYPE_IS_POSIX 1" >>confdefs.h |
| 5074 |
– |
|
| 5075 |
– |
else |
| 5076 |
– |
as_fn_error $? "Unknown ps syntax type!" "$LINENO" 5 |
| 5077 |
– |
fi |
| 5078 |
– |
fi |
| 5079 |
– |
|
| 5080 |
– |
ac_ext=c |
| 5081 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 5082 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5083 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5084 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5085 |
– |
|
| 5086 |
– |
|
| 5087 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5 |
| 5088 |
– |
$as_echo_n "checking for asin in -lm... " >&6; } |
| 5089 |
– |
if ${ac_cv_lib_m_asin+:} false; then : |
| 5090 |
– |
$as_echo_n "(cached) " >&6 |
| 5091 |
– |
else |
| 5092 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 5093 |
– |
LIBS="-lm $LIBS" |
| 5094 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5095 |
– |
/* end confdefs.h. */ |
| 5096 |
– |
|
| 5097 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 5098 |
– |
Use char because int might match the return type of a GCC |
| 5099 |
– |
builtin and then its argument prototype would still apply. */ |
| 5100 |
– |
#ifdef __cplusplus |
| 5101 |
– |
extern "C" |
| 5102 |
– |
#endif |
| 5103 |
– |
char asin (); |
| 5104 |
– |
int |
| 5105 |
– |
main () |
| 5106 |
– |
{ |
| 5107 |
– |
return asin (); |
| 5108 |
– |
; |
| 5109 |
– |
return 0; |
| 5110 |
– |
} |
| 5111 |
– |
_ACEOF |
| 5112 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 5113 |
– |
ac_cv_lib_m_asin=yes |
| 5114 |
– |
else |
| 5115 |
– |
ac_cv_lib_m_asin=no |
| 4987 |
|
fi |
| 5117 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 5118 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 5119 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 5120 |
– |
fi |
| 5121 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5 |
| 5122 |
– |
$as_echo "$ac_cv_lib_m_asin" >&6; } |
| 5123 |
– |
if test "x$ac_cv_lib_m_asin" = xyes; then : |
| 5124 |
– |
cat >>confdefs.h <<_ACEOF |
| 5125 |
– |
#define HAVE_LIBM 1 |
| 5126 |
– |
_ACEOF |
| 4988 |
|
|
| 5128 |
– |
LIBS="-lm $LIBS" |
| 4989 |
|
|
| 5130 |
– |
else |
| 5131 |
– |
exit |
| 5132 |
– |
fi |
| 5133 |
– |
|
| 5134 |
– |
|
| 4990 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 4991 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 4992 |
|
if ${ac_cv_header_stdc+:} false; then : |
| 5972 |
|
|
| 5973 |
|
|
| 5974 |
|
# Checks for header files. |
| 5975 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 6121 |
< |
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 6122 |
< |
if ${ac_cv_header_stdc+:} false; then : |
| 6123 |
< |
$as_echo_n "(cached) " >&6 |
| 6124 |
< |
else |
| 6125 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6126 |
< |
/* end confdefs.h. */ |
| 6127 |
< |
#include <stdlib.h> |
| 6128 |
< |
#include <stdarg.h> |
| 6129 |
< |
#include <string.h> |
| 6130 |
< |
#include <float.h> |
| 6131 |
< |
|
| 6132 |
< |
int |
| 6133 |
< |
main () |
| 6134 |
< |
{ |
| 6135 |
< |
|
| 6136 |
< |
; |
| 6137 |
< |
return 0; |
| 6138 |
< |
} |
| 6139 |
< |
_ACEOF |
| 6140 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6141 |
< |
ac_cv_header_stdc=yes |
| 6142 |
< |
else |
| 6143 |
< |
ac_cv_header_stdc=no |
| 6144 |
< |
fi |
| 6145 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6146 |
< |
|
| 6147 |
< |
if test $ac_cv_header_stdc = yes; then |
| 6148 |
< |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 6149 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6150 |
< |
/* end confdefs.h. */ |
| 6151 |
< |
#include <string.h> |
| 6152 |
< |
|
| 6153 |
< |
_ACEOF |
| 6154 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6155 |
< |
$EGREP "memchr" >/dev/null 2>&1; then : |
| 6156 |
< |
|
| 6157 |
< |
else |
| 6158 |
< |
ac_cv_header_stdc=no |
| 6159 |
< |
fi |
| 6160 |
< |
rm -f conftest* |
| 6161 |
< |
|
| 6162 |
< |
fi |
| 6163 |
< |
|
| 6164 |
< |
if test $ac_cv_header_stdc = yes; then |
| 6165 |
< |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 6166 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6167 |
< |
/* end confdefs.h. */ |
| 6168 |
< |
#include <stdlib.h> |
| 6169 |
< |
|
| 6170 |
< |
_ACEOF |
| 6171 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6172 |
< |
$EGREP "free" >/dev/null 2>&1; then : |
| 6173 |
< |
|
| 6174 |
< |
else |
| 6175 |
< |
ac_cv_header_stdc=no |
| 6176 |
< |
fi |
| 6177 |
< |
rm -f conftest* |
| 6178 |
< |
|
| 6179 |
< |
fi |
| 6180 |
< |
|
| 6181 |
< |
if test $ac_cv_header_stdc = yes; then |
| 6182 |
< |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 6183 |
< |
if test "$cross_compiling" = yes; then : |
| 6184 |
< |
: |
| 6185 |
< |
else |
| 6186 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6187 |
< |
/* end confdefs.h. */ |
| 6188 |
< |
#include <ctype.h> |
| 6189 |
< |
#include <stdlib.h> |
| 6190 |
< |
#if ((' ' & 0x0FF) == 0x020) |
| 6191 |
< |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 6192 |
< |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 6193 |
< |
#else |
| 6194 |
< |
# define ISLOWER(c) \ |
| 6195 |
< |
(('a' <= (c) && (c) <= 'i') \ |
| 6196 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
| 6197 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
| 6198 |
< |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 6199 |
< |
#endif |
| 6200 |
< |
|
| 6201 |
< |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 6202 |
< |
int |
| 6203 |
< |
main () |
| 6204 |
< |
{ |
| 6205 |
< |
int i; |
| 6206 |
< |
for (i = 0; i < 256; i++) |
| 6207 |
< |
if (XOR (islower (i), ISLOWER (i)) |
| 6208 |
< |
|| toupper (i) != TOUPPER (i)) |
| 6209 |
< |
return 2; |
| 6210 |
< |
return 0; |
| 6211 |
< |
} |
| 6212 |
< |
_ACEOF |
| 6213 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 6214 |
< |
|
| 6215 |
< |
else |
| 6216 |
< |
ac_cv_header_stdc=no |
| 6217 |
< |
fi |
| 6218 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 6219 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6220 |
< |
fi |
| 6221 |
< |
|
| 6222 |
< |
fi |
| 6223 |
< |
fi |
| 6224 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 6225 |
< |
$as_echo "$ac_cv_header_stdc" >&6; } |
| 6226 |
< |
if test $ac_cv_header_stdc = yes; then |
| 6227 |
< |
|
| 6228 |
< |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 6229 |
< |
|
| 6230 |
< |
fi |
| 6231 |
< |
|
| 6232 |
< |
for ac_header in libintl.h limits.h machine/hal_sysinfo.h stdlib.h string.h strings.h sys/param.h sys/pstat.h sys/sysctl.h sys/sysinfo.h sys/sysmp.h sys/systemcfg.h sys/table.h sys/time.h unistd.h |
| 5975 |
> |
for ac_header in limits.h stdlib.h string.h sys/ioctl.h unistd.h |
| 5976 |
|
do : |
| 5977 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5978 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 6079 |
|
|
| 6080 |
|
fi |
| 6081 |
|
|
| 6339 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 6340 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 6341 |
– |
if ${ac_cv_c_const+:} false; then : |
| 6342 |
– |
$as_echo_n "(cached) " >&6 |
| 6343 |
– |
else |
| 6344 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6345 |
– |
/* end confdefs.h. */ |
| 6346 |
– |
|
| 6347 |
– |
int |
| 6348 |
– |
main () |
| 6349 |
– |
{ |
| 6350 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
| 6351 |
– |
#ifndef __cplusplus |
| 6352 |
– |
/* Ultrix mips cc rejects this. */ |
| 6353 |
– |
typedef int charset[2]; |
| 6354 |
– |
const charset cs; |
| 6355 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
| 6356 |
– |
char const *const *pcpcc; |
| 6357 |
– |
char **ppc; |
| 6358 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 6359 |
– |
struct point {int x, y;}; |
| 6360 |
– |
static struct point const zero = {0,0}; |
| 6361 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
| 6362 |
– |
It does not let you subtract one const X* pointer from another in |
| 6363 |
– |
an arm of an if-expression whose if-part is not a constant |
| 6364 |
– |
expression */ |
| 6365 |
– |
const char *g = "string"; |
| 6366 |
– |
pcpcc = &g + (g ? g-g : 0); |
| 6367 |
– |
/* HPUX 7.0 cc rejects these. */ |
| 6368 |
– |
++pcpcc; |
| 6369 |
– |
ppc = (char**) pcpcc; |
| 6370 |
– |
pcpcc = (char const *const *) ppc; |
| 6371 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
| 6372 |
– |
char *t; |
| 6373 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 6374 |
– |
|
| 6375 |
– |
*t++ = 0; |
| 6376 |
– |
if (s) return 0; |
| 6377 |
– |
} |
| 6378 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 6379 |
– |
int x[] = {25, 17}; |
| 6380 |
– |
const int *foo = &x[0]; |
| 6381 |
– |
++foo; |
| 6382 |
– |
} |
| 6383 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 6384 |
– |
typedef const int *iptr; |
| 6385 |
– |
iptr p = 0; |
| 6386 |
– |
++p; |
| 6387 |
– |
} |
| 6388 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 6389 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 6390 |
– |
struct s { int j; const int *ap[3]; }; |
| 6391 |
– |
struct s *b; b->j = 5; |
| 6392 |
– |
} |
| 6393 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 6394 |
– |
const int foo = 10; |
| 6395 |
– |
if (!foo) return 0; |
| 6396 |
– |
} |
| 6397 |
– |
return !cs[0] && !zero.x; |
| 6398 |
– |
#endif |
| 6399 |
– |
|
| 6400 |
– |
; |
| 6401 |
– |
return 0; |
| 6402 |
– |
} |
| 6403 |
– |
_ACEOF |
| 6404 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6405 |
– |
ac_cv_c_const=yes |
| 6406 |
– |
else |
| 6407 |
– |
ac_cv_c_const=no |
| 6408 |
– |
fi |
| 6409 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6410 |
– |
fi |
| 6411 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 6412 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
| 6413 |
– |
if test $ac_cv_c_const = no; then |
| 6414 |
– |
|
| 6415 |
– |
$as_echo "#define const /**/" >>confdefs.h |
| 6416 |
– |
|
| 6417 |
– |
fi |
| 6418 |
– |
|
| 6082 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 6083 |
|
$as_echo_n "checking for inline... " >&6; } |
| 6084 |
|
if ${ac_cv_c_inline+:} false; then : |
| 6132 |
|
|
| 6133 |
|
fi |
| 6134 |
|
|
| 6472 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 6473 |
– |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 6474 |
– |
if ${ac_cv_header_time+:} false; then : |
| 6475 |
– |
$as_echo_n "(cached) " >&6 |
| 6476 |
– |
else |
| 6477 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6478 |
– |
/* end confdefs.h. */ |
| 6479 |
– |
#include <sys/types.h> |
| 6480 |
– |
#include <sys/time.h> |
| 6481 |
– |
#include <time.h> |
| 6135 |
|
|
| 6483 |
– |
int |
| 6484 |
– |
main () |
| 6485 |
– |
{ |
| 6486 |
– |
if ((struct tm *) 0) |
| 6487 |
– |
return 0; |
| 6488 |
– |
; |
| 6489 |
– |
return 0; |
| 6490 |
– |
} |
| 6491 |
– |
_ACEOF |
| 6492 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6493 |
– |
ac_cv_header_time=yes |
| 6494 |
– |
else |
| 6495 |
– |
ac_cv_header_time=no |
| 6496 |
– |
fi |
| 6497 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6498 |
– |
fi |
| 6499 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
| 6500 |
– |
$as_echo "$ac_cv_header_time" >&6; } |
| 6501 |
– |
if test $ac_cv_header_time = yes; then |
| 6502 |
– |
|
| 6503 |
– |
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
| 6504 |
– |
|
| 6505 |
– |
fi |
| 6506 |
– |
|
| 6507 |
– |
|
| 6136 |
|
# Checks for library functions. |
| 6137 |
|
for ac_header in stdlib.h |
| 6138 |
|
do : |
| 6268 |
|
fi |
| 6269 |
|
|
| 6270 |
|
|
| 6643 |
– |
for ac_header in sys/select.h sys/socket.h |
| 6644 |
– |
do : |
| 6645 |
– |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6646 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 6647 |
– |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 6648 |
– |
cat >>confdefs.h <<_ACEOF |
| 6649 |
– |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6650 |
– |
_ACEOF |
| 6651 |
– |
|
| 6652 |
– |
fi |
| 6653 |
– |
|
| 6654 |
– |
done |
| 6655 |
– |
|
| 6656 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 |
| 6657 |
– |
$as_echo_n "checking types of arguments for select... " >&6; } |
| 6658 |
– |
if ${ac_cv_func_select_args+:} false; then : |
| 6659 |
– |
$as_echo_n "(cached) " >&6 |
| 6660 |
– |
else |
| 6661 |
– |
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
| 6662 |
– |
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do |
| 6663 |
– |
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do |
| 6664 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6665 |
– |
/* end confdefs.h. */ |
| 6666 |
– |
$ac_includes_default |
| 6667 |
– |
#ifdef HAVE_SYS_SELECT_H |
| 6668 |
– |
# include <sys/select.h> |
| 6669 |
– |
#endif |
| 6670 |
– |
#ifdef HAVE_SYS_SOCKET_H |
| 6671 |
– |
# include <sys/socket.h> |
| 6672 |
– |
#endif |
| 6673 |
– |
|
| 6674 |
– |
int |
| 6675 |
– |
main () |
| 6676 |
– |
{ |
| 6677 |
– |
extern int select ($ac_arg1, |
| 6678 |
– |
$ac_arg234, $ac_arg234, $ac_arg234, |
| 6679 |
– |
$ac_arg5); |
| 6680 |
– |
; |
| 6681 |
– |
return 0; |
| 6682 |
– |
} |
| 6683 |
– |
_ACEOF |
| 6684 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6685 |
– |
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 |
| 6686 |
– |
fi |
| 6687 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6688 |
– |
done |
| 6689 |
– |
done |
| 6690 |
– |
done |
| 6691 |
– |
# Provide a safe default value. |
| 6692 |
– |
: "${ac_cv_func_select_args=int,int *,struct timeval *}" |
| 6693 |
– |
|
| 6694 |
– |
fi |
| 6695 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 |
| 6696 |
– |
$as_echo "$ac_cv_func_select_args" >&6; } |
| 6697 |
– |
ac_save_IFS=$IFS; IFS=',' |
| 6698 |
– |
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` |
| 6699 |
– |
IFS=$ac_save_IFS |
| 6700 |
– |
shift |
| 6701 |
– |
|
| 6702 |
– |
cat >>confdefs.h <<_ACEOF |
| 6703 |
– |
#define SELECT_TYPE_ARG1 $1 |
| 6704 |
– |
_ACEOF |
| 6705 |
– |
|
| 6706 |
– |
|
| 6707 |
– |
cat >>confdefs.h <<_ACEOF |
| 6708 |
– |
#define SELECT_TYPE_ARG234 ($2) |
| 6709 |
– |
_ACEOF |
| 6710 |
– |
|
| 6711 |
– |
|
| 6712 |
– |
cat >>confdefs.h <<_ACEOF |
| 6713 |
– |
#define SELECT_TYPE_ARG5 ($3) |
| 6714 |
– |
_ACEOF |
| 6715 |
– |
|
| 6716 |
– |
rm -f conftest* |
| 6717 |
– |
|
| 6271 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 |
| 6272 |
|
$as_echo_n "checking for working strtod... " >&6; } |
| 6273 |
|
if ${ac_cv_func_strtod+:} false; then : |
| 6381 |
|
|
| 6382 |
|
fi |
| 6383 |
|
|
| 6384 |
< |
for ac_func in floor getpagesize gettimeofday memset pow pstat_getdynamic pstat_getstatic select sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strstr strtol sysmp getsysinfo sysctl table |
| 6384 |
> |
for ac_func in atexit floor pow select sqrt strcasecmp strchr strdup strncasecmp strstr strtol strtoull |
| 6385 |
|
do : |
| 6386 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 6387 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 6394 |
|
done |
| 6395 |
|
|
| 6396 |
|
|
| 6844 |
– |
# special check for _system_configuration because AIX <4.3.2 do not |
| 6845 |
– |
# contain the `physmem' member. |
| 6846 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5 |
| 6847 |
– |
$as_echo_n "checking for external symbol _system_configuration... " >&6; } |
| 6848 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6849 |
– |
/* end confdefs.h. */ |
| 6850 |
– |
#include <sys/systemcfg.h> |
| 6851 |
– |
int |
| 6852 |
– |
main () |
| 6853 |
– |
{ |
| 6854 |
– |
double x = _system_configuration.physmem; |
| 6855 |
– |
; |
| 6856 |
– |
return 0; |
| 6857 |
– |
} |
| 6858 |
– |
_ACEOF |
| 6859 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6860 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6861 |
– |
$as_echo "yes" >&6; } |
| 6862 |
– |
|
| 6863 |
– |
$as_echo "#define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h |
| 6864 |
– |
|
| 6865 |
– |
else |
| 6866 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6867 |
– |
$as_echo "no" >&6; } |
| 6868 |
– |
fi |
| 6869 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6397 |
|
|
| 6871 |
– |
|
| 6398 |
|
case $debug in |
| 6399 |
|
1) |
| 6400 |
|
;; |
| 7357 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 7358 |
|
# values after options handling. |
| 7359 |
|
ac_log=" |
| 7360 |
< |
This file was extended by OpenMD $as_me 1.0, which was |
| 7360 |
> |
This file was extended by OpenMD $as_me 2.0, which was |
| 7361 |
|
generated by GNU Autoconf 2.68. Invocation command line was |
| 7362 |
|
|
| 7363 |
|
CONFIG_FILES = $CONFIG_FILES |
| 7419 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 7420 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 7421 |
|
ac_cs_version="\\ |
| 7422 |
< |
OpenMD config.status 1.0 |
| 7422 |
> |
OpenMD config.status 2.0 |
| 7423 |
|
configured by $0, generated by GNU Autoconf 2.68, |
| 7424 |
|
with options \\"\$ac_cs_config\\" |
| 7425 |
|
|