| 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 |
|
|
| 821 |
|
fi |
| 822 |
|
|
| 823 |
|
case $ac_option in |
| 824 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 825 |
< |
*) ac_optarg=yes ;; |
| 824 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 825 |
> |
*=) ac_optarg= ;; |
| 826 |
> |
*) ac_optarg=yes ;; |
| 827 |
|
esac |
| 828 |
|
|
| 829 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 868 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 869 |
|
# Reject names that are not valid shell variable names. |
| 870 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 871 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 871 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 872 |
|
ac_useropt_orig=$ac_useropt |
| 873 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 874 |
|
case $ac_user_opts in |
| 894 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 895 |
|
# Reject names that are not valid shell variable names. |
| 896 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 897 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
| 897 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 898 |
|
ac_useropt_orig=$ac_useropt |
| 899 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 900 |
|
case $ac_user_opts in |
| 1098 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1099 |
|
# Reject names that are not valid shell variable names. |
| 1100 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1101 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1101 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1102 |
|
ac_useropt_orig=$ac_useropt |
| 1103 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1104 |
|
case $ac_user_opts in |
| 1114 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1115 |
|
# Reject names that are not valid shell variable names. |
| 1116 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1117 |
< |
as_fn_error "invalid package name: $ac_useropt" |
| 1117 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1118 |
|
ac_useropt_orig=$ac_useropt |
| 1119 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1120 |
|
case $ac_user_opts in |
| 1144 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1145 |
|
x_libraries=$ac_optarg ;; |
| 1146 |
|
|
| 1147 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
| 1148 |
< |
Try \`$0 --help' for more information." |
| 1147 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1148 |
> |
Try \`$0 --help' for more information" |
| 1149 |
|
;; |
| 1150 |
|
|
| 1151 |
|
*=*) |
| 1153 |
|
# Reject names that are not valid shell variable names. |
| 1154 |
|
case $ac_envvar in #( |
| 1155 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1156 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1156 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1157 |
|
esac |
| 1158 |
|
eval $ac_envvar=\$ac_optarg |
| 1159 |
|
export $ac_envvar ;; |
| 1163 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1164 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1165 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1166 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1166 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1167 |
|
;; |
| 1168 |
|
|
| 1169 |
|
esac |
| 1171 |
|
|
| 1172 |
|
if test -n "$ac_prev"; then |
| 1173 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1174 |
< |
as_fn_error "missing argument to $ac_option" |
| 1174 |
> |
as_fn_error $? "missing argument to $ac_option" |
| 1175 |
|
fi |
| 1176 |
|
|
| 1177 |
|
if test -n "$ac_unrecognized_opts"; then |
| 1178 |
|
case $enable_option_checking in |
| 1179 |
|
no) ;; |
| 1180 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1180 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1181 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1182 |
|
esac |
| 1183 |
|
fi |
| 1200 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
| 1201 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1202 |
|
esac |
| 1203 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1203 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1204 |
|
done |
| 1205 |
|
|
| 1206 |
|
# There might be people who depend on the old broken behavior: `$host' |
| 1214 |
|
if test "x$host_alias" != x; then |
| 1215 |
|
if test "x$build_alias" = x; then |
| 1216 |
|
cross_compiling=maybe |
| 1217 |
< |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1218 |
< |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1217 |
> |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
| 1218 |
> |
If a cross compiler is detected then cross compile mode will be used" >&2 |
| 1219 |
|
elif test "x$build_alias" != "x$host_alias"; then |
| 1220 |
|
cross_compiling=yes |
| 1221 |
|
fi |
| 1230 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1231 |
|
ac_ls_di=`ls -di .` && |
| 1232 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1233 |
< |
as_fn_error "working directory cannot be determined" |
| 1233 |
> |
as_fn_error $? "working directory cannot be determined" |
| 1234 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1235 |
< |
as_fn_error "pwd does not report name of working directory" |
| 1235 |
> |
as_fn_error $? "pwd does not report name of working directory" |
| 1236 |
|
|
| 1237 |
|
|
| 1238 |
|
# Find the source files, if location was not specified. |
| 1271 |
|
fi |
| 1272 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1273 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1274 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1274 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1275 |
|
fi |
| 1276 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1277 |
|
ac_abs_confdir=`( |
| 1278 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1278 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1279 |
|
pwd)` |
| 1280 |
|
# When building in place, set srcdir=. |
| 1281 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1315 |
|
--help=short display options specific to this package |
| 1316 |
|
--help=recursive display the short help of all the included packages |
| 1317 |
|
-V, --version display version information and exit |
| 1318 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
| 1318 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
| 1319 |
|
--cache-file=FILE cache test results in FILE [disabled] |
| 1320 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1321 |
|
-n, --no-create do not create output files |
| 1483 |
|
if $ac_init_version; then |
| 1484 |
|
cat <<\_ACEOF |
| 1485 |
|
OpenMD configure 1.0 |
| 1486 |
< |
generated by GNU Autoconf 2.65 |
| 1486 |
> |
generated by GNU Autoconf 2.68 |
| 1487 |
|
|
| 1488 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1488 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 1489 |
|
This configure script is free software; the Free Software Foundation |
| 1490 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1491 |
|
_ACEOF |
| 1529 |
|
|
| 1530 |
|
ac_retval=1 |
| 1531 |
|
fi |
| 1532 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1532 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1533 |
|
as_fn_set_status $ac_retval |
| 1534 |
|
|
| 1535 |
|
} # ac_fn_cxx_try_compile |
| 1567 |
|
|
| 1568 |
|
ac_retval=1 |
| 1569 |
|
fi |
| 1570 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1570 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1571 |
|
as_fn_set_status $ac_retval |
| 1572 |
|
|
| 1573 |
|
} # ac_fn_c_try_compile |
| 1605 |
|
|
| 1606 |
|
ac_retval=1 |
| 1607 |
|
fi |
| 1608 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1608 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1609 |
|
as_fn_set_status $ac_retval |
| 1610 |
|
|
| 1611 |
|
} # ac_fn_fc_try_compile |
| 1651 |
|
# interfere with the next link command; also delete a directory that is |
| 1652 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1653 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1654 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1654 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1655 |
|
as_fn_set_status $ac_retval |
| 1656 |
|
|
| 1657 |
|
} # ac_fn_cxx_try_link |
| 1664 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1665 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1666 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1667 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1667 |
> |
if eval \${$3+:} false; then : |
| 1668 |
|
$as_echo_n "(cached) " >&6 |
| 1669 |
|
else |
| 1670 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1719 |
|
eval ac_res=\$$3 |
| 1720 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1721 |
|
$as_echo "$ac_res" >&6; } |
| 1722 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1722 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1723 |
|
|
| 1724 |
|
} # ac_fn_cxx_check_func |
| 1725 |
|
|
| 1764 |
|
# interfere with the next link command; also delete a directory that is |
| 1765 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1766 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1767 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1767 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1768 |
|
as_fn_set_status $ac_retval |
| 1769 |
|
|
| 1770 |
|
} # ac_fn_c_try_link |
| 1777 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1778 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1779 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1780 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1780 |
> |
if eval \${$3+:} false; then : |
| 1781 |
|
$as_echo_n "(cached) " >&6 |
| 1782 |
|
else |
| 1783 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1832 |
|
eval ac_res=\$$3 |
| 1833 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1834 |
|
$as_echo "$ac_res" >&6; } |
| 1835 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1835 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1836 |
|
|
| 1837 |
|
} # ac_fn_c_check_func |
| 1838 |
|
|
| 1877 |
|
# interfere with the next link command; also delete a directory that is |
| 1878 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
| 1879 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1880 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1880 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1881 |
|
as_fn_set_status $ac_retval |
| 1882 |
|
|
| 1883 |
|
} # ac_fn_fc_try_link |
| 1903 |
|
mv -f conftest.er1 conftest.err |
| 1904 |
|
fi |
| 1905 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1906 |
< |
test $ac_status = 0; } >/dev/null && { |
| 1906 |
> |
test $ac_status = 0; } > conftest.i && { |
| 1907 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1908 |
|
test ! -s conftest.err |
| 1909 |
|
}; then : |
| 1914 |
|
|
| 1915 |
|
ac_retval=1 |
| 1916 |
|
fi |
| 1917 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1917 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1918 |
|
as_fn_set_status $ac_retval |
| 1919 |
|
|
| 1920 |
|
} # ac_fn_c_try_cpp |
| 1927 |
|
ac_fn_c_check_header_mongrel () |
| 1928 |
|
{ |
| 1929 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1930 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1930 |
> |
if eval \${$3+:} false; then : |
| 1931 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1932 |
|
$as_echo_n "checking for $2... " >&6; } |
| 1933 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1933 |
> |
if eval \${$3+:} false; then : |
| 1934 |
|
$as_echo_n "(cached) " >&6 |
| 1935 |
|
fi |
| 1936 |
|
eval ac_res=\$$3 |
| 1966 |
|
else |
| 1967 |
|
ac_header_preproc=no |
| 1968 |
|
fi |
| 1969 |
< |
rm -f conftest.err conftest.$ac_ext |
| 1969 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 1970 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1971 |
|
$as_echo "$ac_header_preproc" >&6; } |
| 1972 |
|
|
| 1989 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 1990 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1991 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1992 |
< |
( cat <<\_ASBOX |
| 1984 |
< |
## ------------------------------ ## |
| 1992 |
> |
( $as_echo "## ------------------------------ ## |
| 1993 |
|
## Report this to gezelter@nd.edu ## |
| 1994 |
< |
## ------------------------------ ## |
| 1987 |
< |
_ASBOX |
| 1994 |
> |
## ------------------------------ ##" |
| 1995 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 1996 |
|
;; |
| 1997 |
|
esac |
| 1998 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1999 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2000 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2000 |
> |
if eval \${$3+:} false; then : |
| 2001 |
|
$as_echo_n "(cached) " >&6 |
| 2002 |
|
else |
| 2003 |
|
eval "$3=\$ac_header_compiler" |
| 2006 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2007 |
|
$as_echo "$ac_res" >&6; } |
| 2008 |
|
fi |
| 2009 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2009 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2010 |
|
|
| 2011 |
|
} # ac_fn_c_check_header_mongrel |
| 2012 |
|
|
| 2047 |
|
ac_retval=$ac_status |
| 2048 |
|
fi |
| 2049 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2050 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2050 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2051 |
|
as_fn_set_status $ac_retval |
| 2052 |
|
|
| 2053 |
|
} # ac_fn_c_try_run |
| 2061 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2062 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2063 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2064 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2064 |
> |
if eval \${$3+:} false; then : |
| 2065 |
|
$as_echo_n "(cached) " >&6 |
| 2066 |
|
else |
| 2067 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2079 |
|
eval ac_res=\$$3 |
| 2080 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2081 |
|
$as_echo "$ac_res" >&6; } |
| 2082 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2082 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2083 |
|
|
| 2084 |
|
} # ac_fn_c_check_header_compile |
| 2085 |
|
|
| 2104 |
|
mv -f conftest.er1 conftest.err |
| 2105 |
|
fi |
| 2106 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2107 |
< |
test $ac_status = 0; } >/dev/null && { |
| 2107 |
> |
test $ac_status = 0; } > conftest.i && { |
| 2108 |
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 2109 |
|
test ! -s conftest.err |
| 2110 |
|
}; then : |
| 2115 |
|
|
| 2116 |
|
ac_retval=1 |
| 2117 |
|
fi |
| 2118 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2118 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2119 |
|
as_fn_set_status $ac_retval |
| 2120 |
|
|
| 2121 |
|
} # ac_fn_cxx_try_cpp |
| 2128 |
|
ac_fn_cxx_check_header_mongrel () |
| 2129 |
|
{ |
| 2130 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2131 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2131 |
> |
if eval \${$3+:} false; then : |
| 2132 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2133 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2134 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2134 |
> |
if eval \${$3+:} false; then : |
| 2135 |
|
$as_echo_n "(cached) " >&6 |
| 2136 |
|
fi |
| 2137 |
|
eval ac_res=\$$3 |
| 2167 |
|
else |
| 2168 |
|
ac_header_preproc=no |
| 2169 |
|
fi |
| 2170 |
< |
rm -f conftest.err conftest.$ac_ext |
| 2170 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 2171 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2172 |
|
$as_echo "$ac_header_preproc" >&6; } |
| 2173 |
|
|
| 2190 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2191 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2192 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2193 |
< |
( cat <<\_ASBOX |
| 2187 |
< |
## ------------------------------ ## |
| 2193 |
> |
( $as_echo "## ------------------------------ ## |
| 2194 |
|
## Report this to gezelter@nd.edu ## |
| 2195 |
< |
## ------------------------------ ## |
| 2190 |
< |
_ASBOX |
| 2195 |
> |
## ------------------------------ ##" |
| 2196 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2197 |
|
;; |
| 2198 |
|
esac |
| 2199 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2200 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2201 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2201 |
> |
if eval \${$3+:} false; then : |
| 2202 |
|
$as_echo_n "(cached) " >&6 |
| 2203 |
|
else |
| 2204 |
|
eval "$3=\$ac_header_compiler" |
| 2207 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2208 |
|
$as_echo "$ac_res" >&6; } |
| 2209 |
|
fi |
| 2210 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2210 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2211 |
|
|
| 2212 |
|
} # ac_fn_cxx_check_header_mongrel |
| 2213 |
|
|
| 2220 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2221 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2222 |
|
$as_echo_n "checking for $2... " >&6; } |
| 2223 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2223 |
> |
if eval \${$3+:} false; then : |
| 2224 |
|
$as_echo_n "(cached) " >&6 |
| 2225 |
|
else |
| 2226 |
|
eval "$3=no" |
| 2277 |
|
eval ac_res=\$$3 |
| 2278 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2279 |
|
$as_echo "$ac_res" >&6; } |
| 2280 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2280 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2281 |
|
|
| 2282 |
|
} # ac_fn_c_check_type |
| 2283 |
|
cat >config.log <<_ACEOF |
| 2285 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2286 |
|
|
| 2287 |
|
It was created by OpenMD $as_me 1.0, which was |
| 2288 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
| 2288 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
| 2289 |
|
|
| 2290 |
|
$ $0 $@ |
| 2291 |
|
|
| 2395 |
|
{ |
| 2396 |
|
echo |
| 2397 |
|
|
| 2398 |
< |
cat <<\_ASBOX |
| 2394 |
< |
## ---------------- ## |
| 2398 |
> |
$as_echo "## ---------------- ## |
| 2399 |
|
## Cache variables. ## |
| 2400 |
< |
## ---------------- ## |
| 2397 |
< |
_ASBOX |
| 2400 |
> |
## ---------------- ##" |
| 2401 |
|
echo |
| 2402 |
|
# The following way of writing the cache mishandles newlines in values, |
| 2403 |
|
( |
| 2431 |
|
) |
| 2432 |
|
echo |
| 2433 |
|
|
| 2434 |
< |
cat <<\_ASBOX |
| 2432 |
< |
## ----------------- ## |
| 2434 |
> |
$as_echo "## ----------------- ## |
| 2435 |
|
## Output variables. ## |
| 2436 |
< |
## ----------------- ## |
| 2435 |
< |
_ASBOX |
| 2436 |
> |
## ----------------- ##" |
| 2437 |
|
echo |
| 2438 |
|
for ac_var in $ac_subst_vars |
| 2439 |
|
do |
| 2446 |
|
echo |
| 2447 |
|
|
| 2448 |
|
if test -n "$ac_subst_files"; then |
| 2449 |
< |
cat <<\_ASBOX |
| 2449 |
< |
## ------------------- ## |
| 2449 |
> |
$as_echo "## ------------------- ## |
| 2450 |
|
## File substitutions. ## |
| 2451 |
< |
## ------------------- ## |
| 2452 |
< |
_ASBOX |
| 2451 |
> |
## ------------------- ##" |
| 2452 |
|
echo |
| 2453 |
|
for ac_var in $ac_subst_files |
| 2454 |
|
do |
| 2462 |
|
fi |
| 2463 |
|
|
| 2464 |
|
if test -s confdefs.h; then |
| 2465 |
< |
cat <<\_ASBOX |
| 2467 |
< |
## ----------- ## |
| 2465 |
> |
$as_echo "## ----------- ## |
| 2466 |
|
## confdefs.h. ## |
| 2467 |
< |
## ----------- ## |
| 2470 |
< |
_ASBOX |
| 2467 |
> |
## ----------- ##" |
| 2468 |
|
echo |
| 2469 |
|
cat confdefs.h |
| 2470 |
|
echo |
| 2519 |
|
ac_site_file1=NONE |
| 2520 |
|
ac_site_file2=NONE |
| 2521 |
|
if test -n "$CONFIG_SITE"; then |
| 2522 |
< |
ac_site_file1=$CONFIG_SITE |
| 2522 |
> |
# We do not want a PATH search for config.site. |
| 2523 |
> |
case $CONFIG_SITE in #(( |
| 2524 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2525 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2526 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2527 |
> |
esac |
| 2528 |
|
elif test "x$prefix" != xNONE; then |
| 2529 |
|
ac_site_file1=$prefix/share/config.site |
| 2530 |
|
ac_site_file2=$prefix/etc/config.site |
| 2539 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2540 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2541 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2542 |
< |
. "$ac_site_file" |
| 2542 |
> |
. "$ac_site_file" \ |
| 2543 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2544 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2545 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
| 2546 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 2547 |
|
fi |
| 2548 |
|
done |
| 2549 |
|
|
| 2619 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2620 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2621 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2622 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2622 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2623 |
|
fi |
| 2624 |
|
## -------------------- ## |
| 2625 |
|
## Main body of script. ## |
| 2634 |
|
|
| 2635 |
|
ac_aux_dir= |
| 2636 |
|
for ac_dir in ac-tools "$srcdir"/ac-tools; do |
| 2637 |
< |
for ac_t in install-sh install.sh shtool; do |
| 2638 |
< |
if test -f "$ac_dir/$ac_t"; then |
| 2639 |
< |
ac_aux_dir=$ac_dir |
| 2640 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 2641 |
< |
break 2 |
| 2642 |
< |
fi |
| 2643 |
< |
done |
| 2637 |
> |
if test -f "$ac_dir/install-sh"; then |
| 2638 |
> |
ac_aux_dir=$ac_dir |
| 2639 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2640 |
> |
break |
| 2641 |
> |
elif test -f "$ac_dir/install.sh"; then |
| 2642 |
> |
ac_aux_dir=$ac_dir |
| 2643 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2644 |
> |
break |
| 2645 |
> |
elif test -f "$ac_dir/shtool"; then |
| 2646 |
> |
ac_aux_dir=$ac_dir |
| 2647 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2648 |
> |
break |
| 2649 |
> |
fi |
| 2650 |
|
done |
| 2651 |
|
if test -z "$ac_aux_dir"; then |
| 2652 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in ac-tools \"$srcdir\"/ac-tools" "$LINENO" 5 |
| 2652 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in ac-tools \"$srcdir\"/ac-tools" "$LINENO" 5 |
| 2653 |
|
fi |
| 2654 |
|
|
| 2655 |
|
# These three variables are undocumented and unsupported, |
| 2906 |
|
# who am i |
| 2907 |
|
# Make sure we can run config.sub. |
| 2908 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 2909 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2909 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2910 |
|
|
| 2911 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 2912 |
|
$as_echo_n "checking build system type... " >&6; } |
| 2913 |
< |
if test "${ac_cv_build+set}" = set; then : |
| 2913 |
> |
if ${ac_cv_build+:} false; then : |
| 2914 |
|
$as_echo_n "(cached) " >&6 |
| 2915 |
|
else |
| 2916 |
|
ac_build_alias=$build_alias |
| 2917 |
|
test "x$ac_build_alias" = x && |
| 2918 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 2919 |
|
test "x$ac_build_alias" = x && |
| 2920 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2920 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2921 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 2922 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2922 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2923 |
|
|
| 2924 |
|
fi |
| 2925 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 2926 |
|
$as_echo "$ac_cv_build" >&6; } |
| 2927 |
|
case $ac_cv_build in |
| 2928 |
|
*-*-*) ;; |
| 2929 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 2929 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 2930 |
|
esac |
| 2931 |
|
build=$ac_cv_build |
| 2932 |
|
ac_save_IFS=$IFS; IFS='-' |
| 2944 |
|
|
| 2945 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 2946 |
|
$as_echo_n "checking host system type... " >&6; } |
| 2947 |
< |
if test "${ac_cv_host+set}" = set; then : |
| 2947 |
> |
if ${ac_cv_host+:} false; then : |
| 2948 |
|
$as_echo_n "(cached) " >&6 |
| 2949 |
|
else |
| 2950 |
|
if test "x$host_alias" = x; then |
| 2951 |
|
ac_cv_host=$ac_cv_build |
| 2952 |
|
else |
| 2953 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 2954 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2954 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2955 |
|
fi |
| 2956 |
|
|
| 2957 |
|
fi |
| 2959 |
|
$as_echo "$ac_cv_host" >&6; } |
| 2960 |
|
case $ac_cv_host in |
| 2961 |
|
*-*-*) ;; |
| 2962 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 2962 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 2963 |
|
esac |
| 2964 |
|
host=$ac_cv_host |
| 2965 |
|
ac_save_IFS=$IFS; IFS='-' |
| 3053 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3054 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3055 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3056 |
< |
if test "${ac_cv_prog_CXX+set}" = set; then : |
| 3056 |
> |
if ${ac_cv_prog_CXX+:} false; then : |
| 3057 |
|
$as_echo_n "(cached) " >&6 |
| 3058 |
|
else |
| 3059 |
|
if test -n "$CXX"; then |
| 3097 |
|
set dummy $ac_prog; ac_word=$2 |
| 3098 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3099 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3100 |
< |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
| 3100 |
> |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
| 3101 |
|
$as_echo_n "(cached) " >&6 |
| 3102 |
|
else |
| 3103 |
|
if test -n "$ac_ct_CXX"; then |
| 3260 |
|
|
| 3261 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3262 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3263 |
< |
{ as_fn_set_status 77 |
| 3264 |
< |
as_fn_error "C++ compiler cannot create executables |
| 3253 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3263 |
> |
as_fn_error 77 "C++ compiler cannot create executables |
| 3264 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3265 |
|
else |
| 3266 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3267 |
|
$as_echo "yes" >&6; } |
| 3303 |
|
else |
| 3304 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3305 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3306 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3307 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3306 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3307 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3308 |
|
fi |
| 3309 |
|
rm -f conftest conftest$ac_cv_exeext |
| 3310 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3361 |
|
else |
| 3362 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3363 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3364 |
< |
as_fn_error "cannot run C++ compiled programs. |
| 3364 |
> |
as_fn_error $? "cannot run C++ compiled programs. |
| 3365 |
|
If you meant to cross compile, use \`--host'. |
| 3366 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3366 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3367 |
|
fi |
| 3368 |
|
fi |
| 3369 |
|
fi |
| 3374 |
|
ac_clean_files=$ac_clean_files_save |
| 3375 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3376 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3377 |
< |
if test "${ac_cv_objext+set}" = set; then : |
| 3377 |
> |
if ${ac_cv_objext+:} false; then : |
| 3378 |
|
$as_echo_n "(cached) " >&6 |
| 3379 |
|
else |
| 3380 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3414 |
|
|
| 3415 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3416 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3417 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
| 3418 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3417 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 3418 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3419 |
|
fi |
| 3420 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3421 |
|
fi |
| 3425 |
|
ac_objext=$OBJEXT |
| 3426 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
| 3427 |
|
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
| 3428 |
< |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
| 3428 |
> |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
| 3429 |
|
$as_echo_n "(cached) " >&6 |
| 3430 |
|
else |
| 3431 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3462 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
| 3463 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
| 3464 |
|
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
| 3465 |
< |
if test "${ac_cv_prog_cxx_g+set}" = set; then : |
| 3465 |
> |
if ${ac_cv_prog_cxx_g+:} false; then : |
| 3466 |
|
$as_echo_n "(cached) " >&6 |
| 3467 |
|
else |
| 3468 |
|
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 3556 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3557 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3558 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3559 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3559 |
> |
if ${ac_cv_prog_CC+:} false; then : |
| 3560 |
|
$as_echo_n "(cached) " >&6 |
| 3561 |
|
else |
| 3562 |
|
if test -n "$CC"; then |
| 3600 |
|
set dummy $ac_prog; ac_word=$2 |
| 3601 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3602 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3603 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3603 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3604 |
|
$as_echo_n "(cached) " >&6 |
| 3605 |
|
else |
| 3606 |
|
if test -n "$ac_ct_CC"; then |
| 3652 |
|
|
| 3653 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3654 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3655 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
| 3656 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 3655 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3656 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 3657 |
|
|
| 3658 |
|
# Provide some information about the compiler. |
| 3659 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3682 |
|
|
| 3683 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3684 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3685 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3685 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3686 |
|
$as_echo_n "(cached) " >&6 |
| 3687 |
|
else |
| 3688 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3719 |
|
ac_save_CFLAGS=$CFLAGS |
| 3720 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3721 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3722 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3722 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3723 |
|
$as_echo_n "(cached) " >&6 |
| 3724 |
|
else |
| 3725 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3797 |
|
fi |
| 3798 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3799 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3800 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3800 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 3801 |
|
$as_echo_n "(cached) " >&6 |
| 3802 |
|
else |
| 3803 |
|
ac_cv_prog_cc_c89=no |
| 3903 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3904 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3905 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3906 |
< |
if test "${ac_cv_prog_FC+set}" = set; then : |
| 3906 |
> |
if ${ac_cv_prog_FC+:} false; then : |
| 3907 |
|
$as_echo_n "(cached) " >&6 |
| 3908 |
|
else |
| 3909 |
|
if test -n "$FC"; then |
| 3947 |
|
set dummy $ac_prog; ac_word=$2 |
| 3948 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3949 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3950 |
< |
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then : |
| 3950 |
> |
if ${ac_cv_prog_ac_ct_FC+:} false; then : |
| 3951 |
|
$as_echo_n "(cached) " >&6 |
| 3952 |
|
else |
| 3953 |
|
if test -n "$ac_ct_FC"; then |
| 4029 |
|
ac_ext=F |
| 4030 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5 |
| 4031 |
|
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } |
| 4032 |
< |
if test "${ac_cv_fc_compiler_gnu+set}" = set; then : |
| 4032 |
> |
if ${ac_cv_fc_compiler_gnu+:} false; then : |
| 4033 |
|
$as_echo_n "(cached) " >&6 |
| 4034 |
|
else |
| 4035 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 4057 |
|
FCFLAGS= |
| 4058 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 |
| 4059 |
|
$as_echo_n "checking whether $FC accepts -g... " >&6; } |
| 4060 |
< |
if test "${ac_cv_prog_fc_g+set}" = set; then : |
| 4060 |
> |
if ${ac_cv_prog_fc_g+:} false; then : |
| 4061 |
|
$as_echo_n "(cached) " >&6 |
| 4062 |
|
else |
| 4063 |
|
FCFLAGS=-g |
| 4113 |
|
|
| 4114 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5 |
| 4115 |
|
$as_echo_n "checking for dlopen in -lc... " >&6; } |
| 4116 |
< |
if test "${ac_cv_lib_c_dlopen+set}" = set; then : |
| 4116 |
> |
if ${ac_cv_lib_c_dlopen+:} false; then : |
| 4117 |
|
$as_echo_n "(cached) " >&6 |
| 4118 |
|
else |
| 4119 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4147 |
|
fi |
| 4148 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5 |
| 4149 |
|
$as_echo "$ac_cv_lib_c_dlopen" >&6; } |
| 4150 |
< |
if test "x$ac_cv_lib_c_dlopen" = x""yes; then : |
| 4150 |
> |
if test "x$ac_cv_lib_c_dlopen" = xyes; then : |
| 4151 |
|
LIBDL="" |
| 4152 |
|
else |
| 4153 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 4154 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 4155 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 4155 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 4156 |
|
$as_echo_n "(cached) " >&6 |
| 4157 |
|
else |
| 4158 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4186 |
|
fi |
| 4187 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 4188 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 4189 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 4189 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 4190 |
|
LIBDL="-ldl" |
| 4191 |
|
fi |
| 4192 |
|
|
| 4204 |
|
set dummy $ac_prog; ac_word=$2 |
| 4205 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4206 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4207 |
< |
if test "${ac_cv_prog_MPICXX+set}" = set; then : |
| 4207 |
> |
if ${ac_cv_prog_MPICXX+:} false; then : |
| 4208 |
|
$as_echo_n "(cached) " >&6 |
| 4209 |
|
else |
| 4210 |
|
if test -n "$MPICXX"; then |
| 4248 |
|
|
| 4249 |
|
if test x = x"$MPILIBS"; then |
| 4250 |
|
ac_fn_cxx_check_func "$LINENO" "MPI_Init" "ac_cv_func_MPI_Init" |
| 4251 |
< |
if test "x$ac_cv_func_MPI_Init" = x""yes; then : |
| 4251 |
> |
if test "x$ac_cv_func_MPI_Init" = xyes; then : |
| 4252 |
|
MPILIBS=" " |
| 4253 |
|
fi |
| 4254 |
|
|
| 4257 |
|
if test x = x"$MPILIBS"; then |
| 4258 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 |
| 4259 |
|
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } |
| 4260 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then : |
| 4260 |
> |
if ${ac_cv_lib_mpi_MPI_Init+:} false; then : |
| 4261 |
|
$as_echo_n "(cached) " >&6 |
| 4262 |
|
else |
| 4263 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4291 |
|
fi |
| 4292 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 4293 |
|
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 4294 |
< |
if test "x$ac_cv_lib_mpi_MPI_Init" = x""yes; then : |
| 4294 |
> |
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : |
| 4295 |
|
MPILIBS="-lmpi" |
| 4296 |
|
fi |
| 4297 |
|
|
| 4299 |
|
if test x = x"$MPILIBS"; then |
| 4300 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 |
| 4301 |
|
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; } |
| 4302 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then : |
| 4302 |
> |
if ${ac_cv_lib_mpich_MPI_Init+:} false; then : |
| 4303 |
|
$as_echo_n "(cached) " >&6 |
| 4304 |
|
else |
| 4305 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4333 |
|
fi |
| 4334 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 4335 |
|
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 4336 |
< |
if test "x$ac_cv_lib_mpich_MPI_Init" = x""yes; then : |
| 4336 |
> |
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : |
| 4337 |
|
MPILIBS="-lmpich" |
| 4338 |
|
fi |
| 4339 |
|
|
| 4399 |
|
set dummy $ac_prog; ac_word=$2 |
| 4400 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4401 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4402 |
< |
if test "${ac_cv_prog_MPICC+set}" = set; then : |
| 4402 |
> |
if ${ac_cv_prog_MPICC+:} false; then : |
| 4403 |
|
$as_echo_n "(cached) " >&6 |
| 4404 |
|
else |
| 4405 |
|
if test -n "$MPICC"; then |
| 4443 |
|
|
| 4444 |
|
if test x = x"$MPILIBS"; then |
| 4445 |
|
ac_fn_c_check_func "$LINENO" "MPI_Init" "ac_cv_func_MPI_Init" |
| 4446 |
< |
if test "x$ac_cv_func_MPI_Init" = x""yes; then : |
| 4446 |
> |
if test "x$ac_cv_func_MPI_Init" = xyes; then : |
| 4447 |
|
MPILIBS=" " |
| 4448 |
|
fi |
| 4449 |
|
|
| 4452 |
|
if test x = x"$MPILIBS"; then |
| 4453 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 |
| 4454 |
|
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } |
| 4455 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then : |
| 4455 |
> |
if ${ac_cv_lib_mpi_MPI_Init+:} false; then : |
| 4456 |
|
$as_echo_n "(cached) " >&6 |
| 4457 |
|
else |
| 4458 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4486 |
|
fi |
| 4487 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 4488 |
|
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 4489 |
< |
if test "x$ac_cv_lib_mpi_MPI_Init" = x""yes; then : |
| 4489 |
> |
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : |
| 4490 |
|
MPILIBS="-lmpi" |
| 4491 |
|
fi |
| 4492 |
|
|
| 4494 |
|
if test x = x"$MPILIBS"; then |
| 4495 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 |
| 4496 |
|
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; } |
| 4497 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then : |
| 4497 |
> |
if ${ac_cv_lib_mpich_MPI_Init+:} false; then : |
| 4498 |
|
$as_echo_n "(cached) " >&6 |
| 4499 |
|
else |
| 4500 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4528 |
|
fi |
| 4529 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 4530 |
|
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 4531 |
< |
if test "x$ac_cv_lib_mpich_MPI_Init" = x""yes; then : |
| 4531 |
> |
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : |
| 4532 |
|
MPILIBS="-lmpich" |
| 4533 |
|
fi |
| 4534 |
|
|
| 4595 |
|
set dummy $ac_prog; ac_word=$2 |
| 4596 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4597 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4598 |
< |
if test "${ac_cv_prog_MPIFC+set}" = set; then : |
| 4598 |
> |
if ${ac_cv_prog_MPIFC+:} false; then : |
| 4599 |
|
$as_echo_n "(cached) " >&6 |
| 4600 |
|
else |
| 4601 |
|
if test -n "$MPIFC"; then |
| 4660 |
|
if test x = x"$MPILIBS"; then |
| 4661 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lfmpi" >&5 |
| 4662 |
|
$as_echo_n "checking for MPI_Init in -lfmpi... " >&6; } |
| 4663 |
< |
if test "${ac_cv_lib_fmpi_MPI_Init+set}" = set; then : |
| 4663 |
> |
if ${ac_cv_lib_fmpi_MPI_Init+:} false; then : |
| 4664 |
|
$as_echo_n "(cached) " >&6 |
| 4665 |
|
else |
| 4666 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4681 |
|
fi |
| 4682 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fmpi_MPI_Init" >&5 |
| 4683 |
|
$as_echo "$ac_cv_lib_fmpi_MPI_Init" >&6; } |
| 4684 |
< |
if test "x$ac_cv_lib_fmpi_MPI_Init" = x""yes; then : |
| 4684 |
> |
if test "x$ac_cv_lib_fmpi_MPI_Init" = xyes; then : |
| 4685 |
|
MPILIBS="-lfmpi" |
| 4686 |
|
fi |
| 4687 |
|
|
| 4689 |
|
if test x = x"$MPILIBS"; then |
| 4690 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpichf90" >&5 |
| 4691 |
|
$as_echo_n "checking for MPI_Init in -lmpichf90... " >&6; } |
| 4692 |
< |
if test "${ac_cv_lib_mpichf90_MPI_Init+set}" = set; then : |
| 4692 |
> |
if ${ac_cv_lib_mpichf90_MPI_Init+:} false; then : |
| 4693 |
|
$as_echo_n "(cached) " >&6 |
| 4694 |
|
else |
| 4695 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4710 |
|
fi |
| 4711 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpichf90_MPI_Init" >&5 |
| 4712 |
|
$as_echo "$ac_cv_lib_mpichf90_MPI_Init" >&6; } |
| 4713 |
< |
if test "x$ac_cv_lib_mpichf90_MPI_Init" = x""yes; then : |
| 4713 |
> |
if test "x$ac_cv_lib_mpichf90_MPI_Init" = xyes; then : |
| 4714 |
|
MPILIBS="-lmpichf90" |
| 4715 |
|
fi |
| 4716 |
|
|
| 4719 |
|
if test x = x"$MPILIBS"; then |
| 4720 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 |
| 4721 |
|
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } |
| 4722 |
< |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then : |
| 4722 |
> |
if ${ac_cv_lib_mpi_MPI_Init+:} false; then : |
| 4723 |
|
$as_echo_n "(cached) " >&6 |
| 4724 |
|
else |
| 4725 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4740 |
|
fi |
| 4741 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 4742 |
|
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 4743 |
< |
if test "x$ac_cv_lib_mpi_MPI_Init" = x""yes; then : |
| 4743 |
> |
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : |
| 4744 |
|
MPILIBS="-lmpi" |
| 4745 |
|
fi |
| 4746 |
|
|
| 4748 |
|
if test x = x"$MPILIBS"; then |
| 4749 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5 |
| 4750 |
|
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; } |
| 4751 |
< |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then : |
| 4751 |
> |
if ${ac_cv_lib_mpich_MPI_Init+:} false; then : |
| 4752 |
|
$as_echo_n "(cached) " >&6 |
| 4753 |
|
else |
| 4754 |
|
ac_check_lib_save_LIBS=$LIBS |
| 4769 |
|
fi |
| 4770 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 4771 |
|
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 4772 |
< |
if test "x$ac_cv_lib_mpich_MPI_Init" = x""yes; then : |
| 4772 |
> |
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then : |
| 4773 |
|
MPILIBS="-lmpich" |
| 4774 |
|
fi |
| 4775 |
|
|
| 4842 |
|
CPP= |
| 4843 |
|
fi |
| 4844 |
|
if test -z "$CPP"; then |
| 4845 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
| 4845 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
| 4846 |
|
$as_echo_n "(cached) " >&6 |
| 4847 |
|
else |
| 4848 |
|
# Double quotes because CPP needs to be expanded |
| 4872 |
|
# Broken: fails on valid input. |
| 4873 |
|
continue |
| 4874 |
|
fi |
| 4875 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4875 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4876 |
|
|
| 4877 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 4878 |
|
# can be detected and how. |
| 4888 |
|
ac_preproc_ok=: |
| 4889 |
|
break |
| 4890 |
|
fi |
| 4891 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4891 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4892 |
|
|
| 4893 |
|
done |
| 4894 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4895 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4895 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 4896 |
|
if $ac_preproc_ok; then : |
| 4897 |
|
break |
| 4898 |
|
fi |
| 4931 |
|
# Broken: fails on valid input. |
| 4932 |
|
continue |
| 4933 |
|
fi |
| 4934 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4934 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4935 |
|
|
| 4936 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 4937 |
|
# can be detected and how. |
| 4947 |
|
ac_preproc_ok=: |
| 4948 |
|
break |
| 4949 |
|
fi |
| 4950 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4950 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4951 |
|
|
| 4952 |
|
done |
| 4953 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4954 |
< |
rm -f conftest.err conftest.$ac_ext |
| 4954 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 4955 |
|
if $ac_preproc_ok; then : |
| 4956 |
|
|
| 4957 |
|
else |
| 4958 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4959 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4960 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 4961 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 4960 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 4961 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 4962 |
|
fi |
| 4963 |
|
|
| 4964 |
|
ac_ext=${ac_fc_srcext-f} |
| 4968 |
|
|
| 4969 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4970 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4971 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
| 4971 |
> |
if ${ac_cv_path_GREP+:} false; then : |
| 4972 |
|
$as_echo_n "(cached) " >&6 |
| 4973 |
|
else |
| 4974 |
|
if test -z "$GREP"; then |
| 5017 |
|
done |
| 5018 |
|
IFS=$as_save_IFS |
| 5019 |
|
if test -z "$ac_cv_path_GREP"; then |
| 5020 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5020 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5021 |
|
fi |
| 5022 |
|
else |
| 5023 |
|
ac_cv_path_GREP=$GREP |
| 5031 |
|
|
| 5032 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 5033 |
|
$as_echo_n "checking for egrep... " >&6; } |
| 5034 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
| 5034 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
| 5035 |
|
$as_echo_n "(cached) " >&6 |
| 5036 |
|
else |
| 5037 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 5083 |
|
done |
| 5084 |
|
IFS=$as_save_IFS |
| 5085 |
|
if test -z "$ac_cv_path_EGREP"; then |
| 5086 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5086 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5087 |
|
fi |
| 5088 |
|
else |
| 5089 |
|
ac_cv_path_EGREP=$EGREP |
| 5111 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 5112 |
|
set x ${MAKE-make} |
| 5113 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 5114 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 5114 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 5115 |
|
$as_echo_n "(cached) " >&6 |
| 5116 |
|
else |
| 5117 |
|
cat >conftest.make <<\_ACEOF |
| 5119 |
|
all: |
| 5120 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 5121 |
|
_ACEOF |
| 5122 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 5122 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 5123 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 5124 |
|
*@@@%%%=?*=@@@%%%*) |
| 5125 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 5143 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5144 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5145 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5146 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 5146 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 5147 |
|
$as_echo_n "(cached) " >&6 |
| 5148 |
|
else |
| 5149 |
|
if test -n "$RANLIB"; then |
| 5183 |
|
set dummy ranlib; ac_word=$2 |
| 5184 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5185 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5186 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 5186 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 5187 |
|
$as_echo_n "(cached) " >&6 |
| 5188 |
|
else |
| 5189 |
|
if test -n "$ac_ct_RANLIB"; then |
| 5235 |
|
set dummy perl; ac_word=$2 |
| 5236 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5237 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5238 |
< |
if test "${ac_cv_path_PERLINTERP+set}" = set; then : |
| 5238 |
> |
if ${ac_cv_path_PERLINTERP+:} false; then : |
| 5239 |
|
$as_echo_n "(cached) " >&6 |
| 5240 |
|
else |
| 5241 |
|
case $PERLINTERP in |
| 5285 |
|
|
| 5286 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether explicit instead of detected sharpbang is to be used" >&5 |
| 5287 |
|
$as_echo_n "checking whether explicit instead of detected sharpbang is to be used... " >&6; } |
| 5288 |
< |
if test "${ax_cv_opt_perl_shebang+set}" = set; then : |
| 5288 |
> |
if ${ax_cv_opt_perl_shebang+:} false; then : |
| 5289 |
|
$as_echo_n "(cached) " >&6 |
| 5290 |
|
else |
| 5291 |
|
case "$opt_perl_shebang" in |
| 5311 |
|
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
| 5312 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel sharpbang invocation to start perl" >&5 |
| 5313 |
|
$as_echo_n "checking for kernel sharpbang invocation to start perl... " >&6; } |
| 5314 |
< |
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then : |
| 5314 |
> |
if ${ac_cv_sys_kernshrpbang_perl+:} false; then : |
| 5315 |
|
$as_echo_n "(cached) " >&6 |
| 5316 |
|
else |
| 5317 |
|
_somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` |
| 5367 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 5368 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 5369 |
|
if test -z "$INSTALL"; then |
| 5370 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
| 5370 |
> |
if ${ac_cv_path_install+:} false; then : |
| 5371 |
|
$as_echo_n "(cached) " >&6 |
| 5372 |
|
else |
| 5373 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5452 |
|
set dummy ar; ac_word=$2 |
| 5453 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5454 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5455 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
| 5455 |
> |
if ${ac_cv_prog_AR+:} false; then : |
| 5456 |
|
$as_echo_n "(cached) " >&6 |
| 5457 |
|
else |
| 5458 |
|
if test -n "$AR"; then |
| 5551 |
|
:end' >>confcache |
| 5552 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 5553 |
|
if test -w "$cache_file"; then |
| 5554 |
< |
test "x$cache_file" != "x/dev/null" && |
| 5554 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 5555 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 5556 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 5557 |
< |
cat confcache >$cache_file |
| 5557 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 5558 |
> |
cat confcache >"$cache_file" |
| 5559 |
> |
else |
| 5560 |
> |
case $cache_file in #( |
| 5561 |
> |
*/* | ?:*) |
| 5562 |
> |
mv -f confcache "$cache_file"$$ && |
| 5563 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 5564 |
> |
*) |
| 5565 |
> |
mv -f confcache "$cache_file" ;; |
| 5566 |
> |
esac |
| 5567 |
> |
fi |
| 5568 |
> |
fi |
| 5569 |
|
else |
| 5570 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 5571 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 5578 |
|
set dummy ps; ac_word=$2 |
| 5579 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5580 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5581 |
< |
if test "${ac_cv_path_PS+set}" = set; then : |
| 5581 |
> |
if ${ac_cv_path_PS+:} false; then : |
| 5582 |
|
$as_echo_n "(cached) " >&6 |
| 5583 |
|
else |
| 5584 |
|
case $PS in |
| 5616 |
|
|
| 5617 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX or BSD ps syntax" >&5 |
| 5618 |
|
$as_echo_n "checking for POSIX or BSD ps syntax... " >&6; } |
| 5619 |
< |
if test "${ac_cv_prog_ps_syntax+set}" = set; then : |
| 5619 |
> |
if ${ac_cv_prog_ps_syntax+:} false; then : |
| 5620 |
|
$as_echo_n "(cached) " >&6 |
| 5621 |
|
else |
| 5622 |
|
|
| 5636 |
|
if test "$ac_cv_prog_ps_ef" = yes; then |
| 5637 |
|
ac_cv_prog_ps_syntax=POSIX |
| 5638 |
|
else |
| 5639 |
< |
as_fn_error "Could not determine ps syntax" "$LINENO" 5 |
| 5639 |
> |
as_fn_error $? "Could not determine ps syntax" "$LINENO" 5 |
| 5640 |
|
fi |
| 5641 |
|
fi |
| 5642 |
|
|
| 5658 |
|
$as_echo "#define PSTYPE_IS_POSIX 1" >>confdefs.h |
| 5659 |
|
|
| 5660 |
|
else |
| 5661 |
< |
as_fn_error "Unknown ps syntax type!" "$LINENO" 5 |
| 5661 |
> |
as_fn_error $? "Unknown ps syntax type!" "$LINENO" 5 |
| 5662 |
|
fi |
| 5663 |
|
fi |
| 5664 |
|
|
| 5673 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5674 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran flag to compile .F90 files" >&5 |
| 5675 |
|
$as_echo_n "checking for Fortran flag to compile .F90 files... " >&6; } |
| 5676 |
< |
if test "${ac_cv_fc_srcext_F90+set}" = set; then : |
| 5676 |
> |
if ${ac_cv_fc_srcext_F90+:} false; then : |
| 5677 |
|
$as_echo_n "(cached) " >&6 |
| 5678 |
|
else |
| 5679 |
|
ac_ext=F90 |
| 5699 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_srcext_F90" >&5 |
| 5700 |
|
$as_echo "$ac_cv_fc_srcext_F90" >&6; } |
| 5701 |
|
if test "x$ac_cv_fc_srcext_F90" = xunknown; then |
| 5702 |
< |
as_fn_error "Fortran could not compile .F90 files" "$LINENO" 5 |
| 5702 |
> |
as_fn_error $? "Fortran could not compile .F90 files" "$LINENO" 5 |
| 5703 |
|
else |
| 5704 |
|
ac_fc_srcext=F90 |
| 5705 |
|
if test "x$ac_cv_fc_srcext_F90" = xnone; then |
| 5793 |
|
else |
| 5794 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5795 |
|
$as_echo "no" >&6; } |
| 5796 |
< |
as_fn_error "Can't figure out working Fortran90 preprocessor flag" "$LINENO" 5 |
| 5796 |
> |
as_fn_error $? "Can't figure out working Fortran90 preprocessor flag" "$LINENO" 5 |
| 5797 |
|
fi |
| 5798 |
|
fi |
| 5799 |
|
|
| 5876 |
|
else |
| 5877 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5878 |
|
$as_echo "no" >&6; } |
| 5879 |
< |
as_fn_error "Can't figure out working Fortran90 preprocessor define flag" "$LINENO" 5 |
| 5879 |
> |
as_fn_error $? "Can't figure out working Fortran90 preprocessor define flag" "$LINENO" 5 |
| 5880 |
|
fi |
| 5881 |
|
fi |
| 5882 |
|
|
| 5886 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5887 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5 |
| 5888 |
|
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
| 5889 |
< |
if test "${ac_cv_prog_fc_v+set}" = set; then : |
| 5889 |
> |
if ${ac_cv_prog_fc_v+:} false; then : |
| 5890 |
|
$as_echo_n "(cached) " >&6 |
| 5891 |
|
else |
| 5892 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 5916 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 5917 |
|
# LIBRARY_PATH; skip all such settings. |
| 5918 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 5919 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 5919 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 5920 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 5921 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 5922 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 5923 |
|
|
| 5982 |
|
$as_echo "$ac_cv_prog_fc_v" >&6; } |
| 5983 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5 |
| 5984 |
|
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
| 5985 |
< |
if test "${ac_cv_fc_libs+set}" = set; then : |
| 5985 |
> |
if ${ac_cv_fc_libs+:} false; then : |
| 5986 |
|
$as_echo_n "(cached) " >&6 |
| 5987 |
|
else |
| 5988 |
|
if test "x$FCLIBS" != "x"; then |
| 6007 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 6008 |
|
# LIBRARY_PATH; skip all such settings. |
| 6009 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 6010 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 6010 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 6011 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 6012 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 6013 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 6014 |
|
|
| 6098 |
|
;; |
| 6099 |
|
# Ignore these flags. |
| 6100 |
|
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |
| 6101 |
< |
|-LANG:=* | -LIST:* | -LNO:*) |
| 6101 |
> |
|-LANG:=* | -LIST:* | -LNO:* | -link) |
| 6102 |
|
;; |
| 6103 |
|
-lkernel32) |
| 6104 |
|
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 6195 |
|
|
| 6196 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran libraries" >&5 |
| 6197 |
|
$as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; } |
| 6198 |
< |
if test "${ac_cv_fc_dummy_main+set}" = set; then : |
| 6198 |
> |
if ${ac_cv_fc_dummy_main+:} false; then : |
| 6199 |
|
$as_echo_n "(cached) " >&6 |
| 6200 |
|
else |
| 6201 |
|
ac_fc_dm_save_LIBS=$LIBS |
| 6291 |
|
else |
| 6292 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6293 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6294 |
< |
as_fn_error "linking to Fortran libraries from C fails |
| 6295 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 6294 |
> |
as_fn_error $? "linking to Fortran libraries from C fails |
| 6295 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 6296 |
|
fi |
| 6297 |
|
|
| 6298 |
|
ac_ext=${ac_fc_srcext-f} |
| 6306 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 6307 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran name-mangling scheme" >&5 |
| 6308 |
|
$as_echo_n "checking for Fortran name-mangling scheme... " >&6; } |
| 6309 |
< |
if test "${ac_cv_fc_mangling+set}" = set; then : |
| 6309 |
> |
if ${ac_cv_fc_mangling+:} false; then : |
| 6310 |
|
$as_echo_n "(cached) " >&6 |
| 6311 |
|
else |
| 6312 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 6452 |
|
else |
| 6453 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 6454 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 6455 |
< |
as_fn_error "cannot compile a simple Fortran program |
| 6456 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 6455 |
> |
as_fn_error $? "cannot compile a simple Fortran program |
| 6456 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 6457 |
|
fi |
| 6458 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6459 |
|
|
| 6530 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 6531 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $FC" >&5 |
| 6532 |
|
$as_echo_n "checking how to get verbose linking output from $FC... " >&6; } |
| 6533 |
< |
if test "${ac_cv_prog_fc_v+set}" = set; then : |
| 6533 |
> |
if ${ac_cv_prog_fc_v+:} false; then : |
| 6534 |
|
$as_echo_n "(cached) " >&6 |
| 6535 |
|
else |
| 6536 |
|
cat > conftest.$ac_ext <<_ACEOF |
| 6560 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 6561 |
|
# LIBRARY_PATH; skip all such settings. |
| 6562 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 6563 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 6563 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 6564 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 6565 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 6566 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 6567 |
|
|
| 6626 |
|
$as_echo "$ac_cv_prog_fc_v" >&6; } |
| 6627 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran libraries of $FC" >&5 |
| 6628 |
|
$as_echo_n "checking for Fortran libraries of $FC... " >&6; } |
| 6629 |
< |
if test "${ac_cv_fc_libs+set}" = set; then : |
| 6629 |
> |
if ${ac_cv_fc_libs+:} false; then : |
| 6630 |
|
$as_echo_n "(cached) " >&6 |
| 6631 |
|
else |
| 6632 |
|
if test "x$FCLIBS" != "x"; then |
| 6651 |
|
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, |
| 6652 |
|
# LIBRARY_PATH; skip all such settings. |
| 6653 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | |
| 6654 |
< |
grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="` |
| 6654 |
> |
sed '/^Driving:/d; /^Configured with:/d; |
| 6655 |
> |
'"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"` |
| 6656 |
|
$as_echo "$ac_fc_v_output" >&5 |
| 6657 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 6658 |
|
|
| 6742 |
|
;; |
| 6743 |
|
# Ignore these flags. |
| 6744 |
|
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \ |
| 6745 |
< |
|-LANG:=* | -LIST:* | -LNO:*) |
| 6745 |
> |
|-LANG:=* | -LIST:* | -LNO:* | -link) |
| 6746 |
|
;; |
| 6747 |
|
-lkernel32) |
| 6748 |
|
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 6965 |
|
|
| 6966 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 90 module file names" >&5 |
| 6967 |
|
$as_echo_n "checking for Fortran 90 module file names... " >&6; } |
| 6968 |
< |
if test "${ac_cv_f90_module_names+set}" = set; then : |
| 6968 |
> |
if ${ac_cv_f90_module_names+:} false; then : |
| 6969 |
|
$as_echo_n "(cached) " >&6 |
| 6970 |
|
else |
| 6971 |
|
ac_ext=${ac_fc_srcext-f} |
| 7177 |
|
|
| 7178 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5 |
| 7179 |
|
$as_echo_n "checking for asin in -lm... " >&6; } |
| 7180 |
< |
if test "${ac_cv_lib_m_asin+set}" = set; then : |
| 7180 |
> |
if ${ac_cv_lib_m_asin+:} false; then : |
| 7181 |
|
$as_echo_n "(cached) " >&6 |
| 7182 |
|
else |
| 7183 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7219 |
|
fi |
| 7220 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5 |
| 7221 |
|
$as_echo "$ac_cv_lib_m_asin" >&6; } |
| 7222 |
< |
if test "x$ac_cv_lib_m_asin" = x""yes; then : |
| 7222 |
> |
if test "x$ac_cv_lib_m_asin" = xyes; then : |
| 7223 |
|
cat >>confdefs.h <<_ACEOF |
| 7224 |
|
#define HAVE_LIBM 1 |
| 7225 |
|
_ACEOF |
| 7233 |
|
|
| 7234 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7235 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7236 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 7236 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 7237 |
|
$as_echo_n "(cached) " >&6 |
| 7238 |
|
else |
| 7239 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7358 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7359 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 7360 |
|
" |
| 7361 |
< |
eval as_val=\$$as_ac_Header |
| 7336 |
< |
if test "x$as_val" = x""yes; then : |
| 7361 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 7362 |
|
cat >>confdefs.h <<_ACEOF |
| 7363 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7364 |
|
_ACEOF |
| 7413 |
|
|
| 7414 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5 |
| 7415 |
|
$as_echo_n "checking for inflateEnd in -lz... " >&6; } |
| 7416 |
< |
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then : |
| 7416 |
> |
if ${ac_cv_lib_z_inflateEnd+:} false; then : |
| 7417 |
|
$as_echo_n "(cached) " >&6 |
| 7418 |
|
else |
| 7419 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7455 |
|
fi |
| 7456 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 7457 |
|
$as_echo "$ac_cv_lib_z_inflateEnd" >&6; } |
| 7458 |
< |
if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then : |
| 7458 |
> |
if test "x$ac_cv_lib_z_inflateEnd" = xyes; then : |
| 7459 |
|
zlib_cv_libz=yes |
| 7460 |
|
else |
| 7461 |
|
zlib_cv_libz=no |
| 7462 |
|
fi |
| 7463 |
|
|
| 7464 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 7465 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 7465 |
> |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 7466 |
|
zlib_cv_zlib_h=yes |
| 7467 |
|
else |
| 7468 |
|
zlib_cv_zlib_h=no |
| 7553 |
|
|
| 7554 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_execute in -lfftw3" >&5 |
| 7555 |
|
$as_echo_n "checking for fftw_execute in -lfftw3... " >&6; } |
| 7556 |
< |
if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then : |
| 7556 |
> |
if ${ac_cv_lib_fftw3_fftw_execute+:} false; then : |
| 7557 |
|
$as_echo_n "(cached) " >&6 |
| 7558 |
|
else |
| 7559 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7595 |
|
fi |
| 7596 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
| 7597 |
|
$as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; } |
| 7598 |
< |
if test "x$ac_cv_lib_fftw3_fftw_execute" = x""yes; then : |
| 7598 |
> |
if test "x$ac_cv_lib_fftw3_fftw_execute" = xyes; then : |
| 7599 |
|
fftw_cv_libfftw3=yes |
| 7600 |
|
else |
| 7601 |
|
fftw_cv_libfftw3=no |
| 7602 |
|
fi |
| 7603 |
|
|
| 7604 |
|
ac_fn_c_check_header_mongrel "$LINENO" "fftw3.h" "ac_cv_header_fftw3_h" "$ac_includes_default" |
| 7605 |
< |
if test "x$ac_cv_header_fftw3_h" = x""yes; then : |
| 7605 |
> |
if test "x$ac_cv_header_fftw3_h" = xyes; then : |
| 7606 |
|
fftw_cv_fftw3_h=yes |
| 7607 |
|
else |
| 7608 |
|
fftw_cv_fftw3_h=no |
| 7612 |
|
if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"; then |
| 7613 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftwnd_one in -lfftw" >&5 |
| 7614 |
|
$as_echo_n "checking for fftwnd_one in -lfftw... " >&6; } |
| 7615 |
< |
if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then : |
| 7615 |
> |
if ${ac_cv_lib_fftw_fftwnd_one+:} false; then : |
| 7616 |
|
$as_echo_n "(cached) " >&6 |
| 7617 |
|
else |
| 7618 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7654 |
|
fi |
| 7655 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
| 7656 |
|
$as_echo "$ac_cv_lib_fftw_fftwnd_one" >&6; } |
| 7657 |
< |
if test "x$ac_cv_lib_fftw_fftwnd_one" = x""yes; then : |
| 7657 |
> |
if test "x$ac_cv_lib_fftw_fftwnd_one" = xyes; then : |
| 7658 |
|
fftw_cv_libfftw=yes |
| 7659 |
|
else |
| 7660 |
|
fftw_cv_libfftw=no |
| 7661 |
|
fi |
| 7662 |
|
|
| 7663 |
|
ac_fn_c_check_header_mongrel "$LINENO" "fftw.h" "ac_cv_header_fftw_h" "$ac_includes_default" |
| 7664 |
< |
if test "x$ac_cv_header_fftw_h" = x""yes; then : |
| 7664 |
> |
if test "x$ac_cv_header_fftw_h" = xyes; then : |
| 7665 |
|
fftw_cv_fftw_h=yes |
| 7666 |
|
else |
| 7667 |
|
fftw_cv_fftw_h=no |
| 7671 |
|
if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"; then |
| 7672 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftwnd_one in -ldfftw" >&5 |
| 7673 |
|
$as_echo_n "checking for fftwnd_one in -ldfftw... " >&6; } |
| 7674 |
< |
if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then : |
| 7674 |
> |
if ${ac_cv_lib_dfftw_fftwnd_one+:} false; then : |
| 7675 |
|
$as_echo_n "(cached) " >&6 |
| 7676 |
|
else |
| 7677 |
|
ac_check_lib_save_LIBS=$LIBS |
| 7713 |
|
fi |
| 7714 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
| 7715 |
|
$as_echo "$ac_cv_lib_dfftw_fftwnd_one" >&6; } |
| 7716 |
< |
if test "x$ac_cv_lib_dfftw_fftwnd_one" = x""yes; then : |
| 7716 |
> |
if test "x$ac_cv_lib_dfftw_fftwnd_one" = xyes; then : |
| 7717 |
|
fftw_cv_libdfftw=yes |
| 7718 |
|
else |
| 7719 |
|
fftw_cv_libdfftw=no |
| 7720 |
|
fi |
| 7721 |
|
|
| 7722 |
|
ac_fn_c_check_header_mongrel "$LINENO" "dfftw.h" "ac_cv_header_dfftw_h" "$ac_includes_default" |
| 7723 |
< |
if test "x$ac_cv_header_dfftw_h" = x""yes; then : |
| 7723 |
> |
if test "x$ac_cv_header_dfftw_h" = xyes; then : |
| 7724 |
|
fftw_cv_dfftw_h=yes |
| 7725 |
|
else |
| 7726 |
|
fftw_cv_dfftw_h=no |
| 7796 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
| 7797 |
|
$as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
| 7798 |
|
if test -z "$CXXCPP"; then |
| 7799 |
< |
if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
| 7799 |
> |
if ${ac_cv_prog_CXXCPP+:} false; then : |
| 7800 |
|
$as_echo_n "(cached) " >&6 |
| 7801 |
|
else |
| 7802 |
|
# Double quotes because CXXCPP needs to be expanded |
| 7826 |
|
# Broken: fails on valid input. |
| 7827 |
|
continue |
| 7828 |
|
fi |
| 7829 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7829 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7830 |
|
|
| 7831 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7832 |
|
# can be detected and how. |
| 7842 |
|
ac_preproc_ok=: |
| 7843 |
|
break |
| 7844 |
|
fi |
| 7845 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7845 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7846 |
|
|
| 7847 |
|
done |
| 7848 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7849 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7849 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7850 |
|
if $ac_preproc_ok; then : |
| 7851 |
|
break |
| 7852 |
|
fi |
| 7885 |
|
# Broken: fails on valid input. |
| 7886 |
|
continue |
| 7887 |
|
fi |
| 7888 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7888 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7889 |
|
|
| 7890 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7891 |
|
# can be detected and how. |
| 7901 |
|
ac_preproc_ok=: |
| 7902 |
|
break |
| 7903 |
|
fi |
| 7904 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7904 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7905 |
|
|
| 7906 |
|
done |
| 7907 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7908 |
< |
rm -f conftest.err conftest.$ac_ext |
| 7908 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7909 |
|
if $ac_preproc_ok; then : |
| 7910 |
|
|
| 7911 |
|
else |
| 7912 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7913 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7914 |
< |
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check |
| 7915 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
| 7914 |
> |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
| 7915 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 7916 |
|
fi |
| 7917 |
|
|
| 7918 |
|
ac_ext=cpp |
| 7946 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5 |
| 7947 |
|
$as_echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;} |
| 7948 |
|
QHULL_HOME=/usr/local |
| 7949 |
< |
if test ! -f "${QHULL_HOME}/include/qhull/qhull.h"; then |
| 7949 |
> |
if test ! -f "${QHULL_HOME}/include/qhull/libqhull.h"; then |
| 7950 |
|
QHULL_HOME=/usr |
| 7951 |
|
fi |
| 7952 |
|
fi |
| 7970 |
|
LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" |
| 7971 |
|
CXXFLAGS="$CXXFLAGS -I${QHULL_HOME}/include" |
| 7972 |
|
CPPFLAGS="$CPPFLAGS -I${QHULL_HOME}/include" |
| 7973 |
< |
ac_fn_cxx_check_header_mongrel "$LINENO" "qhull/qhull.h" "ac_cv_header_qhull_qhull_h" "$ac_includes_default" |
| 7974 |
< |
if test "x$ac_cv_header_qhull_qhull_h" = x""yes; then : |
| 7975 |
< |
qhull_cv_qhull_h=yes |
| 7973 |
> |
ac_fn_cxx_check_header_mongrel "$LINENO" "qhull/libqhull.h" "ac_cv_header_qhull_libqhull_h" "$ac_includes_default" |
| 7974 |
> |
if test "x$ac_cv_header_qhull_libqhull_h" = xyes; then : |
| 7975 |
> |
qhull_cv_libqhull_h=yes |
| 7976 |
|
else |
| 7977 |
< |
qhull_cv_qhull_h=no |
| 7977 |
> |
qhull_cv_libqhull_h=no |
| 7978 |
|
fi |
| 7979 |
|
|
| 7980 |
|
|
| 7981 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qh_qhull in -lqhull" >&5 |
| 7982 |
|
$as_echo_n "checking for qh_qhull in -lqhull... " >&6; } |
| 7983 |
< |
if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then : |
| 7983 |
> |
if ${ac_cv_lib_qhull_qh_qhull+:} false; then : |
| 7984 |
|
$as_echo_n "(cached) " >&6 |
| 7985 |
|
else |
| 7986 |
|
ac_check_lib_save_LIBS=$LIBS |
| 8022 |
|
fi |
| 8023 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qhull_qh_qhull" >&5 |
| 8024 |
|
$as_echo "$ac_cv_lib_qhull_qh_qhull" >&6; } |
| 8025 |
< |
if test "x$ac_cv_lib_qhull_qh_qhull" = x""yes; then : |
| 8025 |
> |
if test "x$ac_cv_lib_qhull_qh_qhull" = xyes; then : |
| 8026 |
|
qhull_cv_libqhull=yes |
| 8027 |
|
else |
| 8028 |
|
qhull_cv_libqhull=no |
| 8029 |
+ |
fi |
| 8030 |
+ |
|
| 8031 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for qh_qhull in -lqhull6" >&5 |
| 8032 |
+ |
$as_echo_n "checking for qh_qhull in -lqhull6... " >&6; } |
| 8033 |
+ |
if ${ac_cv_lib_qhull6_qh_qhull+:} false; then : |
| 8034 |
+ |
$as_echo_n "(cached) " >&6 |
| 8035 |
+ |
else |
| 8036 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 8037 |
+ |
LIBS="-lqhull6 $LIBS" |
| 8038 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8039 |
+ |
/* end confdefs.h. */ |
| 8040 |
+ |
|
| 8041 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 8042 |
+ |
Use char because int might match the return type of a GCC |
| 8043 |
+ |
builtin and then its argument prototype would still apply. */ |
| 8044 |
+ |
#ifdef __cplusplus |
| 8045 |
+ |
extern "C" |
| 8046 |
+ |
#endif |
| 8047 |
+ |
char qh_qhull (); |
| 8048 |
+ |
#ifdef FC_DUMMY_MAIN |
| 8049 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 8050 |
+ |
# ifdef __cplusplus |
| 8051 |
+ |
extern "C" |
| 8052 |
+ |
# endif |
| 8053 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 8054 |
+ |
#endif |
| 8055 |
+ |
#endif |
| 8056 |
+ |
int |
| 8057 |
+ |
main () |
| 8058 |
+ |
{ |
| 8059 |
+ |
return qh_qhull (); |
| 8060 |
+ |
; |
| 8061 |
+ |
return 0; |
| 8062 |
+ |
} |
| 8063 |
+ |
_ACEOF |
| 8064 |
+ |
if ac_fn_cxx_try_link "$LINENO"; then : |
| 8065 |
+ |
ac_cv_lib_qhull6_qh_qhull=yes |
| 8066 |
+ |
else |
| 8067 |
+ |
ac_cv_lib_qhull6_qh_qhull=no |
| 8068 |
|
fi |
| 8069 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 8070 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 8071 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 8072 |
+ |
fi |
| 8073 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qhull6_qh_qhull" >&5 |
| 8074 |
+ |
$as_echo "$ac_cv_lib_qhull6_qh_qhull" >&6; } |
| 8075 |
+ |
if test "x$ac_cv_lib_qhull6_qh_qhull" = xyes; then : |
| 8076 |
+ |
qhull_cv_libqhull6=yes |
| 8077 |
+ |
else |
| 8078 |
+ |
qhull_cv_libqhull6=no |
| 8079 |
+ |
fi |
| 8080 |
|
|
| 8081 |
|
LDFLAGS="$QHULL_OLD_LDFLAGS" |
| 8082 |
|
CXXFLAGS="$QHULL_OLD_CXXFLAGS" |
| 8088 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8089 |
|
|
| 8090 |
|
|
| 8091 |
< |
if test "$qhull_cv_libqhull" = "yes" -a "$qhull_cv_qhull_h" = "yes"; then |
| 8091 |
> |
if test "$qhull_cv_libqhull_h" = "yes" -a "$qhull_cv_libqhull" = "yes" -o "$qhull_cv_libqhull6" = "yes"; then |
| 8092 |
|
|
| 8093 |
< |
$as_echo "#define HAVE_QHULL_H 1" >>confdefs.h |
| 8093 |
> |
$as_echo "#define HAVE_LIBQHULL_H 1" >>confdefs.h |
| 8094 |
|
|
| 8095 |
+ |
if test "$qhull_cv_libqhull" = "yes"; then |
| 8096 |
|
|
| 8097 |
|
$as_echo "#define HAVE_QHULL 1" >>confdefs.h |
| 8098 |
|
|
| 8099 |
+ |
QHULL="-lqhull" |
| 8100 |
+ |
fi |
| 8101 |
+ |
if test "$qhull_cv_libqhull6" = "yes"; then |
| 8102 |
+ |
|
| 8103 |
+ |
$as_echo "#define HAVE_QHULL 1" >>confdefs.h |
| 8104 |
+ |
|
| 8105 |
+ |
QHULL="-lqhull6" |
| 8106 |
+ |
fi |
| 8107 |
|
USE_QHULL=yes |
| 8108 |
|
QHULL_INC_DIR="${QHULL_HOME}/include" |
| 8109 |
|
QHULL_LIB_DIR="${QHULL_HOME}/lib" |
| 8026 |
– |
QHULL="-lqhull" |
| 8110 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Working qhull found, will proceed." >&5 |
| 8111 |
|
$as_echo "Working qhull found, will proceed." >&6; } |
| 8112 |
|
else |
| 8178 |
|
LDFLAGS="$LDFLAGS -L${OPENBABEL_HOME}/lib -lopenbabel" |
| 8179 |
|
CPPFLAGS="$CPPFLAGS -I${OPENBABEL_HOME}/include/openbabel-2.0" |
| 8180 |
|
ac_fn_cxx_check_header_mongrel "$LINENO" "openbabel/babelconfig.h" "ac_cv_header_openbabel_babelconfig_h" "$ac_includes_default" |
| 8181 |
< |
if test "x$ac_cv_header_openbabel_babelconfig_h" = x""yes; then : |
| 8181 |
> |
if test "x$ac_cv_header_openbabel_babelconfig_h" = xyes; then : |
| 8182 |
|
openbabel_cv_openbabel_h=yes |
| 8183 |
|
else |
| 8184 |
|
openbabel_cv_openbabel_h=no |
| 8186 |
|
|
| 8187 |
|
|
| 8188 |
|
ac_fn_cxx_check_header_mongrel "$LINENO" "openbabel/obconversion.h" "ac_cv_header_openbabel_obconversion_h" "$ac_includes_default" |
| 8189 |
< |
if test "x$ac_cv_header_openbabel_obconversion_h" = x""yes; then : |
| 8189 |
> |
if test "x$ac_cv_header_openbabel_obconversion_h" = xyes; then : |
| 8190 |
|
openbabel_cv_obconversion_h=yes |
| 8191 |
|
else |
| 8192 |
|
openbabel_cv_obconversion_h=no |
| 8282 |
|
# Checks for header files. |
| 8283 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 8284 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 8285 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 8285 |
> |
if ${ac_cv_header_stdc+:} false; then : |
| 8286 |
|
$as_echo_n "(cached) " >&6 |
| 8287 |
|
else |
| 8288 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8404 |
|
do : |
| 8405 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8406 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 8407 |
< |
eval as_val=\$$as_ac_Header |
| 8325 |
< |
if test "x$as_val" = x""yes; then : |
| 8407 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8408 |
|
cat >>confdefs.h <<_ACEOF |
| 8409 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8410 |
|
_ACEOF |
| 8417 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 8418 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
| 8419 |
|
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
| 8420 |
< |
if test "${ac_cv_header_stdbool_h+set}" = set; then : |
| 8420 |
> |
if ${ac_cv_header_stdbool_h+:} false; then : |
| 8421 |
|
$as_echo_n "(cached) " >&6 |
| 8422 |
|
else |
| 8423 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8449 |
|
char b[false == 0 ? 1 : -1]; |
| 8450 |
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
| 8451 |
|
char d[(bool) 0.5 == true ? 1 : -1]; |
| 8452 |
< |
bool e = &s; |
| 8452 |
> |
/* See body of main program for 'e'. */ |
| 8453 |
|
char f[(_Bool) 0.0 == false ? 1 : -1]; |
| 8454 |
|
char g[true]; |
| 8455 |
|
char h[sizeof (_Bool)]; |
| 8460 |
|
_Bool n[m]; |
| 8461 |
|
char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
| 8462 |
|
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 |
| 8463 |
|
/* Catch a bug in an HP-UX C compiler. See |
| 8464 |
|
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
| 8465 |
|
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
| 8479 |
|
main () |
| 8480 |
|
{ |
| 8481 |
|
|
| 8482 |
+ |
bool e = &s; |
| 8483 |
|
*pq |= q; |
| 8484 |
|
*pq |= ! q; |
| 8485 |
|
/* Refer to every declared value, to avoid compiler optimizations. */ |
| 8500 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
| 8501 |
|
$as_echo "$ac_cv_header_stdbool_h" >&6; } |
| 8502 |
|
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
| 8503 |
< |
if test "x$ac_cv_type__Bool" = x""yes; then : |
| 8503 |
> |
if test "x$ac_cv_type__Bool" = xyes; then : |
| 8504 |
|
|
| 8505 |
|
cat >>confdefs.h <<_ACEOF |
| 8506 |
|
#define HAVE__BOOL 1 |
| 8517 |
|
|
| 8518 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 8519 |
|
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 8520 |
< |
if test "${ac_cv_c_const+set}" = set; then : |
| 8520 |
> |
if ${ac_cv_c_const+:} false; then : |
| 8521 |
|
$as_echo_n "(cached) " >&6 |
| 8522 |
|
else |
| 8523 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8605 |
|
|
| 8606 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 8607 |
|
$as_echo_n "checking for inline... " >&6; } |
| 8608 |
< |
if test "${ac_cv_c_inline+set}" = set; then : |
| 8608 |
> |
if ${ac_cv_c_inline+:} false; then : |
| 8609 |
|
$as_echo_n "(cached) " >&6 |
| 8610 |
|
else |
| 8611 |
|
ac_cv_c_inline=no |
| 8646 |
|
esac |
| 8647 |
|
|
| 8648 |
|
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 8649 |
< |
if test "x$ac_cv_type_size_t" = x""yes; then : |
| 8649 |
> |
if test "x$ac_cv_type_size_t" = xyes; then : |
| 8650 |
|
|
| 8651 |
|
else |
| 8652 |
|
|
| 8658 |
|
|
| 8659 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 8660 |
|
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 8661 |
< |
if test "${ac_cv_header_time+set}" = set; then : |
| 8661 |
> |
if ${ac_cv_header_time+:} false; then : |
| 8662 |
|
$as_echo_n "(cached) " >&6 |
| 8663 |
|
else |
| 8664 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8704 |
|
for ac_header in stdlib.h |
| 8705 |
|
do : |
| 8706 |
|
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 8707 |
< |
if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
| 8707 |
> |
if test "x$ac_cv_header_stdlib_h" = xyes; then : |
| 8708 |
|
cat >>confdefs.h <<_ACEOF |
| 8709 |
|
#define HAVE_STDLIB_H 1 |
| 8710 |
|
_ACEOF |
| 8715 |
|
|
| 8716 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
| 8717 |
|
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
| 8718 |
< |
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : |
| 8718 |
> |
if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
| 8719 |
|
$as_echo_n "(cached) " >&6 |
| 8720 |
|
else |
| 8721 |
|
if test "$cross_compiling" = yes; then : |
| 8779 |
|
for ac_header in stdlib.h |
| 8780 |
|
do : |
| 8781 |
|
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 8782 |
< |
if test "x$ac_cv_header_stdlib_h" = x""yes; then : |
| 8782 |
> |
if test "x$ac_cv_header_stdlib_h" = xyes; then : |
| 8783 |
|
cat >>confdefs.h <<_ACEOF |
| 8784 |
|
#define HAVE_STDLIB_H 1 |
| 8785 |
|
_ACEOF |
| 8790 |
|
|
| 8791 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
| 8792 |
|
$as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
| 8793 |
< |
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : |
| 8793 |
> |
if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
| 8794 |
|
$as_echo_n "(cached) " >&6 |
| 8795 |
|
else |
| 8796 |
|
if test "$cross_compiling" = yes; then : |
| 8855 |
|
do : |
| 8856 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8857 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 8858 |
< |
eval as_val=\$$as_ac_Header |
| 8795 |
< |
if test "x$as_val" = x""yes; then : |
| 8858 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8859 |
|
cat >>confdefs.h <<_ACEOF |
| 8860 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8861 |
|
_ACEOF |
| 8866 |
|
|
| 8867 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 |
| 8868 |
|
$as_echo_n "checking types of arguments for select... " >&6; } |
| 8869 |
< |
if test "${ac_cv_func_select_args+set}" = set; then : |
| 8869 |
> |
if ${ac_cv_func_select_args+:} false; then : |
| 8870 |
|
$as_echo_n "(cached) " >&6 |
| 8871 |
|
else |
| 8872 |
|
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
| 8908 |
|
done |
| 8909 |
|
done |
| 8910 |
|
# Provide a safe default value. |
| 8911 |
< |
: ${ac_cv_func_select_args='int,int *,struct timeval *'} |
| 8911 |
> |
: "${ac_cv_func_select_args=int,int *,struct timeval *}" |
| 8912 |
|
|
| 8913 |
|
fi |
| 8914 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 |
| 8936 |
|
|
| 8937 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5 |
| 8938 |
|
$as_echo_n "checking for working strtod... " >&6; } |
| 8939 |
< |
if test "${ac_cv_func_strtod+set}" = set; then : |
| 8939 |
> |
if ${ac_cv_func_strtod+:} false; then : |
| 8940 |
|
$as_echo_n "(cached) " >&6 |
| 8941 |
|
else |
| 8942 |
|
if test "$cross_compiling" = yes; then : |
| 8995 |
|
esac |
| 8996 |
|
|
| 8997 |
|
ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" |
| 8998 |
< |
if test "x$ac_cv_func_pow" = x""yes; then : |
| 8998 |
> |
if test "x$ac_cv_func_pow" = xyes; then : |
| 8999 |
|
|
| 9000 |
|
fi |
| 9001 |
|
|
| 9002 |
|
if test $ac_cv_func_pow = no; then |
| 9003 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 |
| 9004 |
|
$as_echo_n "checking for pow in -lm... " >&6; } |
| 9005 |
< |
if test "${ac_cv_lib_m_pow+set}" = set; then : |
| 9005 |
> |
if ${ac_cv_lib_m_pow+:} false; then : |
| 9006 |
|
$as_echo_n "(cached) " >&6 |
| 9007 |
|
else |
| 9008 |
|
ac_check_lib_save_LIBS=$LIBS |
| 9044 |
|
fi |
| 9045 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 |
| 9046 |
|
$as_echo "$ac_cv_lib_m_pow" >&6; } |
| 9047 |
< |
if test "x$ac_cv_lib_m_pow" = x""yes; then : |
| 9047 |
> |
if test "x$ac_cv_lib_m_pow" = xyes; then : |
| 9048 |
|
POW_LIB=-lm |
| 9049 |
|
else |
| 9050 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5 |
| 9059 |
|
do : |
| 9060 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 9061 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 9062 |
< |
eval as_val=\$$as_ac_var |
| 9000 |
< |
if test "x$as_val" = x""yes; then : |
| 9062 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 9063 |
|
cat >>confdefs.h <<_ACEOF |
| 9064 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 9065 |
|
_ACEOF |
| 9116 |
|
# Try to determine "good" native compiler flags if none specified on command |
| 9117 |
|
# line |
| 9118 |
|
|
| 9119 |
< |
if test "$ac_test_FFLAGS" != "set"; then |
| 9119 |
> |
if test "$ac_test_FCFLAGS" != "set"; then |
| 9120 |
|
FCFLAGS="" |
| 9121 |
|
case "${host_cpu}-${host_os}" in |
| 9122 |
|
|
| 9165 |
|
|
| 9166 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
| 9167 |
|
$as_echo_n "checking whether ${FC} accepts ${FCFLAGS}... " >&6; } |
| 9168 |
< |
if test "${ac_cv_ac_cv_guessed_f90flags+set}" = set; then : |
| 9168 |
> |
if ${ac_cv_ac_cv_guessed_f90flags+:} false; then : |
| 9169 |
|
$as_echo_n "(cached) " >&6 |
| 9170 |
|
else |
| 9171 |
|
|
| 9226 |
|
|
| 9227 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are *really* using GNU cc" >&5 |
| 9228 |
|
$as_echo_n "checking whether we are *really* using GNU cc... " >&6; } |
| 9229 |
< |
if test "${ac_cv_prog_really_gcc+set}" = set; then : |
| 9229 |
> |
if ${ac_cv_prog_really_gcc+:} false; then : |
| 9230 |
|
$as_echo_n "(cached) " >&6 |
| 9231 |
|
else |
| 9232 |
|
|
| 9331 |
|
|
| 9332 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts ${CFLAGS}" >&5 |
| 9333 |
|
$as_echo_n "checking whether ${CC} accepts ${CFLAGS}... " >&6; } |
| 9334 |
< |
if test "${ac_cv_ac_cv_guessed_cflags+set}" = set; then : |
| 9334 |
> |
if ${ac_cv_ac_cv_guessed_cflags+:} false; then : |
| 9335 |
|
$as_echo_n "(cached) " >&6 |
| 9336 |
|
else |
| 9337 |
|
echo 'void f(){}' > conftest.c |
| 9373 |
|
|
| 9374 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are *really* using GNU c++" >&5 |
| 9375 |
|
$as_echo_n "checking whether we are *really* using GNU c++... " >&6; } |
| 9376 |
< |
if test "${ac_cv_prog_really_gxx+set}" = set; then : |
| 9376 |
> |
if ${ac_cv_prog_really_gxx+:} false; then : |
| 9377 |
|
$as_echo_n "(cached) " >&6 |
| 9378 |
|
else |
| 9379 |
|
|
| 9469 |
|
|
| 9470 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
| 9471 |
|
$as_echo_n "checking whether ${CXX} accepts ${CXXFLAGS}... " >&6; } |
| 9472 |
< |
if test "${ac_cv_ac_cv_guessed_cxxflags+set}" = set; then : |
| 9472 |
> |
if ${ac_cv_ac_cv_guessed_cxxflags+:} false; then : |
| 9473 |
|
$as_echo_n "(cached) " >&6 |
| 9474 |
|
else |
| 9475 |
|
echo 'void f(){}' > conftest.cpp |
| 9538 |
|
set dummy doxygen; ac_word=$2 |
| 9539 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9540 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 9541 |
< |
if test "${ac_cv_path_DOXYGEN+set}" = set; then : |
| 9541 |
> |
if ${ac_cv_path_DOXYGEN+:} false; then : |
| 9542 |
|
$as_echo_n "(cached) " >&6 |
| 9543 |
|
else |
| 9544 |
|
case $DOXYGEN in |
| 9576 |
|
|
| 9577 |
|
if test "x$DOXYGEN" = x; then |
| 9578 |
|
if test "x$enable_doxygen" = xyes; then |
| 9579 |
< |
as_fn_error "could not find doxygen" "$LINENO" 5 |
| 9579 |
> |
as_fn_error $? "could not find doxygen" "$LINENO" 5 |
| 9580 |
|
fi |
| 9581 |
|
enable_doc=no |
| 9582 |
|
else |
| 9585 |
|
set dummy dot; ac_word=$2 |
| 9586 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 9587 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 9588 |
< |
if test "${ac_cv_path_DOT+set}" = set; then : |
| 9588 |
> |
if ${ac_cv_path_DOT+:} false; then : |
| 9589 |
|
$as_echo_n "(cached) " >&6 |
| 9590 |
|
else |
| 9591 |
|
case $DOT in |
| 9633 |
|
|
| 9634 |
|
if test x$DOT = x; then |
| 9635 |
|
if test "x$enable_dot" = xyes; then |
| 9636 |
< |
as_fn_error "could not find dot" "$LINENO" 5 |
| 9636 |
> |
as_fn_error $? "could not find dot" "$LINENO" 5 |
| 9637 |
|
fi |
| 9638 |
|
enable_dot=no |
| 9639 |
|
else |
| 9725 |
|
:end' >>confcache |
| 9726 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 9727 |
|
if test -w "$cache_file"; then |
| 9728 |
< |
test "x$cache_file" != "x/dev/null" && |
| 9728 |
> |
if test "x$cache_file" != "x/dev/null"; then |
| 9729 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 9730 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 9731 |
< |
cat confcache >$cache_file |
| 9731 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 9732 |
> |
cat confcache >"$cache_file" |
| 9733 |
> |
else |
| 9734 |
> |
case $cache_file in #( |
| 9735 |
> |
*/* | ?:*) |
| 9736 |
> |
mv -f confcache "$cache_file"$$ && |
| 9737 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 9738 |
> |
*) |
| 9739 |
> |
mv -f confcache "$cache_file" ;; |
| 9740 |
> |
esac |
| 9741 |
> |
fi |
| 9742 |
> |
fi |
| 9743 |
|
else |
| 9744 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 9745 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 9755 |
|
|
| 9756 |
|
ac_libobjs= |
| 9757 |
|
ac_ltlibobjs= |
| 9758 |
+ |
U= |
| 9759 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 9760 |
|
# 1. Remove the extension, and $U if already installed. |
| 9761 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 9771 |
|
|
| 9772 |
|
|
| 9773 |
|
|
| 9774 |
< |
: ${CONFIG_STATUS=./config.status} |
| 9774 |
> |
: "${CONFIG_STATUS=./config.status}" |
| 9775 |
|
ac_write_fail=0 |
| 9776 |
|
ac_clean_files_save=$ac_clean_files |
| 9777 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 9872 |
|
IFS=" "" $as_nl" |
| 9873 |
|
|
| 9874 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 9875 |
+ |
as_myself= |
| 9876 |
|
case $0 in #(( |
| 9877 |
|
*[\\/]* ) as_myself=$0 ;; |
| 9878 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9918 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 9919 |
|
|
| 9920 |
|
|
| 9921 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
| 9922 |
< |
# --------------------------------- |
| 9921 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 9922 |
> |
# ---------------------------------------- |
| 9923 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 9924 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 9925 |
< |
# script with status $?, using 1 if that was 0. |
| 9925 |
> |
# script with STATUS, using 1 if that was 0. |
| 9926 |
|
as_fn_error () |
| 9927 |
|
{ |
| 9928 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 9929 |
< |
if test "$3"; then |
| 9930 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 9931 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 9928 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 9929 |
> |
if test "$4"; then |
| 9930 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 9931 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 9932 |
|
fi |
| 9933 |
< |
$as_echo "$as_me: error: $1" >&2 |
| 9933 |
> |
$as_echo "$as_me: error: $2" >&2 |
| 9934 |
|
as_fn_exit $as_status |
| 9935 |
|
} # as_fn_error |
| 9936 |
|
|
| 10126 |
|
test -d "$as_dir" && break |
| 10127 |
|
done |
| 10128 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 10129 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 10129 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 10130 |
|
|
| 10131 |
|
|
| 10132 |
|
} # as_fn_mkdir_p |
| 10180 |
|
# values after options handling. |
| 10181 |
|
ac_log=" |
| 10182 |
|
This file was extended by OpenMD $as_me 1.0, which was |
| 10183 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
| 10183 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
| 10184 |
|
|
| 10185 |
|
CONFIG_FILES = $CONFIG_FILES |
| 10186 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 10242 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 10243 |
|
ac_cs_version="\\ |
| 10244 |
|
OpenMD config.status 1.0 |
| 10245 |
< |
configured by $0, generated by GNU Autoconf 2.65, |
| 10245 |
> |
configured by $0, generated by GNU Autoconf 2.68, |
| 10246 |
|
with options \\"\$ac_cs_config\\" |
| 10247 |
|
|
| 10248 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 10248 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 10249 |
|
This config.status script is free software; the Free Software Foundation |
| 10250 |
|
gives unlimited permission to copy, distribute and modify it." |
| 10251 |
|
|
| 10261 |
|
while test $# != 0 |
| 10262 |
|
do |
| 10263 |
|
case $1 in |
| 10264 |
< |
--*=*) |
| 10264 |
> |
--*=?*) |
| 10265 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 10266 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 10267 |
|
ac_shift=: |
| 10268 |
|
;; |
| 10269 |
+ |
--*=) |
| 10270 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 10271 |
+ |
ac_optarg= |
| 10272 |
+ |
ac_shift=: |
| 10273 |
+ |
;; |
| 10274 |
|
*) |
| 10275 |
|
ac_option=$1 |
| 10276 |
|
ac_optarg=$2 |
| 10292 |
|
$ac_shift |
| 10293 |
|
case $ac_optarg in |
| 10294 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 10295 |
+ |
'') as_fn_error $? "missing file argument" ;; |
| 10296 |
|
esac |
| 10297 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 10298 |
|
ac_need_defaults=false;; |
| 10305 |
|
ac_need_defaults=false;; |
| 10306 |
|
--he | --h) |
| 10307 |
|
# Conflict between --help and --header |
| 10308 |
< |
as_fn_error "ambiguous option: \`$1' |
| 10308 |
> |
as_fn_error $? "ambiguous option: \`$1' |
| 10309 |
|
Try \`$0 --help' for more information.";; |
| 10310 |
|
--help | --hel | -h ) |
| 10311 |
|
$as_echo "$ac_cs_usage"; exit ;; |
| 10314 |
|
ac_cs_silent=: ;; |
| 10315 |
|
|
| 10316 |
|
# This is an error. |
| 10317 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
| 10317 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
| 10318 |
|
Try \`$0 --help' for more information." ;; |
| 10319 |
|
|
| 10320 |
|
*) as_fn_append ac_config_targets " $1" |
| 10371 |
|
"src/applications/atom2md/Makefile") CONFIG_FILES="$CONFIG_FILES src/applications/atom2md/Makefile" ;; |
| 10372 |
|
"scripts/filepp") CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 10373 |
|
|
| 10374 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 10374 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 10375 |
|
esac |
| 10376 |
|
done |
| 10377 |
|
|
| 10393 |
|
# after its creation but before its name has been assigned to `$tmp'. |
| 10394 |
|
$debug || |
| 10395 |
|
{ |
| 10396 |
< |
tmp= |
| 10396 |
> |
tmp= ac_tmp= |
| 10397 |
|
trap 'exit_status=$? |
| 10398 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 10398 |
> |
: "${ac_tmp:=$tmp}" |
| 10399 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 10400 |
|
' 0 |
| 10401 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
| 10402 |
|
} |
| 10404 |
|
|
| 10405 |
|
{ |
| 10406 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 10407 |
< |
test -n "$tmp" && test -d "$tmp" |
| 10407 |
> |
test -d "$tmp" |
| 10408 |
|
} || |
| 10409 |
|
{ |
| 10410 |
|
tmp=./conf$$-$RANDOM |
| 10411 |
|
(umask 077 && mkdir "$tmp") |
| 10412 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 10412 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 10413 |
> |
ac_tmp=$tmp |
| 10414 |
|
|
| 10415 |
|
# Set up the scripts for CONFIG_FILES section. |
| 10416 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 10427 |
|
fi |
| 10428 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 10429 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 10430 |
< |
ac_cs_awk_cr='\r' |
| 10430 |
> |
ac_cs_awk_cr='\\r' |
| 10431 |
|
else |
| 10432 |
|
ac_cs_awk_cr=$ac_cr |
| 10433 |
|
fi |
| 10434 |
|
|
| 10435 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 10435 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 10436 |
|
_ACEOF |
| 10437 |
|
|
| 10438 |
|
|
| 10441 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 10442 |
|
echo "_ACEOF" |
| 10443 |
|
} >conf$$subs.sh || |
| 10444 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10445 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 10444 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10445 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 10446 |
|
ac_delim='%!_!# ' |
| 10447 |
|
for ac_last_try in false false false false false :; do |
| 10448 |
|
. ./conf$$subs.sh || |
| 10449 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10449 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10450 |
|
|
| 10451 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 10452 |
|
if test $ac_delim_n = $ac_delim_num; then |
| 10453 |
|
break |
| 10454 |
|
elif $ac_last_try; then |
| 10455 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10455 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 10456 |
|
else |
| 10457 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 10458 |
|
fi |
| 10460 |
|
rm -f conf$$subs.sh |
| 10461 |
|
|
| 10462 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 10463 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| 10463 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 10464 |
|
_ACEOF |
| 10465 |
|
sed -n ' |
| 10466 |
|
h |
| 10508 |
|
rm -f conf$$subs.awk |
| 10509 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 10510 |
|
_ACAWK |
| 10511 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| 10511 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 10512 |
|
for (key in S) S_is_set[key] = 1 |
| 10513 |
|
FS = "" |
| 10514 |
|
|
| 10540 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 10541 |
|
else |
| 10542 |
|
cat |
| 10543 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 10544 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 10543 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 10544 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 10545 |
|
_ACEOF |
| 10546 |
|
|
| 10547 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 10548 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 10547 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 10548 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 10549 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
| 10550 |
|
# (actually we leave an empty line to preserve line numbers). |
| 10551 |
|
if test "x$srcdir" = x.; then |
| 10552 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 10553 |
< |
s/:*\$(srcdir):*/:/ |
| 10554 |
< |
s/:*\${srcdir}:*/:/ |
| 10555 |
< |
s/:*@srcdir@:*/:/ |
| 10556 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
| 10552 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 10553 |
> |
h |
| 10554 |
> |
s/// |
| 10555 |
> |
s/^/:/ |
| 10556 |
> |
s/[ ]*$/:/ |
| 10557 |
> |
s/:\$(srcdir):/:/g |
| 10558 |
> |
s/:\${srcdir}:/:/g |
| 10559 |
> |
s/:@srcdir@:/:/g |
| 10560 |
> |
s/^:*// |
| 10561 |
|
s/:*$// |
| 10562 |
+ |
x |
| 10563 |
+ |
s/\(=[ ]*\).*/\1/ |
| 10564 |
+ |
G |
| 10565 |
+ |
s/\n// |
| 10566 |
|
s/^[^=]*=[ ]*$// |
| 10567 |
|
}' |
| 10568 |
|
fi |
| 10574 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
| 10575 |
|
# This happens for instance with `./config.status Makefile'. |
| 10576 |
|
if test -n "$CONFIG_HEADERS"; then |
| 10577 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
| 10577 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 10578 |
|
BEGIN { |
| 10579 |
|
_ACEOF |
| 10580 |
|
|
| 10586 |
|
# handling of long lines. |
| 10587 |
|
ac_delim='%!_!# ' |
| 10588 |
|
for ac_last_try in false false :; do |
| 10589 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| 10590 |
< |
if test -z "$ac_t"; then |
| 10589 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 10590 |
> |
if test -z "$ac_tt"; then |
| 10591 |
|
break |
| 10592 |
|
elif $ac_last_try; then |
| 10593 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 10593 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 10594 |
|
else |
| 10595 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 10596 |
|
fi |
| 10675 |
|
_ACAWK |
| 10676 |
|
_ACEOF |
| 10677 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 10678 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 10678 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 10679 |
|
fi # test -n "$CONFIG_HEADERS" |
| 10680 |
|
|
| 10681 |
|
|
| 10688 |
|
esac |
| 10689 |
|
case $ac_mode$ac_tag in |
| 10690 |
|
:[FHL]*:*);; |
| 10691 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 10691 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 10692 |
|
:[FH]-) ac_tag=-:-;; |
| 10693 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 10694 |
|
esac |
| 10707 |
|
for ac_f |
| 10708 |
|
do |
| 10709 |
|
case $ac_f in |
| 10710 |
< |
-) ac_f="$tmp/stdin";; |
| 10710 |
> |
-) ac_f="$ac_tmp/stdin";; |
| 10711 |
|
*) # Look for the file first in the build tree, then in the source tree |
| 10712 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 10713 |
|
# because $ac_f cannot contain `:'. |
| 10716 |
|
[\\/$]*) false;; |
| 10717 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 10718 |
|
esac || |
| 10719 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 10719 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 10720 |
|
esac |
| 10721 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 10722 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
| 10742 |
|
esac |
| 10743 |
|
|
| 10744 |
|
case $ac_tag in |
| 10745 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 10746 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 10745 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 10746 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 10747 |
|
esac |
| 10748 |
|
;; |
| 10749 |
|
esac |
| 10873 |
|
s&@INSTALL@&$ac_INSTALL&;t t |
| 10874 |
|
$ac_datarootdir_hack |
| 10875 |
|
" |
| 10876 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 10877 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10876 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 10877 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10878 |
|
|
| 10879 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 10880 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 10881 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 10880 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 10881 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 10882 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 10883 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 10884 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
| 10884 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
| 10885 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 10886 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 10886 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
| 10887 |
|
|
| 10888 |
< |
rm -f "$tmp/stdin" |
| 10888 |
> |
rm -f "$ac_tmp/stdin" |
| 10889 |
|
case $ac_file in |
| 10890 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 10891 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 10890 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 10891 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 10892 |
|
esac \ |
| 10893 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10893 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10894 |
|
;; |
| 10895 |
|
:H) |
| 10896 |
|
# |
| 10899 |
|
if test x"$ac_file" != x-; then |
| 10900 |
|
{ |
| 10901 |
|
$as_echo "/* $configure_input */" \ |
| 10902 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 10903 |
< |
} >"$tmp/config.h" \ |
| 10904 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10905 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 10902 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 10903 |
> |
} >"$ac_tmp/config.h" \ |
| 10904 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10905 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 10906 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 10907 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 10908 |
|
else |
| 10909 |
|
rm -f "$ac_file" |
| 10910 |
< |
mv "$tmp/config.h" "$ac_file" \ |
| 10911 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 10910 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
| 10911 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 10912 |
|
fi |
| 10913 |
|
else |
| 10914 |
|
$as_echo "/* $configure_input */" \ |
| 10915 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 10916 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
| 10915 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 10916 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 10917 |
|
fi |
| 10918 |
|
;; |
| 10919 |
|
|
| 10938 |
|
ac_clean_files=$ac_clean_files_save |
| 10939 |
|
|
| 10940 |
|
test $ac_write_fail = 0 || |
| 10941 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 10941 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 10942 |
|
|
| 10943 |
|
|
| 10944 |
|
# configure is writing to config.log, and then calls config.status. |
| 10959 |
|
exec 5>>config.log |
| 10960 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 10961 |
|
# would make configure fail if this is the last instruction. |
| 10962 |
< |
$ac_cs_success || as_fn_exit $? |
| 10962 |
> |
$ac_cs_success || as_fn_exit 1 |
| 10963 |
|
fi |
| 10964 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 10965 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |