| 664 |
|
PROGNAME |
| 665 |
|
debug |
| 666 |
|
USE_SINGLE_PRECISION |
| 667 |
+ |
ac_cc_set |
| 668 |
+ |
ac_cc_path |
| 669 |
+ |
ac_cxx_set |
| 670 |
+ |
ac_cxx_path |
| 671 |
+ |
ac_fc_set |
| 672 |
+ |
ac_fc_path |
| 673 |
+ |
acx_mpi_mpicc |
| 674 |
+ |
acx_mpi_mpicc_path |
| 675 |
+ |
acx_mpi_mpif90 |
| 676 |
+ |
acx_mpi_mpif90_path |
| 677 |
+ |
acx_mpi_mpicxx |
| 678 |
+ |
acx_mpi_mpicxx_path |
| 679 |
+ |
MPI_CPPFLAGS |
| 680 |
+ |
MPI_LIBS |
| 681 |
+ |
MPI90_LIBS |
| 682 |
+ |
USE_MPI |
| 683 |
|
CXX |
| 684 |
|
CXXFLAGS |
| 685 |
|
LDFLAGS |
| 740 |
|
LIBOBJS |
| 741 |
|
POW_LIB |
| 742 |
|
__func__ |
| 727 |
– |
MPI_LIB_DIR |
| 728 |
– |
MPI_INC_DIR |
| 729 |
– |
MPI_F90_INC |
| 730 |
– |
MPI_LIB |
| 731 |
– |
MPI_F90_LIB |
| 732 |
– |
USE_MPI |
| 743 |
|
CGAL_MAKEFILE |
| 744 |
|
CGAL_CXXFLAGS |
| 745 |
|
CGAL_CPPFLAGS |
| 1362 |
|
Optional Packages: |
| 1363 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1364 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1365 |
+ |
--with-mpi=auto|mpich|lam|openmpi|no |
| 1366 |
+ |
Indicates which kind of MPI implementation to use |
| 1367 |
+ |
[default=auto] |
| 1368 |
|
--with-perl-shebang override what perl thinks is the way for the kernel |
| 1369 |
|
to start it (seldom needed) |
| 1370 |
|
--with-zlib=DIR root directory path of zlib installation (defaults |
| 1376 |
|
--with-openbabel=DIR root directory path of openbabel-2.x installation |
| 1377 |
|
(defaults to /usr/local or /usr if not found in |
| 1378 |
|
/usr/local) |
| 1366 |
– |
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
| 1379 |
|
--with-cgalmakefile=makefile |
| 1380 |
|
Use the following CGAL makefile |
| 1381 |
|
|
| 2003 |
|
|
| 2004 |
|
|
| 2005 |
|
|
| 2006 |
+ |
|
| 2007 |
+ |
|
| 2008 |
+ |
|
| 2009 |
+ |
|
| 2010 |
+ |
|
| 2011 |
+ |
|
| 2012 |
+ |
|
| 2013 |
+ |
|
| 2014 |
+ |
|
| 2015 |
+ |
|
| 2016 |
+ |
# ACX_MPI_GET_PROG |
| 2017 |
+ |
|
| 2018 |
+ |
# ACX_DETECT_MPI_IMPLEMENTATION |
| 2019 |
|
|
| 2020 |
|
|
| 2021 |
|
|
| 2022 |
|
|
| 2023 |
|
|
| 2024 |
+ |
# ACX_MPI |
| 2025 |
|
|
| 2026 |
|
|
| 2027 |
|
|
| 2233 |
|
_ACEOF |
| 2234 |
|
|
| 2235 |
|
USE_SINGLE_PRECISION=yes |
| 2236 |
+ |
|
| 2237 |
+ |
fi |
| 2238 |
+ |
|
| 2239 |
+ |
if test x"$CC" != x; then |
| 2240 |
+ |
for ac_prog in $CC |
| 2241 |
+ |
do |
| 2242 |
+ |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2243 |
+ |
set dummy $ac_prog; ac_word=$2 |
| 2244 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2245 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2246 |
+ |
if test "${ac_cv_prog_ac_cc_set+set}" = set; then |
| 2247 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2248 |
+ |
else |
| 2249 |
+ |
if test -n "$ac_cc_set"; then |
| 2250 |
+ |
ac_cv_prog_ac_cc_set="$ac_cc_set" # Let the user override the test. |
| 2251 |
+ |
else |
| 2252 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2253 |
+ |
for as_dir in $PATH |
| 2254 |
+ |
do |
| 2255 |
+ |
IFS=$as_save_IFS |
| 2256 |
+ |
test -z "$as_dir" && as_dir=. |
| 2257 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2258 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2259 |
+ |
ac_cv_prog_ac_cc_set="$ac_prog" |
| 2260 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2261 |
+ |
break 2 |
| 2262 |
+ |
fi |
| 2263 |
+ |
done |
| 2264 |
+ |
done |
| 2265 |
+ |
IFS=$as_save_IFS |
| 2266 |
+ |
|
| 2267 |
+ |
fi |
| 2268 |
+ |
fi |
| 2269 |
+ |
ac_cc_set=$ac_cv_prog_ac_cc_set |
| 2270 |
+ |
if test -n "$ac_cc_set"; then |
| 2271 |
+ |
{ echo "$as_me:$LINENO: result: $ac_cc_set" >&5 |
| 2272 |
+ |
echo "${ECHO_T}$ac_cc_set" >&6; } |
| 2273 |
+ |
else |
| 2274 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2275 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2276 |
+ |
fi |
| 2277 |
+ |
|
| 2278 |
+ |
|
| 2279 |
+ |
test -n "$ac_cc_set" && break |
| 2280 |
+ |
done |
| 2281 |
+ |
test -n "$ac_cc_set" || ac_cc_set="no" |
| 2282 |
+ |
|
| 2283 |
+ |
if test $ac_cc_set != no; then |
| 2284 |
+ |
|
| 2285 |
+ |
# Extract the first word of "$ac_cc_set", so it can be a program name with args. |
| 2286 |
+ |
set dummy $ac_cc_set; ac_word=$2 |
| 2287 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2288 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2289 |
+ |
if test "${ac_cv_path_ac_cc_path+set}" = set; then |
| 2290 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2291 |
+ |
else |
| 2292 |
+ |
case $ac_cc_path in |
| 2293 |
+ |
[\\/]* | ?:[\\/]*) |
| 2294 |
+ |
ac_cv_path_ac_cc_path="$ac_cc_path" # Let the user override the test with a path. |
| 2295 |
+ |
;; |
| 2296 |
+ |
*) |
| 2297 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2298 |
+ |
for as_dir in $PATH |
| 2299 |
+ |
do |
| 2300 |
+ |
IFS=$as_save_IFS |
| 2301 |
+ |
test -z "$as_dir" && as_dir=. |
| 2302 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2303 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2304 |
+ |
ac_cv_path_ac_cc_path="$as_dir/$ac_word$ac_exec_ext" |
| 2305 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2306 |
+ |
break 2 |
| 2307 |
+ |
fi |
| 2308 |
+ |
done |
| 2309 |
+ |
done |
| 2310 |
+ |
IFS=$as_save_IFS |
| 2311 |
+ |
|
| 2312 |
+ |
test -z "$ac_cv_path_ac_cc_path" && ac_cv_path_ac_cc_path="no" |
| 2313 |
+ |
;; |
| 2314 |
+ |
esac |
| 2315 |
+ |
fi |
| 2316 |
+ |
ac_cc_path=$ac_cv_path_ac_cc_path |
| 2317 |
+ |
if test -n "$ac_cc_path"; then |
| 2318 |
+ |
{ echo "$as_me:$LINENO: result: $ac_cc_path" >&5 |
| 2319 |
+ |
echo "${ECHO_T}$ac_cc_path" >&6; } |
| 2320 |
+ |
else |
| 2321 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2322 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2323 |
+ |
fi |
| 2324 |
+ |
|
| 2325 |
+ |
|
| 2326 |
+ |
else |
| 2327 |
+ |
|
| 2328 |
+ |
{ { echo "$as_me:$LINENO: error: Specified C compiler $CC doesn't seem to exist!" >&5 |
| 2329 |
+ |
echo "$as_me: error: Specified C compiler $CC doesn't seem to exist!" >&2;} |
| 2330 |
+ |
{ (exit 1); exit 1; }; } |
| 2331 |
+ |
fi |
| 2332 |
+ |
|
| 2333 |
+ |
|
| 2334 |
+ |
if test $ac_cc_path != no; then |
| 2335 |
+ |
|
| 2336 |
+ |
{ echo "$as_me:$LINENO: Will attempt to use $CC as C compiler" >&5 |
| 2337 |
+ |
echo "$as_me: Will attempt to use $CC as C compiler" >&6;} |
| 2338 |
+ |
else |
| 2339 |
+ |
|
| 2340 |
+ |
{ { echo "$as_me:$LINENO: error: Can't find path to user-specified C compiler $CC" >&5 |
| 2341 |
+ |
echo "$as_me: error: Can't find path to user-specified C compiler $CC" >&2;} |
| 2342 |
+ |
{ (exit 1); exit 1; }; } |
| 2343 |
+ |
fi |
| 2344 |
+ |
|
| 2345 |
+ |
fi |
| 2346 |
+ |
|
| 2347 |
+ |
if test x"$CXX" != x; then |
| 2348 |
+ |
for ac_prog in $CXX |
| 2349 |
+ |
do |
| 2350 |
+ |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2351 |
+ |
set dummy $ac_prog; ac_word=$2 |
| 2352 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2353 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2354 |
+ |
if test "${ac_cv_prog_ac_cxx_set+set}" = set; then |
| 2355 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2356 |
+ |
else |
| 2357 |
+ |
if test -n "$ac_cxx_set"; then |
| 2358 |
+ |
ac_cv_prog_ac_cxx_set="$ac_cxx_set" # Let the user override the test. |
| 2359 |
+ |
else |
| 2360 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2361 |
+ |
for as_dir in $PATH |
| 2362 |
+ |
do |
| 2363 |
+ |
IFS=$as_save_IFS |
| 2364 |
+ |
test -z "$as_dir" && as_dir=. |
| 2365 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2366 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2367 |
+ |
ac_cv_prog_ac_cxx_set="$ac_prog" |
| 2368 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2369 |
+ |
break 2 |
| 2370 |
+ |
fi |
| 2371 |
+ |
done |
| 2372 |
+ |
done |
| 2373 |
+ |
IFS=$as_save_IFS |
| 2374 |
+ |
|
| 2375 |
+ |
fi |
| 2376 |
+ |
fi |
| 2377 |
+ |
ac_cxx_set=$ac_cv_prog_ac_cxx_set |
| 2378 |
+ |
if test -n "$ac_cxx_set"; then |
| 2379 |
+ |
{ echo "$as_me:$LINENO: result: $ac_cxx_set" >&5 |
| 2380 |
+ |
echo "${ECHO_T}$ac_cxx_set" >&6; } |
| 2381 |
+ |
else |
| 2382 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2383 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2384 |
+ |
fi |
| 2385 |
+ |
|
| 2386 |
+ |
|
| 2387 |
+ |
test -n "$ac_cxx_set" && break |
| 2388 |
+ |
done |
| 2389 |
+ |
test -n "$ac_cxx_set" || ac_cxx_set="no" |
| 2390 |
+ |
|
| 2391 |
+ |
if test $ac_cxx_set != no; then |
| 2392 |
+ |
|
| 2393 |
+ |
# Extract the first word of "$ac_cxx_set", so it can be a program name with args. |
| 2394 |
+ |
set dummy $ac_cxx_set; ac_word=$2 |
| 2395 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2396 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2397 |
+ |
if test "${ac_cv_path_ac_cxx_path+set}" = set; then |
| 2398 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2399 |
+ |
else |
| 2400 |
+ |
case $ac_cxx_path in |
| 2401 |
+ |
[\\/]* | ?:[\\/]*) |
| 2402 |
+ |
ac_cv_path_ac_cxx_path="$ac_cxx_path" # Let the user override the test with a path. |
| 2403 |
+ |
;; |
| 2404 |
+ |
*) |
| 2405 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2406 |
+ |
for as_dir in $PATH |
| 2407 |
+ |
do |
| 2408 |
+ |
IFS=$as_save_IFS |
| 2409 |
+ |
test -z "$as_dir" && as_dir=. |
| 2410 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2411 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2412 |
+ |
ac_cv_path_ac_cxx_path="$as_dir/$ac_word$ac_exec_ext" |
| 2413 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2414 |
+ |
break 2 |
| 2415 |
+ |
fi |
| 2416 |
+ |
done |
| 2417 |
+ |
done |
| 2418 |
+ |
IFS=$as_save_IFS |
| 2419 |
+ |
|
| 2420 |
+ |
test -z "$ac_cv_path_ac_cxx_path" && ac_cv_path_ac_cxx_path="no" |
| 2421 |
+ |
;; |
| 2422 |
+ |
esac |
| 2423 |
+ |
fi |
| 2424 |
+ |
ac_cxx_path=$ac_cv_path_ac_cxx_path |
| 2425 |
+ |
if test -n "$ac_cxx_path"; then |
| 2426 |
+ |
{ echo "$as_me:$LINENO: result: $ac_cxx_path" >&5 |
| 2427 |
+ |
echo "${ECHO_T}$ac_cxx_path" >&6; } |
| 2428 |
+ |
else |
| 2429 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2430 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2431 |
+ |
fi |
| 2432 |
+ |
|
| 2433 |
+ |
|
| 2434 |
+ |
else |
| 2435 |
+ |
|
| 2436 |
+ |
{ { echo "$as_me:$LINENO: error: Specified C++ compiler $CXX doesn't seem to exist!" >&5 |
| 2437 |
+ |
echo "$as_me: error: Specified C++ compiler $CXX doesn't seem to exist!" >&2;} |
| 2438 |
+ |
{ (exit 1); exit 1; }; } |
| 2439 |
+ |
fi |
| 2440 |
+ |
|
| 2441 |
+ |
|
| 2442 |
+ |
if test $ac_cxx_path != no; then |
| 2443 |
+ |
|
| 2444 |
+ |
{ echo "$as_me:$LINENO: Will attempt to use $CXX as C++ compiler" >&5 |
| 2445 |
+ |
echo "$as_me: Will attempt to use $CXX as C++ compiler" >&6;} |
| 2446 |
+ |
else |
| 2447 |
+ |
|
| 2448 |
+ |
{ { echo "$as_me:$LINENO: error: Can't find path to user-specified C++ compiler $CXX" >&5 |
| 2449 |
+ |
echo "$as_me: error: Can't find path to user-specified C++ compiler $CXX" >&2;} |
| 2450 |
+ |
{ (exit 1); exit 1; }; } |
| 2451 |
+ |
fi |
| 2452 |
+ |
|
| 2453 |
+ |
fi |
| 2454 |
+ |
|
| 2455 |
+ |
if test x"$FC" != x; then |
| 2456 |
+ |
for ac_prog in $FC |
| 2457 |
+ |
do |
| 2458 |
+ |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2459 |
+ |
set dummy $ac_prog; ac_word=$2 |
| 2460 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2461 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2462 |
+ |
if test "${ac_cv_prog_ac_fc_set+set}" = set; then |
| 2463 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2464 |
+ |
else |
| 2465 |
+ |
if test -n "$ac_fc_set"; then |
| 2466 |
+ |
ac_cv_prog_ac_fc_set="$ac_fc_set" # Let the user override the test. |
| 2467 |
+ |
else |
| 2468 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2469 |
+ |
for as_dir in $PATH |
| 2470 |
+ |
do |
| 2471 |
+ |
IFS=$as_save_IFS |
| 2472 |
+ |
test -z "$as_dir" && as_dir=. |
| 2473 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2474 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2475 |
+ |
ac_cv_prog_ac_fc_set="$ac_prog" |
| 2476 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2477 |
+ |
break 2 |
| 2478 |
+ |
fi |
| 2479 |
+ |
done |
| 2480 |
+ |
done |
| 2481 |
+ |
IFS=$as_save_IFS |
| 2482 |
+ |
|
| 2483 |
+ |
fi |
| 2484 |
+ |
fi |
| 2485 |
+ |
ac_fc_set=$ac_cv_prog_ac_fc_set |
| 2486 |
+ |
if test -n "$ac_fc_set"; then |
| 2487 |
+ |
{ echo "$as_me:$LINENO: result: $ac_fc_set" >&5 |
| 2488 |
+ |
echo "${ECHO_T}$ac_fc_set" >&6; } |
| 2489 |
+ |
else |
| 2490 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2491 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2492 |
+ |
fi |
| 2493 |
+ |
|
| 2494 |
+ |
|
| 2495 |
+ |
test -n "$ac_fc_set" && break |
| 2496 |
+ |
done |
| 2497 |
+ |
test -n "$ac_fc_set" || ac_fc_set="no" |
| 2498 |
+ |
|
| 2499 |
+ |
if test $ac_fc_set != no; then |
| 2500 |
+ |
|
| 2501 |
+ |
# Extract the first word of "$ac_fc_set", so it can be a program name with args. |
| 2502 |
+ |
set dummy $ac_fc_set; ac_word=$2 |
| 2503 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2504 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2505 |
+ |
if test "${ac_cv_path_ac_fc_path+set}" = set; then |
| 2506 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2507 |
+ |
else |
| 2508 |
+ |
case $ac_fc_path in |
| 2509 |
+ |
[\\/]* | ?:[\\/]*) |
| 2510 |
+ |
ac_cv_path_ac_fc_path="$ac_fc_path" # Let the user override the test with a path. |
| 2511 |
+ |
;; |
| 2512 |
+ |
*) |
| 2513 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2514 |
+ |
for as_dir in $PATH |
| 2515 |
+ |
do |
| 2516 |
+ |
IFS=$as_save_IFS |
| 2517 |
+ |
test -z "$as_dir" && as_dir=. |
| 2518 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2519 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2520 |
+ |
ac_cv_path_ac_fc_path="$as_dir/$ac_word$ac_exec_ext" |
| 2521 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2522 |
+ |
break 2 |
| 2523 |
+ |
fi |
| 2524 |
+ |
done |
| 2525 |
+ |
done |
| 2526 |
+ |
IFS=$as_save_IFS |
| 2527 |
+ |
|
| 2528 |
+ |
test -z "$ac_cv_path_ac_fc_path" && ac_cv_path_ac_fc_path="no" |
| 2529 |
+ |
;; |
| 2530 |
+ |
esac |
| 2531 |
+ |
fi |
| 2532 |
+ |
ac_fc_path=$ac_cv_path_ac_fc_path |
| 2533 |
+ |
if test -n "$ac_fc_path"; then |
| 2534 |
+ |
{ echo "$as_me:$LINENO: result: $ac_fc_path" >&5 |
| 2535 |
+ |
echo "${ECHO_T}$ac_fc_path" >&6; } |
| 2536 |
+ |
else |
| 2537 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2538 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2539 |
+ |
fi |
| 2540 |
+ |
|
| 2541 |
+ |
|
| 2542 |
+ |
else |
| 2543 |
+ |
|
| 2544 |
+ |
{ { echo "$as_me:$LINENO: error: Specified Fortran compiler $FC doesn't seem to exist!" >&5 |
| 2545 |
+ |
echo "$as_me: error: Specified Fortran compiler $FC doesn't seem to exist!" >&2;} |
| 2546 |
+ |
{ (exit 1); exit 1; }; } |
| 2547 |
+ |
fi |
| 2548 |
+ |
|
| 2549 |
+ |
|
| 2550 |
+ |
if test $ac_fc_path != no; then |
| 2551 |
+ |
|
| 2552 |
+ |
{ echo "$as_me:$LINENO: Will attempt to use $FC as Fortran compiler" >&5 |
| 2553 |
+ |
echo "$as_me: Will attempt to use $FC as Fortran compiler" >&6;} |
| 2554 |
+ |
else |
| 2555 |
+ |
|
| 2556 |
+ |
{ { echo "$as_me:$LINENO: error: Can't find path to user-specified Fortran compiler $FC" >&5 |
| 2557 |
+ |
echo "$as_me: error: Can't find path to user-specified Fortran compiler $FC" >&2;} |
| 2558 |
+ |
{ (exit 1); exit 1; }; } |
| 2559 |
+ |
fi |
| 2560 |
+ |
|
| 2561 |
+ |
fi |
| 2562 |
+ |
|
| 2563 |
+ |
|
| 2564 |
+ |
|
| 2565 |
+ |
|
| 2566 |
+ |
# Check whether --with-mpi was given. |
| 2567 |
+ |
if test "${with_mpi+set}" = set; then |
| 2568 |
+ |
withval=$with_mpi; |
| 2569 |
+ |
else |
| 2570 |
+ |
with_mpi="auto" |
| 2571 |
+ |
fi |
| 2572 |
+ |
|
| 2573 |
+ |
if test "x$with_mpi" != "xno"; then |
| 2574 |
+ |
|
| 2575 |
+ |
|
| 2576 |
+ |
for ac_prog in $CC openmpicc mpicc |
| 2577 |
+ |
do |
| 2578 |
+ |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2579 |
+ |
set dummy $ac_prog; ac_word=$2 |
| 2580 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2581 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2582 |
+ |
if test "${ac_cv_prog_acx_mpi_mpicc+set}" = set; then |
| 2583 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2584 |
+ |
else |
| 2585 |
+ |
if test -n "$acx_mpi_mpicc"; then |
| 2586 |
+ |
ac_cv_prog_acx_mpi_mpicc="$acx_mpi_mpicc" # Let the user override the test. |
| 2587 |
+ |
else |
| 2588 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2589 |
+ |
for as_dir in $PATH |
| 2590 |
+ |
do |
| 2591 |
+ |
IFS=$as_save_IFS |
| 2592 |
+ |
test -z "$as_dir" && as_dir=. |
| 2593 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2594 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2595 |
+ |
ac_cv_prog_acx_mpi_mpicc="$ac_prog" |
| 2596 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2597 |
+ |
break 2 |
| 2598 |
+ |
fi |
| 2599 |
+ |
done |
| 2600 |
+ |
done |
| 2601 |
+ |
IFS=$as_save_IFS |
| 2602 |
+ |
|
| 2603 |
+ |
fi |
| 2604 |
+ |
fi |
| 2605 |
+ |
acx_mpi_mpicc=$ac_cv_prog_acx_mpi_mpicc |
| 2606 |
+ |
if test -n "$acx_mpi_mpicc"; then |
| 2607 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicc" >&5 |
| 2608 |
+ |
echo "${ECHO_T}$acx_mpi_mpicc" >&6; } |
| 2609 |
+ |
else |
| 2610 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2611 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2612 |
+ |
fi |
| 2613 |
+ |
|
| 2614 |
+ |
|
| 2615 |
+ |
test -n "$acx_mpi_mpicc" && break |
| 2616 |
+ |
done |
| 2617 |
+ |
test -n "$acx_mpi_mpicc" || acx_mpi_mpicc="no" |
| 2618 |
+ |
|
| 2619 |
+ |
if test $acx_mpi_mpicc != no; then |
| 2620 |
+ |
|
| 2621 |
+ |
# Extract the first word of "$acx_mpi_mpicc", so it can be a program name with args. |
| 2622 |
+ |
set dummy $acx_mpi_mpicc; ac_word=$2 |
| 2623 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2624 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2625 |
+ |
if test "${ac_cv_path_acx_mpi_mpicc_path+set}" = set; then |
| 2626 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2627 |
+ |
else |
| 2628 |
+ |
case $acx_mpi_mpicc_path in |
| 2629 |
+ |
[\\/]* | ?:[\\/]*) |
| 2630 |
+ |
ac_cv_path_acx_mpi_mpicc_path="$acx_mpi_mpicc_path" # Let the user override the test with a path. |
| 2631 |
+ |
;; |
| 2632 |
+ |
*) |
| 2633 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2634 |
+ |
for as_dir in $PATH |
| 2635 |
+ |
do |
| 2636 |
+ |
IFS=$as_save_IFS |
| 2637 |
+ |
test -z "$as_dir" && as_dir=. |
| 2638 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2639 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2640 |
+ |
ac_cv_path_acx_mpi_mpicc_path="$as_dir/$ac_word$ac_exec_ext" |
| 2641 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2642 |
+ |
break 2 |
| 2643 |
+ |
fi |
| 2644 |
+ |
done |
| 2645 |
+ |
done |
| 2646 |
+ |
IFS=$as_save_IFS |
| 2647 |
+ |
|
| 2648 |
+ |
test -z "$ac_cv_path_acx_mpi_mpicc_path" && ac_cv_path_acx_mpi_mpicc_path="no" |
| 2649 |
+ |
;; |
| 2650 |
+ |
esac |
| 2651 |
+ |
fi |
| 2652 |
+ |
acx_mpi_mpicc_path=$ac_cv_path_acx_mpi_mpicc_path |
| 2653 |
+ |
if test -n "$acx_mpi_mpicc_path"; then |
| 2654 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicc_path" >&5 |
| 2655 |
+ |
echo "${ECHO_T}$acx_mpi_mpicc_path" >&6; } |
| 2656 |
+ |
else |
| 2657 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2658 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2659 |
+ |
fi |
| 2660 |
+ |
|
| 2661 |
+ |
|
| 2662 |
+ |
fi |
| 2663 |
+ |
|
| 2664 |
+ |
for ac_prog in $FC openmpif90 mpif90 |
| 2665 |
+ |
do |
| 2666 |
+ |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2667 |
+ |
set dummy $ac_prog; ac_word=$2 |
| 2668 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2669 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2670 |
+ |
if test "${ac_cv_prog_acx_mpi_mpif90+set}" = set; then |
| 2671 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2672 |
+ |
else |
| 2673 |
+ |
if test -n "$acx_mpi_mpif90"; then |
| 2674 |
+ |
ac_cv_prog_acx_mpi_mpif90="$acx_mpi_mpif90" # Let the user override the test. |
| 2675 |
+ |
else |
| 2676 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2677 |
+ |
for as_dir in $PATH |
| 2678 |
+ |
do |
| 2679 |
+ |
IFS=$as_save_IFS |
| 2680 |
+ |
test -z "$as_dir" && as_dir=. |
| 2681 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2682 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2683 |
+ |
ac_cv_prog_acx_mpi_mpif90="$ac_prog" |
| 2684 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2685 |
+ |
break 2 |
| 2686 |
+ |
fi |
| 2687 |
+ |
done |
| 2688 |
+ |
done |
| 2689 |
+ |
IFS=$as_save_IFS |
| 2690 |
+ |
|
| 2691 |
+ |
fi |
| 2692 |
+ |
fi |
| 2693 |
+ |
acx_mpi_mpif90=$ac_cv_prog_acx_mpi_mpif90 |
| 2694 |
+ |
if test -n "$acx_mpi_mpif90"; then |
| 2695 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpif90" >&5 |
| 2696 |
+ |
echo "${ECHO_T}$acx_mpi_mpif90" >&6; } |
| 2697 |
+ |
else |
| 2698 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2699 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2700 |
+ |
fi |
| 2701 |
+ |
|
| 2702 |
+ |
|
| 2703 |
+ |
test -n "$acx_mpi_mpif90" && break |
| 2704 |
+ |
done |
| 2705 |
+ |
test -n "$acx_mpi_mpif90" || acx_mpi_mpif90="no" |
| 2706 |
+ |
|
| 2707 |
+ |
if test $acx_mpi_mpif90 != no; then |
| 2708 |
+ |
|
| 2709 |
+ |
# Extract the first word of "$acx_mpi_mpif90", so it can be a program name with args. |
| 2710 |
+ |
set dummy $acx_mpi_mpif90; ac_word=$2 |
| 2711 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2712 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2713 |
+ |
if test "${ac_cv_path_acx_mpi_mpif90_path+set}" = set; then |
| 2714 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2715 |
+ |
else |
| 2716 |
+ |
case $acx_mpi_mpif90_path in |
| 2717 |
+ |
[\\/]* | ?:[\\/]*) |
| 2718 |
+ |
ac_cv_path_acx_mpi_mpif90_path="$acx_mpi_mpif90_path" # Let the user override the test with a path. |
| 2719 |
+ |
;; |
| 2720 |
+ |
*) |
| 2721 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2722 |
+ |
for as_dir in $PATH |
| 2723 |
+ |
do |
| 2724 |
+ |
IFS=$as_save_IFS |
| 2725 |
+ |
test -z "$as_dir" && as_dir=. |
| 2726 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2727 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2728 |
+ |
ac_cv_path_acx_mpi_mpif90_path="$as_dir/$ac_word$ac_exec_ext" |
| 2729 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2730 |
+ |
break 2 |
| 2731 |
+ |
fi |
| 2732 |
+ |
done |
| 2733 |
+ |
done |
| 2734 |
+ |
IFS=$as_save_IFS |
| 2735 |
+ |
|
| 2736 |
+ |
test -z "$ac_cv_path_acx_mpi_mpif90_path" && ac_cv_path_acx_mpi_mpif90_path="no" |
| 2737 |
+ |
;; |
| 2738 |
+ |
esac |
| 2739 |
+ |
fi |
| 2740 |
+ |
acx_mpi_mpif90_path=$ac_cv_path_acx_mpi_mpif90_path |
| 2741 |
+ |
if test -n "$acx_mpi_mpif90_path"; then |
| 2742 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpif90_path" >&5 |
| 2743 |
+ |
echo "${ECHO_T}$acx_mpi_mpif90_path" >&6; } |
| 2744 |
+ |
else |
| 2745 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2746 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2747 |
+ |
fi |
| 2748 |
+ |
|
| 2749 |
+ |
|
| 2750 |
+ |
fi |
| 2751 |
+ |
|
| 2752 |
+ |
for ac_prog in $CXX openmpicxx openmpiCC openmpic++ mpicxx mpiCC mpic++ |
| 2753 |
+ |
do |
| 2754 |
+ |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2755 |
+ |
set dummy $ac_prog; ac_word=$2 |
| 2756 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2757 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2758 |
+ |
if test "${ac_cv_prog_acx_mpi_mpicxx+set}" = set; then |
| 2759 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2760 |
+ |
else |
| 2761 |
+ |
if test -n "$acx_mpi_mpicxx"; then |
| 2762 |
+ |
ac_cv_prog_acx_mpi_mpicxx="$acx_mpi_mpicxx" # Let the user override the test. |
| 2763 |
+ |
else |
| 2764 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2765 |
+ |
for as_dir in $PATH |
| 2766 |
+ |
do |
| 2767 |
+ |
IFS=$as_save_IFS |
| 2768 |
+ |
test -z "$as_dir" && as_dir=. |
| 2769 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2770 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2771 |
+ |
ac_cv_prog_acx_mpi_mpicxx="$ac_prog" |
| 2772 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2773 |
+ |
break 2 |
| 2774 |
+ |
fi |
| 2775 |
+ |
done |
| 2776 |
+ |
done |
| 2777 |
+ |
IFS=$as_save_IFS |
| 2778 |
+ |
|
| 2779 |
+ |
fi |
| 2780 |
+ |
fi |
| 2781 |
+ |
acx_mpi_mpicxx=$ac_cv_prog_acx_mpi_mpicxx |
| 2782 |
+ |
if test -n "$acx_mpi_mpicxx"; then |
| 2783 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicxx" >&5 |
| 2784 |
+ |
echo "${ECHO_T}$acx_mpi_mpicxx" >&6; } |
| 2785 |
+ |
else |
| 2786 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2787 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2788 |
+ |
fi |
| 2789 |
+ |
|
| 2790 |
+ |
|
| 2791 |
+ |
test -n "$acx_mpi_mpicxx" && break |
| 2792 |
+ |
done |
| 2793 |
+ |
test -n "$acx_mpi_mpicxx" || acx_mpi_mpicxx="no" |
| 2794 |
+ |
|
| 2795 |
+ |
if test $acx_mpi_mpicxx != no; then |
| 2796 |
+ |
|
| 2797 |
+ |
# Extract the first word of "$acx_mpi_mpicxx", so it can be a program name with args. |
| 2798 |
+ |
set dummy $acx_mpi_mpicxx; ac_word=$2 |
| 2799 |
+ |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2800 |
+ |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2801 |
+ |
if test "${ac_cv_path_acx_mpi_mpicxx_path+set}" = set; then |
| 2802 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2803 |
+ |
else |
| 2804 |
+ |
case $acx_mpi_mpicxx_path in |
| 2805 |
+ |
[\\/]* | ?:[\\/]*) |
| 2806 |
+ |
ac_cv_path_acx_mpi_mpicxx_path="$acx_mpi_mpicxx_path" # Let the user override the test with a path. |
| 2807 |
+ |
;; |
| 2808 |
+ |
*) |
| 2809 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2810 |
+ |
for as_dir in $PATH |
| 2811 |
+ |
do |
| 2812 |
+ |
IFS=$as_save_IFS |
| 2813 |
+ |
test -z "$as_dir" && as_dir=. |
| 2814 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2815 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2816 |
+ |
ac_cv_path_acx_mpi_mpicxx_path="$as_dir/$ac_word$ac_exec_ext" |
| 2817 |
+ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2818 |
+ |
break 2 |
| 2819 |
+ |
fi |
| 2820 |
+ |
done |
| 2821 |
+ |
done |
| 2822 |
+ |
IFS=$as_save_IFS |
| 2823 |
+ |
|
| 2824 |
+ |
test -z "$ac_cv_path_acx_mpi_mpicxx_path" && ac_cv_path_acx_mpi_mpicxx_path="no" |
| 2825 |
+ |
;; |
| 2826 |
+ |
esac |
| 2827 |
+ |
fi |
| 2828 |
+ |
acx_mpi_mpicxx_path=$ac_cv_path_acx_mpi_mpicxx_path |
| 2829 |
+ |
if test -n "$acx_mpi_mpicxx_path"; then |
| 2830 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_mpicxx_path" >&5 |
| 2831 |
+ |
echo "${ECHO_T}$acx_mpi_mpicxx_path" >&6; } |
| 2832 |
+ |
else |
| 2833 |
+ |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2834 |
+ |
echo "${ECHO_T}no" >&6; } |
| 2835 |
+ |
fi |
| 2836 |
+ |
|
| 2837 |
+ |
|
| 2838 |
+ |
fi |
| 2839 |
+ |
|
| 2840 |
+ |
if test $acx_mpi_mpicc = no; then |
| 2841 |
+ |
|
| 2842 |
+ |
if test $acx_mpi_mpicxx = no; then |
| 2843 |
+ |
|
| 2844 |
+ |
acx_mpi_compiler=no |
| 2845 |
+ |
|
| 2846 |
+ |
else |
| 2847 |
+ |
|
| 2848 |
+ |
acx_mpi_compiler=$acx_mpi_mpicxx |
| 2849 |
+ |
acx_mpi_compiler_path=$acx_mpi_mpicxx_path |
| 2850 |
+ |
fi |
| 2851 |
+ |
|
| 2852 |
+ |
|
| 2853 |
+ |
else |
| 2854 |
+ |
|
| 2855 |
+ |
if test $acx_mpi_mpicxx = no; then |
| 2856 |
+ |
|
| 2857 |
+ |
acx_mpi_compiler=$acx_mpi_mpicc |
| 2858 |
+ |
acx_mpi_compiler_path=$acx_mpi_mpicc_path |
| 2859 |
+ |
|
| 2860 |
+ |
else |
| 2861 |
+ |
|
| 2862 |
+ |
{ echo "$as_me:$LINENO: checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx" >&5 |
| 2863 |
+ |
echo $ECHO_N "checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx... $ECHO_C" >&6; } |
| 2864 |
+ |
ac_ext=cpp |
| 2865 |
+ |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 2866 |
+ |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2867 |
+ |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2868 |
+ |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2869 |
+ |
|
| 2870 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 2871 |
+ |
/* confdefs.h. */ |
| 2872 |
+ |
_ACEOF |
| 2873 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 2874 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 2875 |
+ |
/* end confdefs.h. */ |
| 2876 |
+ |
|
| 2877 |
+ |
#include <mpi.h> |
| 2878 |
+ |
|
| 2879 |
+ |
int |
| 2880 |
+ |
main () |
| 2881 |
+ |
{ |
| 2882 |
+ |
|
| 2883 |
+ |
MPI_Finalize(); |
| 2884 |
+ |
|
| 2885 |
+ |
; |
| 2886 |
+ |
return 0; |
| 2887 |
+ |
} |
| 2888 |
+ |
_ACEOF |
| 2889 |
+ |
if { (ac_try="$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5" |
| 2890 |
+ |
case "(($ac_try" in |
| 2891 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2892 |
+ |
*) ac_try_echo=$ac_try;; |
| 2893 |
+ |
esac |
| 2894 |
+ |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2895 |
+ |
(eval "$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5") 2>conftest.er1 |
| 2896 |
+ |
ac_status=$? |
| 2897 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2898 |
+ |
rm -f conftest.er1 |
| 2899 |
+ |
cat conftest.err >&5 |
| 2900 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2901 |
+ |
(exit $ac_status); } && { |
| 2902 |
+ |
test -z "$ac_cxx_werror_flag" || |
| 2903 |
+ |
test ! -s conftest.err |
| 2904 |
+ |
} && test -s conftest.$ac_objext; then |
| 2905 |
+ |
|
| 2906 |
+ |
acx_mpi_compiler=$acx_mpi_mpicxx |
| 2907 |
+ |
acx_mpi_compiler_path=$acx_mpi_mpicxx_path |
| 2908 |
+ |
|
| 2909 |
+ |
else |
| 2910 |
+ |
|
| 2911 |
+ |
acx_mpi_compiler=$acx_mpi_mpicc |
| 2912 |
+ |
acx_mpi_compiler_path=$acx_mpi_mpicc_path |
| 2913 |
+ |
fi |
| 2914 |
+ |
|
| 2915 |
+ |
ac_ext=c |
| 2916 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 2917 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2918 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2919 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2920 |
+ |
|
| 2921 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_compiler" >&5 |
| 2922 |
+ |
echo "${ECHO_T}$acx_mpi_compiler" >&6; } |
| 2923 |
+ |
fi |
| 2924 |
+ |
|
| 2925 |
+ |
fi |
| 2926 |
+ |
|
| 2927 |
+ |
{ echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
| 2928 |
+ |
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } |
| 2929 |
+ |
ac_ext=${ac_fc_srcext-f} |
| 2930 |
+ |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 2931 |
+ |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 2932 |
+ |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 2933 |
+ |
|
| 2934 |
+ |
ac_save_ext=$ac_ext |
| 2935 |
+ |
ac_ext=F90 |
| 2936 |
+ |
rm -f conftest* |
| 2937 |
+ |
cat >conftest.$ac_ext <<EOF |
| 2938 |
+ |
program main |
| 2939 |
+ |
include 'mpif.h' |
| 2940 |
+ |
call MPI_Init |
| 2941 |
+ |
end |
| 2942 |
+ |
EOF |
| 2943 |
+ |
if $acx_mpi_mpif90_path -c conftest.$ac_ext > conftest.out 2>&1 ; then |
| 2944 |
+ |
acx_mpi_f90_compiler=yes |
| 2945 |
+ |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2946 |
+ |
echo "${ECHO_T}yes" >&6; } |
| 2947 |
+ |
else |
| 2948 |
+ |
if test -s conftest.out ; then |
| 2949 |
+ |
cat conftest.out >> config.log |
| 2950 |
+ |
fi |
| 2951 |
+ |
acx_mpi_f90_compiler=no |
| 2952 |
+ |
{ echo "$as_me:$LINENO: result: no! Check MPI fortran include paths" >&5 |
| 2953 |
+ |
echo "${ECHO_T}no! Check MPI fortran include paths" >&6; } |
| 2954 |
+ |
fi |
| 2955 |
+ |
rm -f conftest* |
| 2956 |
+ |
ac_ext=$ac_save_ext |
| 2957 |
+ |
ac_ext=c |
| 2958 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 2959 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2960 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2961 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2962 |
+ |
|
| 2963 |
+ |
if test $acx_mpi_compiler = no || test $acx_mpi_f90_compiler = no; then |
| 2964 |
+ |
|
| 2965 |
+ |
acx_cv_mpi_implementation=no |
| 2966 |
+ |
else |
| 2967 |
+ |
{ echo "$as_me:$LINENO: checking for the MPI implementation flavor" >&5 |
| 2968 |
+ |
echo $ECHO_N "checking for the MPI implementation flavor... $ECHO_C" >&6; } |
| 2969 |
+ |
if test "${acx_cv_mpi_implementation+set}" = set; then |
| 2970 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2971 |
+ |
else |
| 2972 |
+ |
acx_cv_mpi_implementation=no |
| 2973 |
+ |
if { (ac_try="grep -q LAM $acx_mpi_compiler_path" |
| 2974 |
+ |
case "(($ac_try" in |
| 2975 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2976 |
+ |
*) ac_try_echo=$ac_try;; |
| 2977 |
+ |
esac |
| 2978 |
+ |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2979 |
+ |
(eval "grep -q LAM $acx_mpi_compiler_path") 2>conftest.er1 |
| 2980 |
+ |
ac_status=$? |
| 2981 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2982 |
+ |
rm -f conftest.er1 |
| 2983 |
+ |
cat conftest.err >&5 |
| 2984 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2985 |
+ |
(exit $ac_status); }; then |
| 2986 |
+ |
|
| 2987 |
+ |
acx_cv_mpi_implementation=lammpi |
| 2988 |
+ |
|
| 2989 |
+ |
else |
| 2990 |
+ |
|
| 2991 |
+ |
if { (ac_try="grep -q showme $acx_mpi_compiler_path" |
| 2992 |
+ |
case "(($ac_try" in |
| 2993 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2994 |
+ |
*) ac_try_echo=$ac_try;; |
| 2995 |
+ |
esac |
| 2996 |
+ |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2997 |
+ |
(eval "grep -q showme $acx_mpi_compiler_path") 2>conftest.er1 |
| 2998 |
+ |
ac_status=$? |
| 2999 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3000 |
+ |
rm -f conftest.er1 |
| 3001 |
+ |
cat conftest.err >&5 |
| 3002 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3003 |
+ |
(exit $ac_status); }; then |
| 3004 |
+ |
|
| 3005 |
+ |
acx_cv_mpi_implementation=openmpi |
| 3006 |
+ |
|
| 3007 |
+ |
else |
| 3008 |
+ |
|
| 3009 |
+ |
if { (ac_try="grep -q MPICH $acx_mpi_compiler_path" |
| 3010 |
+ |
case "(($ac_try" in |
| 3011 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3012 |
+ |
*) ac_try_echo=$ac_try;; |
| 3013 |
+ |
esac |
| 3014 |
+ |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3015 |
+ |
(eval "grep -q MPICH $acx_mpi_compiler_path") 2>conftest.er1 |
| 3016 |
+ |
ac_status=$? |
| 3017 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3018 |
+ |
rm -f conftest.er1 |
| 3019 |
+ |
cat conftest.err >&5 |
| 3020 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3021 |
+ |
(exit $ac_status); }; then |
| 3022 |
+ |
|
| 3023 |
+ |
acx_cv_mpi_implementation=mpich |
| 3024 |
+ |
|
| 3025 |
+ |
else |
| 3026 |
+ |
acx_cv_mpi_implementation=$with_mpi |
| 3027 |
+ |
fi |
| 3028 |
+ |
|
| 3029 |
+ |
fi |
| 3030 |
+ |
|
| 3031 |
+ |
fi |
| 3032 |
|
|
| 3033 |
|
fi |
| 3034 |
+ |
{ echo "$as_me:$LINENO: result: $acx_cv_mpi_implementation" >&5 |
| 3035 |
+ |
echo "${ECHO_T}$acx_cv_mpi_implementation" >&6; } |
| 3036 |
|
|
| 3037 |
+ |
fi |
| 3038 |
+ |
case $acx_cv_mpi_implementation in |
| 3039 |
+ |
(lammpi) |
| 3040 |
+ |
|
| 3041 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 3042 |
+ |
#define MPI_IS_LAMMPI 1 |
| 3043 |
+ |
_ACEOF |
| 3044 |
+ |
|
| 3045 |
+ |
;; |
| 3046 |
+ |
(openmpi) |
| 3047 |
+ |
|
| 3048 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 3049 |
+ |
#define MPI_IS_OPENMPI 1 |
| 3050 |
+ |
_ACEOF |
| 3051 |
+ |
|
| 3052 |
+ |
;; |
| 3053 |
+ |
(mpich) |
| 3054 |
+ |
|
| 3055 |
+ |
cat >>confdefs.h <<\_ACEOF |
| 3056 |
+ |
#define MPI_IS_MPICH 1 |
| 3057 |
+ |
_ACEOF |
| 3058 |
+ |
|
| 3059 |
+ |
;; |
| 3060 |
+ |
esac |
| 3061 |
+ |
if test $acx_cv_mpi_implementation = no; then |
| 3062 |
+ |
|
| 3063 |
+ |
acx_mpi_cflags="" |
| 3064 |
+ |
acx_mpi_libs="" |
| 3065 |
+ |
USE_MPI="no" |
| 3066 |
+ |
{ echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 |
| 3067 |
+ |
echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} |
| 3068 |
+ |
else |
| 3069 |
+ |
|
| 3070 |
+ |
|
| 3071 |
+ |
{ echo "$as_me:$LINENO: checking how to compile MPI-C code" >&5 |
| 3072 |
+ |
echo $ECHO_N "checking how to compile MPI-C code... $ECHO_C" >&6; } |
| 3073 |
+ |
if test "${acx_mpi_cflags+set}" = set; then |
| 3074 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3075 |
+ |
else |
| 3076 |
+ |
|
| 3077 |
+ |
case $acx_cv_mpi_implementation in |
| 3078 |
+ |
(lammpi) |
| 3079 |
+ |
cfo="--showme:compile" |
| 3080 |
+ |
;; |
| 3081 |
+ |
(openmpi) |
| 3082 |
+ |
cfo="--showme:compile" |
| 3083 |
+ |
;; |
| 3084 |
+ |
(mpich) |
| 3085 |
+ |
case "$acx_mpi_compiler_path" in |
| 3086 |
+ |
(*mpiCC) |
| 3087 |
+ |
sc_cv_cn="-CC=" |
| 3088 |
+ |
;; |
| 3089 |
+ |
(*mpicxx) |
| 3090 |
+ |
sc_cv_cn="-cxx=" |
| 3091 |
+ |
;; |
| 3092 |
+ |
(*mpicc) |
| 3093 |
+ |
sc_cv_cn="-cc=" |
| 3094 |
+ |
;; |
| 3095 |
+ |
(*) |
| 3096 |
+ |
sc_cv_cn="" |
| 3097 |
+ |
;; |
| 3098 |
+ |
esac |
| 3099 |
+ |
cfo="-compile_info $sc_cv_cn" |
| 3100 |
+ |
;; |
| 3101 |
+ |
esac |
| 3102 |
+ |
echo "$as_me:$LINENO: mpi_pre_cflags=\"\`$acx_mpi_compiler_path $cfo || echo ' no'\`\"" >&5 |
| 3103 |
+ |
mpi_pre_cflags="`$acx_mpi_compiler_path $cfo 2>conftest.er1 || echo ' no'`" |
| 3104 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3105 |
+ |
rm -f conftest.er1 |
| 3106 |
+ |
cat conftest.err >&5 |
| 3107 |
+ |
echo "$as_me:$LINENO: mpi_pre_cflags = $mpi_pre_cflags" >&5 |
| 3108 |
+ |
case "$mpi_pre_cflags" in |
| 3109 |
+ |
(*no) |
| 3110 |
+ |
acx_mpi_cflags=no |
| 3111 |
+ |
acx_mpi_cflags="no" |
| 3112 |
+ |
;; |
| 3113 |
+ |
(*) |
| 3114 |
+ |
acx_mpi_tmp_mode="normal" |
| 3115 |
+ |
acx_mpi_tmp_prefix="" |
| 3116 |
+ |
eval "acx_mpi_cflags=\"\"" |
| 3117 |
+ |
for acx_mpi_tmp in $mpi_pre_cflags; do |
| 3118 |
+ |
case "$acx_mpi_tmp_mode" in |
| 3119 |
+ |
(normal) |
| 3120 |
+ |
case "$acx_mpi_tmp" in |
| 3121 |
+ |
(-I|-D) |
| 3122 |
+ |
acx_mpi_tmp_prefix="$acx_mpi_tmp" |
| 3123 |
+ |
acx_mpi_tmp_mode="accept" |
| 3124 |
+ |
;; |
| 3125 |
+ |
(-I*|-D*) |
| 3126 |
+ |
eval "acx_mpi_cflags=\"`eval echo '${'\\acx_mpi_cflags'}'` \$acx_mpi_tmp\"" |
| 3127 |
+ |
;; |
| 3128 |
+ |
(-L|-l) |
| 3129 |
+ |
acx_mpi_tmp_mode="skip" |
| 3130 |
+ |
;; |
| 3131 |
+ |
(*) |
| 3132 |
+ |
;; |
| 3133 |
+ |
esac |
| 3134 |
+ |
;; |
| 3135 |
+ |
(accept) |
| 3136 |
+ |
eval "acx_mpi_cflags=\"`eval echo '${'\\acx_mpi_cflags'}'` \$acx_mpi_tmp_prefix \$acx_mpi_tmp\"" |
| 3137 |
+ |
;; |
| 3138 |
+ |
(skip) |
| 3139 |
+ |
;; |
| 3140 |
+ |
esac |
| 3141 |
+ |
done |
| 3142 |
+ |
|
| 3143 |
+ |
;; |
| 3144 |
+ |
esac |
| 3145 |
+ |
|
| 3146 |
+ |
fi |
| 3147 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_cflags" >&5 |
| 3148 |
+ |
echo "${ECHO_T}$acx_mpi_cflags" >&6; } |
| 3149 |
+ |
|
| 3150 |
+ |
|
| 3151 |
+ |
{ echo "$as_me:$LINENO: checking how to link MPI-C code" >&5 |
| 3152 |
+ |
echo $ECHO_N "checking how to link MPI-C code... $ECHO_C" >&6; } |
| 3153 |
+ |
if test "${acx_mpi_libs+set}" = set; then |
| 3154 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3155 |
+ |
else |
| 3156 |
+ |
|
| 3157 |
+ |
case $acx_cv_mpi_implementation in |
| 3158 |
+ |
(lammpi) |
| 3159 |
+ |
lfo="--showme:compile --showme:link" |
| 3160 |
+ |
;; |
| 3161 |
+ |
(openmpi) |
| 3162 |
+ |
lfo="--showme:link" |
| 3163 |
+ |
;; |
| 3164 |
+ |
(mpich) |
| 3165 |
+ |
case "$acx_mpi_compiler_path" in |
| 3166 |
+ |
(*mpiCC) |
| 3167 |
+ |
sc_cv_cn="-CC=" |
| 3168 |
+ |
;; |
| 3169 |
+ |
(*mpicxx) |
| 3170 |
+ |
sc_cv_cn="-cxx=" |
| 3171 |
+ |
;; |
| 3172 |
+ |
(*mpicc) |
| 3173 |
+ |
sc_cv_cn="-cc=" |
| 3174 |
+ |
;; |
| 3175 |
+ |
(*) |
| 3176 |
+ |
sc_cv_cn="" |
| 3177 |
+ |
;; |
| 3178 |
+ |
esac |
| 3179 |
+ |
lfo="-link_info $sc_cv_cn" |
| 3180 |
+ |
;; |
| 3181 |
+ |
esac |
| 3182 |
+ |
echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_compiler_path $lfo || echo ' no'\`\"" >&5 |
| 3183 |
+ |
mpi_pre_libs="`$acx_mpi_compiler_path $lfo 2>conftest.er1 || echo ' no'`" |
| 3184 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3185 |
+ |
rm -f conftest.er1 |
| 3186 |
+ |
cat conftest.err >&5 |
| 3187 |
+ |
echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 |
| 3188 |
+ |
case "$mpi_pre_libs" in |
| 3189 |
+ |
(*no) |
| 3190 |
+ |
acx_mpi_libs=no |
| 3191 |
+ |
;; |
| 3192 |
+ |
(*) |
| 3193 |
+ |
acx_mpi_libs="$mpi_pre_libs" |
| 3194 |
+ |
;; |
| 3195 |
+ |
esac |
| 3196 |
+ |
|
| 3197 |
+ |
fi |
| 3198 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi_libs" >&5 |
| 3199 |
+ |
echo "${ECHO_T}$acx_mpi_libs" >&6; } |
| 3200 |
+ |
|
| 3201 |
+ |
if test $acx_mpi_mpif90_path != no; then |
| 3202 |
+ |
|
| 3203 |
+ |
|
| 3204 |
+ |
{ echo "$as_me:$LINENO: checking how to link MPI-Fortran code" >&5 |
| 3205 |
+ |
echo $ECHO_N "checking how to link MPI-Fortran code... $ECHO_C" >&6; } |
| 3206 |
+ |
if test "${acx_mpi90_libs+set}" = set; then |
| 3207 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3208 |
+ |
else |
| 3209 |
+ |
|
| 3210 |
+ |
echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_mpif90_path $lfo || echo \" no\"\`\"" >&5 |
| 3211 |
+ |
mpi_pre_libs="`$acx_mpi_mpif90_path $lfo 2>conftest.er1 || echo " no"`" |
| 3212 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3213 |
+ |
rm -f conftest.er1 |
| 3214 |
+ |
cat conftest.err >&5 |
| 3215 |
+ |
echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 |
| 3216 |
+ |
case "$mpi_pre_libs" in |
| 3217 |
+ |
(*no) |
| 3218 |
+ |
acx_mpi90_libs=no |
| 3219 |
+ |
;; |
| 3220 |
+ |
(*) |
| 3221 |
+ |
acx_mpi90_libs="$mpi_pre_libs" |
| 3222 |
+ |
;; |
| 3223 |
+ |
esac |
| 3224 |
+ |
|
| 3225 |
+ |
fi |
| 3226 |
+ |
{ echo "$as_me:$LINENO: result: $acx_mpi90_libs" >&5 |
| 3227 |
+ |
echo "${ECHO_T}$acx_mpi90_libs" >&6; } |
| 3228 |
+ |
|
| 3229 |
+ |
|
| 3230 |
+ |
fi |
| 3231 |
+ |
|
| 3232 |
+ |
if test "$acx_mpi_cflags" = no -o "$acx_mpi_libs" = no; then |
| 3233 |
+ |
|
| 3234 |
+ |
acx_mpi_cflags="" |
| 3235 |
+ |
acx_mpi_libs="" |
| 3236 |
+ |
USE_MPI="no" |
| 3237 |
+ |
{ echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 |
| 3238 |
+ |
echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} |
| 3239 |
+ |
else |
| 3240 |
+ |
|
| 3241 |
+ |
MPI_CPPFLAGS=$acx_mpi_cflags |
| 3242 |
+ |
|
| 3243 |
+ |
MPI_LIBS=$acx_mpi_libs |
| 3244 |
+ |
|
| 3245 |
+ |
if test "$acx_mpi90_libs" != no; then |
| 3246 |
+ |
MPI90_LIBS=$acx_mpi90_libs |
| 3247 |
+ |
|
| 3248 |
+ |
fi |
| 3249 |
+ |
|
| 3250 |
+ |
USE_MPI="yes" |
| 3251 |
+ |
fi |
| 3252 |
+ |
|
| 3253 |
+ |
|
| 3254 |
+ |
fi |
| 3255 |
+ |
|
| 3256 |
+ |
|
| 3257 |
+ |
fi |
| 3258 |
+ |
|
| 3259 |
+ |
|
| 3260 |
+ |
|
| 3261 |
|
# Checks for programs. |
| 3262 |
|
ac_ext=cpp |
| 3263 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 3269 |
|
CXX=$CCC |
| 3270 |
|
else |
| 3271 |
|
if test -n "$ac_tool_prefix"; then |
| 3272 |
< |
for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 3272 |
> |
for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 3273 |
|
do |
| 3274 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3275 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3313 |
|
fi |
| 3314 |
|
if test -z "$CXX"; then |
| 3315 |
|
ac_ct_CXX=$CXX |
| 3316 |
< |
for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 3316 |
> |
for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 3317 |
|
do |
| 3318 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3319 |
|
set dummy $ac_prog; ac_word=$2 |
| 3872 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3873 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3874 |
|
if test -n "$ac_tool_prefix"; then |
| 3875 |
< |
for ac_prog in mpicc icc pathcc pgcc cc xlc gcc |
| 3875 |
> |
for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc |
| 3876 |
|
do |
| 3877 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3878 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3916 |
|
fi |
| 3917 |
|
if test -z "$CC"; then |
| 3918 |
|
ac_ct_CC=$CC |
| 3919 |
< |
for ac_prog in mpicc icc pathcc pgcc cc xlc gcc |
| 3919 |
> |
for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc |
| 3920 |
|
do |
| 3921 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3922 |
|
set dummy $ac_prog; ac_word=$2 |
| 4351 |
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4352 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4353 |
|
if test -n "$ac_tool_prefix"; then |
| 4354 |
< |
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 4354 |
> |
for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 4355 |
|
do |
| 4356 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 4357 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 4395 |
|
fi |
| 4396 |
|
if test -z "$FC"; then |
| 4397 |
|
ac_ct_FC=$FC |
| 4398 |
< |
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 4398 |
> |
for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 4399 |
|
do |
| 4400 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4401 |
|
set dummy $ac_prog; ac_word=$2 |
| 16034 |
|
|
| 16035 |
|
cat >>confdefs.h <<\_ACEOF |
| 16036 |
|
#define OBAPI |
| 14989 |
– |
_ACEOF |
| 14990 |
– |
|
| 14991 |
– |
|
| 14992 |
– |
|
| 14993 |
– |
|
| 14994 |
– |
# Check whether --with-mpi was given. |
| 14995 |
– |
if test "${with_mpi+set}" = set; then |
| 14996 |
– |
withval=$with_mpi; with_mpi=$withval |
| 14997 |
– |
else |
| 14998 |
– |
with_mpi="no" |
| 14999 |
– |
fi |
| 15000 |
– |
|
| 15001 |
– |
|
| 15002 |
– |
case "x$with_mpi" in |
| 15003 |
– |
xyes | "x") USE_MPI=yes;; |
| 15004 |
– |
xno) USE_MPI=no ;; |
| 15005 |
– |
*) MPI="$with_mpi"; USE_MPI=yes ;; |
| 15006 |
– |
esac |
| 15007 |
– |
if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then |
| 15008 |
– |
MPI="/usr/local" |
| 15009 |
– |
fi |
| 15010 |
– |
if test "$USE_MPI" = "yes"; then |
| 15011 |
– |
|
| 15012 |
– |
|
| 15013 |
– |
# Set variables... |
| 15014 |
– |
MPI_LIB_DIR="$MPI/lib" |
| 15015 |
– |
MPI_INC_DIR="$MPI/include" |
| 15016 |
– |
|
| 15017 |
– |
|
| 15018 |
– |
|
| 15019 |
– |
ac_ext=c |
| 15020 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 15021 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15022 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15023 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15024 |
– |
|
| 15025 |
– |
{ echo "$as_me:$LINENO: checking for mpi.h" >&5 |
| 15026 |
– |
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; } |
| 15027 |
– |
have_mpi_h=0 |
| 15028 |
– |
rm -f conftest* |
| 15029 |
– |
echo '#include <mpi.h>' > conftest.c |
| 15030 |
– |
if ${CC} -I${MPI_INC_DIR} -c conftest.c 2>&1 ; then |
| 15031 |
– |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 15032 |
– |
echo "${ECHO_T}yes" >&6; } |
| 15033 |
– |
have_mpi_h=1 |
| 15034 |
– |
else |
| 15035 |
– |
if test -s conftest.out ; then |
| 15036 |
– |
cat conftest.out >> config.log |
| 15037 |
– |
fi |
| 15038 |
– |
{ echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 15039 |
– |
echo "${ECHO_T}no! Check MPI include paths" >&6; } |
| 15040 |
– |
USE_MPI="no" |
| 15041 |
– |
fi |
| 15042 |
– |
rm -f conftest* |
| 15043 |
– |
if test "$have_mpi_h" = 1; then |
| 15044 |
– |
|
| 15045 |
– |
cat >>confdefs.h <<\_ACEOF |
| 15046 |
– |
#define HAVE_MPI_H 1 |
| 15047 |
– |
_ACEOF |
| 15048 |
– |
|
| 15049 |
– |
fi |
| 15050 |
– |
|
| 15051 |
– |
{ echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
| 15052 |
– |
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } |
| 15053 |
– |
|
| 15054 |
– |
ac_ext=${ac_fc_srcext-f} |
| 15055 |
– |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 15056 |
– |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 15057 |
– |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 15058 |
– |
|
| 15059 |
– |
ac_save_ext=$ac_ext |
| 15060 |
– |
ac_ext=F90 |
| 15061 |
– |
ac_save_FCFLAGS=$FCFLAGS |
| 15062 |
– |
have_mpif_h=0 |
| 15063 |
– |
rm -f conftest* |
| 15064 |
– |
cat >conftest.$ac_ext <<EOF |
| 15065 |
– |
program main |
| 15066 |
– |
include 'mpif.h' |
| 15067 |
– |
end |
| 15068 |
– |
EOF |
| 15069 |
– |
if $FC -I$MPI_INC_DIR -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext > conftest.out 2>&1 ; then |
| 15070 |
– |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 15071 |
– |
echo "${ECHO_T}yes" >&6; } |
| 15072 |
– |
MPI_F90_INC="$MPI_INC_DIR" |
| 15073 |
– |
have_mpif_h=1 |
| 15074 |
– |
else |
| 15075 |
– |
if test -s conftest.out ; then |
| 15076 |
– |
cat conftest.out >> config.log |
| 15077 |
– |
fi |
| 15078 |
– |
{ echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 15079 |
– |
echo "${ECHO_T}no! Check MPI include paths" >&6; } |
| 15080 |
– |
USE_MPI="no" |
| 15081 |
– |
fi |
| 15082 |
– |
rm -f conftest* |
| 15083 |
– |
|
| 15084 |
– |
if test "$have_mpif_h" = 1; then |
| 15085 |
– |
|
| 15086 |
– |
cat >>confdefs.h <<\_ACEOF |
| 15087 |
– |
#define HAVE_MPIF_H 1 |
| 15088 |
– |
_ACEOF |
| 15089 |
– |
|
| 15090 |
– |
fi |
| 15091 |
– |
FCFLAGS=$ac_save_FCFLAGS |
| 15092 |
– |
ac_ext=$ac_save_ext |
| 15093 |
– |
ac_ext=c |
| 15094 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 15095 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15096 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15097 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15098 |
– |
|
| 15099 |
– |
|
| 15100 |
– |
ac_ext=c |
| 15101 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 15102 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15103 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15104 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15105 |
– |
|
| 15106 |
– |
ac_save_LDFLAGS=$LDFLAGS |
| 15107 |
– |
LDFLAGS="-L${MPI_LIB_DIR} ${LDFLAGS} " |
| 15108 |
– |
|
| 15109 |
– |
if test x = x"$MPI_LIB"; then |
| 15110 |
– |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
| 15111 |
– |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6; } |
| 15112 |
– |
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
| 15113 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15114 |
– |
else |
| 15115 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 15116 |
– |
LIBS="-lmpich $LIBS" |
| 15117 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15118 |
– |
/* confdefs.h. */ |
| 15119 |
– |
_ACEOF |
| 15120 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15121 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15122 |
– |
/* end confdefs.h. */ |
| 15123 |
– |
|
| 15124 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 15125 |
– |
Use char because int might match the return type of a GCC |
| 15126 |
– |
builtin and then its argument prototype would still apply. */ |
| 15127 |
– |
#ifdef __cplusplus |
| 15128 |
– |
extern "C" |
| 15129 |
– |
#endif |
| 15130 |
– |
char MPI_Init (); |
| 15131 |
– |
#ifdef FC_DUMMY_MAIN |
| 15132 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 15133 |
– |
# ifdef __cplusplus |
| 15134 |
– |
extern "C" |
| 15135 |
– |
# endif |
| 15136 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 15137 |
– |
#endif |
| 15138 |
– |
#endif |
| 15139 |
– |
int |
| 15140 |
– |
main () |
| 15141 |
– |
{ |
| 15142 |
– |
return MPI_Init (); |
| 15143 |
– |
; |
| 15144 |
– |
return 0; |
| 15145 |
– |
} |
| 15146 |
– |
_ACEOF |
| 15147 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 15148 |
– |
if { (ac_try="$ac_link" |
| 15149 |
– |
case "(($ac_try" in |
| 15150 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15151 |
– |
*) ac_try_echo=$ac_try;; |
| 15152 |
– |
esac |
| 15153 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15154 |
– |
(eval "$ac_link") 2>conftest.er1 |
| 15155 |
– |
ac_status=$? |
| 15156 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15157 |
– |
rm -f conftest.er1 |
| 15158 |
– |
cat conftest.err >&5 |
| 15159 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15160 |
– |
(exit $ac_status); } && { |
| 15161 |
– |
test -z "$ac_c_werror_flag" || |
| 15162 |
– |
test ! -s conftest.err |
| 15163 |
– |
} && test -s conftest$ac_exeext && |
| 15164 |
– |
$as_test_x conftest$ac_exeext; then |
| 15165 |
– |
ac_cv_lib_mpich_MPI_Init=yes |
| 15166 |
– |
else |
| 15167 |
– |
echo "$as_me: failed program was:" >&5 |
| 15168 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15169 |
– |
|
| 15170 |
– |
ac_cv_lib_mpich_MPI_Init=no |
| 15171 |
– |
fi |
| 15172 |
– |
|
| 15173 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15174 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 15175 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 15176 |
– |
fi |
| 15177 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 15178 |
– |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 15179 |
– |
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
| 15180 |
– |
MPI_LIB="-lmpich" |
| 15181 |
– |
fi |
| 15182 |
– |
|
| 15183 |
– |
fi |
| 15184 |
– |
$as_unset ac_cv_lib_mpich_MPI_Init |
| 15185 |
– |
if test x = x"$MPI_LIB"; then |
| 15186 |
– |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lpmpich" >&5 |
| 15187 |
– |
echo $ECHO_N "checking for MPI_Init in -lpmpich... $ECHO_C" >&6; } |
| 15188 |
– |
if test "${ac_cv_lib_pmpich_MPI_Init+set}" = set; then |
| 15189 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15190 |
– |
else |
| 15191 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 15192 |
– |
LIBS="-lpmpich -lmpich -lpmpich -lmpich $LIBS" |
| 15193 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15194 |
– |
/* confdefs.h. */ |
| 15195 |
– |
_ACEOF |
| 15196 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15197 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15198 |
– |
/* end confdefs.h. */ |
| 15199 |
– |
|
| 15200 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 15201 |
– |
Use char because int might match the return type of a GCC |
| 15202 |
– |
builtin and then its argument prototype would still apply. */ |
| 15203 |
– |
#ifdef __cplusplus |
| 15204 |
– |
extern "C" |
| 15205 |
– |
#endif |
| 15206 |
– |
char MPI_Init (); |
| 15207 |
– |
#ifdef FC_DUMMY_MAIN |
| 15208 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 15209 |
– |
# ifdef __cplusplus |
| 15210 |
– |
extern "C" |
| 15211 |
– |
# endif |
| 15212 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 15213 |
– |
#endif |
| 15214 |
– |
#endif |
| 15215 |
– |
int |
| 15216 |
– |
main () |
| 15217 |
– |
{ |
| 15218 |
– |
return MPI_Init (); |
| 15219 |
– |
; |
| 15220 |
– |
return 0; |
| 15221 |
– |
} |
| 15222 |
– |
_ACEOF |
| 15223 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 15224 |
– |
if { (ac_try="$ac_link" |
| 15225 |
– |
case "(($ac_try" in |
| 15226 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15227 |
– |
*) ac_try_echo=$ac_try;; |
| 15228 |
– |
esac |
| 15229 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15230 |
– |
(eval "$ac_link") 2>conftest.er1 |
| 15231 |
– |
ac_status=$? |
| 15232 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15233 |
– |
rm -f conftest.er1 |
| 15234 |
– |
cat conftest.err >&5 |
| 15235 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15236 |
– |
(exit $ac_status); } && { |
| 15237 |
– |
test -z "$ac_c_werror_flag" || |
| 15238 |
– |
test ! -s conftest.err |
| 15239 |
– |
} && test -s conftest$ac_exeext && |
| 15240 |
– |
$as_test_x conftest$ac_exeext; then |
| 15241 |
– |
ac_cv_lib_pmpich_MPI_Init=yes |
| 15242 |
– |
else |
| 15243 |
– |
echo "$as_me: failed program was:" >&5 |
| 15244 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15245 |
– |
|
| 15246 |
– |
ac_cv_lib_pmpich_MPI_Init=no |
| 15247 |
– |
fi |
| 15248 |
– |
|
| 15249 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15250 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 15251 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 15252 |
– |
fi |
| 15253 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pmpich_MPI_Init" >&5 |
| 15254 |
– |
echo "${ECHO_T}$ac_cv_lib_pmpich_MPI_Init" >&6; } |
| 15255 |
– |
if test $ac_cv_lib_pmpich_MPI_Init = yes; then |
| 15256 |
– |
MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich" |
| 15257 |
– |
fi |
| 15258 |
– |
|
| 15259 |
– |
fi |
| 15260 |
– |
if test x = x"$MPI_LIB"; then |
| 15261 |
– |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 15262 |
– |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
| 15263 |
– |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 15264 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15265 |
– |
else |
| 15266 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 15267 |
– |
LIBS="-lmpi $LIBS" |
| 15268 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15269 |
– |
/* confdefs.h. */ |
| 15270 |
– |
_ACEOF |
| 15271 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15272 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15273 |
– |
/* end confdefs.h. */ |
| 15274 |
– |
|
| 15275 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 15276 |
– |
Use char because int might match the return type of a GCC |
| 15277 |
– |
builtin and then its argument prototype would still apply. */ |
| 15278 |
– |
#ifdef __cplusplus |
| 15279 |
– |
extern "C" |
| 15280 |
– |
#endif |
| 15281 |
– |
char MPI_Init (); |
| 15282 |
– |
#ifdef FC_DUMMY_MAIN |
| 15283 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 15284 |
– |
# ifdef __cplusplus |
| 15285 |
– |
extern "C" |
| 15286 |
– |
# endif |
| 15287 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 15288 |
– |
#endif |
| 15289 |
– |
#endif |
| 15290 |
– |
int |
| 15291 |
– |
main () |
| 15292 |
– |
{ |
| 15293 |
– |
return MPI_Init (); |
| 15294 |
– |
; |
| 15295 |
– |
return 0; |
| 15296 |
– |
} |
| 15297 |
– |
_ACEOF |
| 15298 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 15299 |
– |
if { (ac_try="$ac_link" |
| 15300 |
– |
case "(($ac_try" in |
| 15301 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15302 |
– |
*) ac_try_echo=$ac_try;; |
| 15303 |
– |
esac |
| 15304 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15305 |
– |
(eval "$ac_link") 2>conftest.er1 |
| 15306 |
– |
ac_status=$? |
| 15307 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15308 |
– |
rm -f conftest.er1 |
| 15309 |
– |
cat conftest.err >&5 |
| 15310 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15311 |
– |
(exit $ac_status); } && { |
| 15312 |
– |
test -z "$ac_c_werror_flag" || |
| 15313 |
– |
test ! -s conftest.err |
| 15314 |
– |
} && test -s conftest$ac_exeext && |
| 15315 |
– |
$as_test_x conftest$ac_exeext; then |
| 15316 |
– |
ac_cv_lib_mpi_MPI_Init=yes |
| 15317 |
– |
else |
| 15318 |
– |
echo "$as_me: failed program was:" >&5 |
| 15319 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15320 |
– |
|
| 15321 |
– |
ac_cv_lib_mpi_MPI_Init=no |
| 15322 |
– |
fi |
| 15323 |
– |
|
| 15324 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15325 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 15326 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 15327 |
– |
fi |
| 15328 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 15329 |
– |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 15330 |
– |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 15331 |
– |
MPI_LIB="-lmpi" |
| 15332 |
– |
fi |
| 15333 |
– |
|
| 15334 |
– |
fi |
| 15335 |
– |
$as_unset ac_cv_lib_mpi_MPI_Init |
| 15336 |
– |
if test x = x"$MPI_LIB"; then |
| 15337 |
– |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 15338 |
– |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
| 15339 |
– |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 15340 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15341 |
– |
else |
| 15342 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 15343 |
– |
LIBS="-lmpi -llam $LIBS" |
| 15344 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15345 |
– |
/* confdefs.h. */ |
| 15346 |
– |
_ACEOF |
| 15347 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15348 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15349 |
– |
/* end confdefs.h. */ |
| 15350 |
– |
|
| 15351 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 15352 |
– |
Use char because int might match the return type of a GCC |
| 15353 |
– |
builtin and then its argument prototype would still apply. */ |
| 15354 |
– |
#ifdef __cplusplus |
| 15355 |
– |
extern "C" |
| 15356 |
– |
#endif |
| 15357 |
– |
char MPI_Init (); |
| 15358 |
– |
#ifdef FC_DUMMY_MAIN |
| 15359 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 15360 |
– |
# ifdef __cplusplus |
| 15361 |
– |
extern "C" |
| 15362 |
– |
# endif |
| 15363 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 15364 |
– |
#endif |
| 15365 |
– |
#endif |
| 15366 |
– |
int |
| 15367 |
– |
main () |
| 15368 |
– |
{ |
| 15369 |
– |
return MPI_Init (); |
| 15370 |
– |
; |
| 15371 |
– |
return 0; |
| 15372 |
– |
} |
| 15373 |
– |
_ACEOF |
| 15374 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 15375 |
– |
if { (ac_try="$ac_link" |
| 15376 |
– |
case "(($ac_try" in |
| 15377 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15378 |
– |
*) ac_try_echo=$ac_try;; |
| 15379 |
– |
esac |
| 15380 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15381 |
– |
(eval "$ac_link") 2>conftest.er1 |
| 15382 |
– |
ac_status=$? |
| 15383 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15384 |
– |
rm -f conftest.er1 |
| 15385 |
– |
cat conftest.err >&5 |
| 15386 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15387 |
– |
(exit $ac_status); } && { |
| 15388 |
– |
test -z "$ac_c_werror_flag" || |
| 15389 |
– |
test ! -s conftest.err |
| 15390 |
– |
} && test -s conftest$ac_exeext && |
| 15391 |
– |
$as_test_x conftest$ac_exeext; then |
| 15392 |
– |
ac_cv_lib_mpi_MPI_Init=yes |
| 15393 |
– |
else |
| 15394 |
– |
echo "$as_me: failed program was:" >&5 |
| 15395 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15396 |
– |
|
| 15397 |
– |
ac_cv_lib_mpi_MPI_Init=no |
| 15398 |
– |
fi |
| 15399 |
– |
|
| 15400 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15401 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 15402 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 15403 |
– |
fi |
| 15404 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 15405 |
– |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 15406 |
– |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 15407 |
– |
MPI_LIB="-lmpi -llam" |
| 15408 |
– |
fi |
| 15409 |
– |
|
| 15410 |
– |
fi |
| 15411 |
– |
$as_unset ac_cv_lib_mpi_MPI_Init |
| 15412 |
– |
if test x = x"$MPI_LIB"; then |
| 15413 |
– |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 15414 |
– |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
| 15415 |
– |
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 15416 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15417 |
– |
else |
| 15418 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 15419 |
– |
LIBS="-lmpi -llam -lpthread $LIBS" |
| 15420 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15421 |
– |
/* confdefs.h. */ |
| 16037 |
|
_ACEOF |
| 15423 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15424 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15425 |
– |
/* end confdefs.h. */ |
| 16038 |
|
|
| 15427 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 15428 |
– |
Use char because int might match the return type of a GCC |
| 15429 |
– |
builtin and then its argument prototype would still apply. */ |
| 15430 |
– |
#ifdef __cplusplus |
| 15431 |
– |
extern "C" |
| 15432 |
– |
#endif |
| 15433 |
– |
char MPI_Init (); |
| 15434 |
– |
#ifdef FC_DUMMY_MAIN |
| 15435 |
– |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 15436 |
– |
# ifdef __cplusplus |
| 15437 |
– |
extern "C" |
| 15438 |
– |
# endif |
| 15439 |
– |
int FC_DUMMY_MAIN() { return 1; } |
| 15440 |
– |
#endif |
| 15441 |
– |
#endif |
| 15442 |
– |
int |
| 15443 |
– |
main () |
| 15444 |
– |
{ |
| 15445 |
– |
return MPI_Init (); |
| 15446 |
– |
; |
| 15447 |
– |
return 0; |
| 15448 |
– |
} |
| 15449 |
– |
_ACEOF |
| 15450 |
– |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 15451 |
– |
if { (ac_try="$ac_link" |
| 15452 |
– |
case "(($ac_try" in |
| 15453 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15454 |
– |
*) ac_try_echo=$ac_try;; |
| 15455 |
– |
esac |
| 15456 |
– |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 15457 |
– |
(eval "$ac_link") 2>conftest.er1 |
| 15458 |
– |
ac_status=$? |
| 15459 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15460 |
– |
rm -f conftest.er1 |
| 15461 |
– |
cat conftest.err >&5 |
| 15462 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15463 |
– |
(exit $ac_status); } && { |
| 15464 |
– |
test -z "$ac_c_werror_flag" || |
| 15465 |
– |
test ! -s conftest.err |
| 15466 |
– |
} && test -s conftest$ac_exeext && |
| 15467 |
– |
$as_test_x conftest$ac_exeext; then |
| 15468 |
– |
ac_cv_lib_mpi_MPI_Init=yes |
| 15469 |
– |
else |
| 15470 |
– |
echo "$as_me: failed program was:" >&5 |
| 15471 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16039 |
|
|
| 15473 |
– |
ac_cv_lib_mpi_MPI_Init=no |
| 15474 |
– |
fi |
| 16040 |
|
|
| 15476 |
– |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 15477 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 15478 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 15479 |
– |
fi |
| 15480 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 15481 |
– |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 15482 |
– |
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 15483 |
– |
MPI_LIB="-lmpi -llam -lpthread" |
| 15484 |
– |
else |
| 15485 |
– |
|
| 15486 |
– |
{ { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 |
| 15487 |
– |
echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;} |
| 15488 |
– |
{ (exit 1); exit 1; }; } |
| 15489 |
– |
USE_MPI="no" |
| 15490 |
– |
|
| 15491 |
– |
fi |
| 15492 |
– |
|
| 15493 |
– |
fi |
| 15494 |
– |
|
| 15495 |
– |
|
| 15496 |
– |
|
| 15497 |
– |
{ echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 |
| 15498 |
– |
echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6; } |
| 15499 |
– |
MPI_F90_LIB="" |
| 15500 |
– |
if test -f "$MPI_LIB_DIR/libfmpich.a" ; then |
| 15501 |
– |
MPI_F90_LIB="-lfmpich" |
| 15502 |
– |
elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then |
| 15503 |
– |
MPI_F90_LIB="-llamf77mpi" |
| 15504 |
– |
else |
| 15505 |
– |
MPI_F90_LIB=" " |
| 15506 |
– |
fi |
| 15507 |
– |
{ echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
| 15508 |
– |
echo "${ECHO_T}found $MPI_F90_LIB" >&6; } |
| 15509 |
– |
|
| 15510 |
– |
|
| 15511 |
– |
fi |
| 15512 |
– |
|
| 15513 |
– |
|
| 15514 |
– |
|
| 16041 |
|
acx_cgal_found=no |
| 16042 |
|
|
| 16043 |
|
# Check whether --with-cgalmakefile was given. |
| 16135 |
|
cat conftest.err >&5 |
| 16136 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16137 |
|
(exit $ac_status); } && { |
| 16138 |
< |
test -z "$ac_c_werror_flag" || |
| 16138 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16139 |
|
test ! -s conftest.err |
| 16140 |
|
} && test -s conftest.$ac_objext; then |
| 16141 |
|
ac_header_compiler=yes |
| 16174 |
|
cat conftest.err >&5 |
| 16175 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16176 |
|
(exit $ac_status); } >/dev/null && { |
| 16177 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16177 |
> |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 16178 |
|
test ! -s conftest.err |
| 16179 |
|
}; then |
| 16180 |
|
ac_header_preproc=yes |
| 16190 |
|
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 16191 |
|
|
| 16192 |
|
# So? What about this header? |
| 16193 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 16193 |
> |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 16194 |
|
yes:no: ) |
| 16195 |
|
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 16196 |
|
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 16283 |
|
cat conftest.err >&5 |
| 16284 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16285 |
|
(exit $ac_status); } && { |
| 16286 |
< |
test -z "$ac_c_werror_flag" || |
| 16286 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16287 |
|
test ! -s conftest.err |
| 16288 |
|
} && test -s conftest$ac_exeext && |
| 16289 |
|
$as_test_x conftest$ac_exeext; then |
| 16354 |
|
cat conftest.err >&5 |
| 16355 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16356 |
|
(exit $ac_status); } && { |
| 16357 |
< |
test -z "$ac_c_werror_flag" || |
| 16357 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16358 |
|
test ! -s conftest.err |
| 16359 |
|
} && test -s conftest$ac_exeext && |
| 16360 |
|
$as_test_x conftest$ac_exeext; then |
| 16427 |
|
cat conftest.err >&5 |
| 16428 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16429 |
|
(exit $ac_status); } && { |
| 16430 |
< |
test -z "$ac_c_werror_flag" || |
| 16430 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16431 |
|
test ! -s conftest.err |
| 16432 |
|
} && test -s conftest$ac_exeext && |
| 16433 |
|
$as_test_x conftest$ac_exeext; then |
| 16494 |
|
cat conftest.err >&5 |
| 16495 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16496 |
|
(exit $ac_status); } && { |
| 16497 |
< |
test -z "$ac_c_werror_flag" || |
| 16497 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16498 |
|
test ! -s conftest.err |
| 16499 |
|
} && test -s conftest$ac_exeext && |
| 16500 |
|
$as_test_x conftest$ac_exeext; then |
| 16561 |
|
cat conftest.err >&5 |
| 16562 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16563 |
|
(exit $ac_status); } && { |
| 16564 |
< |
test -z "$ac_c_werror_flag" || |
| 16564 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16565 |
|
test ! -s conftest.err |
| 16566 |
|
} && test -s conftest$ac_exeext && |
| 16567 |
|
$as_test_x conftest$ac_exeext; then |
| 16635 |
|
cat conftest.err >&5 |
| 16636 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16637 |
|
(exit $ac_status); } && { |
| 16638 |
< |
test -z "$ac_c_werror_flag" || |
| 16638 |
> |
test -z "$ac_cxx_werror_flag" || |
| 16639 |
|
test ! -s conftest.err |
| 16640 |
|
} && test -s conftest$ac_exeext && |
| 16641 |
|
$as_test_x conftest$ac_exeext; then |
| 17527 |
|
PROGNAME!$PROGNAME$ac_delim |
| 17528 |
|
debug!$debug$ac_delim |
| 17529 |
|
USE_SINGLE_PRECISION!$USE_SINGLE_PRECISION$ac_delim |
| 17530 |
+ |
ac_cc_set!$ac_cc_set$ac_delim |
| 17531 |
+ |
ac_cc_path!$ac_cc_path$ac_delim |
| 17532 |
+ |
ac_cxx_set!$ac_cxx_set$ac_delim |
| 17533 |
+ |
ac_cxx_path!$ac_cxx_path$ac_delim |
| 17534 |
+ |
ac_fc_set!$ac_fc_set$ac_delim |
| 17535 |
+ |
ac_fc_path!$ac_fc_path$ac_delim |
| 17536 |
+ |
acx_mpi_mpicc!$acx_mpi_mpicc$ac_delim |
| 17537 |
+ |
acx_mpi_mpicc_path!$acx_mpi_mpicc_path$ac_delim |
| 17538 |
+ |
acx_mpi_mpif90!$acx_mpi_mpif90$ac_delim |
| 17539 |
+ |
acx_mpi_mpif90_path!$acx_mpi_mpif90_path$ac_delim |
| 17540 |
+ |
acx_mpi_mpicxx!$acx_mpi_mpicxx$ac_delim |
| 17541 |
+ |
acx_mpi_mpicxx_path!$acx_mpi_mpicxx_path$ac_delim |
| 17542 |
+ |
MPI_CPPFLAGS!$MPI_CPPFLAGS$ac_delim |
| 17543 |
+ |
MPI_LIBS!$MPI_LIBS$ac_delim |
| 17544 |
+ |
MPI90_LIBS!$MPI90_LIBS$ac_delim |
| 17545 |
+ |
USE_MPI!$USE_MPI$ac_delim |
| 17546 |
|
CXX!$CXX$ac_delim |
| 17547 |
|
CXXFLAGS!$CXXFLAGS$ac_delim |
| 17548 |
|
LDFLAGS!$LDFLAGS$ac_delim |
| 17576 |
|
PS!$PS$ac_delim |
| 17577 |
|
FCFLAGS_F90!$FCFLAGS_F90$ac_delim |
| 17578 |
|
FCFLAGS_SRCEXT!$FCFLAGS_SRCEXT$ac_delim |
| 17037 |
– |
PREPDEFFLAG!$PREPDEFFLAG$ac_delim |
| 17038 |
– |
FCLIBS!$FCLIBS$ac_delim |
| 17039 |
– |
FC_FUNC!$FC_FUNC$ac_delim |
| 17040 |
– |
FC_FUNC_!$FC_FUNC_$ac_delim |
| 17041 |
– |
MOD!$MOD$ac_delim |
| 17042 |
– |
F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim |
| 17043 |
– |
MODDIRFLAG!$MODDIRFLAG$ac_delim |
| 17044 |
– |
F90MODINCSPEC!$F90MODINCSPEC$ac_delim |
| 17045 |
– |
F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim |
| 17046 |
– |
ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim |
| 17047 |
– |
ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim |
| 17048 |
– |
ZLIB!$ZLIB$ac_delim |
| 17049 |
– |
FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim |
| 17050 |
– |
FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim |
| 17051 |
– |
FFTW_LIBS!$FFTW_LIBS$ac_delim |
| 17052 |
– |
QHULL_INC_DIR!$QHULL_INC_DIR$ac_delim |
| 17579 |
|
_ACEOF |
| 17580 |
|
|
| 17581 |
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
| 17617 |
|
ac_delim='%!_!# ' |
| 17618 |
|
for ac_last_try in false false false false false :; do |
| 17619 |
|
cat >conf$$subs.sed <<_ACEOF |
| 17620 |
+ |
PREPDEFFLAG!$PREPDEFFLAG$ac_delim |
| 17621 |
+ |
FCLIBS!$FCLIBS$ac_delim |
| 17622 |
+ |
FC_FUNC!$FC_FUNC$ac_delim |
| 17623 |
+ |
FC_FUNC_!$FC_FUNC_$ac_delim |
| 17624 |
+ |
MOD!$MOD$ac_delim |
| 17625 |
+ |
F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim |
| 17626 |
+ |
MODDIRFLAG!$MODDIRFLAG$ac_delim |
| 17627 |
+ |
F90MODINCSPEC!$F90MODINCSPEC$ac_delim |
| 17628 |
+ |
F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim |
| 17629 |
+ |
ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim |
| 17630 |
+ |
ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim |
| 17631 |
+ |
ZLIB!$ZLIB$ac_delim |
| 17632 |
+ |
FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim |
| 17633 |
+ |
FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim |
| 17634 |
+ |
FFTW_LIBS!$FFTW_LIBS$ac_delim |
| 17635 |
+ |
QHULL_INC_DIR!$QHULL_INC_DIR$ac_delim |
| 17636 |
|
QHULL_LIB_DIR!$QHULL_LIB_DIR$ac_delim |
| 17637 |
|
QHULL!$QHULL$ac_delim |
| 17638 |
|
USE_QHULL!$USE_QHULL$ac_delim |
| 17644 |
|
LIBOBJS!$LIBOBJS$ac_delim |
| 17645 |
|
POW_LIB!$POW_LIB$ac_delim |
| 17646 |
|
__func__!$__func__$ac_delim |
| 17105 |
– |
MPI_LIB_DIR!$MPI_LIB_DIR$ac_delim |
| 17106 |
– |
MPI_INC_DIR!$MPI_INC_DIR$ac_delim |
| 17107 |
– |
MPI_F90_INC!$MPI_F90_INC$ac_delim |
| 17108 |
– |
MPI_LIB!$MPI_LIB$ac_delim |
| 17109 |
– |
MPI_F90_LIB!$MPI_F90_LIB$ac_delim |
| 17110 |
– |
USE_MPI!$USE_MPI$ac_delim |
| 17647 |
|
CGAL_MAKEFILE!$CGAL_MAKEFILE$ac_delim |
| 17648 |
|
CGAL_CXXFLAGS!$CGAL_CXXFLAGS$ac_delim |
| 17649 |
|
CGAL_CPPFLAGS!$CGAL_CPPFLAGS$ac_delim |
| 17664 |
|
LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 17665 |
|
_ACEOF |
| 17666 |
|
|
| 17667 |
< |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then |
| 17667 |
> |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then |
| 17668 |
|
break |
| 17669 |
|
elif $ac_last_try; then |
| 17670 |
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |