| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.65 for OpenMD 1.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.68 for OpenMD 1.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 7 |
|
# |
| 8 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 9 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
| 10 |
< |
# Inc. |
| 9 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
| 10 |
> |
# Foundation, Inc. |
| 11 |
|
# |
| 12 |
|
# |
| 13 |
|
# This configure script is free software; the Free Software Foundation |
| 91 |
|
IFS=" "" $as_nl" |
| 92 |
|
|
| 93 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 94 |
+ |
as_myself= |
| 95 |
|
case $0 in #(( |
| 96 |
|
*[\\/]* ) as_myself=$0 ;; |
| 97 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 217 |
|
# We cannot yet assume a decent shell, so we have to provide a |
| 218 |
|
# neutralization value for shells without unset; and this also |
| 219 |
|
# works around shells that cannot unset nonexistent variables. |
| 220 |
+ |
# Preserve -v and -x to the replacement shell. |
| 221 |
|
BASH_ENV=/dev/null |
| 222 |
|
ENV=/dev/null |
| 223 |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 224 |
|
export CONFIG_SHELL |
| 225 |
< |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 225 |
> |
case $- in # (((( |
| 226 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 227 |
> |
*v* ) as_opts=-v ;; |
| 228 |
> |
*x* ) as_opts=-x ;; |
| 229 |
> |
* ) as_opts= ;; |
| 230 |
> |
esac |
| 231 |
> |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
| 232 |
|
fi |
| 233 |
|
|
| 234 |
|
if test x$as_have_required = xno; then : |
| 327 |
|
test -d "$as_dir" && break |
| 328 |
|
done |
| 329 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 330 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 330 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 331 |
|
|
| 332 |
|
|
| 333 |
|
} # as_fn_mkdir_p |
| 367 |
|
fi # as_fn_arith |
| 368 |
|
|
| 369 |
|
|
| 370 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 371 |
< |
# --------------------------------- |
| 370 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 371 |
> |
# ---------------------------------------- |
| 372 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 373 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 374 |
< |
# script with status $?, using 1 if that was 0. |
| 374 |
> |
# script with STATUS, using 1 if that was 0. |
| 375 |
|
as_fn_error () |
| 376 |
|
{ |
| 377 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 378 |
< |
if test "$3"; then |
| 379 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 380 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 377 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 378 |
> |
if test "$4"; then |
| 379 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 380 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 381 |
|
fi |
| 382 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 382 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 383 |
|
as_fn_exit $as_status |
| 384 |
|
} # as_fn_error |
| 385 |
|
|
| 541 |
|
exec 6>&1 |
| 542 |
|
|
| 543 |
|
# Name of the host. |
| 544 |
< |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 544 |
> |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 545 |
|
# so uname gets run too. |
| 546 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 547 |
|
|
| 752 |
|
CCC |
| 753 |
|
CC |
| 754 |
|
CFLAGS |
| 755 |
+ |
LDFLAGS |
| 756 |
+ |
LIBS |
| 757 |
+ |
CPPFLAGS |
| 758 |
|
FC |
| 759 |
|
FCFLAGS |
| 760 |
+ |
LDFLAGS |
| 761 |
+ |
LIBS |
| 762 |
|
MPICXX |
| 763 |
|
MPICC |
| 764 |
|
MPIFC |
| 765 |
|
CPP |
| 766 |
+ |
CPPFLAGS |
| 767 |
|
CXXCPP' |
| 768 |
|
|
| 769 |
|
|
| 827 |
|
fi |
| 828 |
|
|
| 829 |
|
case $ac_option in |
| 830 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 831 |
< |
*) ac_optarg=yes ;; |
| 830 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 831 |
> |
*=) ac_optarg= ;; |
| 832 |
> |
*) ac_optarg=yes ;; |
| 833 |
|
esac |
| 834 |
|
|
| 835 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 874 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 875 |
|
# Reject names that are not valid shell variable names. |
| 876 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 877 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 877 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 878 |
|
ac_useropt_orig=$ac_useropt |
| 879 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 880 |
|
case $ac_user_opts in |
| 900 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 901 |
|
# Reject names that are not valid shell variable names. |
| 902 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 903 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 903 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 904 |
|
ac_useropt_orig=$ac_useropt |
| 905 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 906 |
|
case $ac_user_opts in |
| 1104 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1105 |
|
# Reject names that are not valid shell variable names. |
| 1106 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1107 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1107 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1108 |
|
ac_useropt_orig=$ac_useropt |
| 1109 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1110 |
|
case $ac_user_opts in |
| 1120 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1121 |
|
# Reject names that are not valid shell variable names. |
| 1122 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1123 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1123 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1124 |
|
ac_useropt_orig=$ac_useropt |
| 1125 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1126 |
|
case $ac_user_opts in |
| 1150 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1151 |
|
x_libraries=$ac_optarg ;; |
| 1152 |
|
|
| 1153 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
| 1154 |
< |
Try \`$0 --help' for more information." |
| 1153 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1154 |
> |
Try \`$0 --help' for more information" |
| 1155 |
|
;; |
| 1156 |
|
|
| 1157 |
|
*=*) |
| 1159 |
|
# Reject names that are not valid shell variable names. |
| 1160 |
|
case $ac_envvar in #( |
| 1161 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1162 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1162 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1163 |
|
esac |
| 1164 |
|
eval $ac_envvar=\$ac_optarg |
| 1165 |
|
export $ac_envvar ;; |
| 1169 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1170 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1171 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1172 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1172 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1173 |
|
;; |
| 1174 |
|
|
| 1175 |
|
esac |
| 1177 |
|
|
| 1178 |
|
if test -n "$ac_prev"; then |
| 1179 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1180 |
< |
as_fn_error "missing argument to $ac_option" |
| 1180 |
> |
as_fn_error $? "missing argument to $ac_option" |
| 1181 |
|
fi |
| 1182 |
|
|
| 1183 |
|
if test -n "$ac_unrecognized_opts"; then |
| 1184 |
|
case $enable_option_checking in |
| 1185 |
|
no) ;; |
| 1186 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1186 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1187 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1188 |
|
esac |
| 1189 |
|
fi |
| 1206 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
| 1207 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1208 |
|
esac |
| 1209 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1209 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1210 |
|
done |
| 1211 |
|
|
| 1212 |
|
# There might be people who depend on the old broken behavior: `$host' |
| 1220 |
|
if test "x$host_alias" != x; then |
| 1221 |
|
if test "x$build_alias" = x; then |
| 1222 |
|
cross_compiling=maybe |
| 1223 |
< |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1224 |
< |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1223 |
> |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| 1224 |
> |
If a cross compiler is detected then cross compile mode will be used" >&2 |
| 1225 |
|
elif test "x$build_alias" != "x$host_alias"; then |
| 1226 |
|
cross_compiling=yes |
| 1227 |
|
fi |
| 1236 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1237 |
|
ac_ls_di=`ls -di .` && |
| 1238 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1239 |
< |
as_fn_error "working directory cannot be determined" |
| 1239 |
> |
as_fn_error $? "working directory cannot be determined" |
| 1240 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1241 |
< |
as_fn_error "pwd does not report name of working directory" |
| 1241 |
> |
as_fn_error $? "pwd does not report name of working directory" |
| 1242 |
|
|
| 1243 |
|
|
| 1244 |
|
# Find the source files, if location was not specified. |
| 1277 |
|
fi |
| 1278 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1279 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1280 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1280 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1281 |
|
fi |
| 1282 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1283 |
|
ac_abs_confdir=`( |
| 1284 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1284 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1285 |
|
pwd)` |
| 1286 |
|
# When building in place, set srcdir=. |
| 1287 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1321 |
|
--help=short display options specific to this package |
| 1322 |
|
--help=recursive display the short help of all the included packages |
| 1323 |
|
-V, --version display version information and exit |
| 1324 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
| 1324 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
| 1325 |
|
--cache-file=FILE cache test results in FILE [disabled] |
| 1326 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1327 |
|
-n, --no-create do not create output files |
| 1489 |
|
if $ac_init_version; then |
| 1490 |
|
cat <<\_ACEOF |
| 1491 |
|
OpenMD configure 1.0 |
| 1492 |
< |
generated by GNU Autoconf 2.65 |
| 1492 |
> |
generated by GNU Autoconf 2.68 |
| 1493 |
|
|
| 1494 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1494 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 1495 |
|
This configure script is free software; the Free Software Foundation |
| 1496 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1497 |
|
_ACEOF |
| 1535 |
|
|
| 1536 |
|
ac_retval=1 |
| 1537 |
|
fi |
| 1538 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1538 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1539 |
|
as_fn_set_status $ac_retval |
| 1540 |
|
|
| 1541 |
|
} # ac_fn_cxx_try_compile |
| 1573 |
|
|
| 1574 |
|
ac_retval=1 |
| 1575 |
|
fi |
| 1576 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1576 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1577 |
|
as_fn_set_status $ac_retval |
| 1578 |
|
|
| 1579 |
|
} # ac_fn_c_try_compile |
| 1611 |
|
|
| 1612 |
|
ac_retval=1 |
| 1613 |
|
fi |
| 1614 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1614 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1615 |
|
as_fn_set_status $ac_retval |
| 1616 |
|
|
| 1617 |
|
} # ac_fn_fc_try_compile |
| 1657 |
|
# interfere with the next link command; also delete a directory that is |
| 1658 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1659 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1660 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1660 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1661 |
|
as_fn_set_status $ac_retval |
| 1662 |
|
|
| 1663 |
|
} # ac_fn_cxx_try_link |
| 1670 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1671 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1672 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1673 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1673 |
> |
if eval \${$3+:} false; then : |
| 1674 |
|
$as_echo_n "(cached) " >&6 |
| 1675 |
|
else |
| 1676 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1725 |
|
eval ac_res=\$$3 |
| 1726 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1727 |
|
$as_echo "$ac_res" >&6; } |
| 1728 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1728 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1729 |
|
|
| 1730 |
|
} # ac_fn_cxx_check_func |
| 1731 |
|
|
| 1770 |
|
# interfere with the next link command; also delete a directory that is |
| 1771 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1772 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1773 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1773 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1774 |
|
as_fn_set_status $ac_retval |
| 1775 |
|
|
| 1776 |
|
} # ac_fn_c_try_link |
| 1783 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1784 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1785 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1786 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1786 |
> |
if eval \${$3+:} false; then : |
| 1787 |
|
$as_echo_n "(cached) " >&6 |
| 1788 |
|
else |
| 1789 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1838 |
|
eval ac_res=\$$3 |
| 1839 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1840 |
|
$as_echo "$ac_res" >&6; } |
| 1841 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1841 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1842 |
|
|
| 1843 |
|
} # ac_fn_c_check_func |
| 1844 |
|
|
| 1883 |
|
# interfere with the next link command; also delete a directory that is |
| 1884 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1885 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1886 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1886 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1887 |
|
as_fn_set_status $ac_retval |
| 1888 |
|
|
| 1889 |
|
} # ac_fn_fc_try_link |
| 1909 |
|
mv -f conftest.er1 conftest.err |
| 1910 |
|
fi |
| 1911 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1912 |
< |
test $ac_status = 0; } >/dev/null && { |
| 1912 |
> |
test $ac_status = 0; } > conftest.i && { |
| 1913 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1914 |
|
test ! -s conftest.err |
| 1915 |
|
}; then : |
| 1920 |
|
|
| 1921 |
|
ac_retval=1 |
| 1922 |
|
fi |
| 1923 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1923 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1924 |
|
as_fn_set_status $ac_retval |
| 1925 |
|
|
| 1926 |
|
} # ac_fn_c_try_cpp |
| 1933 |
|
ac_fn_c_check_header_mongrel () |
| 1934 |
|
{ |
| 1935 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1936 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1936 |
> |
if eval \${$3+:} false; then : |
| 1937 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1938 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1939 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1939 |
> |
if eval \${$3+:} false; then : |
| 1940 |
|
$as_echo_n "(cached) " >&6 |
| 1941 |
|
fi |
| 1942 |
|
eval ac_res=\$$3 |
| 1972 |
|
else |
| 1973 |
|
ac_header_preproc=no |
| 1974 |
|
fi |
| 1975 |
< |
rm -f conftest.err conftest.$ac_ext |
| 1975 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 1976 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1977 |
|
$as_echo "$ac_header_preproc" >&6; } |
| 1978 |
|
|
| 1995 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 1996 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1997 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1998 |
< |
( cat <<\_ASBOX |
| 1984 |
< |
## ------------------------------ ## |
| 1998 |
> |
( $as_echo "## ------------------------------ ## |
| 1999 |
|
## Report this to gezelter@nd.edu ## |
| 2000 |
< |
## ------------------------------ ## |
| 1987 |
< |
_ASBOX |
| 2000 |
> |
## ------------------------------ ##" |
| 2001 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2002 |
|
;; |
| 2003 |
|
esac |
| 2004 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2005 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2006 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2006 |
> |
if eval \${$3+:} false; then : |
| 2007 |
|
$as_echo_n "(cached) " >&6 |
| 2008 |
|
else |
| 2009 |
|
eval "$3=\$ac_header_compiler" |
| 2012 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2013 |
|
$as_echo "$ac_res" >&6; } |
| 2014 |
|
fi |
| 2015 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2015 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2016 |
|
|
| 2017 |
|
} # ac_fn_c_check_header_mongrel |
| 2018 |
|
|
| 2053 |
|
ac_retval=$ac_status |
| 2054 |
|
fi |
| 2055 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2056 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2056 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2057 |
|
as_fn_set_status $ac_retval |
| 2058 |
|
|
| 2059 |
|
} # ac_fn_c_try_run |
| 2067 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2068 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2069 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2070 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2070 |
> |
if eval \${$3+:} false; then : |
| 2071 |
|
$as_echo_n "(cached) " >&6 |
| 2072 |
|
else |
| 2073 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2085 |
|
eval ac_res=\$$3 |
| 2086 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2087 |
|
$as_echo "$ac_res" >&6; } |
| 2088 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2088 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2089 |
|
|
| 2090 |
|
} # ac_fn_c_check_header_compile |
| 2091 |
|
|
| 2110 |
|
mv -f conftest.er1 conftest.err |
| 2111 |
|
fi |
| 2112 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2113 |
< |
test $ac_status = 0; } >/dev/null && { |
| 2113 |
> |
test $ac_status = 0; } > conftest.i && { |
| 2114 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 2115 |
|
test ! -s conftest.err |
| 2116 |
|
}; then : |
| 2121 |
|
|
| 2122 |
|
ac_retval=1 |
| 2123 |
|
fi |
| 2124 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2124 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2125 |
|
as_fn_set_status $ac_retval |
| 2126 |
|
|
| 2127 |
|
} # ac_fn_cxx_try_cpp |
| 2134 |
|
ac_fn_cxx_check_header_mongrel () |
| 2135 |
|
{ |
| 2136 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2137 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2137 |
> |
if eval \${$3+:} false; then : |
| 2138 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2139 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2140 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2140 |
> |
if eval \${$3+:} false; then : |
| 2141 |
|
$as_echo_n "(cached) " >&6 |
| 2142 |
|
fi |
| 2143 |
|
eval ac_res=\$$3 |
| 2173 |
|
else |
| 2174 |
|
ac_header_preproc=no |
| 2175 |
|
fi |
| 2176 |
< |
rm -f conftest.err conftest.$ac_ext |
| 2176 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 2177 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2178 |
|
$as_echo "$ac_header_preproc" >&6; } |
| 2179 |
|
|
| 2196 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2197 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2198 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2199 |
< |
( cat <<\_ASBOX |
| 2187 |
< |
## ------------------------------ ## |
| 2199 |
> |
( $as_echo "## ------------------------------ ## |
| 2200 |
|
## Report this to gezelter@nd.edu ## |
| 2201 |
< |
## ------------------------------ ## |
| 2190 |
< |
_ASBOX |
| 2201 |
> |
## ------------------------------ ##" |
| 2202 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2203 |
|
;; |
| 2204 |
|
esac |
| 2205 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2206 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2207 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2207 |
> |
if eval \${$3+:} false; then : |
| 2208 |
|
$as_echo_n "(cached) " >&6 |
| 2209 |
|
else |
| 2210 |
|
eval "$3=\$ac_header_compiler" |
| 2213 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2214 |
|
$as_echo "$ac_res" >&6; } |
| 2215 |
|
fi |
| 2216 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2216 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2217 |
|
|
| 2218 |
|
} # ac_fn_cxx_check_header_mongrel |
| 2219 |
|
|
| 2226 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2227 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2228 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2229 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2229 |
> |
if eval \${$3+:} false; then : |
| 2230 |
|
$as_echo_n "(cached) " >&6 |
| 2231 |
|
else |
| 2232 |
|
eval "$3=no" |
| 2283 |
|
eval ac_res=\$$3 |
| 2284 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2285 |
|
$as_echo "$ac_res" >&6; } |
| 2286 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2286 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2287 |
|
|
| 2288 |
|
} # ac_fn_c_check_type |
| 2289 |
|
cat >config.log <<_ACEOF |
| 2291 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2292 |
|
|
| 2293 |
|
It was created by OpenMD $as_me 1.0, which was |
| 2294 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
| 2294 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
| 2295 |
|
|
| 2296 |
|
$ $0 $@ |
| 2297 |
|
|
| 2401 |
|
{ |
| 2402 |
|
echo |
| 2403 |
|
|
| 2404 |
< |
cat <<\_ASBOX |
| 2394 |
< |
## ---------------- ## |
| 2404 |
> |
$as_echo "## ---------------- ## |
| 2405 |
|
## Cache variables. ## |
| 2406 |
< |
## ---------------- ## |
| 2397 |
< |
_ASBOX |
| 2406 |
> |
## ---------------- ##" |
| 2407 |
|
echo |
| 2408 |
|
# The following way of writing the cache mishandles newlines in values, |
| 2409 |
|
( |
| 2437 |
|
) |
| 2438 |
|
echo |
| 2439 |
|
|
| 2440 |
< |
cat <<\_ASBOX |
| 2432 |
< |
## ----------------- ## |
| 2440 |
> |
$as_echo "## ----------------- ## |
| 2441 |
|
## Output variables. ## |
| 2442 |
< |
## ----------------- ## |
| 2435 |
< |
_ASBOX |
| 2442 |
> |
## ----------------- ##" |
| 2443 |
|
echo |
| 2444 |
|
for ac_var in $ac_subst_vars |
| 2445 |
|
do |
| 2452 |
|
echo |
| 2453 |
|
|
| 2454 |
|
if test -n "$ac_subst_files"; then |
| 2455 |
< |
cat <<\_ASBOX |
| 2449 |
< |
## ------------------- ## |
| 2455 |
> |
$as_echo "## ------------------- ## |
| 2456 |
|
## File substitutions. ## |
| 2457 |
< |
## ------------------- ## |
| 2452 |
< |
_ASBOX |
| 2457 |
> |
## ------------------- ##" |
| 2458 |
|
echo |
| 2459 |
|
for ac_var in $ac_subst_files |
| 2460 |
|
do |
| 2468 |
|
fi |
| 2469 |
|
|
| 2470 |
|
if test -s confdefs.h; then |
| 2471 |
< |
cat <<\_ASBOX |
| 2467 |
< |
## ----------- ## |
| 2471 |
> |
$as_echo "## ----------- ## |
| 2472 |
|
## confdefs.h. ## |
| 2473 |
< |
## ----------- ## |
| 2470 |
< |
_ASBOX |
| 2473 |
> |
## ----------- ##" |
| 2474 |
|
echo |
| 2475 |
|
cat confdefs.h |
| 2476 |
|
echo |
| 2525 |
|
ac_site_file1=NONE |
| 2526 |
|
ac_site_file2=NONE |
| 2527 |
|
if test -n "$CONFIG_SITE"; then |
| 2528 |
< |
ac_site_file1=$CONFIG_SITE |
| 2528 |
> |
# We do not want a PATH search for config.site. |
| 2529 |
> |
case $CONFIG_SITE in #(( |
| 2530 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2531 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2532 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2533 |
> |
esac |
| 2534 |
|
elif test "x$prefix" != xNONE; then |
| 2535 |
|
ac_site_file1=$prefix/share/config.site |
| 2536 |
|
ac_site_file2=$prefix/etc/config.site |
| 2545 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2546 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2547 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2548 |
< |
. "$ac_site_file" |
| 2548 |
> |
. "$ac_site_file" \ |
| 2549 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2550 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2551 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
| 2552 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 2553 |
|
fi |
| 2554 |
|
done |
| 2555 |
|
|
| 2625 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2626 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2627 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2628 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2628 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2629 |
|
fi |
| 2630 |
|
## -------------------- ## |
| 2631 |
|
## Main body of script. ## |
| 2640 |
|
|
| 2641 |
|
ac_aux_dir= |
| 2642 |
|
for ac_dir in ac-tools "$srcdir"/ac-tools; do |
| 2643 |
< |
for ac_t in install-sh install.sh shtool; do |
| 2644 |
< |
if test -f "$ac_dir/$ac_t"; then |
| 2645 |
< |
ac_aux_dir=$ac_dir |
| 2646 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 2647 |
< |
break 2 |
| 2648 |
< |
fi |
| 2649 |
< |
done |
| 2643 |
> |
if test -f "$ac_dir/install-sh"; then |
| 2644 |
> |
ac_aux_dir=$ac_dir |
| 2645 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2646 |
> |
break |
| 2647 |
> |
elif test -f "$ac_dir/install.sh"; then |
| 2648 |
> |
ac_aux_dir=$ac_dir |
| 2649 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2650 |
> |
break |
| 2651 |
> |
elif test -f "$ac_dir/shtool"; then |
| 2652 |
> |
ac_aux_dir=$ac_dir |
| 2653 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2654 |
> |
break |
| 2655 |
> |
fi |
| 2656 |
|
done |
| 2657 |
|
if test -z "$ac_aux_dir"; then |
| 2658 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in ac-tools \"$srcdir\"/ac-tools" "$LINENO" 5 |
| 2658 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in ac-tools \"$srcdir\"/ac-tools" "$LINENO" 5 |
| 2659 |
|
fi |
| 2660 |
|
|
| 2661 |
|
# These three variables are undocumented and unsupported, |
| 2912 |
|
# who am i |
| 2913 |
|
# Make sure we can run config.sub. |
| 2914 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 2915 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2915 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2916 |
|
|
| 2917 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 2918 |
|
$as_echo_n "checking build system type... " >&6; } |
| 2919 |
< |
if test "${ac_cv_build+set}" = set; then : |
| 2919 |
> |
if ${ac_cv_build+:} false; then : |
| 2920 |
|
$as_echo_n "(cached) " >&6 |
| 2921 |
|
else |
| 2922 |
|
ac_build_alias=$build_alias |
| 2923 |
|
test "x$ac_build_alias" = x && |
| 2924 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 2925 |
|
test "x$ac_build_alias" = x && |
| 2926 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2926 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2927 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 2928 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2928 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2929 |
|
|
| 2930 |
|
fi |
| 2931 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 2932 |
|
$as_echo "$ac_cv_build" >&6; } |
| 2933 |
|
case $ac_cv_build in |
| 2934 |
|
*-*-*) ;; |
| 2935 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 2935 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 2936 |
|
esac |
| 2937 |
|
build=$ac_cv_build |
| 2938 |
|
ac_save_IFS=$IFS; IFS='-' |
| 2950 |
|
|
| 2951 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 2952 |
|
$as_echo_n "checking host system type... " >&6; } |
| 2953 |
< |
if test "${ac_cv_host+set}" = set; then : |
| 2953 |
> |
if ${ac_cv_host+:} false; then : |
| 2954 |
|
$as_echo_n "(cached) " >&6 |
| 2955 |
|
else |
| 2956 |
|
if test "x$host_alias" = x; then |
| 2957 |
|
ac_cv_host=$ac_cv_build |
| 2958 |
|
else |
| 2959 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 2960 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2960 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2961 |
|
fi |
| 2962 |
|
|
| 2963 |
|
fi |
| 2965 |
|
$as_echo "$ac_cv_host" >&6; } |
| 2966 |
|
case $ac_cv_host in |
| 2967 |
|
*-*-*) ;; |
| 2968 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 2968 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 2969 |
|
esac |
| 2970 |
|
host=$ac_cv_host |
| 2971 |
|
ac_save_IFS=$IFS; IFS='-' |
| 3059 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3060 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3061 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3062 |
< |
if test "${ac_cv_prog_CXX+set}" = set; then : |
| 3062 |
> |
if ${ac_cv_prog_CXX+:} false; then : |
| 3063 |
|
$as_echo_n "(cached) " >&6 |
| 3064 |
|
else |
| 3065 |
|
if test -n "$CXX"; then |
| 3103 |
|
set dummy $ac_prog; ac_word=$2 |
| 3104 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3105 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3106 |
< |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
| 3106 |
> |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
| 3107 |
|
$as_echo_n "(cached) " >&6 |
| 3108 |
|
else |
| 3109 |
|
if test -n "$ac_ct_CXX"; then |
| 3266 |
|
|
| 3267 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3268 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3269 |
< |
{ as_fn_set_status 77 |
| 3270 |
< |
as_fn_error "C++ compiler cannot create executables |
| 3253 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3269 |
> |
as_fn_error 77 "C++ compiler cannot create executables |
| 3270 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3271 |
|
else |
| 3272 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3273 |
|
$as_echo "yes" >&6; } |
| 3309 |
|
else |
| 3310 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3311 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3312 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3313 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3312 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3313 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3314 |
|
fi |
| 3315 |
|
rm -f conftest conftest$ac_cv_exeext |
| 3316 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3367 |
|
else |
| 3368 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3369 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3370 |
< |
as_fn_error "cannot run C++ compiled programs. |
| 3370 |
> |
as_fn_error $? "cannot run C++ compiled programs. |
| 3371 |
|
If you meant to cross compile, use \`--host'. |
| 3372 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3372 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3373 |
|
fi |
| 3374 |
|
fi |
| 3375 |
|
fi |
| 3380 |
|
ac_clean_files=$ac_clean_files_save |
| 3381 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3382 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3383 |
< |
if test "${ac_cv_objext+set}" = set; then : |
| 3383 |
> |
if ${ac_cv_objext+:} false; then : |
| 3384 |
|
$as_echo_n "(cached) " >&6 |
| 3385 |
|
else |
| 3386 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3420 |
|
|
| 3421 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3422 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3423 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
| 3424 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3423 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 3424 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3425 |
|
fi |
| 3426 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3427 |
|
fi |
| 3431 |
|
ac_objext=$OBJEXT |
| 3432 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
| 3433 |
|
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
| 3434 |
< |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
| 3434 |
> |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
| 3435 |
|
$as_echo_n "(cached) " >&6 |
| 3436 |
|
else |
| 3437 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3468 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
| 3469 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
| 3470 |
|
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
| 3471 |
< |
if test "${ac_cv_prog_cxx_g+set}" = set; then : |
| 3471 |
> |
if ${ac_cv_prog_cxx_g+:} false; then : |
| 3472 |
|
$as_echo_n "(cached) " >&6 |
| 3473 |
|
else |
| 3474 |
|
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 3562 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3563 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3564 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3565 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3565 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3566 |
|
$as_echo_n "(cached) " >&6 |
| 3567 |
|
else |
| 3568 |
|
if test -n "$CC"; then |
| 3606 |
|
set dummy $ac_prog; ac_word=$2 |
| 3607 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3608 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3609 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3609 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3610 |
|
$as_echo_n "(cached) " >&6 |
| 3611 |
|
else |
| 3612 |
|
if test -n "$ac_ct_CC"; then |
| 3658 |
|
|
| 3659 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3660 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3661 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
| 3662 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3661 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3662 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3663 |
|
|
| 3664 |
|
# Provide some information about the compiler. |
| 3665 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3688 |
|
|
| 3689 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3690 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3691 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3691 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3692 |
|
$as_echo_n "(cached) " >&6 |
| 3693 |
|
else |
| 3694 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3725 |
|
ac_save_CFLAGS=$CFLAGS |
| 3726 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3727 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3728 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3728 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3729 |
|
$as_echo_n "(cached) " >&6 |
| 3730 |
|
else |
| 3731 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3803 |
|
fi |
| 3804 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3805 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3806 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3806 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 3807 |
|
$as_echo_n "(cached) " >&6 |
| 3808 |
|
else |
| 3809 |
|
ac_cv_prog_cc_c89=no |
| 3909 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3910 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3911 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3912 |
< |
if test "${ac_cv_prog_FC+set}" = set; then : |
| 3912 |
> |
if ${ac_cv_prog_FC+:} false; then : |
| 3913 |
|
$as_echo_n "(cached) " >&6 |
| 3914 |
|
else |
| 3915 |
|
if test -n "$FC"; then |
| 3953 |
|
set dummy $ac_prog; ac_word=$2 |
| 3954 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3955 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3956 |
< |
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then : |
| 3956 |
> |
if ${ac_cv_prog_ac_ct_FC+:} false; then : |
| 3957 |
|
$as_echo_n "(cached) " >&6 |
| 3958 |
|
else |
| 3959 |
|
if test -n "$ac_ct_FC"; then |
| 4035 |
|
ac_ext=F |
| 4036 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5 |
| 4037 |
|
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } |
| 4038 |
< |
if test "${ac_cv_fc_compiler_gnu+set}" = set; then : |
| 4038 |
> |
if ${ac_cv_fc_compiler_gnu+:} false; then : |
| 4039 |
|
$as_echo_n "(cached) " >&6 |
| 4040 |
|
else |
| 4041 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 4063 |
|
FCFLAGS= |
| 4064 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 |
| 4065 |
|
$as_echo_n "checking whether $FC accepts -g... " >&6; } |
| 4066 |
< |
if test "${ac_cv_prog_fc_g+set}" = set; then : |
| 4066 |
> |
if ${ac_cv_prog_fc_g+:} false; then : |
| 4067 |
|
$as_echo_n "(cached) " >&6 |
| 4068 |
|
else |
| 4069 |
|
FCFLAGS=-g |
| 4119 |
|
|
| 4120 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5 |
| 4121 |
|
$as_echo_n "checking for dlopen in -lc... " >&6; } |
| 4122 |
< |
if test "${ac_cv_lib_c_dlopen+set}" = set; then : |
| 4122 |
> |
if ${ac_cv_lib_c_dlopen+:} false; then : |
| 4123 |
|
$as_echo_n "(cached) " >&6 |
| 4124 |
|
else |
| 4125 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4153 |
|
fi |
| 4154 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5 |
| 4155 |
|
$as_echo "$ac_cv_lib_c_dlopen" >&6; } |
| 4156 |
< |
if test "x$ac_cv_lib_c_dlopen" = x""yes; then : |
| 4156 |
> |
if test "x$ac_cv_lib_c_dlopen" = xyes; then : |
| 4157 |
|
LIBDL="" |
| 4158 |
|
else |
| 4159 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 4160 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 4161 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 4161 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 4162 |
|
$as_echo_n "(cached) " >&6 |
| 4163 |
|
else |
| 4164 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4192 |
|
fi |
| 4193 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 4194 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 4195 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 4195 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 4196 |
|
LIBDL="-ldl" |
| 4197 |
|
fi |
| 4198 |
|
|
| 4210 |
|
set dummy $ac_prog; ac_word=$2 |
| 4211 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4212 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4213 |
< |
if test "${ac_cv_prog_MPICXX+set}" = set; then : |
| 4213 |
> |
if ${ac_cv_prog_MPICXX+:} false; then : |
| 4214 |
|
$as_echo_n "(cached) " >&6 |
| 4215 |
|
else |
| 4216 |
|
if test -n "$MPICXX"; then |
| 4254 |
|
|
| 4255 |
|
if test x = x"$MPILIBS"; then |
| 4256 |
|
ac_fn_cxx_check_func "$LINENO" "MPI_Init" "ac_cv_func_MPI_Init" |
| 4257 |
< |
if test "x$ac_cv_func_MPI_Init" = x""yes; then : |
| 4257 |
> |
if test "x$ac_cv_func_MPI_Init" = xyes; then : |
| 4258 |
|
MPILIBS=" " |
| 4259 |
|
fi |
| 4260 |
|
|
| 4263 |
|
if test x = x"$MPILIBS"; then |
| 4264 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 |
| 4265 |
|
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } |
| 4266 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then : |
| 4266 |
> |
if ${ac_cv_lib_mpi_MPI_Init+:} false; then : |
| 4267 |
|
$as_echo_n "(cached) " >&6 |
| 4268 |
|
else |
| 4269 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4297 |
|
fi |
| 4298 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 4299 |
|
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 4300 |
< |
if test "x$ac_cv_lib_mpi_MPI_Init" = x""yes; then : |
| 4300 |
> |
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : |
| 4301 |
|
MPILIBS="-lmpi" |
| 4302 |
|
fi |
| 4303 |
|
|
| 4305 |
|
if test x = x"$MPILIBS"; then |
| 4306 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 |
| 4307 |
|
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; } |
| 4308 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then : |
| 4308 |
> |
if ${ac_cv_lib_mpich_MPI_Init+:} false; then : |
| 4309 |
|
$as_echo_n "(cached) " >&6 |
| 4310 |
|
else |
| 4311 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4339 |
|
fi |
| 4340 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 4341 |
|
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 4342 |
< |
if test "x$ac_cv_lib_mpich_MPI_Init" = x""yes; then : |
| 4342 |
> |
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : |
| 4343 |
|
MPILIBS="-lmpich" |
| 4344 |
|
fi |
| 4345 |
|
|
| 4405 |
|
set dummy $ac_prog; ac_word=$2 |
| 4406 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4407 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4408 |
< |
if test "${ac_cv_prog_MPICC+set}" = set; then : |
| 4408 |
> |
if ${ac_cv_prog_MPICC+:} false; then : |
| 4409 |
|
$as_echo_n "(cached) " >&6 |
| 4410 |
|
else |
| 4411 |
|
if test -n "$MPICC"; then |
| 4449 |
|
|
| 4450 |
|
if test x = x"$MPILIBS"; then |
| 4451 |
|
ac_fn_c_check_func "$LINENO" "MPI_Init" "ac_cv_func_MPI_Init" |
| 4452 |
< |
if test "x$ac_cv_func_MPI_Init" = x""yes; then : |
| 4452 |
> |
if test "x$ac_cv_func_MPI_Init" = xyes; then : |
| 4453 |
|
MPILIBS=" " |
| 4454 |
|
fi |
| 4455 |
|
|
| 4458 |
|
if test x = x"$MPILIBS"; then |
| 4459 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 |
| 4460 |
|
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } |
| 4461 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then : |
| 4461 |
> |
if ${ac_cv_lib_mpi_MPI_Init+:} false; then : |
| 4462 |
|
$as_echo_n "(cached) " >&6 |
| 4463 |
|
else |
| 4464 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4492 |
|
fi |
| 4493 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 4494 |
|
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 4495 |
< |
if test "x$ac_cv_lib_mpi_MPI_Init" = x""yes; then : |
| 4495 |
> |
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : |
| 4496 |
|
MPILIBS="-lmpi" |
| 4497 |
|
fi |
| 4498 |
|
|
| 4500 |
|
if test x = x"$MPILIBS"; then |
| 4501 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 |
| 4502 |
|
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; } |
| 4503 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then : |
| 4503 |
> |
if ${ac_cv_lib_mpich_MPI_Init+:} false; then : |
| 4504 |
|
$as_echo_n "(cached) " >&6 |
| 4505 |
|
else |
| 4506 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4534 |
|
fi |
| 4535 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 4536 |
|
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 4537 |
< |
if test "x$ac_cv_lib_mpich_MPI_Init" = x""yes; then : |
| 4537 |
> |
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : |
| 4538 |
|
MPILIBS="-lmpich" |
| 4539 |
|
fi |
| 4540 |
|
|
| 4601 |
|
set dummy $ac_prog; ac_word=$2 |
| 4602 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4603 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4604 |
< |
if test "${ac_cv_prog_MPIFC+set}" = set; then : |
| 4604 |
> |
if ${ac_cv_prog_MPIFC+:} false; then : |
| 4605 |
|
$as_echo_n "(cached) " >&6 |
| 4606 |
|
else |
| 4607 |
|
if test -n "$MPIFC"; then |
| 4666 |
|
if test x = x"$MPILIBS"; then |
| 4667 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lfmpi" >&5 |
| 4668 |
|
$as_echo_n "checking for MPI_Init in -lfmpi... " >&6; } |
| 4669 |
< |
if test "${ac_cv_lib_fmpi_MPI_Init+set}" = set; then : |
| 4669 |
> |
if ${ac_cv_lib_fmpi_MPI_Init+:} false; then : |
| 4670 |
|
$as_echo_n "(cached) " >&6 |
| 4671 |
|
else |
| 4672 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4687 |
|
fi |
| 4688 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fmpi_MPI_Init" >&5 |
| 4689 |
|
$as_echo "$ac_cv_lib_fmpi_MPI_Init" >&6; } |
| 4690 |
< |
if test "x$ac_cv_lib_fmpi_MPI_Init" = x""yes; then : |
| 4690 |
> |
if test "x$ac_cv_lib_fmpi_MPI_Init" = xyes; then : |
| 4691 |
|
MPILIBS="-lfmpi" |
| 4692 |
|
fi |
| 4693 |
|
|
| 4695 |
|
if test x = x"$MPILIBS"; then |
| 4696 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpichf90" >&5 |
| 4697 |
|
$as_echo_n "checking for MPI_Init in -lmpichf90... " >&6; } |
| 4698 |
< |
if test "${ac_cv_lib_mpichf90_MPI_Init+set}" = set; then : |
| 4698 |
> |
if ${ac_cv_lib_mpichf90_MPI_Init+:} false; then : |
| 4699 |
|
$as_echo_n "(cached) " >&6 |
| 4700 |
|
else |
| 4701 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4716 |
|
fi |
| 4717 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpichf90_MPI_Init" >&5 |
| 4718 |
|
$as_echo "$ac_cv_lib_mpichf90_MPI_Init" >&6; } |
| 4719 |
< |
if test "x$ac_cv_lib_mpichf90_MPI_Init" = x""yes; then : |
| 4719 |
> |
if test "x$ac_cv_lib_mpichf90_MPI_Init" = xyes; then : |
| 4720 |
|
MPILIBS="-lmpichf90" |
| 4721 |
|
fi |
| 4722 |
|
|
| 4725 |
|
if test x = x"$MPILIBS"; then |
| 4726 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 |
| 4727 |
|
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } |
| 4728 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then : |
| 4728 |
> |
if ${ac_cv_lib_mpi_MPI_Init+:} false; then : |
| 4729 |
|
$as_echo_n "(cached) " >&6 |
| 4730 |
|
else |
| 4731 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4746 |
|
fi |
| 4747 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 4748 |
|
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 4749 |
< |
if test "x$ac_cv_lib_mpi_MPI_Init" = x""yes; then : |
| 4749 |
> |
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : |
| 4750 |
|
MPILIBS="-lmpi" |
| 4751 |
|
fi |
| 4752 |
|
|
| 4754 |
|
if test x = x"$MPILIBS"; then |
| 4755 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 |
| 4756 |
|
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; } |
| 4757 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then : |
| 4757 |
> |
if ${ac_cv_lib_mpich_MPI_Init+:} false; then : |
| 4758 |
|
$as_echo_n "(cached) " >&6 |
| 4759 |
|
else |
| 4760 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4775 |
|
fi |
| 4776 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 4777 |
|
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 4778 |
< |
if test "x$ac_cv_lib_mpich_MPI_Init" = x""yes; then : |
| 4778 |
> |
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : |
| 4779 |
|
MPILIBS="-lmpich" |
| 4780 |
|
fi |
| 4781 |
|
|
| 4848 |
|
CPP= |
| 4849 |
|
fi |
| 4850 |
|
if test -z "$CPP"; then |
| 4851 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
| 4851 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
| 4852 |
|
$as_echo_n "(cached) " >&6 |
| 4853 |
|
else |
| 4854 |
|
# Double quotes because CPP needs to be expanded |
| 4878 |
|
# Broken: fails on valid input. |
| 4879 |
|
continue |
| 4880 |
|
fi |
| 4881 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4881 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4882 |
|
|
| 4883 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 4884 |
|
# can be detected and how. |
| 4894 |
|
ac_preproc_ok=: |
| 4895 |
|
break |
| 4896 |
|
fi |
| 4897 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4897 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4898 |
|
|
| 4899 |
|
done |
| 4900 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4901 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4901 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 4902 |
|
if $ac_preproc_ok; then : |
| 4903 |
|
break |
| 4904 |
|
fi |
| 4937 |
|
# Broken: fails on valid input. |
| 4938 |
|
continue |
| 4939 |
|
fi |
| 4940 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4940 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4941 |
|
|
| 4942 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 4943 |
|
# can be detected and how. |
| 4953 |
|
ac_preproc_ok=: |
| 4954 |
|
break |
| 4955 |
|
fi |
| 4956 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4956 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4957 |
|
|
| 4958 |
|
done |
| 4959 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4960 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4960 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 4961 |
|
if $ac_preproc_ok; then : |
| 4962 |
|
|
| 4963 |
|
else |
| 4964 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4965 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4966 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 4967 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 4966 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 4967 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 4968 |
|
fi |
| 4969 |
|
|
| 4970 |
|
ac_ext=${ac_fc_srcext-f} |
| 4974 |
|
|
| 4975 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4976 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4977 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
| 4977 |
> |
if ${ac_cv_path_GREP+:} false; then : |
| 4978 |
|
$as_echo_n "(cached) " >&6 |
| 4979 |
|
else |
| 4980 |
|
if test -z "$GREP"; then |
| 5023 |
|
done |
| 5024 |
|
IFS=$as_save_IFS |
| 5025 |
|
if test -z "$ac_cv_path_GREP"; then |
| 5026 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5026 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5027 |
|
fi |
| 5028 |
|
else |
| 5029 |
|
ac_cv_path_GREP=$GREP |
| 5037 |
|
|
| 5038 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 5039 |
|
$as_echo_n "checking for egrep... " >&6; } |
| 5040 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
| 5040 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
| 5041 |
|
$as_echo_n "(cached) " >&6 |
| 5042 |
|
else |
| 5043 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 5089 |
|
done |
| 5090 |
|
IFS=$as_save_IFS |
| 5091 |
|
if test -z "$ac_cv_path_EGREP"; then |
| 5092 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5092 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5093 |
|
fi |
| 5094 |
|
else |
| 5095 |
|
ac_cv_path_EGREP=$EGREP |
| 5117 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 5118 |
|
set x ${MAKE-make} |
| 5119 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 5120 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 5120 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 5121 |
|
$as_echo_n "(cached) " >&6 |
| 5122 |
|
else |
| 5123 |
|
cat >conftest.make <<\_ACEOF |
| 5125 |
|
all: |
| 5126 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 5127 |
|
_ACEOF |
| 5128 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 5128 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 5129 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 5130 |
|
*@@@%%%=?*=@@@%%%*) |
| 5131 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 5149 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5150 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5151 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5152 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 5152 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 5153 |
|
$as_echo_n "(cached) " >&6 |
| 5154 |
|
else |
| 5155 |
|
if test -n "$RANLIB"; then |
| 5189 |
|
set dummy ranlib; ac_word=$2 |
| 5190 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5191 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5192 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 5192 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 5193 |
|
$as_echo_n "(cached) " >&6 |
| 5194 |
|
else |
| 5195 |
|
if test -n "$ac_ct_RANLIB"; then |
| 5241 |
|
set dummy perl; ac_word=$2 |
| 5242 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5243 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5244 |
< |
if test "${ac_cv_path_PERLINTERP+set}" = set; then : |
| 5244 |
> |
if ${ac_cv_path_PERLINTERP+:} false; then : |
| 5245 |
|
$as_echo_n "(cached) " >&6 |
| 5246 |
|
else |
| 5247 |
|
case $PERLINTERP in |
| 5291 |
|
|
| 5292 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether explicit instead of detected sharpbang is to be used" >&5 |
| 5293 |
|
$as_echo_n "checking whether explicit instead of detected sharpbang is to be used... " >&6; } |
| 5294 |
< |
if test "${ax_cv_opt_perl_shebang+set}" = set; then : |
| 5294 |
> |
if ${ax_cv_opt_perl_shebang+:} false; then : |
| 5295 |
|
$as_echo_n "(cached) " >&6 |
| 5296 |
|
else |
| 5297 |
|
case "$opt_perl_shebang" in |
| 5317 |
|
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
| 5318 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel sharpbang invocation to start perl" >&5 |
| 5319 |
|
$as_echo_n "checking for kernel sharpbang invocation to start perl... " >&6; } |
| 5320 |
< |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then : |
| 5320 |
> |
if ${ac_cv_sys_kernshrpbang_perl+:} false; then : |
| 5321 |
|
$as_echo_n "(cached) " >&6 |
| 5322 |
|
else |
| 5323 |
|
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
| 5373 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 5374 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 5375 |
|
if test -z "$INSTALL"; then |
| 5376 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
| 5376 |
> |
if ${ac_cv_path_install+:} false; then : |
| 5377 |
|
$as_echo_n "(cached) " >&6 |
| 5378 |
|
else |
| 5379 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5458 |
|
set dummy ar; ac_word=$2 |
| 5459 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5460 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5461 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
| 5461 |
> |
if ${ac_cv_prog_AR+:} false; then : |
| 5462 |
|
$as_echo_n "(cached) " >&6 |
| 5463 |
|
else |
| 5464 |
|
if test -n "$AR"; then |
| 5557 |
|
:end' >>confcache |
| 5558 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 5559 |
|
if test -w "$cache_file"; then |
| 5560 |
< |
test "x$cache_file" != "x/dev/null" && |
| 5560 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 5561 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 5562 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 5563 |
< |
cat confcache >$cache_file |
| 5563 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 5564 |
> |
cat confcache >"$cache_file" |
| 5565 |
> |
else |
| 5566 |
> |
case $cache_file in #( |
| 5567 |
> |
*/* | ?:*) |
| 5568 |
> |
mv -f confcache "$cache_file"$$ && |
| 5569 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 5570 |
> |
*) |
| 5571 |
> |
mv -f confcache "$cache_file" ;; |
| 5572 |
> |
esac |
| 5573 |
> |
fi |
| 5574 |
> |
fi |
| 5575 |
|
else |
| 5576 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 5577 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 5584 |
|
set dummy ps; ac_word=$2 |
| 5585 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5586 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5587 |
< |
if test "${ac_cv_path_PS+set}" = set; then : |
| 5587 |
> |
if ${ac_cv_path_PS+:} false; then : |
| 5588 |
|
$as_echo_n "(cached) " >&6 |
| 5589 |
|
else |
| 5590 |
|
case $PS in |
| 5622 |
|
|
| 5623 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX or BSD ps syntax" >&5 |
| 5624 |
|
$as_echo_n "checking for POSIX or BSD ps syntax... " >&6; } |
| 5625 |
< |
if test "${ac_cv_prog_ps_syntax+set}" = set; then : |
| 5625 |
> |
if ${ac_cv_prog_ps_syntax+:} false; then : |
| 5626 |
|
$as_echo_n "(cached) " >&6 |
| 5627 |
|
else |
| 5628 |
|
|
| 5642 |
|
if test "$ac_cv_prog_ps_ef" = yes; then |
| 5643 |
|
ac_cv_prog_ps_syntax=POSIX |
| 5644 |
|
else |
| 5645 |
< |
as_fn_error "Could not determine ps syntax" "$LINENO" 5 |
| 5645 |
> |
as_fn_error $? "Could not determine ps syntax" "$LINENO" 5 |
| 5646 |
|
fi |
| 5647 |
|
fi |
| 5648 |
|
|
| 5664 |
|
$as_echo "#define PSTYPE_IS_POSIX 1" >>confdefs.h |
| 5665 |
|
|
| 5666 |
|
else |
| 5667 |
< |
as_fn_error "Unknown ps syntax type!" "$LINENO" 5 |
| 5667 |
> |
as_fn_error $? "Unknown ps syntax type!" "$LINENO" 5 |
| 5668 |
|
fi |
| 5669 |
|
fi |
| 5670 |
|
|
| 5679 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5680 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran flag to compile .F90 files" >&5 |
| 5681 |
|
$as_echo_n "checking for Fortran flag to compile .F90 files... " >&6; } |
| 5682 |
< |
if test "${ac_cv_fc_srcext_F90+set}" = set; then : |
| 5682 |
> |
if ${ac_cv_fc_srcext_F90+:} false; then : |
| 5683 |
|
$as_echo_n "(cached) " >&6 |
| 5684 |
|
else |
| 5685 |
|
ac_ext=F90 |
| 5705 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_srcext_F90" >&5 |
| 5706 |
|
$as_echo "$ac_cv_fc_srcext_F90" >&6; } |
| 5707 |
|
if test "x$ac_cv_fc_srcext_F90" = xunknown; then |
| 5708 |
< |
as_fn_error "Fortran could not compile .F90 files" "$LINENO" 5 |
| 5708 |
> |
as_fn_error $? "Fortran could not compile .F90 files" "$LINENO" 5 |
| 5709 |
|
else |
| 5710 |
|
ac_fc_srcext=F90 |
| 5711 |
|
if test "x$ac_cv_fc_srcext_F90" = xnone; then |
| 5799 |
|
else |
| 5800 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5801 |
|
$as_echo "no" >&6; } |
| 5802 |
< |
as_fn_error "Can't figure out working Fortran90 preprocessor flag" "$LINENO" 5 |
| 5802 |
> |
as_fn_error $? "Can't figure out working Fortran90 preprocessor flag" "$LINENO" 5 |
| 5803 |
|
fi |
| 5804 |
|
fi |
| 5805 |
|
|
| 5882 |
|
else |
| 5883 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5884 |
|
$as_echo "no" >&6; } |
| 5885 |
< |
as_fn_error "Can't figure out working Fortran90 preprocessor define flag" "$LINENO" 5 |
| 5885 |
> |
as_fn_error $? "Can't figure out working Fortran90 preprocessor define flag" "$LINENO" 5 |
| 5886 |
|
fi |
| 5887 |
|
fi |
| 5888 |
|
|
| 5892 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5893 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5 |
| 5894 |
|
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
| 5895 |
< |
if test "${ac_cv_prog_fc_v+set}" = set; then : |
| 5895 |
> |
if ${ac_cv_prog_fc_v+:} false; then : |
| 5896 |
|
$as_echo_n "(cached) " >&6 |
| 5897 |
|
else |
| 5898 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 5922 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 5923 |
|
# LIBRARY_PATH; skip all such settings. |
| 5924 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 5925 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 5925 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 5926 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 5927 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 5928 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 5929 |
|
|
| 5988 |
|
$as_echo "$ac_cv_prog_fc_v" >&6; } |
| 5989 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5 |
| 5990 |
|
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
| 5991 |
< |
if test "${ac_cv_fc_libs+set}" = set; then : |
| 5991 |
> |
if ${ac_cv_fc_libs+:} false; then : |
| 5992 |
|
$as_echo_n "(cached) " >&6 |
| 5993 |
|
else |
| 5994 |
|
if test "x$FCLIBS" != "x"; then |
| 6013 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 6014 |
|
# LIBRARY_PATH; skip all such settings. |
| 6015 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 6016 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 6016 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 6017 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 6018 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 6019 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 6020 |
|
|
| 6104 |
|
;; |
| 6105 |
|
# Ignore these flags. |
| 6106 |
|
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |
| 6107 |
< |
|-LANG:=* | -LIST:* | -LNO:*) |
| 6107 |
> |
|-LANG:=* | -LIST:* | -LNO:* | -link) |
| 6108 |
|
;; |
| 6109 |
|
-lkernel32) |
| 6110 |
|
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 6201 |
|
|
| 6202 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran libraries" >&5 |
| 6203 |
|
$as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; } |
| 6204 |
< |
if test "${ac_cv_fc_dummy_main+set}" = set; then : |
| 6204 |
> |
if ${ac_cv_fc_dummy_main+:} false; then : |
| 6205 |
|
$as_echo_n "(cached) " >&6 |
| 6206 |
|
else |
| 6207 |
|
ac_fc_dm_save_LIBS=$LIBS |
| 6297 |
|
else |
| 6298 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6299 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6300 |
< |
as_fn_error "linking to Fortran libraries from C fails |
| 6301 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 6300 |
> |
as_fn_error $? "linking to Fortran libraries from C fails |
| 6301 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 6302 |
|
fi |
| 6303 |
|
|
| 6304 |
|
ac_ext=${ac_fc_srcext-f} |
| 6312 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 6313 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran name-mangling scheme" >&5 |
| 6314 |
|
$as_echo_n "checking for Fortran name-mangling scheme... " >&6; } |
| 6315 |
< |
if test "${ac_cv_fc_mangling+set}" = set; then : |
| 6315 |
> |
if ${ac_cv_fc_mangling+:} false; then : |
| 6316 |
|
$as_echo_n "(cached) " >&6 |
| 6317 |
|
else |
| 6318 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 6458 |
|
else |
| 6459 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6460 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6461 |
< |
as_fn_error "cannot compile a simple Fortran program |
| 6462 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 6461 |
> |
as_fn_error $? "cannot compile a simple Fortran program |
| 6462 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 6463 |
|
fi |
| 6464 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6465 |
|
|
| 6536 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 6537 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5 |
| 6538 |
|
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
| 6539 |
< |
if test "${ac_cv_prog_fc_v+set}" = set; then : |
| 6539 |
> |
if ${ac_cv_prog_fc_v+:} false; then : |
| 6540 |
|
$as_echo_n "(cached) " >&6 |
| 6541 |
|
else |
| 6542 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 6566 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 6567 |
|
# LIBRARY_PATH; skip all such settings. |
| 6568 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 6569 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 6569 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 6570 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 6571 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 6572 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 6573 |
|
|
| 6632 |
|
$as_echo "$ac_cv_prog_fc_v" >&6; } |
| 6633 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5 |
| 6634 |
|
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
| 6635 |
< |
if test "${ac_cv_fc_libs+set}" = set; then : |
| 6635 |
> |
if ${ac_cv_fc_libs+:} false; then : |
| 6636 |
|
$as_echo_n "(cached) " >&6 |
| 6637 |
|
else |
| 6638 |
|
if test "x$FCLIBS" != "x"; then |
| 6657 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 6658 |
|
# LIBRARY_PATH; skip all such settings. |
| 6659 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 6660 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 6660 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 6661 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 6662 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 6663 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 6664 |
|
|
| 6748 |
|
;; |
| 6749 |
|
# Ignore these flags. |
| 6750 |
|
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |
| 6751 |
< |
|-LANG:=* | -LIST:* | -LNO:*) |
| 6751 |
> |
|-LANG:=* | -LIST:* | -LNO:* | -link) |
| 6752 |
|
;; |
| 6753 |
|
-lkernel32) |
| 6754 |
|
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 6971 |
|
|
| 6972 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 90 module file names" >&5 |
| 6973 |
|
$as_echo_n "checking for Fortran 90 module file names... " >&6; } |
| 6974 |
< |
if test "${ac_cv_f90_module_names+set}" = set; then : |
| 6974 |
> |
if ${ac_cv_f90_module_names+:} false; then : |
| 6975 |
|
$as_echo_n "(cached) " >&6 |
| 6976 |
|
else |
| 6977 |
|
ac_ext=${ac_fc_srcext-f} |
| 7183 |
|
|
| 7184 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5 |
| 7185 |
|
$as_echo_n "checking for asin in -lm... " >&6; } |
| 7186 |
< |
if test "${ac_cv_lib_m_asin+set}" = set; then : |
| 7186 |
> |
if ${ac_cv_lib_m_asin+:} false; then : |
| 7187 |
|
$as_echo_n "(cached) " >&6 |
| 7188 |
|
else |
| 7189 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7225 |
|
fi |
| 7226 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5 |
| 7227 |
|
$as_echo "$ac_cv_lib_m_asin" >&6; } |
| 7228 |
< |
if test "x$ac_cv_lib_m_asin" = x""yes; then : |
| 7228 |
> |
if test "x$ac_cv_lib_m_asin" = xyes; then : |
| 7229 |
|
cat >>confdefs.h <<_ACEOF |
| 7230 |
|
#define HAVE_LIBM 1 |
| 7231 |
|
_ACEOF |
| 7239 |
|
|
| 7240 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7241 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7242 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 7242 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 7243 |
|
$as_echo_n "(cached) " >&6 |
| 7244 |
|
else |
| 7245 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7364 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7365 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 7366 |
|
" |
| 7367 |
< |
eval as_val=\$$as_ac_Header |
| 7336 |
< |
if test "x$as_val" = x""yes; then : |
| 7367 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 7368 |
|
cat >>confdefs.h <<_ACEOF |
| 7369 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7370 |
|
_ACEOF |
| 7419 |
|
|
| 7420 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5 |
| 7421 |
|
$as_echo_n "checking for inflateEnd in -lz... " >&6; } |
| 7422 |
< |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then : |
| 7422 |
> |
if ${ac_cv_lib_z_inflateEnd+:} false; then : |
| 7423 |
|
$as_echo_n "(cached) " >&6 |
| 7424 |
|
else |
| 7425 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7461 |
|
fi |
| 7462 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 7463 |
|
$as_echo "$ac_cv_lib_z_inflateEnd" >&6; } |
| 7464 |
< |
if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then : |
| 7464 |
> |
if test "x$ac_cv_lib_z_inflateEnd" = xyes; then : |
| 7465 |
|
zlib_cv_libz=yes |
| 7466 |
|
else |
| 7467 |
|
zlib_cv_libz=no |
| 7468 |
|
fi |
| 7469 |
|
|
| 7470 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 7471 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 7471 |
> |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 7472 |
|
zlib_cv_zlib_h=yes |
| 7473 |
|
else |
| 7474 |
|
zlib_cv_zlib_h=no |
| 7559 |
|
|
| 7560 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_execute in -lfftw3" >&5 |
| 7561 |
|
$as_echo_n "checking for fftw_execute in -lfftw3... " >&6; } |
| 7562 |
< |
if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then : |
| 7562 |
> |
if ${ac_cv_lib_fftw3_fftw_execute+:} false; then : |
| 7563 |
|
$as_echo_n "(cached) " >&6 |
| 7564 |
|
else |
| 7565 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7601 |
|
fi |
| 7602 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
| 7603 |
|
$as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; } |
| 7604 |
< |
if test "x$ac_cv_lib_fftw3_fftw_execute" = x""yes; then : |
| 7604 |
> |
if test "x$ac_cv_lib_fftw3_fftw_execute" = xyes; then : |
| 7605 |
|
fftw_cv_libfftw3=yes |
| 7606 |
|
else |
| 7607 |
|
fftw_cv_libfftw3=no |
| 7608 |
|
fi |
| 7609 |
|
|
| 7610 |
|
ac_fn_c_check_header_mongrel "$LINENO" "fftw3.h" "ac_cv_header_fftw3_h" "$ac_includes_default" |
| 7611 |
< |
if test "x$ac_cv_header_fftw3_h" = x""yes; then : |
| 7611 |
> |
if test "x$ac_cv_header_fftw3_h" = xyes; then : |
| 7612 |
|
fftw_cv_fftw3_h=yes |
| 7613 |
|
else |
| 7614 |
|
fftw_cv_fftw3_h=no |
| 7618 |
|
if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"; then |
| 7619 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftwnd_one in -lfftw" >&5 |
| 7620 |
|
$as_echo_n "checking for fftwnd_one in -lfftw... " >&6; } |
| 7621 |
< |
if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then : |
| 7621 |
> |
if ${ac_cv_lib_fftw_fftwnd_one+:} false; then : |
| 7622 |
|
$as_echo_n "(cached) " >&6 |
| 7623 |
|
else |
| 7624 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7660 |
|
fi |
| 7661 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
| 7662 |
|
$as_echo "$ac_cv_lib_fftw_fftwnd_one" >&6; } |
| 7663 |
< |
if test "x$ac_cv_lib_fftw_fftwnd_one" = x""yes; then : |
| 7663 |
> |
if test "x$ac_cv_lib_fftw_fftwnd_one" = xyes; then : |
| 7664 |
|
fftw_cv_libfftw=yes |
| 7665 |
|
else |
| 7666 |
|
fftw_cv_libfftw=no |
| 7667 |
|
fi |
| 7668 |
|
|
| 7669 |
|
ac_fn_c_check_header_mongrel "$LINENO" "fftw.h" "ac_cv_header_fftw_h" "$ac_includes_default" |
| 7670 |
< |
if test "x$ac_cv_header_fftw_h" = x""yes; then : |
| 7670 |
> |
if test "x$ac_cv_header_fftw_h" = xyes; then : |
| 7671 |
|
fftw_cv_fftw_h=yes |
| 7672 |
|
else |
| 7673 |
|
fftw_cv_fftw_h=no |
| 7677 |
|
if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"; then |
| 7678 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftwnd_one in -ldfftw" >&5 |
| 7679 |
|
$as_echo_n "checking for fftwnd_one in -ldfftw... " >&6; } |
| 7680 |
< |
if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then : |
| 7680 |
> |
if ${ac_cv_lib_dfftw_fftwnd_one+:} false; then : |
| 7681 |
|
$as_echo_n "(cached) " >&6 |
| 7682 |
|
else |
| 7683 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7719 |
|
fi |
| 7720 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
| 7721 |
|
$as_echo "$ac_cv_lib_dfftw_fftwnd_one" >&6; } |
| 7722 |
< |
if test "x$ac_cv_lib_dfftw_fftwnd_one" = x""yes; then : |
| 7722 |
> |
if test "x$ac_cv_lib_dfftw_fftwnd_one" = xyes; then : |
| 7723 |
|
fftw_cv_libdfftw=yes |
| 7724 |
|
else |
| 7725 |
|
fftw_cv_libdfftw=no |
| 7726 |
|
fi |
| 7727 |
|
|
| 7728 |
|
ac_fn_c_check_header_mongrel "$LINENO" "dfftw.h" "ac_cv_header_dfftw_h" "$ac_includes_default" |
| 7729 |
< |
if test "x$ac_cv_header_dfftw_h" = x""yes; then : |
| 7729 |
> |
if test "x$ac_cv_header_dfftw_h" = xyes; then : |
| 7730 |
|
fftw_cv_dfftw_h=yes |
| 7731 |
|
else |
| 7732 |
|
fftw_cv_dfftw_h=no |
| 7802 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
| 7803 |
|
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
| 7804 |
|
if test -z "$CXXCPP"; then |
| 7805 |
< |
if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
| 7805 |
> |
if ${ac_cv_prog_CXXCPP+:} false; then : |
| 7806 |
|
$as_echo_n "(cached) " >&6 |
| 7807 |
|
else |
| 7808 |
|
# Double quotes because CXXCPP needs to be expanded |
| 7832 |
|
# Broken: fails on valid input. |
| 7833 |
|
continue |
| 7834 |
|
fi |
| 7835 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7835 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7836 |
|
|
| 7837 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7838 |
|
# can be detected and how. |
| 7848 |
|
ac_preproc_ok=: |
| 7849 |
|
break |
| 7850 |
|
fi |
| 7851 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7851 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7852 |
|
|
| 7853 |
|
done |
| 7854 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7855 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7855 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7856 |
|
if $ac_preproc_ok; then : |
| 7857 |
|
break |
| 7858 |
|
fi |
| 7891 |
|
# Broken: fails on valid input. |
| 7892 |
|
continue |
| 7893 |
|
fi |
| 7894 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7894 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7895 |
|
|
| 7896 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7897 |
|
# can be detected and how. |
| 7907 |
|
ac_preproc_ok=: |
| 7908 |
|
break |
| 7909 |
|
fi |
| 7910 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7910 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7911 |
|
|
| 7912 |
|
done |
| 7913 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7914 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7914 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7915 |
|
if $ac_preproc_ok; then : |
| 7916 |
|
|
| 7917 |
|
else |
| 7918 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7919 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7920 |
< |
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check |
| 7921 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 7920 |
> |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
| 7921 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 7922 |
|
fi |
| 7923 |
|
|
| 7924 |
|
ac_ext=cpp |
| 7977 |
|
CXXFLAGS="$CXXFLAGS -I${QHULL_HOME}/include" |
| 7978 |
|
CPPFLAGS="$CPPFLAGS -I${QHULL_HOME}/include" |
| 7979 |
|
ac_fn_cxx_check_header_mongrel "$LINENO" "qhull/qhull.h" "ac_cv_header_qhull_qhull_h" "$ac_includes_default" |
| 7980 |
< |
if test "x$ac_cv_header_qhull_qhull_h" = x""yes; then : |
| 7980 |
> |
if test "x$ac_cv_header_qhull_qhull_h" = xyes; then : |
| 7981 |
|
qhull_cv_qhull_h=yes |
| 7982 |
|
else |
| 7983 |
|
qhull_cv_qhull_h=no |
| 7986 |
|
|
| 7987 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qh_qhull in -lqhull" >&5 |
| 7988 |
|
$as_echo_n "checking for qh_qhull in -lqhull... " >&6; } |
| 7989 |
< |
if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then : |
| 7989 |
> |
if ${ac_cv_lib_qhull_qh_qhull+:} false; then : |
| 7990 |
|
$as_echo_n "(cached) " >&6 |
| 7991 |
|
else |
| 7992 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8028 |
|
fi |
| 8029 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qhull_qh_qhull" >&5 |
| 8030 |
|
$as_echo "$ac_cv_lib_qhull_qh_qhull" >&6; } |
| 8031 |
< |
if test "x$ac_cv_lib_qhull_qh_qhull" = x""yes; then : |
| 8031 |
> |
if test "x$ac_cv_lib_qhull_qh_qhull" = xyes; then : |
| 8032 |
|
qhull_cv_libqhull=yes |
| 8033 |
|
else |
| 8034 |
|
qhull_cv_libqhull=no |
| 8126 |
|
LDFLAGS="$LDFLAGS -L${OPENBABEL_HOME}/lib -lopenbabel" |
| 8127 |
|
CPPFLAGS="$CPPFLAGS -I${OPENBABEL_HOME}/include/openbabel-2.0" |
| 8128 |
|
ac_fn_cxx_check_header_mongrel "$LINENO" "openbabel/babelconfig.h" "ac_cv_header_openbabel_babelconfig_h" "$ac_includes_default" |
| 8129 |
< |
if test "x$ac_cv_header_openbabel_babelconfig_h" = x""yes; then : |
| 8129 |
> |
if test "x$ac_cv_header_openbabel_babelconfig_h" = xyes; then : |
| 8130 |
|
openbabel_cv_openbabel_h=yes |
| 8131 |
|
else |
| 8132 |
|
openbabel_cv_openbabel_h=no |
| 8134 |
|
|
| 8135 |
|
|
| 8136 |
|
ac_fn_cxx_check_header_mongrel "$LINENO" "openbabel/obconversion.h" "ac_cv_header_openbabel_obconversion_h" "$ac_includes_default" |
| 8137 |
< |
if test "x$ac_cv_header_openbabel_obconversion_h" = x""yes; then : |
| 8137 |
> |
if test "x$ac_cv_header_openbabel_obconversion_h" = xyes; then : |
| 8138 |
|
openbabel_cv_obconversion_h=yes |
| 8139 |
|
else |
| 8140 |
|
openbabel_cv_obconversion_h=no |
| 8230 |
|
# Checks for header files. |
| 8231 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 8232 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 8233 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 8233 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 8234 |
|
$as_echo_n "(cached) " >&6 |
| 8235 |
|
else |
| 8236 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8352 |
|
do : |
| 8353 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8354 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 8355 |
< |
eval as_val=\$$as_ac_Header |
| 8325 |
< |
if test "x$as_val" = x""yes; then : |
| 8355 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8356 |
|
cat >>confdefs.h <<_ACEOF |
| 8357 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8358 |
|
_ACEOF |
| 8365 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 8366 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
| 8367 |
|
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
| 8368 |
< |
if test "${ac_cv_header_stdbool_h+set}" = set; then : |
| 8368 |
> |
if ${ac_cv_header_stdbool_h+:} false; then : |
| 8369 |
|
$as_echo_n "(cached) " >&6 |
| 8370 |
|
else |
| 8371 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8397 |
|
char b[false == 0 ? 1 : -1]; |
| 8398 |
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
| 8399 |
|
char d[(bool) 0.5 == true ? 1 : -1]; |
| 8400 |
< |
bool e = &s; |
| 8400 |
> |
/* See body of main program for 'e'. */ |
| 8401 |
|
char f[(_Bool) 0.0 == false ? 1 : -1]; |
| 8402 |
|
char g[true]; |
| 8403 |
|
char h[sizeof (_Bool)]; |
| 8408 |
|
_Bool n[m]; |
| 8409 |
|
char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
| 8410 |
|
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
| 8381 |
– |
# if defined __xlc__ || defined __GNUC__ |
| 8382 |
– |
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 |
| 8383 |
– |
reported by James Lemley on 2005-10-05; see |
| 8384 |
– |
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
| 8385 |
– |
This test is not quite right, since xlc is allowed to |
| 8386 |
– |
reject this program, as the initializer for xlcbug is |
| 8387 |
– |
not one of the forms that C requires support for. |
| 8388 |
– |
However, doing the test right would require a runtime |
| 8389 |
– |
test, and that would make cross-compilation harder. |
| 8390 |
– |
Let us hope that IBM fixes the xlc bug, and also adds |
| 8391 |
– |
support for this kind of constant expression. In the |
| 8392 |
– |
meantime, this test will reject xlc, which is OK, since |
| 8393 |
– |
our stdbool.h substitute should suffice. We also test |
| 8394 |
– |
this with GCC, where it should work, to detect more |
| 8395 |
– |
quickly whether someone messes up the test in the |
| 8396 |
– |
future. */ |
| 8397 |
– |
char digs[] = "0123456789"; |
| 8398 |
– |
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); |
| 8399 |
– |
# endif |
| 8411 |
|
/* Catch a bug in an HP-UX C compiler. See |
| 8412 |
|
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
| 8413 |
|
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
| 8427 |
|
main () |
| 8428 |
|
{ |
| 8429 |
|
|
| 8430 |
+ |
bool e = &s; |
| 8431 |
|
*pq |= q; |
| 8432 |
|
*pq |= ! q; |
| 8433 |
|
/* Refer to every declared value, to avoid compiler optimizations. */ |
| 8448 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
| 8449 |
|
$as_echo "$ac_cv_header_stdbool_h" >&6; } |
| 8450 |
|
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
| 8451 |
< |
if test "x$ac_cv_type__Bool" = x""yes; then : |
| 8451 |
> |
if test "x$ac_cv_type__Bool" = xyes; then : |
| 8452 |
|
|
| 8453 |
|
cat >>confdefs.h <<_ACEOF |
| 8454 |
|
#define HAVE__BOOL 1 |
| 8465 |
|
|
| 8466 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 8467 |
|
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 8468 |
< |
if test "${ac_cv_c_const+set}" = set; then : |
| 8468 |
> |
if ${ac_cv_c_const+:} false; then : |
| 8469 |
|
$as_echo_n "(cached) " >&6 |
| 8470 |
|
else |
| 8471 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8553 |
|
|
| 8554 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 8555 |
|
$as_echo_n "checking for inline... " >&6; } |
| 8556 |
< |
if test "${ac_cv_c_inline+set}" = set; then : |
| 8556 |
> |
if ${ac_cv_c_inline+:} false; then : |
| 8557 |
|
$as_echo_n "(cached) " >&6 |
| 8558 |
|
else |
| 8559 |
|
ac_cv_c_inline=no |
| 8594 |
|
esac |
| 8595 |
|
|
| 8596 |
|
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 8597 |
< |
if test "x$ac_cv_type_size_t" = x""yes; then : |
| 8597 |
> |
if test "x$ac_cv_type_size_t" = xyes; then : |
| 8598 |
|
|
| 8599 |
|
else |
| 8600 |
|
|
| 8606 |
|
|
| 8607 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 8608 |
|
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 8609 |
< |
if test "${ac_cv_header_time+set}" = set; then : |
| 8609 |
> |
if ${ac_cv_header_time+:} false; then : |
| 8610 |
|
$as_echo_n "(cached) " >&6 |
| 8611 |
|
else |
| 8612 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8652 |
|
for ac_header in stdlib.h |
| 8653 |
|
do : |
| 8654 |
|
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 8655 |
< |
if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
| 8655 |
> |
if test "x$ac_cv_header_stdlib_h" = xyes; then : |
| 8656 |
|
cat >>confdefs.h <<_ACEOF |
| 8657 |
|
#define HAVE_STDLIB_H 1 |
| 8658 |
|
_ACEOF |
| 8663 |
|
|
| 8664 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
| 8665 |
|
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
| 8666 |
< |
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : |
| 8666 |
> |
if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
| 8667 |
|
$as_echo_n "(cached) " >&6 |
| 8668 |
|
else |
| 8669 |
|
if test "$cross_compiling" = yes; then : |
| 8727 |
|
for ac_header in stdlib.h |
| 8728 |
|
do : |
| 8729 |
|
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 8730 |
< |
if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
| 8730 |
> |
if test "x$ac_cv_header_stdlib_h" = xyes; then : |
| 8731 |
|
cat >>confdefs.h <<_ACEOF |
| 8732 |
|
#define HAVE_STDLIB_H 1 |
| 8733 |
|
_ACEOF |
| 8738 |
|
|
| 8739 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
| 8740 |
|
$as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
| 8741 |
< |
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : |
| 8741 |
> |
if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
| 8742 |
|
$as_echo_n "(cached) " >&6 |
| 8743 |
|
else |
| 8744 |
|
if test "$cross_compiling" = yes; then : |
| 8803 |
|
do : |
| 8804 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8805 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 8806 |
< |
eval as_val=\$$as_ac_Header |
| 8795 |
< |
if test "x$as_val" = x""yes; then : |
| 8806 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8807 |
|
cat >>confdefs.h <<_ACEOF |
| 8808 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8809 |
|
_ACEOF |
| 8814 |
|
|
| 8815 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 |
| 8816 |
|
$as_echo_n "checking types of arguments for select... " >&6; } |
| 8817 |
< |
if test "${ac_cv_func_select_args+set}" = set; then : |
| 8817 |
> |
if ${ac_cv_func_select_args+:} false; then : |
| 8818 |
|
$as_echo_n "(cached) " >&6 |
| 8819 |
|
else |
| 8820 |
|
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
| 8856 |
|
done |
| 8857 |
|
done |
| 8858 |
|
# Provide a safe default value. |
| 8859 |
< |
: ${ac_cv_func_select_args='int,int *,struct timeval *'} |
| 8859 |
> |
: "${ac_cv_func_select_args=int,int *,struct timeval *}" |
| 8860 |
|
|
| 8861 |
|
fi |
| 8862 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 |
| 8884 |
|
|
| 8885 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 |
| 8886 |
|
$as_echo_n "checking for working strtod... " >&6; } |
| 8887 |
< |
if test "${ac_cv_func_strtod+set}" = set; then : |
| 8887 |
> |
if ${ac_cv_func_strtod+:} false; then : |
| 8888 |
|
$as_echo_n "(cached) " >&6 |
| 8889 |
|
else |
| 8890 |
|
if test "$cross_compiling" = yes; then : |
| 8943 |
|
esac |
| 8944 |
|
|
| 8945 |
|
ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" |
| 8946 |
< |
if test "x$ac_cv_func_pow" = x""yes; then : |
| 8946 |
> |
if test "x$ac_cv_func_pow" = xyes; then : |
| 8947 |
|
|
| 8948 |
|
fi |
| 8949 |
|
|
| 8950 |
|
if test $ac_cv_func_pow = no; then |
| 8951 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 |
| 8952 |
|
$as_echo_n "checking for pow in -lm... " >&6; } |
| 8953 |
< |
if test "${ac_cv_lib_m_pow+set}" = set; then : |
| 8953 |
> |
if ${ac_cv_lib_m_pow+:} false; then : |
| 8954 |
|
$as_echo_n "(cached) " >&6 |
| 8955 |
|
else |
| 8956 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8992 |
|
fi |
| 8993 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 |
| 8994 |
|
$as_echo "$ac_cv_lib_m_pow" >&6; } |
| 8995 |
< |
if test "x$ac_cv_lib_m_pow" = x""yes; then : |
| 8995 |
> |
if test "x$ac_cv_lib_m_pow" = xyes; then : |
| 8996 |
|
POW_LIB=-lm |
| 8997 |
|
else |
| 8998 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5 |
| 9007 |
|
do : |
| 9008 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 9009 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 9010 |
< |
eval as_val=\$$as_ac_var |
| 9000 |
< |
if test "x$as_val" = x""yes; then : |
| 9010 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 9011 |
|
cat >>confdefs.h <<_ACEOF |
| 9012 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 9013 |
|
_ACEOF |
| 9064 |
|
# Try to determine "good" native compiler flags if none specified on command |
| 9065 |
|
# line |
| 9066 |
|
|
| 9067 |
< |
if test "$ac_test_FFLAGS" != "set"; then |
| 9067 |
> |
if test "$ac_test_FCFLAGS" != "set"; then |
| 9068 |
|
FCFLAGS="" |
| 9069 |
|
case "${host_cpu}-${host_os}" in |
| 9070 |
|
|
| 9113 |
|
|
| 9114 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
| 9115 |
|
$as_echo_n "checking whether ${FC} accepts ${FCFLAGS}... " >&6; } |
| 9116 |
< |
if test "${ac_cv_ac_cv_guessed_f90flags+set}" = set; then : |
| 9116 |
> |
if ${ac_cv_ac_cv_guessed_f90flags+:} false; then : |
| 9117 |
|
$as_echo_n "(cached) " >&6 |
| 9118 |
|
else |
| 9119 |
|
|
| 9174 |
|
|
| 9175 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are *really* using GNU cc" >&5 |
| 9176 |
|
$as_echo_n "checking whether we are *really* using GNU cc... " >&6; } |
| 9177 |
< |
if test "${ac_cv_prog_really_gcc+set}" = set; then : |
| 9177 |
> |
if ${ac_cv_prog_really_gcc+:} false; then : |
| 9178 |
|
$as_echo_n "(cached) " >&6 |
| 9179 |
|
else |
| 9180 |
|
|
| 9279 |
|
|
| 9280 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts ${CFLAGS}" >&5 |
| 9281 |
|
$as_echo_n "checking whether ${CC} accepts ${CFLAGS}... " >&6; } |
| 9282 |
< |
if test "${ac_cv_ac_cv_guessed_cflags+set}" = set; then : |
| 9282 |
> |
if ${ac_cv_ac_cv_guessed_cflags+:} false; then : |
| 9283 |
|
$as_echo_n "(cached) " >&6 |
| 9284 |
|
else |
| 9285 |
|
echo 'void f(){}' > conftest.c |
| 9321 |
|
|
| 9322 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are *really* using GNU c++" >&5 |
| 9323 |
|
$as_echo_n "checking whether we are *really* using GNU c++... " >&6; } |
| 9324 |
< |
if test "${ac_cv_prog_really_gxx+set}" = set; then : |
| 9324 |
> |
if ${ac_cv_prog_really_gxx+:} false; then : |
| 9325 |
|
$as_echo_n "(cached) " >&6 |
| 9326 |
|
else |
| 9327 |
|
|
| 9417 |
|
|
| 9418 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
| 9419 |
|
$as_echo_n "checking whether ${CXX} accepts ${CXXFLAGS}... " >&6; } |
| 9420 |
< |
if test "${ac_cv_ac_cv_guessed_cxxflags+set}" = set; then : |
| 9420 |
> |
if ${ac_cv_ac_cv_guessed_cxxflags+:} false; then : |
| 9421 |
|
$as_echo_n "(cached) " >&6 |
| 9422 |
|
else |
| 9423 |
|
echo 'void f(){}' > conftest.cpp |
| 9486 |
|
set dummy doxygen; ac_word=$2 |
| 9487 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9488 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 9489 |
< |
if test "${ac_cv_path_DOXYGEN+set}" = set; then : |
| 9489 |
> |
if ${ac_cv_path_DOXYGEN+:} false; then : |
| 9490 |
|
$as_echo_n "(cached) " >&6 |
| 9491 |
|
else |
| 9492 |
|
case $DOXYGEN in |
| 9524 |
|
|
| 9525 |
|
if test "x$DOXYGEN" = x; then |
| 9526 |
|
if test "x$enable_doxygen" = xyes; then |
| 9527 |
< |
as_fn_error "could not find doxygen" "$LINENO" 5 |
| 9527 |
> |
as_fn_error $? "could not find doxygen" "$LINENO" 5 |
| 9528 |
|
fi |
| 9529 |
|
enable_doc=no |
| 9530 |
|
else |
| 9533 |
|
set dummy dot; ac_word=$2 |
| 9534 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9535 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 9536 |
< |
if test "${ac_cv_path_DOT+set}" = set; then : |
| 9536 |
> |
if ${ac_cv_path_DOT+:} false; then : |
| 9537 |
|
$as_echo_n "(cached) " >&6 |
| 9538 |
|
else |
| 9539 |
|
case $DOT in |
| 9581 |
|
|
| 9582 |
|
if test x$DOT = x; then |
| 9583 |
|
if test "x$enable_dot" = xyes; then |
| 9584 |
< |
as_fn_error "could not find dot" "$LINENO" 5 |
| 9584 |
> |
as_fn_error $? "could not find dot" "$LINENO" 5 |
| 9585 |
|
fi |
| 9586 |
|
enable_dot=no |
| 9587 |
|
else |
| 9673 |
|
:end' >>confcache |
| 9674 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 9675 |
|
if test -w "$cache_file"; then |
| 9676 |
< |
test "x$cache_file" != "x/dev/null" && |
| 9676 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 9677 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 9678 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 9679 |
< |
cat confcache >$cache_file |
| 9679 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 9680 |
> |
cat confcache >"$cache_file" |
| 9681 |
> |
else |
| 9682 |
> |
case $cache_file in #( |
| 9683 |
> |
*/* | ?:*) |
| 9684 |
> |
mv -f confcache "$cache_file"$$ && |
| 9685 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 9686 |
> |
*) |
| 9687 |
> |
mv -f confcache "$cache_file" ;; |
| 9688 |
> |
esac |
| 9689 |
> |
fi |
| 9690 |
> |
fi |
| 9691 |
|
else |
| 9692 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 9693 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 9703 |
|
|
| 9704 |
|
ac_libobjs= |
| 9705 |
|
ac_ltlibobjs= |
| 9706 |
+ |
U= |
| 9707 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 9708 |
|
# 1. Remove the extension, and $U if already installed. |
| 9709 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 9719 |
|
|
| 9720 |
|
|
| 9721 |
|
|
| 9722 |
< |
: ${CONFIG_STATUS=./config.status} |
| 9722 |
> |
: "${CONFIG_STATUS=./config.status}" |
| 9723 |
|
ac_write_fail=0 |
| 9724 |
|
ac_clean_files_save=$ac_clean_files |
| 9725 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 9820 |
|
IFS=" "" $as_nl" |
| 9821 |
|
|
| 9822 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 9823 |
+ |
as_myself= |
| 9824 |
|
case $0 in #(( |
| 9825 |
|
*[\\/]* ) as_myself=$0 ;; |
| 9826 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9866 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 9867 |
|
|
| 9868 |
|
|
| 9869 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 9870 |
< |
# --------------------------------- |
| 9869 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 9870 |
> |
# ---------------------------------------- |
| 9871 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 9872 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 9873 |
< |
# script with status $?, using 1 if that was 0. |
| 9873 |
> |
# script with STATUS, using 1 if that was 0. |
| 9874 |
|
as_fn_error () |
| 9875 |
|
{ |
| 9876 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 9877 |
< |
if test "$3"; then |
| 9878 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 9879 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 9876 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 9877 |
> |
if test "$4"; then |
| 9878 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 9879 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 9880 |
|
fi |
| 9881 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 9881 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 9882 |
|
as_fn_exit $as_status |
| 9883 |
|
} # as_fn_error |
| 9884 |
|
|
| 10074 |
|
test -d "$as_dir" && break |
| 10075 |
|
done |
| 10076 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 10077 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 10077 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 10078 |
|
|
| 10079 |
|
|
| 10080 |
|
} # as_fn_mkdir_p |
| 10128 |
|
# values after options handling. |
| 10129 |
|
ac_log=" |
| 10130 |
|
This file was extended by OpenMD $as_me 1.0, which was |
| 10131 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
| 10131 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
| 10132 |
|
|
| 10133 |
|
CONFIG_FILES = $CONFIG_FILES |
| 10134 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 10190 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 10191 |
|
ac_cs_version="\\ |
| 10192 |
|
OpenMD config.status 1.0 |
| 10193 |
< |
configured by $0, generated by GNU Autoconf 2.65, |
| 10193 |
> |
configured by $0, generated by GNU Autoconf 2.68, |
| 10194 |
|
with options \\"\$ac_cs_config\\" |
| 10195 |
|
|
| 10196 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 10196 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 10197 |
|
This config.status script is free software; the Free Software Foundation |
| 10198 |
|
gives unlimited permission to copy, distribute and modify it." |
| 10199 |
|
|
| 10209 |
|
while test $# != 0 |
| 10210 |
|
do |
| 10211 |
|
case $1 in |
| 10212 |
< |
--*=*) |
| 10212 |
> |
--*=?*) |
| 10213 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 10214 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 10215 |
+ |
ac_shift=: |
| 10216 |
+ |
;; |
| 10217 |
+ |
--*=) |
| 10218 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 10219 |
+ |
ac_optarg= |
| 10220 |
|
ac_shift=: |
| 10221 |
|
;; |
| 10222 |
|
*) |
| 10240 |
|
$ac_shift |
| 10241 |
|
case $ac_optarg in |
| 10242 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 10243 |
+ |
'') as_fn_error $? "missing file argument" ;; |
| 10244 |
|
esac |
| 10245 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 10246 |
|
ac_need_defaults=false;; |
| 10253 |
|
ac_need_defaults=false;; |
| 10254 |
|
--he | --h) |
| 10255 |
|
# Conflict between --help and --header |
| 10256 |
< |
as_fn_error "ambiguous option: \`$1' |
| 10256 |
> |
as_fn_error $? "ambiguous option: \`$1' |
| 10257 |
|
Try \`$0 --help' for more information.";; |
| 10258 |
|
--help | --hel | -h ) |
| 10259 |
|
$as_echo "$ac_cs_usage"; exit ;; |
| 10262 |
|
ac_cs_silent=: ;; |
| 10263 |
|
|
| 10264 |
|
# This is an error. |
| 10265 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
| 10265 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
| 10266 |
|
Try \`$0 --help' for more information." ;; |
| 10267 |
|
|
| 10268 |
|
*) as_fn_append ac_config_targets " $1" |
| 10319 |
|
"src/applications/atom2md/Makefile") CONFIG_FILES="$CONFIG_FILES src/applications/atom2md/Makefile" ;; |
| 10320 |
|
"scripts/filepp") CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 10321 |
|
|
| 10322 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 10322 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 10323 |
|
esac |
| 10324 |
|
done |
| 10325 |
|
|
| 10341 |
|
# after its creation but before its name has been assigned to `$tmp'. |
| 10342 |
|
$debug || |
| 10343 |
|
{ |
| 10344 |
< |
tmp= |
| 10344 |
> |
tmp= ac_tmp= |
| 10345 |
|
trap 'exit_status=$? |
| 10346 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 10346 |
> |
: "${ac_tmp:=$tmp}" |
| 10347 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 10348 |
|
' 0 |
| 10349 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
| 10350 |
|
} |
| 10352 |
|
|
| 10353 |
|
{ |
| 10354 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 10355 |
< |
test -n "$tmp" && test -d "$tmp" |
| 10355 |
> |
test -d "$tmp" |
| 10356 |
|
} || |
| 10357 |
|
{ |
| 10358 |
|
tmp=./conf$$-$RANDOM |
| 10359 |
|
(umask 077 && mkdir "$tmp") |
| 10360 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 10360 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 10361 |
> |
ac_tmp=$tmp |
| 10362 |
|
|
| 10363 |
|
# Set up the scripts for CONFIG_FILES section. |
| 10364 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 10375 |
|
fi |
| 10376 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 10377 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 10378 |
< |
ac_cs_awk_cr='\r' |
| 10378 |
> |
ac_cs_awk_cr='\\r' |
| 10379 |
|
else |
| 10380 |
|
ac_cs_awk_cr=$ac_cr |
| 10381 |
|
fi |
| 10382 |
|
|
| 10383 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 10383 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 10384 |
|
_ACEOF |
| 10385 |
|
|
| 10386 |
|
|
| 10389 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 10390 |
|
echo "_ACEOF" |
| 10391 |
|
} >conf$$subs.sh || |
| 10392 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10393 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 10392 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10393 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 10394 |
|
ac_delim='%!_!# ' |
| 10395 |
|
for ac_last_try in false false false false false :; do |
| 10396 |
|
. ./conf$$subs.sh || |
| 10397 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10397 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10398 |
|
|
| 10399 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 10400 |
|
if test $ac_delim_n = $ac_delim_num; then |
| 10401 |
|
break |
| 10402 |
|
elif $ac_last_try; then |
| 10403 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10403 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10404 |
|
else |
| 10405 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 10406 |
|
fi |
| 10408 |
|
rm -f conf$$subs.sh |
| 10409 |
|
|
| 10410 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 10411 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 10411 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 10412 |
|
_ACEOF |
| 10413 |
|
sed -n ' |
| 10414 |
|
h |
| 10456 |
|
rm -f conf$$subs.awk |
| 10457 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 10458 |
|
_ACAWK |
| 10459 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 10459 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 10460 |
|
for (key in S) S_is_set[key] = 1 |
| 10461 |
|
FS = "" |
| 10462 |
|
|
| 10488 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 10489 |
|
else |
| 10490 |
|
cat |
| 10491 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 10492 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 10491 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 10492 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 10493 |
|
_ACEOF |
| 10494 |
|
|
| 10495 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 10496 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 10495 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 10496 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 10497 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 10498 |
|
# (actually we leave an empty line to preserve line numbers). |
| 10499 |
|
if test "x$srcdir" = x.; then |
| 10500 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 10501 |
< |
s/:*\$(srcdir):*/:/ |
| 10502 |
< |
s/:*\${srcdir}:*/:/ |
| 10503 |
< |
s/:*@srcdir@:*/:/ |
| 10504 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
| 10500 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 10501 |
> |
h |
| 10502 |
> |
s/// |
| 10503 |
> |
s/^/:/ |
| 10504 |
> |
s/[ ]*$/:/ |
| 10505 |
> |
s/:\$(srcdir):/:/g |
| 10506 |
> |
s/:\${srcdir}:/:/g |
| 10507 |
> |
s/:@srcdir@:/:/g |
| 10508 |
> |
s/^:*// |
| 10509 |
|
s/:*$// |
| 10510 |
+ |
x |
| 10511 |
+ |
s/\(=[ ]*\).*/\1/ |
| 10512 |
+ |
G |
| 10513 |
+ |
s/\n// |
| 10514 |
|
s/^[^=]*=[ ]*$// |
| 10515 |
|
}' |
| 10516 |
|
fi |
| 10522 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
| 10523 |
|
# This happens for instance with `./config.status Makefile'. |
| 10524 |
|
if test -n "$CONFIG_HEADERS"; then |
| 10525 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
| 10525 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 10526 |
|
BEGIN { |
| 10527 |
|
_ACEOF |
| 10528 |
|
|
| 10534 |
|
# handling of long lines. |
| 10535 |
|
ac_delim='%!_!# ' |
| 10536 |
|
for ac_last_try in false false :; do |
| 10537 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| 10538 |
< |
if test -z "$ac_t"; then |
| 10537 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 10538 |
> |
if test -z "$ac_tt"; then |
| 10539 |
|
break |
| 10540 |
|
elif $ac_last_try; then |
| 10541 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 10541 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 10542 |
|
else |
| 10543 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 10544 |
|
fi |
| 10623 |
|
_ACAWK |
| 10624 |
|
_ACEOF |
| 10625 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 10626 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 10626 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 10627 |
|
fi # test -n "$CONFIG_HEADERS" |
| 10628 |
|
|
| 10629 |
|
|
| 10636 |
|
esac |
| 10637 |
|
case $ac_mode$ac_tag in |
| 10638 |
|
:[FHL]*:*);; |
| 10639 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 10639 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 10640 |
|
:[FH]-) ac_tag=-:-;; |
| 10641 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 10642 |
|
esac |
| 10655 |
|
for ac_f |
| 10656 |
|
do |
| 10657 |
|
case $ac_f in |
| 10658 |
< |
-) ac_f="$tmp/stdin";; |
| 10658 |
> |
-) ac_f="$ac_tmp/stdin";; |
| 10659 |
|
*) # Look for the file first in the build tree, then in the source tree |
| 10660 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 10661 |
|
# because $ac_f cannot contain `:'. |
| 10664 |
|
[\\/$]*) false;; |
| 10665 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 10666 |
|
esac || |
| 10667 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 10667 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 10668 |
|
esac |
| 10669 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 10670 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
| 10690 |
|
esac |
| 10691 |
|
|
| 10692 |
|
case $ac_tag in |
| 10693 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 10694 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 10693 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 10694 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 10695 |
|
esac |
| 10696 |
|
;; |
| 10697 |
|
esac |
| 10821 |
|
s&@INSTALL@&$ac_INSTALL&;t t |
| 10822 |
|
$ac_datarootdir_hack |
| 10823 |
|
" |
| 10824 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 10825 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10824 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 10825 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10826 |
|
|
| 10827 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 10828 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 10829 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 10828 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 10829 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 10830 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 10831 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 10832 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
| 10832 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
| 10833 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 10834 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 10834 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
| 10835 |
|
|
| 10836 |
< |
rm -f "$tmp/stdin" |
| 10836 |
> |
rm -f "$ac_tmp/stdin" |
| 10837 |
|
case $ac_file in |
| 10838 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 10839 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 10838 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 10839 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 10840 |
|
esac \ |
| 10841 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10841 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10842 |
|
;; |
| 10843 |
|
:H) |
| 10844 |
|
# |
| 10847 |
|
if test x"$ac_file" != x-; then |
| 10848 |
|
{ |
| 10849 |
|
$as_echo "/* $configure_input */" \ |
| 10850 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 10851 |
< |
} >"$tmp/config.h" \ |
| 10852 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10853 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 10850 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 10851 |
> |
} >"$ac_tmp/config.h" \ |
| 10852 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10853 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 10854 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 10855 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 10856 |
|
else |
| 10857 |
|
rm -f "$ac_file" |
| 10858 |
< |
mv "$tmp/config.h" "$ac_file" \ |
| 10859 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10858 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
| 10859 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10860 |
|
fi |
| 10861 |
|
else |
| 10862 |
|
$as_echo "/* $configure_input */" \ |
| 10863 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 10864 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
| 10863 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 10864 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 10865 |
|
fi |
| 10866 |
|
;; |
| 10867 |
|
|
| 10886 |
|
ac_clean_files=$ac_clean_files_save |
| 10887 |
|
|
| 10888 |
|
test $ac_write_fail = 0 || |
| 10889 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 10889 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 10890 |
|
|
| 10891 |
|
|
| 10892 |
|
# configure is writing to config.log, and then calls config.status. |
| 10907 |
|
exec 5>>config.log |
| 10908 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 10909 |
|
# would make configure fail if this is the last instruction. |
| 10910 |
< |
$ac_cs_success || as_fn_exit $? |
| 10910 |
> |
$ac_cs_success || as_fn_exit 1 |
| 10911 |
|
fi |
| 10912 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 10913 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |