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 $@ |
2541 |
|
|
2542 |
|
|
2543 |
|
ac_config_headers="$ac_config_headers src/config.h" |
2545 |
– |
|
2546 |
– |
|
2544 |
|
|
2545 |
|
|
2546 |
|
|
2567 |
|
|
2568 |
|
|
2569 |
|
|
2573 |
– |
|
2570 |
|
# |
2571 |
|
# |
2572 |
|
# |
4985 |
|
rm -f confcache |
4986 |
|
exit 1 |
4987 |
|
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 |
4988 |
|
|
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 |
4989 |
|
|
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 |
5116 |
– |
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 |
5127 |
– |
|
5128 |
– |
LIBS="-lm $LIBS" |
5129 |
– |
|
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 : |
5528 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5 |
5529 |
|
$as_echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;} |
5530 |
|
QHULL_HOME=/usr/local |
5531 |
< |
if test ! -f "${QHULL_HOME}/include/qhull/qhull.h"; then |
5531 |
> |
if test ! -f "${QHULL_HOME}/include/qhull/libqhull.h"; then |
5532 |
|
QHULL_HOME=/usr |
5533 |
|
fi |
5534 |
|
fi |
5552 |
|
LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" |
5553 |
|
CFLAGS="$CFLAGS -I${QHULL_HOME}/include" |
5554 |
|
CPPFLAGS="$CPPFLAGS -I${QHULL_HOME}/include" |
5555 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "qhull/qhull.h" "ac_cv_header_qhull_qhull_h" "$ac_includes_default" |
5556 |
< |
if test "x$ac_cv_header_qhull_qhull_h" = xyes; then : |
5557 |
< |
qhull_cv_qhull_h=yes |
5555 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "qhull/libqhull.h" "ac_cv_header_qhull_libqhull_h" "$ac_includes_default" |
5556 |
> |
if test "x$ac_cv_header_qhull_libqhull_h" = xyes; then : |
5557 |
> |
qhull_cv_libqhull_h=yes |
5558 |
|
else |
5559 |
< |
qhull_cv_qhull_h=no |
5559 |
> |
qhull_cv_libqhull_h=no |
5560 |
|
fi |
5561 |
|
|
5562 |
|
|
5602 |
|
qhull_cv_libqhull=no |
5603 |
|
fi |
5604 |
|
|
5605 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qh_qhull in -lqhull6" >&5 |
5606 |
+ |
$as_echo_n "checking for qh_qhull in -lqhull6... " >&6; } |
5607 |
+ |
if ${ac_cv_lib_qhull6_qh_qhull+:} false; then : |
5608 |
+ |
$as_echo_n "(cached) " >&6 |
5609 |
+ |
else |
5610 |
+ |
ac_check_lib_save_LIBS=$LIBS |
5611 |
+ |
LIBS="-lqhull6 $LIBS" |
5612 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5613 |
+ |
/* end confdefs.h. */ |
5614 |
+ |
|
5615 |
+ |
/* Override any GCC internal prototype to avoid an error. |
5616 |
+ |
Use char because int might match the return type of a GCC |
5617 |
+ |
builtin and then its argument prototype would still apply. */ |
5618 |
+ |
#ifdef __cplusplus |
5619 |
+ |
extern "C" |
5620 |
+ |
#endif |
5621 |
+ |
char qh_qhull (); |
5622 |
+ |
int |
5623 |
+ |
main () |
5624 |
+ |
{ |
5625 |
+ |
return qh_qhull (); |
5626 |
+ |
; |
5627 |
+ |
return 0; |
5628 |
+ |
} |
5629 |
+ |
_ACEOF |
5630 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
5631 |
+ |
ac_cv_lib_qhull6_qh_qhull=yes |
5632 |
+ |
else |
5633 |
+ |
ac_cv_lib_qhull6_qh_qhull=no |
5634 |
+ |
fi |
5635 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
5636 |
+ |
conftest$ac_exeext conftest.$ac_ext |
5637 |
+ |
LIBS=$ac_check_lib_save_LIBS |
5638 |
+ |
fi |
5639 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qhull6_qh_qhull" >&5 |
5640 |
+ |
$as_echo "$ac_cv_lib_qhull6_qh_qhull" >&6; } |
5641 |
+ |
if test "x$ac_cv_lib_qhull6_qh_qhull" = xyes; then : |
5642 |
+ |
qhull_cv_libqhull6=yes |
5643 |
+ |
else |
5644 |
+ |
qhull_cv_libqhull6=no |
5645 |
+ |
fi |
5646 |
+ |
|
5647 |
|
LDFLAGS="$QHULL_OLD_LDFLAGS" |
5648 |
|
CFLAGS="$QHULL_OLD_CFLAGS" |
5649 |
|
CPPFLAGS="$QHULL_OLD_CPPFLAGS" |
5654 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5655 |
|
|
5656 |
|
|
5657 |
< |
if test "$qhull_cv_libqhull" = "yes" -a "$qhull_cv_qhull_h" = "yes"; then |
5761 |
< |
|
5762 |
< |
$as_echo "#define HAVE_QHULL_H 1" >>confdefs.h |
5657 |
> |
if test "$qhull_cv_libqhull_h" = "yes" -a "$qhull_cv_libqhull" = "yes" -o "$qhull_cv_libqhull6" = "yes"; then |
5658 |
|
|
5659 |
+ |
$as_echo "#define HAVE_LIBQHULL_H 1" >>confdefs.h |
5660 |
|
|
5661 |
+ |
if test "$qhull_cv_libqhull" = "yes"; then |
5662 |
+ |
|
5663 |
|
$as_echo "#define HAVE_QHULL 1" >>confdefs.h |
5664 |
|
|
5665 |
+ |
QHULL="-lqhull" |
5666 |
+ |
fi |
5667 |
+ |
if test "$qhull_cv_libqhull6" = "yes"; then |
5668 |
+ |
|
5669 |
+ |
$as_echo "#define HAVE_QHULL 1" >>confdefs.h |
5670 |
+ |
|
5671 |
+ |
QHULL="-lqhull6" |
5672 |
+ |
fi |
5673 |
|
USE_QHULL=yes |
5674 |
|
QHULL_INC_DIR="${QHULL_HOME}/include" |
5675 |
|
QHULL_LIB_DIR="${QHULL_HOME}/lib" |
5770 |
– |
QHULL="-lqhull" |
5676 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Working qhull found, will proceed." >&5 |
5677 |
|
$as_echo "Working qhull found, will proceed." >&6; } |
5678 |
|
else |
5972 |
|
|
5973 |
|
|
5974 |
|
# Checks for header files. |
5975 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
6071 |
< |
$as_echo_n "checking for ANSI C header files... " >&6; } |
6072 |
< |
if ${ac_cv_header_stdc+:} false; then : |
6073 |
< |
$as_echo_n "(cached) " >&6 |
6074 |
< |
else |
6075 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6076 |
< |
/* end confdefs.h. */ |
6077 |
< |
#include <stdlib.h> |
6078 |
< |
#include <stdarg.h> |
6079 |
< |
#include <string.h> |
6080 |
< |
#include <float.h> |
6081 |
< |
|
6082 |
< |
int |
6083 |
< |
main () |
6084 |
< |
{ |
6085 |
< |
|
6086 |
< |
; |
6087 |
< |
return 0; |
6088 |
< |
} |
6089 |
< |
_ACEOF |
6090 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
6091 |
< |
ac_cv_header_stdc=yes |
6092 |
< |
else |
6093 |
< |
ac_cv_header_stdc=no |
6094 |
< |
fi |
6095 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6096 |
< |
|
6097 |
< |
if test $ac_cv_header_stdc = yes; then |
6098 |
< |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6099 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6100 |
< |
/* end confdefs.h. */ |
6101 |
< |
#include <string.h> |
6102 |
< |
|
6103 |
< |
_ACEOF |
6104 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6105 |
< |
$EGREP "memchr" >/dev/null 2>&1; then : |
6106 |
< |
|
6107 |
< |
else |
6108 |
< |
ac_cv_header_stdc=no |
6109 |
< |
fi |
6110 |
< |
rm -f conftest* |
6111 |
< |
|
6112 |
< |
fi |
6113 |
< |
|
6114 |
< |
if test $ac_cv_header_stdc = yes; then |
6115 |
< |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6116 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6117 |
< |
/* end confdefs.h. */ |
6118 |
< |
#include <stdlib.h> |
6119 |
< |
|
6120 |
< |
_ACEOF |
6121 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6122 |
< |
$EGREP "free" >/dev/null 2>&1; then : |
6123 |
< |
|
6124 |
< |
else |
6125 |
< |
ac_cv_header_stdc=no |
6126 |
< |
fi |
6127 |
< |
rm -f conftest* |
6128 |
< |
|
6129 |
< |
fi |
6130 |
< |
|
6131 |
< |
if test $ac_cv_header_stdc = yes; then |
6132 |
< |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6133 |
< |
if test "$cross_compiling" = yes; then : |
6134 |
< |
: |
6135 |
< |
else |
6136 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6137 |
< |
/* end confdefs.h. */ |
6138 |
< |
#include <ctype.h> |
6139 |
< |
#include <stdlib.h> |
6140 |
< |
#if ((' ' & 0x0FF) == 0x020) |
6141 |
< |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6142 |
< |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6143 |
< |
#else |
6144 |
< |
# define ISLOWER(c) \ |
6145 |
< |
(('a' <= (c) && (c) <= 'i') \ |
6146 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
6147 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
6148 |
< |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
6149 |
< |
#endif |
6150 |
< |
|
6151 |
< |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6152 |
< |
int |
6153 |
< |
main () |
6154 |
< |
{ |
6155 |
< |
int i; |
6156 |
< |
for (i = 0; i < 256; i++) |
6157 |
< |
if (XOR (islower (i), ISLOWER (i)) |
6158 |
< |
|| toupper (i) != TOUPPER (i)) |
6159 |
< |
return 2; |
6160 |
< |
return 0; |
6161 |
< |
} |
6162 |
< |
_ACEOF |
6163 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
6164 |
< |
|
6165 |
< |
else |
6166 |
< |
ac_cv_header_stdc=no |
6167 |
< |
fi |
6168 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6169 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
6170 |
< |
fi |
6171 |
< |
|
6172 |
< |
fi |
6173 |
< |
fi |
6174 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
6175 |
< |
$as_echo "$ac_cv_header_stdc" >&6; } |
6176 |
< |
if test $ac_cv_header_stdc = yes; then |
6177 |
< |
|
6178 |
< |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
6179 |
< |
|
6180 |
< |
fi |
6181 |
< |
|
6182 |
< |
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 |
|
|
6289 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6290 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
6291 |
– |
if ${ac_cv_c_const+:} false; then : |
6292 |
– |
$as_echo_n "(cached) " >&6 |
6293 |
– |
else |
6294 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6295 |
– |
/* end confdefs.h. */ |
6296 |
– |
|
6297 |
– |
int |
6298 |
– |
main () |
6299 |
– |
{ |
6300 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
6301 |
– |
#ifndef __cplusplus |
6302 |
– |
/* Ultrix mips cc rejects this. */ |
6303 |
– |
typedef int charset[2]; |
6304 |
– |
const charset cs; |
6305 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
6306 |
– |
char const *const *pcpcc; |
6307 |
– |
char **ppc; |
6308 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
6309 |
– |
struct point {int x, y;}; |
6310 |
– |
static struct point const zero = {0,0}; |
6311 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
6312 |
– |
It does not let you subtract one const X* pointer from another in |
6313 |
– |
an arm of an if-expression whose if-part is not a constant |
6314 |
– |
expression */ |
6315 |
– |
const char *g = "string"; |
6316 |
– |
pcpcc = &g + (g ? g-g : 0); |
6317 |
– |
/* HPUX 7.0 cc rejects these. */ |
6318 |
– |
++pcpcc; |
6319 |
– |
ppc = (char**) pcpcc; |
6320 |
– |
pcpcc = (char const *const *) ppc; |
6321 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
6322 |
– |
char *t; |
6323 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
6324 |
– |
|
6325 |
– |
*t++ = 0; |
6326 |
– |
if (s) return 0; |
6327 |
– |
} |
6328 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
6329 |
– |
int x[] = {25, 17}; |
6330 |
– |
const int *foo = &x[0]; |
6331 |
– |
++foo; |
6332 |
– |
} |
6333 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6334 |
– |
typedef const int *iptr; |
6335 |
– |
iptr p = 0; |
6336 |
– |
++p; |
6337 |
– |
} |
6338 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
6339 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6340 |
– |
struct s { int j; const int *ap[3]; }; |
6341 |
– |
struct s *b; b->j = 5; |
6342 |
– |
} |
6343 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
6344 |
– |
const int foo = 10; |
6345 |
– |
if (!foo) return 0; |
6346 |
– |
} |
6347 |
– |
return !cs[0] && !zero.x; |
6348 |
– |
#endif |
6349 |
– |
|
6350 |
– |
; |
6351 |
– |
return 0; |
6352 |
– |
} |
6353 |
– |
_ACEOF |
6354 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
6355 |
– |
ac_cv_c_const=yes |
6356 |
– |
else |
6357 |
– |
ac_cv_c_const=no |
6358 |
– |
fi |
6359 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6360 |
– |
fi |
6361 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
6362 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
6363 |
– |
if test $ac_cv_c_const = no; then |
6364 |
– |
|
6365 |
– |
$as_echo "#define const /**/" >>confdefs.h |
6366 |
– |
|
6367 |
– |
fi |
6368 |
– |
|
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 : |
6128 |
|
|
6129 |
|
cat >>confdefs.h <<_ACEOF |
6130 |
|
#define size_t unsigned int |
6418 |
– |
_ACEOF |
6419 |
– |
|
6420 |
– |
fi |
6421 |
– |
|
6422 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
6423 |
– |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
6424 |
– |
if ${ac_cv_header_time+:} false; then : |
6425 |
– |
$as_echo_n "(cached) " >&6 |
6426 |
– |
else |
6427 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6428 |
– |
/* end confdefs.h. */ |
6429 |
– |
#include <sys/types.h> |
6430 |
– |
#include <sys/time.h> |
6431 |
– |
#include <time.h> |
6432 |
– |
|
6433 |
– |
int |
6434 |
– |
main () |
6435 |
– |
{ |
6436 |
– |
if ((struct tm *) 0) |
6437 |
– |
return 0; |
6438 |
– |
; |
6439 |
– |
return 0; |
6440 |
– |
} |
6131 |
|
_ACEOF |
6442 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
6443 |
– |
ac_cv_header_time=yes |
6444 |
– |
else |
6445 |
– |
ac_cv_header_time=no |
6446 |
– |
fi |
6447 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6448 |
– |
fi |
6449 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
6450 |
– |
$as_echo "$ac_cv_header_time" >&6; } |
6451 |
– |
if test $ac_cv_header_time = yes; then |
6132 |
|
|
6453 |
– |
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
6454 |
– |
|
6133 |
|
fi |
6134 |
|
|
6135 |
|
|
6268 |
|
fi |
6269 |
|
|
6270 |
|
|
6593 |
– |
for ac_header in sys/select.h sys/socket.h |
6594 |
– |
do : |
6595 |
– |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6596 |
– |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6597 |
– |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6598 |
– |
cat >>confdefs.h <<_ACEOF |
6599 |
– |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6600 |
– |
_ACEOF |
6601 |
– |
|
6602 |
– |
fi |
6603 |
– |
|
6604 |
– |
done |
6605 |
– |
|
6606 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 |
6607 |
– |
$as_echo_n "checking types of arguments for select... " >&6; } |
6608 |
– |
if ${ac_cv_func_select_args+:} false; then : |
6609 |
– |
$as_echo_n "(cached) " >&6 |
6610 |
– |
else |
6611 |
– |
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
6612 |
– |
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do |
6613 |
– |
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do |
6614 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6615 |
– |
/* end confdefs.h. */ |
6616 |
– |
$ac_includes_default |
6617 |
– |
#ifdef HAVE_SYS_SELECT_H |
6618 |
– |
# include <sys/select.h> |
6619 |
– |
#endif |
6620 |
– |
#ifdef HAVE_SYS_SOCKET_H |
6621 |
– |
# include <sys/socket.h> |
6622 |
– |
#endif |
6623 |
– |
|
6624 |
– |
int |
6625 |
– |
main () |
6626 |
– |
{ |
6627 |
– |
extern int select ($ac_arg1, |
6628 |
– |
$ac_arg234, $ac_arg234, $ac_arg234, |
6629 |
– |
$ac_arg5); |
6630 |
– |
; |
6631 |
– |
return 0; |
6632 |
– |
} |
6633 |
– |
_ACEOF |
6634 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
6635 |
– |
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 |
6636 |
– |
fi |
6637 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6638 |
– |
done |
6639 |
– |
done |
6640 |
– |
done |
6641 |
– |
# Provide a safe default value. |
6642 |
– |
: "${ac_cv_func_select_args=int,int *,struct timeval *}" |
6643 |
– |
|
6644 |
– |
fi |
6645 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 |
6646 |
– |
$as_echo "$ac_cv_func_select_args" >&6; } |
6647 |
– |
ac_save_IFS=$IFS; IFS=',' |
6648 |
– |
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` |
6649 |
– |
IFS=$ac_save_IFS |
6650 |
– |
shift |
6651 |
– |
|
6652 |
– |
cat >>confdefs.h <<_ACEOF |
6653 |
– |
#define SELECT_TYPE_ARG1 $1 |
6654 |
– |
_ACEOF |
6655 |
– |
|
6656 |
– |
|
6657 |
– |
cat >>confdefs.h <<_ACEOF |
6658 |
– |
#define SELECT_TYPE_ARG234 ($2) |
6659 |
– |
_ACEOF |
6660 |
– |
|
6661 |
– |
|
6662 |
– |
cat >>confdefs.h <<_ACEOF |
6663 |
– |
#define SELECT_TYPE_ARG5 ($3) |
6664 |
– |
_ACEOF |
6665 |
– |
|
6666 |
– |
rm -f conftest* |
6667 |
– |
|
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" |
6392 |
|
|
6393 |
|
fi |
6394 |
|
done |
6792 |
– |
|
6793 |
– |
|
6794 |
– |
# special check for _system_configuration because AIX <4.3.2 do not |
6795 |
– |
# contain the `physmem' member. |
6796 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5 |
6797 |
– |
$as_echo_n "checking for external symbol _system_configuration... " >&6; } |
6798 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6799 |
– |
/* end confdefs.h. */ |
6800 |
– |
#include <sys/systemcfg.h> |
6801 |
– |
int |
6802 |
– |
main () |
6803 |
– |
{ |
6804 |
– |
double x = _system_configuration.physmem; |
6805 |
– |
; |
6806 |
– |
return 0; |
6807 |
– |
} |
6808 |
– |
_ACEOF |
6809 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
6810 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6811 |
– |
$as_echo "yes" >&6; } |
6395 |
|
|
6813 |
– |
$as_echo "#define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h |
6814 |
– |
|
6815 |
– |
else |
6816 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6817 |
– |
$as_echo "no" >&6; } |
6818 |
– |
fi |
6819 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6396 |
|
|
6397 |
|
|
6398 |
|
case $debug in |
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 |
|
|