| 1 |  | #! /bin/sh | 
| 2 |  | # Guess values for system-dependent variables and create Makefiles. | 
| 3 | < | # Generated by GNU Autoconf 2.59 for OOPSE 2.0. | 
| 3 | > | # Generated by GNU Autoconf 2.59 for OOPSE 3.0. | 
| 4 |  | # | 
| 5 |  | # Report bugs to <gezelter@nd.edu>. | 
| 6 |  | # | 
| 269 |  | # Identity of this package. | 
| 270 |  | PACKAGE_NAME='OOPSE' | 
| 271 |  | PACKAGE_TARNAME='oopse' | 
| 272 | < | PACKAGE_VERSION='2.0' | 
| 273 | < | PACKAGE_STRING='OOPSE 2.0' | 
| 272 | > | PACKAGE_VERSION='3.0' | 
| 273 | > | PACKAGE_STRING='OOPSE 3.0' | 
| 274 |  | PACKAGE_BUGREPORT='gezelter@nd.edu' | 
| 275 |  |  | 
| 276 |  | ac_unique_file="src/applications/oopse/oopse.cpp" | 
| 312 |  | # include <unistd.h> | 
| 313 |  | #endif" | 
| 314 |  |  | 
| 315 | < | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CXXCPP LIBOBJS __func__ INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS' | 
| 315 | > | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROGNAME debug CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC FC FCFLAGS ac_ct_FC CPP EGREP LN_S SET_MAKE RANLIB ac_ct_RANLIB PERLINTERP PERL_SHEBANG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PS FCFLAGS_F90 FCFLAGS_SRCEXT PREPDEFFLAG FCLIBS FC_FUNC FC_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES ZLIB_INC_DIR ZLIB_LIB_DIR ZLIB FFTW_INC_DIR FFTW_LIB_DIR FFTW_LIBS LIBOBJS POW_LIB CXXCPP __func__ MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS LTLIBOBJS' | 
| 316 |  | ac_subst_files='' | 
| 317 |  |  | 
| 318 |  | # Initialize some variables set by options. | 
| 753 |  | ac_env_target_alias_value=$target_alias | 
| 754 |  | ac_cv_env_target_alias_set=${target_alias+set} | 
| 755 |  | ac_cv_env_target_alias_value=$target_alias | 
| 756 | < | ac_env_CC_set=${CC+set} | 
| 757 | < | ac_env_CC_value=$CC | 
| 758 | < | ac_cv_env_CC_set=${CC+set} | 
| 759 | < | ac_cv_env_CC_value=$CC | 
| 760 | < | ac_env_CFLAGS_set=${CFLAGS+set} | 
| 761 | < | ac_env_CFLAGS_value=$CFLAGS | 
| 762 | < | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
| 763 | < | ac_cv_env_CFLAGS_value=$CFLAGS | 
| 756 | > | ac_env_CXX_set=${CXX+set} | 
| 757 | > | ac_env_CXX_value=$CXX | 
| 758 | > | ac_cv_env_CXX_set=${CXX+set} | 
| 759 | > | ac_cv_env_CXX_value=$CXX | 
| 760 | > | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
| 761 | > | ac_env_CXXFLAGS_value=$CXXFLAGS | 
| 762 | > | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
| 763 | > | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
| 764 |  | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
| 765 |  | ac_env_LDFLAGS_value=$LDFLAGS | 
| 766 |  | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
| 769 |  | ac_env_CPPFLAGS_value=$CPPFLAGS | 
| 770 |  | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
| 771 |  | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
| 772 | < | ac_env_CXX_set=${CXX+set} | 
| 773 | < | ac_env_CXX_value=$CXX | 
| 774 | < | ac_cv_env_CXX_set=${CXX+set} | 
| 775 | < | ac_cv_env_CXX_value=$CXX | 
| 776 | < | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
| 777 | < | ac_env_CXXFLAGS_value=$CXXFLAGS | 
| 778 | < | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
| 779 | < | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
| 772 | > | ac_env_CC_set=${CC+set} | 
| 773 | > | ac_env_CC_value=$CC | 
| 774 | > | ac_cv_env_CC_set=${CC+set} | 
| 775 | > | ac_cv_env_CC_value=$CC | 
| 776 | > | ac_env_CFLAGS_set=${CFLAGS+set} | 
| 777 | > | ac_env_CFLAGS_value=$CFLAGS | 
| 778 | > | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
| 779 | > | ac_cv_env_CFLAGS_value=$CFLAGS | 
| 780 | > | ac_env_FC_set=${FC+set} | 
| 781 | > | ac_env_FC_value=$FC | 
| 782 | > | ac_cv_env_FC_set=${FC+set} | 
| 783 | > | ac_cv_env_FC_value=$FC | 
| 784 | > | ac_env_FCFLAGS_set=${FCFLAGS+set} | 
| 785 | > | ac_env_FCFLAGS_value=$FCFLAGS | 
| 786 | > | ac_cv_env_FCFLAGS_set=${FCFLAGS+set} | 
| 787 | > | ac_cv_env_FCFLAGS_value=$FCFLAGS | 
| 788 |  | ac_env_CPP_set=${CPP+set} | 
| 789 |  | ac_env_CPP_value=$CPP | 
| 790 |  | ac_cv_env_CPP_set=${CPP+set} | 
| 791 |  | ac_cv_env_CPP_value=$CPP | 
| 784 | – | ac_env_F90_set=${F90+set} | 
| 785 | – | ac_env_F90_value=$F90 | 
| 786 | – | ac_cv_env_F90_set=${F90+set} | 
| 787 | – | ac_cv_env_F90_value=$F90 | 
| 788 | – | ac_env_F90FLAGS_set=${F90FLAGS+set} | 
| 789 | – | ac_env_F90FLAGS_value=$F90FLAGS | 
| 790 | – | ac_cv_env_F90FLAGS_set=${F90FLAGS+set} | 
| 791 | – | ac_cv_env_F90FLAGS_value=$F90FLAGS | 
| 792 |  | ac_env_CXXCPP_set=${CXXCPP+set} | 
| 793 |  | ac_env_CXXCPP_value=$CXXCPP | 
| 794 |  | ac_cv_env_CXXCPP_set=${CXXCPP+set} | 
| 801 |  | # Omit some internal or obsolete options to make the list less imposing. | 
| 802 |  | # This message is too long to be a string in the A/UX 3.1 sh. | 
| 803 |  | cat <<_ACEOF | 
| 804 | < | \`configure' configures OOPSE 2.0 to adapt to many kinds of systems. | 
| 804 | > | \`configure' configures OOPSE 3.0 to adapt to many kinds of systems. | 
| 805 |  |  | 
| 806 |  | Usage: $0 [OPTION]... [VAR=VALUE]... | 
| 807 |  |  | 
| 862 |  |  | 
| 863 |  | if test -n "$ac_init_help"; then | 
| 864 |  | case $ac_init_help in | 
| 865 | < | short | recursive ) echo "Configuration of OOPSE 2.0:";; | 
| 865 | > | short | recursive ) echo "Configuration of OOPSE 3.0:";; | 
| 866 |  | esac | 
| 867 |  | cat <<\_ACEOF | 
| 868 |  |  | 
| 869 |  | Optional Features: | 
| 870 |  | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
| 871 |  | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
| 872 | + | --enable-oopse-home=DIR      define oopse home dir PREFIX/oopse | 
| 873 |  | --enable-debug          Compile OOPSE in debug mode | 
| 874 | + | --enable-single         compile OOPSE in single precision | 
| 875 | + | --enable-float          synonym for --enable-single | 
| 876 |  | --enable-doxygen        enable documentation generation with doxygen (auto) | 
| 877 |  | --enable-dot            use 'dot' to generate graphs in doxygen (auto) | 
| 878 |  | --enable-html-docs      enable HTML generation with doxygen (yes) | 
| 879 |  | --enable-latex-docs     enable LaTeX documentation generation with doxygen (no) | 
| 877 | – | --enable-oopse-home=DIR      define oopse home dir PREFIX/oopse | 
| 880 |  |  | 
| 881 |  | Optional Packages: | 
| 882 |  | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
| 883 |  | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
| 882 | – | --with-zlib=DIR root directory path of zlib installation defaults to | 
| 883 | – | /usr/local or /usr if not found in /usr/local | 
| 884 | – | --without-zlib to disable zlib usage completely | 
| 884 |  | --with-perl-shebang     override what perl thinks is the way for the kernel | 
| 885 |  | to start it (seldom needed) | 
| 886 | + | --with-zlib=DIR         root directory path of zlib installation (defaults | 
| 887 | + | to /usr/local or /usr if not found in /usr/local) | 
| 888 | + | --with-fftw=DIR         root directory path of fftw installation (defaults | 
| 889 | + | to /usr/local or /usr if not found in /usr/local) | 
| 890 |  | --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no] | 
| 891 |  | --with-cgal-makefile=FILE  CGAL makefile that should be used | 
| 892 |  |  | 
| 893 |  | Some influential environment variables: | 
| 894 | < | CC          C compiler command | 
| 895 | < | CFLAGS      C compiler flags | 
| 894 | > | CXX         C++ compiler command | 
| 895 | > | CXXFLAGS    C++ compiler flags | 
| 896 |  | LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
| 897 |  | nonstandard directory <lib dir> | 
| 898 |  | CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
| 899 |  | headers in a nonstandard directory <include dir> | 
| 900 | < | CXX         C++ compiler command | 
| 901 | < | CXXFLAGS    C++ compiler flags | 
| 900 | > | CC          C compiler command | 
| 901 | > | CFLAGS      C compiler flags | 
| 902 | > | FC          Fortran compiler command | 
| 903 | > | FCFLAGS     Fortran compiler flags | 
| 904 |  | CPP         C preprocessor | 
| 900 | – | F90         Fortran 90 compiler command | 
| 901 | – | F90FLAGS    Fortran 90 compiler flags | 
| 905 |  | CXXCPP      C++ preprocessor | 
| 906 |  |  | 
| 907 |  | Use these variables to override the choices made by `configure' or to help | 
| 1003 |  | test -n "$ac_init_help" && exit 0 | 
| 1004 |  | if $ac_init_version; then | 
| 1005 |  | cat <<\_ACEOF | 
| 1006 | < | OOPSE configure 2.0 | 
| 1006 | > | OOPSE configure 3.0 | 
| 1007 |  | generated by GNU Autoconf 2.59 | 
| 1008 |  |  | 
| 1009 |  | Copyright (C) 2003 Free Software Foundation, Inc. | 
| 1017 |  | This file contains any messages produced by compilers while | 
| 1018 |  | running configure, to aid debugging if configure makes a mistake. | 
| 1019 |  |  | 
| 1020 | < | It was created by OOPSE $as_me 2.0, which was | 
| 1020 | > | It was created by OOPSE $as_me 3.0, which was | 
| 1021 |  | generated by GNU Autoconf 2.59.  Invocation command line was | 
| 1022 |  |  | 
| 1023 |  | $ $0 $@ | 
| 1377 |  | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
| 1378 |  | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
| 1379 |  | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
| 1377 | – |  | 
| 1378 | – |  | 
| 1379 | – | # This file is part of Autoconf.                       -*- Autoconf -*- | 
| 1380 | – | # Programming languages support. | 
| 1381 | – | # Copyright 2000, 2001 | 
| 1382 | – | # Free Software Foundation, Inc. | 
| 1383 | – | # | 
| 1384 | – | # This program is free software; you can redistribute it and/or modify | 
| 1385 | – | # it under the terms of the GNU General Public License as published by | 
| 1386 | – | # the Free Software Foundation; either version 2, or (at your option) | 
| 1387 | – | # any later version. | 
| 1388 | – | # | 
| 1389 | – | # This program is distributed in the hope that it will be useful, | 
| 1390 | – | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| 1391 | – | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
| 1392 | – | # GNU General Public License for more details. | 
| 1393 | – | # | 
| 1394 | – | # You should have received a copy of the GNU General Public License | 
| 1395 | – | # along with this program; if not, write to the Free Software | 
| 1396 | – | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 
| 1397 | – | # 02111-1307, USA. | 
| 1398 | – | # | 
| 1399 | – | # As a special exception, the Free Software Foundation gives unlimited | 
| 1400 | – | # permission to copy, distribute and modify the configure scripts that | 
| 1401 | – | # are the output of Autoconf.  You need not follow the terms of the GNU | 
| 1402 | – | # General Public License when using or distributing such scripts, even | 
| 1403 | – | # though portions of the text of Autoconf appear in them.  The GNU | 
| 1404 | – | # General Public License (GPL) does govern all other use of the material | 
| 1405 | – | # that constitutes the Autoconf program. | 
| 1406 | – | # | 
| 1407 | – | # Certain portions of the Autoconf source text are designed to be copied | 
| 1408 | – | # (in certain cases, depending on the input) into the output of | 
| 1409 | – | # Autoconf.  We call these the "data" portions.  The rest of the Autoconf | 
| 1410 | – | # source text consists of comments plus executable code that decides which | 
| 1411 | – | # of the data portions to output in any given case.  We call these | 
| 1412 | – | # comments and executable code the "non-data" portions.  Autoconf never | 
| 1413 | – | # copies any of the non-data portions into its output. | 
| 1414 | – | # | 
| 1415 | – | # This special exception to the GPL applies to versions of Autoconf | 
| 1416 | – | # released by the Free Software Foundation.  When you make and | 
| 1417 | – | # distribute a modified version of Autoconf, you may extend this special | 
| 1418 | – | # exception to the GPL to apply to your modified version as well, *unless* | 
| 1419 | – | # your modified version has the potential to copy into its output some | 
| 1420 | – | # of the text that was the non-data portion of the version that you started | 
| 1421 | – | # with.  (In other words, unless your change moves or copies text from | 
| 1422 | – | # the non-data portions to the data portions.)  If your modification has | 
| 1423 | – | # such potential, you must delete any notice of this special exception | 
| 1424 | – | # to the GPL from your modified version. | 
| 1425 | – | # | 
| 1426 | – | # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably | 
| 1427 | – | # many others). | 
| 1428 | – |  | 
| 1429 | – |  | 
| 1430 | – | # Table of Contents: | 
| 1431 | – | # | 
| 1432 | – | # 1. Language selection | 
| 1433 | – | #    and routines to produce programs in a given language. | 
| 1434 | – | #  a. Fortran 77 (to be moved from aclang.m4) | 
| 1435 | – | #  b. Fortran 90 | 
| 1436 | – | #  c. Fortran 95 | 
| 1437 | – | # | 
| 1438 | – | # 2. Producing programs in a given language. | 
| 1439 | – | #  a. Fortran 77 (to be moved from aclang.m4) | 
| 1440 | – | #  b. Fortran 90 | 
| 1441 | – | #  c. Fortran 95 | 
| 1442 | – | # | 
| 1443 | – | # 3. Looking for a compiler | 
| 1444 | – | #    And possibly the associated preprocessor. | 
| 1445 | – | #  a. Fortran 77 (to be moved from aclang.m4) | 
| 1446 | – | #  b. Fortran 90 | 
| 1447 | – | #  c. Fortran 95 | 
| 1448 | – | # | 
| 1449 | – | # 4. Compilers' characteristics. | 
| 1450 | – | #  a. Fortran 77 (to be moved from aclang.m4) | 
| 1451 | – | #  b. Fortran 90 | 
| 1452 | – | #  c. Fortran 95 | 
| 1453 | – |  | 
| 1454 | – | # _AC_LIST_MEMBER_IF(ELEMENT, LIST, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | 
| 1455 | – | # --------------------------------------------------------------------------- | 
| 1456 | – | # | 
| 1457 | – | # Processing the elements of a list is tedious in shell programming, | 
| 1458 | – | # as lists tend to be implemented as space delimited strings. | 
| 1459 | – | # | 
| 1460 | – | # This macro searches LIST for ELEMENT, and executes ACTION-IF-FOUND | 
| 1461 | – | # if ELEMENT is a member of LIST, otherwise it executes | 
| 1462 | – | # ACTION-IF-NOT-FOUND. | 
| 1463 | – | # _AC_LIST_MEMBER_IF | 
| 1464 | – |  | 
| 1465 | – |  | 
| 1466 | – |  | 
| 1467 | – | # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE) | 
| 1468 | – | # ------------------------------------------------- | 
| 1469 | – | # | 
| 1470 | – | # Specifying options to the compiler (whether it be the C, C++ or | 
| 1471 | – | # Fortran 77 compiler) that are meant for the linker is compiler | 
| 1472 | – | # dependent.  This macro lets you give options to the compiler that | 
| 1473 | – | # are meant for the linker in a portable, compiler-independent way. | 
| 1474 | – | # | 
| 1475 | – | # This macro take two arguments, a list of linker options that the | 
| 1476 | – | # compiler should pass to the linker (LINKER-OPTIONS) and the name of | 
| 1477 | – | # a shell variable (SHELL-VARIABLE).  The list of linker options are | 
| 1478 | – | # appended to the shell variable in a compiler-dependent way. | 
| 1479 | – | # | 
| 1480 | – | # For example, if the selected language is C, then this: | 
| 1481 | – | # | 
| 1482 | – | #   _AC_LINKER_OPTION([-R /usr/local/lib/foo], foo_LDFLAGS) | 
| 1483 | – | # | 
| 1484 | – | # will expand into this if the selected C compiler is gcc: | 
| 1485 | – | # | 
| 1486 | – | #   foo_LDFLAGS="-Xlinker -R -Xlinker /usr/local/lib/foo" | 
| 1487 | – | # | 
| 1488 | – | # otherwise, it will expand into this: | 
| 1489 | – | # | 
| 1490 | – | #   foo_LDFLAGS"-R /usr/local/lib/foo" | 
| 1491 | – | # | 
| 1492 | – | # You are encouraged to add support for compilers that this macro | 
| 1493 | – | # doesn't currently support. | 
| 1494 | – | # FIXME: Get rid of this macro. | 
| 1495 | – | # _AC_LINKER_OPTION | 
| 1496 | – |  | 
| 1497 | – |  | 
| 1498 | – |  | 
| 1499 | – | ## ----------------------- ## | 
| 1500 | – | ## 1. Language selection.  ## | 
| 1501 | – | ## ----------------------- ## | 
| 1502 | – |  | 
| 1503 | – | # ----------------------------- # | 
| 1504 | – | # 1b. The Fortran 90 language.  # | 
| 1505 | – | # ----------------------------- # | 
| 1506 | – |  | 
| 1507 | – | # AC_LANG(Fortran 90) | 
| 1508 | – | # ------------------- | 
| 1509 | – |  | 
| 1510 | – |  | 
| 1511 | – |  | 
| 1512 | – | # _AC_LANG_ABBREV(Fortran 90) | 
| 1513 | – | # --------------------------- | 
| 1514 | – |  | 
| 1515 | – |  | 
| 1516 | – |  | 
| 1517 | – | # ----------------------------- # | 
| 1518 | – | # 1c. The Fortran 95 language.  # | 
| 1519 | – | # ----------------------------- # | 
| 1520 | – |  | 
| 1521 | – | # AC_LANG(Fortran 95) | 
| 1522 | – | # ------------------- | 
| 1523 | – |  | 
| 1524 | – |  | 
| 1525 | – |  | 
| 1526 | – | # _AC_LANG_ABBREV(Fortran 95) | 
| 1527 | – | # --------------------------- | 
| 1528 | – |  | 
| 1529 | – |  | 
| 1530 | – |  | 
| 1531 | – | ## ---------------------- ## | 
| 1532 | – | ## 2.Producing programs.  ## | 
| 1533 | – | ## ---------------------- ## | 
| 1534 | – |  | 
| 1535 | – | # ------------------------ # | 
| 1536 | – | # 2b. Fortran 90 sources.  # | 
| 1537 | – | # ------------------------ # | 
| 1538 | – |  | 
| 1539 | – | # AC_LANG_SOURCE(Fortran 90)(BODY) | 
| 1540 | – | # -------------------------------- | 
| 1541 | – |  | 
| 1542 | – |  | 
| 1543 | – |  | 
| 1544 | – | # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY]) | 
| 1545 | – | # ----------------------------------------------- | 
| 1546 | – |  | 
| 1547 | – |  | 
| 1548 | – | # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION) | 
| 1549 | – | # -------------------------------------------- | 
| 1550 | – |  | 
| 1551 | – |  | 
| 1552 | – |  | 
| 1553 | – | # ------------------------ # | 
| 1554 | – | # 2c. Fortran 95 sources.  # | 
| 1555 | – | # ------------------------ # | 
| 1380 |  |  | 
| 1557 | – | # AC_LANG_SOURCE(Fortran 95)(BODY) | 
| 1558 | – | # -------------------------------- | 
| 1381 |  |  | 
| 1382 | + | ac_config_headers="$ac_config_headers src/config.h" | 
| 1383 |  |  | 
| 1561 | – | # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY]) | 
| 1562 | – | # ----------------------------------------------- | 
| 1384 |  |  | 
| 1385 |  |  | 
| 1565 | – | # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION) | 
| 1566 | – | # -------------------------------------------- | 
| 1386 |  |  | 
| 1387 |  |  | 
| 1388 |  |  | 
| 1570 | – | ## -------------------------------------------- ## | 
| 1571 | – | ## 3. Looking for Compilers and Preprocessors.  ## | 
| 1572 | – | ## -------------------------------------------- ## | 
| 1389 |  |  | 
| 1574 | – | # ----------------------------- # | 
| 1575 | – | # 3b. The Fortran 90 compiler.  # | 
| 1576 | – | # ----------------------------- # | 
| 1390 |  |  | 
| 1391 |  |  | 
| 1579 | – | # AC_LANG_PREPROC(Fortran 90) | 
| 1580 | – | # --------------------------- | 
| 1581 | – | # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able. | 
| 1392 |  |  | 
| 1393 |  |  | 
| 1394 |  |  | 
| 1585 | – | # AC_LANG_COMPILER(Fortran 90) | 
| 1586 | – | # ---------------------------- | 
| 1587 | – | # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be | 
| 1588 | – | # AC_REQUIRE'able. | 
| 1395 |  |  | 
| 1396 |  |  | 
| 1397 |  |  | 
| 1592 | – | # AC_PROG_F90([COMPILERS...]) | 
| 1593 | – | # --------------------------- | 
| 1594 | – | # COMPILERS is a space separated list of Fortran 90 compilers to search | 
| 1595 | – | # for. | 
| 1596 | – | # | 
| 1597 | – | # Compilers are ordered by | 
| 1598 | – | #  1. F90, F95 | 
| 1599 | – | #  2. Good/tested native compilers, bad/untested native compilers | 
| 1600 | – | # | 
| 1601 | – | # pgf90 is the Portland Group F90 compilers. | 
| 1602 | – | # xlf90/xlf95 are IBM (AIX) F90/F95 compilers. | 
| 1603 | – | # lf95 is the Lahey-Fujitsu compiler. | 
| 1604 | – | # epcf90 is the "Edinburgh Portable Compiler" F90. | 
| 1605 | – | # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. | 
| 1606 | – | # AC_PROG_F90 | 
| 1398 |  |  | 
| 1399 |  |  | 
| 1609 | – | # ----------------------------- # | 
| 1610 | – | # 3c. The Fortran 95 compiler.  # | 
| 1611 | – | # ----------------------------- # | 
| 1400 |  |  | 
| 1401 |  |  | 
| 1614 | – | # AC_LANG_PREPROC(Fortran 95) | 
| 1615 | – | # --------------------------- | 
| 1616 | – | # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able. | 
| 1402 |  |  | 
| 1403 |  |  | 
| 1404 |  |  | 
| 1620 | – | # AC_LANG_COMPILER(Fortran 95) | 
| 1621 | – | # ---------------------------- | 
| 1622 | – | # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be | 
| 1623 | – | # AC_REQUIRE'able. | 
| 1405 |  |  | 
| 1406 |  |  | 
| 1407 |  |  | 
| 1627 | – | # AC_PROG_F95([COMPILERS...]) | 
| 1628 | – | # --------------------------- | 
| 1629 | – | # COMPILERS is a space separated list of Fortran 95 compilers to search | 
| 1630 | – | # for. | 
| 1631 | – | # | 
| 1632 | – | # Compilers are ordered by | 
| 1633 | – | #  1. Good/tested native compilers, bad/untested native compilers | 
| 1634 | – | # | 
| 1635 | – | # xlf95 is the IBM (AIX) F95 compiler. | 
| 1636 | – | # lf95 is the Lahey-Fujitsu compiler. | 
| 1637 | – | # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. | 
| 1638 | – | # AC_PROG_F95 | 
| 1408 |  |  | 
| 1409 |  |  | 
| 1641 | – | ## ------------------------------- ## | 
| 1642 | – | ## 4. Compilers' characteristics.  ## | 
| 1643 | – | ## ------------------------------- ## | 
| 1410 |  |  | 
| 1645 | – |  | 
| 1646 | – | # ---------------------------------------- # | 
| 1647 | – | # 4b. Fortan 90 compiler characteristics.  # | 
| 1648 | – | # ---------------------------------------- # | 
| 1649 | – |  | 
| 1650 | – |  | 
| 1651 | – | # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v]) | 
| 1652 | – | # ------------------------------------------------- | 
| 1653 | – | # Link a trivial Fortran program, compiling with a verbose output FLAG | 
| 1654 | – | # (which default value, $ac_cv_prog_f90_v, is computed by | 
| 1655 | – | # _AC_PROG_F90_V), and return the output in $ac_f90_v_output.  This | 
| 1656 | – | # output is processed in the way expected by AC_F90_LIBRARY_LDFLAGS, | 
| 1657 | – | # so that any link flags that are echoed by the compiler appear as | 
| 1658 | – | # space-separated items. | 
| 1659 | – | # _AC_PROG_F90_V_OUTPUT | 
| 1660 | – |  | 
| 1661 | – |  | 
| 1662 | – | # _AC_PROG_F90_V | 
| 1663 | – | # -------------- | 
| 1664 | – | # | 
| 1665 | – | # Determine the flag that causes the Fortran 90 compiler to print | 
| 1666 | – | # information of library and object files (normally -v) | 
| 1667 | – | # Needed for AC_F90_LIBRARY_FLAGS | 
| 1668 | – | # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) | 
| 1669 | – | # _AC_PROG_F90_V | 
| 1670 | – |  | 
| 1671 | – |  | 
| 1672 | – | # AC_F90_LIBRARY_LDFLAGS | 
| 1673 | – | # ---------------------- | 
| 1674 | – | # | 
| 1675 | – | # Determine the linker flags (e.g. "-L" and "-l") for the Fortran 90 | 
| 1676 | – | # intrinsic and run-time libraries that are required to successfully | 
| 1677 | – | # link a Fortran 90 program or shared library.  The output variable | 
| 1678 | – | # F90LIBS is set to these flags. | 
| 1679 | – | # | 
| 1680 | – | # This macro is intended to be used in those situations when it is | 
| 1681 | – | # necessary to mix, e.g. C++ and Fortran 90, source code into a single | 
| 1682 | – | # program or shared library. | 
| 1683 | – | # | 
| 1684 | – | # For example, if object files from a C++ and Fortran 90 compiler must | 
| 1685 | – | # be linked together, then the C++ compiler/linker must be used for | 
| 1686 | – | # linking (since special C++-ish things need to happen at link time | 
| 1687 | – | # like calling global constructors, instantiating templates, enabling | 
| 1688 | – | # exception support, etc.). | 
| 1689 | – | # | 
| 1690 | – | # However, the Fortran 90 intrinsic and run-time libraries must be | 
| 1691 | – | # linked in as well, but the C++ compiler/linker doesn't know how to | 
| 1692 | – | # add these Fortran 90 libraries.  Hence, the macro | 
| 1693 | – | # "AC_F90_LIBRARY_LDFLAGS" was created to determine these Fortran 90 | 
| 1694 | – | # libraries. | 
| 1695 | – | # | 
| 1696 | – | # This macro was copied from the Fortran 77 version by Matthew D. Langston. | 
| 1697 | – | # AC_F90_LIBRARY_LDFLAGS | 
| 1698 | – |  | 
| 1699 | – |  | 
| 1700 | – | # _AC_F90_NAME_MANGLING | 
| 1701 | – | # --------------------- | 
| 1702 | – | # Test for the name mangling scheme used by the Fortran 90 compiler. | 
| 1703 | – | # | 
| 1704 | – | # Sets ac_cv_f90_mangling. The value contains three fields, separated | 
| 1705 | – | # by commas: | 
| 1706 | – | # | 
| 1707 | – | # lower case / upper case: | 
| 1708 | – | #    case translation of the Fortan 90 symbols | 
| 1709 | – | # underscore / no underscore: | 
| 1710 | – | #    whether the compiler appends "_" to symbol names | 
| 1711 | – | # extra underscore / no extra underscore: | 
| 1712 | – | #    whether the compiler appends an extra "_" to symbol names already | 
| 1713 | – | #    containing at least one underscore | 
| 1714 | – | # | 
| 1715 | – | # _AC_F90_NAME_MANGLING | 
| 1411 |  |  | 
| 1717 | – | # The replacement is empty. | 
| 1412 |  |  | 
| 1413 |  |  | 
| 1414 |  |  | 
| 1721 | – | # AC_F90_WRAPPERS | 
| 1722 | – | # --------------- | 
| 1723 | – | # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to | 
| 1724 | – | # properly mangle the names of C identifiers, and C identifiers with | 
| 1725 | – | # underscores, respectively, so that they match the name mangling | 
| 1726 | – | # scheme used by the Fortran 90 compiler. | 
| 1727 | – | # AC_F90_WRAPPERS | 
| 1415 |  |  | 
| 1416 |  |  | 
| 1730 | – | # AC_F90_FUNC(NAME, [SHELLVAR = NAME]) | 
| 1731 | – | # ------------------------------------ | 
| 1732 | – | # For a Fortran subroutine of given NAME, define a shell variable | 
| 1733 | – | # $SHELLVAR to the Fortran 90 mangled name.  If the SHELLVAR | 
| 1734 | – | # argument is not supplied, it defaults to NAME. | 
| 1735 | – | # AC_F90_FUNC | 
| 1417 |  |  | 
| 1418 |  |  | 
| 1738 | – | # ---------------------------------------- # | 
| 1739 | – | # 4c. Fortan 95 compiler characteristics.  # | 
| 1740 | – | # ---------------------------------------- # | 
| 1419 |  |  | 
| 1420 |  |  | 
| 1743 | – | # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v]) | 
| 1744 | – | # ------------------------------------------------- | 
| 1745 | – | # Link a trivial Fortran program, compiling with a verbose output FLAG | 
| 1746 | – | # (which default value, $ac_cv_prog_f95_v, is computed by | 
| 1747 | – | # _AC_PROG_F95_V), and return the output in $ac_f95_v_output.  This | 
| 1748 | – | # output is processed in the way expected by AC_F95_LIBRARY_LDFLAGS, | 
| 1749 | – | # so that any link flags that are echoed by the compiler appear as | 
| 1750 | – | # space-separated items. | 
| 1751 | – | # _AC_PROG_F95_V_OUTPUT | 
| 1421 |  |  | 
| 1422 |  |  | 
| 1754 | – | # _AC_PROG_F95_V | 
| 1755 | – | # -------------- | 
| 1756 | – | # | 
| 1757 | – | # Determine the flag that causes the Fortran 95 compiler to print | 
| 1758 | – | # information of library and object files (normally -v) | 
| 1759 | – | # Needed for AC_F95_LIBRARY_FLAGS | 
| 1760 | – | # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) | 
| 1761 | – | # _AC_PROG_F95_V | 
| 1423 |  |  | 
| 1424 |  |  | 
| 1764 | – | # AC_F95_LIBRARY_LDFLAGS | 
| 1765 | – | # ---------------------- | 
| 1766 | – | # | 
| 1767 | – | # Determine the linker flags (e.g. "-L" and "-l") for the Fortran 95 | 
| 1768 | – | # intrinsic and run-time libraries that are required to successfully | 
| 1769 | – | # link a Fortran 95 program or shared library.  The output variable | 
| 1770 | – | # F95LIBS is set to these flags. | 
| 1771 | – | # | 
| 1772 | – | # This macro is intended to be used in those situations when it is | 
| 1773 | – | # necessary to mix, e.g. C++ and Fortran 95, source code into a single | 
| 1774 | – | # program or shared library. | 
| 1775 | – | # | 
| 1776 | – | # For example, if object files from a C++ and Fortran 95 compiler must | 
| 1777 | – | # be linked together, then the C++ compiler/linker must be used for | 
| 1778 | – | # linking (since special C++-ish things need to happen at link time | 
| 1779 | – | # like calling global constructors, instantiating templates, enabling | 
| 1780 | – | # exception support, etc.). | 
| 1781 | – | # | 
| 1782 | – | # However, the Fortran 95 intrinsic and run-time libraries must be | 
| 1783 | – | # linked in as well, but the C++ compiler/linker doesn't know how to | 
| 1784 | – | # add these Fortran 95 libraries.  Hence, the macro | 
| 1785 | – | # "AC_F95_LIBRARY_LDFLAGS" was created to determine these Fortran 95 | 
| 1786 | – | # libraries. | 
| 1787 | – | # | 
| 1788 | – | # This macro was copied from the Fortran 77 version by Matthew D. Langston. | 
| 1789 | – | # AC_F95_LIBRARY_LDFLAGS | 
| 1425 |  |  | 
| 1426 |  |  | 
| 1792 | – | # _AC_F95_NAME_MANGLING | 
| 1793 | – | # --------------------- | 
| 1794 | – | # Test for the name mangling scheme used by the Fortran 95 compiler. | 
| 1427 |  | # | 
| 1796 | – | # Sets ac_cv_f95_mangling. The value contains three fields, separated | 
| 1797 | – | # by commas: | 
| 1428 |  | # | 
| 1799 | – | # lower case / upper case: | 
| 1800 | – | #    case translation of the Fortan 95 symbols | 
| 1801 | – | # underscore / no underscore: | 
| 1802 | – | #    whether the compiler appends "_" to symbol names | 
| 1803 | – | # extra underscore / no extra underscore: | 
| 1804 | – | #    whether the compiler appends an extra "_" to symbol names already | 
| 1805 | – | #    containing at least one underscore | 
| 1429 |  | # | 
| 1807 | – | # _AC_F95_NAME_MANGLING | 
| 1430 |  |  | 
| 1809 | – | # The replacement is empty. | 
| 1431 |  |  | 
| 1432 |  |  | 
| 1433 |  |  | 
| 1813 | – | # AC_F95_WRAPPERS | 
| 1814 | – | # --------------- | 
| 1815 | – | # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to | 
| 1816 | – | # properly mangle the names of C identifiers, and C identifiers with | 
| 1817 | – | # underscores, respectively, so that they match the name mangling | 
| 1818 | – | # scheme used by the Fortran 95 compiler. | 
| 1819 | – | # AC_F95_WRAPPERS | 
| 1434 |  |  | 
| 1435 |  |  | 
| 1822 | – | # AC_F95_FUNC(NAME, [SHELLVAR = NAME]) | 
| 1823 | – | # ------------------------------------ | 
| 1824 | – | # For a Fortran subroutine of given NAME, define a shell variable | 
| 1825 | – | # $SHELLVAR to the Fortran 95 mangled name.  If the SHELLVAR | 
| 1826 | – | # argument is not supplied, it defaults to NAME. | 
| 1827 | – | # AC_F95_FUNC | 
| 1828 | – |  | 
| 1436 |  | # AC_F90_MODULE_NAMES | 
| 1437 |  | # ------------------- | 
| 1438 |  | # | 
| 1492 |  |  | 
| 1493 |  |  | 
| 1494 |  |  | 
| 1888 | – | # | 
| 1889 | – | # | 
| 1890 | – | # | 
| 1495 |  |  | 
| 1496 |  |  | 
| 1497 |  |  | 
| 1527 |  |  | 
| 1528 |  |  | 
| 1529 |  |  | 
| 1926 | – |  | 
| 1927 | – |  | 
| 1928 | – |  | 
| 1929 | – |  | 
| 1930 | – |  | 
| 1931 | – |  | 
| 1932 | – |  | 
| 1933 | – | # set program name | 
| 1934 | – | PROGNAME="oopse" | 
| 1935 | – |  | 
| 1936 | – |  | 
| 1937 | – | # there are two ways to do debugging.  One with the --enable-debug flag | 
| 1938 | – | # and one using the DEBUG environment variable | 
| 1939 | – |  | 
| 1940 | – | debug=0 | 
| 1941 | – | # Check whether --enable-debug or --disable-debug was given. | 
| 1942 | – | if test "${enable_debug+set}" = set; then | 
| 1943 | – | enableval="$enable_debug" | 
| 1944 | – | debug=1 | 
| 1945 | – | fi; | 
| 1946 | – | if test "${DEBUG}"; then | 
| 1947 | – |  | 
| 1948 | – | cat >>confdefs.h <<\_ACEOF | 
| 1949 | – | #define debug 1 | 
| 1950 | – | _ACEOF | 
| 1951 | – |  | 
| 1952 | – | msg="$msg, debug mode" | 
| 1953 | – | fi | 
| 1954 | – |  | 
| 1955 | – |  | 
| 1530 |  | # who am i | 
| 1531 |  | # Make sure we can run config.sub. | 
| 1532 |  | $ac_config_sub sun4 >/dev/null 2>&1 || | 
| 1585 |  |  | 
| 1586 |  |  | 
| 1587 |  |  | 
| 1588 | < | ac_ext=c | 
| 1589 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 1590 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 1591 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 1592 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 1588 | > | # set program name | 
| 1589 | > | PROGNAME="oopse" | 
| 1590 | > |  | 
| 1591 | > |  | 
| 1592 | > |  | 
| 1593 | > |  | 
| 1594 | > | OBJEXT=".$OBJEXT" | 
| 1595 | > |  | 
| 1596 | > | OOPSE=oopse | 
| 1597 | > |  | 
| 1598 | > | if test "x${prefix}" = "xNONE" | 
| 1599 | > | then | 
| 1600 | > | OOPSE_HOME=${ac_default_prefix}/oopse | 
| 1601 | > | else | 
| 1602 | > | OOPSE_HOME=${prefix}/oopse | 
| 1603 | > | fi | 
| 1604 | > | # Check whether --enable-oopse-home or --disable-oopse-home was given. | 
| 1605 | > | if test "${enable_oopse_home+set}" = set; then | 
| 1606 | > | enableval="$enable_oopse_home" | 
| 1607 | > | OOPSE_HOME="${enableval}" | 
| 1608 | > | fi; | 
| 1609 | > |  | 
| 1610 | > | # there are two ways to do debugging.  One with the --enable-debug flag | 
| 1611 | > | # and one using the DEBUG environment variable | 
| 1612 | > |  | 
| 1613 | > | debug=0 | 
| 1614 | > | # Check whether --enable-debug or --disable-debug was given. | 
| 1615 | > | if test "${enable_debug+set}" = set; then | 
| 1616 | > | enableval="$enable_debug" | 
| 1617 | > | debug=1 | 
| 1618 | > | fi; | 
| 1619 | > | if test "${DEBUG}"; then | 
| 1620 | > |  | 
| 1621 | > | cat >>confdefs.h <<\_ACEOF | 
| 1622 | > | #define debug 1 | 
| 1623 | > | _ACEOF | 
| 1624 | > |  | 
| 1625 | > | msg="$msg, debug mode" | 
| 1626 | > | fi | 
| 1627 | > |  | 
| 1628 | > |  | 
| 1629 | > | # Check whether --enable-single or --disable-single was given. | 
| 1630 | > | if test "${enable_single+set}" = set; then | 
| 1631 | > | enableval="$enable_single" | 
| 1632 | > | ok=$enableval | 
| 1633 | > | else | 
| 1634 | > | ok=no | 
| 1635 | > | fi; | 
| 1636 | > | # Check whether --enable-float or --disable-float was given. | 
| 1637 | > | if test "${enable_float+set}" = set; then | 
| 1638 | > | enableval="$enable_float" | 
| 1639 | > | ok=$enableval | 
| 1640 | > | fi; | 
| 1641 | > | if test "$ok" = "yes"; then | 
| 1642 | > |  | 
| 1643 | > | cat >>confdefs.h <<\_ACEOF | 
| 1644 | > | #define SINGLE_PRECISION 1 | 
| 1645 | > | _ACEOF | 
| 1646 | > |  | 
| 1647 | > | PRECISION=s | 
| 1648 | > | else | 
| 1649 | > | PRECISION=d | 
| 1650 | > | fi | 
| 1651 | > |  | 
| 1652 | > | # Checks for programs. | 
| 1653 | > | ac_ext=cc | 
| 1654 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 1655 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 1656 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 1657 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 1658 |  | if test -n "$ac_tool_prefix"; then | 
| 1659 | < | for ac_prog in pathcc icc xlc gcc cc | 
| 1659 | > | for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC | 
| 1660 |  | do | 
| 1661 |  | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 1662 |  | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 1663 |  | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 1664 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 1665 | < | if test "${ac_cv_prog_CC+set}" = set; then | 
| 1665 | > | if test "${ac_cv_prog_CXX+set}" = set; then | 
| 1666 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1667 |  | else | 
| 1668 | < | if test -n "$CC"; then | 
| 1669 | < | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 1668 | > | if test -n "$CXX"; then | 
| 1669 | > | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
| 1670 |  | else | 
| 1671 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 1672 |  | for as_dir in $PATH | 
| 1675 |  | test -z "$as_dir" && as_dir=. | 
| 1676 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 1677 |  | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 1678 | < | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| 1678 | > | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| 1679 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 1680 |  | break 2 | 
| 1681 |  | fi | 
| 1684 |  |  | 
| 1685 |  | fi | 
| 1686 |  | fi | 
| 1687 | < | CC=$ac_cv_prog_CC | 
| 1688 | < | if test -n "$CC"; then | 
| 1689 | < | echo "$as_me:$LINENO: result: $CC" >&5 | 
| 1690 | < | echo "${ECHO_T}$CC" >&6 | 
| 1687 | > | CXX=$ac_cv_prog_CXX | 
| 1688 | > | if test -n "$CXX"; then | 
| 1689 | > | echo "$as_me:$LINENO: result: $CXX" >&5 | 
| 1690 | > | echo "${ECHO_T}$CXX" >&6 | 
| 1691 |  | else | 
| 1692 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 1693 |  | echo "${ECHO_T}no" >&6 | 
| 1694 |  | fi | 
| 1695 |  |  | 
| 1696 | < | test -n "$CC" && break | 
| 1696 | > | test -n "$CXX" && break | 
| 1697 |  | done | 
| 1698 |  | fi | 
| 1699 | < | if test -z "$CC"; then | 
| 1700 | < | ac_ct_CC=$CC | 
| 1701 | < | for ac_prog in pathcc icc xlc gcc cc | 
| 1699 | > | if test -z "$CXX"; then | 
| 1700 | > | ac_ct_CXX=$CXX | 
| 1701 | > | for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC | 
| 1702 |  | do | 
| 1703 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 1704 |  | set dummy $ac_prog; ac_word=$2 | 
| 1705 |  | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 1706 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 1707 | < | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
| 1707 | > | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
| 1708 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1709 |  | else | 
| 1710 | < | if test -n "$ac_ct_CC"; then | 
| 1711 | < | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| 1710 | > | if test -n "$ac_ct_CXX"; then | 
| 1711 | > | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
| 1712 |  | else | 
| 1713 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 1714 |  | for as_dir in $PATH | 
| 1717 |  | test -z "$as_dir" && as_dir=. | 
| 1718 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 1719 |  | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 1720 | < | ac_cv_prog_ac_ct_CC="$ac_prog" | 
| 1720 | > | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| 1721 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 1722 |  | break 2 | 
| 1723 |  | fi | 
| 1726 |  |  | 
| 1727 |  | fi | 
| 1728 |  | fi | 
| 1729 | < | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| 1730 | < | if test -n "$ac_ct_CC"; then | 
| 1731 | < | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
| 1732 | < | echo "${ECHO_T}$ac_ct_CC" >&6 | 
| 1729 | > | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
| 1730 | > | if test -n "$ac_ct_CXX"; then | 
| 1731 | > | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
| 1732 | > | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
| 1733 |  | else | 
| 1734 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 1735 |  | echo "${ECHO_T}no" >&6 | 
| 1736 |  | fi | 
| 1737 |  |  | 
| 1738 | < | test -n "$ac_ct_CC" && break | 
| 1738 | > | test -n "$ac_ct_CXX" && break | 
| 1739 |  | done | 
| 1740 | + | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
| 1741 |  |  | 
| 1742 | < | CC=$ac_ct_CC | 
| 1742 | > | CXX=$ac_ct_CXX | 
| 1743 |  | fi | 
| 1744 |  |  | 
| 1745 |  |  | 
| 2106 | – | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
| 2107 | – | See \`config.log' for more details." >&5 | 
| 2108 | – | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
| 2109 | – | See \`config.log' for more details." >&2;} | 
| 2110 | – | { (exit 1); exit 1; }; } | 
| 2111 | – |  | 
| 1746 |  | # Provide some information about the compiler. | 
| 1747 |  | echo "$as_me:$LINENO:" \ | 
| 1748 | < | "checking for C compiler version" >&5 | 
| 1748 | > | "checking for C++ compiler version" >&5 | 
| 1749 |  | ac_compiler=`set X $ac_compile; echo $2` | 
| 1750 |  | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
| 1751 |  | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
| 1783 |  | # Try to create an executable without -o first, disregard a.out. | 
| 1784 |  | # It will help us diagnose broken compilers, and finding out an intuition | 
| 1785 |  | # of exeext. | 
| 1786 | < | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 
| 1787 | < | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | 
| 1786 | > | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
| 1787 | > | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
| 1788 |  | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
| 1789 |  | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
| 1790 |  | (eval $ac_link_default) 2>&5 | 
| 1827 |  | echo "$as_me: failed program was:" >&5 | 
| 1828 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 1829 |  |  | 
| 1830 | < | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 
| 1830 | > | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
| 1831 |  | See \`config.log' for more details." >&5 | 
| 1832 | < | echo "$as_me: error: C compiler cannot create executables | 
| 1832 | > | echo "$as_me: error: C++ compiler cannot create executables | 
| 1833 |  | See \`config.log' for more details." >&2;} | 
| 1834 |  | { (exit 77); exit 77; }; } | 
| 1835 |  | fi | 
| 1840 |  |  | 
| 1841 |  | # Check the compiler produces executables we can run.  If not, either | 
| 1842 |  | # the compiler is broken, or we cross compile. | 
| 1843 | < | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 
| 1844 | < | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 
| 1843 | > | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
| 1844 | > | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
| 1845 |  | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
| 1846 |  | # If not cross compiling, check that we can run a simple program. | 
| 1847 |  | if test "$cross_compiling" != yes; then | 
| 1856 |  | if test "$cross_compiling" = maybe; then | 
| 1857 |  | cross_compiling=yes | 
| 1858 |  | else | 
| 1859 | < | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 
| 1859 | > | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
| 1860 |  | If you meant to cross compile, use \`--host'. | 
| 1861 |  | See \`config.log' for more details." >&5 | 
| 1862 | < | echo "$as_me: error: cannot run C compiled programs. | 
| 1862 | > | echo "$as_me: error: cannot run C++ compiled programs. | 
| 1863 |  | If you meant to cross compile, use \`--host'. | 
| 1864 |  | See \`config.log' for more details." >&2;} | 
| 1865 |  | { (exit 1); exit 1; }; } | 
| 1964 |  | echo "${ECHO_T}$ac_cv_objext" >&6 | 
| 1965 |  | OBJEXT=$ac_cv_objext | 
| 1966 |  | ac_objext=$OBJEXT | 
| 1967 | < | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
| 1968 | < | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
| 1969 | < | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
| 1967 | > | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
| 1968 | > | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
| 1969 | > | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
| 1970 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1971 |  | else | 
| 1972 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 1996 |  | cat conftest.err >&5 | 
| 1997 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 1998 |  | (exit $ac_status); } && | 
| 1999 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 1999 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2000 |  | || test ! -s conftest.err' | 
| 2001 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2002 |  | (eval $ac_try) 2>&5 | 
| 2017 |  | ac_compiler_gnu=no | 
| 2018 |  | fi | 
| 2019 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2020 | < | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| 2020 | > | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
| 2021 |  |  | 
| 2022 |  | fi | 
| 2023 | < | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
| 2024 | < | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
| 2025 | < | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
| 2026 | < | ac_test_CFLAGS=${CFLAGS+set} | 
| 2027 | < | ac_save_CFLAGS=$CFLAGS | 
| 2028 | < | CFLAGS="-g" | 
| 2029 | < | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
| 2030 | < | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
| 2031 | < | if test "${ac_cv_prog_cc_g+set}" = set; then | 
| 2023 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| 2024 | > | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
| 2025 | > | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
| 2026 | > | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
| 2027 | > | ac_save_CXXFLAGS=$CXXFLAGS | 
| 2028 | > | CXXFLAGS="-g" | 
| 2029 | > | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
| 2030 | > | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
| 2031 | > | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
| 2032 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2033 |  | else | 
| 2034 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2055 |  | cat conftest.err >&5 | 
| 2056 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2057 |  | (exit $ac_status); } && | 
| 2058 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 2058 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2059 |  | || test ! -s conftest.err' | 
| 2060 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2061 |  | (eval $ac_try) 2>&5 | 
| 2068 |  | ac_status=$? | 
| 2069 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2070 |  | (exit $ac_status); }; }; then | 
| 2071 | < | ac_cv_prog_cc_g=yes | 
| 2071 | > | ac_cv_prog_cxx_g=yes | 
| 2072 |  | else | 
| 2073 |  | echo "$as_me: failed program was:" >&5 | 
| 2074 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2075 |  |  | 
| 2076 | < | ac_cv_prog_cc_g=no | 
| 2076 | > | ac_cv_prog_cxx_g=no | 
| 2077 |  | fi | 
| 2078 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2079 |  | fi | 
| 2080 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
| 2081 | < | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
| 2082 | < | if test "$ac_test_CFLAGS" = set; then | 
| 2083 | < | CFLAGS=$ac_save_CFLAGS | 
| 2084 | < | elif test $ac_cv_prog_cc_g = yes; then | 
| 2085 | < | if test "$GCC" = yes; then | 
| 2086 | < | CFLAGS="-g -O2" | 
| 2080 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
| 2081 | > | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
| 2082 | > | if test "$ac_test_CXXFLAGS" = set; then | 
| 2083 | > | CXXFLAGS=$ac_save_CXXFLAGS | 
| 2084 | > | elif test $ac_cv_prog_cxx_g = yes; then | 
| 2085 | > | if test "$GXX" = yes; then | 
| 2086 | > | CXXFLAGS="-g -O2" | 
| 2087 |  | else | 
| 2088 | < | CFLAGS="-g" | 
| 2088 | > | CXXFLAGS="-g" | 
| 2089 |  | fi | 
| 2090 |  | else | 
| 2091 | < | if test "$GCC" = yes; then | 
| 2092 | < | CFLAGS="-O2" | 
| 2091 | > | if test "$GXX" = yes; then | 
| 2092 | > | CXXFLAGS="-O2" | 
| 2093 |  | else | 
| 2094 | < | CFLAGS= | 
| 2094 | > | CXXFLAGS= | 
| 2095 |  | fi | 
| 2096 |  | fi | 
| 2097 | < | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
| 2464 | < | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
| 2465 | < | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
| 2466 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2467 | < | else | 
| 2468 | < | ac_cv_prog_cc_stdc=no | 
| 2469 | < | ac_save_CC=$CC | 
| 2470 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2471 | < | /* confdefs.h.  */ | 
| 2472 | < | _ACEOF | 
| 2473 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2474 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2475 | < | /* end confdefs.h.  */ | 
| 2476 | < | #include <stdarg.h> | 
| 2477 | < | #include <stdio.h> | 
| 2478 | < | #include <sys/types.h> | 
| 2479 | < | #include <sys/stat.h> | 
| 2480 | < | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| 2481 | < | struct buf { int x; }; | 
| 2482 | < | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| 2483 | < | static char *e (p, i) | 
| 2484 | < | char **p; | 
| 2485 | < | int i; | 
| 2486 | < | { | 
| 2487 | < | return p[i]; | 
| 2488 | < | } | 
| 2489 | < | static char *f (char * (*g) (char **, int), char **p, ...) | 
| 2490 | < | { | 
| 2491 | < | char *s; | 
| 2492 | < | va_list v; | 
| 2493 | < | va_start (v,p); | 
| 2494 | < | s = g (p, va_arg (v,int)); | 
| 2495 | < | va_end (v); | 
| 2496 | < | return s; | 
| 2497 | < | } | 
| 2498 | < |  | 
| 2499 | < | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| 2500 | < | function prototypes and stuff, but not '\xHH' hex character constants. | 
| 2501 | < | These don't provoke an error unfortunately, instead are silently treated | 
| 2502 | < | as 'x'.  The following induces an error, until -std1 is added to get | 
| 2503 | < | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| 2504 | < | array size at least.  It's necessary to write '\x00'==0 to get something | 
| 2505 | < | that's true only with -std1.  */ | 
| 2506 | < | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| 2507 | < |  | 
| 2508 | < | int test (int i, double x); | 
| 2509 | < | struct s1 {int (*f) (int a);}; | 
| 2510 | < | struct s2 {int (*f) (double a);}; | 
| 2511 | < | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| 2512 | < | int argc; | 
| 2513 | < | char **argv; | 
| 2514 | < | int | 
| 2515 | < | main () | 
| 2516 | < | { | 
| 2517 | < | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| 2518 | < | ; | 
| 2519 | < | return 0; | 
| 2520 | < | } | 
| 2521 | < | _ACEOF | 
| 2522 | < | # Don't try gcc -ansi; that turns off useful extensions and | 
| 2523 | < | # breaks some systems' header files. | 
| 2524 | < | # AIX                   -qlanglvl=ansi | 
| 2525 | < | # Ultrix and OSF/1      -std1 | 
| 2526 | < | # HP-UX 10.20 and later -Ae | 
| 2527 | < | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
| 2528 | < | # SVR4                  -Xc -D__EXTENSIONS__ | 
| 2529 | < | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| 2530 | < | do | 
| 2531 | < | CC="$ac_save_CC $ac_arg" | 
| 2532 | < | rm -f conftest.$ac_objext | 
| 2533 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2534 | < | (eval $ac_compile) 2>conftest.er1 | 
| 2535 | < | ac_status=$? | 
| 2536 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2537 | < | rm -f conftest.er1 | 
| 2538 | < | cat conftest.err >&5 | 
| 2539 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2540 | < | (exit $ac_status); } && | 
| 2541 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 2542 | < | || test ! -s conftest.err' | 
| 2543 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2544 | < | (eval $ac_try) 2>&5 | 
| 2545 | < | ac_status=$? | 
| 2546 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2547 | < | (exit $ac_status); }; } && | 
| 2548 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2549 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2550 | < | (eval $ac_try) 2>&5 | 
| 2551 | < | ac_status=$? | 
| 2552 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2553 | < | (exit $ac_status); }; }; then | 
| 2554 | < | ac_cv_prog_cc_stdc=$ac_arg | 
| 2555 | < | break | 
| 2556 | < | else | 
| 2557 | < | echo "$as_me: failed program was:" >&5 | 
| 2558 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2559 | < |  | 
| 2560 | < | fi | 
| 2561 | < | rm -f conftest.err conftest.$ac_objext | 
| 2562 | < | done | 
| 2563 | < | rm -f conftest.$ac_ext conftest.$ac_objext | 
| 2564 | < | CC=$ac_save_CC | 
| 2565 | < |  | 
| 2566 | < | fi | 
| 2567 | < |  | 
| 2568 | < | case "x$ac_cv_prog_cc_stdc" in | 
| 2569 | < | x|xno) | 
| 2570 | < | echo "$as_me:$LINENO: result: none needed" >&5 | 
| 2571 | < | echo "${ECHO_T}none needed" >&6 ;; | 
| 2572 | < | *) | 
| 2573 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
| 2574 | < | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
| 2575 | < | CC="$CC $ac_cv_prog_cc_stdc" ;; | 
| 2576 | < | esac | 
| 2577 | < |  | 
| 2578 | < | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
| 2579 | < | # in C++ we need to declare it.  In case someone uses the same compiler | 
| 2580 | < | # for both compiling C and C++ we need to have the C++ compiler decide | 
| 2581 | < | # the declaration of exit, since it's the most demanding environment. | 
| 2582 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2583 | < | #ifndef __cplusplus | 
| 2584 | < | choke me | 
| 2585 | < | #endif | 
| 2586 | < | _ACEOF | 
| 2587 | < | rm -f conftest.$ac_objext | 
| 2588 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2589 | < | (eval $ac_compile) 2>conftest.er1 | 
| 2590 | < | ac_status=$? | 
| 2591 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2592 | < | rm -f conftest.er1 | 
| 2593 | < | cat conftest.err >&5 | 
| 2594 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2595 | < | (exit $ac_status); } && | 
| 2596 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 2597 | < | || test ! -s conftest.err' | 
| 2598 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2599 | < | (eval $ac_try) 2>&5 | 
| 2600 | < | ac_status=$? | 
| 2601 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2602 | < | (exit $ac_status); }; } && | 
| 2603 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2604 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2605 | < | (eval $ac_try) 2>&5 | 
| 2606 | < | ac_status=$? | 
| 2607 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2608 | < | (exit $ac_status); }; }; then | 
| 2609 | < | for ac_declaration in \ | 
| 2097 | > | for ac_declaration in \ | 
| 2098 |  | '' \ | 
| 2099 |  | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
| 2100 |  | 'extern "C" void std::exit (int); using std::exit;' \ | 
| 2127 |  | cat conftest.err >&5 | 
| 2128 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2129 |  | (exit $ac_status); } && | 
| 2130 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 2130 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2131 |  | || test ! -s conftest.err' | 
| 2132 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2133 |  | (eval $ac_try) 2>&5 | 
| 2172 |  | cat conftest.err >&5 | 
| 2173 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2174 |  | (exit $ac_status); } && | 
| 2175 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 2175 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2176 |  | || test ! -s conftest.err' | 
| 2177 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2178 |  | (eval $ac_try) 2>&5 | 
| 2200 |  | echo '#endif'             >>confdefs.h | 
| 2201 |  | fi | 
| 2202 |  |  | 
| 2715 | – | else | 
| 2716 | – | echo "$as_me: failed program was:" >&5 | 
| 2717 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2718 | – |  | 
| 2719 | – | fi | 
| 2720 | – | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2203 |  | ac_ext=c | 
| 2204 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 2205 |  | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2206 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2207 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2208 |  |  | 
| 2209 | < |  | 
| 2210 | < | ac_ext=cc | 
| 2211 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 2212 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2213 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2732 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 2209 | > | ac_ext=c | 
| 2210 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 2211 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2212 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2213 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2214 |  | if test -n "$ac_tool_prefix"; then | 
| 2215 | < | for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ | 
| 2215 | > | for ac_prog in icc pgcc pathcc cc xlc gcc | 
| 2216 |  | do | 
| 2217 |  | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 2218 |  | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 2219 |  | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2220 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2221 | < | if test "${ac_cv_prog_CXX+set}" = set; then | 
| 2221 | > | if test "${ac_cv_prog_CC+set}" = set; then | 
| 2222 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2223 |  | else | 
| 2224 | < | if test -n "$CXX"; then | 
| 2225 | < | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
| 2224 | > | if test -n "$CC"; then | 
| 2225 | > | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 2226 |  | else | 
| 2227 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2228 |  | for as_dir in $PATH | 
| 2231 |  | test -z "$as_dir" && as_dir=. | 
| 2232 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2233 |  | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2234 | < | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| 2234 | > | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| 2235 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2236 |  | break 2 | 
| 2237 |  | fi | 
| 2240 |  |  | 
| 2241 |  | fi | 
| 2242 |  | fi | 
| 2243 | < | CXX=$ac_cv_prog_CXX | 
| 2244 | < | if test -n "$CXX"; then | 
| 2245 | < | echo "$as_me:$LINENO: result: $CXX" >&5 | 
| 2246 | < | echo "${ECHO_T}$CXX" >&6 | 
| 2243 | > | CC=$ac_cv_prog_CC | 
| 2244 | > | if test -n "$CC"; then | 
| 2245 | > | echo "$as_me:$LINENO: result: $CC" >&5 | 
| 2246 | > | echo "${ECHO_T}$CC" >&6 | 
| 2247 |  | else | 
| 2248 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 2249 |  | echo "${ECHO_T}no" >&6 | 
| 2250 |  | fi | 
| 2251 |  |  | 
| 2252 | < | test -n "$CXX" && break | 
| 2252 | > | test -n "$CC" && break | 
| 2253 |  | done | 
| 2254 |  | fi | 
| 2255 | < | if test -z "$CXX"; then | 
| 2256 | < | ac_ct_CXX=$CXX | 
| 2257 | < | for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++ | 
| 2255 | > | if test -z "$CC"; then | 
| 2256 | > | ac_ct_CC=$CC | 
| 2257 | > | for ac_prog in icc pgcc pathcc cc xlc gcc | 
| 2258 |  | do | 
| 2259 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2260 |  | set dummy $ac_prog; ac_word=$2 | 
| 2261 |  | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2262 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2263 | < | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
| 2263 | > | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
| 2264 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2265 |  | else | 
| 2266 | < | if test -n "$ac_ct_CXX"; then | 
| 2267 | < | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
| 2266 | > | if test -n "$ac_ct_CC"; then | 
| 2267 | > | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| 2268 |  | else | 
| 2269 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2270 |  | for as_dir in $PATH | 
| 2273 |  | test -z "$as_dir" && as_dir=. | 
| 2274 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2275 |  | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2276 | < | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| 2276 | > | ac_cv_prog_ac_ct_CC="$ac_prog" | 
| 2277 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2278 |  | break 2 | 
| 2279 |  | fi | 
| 2282 |  |  | 
| 2283 |  | fi | 
| 2284 |  | fi | 
| 2285 | < | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
| 2286 | < | if test -n "$ac_ct_CXX"; then | 
| 2287 | < | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
| 2288 | < | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
| 2285 | > | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| 2286 | > | if test -n "$ac_ct_CC"; then | 
| 2287 | > | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
| 2288 | > | echo "${ECHO_T}$ac_ct_CC" >&6 | 
| 2289 |  | else | 
| 2290 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 2291 |  | echo "${ECHO_T}no" >&6 | 
| 2292 |  | fi | 
| 2293 |  |  | 
| 2294 | < | test -n "$ac_ct_CXX" && break | 
| 2294 | > | test -n "$ac_ct_CC" && break | 
| 2295 |  | done | 
| 2815 | – | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
| 2296 |  |  | 
| 2297 | < | CXX=$ac_ct_CXX | 
| 2297 | > | CC=$ac_ct_CC | 
| 2298 |  | fi | 
| 2299 |  |  | 
| 2300 |  |  | 
| 2301 | + | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
| 2302 | + | See \`config.log' for more details." >&5 | 
| 2303 | + | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
| 2304 | + | See \`config.log' for more details." >&2;} | 
| 2305 | + | { (exit 1); exit 1; }; } | 
| 2306 | + |  | 
| 2307 |  | # Provide some information about the compiler. | 
| 2308 |  | echo "$as_me:$LINENO:" \ | 
| 2309 | < | "checking for C++ compiler version" >&5 | 
| 2309 | > | "checking for C compiler version" >&5 | 
| 2310 |  | ac_compiler=`set X $ac_compile; echo $2` | 
| 2311 |  | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
| 2312 |  | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
| 2324 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2325 |  | (exit $ac_status); } | 
| 2326 |  |  | 
| 2327 | < | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
| 2328 | < | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
| 2329 | < | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
| 2327 | > | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
| 2328 | > | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
| 2329 | > | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
| 2330 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2331 |  | else | 
| 2332 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2356 |  | cat conftest.err >&5 | 
| 2357 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2358 |  | (exit $ac_status); } && | 
| 2359 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2359 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2360 |  | || test ! -s conftest.err' | 
| 2361 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2362 |  | (eval $ac_try) 2>&5 | 
| 2377 |  | ac_compiler_gnu=no | 
| 2378 |  | fi | 
| 2379 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2380 | < | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
| 2380 | > | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| 2381 |  |  | 
| 2382 |  | fi | 
| 2383 | < | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| 2384 | < | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
| 2385 | < | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
| 2386 | < | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
| 2387 | < | ac_save_CXXFLAGS=$CXXFLAGS | 
| 2388 | < | CXXFLAGS="-g" | 
| 2389 | < | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
| 2390 | < | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
| 2391 | < | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
| 2383 | > | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
| 2384 | > | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
| 2385 | > | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
| 2386 | > | ac_test_CFLAGS=${CFLAGS+set} | 
| 2387 | > | ac_save_CFLAGS=$CFLAGS | 
| 2388 | > | CFLAGS="-g" | 
| 2389 | > | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
| 2390 | > | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
| 2391 | > | if test "${ac_cv_prog_cc_g+set}" = set; then | 
| 2392 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2393 |  | else | 
| 2394 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2415 |  | cat conftest.err >&5 | 
| 2416 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2417 |  | (exit $ac_status); } && | 
| 2418 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2418 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2419 |  | || test ! -s conftest.err' | 
| 2420 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2421 |  | (eval $ac_try) 2>&5 | 
| 2428 |  | ac_status=$? | 
| 2429 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2430 |  | (exit $ac_status); }; }; then | 
| 2431 | < | ac_cv_prog_cxx_g=yes | 
| 2431 | > | ac_cv_prog_cc_g=yes | 
| 2432 |  | else | 
| 2433 |  | echo "$as_me: failed program was:" >&5 | 
| 2434 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2435 |  |  | 
| 2436 | < | ac_cv_prog_cxx_g=no | 
| 2436 | > | ac_cv_prog_cc_g=no | 
| 2437 |  | fi | 
| 2438 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2439 |  | fi | 
| 2440 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
| 2441 | < | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
| 2442 | < | if test "$ac_test_CXXFLAGS" = set; then | 
| 2443 | < | CXXFLAGS=$ac_save_CXXFLAGS | 
| 2444 | < | elif test $ac_cv_prog_cxx_g = yes; then | 
| 2445 | < | if test "$GXX" = yes; then | 
| 2446 | < | CXXFLAGS="-g -O2" | 
| 2440 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
| 2441 | > | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
| 2442 | > | if test "$ac_test_CFLAGS" = set; then | 
| 2443 | > | CFLAGS=$ac_save_CFLAGS | 
| 2444 | > | elif test $ac_cv_prog_cc_g = yes; then | 
| 2445 | > | if test "$GCC" = yes; then | 
| 2446 | > | CFLAGS="-g -O2" | 
| 2447 |  | else | 
| 2448 | < | CXXFLAGS="-g" | 
| 2448 | > | CFLAGS="-g" | 
| 2449 |  | fi | 
| 2450 |  | else | 
| 2451 | < | if test "$GXX" = yes; then | 
| 2452 | < | CXXFLAGS="-O2" | 
| 2451 | > | if test "$GCC" = yes; then | 
| 2452 | > | CFLAGS="-O2" | 
| 2453 |  | else | 
| 2454 | < | CXXFLAGS= | 
| 2454 | > | CFLAGS= | 
| 2455 |  | fi | 
| 2456 |  | fi | 
| 2457 | < | for ac_declaration in \ | 
| 2458 | < | '' \ | 
| 2459 | < | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
| 2460 | < | 'extern "C" void std::exit (int); using std::exit;' \ | 
| 2461 | < | 'extern "C" void exit (int) throw ();' \ | 
| 2462 | < | 'extern "C" void exit (int);' \ | 
| 2463 | < | 'void exit (int);' | 
| 2464 | < | do | 
| 2979 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2457 | > | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
| 2458 | > | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
| 2459 | > | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
| 2460 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2461 | > | else | 
| 2462 | > | ac_cv_prog_cc_stdc=no | 
| 2463 | > | ac_save_CC=$CC | 
| 2464 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 2465 |  | /* confdefs.h.  */ | 
| 2466 |  | _ACEOF | 
| 2467 |  | cat confdefs.h >>conftest.$ac_ext | 
| 2468 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 2469 |  | /* end confdefs.h.  */ | 
| 2470 | < | $ac_declaration | 
| 2471 | < | #include <stdlib.h> | 
| 2472 | < | int | 
| 2473 | < | main () | 
| 2474 | < | { | 
| 2475 | < | exit (42); | 
| 2476 | < | ; | 
| 2477 | < | return 0; | 
| 2470 | > | #include <stdarg.h> | 
| 2471 | > | #include <stdio.h> | 
| 2472 | > | #include <sys/types.h> | 
| 2473 | > | #include <sys/stat.h> | 
| 2474 | > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| 2475 | > | struct buf { int x; }; | 
| 2476 | > | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| 2477 | > | static char *e (p, i) | 
| 2478 | > | char **p; | 
| 2479 | > | int i; | 
| 2480 | > | { | 
| 2481 | > | return p[i]; | 
| 2482 |  | } | 
| 2483 | + | static char *f (char * (*g) (char **, int), char **p, ...) | 
| 2484 | + | { | 
| 2485 | + | char *s; | 
| 2486 | + | va_list v; | 
| 2487 | + | va_start (v,p); | 
| 2488 | + | s = g (p, va_arg (v,int)); | 
| 2489 | + | va_end (v); | 
| 2490 | + | return s; | 
| 2491 | + | } | 
| 2492 | + |  | 
| 2493 | + | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| 2494 | + | function prototypes and stuff, but not '\xHH' hex character constants. | 
| 2495 | + | These don't provoke an error unfortunately, instead are silently treated | 
| 2496 | + | as 'x'.  The following induces an error, until -std1 is added to get | 
| 2497 | + | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| 2498 | + | array size at least.  It's necessary to write '\x00'==0 to get something | 
| 2499 | + | that's true only with -std1.  */ | 
| 2500 | + | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| 2501 | + |  | 
| 2502 | + | int test (int i, double x); | 
| 2503 | + | struct s1 {int (*f) (int a);}; | 
| 2504 | + | struct s2 {int (*f) (double a);}; | 
| 2505 | + | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| 2506 | + | int argc; | 
| 2507 | + | char **argv; | 
| 2508 | + | int | 
| 2509 | + | main () | 
| 2510 | + | { | 
| 2511 | + | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| 2512 | + | ; | 
| 2513 | + | return 0; | 
| 2514 | + | } | 
| 2515 |  | _ACEOF | 
| 2516 | + | # Don't try gcc -ansi; that turns off useful extensions and | 
| 2517 | + | # breaks some systems' header files. | 
| 2518 | + | # AIX                   -qlanglvl=ansi | 
| 2519 | + | # Ultrix and OSF/1      -std1 | 
| 2520 | + | # HP-UX 10.20 and later -Ae | 
| 2521 | + | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
| 2522 | + | # SVR4                  -Xc -D__EXTENSIONS__ | 
| 2523 | + | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| 2524 | + | do | 
| 2525 | + | CC="$ac_save_CC $ac_arg" | 
| 2526 | + | rm -f conftest.$ac_objext | 
| 2527 | + | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2528 | + | (eval $ac_compile) 2>conftest.er1 | 
| 2529 | + | ac_status=$? | 
| 2530 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2531 | + | rm -f conftest.er1 | 
| 2532 | + | cat conftest.err >&5 | 
| 2533 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2534 | + | (exit $ac_status); } && | 
| 2535 | + | { ac_try='test -z "$ac_c_werror_flag" | 
| 2536 | + | || test ! -s conftest.err' | 
| 2537 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2538 | + | (eval $ac_try) 2>&5 | 
| 2539 | + | ac_status=$? | 
| 2540 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2541 | + | (exit $ac_status); }; } && | 
| 2542 | + | { ac_try='test -s conftest.$ac_objext' | 
| 2543 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2544 | + | (eval $ac_try) 2>&5 | 
| 2545 | + | ac_status=$? | 
| 2546 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2547 | + | (exit $ac_status); }; }; then | 
| 2548 | + | ac_cv_prog_cc_stdc=$ac_arg | 
| 2549 | + | break | 
| 2550 | + | else | 
| 2551 | + | echo "$as_me: failed program was:" >&5 | 
| 2552 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2553 | + |  | 
| 2554 | + | fi | 
| 2555 | + | rm -f conftest.err conftest.$ac_objext | 
| 2556 | + | done | 
| 2557 | + | rm -f conftest.$ac_ext conftest.$ac_objext | 
| 2558 | + | CC=$ac_save_CC | 
| 2559 | + |  | 
| 2560 | + | fi | 
| 2561 | + |  | 
| 2562 | + | case "x$ac_cv_prog_cc_stdc" in | 
| 2563 | + | x|xno) | 
| 2564 | + | echo "$as_me:$LINENO: result: none needed" >&5 | 
| 2565 | + | echo "${ECHO_T}none needed" >&6 ;; | 
| 2566 | + | *) | 
| 2567 | + | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
| 2568 | + | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
| 2569 | + | CC="$CC $ac_cv_prog_cc_stdc" ;; | 
| 2570 | + | esac | 
| 2571 | + |  | 
| 2572 | + | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
| 2573 | + | # in C++ we need to declare it.  In case someone uses the same compiler | 
| 2574 | + | # for both compiling C and C++ we need to have the C++ compiler decide | 
| 2575 | + | # the declaration of exit, since it's the most demanding environment. | 
| 2576 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 2577 | + | #ifndef __cplusplus | 
| 2578 | + | choke me | 
| 2579 | + | #endif | 
| 2580 | + | _ACEOF | 
| 2581 |  | rm -f conftest.$ac_objext | 
| 2582 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2583 |  | (eval $ac_compile) 2>conftest.er1 | 
| 2587 |  | cat conftest.err >&5 | 
| 2588 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2589 |  | (exit $ac_status); } && | 
| 2590 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2590 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2591 |  | || test ! -s conftest.err' | 
| 2592 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2593 |  | (eval $ac_try) 2>&5 | 
| 2600 |  | ac_status=$? | 
| 2601 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2602 |  | (exit $ac_status); }; }; then | 
| 2603 | + | for ac_declaration in \ | 
| 2604 | + | '' \ | 
| 2605 | + | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
| 2606 | + | 'extern "C" void std::exit (int); using std::exit;' \ | 
| 2607 | + | 'extern "C" void exit (int) throw ();' \ | 
| 2608 | + | 'extern "C" void exit (int);' \ | 
| 2609 | + | 'void exit (int);' | 
| 2610 | + | do | 
| 2611 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 2612 | + | /* confdefs.h.  */ | 
| 2613 | + | _ACEOF | 
| 2614 | + | cat confdefs.h >>conftest.$ac_ext | 
| 2615 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 2616 | + | /* end confdefs.h.  */ | 
| 2617 | + | $ac_declaration | 
| 2618 | + | #include <stdlib.h> | 
| 2619 | + | int | 
| 2620 | + | main () | 
| 2621 | + | { | 
| 2622 | + | exit (42); | 
| 2623 | + | ; | 
| 2624 | + | return 0; | 
| 2625 | + | } | 
| 2626 | + | _ACEOF | 
| 2627 | + | rm -f conftest.$ac_objext | 
| 2628 | + | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2629 | + | (eval $ac_compile) 2>conftest.er1 | 
| 2630 | + | ac_status=$? | 
| 2631 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2632 | + | rm -f conftest.er1 | 
| 2633 | + | cat conftest.err >&5 | 
| 2634 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2635 | + | (exit $ac_status); } && | 
| 2636 | + | { ac_try='test -z "$ac_c_werror_flag" | 
| 2637 | + | || test ! -s conftest.err' | 
| 2638 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2639 | + | (eval $ac_try) 2>&5 | 
| 2640 | + | ac_status=$? | 
| 2641 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2642 | + | (exit $ac_status); }; } && | 
| 2643 | + | { ac_try='test -s conftest.$ac_objext' | 
| 2644 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2645 | + | (eval $ac_try) 2>&5 | 
| 2646 | + | ac_status=$? | 
| 2647 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2648 | + | (exit $ac_status); }; }; then | 
| 2649 |  | : | 
| 2650 |  | else | 
| 2651 |  | echo "$as_me: failed program was:" >&5 | 
| 2678 |  | cat conftest.err >&5 | 
| 2679 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2680 |  | (exit $ac_status); } && | 
| 2681 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2681 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2682 |  | || test ! -s conftest.err' | 
| 2683 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2684 |  | (eval $ac_try) 2>&5 | 
| 2706 |  | echo '#endif'             >>confdefs.h | 
| 2707 |  | fi | 
| 2708 |  |  | 
| 2709 | + | else | 
| 2710 | + | echo "$as_me: failed program was:" >&5 | 
| 2711 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2712 | + |  | 
| 2713 | + | fi | 
| 2714 | + | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2715 |  | ac_ext=c | 
| 2716 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 2717 |  | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2718 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2719 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2720 | + |  | 
| 2721 | + | ac_ext=${FC_SRCEXT-f} | 
| 2722 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 2723 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 2724 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 2725 | + | if test -n "$ac_tool_prefix"; then | 
| 2726 | + | for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 2727 | + | do | 
| 2728 | + | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 2729 | + | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 2730 | + | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2731 | + | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2732 | + | if test "${ac_cv_prog_FC+set}" = set; then | 
| 2733 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2734 | + | else | 
| 2735 | + | if test -n "$FC"; then | 
| 2736 | + | ac_cv_prog_FC="$FC" # Let the user override the test. | 
| 2737 | + | else | 
| 2738 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2739 | + | for as_dir in $PATH | 
| 2740 | + | do | 
| 2741 | + | IFS=$as_save_IFS | 
| 2742 | + | test -z "$as_dir" && as_dir=. | 
| 2743 | + | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2744 | + | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2745 | + | ac_cv_prog_FC="$ac_tool_prefix$ac_prog" | 
| 2746 | + | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2747 | + | break 2 | 
| 2748 | + | fi | 
| 2749 | + | done | 
| 2750 | + | done | 
| 2751 | + |  | 
| 2752 | + | fi | 
| 2753 | + | fi | 
| 2754 | + | FC=$ac_cv_prog_FC | 
| 2755 | + | if test -n "$FC"; then | 
| 2756 | + | echo "$as_me:$LINENO: result: $FC" >&5 | 
| 2757 | + | echo "${ECHO_T}$FC" >&6 | 
| 2758 | + | else | 
| 2759 | + | echo "$as_me:$LINENO: result: no" >&5 | 
| 2760 | + | echo "${ECHO_T}no" >&6 | 
| 2761 | + | fi | 
| 2762 | + |  | 
| 2763 | + | test -n "$FC" && break | 
| 2764 | + | done | 
| 2765 | + | fi | 
| 2766 | + | if test -z "$FC"; then | 
| 2767 | + | ac_ct_FC=$FC | 
| 2768 | + | for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 2769 | + | do | 
| 2770 | + | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2771 | + | set dummy $ac_prog; ac_word=$2 | 
| 2772 | + | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2773 | + | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2774 | + | if test "${ac_cv_prog_ac_ct_FC+set}" = set; then | 
| 2775 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2776 | + | else | 
| 2777 | + | if test -n "$ac_ct_FC"; then | 
| 2778 | + | ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. | 
| 2779 | + | else | 
| 2780 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2781 | + | for as_dir in $PATH | 
| 2782 | + | do | 
| 2783 | + | IFS=$as_save_IFS | 
| 2784 | + | test -z "$as_dir" && as_dir=. | 
| 2785 | + | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2786 | + | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2787 | + | ac_cv_prog_ac_ct_FC="$ac_prog" | 
| 2788 | + | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2789 | + | break 2 | 
| 2790 | + | fi | 
| 2791 | + | done | 
| 2792 | + | done | 
| 2793 | + |  | 
| 2794 | + | fi | 
| 2795 | + | fi | 
| 2796 | + | ac_ct_FC=$ac_cv_prog_ac_ct_FC | 
| 2797 | + | if test -n "$ac_ct_FC"; then | 
| 2798 | + | echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 | 
| 2799 | + | echo "${ECHO_T}$ac_ct_FC" >&6 | 
| 2800 | + | else | 
| 2801 | + | echo "$as_me:$LINENO: result: no" >&5 | 
| 2802 | + | echo "${ECHO_T}no" >&6 | 
| 2803 | + | fi | 
| 2804 | + |  | 
| 2805 | + | test -n "$ac_ct_FC" && break | 
| 2806 | + | done | 
| 2807 | + |  | 
| 2808 | + | FC=$ac_ct_FC | 
| 2809 | + | fi | 
| 2810 | + |  | 
| 2811 | + |  | 
| 2812 | + | # Provide some information about the compiler. | 
| 2813 | + | echo "$as_me:2813:" \ | 
| 2814 | + | "checking for Fortran compiler version" >&5 | 
| 2815 | + | ac_compiler=`set X $ac_compile; echo $2` | 
| 2816 | + | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
| 2817 | + | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
| 2818 | + | ac_status=$? | 
| 2819 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2820 | + | (exit $ac_status); } | 
| 2821 | + | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
| 2822 | + | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
| 2823 | + | ac_status=$? | 
| 2824 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2825 | + | (exit $ac_status); } | 
| 2826 | + | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
| 2827 | + | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
| 2828 | + | ac_status=$? | 
| 2829 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2830 | + | (exit $ac_status); } | 
| 2831 | + | rm -f a.out | 
| 2832 |  |  | 
| 2833 | + | # If we don't use `.F' as extension, the preprocessor is not run on the | 
| 2834 | + | # input file.  (Note that this only needs to work for GNU compilers.) | 
| 2835 | + | ac_save_ext=$ac_ext | 
| 2836 | + | ac_ext=F | 
| 2837 | + | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 | 
| 2838 | + | echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6 | 
| 2839 | + | if test "${ac_cv_fc_compiler_gnu+set}" = set; then | 
| 2840 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2841 | + | else | 
| 2842 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 2843 | + | program main | 
| 2844 | + | #ifndef __GNUC__ | 
| 2845 | + | choke me | 
| 2846 | + | #endif | 
| 2847 |  |  | 
| 2848 | + | end | 
| 2849 | + | _ACEOF | 
| 2850 | + | rm -f conftest.$ac_objext | 
| 2851 | + | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2852 | + | (eval $ac_compile) 2>conftest.er1 | 
| 2853 | + | ac_status=$? | 
| 2854 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2855 | + | rm -f conftest.er1 | 
| 2856 | + | cat conftest.err >&5 | 
| 2857 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2858 | + | (exit $ac_status); } && | 
| 2859 | + | { ac_try='test -z "$ac_fc_werror_flag" | 
| 2860 | + | || test ! -s conftest.err' | 
| 2861 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2862 | + | (eval $ac_try) 2>&5 | 
| 2863 | + | ac_status=$? | 
| 2864 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2865 | + | (exit $ac_status); }; } && | 
| 2866 | + | { ac_try='test -s conftest.$ac_objext' | 
| 2867 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2868 | + | (eval $ac_try) 2>&5 | 
| 2869 | + | ac_status=$? | 
| 2870 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2871 | + | (exit $ac_status); }; }; then | 
| 2872 | + | ac_compiler_gnu=yes | 
| 2873 | + | else | 
| 2874 | + | echo "$as_me: failed program was:" >&5 | 
| 2875 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2876 | + |  | 
| 2877 | + | ac_compiler_gnu=no | 
| 2878 | + | fi | 
| 2879 | + | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2880 | + | ac_cv_fc_compiler_gnu=$ac_compiler_gnu | 
| 2881 | + |  | 
| 2882 | + | fi | 
| 2883 | + | echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 | 
| 2884 | + | echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6 | 
| 2885 | + | ac_ext=$ac_save_ext | 
| 2886 | + | ac_test_FFLAGS=${FCFLAGS+set} | 
| 2887 | + | ac_save_FFLAGS=$FCFLAGS | 
| 2888 | + | FCFLAGS= | 
| 2889 | + | echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 | 
| 2890 | + | echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6 | 
| 2891 | + | if test "${ac_cv_prog_fc_g+set}" = set; then | 
| 2892 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2893 | + | else | 
| 2894 | + | FCFLAGS=-g | 
| 2895 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 2896 | + | program main | 
| 2897 | + |  | 
| 2898 | + | end | 
| 2899 | + | _ACEOF | 
| 2900 | + | rm -f conftest.$ac_objext | 
| 2901 | + | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2902 | + | (eval $ac_compile) 2>conftest.er1 | 
| 2903 | + | ac_status=$? | 
| 2904 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2905 | + | rm -f conftest.er1 | 
| 2906 | + | cat conftest.err >&5 | 
| 2907 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2908 | + | (exit $ac_status); } && | 
| 2909 | + | { ac_try='test -z "$ac_fc_werror_flag" | 
| 2910 | + | || test ! -s conftest.err' | 
| 2911 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2912 | + | (eval $ac_try) 2>&5 | 
| 2913 | + | ac_status=$? | 
| 2914 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2915 | + | (exit $ac_status); }; } && | 
| 2916 | + | { ac_try='test -s conftest.$ac_objext' | 
| 2917 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2918 | + | (eval $ac_try) 2>&5 | 
| 2919 | + | ac_status=$? | 
| 2920 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2921 | + | (exit $ac_status); }; }; then | 
| 2922 | + | ac_cv_prog_fc_g=yes | 
| 2923 | + | else | 
| 2924 | + | echo "$as_me: failed program was:" >&5 | 
| 2925 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2926 | + |  | 
| 2927 | + | ac_cv_prog_fc_g=no | 
| 2928 | + | fi | 
| 2929 | + | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2930 | + |  | 
| 2931 | + | fi | 
| 2932 | + | echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 | 
| 2933 | + | echo "${ECHO_T}$ac_cv_prog_fc_g" >&6 | 
| 2934 | + | if test "$ac_test_FFLAGS" = set; then | 
| 2935 | + | FCFLAGS=$ac_save_FFLAGS | 
| 2936 | + | elif test $ac_cv_prog_fc_g = yes; then | 
| 2937 | + | if test "x$ac_cv_fc_compiler_gnu" = xyes; then | 
| 2938 | + | FCFLAGS="-g -O2" | 
| 2939 | + | else | 
| 2940 | + | FCFLAGS="-g" | 
| 2941 | + | fi | 
| 2942 | + | else | 
| 2943 | + | if test "x$ac_cv_fc_compiler_gnu" = xyes; then | 
| 2944 | + | FCFLAGS="-O2" | 
| 2945 | + | else | 
| 2946 | + | FCFLAGS= | 
| 2947 | + | fi | 
| 2948 | + | fi | 
| 2949 | + |  | 
| 2950 |  | ac_ext=c | 
| 2951 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 2952 |  | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2953 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2954 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2955 | + |  | 
| 2956 | + | ac_ext=c | 
| 2957 | + | ac_cpp='$CPP $CPPFLAGS' | 
| 2958 | + | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2959 | + | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2960 | + | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2961 |  | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
| 2962 |  | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
| 2963 |  | # On Suns, sometimes $CPP names a directory. | 
| 3187 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3188 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3189 |  |  | 
| 3318 | – |  | 
| 3190 |  | echo "$as_me:$LINENO: checking for egrep" >&5 | 
| 3191 |  | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
| 3192 |  | if test "${ac_cv_prog_egrep+set}" = set; then | 
| 3202 |  | EGREP=$ac_cv_prog_egrep | 
| 3203 |  |  | 
| 3204 |  |  | 
| 3205 | < |  | 
| 3206 | < | OOPSE_TEMPLATE_FLAGS="" | 
| 3207 | < | if test $ac_cv_cxx_compiler_gnu = no; then | 
| 3208 | < | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 | 
| 3209 | < | echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6 | 
| 3339 | < | echo 'void f(){}' > conftest.cc | 
| 3340 | < | if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then | 
| 3341 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3205 | > | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
| 3206 | > | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
| 3207 | > | LN_S=$as_ln_s | 
| 3208 | > | if test "$LN_S" = "ln -s"; then | 
| 3209 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3210 |  | echo "${ECHO_T}yes" >&6 | 
| 3211 | < | OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink" | 
| 3212 | < | else | 
| 3213 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 3214 | < | echo "${ECHO_T}no" >&6 | 
| 3215 | < | fi | 
| 3216 | < | rm -f conftest* | 
| 3217 | < | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5 | 
| 3218 | < | echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6 | 
| 3219 | < | echo 'void f(){}' > conftest.cc | 
| 3220 | < | if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then | 
| 3221 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3211 | > | else | 
| 3212 | > | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
| 3213 | > | echo "${ECHO_T}no, using $LN_S" >&6 | 
| 3214 | > | fi | 
| 3215 | > |  | 
| 3216 | > | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
| 3217 | > | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
| 3218 | > | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
| 3219 | > | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
| 3220 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3221 | > | else | 
| 3222 | > | cat >conftest.make <<\_ACEOF | 
| 3223 | > | all: | 
| 3224 | > | @echo 'ac_maketemp="$(MAKE)"' | 
| 3225 | > | _ACEOF | 
| 3226 | > | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
| 3227 | > | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
| 3228 | > | if test -n "$ac_maketemp"; then | 
| 3229 | > | eval ac_cv_prog_make_${ac_make}_set=yes | 
| 3230 | > | else | 
| 3231 | > | eval ac_cv_prog_make_${ac_make}_set=no | 
| 3232 | > | fi | 
| 3233 | > | rm -f conftest.make | 
| 3234 | > | fi | 
| 3235 | > | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
| 3236 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3237 |  | echo "${ECHO_T}yes" >&6 | 
| 3238 | < | OOPSE_TEMPLATE_FLAGS="-instances=static" | 
| 3239 | < | else | 
| 3240 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 3238 | > | SET_MAKE= | 
| 3239 | > | else | 
| 3240 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3241 | > | echo "${ECHO_T}no" >&6 | 
| 3242 | > | SET_MAKE="MAKE=${MAKE-make}" | 
| 3243 | > | fi | 
| 3244 | > |  | 
| 3245 | > | if test -n "$ac_tool_prefix"; then | 
| 3246 | > | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
| 3247 | > | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
| 3248 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3249 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3250 | > | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
| 3251 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3252 | > | else | 
| 3253 | > | if test -n "$RANLIB"; then | 
| 3254 | > | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| 3255 | > | else | 
| 3256 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3257 | > | for as_dir in $PATH | 
| 3258 | > | do | 
| 3259 | > | IFS=$as_save_IFS | 
| 3260 | > | test -z "$as_dir" && as_dir=. | 
| 3261 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3262 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3263 | > | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
| 3264 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3265 | > | break 2 | 
| 3266 | > | fi | 
| 3267 | > | done | 
| 3268 | > | done | 
| 3269 | > |  | 
| 3270 | > | fi | 
| 3271 | > | fi | 
| 3272 | > | RANLIB=$ac_cv_prog_RANLIB | 
| 3273 | > | if test -n "$RANLIB"; then | 
| 3274 | > | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
| 3275 | > | echo "${ECHO_T}$RANLIB" >&6 | 
| 3276 | > | else | 
| 3277 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3278 |  | echo "${ECHO_T}no" >&6 | 
| 3279 | + | fi | 
| 3280 | + |  | 
| 3281 | + | fi | 
| 3282 | + | if test -z "$ac_cv_prog_RANLIB"; then | 
| 3283 | + | ac_ct_RANLIB=$RANLIB | 
| 3284 | + | # Extract the first word of "ranlib", so it can be a program name with args. | 
| 3285 | + | set dummy ranlib; ac_word=$2 | 
| 3286 | + | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3287 | + | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3288 | + | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
| 3289 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3290 | + | else | 
| 3291 | + | if test -n "$ac_ct_RANLIB"; then | 
| 3292 | + | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
| 3293 | + | else | 
| 3294 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3295 | + | for as_dir in $PATH | 
| 3296 | + | do | 
| 3297 | + | IFS=$as_save_IFS | 
| 3298 | + | test -z "$as_dir" && as_dir=. | 
| 3299 | + | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3300 | + | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3301 | + | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
| 3302 | + | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3303 | + | break 2 | 
| 3304 |  | fi | 
| 3305 | < | rm -f conftest* | 
| 3306 | < | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5 | 
| 3307 | < | echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6 | 
| 3308 | < | echo 'void f(){}' > conftest.cc | 
| 3309 | < | if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then | 
| 3310 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3311 | < | echo "${ECHO_T}yes" >&6 | 
| 3312 | < | OOPSE_TEMPLATE_FLAGS="-pto" | 
| 3313 | < | else | 
| 3314 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 3305 | > | done | 
| 3306 | > | done | 
| 3307 | > |  | 
| 3308 | > | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
| 3309 | > | fi | 
| 3310 | > | fi | 
| 3311 | > | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
| 3312 | > | if test -n "$ac_ct_RANLIB"; then | 
| 3313 | > | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
| 3314 | > | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
| 3315 | > | else | 
| 3316 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3317 |  | echo "${ECHO_T}no" >&6 | 
| 3318 | + | fi | 
| 3319 | + |  | 
| 3320 | + | RANLIB=$ac_ct_RANLIB | 
| 3321 | + | else | 
| 3322 | + | RANLIB="$ac_cv_prog_RANLIB" | 
| 3323 | + | fi | 
| 3324 | + |  | 
| 3325 | + |  | 
| 3326 | + | # Extract the first word of "perl", so it can be a program name with args. | 
| 3327 | + | set dummy perl; ac_word=$2 | 
| 3328 | + | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3329 | + | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3330 | + | if test "${ac_cv_path_PERLINTERP+set}" = set; then | 
| 3331 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3332 | + | else | 
| 3333 | + | case $PERLINTERP in | 
| 3334 | + | [\\/]* | ?:[\\/]*) | 
| 3335 | + | ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. | 
| 3336 | + | ;; | 
| 3337 | + | *) | 
| 3338 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3339 | + | for as_dir in $PATH | 
| 3340 | + | do | 
| 3341 | + | IFS=$as_save_IFS | 
| 3342 | + | test -z "$as_dir" && as_dir=. | 
| 3343 | + | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3344 | + | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3345 | + | ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" | 
| 3346 | + | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3347 | + | break 2 | 
| 3348 |  | fi | 
| 3349 | < | rm -f conftest* | 
| 3350 | < | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5 | 
| 3374 | < | echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6 | 
| 3375 | < | echo 'void f(){}' > conftest.cc | 
| 3376 | < | if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then | 
| 3377 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3378 | < | echo "${ECHO_T}yes" >&6 | 
| 3349 | > | done | 
| 3350 | > | done | 
| 3351 |  |  | 
| 3352 | + | test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" | 
| 3353 | + | ;; | 
| 3354 | + | esac | 
| 3355 | + | fi | 
| 3356 | + | PERLINTERP=$ac_cv_path_PERLINTERP | 
| 3357 |  |  | 
| 3358 | < | EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std" | 
| 3359 | < | else | 
| 3360 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 3358 | > | if test -n "$PERLINTERP"; then | 
| 3359 | > | echo "$as_me:$LINENO: result: $PERLINTERP" >&5 | 
| 3360 | > | echo "${ECHO_T}$PERLINTERP" >&6 | 
| 3361 | > | else | 
| 3362 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3363 |  | echo "${ECHO_T}no" >&6 | 
| 3364 | + | fi | 
| 3365 | + |  | 
| 3366 | + | ac_cv_path_perlinterp="$PERLINTERP" | 
| 3367 | + | _sHpB='#!' | 
| 3368 | + |  | 
| 3369 | + |  | 
| 3370 | + | # Check whether --with-perl-shebang or --without-perl-shebang was given. | 
| 3371 | + | if test "${with_perl_shebang+set}" = set; then | 
| 3372 | + | withval="$with_perl_shebang" | 
| 3373 | + | opt_perl_shebang="$withval" | 
| 3374 | + | else | 
| 3375 | + | opt_perl_shebang="not_set" | 
| 3376 | + | fi; | 
| 3377 | + | echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 | 
| 3378 | + | echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 | 
| 3379 | + | if test "${ax_cv_opt_perl_shebang+set}" = set; then | 
| 3380 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3381 | + | else | 
| 3382 | + | case "$opt_perl_shebang" in | 
| 3383 | + | not_set  ) ax_cv_opt_perl_shebang='' | 
| 3384 | + | ;; | 
| 3385 | + | *     ) | 
| 3386 | + | ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` | 
| 3387 | + | esac | 
| 3388 | + |  | 
| 3389 | + | fi | 
| 3390 | + | echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 | 
| 3391 | + | echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 | 
| 3392 | + | if test "A$ax_cv_opt_perl_shebang" != "A" | 
| 3393 | + | then | 
| 3394 | + | ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" | 
| 3395 | + | PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" | 
| 3396 | + | { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 | 
| 3397 | + | echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} | 
| 3398 | + |  | 
| 3399 | + | # Automatic detection of sharpbang formula starts here | 
| 3400 | + | else | 
| 3401 | + | _somian_shbangperl=`$PERLINTERP -V:startperl` | 
| 3402 | + | negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh | 
| 3403 | + | echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 | 
| 3404 | + | echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 | 
| 3405 | + | if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then | 
| 3406 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3407 | + | else | 
| 3408 | + | _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` | 
| 3409 | + | if test "x$_somian_kspb_perl" == x | 
| 3410 | + | then _somian_ksbp_warn_empty='durnit' | 
| 3411 | + | else | 
| 3412 | + | case "A$_somian_kspb_perl" in | 
| 3413 | + | A#!*perl* ) | 
| 3414 | + | ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` | 
| 3415 | + | ;; | 
| 3416 | + | A*    )  _somian_ksbp_warn_defau='trouble' | 
| 3417 | + | ac_cv_sys_kernshrpbang_perl="$PERLINTERP" | 
| 3418 | + | esac | 
| 3419 | + | fi | 
| 3420 | + |  | 
| 3421 | + | fi | 
| 3422 | + | echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 | 
| 3423 | + | echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 | 
| 3424 | + | # The above prints Checking ... result message to user. | 
| 3425 | + | PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" | 
| 3426 | + |  | 
| 3427 | + | if test A${_somian_ksbp_warn_empty+set} == Aset | 
| 3428 | + | then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 | 
| 3429 | + | echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} | 
| 3430 | + | fi | 
| 3431 | + | # Inform user after printing result value | 
| 3432 | + | if test A${_somian_ksbp_warn_defau+set} == Aset | 
| 3433 | + | then { echo "$as_me:$LINENO: Maybe Not good -" >&5 | 
| 3434 | + | echo "$as_me: Maybe Not good -" >&6;} | 
| 3435 | + | { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 | 
| 3436 | + | echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} | 
| 3437 | + | else { echo "$as_me:$LINENO: OK Good result - " >&5 | 
| 3438 | + | echo "$as_me: OK Good result - " >&6;} | 
| 3439 | + | { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 | 
| 3440 | + | echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} | 
| 3441 | + | fi | 
| 3442 |  | fi | 
| 3443 | + |  | 
| 3444 | + | # Find a good install program.  We prefer a C program (faster), | 
| 3445 | + | # so one script is as good as another.  But avoid the broken or | 
| 3446 | + | # incompatible versions: | 
| 3447 | + | # SysV /etc/install, /usr/sbin/install | 
| 3448 | + | # SunOS /usr/etc/install | 
| 3449 | + | # IRIX /sbin/install | 
| 3450 | + | # AIX /bin/install | 
| 3451 | + | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
| 3452 | + | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| 3453 | + | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| 3454 | + | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| 3455 | + | # OS/2's system install, which has a completely different semantic | 
| 3456 | + | # ./install, which can be erroneously created by make from ./install.sh. | 
| 3457 | + | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
| 3458 | + | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
| 3459 | + | if test -z "$INSTALL"; then | 
| 3460 | + | if test "${ac_cv_path_install+set}" = set; then | 
| 3461 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3462 | + | else | 
| 3463 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3464 | + | for as_dir in $PATH | 
| 3465 | + | do | 
| 3466 | + | IFS=$as_save_IFS | 
| 3467 | + | test -z "$as_dir" && as_dir=. | 
| 3468 | + | # Account for people who put trailing slashes in PATH elements. | 
| 3469 | + | case $as_dir/ in | 
| 3470 | + | ./ | .// | /cC/* | \ | 
| 3471 | + | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
| 3472 | + | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
| 3473 | + | /usr/ucb/* ) ;; | 
| 3474 | + | *) | 
| 3475 | + | # OSF1 and SCO ODT 3.0 have their own names for install. | 
| 3476 | + | # Don't use installbsd from OSF since it installs stuff as root | 
| 3477 | + | # by default. | 
| 3478 | + | for ac_prog in ginstall scoinst install; do | 
| 3479 | + | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3480 | + | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
| 3481 | + | if test $ac_prog = install && | 
| 3482 | + | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
| 3483 | + | # AIX install.  It has an incompatible calling convention. | 
| 3484 | + | : | 
| 3485 | + | elif test $ac_prog = install && | 
| 3486 | + | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
| 3487 | + | # program-specific install script used by HP pwplus--don't use. | 
| 3488 | + | : | 
| 3489 | + | else | 
| 3490 | + | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
| 3491 | + | break 3 | 
| 3492 | + | fi | 
| 3493 | + | fi | 
| 3494 | + | done | 
| 3495 | + | done | 
| 3496 | + | ;; | 
| 3497 | + | esac | 
| 3498 | + | done | 
| 3499 | + |  | 
| 3500 | + |  | 
| 3501 |  | fi | 
| 3502 | + | if test "${ac_cv_path_install+set}" = set; then | 
| 3503 | + | INSTALL=$ac_cv_path_install | 
| 3504 | + | else | 
| 3505 | + | # As a last resort, use the slow shell script.  We don't cache a | 
| 3506 | + | # path for INSTALL within a source directory, because that will | 
| 3507 | + | # break other packages using the cache if that directory is | 
| 3508 | + | # removed, or if the path is relative. | 
| 3509 | + | INSTALL=$ac_install_sh | 
| 3510 | + | fi | 
| 3511 | + | fi | 
| 3512 | + | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
| 3513 | + | echo "${ECHO_T}$INSTALL" >&6 | 
| 3514 |  |  | 
| 3515 | + | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
| 3516 | + | # It thinks the first close brace ends the variable substitution. | 
| 3517 | + | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
| 3518 |  |  | 
| 3519 | + | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
| 3520 |  |  | 
| 3521 | + | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 3522 |  |  | 
| 3523 | < | ac_ext=f90 | 
| 3524 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3525 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3526 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3527 | < | if test -n "$ac_tool_prefix"; then | 
| 3528 | < | for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 | 
| 3529 | < | do | 
| 3398 | < | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 3399 | < | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 3523 | > | case "x$INSTALL" in | 
| 3524 | > | x/*) ;; | 
| 3525 | > | *) INSTALL=`pwd`/ac-tools/"shtool install -c" ; | 
| 3526 | > | esac | 
| 3527 | > | MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" | 
| 3528 | > | # Extract the first word of "ar", so it can be a program name with args. | 
| 3529 | > | set dummy ar; ac_word=$2 | 
| 3530 |  | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3531 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3532 | < | if test "${ac_cv_prog_F90+set}" = set; then | 
| 3532 | > | if test "${ac_cv_prog_AR+set}" = set; then | 
| 3533 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3534 |  | else | 
| 3535 | < | if test -n "$F90"; then | 
| 3536 | < | ac_cv_prog_F90="$F90" # Let the user override the test. | 
| 3535 | > | if test -n "$AR"; then | 
| 3536 | > | ac_cv_prog_AR="$AR" # Let the user override the test. | 
| 3537 |  | else | 
| 3538 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3539 |  | for as_dir in $PATH | 
| 3542 |  | test -z "$as_dir" && as_dir=. | 
| 3543 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3544 |  | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3545 | < | ac_cv_prog_F90="$ac_tool_prefix$ac_prog" | 
| 3545 | > | ac_cv_prog_AR="ar" | 
| 3546 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3547 |  | break 2 | 
| 3548 |  | fi | 
| 3549 |  | done | 
| 3550 |  | done | 
| 3551 |  |  | 
| 3552 | + | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" | 
| 3553 |  | fi | 
| 3554 |  | fi | 
| 3555 | < | F90=$ac_cv_prog_F90 | 
| 3556 | < | if test -n "$F90"; then | 
| 3557 | < | echo "$as_me:$LINENO: result: $F90" >&5 | 
| 3558 | < | echo "${ECHO_T}$F90" >&6 | 
| 3555 | > | AR=$ac_cv_prog_AR | 
| 3556 | > | if test -n "$AR"; then | 
| 3557 | > | echo "$as_me:$LINENO: result: $AR" >&5 | 
| 3558 | > | echo "${ECHO_T}$AR" >&6 | 
| 3559 |  | else | 
| 3560 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 3561 |  | echo "${ECHO_T}no" >&6 | 
| 3562 |  | fi | 
| 3563 |  |  | 
| 3564 | < | test -n "$F90" && break | 
| 3565 | < | done | 
| 3564 | > | if test "$AR" = "NONE"; then | 
| 3565 | > | cat >confcache <<\_ACEOF | 
| 3566 | > | # This file is a shell script that caches the results of configure | 
| 3567 | > | # tests run on this system so they can be shared between configure | 
| 3568 | > | # scripts and configure runs, see configure's option --config-cache. | 
| 3569 | > | # It is not useful on other systems.  If it contains results you don't | 
| 3570 | > | # want to keep, you may remove or edit it. | 
| 3571 | > | # | 
| 3572 | > | # config.status only pays attention to the cache file if you give it | 
| 3573 | > | # the --recheck option to rerun configure. | 
| 3574 | > | # | 
| 3575 | > | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
| 3576 | > | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
| 3577 | > | # following values. | 
| 3578 | > |  | 
| 3579 | > | _ACEOF | 
| 3580 | > |  | 
| 3581 | > | # The following way of writing the cache mishandles newlines in values, | 
| 3582 | > | # but we know of no workaround that is simple, portable, and efficient. | 
| 3583 | > | # So, don't put newlines in cache variables' values. | 
| 3584 | > | # Ultrix sh set writes to stderr and can't be redirected directly, | 
| 3585 | > | # and sets the high bit in the cache file unless we assign to the vars. | 
| 3586 | > | { | 
| 3587 | > | (set) 2>&1 | | 
| 3588 | > | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
| 3589 | > | *ac_space=\ *) | 
| 3590 | > | # `set' does not quote correctly, so add quotes (double-quote | 
| 3591 | > | # substitution turns \\\\ into \\, and sed turns \\ into \). | 
| 3592 | > | sed -n \ | 
| 3593 | > | "s/'/'\\\\''/g; | 
| 3594 | > | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
| 3595 | > | ;; | 
| 3596 | > | *) | 
| 3597 | > | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
| 3598 | > | sed -n \ | 
| 3599 | > | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 3600 | > | ;; | 
| 3601 | > | esac; | 
| 3602 | > | } | | 
| 3603 | > | sed ' | 
| 3604 | > | t clear | 
| 3605 | > | : clear | 
| 3606 | > | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
| 3607 | > | t end | 
| 3608 | > | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
| 3609 | > | : end' >>confcache | 
| 3610 | > | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
| 3611 | > | if test -w $cache_file; then | 
| 3612 | > | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
| 3613 | > | cat confcache >$cache_file | 
| 3614 | > | else | 
| 3615 | > | echo "not updating unwritable cache $cache_file" | 
| 3616 | > | fi | 
| 3617 |  | fi | 
| 3618 | < | if test -z "$F90"; then | 
| 3619 | < | ac_ct_F90=$F90 | 
| 3620 | < | for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 | 
| 3621 | < | do | 
| 3622 | < | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 3441 | < | set dummy $ac_prog; ac_word=$2 | 
| 3618 | > | rm -f confcache | 
| 3619 | > | exit 1 | 
| 3620 | > | fi | 
| 3621 | > | # Extract the first word of "ps", so it can be a program name with args. | 
| 3622 | > | set dummy ps; ac_word=$2 | 
| 3623 |  | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3624 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3625 | < | if test "${ac_cv_prog_ac_ct_F90+set}" = set; then | 
| 3625 | > | if test "${ac_cv_path_PS+set}" = set; then | 
| 3626 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3627 |  | else | 
| 3628 | < | if test -n "$ac_ct_F90"; then | 
| 3629 | < | ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. | 
| 3630 | < | else | 
| 3631 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3628 | > | case $PS in | 
| 3629 | > | [\\/]* | ?:[\\/]*) | 
| 3630 | > | ac_cv_path_PS="$PS" # Let the user override the test with a path. | 
| 3631 | > | ;; | 
| 3632 | > | *) | 
| 3633 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3634 |  | for as_dir in $PATH | 
| 3635 |  | do | 
| 3636 |  | IFS=$as_save_IFS | 
| 3637 |  | test -z "$as_dir" && as_dir=. | 
| 3638 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3639 |  | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3640 | < | ac_cv_prog_ac_ct_F90="$ac_prog" | 
| 3640 | > | ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" | 
| 3641 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3642 |  | break 2 | 
| 3643 |  | fi | 
| 3644 |  | done | 
| 3645 |  | done | 
| 3646 |  |  | 
| 3647 | + | ;; | 
| 3648 | + | esac | 
| 3649 |  | fi | 
| 3650 | < | fi | 
| 3651 | < | ac_ct_F90=$ac_cv_prog_ac_ct_F90 | 
| 3652 | < | if test -n "$ac_ct_F90"; then | 
| 3653 | < | echo "$as_me:$LINENO: result: $ac_ct_F90" >&5 | 
| 3654 | < | echo "${ECHO_T}$ac_ct_F90" >&6 | 
| 3650 | > | PS=$ac_cv_path_PS | 
| 3651 | > |  | 
| 3652 | > | if test -n "$PS"; then | 
| 3653 | > | echo "$as_me:$LINENO: result: $PS" >&5 | 
| 3654 | > | echo "${ECHO_T}$PS" >&6 | 
| 3655 |  | else | 
| 3656 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 3657 |  | echo "${ECHO_T}no" >&6 | 
| 3658 |  | fi | 
| 3659 |  |  | 
| 3660 | < | test -n "$ac_ct_F90" && break | 
| 3661 | < | done | 
| 3660 | > | echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 | 
| 3661 | > | echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 | 
| 3662 | > | if test "${ac_cv_prog_ps_syntax+set}" = set; then | 
| 3663 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3664 | > | else | 
| 3665 |  |  | 
| 3666 | < | F90=$ac_ct_F90 | 
| 3666 | > | if $PS ax -o rss > /dev/null 2>&1; then | 
| 3667 | > | ac_cv_prog_ps_ax=yes | 
| 3668 | > | else | 
| 3669 | > | ac_cv_prog_ps_ax=no | 
| 3670 | > | fi | 
| 3671 | > | if $PS -ef -o rss > /dev/null 2>&1; then | 
| 3672 | > | ac_cv_prog_ps_ef=yes | 
| 3673 | > | else | 
| 3674 | > | ac_cv_prog_ps_ef=no | 
| 3675 | > | fi | 
| 3676 | > | if test "$ac_cv_prog_ps_ax" = yes; then | 
| 3677 | > | ac_cv_prog_ps_syntax=BSD | 
| 3678 | > | else | 
| 3679 | > | if test "$ac_cv_prog_ps_ef" = yes; then | 
| 3680 | > | ac_cv_prog_ps_syntax=POSIX | 
| 3681 | > | else | 
| 3682 | > | { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 | 
| 3683 | > | echo "$as_me: error: Could not determine ps syntax" >&2;} | 
| 3684 | > | { (exit 1); exit 1; }; } | 
| 3685 | > | fi | 
| 3686 | > | fi | 
| 3687 | > |  | 
| 3688 |  | fi | 
| 3689 | + | echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 | 
| 3690 | + | echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 | 
| 3691 |  |  | 
| 3692 | + | cat >>confdefs.h <<_ACEOF | 
| 3693 | + | #define PSCOMMAND $PS | 
| 3694 | + | _ACEOF | 
| 3695 |  |  | 
| 3696 | < | # If we don't use `.F90' as extension, the preprocessor is not run on the | 
| 3697 | < | # input file. | 
| 3698 | < | ac_save_ext=$ac_ext | 
| 3699 | < | ac_ext=F90 | 
| 3700 | < | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5 | 
| 3701 | < | echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 | 
| 3488 | < | if test "${ac_cv_f90_compiler_gnu+set}" = set; then | 
| 3489 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3696 | > | if test "$ac_cv_prog_ps_syntax" = BSD; then | 
| 3697 | > |  | 
| 3698 | > | cat >>confdefs.h <<\_ACEOF | 
| 3699 | > | #define PSTYPE_IS_BSD 1 | 
| 3700 | > | _ACEOF | 
| 3701 | > |  | 
| 3702 |  | else | 
| 3703 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3703 | > | if test "$ac_cv_prog_ps_syntax" = POSIX; then | 
| 3704 |  |  | 
| 3705 | < | program main | 
| 3705 | > | cat >>confdefs.h <<\_ACEOF | 
| 3706 | > | #define PSTYPE_IS_POSIX 1 | 
| 3707 | > | _ACEOF | 
| 3708 |  |  | 
| 3709 | < | #ifndef __GNUC__ | 
| 3710 | < | choke me | 
| 3711 | < | #endif | 
| 3709 | > | else | 
| 3710 | > | { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 | 
| 3711 | > | echo "$as_me: error: Unknown ps syntax type!" >&2;} | 
| 3712 | > | { (exit 1); exit 1; }; } | 
| 3713 | > | fi | 
| 3714 | > | fi | 
| 3715 |  |  | 
| 3716 | < | end program main | 
| 3716 | > | ac_ext=${FC_SRCEXT-f} | 
| 3717 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 3718 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 3719 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 3720 |  |  | 
| 3721 | + |  | 
| 3722 | + | echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5 | 
| 3723 | + | echo $ECHO_N "checking for Fortran flag to compile .F90 files... $ECHO_C" >&6 | 
| 3724 | + | if test "${ac_cv_fc_srcext_F90+set}" = set; then | 
| 3725 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3726 | + | else | 
| 3727 | + | ac_ext=F90 | 
| 3728 | + | ac_fc_srcext_FCFLAGS_SRCEXT_save=$FCFLAGS_SRCEXT | 
| 3729 | + | FCFLAGS_SRCEXT="" | 
| 3730 | + | ac_cv_fc_srcext_F90=unknown | 
| 3731 | + | for ac_flag in none -qsuffix=f=F90 -Tf; do | 
| 3732 | + | test "x$ac_flag" != xnone && FCFLAGS_SRCEXT="$ac_flag" | 
| 3733 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 3734 | + | program main | 
| 3735 | + |  | 
| 3736 | + | end | 
| 3737 |  | _ACEOF | 
| 3738 |  | rm -f conftest.$ac_objext | 
| 3739 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3744 |  | cat conftest.err >&5 | 
| 3745 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3746 |  | (exit $ac_status); } && | 
| 3747 | < | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3747 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 3748 |  | || test ! -s conftest.err' | 
| 3749 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3750 |  | (eval $ac_try) 2>&5 | 
| 3757 |  | ac_status=$? | 
| 3758 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3759 |  | (exit $ac_status); }; }; then | 
| 3760 | < | ac_compiler_gnu=yes | 
| 3760 | > | ac_cv_fc_srcext_F90=$ac_flag; break | 
| 3761 |  | else | 
| 3762 |  | echo "$as_me: failed program was:" >&5 | 
| 3763 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3764 |  |  | 
| 3529 | – | ac_compiler_gnu=no | 
| 3765 |  | fi | 
| 3766 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3767 | < | ac_cv_f90_compiler_gnu=$ac_compiler_gnu | 
| 3767 | > | done | 
| 3768 | > | rm -f conftest.$ac_objext conftest.F90 | 
| 3769 | > | FCFLAGS_SRCEXT=$ac_fc_srcext_FCFLAGS_SRCEXT_save | 
| 3770 |  |  | 
| 3771 |  | fi | 
| 3772 | < | echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5 | 
| 3773 | < | echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 | 
| 3774 | < | ac_ext=$ac_save_ext | 
| 3775 | < | G95=`test $ac_compiler_gnu = yes && echo yes` | 
| 3776 | < | ac_ext=c | 
| 3777 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3778 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3779 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3780 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3772 | > | echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5 | 
| 3773 | > | echo "${ECHO_T}$ac_cv_fc_srcext_F90" >&6 | 
| 3774 | > | if test "x$ac_cv_fc_srcext_F90" = xunknown; then | 
| 3775 | > | { { echo "$as_me:$LINENO: error: Fortran could not compile .F90 files" >&5 | 
| 3776 | > | echo "$as_me: error: Fortran could not compile .F90 files" >&2;} | 
| 3777 | > | { (exit 1); exit 1; }; } | 
| 3778 | > | else | 
| 3779 | > | FC_SRCEXT=F90 | 
| 3780 | > | if test "x$ac_cv_fc_srcext_F90" = xnone; then | 
| 3781 | > | FCFLAGS_SRCEXT="" | 
| 3782 | > | FCFLAGS_F90="" | 
| 3783 | > | else | 
| 3784 | > | FCFLAGS_SRCEXT=$ac_cv_fc_srcext_F90 | 
| 3785 | > | FCFLAGS_F90=$ac_cv_fc_srcext_F90 | 
| 3786 | > | fi | 
| 3787 |  |  | 
| 3788 |  |  | 
| 3789 | + | fi | 
| 3790 |  |  | 
| 3791 |  |  | 
| 3792 |  |  | 
| 3793 | + |  | 
| 3794 | + |  | 
| 3795 |  | # Try to determine native compiler flags that allow us to use F90 suffix | 
| 3796 |  | # for preprocessed f90 source. | 
| 3797 |  |  | 
| 3799 |  | PREPFLAG="" | 
| 3800 |  | case "${host_cpu}-${host_os}" in | 
| 3801 |  |  | 
| 3802 | < | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 3802 | > | *linux*) if test "$FC" = ifc -o "$FC" = ifort; then | 
| 3803 |  | PREPFLAG="-fpp1 " | 
| 3804 |  | fi;; | 
| 3805 | < | *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 3805 | > | *aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then | 
| 3806 |  | PREPFLAG="-qsuffix=cpp=F90 " | 
| 3807 |  | fi;; | 
| 3808 |  | *darwin*) | 
| 3809 | < | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 3809 | > | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 3810 |  | PREPFLAG="-qsuffix=cpp=F90 " | 
| 3811 |  | fi;; | 
| 3812 |  | esac | 
| 3821 |  | echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 | 
| 3822 |  |  | 
| 3823 |  |  | 
| 3824 | < | ac_ext=f90 | 
| 3825 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3826 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3827 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3824 | > | ac_ext=${FC_SRCEXT-f} | 
| 3825 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 3826 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 3827 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 3828 |  |  | 
| 3829 |  | ac_save_ext=$ac_ext | 
| 3830 |  | ac_ext=F90 | 
| 3831 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 3831 | > | ac_save_FCFLAGS_SRCEXT=$FCFLAGS_SRCEXT | 
| 3832 |  |  | 
| 3833 |  | if test "$PREPFLAG"; then | 
| 3834 | < | F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST" | 
| 3834 | > | FCFLAGS_SRCEXT="${PREPFLAG}" | 
| 3835 |  | fi | 
| 3836 |  |  | 
| 3837 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 3838 |  |  | 
| 3839 |  |  | 
| 3840 | < | program main | 
| 3595 | < |  | 
| 3840 | > | program conftest | 
| 3841 |  | integer :: i | 
| 3842 |  | i = 1 | 
| 3843 | + | end program conftest | 
| 3844 |  |  | 
| 3599 | – |  | 
| 3600 | – | end program main | 
| 3601 | – |  | 
| 3845 |  | _ACEOF | 
| 3846 |  | rm -f conftest.$ac_objext | 
| 3847 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3852 |  | cat conftest.err >&5 | 
| 3853 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3854 |  | (exit $ac_status); } && | 
| 3855 | < | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3855 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 3856 |  | || test ! -s conftest.err' | 
| 3857 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3858 |  | (eval $ac_try) 2>&5 | 
| 3874 |  | fi | 
| 3875 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3876 |  |  | 
| 3877 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 3877 | > | FCFLAGS_SRCEXT=$ac_save_FCFLAGS_SRCEXT | 
| 3878 |  | ac_ext=$ac_save_ext | 
| 3879 | < | ac_ext=c | 
| 3880 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3881 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3882 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3640 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3879 | > | ac_ext=${FC_SRCEXT-f} | 
| 3880 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 3881 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 3882 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 3883 |  |  | 
| 3884 |  |  | 
| 3885 |  | if test "$prepflagworks" = 1; then | 
| 3886 |  | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3887 |  | echo "${ECHO_T}yes" >&6 | 
| 3888 | + | FCFLAGS_SRCEXT="${PREPFLAG}" | 
| 3889 |  |  | 
| 3890 |  | else | 
| 3891 |  | echo "$as_me:$LINENO: result: no" >&5 | 
| 3907 |  | PREPDEFFLAG="" | 
| 3908 |  | case "${host_cpu}-${host_os}" in | 
| 3909 |  |  | 
| 3910 | < | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 3910 | > | *linux*) if test "$FC" = ifc -o "$FC" = ifort; then | 
| 3911 |  | PREPDEFFLAG=" " | 
| 3912 |  | fi;; | 
| 3913 | < | *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 3913 | > | *aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then | 
| 3914 |  | PREPDEFFLAG="-WF," | 
| 3915 |  | fi;; | 
| 3916 |  | *darwin*) | 
| 3917 | < | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 3917 | > | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 3918 |  | PREPDEFFLAG="-WF," | 
| 3919 |  | fi;; | 
| 3920 |  | esac | 
| 3929 |  | echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 | 
| 3930 |  |  | 
| 3931 |  |  | 
| 3932 | < | ac_ext=f90 | 
| 3933 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3934 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3935 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3932 | > | ac_ext=${FC_SRCEXT-f} | 
| 3933 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 3934 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 3935 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 3936 |  |  | 
| 3937 |  | ac_save_ext=$ac_ext | 
| 3938 |  | ac_ext=F90 | 
| 3939 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 3939 | > | ac_save_FCFLAGS=$FCFLAGS | 
| 3940 |  |  | 
| 3941 |  | if test "$PREPDEFFLAG"; then | 
| 3942 | < | F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST" | 
| 3942 | > | FCFLAGS="${FCFLAGS} ${PREPDEFFLAG}-DTEST" | 
| 3943 |  | fi | 
| 3944 |  |  | 
| 3945 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 3946 |  |  | 
| 3947 |  |  | 
| 3948 | < | program main | 
| 3706 | < |  | 
| 3948 | > | program conftest | 
| 3949 |  | integer :: i | 
| 3950 |  | #ifdef TEST | 
| 3951 |  | i = 1 | 
| 3952 |  | #else | 
| 3953 |  | choke me | 
| 3954 |  | #endif | 
| 3955 | + | end program conftest | 
| 3956 |  |  | 
| 3714 | – |  | 
| 3715 | – | end program main | 
| 3716 | – |  | 
| 3957 |  | _ACEOF | 
| 3958 |  | rm -f conftest.$ac_objext | 
| 3959 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3964 |  | cat conftest.err >&5 | 
| 3965 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3966 |  | (exit $ac_status); } && | 
| 3967 | < | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3967 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 3968 |  | || test ! -s conftest.err' | 
| 3969 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3970 |  | (eval $ac_try) 2>&5 | 
| 3986 |  | fi | 
| 3987 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3988 |  |  | 
| 3989 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 3989 | > | FCFLAGS=$ac_save_FCFLAGS | 
| 3990 |  | ac_ext=$ac_save_ext | 
| 3991 | < | ac_ext=c | 
| 3992 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3993 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3994 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3755 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3991 | > | ac_ext=${FC_SRCEXT-f} | 
| 3992 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 3993 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 3994 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 3995 |  |  | 
| 3996 |  |  | 
| 3758 | – |  | 
| 3997 |  | if test "$prepdefflagworks" = 1; then | 
| 3998 |  | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3999 |  | echo "${ECHO_T}yes" >&6 | 
| 4007 |  | fi | 
| 4008 |  | fi | 
| 4009 |  |  | 
| 4010 | < | ac_ext=f90 | 
| 4011 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4012 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4013 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4014 | < |  | 
| 4015 | < |  | 
| 4016 | < |  | 
| 3779 | < | ac_ext=f90 | 
| 3780 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3781 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3782 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3783 | < | echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5 | 
| 3784 | < | echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 | 
| 3785 | < | if test "${ac_cv_prog_f90_v+set}" = set; then | 
| 4010 | > | ac_ext=${FC_SRCEXT-f} | 
| 4011 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4012 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4013 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4014 | > | echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 | 
| 4015 | > | echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6 | 
| 4016 | > | if test "${ac_cv_prog_fc_v+set}" = set; then | 
| 4017 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4018 |  | else | 
| 4019 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 4020 | + | program main | 
| 4021 |  |  | 
| 4022 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3790 | < |  | 
| 3791 | < | program main | 
| 3792 | < |  | 
| 3793 | < |  | 
| 3794 | < | end program main | 
| 3795 | < |  | 
| 4022 | > | end | 
| 4023 |  | _ACEOF | 
| 4024 |  | rm -f conftest.$ac_objext | 
| 4025 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4030 |  | cat conftest.err >&5 | 
| 4031 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4032 |  | (exit $ac_status); } && | 
| 4033 | < | { ac_try='test -z "$ac_f90_werror_flag" | 
| 4033 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 4034 |  | || test ! -s conftest.err' | 
| 4035 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4036 |  | (eval $ac_try) 2>&5 | 
| 4043 |  | ac_status=$? | 
| 4044 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4045 |  | (exit $ac_status); }; }; then | 
| 4046 | < | ac_cv_prog_f90_v= | 
| 4046 | > | ac_cv_prog_fc_v= | 
| 4047 |  | # Try some options frequently used verbose output | 
| 4048 |  | for ac_verb in -v -verbose --verbose -V -\#\#\#; do | 
| 4049 | < | ac_ext=f90 | 
| 4050 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3824 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3825 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4049 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4050 | > | program main | 
| 4051 |  |  | 
| 4052 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3828 | < |  | 
| 3829 | < | program main | 
| 3830 | < |  | 
| 3831 | < |  | 
| 3832 | < | end program main | 
| 3833 | < |  | 
| 4052 | > | end | 
| 4053 |  | _ACEOF | 
| 4054 |  |  | 
| 4055 |  | # Compile and link our simple test program by passing a flag (argument | 
| 4056 | < | # 1 to this macro) to the Fortran 90 compiler in order to get | 
| 4057 | < | # "verbose" output that we can then parse for the Fortran 90 linker | 
| 4056 | > | # 1 to this macro) to the Fortran compiler in order to get | 
| 4057 | > | # "verbose" output that we can then parse for the Fortran linker | 
| 4058 |  | # flags. | 
| 4059 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 4060 | < | F90FLAGS="$F90FLAGS $ac_verb" | 
| 4059 | > | ac_save_FFLAGS=$FCFLAGS | 
| 4060 | > | FCFLAGS="$FCFLAGS $ac_verb" | 
| 4061 | > | (eval echo $as_me:4061: \"$ac_link\") >&5 | 
| 4062 | > | ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 4063 | > | echo "$ac_fc_v_output" >&5 | 
| 4064 | > | FCFLAGS=$ac_save_FFLAGS | 
| 4065 |  |  | 
| 4066 | < | (eval echo $as_me:3843: \"$ac_link\") >&5 | 
| 3844 | < | ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 3845 | < | echo "$ac_f90_v_output" >&5 | 
| 3846 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 4066 | > | rm -f conftest* | 
| 4067 |  |  | 
| 4068 | < | rm -f conftest.* | 
| 4069 | < | ac_ext=f90 | 
| 4070 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4071 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4072 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4068 | > | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 4069 | > | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 4070 | > | # Here, we change these into -L/foo -L/bar -L/baz (and put it first): | 
| 4071 | > | ac_fc_v_output="`echo $ac_fc_v_output | | 
| 4072 | > | grep 'LPATH is:' | | 
| 4073 | > | sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" | 
| 4074 |  |  | 
| 4075 | < | # If we are using xlf then replace all the commas with spaces. | 
| 4076 | < | if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then | 
| 4077 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'` | 
| 4078 | < | fi | 
| 4075 | > | case $ac_fc_v_output in | 
| 4076 | > | # If we are using xlf then replace all the commas with spaces. | 
| 4077 | > | *xlfentry*) | 
| 4078 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/,/ /g'` ;; | 
| 4079 |  |  | 
| 4080 | < | # If we are using Cray Fortran then delete quotes. | 
| 4081 | < | # Use "\"" instead of '"' for font-lock-mode. | 
| 4082 | < | # FIXME: a more general fix for quoted arguments with spaces? | 
| 4083 | < | if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then | 
| 4084 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"` | 
| 4085 | < | fi | 
| 4080 | > | # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted | 
| 4081 | > | # $LIBS confuse us, and the libraries appear later in the output anyway). | 
| 4082 | > | *mGLOB_options_string*) | 
| 4083 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; | 
| 4084 | > |  | 
| 4085 | > | # If we are using Cray Fortran then delete quotes. | 
| 4086 | > | # Use "\"" instead of '"' for font-lock-mode. | 
| 4087 | > | # FIXME: a more general fix for quoted arguments with spaces? | 
| 4088 | > | *cft90*) | 
| 4089 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; | 
| 4090 | > | esac | 
| 4091 | > |  | 
| 4092 | > |  | 
| 4093 |  | # look for -l* and *.a constructs in the output | 
| 4094 | < | for ac_arg in $ac_f90_v_output; do | 
| 4094 | > | for ac_arg in $ac_fc_v_output; do | 
| 4095 |  | case $ac_arg in | 
| 4096 |  | [\\/]*.a | ?:[\\/]*.a | -[lLRu]*) | 
| 4097 | < | ac_cv_prog_f90_v=$ac_verb | 
| 4097 | > | ac_cv_prog_fc_v=$ac_verb | 
| 4098 |  | break 2 ;; | 
| 4099 |  | esac | 
| 4100 |  | done | 
| 4101 |  | done | 
| 4102 | < | if test -z "$ac_cv_prog_f90_v"; then | 
| 4103 | < | { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5 | 
| 4104 | < | echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} | 
| 4102 | > | if test -z "$ac_cv_prog_fc_v"; then | 
| 4103 | > | { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5 | 
| 4104 | > | echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} | 
| 4105 |  | fi | 
| 4106 |  | else | 
| 4107 |  | echo "$as_me: failed program was:" >&5 | 
| 4113 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4114 |  |  | 
| 4115 |  | fi | 
| 4116 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 | 
| 4117 | < | echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 | 
| 4118 | < | echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5 | 
| 4119 | < | echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 | 
| 4120 | < | if test "${ac_cv_flibs+set}" = set; then | 
| 4116 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 | 
| 4117 | > | echo "${ECHO_T}$ac_cv_prog_fc_v" >&6 | 
| 4118 | > | echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 | 
| 4119 | > | echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6 | 
| 4120 | > | if test "${ac_cv_fc_libs+set}" = set; then | 
| 4121 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4122 |  | else | 
| 4123 | < | if test "x$F90LIBS" != "x"; then | 
| 4124 | < | ac_cv_f90libs="$F90LIBS" # Let the user override the test. | 
| 4123 | > | if test "x$FCLIBS" != "x"; then | 
| 4124 | > | ac_cv_fc_libs="$FCLIBS" # Let the user override the test. | 
| 4125 |  | else | 
| 4126 |  |  | 
| 3899 | – | ac_ext=f90 | 
| 3900 | – | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3901 | – | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3902 | – | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3903 | – |  | 
| 4127 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 4128 | + | program main | 
| 4129 |  |  | 
| 4130 | < | program main | 
| 3907 | < |  | 
| 3908 | < |  | 
| 3909 | < | end program main | 
| 3910 | < |  | 
| 4130 | > | end | 
| 4131 |  | _ACEOF | 
| 4132 |  |  | 
| 4133 |  | # Compile and link our simple test program by passing a flag (argument | 
| 4134 | < | # 1 to this macro) to the Fortran 90 compiler in order to get | 
| 4135 | < | # "verbose" output that we can then parse for the Fortran 90 linker | 
| 4134 | > | # 1 to this macro) to the Fortran compiler in order to get | 
| 4135 | > | # "verbose" output that we can then parse for the Fortran linker | 
| 4136 |  | # flags. | 
| 4137 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 4138 | < | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" | 
| 4137 | > | ac_save_FFLAGS=$FCFLAGS | 
| 4138 | > | FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" | 
| 4139 | > | (eval echo $as_me:4139: \"$ac_link\") >&5 | 
| 4140 | > | ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 4141 | > | echo "$ac_fc_v_output" >&5 | 
| 4142 | > | FCFLAGS=$ac_save_FFLAGS | 
| 4143 |  |  | 
| 4144 | < | (eval echo $as_me:3920: \"$ac_link\") >&5 | 
| 3921 | < | ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 3922 | < | echo "$ac_f90_v_output" >&5 | 
| 3923 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 4144 | > | rm -f conftest* | 
| 4145 |  |  | 
| 4146 | < | rm -f conftest.* | 
| 4147 | < | ac_ext=f90 | 
| 4148 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4149 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4150 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4146 | > | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 4147 | > | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 4148 | > | # Here, we change these into -L/foo -L/bar -L/baz (and put it first): | 
| 4149 | > | ac_fc_v_output="`echo $ac_fc_v_output | | 
| 4150 | > | grep 'LPATH is:' | | 
| 4151 | > | sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" | 
| 4152 |  |  | 
| 4153 | < | # If we are using xlf then replace all the commas with spaces. | 
| 4154 | < | if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then | 
| 4155 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'` | 
| 4156 | < | fi | 
| 4153 | > | case $ac_fc_v_output in | 
| 4154 | > | # If we are using xlf then replace all the commas with spaces. | 
| 4155 | > | *xlfentry*) | 
| 4156 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/,/ /g'` ;; | 
| 4157 |  |  | 
| 4158 | < | # If we are using Cray Fortran then delete quotes. | 
| 4159 | < | # Use "\"" instead of '"' for font-lock-mode. | 
| 4160 | < | # FIXME: a more general fix for quoted arguments with spaces? | 
| 4161 | < | if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then | 
| 3940 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"` | 
| 3941 | < | fi | 
| 4158 | > | # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted | 
| 4159 | > | # $LIBS confuse us, and the libraries appear later in the output anyway). | 
| 4160 | > | *mGLOB_options_string*) | 
| 4161 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; | 
| 4162 |  |  | 
| 4163 | < | ac_cv_f90libs= | 
| 4163 | > | # If we are using Cray Fortran then delete quotes. | 
| 4164 | > | # Use "\"" instead of '"' for font-lock-mode. | 
| 4165 | > | # FIXME: a more general fix for quoted arguments with spaces? | 
| 4166 | > | *cft90*) | 
| 4167 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; | 
| 4168 | > | esac | 
| 4169 |  |  | 
| 4170 | + |  | 
| 4171 | + |  | 
| 4172 | + | ac_cv_fc_libs= | 
| 4173 | + |  | 
| 4174 |  | # Save positional arguments (if any) | 
| 4175 |  | ac_save_positional="$@" | 
| 4176 |  |  | 
| 4177 | < | set X $ac_f90_v_output | 
| 4177 | > | set X $ac_fc_v_output | 
| 4178 |  | while test $# != 1; do | 
| 4179 |  | shift | 
| 4180 |  | ac_arg=$1 | 
| 4181 |  | case $ac_arg in | 
| 4182 |  | [\\/]*.a | ?:[\\/]*.a) | 
| 4183 |  | ac_exists=false | 
| 4184 | < | for ac_i in $ac_cv_f90libs; do | 
| 4184 | > | for ac_i in $ac_cv_fc_libs; do | 
| 4185 |  | if test x"$ac_arg" = x"$ac_i"; then | 
| 4186 |  | ac_exists=true | 
| 4187 |  | break | 
| 4191 |  | if test x"$ac_exists" = xtrue; then | 
| 4192 |  | : | 
| 4193 |  | else | 
| 4194 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 4194 | > | ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 4195 |  | fi | 
| 4196 |  |  | 
| 4197 |  | ;; | 
| 4198 |  | -bI:*) | 
| 4199 |  | ac_exists=false | 
| 4200 | < | for ac_i in $ac_cv_f90libs; do | 
| 4200 | > | for ac_i in $ac_cv_fc_libs; do | 
| 4201 |  | if test x"$ac_arg" = x"$ac_i"; then | 
| 4202 |  | ac_exists=true | 
| 4203 |  | break | 
| 4209 |  | else | 
| 4210 |  | if test "$ac_compiler_gnu" = yes; then | 
| 4211 |  | for ac_link_opt in $ac_arg; do | 
| 4212 | < | ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt" | 
| 4212 | > | ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt" | 
| 4213 |  | done | 
| 4214 |  | else | 
| 4215 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 4215 | > | ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 4216 |  | fi | 
| 4217 |  | fi | 
| 4218 |  |  | 
| 4219 |  | ;; | 
| 4220 |  | # Ignore these flags. | 
| 4221 | < | -lang* | -lcrt[012].o | -lc | -lgcc | -LANG:=*) | 
| 4221 | > | -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*) | 
| 4222 |  | ;; | 
| 4223 |  | -lkernel32) | 
| 4224 | < | test x"$CYGWIN" != xyes && ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 4224 | > | test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 4225 |  | ;; | 
| 4226 |  | -[LRuY]) | 
| 4227 |  | # These flags, when seen by themselves, take an argument. | 
| 4228 |  | # We remove the space between option and argument and re-iterate | 
| 4229 |  | # unless we find an empty arg or a new option (starting with -) | 
| 4230 |  | case $2 in | 
| 4231 | < | "" | -*);; | 
| 4232 | < | *) | 
| 4231 | > | "" | -*);; | 
| 4232 | > | *) | 
| 4233 |  | ac_arg="$ac_arg$2" | 
| 4005 | – |  | 
| 4234 |  | shift; shift | 
| 4235 |  | set X $ac_arg "$@" | 
| 4236 |  | ;; | 
| 4239 |  | -YP,*) | 
| 4240 |  | for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do | 
| 4241 |  | ac_exists=false | 
| 4242 | < | for ac_i in $ac_cv_f90libs; do | 
| 4242 | > | for ac_i in $ac_cv_fc_libs; do | 
| 4243 |  | if test x"$ac_j" = x"$ac_i"; then | 
| 4244 |  | ac_exists=true | 
| 4245 |  | break | 
| 4250 |  | : | 
| 4251 |  | else | 
| 4252 |  | ac_arg="$ac_arg $ac_j" | 
| 4253 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_j" | 
| 4253 | > | ac_cv_fc_libs="$ac_cv_fc_libs $ac_j" | 
| 4254 |  | fi | 
| 4255 |  |  | 
| 4256 |  | done | 
| 4257 |  | ;; | 
| 4258 |  | -[lLR]*) | 
| 4259 |  | ac_exists=false | 
| 4260 | < | for ac_i in $ac_cv_f90libs; do | 
| 4260 | > | for ac_i in $ac_cv_fc_libs; do | 
| 4261 |  | if test x"$ac_arg" = x"$ac_i"; then | 
| 4262 |  | ac_exists=true | 
| 4263 |  | break | 
| 4267 |  | if test x"$ac_exists" = xtrue; then | 
| 4268 |  | : | 
| 4269 |  | else | 
| 4270 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 4270 | > | ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 4271 |  | fi | 
| 4272 |  |  | 
| 4273 |  | ;; | 
| 4282 |  | # must begin with a "/"). | 
| 4283 |  | case `(uname -sr) 2>/dev/null` in | 
| 4284 |  | "SunOS 5"*) | 
| 4285 | < | ac_ld_run_path=`echo $ac_f90_v_output | | 
| 4285 | > | ac_ld_run_path=`echo $ac_fc_v_output | | 
| 4286 |  | sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` | 
| 4287 |  | test "x$ac_ld_run_path" != x && | 
| 4060 | – |  | 
| 4288 |  | if test "$ac_compiler_gnu" = yes; then | 
| 4289 |  | for ac_link_opt in $ac_ld_run_path; do | 
| 4290 | < | ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt" | 
| 4290 | > | ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt" | 
| 4291 |  | done | 
| 4292 |  | else | 
| 4293 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_ld_run_path" | 
| 4293 | > | ac_cv_fc_libs="$ac_cv_fc_libs $ac_ld_run_path" | 
| 4294 |  | fi | 
| 4295 |  | ;; | 
| 4296 |  | esac | 
| 4297 | < | fi # test "x$F90LIBS" = "x" | 
| 4297 | > | fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" | 
| 4298 |  |  | 
| 4299 |  | fi | 
| 4300 | < | echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5 | 
| 4301 | < | echo "${ECHO_T}$ac_cv_flibs" >&6 | 
| 4302 | < | F90LIBS="$ac_cv_f90libs" | 
| 4300 | > | echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 | 
| 4301 | > | echo "${ECHO_T}$ac_cv_fc_libs" >&6 | 
| 4302 | > | FCLIBS="$ac_cv_fc_libs" | 
| 4303 |  |  | 
| 4077 | – | ac_ext=f90 | 
| 4078 | – | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4079 | – | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4080 | – | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4304 |  |  | 
| 4305 | + | ac_ext=${FC_SRCEXT-f} | 
| 4306 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4307 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4308 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4309 |  |  | 
| 4310 | < | echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5 | 
| 4311 | < | echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 | 
| 4312 | < | if test "${ac_cv_f90_mangling+set}" = set; then | 
| 4310 | > |  | 
| 4311 | > | ac_ext=${FC_SRCEXT-f} | 
| 4312 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4313 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4314 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4315 | > |  | 
| 4316 | > | echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5 | 
| 4317 | > | echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6 | 
| 4318 | > | if test "${ac_cv_fc_dummy_main+set}" = set; then | 
| 4319 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4320 |  | else | 
| 4321 | < | ac_ext=f90 | 
| 4322 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4323 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4324 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4325 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4326 | < | subroutine foobar() | 
| 4327 | < | return | 
| 4328 | < | end | 
| 4329 | < | subroutine foo_bar() | 
| 4330 | < | return | 
| 4331 | < | end | 
| 4321 | > | ac_fc_dm_save_LIBS=$LIBS | 
| 4322 | > | LIBS="$LIBS $FCLIBS" | 
| 4323 | > | ac_fortran_dm_var=FC_DUMMY_MAIN | 
| 4324 | > | ac_ext=c | 
| 4325 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 4326 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4327 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4328 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4329 | > |  | 
| 4330 | > | # First, try linking without a dummy main: | 
| 4331 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4332 | > | /* confdefs.h.  */ | 
| 4333 |  | _ACEOF | 
| 4334 | + | cat confdefs.h >>conftest.$ac_ext | 
| 4335 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 4336 | + | /* end confdefs.h.  */ | 
| 4337 | + |  | 
| 4338 | + | #ifdef FC_DUMMY_MAIN | 
| 4339 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 4340 | + | #  ifdef __cplusplus | 
| 4341 | + | extern "C" | 
| 4342 | + | #  endif | 
| 4343 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 4344 | + | #endif | 
| 4345 | + | #endif | 
| 4346 | + | int | 
| 4347 | + | main () | 
| 4348 | + | { | 
| 4349 | + |  | 
| 4350 | + | ; | 
| 4351 | + | return 0; | 
| 4352 | + | } | 
| 4353 | + | _ACEOF | 
| 4354 | + | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4355 | + | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 4356 | + | (eval $ac_link) 2>conftest.er1 | 
| 4357 | + | ac_status=$? | 
| 4358 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4359 | + | rm -f conftest.er1 | 
| 4360 | + | cat conftest.err >&5 | 
| 4361 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4362 | + | (exit $ac_status); } && | 
| 4363 | + | { ac_try='test -z "$ac_c_werror_flag" | 
| 4364 | + | || test ! -s conftest.err' | 
| 4365 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4366 | + | (eval $ac_try) 2>&5 | 
| 4367 | + | ac_status=$? | 
| 4368 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4369 | + | (exit $ac_status); }; } && | 
| 4370 | + | { ac_try='test -s conftest$ac_exeext' | 
| 4371 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4372 | + | (eval $ac_try) 2>&5 | 
| 4373 | + | ac_status=$? | 
| 4374 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4375 | + | (exit $ac_status); }; }; then | 
| 4376 | + | ac_cv_fortran_dummy_main=none | 
| 4377 | + | else | 
| 4378 | + | echo "$as_me: failed program was:" >&5 | 
| 4379 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4380 | + |  | 
| 4381 | + | ac_cv_fortran_dummy_main=unknown | 
| 4382 | + | fi | 
| 4383 | + | rm -f conftest.err conftest.$ac_objext \ | 
| 4384 | + | conftest$ac_exeext conftest.$ac_ext | 
| 4385 | + |  | 
| 4386 | + | if test $ac_cv_fortran_dummy_main = unknown; then | 
| 4387 | + | for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do | 
| 4388 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 4389 | + | /* confdefs.h.  */ | 
| 4390 | + | _ACEOF | 
| 4391 | + | cat confdefs.h >>conftest.$ac_ext | 
| 4392 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 4393 | + | /* end confdefs.h.  */ | 
| 4394 | + | #define $ac_fortran_dm_var $ac_func | 
| 4395 | + | #ifdef FC_DUMMY_MAIN | 
| 4396 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 4397 | + | #  ifdef __cplusplus | 
| 4398 | + | extern "C" | 
| 4399 | + | #  endif | 
| 4400 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 4401 | + | #endif | 
| 4402 | + | #endif | 
| 4403 | + | int | 
| 4404 | + | main () | 
| 4405 | + | { | 
| 4406 | + |  | 
| 4407 | + | ; | 
| 4408 | + | return 0; | 
| 4409 | + | } | 
| 4410 | + | _ACEOF | 
| 4411 | + | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4412 | + | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 4413 | + | (eval $ac_link) 2>conftest.er1 | 
| 4414 | + | ac_status=$? | 
| 4415 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4416 | + | rm -f conftest.er1 | 
| 4417 | + | cat conftest.err >&5 | 
| 4418 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4419 | + | (exit $ac_status); } && | 
| 4420 | + | { ac_try='test -z "$ac_c_werror_flag" | 
| 4421 | + | || test ! -s conftest.err' | 
| 4422 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4423 | + | (eval $ac_try) 2>&5 | 
| 4424 | + | ac_status=$? | 
| 4425 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4426 | + | (exit $ac_status); }; } && | 
| 4427 | + | { ac_try='test -s conftest$ac_exeext' | 
| 4428 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4429 | + | (eval $ac_try) 2>&5 | 
| 4430 | + | ac_status=$? | 
| 4431 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4432 | + | (exit $ac_status); }; }; then | 
| 4433 | + | ac_cv_fortran_dummy_main=$ac_func; break | 
| 4434 | + | else | 
| 4435 | + | echo "$as_me: failed program was:" >&5 | 
| 4436 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4437 | + |  | 
| 4438 | + | fi | 
| 4439 | + | rm -f conftest.err conftest.$ac_objext \ | 
| 4440 | + | conftest$ac_exeext conftest.$ac_ext | 
| 4441 | + | done | 
| 4442 | + | fi | 
| 4443 | + | ac_ext=${FC_SRCEXT-f} | 
| 4444 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4445 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4446 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4447 | + | ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main | 
| 4448 | + | rm -f conftest* | 
| 4449 | + | LIBS=$ac_fc_dm_save_LIBS | 
| 4450 | + |  | 
| 4451 | + | fi | 
| 4452 | + | echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5 | 
| 4453 | + | echo "${ECHO_T}$ac_cv_fc_dummy_main" >&6 | 
| 4454 | + | FC_DUMMY_MAIN=$ac_cv_fc_dummy_main | 
| 4455 | + | if test "$FC_DUMMY_MAIN" != unknown; then | 
| 4456 | + | if test $FC_DUMMY_MAIN != none; then | 
| 4457 | + |  | 
| 4458 | + | cat >>confdefs.h <<_ACEOF | 
| 4459 | + | #define FC_DUMMY_MAIN $FC_DUMMY_MAIN | 
| 4460 | + | _ACEOF | 
| 4461 | + |  | 
| 4462 | + | if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then | 
| 4463 | + |  | 
| 4464 | + | cat >>confdefs.h <<\_ACEOF | 
| 4465 | + | #define FC_DUMMY_MAIN_EQ_F77 1 | 
| 4466 | + | _ACEOF | 
| 4467 | + |  | 
| 4468 | + | fi | 
| 4469 | + | fi | 
| 4470 | + | else | 
| 4471 | + | { { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails | 
| 4472 | + | See \`config.log' for more details." >&5 | 
| 4473 | + | echo "$as_me: error: linking to Fortran libraries from C fails | 
| 4474 | + | See \`config.log' for more details." >&2;} | 
| 4475 | + | { (exit 1); exit 1; }; } | 
| 4476 | + | fi | 
| 4477 | + |  | 
| 4478 | + |  | 
| 4479 | + | ac_ext=${FC_SRCEXT-f} | 
| 4480 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4481 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4482 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4483 | + |  | 
| 4484 | + | ac_ext=${FC_SRCEXT-f} | 
| 4485 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4486 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4487 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4488 | + | echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5 | 
| 4489 | + | echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6 | 
| 4490 | + | if test "${ac_cv_fc_mangling+set}" = set; then | 
| 4491 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4492 | + | else | 
| 4493 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 4494 | + | subroutine foobar() | 
| 4495 | + | return | 
| 4496 | + | end | 
| 4497 | + | subroutine foo_bar() | 
| 4498 | + | return | 
| 4499 | + | end | 
| 4500 | + | _ACEOF | 
| 4501 |  | rm -f conftest.$ac_objext | 
| 4502 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4503 |  | (eval $ac_compile) 2>conftest.er1 | 
| 4507 |  | cat conftest.err >&5 | 
| 4508 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4509 |  | (exit $ac_status); } && | 
| 4510 | < | { ac_try='test -z "$ac_f90_werror_flag" | 
| 4510 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 4511 |  | || test ! -s conftest.err' | 
| 4512 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4513 |  | (eval $ac_try) 2>&5 | 
| 4520 |  | ac_status=$? | 
| 4521 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4522 |  | (exit $ac_status); }; }; then | 
| 4523 | < | mv conftest.$ac_objext cf90_test.$ac_objext | 
| 4523 | > | mv conftest.$ac_objext cfortran_test.$ac_objext | 
| 4524 |  |  | 
| 4525 | + | ac_save_LIBS=$LIBS | 
| 4526 | + | LIBS="cfortran_test.$ac_objext $LIBS $FCLIBS" | 
| 4527 | + |  | 
| 4528 |  | ac_ext=c | 
| 4529 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 4530 |  | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4531 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4532 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4129 | – |  | 
| 4130 | – | ac_save_LIBS=$LIBS | 
| 4131 | – | LIBS="cf90_test.$ac_objext $F90LIBS $LIBS" | 
| 4132 | – |  | 
| 4533 |  | ac_success=no | 
| 4534 |  | for ac_foobar in foobar FOOBAR; do | 
| 4535 |  | for ac_underscore in "" "_"; do | 
| 4548 |  | /* We use char because int might match the return type of a gcc2 | 
| 4549 |  | builtin and then its argument prototype would still apply.  */ | 
| 4550 |  | char $ac_func (); | 
| 4551 | + | #ifdef FC_DUMMY_MAIN | 
| 4552 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 4553 | + | #  ifdef __cplusplus | 
| 4554 | + | extern "C" | 
| 4555 | + | #  endif | 
| 4556 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 4557 | + | #endif | 
| 4558 | + | #endif | 
| 4559 |  | int | 
| 4560 |  | main () | 
| 4561 |  | { | 
| 4596 |  | conftest$ac_exeext conftest.$ac_ext | 
| 4597 |  | done | 
| 4598 |  | done | 
| 4599 | + | ac_ext=${FC_SRCEXT-f} | 
| 4600 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4601 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4602 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4603 |  |  | 
| 4604 |  | if test "$ac_success" = "yes"; then | 
| 4605 |  | case $ac_foobar in | 
| 4606 | < | foobar) | 
| 4607 | < | ac_case=lower | 
| 4608 | < | ac_foo_bar=foo_bar | 
| 4609 | < | ;; | 
| 4610 | < | FOOBAR) | 
| 4611 | < | ac_case=upper | 
| 4612 | < | ac_foo_bar=FOO_BAR | 
| 4613 | < | ;; | 
| 4606 | > | foobar) | 
| 4607 | > | ac_case=lower | 
| 4608 | > | ac_foo_bar=foo_bar | 
| 4609 | > | ;; | 
| 4610 | > | FOOBAR) | 
| 4611 | > | ac_case=upper | 
| 4612 | > | ac_foo_bar=FOO_BAR | 
| 4613 | > | ;; | 
| 4614 |  | esac | 
| 4615 |  |  | 
| 4616 | + | ac_ext=c | 
| 4617 | + | ac_cpp='$CPP $CPPFLAGS' | 
| 4618 | + | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4619 | + | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4620 | + | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4621 |  | ac_success_extra=no | 
| 4622 |  | for ac_extra in "" "_"; do | 
| 4623 | < | ac_func="$ac_foo_bar$ac_underscore$ac_extra" | 
| 4624 | < |  | 
| 4208 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4623 | > | ac_func="$ac_foo_bar$ac_underscore$ac_extra" | 
| 4624 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4625 |  | /* confdefs.h.  */ | 
| 4626 |  | _ACEOF | 
| 4627 |  | cat confdefs.h >>conftest.$ac_ext | 
| 4635 |  | /* We use char because int might match the return type of a gcc2 | 
| 4636 |  | builtin and then its argument prototype would still apply.  */ | 
| 4637 |  | char $ac_func (); | 
| 4638 | + | #ifdef FC_DUMMY_MAIN | 
| 4639 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 4640 | + | #  ifdef __cplusplus | 
| 4641 | + | extern "C" | 
| 4642 | + | #  endif | 
| 4643 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 4644 | + | #endif | 
| 4645 | + | #endif | 
| 4646 |  | int | 
| 4647 |  | main () | 
| 4648 |  | { | 
| 4682 |  | rm -f conftest.err conftest.$ac_objext \ | 
| 4683 |  | conftest$ac_exeext conftest.$ac_ext | 
| 4684 |  | done | 
| 4685 | + | ac_ext=${FC_SRCEXT-f} | 
| 4686 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4687 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4688 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4689 |  |  | 
| 4690 |  | if test "$ac_success_extra" = "yes"; then | 
| 4691 | < | ac_cv_f90_mangling="$ac_case case" | 
| 4691 | > | ac_cv_fc_mangling="$ac_case case" | 
| 4692 |  | if test -z "$ac_underscore"; then | 
| 4693 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, no underscore" | 
| 4693 | > | ac_cv_fc_mangling="$ac_cv_fc_mangling, no underscore" | 
| 4694 |  | else | 
| 4695 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, underscore" | 
| 4268 | < |  | 
| 4695 | > | ac_cv_fc_mangling="$ac_cv_fc_mangling, underscore" | 
| 4696 |  | fi | 
| 4697 |  | if test -z "$ac_extra"; then | 
| 4698 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, no extra underscore" | 
| 4698 | > | ac_cv_fc_mangling="$ac_cv_fc_mangling, no extra underscore" | 
| 4699 |  | else | 
| 4700 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, extra underscore" | 
| 4700 | > | ac_cv_fc_mangling="$ac_cv_fc_mangling, extra underscore" | 
| 4701 |  | fi | 
| 4702 |  | else | 
| 4703 | < | ac_cv_f90_mangling="unknown" | 
| 4703 | > | ac_cv_fc_mangling="unknown" | 
| 4704 |  | fi | 
| 4705 |  | else | 
| 4706 | < | ac_cv_f90_mangling="unknown" | 
| 4280 | < |  | 
| 4706 | > | ac_cv_fc_mangling="unknown" | 
| 4707 |  | fi | 
| 4708 |  |  | 
| 4709 |  | LIBS=$ac_save_LIBS | 
| 4710 | < | ac_ext=f90 | 
| 4285 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4286 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4287 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4288 | < | rm -f cf90_test* conftest* | 
| 4710 | > | rm -f cfortran_test* conftest* | 
| 4711 |  | else | 
| 4712 |  | echo "$as_me: failed program was:" >&5 | 
| 4713 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4714 |  |  | 
| 4715 | + | { { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program | 
| 4716 | + | See \`config.log' for more details." >&5 | 
| 4717 | + | echo "$as_me: error: cannot compile a simple Fortran program | 
| 4718 | + | See \`config.log' for more details." >&2;} | 
| 4719 | + | { (exit 1); exit 1; }; } | 
| 4720 |  | fi | 
| 4721 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4295 | – | ac_ext=f90 | 
| 4296 | – | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4297 | – | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4298 | – | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4722 |  |  | 
| 4723 |  | fi | 
| 4724 | < | echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5 | 
| 4725 | < | echo "${ECHO_T}$ac_cv_f90_mangling" >&6 | 
| 4724 | > | echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5 | 
| 4725 | > | echo "${ECHO_T}$ac_cv_fc_mangling" >&6 | 
| 4726 |  |  | 
| 4727 | + | ac_ext=${FC_SRCEXT-f} | 
| 4728 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4729 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4730 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4731 |  |  | 
| 4732 | + | ac_ext=${FC_SRCEXT-f} | 
| 4733 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4734 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4735 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4736 |  |  | 
| 4737 | < | case $ac_cv_f90_mangling in | 
| 4737 | > |  | 
| 4738 | > | case $ac_cv_fc_mangling in | 
| 4739 |  | "lower case, no underscore, no extra underscore") | 
| 4740 |  | cat >>confdefs.h <<\_ACEOF | 
| 4741 | < | #define F90_FUNC(name,NAME) name | 
| 4741 | > | #define FC_FUNC(name,NAME) name | 
| 4742 |  | _ACEOF | 
| 4743 |  |  | 
| 4744 |  | cat >>confdefs.h <<\_ACEOF | 
| 4745 | < | #define F90_FUNC_(name,NAME) name | 
| 4745 | > | #define FC_FUNC_(name,NAME) name | 
| 4746 |  | _ACEOF | 
| 4747 |  | ;; | 
| 4748 |  | "lower case, no underscore, extra underscore") | 
| 4749 |  | cat >>confdefs.h <<\_ACEOF | 
| 4750 | < | #define F90_FUNC(name,NAME) name | 
| 4750 | > | #define FC_FUNC(name,NAME) name | 
| 4751 |  | _ACEOF | 
| 4752 |  |  | 
| 4753 |  | cat >>confdefs.h <<\_ACEOF | 
| 4754 | < | #define F90_FUNC_(name,NAME) name ## _ | 
| 4754 | > | #define FC_FUNC_(name,NAME) name ## _ | 
| 4755 |  | _ACEOF | 
| 4756 |  | ;; | 
| 4757 |  | "lower case, underscore, no extra underscore") | 
| 4758 |  | cat >>confdefs.h <<\_ACEOF | 
| 4759 | < | #define F90_FUNC(name,NAME) name ## _ | 
| 4759 | > | #define FC_FUNC(name,NAME) name ## _ | 
| 4760 |  | _ACEOF | 
| 4761 |  |  | 
| 4762 |  | cat >>confdefs.h <<\_ACEOF | 
| 4763 | < | #define F90_FUNC_(name,NAME) name ## _ | 
| 4763 | > | #define FC_FUNC_(name,NAME) name ## _ | 
| 4764 |  | _ACEOF | 
| 4765 |  | ;; | 
| 4766 |  | "lower case, underscore, extra underscore") | 
| 4767 |  | cat >>confdefs.h <<\_ACEOF | 
| 4768 | < | #define F90_FUNC(name,NAME) name ## _ | 
| 4768 | > | #define FC_FUNC(name,NAME) name ## _ | 
| 4769 |  | _ACEOF | 
| 4770 |  |  | 
| 4771 |  | cat >>confdefs.h <<\_ACEOF | 
| 4772 | < | #define F90_FUNC_(name,NAME) name ## __ | 
| 4772 | > | #define FC_FUNC_(name,NAME) name ## __ | 
| 4773 |  | _ACEOF | 
| 4774 |  | ;; | 
| 4775 |  | "upper case, no underscore, no extra underscore") | 
| 4776 |  | cat >>confdefs.h <<\_ACEOF | 
| 4777 | < | #define F90_FUNC(name,NAME) NAME | 
| 4777 | > | #define FC_FUNC(name,NAME) NAME | 
| 4778 |  | _ACEOF | 
| 4779 |  |  | 
| 4780 |  | cat >>confdefs.h <<\_ACEOF | 
| 4781 | < | #define F90_FUNC_(name,NAME) NAME | 
| 4781 | > | #define FC_FUNC_(name,NAME) NAME | 
| 4782 |  | _ACEOF | 
| 4783 |  | ;; | 
| 4784 |  | "upper case, no underscore, extra underscore") | 
| 4785 |  | cat >>confdefs.h <<\_ACEOF | 
| 4786 | < | #define F90_FUNC(name,NAME) NAME | 
| 4786 | > | #define FC_FUNC(name,NAME) NAME | 
| 4787 |  | _ACEOF | 
| 4788 |  |  | 
| 4789 |  | cat >>confdefs.h <<\_ACEOF | 
| 4790 | < | #define F90_FUNC_(name,NAME) NAME ## _ | 
| 4790 | > | #define FC_FUNC_(name,NAME) NAME ## _ | 
| 4791 |  | _ACEOF | 
| 4792 |  | ;; | 
| 4793 |  | "upper case, underscore, no extra underscore") | 
| 4794 |  | cat >>confdefs.h <<\_ACEOF | 
| 4795 | < | #define F90_FUNC(name,NAME) NAME ## _ | 
| 4795 | > | #define FC_FUNC(name,NAME) NAME ## _ | 
| 4796 |  | _ACEOF | 
| 4797 |  |  | 
| 4798 |  | cat >>confdefs.h <<\_ACEOF | 
| 4799 | < | #define F90_FUNC_(name,NAME) NAME ## _ | 
| 4799 | > | #define FC_FUNC_(name,NAME) NAME ## _ | 
| 4800 |  | _ACEOF | 
| 4801 |  | ;; | 
| 4802 |  | "upper case, underscore, extra underscore") | 
| 4803 |  | cat >>confdefs.h <<\_ACEOF | 
| 4804 | < | #define F90_FUNC(name,NAME) NAME ## _ | 
| 4804 | > | #define FC_FUNC(name,NAME) NAME ## _ | 
| 4805 |  | _ACEOF | 
| 4806 |  |  | 
| 4807 |  | cat >>confdefs.h <<\_ACEOF | 
| 4808 | < | #define F90_FUNC_(name,NAME) NAME ## __ | 
| 4808 | > | #define FC_FUNC_(name,NAME) NAME ## __ | 
| 4809 |  | _ACEOF | 
| 4810 |  | ;; | 
| 4811 |  | *) | 
| 4812 | < | { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5 | 
| 4813 | < | echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} | 
| 4812 | > | { echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5 | 
| 4813 | > | echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;} | 
| 4814 | > | ;; | 
| 4815 | > | esac | 
| 4816 | > |  | 
| 4817 | > | ac_ext=${FC_SRCEXT-f} | 
| 4818 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4819 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4820 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4821 | > |  | 
| 4822 | > |  | 
| 4823 | > |  | 
| 4824 | > | ac_ext=${FC_SRCEXT-f} | 
| 4825 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 4826 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 4827 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4828 | > | echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 | 
| 4829 | > | echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6 | 
| 4830 | > | if test "${ac_cv_prog_fc_v+set}" = set; then | 
| 4831 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4832 | > | else | 
| 4833 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4834 | > | program main | 
| 4835 | > |  | 
| 4836 | > | end | 
| 4837 | > | _ACEOF | 
| 4838 | > | rm -f conftest.$ac_objext | 
| 4839 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4840 | > | (eval $ac_compile) 2>conftest.er1 | 
| 4841 | > | ac_status=$? | 
| 4842 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4843 | > | rm -f conftest.er1 | 
| 4844 | > | cat conftest.err >&5 | 
| 4845 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4846 | > | (exit $ac_status); } && | 
| 4847 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 4848 | > | || test ! -s conftest.err' | 
| 4849 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4850 | > | (eval $ac_try) 2>&5 | 
| 4851 | > | ac_status=$? | 
| 4852 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4853 | > | (exit $ac_status); }; } && | 
| 4854 | > | { ac_try='test -s conftest.$ac_objext' | 
| 4855 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4856 | > | (eval $ac_try) 2>&5 | 
| 4857 | > | ac_status=$? | 
| 4858 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4859 | > | (exit $ac_status); }; }; then | 
| 4860 | > | ac_cv_prog_fc_v= | 
| 4861 | > | # Try some options frequently used verbose output | 
| 4862 | > | for ac_verb in -v -verbose --verbose -V -\#\#\#; do | 
| 4863 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4864 | > | program main | 
| 4865 | > |  | 
| 4866 | > | end | 
| 4867 | > | _ACEOF | 
| 4868 | > |  | 
| 4869 | > | # Compile and link our simple test program by passing a flag (argument | 
| 4870 | > | # 1 to this macro) to the Fortran compiler in order to get | 
| 4871 | > | # "verbose" output that we can then parse for the Fortran linker | 
| 4872 | > | # flags. | 
| 4873 | > | ac_save_FFLAGS=$FCFLAGS | 
| 4874 | > | FCFLAGS="$FCFLAGS $ac_verb" | 
| 4875 | > | (eval echo $as_me:4875: \"$ac_link\") >&5 | 
| 4876 | > | ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 4877 | > | echo "$ac_fc_v_output" >&5 | 
| 4878 | > | FCFLAGS=$ac_save_FFLAGS | 
| 4879 | > |  | 
| 4880 | > | rm -f conftest* | 
| 4881 | > |  | 
| 4882 | > | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 4883 | > | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 4884 | > | # Here, we change these into -L/foo -L/bar -L/baz (and put it first): | 
| 4885 | > | ac_fc_v_output="`echo $ac_fc_v_output | | 
| 4886 | > | grep 'LPATH is:' | | 
| 4887 | > | sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" | 
| 4888 | > |  | 
| 4889 | > | case $ac_fc_v_output in | 
| 4890 | > | # If we are using xlf then replace all the commas with spaces. | 
| 4891 | > | *xlfentry*) | 
| 4892 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/,/ /g'` ;; | 
| 4893 | > |  | 
| 4894 | > | # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted | 
| 4895 | > | # $LIBS confuse us, and the libraries appear later in the output anyway). | 
| 4896 | > | *mGLOB_options_string*) | 
| 4897 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; | 
| 4898 | > |  | 
| 4899 | > | # If we are using Cray Fortran then delete quotes. | 
| 4900 | > | # Use "\"" instead of '"' for font-lock-mode. | 
| 4901 | > | # FIXME: a more general fix for quoted arguments with spaces? | 
| 4902 | > | *cft90*) | 
| 4903 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; | 
| 4904 | > | esac | 
| 4905 | > |  | 
| 4906 | > |  | 
| 4907 | > | # look for -l* and *.a constructs in the output | 
| 4908 | > | for ac_arg in $ac_fc_v_output; do | 
| 4909 | > | case $ac_arg in | 
| 4910 | > | [\\/]*.a | ?:[\\/]*.a | -[lLRu]*) | 
| 4911 | > | ac_cv_prog_fc_v=$ac_verb | 
| 4912 | > | break 2 ;; | 
| 4913 | > | esac | 
| 4914 | > | done | 
| 4915 | > | done | 
| 4916 | > | if test -z "$ac_cv_prog_fc_v"; then | 
| 4917 | > | { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5 | 
| 4918 | > | echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;} | 
| 4919 | > | fi | 
| 4920 | > | else | 
| 4921 | > | echo "$as_me: failed program was:" >&5 | 
| 4922 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4923 | > |  | 
| 4924 | > | { echo "$as_me:$LINENO: WARNING: compilation failed" >&5 | 
| 4925 | > | echo "$as_me: WARNING: compilation failed" >&2;} | 
| 4926 | > | fi | 
| 4927 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4928 | > |  | 
| 4929 | > | fi | 
| 4930 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 | 
| 4931 | > | echo "${ECHO_T}$ac_cv_prog_fc_v" >&6 | 
| 4932 | > | echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 | 
| 4933 | > | echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6 | 
| 4934 | > | if test "${ac_cv_fc_libs+set}" = set; then | 
| 4935 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4936 | > | else | 
| 4937 | > | if test "x$FCLIBS" != "x"; then | 
| 4938 | > | ac_cv_fc_libs="$FCLIBS" # Let the user override the test. | 
| 4939 | > | else | 
| 4940 | > |  | 
| 4941 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4942 | > | program main | 
| 4943 | > |  | 
| 4944 | > | end | 
| 4945 | > | _ACEOF | 
| 4946 | > |  | 
| 4947 | > | # Compile and link our simple test program by passing a flag (argument | 
| 4948 | > | # 1 to this macro) to the Fortran compiler in order to get | 
| 4949 | > | # "verbose" output that we can then parse for the Fortran linker | 
| 4950 | > | # flags. | 
| 4951 | > | ac_save_FFLAGS=$FCFLAGS | 
| 4952 | > | FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" | 
| 4953 | > | (eval echo $as_me:4953: \"$ac_link\") >&5 | 
| 4954 | > | ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 4955 | > | echo "$ac_fc_v_output" >&5 | 
| 4956 | > | FCFLAGS=$ac_save_FFLAGS | 
| 4957 | > |  | 
| 4958 | > | rm -f conftest* | 
| 4959 | > |  | 
| 4960 | > | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 4961 | > | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 4962 | > | # Here, we change these into -L/foo -L/bar -L/baz (and put it first): | 
| 4963 | > | ac_fc_v_output="`echo $ac_fc_v_output | | 
| 4964 | > | grep 'LPATH is:' | | 
| 4965 | > | sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" | 
| 4966 | > |  | 
| 4967 | > | case $ac_fc_v_output in | 
| 4968 | > | # If we are using xlf then replace all the commas with spaces. | 
| 4969 | > | *xlfentry*) | 
| 4970 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/,/ /g'` ;; | 
| 4971 | > |  | 
| 4972 | > | # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted | 
| 4973 | > | # $LIBS confuse us, and the libraries appear later in the output anyway). | 
| 4974 | > | *mGLOB_options_string*) | 
| 4975 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; | 
| 4976 | > |  | 
| 4977 | > | # If we are using Cray Fortran then delete quotes. | 
| 4978 | > | # Use "\"" instead of '"' for font-lock-mode. | 
| 4979 | > | # FIXME: a more general fix for quoted arguments with spaces? | 
| 4980 | > | *cft90*) | 
| 4981 | > | ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; | 
| 4982 | > | esac | 
| 4983 | > |  | 
| 4984 | > |  | 
| 4985 | > |  | 
| 4986 | > | ac_cv_fc_libs= | 
| 4987 | > |  | 
| 4988 | > | # Save positional arguments (if any) | 
| 4989 | > | ac_save_positional="$@" | 
| 4990 | > |  | 
| 4991 | > | set X $ac_fc_v_output | 
| 4992 | > | while test $# != 1; do | 
| 4993 | > | shift | 
| 4994 | > | ac_arg=$1 | 
| 4995 | > | case $ac_arg in | 
| 4996 | > | [\\/]*.a | ?:[\\/]*.a) | 
| 4997 | > | ac_exists=false | 
| 4998 | > | for ac_i in $ac_cv_fc_libs; do | 
| 4999 | > | if test x"$ac_arg" = x"$ac_i"; then | 
| 5000 | > | ac_exists=true | 
| 5001 | > | break | 
| 5002 | > | fi | 
| 5003 | > | done | 
| 5004 | > |  | 
| 5005 | > | if test x"$ac_exists" = xtrue; then | 
| 5006 | > | : | 
| 5007 | > | else | 
| 5008 | > | ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 5009 | > | fi | 
| 5010 | > |  | 
| 5011 |  | ;; | 
| 5012 | + | -bI:*) | 
| 5013 | + | ac_exists=false | 
| 5014 | + | for ac_i in $ac_cv_fc_libs; do | 
| 5015 | + | if test x"$ac_arg" = x"$ac_i"; then | 
| 5016 | + | ac_exists=true | 
| 5017 | + | break | 
| 5018 | + | fi | 
| 5019 | + | done | 
| 5020 | + |  | 
| 5021 | + | if test x"$ac_exists" = xtrue; then | 
| 5022 | + | : | 
| 5023 | + | else | 
| 5024 | + | if test "$ac_compiler_gnu" = yes; then | 
| 5025 | + | for ac_link_opt in $ac_arg; do | 
| 5026 | + | ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt" | 
| 5027 | + | done | 
| 5028 | + | else | 
| 5029 | + | ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 5030 | + | fi | 
| 5031 | + | fi | 
| 5032 | + |  | 
| 5033 | + | ;; | 
| 5034 | + | # Ignore these flags. | 
| 5035 | + | -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*) | 
| 5036 | + | ;; | 
| 5037 | + | -lkernel32) | 
| 5038 | + | test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 5039 | + | ;; | 
| 5040 | + | -[LRuY]) | 
| 5041 | + | # These flags, when seen by themselves, take an argument. | 
| 5042 | + | # We remove the space between option and argument and re-iterate | 
| 5043 | + | # unless we find an empty arg or a new option (starting with -) | 
| 5044 | + | case $2 in | 
| 5045 | + | "" | -*);; | 
| 5046 | + | *) | 
| 5047 | + | ac_arg="$ac_arg$2" | 
| 5048 | + | shift; shift | 
| 5049 | + | set X $ac_arg "$@" | 
| 5050 | + | ;; | 
| 5051 | + | esac | 
| 5052 | + | ;; | 
| 5053 | + | -YP,*) | 
| 5054 | + | for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do | 
| 5055 | + | ac_exists=false | 
| 5056 | + | for ac_i in $ac_cv_fc_libs; do | 
| 5057 | + | if test x"$ac_j" = x"$ac_i"; then | 
| 5058 | + | ac_exists=true | 
| 5059 | + | break | 
| 5060 | + | fi | 
| 5061 | + | done | 
| 5062 | + |  | 
| 5063 | + | if test x"$ac_exists" = xtrue; then | 
| 5064 | + | : | 
| 5065 | + | else | 
| 5066 | + | ac_arg="$ac_arg $ac_j" | 
| 5067 | + | ac_cv_fc_libs="$ac_cv_fc_libs $ac_j" | 
| 5068 | + | fi | 
| 5069 | + |  | 
| 5070 | + | done | 
| 5071 | + | ;; | 
| 5072 | + | -[lLR]*) | 
| 5073 | + | ac_exists=false | 
| 5074 | + | for ac_i in $ac_cv_fc_libs; do | 
| 5075 | + | if test x"$ac_arg" = x"$ac_i"; then | 
| 5076 | + | ac_exists=true | 
| 5077 | + | break | 
| 5078 | + | fi | 
| 5079 | + | done | 
| 5080 | + |  | 
| 5081 | + | if test x"$ac_exists" = xtrue; then | 
| 5082 | + | : | 
| 5083 | + | else | 
| 5084 | + | ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" | 
| 5085 | + | fi | 
| 5086 | + |  | 
| 5087 | + | ;; | 
| 5088 | + | # Ignore everything else. | 
| 5089 | + | esac | 
| 5090 | + | done | 
| 5091 | + | # restore positional arguments | 
| 5092 | + | set X $ac_save_positional; shift | 
| 5093 | + |  | 
| 5094 | + | # We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen, | 
| 5095 | + | # then we insist that the "run path" must be an absolute path (i.e. it | 
| 5096 | + | # must begin with a "/"). | 
| 5097 | + | case `(uname -sr) 2>/dev/null` in | 
| 5098 | + | "SunOS 5"*) | 
| 5099 | + | ac_ld_run_path=`echo $ac_fc_v_output | | 
| 5100 | + | sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` | 
| 5101 | + | test "x$ac_ld_run_path" != x && | 
| 5102 | + | if test "$ac_compiler_gnu" = yes; then | 
| 5103 | + | for ac_link_opt in $ac_ld_run_path; do | 
| 5104 | + | ac_cv_fc_libs="$ac_cv_fc_libs -Xlinker $ac_link_opt" | 
| 5105 | + | done | 
| 5106 | + | else | 
| 5107 | + | ac_cv_fc_libs="$ac_cv_fc_libs $ac_ld_run_path" | 
| 5108 | + | fi | 
| 5109 | + | ;; | 
| 5110 |  | esac | 
| 5111 | + | fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" | 
| 5112 |  |  | 
| 5113 | + | fi | 
| 5114 | + | echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 | 
| 5115 | + | echo "${ECHO_T}$ac_cv_fc_libs" >&6 | 
| 5116 | + | FCLIBS="$ac_cv_fc_libs" | 
| 5117 |  |  | 
| 5118 |  |  | 
| 5119 | + | ac_ext=${FC_SRCEXT-f} | 
| 5120 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 5121 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 5122 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 5123 |  |  | 
| 5124 |  |  | 
| 5125 | + |  | 
| 5126 |  | echo "$as_me:$LINENO: checking for module suffix" >&5 | 
| 5127 |  | echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 | 
| 5128 |  | rm -f conftest* | 
| 5129 |  | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 5130 |  | rm -f work* | 
| 5131 | < | cat >conftest.f90 <<EOF | 
| 5131 | > | cat >conftest.$ac_ext <<EOF | 
| 5132 |  | module conftest | 
| 5133 |  | integer n | 
| 5134 |  | parameter (n=1) | 
| 5137 |  | # SGI and absoft compilers generates module name in upper case! | 
| 5138 |  | testname="conftest" | 
| 5139 |  | modcase="lower" | 
| 5140 | < | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then | 
| 5141 | < | MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o` | 
| 5140 | > | if (eval $ac_compile) 2>/dev/null ; then | 
| 5141 | > | MOD=`ls conftest* | grep -v conftest.$ac_ext | grep -v conftest.o` | 
| 5142 |  | MOD=`echo "$MOD" | sed -e 's/conftest\.//g'` | 
| 5143 |  | if test -z "$MOD" ; then | 
| 5144 |  | MOD=`ls CONFTEST* 2>/dev/null \ | 
| 5145 | < | | grep -v CONFTEST.f | grep -v CONFTEST.o` | 
| 5145 | > | | grep -v CONFTEST.$ac_ext | grep -v CONFTEST.o` | 
| 5146 |  | MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'` | 
| 5147 |  | if test -n "$MOD" ; then | 
| 5148 |  | testname="CONFTEST" | 
| 5182 |  | rm -f conftest* | 
| 5183 |  | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 5184 |  | rm -f work* | 
| 5185 | < | cat >conftest.f90 <<EOF | 
| 5185 | > | cat >conftest.$ac_ext <<EOF | 
| 5186 |  | module conftest | 
| 5187 |  | integer n | 
| 5188 |  | parameter (n=1) | 
| 5190 |  | EOF | 
| 5191 |  | # SGI and absoft compilers generates module name in upper case! | 
| 5192 |  | testname="conftest" | 
| 5193 | < | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then | 
| 5194 | < | mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.f | grep -v CONFTEST.o` | 
| 5193 | > | if (eval $ac_compile) 2>/dev/null ; then | 
| 5194 | > | mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.$ac_ext | grep -v CONFTEST.o` | 
| 5195 |  | mod=`echo "$mod" | sed -e 's/CONFTEST\.//g'` | 
| 5196 |  | if test -n "$mod" ; then | 
| 5197 |  | testname="CONFTEST" | 
| 5200 |  | if test ! -d conf ; then mkdir conf ; madedir=1; fi | 
| 5201 |  | cp $testname.$MOD conf | 
| 5202 |  | rm -f conftest* CONFTEST* | 
| 5203 | < | cat >conftest1.f90 <<EOF | 
| 5203 | > | cat >conftest1.$ac_ext <<EOF | 
| 5204 |  | program main | 
| 5205 |  | use conftest | 
| 5206 |  | print *, n | 
| 5208 |  | EOF | 
| 5209 |  | F90_WORK_FILES_ARG="" | 
| 5210 |  | F90MODINCSPEC="" | 
| 5211 | < | if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then | 
| 5211 | > | if $FC -c -Iconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext > conftest.out 2>&1 ; then | 
| 5212 |  | MODDIRFLAG="-I" | 
| 5213 |  | F90MODINCSPEC="-I<dir>" | 
| 5214 |  | echo "$as_me:$LINENO: result: -I" >&5 | 
| 5215 |  | echo "${ECHO_T}-I" >&6 | 
| 5216 | < | elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then | 
| 5216 | > | elif $FC -c -Mconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then | 
| 5217 |  | MODDIRFLAG="-M" | 
| 5218 |  | F90MODINCSPEC="-M<dir>" | 
| 5219 |  | echo "$as_me:$LINENO: result: -M" >&5 | 
| 5220 |  | echo "${ECHO_T}-M" >&6 | 
| 5221 | < | elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then | 
| 5221 | > | elif $FC -c -pconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then | 
| 5222 |  | MODDIRFLAG="-p" | 
| 5223 |  | F90MODINCSPEC="-p<dir>" | 
| 5224 |  | echo "$as_me:$LINENO: result: -p" >&5 | 
| 5227 |  | cp work.pc conf/mpimod.pc | 
| 5228 |  | echo "mpimod.pc" > conf/mpimod.pcl | 
| 5229 |  | echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl | 
| 5230 | < | if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then | 
| 5230 | > | if $FC -c -cl,conf/mpimod.pcl $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >>conftest.out 2>&1 ; then | 
| 5231 |  | MODDIRFLAG='-cl,mpimod.pcl' | 
| 5232 |  | echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 | 
| 5233 |  | echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6 | 
| 5257 |  | if test "${ac_cv_f90_module_names+set}" = set; then | 
| 5258 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5259 |  | else | 
| 5260 | < | ac_ext=f90 | 
| 5261 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 5262 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5263 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 5260 | > | ac_ext=${FC_SRCEXT-f} | 
| 5261 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 5262 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 5263 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 5264 |  |  | 
| 5265 |  | # carry out the test in a new directory, so that we don't miss anything | 
| 5266 |  | mkdir conftest | 
| 5278 |  | cat conftest.err >&5 | 
| 5279 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5280 |  | (exit $ac_status); } && | 
| 5281 | < | { ac_try='test -z "$ac_f90_werror_flag" | 
| 5281 | > | { ac_try='test -z "$ac_fc_werror_flag" | 
| 5282 |  | || test ! -s conftest.err' | 
| 5283 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5284 |  | (eval $ac_try) 2>&5 | 
| 5394 |  | cd .. | 
| 5395 |  | # cleanup | 
| 5396 |  | rm -rf conftest | 
| 5397 | < | ac_ext=f90 | 
| 5398 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 5399 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5400 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 5397 | > | ac_ext=${FC_SRCEXT-f} | 
| 5398 | > | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 5399 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 5400 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 5401 |  |  | 
| 5402 |  | fi | 
| 5403 |  | echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 | 
| 5486 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 5487 |  |  | 
| 5488 |  |  | 
| 5489 | < | ac_ext=cc | 
| 5490 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 5491 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5492 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5493 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 5489 | > | ac_ext=c | 
| 5490 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 5491 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5492 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5493 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 5494 |  |  | 
| 5495 |  |  | 
| 5496 | < | ac_ext=cc | 
| 5497 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 5498 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5499 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4763 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 4764 | < | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
| 4765 | < | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | 
| 4766 | < | if test -z "$CXXCPP"; then | 
| 4767 | < | if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| 5496 | > |  | 
| 5497 | > | echo "$as_me:$LINENO: checking for asin in -lm" >&5 | 
| 5498 | > | echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 | 
| 5499 | > | if test "${ac_cv_lib_m_asin+set}" = set; then | 
| 5500 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5501 |  | else | 
| 5502 | < | # Double quotes because CXXCPP needs to be expanded | 
| 5503 | < | for CXXCPP in "$CXX -E" "/lib/cpp" | 
| 5504 | < | do | 
| 4773 | < | ac_preproc_ok=false | 
| 4774 | < | for ac_cxx_preproc_warn_flag in '' yes | 
| 4775 | < | do | 
| 4776 | < | # Use a header file that comes with gcc, so configuring glibc | 
| 4777 | < | # with a fresh cross-compiler works. | 
| 4778 | < | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 4779 | < | # <limits.h> exists even on freestanding compilers. | 
| 4780 | < | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 4781 | < | # not just through cpp. "Syntax error" is here to catch this case. | 
| 4782 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 5502 | > | ac_check_lib_save_LIBS=$LIBS | 
| 5503 | > | LIBS="-lm  $LIBS" | 
| 5504 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5505 |  | /* confdefs.h.  */ | 
| 5506 |  | _ACEOF | 
| 5507 |  | cat confdefs.h >>conftest.$ac_ext | 
| 5508 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 5509 |  | /* end confdefs.h.  */ | 
| 5510 | < | #ifdef __STDC__ | 
| 5511 | < | # include <limits.h> | 
| 5512 | < | #else | 
| 5513 | < | # include <assert.h> | 
| 5514 | < | #endif | 
| 5515 | < | Syntax error | 
| 5510 | > |  | 
| 5511 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 5512 | > | #ifdef __cplusplus | 
| 5513 | > | extern "C" | 
| 5514 | > | #endif | 
| 5515 | > | /* We use char because int might match the return type of a gcc2 | 
| 5516 | > | builtin and then its argument prototype would still apply.  */ | 
| 5517 | > | char asin (); | 
| 5518 | > | #ifdef FC_DUMMY_MAIN | 
| 5519 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 5520 | > | #  ifdef __cplusplus | 
| 5521 | > | extern "C" | 
| 5522 | > | #  endif | 
| 5523 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 5524 | > | #endif | 
| 5525 | > | #endif | 
| 5526 | > | int | 
| 5527 | > | main () | 
| 5528 | > | { | 
| 5529 | > | asin (); | 
| 5530 | > | ; | 
| 5531 | > | return 0; | 
| 5532 | > | } | 
| 5533 |  | _ACEOF | 
| 5534 | < | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 5535 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 5534 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 5535 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 5536 | > | (eval $ac_link) 2>conftest.er1 | 
| 5537 |  | ac_status=$? | 
| 5538 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5539 |  | rm -f conftest.er1 | 
| 5540 |  | cat conftest.err >&5 | 
| 5541 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5542 | < | (exit $ac_status); } >/dev/null; then | 
| 5543 | < | if test -s conftest.err; then | 
| 5544 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 5545 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 5546 | < | else | 
| 4807 | < | ac_cpp_err= | 
| 4808 | < | fi | 
| 4809 | < | else | 
| 4810 | < | ac_cpp_err=yes | 
| 4811 | < | fi | 
| 4812 | < | if test -z "$ac_cpp_err"; then | 
| 4813 | < | : | 
| 4814 | < | else | 
| 4815 | < | echo "$as_me: failed program was:" >&5 | 
| 4816 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4817 | < |  | 
| 4818 | < | # Broken: fails on valid input. | 
| 4819 | < | continue | 
| 4820 | < | fi | 
| 4821 | < | rm -f conftest.err conftest.$ac_ext | 
| 4822 | < |  | 
| 4823 | < | # OK, works on sane cases.  Now check whether non-existent headers | 
| 4824 | < | # can be detected and how. | 
| 4825 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4826 | < | /* confdefs.h.  */ | 
| 4827 | < | _ACEOF | 
| 4828 | < | cat confdefs.h >>conftest.$ac_ext | 
| 4829 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 4830 | < | /* end confdefs.h.  */ | 
| 4831 | < | #include <ac_nonexistent.h> | 
| 4832 | < | _ACEOF | 
| 4833 | < | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4834 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 5542 | > | (exit $ac_status); } && | 
| 5543 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 5544 | > | || test ! -s conftest.err' | 
| 5545 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5546 | > | (eval $ac_try) 2>&5 | 
| 5547 |  | ac_status=$? | 
| 4836 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4837 | – | rm -f conftest.er1 | 
| 4838 | – | cat conftest.err >&5 | 
| 5548 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5549 | < | (exit $ac_status); } >/dev/null; then | 
| 5550 | < | if test -s conftest.err; then | 
| 5551 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 5552 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 5553 | < | else | 
| 5554 | < | ac_cpp_err= | 
| 5555 | < | fi | 
| 5549 | > | (exit $ac_status); }; } && | 
| 5550 | > | { ac_try='test -s conftest$ac_exeext' | 
| 5551 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5552 | > | (eval $ac_try) 2>&5 | 
| 5553 | > | ac_status=$? | 
| 5554 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5555 | > | (exit $ac_status); }; }; then | 
| 5556 | > | ac_cv_lib_m_asin=yes | 
| 5557 |  | else | 
| 4848 | – | ac_cpp_err=yes | 
| 4849 | – | fi | 
| 4850 | – | if test -z "$ac_cpp_err"; then | 
| 4851 | – | # Broken: success on invalid input. | 
| 4852 | – | continue | 
| 4853 | – | else | 
| 5558 |  | echo "$as_me: failed program was:" >&5 | 
| 5559 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5560 |  |  | 
| 5561 | < | # Passes both tests. | 
| 4858 | < | ac_preproc_ok=: | 
| 4859 | < | break | 
| 5561 | > | ac_cv_lib_m_asin=no | 
| 5562 |  | fi | 
| 5563 | < | rm -f conftest.err conftest.$ac_ext | 
| 5564 | < |  | 
| 5565 | < | done | 
| 4864 | < | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4865 | < | rm -f conftest.err conftest.$ac_ext | 
| 4866 | < | if $ac_preproc_ok; then | 
| 4867 | < | break | 
| 5563 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 5564 | > | conftest$ac_exeext conftest.$ac_ext | 
| 5565 | > | LIBS=$ac_check_lib_save_LIBS | 
| 5566 |  | fi | 
| 5567 | + | echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 | 
| 5568 | + | echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 | 
| 5569 | + | if test $ac_cv_lib_m_asin = yes; then | 
| 5570 | + | cat >>confdefs.h <<_ACEOF | 
| 5571 | + | #define HAVE_LIBM 1 | 
| 5572 | + | _ACEOF | 
| 5573 |  |  | 
| 5574 | < | done | 
| 4871 | < | ac_cv_prog_CXXCPP=$CXXCPP | 
| 5574 | > | LIBS="-lm $LIBS" | 
| 5575 |  |  | 
| 4873 | – | fi | 
| 4874 | – | CXXCPP=$ac_cv_prog_CXXCPP | 
| 5576 |  | else | 
| 5577 | < | ac_cv_prog_CXXCPP=$CXXCPP | 
| 4877 | < | fi | 
| 4878 | < | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
| 4879 | < | echo "${ECHO_T}$CXXCPP" >&6 | 
| 4880 | < | ac_preproc_ok=false | 
| 4881 | < | for ac_cxx_preproc_warn_flag in '' yes | 
| 4882 | < | do | 
| 4883 | < | # Use a header file that comes with gcc, so configuring glibc | 
| 4884 | < | # with a fresh cross-compiler works. | 
| 4885 | < | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 4886 | < | # <limits.h> exists even on freestanding compilers. | 
| 4887 | < | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 4888 | < | # not just through cpp. "Syntax error" is here to catch this case. | 
| 4889 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4890 | < | /* confdefs.h.  */ | 
| 4891 | < | _ACEOF | 
| 4892 | < | cat confdefs.h >>conftest.$ac_ext | 
| 4893 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 4894 | < | /* end confdefs.h.  */ | 
| 4895 | < | #ifdef __STDC__ | 
| 4896 | < | # include <limits.h> | 
| 4897 | < | #else | 
| 4898 | < | # include <assert.h> | 
| 4899 | < | #endif | 
| 4900 | < | Syntax error | 
| 4901 | < | _ACEOF | 
| 4902 | < | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4903 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4904 | < | ac_status=$? | 
| 4905 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4906 | < | rm -f conftest.er1 | 
| 4907 | < | cat conftest.err >&5 | 
| 4908 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4909 | < | (exit $ac_status); } >/dev/null; then | 
| 4910 | < | if test -s conftest.err; then | 
| 4911 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 4912 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 4913 | < | else | 
| 4914 | < | ac_cpp_err= | 
| 4915 | < | fi | 
| 4916 | < | else | 
| 4917 | < | ac_cpp_err=yes | 
| 5577 | > | exit | 
| 5578 |  | fi | 
| 4919 | – | if test -z "$ac_cpp_err"; then | 
| 4920 | – | : | 
| 4921 | – | else | 
| 4922 | – | echo "$as_me: failed program was:" >&5 | 
| 4923 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5579 |  |  | 
| 4925 | – | # Broken: fails on valid input. | 
| 4926 | – | continue | 
| 4927 | – | fi | 
| 4928 | – | rm -f conftest.err conftest.$ac_ext | 
| 5580 |  |  | 
| 4930 | – | # OK, works on sane cases.  Now check whether non-existent headers | 
| 4931 | – | # can be detected and how. | 
| 4932 | – | cat >conftest.$ac_ext <<_ACEOF | 
| 4933 | – | /* confdefs.h.  */ | 
| 4934 | – | _ACEOF | 
| 4935 | – | cat confdefs.h >>conftest.$ac_ext | 
| 4936 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 4937 | – | /* end confdefs.h.  */ | 
| 4938 | – | #include <ac_nonexistent.h> | 
| 4939 | – | _ACEOF | 
| 4940 | – | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4941 | – | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4942 | – | ac_status=$? | 
| 4943 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4944 | – | rm -f conftest.er1 | 
| 4945 | – | cat conftest.err >&5 | 
| 4946 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4947 | – | (exit $ac_status); } >/dev/null; then | 
| 4948 | – | if test -s conftest.err; then | 
| 4949 | – | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 4950 | – | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 4951 | – | else | 
| 4952 | – | ac_cpp_err= | 
| 4953 | – | fi | 
| 4954 | – | else | 
| 4955 | – | ac_cpp_err=yes | 
| 4956 | – | fi | 
| 4957 | – | if test -z "$ac_cpp_err"; then | 
| 4958 | – | # Broken: success on invalid input. | 
| 4959 | – | continue | 
| 4960 | – | else | 
| 4961 | – | echo "$as_me: failed program was:" >&5 | 
| 4962 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4963 | – |  | 
| 4964 | – | # Passes both tests. | 
| 4965 | – | ac_preproc_ok=: | 
| 4966 | – | break | 
| 4967 | – | fi | 
| 4968 | – | rm -f conftest.err conftest.$ac_ext | 
| 4969 | – |  | 
| 4970 | – | done | 
| 4971 | – | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4972 | – | rm -f conftest.err conftest.$ac_ext | 
| 4973 | – | if $ac_preproc_ok; then | 
| 4974 | – | : | 
| 4975 | – | else | 
| 4976 | – | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 4977 | – | See \`config.log' for more details." >&5 | 
| 4978 | – | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 4979 | – | See \`config.log' for more details." >&2;} | 
| 4980 | – | { (exit 1); exit 1; }; } | 
| 4981 | – | fi | 
| 4982 | – |  | 
| 4983 | – | ac_ext=cc | 
| 4984 | – | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 4985 | – | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4986 | – | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4987 | – | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 4988 | – |  | 
| 4989 | – |  | 
| 5581 |  | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
| 5582 |  | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
| 5583 |  | if test "${ac_cv_header_stdc+set}" = set; then | 
| 5594 |  | #include <string.h> | 
| 5595 |  | #include <float.h> | 
| 5596 |  |  | 
| 5597 | + | #ifdef FC_DUMMY_MAIN | 
| 5598 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 5599 | + | #  ifdef __cplusplus | 
| 5600 | + | extern "C" | 
| 5601 | + | #  endif | 
| 5602 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 5603 | + | #endif | 
| 5604 | + | #endif | 
| 5605 |  | int | 
| 5606 |  | main () | 
| 5607 |  | { | 
| 5619 |  | cat conftest.err >&5 | 
| 5620 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5621 |  | (exit $ac_status); } && | 
| 5622 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 5622 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 5623 |  | || test ! -s conftest.err' | 
| 5624 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5625 |  | (eval $ac_try) 2>&5 | 
| 5752 |  |  | 
| 5753 |  | fi | 
| 5754 |  |  | 
| 5156 | – | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
| 5157 | – | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
| 5158 | – | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
| 5159 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5160 | – | else | 
| 5161 | – |  | 
| 5162 | – |  | 
| 5163 | – | ac_ext=cc | 
| 5164 | – | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 5165 | – | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5166 | – | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5167 | – | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 5168 | – |  | 
| 5169 | – | cat >conftest.$ac_ext <<_ACEOF | 
| 5170 | – | /* confdefs.h.  */ | 
| 5171 | – | _ACEOF | 
| 5172 | – | cat confdefs.h >>conftest.$ac_ext | 
| 5173 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 5174 | – | /* end confdefs.h.  */ | 
| 5175 | – | namespace Outer { namespace Inner { int i = 0; }} | 
| 5176 | – | int | 
| 5177 | – | main () | 
| 5178 | – | { | 
| 5179 | – | using namespace Outer::Inner; return i; | 
| 5180 | – | ; | 
| 5181 | – | return 0; | 
| 5182 | – | } | 
| 5183 | – | _ACEOF | 
| 5184 | – | rm -f conftest.$ac_objext | 
| 5185 | – | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5186 | – | (eval $ac_compile) 2>conftest.er1 | 
| 5187 | – | ac_status=$? | 
| 5188 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5189 | – | rm -f conftest.er1 | 
| 5190 | – | cat conftest.err >&5 | 
| 5191 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5192 | – | (exit $ac_status); } && | 
| 5193 | – | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 5194 | – | || test ! -s conftest.err' | 
| 5195 | – | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5196 | – | (eval $ac_try) 2>&5 | 
| 5197 | – | ac_status=$? | 
| 5198 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5199 | – | (exit $ac_status); }; } && | 
| 5200 | – | { ac_try='test -s conftest.$ac_objext' | 
| 5201 | – | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5202 | – | (eval $ac_try) 2>&5 | 
| 5203 | – | ac_status=$? | 
| 5204 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5205 | – | (exit $ac_status); }; }; then | 
| 5206 | – | ac_cv_cxx_namespaces=yes | 
| 5207 | – | else | 
| 5208 | – | echo "$as_me: failed program was:" >&5 | 
| 5209 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5210 | – |  | 
| 5211 | – | ac_cv_cxx_namespaces=no | 
| 5212 | – | fi | 
| 5213 | – | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5214 | – | ac_ext=cc | 
| 5215 | – | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 5216 | – | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5217 | – | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5218 | – | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 5219 | – |  | 
| 5220 | – |  | 
| 5221 | – | fi | 
| 5222 | – | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
| 5223 | – | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
| 5224 | – | if test "$ac_cv_cxx_namespaces" = yes; then | 
| 5225 | – |  | 
| 5226 | – | cat >>confdefs.h <<\_ACEOF | 
| 5227 | – | #define HAVE_NAMESPACES | 
| 5228 | – | _ACEOF | 
| 5229 | – |  | 
| 5230 | – | fi | 
| 5231 | – |  | 
| 5755 |  | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
| 5756 |  |  | 
| 5757 |  |  | 
| 5790 |  | cat conftest.err >&5 | 
| 5791 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5792 |  | (exit $ac_status); } && | 
| 5793 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 5793 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 5794 |  | || test ! -s conftest.err' | 
| 5795 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5796 |  | (eval $ac_try) 2>&5 | 
| 5824 |  | done | 
| 5825 |  |  | 
| 5826 |  |  | 
| 5827 | < | echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 | 
| 5828 | < | echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6 | 
| 5829 | < | if test "${ac_cv_cxx_have_stl+set}" = set; then | 
| 5830 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5827 | > | # | 
| 5828 | > | # Handle user hints | 
| 5829 | > | # | 
| 5830 | > |  | 
| 5831 | > | # Check whether --with-zlib or --without-zlib was given. | 
| 5832 | > | if test "${with_zlib+set}" = set; then | 
| 5833 | > | withval="$with_zlib" | 
| 5834 | > | zlib_dir="$withval" | 
| 5835 |  | else | 
| 5836 | + | zlib_dir="not_set" | 
| 5837 | + | fi; | 
| 5838 | + | if test "$zlib_dir" != "no"; then | 
| 5839 |  |  | 
| 5840 | + | if test "$zlib_dir" != "not_set" ; then | 
| 5841 | + | if test -d "$zlib_dir" | 
| 5842 | + | then | 
| 5843 | + | ZLIB_HOME="$zlib_dir" | 
| 5844 | + | else | 
| 5845 | + | { echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5 | 
| 5846 | + | echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;} | 
| 5847 | + | fi | 
| 5848 | + | fi | 
| 5849 |  |  | 
| 5850 | + | ZLIB_HOME=/usr/local | 
| 5851 | + | if test ! -f "${ZLIB_HOME}/include/zlib.h" | 
| 5852 | + | then | 
| 5853 | + | ZLIB_HOME=/usr | 
| 5854 | + | fi | 
| 5855 |  |  | 
| 5856 | < | ac_ext=cc | 
| 5857 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 5858 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5859 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5860 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 5856 | > | # | 
| 5857 | > | # Locate zlib, if wanted | 
| 5858 | > | # | 
| 5859 | > | if test -n "${ZLIB_HOME}" | 
| 5860 | > | then | 
| 5861 | > | ZLIB_OLD_LDFLAGS=$LDFLAGS | 
| 5862 | > | ZLIB_OLD_CPPFLAGS=$LDFLAGS | 
| 5863 | > | LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" | 
| 5864 | > | CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" | 
| 5865 |  |  | 
| 5866 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 5866 | > |  | 
| 5867 | > | ac_ext=c | 
| 5868 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 5869 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5870 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5871 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 5872 | > |  | 
| 5873 | > | echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 | 
| 5874 | > | echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 | 
| 5875 | > | if test "${ac_cv_lib_z_inflateEnd+set}" = set; then | 
| 5876 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5877 | > | else | 
| 5878 | > | ac_check_lib_save_LIBS=$LIBS | 
| 5879 | > | LIBS="-lz  $LIBS" | 
| 5880 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5881 |  | /* confdefs.h.  */ | 
| 5882 |  | _ACEOF | 
| 5883 |  | cat confdefs.h >>conftest.$ac_ext | 
| 5884 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 5885 |  | /* end confdefs.h.  */ | 
| 5886 | < | #include <list> | 
| 5887 | < | #include <deque> | 
| 5888 | < | #ifdef HAVE_NAMESPACES | 
| 5889 | < | using namespace std; | 
| 5886 | > |  | 
| 5887 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 5888 | > | #ifdef __cplusplus | 
| 5889 | > | extern "C" | 
| 5890 |  | #endif | 
| 5891 | + | /* We use char because int might match the return type of a gcc2 | 
| 5892 | + | builtin and then its argument prototype would still apply.  */ | 
| 5893 | + | char inflateEnd (); | 
| 5894 | + | #ifdef FC_DUMMY_MAIN | 
| 5895 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 5896 | + | #  ifdef __cplusplus | 
| 5897 | + | extern "C" | 
| 5898 | + | #  endif | 
| 5899 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 5900 | + | #endif | 
| 5901 | + | #endif | 
| 5902 |  | int | 
| 5903 |  | main () | 
| 5904 |  | { | 
| 5905 | < | list<int> x; x.push_back(5); | 
| 5333 | < | list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; | 
| 5905 | > | inflateEnd (); | 
| 5906 |  | ; | 
| 5907 |  | return 0; | 
| 5908 |  | } | 
| 5909 |  | _ACEOF | 
| 5910 | < | rm -f conftest.$ac_objext | 
| 5911 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5912 | < | (eval $ac_compile) 2>conftest.er1 | 
| 5910 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 5911 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 5912 | > | (eval $ac_link) 2>conftest.er1 | 
| 5913 |  | ac_status=$? | 
| 5914 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5915 |  | rm -f conftest.er1 | 
| 5916 |  | cat conftest.err >&5 | 
| 5917 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5918 |  | (exit $ac_status); } && | 
| 5919 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 5919 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 5920 |  | || test ! -s conftest.err' | 
| 5921 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5922 |  | (eval $ac_try) 2>&5 | 
| 5923 |  | ac_status=$? | 
| 5924 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5925 |  | (exit $ac_status); }; } && | 
| 5926 | < | { ac_try='test -s conftest.$ac_objext' | 
| 5926 | > | { ac_try='test -s conftest$ac_exeext' | 
| 5927 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5928 |  | (eval $ac_try) 2>&5 | 
| 5929 |  | ac_status=$? | 
| 5930 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5931 |  | (exit $ac_status); }; }; then | 
| 5932 | < | ac_cv_cxx_have_stl=yes | 
| 5932 | > | ac_cv_lib_z_inflateEnd=yes | 
| 5933 |  | else | 
| 5934 |  | echo "$as_me: failed program was:" >&5 | 
| 5935 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5936 |  |  | 
| 5937 | < | ac_cv_cxx_have_stl=no | 
| 5366 | < | fi | 
| 5367 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5368 | < | ac_ext=cc | 
| 5369 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 5370 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 5371 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 5372 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 5373 | < |  | 
| 5374 | < |  | 
| 5937 | > | ac_cv_lib_z_inflateEnd=no | 
| 5938 |  | fi | 
| 5939 | < | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 | 
| 5940 | < | echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6 | 
| 5941 | < | if test "$ac_cv_cxx_have_stl" = yes; then | 
| 5379 | < |  | 
| 5380 | < | cat >>confdefs.h <<\_ACEOF | 
| 5381 | < | #define HAVE_STL | 
| 5382 | < | _ACEOF | 
| 5383 | < |  | 
| 5939 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 5940 | > | conftest$ac_exeext conftest.$ac_ext | 
| 5941 | > | LIBS=$ac_check_lib_save_LIBS | 
| 5942 |  | fi | 
| 5943 | + | echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 | 
| 5944 | + | echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 | 
| 5945 | + | if test $ac_cv_lib_z_inflateEnd = yes; then | 
| 5946 | + | zlib_cv_libz=yes | 
| 5947 | + | else | 
| 5948 | + | zlib_cv_libz=no | 
| 5949 | + | fi | 
| 5950 |  |  | 
| 5951 | < |  | 
| 5952 | < |  | 
| 5953 | < | if test "${ac_cv_header_iostream+set}" = set; then | 
| 5954 | < | echo "$as_me:$LINENO: checking for iostream" >&5 | 
| 5390 | < | echo $ECHO_N "checking for iostream... $ECHO_C" >&6 | 
| 5391 | < | if test "${ac_cv_header_iostream+set}" = set; then | 
| 5951 | > | if test "${ac_cv_header_zlib_h+set}" = set; then | 
| 5952 | > | echo "$as_me:$LINENO: checking for zlib.h" >&5 | 
| 5953 | > | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 
| 5954 | > | if test "${ac_cv_header_zlib_h+set}" = set; then | 
| 5955 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5956 |  | fi | 
| 5957 | < | echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 | 
| 5958 | < | echo "${ECHO_T}$ac_cv_header_iostream" >&6 | 
| 5957 | > | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | 
| 5958 | > | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 
| 5959 |  | else | 
| 5960 |  | # Is the header compilable? | 
| 5961 | < | echo "$as_me:$LINENO: checking iostream usability" >&5 | 
| 5962 | < | echo $ECHO_N "checking iostream usability... $ECHO_C" >&6 | 
| 5961 | > | echo "$as_me:$LINENO: checking zlib.h usability" >&5 | 
| 5962 | > | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 | 
| 5963 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 5964 |  | /* confdefs.h.  */ | 
| 5965 |  | _ACEOF | 
| 5967 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 5968 |  | /* end confdefs.h.  */ | 
| 5969 |  | $ac_includes_default | 
| 5970 | < | #include <iostream> | 
| 5970 | > | #include <zlib.h> | 
| 5971 |  | _ACEOF | 
| 5972 |  | rm -f conftest.$ac_objext | 
| 5973 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5978 |  | cat conftest.err >&5 | 
| 5979 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5980 |  | (exit $ac_status); } && | 
| 5981 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 5981 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 5982 |  | || test ! -s conftest.err' | 
| 5983 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5984 |  | (eval $ac_try) 2>&5 | 
| 6003 |  | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 6004 |  |  | 
| 6005 |  | # Is the header present? | 
| 6006 | < | echo "$as_me:$LINENO: checking iostream presence" >&5 | 
| 6007 | < | echo $ECHO_N "checking iostream presence... $ECHO_C" >&6 | 
| 6006 | > | echo "$as_me:$LINENO: checking zlib.h presence" >&5 | 
| 6007 | > | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 | 
| 6008 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 6009 |  | /* confdefs.h.  */ | 
| 6010 |  | _ACEOF | 
| 6011 |  | cat confdefs.h >>conftest.$ac_ext | 
| 6012 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 6013 |  | /* end confdefs.h.  */ | 
| 6014 | < | #include <iostream> | 
| 6014 | > | #include <zlib.h> | 
| 6015 |  | _ACEOF | 
| 6016 |  | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 6017 |  | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 6022 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6023 |  | (exit $ac_status); } >/dev/null; then | 
| 6024 |  | if test -s conftest.err; then | 
| 6025 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 6026 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 6025 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 6026 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 6027 |  | else | 
| 6028 |  | ac_cpp_err= | 
| 6029 |  | fi | 
| 6043 |  | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 6044 |  |  | 
| 6045 |  | # So?  What about this header? | 
| 6046 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 6046 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 6047 |  | yes:no: ) | 
| 6048 | < | { echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6049 | < | echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6050 | < | { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5 | 
| 6051 | < | echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;} | 
| 6048 | > | { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6049 | > | echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6050 | > | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 | 
| 6051 | > | echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} | 
| 6052 |  | ac_header_preproc=yes | 
| 6053 |  | ;; | 
| 6054 |  | no:yes:* ) | 
| 6055 | < | { echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5 | 
| 6056 | < | echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;} | 
| 6057 | < | { echo "$as_me:$LINENO: WARNING: iostream:     check for missing prerequisite headers?" >&5 | 
| 6058 | < | echo "$as_me: WARNING: iostream:     check for missing prerequisite headers?" >&2;} | 
| 6059 | < | { echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5 | 
| 6060 | < | echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;} | 
| 6061 | < | { echo "$as_me:$LINENO: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6062 | < | echo "$as_me: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6063 | < | { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5 | 
| 6064 | < | echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} | 
| 6065 | < | { echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 | 
| 6066 | < | echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} | 
| 6055 | > | { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 | 
| 6056 | > | echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} | 
| 6057 | > | { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5 | 
| 6058 | > | echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;} | 
| 6059 | > | { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 | 
| 6060 | > | echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} | 
| 6061 | > | { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6062 | > | echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6063 | > | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 | 
| 6064 | > | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | 
| 6065 | > | { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 | 
| 6066 | > | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | 
| 6067 |  | ( | 
| 6068 |  | cat <<\_ASBOX | 
| 6069 |  | ## ------------------------------ ## | 
| 6074 |  | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 6075 |  | ;; | 
| 6076 |  | esac | 
| 6077 | < | echo "$as_me:$LINENO: checking for iostream" >&5 | 
| 6078 | < | echo $ECHO_N "checking for iostream... $ECHO_C" >&6 | 
| 6079 | < | if test "${ac_cv_header_iostream+set}" = set; then | 
| 6077 | > | echo "$as_me:$LINENO: checking for zlib.h" >&5 | 
| 6078 | > | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 
| 6079 | > | if test "${ac_cv_header_zlib_h+set}" = set; then | 
| 6080 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6081 |  | else | 
| 6082 | < | ac_cv_header_iostream=$ac_header_preproc | 
| 6082 | > | ac_cv_header_zlib_h=$ac_header_preproc | 
| 6083 |  | fi | 
| 6084 | < | echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 | 
| 6085 | < | echo "${ECHO_T}$ac_cv_header_iostream" >&6 | 
| 6084 | > | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | 
| 6085 | > | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 
| 6086 |  |  | 
| 6087 |  | fi | 
| 6088 | < | if test $ac_cv_header_iostream = yes; then | 
| 6088 | > | if test $ac_cv_header_zlib_h = yes; then | 
| 6089 | > | zlib_cv_zlib_h=yes | 
| 6090 | > | else | 
| 6091 | > | zlib_cv_zlib_h=no | 
| 6092 | > | fi | 
| 6093 |  |  | 
| 6094 |  |  | 
| 6095 | + | ac_ext=c | 
| 6096 | + | ac_cpp='$CPP $CPPFLAGS' | 
| 6097 | + | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6098 | + | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6099 | + | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 6100 | + |  | 
| 6101 | + |  | 
| 6102 | + | if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"; then | 
| 6103 | + |  | 
| 6104 |  | cat >>confdefs.h <<\_ACEOF | 
| 6105 | < | #define HAVE_IOSTREAM 1 | 
| 6105 | > | #define HAVE_ZLIB_H 1 | 
| 6106 |  | _ACEOF | 
| 6107 |  |  | 
| 6108 |  |  | 
| 6109 | + | cat >>confdefs.h <<\_ACEOF | 
| 6110 | + | #define HAVE_LIBZ 1 | 
| 6111 | + | _ACEOF | 
| 6112 | + |  | 
| 6113 | + | ZLIB_INC_DIR="${ZLIB_HOME}/include" | 
| 6114 | + | ZLIB_LIB_DIR="${ZLIB_HOME}/lib" | 
| 6115 | + | ZLIB="-lz" | 
| 6116 | + | else | 
| 6117 | + | echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 | 
| 6118 | + | echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 | 
| 6119 | + | ZLIB_INC_DIR= | 
| 6120 | + | ZLIB_LIB_DIR= | 
| 6121 | + | ZLIB= | 
| 6122 | + | LDFLAGS="$ZLIB_OLD_LDFLAGS" | 
| 6123 | + | CPPFLAGS="$ZLIB_OLD_CPPFLAGS" | 
| 6124 | + | echo "$as_me:$LINENO: result: failed" >&5 | 
| 6125 | + | echo "${ECHO_T}failed" >&6 | 
| 6126 | + | echo "" | 
| 6127 | + | echo "*********************************************************" | 
| 6128 | + | echo "* WARNING: Could not find a working zlib installation   *" | 
| 6129 | + | echo "* If you need OOPSE to be able to deal with compressed  *" | 
| 6130 | + | echo "* trajectory dump files be sure to specify a valid zlib *" | 
| 6131 | + | echo "* installation with --with-zlib=DIR                     *" | 
| 6132 | + | echo "*                                                       *" | 
| 6133 | + | echo "* OOPSE will still work without zlib installed.         *" | 
| 6134 | + | echo "*********************************************************" | 
| 6135 | + | echo "" | 
| 6136 | + | fi | 
| 6137 | + |  | 
| 6138 | + |  | 
| 6139 | + |  | 
| 6140 | + | fi | 
| 6141 | + | fi | 
| 6142 | + |  | 
| 6143 | + | # | 
| 6144 | + | # Handle user hints | 
| 6145 | + | # | 
| 6146 | + |  | 
| 6147 | + | # Check whether --with-fftw or --without-fftw was given. | 
| 6148 | + | if test "${with_fftw+set}" = set; then | 
| 6149 | + | withval="$with_fftw" | 
| 6150 | + | fftw_dir="$withval" | 
| 6151 |  | else | 
| 6152 | + | fftw_dir="not_set" | 
| 6153 | + | fi; | 
| 6154 | + | if test "$fftw_dir" != "no"; then | 
| 6155 |  |  | 
| 6156 | + | if test "$fftw_dir" != "not_set" ; then | 
| 6157 | + | if test -d "$fftw_dir" | 
| 6158 | + | then | 
| 6159 | + | FFTW_HOME="$fftw_dir" | 
| 6160 | + | else | 
| 6161 | + | { echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5 | 
| 6162 | + | echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;} | 
| 6163 | + | fi | 
| 6164 | + | fi | 
| 6165 |  |  | 
| 6166 | < | for ac_header in iostream.h | 
| 6167 | < | do | 
| 6168 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 6169 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5540 | < | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5541 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5542 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5543 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6166 | > | FFTW_HOME=/usr/local | 
| 6167 | > | if test ! -f "${FFTW_HOME}/include/fftw3.h" -o -f "${FFTW_HOME}/include/fftw.h" -o  -f "${FFTW_HOME}/include/dfftw.h" | 
| 6168 | > | then | 
| 6169 | > | FFTW_HOME=/usr | 
| 6170 |  | fi | 
| 6171 | < | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 6172 | < | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 6171 | > |  | 
| 6172 | > | # | 
| 6173 | > | # Locate fftw, if wanted | 
| 6174 | > | # | 
| 6175 | > | if test -n "${FFTW_HOME}" | 
| 6176 | > | then | 
| 6177 | > | FFTW_OLD_LDFLAGS=$LDFLAGS | 
| 6178 | > | FFTW_OLD_CPPFLAGS=$LDFLAGS | 
| 6179 | > | LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib" | 
| 6180 | > | CPPFLAGS="$CPPFLAGS -I${FFTW_HOME}/include" | 
| 6181 | > |  | 
| 6182 | > |  | 
| 6183 | > | ac_ext=c | 
| 6184 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 6185 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6186 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6187 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 6188 | > |  | 
| 6189 | > | echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5 | 
| 6190 | > | echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6 | 
| 6191 | > | if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then | 
| 6192 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6193 |  | else | 
| 6194 | < | # Is the header compilable? | 
| 6195 | < | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 5550 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 6194 | > | ac_check_lib_save_LIBS=$LIBS | 
| 6195 | > | LIBS="-lfftw3  $LIBS" | 
| 6196 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 6197 |  | /* confdefs.h.  */ | 
| 6198 |  | _ACEOF | 
| 6199 |  | cat confdefs.h >>conftest.$ac_ext | 
| 6200 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 6201 |  | /* end confdefs.h.  */ | 
| 6202 | < | $ac_includes_default | 
| 6203 | < | #include <$ac_header> | 
| 6202 | > |  | 
| 6203 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 6204 | > | #ifdef __cplusplus | 
| 6205 | > | extern "C" | 
| 6206 | > | #endif | 
| 6207 | > | /* We use char because int might match the return type of a gcc2 | 
| 6208 | > | builtin and then its argument prototype would still apply.  */ | 
| 6209 | > | char fftw_execute (); | 
| 6210 | > | #ifdef FC_DUMMY_MAIN | 
| 6211 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 6212 | > | #  ifdef __cplusplus | 
| 6213 | > | extern "C" | 
| 6214 | > | #  endif | 
| 6215 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 6216 | > | #endif | 
| 6217 | > | #endif | 
| 6218 | > | int | 
| 6219 | > | main () | 
| 6220 | > | { | 
| 6221 | > | fftw_execute (); | 
| 6222 | > | ; | 
| 6223 | > | return 0; | 
| 6224 | > | } | 
| 6225 |  | _ACEOF | 
| 6226 | < | rm -f conftest.$ac_objext | 
| 6227 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6228 | < | (eval $ac_compile) 2>conftest.er1 | 
| 6226 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6227 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 6228 | > | (eval $ac_link) 2>conftest.er1 | 
| 6229 |  | ac_status=$? | 
| 6230 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6231 |  | rm -f conftest.er1 | 
| 6232 |  | cat conftest.err >&5 | 
| 6233 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6234 |  | (exit $ac_status); } && | 
| 6235 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6235 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6236 |  | || test ! -s conftest.err' | 
| 6237 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6238 |  | (eval $ac_try) 2>&5 | 
| 6239 |  | ac_status=$? | 
| 6240 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6241 |  | (exit $ac_status); }; } && | 
| 6242 | < | { ac_try='test -s conftest.$ac_objext' | 
| 6242 | > | { ac_try='test -s conftest$ac_exeext' | 
| 6243 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6244 |  | (eval $ac_try) 2>&5 | 
| 6245 |  | ac_status=$? | 
| 6246 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6247 |  | (exit $ac_status); }; }; then | 
| 6248 | < | ac_header_compiler=yes | 
| 6248 | > | ac_cv_lib_fftw3_fftw_execute=yes | 
| 6249 |  | else | 
| 6250 |  | echo "$as_me: failed program was:" >&5 | 
| 6251 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6252 |  |  | 
| 6253 | < | ac_header_compiler=no | 
| 6253 | > | ac_cv_lib_fftw3_fftw_execute=no | 
| 6254 |  | fi | 
| 6255 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6256 | < | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 6257 | < | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 5592 | < |  | 
| 5593 | < | # Is the header present? | 
| 5594 | < | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 5595 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 5596 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 5597 | < | /* confdefs.h.  */ | 
| 5598 | < | _ACEOF | 
| 5599 | < | cat confdefs.h >>conftest.$ac_ext | 
| 5600 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 5601 | < | /* end confdefs.h.  */ | 
| 5602 | < | #include <$ac_header> | 
| 5603 | < | _ACEOF | 
| 5604 | < | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 5605 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 5606 | < | ac_status=$? | 
| 5607 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5608 | < | rm -f conftest.er1 | 
| 5609 | < | cat conftest.err >&5 | 
| 5610 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5611 | < | (exit $ac_status); } >/dev/null; then | 
| 5612 | < | if test -s conftest.err; then | 
| 5613 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 5614 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 5615 | < | else | 
| 5616 | < | ac_cpp_err= | 
| 5617 | < | fi | 
| 5618 | < | else | 
| 5619 | < | ac_cpp_err=yes | 
| 6255 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 6256 | > | conftest$ac_exeext conftest.$ac_ext | 
| 6257 | > | LIBS=$ac_check_lib_save_LIBS | 
| 6258 |  | fi | 
| 6259 | < | if test -z "$ac_cpp_err"; then | 
| 6260 | < | ac_header_preproc=yes | 
| 6259 | > | echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5 | 
| 6260 | > | echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6 | 
| 6261 | > | if test $ac_cv_lib_fftw3_fftw_execute = yes; then | 
| 6262 | > | fftw_cv_libfftw3=yes | 
| 6263 |  | else | 
| 6264 | < | echo "$as_me: failed program was:" >&5 | 
| 5625 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5626 | < |  | 
| 5627 | < | ac_header_preproc=no | 
| 6264 | > | fftw_cv_libfftw3=no | 
| 6265 |  | fi | 
| 5629 | – | rm -f conftest.err conftest.$ac_ext | 
| 5630 | – | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 5631 | – | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 6266 |  |  | 
| 6267 | < | # So?  What about this header? | 
| 6268 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 6269 | < | yes:no: ) | 
| 6270 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 5637 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 5638 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 5639 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 5640 | < | ac_header_preproc=yes | 
| 5641 | < | ;; | 
| 5642 | < | no:yes:* ) | 
| 5643 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 5644 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 5645 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 5646 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 5647 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 5648 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 5649 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 5650 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 5651 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 5652 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 5653 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 5654 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 5655 | < | ( | 
| 5656 | < | cat <<\_ASBOX | 
| 5657 | < | ## ------------------------------ ## | 
| 5658 | < | ## Report this to gezelter@nd.edu ## | 
| 5659 | < | ## ------------------------------ ## | 
| 5660 | < | _ASBOX | 
| 5661 | < | ) | | 
| 5662 | < | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 5663 | < | ;; | 
| 5664 | < | esac | 
| 5665 | < | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5666 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5667 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 6267 | > | if test "${ac_cv_header_fftw3_h+set}" = set; then | 
| 6268 | > | echo "$as_me:$LINENO: checking for fftw3.h" >&5 | 
| 6269 | > | echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6 | 
| 6270 | > | if test "${ac_cv_header_fftw3_h+set}" = set; then | 
| 6271 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5669 | – | else | 
| 5670 | – | eval "$as_ac_Header=\$ac_header_preproc" | 
| 6272 |  | fi | 
| 6273 | < | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 6274 | < | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5674 | < |  | 
| 5675 | < | fi | 
| 5676 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 5677 | < | cat >>confdefs.h <<_ACEOF | 
| 5678 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 5679 | < | _ACEOF | 
| 5680 | < |  | 
| 5681 | < | fi | 
| 5682 | < |  | 
| 5683 | < | done | 
| 5684 | < |  | 
| 5685 | < |  | 
| 5686 | < | fi | 
| 5687 | < |  | 
| 5688 | < |  | 
| 5689 | < |  | 
| 5690 | < |  | 
| 5691 | < | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 5692 | < | echo "$as_me:$LINENO: checking for iomanip" >&5 | 
| 5693 | < | echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 | 
| 5694 | < | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 5695 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5696 | < | fi | 
| 5697 | < | echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 | 
| 5698 | < | echo "${ECHO_T}$ac_cv_header_iomanip" >&6 | 
| 6273 | > | echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 | 
| 6274 | > | echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6 | 
| 6275 |  | else | 
| 6276 |  | # Is the header compilable? | 
| 6277 | < | echo "$as_me:$LINENO: checking iomanip usability" >&5 | 
| 6278 | < | echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6 | 
| 6277 | > | echo "$as_me:$LINENO: checking fftw3.h usability" >&5 | 
| 6278 | > | echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6 | 
| 6279 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 6280 |  | /* confdefs.h.  */ | 
| 6281 |  | _ACEOF | 
| 6283 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 6284 |  | /* end confdefs.h.  */ | 
| 6285 |  | $ac_includes_default | 
| 6286 | < | #include <iomanip> | 
| 6286 | > | #include <fftw3.h> | 
| 6287 |  | _ACEOF | 
| 6288 |  | rm -f conftest.$ac_objext | 
| 6289 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6294 |  | cat conftest.err >&5 | 
| 6295 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6296 |  | (exit $ac_status); } && | 
| 6297 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6297 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6298 |  | || test ! -s conftest.err' | 
| 6299 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6300 |  | (eval $ac_try) 2>&5 | 
| 6319 |  | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 6320 |  |  | 
| 6321 |  | # Is the header present? | 
| 6322 | < | echo "$as_me:$LINENO: checking iomanip presence" >&5 | 
| 6323 | < | echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6 | 
| 6322 | > | echo "$as_me:$LINENO: checking fftw3.h presence" >&5 | 
| 6323 | > | echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6 | 
| 6324 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 6325 |  | /* confdefs.h.  */ | 
| 6326 |  | _ACEOF | 
| 6327 |  | cat confdefs.h >>conftest.$ac_ext | 
| 6328 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 6329 |  | /* end confdefs.h.  */ | 
| 6330 | < | #include <iomanip> | 
| 6330 | > | #include <fftw3.h> | 
| 6331 |  | _ACEOF | 
| 6332 |  | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 6333 |  | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 6338 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6339 |  | (exit $ac_status); } >/dev/null; then | 
| 6340 |  | if test -s conftest.err; then | 
| 6341 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 6342 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 6341 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 6342 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 6343 |  | else | 
| 6344 |  | ac_cpp_err= | 
| 6345 |  | fi | 
| 6359 |  | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 6360 |  |  | 
| 6361 |  | # So?  What about this header? | 
| 6362 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 6362 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 6363 |  | yes:no: ) | 
| 6364 | < | { echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6365 | < | echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6366 | < | { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5 | 
| 6367 | < | echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;} | 
| 6364 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6365 | > | echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6366 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5 | 
| 6367 | > | echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;} | 
| 6368 |  | ac_header_preproc=yes | 
| 6369 |  | ;; | 
| 6370 |  | no:yes:* ) | 
| 6371 | < | { echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5 | 
| 6372 | < | echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;} | 
| 6373 | < | { echo "$as_me:$LINENO: WARNING: iomanip:     check for missing prerequisite headers?" >&5 | 
| 6374 | < | echo "$as_me: WARNING: iomanip:     check for missing prerequisite headers?" >&2;} | 
| 6375 | < | { echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5 | 
| 6376 | < | echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;} | 
| 6377 | < | { echo "$as_me:$LINENO: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6378 | < | echo "$as_me: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6379 | < | { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5 | 
| 6380 | < | echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} | 
| 6381 | < | { echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 | 
| 6382 | < | echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} | 
| 6371 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5 | 
| 6372 | > | echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;} | 
| 6373 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h:     check for missing prerequisite headers?" >&5 | 
| 6374 | > | echo "$as_me: WARNING: fftw3.h:     check for missing prerequisite headers?" >&2;} | 
| 6375 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5 | 
| 6376 | > | echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;} | 
| 6377 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6378 | > | echo "$as_me: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6379 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5 | 
| 6380 | > | echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;} | 
| 6381 | > | { echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5 | 
| 6382 | > | echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;} | 
| 6383 |  | ( | 
| 6384 |  | cat <<\_ASBOX | 
| 6385 |  | ## ------------------------------ ## | 
| 6390 |  | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 6391 |  | ;; | 
| 6392 |  | esac | 
| 6393 | < | echo "$as_me:$LINENO: checking for iomanip" >&5 | 
| 6394 | < | echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 | 
| 6395 | < | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 6393 | > | echo "$as_me:$LINENO: checking for fftw3.h" >&5 | 
| 6394 | > | echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6 | 
| 6395 | > | if test "${ac_cv_header_fftw3_h+set}" = set; then | 
| 6396 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6397 |  | else | 
| 6398 | < | ac_cv_header_iomanip=$ac_header_preproc | 
| 6398 | > | ac_cv_header_fftw3_h=$ac_header_preproc | 
| 6399 |  | fi | 
| 6400 | < | echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 | 
| 6401 | < | echo "${ECHO_T}$ac_cv_header_iomanip" >&6 | 
| 6400 | > | echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 | 
| 6401 | > | echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6 | 
| 6402 |  |  | 
| 6403 |  | fi | 
| 6404 | < | if test $ac_cv_header_iomanip = yes; then | 
| 6404 | > | if test $ac_cv_header_fftw3_h = yes; then | 
| 6405 | > | fftw_cv_fftw3_h=yes | 
| 6406 | > | else | 
| 6407 | > | fftw_cv_fftw3_h=no | 
| 6408 | > | fi | 
| 6409 |  |  | 
| 6410 |  |  | 
| 6411 | < | cat >>confdefs.h <<\_ACEOF | 
| 6412 | < | #define HAVE_IOMANIP 1 | 
| 6411 | > | if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no" | 
| 6412 | > | then | 
| 6413 | > | echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5 | 
| 6414 | > | echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6 | 
| 6415 | > | if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then | 
| 6416 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6417 | > | else | 
| 6418 | > | ac_check_lib_save_LIBS=$LIBS | 
| 6419 | > | LIBS="-lfftw  $LIBS" | 
| 6420 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 6421 | > | /* confdefs.h.  */ | 
| 6422 |  | _ACEOF | 
| 6423 | + | cat confdefs.h >>conftest.$ac_ext | 
| 6424 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 6425 | + | /* end confdefs.h.  */ | 
| 6426 |  |  | 
| 6427 | < |  | 
| 6427 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 6428 | > | #ifdef __cplusplus | 
| 6429 | > | extern "C" | 
| 6430 | > | #endif | 
| 6431 | > | /* We use char because int might match the return type of a gcc2 | 
| 6432 | > | builtin and then its argument prototype would still apply.  */ | 
| 6433 | > | char fftwnd_one (); | 
| 6434 | > | #ifdef FC_DUMMY_MAIN | 
| 6435 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 6436 | > | #  ifdef __cplusplus | 
| 6437 | > | extern "C" | 
| 6438 | > | #  endif | 
| 6439 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 6440 | > | #endif | 
| 6441 | > | #endif | 
| 6442 | > | int | 
| 6443 | > | main () | 
| 6444 | > | { | 
| 6445 | > | fftwnd_one (); | 
| 6446 | > | ; | 
| 6447 | > | return 0; | 
| 6448 | > | } | 
| 6449 | > | _ACEOF | 
| 6450 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6451 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 6452 | > | (eval $ac_link) 2>conftest.er1 | 
| 6453 | > | ac_status=$? | 
| 6454 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6455 | > | rm -f conftest.er1 | 
| 6456 | > | cat conftest.err >&5 | 
| 6457 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6458 | > | (exit $ac_status); } && | 
| 6459 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6460 | > | || test ! -s conftest.err' | 
| 6461 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6462 | > | (eval $ac_try) 2>&5 | 
| 6463 | > | ac_status=$? | 
| 6464 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6465 | > | (exit $ac_status); }; } && | 
| 6466 | > | { ac_try='test -s conftest$ac_exeext' | 
| 6467 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6468 | > | (eval $ac_try) 2>&5 | 
| 6469 | > | ac_status=$? | 
| 6470 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6471 | > | (exit $ac_status); }; }; then | 
| 6472 | > | ac_cv_lib_fftw_fftwnd_one=yes | 
| 6473 |  | else | 
| 6474 | + | echo "$as_me: failed program was:" >&5 | 
| 6475 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6476 |  |  | 
| 6477 | + | ac_cv_lib_fftw_fftwnd_one=no | 
| 6478 | + | fi | 
| 6479 | + | rm -f conftest.err conftest.$ac_objext \ | 
| 6480 | + | conftest$ac_exeext conftest.$ac_ext | 
| 6481 | + | LIBS=$ac_check_lib_save_LIBS | 
| 6482 | + | fi | 
| 6483 | + | echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5 | 
| 6484 | + | echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6 | 
| 6485 | + | if test $ac_cv_lib_fftw_fftwnd_one = yes; then | 
| 6486 | + | fftw_cv_libfftw=yes | 
| 6487 | + | else | 
| 6488 | + | fftw_cv_libfftw=no | 
| 6489 | + | fi | 
| 6490 |  |  | 
| 6491 | < | for ac_header in iomanip.h | 
| 6492 | < | do | 
| 6493 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 6494 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5843 | < | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5844 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5845 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 6491 | > | if test "${ac_cv_header_fftw_h+set}" = set; then | 
| 6492 | > | echo "$as_me:$LINENO: checking for fftw.h" >&5 | 
| 6493 | > | echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6 | 
| 6494 | > | if test "${ac_cv_header_fftw_h+set}" = set; then | 
| 6495 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6496 |  | fi | 
| 6497 | < | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 6498 | < | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 6497 | > | echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 | 
| 6498 | > | echo "${ECHO_T}$ac_cv_header_fftw_h" >&6 | 
| 6499 |  | else | 
| 6500 |  | # Is the header compilable? | 
| 6501 | < | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 6502 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 6501 | > | echo "$as_me:$LINENO: checking fftw.h usability" >&5 | 
| 6502 | > | echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6 | 
| 6503 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 6504 |  | /* confdefs.h.  */ | 
| 6505 |  | _ACEOF | 
| 6507 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 6508 |  | /* end confdefs.h.  */ | 
| 6509 |  | $ac_includes_default | 
| 6510 | < | #include <$ac_header> | 
| 6510 | > | #include <fftw.h> | 
| 6511 |  | _ACEOF | 
| 6512 |  | rm -f conftest.$ac_objext | 
| 6513 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6518 |  | cat conftest.err >&5 | 
| 6519 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6520 |  | (exit $ac_status); } && | 
| 6521 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6521 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6522 |  | || test ! -s conftest.err' | 
| 6523 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6524 |  | (eval $ac_try) 2>&5 | 
| 6543 |  | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 6544 |  |  | 
| 6545 |  | # Is the header present? | 
| 6546 | < | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 6547 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 6546 | > | echo "$as_me:$LINENO: checking fftw.h presence" >&5 | 
| 6547 | > | echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6 | 
| 6548 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 6549 |  | /* confdefs.h.  */ | 
| 6550 |  | _ACEOF | 
| 6551 |  | cat confdefs.h >>conftest.$ac_ext | 
| 6552 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 6553 |  | /* end confdefs.h.  */ | 
| 6554 | < | #include <$ac_header> | 
| 6554 | > | #include <fftw.h> | 
| 6555 |  | _ACEOF | 
| 6556 |  | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 6557 |  | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 6562 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6563 |  | (exit $ac_status); } >/dev/null; then | 
| 6564 |  | if test -s conftest.err; then | 
| 6565 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 6566 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 6565 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 6566 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 6567 |  | else | 
| 6568 |  | ac_cpp_err= | 
| 6569 |  | fi | 
| 6583 |  | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 6584 |  |  | 
| 6585 |  | # So?  What about this header? | 
| 6586 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 6586 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 6587 |  | yes:no: ) | 
| 6588 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6589 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6590 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 6591 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 6588 | > | { echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6589 | > | echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6590 | > | { echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5 | 
| 6591 | > | echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;} | 
| 6592 |  | ac_header_preproc=yes | 
| 6593 |  | ;; | 
| 6594 |  | no:yes:* ) | 
| 6595 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 6596 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 6597 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 6598 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 6599 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 6600 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 6601 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6602 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6603 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 6604 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 6605 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 6606 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 6595 | > | { echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5 | 
| 6596 | > | echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;} | 
| 6597 | > | { echo "$as_me:$LINENO: WARNING: fftw.h:     check for missing prerequisite headers?" >&5 | 
| 6598 | > | echo "$as_me: WARNING: fftw.h:     check for missing prerequisite headers?" >&2;} | 
| 6599 | > | { echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5 | 
| 6600 | > | echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;} | 
| 6601 | > | { echo "$as_me:$LINENO: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6602 | > | echo "$as_me: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6603 | > | { echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5 | 
| 6604 | > | echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;} | 
| 6605 | > | { echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5 | 
| 6606 | > | echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;} | 
| 6607 |  | ( | 
| 6608 |  | cat <<\_ASBOX | 
| 6609 |  | ## ------------------------------ ## | 
| 6614 |  | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 6615 |  | ;; | 
| 6616 |  | esac | 
| 6617 | < | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 6618 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 6619 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 6617 | > | echo "$as_me:$LINENO: checking for fftw.h" >&5 | 
| 6618 | > | echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6 | 
| 6619 | > | if test "${ac_cv_header_fftw_h+set}" = set; then | 
| 6620 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6621 |  | else | 
| 6622 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 6622 | > | ac_cv_header_fftw_h=$ac_header_preproc | 
| 6623 |  | fi | 
| 6624 | < | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 6625 | < | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 6624 | > | echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 | 
| 6625 | > | echo "${ECHO_T}$ac_cv_header_fftw_h" >&6 | 
| 6626 |  |  | 
| 6627 |  | fi | 
| 6628 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 6629 | < | cat >>confdefs.h <<_ACEOF | 
| 6630 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 6631 | < | _ACEOF | 
| 5983 | < |  | 
| 6628 | > | if test $ac_cv_header_fftw_h = yes; then | 
| 6629 | > | fftw_cv_fftw_h=yes | 
| 6630 | > | else | 
| 6631 | > | fftw_cv_fftw_h=no | 
| 6632 |  | fi | 
| 6633 |  |  | 
| 5986 | – | done | 
| 6634 |  |  | 
| 6635 | < |  | 
| 6636 | < | fi | 
| 6637 | < |  | 
| 6638 | < |  | 
| 6639 | < |  | 
| 6640 | < |  | 
| 6641 | < | for ac_header in cmath | 
| 6642 | < | do | 
| 6643 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 6644 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 6645 | < | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 6646 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 6647 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 6648 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6649 | < | fi | 
| 6650 | < | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 6651 | < | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 6652 | < | else | 
| 6653 | < | # Is the header compilable? | 
| 6654 | < | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 6655 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 6656 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 6657 | < | /* confdefs.h.  */ | 
| 6658 | < | _ACEOF | 
| 6659 | < | cat confdefs.h >>conftest.$ac_ext | 
| 6660 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 6661 | < | /* end confdefs.h.  */ | 
| 6662 | < | $ac_includes_default | 
| 6663 | < | #include <$ac_header> | 
| 6664 | < | _ACEOF | 
| 6665 | < | rm -f conftest.$ac_objext | 
| 6666 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6667 | < | (eval $ac_compile) 2>conftest.er1 | 
| 6668 | < | ac_status=$? | 
| 6669 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6670 | < | rm -f conftest.er1 | 
| 6671 | < | cat conftest.err >&5 | 
| 6672 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6673 | < | (exit $ac_status); } && | 
| 6674 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6675 | < | || test ! -s conftest.err' | 
| 6676 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6677 | < | (eval $ac_try) 2>&5 | 
| 6678 | < | ac_status=$? | 
| 6679 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6680 | < | (exit $ac_status); }; } && | 
| 6681 | < | { ac_try='test -s conftest.$ac_objext' | 
| 6682 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6683 | < | (eval $ac_try) 2>&5 | 
| 6684 | < | ac_status=$? | 
| 6685 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6686 | < | (exit $ac_status); }; }; then | 
| 6687 | < | ac_header_compiler=yes | 
| 6688 | < | else | 
| 6689 | < | echo "$as_me: failed program was:" >&5 | 
| 6690 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6691 | < |  | 
| 6692 | < | ac_header_compiler=no | 
| 6693 | < | fi | 
| 6694 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6695 | < | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 6696 | < | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 6697 | < |  | 
| 6698 | < | # Is the header present? | 
| 6699 | < | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 6700 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 6701 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 6702 | < | /* confdefs.h.  */ | 
| 6703 | < | _ACEOF | 
| 6704 | < | cat confdefs.h >>conftest.$ac_ext | 
| 6705 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 6706 | < | /* end confdefs.h.  */ | 
| 6707 | < | #include <$ac_header> | 
| 6708 | < | _ACEOF | 
| 6709 | < | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 6710 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 6711 | < | ac_status=$? | 
| 6712 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6713 | < | rm -f conftest.er1 | 
| 6714 | < | cat conftest.err >&5 | 
| 6715 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6716 | < | (exit $ac_status); } >/dev/null; then | 
| 6717 | < | if test -s conftest.err; then | 
| 6718 | < | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 6719 | < | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 6720 | < | else | 
| 6721 | < | ac_cpp_err= | 
| 6722 | < | fi | 
| 6723 | < | else | 
| 6724 | < | ac_cpp_err=yes | 
| 6725 | < | fi | 
| 6726 | < | if test -z "$ac_cpp_err"; then | 
| 6727 | < | ac_header_preproc=yes | 
| 6728 | < | else | 
| 6729 | < | echo "$as_me: failed program was:" >&5 | 
| 6730 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6731 | < |  | 
| 6732 | < | ac_header_preproc=no | 
| 6733 | < | fi | 
| 6734 | < | rm -f conftest.err conftest.$ac_ext | 
| 6735 | < | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 6736 | < | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 6737 | < |  | 
| 6738 | < | # So?  What about this header? | 
| 6739 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 6740 | < | yes:no: ) | 
| 6741 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6742 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6743 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 6744 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 6745 | < | ac_header_preproc=yes | 
| 6746 | < | ;; | 
| 6747 | < | no:yes:* ) | 
| 6748 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 6749 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 6750 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 6751 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 6752 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 6753 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 6754 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6755 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6756 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 6757 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 6758 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 6759 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 6760 | < | ( | 
| 6761 | < | cat <<\_ASBOX | 
| 6762 | < | ## ------------------------------ ## | 
| 6763 | < | ## Report this to gezelter@nd.edu ## | 
| 6764 | < | ## ------------------------------ ## | 
| 6765 | < | _ASBOX | 
| 6766 | < | ) | | 
| 6767 | < | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 6768 | < | ;; | 
| 6769 | < | esac | 
| 6770 | < | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 6771 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 6772 | < | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 6773 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6774 | < | else | 
| 6775 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 6776 | < | fi | 
| 6777 | < | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 6778 | < | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 6779 | < |  | 
| 6780 | < | fi | 
| 6781 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 6782 | < | cat >>confdefs.h <<_ACEOF | 
| 6783 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 6784 | < | _ACEOF | 
| 6785 | < |  | 
| 6786 | < | fi | 
| 6787 | < |  | 
| 6788 | < | done | 
| 6789 | < |  | 
| 6790 | < |  | 
| 6791 | < |  | 
| 6792 | < |  | 
| 6793 | < | echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 | 
| 6794 | < | echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6 | 
| 6795 | < | if test "${ac_cv_cxx_have_std_iostream+set}" = set; then | 
| 6796 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6797 | < | else | 
| 6798 | < |  | 
| 6799 | < | ac_cv_cxx_have_std_iostream=no | 
| 6800 | < | ac_cv_cxx_need_use_std_iostream=no | 
| 6801 | < | if test "x$ac_cv_cxx_namespaces" = xyes; then | 
| 6802 | < |  | 
| 6803 | < |  | 
| 6804 | < | ac_ext=cc | 
| 6805 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 6806 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6807 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6808 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 6809 | < |  | 
| 6810 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 6811 | < | /* confdefs.h.  */ | 
| 6812 | < | _ACEOF | 
| 6813 | < | cat confdefs.h >>conftest.$ac_ext | 
| 6814 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 6815 | < | /* end confdefs.h.  */ | 
| 6816 | < |  | 
| 6817 | < | #ifdef HAVE_IOSTREAM | 
| 6818 | < | #include <iostream> | 
| 6819 | < | #else | 
| 6820 | < | #include <iostream.h> | 
| 6821 | < | #endif | 
| 6822 | < |  | 
| 6823 | < | int | 
| 6824 | < | main () | 
| 6825 | < | { | 
| 6826 | < | std::cout<<"Hello World"<<std::endl;return 0; | 
| 6827 | < | ; | 
| 6828 | < | return 0; | 
| 6829 | < | } | 
| 6830 | < | _ACEOF | 
| 6831 | < | rm -f conftest.$ac_objext | 
| 6832 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6833 | < | (eval $ac_compile) 2>conftest.er1 | 
| 6834 | < | ac_status=$? | 
| 6835 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6836 | < | rm -f conftest.er1 | 
| 6837 | < | cat conftest.err >&5 | 
| 6838 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6839 | < | (exit $ac_status); } && | 
| 6840 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6841 | < | || test ! -s conftest.err' | 
| 6842 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6843 | < | (eval $ac_try) 2>&5 | 
| 6844 | < | ac_status=$? | 
| 6845 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6846 | < | (exit $ac_status); }; } && | 
| 6847 | < | { ac_try='test -s conftest.$ac_objext' | 
| 6848 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6849 | < | (eval $ac_try) 2>&5 | 
| 6850 | < | ac_status=$? | 
| 6851 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6852 | < | (exit $ac_status); }; }; then | 
| 6853 | < | ac_cv_cxx_have_std_iostream=yes | 
| 6854 | < | else | 
| 6855 | < | echo "$as_me: failed program was:" >&5 | 
| 6856 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6857 | < |  | 
| 6858 | < | fi | 
| 6859 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6860 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 6861 | < | /* confdefs.h.  */ | 
| 6862 | < | _ACEOF | 
| 6863 | < | cat confdefs.h >>conftest.$ac_ext | 
| 6864 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 6865 | < | /* end confdefs.h.  */ | 
| 6866 | < |  | 
| 6867 | < | #define __USE_STD_IOSTREAM 1 | 
| 6868 | < | #ifdef HAVE_IOSTREAM | 
| 6869 | < | #include <iostream> | 
| 6870 | < | #else | 
| 6871 | < | #include <iostream.h> | 
| 6872 | < | #endif | 
| 6873 | < |  | 
| 6874 | < | int | 
| 6875 | < | main () | 
| 6876 | < | { | 
| 6877 | < | std::cout<<"Hello World"<<std::endl;return 0; | 
| 6878 | < | ; | 
| 6879 | < | return 0; | 
| 6880 | < | } | 
| 6881 | < | _ACEOF | 
| 6882 | < | rm -f conftest.$ac_objext | 
| 6883 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6884 | < | (eval $ac_compile) 2>conftest.er1 | 
| 6885 | < | ac_status=$? | 
| 6886 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6887 | < | rm -f conftest.er1 | 
| 6888 | < | cat conftest.err >&5 | 
| 6889 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6890 | < | (exit $ac_status); } && | 
| 6891 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6892 | < | || test ! -s conftest.err' | 
| 6893 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6894 | < | (eval $ac_try) 2>&5 | 
| 6895 | < | ac_status=$? | 
| 6896 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6897 | < | (exit $ac_status); }; } && | 
| 6898 | < | { ac_try='test -s conftest.$ac_objext' | 
| 6899 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6900 | < | (eval $ac_try) 2>&5 | 
| 6901 | < | ac_status=$? | 
| 6902 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6903 | < | (exit $ac_status); }; }; then | 
| 6904 | < | ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes | 
| 6905 | < | else | 
| 6906 | < | echo "$as_me: failed program was:" >&5 | 
| 6907 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6908 | < |  | 
| 6909 | < | fi | 
| 6910 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6911 | < | ac_ext=cc | 
| 6912 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 6913 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6914 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6915 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 6916 | < |  | 
| 6917 | < | fi | 
| 6918 | < |  | 
| 6919 | < | fi | 
| 6920 | < | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 | 
| 6921 | < | echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6 | 
| 6922 | < | if test "$ac_cv_cxx_have_std_iostream" = yes; then | 
| 6923 | < |  | 
| 6924 | < | cat >>confdefs.h <<\_ACEOF | 
| 6925 | < | #define HAVE_STD_IOSTREAM 1 | 
| 6926 | < | _ACEOF | 
| 6927 | < |  | 
| 6928 | < | fi | 
| 6929 | < | if test "$ac_cv_cxx_need_use_std_iostream" = yes; then | 
| 6930 | < |  | 
| 6931 | < | cat >>confdefs.h <<\_ACEOF | 
| 6932 | < | #define __USE_STD_IOSTREAM 1 | 
| 6933 | < | _ACEOF | 
| 6934 | < |  | 
| 6935 | < | fi | 
| 6936 | < |  | 
| 6937 | < |  | 
| 6938 | < |  | 
| 6939 | < |  | 
| 6940 | < | echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 | 
| 6941 | < | echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6 | 
| 6942 | < | if test "${ac_cv_cxx_have_std_stl+set}" = set; then | 
| 6943 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6944 | < | else | 
| 6945 | < |  | 
| 6946 | < | ac_cv_cxx_have_std_stl=no | 
| 6947 | < | if test "x$ac_cv_cxx_namespaces" = xyes; then | 
| 6948 | < |  | 
| 6949 | < |  | 
| 6950 | < | ac_ext=cc | 
| 6951 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 6952 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6953 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6954 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 6955 | < |  | 
| 6956 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 6957 | < | /* confdefs.h.  */ | 
| 6958 | < | _ACEOF | 
| 6959 | < | cat confdefs.h >>conftest.$ac_ext | 
| 6960 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 6961 | < | /* end confdefs.h.  */ | 
| 6962 | < | #include <list> | 
| 6963 | < |  | 
| 6964 | < | int | 
| 6965 | < | main () | 
| 6966 | < | { | 
| 6967 | < | std::list<int> foo;return 0; | 
| 6968 | < | ; | 
| 6969 | < | return 0; | 
| 6970 | < | } | 
| 6971 | < | _ACEOF | 
| 6972 | < | rm -f conftest.$ac_objext | 
| 6973 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6974 | < | (eval $ac_compile) 2>conftest.er1 | 
| 6975 | < | ac_status=$? | 
| 6976 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6977 | < | rm -f conftest.er1 | 
| 6978 | < | cat conftest.err >&5 | 
| 6979 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6980 | < | (exit $ac_status); } && | 
| 6981 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 6982 | < | || test ! -s conftest.err' | 
| 6983 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6984 | < | (eval $ac_try) 2>&5 | 
| 6985 | < | ac_status=$? | 
| 6986 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6987 | < | (exit $ac_status); }; } && | 
| 6988 | < | { ac_try='test -s conftest.$ac_objext' | 
| 6989 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6990 | < | (eval $ac_try) 2>&5 | 
| 6991 | < | ac_status=$? | 
| 6992 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6993 | < | (exit $ac_status); }; }; then | 
| 6994 | < | ac_cv_cxx_have_std_stl=yes | 
| 6995 | < | else | 
| 6996 | < | echo "$as_me: failed program was:" >&5 | 
| 6997 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6998 | < |  | 
| 6999 | < | fi | 
| 7000 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7001 | < | ac_ext=cc | 
| 7002 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 7003 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7004 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7005 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 7006 | < |  | 
| 7007 | < | fi | 
| 7008 | < |  | 
| 7009 | < | fi | 
| 7010 | < | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 | 
| 7011 | < | echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6 | 
| 7012 | < | if test "$ac_cv_cxx_have_std_stl" = yes; then | 
| 7013 | < |  | 
| 7014 | < | cat >>confdefs.h <<\_ACEOF | 
| 7015 | < | #define HAVE_STD_STL 1 | 
| 7016 | < | _ACEOF | 
| 7017 | < |  | 
| 7018 | < | fi | 
| 7019 | < |  | 
| 7020 | < |  | 
| 7021 | < |  | 
| 7022 | < | echo "$as_me:$LINENO: checking for fstream::attach()" >&5 | 
| 7023 | < | echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6 | 
| 7024 | < | if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then | 
| 7025 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7026 | < | else | 
| 7027 | < |  | 
| 7028 | < | ac_cv_cxx_have_fstream_attach=no | 
| 7029 | < |  | 
| 7030 | < |  | 
| 7031 | < | ac_ext=cc | 
| 7032 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 7033 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7034 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7035 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 7036 | < |  | 
| 7037 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7038 | < | /* confdefs.h.  */ | 
| 7039 | < | _ACEOF | 
| 7040 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7041 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7042 | < | /* end confdefs.h.  */ | 
| 7043 | < |  | 
| 7044 | < | #ifdef HAVE_IOSTREAM | 
| 7045 | < | #include <fstream> | 
| 7046 | < | #else | 
| 7047 | < | #include <fstream.h> | 
| 7048 | < | #endif | 
| 7049 | < | #ifdef HAVE_STD_IOSTREAM | 
| 7050 | < | using namespace std; | 
| 7051 | < | #endif | 
| 7052 | < |  | 
| 7053 | < | int | 
| 7054 | < | main () | 
| 7055 | < | { | 
| 7056 | < | int fd=0;ofstream s;s.attach(fd); | 
| 7057 | < | ; | 
| 7058 | < | return 0; | 
| 7059 | < | } | 
| 7060 | < | _ACEOF | 
| 7061 | < | rm -f conftest.$ac_objext | 
| 7062 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7063 | < | (eval $ac_compile) 2>conftest.er1 | 
| 7064 | < | ac_status=$? | 
| 7065 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7066 | < | rm -f conftest.er1 | 
| 7067 | < | cat conftest.err >&5 | 
| 7068 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7069 | < | (exit $ac_status); } && | 
| 7070 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 7071 | < | || test ! -s conftest.err' | 
| 7072 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7073 | < | (eval $ac_try) 2>&5 | 
| 7074 | < | ac_status=$? | 
| 7075 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7076 | < | (exit $ac_status); }; } && | 
| 7077 | < | { ac_try='test -s conftest.$ac_objext' | 
| 7078 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7079 | < | (eval $ac_try) 2>&5 | 
| 7080 | < | ac_status=$? | 
| 7081 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7082 | < | (exit $ac_status); }; }; then | 
| 7083 | < | ac_cv_cxx_have_fstream_attach=yes | 
| 7084 | < | else | 
| 7085 | < | echo "$as_me: failed program was:" >&5 | 
| 7086 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7087 | < |  | 
| 7088 | < | fi | 
| 7089 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7090 | < | ac_ext=cc | 
| 7091 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 7092 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7093 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7094 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 7095 | < |  | 
| 7096 | < |  | 
| 7097 | < | fi | 
| 7098 | < | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 | 
| 7099 | < | echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6 | 
| 7100 | < | if test "$ac_cv_cxx_have_fstream_attach" = yes; then | 
| 7101 | < |  | 
| 7102 | < | cat >>confdefs.h <<\_ACEOF | 
| 7103 | < | #define HAVE_FSTREAM_ATTACH 1 | 
| 7104 | < | _ACEOF | 
| 7105 | < |  | 
| 7106 | < | fi | 
| 7107 | < |  | 
| 7108 | < |  | 
| 7109 | < |  | 
| 7110 | < | echo "$as_me:$LINENO: checking for fstream::open()" >&5 | 
| 7111 | < | echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6 | 
| 7112 | < | if test "${ac_cv_cxx_have_fstream_open+set}" = set; then | 
| 7113 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7114 | < | else | 
| 7115 | < |  | 
| 7116 | < | ac_cv_cxx_have_fstream_open=no | 
| 7117 | < | ac_cv_cxx_fstream_open_prot=no | 
| 7118 | < |  | 
| 7119 | < |  | 
| 7120 | < | ac_ext=cc | 
| 7121 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 7122 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7123 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7124 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 7125 | < |  | 
| 7126 | < | # Try with 2 parameters | 
| 7127 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7128 | < | /* confdefs.h.  */ | 
| 7129 | < | _ACEOF | 
| 7130 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7131 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7132 | < | /* end confdefs.h.  */ | 
| 7133 | < |  | 
| 7134 | < | #ifdef HAVE_IOSTREAM | 
| 7135 | < | #include <fstream> | 
| 7136 | < | #else | 
| 7137 | < | #include <fstream.h> | 
| 7138 | < | #endif | 
| 7139 | < | #ifdef HAVE_STD_IOSTREAM | 
| 7140 | < | using namespace std; | 
| 7141 | < | #endif | 
| 7142 | < |  | 
| 7143 | < | int | 
| 7144 | < | main () | 
| 7145 | < | { | 
| 7146 | < | ofstream s;s.open("conftest.txt",ios::out|ios::trunc); | 
| 7147 | < | ; | 
| 7148 | < | return 0; | 
| 7149 | < | } | 
| 7150 | < | _ACEOF | 
| 7151 | < | rm -f conftest.$ac_objext | 
| 7152 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7153 | < | (eval $ac_compile) 2>conftest.er1 | 
| 7154 | < | ac_status=$? | 
| 7155 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7156 | < | rm -f conftest.er1 | 
| 7157 | < | cat conftest.err >&5 | 
| 7158 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7159 | < | (exit $ac_status); } && | 
| 7160 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 7161 | < | || test ! -s conftest.err' | 
| 7162 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7163 | < | (eval $ac_try) 2>&5 | 
| 7164 | < | ac_status=$? | 
| 7165 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7166 | < | (exit $ac_status); }; } && | 
| 7167 | < | { ac_try='test -s conftest.$ac_objext' | 
| 7168 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7169 | < | (eval $ac_try) 2>&5 | 
| 7170 | < | ac_status=$? | 
| 7171 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7172 | < | (exit $ac_status); }; }; then | 
| 7173 | < | ac_cv_cxx_have_fstream_open=yes | 
| 7174 | < | else | 
| 7175 | < | echo "$as_me: failed program was:" >&5 | 
| 7176 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7177 | < |  | 
| 7178 | < | fi | 
| 7179 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7180 | < | # Try with mode parameter | 
| 7181 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7182 | < | /* confdefs.h.  */ | 
| 7183 | < | _ACEOF | 
| 7184 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7185 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7186 | < | /* end confdefs.h.  */ | 
| 7187 | < |  | 
| 7188 | < | #ifdef HAVE_IOSTREAM | 
| 7189 | < | #include <fstream> | 
| 7190 | < | #else | 
| 7191 | < | #include <fstream.h> | 
| 7192 | < | #endif | 
| 7193 | < | #ifdef HAVE_STD_IOSTREAM | 
| 7194 | < | using namespace std; | 
| 7195 | < | #endif | 
| 7196 | < |  | 
| 7197 | < | int | 
| 7198 | < | main () | 
| 7199 | < | { | 
| 7200 | < | ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); | 
| 7201 | < | ; | 
| 7202 | < | return 0; | 
| 7203 | < | } | 
| 7204 | < | _ACEOF | 
| 7205 | < | rm -f conftest.$ac_objext | 
| 7206 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7207 | < | (eval $ac_compile) 2>conftest.er1 | 
| 7208 | < | ac_status=$? | 
| 7209 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7210 | < | rm -f conftest.er1 | 
| 7211 | < | cat conftest.err >&5 | 
| 7212 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7213 | < | (exit $ac_status); } && | 
| 7214 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 7215 | < | || test ! -s conftest.err' | 
| 7216 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7217 | < | (eval $ac_try) 2>&5 | 
| 7218 | < | ac_status=$? | 
| 7219 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7220 | < | (exit $ac_status); }; } && | 
| 7221 | < | { ac_try='test -s conftest.$ac_objext' | 
| 7222 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7223 | < | (eval $ac_try) 2>&5 | 
| 7224 | < | ac_status=$? | 
| 7225 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7226 | < | (exit $ac_status); }; }; then | 
| 7227 | < | ac_cv_cxx_fstream_open_prot=yes | 
| 7228 | < | else | 
| 7229 | < | echo "$as_me: failed program was:" >&5 | 
| 7230 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7231 | < |  | 
| 7232 | < | fi | 
| 7233 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7234 | < | ac_ext=cc | 
| 7235 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 7236 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7237 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7238 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 7239 | < |  | 
| 7240 | < |  | 
| 7241 | < | fi | 
| 7242 | < | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 | 
| 7243 | < | echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6 | 
| 7244 | < | if test "$ac_cv_cxx_have_fstream_open" = yes; then | 
| 7245 | < |  | 
| 7246 | < | cat >>confdefs.h <<\_ACEOF | 
| 7247 | < | #define HAVE_FSTREAM_OPEN 1 | 
| 7248 | < | _ACEOF | 
| 7249 | < |  | 
| 7250 | < | fi | 
| 7251 | < | if test "$ac_cv_cxx_fstream_open_prot" = yes; then | 
| 7252 | < |  | 
| 7253 | < | cat >>confdefs.h <<\_ACEOF | 
| 7254 | < | #define FSTREAM_OPEN_PROT 1 | 
| 7255 | < | _ACEOF | 
| 7256 | < |  | 
| 7257 | < | fi | 
| 7258 | < |  | 
| 7259 | < |  | 
| 7260 | < |  | 
| 7261 | < |  | 
| 7262 | < | echo "$as_me:$LINENO: checking for asin in -lm" >&5 | 
| 7263 | < | echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 | 
| 7264 | < | if test "${ac_cv_lib_m_asin+set}" = set; then | 
| 7265 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7266 | < | else | 
| 7267 | < | ac_check_lib_save_LIBS=$LIBS | 
| 7268 | < | LIBS="-lm  $LIBS" | 
| 7269 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7270 | < | /* confdefs.h.  */ | 
| 7271 | < | _ACEOF | 
| 7272 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7273 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7274 | < | /* end confdefs.h.  */ | 
| 7275 | < |  | 
| 7276 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 7277 | < | #ifdef __cplusplus | 
| 7278 | < | extern "C" | 
| 6635 | > | if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no" | 
| 6636 | > | then | 
| 6637 | > | echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5 | 
| 6638 | > | echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6 | 
| 6639 | > | if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then | 
| 6640 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6641 | > | else | 
| 6642 | > | ac_check_lib_save_LIBS=$LIBS | 
| 6643 | > | LIBS="-ldfftw  $LIBS" | 
| 6644 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 6645 | > | /* confdefs.h.  */ | 
| 6646 | > | _ACEOF | 
| 6647 | > | cat confdefs.h >>conftest.$ac_ext | 
| 6648 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 6649 | > | /* end confdefs.h.  */ | 
| 6650 | > |  | 
| 6651 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 6652 | > | #ifdef __cplusplus | 
| 6653 | > | extern "C" | 
| 6654 | > | #endif | 
| 6655 | > | /* We use char because int might match the return type of a gcc2 | 
| 6656 | > | builtin and then its argument prototype would still apply.  */ | 
| 6657 | > | char fftwnd_one (); | 
| 6658 | > | #ifdef FC_DUMMY_MAIN | 
| 6659 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 6660 | > | #  ifdef __cplusplus | 
| 6661 | > | extern "C" | 
| 6662 | > | #  endif | 
| 6663 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 6664 | > | #endif | 
| 6665 | > | #endif | 
| 6666 | > | int | 
| 6667 | > | main () | 
| 6668 | > | { | 
| 6669 | > | fftwnd_one (); | 
| 6670 | > | ; | 
| 6671 | > | return 0; | 
| 6672 | > | } | 
| 6673 | > | _ACEOF | 
| 6674 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6675 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 6676 | > | (eval $ac_link) 2>conftest.er1 | 
| 6677 | > | ac_status=$? | 
| 6678 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6679 | > | rm -f conftest.er1 | 
| 6680 | > | cat conftest.err >&5 | 
| 6681 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6682 | > | (exit $ac_status); } && | 
| 6683 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6684 | > | || test ! -s conftest.err' | 
| 6685 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6686 | > | (eval $ac_try) 2>&5 | 
| 6687 | > | ac_status=$? | 
| 6688 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6689 | > | (exit $ac_status); }; } && | 
| 6690 | > | { ac_try='test -s conftest$ac_exeext' | 
| 6691 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6692 | > | (eval $ac_try) 2>&5 | 
| 6693 | > | ac_status=$? | 
| 6694 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6695 | > | (exit $ac_status); }; }; then | 
| 6696 | > | ac_cv_lib_dfftw_fftwnd_one=yes | 
| 6697 | > | else | 
| 6698 | > | echo "$as_me: failed program was:" >&5 | 
| 6699 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6700 | > |  | 
| 6701 | > | ac_cv_lib_dfftw_fftwnd_one=no | 
| 6702 | > | fi | 
| 6703 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 6704 | > | conftest$ac_exeext conftest.$ac_ext | 
| 6705 | > | LIBS=$ac_check_lib_save_LIBS | 
| 6706 | > | fi | 
| 6707 | > | echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 | 
| 6708 | > | echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6 | 
| 6709 | > | if test $ac_cv_lib_dfftw_fftwnd_one = yes; then | 
| 6710 | > | fftw_cv_libdfftw=yes | 
| 6711 | > | else | 
| 6712 | > | fftw_cv_libdfftw=no | 
| 6713 | > | fi | 
| 6714 | > |  | 
| 6715 | > | if test "${ac_cv_header_dfftw_h+set}" = set; then | 
| 6716 | > | echo "$as_me:$LINENO: checking for dfftw.h" >&5 | 
| 6717 | > | echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6 | 
| 6718 | > | if test "${ac_cv_header_dfftw_h+set}" = set; then | 
| 6719 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6720 | > | fi | 
| 6721 | > | echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 | 
| 6722 | > | echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6 | 
| 6723 | > | else | 
| 6724 | > | # Is the header compilable? | 
| 6725 | > | echo "$as_me:$LINENO: checking dfftw.h usability" >&5 | 
| 6726 | > | echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6 | 
| 6727 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 6728 | > | /* confdefs.h.  */ | 
| 6729 | > | _ACEOF | 
| 6730 | > | cat confdefs.h >>conftest.$ac_ext | 
| 6731 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 6732 | > | /* end confdefs.h.  */ | 
| 6733 | > | $ac_includes_default | 
| 6734 | > | #include <dfftw.h> | 
| 6735 | > | _ACEOF | 
| 6736 | > | rm -f conftest.$ac_objext | 
| 6737 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6738 | > | (eval $ac_compile) 2>conftest.er1 | 
| 6739 | > | ac_status=$? | 
| 6740 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6741 | > | rm -f conftest.er1 | 
| 6742 | > | cat conftest.err >&5 | 
| 6743 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6744 | > | (exit $ac_status); } && | 
| 6745 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6746 | > | || test ! -s conftest.err' | 
| 6747 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6748 | > | (eval $ac_try) 2>&5 | 
| 6749 | > | ac_status=$? | 
| 6750 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6751 | > | (exit $ac_status); }; } && | 
| 6752 | > | { ac_try='test -s conftest.$ac_objext' | 
| 6753 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6754 | > | (eval $ac_try) 2>&5 | 
| 6755 | > | ac_status=$? | 
| 6756 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6757 | > | (exit $ac_status); }; }; then | 
| 6758 | > | ac_header_compiler=yes | 
| 6759 | > | else | 
| 6760 | > | echo "$as_me: failed program was:" >&5 | 
| 6761 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6762 | > |  | 
| 6763 | > | ac_header_compiler=no | 
| 6764 | > | fi | 
| 6765 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6766 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 6767 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 6768 | > |  | 
| 6769 | > | # Is the header present? | 
| 6770 | > | echo "$as_me:$LINENO: checking dfftw.h presence" >&5 | 
| 6771 | > | echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6 | 
| 6772 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 6773 | > | /* confdefs.h.  */ | 
| 6774 | > | _ACEOF | 
| 6775 | > | cat confdefs.h >>conftest.$ac_ext | 
| 6776 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 6777 | > | /* end confdefs.h.  */ | 
| 6778 | > | #include <dfftw.h> | 
| 6779 | > | _ACEOF | 
| 6780 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 6781 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 6782 | > | ac_status=$? | 
| 6783 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6784 | > | rm -f conftest.er1 | 
| 6785 | > | cat conftest.err >&5 | 
| 6786 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6787 | > | (exit $ac_status); } >/dev/null; then | 
| 6788 | > | if test -s conftest.err; then | 
| 6789 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 6790 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 6791 | > | else | 
| 6792 | > | ac_cpp_err= | 
| 6793 | > | fi | 
| 6794 | > | else | 
| 6795 | > | ac_cpp_err=yes | 
| 6796 | > | fi | 
| 6797 | > | if test -z "$ac_cpp_err"; then | 
| 6798 | > | ac_header_preproc=yes | 
| 6799 | > | else | 
| 6800 | > | echo "$as_me: failed program was:" >&5 | 
| 6801 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6802 | > |  | 
| 6803 | > | ac_header_preproc=no | 
| 6804 | > | fi | 
| 6805 | > | rm -f conftest.err conftest.$ac_ext | 
| 6806 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 6807 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 6808 | > |  | 
| 6809 | > | # So?  What about this header? | 
| 6810 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 6811 | > | yes:no: ) | 
| 6812 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 6813 | > | echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 6814 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5 | 
| 6815 | > | echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;} | 
| 6816 | > | ac_header_preproc=yes | 
| 6817 | > | ;; | 
| 6818 | > | no:yes:* ) | 
| 6819 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5 | 
| 6820 | > | echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;} | 
| 6821 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h:     check for missing prerequisite headers?" >&5 | 
| 6822 | > | echo "$as_me: WARNING: dfftw.h:     check for missing prerequisite headers?" >&2;} | 
| 6823 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5 | 
| 6824 | > | echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;} | 
| 6825 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 6826 | > | echo "$as_me: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 6827 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5 | 
| 6828 | > | echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;} | 
| 6829 | > | { echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5 | 
| 6830 | > | echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;} | 
| 6831 | > | ( | 
| 6832 | > | cat <<\_ASBOX | 
| 6833 | > | ## ------------------------------ ## | 
| 6834 | > | ## Report this to gezelter@nd.edu ## | 
| 6835 | > | ## ------------------------------ ## | 
| 6836 | > | _ASBOX | 
| 6837 | > | ) | | 
| 6838 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 6839 | > | ;; | 
| 6840 | > | esac | 
| 6841 | > | echo "$as_me:$LINENO: checking for dfftw.h" >&5 | 
| 6842 | > | echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6 | 
| 6843 | > | if test "${ac_cv_header_dfftw_h+set}" = set; then | 
| 6844 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6845 | > | else | 
| 6846 | > | ac_cv_header_dfftw_h=$ac_header_preproc | 
| 6847 | > | fi | 
| 6848 | > | echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 | 
| 6849 | > | echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6 | 
| 6850 | > |  | 
| 6851 | > | fi | 
| 6852 | > | if test $ac_cv_header_dfftw_h = yes; then | 
| 6853 | > | fftw_cv_dfftw_h=yes | 
| 6854 | > | else | 
| 6855 | > | fftw_cv_dfftw_h=no | 
| 6856 | > | fi | 
| 6857 | > |  | 
| 6858 | > |  | 
| 6859 | > | fi | 
| 6860 | > | fi | 
| 6861 | > | ac_ext=c | 
| 6862 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 6863 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6864 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6865 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 6866 | > |  | 
| 6867 | > |  | 
| 6868 | > | if test "$fftw_cv_libfftw3" = "yes" -a "$fftw_cv_fftw3_h" = "yes" | 
| 6869 | > | then | 
| 6870 | > |  | 
| 6871 | > | cat >>confdefs.h <<\_ACEOF | 
| 6872 | > | #define HAVE_FFTW3_H 1 | 
| 6873 | > | _ACEOF | 
| 6874 | > |  | 
| 6875 | > | FFTW_INC_DIR="${FFTW_HOME}/include" | 
| 6876 | > | FFTW_LIB_DIR="${FFTW_HOME}/lib" | 
| 6877 | > | FFTW_LIBS="-lfftw3" | 
| 6878 | > | else | 
| 6879 | > | if test "$fftw_cv_libfftw" = "yes" -a "$fftw_cv_fftw_h" = "yes" | 
| 6880 | > | then | 
| 6881 | > |  | 
| 6882 | > | cat >>confdefs.h <<\_ACEOF | 
| 6883 | > | #define HAVE_FFTW_H 1 | 
| 6884 | > | _ACEOF | 
| 6885 | > |  | 
| 6886 | > | FFTW_INC_DIR="${FFTW_HOME}/include" | 
| 6887 | > | FFTW_LIB_DIR="${FFTW_HOME}/lib" | 
| 6888 | > | FFTW_LIBS="-lfftw" | 
| 6889 | > | else | 
| 6890 | > | if test "$fftw_cv_libdfftw" = "yes" -a "$fftw_cv_dfftw_h" = "yes" | 
| 6891 | > | then | 
| 6892 | > |  | 
| 6893 | > | cat >>confdefs.h <<\_ACEOF | 
| 6894 | > | #define HAVE_DFFTW_H 1 | 
| 6895 | > | _ACEOF | 
| 6896 | > |  | 
| 6897 | > | FFTW_INC_DIR="${FFTW_HOME}/include" | 
| 6898 | > | FFTW_LIB_DIR="${FFTW_HOME}/lib" | 
| 6899 | > | FFTW_LIBS="-ldfftw" | 
| 6900 | > | else | 
| 6901 | > | echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5 | 
| 6902 | > | echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6 | 
| 6903 | > | FFTW_INC_DIR= | 
| 6904 | > | FFTW_LIB_DIR= | 
| 6905 | > | FFTW_LIBS= | 
| 6906 | > | LDFLAGS="$FFTW_OLD_LDFLAGS" | 
| 6907 | > | CPPFLAGS="$FFTW_OLD_CPPFLAGS" | 
| 6908 | > | echo "$as_me:$LINENO: result: failed" >&5 | 
| 6909 | > | echo "${ECHO_T}failed" >&6 | 
| 6910 | > | echo "" | 
| 6911 | > | echo "*********************************************************" | 
| 6912 | > | echo "* WARNING: Could not find a working FFTW installation   *" | 
| 6913 | > | echo "* If you need the staticProps program to be able to     *" | 
| 6914 | > | echo "* compute undulation spectra, be sure to specify a      *" | 
| 6915 | > | echo "* valid fftw installation with --with-fftw=DIR          *" | 
| 6916 | > | echo "*                                                       *" | 
| 6917 | > | echo "* OOPSE will still work without fftw installed.         *" | 
| 6918 | > | echo "*********************************************************" | 
| 6919 | > | echo "" | 
| 6920 | > | fi | 
| 6921 | > | fi | 
| 6922 | > | fi | 
| 6923 | > |  | 
| 6924 | > |  | 
| 6925 | > |  | 
| 6926 | > | fi | 
| 6927 | > | fi | 
| 6928 | > |  | 
| 6929 | > |  | 
| 6930 | > |  | 
| 6931 | > | # Checks for header files. | 
| 6932 | > | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
| 6933 | > | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
| 6934 | > | if test "${ac_cv_header_stdc+set}" = set; then | 
| 6935 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6936 | > | else | 
| 6937 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 6938 | > | /* confdefs.h.  */ | 
| 6939 | > | _ACEOF | 
| 6940 | > | cat confdefs.h >>conftest.$ac_ext | 
| 6941 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 6942 | > | /* end confdefs.h.  */ | 
| 6943 | > | #include <stdlib.h> | 
| 6944 | > | #include <stdarg.h> | 
| 6945 | > | #include <string.h> | 
| 6946 | > | #include <float.h> | 
| 6947 | > |  | 
| 6948 | > | #ifdef FC_DUMMY_MAIN | 
| 6949 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 6950 | > | #  ifdef __cplusplus | 
| 6951 | > | extern "C" | 
| 6952 | > | #  endif | 
| 6953 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 6954 | > | #endif | 
| 6955 | > | #endif | 
| 6956 | > | int | 
| 6957 | > | main () | 
| 6958 | > | { | 
| 6959 | > |  | 
| 6960 | > | ; | 
| 6961 | > | return 0; | 
| 6962 | > | } | 
| 6963 | > | _ACEOF | 
| 6964 | > | rm -f conftest.$ac_objext | 
| 6965 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 6966 | > | (eval $ac_compile) 2>conftest.er1 | 
| 6967 | > | ac_status=$? | 
| 6968 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 6969 | > | rm -f conftest.er1 | 
| 6970 | > | cat conftest.err >&5 | 
| 6971 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6972 | > | (exit $ac_status); } && | 
| 6973 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 6974 | > | || test ! -s conftest.err' | 
| 6975 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6976 | > | (eval $ac_try) 2>&5 | 
| 6977 | > | ac_status=$? | 
| 6978 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6979 | > | (exit $ac_status); }; } && | 
| 6980 | > | { ac_try='test -s conftest.$ac_objext' | 
| 6981 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 6982 | > | (eval $ac_try) 2>&5 | 
| 6983 | > | ac_status=$? | 
| 6984 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 6985 | > | (exit $ac_status); }; }; then | 
| 6986 | > | ac_cv_header_stdc=yes | 
| 6987 | > | else | 
| 6988 | > | echo "$as_me: failed program was:" >&5 | 
| 6989 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6990 | > |  | 
| 6991 | > | ac_cv_header_stdc=no | 
| 6992 | > | fi | 
| 6993 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6994 | > |  | 
| 6995 | > | if test $ac_cv_header_stdc = yes; then | 
| 6996 | > | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 6997 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 6998 | > | /* confdefs.h.  */ | 
| 6999 | > | _ACEOF | 
| 7000 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7001 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7002 | > | /* end confdefs.h.  */ | 
| 7003 | > | #include <string.h> | 
| 7004 | > |  | 
| 7005 | > | _ACEOF | 
| 7006 | > | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 7007 | > | $EGREP "memchr" >/dev/null 2>&1; then | 
| 7008 | > | : | 
| 7009 | > | else | 
| 7010 | > | ac_cv_header_stdc=no | 
| 7011 | > | fi | 
| 7012 | > | rm -f conftest* | 
| 7013 | > |  | 
| 7014 | > | fi | 
| 7015 | > |  | 
| 7016 | > | if test $ac_cv_header_stdc = yes; then | 
| 7017 | > | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 7018 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7019 | > | /* confdefs.h.  */ | 
| 7020 | > | _ACEOF | 
| 7021 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7022 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7023 | > | /* end confdefs.h.  */ | 
| 7024 | > | #include <stdlib.h> | 
| 7025 | > |  | 
| 7026 | > | _ACEOF | 
| 7027 | > | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 7028 | > | $EGREP "free" >/dev/null 2>&1; then | 
| 7029 | > | : | 
| 7030 | > | else | 
| 7031 | > | ac_cv_header_stdc=no | 
| 7032 | > | fi | 
| 7033 | > | rm -f conftest* | 
| 7034 | > |  | 
| 7035 | > | fi | 
| 7036 | > |  | 
| 7037 | > | if test $ac_cv_header_stdc = yes; then | 
| 7038 | > | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 7039 | > | if test "$cross_compiling" = yes; then | 
| 7040 | > | : | 
| 7041 | > | else | 
| 7042 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7043 | > | /* confdefs.h.  */ | 
| 7044 | > | _ACEOF | 
| 7045 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7046 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7047 | > | /* end confdefs.h.  */ | 
| 7048 | > | #include <ctype.h> | 
| 7049 | > | #if ((' ' & 0x0FF) == 0x020) | 
| 7050 | > | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 7051 | > | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 7052 | > | #else | 
| 7053 | > | # define ISLOWER(c) \ | 
| 7054 | > | (('a' <= (c) && (c) <= 'i') \ | 
| 7055 | > | || ('j' <= (c) && (c) <= 'r') \ | 
| 7056 | > | || ('s' <= (c) && (c) <= 'z')) | 
| 7057 | > | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
| 7058 | > | #endif | 
| 7059 | > |  | 
| 7060 | > | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 7061 | > | int | 
| 7062 | > | main () | 
| 7063 | > | { | 
| 7064 | > | int i; | 
| 7065 | > | for (i = 0; i < 256; i++) | 
| 7066 | > | if (XOR (islower (i), ISLOWER (i)) | 
| 7067 | > | || toupper (i) != TOUPPER (i)) | 
| 7068 | > | exit(2); | 
| 7069 | > | exit (0); | 
| 7070 | > | } | 
| 7071 | > | _ACEOF | 
| 7072 | > | rm -f conftest$ac_exeext | 
| 7073 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 7074 | > | (eval $ac_link) 2>&5 | 
| 7075 | > | ac_status=$? | 
| 7076 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7077 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 7078 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7079 | > | (eval $ac_try) 2>&5 | 
| 7080 | > | ac_status=$? | 
| 7081 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7082 | > | (exit $ac_status); }; }; then | 
| 7083 | > | : | 
| 7084 | > | else | 
| 7085 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 7086 | > | echo "$as_me: failed program was:" >&5 | 
| 7087 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7088 | > |  | 
| 7089 | > | ( exit $ac_status ) | 
| 7090 | > | ac_cv_header_stdc=no | 
| 7091 | > | fi | 
| 7092 | > | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 7093 | > | fi | 
| 7094 | > | fi | 
| 7095 | > | fi | 
| 7096 | > | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
| 7097 | > | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
| 7098 | > | if test $ac_cv_header_stdc = yes; then | 
| 7099 | > |  | 
| 7100 | > | cat >>confdefs.h <<\_ACEOF | 
| 7101 | > | #define STDC_HEADERS 1 | 
| 7102 | > | _ACEOF | 
| 7103 | > |  | 
| 7104 | > | fi | 
| 7105 | > |  | 
| 7106 | > |  | 
| 7107 | > |  | 
| 7108 | > |  | 
| 7109 | > |  | 
| 7110 | > |  | 
| 7111 | > |  | 
| 7112 | > |  | 
| 7113 | > |  | 
| 7114 | > |  | 
| 7115 | > |  | 
| 7116 | > |  | 
| 7117 | > |  | 
| 7118 | > |  | 
| 7119 | > |  | 
| 7120 | > |  | 
| 7121 | > |  | 
| 7122 | > |  | 
| 7123 | > |  | 
| 7124 | > |  | 
| 7125 | > |  | 
| 7126 | > |  | 
| 7127 | > |  | 
| 7128 | > |  | 
| 7129 | > |  | 
| 7130 | > |  | 
| 7131 | > | for ac_header in conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h | 
| 7132 | > | do | 
| 7133 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 7134 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 7135 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 7136 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 7137 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 7138 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7139 | > | fi | 
| 7140 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 7141 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 7142 | > | else | 
| 7143 | > | # Is the header compilable? | 
| 7144 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 7145 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 7146 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7147 | > | /* confdefs.h.  */ | 
| 7148 | > | _ACEOF | 
| 7149 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7150 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7151 | > | /* end confdefs.h.  */ | 
| 7152 | > | $ac_includes_default | 
| 7153 | > | #include <$ac_header> | 
| 7154 | > | _ACEOF | 
| 7155 | > | rm -f conftest.$ac_objext | 
| 7156 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7157 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7158 | > | ac_status=$? | 
| 7159 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7160 | > | rm -f conftest.er1 | 
| 7161 | > | cat conftest.err >&5 | 
| 7162 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7163 | > | (exit $ac_status); } && | 
| 7164 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7165 | > | || test ! -s conftest.err' | 
| 7166 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7167 | > | (eval $ac_try) 2>&5 | 
| 7168 | > | ac_status=$? | 
| 7169 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7170 | > | (exit $ac_status); }; } && | 
| 7171 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7172 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7173 | > | (eval $ac_try) 2>&5 | 
| 7174 | > | ac_status=$? | 
| 7175 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7176 | > | (exit $ac_status); }; }; then | 
| 7177 | > | ac_header_compiler=yes | 
| 7178 | > | else | 
| 7179 | > | echo "$as_me: failed program was:" >&5 | 
| 7180 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7181 | > |  | 
| 7182 | > | ac_header_compiler=no | 
| 7183 | > | fi | 
| 7184 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7185 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 7186 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 7187 | > |  | 
| 7188 | > | # Is the header present? | 
| 7189 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 7190 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 7191 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7192 | > | /* confdefs.h.  */ | 
| 7193 | > | _ACEOF | 
| 7194 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7195 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7196 | > | /* end confdefs.h.  */ | 
| 7197 | > | #include <$ac_header> | 
| 7198 | > | _ACEOF | 
| 7199 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 7200 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 7201 | > | ac_status=$? | 
| 7202 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7203 | > | rm -f conftest.er1 | 
| 7204 | > | cat conftest.err >&5 | 
| 7205 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7206 | > | (exit $ac_status); } >/dev/null; then | 
| 7207 | > | if test -s conftest.err; then | 
| 7208 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 7209 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 7210 | > | else | 
| 7211 | > | ac_cpp_err= | 
| 7212 | > | fi | 
| 7213 | > | else | 
| 7214 | > | ac_cpp_err=yes | 
| 7215 | > | fi | 
| 7216 | > | if test -z "$ac_cpp_err"; then | 
| 7217 | > | ac_header_preproc=yes | 
| 7218 | > | else | 
| 7219 | > | echo "$as_me: failed program was:" >&5 | 
| 7220 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7221 | > |  | 
| 7222 | > | ac_header_preproc=no | 
| 7223 | > | fi | 
| 7224 | > | rm -f conftest.err conftest.$ac_ext | 
| 7225 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 7226 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 7227 | > |  | 
| 7228 | > | # So?  What about this header? | 
| 7229 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 7230 | > | yes:no: ) | 
| 7231 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 7232 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 7233 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 7234 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 7235 | > | ac_header_preproc=yes | 
| 7236 | > | ;; | 
| 7237 | > | no:yes:* ) | 
| 7238 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 7239 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 7240 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 7241 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 7242 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 7243 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 7244 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 7245 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 7246 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 7247 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 7248 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 7249 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 7250 | > | ( | 
| 7251 | > | cat <<\_ASBOX | 
| 7252 | > | ## ------------------------------ ## | 
| 7253 | > | ## Report this to gezelter@nd.edu ## | 
| 7254 | > | ## ------------------------------ ## | 
| 7255 | > | _ASBOX | 
| 7256 | > | ) | | 
| 7257 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 7258 | > | ;; | 
| 7259 | > | esac | 
| 7260 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 7261 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 7262 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 7263 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7264 | > | else | 
| 7265 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 7266 | > | fi | 
| 7267 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 7268 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 7269 | > |  | 
| 7270 | > | fi | 
| 7271 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 7272 | > | cat >>confdefs.h <<_ACEOF | 
| 7273 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 7274 | > | _ACEOF | 
| 7275 | > |  | 
| 7276 | > | fi | 
| 7277 | > |  | 
| 7278 | > | done | 
| 7279 | > |  | 
| 7280 | > |  | 
| 7281 | > | # Checks for typedefs, structures, and compiler characteristics. | 
| 7282 | > | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
| 7283 | > | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
| 7284 | > | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
| 7285 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7286 | > | else | 
| 7287 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7288 | > | /* confdefs.h.  */ | 
| 7289 | > | _ACEOF | 
| 7290 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7291 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7292 | > | /* end confdefs.h.  */ | 
| 7293 | > |  | 
| 7294 | > | #include <stdbool.h> | 
| 7295 | > | #ifndef bool | 
| 7296 | > | # error bool is not defined | 
| 7297 | > | #endif | 
| 7298 | > | #ifndef false | 
| 7299 | > | # error false is not defined | 
| 7300 | > | #endif | 
| 7301 | > | #if false | 
| 7302 | > | # error false is not 0 | 
| 7303 | > | #endif | 
| 7304 | > | #ifndef true | 
| 7305 | > | # error true is not defined | 
| 7306 | > | #endif | 
| 7307 | > | #if true != 1 | 
| 7308 | > | # error true is not 1 | 
| 7309 | > | #endif | 
| 7310 | > | #ifndef __bool_true_false_are_defined | 
| 7311 | > | # error __bool_true_false_are_defined is not defined | 
| 7312 | > | #endif | 
| 7313 | > |  | 
| 7314 | > | struct s { _Bool s: 1; _Bool t; } s; | 
| 7315 | > |  | 
| 7316 | > | char a[true == 1 ? 1 : -1]; | 
| 7317 | > | char b[false == 0 ? 1 : -1]; | 
| 7318 | > | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
| 7319 | > | char d[(bool) -0.5 == true ? 1 : -1]; | 
| 7320 | > | bool e = &s; | 
| 7321 | > | char f[(_Bool) -0.0 == false ? 1 : -1]; | 
| 7322 | > | char g[true]; | 
| 7323 | > | char h[sizeof (_Bool)]; | 
| 7324 | > | char i[sizeof s.t]; | 
| 7325 | > |  | 
| 7326 | > | #ifdef FC_DUMMY_MAIN | 
| 7327 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7328 | > | #  ifdef __cplusplus | 
| 7329 | > | extern "C" | 
| 7330 | > | #  endif | 
| 7331 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7332 | > | #endif | 
| 7333 | > | #endif | 
| 7334 | > | int | 
| 7335 | > | main () | 
| 7336 | > | { | 
| 7337 | > | return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
| 7338 | > | ; | 
| 7339 | > | return 0; | 
| 7340 | > | } | 
| 7341 | > | _ACEOF | 
| 7342 | > | rm -f conftest.$ac_objext | 
| 7343 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7344 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7345 | > | ac_status=$? | 
| 7346 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7347 | > | rm -f conftest.er1 | 
| 7348 | > | cat conftest.err >&5 | 
| 7349 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7350 | > | (exit $ac_status); } && | 
| 7351 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7352 | > | || test ! -s conftest.err' | 
| 7353 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7354 | > | (eval $ac_try) 2>&5 | 
| 7355 | > | ac_status=$? | 
| 7356 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7357 | > | (exit $ac_status); }; } && | 
| 7358 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7359 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7360 | > | (eval $ac_try) 2>&5 | 
| 7361 | > | ac_status=$? | 
| 7362 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7363 | > | (exit $ac_status); }; }; then | 
| 7364 | > | ac_cv_header_stdbool_h=yes | 
| 7365 | > | else | 
| 7366 | > | echo "$as_me: failed program was:" >&5 | 
| 7367 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7368 | > |  | 
| 7369 | > | ac_cv_header_stdbool_h=no | 
| 7370 | > | fi | 
| 7371 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7372 | > | fi | 
| 7373 | > | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
| 7374 | > | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
| 7375 | > | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
| 7376 | > | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
| 7377 | > | if test "${ac_cv_type__Bool+set}" = set; then | 
| 7378 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7379 | > | else | 
| 7380 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7381 | > | /* confdefs.h.  */ | 
| 7382 | > | _ACEOF | 
| 7383 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7384 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7385 | > | /* end confdefs.h.  */ | 
| 7386 | > | $ac_includes_default | 
| 7387 | > | #ifdef FC_DUMMY_MAIN | 
| 7388 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7389 | > | #  ifdef __cplusplus | 
| 7390 | > | extern "C" | 
| 7391 | > | #  endif | 
| 7392 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7393 | > | #endif | 
| 7394 | > | #endif | 
| 7395 | > | int | 
| 7396 | > | main () | 
| 7397 | > | { | 
| 7398 | > | if ((_Bool *) 0) | 
| 7399 | > | return 0; | 
| 7400 | > | if (sizeof (_Bool)) | 
| 7401 | > | return 0; | 
| 7402 | > | ; | 
| 7403 | > | return 0; | 
| 7404 | > | } | 
| 7405 | > | _ACEOF | 
| 7406 | > | rm -f conftest.$ac_objext | 
| 7407 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7408 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7409 | > | ac_status=$? | 
| 7410 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7411 | > | rm -f conftest.er1 | 
| 7412 | > | cat conftest.err >&5 | 
| 7413 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7414 | > | (exit $ac_status); } && | 
| 7415 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7416 | > | || test ! -s conftest.err' | 
| 7417 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7418 | > | (eval $ac_try) 2>&5 | 
| 7419 | > | ac_status=$? | 
| 7420 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7421 | > | (exit $ac_status); }; } && | 
| 7422 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7423 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7424 | > | (eval $ac_try) 2>&5 | 
| 7425 | > | ac_status=$? | 
| 7426 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7427 | > | (exit $ac_status); }; }; then | 
| 7428 | > | ac_cv_type__Bool=yes | 
| 7429 | > | else | 
| 7430 | > | echo "$as_me: failed program was:" >&5 | 
| 7431 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7432 | > |  | 
| 7433 | > | ac_cv_type__Bool=no | 
| 7434 | > | fi | 
| 7435 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7436 | > | fi | 
| 7437 | > | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
| 7438 | > | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
| 7439 | > | if test $ac_cv_type__Bool = yes; then | 
| 7440 | > |  | 
| 7441 | > | cat >>confdefs.h <<_ACEOF | 
| 7442 | > | #define HAVE__BOOL 1 | 
| 7443 | > | _ACEOF | 
| 7444 | > |  | 
| 7445 | > |  | 
| 7446 | > | fi | 
| 7447 | > |  | 
| 7448 | > | if test $ac_cv_header_stdbool_h = yes; then | 
| 7449 | > |  | 
| 7450 | > | cat >>confdefs.h <<\_ACEOF | 
| 7451 | > | #define HAVE_STDBOOL_H 1 | 
| 7452 | > | _ACEOF | 
| 7453 | > |  | 
| 7454 | > | fi | 
| 7455 | > |  | 
| 7456 | > | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
| 7457 | > | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
| 7458 | > | if test "${ac_cv_c_const+set}" = set; then | 
| 7459 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7460 | > | else | 
| 7461 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7462 | > | /* confdefs.h.  */ | 
| 7463 | > | _ACEOF | 
| 7464 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7465 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7466 | > | /* end confdefs.h.  */ | 
| 7467 | > |  | 
| 7468 | > | #ifdef FC_DUMMY_MAIN | 
| 7469 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7470 | > | #  ifdef __cplusplus | 
| 7471 | > | extern "C" | 
| 7472 | > | #  endif | 
| 7473 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7474 | > | #endif | 
| 7475 | > | #endif | 
| 7476 | > | int | 
| 7477 | > | main () | 
| 7478 | > | { | 
| 7479 | > | /* FIXME: Include the comments suggested by Paul. */ | 
| 7480 | > | #ifndef __cplusplus | 
| 7481 | > | /* Ultrix mips cc rejects this.  */ | 
| 7482 | > | typedef int charset[2]; | 
| 7483 | > | const charset x; | 
| 7484 | > | /* SunOS 4.1.1 cc rejects this.  */ | 
| 7485 | > | char const *const *ccp; | 
| 7486 | > | char **p; | 
| 7487 | > | /* NEC SVR4.0.2 mips cc rejects this.  */ | 
| 7488 | > | struct point {int x, y;}; | 
| 7489 | > | static struct point const zero = {0,0}; | 
| 7490 | > | /* AIX XL C 1.02.0.0 rejects this. | 
| 7491 | > | It does not let you subtract one const X* pointer from another in | 
| 7492 | > | an arm of an if-expression whose if-part is not a constant | 
| 7493 | > | expression */ | 
| 7494 | > | const char *g = "string"; | 
| 7495 | > | ccp = &g + (g ? g-g : 0); | 
| 7496 | > | /* HPUX 7.0 cc rejects these. */ | 
| 7497 | > | ++ccp; | 
| 7498 | > | p = (char**) ccp; | 
| 7499 | > | ccp = (char const *const *) p; | 
| 7500 | > | { /* SCO 3.2v4 cc rejects this.  */ | 
| 7501 | > | char *t; | 
| 7502 | > | char const *s = 0 ? (char *) 0 : (char const *) 0; | 
| 7503 | > |  | 
| 7504 | > | *t++ = 0; | 
| 7505 | > | } | 
| 7506 | > | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
| 7507 | > | int x[] = {25, 17}; | 
| 7508 | > | const int *foo = &x[0]; | 
| 7509 | > | ++foo; | 
| 7510 | > | } | 
| 7511 | > | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
| 7512 | > | typedef const int *iptr; | 
| 7513 | > | iptr p = 0; | 
| 7514 | > | ++p; | 
| 7515 | > | } | 
| 7516 | > | { /* AIX XL C 1.02.0.0 rejects this saying | 
| 7517 | > | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
| 7518 | > | struct s { int j; const int *ap[3]; }; | 
| 7519 | > | struct s *b; b->j = 5; | 
| 7520 | > | } | 
| 7521 | > | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
| 7522 | > | const int foo = 10; | 
| 7523 | > | } | 
| 7524 | > | #endif | 
| 7525 | > |  | 
| 7526 | > | ; | 
| 7527 | > | return 0; | 
| 7528 | > | } | 
| 7529 | > | _ACEOF | 
| 7530 | > | rm -f conftest.$ac_objext | 
| 7531 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7532 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7533 | > | ac_status=$? | 
| 7534 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7535 | > | rm -f conftest.er1 | 
| 7536 | > | cat conftest.err >&5 | 
| 7537 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7538 | > | (exit $ac_status); } && | 
| 7539 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7540 | > | || test ! -s conftest.err' | 
| 7541 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7542 | > | (eval $ac_try) 2>&5 | 
| 7543 | > | ac_status=$? | 
| 7544 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7545 | > | (exit $ac_status); }; } && | 
| 7546 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7547 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7548 | > | (eval $ac_try) 2>&5 | 
| 7549 | > | ac_status=$? | 
| 7550 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7551 | > | (exit $ac_status); }; }; then | 
| 7552 | > | ac_cv_c_const=yes | 
| 7553 | > | else | 
| 7554 | > | echo "$as_me: failed program was:" >&5 | 
| 7555 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7556 | > |  | 
| 7557 | > | ac_cv_c_const=no | 
| 7558 | > | fi | 
| 7559 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7560 | > | fi | 
| 7561 | > | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
| 7562 | > | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
| 7563 | > | if test $ac_cv_c_const = no; then | 
| 7564 | > |  | 
| 7565 | > | cat >>confdefs.h <<\_ACEOF | 
| 7566 | > | #define const | 
| 7567 | > | _ACEOF | 
| 7568 | > |  | 
| 7569 | > | fi | 
| 7570 | > |  | 
| 7571 | > | echo "$as_me:$LINENO: checking for inline" >&5 | 
| 7572 | > | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
| 7573 | > | if test "${ac_cv_c_inline+set}" = set; then | 
| 7574 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7575 | > | else | 
| 7576 | > | ac_cv_c_inline=no | 
| 7577 | > | for ac_kw in inline __inline__ __inline; do | 
| 7578 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7579 | > | /* confdefs.h.  */ | 
| 7580 | > | _ACEOF | 
| 7581 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7582 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7583 | > | /* end confdefs.h.  */ | 
| 7584 | > | #ifndef __cplusplus | 
| 7585 | > | typedef int foo_t; | 
| 7586 | > | static $ac_kw foo_t static_foo () {return 0; } | 
| 7587 | > | $ac_kw foo_t foo () {return 0; } | 
| 7588 | > | #endif | 
| 7589 | > |  | 
| 7590 | > | _ACEOF | 
| 7591 | > | rm -f conftest.$ac_objext | 
| 7592 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7593 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7594 | > | ac_status=$? | 
| 7595 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7596 | > | rm -f conftest.er1 | 
| 7597 | > | cat conftest.err >&5 | 
| 7598 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7599 | > | (exit $ac_status); } && | 
| 7600 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7601 | > | || test ! -s conftest.err' | 
| 7602 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7603 | > | (eval $ac_try) 2>&5 | 
| 7604 | > | ac_status=$? | 
| 7605 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7606 | > | (exit $ac_status); }; } && | 
| 7607 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7608 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7609 | > | (eval $ac_try) 2>&5 | 
| 7610 | > | ac_status=$? | 
| 7611 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7612 | > | (exit $ac_status); }; }; then | 
| 7613 | > | ac_cv_c_inline=$ac_kw; break | 
| 7614 | > | else | 
| 7615 | > | echo "$as_me: failed program was:" >&5 | 
| 7616 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7617 | > |  | 
| 7618 | > | fi | 
| 7619 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7620 | > | done | 
| 7621 | > |  | 
| 7622 | > | fi | 
| 7623 | > | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
| 7624 | > | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
| 7625 | > |  | 
| 7626 | > |  | 
| 7627 | > | case $ac_cv_c_inline in | 
| 7628 | > | inline | yes) ;; | 
| 7629 | > | *) | 
| 7630 | > | case $ac_cv_c_inline in | 
| 7631 | > | no) ac_val=;; | 
| 7632 | > | *) ac_val=$ac_cv_c_inline;; | 
| 7633 | > | esac | 
| 7634 | > | cat >>confdefs.h <<_ACEOF | 
| 7635 | > | #ifndef __cplusplus | 
| 7636 | > | #define inline $ac_val | 
| 7637 | > | #endif | 
| 7638 | > | _ACEOF | 
| 7639 | > | ;; | 
| 7640 | > | esac | 
| 7641 | > |  | 
| 7642 | > | echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 | 
| 7643 | > | echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6 | 
| 7644 | > | if test "${ac_cv_c_restrict+set}" = set; then | 
| 7645 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7646 | > | else | 
| 7647 | > | ac_cv_c_restrict=no | 
| 7648 | > | # Try the official restrict keyword, then gcc's __restrict, and | 
| 7649 | > | # the less common variants. | 
| 7650 | > | for ac_kw in restrict __restrict __restrict__ _Restrict; do | 
| 7651 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7652 | > | /* confdefs.h.  */ | 
| 7653 | > | _ACEOF | 
| 7654 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7655 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7656 | > | /* end confdefs.h.  */ | 
| 7657 | > | float * $ac_kw x; | 
| 7658 | > | _ACEOF | 
| 7659 | > | rm -f conftest.$ac_objext | 
| 7660 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7661 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7662 | > | ac_status=$? | 
| 7663 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7664 | > | rm -f conftest.er1 | 
| 7665 | > | cat conftest.err >&5 | 
| 7666 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7667 | > | (exit $ac_status); } && | 
| 7668 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7669 | > | || test ! -s conftest.err' | 
| 7670 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7671 | > | (eval $ac_try) 2>&5 | 
| 7672 | > | ac_status=$? | 
| 7673 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7674 | > | (exit $ac_status); }; } && | 
| 7675 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7676 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7677 | > | (eval $ac_try) 2>&5 | 
| 7678 | > | ac_status=$? | 
| 7679 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7680 | > | (exit $ac_status); }; }; then | 
| 7681 | > | ac_cv_c_restrict=$ac_kw; break | 
| 7682 | > | else | 
| 7683 | > | echo "$as_me: failed program was:" >&5 | 
| 7684 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7685 | > |  | 
| 7686 | > | fi | 
| 7687 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7688 | > | done | 
| 7689 | > |  | 
| 7690 | > | fi | 
| 7691 | > | echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 | 
| 7692 | > | echo "${ECHO_T}$ac_cv_c_restrict" >&6 | 
| 7693 | > | case $ac_cv_c_restrict in | 
| 7694 | > | restrict) ;; | 
| 7695 | > | no) | 
| 7696 | > | cat >>confdefs.h <<\_ACEOF | 
| 7697 | > | #define restrict | 
| 7698 | > | _ACEOF | 
| 7699 | > | ;; | 
| 7700 | > | *)  cat >>confdefs.h <<_ACEOF | 
| 7701 | > | #define restrict $ac_cv_c_restrict | 
| 7702 | > | _ACEOF | 
| 7703 | > | ;; | 
| 7704 | > | esac | 
| 7705 | > |  | 
| 7706 | > | echo "$as_me:$LINENO: checking for size_t" >&5 | 
| 7707 | > | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
| 7708 | > | if test "${ac_cv_type_size_t+set}" = set; then | 
| 7709 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7710 | > | else | 
| 7711 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7712 | > | /* confdefs.h.  */ | 
| 7713 | > | _ACEOF | 
| 7714 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7715 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7716 | > | /* end confdefs.h.  */ | 
| 7717 | > | $ac_includes_default | 
| 7718 | > | #ifdef FC_DUMMY_MAIN | 
| 7719 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7720 | > | #  ifdef __cplusplus | 
| 7721 | > | extern "C" | 
| 7722 | > | #  endif | 
| 7723 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7724 | > | #endif | 
| 7725 | > | #endif | 
| 7726 | > | int | 
| 7727 | > | main () | 
| 7728 | > | { | 
| 7729 | > | if ((size_t *) 0) | 
| 7730 | > | return 0; | 
| 7731 | > | if (sizeof (size_t)) | 
| 7732 | > | return 0; | 
| 7733 | > | ; | 
| 7734 | > | return 0; | 
| 7735 | > | } | 
| 7736 | > | _ACEOF | 
| 7737 | > | rm -f conftest.$ac_objext | 
| 7738 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7739 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7740 | > | ac_status=$? | 
| 7741 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7742 | > | rm -f conftest.er1 | 
| 7743 | > | cat conftest.err >&5 | 
| 7744 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7745 | > | (exit $ac_status); } && | 
| 7746 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7747 | > | || test ! -s conftest.err' | 
| 7748 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7749 | > | (eval $ac_try) 2>&5 | 
| 7750 | > | ac_status=$? | 
| 7751 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7752 | > | (exit $ac_status); }; } && | 
| 7753 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7754 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7755 | > | (eval $ac_try) 2>&5 | 
| 7756 | > | ac_status=$? | 
| 7757 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7758 | > | (exit $ac_status); }; }; then | 
| 7759 | > | ac_cv_type_size_t=yes | 
| 7760 | > | else | 
| 7761 | > | echo "$as_me: failed program was:" >&5 | 
| 7762 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7763 | > |  | 
| 7764 | > | ac_cv_type_size_t=no | 
| 7765 | > | fi | 
| 7766 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7767 | > | fi | 
| 7768 | > | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
| 7769 | > | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
| 7770 | > | if test $ac_cv_type_size_t = yes; then | 
| 7771 | > | : | 
| 7772 | > | else | 
| 7773 | > |  | 
| 7774 | > | cat >>confdefs.h <<_ACEOF | 
| 7775 | > | #define size_t unsigned | 
| 7776 | > | _ACEOF | 
| 7777 | > |  | 
| 7778 | > | fi | 
| 7779 | > |  | 
| 7780 | > | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
| 7781 | > | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
| 7782 | > | if test "${ac_cv_header_time+set}" = set; then | 
| 7783 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7784 | > | else | 
| 7785 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7786 | > | /* confdefs.h.  */ | 
| 7787 | > | _ACEOF | 
| 7788 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7789 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7790 | > | /* end confdefs.h.  */ | 
| 7791 | > | #include <sys/types.h> | 
| 7792 | > | #include <sys/time.h> | 
| 7793 | > | #include <time.h> | 
| 7794 | > |  | 
| 7795 | > | #ifdef FC_DUMMY_MAIN | 
| 7796 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7797 | > | #  ifdef __cplusplus | 
| 7798 | > | extern "C" | 
| 7799 | > | #  endif | 
| 7800 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7801 | > | #endif | 
| 7802 | > | #endif | 
| 7803 | > | int | 
| 7804 | > | main () | 
| 7805 | > | { | 
| 7806 | > | if ((struct tm *) 0) | 
| 7807 | > | return 0; | 
| 7808 | > | ; | 
| 7809 | > | return 0; | 
| 7810 | > | } | 
| 7811 | > | _ACEOF | 
| 7812 | > | rm -f conftest.$ac_objext | 
| 7813 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7814 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7815 | > | ac_status=$? | 
| 7816 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7817 | > | rm -f conftest.er1 | 
| 7818 | > | cat conftest.err >&5 | 
| 7819 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7820 | > | (exit $ac_status); } && | 
| 7821 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7822 | > | || test ! -s conftest.err' | 
| 7823 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7824 | > | (eval $ac_try) 2>&5 | 
| 7825 | > | ac_status=$? | 
| 7826 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7827 | > | (exit $ac_status); }; } && | 
| 7828 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7829 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7830 | > | (eval $ac_try) 2>&5 | 
| 7831 | > | ac_status=$? | 
| 7832 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7833 | > | (exit $ac_status); }; }; then | 
| 7834 | > | ac_cv_header_time=yes | 
| 7835 | > | else | 
| 7836 | > | echo "$as_me: failed program was:" >&5 | 
| 7837 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7838 | > |  | 
| 7839 | > | ac_cv_header_time=no | 
| 7840 | > | fi | 
| 7841 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7842 | > | fi | 
| 7843 | > | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
| 7844 | > | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
| 7845 | > | if test $ac_cv_header_time = yes; then | 
| 7846 | > |  | 
| 7847 | > | cat >>confdefs.h <<\_ACEOF | 
| 7848 | > | #define TIME_WITH_SYS_TIME 1 | 
| 7849 | > | _ACEOF | 
| 7850 | > |  | 
| 7851 | > | fi | 
| 7852 | > |  | 
| 7853 | > | echo "$as_me:$LINENO: checking for clock_t" >&5 | 
| 7854 | > | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | 
| 7855 | > | if test "${ac_cv_type_clock_t+set}" = set; then | 
| 7856 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7857 | > | else | 
| 7858 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7859 | > | /* confdefs.h.  */ | 
| 7860 | > | _ACEOF | 
| 7861 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7862 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7863 | > | /* end confdefs.h.  */ | 
| 7864 | > | $ac_includes_default | 
| 7865 | > | #ifdef FC_DUMMY_MAIN | 
| 7866 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7867 | > | #  ifdef __cplusplus | 
| 7868 | > | extern "C" | 
| 7869 | > | #  endif | 
| 7870 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7871 | > | #endif | 
| 7872 | > | #endif | 
| 7873 | > | int | 
| 7874 | > | main () | 
| 7875 | > | { | 
| 7876 | > | if ((clock_t *) 0) | 
| 7877 | > | return 0; | 
| 7878 | > | if (sizeof (clock_t)) | 
| 7879 | > | return 0; | 
| 7880 | > | ; | 
| 7881 | > | return 0; | 
| 7882 | > | } | 
| 7883 | > | _ACEOF | 
| 7884 | > | rm -f conftest.$ac_objext | 
| 7885 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7886 | > | (eval $ac_compile) 2>conftest.er1 | 
| 7887 | > | ac_status=$? | 
| 7888 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7889 | > | rm -f conftest.er1 | 
| 7890 | > | cat conftest.err >&5 | 
| 7891 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7892 | > | (exit $ac_status); } && | 
| 7893 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 7894 | > | || test ! -s conftest.err' | 
| 7895 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7896 | > | (eval $ac_try) 2>&5 | 
| 7897 | > | ac_status=$? | 
| 7898 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7899 | > | (exit $ac_status); }; } && | 
| 7900 | > | { ac_try='test -s conftest.$ac_objext' | 
| 7901 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7902 | > | (eval $ac_try) 2>&5 | 
| 7903 | > | ac_status=$? | 
| 7904 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7905 | > | (exit $ac_status); }; }; then | 
| 7906 | > | ac_cv_type_clock_t=yes | 
| 7907 | > | else | 
| 7908 | > | echo "$as_me: failed program was:" >&5 | 
| 7909 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7910 | > |  | 
| 7911 | > | ac_cv_type_clock_t=no | 
| 7912 | > | fi | 
| 7913 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7914 | > | fi | 
| 7915 | > | echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 | 
| 7916 | > | echo "${ECHO_T}$ac_cv_type_clock_t" >&6 | 
| 7917 | > | if test $ac_cv_type_clock_t = yes; then | 
| 7918 | > |  | 
| 7919 | > | cat >>confdefs.h <<_ACEOF | 
| 7920 | > | #define HAVE_CLOCK_T 1 | 
| 7921 | > | _ACEOF | 
| 7922 | > |  | 
| 7923 | > |  | 
| 7924 | > | fi | 
| 7925 | > |  | 
| 7926 | > | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
| 7927 | > | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
| 7928 | > | if test "${ac_cv_c_const+set}" = set; then | 
| 7929 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7930 | > | else | 
| 7931 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 7932 | > | /* confdefs.h.  */ | 
| 7933 | > | _ACEOF | 
| 7934 | > | cat confdefs.h >>conftest.$ac_ext | 
| 7935 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 7936 | > | /* end confdefs.h.  */ | 
| 7937 | > |  | 
| 7938 | > | #ifdef FC_DUMMY_MAIN | 
| 7939 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7940 | > | #  ifdef __cplusplus | 
| 7941 | > | extern "C" | 
| 7942 | > | #  endif | 
| 7943 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 7944 | > | #endif | 
| 7945 | > | #endif | 
| 7946 | > | int | 
| 7947 | > | main () | 
| 7948 | > | { | 
| 7949 | > | /* FIXME: Include the comments suggested by Paul. */ | 
| 7950 | > | #ifndef __cplusplus | 
| 7951 | > | /* Ultrix mips cc rejects this.  */ | 
| 7952 | > | typedef int charset[2]; | 
| 7953 | > | const charset x; | 
| 7954 | > | /* SunOS 4.1.1 cc rejects this.  */ | 
| 7955 | > | char const *const *ccp; | 
| 7956 | > | char **p; | 
| 7957 | > | /* NEC SVR4.0.2 mips cc rejects this.  */ | 
| 7958 | > | struct point {int x, y;}; | 
| 7959 | > | static struct point const zero = {0,0}; | 
| 7960 | > | /* AIX XL C 1.02.0.0 rejects this. | 
| 7961 | > | It does not let you subtract one const X* pointer from another in | 
| 7962 | > | an arm of an if-expression whose if-part is not a constant | 
| 7963 | > | expression */ | 
| 7964 | > | const char *g = "string"; | 
| 7965 | > | ccp = &g + (g ? g-g : 0); | 
| 7966 | > | /* HPUX 7.0 cc rejects these. */ | 
| 7967 | > | ++ccp; | 
| 7968 | > | p = (char**) ccp; | 
| 7969 | > | ccp = (char const *const *) p; | 
| 7970 | > | { /* SCO 3.2v4 cc rejects this.  */ | 
| 7971 | > | char *t; | 
| 7972 | > | char const *s = 0 ? (char *) 0 : (char const *) 0; | 
| 7973 | > |  | 
| 7974 | > | *t++ = 0; | 
| 7975 | > | } | 
| 7976 | > | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
| 7977 | > | int x[] = {25, 17}; | 
| 7978 | > | const int *foo = &x[0]; | 
| 7979 | > | ++foo; | 
| 7980 | > | } | 
| 7981 | > | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
| 7982 | > | typedef const int *iptr; | 
| 7983 | > | iptr p = 0; | 
| 7984 | > | ++p; | 
| 7985 | > | } | 
| 7986 | > | { /* AIX XL C 1.02.0.0 rejects this saying | 
| 7987 | > | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
| 7988 | > | struct s { int j; const int *ap[3]; }; | 
| 7989 | > | struct s *b; b->j = 5; | 
| 7990 | > | } | 
| 7991 | > | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
| 7992 | > | const int foo = 10; | 
| 7993 | > | } | 
| 7994 | > | #endif | 
| 7995 | > |  | 
| 7996 | > | ; | 
| 7997 | > | return 0; | 
| 7998 | > | } | 
| 7999 | > | _ACEOF | 
| 8000 | > | rm -f conftest.$ac_objext | 
| 8001 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 8002 | > | (eval $ac_compile) 2>conftest.er1 | 
| 8003 | > | ac_status=$? | 
| 8004 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8005 | > | rm -f conftest.er1 | 
| 8006 | > | cat conftest.err >&5 | 
| 8007 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8008 | > | (exit $ac_status); } && | 
| 8009 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 8010 | > | || test ! -s conftest.err' | 
| 8011 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8012 | > | (eval $ac_try) 2>&5 | 
| 8013 | > | ac_status=$? | 
| 8014 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8015 | > | (exit $ac_status); }; } && | 
| 8016 | > | { ac_try='test -s conftest.$ac_objext' | 
| 8017 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8018 | > | (eval $ac_try) 2>&5 | 
| 8019 | > | ac_status=$? | 
| 8020 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8021 | > | (exit $ac_status); }; }; then | 
| 8022 | > | ac_cv_c_const=yes | 
| 8023 | > | else | 
| 8024 | > | echo "$as_me: failed program was:" >&5 | 
| 8025 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8026 | > |  | 
| 8027 | > | ac_cv_c_const=no | 
| 8028 | > | fi | 
| 8029 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8030 | > | fi | 
| 8031 | > | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
| 8032 | > | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
| 8033 | > | if test $ac_cv_c_const = no; then | 
| 8034 | > |  | 
| 8035 | > | cat >>confdefs.h <<\_ACEOF | 
| 8036 | > | #define const | 
| 8037 | > | _ACEOF | 
| 8038 | > |  | 
| 8039 | > | fi | 
| 8040 | > |  | 
| 8041 | > | echo "$as_me:$LINENO: checking for inline" >&5 | 
| 8042 | > | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
| 8043 | > | if test "${ac_cv_c_inline+set}" = set; then | 
| 8044 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8045 | > | else | 
| 8046 | > | ac_cv_c_inline=no | 
| 8047 | > | for ac_kw in inline __inline__ __inline; do | 
| 8048 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8049 | > | /* confdefs.h.  */ | 
| 8050 | > | _ACEOF | 
| 8051 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8052 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8053 | > | /* end confdefs.h.  */ | 
| 8054 | > | #ifndef __cplusplus | 
| 8055 | > | typedef int foo_t; | 
| 8056 | > | static $ac_kw foo_t static_foo () {return 0; } | 
| 8057 | > | $ac_kw foo_t foo () {return 0; } | 
| 8058 | > | #endif | 
| 8059 | > |  | 
| 8060 | > | _ACEOF | 
| 8061 | > | rm -f conftest.$ac_objext | 
| 8062 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 8063 | > | (eval $ac_compile) 2>conftest.er1 | 
| 8064 | > | ac_status=$? | 
| 8065 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8066 | > | rm -f conftest.er1 | 
| 8067 | > | cat conftest.err >&5 | 
| 8068 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8069 | > | (exit $ac_status); } && | 
| 8070 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 8071 | > | || test ! -s conftest.err' | 
| 8072 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8073 | > | (eval $ac_try) 2>&5 | 
| 8074 | > | ac_status=$? | 
| 8075 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8076 | > | (exit $ac_status); }; } && | 
| 8077 | > | { ac_try='test -s conftest.$ac_objext' | 
| 8078 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8079 | > | (eval $ac_try) 2>&5 | 
| 8080 | > | ac_status=$? | 
| 8081 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8082 | > | (exit $ac_status); }; }; then | 
| 8083 | > | ac_cv_c_inline=$ac_kw; break | 
| 8084 | > | else | 
| 8085 | > | echo "$as_me: failed program was:" >&5 | 
| 8086 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8087 | > |  | 
| 8088 | > | fi | 
| 8089 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8090 | > | done | 
| 8091 | > |  | 
| 8092 | > | fi | 
| 8093 | > | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
| 8094 | > | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
| 8095 | > |  | 
| 8096 | > |  | 
| 8097 | > | case $ac_cv_c_inline in | 
| 8098 | > | inline | yes) ;; | 
| 8099 | > | *) | 
| 8100 | > | case $ac_cv_c_inline in | 
| 8101 | > | no) ac_val=;; | 
| 8102 | > | *) ac_val=$ac_cv_c_inline;; | 
| 8103 | > | esac | 
| 8104 | > | cat >>confdefs.h <<_ACEOF | 
| 8105 | > | #ifndef __cplusplus | 
| 8106 | > | #define inline $ac_val | 
| 8107 | > | #endif | 
| 8108 | > | _ACEOF | 
| 8109 | > | ;; | 
| 8110 | > | esac | 
| 8111 | > |  | 
| 8112 | > |  | 
| 8113 | > | # Checks for library functions. | 
| 8114 | > |  | 
| 8115 | > | for ac_header in stdlib.h | 
| 8116 | > | do | 
| 8117 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 8118 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8119 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8120 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 8121 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8122 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8123 | > | fi | 
| 8124 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 8125 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 8126 | > | else | 
| 8127 | > | # Is the header compilable? | 
| 8128 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 8129 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 8130 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8131 | > | /* confdefs.h.  */ | 
| 8132 | > | _ACEOF | 
| 8133 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8134 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8135 | > | /* end confdefs.h.  */ | 
| 8136 | > | $ac_includes_default | 
| 8137 | > | #include <$ac_header> | 
| 8138 | > | _ACEOF | 
| 8139 | > | rm -f conftest.$ac_objext | 
| 8140 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 8141 | > | (eval $ac_compile) 2>conftest.er1 | 
| 8142 | > | ac_status=$? | 
| 8143 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8144 | > | rm -f conftest.er1 | 
| 8145 | > | cat conftest.err >&5 | 
| 8146 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8147 | > | (exit $ac_status); } && | 
| 8148 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 8149 | > | || test ! -s conftest.err' | 
| 8150 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8151 | > | (eval $ac_try) 2>&5 | 
| 8152 | > | ac_status=$? | 
| 8153 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8154 | > | (exit $ac_status); }; } && | 
| 8155 | > | { ac_try='test -s conftest.$ac_objext' | 
| 8156 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8157 | > | (eval $ac_try) 2>&5 | 
| 8158 | > | ac_status=$? | 
| 8159 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8160 | > | (exit $ac_status); }; }; then | 
| 8161 | > | ac_header_compiler=yes | 
| 8162 | > | else | 
| 8163 | > | echo "$as_me: failed program was:" >&5 | 
| 8164 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8165 | > |  | 
| 8166 | > | ac_header_compiler=no | 
| 8167 | > | fi | 
| 8168 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8169 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8170 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 8171 | > |  | 
| 8172 | > | # Is the header present? | 
| 8173 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 8174 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 8175 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8176 | > | /* confdefs.h.  */ | 
| 8177 | > | _ACEOF | 
| 8178 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8179 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8180 | > | /* end confdefs.h.  */ | 
| 8181 | > | #include <$ac_header> | 
| 8182 | > | _ACEOF | 
| 8183 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 8184 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 8185 | > | ac_status=$? | 
| 8186 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8187 | > | rm -f conftest.er1 | 
| 8188 | > | cat conftest.err >&5 | 
| 8189 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8190 | > | (exit $ac_status); } >/dev/null; then | 
| 8191 | > | if test -s conftest.err; then | 
| 8192 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 8193 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 8194 | > | else | 
| 8195 | > | ac_cpp_err= | 
| 8196 | > | fi | 
| 8197 | > | else | 
| 8198 | > | ac_cpp_err=yes | 
| 8199 | > | fi | 
| 8200 | > | if test -z "$ac_cpp_err"; then | 
| 8201 | > | ac_header_preproc=yes | 
| 8202 | > | else | 
| 8203 | > | echo "$as_me: failed program was:" >&5 | 
| 8204 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8205 | > |  | 
| 8206 | > | ac_header_preproc=no | 
| 8207 | > | fi | 
| 8208 | > | rm -f conftest.err conftest.$ac_ext | 
| 8209 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8210 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 8211 | > |  | 
| 8212 | > | # So?  What about this header? | 
| 8213 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 8214 | > | yes:no: ) | 
| 8215 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 8216 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 8217 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 8218 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 8219 | > | ac_header_preproc=yes | 
| 8220 | > | ;; | 
| 8221 | > | no:yes:* ) | 
| 8222 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 8223 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 8224 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 8225 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 8226 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 8227 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 8228 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 8229 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 8230 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 8231 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 8232 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 8233 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 8234 | > | ( | 
| 8235 | > | cat <<\_ASBOX | 
| 8236 | > | ## ------------------------------ ## | 
| 8237 | > | ## Report this to gezelter@nd.edu ## | 
| 8238 | > | ## ------------------------------ ## | 
| 8239 | > | _ASBOX | 
| 8240 | > | ) | | 
| 8241 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 8242 | > | ;; | 
| 8243 | > | esac | 
| 8244 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8245 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 8246 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8247 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8248 | > | else | 
| 8249 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 8250 | > | fi | 
| 8251 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 8252 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 8253 | > |  | 
| 8254 | > | fi | 
| 8255 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 8256 | > | cat >>confdefs.h <<_ACEOF | 
| 8257 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 8258 | > | _ACEOF | 
| 8259 | > |  | 
| 8260 | > | fi | 
| 8261 | > |  | 
| 8262 | > | done | 
| 8263 | > |  | 
| 8264 | > | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
| 8265 | > | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
| 8266 | > | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
| 8267 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8268 | > | else | 
| 8269 | > | if test "$cross_compiling" = yes; then | 
| 8270 | > | ac_cv_func_malloc_0_nonnull=no | 
| 8271 | > | else | 
| 8272 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8273 | > | /* confdefs.h.  */ | 
| 8274 | > | _ACEOF | 
| 8275 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8276 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8277 | > | /* end confdefs.h.  */ | 
| 8278 | > | #if STDC_HEADERS || HAVE_STDLIB_H | 
| 8279 | > | # include <stdlib.h> | 
| 8280 | > | #else | 
| 8281 | > | char *malloc (); | 
| 8282 | > | #endif | 
| 8283 | > |  | 
| 8284 | > | #ifdef FC_DUMMY_MAIN | 
| 8285 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8286 | > | #  ifdef __cplusplus | 
| 8287 | > | extern "C" | 
| 8288 | > | #  endif | 
| 8289 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 8290 | > | #endif | 
| 8291 | > | #endif | 
| 8292 | > | int | 
| 8293 | > | main () | 
| 8294 | > | { | 
| 8295 | > | exit (malloc (0) ? 0 : 1); | 
| 8296 | > | ; | 
| 8297 | > | return 0; | 
| 8298 | > | } | 
| 8299 | > | _ACEOF | 
| 8300 | > | rm -f conftest$ac_exeext | 
| 8301 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 8302 | > | (eval $ac_link) 2>&5 | 
| 8303 | > | ac_status=$? | 
| 8304 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8305 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 8306 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8307 | > | (eval $ac_try) 2>&5 | 
| 8308 | > | ac_status=$? | 
| 8309 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8310 | > | (exit $ac_status); }; }; then | 
| 8311 | > | ac_cv_func_malloc_0_nonnull=yes | 
| 8312 | > | else | 
| 8313 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 8314 | > | echo "$as_me: failed program was:" >&5 | 
| 8315 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8316 | > |  | 
| 8317 | > | ( exit $ac_status ) | 
| 8318 | > | ac_cv_func_malloc_0_nonnull=no | 
| 8319 | > | fi | 
| 8320 | > | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 8321 | > | fi | 
| 8322 | > | fi | 
| 8323 | > | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
| 8324 | > | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
| 8325 | > | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
| 8326 | > |  | 
| 8327 | > | cat >>confdefs.h <<\_ACEOF | 
| 8328 | > | #define HAVE_MALLOC 1 | 
| 8329 | > | _ACEOF | 
| 8330 | > |  | 
| 8331 | > | else | 
| 8332 | > | cat >>confdefs.h <<\_ACEOF | 
| 8333 | > | #define HAVE_MALLOC 0 | 
| 8334 | > | _ACEOF | 
| 8335 | > |  | 
| 8336 | > | case $LIBOBJS in | 
| 8337 | > | "malloc.$ac_objext"   | \ | 
| 8338 | > | *" malloc.$ac_objext"   | \ | 
| 8339 | > | "malloc.$ac_objext "* | \ | 
| 8340 | > | *" malloc.$ac_objext "* ) ;; | 
| 8341 | > | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
| 8342 | > | esac | 
| 8343 | > |  | 
| 8344 | > |  | 
| 8345 | > | cat >>confdefs.h <<\_ACEOF | 
| 8346 | > | #define malloc rpl_malloc | 
| 8347 | > | _ACEOF | 
| 8348 | > |  | 
| 8349 | > | fi | 
| 8350 | > |  | 
| 8351 | > |  | 
| 8352 | > |  | 
| 8353 | > | echo "$as_me:$LINENO: checking for working memcmp" >&5 | 
| 8354 | > | echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | 
| 8355 | > | if test "${ac_cv_func_memcmp_working+set}" = set; then | 
| 8356 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8357 | > | else | 
| 8358 | > | if test "$cross_compiling" = yes; then | 
| 8359 | > | ac_cv_func_memcmp_working=no | 
| 8360 | > | else | 
| 8361 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8362 | > | /* confdefs.h.  */ | 
| 8363 | > | _ACEOF | 
| 8364 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8365 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8366 | > | /* end confdefs.h.  */ | 
| 8367 | > | $ac_includes_default | 
| 8368 | > | #ifdef FC_DUMMY_MAIN | 
| 8369 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8370 | > | #  ifdef __cplusplus | 
| 8371 | > | extern "C" | 
| 8372 | > | #  endif | 
| 8373 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 8374 | > | #endif | 
| 8375 | > | #endif | 
| 8376 | > | int | 
| 8377 | > | main () | 
| 8378 | > | { | 
| 8379 | > |  | 
| 8380 | > | /* Some versions of memcmp are not 8-bit clean.  */ | 
| 8381 | > | char c0 = 0x40, c1 = 0x80, c2 = 0x81; | 
| 8382 | > | if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 
| 8383 | > | exit (1); | 
| 8384 | > |  | 
| 8385 | > | /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 
| 8386 | > | or more and with at least one buffer not starting on a 4-byte boundary. | 
| 8387 | > | William Lewis provided this test program.   */ | 
| 8388 | > | { | 
| 8389 | > | char foo[21]; | 
| 8390 | > | char bar[21]; | 
| 8391 | > | int i; | 
| 8392 | > | for (i = 0; i < 4; i++) | 
| 8393 | > | { | 
| 8394 | > | char *a = foo + i; | 
| 8395 | > | char *b = bar + i; | 
| 8396 | > | strcpy (a, "--------01111111"); | 
| 8397 | > | strcpy (b, "--------10000000"); | 
| 8398 | > | if (memcmp (a, b, 16) >= 0) | 
| 8399 | > | exit (1); | 
| 8400 | > | } | 
| 8401 | > | exit (0); | 
| 8402 | > | } | 
| 8403 | > |  | 
| 8404 | > | ; | 
| 8405 | > | return 0; | 
| 8406 | > | } | 
| 8407 | > | _ACEOF | 
| 8408 | > | rm -f conftest$ac_exeext | 
| 8409 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 8410 | > | (eval $ac_link) 2>&5 | 
| 8411 | > | ac_status=$? | 
| 8412 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8413 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 8414 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8415 | > | (eval $ac_try) 2>&5 | 
| 8416 | > | ac_status=$? | 
| 8417 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8418 | > | (exit $ac_status); }; }; then | 
| 8419 | > | ac_cv_func_memcmp_working=yes | 
| 8420 | > | else | 
| 8421 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 8422 | > | echo "$as_me: failed program was:" >&5 | 
| 8423 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8424 | > |  | 
| 8425 | > | ( exit $ac_status ) | 
| 8426 | > | ac_cv_func_memcmp_working=no | 
| 8427 | > | fi | 
| 8428 | > | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 8429 | > | fi | 
| 8430 | > | fi | 
| 8431 | > | echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 
| 8432 | > | echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | 
| 8433 | > | test $ac_cv_func_memcmp_working = no && case $LIBOBJS in | 
| 8434 | > | "memcmp.$ac_objext"   | \ | 
| 8435 | > | *" memcmp.$ac_objext"   | \ | 
| 8436 | > | "memcmp.$ac_objext "* | \ | 
| 8437 | > | *" memcmp.$ac_objext "* ) ;; | 
| 8438 | > | *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;; | 
| 8439 | > | esac | 
| 8440 | > |  | 
| 8441 | > |  | 
| 8442 | > |  | 
| 8443 | > | for ac_header in stdlib.h | 
| 8444 | > | do | 
| 8445 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 8446 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8447 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8448 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 8449 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8450 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8451 | > | fi | 
| 8452 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 8453 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 8454 | > | else | 
| 8455 | > | # Is the header compilable? | 
| 8456 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 8457 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 8458 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8459 | > | /* confdefs.h.  */ | 
| 8460 | > | _ACEOF | 
| 8461 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8462 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8463 | > | /* end confdefs.h.  */ | 
| 8464 | > | $ac_includes_default | 
| 8465 | > | #include <$ac_header> | 
| 8466 | > | _ACEOF | 
| 8467 | > | rm -f conftest.$ac_objext | 
| 8468 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 8469 | > | (eval $ac_compile) 2>conftest.er1 | 
| 8470 | > | ac_status=$? | 
| 8471 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8472 | > | rm -f conftest.er1 | 
| 8473 | > | cat conftest.err >&5 | 
| 8474 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8475 | > | (exit $ac_status); } && | 
| 8476 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 8477 | > | || test ! -s conftest.err' | 
| 8478 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8479 | > | (eval $ac_try) 2>&5 | 
| 8480 | > | ac_status=$? | 
| 8481 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8482 | > | (exit $ac_status); }; } && | 
| 8483 | > | { ac_try='test -s conftest.$ac_objext' | 
| 8484 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8485 | > | (eval $ac_try) 2>&5 | 
| 8486 | > | ac_status=$? | 
| 8487 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8488 | > | (exit $ac_status); }; }; then | 
| 8489 | > | ac_header_compiler=yes | 
| 8490 | > | else | 
| 8491 | > | echo "$as_me: failed program was:" >&5 | 
| 8492 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8493 | > |  | 
| 8494 | > | ac_header_compiler=no | 
| 8495 | > | fi | 
| 8496 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8497 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8498 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 8499 | > |  | 
| 8500 | > | # Is the header present? | 
| 8501 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 8502 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 8503 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8504 | > | /* confdefs.h.  */ | 
| 8505 | > | _ACEOF | 
| 8506 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8507 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8508 | > | /* end confdefs.h.  */ | 
| 8509 | > | #include <$ac_header> | 
| 8510 | > | _ACEOF | 
| 8511 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 8512 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 8513 | > | ac_status=$? | 
| 8514 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8515 | > | rm -f conftest.er1 | 
| 8516 | > | cat conftest.err >&5 | 
| 8517 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8518 | > | (exit $ac_status); } >/dev/null; then | 
| 8519 | > | if test -s conftest.err; then | 
| 8520 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 8521 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 8522 | > | else | 
| 8523 | > | ac_cpp_err= | 
| 8524 | > | fi | 
| 8525 | > | else | 
| 8526 | > | ac_cpp_err=yes | 
| 8527 | > | fi | 
| 8528 | > | if test -z "$ac_cpp_err"; then | 
| 8529 | > | ac_header_preproc=yes | 
| 8530 | > | else | 
| 8531 | > | echo "$as_me: failed program was:" >&5 | 
| 8532 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8533 | > |  | 
| 8534 | > | ac_header_preproc=no | 
| 8535 | > | fi | 
| 8536 | > | rm -f conftest.err conftest.$ac_ext | 
| 8537 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8538 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 8539 | > |  | 
| 8540 | > | # So?  What about this header? | 
| 8541 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 8542 | > | yes:no: ) | 
| 8543 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 8544 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 8545 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 8546 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 8547 | > | ac_header_preproc=yes | 
| 8548 | > | ;; | 
| 8549 | > | no:yes:* ) | 
| 8550 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 8551 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 8552 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 8553 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 8554 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 8555 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 8556 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 8557 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 8558 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 8559 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 8560 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 8561 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 8562 | > | ( | 
| 8563 | > | cat <<\_ASBOX | 
| 8564 | > | ## ------------------------------ ## | 
| 8565 | > | ## Report this to gezelter@nd.edu ## | 
| 8566 | > | ## ------------------------------ ## | 
| 8567 | > | _ASBOX | 
| 8568 | > | ) | | 
| 8569 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 8570 | > | ;; | 
| 8571 | > | esac | 
| 8572 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8573 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 8574 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8575 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8576 | > | else | 
| 8577 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 8578 | > | fi | 
| 8579 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 8580 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 8581 | > |  | 
| 8582 | > | fi | 
| 8583 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 8584 | > | cat >>confdefs.h <<_ACEOF | 
| 8585 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 8586 | > | _ACEOF | 
| 8587 | > |  | 
| 8588 | > | fi | 
| 8589 | > |  | 
| 8590 | > | done | 
| 8591 | > |  | 
| 8592 | > | echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 | 
| 8593 | > | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 | 
| 8594 | > | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then | 
| 8595 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8596 | > | else | 
| 8597 | > | if test "$cross_compiling" = yes; then | 
| 8598 | > | ac_cv_func_realloc_0_nonnull=no | 
| 8599 | > | else | 
| 8600 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8601 | > | /* confdefs.h.  */ | 
| 8602 | > | _ACEOF | 
| 8603 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8604 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8605 | > | /* end confdefs.h.  */ | 
| 8606 | > | #if STDC_HEADERS || HAVE_STDLIB_H | 
| 8607 | > | # include <stdlib.h> | 
| 8608 | > | #else | 
| 8609 | > | char *realloc (); | 
| 8610 | > | #endif | 
| 8611 | > |  | 
| 8612 | > | #ifdef FC_DUMMY_MAIN | 
| 8613 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8614 | > | #  ifdef __cplusplus | 
| 8615 | > | extern "C" | 
| 8616 | > | #  endif | 
| 8617 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 8618 | > | #endif | 
| 8619 | > | #endif | 
| 8620 | > | int | 
| 8621 | > | main () | 
| 8622 | > | { | 
| 8623 | > | exit (realloc (0, 0) ? 0 : 1); | 
| 8624 | > | ; | 
| 8625 | > | return 0; | 
| 8626 | > | } | 
| 8627 | > | _ACEOF | 
| 8628 | > | rm -f conftest$ac_exeext | 
| 8629 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 8630 | > | (eval $ac_link) 2>&5 | 
| 8631 | > | ac_status=$? | 
| 8632 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8633 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 8634 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8635 | > | (eval $ac_try) 2>&5 | 
| 8636 | > | ac_status=$? | 
| 8637 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8638 | > | (exit $ac_status); }; }; then | 
| 8639 | > | ac_cv_func_realloc_0_nonnull=yes | 
| 8640 | > | else | 
| 8641 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 8642 | > | echo "$as_me: failed program was:" >&5 | 
| 8643 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8644 | > |  | 
| 8645 | > | ( exit $ac_status ) | 
| 8646 | > | ac_cv_func_realloc_0_nonnull=no | 
| 8647 | > | fi | 
| 8648 | > | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 8649 | > | fi | 
| 8650 | > | fi | 
| 8651 | > | echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 | 
| 8652 | > | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 | 
| 8653 | > | if test $ac_cv_func_realloc_0_nonnull = yes; then | 
| 8654 | > |  | 
| 8655 | > | cat >>confdefs.h <<\_ACEOF | 
| 8656 | > | #define HAVE_REALLOC 1 | 
| 8657 | > | _ACEOF | 
| 8658 | > |  | 
| 8659 | > | else | 
| 8660 | > | cat >>confdefs.h <<\_ACEOF | 
| 8661 | > | #define HAVE_REALLOC 0 | 
| 8662 | > | _ACEOF | 
| 8663 | > |  | 
| 8664 | > | case $LIBOBJS in | 
| 8665 | > | "realloc.$ac_objext"   | \ | 
| 8666 | > | *" realloc.$ac_objext"   | \ | 
| 8667 | > | "realloc.$ac_objext "* | \ | 
| 8668 | > | *" realloc.$ac_objext "* ) ;; | 
| 8669 | > | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; | 
| 8670 | > | esac | 
| 8671 | > |  | 
| 8672 | > |  | 
| 8673 | > | cat >>confdefs.h <<\_ACEOF | 
| 8674 | > | #define realloc rpl_realloc | 
| 8675 | > | _ACEOF | 
| 8676 | > |  | 
| 8677 | > | fi | 
| 8678 | > |  | 
| 8679 | > |  | 
| 8680 | > |  | 
| 8681 | > |  | 
| 8682 | > |  | 
| 8683 | > | for ac_header in sys/select.h sys/socket.h | 
| 8684 | > | do | 
| 8685 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 8686 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8687 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8688 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 8689 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8690 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8691 | > | fi | 
| 8692 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 8693 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 8694 | > | else | 
| 8695 | > | # Is the header compilable? | 
| 8696 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 8697 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 8698 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8699 | > | /* confdefs.h.  */ | 
| 8700 | > | _ACEOF | 
| 8701 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8702 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8703 | > | /* end confdefs.h.  */ | 
| 8704 | > | $ac_includes_default | 
| 8705 | > | #include <$ac_header> | 
| 8706 | > | _ACEOF | 
| 8707 | > | rm -f conftest.$ac_objext | 
| 8708 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 8709 | > | (eval $ac_compile) 2>conftest.er1 | 
| 8710 | > | ac_status=$? | 
| 8711 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8712 | > | rm -f conftest.er1 | 
| 8713 | > | cat conftest.err >&5 | 
| 8714 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8715 | > | (exit $ac_status); } && | 
| 8716 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 8717 | > | || test ! -s conftest.err' | 
| 8718 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8719 | > | (eval $ac_try) 2>&5 | 
| 8720 | > | ac_status=$? | 
| 8721 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8722 | > | (exit $ac_status); }; } && | 
| 8723 | > | { ac_try='test -s conftest.$ac_objext' | 
| 8724 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8725 | > | (eval $ac_try) 2>&5 | 
| 8726 | > | ac_status=$? | 
| 8727 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8728 | > | (exit $ac_status); }; }; then | 
| 8729 | > | ac_header_compiler=yes | 
| 8730 | > | else | 
| 8731 | > | echo "$as_me: failed program was:" >&5 | 
| 8732 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8733 | > |  | 
| 8734 | > | ac_header_compiler=no | 
| 8735 | > | fi | 
| 8736 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8737 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8738 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 8739 | > |  | 
| 8740 | > | # Is the header present? | 
| 8741 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 8742 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 8743 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8744 | > | /* confdefs.h.  */ | 
| 8745 | > | _ACEOF | 
| 8746 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8747 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8748 | > | /* end confdefs.h.  */ | 
| 8749 | > | #include <$ac_header> | 
| 8750 | > | _ACEOF | 
| 8751 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 8752 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 8753 | > | ac_status=$? | 
| 8754 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8755 | > | rm -f conftest.er1 | 
| 8756 | > | cat conftest.err >&5 | 
| 8757 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8758 | > | (exit $ac_status); } >/dev/null; then | 
| 8759 | > | if test -s conftest.err; then | 
| 8760 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 8761 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 8762 | > | else | 
| 8763 | > | ac_cpp_err= | 
| 8764 | > | fi | 
| 8765 | > | else | 
| 8766 | > | ac_cpp_err=yes | 
| 8767 | > | fi | 
| 8768 | > | if test -z "$ac_cpp_err"; then | 
| 8769 | > | ac_header_preproc=yes | 
| 8770 | > | else | 
| 8771 | > | echo "$as_me: failed program was:" >&5 | 
| 8772 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8773 | > |  | 
| 8774 | > | ac_header_preproc=no | 
| 8775 | > | fi | 
| 8776 | > | rm -f conftest.err conftest.$ac_ext | 
| 8777 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8778 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 8779 | > |  | 
| 8780 | > | # So?  What about this header? | 
| 8781 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 8782 | > | yes:no: ) | 
| 8783 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 8784 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 8785 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 8786 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 8787 | > | ac_header_preproc=yes | 
| 8788 | > | ;; | 
| 8789 | > | no:yes:* ) | 
| 8790 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 8791 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 8792 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 8793 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 8794 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 8795 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 8796 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 8797 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 8798 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 8799 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 8800 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 8801 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 8802 | > | ( | 
| 8803 | > | cat <<\_ASBOX | 
| 8804 | > | ## ------------------------------ ## | 
| 8805 | > | ## Report this to gezelter@nd.edu ## | 
| 8806 | > | ## ------------------------------ ## | 
| 8807 | > | _ASBOX | 
| 8808 | > | ) | | 
| 8809 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 8810 | > | ;; | 
| 8811 | > | esac | 
| 8812 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8813 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 8814 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 8815 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8816 | > | else | 
| 8817 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 8818 | > | fi | 
| 8819 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 8820 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 8821 | > |  | 
| 8822 | > | fi | 
| 8823 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 8824 | > | cat >>confdefs.h <<_ACEOF | 
| 8825 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 8826 | > | _ACEOF | 
| 8827 | > |  | 
| 8828 | > | fi | 
| 8829 | > |  | 
| 8830 | > | done | 
| 8831 | > |  | 
| 8832 | > | echo "$as_me:$LINENO: checking types of arguments for select" >&5 | 
| 8833 | > | echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6 | 
| 8834 | > | if test "${ac_cv_func_select_args+set}" = set; then | 
| 8835 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8836 | > | else | 
| 8837 | > | for ac_arg234 in 'fd_set *' 'int *' 'void *'; do | 
| 8838 | > | for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do | 
| 8839 | > | for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do | 
| 8840 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8841 | > | /* confdefs.h.  */ | 
| 8842 | > | _ACEOF | 
| 8843 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8844 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8845 | > | /* end confdefs.h.  */ | 
| 8846 | > | $ac_includes_default | 
| 8847 | > | #if HAVE_SYS_SELECT_H | 
| 8848 | > | # include <sys/select.h> | 
| 8849 | > | #endif | 
| 8850 | > | #if HAVE_SYS_SOCKET_H | 
| 8851 | > | # include <sys/socket.h> | 
| 8852 | > | #endif | 
| 8853 | > |  | 
| 8854 | > | #ifdef FC_DUMMY_MAIN | 
| 8855 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8856 | > | #  ifdef __cplusplus | 
| 8857 | > | extern "C" | 
| 8858 | > | #  endif | 
| 8859 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 8860 | > | #endif | 
| 8861 | > | #endif | 
| 8862 | > | int | 
| 8863 | > | main () | 
| 8864 | > | { | 
| 8865 | > | extern int select ($ac_arg1, | 
| 8866 | > | $ac_arg234, $ac_arg234, $ac_arg234, | 
| 8867 | > | $ac_arg5); | 
| 8868 | > | ; | 
| 8869 | > | return 0; | 
| 8870 | > | } | 
| 8871 | > | _ACEOF | 
| 8872 | > | rm -f conftest.$ac_objext | 
| 8873 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 8874 | > | (eval $ac_compile) 2>conftest.er1 | 
| 8875 | > | ac_status=$? | 
| 8876 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8877 | > | rm -f conftest.er1 | 
| 8878 | > | cat conftest.err >&5 | 
| 8879 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8880 | > | (exit $ac_status); } && | 
| 8881 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 8882 | > | || test ! -s conftest.err' | 
| 8883 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8884 | > | (eval $ac_try) 2>&5 | 
| 8885 | > | ac_status=$? | 
| 8886 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8887 | > | (exit $ac_status); }; } && | 
| 8888 | > | { ac_try='test -s conftest.$ac_objext' | 
| 8889 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8890 | > | (eval $ac_try) 2>&5 | 
| 8891 | > | ac_status=$? | 
| 8892 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8893 | > | (exit $ac_status); }; }; then | 
| 8894 | > | ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 | 
| 8895 | > | else | 
| 8896 | > | echo "$as_me: failed program was:" >&5 | 
| 8897 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8898 | > |  | 
| 8899 | > | fi | 
| 8900 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8901 | > | done | 
| 8902 | > | done | 
| 8903 | > | done | 
| 8904 | > | # Provide a safe default value. | 
| 8905 | > | : ${ac_cv_func_select_args='int,int *,struct timeval *'} | 
| 8906 | > |  | 
| 8907 | > | fi | 
| 8908 | > | echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 | 
| 8909 | > | echo "${ECHO_T}$ac_cv_func_select_args" >&6 | 
| 8910 | > | ac_save_IFS=$IFS; IFS=',' | 
| 8911 | > | set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` | 
| 8912 | > | IFS=$ac_save_IFS | 
| 8913 | > | shift | 
| 8914 | > |  | 
| 8915 | > | cat >>confdefs.h <<_ACEOF | 
| 8916 | > | #define SELECT_TYPE_ARG1 $1 | 
| 8917 | > | _ACEOF | 
| 8918 | > |  | 
| 8919 | > |  | 
| 8920 | > | cat >>confdefs.h <<_ACEOF | 
| 8921 | > | #define SELECT_TYPE_ARG234 ($2) | 
| 8922 | > | _ACEOF | 
| 8923 | > |  | 
| 8924 | > |  | 
| 8925 | > | cat >>confdefs.h <<_ACEOF | 
| 8926 | > | #define SELECT_TYPE_ARG5 ($3) | 
| 8927 | > | _ACEOF | 
| 8928 | > |  | 
| 8929 | > | rm -f conftest* | 
| 8930 | > |  | 
| 8931 | > |  | 
| 8932 | > | for ac_func in strftime | 
| 8933 | > | do | 
| 8934 | > | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 8935 | > | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 8936 | > | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 8937 | > | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
| 8938 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8939 | > | else | 
| 8940 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8941 | > | /* confdefs.h.  */ | 
| 8942 | > | _ACEOF | 
| 8943 | > | cat confdefs.h >>conftest.$ac_ext | 
| 8944 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 8945 | > | /* end confdefs.h.  */ | 
| 8946 | > | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 8947 | > | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 8948 | > | #define $ac_func innocuous_$ac_func | 
| 8949 | > |  | 
| 8950 | > | /* System header to define __stub macros and hopefully few prototypes, | 
| 8951 | > | which can conflict with char $ac_func (); below. | 
| 8952 | > | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 8953 | > | <limits.h> exists even on freestanding compilers.  */ | 
| 8954 | > |  | 
| 8955 | > | #ifdef __STDC__ | 
| 8956 | > | # include <limits.h> | 
| 8957 | > | #else | 
| 8958 | > | # include <assert.h> | 
| 8959 | > | #endif | 
| 8960 | > |  | 
| 8961 | > | #undef $ac_func | 
| 8962 | > |  | 
| 8963 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 8964 | > | #ifdef __cplusplus | 
| 8965 | > | extern "C" | 
| 8966 | > | { | 
| 8967 | > | #endif | 
| 8968 | > | /* We use char because int might match the return type of a gcc2 | 
| 8969 | > | builtin and then its argument prototype would still apply.  */ | 
| 8970 | > | char $ac_func (); | 
| 8971 | > | /* The GNU C library defines this for functions which it implements | 
| 8972 | > | to always fail with ENOSYS.  Some functions are actually named | 
| 8973 | > | something starting with __ and the normal name is an alias.  */ | 
| 8974 | > | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 8975 | > | choke me | 
| 8976 | > | #else | 
| 8977 | > | char (*f) () = $ac_func; | 
| 8978 | > | #endif | 
| 8979 | > | #ifdef __cplusplus | 
| 8980 | > | } | 
| 8981 | > | #endif | 
| 8982 | > |  | 
| 8983 | > | #ifdef FC_DUMMY_MAIN | 
| 8984 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8985 | > | #  ifdef __cplusplus | 
| 8986 | > | extern "C" | 
| 8987 | > | #  endif | 
| 8988 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 8989 | > | #endif | 
| 8990 | > | #endif | 
| 8991 | > | int | 
| 8992 | > | main () | 
| 8993 | > | { | 
| 8994 | > | return f != $ac_func; | 
| 8995 | > | ; | 
| 8996 | > | return 0; | 
| 8997 | > | } | 
| 8998 | > | _ACEOF | 
| 8999 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9000 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9001 | > | (eval $ac_link) 2>conftest.er1 | 
| 9002 | > | ac_status=$? | 
| 9003 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9004 | > | rm -f conftest.er1 | 
| 9005 | > | cat conftest.err >&5 | 
| 9006 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9007 | > | (exit $ac_status); } && | 
| 9008 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9009 | > | || test ! -s conftest.err' | 
| 9010 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9011 | > | (eval $ac_try) 2>&5 | 
| 9012 | > | ac_status=$? | 
| 9013 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9014 | > | (exit $ac_status); }; } && | 
| 9015 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9016 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9017 | > | (eval $ac_try) 2>&5 | 
| 9018 | > | ac_status=$? | 
| 9019 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9020 | > | (exit $ac_status); }; }; then | 
| 9021 | > | eval "$as_ac_var=yes" | 
| 9022 | > | else | 
| 9023 | > | echo "$as_me: failed program was:" >&5 | 
| 9024 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9025 | > |  | 
| 9026 | > | eval "$as_ac_var=no" | 
| 9027 | > | fi | 
| 9028 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9029 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9030 | > | fi | 
| 9031 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
| 9032 | > | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
| 9033 | > | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 9034 | > | cat >>confdefs.h <<_ACEOF | 
| 9035 | > | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 9036 | > | _ACEOF | 
| 9037 | > |  | 
| 9038 | > | else | 
| 9039 | > | # strftime is in -lintl on SCO UNIX. | 
| 9040 | > | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 
| 9041 | > | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | 
| 9042 | > | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 
| 9043 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9044 | > | else | 
| 9045 | > | ac_check_lib_save_LIBS=$LIBS | 
| 9046 | > | LIBS="-lintl  $LIBS" | 
| 9047 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9048 | > | /* confdefs.h.  */ | 
| 9049 | > | _ACEOF | 
| 9050 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9051 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9052 | > | /* end confdefs.h.  */ | 
| 9053 | > |  | 
| 9054 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9055 | > | #ifdef __cplusplus | 
| 9056 | > | extern "C" | 
| 9057 | > | #endif | 
| 9058 | > | /* We use char because int might match the return type of a gcc2 | 
| 9059 | > | builtin and then its argument prototype would still apply.  */ | 
| 9060 | > | char strftime (); | 
| 9061 | > | #ifdef FC_DUMMY_MAIN | 
| 9062 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9063 | > | #  ifdef __cplusplus | 
| 9064 | > | extern "C" | 
| 9065 | > | #  endif | 
| 9066 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9067 | > | #endif | 
| 9068 | > | #endif | 
| 9069 | > | int | 
| 9070 | > | main () | 
| 9071 | > | { | 
| 9072 | > | strftime (); | 
| 9073 | > | ; | 
| 9074 | > | return 0; | 
| 9075 | > | } | 
| 9076 | > | _ACEOF | 
| 9077 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9078 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9079 | > | (eval $ac_link) 2>conftest.er1 | 
| 9080 | > | ac_status=$? | 
| 9081 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9082 | > | rm -f conftest.er1 | 
| 9083 | > | cat conftest.err >&5 | 
| 9084 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9085 | > | (exit $ac_status); } && | 
| 9086 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9087 | > | || test ! -s conftest.err' | 
| 9088 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9089 | > | (eval $ac_try) 2>&5 | 
| 9090 | > | ac_status=$? | 
| 9091 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9092 | > | (exit $ac_status); }; } && | 
| 9093 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9094 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9095 | > | (eval $ac_try) 2>&5 | 
| 9096 | > | ac_status=$? | 
| 9097 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9098 | > | (exit $ac_status); }; }; then | 
| 9099 | > | ac_cv_lib_intl_strftime=yes | 
| 9100 | > | else | 
| 9101 | > | echo "$as_me: failed program was:" >&5 | 
| 9102 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9103 | > |  | 
| 9104 | > | ac_cv_lib_intl_strftime=no | 
| 9105 | > | fi | 
| 9106 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9107 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9108 | > | LIBS=$ac_check_lib_save_LIBS | 
| 9109 | > | fi | 
| 9110 | > | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 
| 9111 | > | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | 
| 9112 | > | if test $ac_cv_lib_intl_strftime = yes; then | 
| 9113 | > | cat >>confdefs.h <<\_ACEOF | 
| 9114 | > | #define HAVE_STRFTIME 1 | 
| 9115 | > | _ACEOF | 
| 9116 | > |  | 
| 9117 | > | LIBS="-lintl $LIBS" | 
| 9118 | > | fi | 
| 9119 | > |  | 
| 9120 | > | fi | 
| 9121 | > | done | 
| 9122 | > |  | 
| 9123 | > | echo "$as_me:$LINENO: checking for working strtod" >&5 | 
| 9124 | > | echo $ECHO_N "checking for working strtod... $ECHO_C" >&6 | 
| 9125 | > | if test "${ac_cv_func_strtod+set}" = set; then | 
| 9126 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9127 | > | else | 
| 9128 | > | if test "$cross_compiling" = yes; then | 
| 9129 | > | ac_cv_func_strtod=no | 
| 9130 | > | else | 
| 9131 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9132 | > | /* confdefs.h.  */ | 
| 9133 | > | _ACEOF | 
| 9134 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9135 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9136 | > | /* end confdefs.h.  */ | 
| 9137 | > |  | 
| 9138 | > | double strtod (); | 
| 9139 | > | int | 
| 9140 | > | main() | 
| 9141 | > | { | 
| 9142 | > | { | 
| 9143 | > | /* Some versions of Linux strtod mis-parse strings with leading '+'.  */ | 
| 9144 | > | char *string = " +69"; | 
| 9145 | > | char *term; | 
| 9146 | > | double value; | 
| 9147 | > | value = strtod (string, &term); | 
| 9148 | > | if (value != 69 || term != (string + 4)) | 
| 9149 | > | exit (1); | 
| 9150 | > | } | 
| 9151 | > |  | 
| 9152 | > | { | 
| 9153 | > | /* Under Solaris 2.4, strtod returns the wrong value for the | 
| 9154 | > | terminating character under some conditions.  */ | 
| 9155 | > | char *string = "NaN"; | 
| 9156 | > | char *term; | 
| 9157 | > | strtod (string, &term); | 
| 9158 | > | if (term != string && *(term - 1) == 0) | 
| 9159 | > | exit (1); | 
| 9160 | > | } | 
| 9161 | > | exit (0); | 
| 9162 | > | } | 
| 9163 | > |  | 
| 9164 | > | _ACEOF | 
| 9165 | > | rm -f conftest$ac_exeext | 
| 9166 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9167 | > | (eval $ac_link) 2>&5 | 
| 9168 | > | ac_status=$? | 
| 9169 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9170 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 9171 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9172 | > | (eval $ac_try) 2>&5 | 
| 9173 | > | ac_status=$? | 
| 9174 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9175 | > | (exit $ac_status); }; }; then | 
| 9176 | > | ac_cv_func_strtod=yes | 
| 9177 | > | else | 
| 9178 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 9179 | > | echo "$as_me: failed program was:" >&5 | 
| 9180 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9181 | > |  | 
| 9182 | > | ( exit $ac_status ) | 
| 9183 | > | ac_cv_func_strtod=no | 
| 9184 | > | fi | 
| 9185 | > | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 9186 | > | fi | 
| 9187 | > | fi | 
| 9188 | > | echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 | 
| 9189 | > | echo "${ECHO_T}$ac_cv_func_strtod" >&6 | 
| 9190 | > | if test $ac_cv_func_strtod = no; then | 
| 9191 | > | case $LIBOBJS in | 
| 9192 | > | "strtod.$ac_objext"   | \ | 
| 9193 | > | *" strtod.$ac_objext"   | \ | 
| 9194 | > | "strtod.$ac_objext "* | \ | 
| 9195 | > | *" strtod.$ac_objext "* ) ;; | 
| 9196 | > | *) LIBOBJS="$LIBOBJS strtod.$ac_objext" ;; | 
| 9197 | > | esac | 
| 9198 | > |  | 
| 9199 | > | echo "$as_me:$LINENO: checking for pow" >&5 | 
| 9200 | > | echo $ECHO_N "checking for pow... $ECHO_C" >&6 | 
| 9201 | > | if test "${ac_cv_func_pow+set}" = set; then | 
| 9202 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9203 | > | else | 
| 9204 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9205 | > | /* confdefs.h.  */ | 
| 9206 | > | _ACEOF | 
| 9207 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9208 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9209 | > | /* end confdefs.h.  */ | 
| 9210 | > | /* Define pow to an innocuous variant, in case <limits.h> declares pow. | 
| 9211 | > | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 9212 | > | #define pow innocuous_pow | 
| 9213 | > |  | 
| 9214 | > | /* System header to define __stub macros and hopefully few prototypes, | 
| 9215 | > | which can conflict with char pow (); below. | 
| 9216 | > | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 9217 | > | <limits.h> exists even on freestanding compilers.  */ | 
| 9218 | > |  | 
| 9219 | > | #ifdef __STDC__ | 
| 9220 | > | # include <limits.h> | 
| 9221 | > | #else | 
| 9222 | > | # include <assert.h> | 
| 9223 | > | #endif | 
| 9224 | > |  | 
| 9225 | > | #undef pow | 
| 9226 | > |  | 
| 9227 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9228 | > | #ifdef __cplusplus | 
| 9229 | > | extern "C" | 
| 9230 | > | { | 
| 9231 | > | #endif | 
| 9232 | > | /* We use char because int might match the return type of a gcc2 | 
| 9233 | > | builtin and then its argument prototype would still apply.  */ | 
| 9234 | > | char pow (); | 
| 9235 | > | /* The GNU C library defines this for functions which it implements | 
| 9236 | > | to always fail with ENOSYS.  Some functions are actually named | 
| 9237 | > | something starting with __ and the normal name is an alias.  */ | 
| 9238 | > | #if defined (__stub_pow) || defined (__stub___pow) | 
| 9239 | > | choke me | 
| 9240 | > | #else | 
| 9241 | > | char (*f) () = pow; | 
| 9242 | > | #endif | 
| 9243 | > | #ifdef __cplusplus | 
| 9244 | > | } | 
| 9245 | > | #endif | 
| 9246 | > |  | 
| 9247 | > | #ifdef FC_DUMMY_MAIN | 
| 9248 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9249 | > | #  ifdef __cplusplus | 
| 9250 | > | extern "C" | 
| 9251 | > | #  endif | 
| 9252 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9253 | > | #endif | 
| 9254 | > | #endif | 
| 9255 | > | int | 
| 9256 | > | main () | 
| 9257 | > | { | 
| 9258 | > | return f != pow; | 
| 9259 | > | ; | 
| 9260 | > | return 0; | 
| 9261 | > | } | 
| 9262 | > | _ACEOF | 
| 9263 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9264 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9265 | > | (eval $ac_link) 2>conftest.er1 | 
| 9266 | > | ac_status=$? | 
| 9267 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9268 | > | rm -f conftest.er1 | 
| 9269 | > | cat conftest.err >&5 | 
| 9270 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9271 | > | (exit $ac_status); } && | 
| 9272 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9273 | > | || test ! -s conftest.err' | 
| 9274 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9275 | > | (eval $ac_try) 2>&5 | 
| 9276 | > | ac_status=$? | 
| 9277 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9278 | > | (exit $ac_status); }; } && | 
| 9279 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9280 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9281 | > | (eval $ac_try) 2>&5 | 
| 9282 | > | ac_status=$? | 
| 9283 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9284 | > | (exit $ac_status); }; }; then | 
| 9285 | > | ac_cv_func_pow=yes | 
| 9286 | > | else | 
| 9287 | > | echo "$as_me: failed program was:" >&5 | 
| 9288 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9289 | > |  | 
| 9290 | > | ac_cv_func_pow=no | 
| 9291 | > | fi | 
| 9292 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9293 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9294 | > | fi | 
| 9295 | > | echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 | 
| 9296 | > | echo "${ECHO_T}$ac_cv_func_pow" >&6 | 
| 9297 | > |  | 
| 9298 | > | if test $ac_cv_func_pow = no; then | 
| 9299 | > | echo "$as_me:$LINENO: checking for pow in -lm" >&5 | 
| 9300 | > | echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6 | 
| 9301 | > | if test "${ac_cv_lib_m_pow+set}" = set; then | 
| 9302 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9303 | > | else | 
| 9304 | > | ac_check_lib_save_LIBS=$LIBS | 
| 9305 | > | LIBS="-lm  $LIBS" | 
| 9306 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9307 | > | /* confdefs.h.  */ | 
| 9308 | > | _ACEOF | 
| 9309 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9310 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9311 | > | /* end confdefs.h.  */ | 
| 9312 | > |  | 
| 9313 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9314 | > | #ifdef __cplusplus | 
| 9315 | > | extern "C" | 
| 9316 | > | #endif | 
| 9317 | > | /* We use char because int might match the return type of a gcc2 | 
| 9318 | > | builtin and then its argument prototype would still apply.  */ | 
| 9319 | > | char pow (); | 
| 9320 | > | #ifdef FC_DUMMY_MAIN | 
| 9321 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9322 | > | #  ifdef __cplusplus | 
| 9323 | > | extern "C" | 
| 9324 | > | #  endif | 
| 9325 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9326 | > | #endif | 
| 9327 | > | #endif | 
| 9328 | > | int | 
| 9329 | > | main () | 
| 9330 | > | { | 
| 9331 | > | pow (); | 
| 9332 | > | ; | 
| 9333 | > | return 0; | 
| 9334 | > | } | 
| 9335 | > | _ACEOF | 
| 9336 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9337 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9338 | > | (eval $ac_link) 2>conftest.er1 | 
| 9339 | > | ac_status=$? | 
| 9340 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9341 | > | rm -f conftest.er1 | 
| 9342 | > | cat conftest.err >&5 | 
| 9343 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9344 | > | (exit $ac_status); } && | 
| 9345 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9346 | > | || test ! -s conftest.err' | 
| 9347 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9348 | > | (eval $ac_try) 2>&5 | 
| 9349 | > | ac_status=$? | 
| 9350 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9351 | > | (exit $ac_status); }; } && | 
| 9352 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9353 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9354 | > | (eval $ac_try) 2>&5 | 
| 9355 | > | ac_status=$? | 
| 9356 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9357 | > | (exit $ac_status); }; }; then | 
| 9358 | > | ac_cv_lib_m_pow=yes | 
| 9359 | > | else | 
| 9360 | > | echo "$as_me: failed program was:" >&5 | 
| 9361 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9362 | > |  | 
| 9363 | > | ac_cv_lib_m_pow=no | 
| 9364 | > | fi | 
| 9365 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9366 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9367 | > | LIBS=$ac_check_lib_save_LIBS | 
| 9368 | > | fi | 
| 9369 | > | echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 | 
| 9370 | > | echo "${ECHO_T}$ac_cv_lib_m_pow" >&6 | 
| 9371 | > | if test $ac_cv_lib_m_pow = yes; then | 
| 9372 | > | POW_LIB=-lm | 
| 9373 | > | else | 
| 9374 | > | { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 | 
| 9375 | > | echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} | 
| 9376 | > | fi | 
| 9377 | > |  | 
| 9378 | > | fi | 
| 9379 | > |  | 
| 9380 | > | fi | 
| 9381 | > |  | 
| 9382 | > |  | 
| 9383 | > |  | 
| 9384 | > |  | 
| 9385 | > |  | 
| 9386 | > |  | 
| 9387 | > |  | 
| 9388 | > |  | 
| 9389 | > |  | 
| 9390 | > |  | 
| 9391 | > |  | 
| 9392 | > |  | 
| 9393 | > |  | 
| 9394 | > |  | 
| 9395 | > |  | 
| 9396 | > |  | 
| 9397 | > |  | 
| 9398 | > |  | 
| 9399 | > |  | 
| 9400 | > |  | 
| 9401 | > |  | 
| 9402 | > |  | 
| 9403 | > |  | 
| 9404 | > |  | 
| 9405 | > |  | 
| 9406 | > |  | 
| 9407 | > |  | 
| 9408 | > |  | 
| 9409 | > | for ac_func in floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic pstat_getstatic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table | 
| 9410 | > | do | 
| 9411 | > | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 9412 | > | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 9413 | > | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 9414 | > | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
| 9415 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9416 | > | else | 
| 9417 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9418 | > | /* confdefs.h.  */ | 
| 9419 | > | _ACEOF | 
| 9420 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9421 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9422 | > | /* end confdefs.h.  */ | 
| 9423 | > | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 9424 | > | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 9425 | > | #define $ac_func innocuous_$ac_func | 
| 9426 | > |  | 
| 9427 | > | /* System header to define __stub macros and hopefully few prototypes, | 
| 9428 | > | which can conflict with char $ac_func (); below. | 
| 9429 | > | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 9430 | > | <limits.h> exists even on freestanding compilers.  */ | 
| 9431 | > |  | 
| 9432 | > | #ifdef __STDC__ | 
| 9433 | > | # include <limits.h> | 
| 9434 | > | #else | 
| 9435 | > | # include <assert.h> | 
| 9436 | > | #endif | 
| 9437 | > |  | 
| 9438 | > | #undef $ac_func | 
| 9439 | > |  | 
| 9440 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9441 | > | #ifdef __cplusplus | 
| 9442 | > | extern "C" | 
| 9443 | > | { | 
| 9444 | > | #endif | 
| 9445 | > | /* We use char because int might match the return type of a gcc2 | 
| 9446 | > | builtin and then its argument prototype would still apply.  */ | 
| 9447 | > | char $ac_func (); | 
| 9448 | > | /* The GNU C library defines this for functions which it implements | 
| 9449 | > | to always fail with ENOSYS.  Some functions are actually named | 
| 9450 | > | something starting with __ and the normal name is an alias.  */ | 
| 9451 | > | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 9452 | > | choke me | 
| 9453 | > | #else | 
| 9454 | > | char (*f) () = $ac_func; | 
| 9455 | > | #endif | 
| 9456 | > | #ifdef __cplusplus | 
| 9457 | > | } | 
| 9458 | > | #endif | 
| 9459 | > |  | 
| 9460 | > | #ifdef FC_DUMMY_MAIN | 
| 9461 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9462 | > | #  ifdef __cplusplus | 
| 9463 | > | extern "C" | 
| 9464 | > | #  endif | 
| 9465 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9466 | > | #endif | 
| 9467 | > | #endif | 
| 9468 | > | int | 
| 9469 | > | main () | 
| 9470 | > | { | 
| 9471 | > | return f != $ac_func; | 
| 9472 | > | ; | 
| 9473 | > | return 0; | 
| 9474 | > | } | 
| 9475 | > | _ACEOF | 
| 9476 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9477 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9478 | > | (eval $ac_link) 2>conftest.er1 | 
| 9479 | > | ac_status=$? | 
| 9480 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9481 | > | rm -f conftest.er1 | 
| 9482 | > | cat conftest.err >&5 | 
| 9483 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9484 | > | (exit $ac_status); } && | 
| 9485 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9486 | > | || test ! -s conftest.err' | 
| 9487 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9488 | > | (eval $ac_try) 2>&5 | 
| 9489 | > | ac_status=$? | 
| 9490 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9491 | > | (exit $ac_status); }; } && | 
| 9492 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9493 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9494 | > | (eval $ac_try) 2>&5 | 
| 9495 | > | ac_status=$? | 
| 9496 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9497 | > | (exit $ac_status); }; }; then | 
| 9498 | > | eval "$as_ac_var=yes" | 
| 9499 | > | else | 
| 9500 | > | echo "$as_me: failed program was:" >&5 | 
| 9501 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9502 | > |  | 
| 9503 | > | eval "$as_ac_var=no" | 
| 9504 | > | fi | 
| 9505 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9506 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9507 | > | fi | 
| 9508 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
| 9509 | > | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
| 9510 | > | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 9511 | > | cat >>confdefs.h <<_ACEOF | 
| 9512 | > | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 9513 | > | _ACEOF | 
| 9514 | > |  | 
| 9515 | > | fi | 
| 9516 | > | done | 
| 9517 | > |  | 
| 9518 | > |  | 
| 9519 | > | # special check for _system_configuration because AIX <4.3.2 do not | 
| 9520 | > | # contain the `physmem' member. | 
| 9521 | > | echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 | 
| 9522 | > | echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 | 
| 9523 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9524 | > | /* confdefs.h.  */ | 
| 9525 | > | _ACEOF | 
| 9526 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9527 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9528 | > | /* end confdefs.h.  */ | 
| 9529 | > | #include <sys/systemcfg.h> | 
| 9530 | > | #ifdef FC_DUMMY_MAIN | 
| 9531 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9532 | > | #  ifdef __cplusplus | 
| 9533 | > | extern "C" | 
| 9534 | > | #  endif | 
| 9535 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9536 | > | #endif | 
| 9537 | > | #endif | 
| 9538 | > | int | 
| 9539 | > | main () | 
| 9540 | > | { | 
| 9541 | > | double x = _system_configuration.physmem; | 
| 9542 | > | ; | 
| 9543 | > | return 0; | 
| 9544 | > | } | 
| 9545 | > | _ACEOF | 
| 9546 | > | rm -f conftest.$ac_objext | 
| 9547 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9548 | > | (eval $ac_compile) 2>conftest.er1 | 
| 9549 | > | ac_status=$? | 
| 9550 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9551 | > | rm -f conftest.er1 | 
| 9552 | > | cat conftest.err >&5 | 
| 9553 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9554 | > | (exit $ac_status); } && | 
| 9555 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9556 | > | || test ! -s conftest.err' | 
| 9557 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9558 | > | (eval $ac_try) 2>&5 | 
| 9559 | > | ac_status=$? | 
| 9560 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9561 | > | (exit $ac_status); }; } && | 
| 9562 | > | { ac_try='test -s conftest.$ac_objext' | 
| 9563 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9564 | > | (eval $ac_try) 2>&5 | 
| 9565 | > | ac_status=$? | 
| 9566 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9567 | > | (exit $ac_status); }; }; then | 
| 9568 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 9569 | > | echo "${ECHO_T}yes" >&6 | 
| 9570 | > |  | 
| 9571 | > | cat >>confdefs.h <<\_ACEOF | 
| 9572 | > | #define HAVE__SYSTEM_CONFIGURATION 1 | 
| 9573 | > | _ACEOF | 
| 9574 | > |  | 
| 9575 | > | else | 
| 9576 | > | echo "$as_me: failed program was:" >&5 | 
| 9577 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9578 | > |  | 
| 9579 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 9580 | > | echo "${ECHO_T}no" >&6 | 
| 9581 | > | fi | 
| 9582 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9583 | > |  | 
| 9584 | > | # clean out junk possibly left behind by a previous configuration | 
| 9585 | > | rm -f src/getopt.h | 
| 9586 | > | # Check for getopt_long support | 
| 9587 | > |  | 
| 9588 | > | for ac_header in getopt.h | 
| 9589 | > | do | 
| 9590 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 9591 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 9592 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 9593 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 9594 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 9595 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9596 | > | fi | 
| 9597 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 9598 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 9599 | > | else | 
| 9600 | > | # Is the header compilable? | 
| 9601 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 9602 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 9603 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9604 | > | /* confdefs.h.  */ | 
| 9605 | > | _ACEOF | 
| 9606 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9607 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9608 | > | /* end confdefs.h.  */ | 
| 9609 | > | $ac_includes_default | 
| 9610 | > | #include <$ac_header> | 
| 9611 | > | _ACEOF | 
| 9612 | > | rm -f conftest.$ac_objext | 
| 9613 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9614 | > | (eval $ac_compile) 2>conftest.er1 | 
| 9615 | > | ac_status=$? | 
| 9616 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9617 | > | rm -f conftest.er1 | 
| 9618 | > | cat conftest.err >&5 | 
| 9619 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9620 | > | (exit $ac_status); } && | 
| 9621 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9622 | > | || test ! -s conftest.err' | 
| 9623 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9624 | > | (eval $ac_try) 2>&5 | 
| 9625 | > | ac_status=$? | 
| 9626 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9627 | > | (exit $ac_status); }; } && | 
| 9628 | > | { ac_try='test -s conftest.$ac_objext' | 
| 9629 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9630 | > | (eval $ac_try) 2>&5 | 
| 9631 | > | ac_status=$? | 
| 9632 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9633 | > | (exit $ac_status); }; }; then | 
| 9634 | > | ac_header_compiler=yes | 
| 9635 | > | else | 
| 9636 | > | echo "$as_me: failed program was:" >&5 | 
| 9637 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9638 | > |  | 
| 9639 | > | ac_header_compiler=no | 
| 9640 | > | fi | 
| 9641 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9642 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 9643 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 9644 | > |  | 
| 9645 | > | # Is the header present? | 
| 9646 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 9647 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 9648 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9649 | > | /* confdefs.h.  */ | 
| 9650 | > | _ACEOF | 
| 9651 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9652 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9653 | > | /* end confdefs.h.  */ | 
| 9654 | > | #include <$ac_header> | 
| 9655 | > | _ACEOF | 
| 9656 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 9657 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 9658 | > | ac_status=$? | 
| 9659 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9660 | > | rm -f conftest.er1 | 
| 9661 | > | cat conftest.err >&5 | 
| 9662 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9663 | > | (exit $ac_status); } >/dev/null; then | 
| 9664 | > | if test -s conftest.err; then | 
| 9665 | > | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 9666 | > | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 9667 | > | else | 
| 9668 | > | ac_cpp_err= | 
| 9669 | > | fi | 
| 9670 | > | else | 
| 9671 | > | ac_cpp_err=yes | 
| 9672 | > | fi | 
| 9673 | > | if test -z "$ac_cpp_err"; then | 
| 9674 | > | ac_header_preproc=yes | 
| 9675 | > | else | 
| 9676 | > | echo "$as_me: failed program was:" >&5 | 
| 9677 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9678 | > |  | 
| 9679 | > | ac_header_preproc=no | 
| 9680 | > | fi | 
| 9681 | > | rm -f conftest.err conftest.$ac_ext | 
| 9682 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 9683 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 9684 | > |  | 
| 9685 | > | # So?  What about this header? | 
| 9686 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 9687 | > | yes:no: ) | 
| 9688 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 9689 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 9690 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 9691 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 9692 | > | ac_header_preproc=yes | 
| 9693 | > | ;; | 
| 9694 | > | no:yes:* ) | 
| 9695 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 9696 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 9697 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 9698 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 9699 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 9700 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 9701 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 9702 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 9703 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 9704 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 9705 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 9706 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 9707 | > | ( | 
| 9708 | > | cat <<\_ASBOX | 
| 9709 | > | ## ------------------------------ ## | 
| 9710 | > | ## Report this to gezelter@nd.edu ## | 
| 9711 | > | ## ------------------------------ ## | 
| 9712 | > | _ASBOX | 
| 9713 | > | ) | | 
| 9714 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 9715 | > | ;; | 
| 9716 | > | esac | 
| 9717 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 9718 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 9719 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 9720 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9721 | > | else | 
| 9722 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 9723 | > | fi | 
| 9724 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 9725 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 9726 | > |  | 
| 9727 | > | fi | 
| 9728 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 9729 | > | cat >>confdefs.h <<_ACEOF | 
| 9730 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 9731 | > | _ACEOF | 
| 9732 | > |  | 
| 9733 | > | fi | 
| 9734 | > |  | 
| 9735 | > | done | 
| 9736 | > |  | 
| 9737 | > |  | 
| 9738 | > | for ac_func in getopt_long | 
| 9739 | > | do | 
| 9740 | > | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 9741 | > | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 9742 | > | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 9743 | > | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
| 9744 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9745 | > | else | 
| 9746 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9747 | > | /* confdefs.h.  */ | 
| 9748 | > | _ACEOF | 
| 9749 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9750 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9751 | > | /* end confdefs.h.  */ | 
| 9752 | > | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 9753 | > | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 9754 | > | #define $ac_func innocuous_$ac_func | 
| 9755 | > |  | 
| 9756 | > | /* System header to define __stub macros and hopefully few prototypes, | 
| 9757 | > | which can conflict with char $ac_func (); below. | 
| 9758 | > | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 9759 | > | <limits.h> exists even on freestanding compilers.  */ | 
| 9760 | > |  | 
| 9761 | > | #ifdef __STDC__ | 
| 9762 | > | # include <limits.h> | 
| 9763 | > | #else | 
| 9764 | > | # include <assert.h> | 
| 9765 | > | #endif | 
| 9766 | > |  | 
| 9767 | > | #undef $ac_func | 
| 9768 | > |  | 
| 9769 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9770 | > | #ifdef __cplusplus | 
| 9771 | > | extern "C" | 
| 9772 | > | { | 
| 9773 | > | #endif | 
| 9774 | > | /* We use char because int might match the return type of a gcc2 | 
| 9775 | > | builtin and then its argument prototype would still apply.  */ | 
| 9776 | > | char $ac_func (); | 
| 9777 | > | /* The GNU C library defines this for functions which it implements | 
| 9778 | > | to always fail with ENOSYS.  Some functions are actually named | 
| 9779 | > | something starting with __ and the normal name is an alias.  */ | 
| 9780 | > | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 9781 | > | choke me | 
| 9782 | > | #else | 
| 9783 | > | char (*f) () = $ac_func; | 
| 9784 | > | #endif | 
| 9785 | > | #ifdef __cplusplus | 
| 9786 | > | } | 
| 9787 | > | #endif | 
| 9788 | > |  | 
| 9789 | > | #ifdef FC_DUMMY_MAIN | 
| 9790 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9791 | > | #  ifdef __cplusplus | 
| 9792 | > | extern "C" | 
| 9793 | > | #  endif | 
| 9794 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9795 | > | #endif | 
| 9796 | > | #endif | 
| 9797 | > | int | 
| 9798 | > | main () | 
| 9799 | > | { | 
| 9800 | > | return f != $ac_func; | 
| 9801 | > | ; | 
| 9802 | > | return 0; | 
| 9803 | > | } | 
| 9804 | > | _ACEOF | 
| 9805 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9806 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9807 | > | (eval $ac_link) 2>conftest.er1 | 
| 9808 | > | ac_status=$? | 
| 9809 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9810 | > | rm -f conftest.er1 | 
| 9811 | > | cat conftest.err >&5 | 
| 9812 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9813 | > | (exit $ac_status); } && | 
| 9814 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9815 | > | || test ! -s conftest.err' | 
| 9816 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9817 | > | (eval $ac_try) 2>&5 | 
| 9818 | > | ac_status=$? | 
| 9819 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9820 | > | (exit $ac_status); }; } && | 
| 9821 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9822 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9823 | > | (eval $ac_try) 2>&5 | 
| 9824 | > | ac_status=$? | 
| 9825 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9826 | > | (exit $ac_status); }; }; then | 
| 9827 | > | eval "$as_ac_var=yes" | 
| 9828 | > | else | 
| 9829 | > | echo "$as_me: failed program was:" >&5 | 
| 9830 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9831 | > |  | 
| 9832 | > | eval "$as_ac_var=no" | 
| 9833 | > | fi | 
| 9834 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9835 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9836 | > | fi | 
| 9837 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
| 9838 | > | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
| 9839 | > | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 9840 | > | cat >>confdefs.h <<_ACEOF | 
| 9841 | > | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 9842 | > | _ACEOF | 
| 9843 | > |  | 
| 9844 | > | else | 
| 9845 | > | # FreeBSD has a gnugetopt library for this | 
| 9846 | > | echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 | 
| 9847 | > | echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 | 
| 9848 | > | if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then | 
| 9849 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9850 | > | else | 
| 9851 | > | ac_check_lib_save_LIBS=$LIBS | 
| 9852 | > | LIBS="-lgnugetopt  $LIBS" | 
| 9853 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9854 | > | /* confdefs.h.  */ | 
| 9855 | > | _ACEOF | 
| 9856 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9857 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9858 | > | /* end confdefs.h.  */ | 
| 9859 | > |  | 
| 9860 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9861 | > | #ifdef __cplusplus | 
| 9862 | > | extern "C" | 
| 9863 | > | #endif | 
| 9864 | > | /* We use char because int might match the return type of a gcc2 | 
| 9865 | > | builtin and then its argument prototype would still apply.  */ | 
| 9866 | > | char getopt_long (); | 
| 9867 | > | #ifdef FC_DUMMY_MAIN | 
| 9868 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9869 | > | #  ifdef __cplusplus | 
| 9870 | > | extern "C" | 
| 9871 | > | #  endif | 
| 9872 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9873 | > | #endif | 
| 9874 | > | #endif | 
| 9875 | > | int | 
| 9876 | > | main () | 
| 9877 | > | { | 
| 9878 | > | getopt_long (); | 
| 9879 | > | ; | 
| 9880 | > | return 0; | 
| 9881 | > | } | 
| 9882 | > | _ACEOF | 
| 9883 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9884 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9885 | > | (eval $ac_link) 2>conftest.er1 | 
| 9886 | > | ac_status=$? | 
| 9887 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9888 | > | rm -f conftest.er1 | 
| 9889 | > | cat conftest.err >&5 | 
| 9890 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9891 | > | (exit $ac_status); } && | 
| 9892 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 9893 | > | || test ! -s conftest.err' | 
| 9894 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9895 | > | (eval $ac_try) 2>&5 | 
| 9896 | > | ac_status=$? | 
| 9897 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9898 | > | (exit $ac_status); }; } && | 
| 9899 | > | { ac_try='test -s conftest$ac_exeext' | 
| 9900 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9901 | > | (eval $ac_try) 2>&5 | 
| 9902 | > | ac_status=$? | 
| 9903 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9904 | > | (exit $ac_status); }; }; then | 
| 9905 | > | ac_cv_lib_gnugetopt_getopt_long=yes | 
| 9906 | > | else | 
| 9907 | > | echo "$as_me: failed program was:" >&5 | 
| 9908 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9909 | > |  | 
| 9910 | > | ac_cv_lib_gnugetopt_getopt_long=no | 
| 9911 | > | fi | 
| 9912 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 9913 | > | conftest$ac_exeext conftest.$ac_ext | 
| 9914 | > | LIBS=$ac_check_lib_save_LIBS | 
| 9915 | > | fi | 
| 9916 | > | echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 | 
| 9917 | > | echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 | 
| 9918 | > | if test $ac_cv_lib_gnugetopt_getopt_long = yes; then | 
| 9919 | > | cat >>confdefs.h <<\_ACEOF | 
| 9920 | > | #define HAVE_GETOPT_LONG 1 | 
| 9921 | > | _ACEOF | 
| 9922 | > |  | 
| 9923 | > | else | 
| 9924 | > | # use the GNU replacement | 
| 9925 | > | case $LIBOBJS in | 
| 9926 | > | "getopt.$ac_objext"   | \ | 
| 9927 | > | *" getopt.$ac_objext"   | \ | 
| 9928 | > | "getopt.$ac_objext "* | \ | 
| 9929 | > | *" getopt.$ac_objext "* ) ;; | 
| 9930 | > | *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; | 
| 9931 | > | esac | 
| 9932 | > |  | 
| 9933 | > | case $LIBOBJS in | 
| 9934 | > | "getopt1.$ac_objext"   | \ | 
| 9935 | > | *" getopt1.$ac_objext"   | \ | 
| 9936 | > | "getopt1.$ac_objext "* | \ | 
| 9937 | > | *" getopt1.$ac_objext "* ) ;; | 
| 9938 | > | *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; | 
| 9939 | > | esac | 
| 9940 | > |  | 
| 9941 | > | ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" | 
| 9942 | > |  | 
| 9943 | > | fi | 
| 9944 | > |  | 
| 9945 | > | fi | 
| 9946 | > | done | 
| 9947 | > |  | 
| 9948 | > |  | 
| 9949 | > | ac_ext=cc | 
| 9950 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 9951 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9952 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9953 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 9954 | > |  | 
| 9955 | > |  | 
| 9956 | > | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
| 9957 | > | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
| 9958 | > | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
| 9959 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9960 | > | else | 
| 9961 | > |  | 
| 9962 | > |  | 
| 9963 | > | ac_ext=cc | 
| 9964 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 9965 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9966 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9967 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 9968 | > |  | 
| 9969 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9970 | > | /* confdefs.h.  */ | 
| 9971 | > | _ACEOF | 
| 9972 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9973 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9974 | > | /* end confdefs.h.  */ | 
| 9975 | > | namespace Outer { namespace Inner { int i = 0; }} | 
| 9976 | > | #ifdef FC_DUMMY_MAIN | 
| 9977 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9978 | > | #  ifdef __cplusplus | 
| 9979 | > | extern "C" | 
| 9980 | > | #  endif | 
| 9981 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 9982 | > | #endif | 
| 9983 | > | #endif | 
| 9984 | > | int | 
| 9985 | > | main () | 
| 9986 | > | { | 
| 9987 | > | using namespace Outer::Inner; return i; | 
| 9988 | > | ; | 
| 9989 | > | return 0; | 
| 9990 | > | } | 
| 9991 | > | _ACEOF | 
| 9992 | > | rm -f conftest.$ac_objext | 
| 9993 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9994 | > | (eval $ac_compile) 2>conftest.er1 | 
| 9995 | > | ac_status=$? | 
| 9996 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9997 | > | rm -f conftest.er1 | 
| 9998 | > | cat conftest.err >&5 | 
| 9999 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10000 | > | (exit $ac_status); } && | 
| 10001 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 10002 | > | || test ! -s conftest.err' | 
| 10003 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10004 | > | (eval $ac_try) 2>&5 | 
| 10005 | > | ac_status=$? | 
| 10006 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10007 | > | (exit $ac_status); }; } && | 
| 10008 | > | { ac_try='test -s conftest.$ac_objext' | 
| 10009 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10010 | > | (eval $ac_try) 2>&5 | 
| 10011 | > | ac_status=$? | 
| 10012 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10013 | > | (exit $ac_status); }; }; then | 
| 10014 | > | ac_cv_cxx_namespaces=yes | 
| 10015 | > | else | 
| 10016 | > | echo "$as_me: failed program was:" >&5 | 
| 10017 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10018 | > |  | 
| 10019 | > | ac_cv_cxx_namespaces=no | 
| 10020 | > | fi | 
| 10021 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10022 | > | ac_ext=cc | 
| 10023 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10024 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10025 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10026 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10027 | > |  | 
| 10028 | > |  | 
| 10029 | > | fi | 
| 10030 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
| 10031 | > | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
| 10032 | > | if test "$ac_cv_cxx_namespaces" = yes; then | 
| 10033 | > |  | 
| 10034 | > | cat >>confdefs.h <<\_ACEOF | 
| 10035 | > | #define HAVE_NAMESPACES | 
| 10036 | > | _ACEOF | 
| 10037 | > |  | 
| 10038 | > | fi | 
| 10039 | > |  | 
| 10040 | > | ac_ext=cc | 
| 10041 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10042 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10043 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10044 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10045 | > | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
| 10046 | > | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | 
| 10047 | > | if test -z "$CXXCPP"; then | 
| 10048 | > | if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| 10049 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10050 | > | else | 
| 10051 | > | # Double quotes because CXXCPP needs to be expanded | 
| 10052 | > | for CXXCPP in "$CXX -E" "/lib/cpp" | 
| 10053 | > | do | 
| 10054 | > | ac_preproc_ok=false | 
| 10055 | > | for ac_cxx_preproc_warn_flag in '' yes | 
| 10056 | > | do | 
| 10057 | > | # Use a header file that comes with gcc, so configuring glibc | 
| 10058 | > | # with a fresh cross-compiler works. | 
| 10059 | > | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 10060 | > | # <limits.h> exists even on freestanding compilers. | 
| 10061 | > | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 10062 | > | # not just through cpp. "Syntax error" is here to catch this case. | 
| 10063 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10064 | > | /* confdefs.h.  */ | 
| 10065 | > | _ACEOF | 
| 10066 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10067 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10068 | > | /* end confdefs.h.  */ | 
| 10069 | > | #ifdef __STDC__ | 
| 10070 | > | # include <limits.h> | 
| 10071 | > | #else | 
| 10072 | > | # include <assert.h> | 
| 10073 | > | #endif | 
| 10074 | > | Syntax error | 
| 10075 | > | _ACEOF | 
| 10076 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10077 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10078 | > | ac_status=$? | 
| 10079 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10080 | > | rm -f conftest.er1 | 
| 10081 | > | cat conftest.err >&5 | 
| 10082 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10083 | > | (exit $ac_status); } >/dev/null; then | 
| 10084 | > | if test -s conftest.err; then | 
| 10085 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10086 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10087 | > | else | 
| 10088 | > | ac_cpp_err= | 
| 10089 | > | fi | 
| 10090 | > | else | 
| 10091 | > | ac_cpp_err=yes | 
| 10092 | > | fi | 
| 10093 | > | if test -z "$ac_cpp_err"; then | 
| 10094 | > | : | 
| 10095 | > | else | 
| 10096 | > | echo "$as_me: failed program was:" >&5 | 
| 10097 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10098 | > |  | 
| 10099 | > | # Broken: fails on valid input. | 
| 10100 | > | continue | 
| 10101 | > | fi | 
| 10102 | > | rm -f conftest.err conftest.$ac_ext | 
| 10103 | > |  | 
| 10104 | > | # OK, works on sane cases.  Now check whether non-existent headers | 
| 10105 | > | # can be detected and how. | 
| 10106 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10107 | > | /* confdefs.h.  */ | 
| 10108 | > | _ACEOF | 
| 10109 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10110 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10111 | > | /* end confdefs.h.  */ | 
| 10112 | > | #include <ac_nonexistent.h> | 
| 10113 | > | _ACEOF | 
| 10114 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10115 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10116 | > | ac_status=$? | 
| 10117 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10118 | > | rm -f conftest.er1 | 
| 10119 | > | cat conftest.err >&5 | 
| 10120 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10121 | > | (exit $ac_status); } >/dev/null; then | 
| 10122 | > | if test -s conftest.err; then | 
| 10123 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10124 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10125 | > | else | 
| 10126 | > | ac_cpp_err= | 
| 10127 | > | fi | 
| 10128 | > | else | 
| 10129 | > | ac_cpp_err=yes | 
| 10130 | > | fi | 
| 10131 | > | if test -z "$ac_cpp_err"; then | 
| 10132 | > | # Broken: success on invalid input. | 
| 10133 | > | continue | 
| 10134 | > | else | 
| 10135 | > | echo "$as_me: failed program was:" >&5 | 
| 10136 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10137 | > |  | 
| 10138 | > | # Passes both tests. | 
| 10139 | > | ac_preproc_ok=: | 
| 10140 | > | break | 
| 10141 | > | fi | 
| 10142 | > | rm -f conftest.err conftest.$ac_ext | 
| 10143 | > |  | 
| 10144 | > | done | 
| 10145 | > | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 10146 | > | rm -f conftest.err conftest.$ac_ext | 
| 10147 | > | if $ac_preproc_ok; then | 
| 10148 | > | break | 
| 10149 | > | fi | 
| 10150 | > |  | 
| 10151 | > | done | 
| 10152 | > | ac_cv_prog_CXXCPP=$CXXCPP | 
| 10153 | > |  | 
| 10154 | > | fi | 
| 10155 | > | CXXCPP=$ac_cv_prog_CXXCPP | 
| 10156 | > | else | 
| 10157 | > | ac_cv_prog_CXXCPP=$CXXCPP | 
| 10158 | > | fi | 
| 10159 | > | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
| 10160 | > | echo "${ECHO_T}$CXXCPP" >&6 | 
| 10161 | > | ac_preproc_ok=false | 
| 10162 | > | for ac_cxx_preproc_warn_flag in '' yes | 
| 10163 | > | do | 
| 10164 | > | # Use a header file that comes with gcc, so configuring glibc | 
| 10165 | > | # with a fresh cross-compiler works. | 
| 10166 | > | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 10167 | > | # <limits.h> exists even on freestanding compilers. | 
| 10168 | > | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 10169 | > | # not just through cpp. "Syntax error" is here to catch this case. | 
| 10170 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10171 | > | /* confdefs.h.  */ | 
| 10172 | > | _ACEOF | 
| 10173 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10174 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10175 | > | /* end confdefs.h.  */ | 
| 10176 | > | #ifdef __STDC__ | 
| 10177 | > | # include <limits.h> | 
| 10178 | > | #else | 
| 10179 | > | # include <assert.h> | 
| 10180 | > | #endif | 
| 10181 | > | Syntax error | 
| 10182 | > | _ACEOF | 
| 10183 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10184 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10185 | > | ac_status=$? | 
| 10186 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10187 | > | rm -f conftest.er1 | 
| 10188 | > | cat conftest.err >&5 | 
| 10189 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10190 | > | (exit $ac_status); } >/dev/null; then | 
| 10191 | > | if test -s conftest.err; then | 
| 10192 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10193 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10194 | > | else | 
| 10195 | > | ac_cpp_err= | 
| 10196 | > | fi | 
| 10197 | > | else | 
| 10198 | > | ac_cpp_err=yes | 
| 10199 | > | fi | 
| 10200 | > | if test -z "$ac_cpp_err"; then | 
| 10201 | > | : | 
| 10202 | > | else | 
| 10203 | > | echo "$as_me: failed program was:" >&5 | 
| 10204 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10205 | > |  | 
| 10206 | > | # Broken: fails on valid input. | 
| 10207 | > | continue | 
| 10208 | > | fi | 
| 10209 | > | rm -f conftest.err conftest.$ac_ext | 
| 10210 | > |  | 
| 10211 | > | # OK, works on sane cases.  Now check whether non-existent headers | 
| 10212 | > | # can be detected and how. | 
| 10213 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10214 | > | /* confdefs.h.  */ | 
| 10215 | > | _ACEOF | 
| 10216 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10217 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10218 | > | /* end confdefs.h.  */ | 
| 10219 | > | #include <ac_nonexistent.h> | 
| 10220 | > | _ACEOF | 
| 10221 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10222 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10223 | > | ac_status=$? | 
| 10224 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10225 | > | rm -f conftest.er1 | 
| 10226 | > | cat conftest.err >&5 | 
| 10227 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10228 | > | (exit $ac_status); } >/dev/null; then | 
| 10229 | > | if test -s conftest.err; then | 
| 10230 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10231 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10232 | > | else | 
| 10233 | > | ac_cpp_err= | 
| 10234 | > | fi | 
| 10235 | > | else | 
| 10236 | > | ac_cpp_err=yes | 
| 10237 | > | fi | 
| 10238 | > | if test -z "$ac_cpp_err"; then | 
| 10239 | > | # Broken: success on invalid input. | 
| 10240 | > | continue | 
| 10241 | > | else | 
| 10242 | > | echo "$as_me: failed program was:" >&5 | 
| 10243 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10244 | > |  | 
| 10245 | > | # Passes both tests. | 
| 10246 | > | ac_preproc_ok=: | 
| 10247 | > | break | 
| 10248 | > | fi | 
| 10249 | > | rm -f conftest.err conftest.$ac_ext | 
| 10250 | > |  | 
| 10251 | > | done | 
| 10252 | > | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 10253 | > | rm -f conftest.err conftest.$ac_ext | 
| 10254 | > | if $ac_preproc_ok; then | 
| 10255 | > | : | 
| 10256 | > | else | 
| 10257 | > | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 10258 | > | See \`config.log' for more details." >&5 | 
| 10259 | > | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 10260 | > | See \`config.log' for more details." >&2;} | 
| 10261 | > | { (exit 1); exit 1; }; } | 
| 10262 | > | fi | 
| 10263 | > |  | 
| 10264 | > | ac_ext=cc | 
| 10265 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10266 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10267 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10268 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10269 | > |  | 
| 10270 | > |  | 
| 10271 | > | echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 | 
| 10272 | > | echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6 | 
| 10273 | > | if test "${ac_cv_cxx_have_stl+set}" = set; then | 
| 10274 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10275 | > | else | 
| 10276 | > |  | 
| 10277 | > |  | 
| 10278 | > |  | 
| 10279 | > | ac_ext=cc | 
| 10280 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10281 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10282 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10283 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10284 | > |  | 
| 10285 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10286 | > | /* confdefs.h.  */ | 
| 10287 | > | _ACEOF | 
| 10288 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10289 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10290 | > | /* end confdefs.h.  */ | 
| 10291 | > | #include <list> | 
| 10292 | > | #include <deque> | 
| 10293 | > | #ifdef HAVE_NAMESPACES | 
| 10294 | > | using namespace std; | 
| 10295 | > | #endif | 
| 10296 | > | #ifdef FC_DUMMY_MAIN | 
| 10297 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10298 | > | #  ifdef __cplusplus | 
| 10299 | > | extern "C" | 
| 10300 | > | #  endif | 
| 10301 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 10302 | > | #endif | 
| 10303 |  | #endif | 
| 6633 | – | /* We use char because int might match the return type of a gcc2 | 
| 6634 | – | builtin and then its argument prototype would still apply.  */ | 
| 6635 | – | char asin (); | 
| 10304 |  | int | 
| 10305 |  | main () | 
| 10306 |  | { | 
| 10307 | < | asin (); | 
| 10307 | > | list<int> x; x.push_back(5); | 
| 10308 | > | list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; | 
| 10309 |  | ; | 
| 10310 |  | return 0; | 
| 10311 |  | } | 
| 10312 |  | _ACEOF | 
| 10313 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10314 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10315 | < | (eval $ac_link) 2>conftest.er1 | 
| 10313 | > | rm -f conftest.$ac_objext | 
| 10314 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 10315 | > | (eval $ac_compile) 2>conftest.er1 | 
| 10316 |  | ac_status=$? | 
| 10317 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10318 |  | rm -f conftest.er1 | 
| 10326 |  | ac_status=$? | 
| 10327 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10328 |  | (exit $ac_status); }; } && | 
| 10329 | < | { ac_try='test -s conftest$ac_exeext' | 
| 10329 | > | { ac_try='test -s conftest.$ac_objext' | 
| 10330 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10331 |  | (eval $ac_try) 2>&5 | 
| 10332 |  | ac_status=$? | 
| 10333 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10334 |  | (exit $ac_status); }; }; then | 
| 10335 | < | ac_cv_lib_m_asin=yes | 
| 10335 | > | ac_cv_cxx_have_stl=yes | 
| 10336 |  | else | 
| 10337 |  | echo "$as_me: failed program was:" >&5 | 
| 10338 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10339 |  |  | 
| 10340 | < | ac_cv_lib_m_asin=no | 
| 10340 | > | ac_cv_cxx_have_stl=no | 
| 10341 |  | fi | 
| 10342 | < | rm -f conftest.err conftest.$ac_objext \ | 
| 10343 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10344 | < | LIBS=$ac_check_lib_save_LIBS | 
| 10345 | < | fi | 
| 10346 | < | echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 | 
| 10347 | < | echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 | 
| 6679 | < | if test $ac_cv_lib_m_asin = yes; then | 
| 6680 | < | cat >>confdefs.h <<_ACEOF | 
| 6681 | < | #define HAVE_LIBM 1 | 
| 6682 | < | _ACEOF | 
| 10342 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10343 | > | ac_ext=cc | 
| 10344 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10345 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10346 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10347 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10348 |  |  | 
| 6684 | – | LIBS="-lm $LIBS" | 
| 10349 |  |  | 
| 6686 | – | else | 
| 6687 | – | exit | 
| 10350 |  | fi | 
| 10351 | + | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 | 
| 10352 | + | echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6 | 
| 10353 | + | if test "$ac_cv_cxx_have_stl" = yes; then | 
| 10354 |  |  | 
| 10355 | + | cat >>confdefs.h <<\_ACEOF | 
| 10356 | + | #define HAVE_STL | 
| 10357 | + | _ACEOF | 
| 10358 |  |  | 
| 6691 | – |  | 
| 6692 | – | # | 
| 6693 | – | # Handle user hints | 
| 6694 | – | # | 
| 6695 | – | echo "$as_me:$LINENO: checking if zlib is wanted" >&5 | 
| 6696 | – | echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6 | 
| 6697 | – |  | 
| 6698 | – | # Check whether --with-zlib or --without-zlib was given. | 
| 6699 | – | if test "${with_zlib+set}" = set; then | 
| 6700 | – | withval="$with_zlib" | 
| 6701 | – | if test "$withval" != no ; then | 
| 6702 | – | echo "$as_me:$LINENO: result: yes" >&5 | 
| 6703 | – | echo "${ECHO_T}yes" >&6 | 
| 6704 | – | if test -d "$withval" | 
| 6705 | – | then | 
| 6706 | – | ZLIB_HOME="$withval" | 
| 6707 | – | else | 
| 6708 | – | { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5 | 
| 6709 | – | echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;} | 
| 6710 | – | fi | 
| 6711 | – | else | 
| 6712 | – | echo "$as_me:$LINENO: result: no" >&5 | 
| 6713 | – | echo "${ECHO_T}no" >&6 | 
| 10359 |  | fi | 
| 6715 | – | fi; | 
| 10360 |  |  | 
| 6717 | – | ZLIB_HOME=/usr/local | 
| 6718 | – | if test ! -f "${ZLIB_HOME}/include/zlib.h" | 
| 6719 | – | then | 
| 6720 | – | ZLIB_HOME=/usr | 
| 6721 | – | fi | 
| 10361 |  |  | 
| 6723 | – | # | 
| 6724 | – | # Locate zlib, if wanted | 
| 6725 | – | # | 
| 6726 | – | if test -n "${ZLIB_HOME}" | 
| 6727 | – | then | 
| 6728 | – | ZLIB_OLD_LDFLAGS=$LDFLAGS | 
| 6729 | – | ZLIB_OLD_CPPFLAGS=$LDFLAGS | 
| 6730 | – | LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" | 
| 6731 | – | CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" | 
| 10362 |  |  | 
| 10363 | < |  | 
| 10364 | < | ac_ext=c | 
| 10365 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 10366 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6737 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6738 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 6739 | < |  | 
| 6740 | < | echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 | 
| 6741 | < | echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 | 
| 6742 | < | if test "${ac_cv_lib_z_inflateEnd+set}" = set; then | 
| 10363 | > | if test "${ac_cv_header_iostream+set}" = set; then | 
| 10364 | > | echo "$as_me:$LINENO: checking for iostream" >&5 | 
| 10365 | > | echo $ECHO_N "checking for iostream... $ECHO_C" >&6 | 
| 10366 | > | if test "${ac_cv_header_iostream+set}" = set; then | 
| 10367 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10368 | + | fi | 
| 10369 | + | echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 | 
| 10370 | + | echo "${ECHO_T}$ac_cv_header_iostream" >&6 | 
| 10371 |  | else | 
| 10372 | < | ac_check_lib_save_LIBS=$LIBS | 
| 10373 | < | LIBS="-lz  $LIBS" | 
| 10372 | > | # Is the header compilable? | 
| 10373 | > | echo "$as_me:$LINENO: checking iostream usability" >&5 | 
| 10374 | > | echo $ECHO_N "checking iostream usability... $ECHO_C" >&6 | 
| 10375 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10376 |  | /* confdefs.h.  */ | 
| 10377 |  | _ACEOF | 
| 10378 |  | cat confdefs.h >>conftest.$ac_ext | 
| 10379 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 10380 |  | /* end confdefs.h.  */ | 
| 10381 | < |  | 
| 10382 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 6755 | < | #ifdef __cplusplus | 
| 6756 | < | extern "C" | 
| 6757 | < | #endif | 
| 6758 | < | /* We use char because int might match the return type of a gcc2 | 
| 6759 | < | builtin and then its argument prototype would still apply.  */ | 
| 6760 | < | char inflateEnd (); | 
| 6761 | < | int | 
| 6762 | < | main () | 
| 6763 | < | { | 
| 6764 | < | inflateEnd (); | 
| 6765 | < | ; | 
| 6766 | < | return 0; | 
| 6767 | < | } | 
| 10381 | > | $ac_includes_default | 
| 10382 | > | #include <iostream> | 
| 10383 |  | _ACEOF | 
| 10384 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10385 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10386 | < | (eval $ac_link) 2>conftest.er1 | 
| 10384 | > | rm -f conftest.$ac_objext | 
| 10385 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 10386 | > | (eval $ac_compile) 2>conftest.er1 | 
| 10387 |  | ac_status=$? | 
| 10388 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10389 |  | rm -f conftest.er1 | 
| 10390 |  | cat conftest.err >&5 | 
| 10391 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10392 |  | (exit $ac_status); } && | 
| 10393 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 10393 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 10394 |  | || test ! -s conftest.err' | 
| 10395 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10396 |  | (eval $ac_try) 2>&5 | 
| 10397 |  | ac_status=$? | 
| 10398 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10399 |  | (exit $ac_status); }; } && | 
| 10400 | < | { ac_try='test -s conftest$ac_exeext' | 
| 10400 | > | { ac_try='test -s conftest.$ac_objext' | 
| 10401 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10402 |  | (eval $ac_try) 2>&5 | 
| 10403 |  | ac_status=$? | 
| 10404 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10405 |  | (exit $ac_status); }; }; then | 
| 10406 | < | ac_cv_lib_z_inflateEnd=yes | 
| 10406 | > | ac_header_compiler=yes | 
| 10407 |  | else | 
| 10408 |  | echo "$as_me: failed program was:" >&5 | 
| 10409 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10410 |  |  | 
| 10411 | < | ac_cv_lib_z_inflateEnd=no | 
| 10411 | > | ac_header_compiler=no | 
| 10412 |  | fi | 
| 10413 | < | rm -f conftest.err conftest.$ac_objext \ | 
| 10414 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10415 | < | LIBS=$ac_check_lib_save_LIBS | 
| 10413 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10414 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 10415 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 10416 | > |  | 
| 10417 | > | # Is the header present? | 
| 10418 | > | echo "$as_me:$LINENO: checking iostream presence" >&5 | 
| 10419 | > | echo $ECHO_N "checking iostream presence... $ECHO_C" >&6 | 
| 10420 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10421 | > | /* confdefs.h.  */ | 
| 10422 | > | _ACEOF | 
| 10423 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10424 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10425 | > | /* end confdefs.h.  */ | 
| 10426 | > | #include <iostream> | 
| 10427 | > | _ACEOF | 
| 10428 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10429 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10430 | > | ac_status=$? | 
| 10431 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10432 | > | rm -f conftest.er1 | 
| 10433 | > | cat conftest.err >&5 | 
| 10434 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10435 | > | (exit $ac_status); } >/dev/null; then | 
| 10436 | > | if test -s conftest.err; then | 
| 10437 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10438 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10439 | > | else | 
| 10440 | > | ac_cpp_err= | 
| 10441 | > | fi | 
| 10442 | > | else | 
| 10443 | > | ac_cpp_err=yes | 
| 10444 |  | fi | 
| 10445 | < | echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 | 
| 10446 | < | echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 | 
| 6804 | < | if test $ac_cv_lib_z_inflateEnd = yes; then | 
| 6805 | < | zlib_cv_libz=yes | 
| 10445 | > | if test -z "$ac_cpp_err"; then | 
| 10446 | > | ac_header_preproc=yes | 
| 10447 |  | else | 
| 10448 | < | zlib_cv_libz=no | 
| 10448 | > | echo "$as_me: failed program was:" >&5 | 
| 10449 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10450 | > |  | 
| 10451 | > | ac_header_preproc=no | 
| 10452 |  | fi | 
| 10453 | + | rm -f conftest.err conftest.$ac_ext | 
| 10454 | + | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 10455 | + | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 10456 |  |  | 
| 10457 | < | if test "${ac_cv_header_zlib_h+set}" = set; then | 
| 10458 | < | echo "$as_me:$LINENO: checking for zlib.h" >&5 | 
| 10459 | < | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 
| 10460 | < | if test "${ac_cv_header_zlib_h+set}" = set; then | 
| 10457 | > | # So?  What about this header? | 
| 10458 | > | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 10459 | > | yes:no: ) | 
| 10460 | > | { echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 10461 | > | echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 10462 | > | { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5 | 
| 10463 | > | echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;} | 
| 10464 | > | ac_header_preproc=yes | 
| 10465 | > | ;; | 
| 10466 | > | no:yes:* ) | 
| 10467 | > | { echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5 | 
| 10468 | > | echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;} | 
| 10469 | > | { echo "$as_me:$LINENO: WARNING: iostream:     check for missing prerequisite headers?" >&5 | 
| 10470 | > | echo "$as_me: WARNING: iostream:     check for missing prerequisite headers?" >&2;} | 
| 10471 | > | { echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5 | 
| 10472 | > | echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;} | 
| 10473 | > | { echo "$as_me:$LINENO: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 10474 | > | echo "$as_me: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 10475 | > | { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5 | 
| 10476 | > | echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} | 
| 10477 | > | { echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 | 
| 10478 | > | echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} | 
| 10479 | > | ( | 
| 10480 | > | cat <<\_ASBOX | 
| 10481 | > | ## ------------------------------ ## | 
| 10482 | > | ## Report this to gezelter@nd.edu ## | 
| 10483 | > | ## ------------------------------ ## | 
| 10484 | > | _ASBOX | 
| 10485 | > | ) | | 
| 10486 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 10487 | > | ;; | 
| 10488 | > | esac | 
| 10489 | > | echo "$as_me:$LINENO: checking for iostream" >&5 | 
| 10490 | > | echo $ECHO_N "checking for iostream... $ECHO_C" >&6 | 
| 10491 | > | if test "${ac_cv_header_iostream+set}" = set; then | 
| 10492 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10493 | + | else | 
| 10494 | + | ac_cv_header_iostream=$ac_header_preproc | 
| 10495 |  | fi | 
| 10496 | < | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | 
| 10497 | < | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 
| 10496 | > | echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 | 
| 10497 | > | echo "${ECHO_T}$ac_cv_header_iostream" >&6 | 
| 10498 | > |  | 
| 10499 | > | fi | 
| 10500 | > | if test $ac_cv_header_iostream = yes; then | 
| 10501 | > |  | 
| 10502 | > |  | 
| 10503 | > | cat >>confdefs.h <<\_ACEOF | 
| 10504 | > | #define HAVE_IOSTREAM 1 | 
| 10505 | > | _ACEOF | 
| 10506 | > |  | 
| 10507 | > |  | 
| 10508 |  | else | 
| 10509 | + |  | 
| 10510 | + |  | 
| 10511 | + | for ac_header in iostream.h | 
| 10512 | + | do | 
| 10513 | + | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 10514 | + | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 10515 | + | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10516 | + | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 10517 | + | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 10518 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10519 | + | fi | 
| 10520 | + | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 10521 | + | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 10522 | + | else | 
| 10523 |  | # Is the header compilable? | 
| 10524 | < | echo "$as_me:$LINENO: checking zlib.h usability" >&5 | 
| 10525 | < | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 | 
| 10524 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 10525 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 10526 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10527 |  | /* confdefs.h.  */ | 
| 10528 |  | _ACEOF | 
| 10530 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 10531 |  | /* end confdefs.h.  */ | 
| 10532 |  | $ac_includes_default | 
| 10533 | < | #include <zlib.h> | 
| 10533 | > | #include <$ac_header> | 
| 10534 |  | _ACEOF | 
| 10535 |  | rm -f conftest.$ac_objext | 
| 10536 |  | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 10541 |  | cat conftest.err >&5 | 
| 10542 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10543 |  | (exit $ac_status); } && | 
| 10544 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 10544 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 10545 |  | || test ! -s conftest.err' | 
| 10546 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10547 |  | (eval $ac_try) 2>&5 | 
| 10566 |  | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 10567 |  |  | 
| 10568 |  | # Is the header present? | 
| 10569 | < | echo "$as_me:$LINENO: checking zlib.h presence" >&5 | 
| 10570 | < | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 | 
| 10569 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 10570 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 10571 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10572 |  | /* confdefs.h.  */ | 
| 10573 |  | _ACEOF | 
| 10574 |  | cat confdefs.h >>conftest.$ac_ext | 
| 10575 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 10576 |  | /* end confdefs.h.  */ | 
| 10577 | < | #include <zlib.h> | 
| 10577 | > | #include <$ac_header> | 
| 10578 |  | _ACEOF | 
| 10579 |  | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10580 |  | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10585 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10586 |  | (exit $ac_status); } >/dev/null; then | 
| 10587 |  | if test -s conftest.err; then | 
| 10588 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 10589 | < | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 10588 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10589 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10590 |  | else | 
| 10591 |  | ac_cpp_err= | 
| 10592 |  | fi | 
| 10606 |  | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 10607 |  |  | 
| 10608 |  | # So?  What about this header? | 
| 10609 | < | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 10609 | > | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 10610 |  | yes:no: ) | 
| 10611 | < | { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 10612 | < | echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 10613 | < | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 | 
| 10614 | < | echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} | 
| 10611 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 10612 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 10613 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 10614 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 10615 |  | ac_header_preproc=yes | 
| 10616 |  | ;; | 
| 10617 |  | no:yes:* ) | 
| 10618 | < | { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 | 
| 10619 | < | echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} | 
| 10620 | < | { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5 | 
| 10621 | < | echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;} | 
| 10622 | < | { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 | 
| 10623 | < | echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} | 
| 10624 | < | { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 10625 | < | echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 10626 | < | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 | 
| 10627 | < | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | 
| 10628 | < | { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 | 
| 10629 | < | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | 
| 10618 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 10619 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 10620 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 10621 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 10622 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 10623 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 10624 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 10625 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 10626 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 10627 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 10628 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 10629 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 10630 |  | ( | 
| 10631 |  | cat <<\_ASBOX | 
| 10632 |  | ## ------------------------------ ## | 
| 10637 |  | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 10638 |  | ;; | 
| 10639 |  | esac | 
| 10640 | < | echo "$as_me:$LINENO: checking for zlib.h" >&5 | 
| 10641 | < | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 
| 10642 | < | if test "${ac_cv_header_zlib_h+set}" = set; then | 
| 10640 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10641 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 10642 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 10643 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10644 |  | else | 
| 10645 | < | ac_cv_header_zlib_h=$ac_header_preproc | 
| 10645 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 10646 |  | fi | 
| 10647 | < | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | 
| 10648 | < | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 
| 10647 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 10648 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 10649 |  |  | 
| 10650 |  | fi | 
| 10651 | < | if test $ac_cv_header_zlib_h = yes; then | 
| 10652 | < | zlib_cv_zlib_h=yes | 
| 10653 | < | else | 
| 10654 | < | zlib_cv_zlib_h=no | 
| 10651 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 10652 | > | cat >>confdefs.h <<_ACEOF | 
| 10653 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 10654 | > | _ACEOF | 
| 10655 | > |  | 
| 10656 |  | fi | 
| 10657 |  |  | 
| 10658 | + | done | 
| 10659 |  |  | 
| 6954 | – | ac_ext=cc | 
| 6955 | – | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 6956 | – | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6957 | – | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6958 | – | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10660 |  |  | 
| 10661 | < | if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes" | 
| 6961 | < | then | 
| 6962 | < | # | 
| 6963 | < | # If both library and header were found, use them | 
| 6964 | < | # | 
| 10661 | > | fi | 
| 10662 |  |  | 
| 10663 | < | echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 | 
| 10664 | < | echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 | 
| 10665 | < | if test "${ac_cv_lib_z_inflateEnd+set}" = set; then | 
| 10663 | > |  | 
| 10664 | > |  | 
| 10665 | > |  | 
| 10666 | > | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 10667 | > | echo "$as_me:$LINENO: checking for iomanip" >&5 | 
| 10668 | > | echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 | 
| 10669 | > | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 10670 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10671 | + | fi | 
| 10672 | + | echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 | 
| 10673 | + | echo "${ECHO_T}$ac_cv_header_iomanip" >&6 | 
| 10674 |  | else | 
| 10675 | < | ac_check_lib_save_LIBS=$LIBS | 
| 10676 | < | LIBS="-lz  $LIBS" | 
| 10675 | > | # Is the header compilable? | 
| 10676 | > | echo "$as_me:$LINENO: checking iomanip usability" >&5 | 
| 10677 | > | echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6 | 
| 10678 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10679 |  | /* confdefs.h.  */ | 
| 10680 |  | _ACEOF | 
| 10681 |  | cat confdefs.h >>conftest.$ac_ext | 
| 10682 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 10683 |  | /* end confdefs.h.  */ | 
| 10684 | < |  | 
| 10685 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 6981 | < | #ifdef __cplusplus | 
| 6982 | < | extern "C" | 
| 6983 | < | #endif | 
| 6984 | < | /* We use char because int might match the return type of a gcc2 | 
| 6985 | < | builtin and then its argument prototype would still apply.  */ | 
| 6986 | < | char inflateEnd (); | 
| 6987 | < | int | 
| 6988 | < | main () | 
| 6989 | < | { | 
| 6990 | < | inflateEnd (); | 
| 6991 | < | ; | 
| 6992 | < | return 0; | 
| 6993 | < | } | 
| 10684 | > | $ac_includes_default | 
| 10685 | > | #include <iomanip> | 
| 10686 |  | _ACEOF | 
| 10687 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10688 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10689 | < | (eval $ac_link) 2>conftest.er1 | 
| 10687 | > | rm -f conftest.$ac_objext | 
| 10688 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 10689 | > | (eval $ac_compile) 2>conftest.er1 | 
| 10690 |  | ac_status=$? | 
| 10691 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10692 |  | rm -f conftest.er1 | 
| 10700 |  | ac_status=$? | 
| 10701 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10702 |  | (exit $ac_status); }; } && | 
| 10703 | < | { ac_try='test -s conftest$ac_exeext' | 
| 10703 | > | { ac_try='test -s conftest.$ac_objext' | 
| 10704 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 10705 |  | (eval $ac_try) 2>&5 | 
| 10706 |  | ac_status=$? | 
| 10707 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10708 |  | (exit $ac_status); }; }; then | 
| 10709 | < | ac_cv_lib_z_inflateEnd=yes | 
| 10709 | > | ac_header_compiler=yes | 
| 10710 |  | else | 
| 10711 |  | echo "$as_me: failed program was:" >&5 | 
| 10712 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10713 |  |  | 
| 10714 | < | ac_cv_lib_z_inflateEnd=no | 
| 10714 | > | ac_header_compiler=no | 
| 10715 |  | fi | 
| 10716 | < | rm -f conftest.err conftest.$ac_objext \ | 
| 10717 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10718 | < | LIBS=$ac_check_lib_save_LIBS | 
| 7027 | < | fi | 
| 7028 | < | echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 | 
| 7029 | < | echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 | 
| 7030 | < | if test $ac_cv_lib_z_inflateEnd = yes; then | 
| 7031 | < | cat >>confdefs.h <<_ACEOF | 
| 7032 | < | #define HAVE_LIBZ 1 | 
| 7033 | < | _ACEOF | 
| 10716 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10717 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 10718 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 10719 |  |  | 
| 10720 | < | LIBS="-lz $LIBS" | 
| 10721 | < |  | 
| 10720 | > | # Is the header present? | 
| 10721 | > | echo "$as_me:$LINENO: checking iomanip presence" >&5 | 
| 10722 | > | echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6 | 
| 10723 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10724 | > | /* confdefs.h.  */ | 
| 10725 | > | _ACEOF | 
| 10726 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10727 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10728 | > | /* end confdefs.h.  */ | 
| 10729 | > | #include <iomanip> | 
| 10730 | > | _ACEOF | 
| 10731 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 10732 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 10733 | > | ac_status=$? | 
| 10734 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10735 | > | rm -f conftest.er1 | 
| 10736 | > | cat conftest.err >&5 | 
| 10737 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10738 | > | (exit $ac_status); } >/dev/null; then | 
| 10739 | > | if test -s conftest.err; then | 
| 10740 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 10741 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 10742 | > | else | 
| 10743 | > | ac_cpp_err= | 
| 10744 | > | fi | 
| 10745 | > | else | 
| 10746 | > | ac_cpp_err=yes | 
| 10747 |  | fi | 
| 10748 | + | if test -z "$ac_cpp_err"; then | 
| 10749 | + | ac_header_preproc=yes | 
| 10750 | + | else | 
| 10751 | + | echo "$as_me: failed program was:" >&5 | 
| 10752 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10753 |  |  | 
| 10754 | < | echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 | 
| 7040 | < | echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 | 
| 7041 | < | echo "$as_me:$LINENO: result: ok" >&5 | 
| 7042 | < | echo "${ECHO_T}ok" >&6 | 
| 7043 | < | else | 
| 7044 | < | # | 
| 7045 | < | # If either header or library was not found, revert and bomb | 
| 7046 | < | # | 
| 7047 | < | echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 | 
| 7048 | < | echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 | 
| 7049 | < | LDFLAGS="$ZLIB_OLD_LDFLAGS" | 
| 7050 | < | CPPFLAGS="$ZLIB_OLD_CPPFLAGS" | 
| 7051 | < | echo "$as_me:$LINENO: result: failed" >&5 | 
| 7052 | < | echo "${ECHO_T}failed" >&6 | 
| 7053 | < | { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5 | 
| 7054 | < | echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;} | 
| 7055 | < | { (exit 1); exit 1; }; } | 
| 7056 | < | fi | 
| 10754 | > | ac_header_preproc=no | 
| 10755 |  | fi | 
| 10756 | + | rm -f conftest.err conftest.$ac_ext | 
| 10757 | + | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 10758 | + | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 10759 |  |  | 
| 10760 | < |  | 
| 10761 | < |  | 
| 10762 | < |  | 
| 10763 | < |  | 
| 10764 | < |  | 
| 10765 | < |  | 
| 10766 | < |  | 
| 10767 | < |  | 
| 10768 | < |  | 
| 10769 | < |  | 
| 10770 | < |  | 
| 10771 | < |  | 
| 10772 | < |  | 
| 10760 | > | # So?  What about this header? | 
| 10761 | > | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 10762 | > | yes:no: ) | 
| 10763 | > | { echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 10764 | > | echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 10765 | > | { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5 | 
| 10766 | > | echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;} | 
| 10767 | > | ac_header_preproc=yes | 
| 10768 | > | ;; | 
| 10769 | > | no:yes:* ) | 
| 10770 | > | { echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5 | 
| 10771 | > | echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;} | 
| 10772 | > | { echo "$as_me:$LINENO: WARNING: iomanip:     check for missing prerequisite headers?" >&5 | 
| 10773 | > | echo "$as_me: WARNING: iomanip:     check for missing prerequisite headers?" >&2;} | 
| 10774 | > | { echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5 | 
| 10775 | > | echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;} | 
| 10776 | > | { echo "$as_me:$LINENO: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 10777 | > | echo "$as_me: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 10778 | > | { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5 | 
| 10779 | > | echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} | 
| 10780 | > | { echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 | 
| 10781 | > | echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} | 
| 10782 | > | ( | 
| 10783 | > | cat <<\_ASBOX | 
| 10784 | > | ## ------------------------------ ## | 
| 10785 | > | ## Report this to gezelter@nd.edu ## | 
| 10786 | > | ## ------------------------------ ## | 
| 10787 | > | _ASBOX | 
| 10788 | > | ) | | 
| 10789 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 10790 | > | ;; | 
| 10791 | > | esac | 
| 10792 | > | echo "$as_me:$LINENO: checking for iomanip" >&5 | 
| 10793 | > | echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 | 
| 10794 | > | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 10795 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10796 | > | else | 
| 10797 | > | ac_cv_header_iomanip=$ac_header_preproc | 
| 10798 | > | fi | 
| 10799 | > | echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 | 
| 10800 | > | echo "${ECHO_T}$ac_cv_header_iomanip" >&6 | 
| 10801 |  |  | 
| 10802 | + | fi | 
| 10803 | + | if test $ac_cv_header_iomanip = yes; then | 
| 10804 |  |  | 
| 10805 |  |  | 
| 10806 | + | cat >>confdefs.h <<\_ACEOF | 
| 10807 | + | #define HAVE_IOMANIP 1 | 
| 10808 | + | _ACEOF | 
| 10809 |  |  | 
| 10810 |  |  | 
| 10811 | + | else | 
| 10812 |  |  | 
| 10813 |  |  | 
| 10814 | < | for ac_header in stdlib.h string.h sys/param.h unistd.h sys/time.h stdio.h conio.h strstream.h iostream.h fstream.h math.h time.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h | 
| 10814 | > | for ac_header in iomanip.h | 
| 10815 |  | do | 
| 10816 |  | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 10817 |  | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 10960 |  |  | 
| 10961 |  | done | 
| 10962 |  |  | 
| 7228 | – | ac_ext=cc | 
| 7229 | – | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 7230 | – | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7231 | – | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7232 | – | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10963 |  |  | 
| 10964 | < |  | 
| 10964 | > | fi | 
| 10965 |  |  | 
| 10966 |  |  | 
| 10967 |  |  | 
| 10968 |  |  | 
| 10969 | < | for ac_header in ctype.h iostream fstream sstream strstream | 
| 10969 | > | for ac_header in cmath | 
| 10970 |  | do | 
| 10971 |  | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 10972 |  | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 11115 |  |  | 
| 11116 |  | done | 
| 11117 |  |  | 
| 7388 | – | ac_ext=c | 
| 7389 | – | ac_cpp='$CPP $CPPFLAGS' | 
| 7390 | – | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 7391 | – | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 7392 | – | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 11118 |  |  | 
| 11119 |  |  | 
| 11120 |  |  | 
| 11121 | + | echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 | 
| 11122 | + | echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6 | 
| 11123 | + | if test "${ac_cv_cxx_have_std_iostream+set}" = set; then | 
| 11124 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11125 | + | else | 
| 11126 |  |  | 
| 11127 | + | ac_cv_cxx_have_std_iostream=no | 
| 11128 | + | ac_cv_cxx_need_use_std_iostream=no | 
| 11129 | + | if test "x$ac_cv_cxx_namespaces" = xyes; then | 
| 11130 |  |  | 
| 11131 |  |  | 
| 11132 | + | ac_ext=cc | 
| 11133 | + | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11134 | + | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11135 | + | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11136 | + | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11137 |  |  | 
| 11138 | < |  | 
| 7401 | < |  | 
| 7402 | < |  | 
| 7403 | < |  | 
| 7404 | < |  | 
| 7405 | < |  | 
| 7406 | < | for ac_func in rint snprintf sranddev strcasecmp strncasecmp stricmp strnicmp pstat_getstatic sysmp getsysinfo sysctl table | 
| 7407 | < | do | 
| 7408 | < | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 7409 | < | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 7410 | < | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 7411 | < | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
| 7412 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7413 | < | else | 
| 7414 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11138 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11139 |  | /* confdefs.h.  */ | 
| 11140 |  | _ACEOF | 
| 11141 |  | cat confdefs.h >>conftest.$ac_ext | 
| 11142 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11143 |  | /* end confdefs.h.  */ | 
| 7420 | – | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 7421 | – | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 7422 | – | #define $ac_func innocuous_$ac_func | 
| 11144 |  |  | 
| 11145 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 11146 | < | which can conflict with char $ac_func (); below. | 
| 7426 | < | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 7427 | < | <limits.h> exists even on freestanding compilers.  */ | 
| 7428 | < |  | 
| 7429 | < | #ifdef __STDC__ | 
| 7430 | < | # include <limits.h> | 
| 11145 | > | #ifdef HAVE_IOSTREAM | 
| 11146 | > | #include <iostream> | 
| 11147 |  | #else | 
| 11148 | < | # include <assert.h> | 
| 11148 | > | #include <iostream.h> | 
| 11149 |  | #endif | 
| 11150 |  |  | 
| 11151 | < | #undef $ac_func | 
| 11152 | < |  | 
| 11153 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 11154 | < | #ifdef __cplusplus | 
| 11155 | < | extern "C" | 
| 11156 | < | { | 
| 11151 | > | #ifdef FC_DUMMY_MAIN | 
| 11152 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11153 | > | #  ifdef __cplusplus | 
| 11154 | > | extern "C" | 
| 11155 | > | #  endif | 
| 11156 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11157 |  | #endif | 
| 7442 | – | /* We use char because int might match the return type of a gcc2 | 
| 7443 | – | builtin and then its argument prototype would still apply.  */ | 
| 7444 | – | char $ac_func (); | 
| 7445 | – | /* The GNU C library defines this for functions which it implements | 
| 7446 | – | to always fail with ENOSYS.  Some functions are actually named | 
| 7447 | – | something starting with __ and the normal name is an alias.  */ | 
| 7448 | – | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 7449 | – | choke me | 
| 7450 | – | #else | 
| 7451 | – | char (*f) () = $ac_func; | 
| 11158 |  | #endif | 
| 7453 | – | #ifdef __cplusplus | 
| 7454 | – | } | 
| 7455 | – | #endif | 
| 7456 | – |  | 
| 11159 |  | int | 
| 11160 |  | main () | 
| 11161 |  | { | 
| 11162 | < | return f != $ac_func; | 
| 11162 | > | std::cout<<"Hello World"<<std::endl;return 0; | 
| 11163 |  | ; | 
| 11164 |  | return 0; | 
| 11165 |  | } | 
| 11166 |  | _ACEOF | 
| 11167 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11168 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 11169 | < | (eval $ac_link) 2>conftest.er1 | 
| 11167 | > | rm -f conftest.$ac_objext | 
| 11168 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 11169 | > | (eval $ac_compile) 2>conftest.er1 | 
| 11170 |  | ac_status=$? | 
| 11171 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11172 |  | rm -f conftest.er1 | 
| 11173 |  | cat conftest.err >&5 | 
| 11174 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11175 |  | (exit $ac_status); } && | 
| 11176 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11176 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11177 |  | || test ! -s conftest.err' | 
| 11178 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11179 |  | (eval $ac_try) 2>&5 | 
| 11180 |  | ac_status=$? | 
| 11181 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11182 |  | (exit $ac_status); }; } && | 
| 11183 | < | { ac_try='test -s conftest$ac_exeext' | 
| 11183 | > | { ac_try='test -s conftest.$ac_objext' | 
| 11184 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11185 |  | (eval $ac_try) 2>&5 | 
| 11186 |  | ac_status=$? | 
| 11187 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11188 |  | (exit $ac_status); }; }; then | 
| 11189 | < | eval "$as_ac_var=yes" | 
| 11189 | > | ac_cv_cxx_have_std_iostream=yes | 
| 11190 |  | else | 
| 11191 |  | echo "$as_me: failed program was:" >&5 | 
| 11192 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7491 | – |  | 
| 7492 | – | eval "$as_ac_var=no" | 
| 7493 | – | fi | 
| 7494 | – | rm -f conftest.err conftest.$ac_objext \ | 
| 7495 | – | conftest$ac_exeext conftest.$ac_ext | 
| 7496 | – | fi | 
| 7497 | – | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
| 7498 | – | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
| 7499 | – | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 7500 | – | cat >>confdefs.h <<_ACEOF | 
| 7501 | – | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 7502 | – | _ACEOF | 
| 11193 |  |  | 
| 11194 |  | fi | 
| 11195 | < | done | 
| 11196 | < |  | 
| 7507 | < | # special check for _system_configuration because AIX <4.3.2 do not | 
| 7508 | < | # contain the `physmem' member. | 
| 7509 | < | echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 | 
| 7510 | < | echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 | 
| 7511 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11195 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11196 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11197 |  | /* confdefs.h.  */ | 
| 11198 |  | _ACEOF | 
| 11199 |  | cat confdefs.h >>conftest.$ac_ext | 
| 11200 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11201 |  | /* end confdefs.h.  */ | 
| 11202 | < | #include <sys/systemcfg.h> | 
| 11202 | > |  | 
| 11203 | > | #define __USE_STD_IOSTREAM 1 | 
| 11204 | > | #ifdef HAVE_IOSTREAM | 
| 11205 | > | #include <iostream> | 
| 11206 | > | #else | 
| 11207 | > | #include <iostream.h> | 
| 11208 | > | #endif | 
| 11209 | > |  | 
| 11210 | > | #ifdef FC_DUMMY_MAIN | 
| 11211 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11212 | > | #  ifdef __cplusplus | 
| 11213 | > | extern "C" | 
| 11214 | > | #  endif | 
| 11215 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11216 | > | #endif | 
| 11217 | > | #endif | 
| 11218 |  | int | 
| 11219 |  | main () | 
| 11220 |  | { | 
| 11221 | < | double x = _system_configuration.physmem; | 
| 11221 | > | std::cout<<"Hello World"<<std::endl;return 0; | 
| 11222 |  | ; | 
| 11223 |  | return 0; | 
| 11224 |  | } | 
| 11232 |  | cat conftest.err >&5 | 
| 11233 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11234 |  | (exit $ac_status); } && | 
| 11235 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11235 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11236 |  | || test ! -s conftest.err' | 
| 11237 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11238 |  | (eval $ac_try) 2>&5 | 
| 11245 |  | ac_status=$? | 
| 11246 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11247 |  | (exit $ac_status); }; }; then | 
| 11248 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 7549 | < | echo "${ECHO_T}yes" >&6 | 
| 7550 | < |  | 
| 7551 | < | cat >>confdefs.h <<\_ACEOF | 
| 7552 | < | #define HAVE__SYSTEM_CONFIGURATION 1 | 
| 7553 | < | _ACEOF | 
| 7554 | < |  | 
| 11248 | > | ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes | 
| 11249 |  | else | 
| 11250 |  | echo "$as_me: failed program was:" >&5 | 
| 11251 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11252 |  |  | 
| 7559 | – | echo "$as_me:$LINENO: result: no" >&5 | 
| 7560 | – | echo "${ECHO_T}no" >&6 | 
| 11253 |  | fi | 
| 11254 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11255 | < | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
| 11256 | < | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
| 11257 | < | if test "${ac_cv_header_time+set}" = set; then | 
| 11255 | > | ac_ext=cc | 
| 11256 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11257 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11258 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11259 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11260 | > |  | 
| 11261 | > | fi | 
| 11262 | > |  | 
| 11263 | > | fi | 
| 11264 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 | 
| 11265 | > | echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6 | 
| 11266 | > | if test "$ac_cv_cxx_have_std_iostream" = yes; then | 
| 11267 | > |  | 
| 11268 | > | cat >>confdefs.h <<\_ACEOF | 
| 11269 | > | #define HAVE_STD_IOSTREAM 1 | 
| 11270 | > | _ACEOF | 
| 11271 | > |  | 
| 11272 | > | fi | 
| 11273 | > | if test "$ac_cv_cxx_need_use_std_iostream" = yes; then | 
| 11274 | > |  | 
| 11275 | > | cat >>confdefs.h <<\_ACEOF | 
| 11276 | > | #define __USE_STD_IOSTREAM 1 | 
| 11277 | > | _ACEOF | 
| 11278 | > |  | 
| 11279 | > | fi | 
| 11280 | > |  | 
| 11281 | > |  | 
| 11282 | > |  | 
| 11283 | > |  | 
| 11284 | > | echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 | 
| 11285 | > | echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6 | 
| 11286 | > | if test "${ac_cv_cxx_have_std_stl+set}" = set; then | 
| 11287 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11288 |  | else | 
| 11289 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11289 | > |  | 
| 11290 | > | ac_cv_cxx_have_std_stl=no | 
| 11291 | > | if test "x$ac_cv_cxx_namespaces" = xyes; then | 
| 11292 | > |  | 
| 11293 | > |  | 
| 11294 | > | ac_ext=cc | 
| 11295 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11296 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11297 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11298 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11299 | > |  | 
| 11300 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11301 |  | /* confdefs.h.  */ | 
| 11302 |  | _ACEOF | 
| 11303 |  | cat confdefs.h >>conftest.$ac_ext | 
| 11304 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11305 |  | /* end confdefs.h.  */ | 
| 11306 | < | #include <sys/types.h> | 
| 7575 | < | #include <sys/time.h> | 
| 7576 | < | #include <time.h> | 
| 11306 | > | #include <list> | 
| 11307 |  |  | 
| 11308 | + | #ifdef FC_DUMMY_MAIN | 
| 11309 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11310 | + | #  ifdef __cplusplus | 
| 11311 | + | extern "C" | 
| 11312 | + | #  endif | 
| 11313 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 11314 | + | #endif | 
| 11315 | + | #endif | 
| 11316 |  | int | 
| 11317 |  | main () | 
| 11318 |  | { | 
| 11319 | < | if ((struct tm *) 0) | 
| 7582 | < | return 0; | 
| 11319 | > | std::list<int> foo;return 0; | 
| 11320 |  | ; | 
| 11321 |  | return 0; | 
| 11322 |  | } | 
| 11330 |  | cat conftest.err >&5 | 
| 11331 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11332 |  | (exit $ac_status); } && | 
| 11333 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11333 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11334 |  | || test ! -s conftest.err' | 
| 11335 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11336 |  | (eval $ac_try) 2>&5 | 
| 11343 |  | ac_status=$? | 
| 11344 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11345 |  | (exit $ac_status); }; }; then | 
| 11346 | < | ac_cv_header_time=yes | 
| 11346 | > | ac_cv_cxx_have_std_stl=yes | 
| 11347 |  | else | 
| 11348 |  | echo "$as_me: failed program was:" >&5 | 
| 11349 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11350 |  |  | 
| 7614 | – | ac_cv_header_time=no | 
| 11351 |  | fi | 
| 11352 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11353 | + | ac_ext=cc | 
| 11354 | + | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11355 | + | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11356 | + | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11357 | + | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11358 | + |  | 
| 11359 | + | fi | 
| 11360 | + |  | 
| 11361 |  | fi | 
| 11362 | < | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
| 11363 | < | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
| 11364 | < | if test $ac_cv_header_time = yes; then | 
| 11362 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 | 
| 11363 | > | echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6 | 
| 11364 | > | if test "$ac_cv_cxx_have_std_stl" = yes; then | 
| 11365 |  |  | 
| 11366 |  | cat >>confdefs.h <<\_ACEOF | 
| 11367 | < | #define TIME_WITH_SYS_TIME 1 | 
| 11367 | > | #define HAVE_STD_STL 1 | 
| 11368 |  | _ACEOF | 
| 11369 |  |  | 
| 11370 | < | fi | 
| 11370 | > | fi | 
| 11371 |  |  | 
| 11372 |  |  | 
| 11373 | < | echo "$as_me:$LINENO: checking for clock_t" >&5 | 
| 11374 | < | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | 
| 11375 | < | if test "${ac_cv_type_clock_t+set}" = set; then | 
| 11373 | > |  | 
| 11374 | > | echo "$as_me:$LINENO: checking for fstream::attach()" >&5 | 
| 11375 | > | echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6 | 
| 11376 | > | if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then | 
| 11377 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11378 |  | else | 
| 11379 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11379 | > |  | 
| 11380 | > | ac_cv_cxx_have_fstream_attach=no | 
| 11381 | > |  | 
| 11382 | > |  | 
| 11383 | > | ac_ext=cc | 
| 11384 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11385 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11386 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11387 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11388 | > |  | 
| 11389 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11390 |  | /* confdefs.h.  */ | 
| 11391 |  | _ACEOF | 
| 11392 |  | cat confdefs.h >>conftest.$ac_ext | 
| 11393 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11394 |  | /* end confdefs.h.  */ | 
| 11395 | < | $ac_includes_default | 
| 11395 | > |  | 
| 11396 | > | #ifdef HAVE_IOSTREAM | 
| 11397 | > | #include <fstream> | 
| 11398 | > | #else | 
| 11399 | > | #include <fstream.h> | 
| 11400 | > | #endif | 
| 11401 | > | #ifdef HAVE_STD_IOSTREAM | 
| 11402 | > | using namespace std; | 
| 11403 | > | #endif | 
| 11404 | > |  | 
| 11405 | > | #ifdef FC_DUMMY_MAIN | 
| 11406 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11407 | > | #  ifdef __cplusplus | 
| 11408 | > | extern "C" | 
| 11409 | > | #  endif | 
| 11410 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11411 | > | #endif | 
| 11412 | > | #endif | 
| 11413 |  | int | 
| 11414 |  | main () | 
| 11415 |  | { | 
| 11416 | < | if ((clock_t *) 0) | 
| 7645 | < | return 0; | 
| 7646 | < | if (sizeof (clock_t)) | 
| 7647 | < | return 0; | 
| 11416 | > | int fd=0;ofstream s;s.attach(fd); | 
| 11417 |  | ; | 
| 11418 |  | return 0; | 
| 11419 |  | } | 
| 11427 |  | cat conftest.err >&5 | 
| 11428 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11429 |  | (exit $ac_status); } && | 
| 11430 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11430 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11431 |  | || test ! -s conftest.err' | 
| 11432 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11433 |  | (eval $ac_try) 2>&5 | 
| 11440 |  | ac_status=$? | 
| 11441 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11442 |  | (exit $ac_status); }; }; then | 
| 11443 | < | ac_cv_type_clock_t=yes | 
| 11443 | > | ac_cv_cxx_have_fstream_attach=yes | 
| 11444 |  | else | 
| 11445 |  | echo "$as_me: failed program was:" >&5 | 
| 11446 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11447 |  |  | 
| 7679 | – | ac_cv_type_clock_t=no | 
| 11448 |  | fi | 
| 11449 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11450 | + | ac_ext=cc | 
| 11451 | + | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11452 | + | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11453 | + | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11454 | + | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11455 | + |  | 
| 11456 | + |  | 
| 11457 |  | fi | 
| 11458 | < | echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 | 
| 11459 | < | echo "${ECHO_T}$ac_cv_type_clock_t" >&6 | 
| 11460 | < | if test $ac_cv_type_clock_t = yes; then | 
| 11458 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 | 
| 11459 | > | echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6 | 
| 11460 | > | if test "$ac_cv_cxx_have_fstream_attach" = yes; then | 
| 11461 |  |  | 
| 11462 | < | cat >>confdefs.h <<_ACEOF | 
| 11463 | < | #define HAVE_CLOCK_T 1 | 
| 11462 | > | cat >>confdefs.h <<\_ACEOF | 
| 11463 | > | #define HAVE_FSTREAM_ATTACH 1 | 
| 11464 |  | _ACEOF | 
| 11465 |  |  | 
| 11466 | + | fi | 
| 11467 |  |  | 
| 7692 | – | fi | 
| 11468 |  |  | 
| 11469 | < | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
| 11470 | < | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
| 11471 | < | if test "${ac_cv_c_const+set}" = set; then | 
| 11469 | > |  | 
| 11470 | > | echo "$as_me:$LINENO: checking for fstream::open()" >&5 | 
| 11471 | > | echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6 | 
| 11472 | > | if test "${ac_cv_cxx_have_fstream_open+set}" = set; then | 
| 11473 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11474 |  | else | 
| 11475 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11475 | > |  | 
| 11476 | > | ac_cv_cxx_have_fstream_open=no | 
| 11477 | > | ac_cv_cxx_fstream_open_prot=no | 
| 11478 | > |  | 
| 11479 | > |  | 
| 11480 | > | ac_ext=cc | 
| 11481 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11482 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11483 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11484 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11485 | > |  | 
| 11486 | > | # Try with 2 parameters | 
| 11487 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11488 |  | /* confdefs.h.  */ | 
| 11489 |  | _ACEOF | 
| 11490 |  | cat confdefs.h >>conftest.$ac_ext | 
| 11491 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11492 |  | /* end confdefs.h.  */ | 
| 11493 |  |  | 
| 11494 | + | #ifdef HAVE_IOSTREAM | 
| 11495 | + | #include <fstream> | 
| 11496 | + | #else | 
| 11497 | + | #include <fstream.h> | 
| 11498 | + | #endif | 
| 11499 | + | #ifdef HAVE_STD_IOSTREAM | 
| 11500 | + | using namespace std; | 
| 11501 | + | #endif | 
| 11502 | + |  | 
| 11503 | + | #ifdef FC_DUMMY_MAIN | 
| 11504 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11505 | + | #  ifdef __cplusplus | 
| 11506 | + | extern "C" | 
| 11507 | + | #  endif | 
| 11508 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 11509 | + | #endif | 
| 11510 | + | #endif | 
| 11511 |  | int | 
| 11512 |  | main () | 
| 11513 |  | { | 
| 11514 | < | /* FIXME: Include the comments suggested by Paul. */ | 
| 11515 | < | #ifndef __cplusplus | 
| 11516 | < | /* Ultrix mips cc rejects this.  */ | 
| 11517 | < | typedef int charset[2]; | 
| 11518 | < | const charset x; | 
| 11519 | < | /* SunOS 4.1.1 cc rejects this.  */ | 
| 11520 | < | char const *const *ccp; | 
| 11521 | < | char **p; | 
| 11522 | < | /* NEC SVR4.0.2 mips cc rejects this.  */ | 
| 11523 | < | struct point {int x, y;}; | 
| 11524 | < | static struct point const zero = {0,0}; | 
| 11525 | < | /* AIX XL C 1.02.0.0 rejects this. | 
| 11526 | < | It does not let you subtract one const X* pointer from another in | 
| 11527 | < | an arm of an if-expression whose if-part is not a constant | 
| 11528 | < | expression */ | 
| 11529 | < | const char *g = "string"; | 
| 11530 | < | ccp = &g + (g ? g-g : 0); | 
| 11531 | < | /* HPUX 7.0 cc rejects these. */ | 
| 11532 | < | ++ccp; | 
| 11533 | < | p = (char**) ccp; | 
| 11534 | < | ccp = (char const *const *) p; | 
| 11535 | < | { /* SCO 3.2v4 cc rejects this.  */ | 
| 11536 | < | char *t; | 
| 11537 | < | char const *s = 0 ? (char *) 0 : (char const *) 0; | 
| 11514 | > | ofstream s;s.open("conftest.txt",ios::out|ios::trunc); | 
| 11515 | > | ; | 
| 11516 | > | return 0; | 
| 11517 | > | } | 
| 11518 | > | _ACEOF | 
| 11519 | > | rm -f conftest.$ac_objext | 
| 11520 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 11521 | > | (eval $ac_compile) 2>conftest.er1 | 
| 11522 | > | ac_status=$? | 
| 11523 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11524 | > | rm -f conftest.er1 | 
| 11525 | > | cat conftest.err >&5 | 
| 11526 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11527 | > | (exit $ac_status); } && | 
| 11528 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11529 | > | || test ! -s conftest.err' | 
| 11530 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11531 | > | (eval $ac_try) 2>&5 | 
| 11532 | > | ac_status=$? | 
| 11533 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11534 | > | (exit $ac_status); }; } && | 
| 11535 | > | { ac_try='test -s conftest.$ac_objext' | 
| 11536 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11537 | > | (eval $ac_try) 2>&5 | 
| 11538 | > | ac_status=$? | 
| 11539 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11540 | > | (exit $ac_status); }; }; then | 
| 11541 | > | ac_cv_cxx_have_fstream_open=yes | 
| 11542 | > | else | 
| 11543 | > | echo "$as_me: failed program was:" >&5 | 
| 11544 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11545 |  |  | 
| 11546 | < | *t++ = 0; | 
| 11547 | < | } | 
| 11548 | < | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
| 11549 | < | int x[] = {25, 17}; | 
| 11550 | < | const int *foo = &x[0]; | 
| 11551 | < | ++foo; | 
| 11552 | < | } | 
| 11553 | < | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
| 11554 | < | typedef const int *iptr; | 
| 11555 | < | iptr p = 0; | 
| 11556 | < | ++p; | 
| 11557 | < | } | 
| 11558 | < | { /* AIX XL C 1.02.0.0 rejects this saying | 
| 11559 | < | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
| 11560 | < | struct s { int j; const int *ap[3]; }; | 
| 11561 | < | struct s *b; b->j = 5; | 
| 11562 | < | } | 
| 11563 | < | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
| 11564 | < | const int foo = 10; | 
| 11565 | < | } | 
| 11566 | < | #endif | 
| 11567 | < |  | 
| 11546 | > | fi | 
| 11547 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11548 | > | # Try with mode parameter | 
| 11549 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11550 | > | /* confdefs.h.  */ | 
| 11551 | > | _ACEOF | 
| 11552 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11553 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11554 | > | /* end confdefs.h.  */ | 
| 11555 | > |  | 
| 11556 | > | #ifdef HAVE_IOSTREAM | 
| 11557 | > | #include <fstream> | 
| 11558 | > | #else | 
| 11559 | > | #include <fstream.h> | 
| 11560 | > | #endif | 
| 11561 | > | #ifdef HAVE_STD_IOSTREAM | 
| 11562 | > | using namespace std; | 
| 11563 | > | #endif | 
| 11564 | > |  | 
| 11565 | > | #ifdef FC_DUMMY_MAIN | 
| 11566 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11567 | > | #  ifdef __cplusplus | 
| 11568 | > | extern "C" | 
| 11569 | > | #  endif | 
| 11570 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11571 | > | #endif | 
| 11572 | > | #endif | 
| 11573 | > | int | 
| 11574 | > | main () | 
| 11575 | > | { | 
| 11576 | > | ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); | 
| 11577 |  | ; | 
| 11578 |  | return 0; | 
| 11579 |  | } | 
| 11587 |  | cat conftest.err >&5 | 
| 11588 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11589 |  | (exit $ac_status); } && | 
| 11590 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11590 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11591 |  | || test ! -s conftest.err' | 
| 11592 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11593 |  | (eval $ac_try) 2>&5 | 
| 11600 |  | ac_status=$? | 
| 11601 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11602 |  | (exit $ac_status); }; }; then | 
| 11603 | < | ac_cv_c_const=yes | 
| 11603 | > | ac_cv_cxx_fstream_open_prot=yes | 
| 11604 |  | else | 
| 11605 |  | echo "$as_me: failed program was:" >&5 | 
| 11606 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11607 |  |  | 
| 7787 | – | ac_cv_c_const=no | 
| 11608 |  | fi | 
| 11609 |  | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11610 | + | ac_ext=cc | 
| 11611 | + | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11612 | + | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11613 | + | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11614 | + | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11615 | + |  | 
| 11616 | + |  | 
| 11617 |  | fi | 
| 11618 | < | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
| 11619 | < | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
| 11620 | < | if test $ac_cv_c_const = no; then | 
| 11618 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 | 
| 11619 | > | echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6 | 
| 11620 | > | if test "$ac_cv_cxx_have_fstream_open" = yes; then | 
| 11621 |  |  | 
| 11622 |  | cat >>confdefs.h <<\_ACEOF | 
| 11623 | < | #define const | 
| 11623 | > | #define HAVE_FSTREAM_OPEN 1 | 
| 11624 |  | _ACEOF | 
| 11625 |  |  | 
| 11626 | < | fi | 
| 11626 | > | fi | 
| 11627 | > | if test "$ac_cv_cxx_fstream_open_prot" = yes; then | 
| 11628 |  |  | 
| 11629 | < | echo "$as_me:$LINENO: checking for inline" >&5 | 
| 11630 | < | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
| 7803 | < | if test "${ac_cv_c_inline+set}" = set; then | 
| 7804 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 7805 | < | else | 
| 7806 | < | ac_cv_c_inline=no | 
| 7807 | < | for ac_kw in inline __inline__ __inline; do | 
| 7808 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7809 | < | /* confdefs.h.  */ | 
| 11629 | > | cat >>confdefs.h <<\_ACEOF | 
| 11630 | > | #define FSTREAM_OPEN_PROT 1 | 
| 11631 |  | _ACEOF | 
| 7811 | – | cat confdefs.h >>conftest.$ac_ext | 
| 7812 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 7813 | – | /* end confdefs.h.  */ | 
| 7814 | – | #ifndef __cplusplus | 
| 7815 | – | typedef int foo_t; | 
| 7816 | – | static $ac_kw foo_t static_foo () {return 0; } | 
| 7817 | – | $ac_kw foo_t foo () {return 0; } | 
| 7818 | – | #endif | 
| 11632 |  |  | 
| 11633 | < | _ACEOF | 
| 7821 | < | rm -f conftest.$ac_objext | 
| 7822 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 7823 | < | (eval $ac_compile) 2>conftest.er1 | 
| 7824 | < | ac_status=$? | 
| 7825 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7826 | < | rm -f conftest.er1 | 
| 7827 | < | cat conftest.err >&5 | 
| 7828 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7829 | < | (exit $ac_status); } && | 
| 7830 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 7831 | < | || test ! -s conftest.err' | 
| 7832 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7833 | < | (eval $ac_try) 2>&5 | 
| 7834 | < | ac_status=$? | 
| 7835 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7836 | < | (exit $ac_status); }; } && | 
| 7837 | < | { ac_try='test -s conftest.$ac_objext' | 
| 7838 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 7839 | < | (eval $ac_try) 2>&5 | 
| 7840 | < | ac_status=$? | 
| 7841 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7842 | < | (exit $ac_status); }; }; then | 
| 7843 | < | ac_cv_c_inline=$ac_kw; break | 
| 7844 | < | else | 
| 7845 | < | echo "$as_me: failed program was:" >&5 | 
| 7846 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11633 | > | fi | 
| 11634 |  |  | 
| 7848 | – | fi | 
| 7849 | – | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7850 | – | done | 
| 11635 |  |  | 
| 7852 | – | fi | 
| 7853 | – | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
| 7854 | – | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
| 11636 |  |  | 
| 11637 |  |  | 
| 7857 | – | case $ac_cv_c_inline in | 
| 7858 | – | inline | yes) ;; | 
| 7859 | – | *) | 
| 7860 | – | case $ac_cv_c_inline in | 
| 7861 | – | no) ac_val=;; | 
| 7862 | – | *) ac_val=$ac_cv_c_inline;; | 
| 7863 | – | esac | 
| 7864 | – | cat >>confdefs.h <<_ACEOF | 
| 7865 | – | #ifndef __cplusplus | 
| 7866 | – | #define inline $ac_val | 
| 7867 | – | #endif | 
| 7868 | – | _ACEOF | 
| 7869 | – | ;; | 
| 7870 | – | esac | 
| 11638 |  |  | 
| 11639 |  |  | 
| 11640 |  |  | 
| 11641 | < | # clean out junk possibly left behind by a previous configuration | 
| 7875 | < | rm -f src/getopt.h | 
| 7876 | < | # Check for getopt_long support | 
| 7877 | < |  | 
| 7878 | < | for ac_header in getopt.h | 
| 11641 | > | for ac_header in ctype.h iostream fstream sstream strstream | 
| 11642 |  | do | 
| 11643 |  | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 11644 |  | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 11671 |  | cat conftest.err >&5 | 
| 11672 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11673 |  | (exit $ac_status); } && | 
| 11674 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11674 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11675 |  | || test ! -s conftest.err' | 
| 11676 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11677 |  | (eval $ac_try) 2>&5 | 
| 11715 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11716 |  | (exit $ac_status); } >/dev/null; then | 
| 11717 |  | if test -s conftest.err; then | 
| 11718 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 11719 | < | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
| 11718 | > | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| 11719 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 11720 |  | else | 
| 11721 |  | ac_cpp_err= | 
| 11722 |  | fi | 
| 11736 |  | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 11737 |  |  | 
| 11738 |  | # So?  What about this header? | 
| 11739 | < | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 11739 | > | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 11740 |  | yes:no: ) | 
| 11741 |  | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11742 |  | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11787 |  |  | 
| 11788 |  | done | 
| 11789 |  |  | 
| 11790 | + | # AC_CPP_FUNC | 
| 11791 | + | # ------------------ # | 
| 11792 | + | # Checks to see if ANSI C99 CPP variable __func__ works. | 
| 11793 | + | # If not, perhaps __FUNCTION__ works instead. | 
| 11794 | + | # If not, we'll just define __func__ to "". | 
| 11795 | + | # AC_CPP_FUNC | 
| 11796 |  |  | 
| 11797 | < | for ac_func in getopt_long | 
| 11798 | < | do | 
| 11799 | < | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 11800 | < | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 8032 | < | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 8033 | < | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
| 11797 | > |  | 
| 11798 | > | echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 | 
| 11799 | > | echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6 | 
| 11800 | > | if test "${ac_cv_cpp_func+set}" = set; then | 
| 11801 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11802 |  | else | 
| 11803 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 11806 |  | cat confdefs.h >>conftest.$ac_ext | 
| 11807 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11808 |  | /* end confdefs.h.  */ | 
| 8042 | – | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 8043 | – | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 8044 | – | #define $ac_func innocuous_$ac_func | 
| 11809 |  |  | 
| 11810 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 11811 | < | which can conflict with char $ac_func (); below. | 
| 11812 | < | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 11813 | < | <limits.h> exists even on freestanding compilers.  */ | 
| 11814 | < |  | 
| 11815 | < | #ifdef __STDC__ | 
| 8052 | < | # include <limits.h> | 
| 8053 | < | #else | 
| 8054 | < | # include <assert.h> | 
| 11810 | > | #ifdef FC_DUMMY_MAIN | 
| 11811 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11812 | > | #  ifdef __cplusplus | 
| 11813 | > | extern "C" | 
| 11814 | > | #  endif | 
| 11815 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11816 |  | #endif | 
| 8056 | – |  | 
| 8057 | – | #undef $ac_func | 
| 8058 | – |  | 
| 8059 | – | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 8060 | – | #ifdef __cplusplus | 
| 8061 | – | extern "C" | 
| 8062 | – | { | 
| 11817 |  | #endif | 
| 8064 | – | /* We use char because int might match the return type of a gcc2 | 
| 8065 | – | builtin and then its argument prototype would still apply.  */ | 
| 8066 | – | char $ac_func (); | 
| 8067 | – | /* The GNU C library defines this for functions which it implements | 
| 8068 | – | to always fail with ENOSYS.  Some functions are actually named | 
| 8069 | – | something starting with __ and the normal name is an alias.  */ | 
| 8070 | – | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 8071 | – | choke me | 
| 8072 | – | #else | 
| 8073 | – | char (*f) () = $ac_func; | 
| 8074 | – | #endif | 
| 8075 | – | #ifdef __cplusplus | 
| 8076 | – | } | 
| 8077 | – | #endif | 
| 8078 | – |  | 
| 11818 |  | int | 
| 11819 |  | main () | 
| 11820 |  | { | 
| 11821 | < | return f != $ac_func; | 
| 11821 | > | const char *foo = __func__; | 
| 11822 |  | ; | 
| 11823 |  | return 0; | 
| 11824 |  | } | 
| 11825 |  | _ACEOF | 
| 11826 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11827 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 11828 | < | (eval $ac_link) 2>conftest.er1 | 
| 11826 | > | rm -f conftest.$ac_objext | 
| 11827 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 11828 | > | (eval $ac_compile) 2>conftest.er1 | 
| 11829 |  | ac_status=$? | 
| 11830 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11831 |  | rm -f conftest.er1 | 
| 11832 |  | cat conftest.err >&5 | 
| 11833 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11834 |  | (exit $ac_status); } && | 
| 11835 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11835 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11836 |  | || test ! -s conftest.err' | 
| 11837 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11838 |  | (eval $ac_try) 2>&5 | 
| 11839 |  | ac_status=$? | 
| 11840 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11841 |  | (exit $ac_status); }; } && | 
| 11842 | < | { ac_try='test -s conftest$ac_exeext' | 
| 11842 | > | { ac_try='test -s conftest.$ac_objext' | 
| 11843 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11844 |  | (eval $ac_try) 2>&5 | 
| 11845 |  | ac_status=$? | 
| 11846 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11847 |  | (exit $ac_status); }; }; then | 
| 11848 | < | eval "$as_ac_var=yes" | 
| 11848 | > | ac_cv_cpp_func=yes | 
| 11849 |  | else | 
| 11850 |  | echo "$as_me: failed program was:" >&5 | 
| 11851 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11852 |  |  | 
| 8114 | – | eval "$as_ac_var=no" | 
| 8115 | – | fi | 
| 8116 | – | rm -f conftest.err conftest.$ac_objext \ | 
| 8117 | – | conftest$ac_exeext conftest.$ac_ext | 
| 8118 | – | fi | 
| 8119 | – | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
| 8120 | – | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
| 8121 | – | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 8122 | – | cat >>confdefs.h <<_ACEOF | 
| 8123 | – | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 8124 | – | _ACEOF | 
| 8125 | – |  | 
| 8126 | – | else | 
| 8127 | – | # FreeBSD has a gnugetopt library for this | 
| 8128 | – | echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 | 
| 8129 | – | echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 | 
| 8130 | – | if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then | 
| 8131 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8132 | – | else | 
| 8133 | – | ac_check_lib_save_LIBS=$LIBS | 
| 8134 | – | LIBS="-lgnugetopt  $LIBS" | 
| 11853 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 11854 |  | /* confdefs.h.  */ | 
| 11855 |  | _ACEOF | 
| 11857 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 11858 |  | /* end confdefs.h.  */ | 
| 11859 |  |  | 
| 11860 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 11861 | < | #ifdef __cplusplus | 
| 11862 | < | extern "C" | 
| 11860 | > | #ifdef FC_DUMMY_MAIN | 
| 11861 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11862 | > | #  ifdef __cplusplus | 
| 11863 | > | extern "C" | 
| 11864 | > | #  endif | 
| 11865 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11866 |  | #endif | 
| 11867 | < | /* We use char because int might match the return type of a gcc2 | 
| 8147 | < | builtin and then its argument prototype would still apply.  */ | 
| 8148 | < | char getopt_long (); | 
| 11867 | > | #endif | 
| 11868 |  | int | 
| 11869 |  | main () | 
| 11870 |  | { | 
| 11871 | < | getopt_long (); | 
| 11871 | > | const char *foo = __FUNCTION__; | 
| 11872 |  | ; | 
| 11873 |  | return 0; | 
| 11874 |  | } | 
| 11875 |  | _ACEOF | 
| 11876 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11877 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 11878 | < | (eval $ac_link) 2>conftest.er1 | 
| 11876 | > | rm -f conftest.$ac_objext | 
| 11877 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 11878 | > | (eval $ac_compile) 2>conftest.er1 | 
| 11879 |  | ac_status=$? | 
| 11880 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11881 |  | rm -f conftest.er1 | 
| 11882 |  | cat conftest.err >&5 | 
| 11883 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11884 |  | (exit $ac_status); } && | 
| 11885 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 11885 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 11886 |  | || test ! -s conftest.err' | 
| 11887 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11888 |  | (eval $ac_try) 2>&5 | 
| 11889 |  | ac_status=$? | 
| 11890 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11891 |  | (exit $ac_status); }; } && | 
| 11892 | < | { ac_try='test -s conftest$ac_exeext' | 
| 11892 | > | { ac_try='test -s conftest.$ac_objext' | 
| 11893 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11894 |  | (eval $ac_try) 2>&5 | 
| 11895 |  | ac_status=$? | 
| 11896 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11897 |  | (exit $ac_status); }; }; then | 
| 11898 | < | ac_cv_lib_gnugetopt_getopt_long=yes | 
| 11898 | > | ac_cv_cpp_func=__FUNCTION__ | 
| 11899 |  | else | 
| 11900 |  | echo "$as_me: failed program was:" >&5 | 
| 11901 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11902 |  |  | 
| 11903 | < | ac_cv_lib_gnugetopt_getopt_long=no | 
| 11903 | > | ac_cv_cpp_func=no | 
| 11904 |  | fi | 
| 11905 | < | rm -f conftest.err conftest.$ac_objext \ | 
| 8187 | < | conftest$ac_exeext conftest.$ac_ext | 
| 8188 | < | LIBS=$ac_check_lib_save_LIBS | 
| 11905 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11906 |  | fi | 
| 11907 | < | echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 | 
| 11908 | < | echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 | 
| 11909 | < | if test $ac_cv_lib_gnugetopt_getopt_long = yes; then | 
| 11910 | < | cat >>confdefs.h <<\_ACEOF | 
| 11911 | < | #define HAVE_GETOPT_LONG 1 | 
| 11907 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11908 | > | fi | 
| 11909 | > | echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 | 
| 11910 | > | echo "${ECHO_T}$ac_cv_cpp_func" >&6 | 
| 11911 | > | if test $ac_cv_cpp_func = __FUNCTION__; then | 
| 11912 | > |  | 
| 11913 | > | cat >>confdefs.h <<\_ACEOF | 
| 11914 | > | #define __func__ __FUNCTION__ | 
| 11915 |  | _ACEOF | 
| 11916 |  |  | 
| 11917 | < | else | 
| 8198 | < | # use the GNU replacement | 
| 8199 | < | case $LIBOBJS in | 
| 8200 | < | "getopt.$ac_objext"   | \ | 
| 8201 | < | *" getopt.$ac_objext"   | \ | 
| 8202 | < | "getopt.$ac_objext "* | \ | 
| 8203 | < | *" getopt.$ac_objext "* ) ;; | 
| 8204 | < | *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; | 
| 8205 | < | esac | 
| 11917 | > | elif test $ac_cv_cpp_func = no; then | 
| 11918 |  |  | 
| 11919 | < | case $LIBOBJS in | 
| 11920 | < | "getopt1.$ac_objext"   | \ | 
| 11921 | < | *" getopt1.$ac_objext"   | \ | 
| 8210 | < | "getopt1.$ac_objext "* | \ | 
| 8211 | < | *" getopt1.$ac_objext "* ) ;; | 
| 8212 | < | *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; | 
| 8213 | < | esac | 
| 11919 | > | cat >>confdefs.h <<\_ACEOF | 
| 11920 | > | #define __func__ "" | 
| 11921 | > | _ACEOF | 
| 11922 |  |  | 
| 8215 | – | ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" | 
| 8216 | – |  | 
| 11923 |  | fi | 
| 11924 |  |  | 
| 8219 | – | fi | 
| 8220 | – | done | 
| 11925 |  |  | 
| 11926 |  |  | 
| 11927 |  |  | 
| 11928 | + |  | 
| 11929 |  | case $debug in | 
| 11930 |  | 1) | 
| 11931 |  | ;; | 
| 11932 |  | *) | 
| 11933 | + |  | 
| 11934 | + |  | 
| 11935 | + |  | 
| 11936 | + |  | 
| 11937 | + | # Try to determine "good" native compiler flags if none specified on command | 
| 11938 | + | # line | 
| 11939 | + |  | 
| 11940 | + | if test "$ac_test_FFLAGS" != "set"; then | 
| 11941 | + | FCFLAGS="" | 
| 11942 | + | case "${host_cpu}-${host_os}" in | 
| 11943 | + |  | 
| 11944 | + | *linux*) if test "$FC" = ifc -o "$FC" = ifort; then | 
| 11945 | + | FCFLAGS="-O3 -ip -no-prec-div -cxxlib-icc" | 
| 11946 | + | fi;; | 
| 11947 | + | rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then | 
| 11948 | + | FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" | 
| 11949 | + | fi;; | 
| 11950 | + | powerpc*-aix*) | 
| 11951 | + | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 11952 | + | FCFLAGS="-O3 -qarch=ppc -qansialias -w" | 
| 11953 | + | echo "*******************************************************" | 
| 11954 | + | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 11955 | + | echo "*  recommended that you use                           *" | 
| 11956 | + | echo "*                                                     *" | 
| 11957 | + | echo "*   FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 11958 | + | echo "*                                 ^^^                 *" | 
| 11959 | + | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 11960 | + | echo "*  PowerPC CPU you have.   For more info, man xlf.    *" | 
| 11961 | + | echo "*******************************************************" | 
| 11962 | + | fi;; | 
| 11963 | + | *darwin*) | 
| 11964 | + | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 11965 | + | FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" | 
| 11966 | + | fi | 
| 11967 | + | if test "$FC" = ifort; then | 
| 11968 | + | FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic" | 
| 11969 | + | fi;; | 
| 11970 | + | esac | 
| 11971 | + |  | 
| 11972 | + | if test -n "$CPU_FLAGS"; then | 
| 11973 | + | FCFLAGS="$FCFLAGS $CPU_FLAGS" | 
| 11974 | + | fi | 
| 11975 | + |  | 
| 11976 | + | if test -z "$FCFLAGS"; then | 
| 11977 | + | echo "" | 
| 11978 | + | echo "*********************************************************" | 
| 11979 | + | echo "* WARNING: Don't know the best FCFLAGS for this system  *" | 
| 11980 | + | echo "* Use  make FCFLAGS=..., or edit the top level Makefile *" | 
| 11981 | + | echo "* (otherwise, a default of FCFLAGS=-O3 will be used)    *" | 
| 11982 | + | echo "*********************************************************" | 
| 11983 | + | echo "" | 
| 11984 | + | FCFLAGS="-O3" | 
| 11985 | + | fi | 
| 11986 | + |  | 
| 11987 | + |  | 
| 11988 | + | echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 | 
| 11989 | + | echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6 | 
| 11990 | + | if test "${ac_guessed_f90flags+set}" = set; then | 
| 11991 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11992 | + | else | 
| 11993 | + |  | 
| 11994 | + |  | 
| 11995 | + |  | 
| 11996 | + | ac_ext=${FC_SRCEXT-f} | 
| 11997 | + | ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' | 
| 11998 | + | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' | 
| 11999 | + | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 12000 | + |  | 
| 12001 | + | echo 'program main' > conftest.$ac_ext | 
| 12002 | + | echo 'end program main' >> conftest.$ac_ext | 
| 12003 | + | ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5' | 
| 12004 | + | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 12005 | + | (eval $ac_compile) 2>&5 | 
| 12006 | + | ac_status=$? | 
| 12007 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12008 | + | (exit $ac_status); }; then | 
| 12009 | + | ac_guessed_f90flags=yes | 
| 12010 | + | else | 
| 12011 | + | ac_guessed_f90flags=no | 
| 12012 | + | fi | 
| 12013 | + | rm -f conftest* | 
| 12014 | + | ac_ext=cc | 
| 12015 | + | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 12016 | + | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 12017 | + | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 12018 | + | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 12019 | + |  | 
| 12020 | + |  | 
| 12021 | + | fi | 
| 12022 | + | echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 | 
| 12023 | + | echo "${ECHO_T}$ac_guessed_f90flags" >&6 | 
| 12024 | + | if test "$ac_guessed_f90flags" = yes; then | 
| 12025 | + | : | 
| 12026 | + |  | 
| 12027 | + | else | 
| 12028 | + | : | 
| 12029 | + |  | 
| 12030 | + | echo "" | 
| 12031 | + | echo "**********************************************************" | 
| 12032 | + | echo "* WARNING: The guessed FCFLAGS don't seem to work with  *" | 
| 12033 | + | echo "* your compiler.                                        *" | 
| 12034 | + | echo "* Use  make FCFLAGS=..., or edit the top level Makefile *" | 
| 12035 | + | echo "*********************************************************" | 
| 12036 | + | echo "" | 
| 12037 | + | FCFLAGS="" | 
| 12038 | + |  | 
| 12039 | + | fi | 
| 12040 | + |  | 
| 12041 | + |  | 
| 12042 | + | fi | 
| 12043 | + |  | 
| 12044 |  |  | 
| 12045 |  |  | 
| 12046 |  |  | 
| 12125 |  | *darwin*) | 
| 12126 |  | if test "$CC" = xlc -o "$CC" = cc; then | 
| 12127 |  | CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 12128 | + | fi | 
| 12129 | + | if test "$CC" = icc; then | 
| 12130 | + | CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" | 
| 12131 |  | fi;; | 
| 12132 |  | esac | 
| 12133 |  |  | 
| 12141 |  | # -malign-double for x86 systems | 
| 12142 |  |  | 
| 12143 |  |  | 
| 12144 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5 | 
| 12145 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6 | 
| 12144 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5 | 
| 12145 | > | echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6 | 
| 12146 |  | if test "${ac_align_double+set}" = set; then | 
| 12147 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12148 |  | else | 
| 12149 |  | echo 'void f(){}' > conftest.c | 
| 12150 | < | if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then | 
| 12150 | > | if test -z "`${CC} -malign-double -c conftest.c 2>&1`"; then | 
| 12151 |  | ac_align_double=yes | 
| 12152 |  | else | 
| 12153 |  | ac_align_double=no | 
| 12168 |  | # -fstrict-aliasing for gcc-2.95+ | 
| 12169 |  |  | 
| 12170 |  |  | 
| 12171 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 | 
| 12172 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6 | 
| 12171 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5 | 
| 12172 | > | echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6 | 
| 12173 |  | if test "${ac_fstrict_aliasing+set}" = set; then | 
| 12174 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12175 |  | else | 
| 12176 |  | echo 'void f(){}' > conftest.c | 
| 12177 | < | if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then | 
| 12177 | > | if test -z "`${CC} -fstrict-aliasing -c conftest.c 2>&1`"; then | 
| 12178 |  | ac_fstrict_aliasing=yes | 
| 12179 |  | else | 
| 12180 |  | ac_fstrict_aliasing=no | 
| 12199 |  | case "${host_cpu}" in | 
| 12200 |  | i586*) | 
| 12201 |  |  | 
| 12202 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 | 
| 12203 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6 | 
| 12202 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5 | 
| 12203 | > | echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6 | 
| 12204 |  | if test "${ac_cpu_pentium+set}" = set; then | 
| 12205 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12206 |  | else | 
| 12207 |  | echo 'void f(){}' > conftest.c | 
| 12208 | < | if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then | 
| 12208 | > | if test -z "`${CC} -mcpu=pentium -c conftest.c 2>&1`"; then | 
| 12209 |  | ac_cpu_pentium=yes | 
| 12210 |  | else | 
| 12211 |  | ac_cpu_pentium=no | 
| 12222 |  | : | 
| 12223 |  |  | 
| 12224 |  |  | 
| 12225 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5 | 
| 12226 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6 | 
| 12225 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5 | 
| 12226 | > | echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6 | 
| 12227 |  | if test "${ac_pentium+set}" = set; then | 
| 12228 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12229 |  | else | 
| 12230 |  | echo 'void f(){}' > conftest.c | 
| 12231 | < | if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then | 
| 12231 | > | if test -z "`${CC} -mpentium -c conftest.c 2>&1`"; then | 
| 12232 |  | ac_pentium=yes | 
| 12233 |  | else | 
| 12234 |  | ac_pentium=no | 
| 12251 |  | ;; | 
| 12252 |  | i686*) | 
| 12253 |  |  | 
| 12254 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 | 
| 12255 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6 | 
| 12254 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5 | 
| 12255 | > | echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6 | 
| 12256 |  | if test "${ac_cpu_pentiumpro+set}" = set; then | 
| 12257 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12258 |  | else | 
| 12259 |  | echo 'void f(){}' > conftest.c | 
| 12260 | < | if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then | 
| 12260 | > | if test -z "`${CC} -mcpu=pentiumpro -c conftest.c 2>&1`"; then | 
| 12261 |  | ac_cpu_pentiumpro=yes | 
| 12262 |  | else | 
| 12263 |  | ac_cpu_pentiumpro=no | 
| 12274 |  | : | 
| 12275 |  |  | 
| 12276 |  |  | 
| 12277 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5 | 
| 12278 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6 | 
| 12277 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5 | 
| 12278 | > | echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6 | 
| 12279 |  | if test "${ac_pentiumpro+set}" = set; then | 
| 12280 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12281 |  | else | 
| 12282 |  | echo 'void f(){}' > conftest.c | 
| 12283 | < | if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then | 
| 12283 | > | if test -z "`${CC} -mpentiumpro -c conftest.c 2>&1`"; then | 
| 12284 |  | ac_pentiumpro=yes | 
| 12285 |  | else | 
| 12286 |  | ac_pentiumpro=no | 
| 12307 |  | if test -n "$is60x"; then | 
| 12308 |  |  | 
| 12309 |  |  | 
| 12310 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 | 
| 12311 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6 | 
| 12310 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5 | 
| 12311 | > | echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6 | 
| 12312 |  | if test "${ac_m_cpu_60x+set}" = set; then | 
| 12313 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12314 |  | else | 
| 12315 |  | echo 'void f(){}' > conftest.c | 
| 12316 | < | if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then | 
| 12316 | > | if test -z "`${CC} -mcpu=$cputype -c conftest.c 2>&1`"; then | 
| 12317 |  | ac_m_cpu_60x=yes | 
| 12318 |  | else | 
| 12319 |  | ac_m_cpu_60x=no | 
| 12365 |  | : | 
| 12366 |  |  | 
| 12367 |  |  | 
| 12368 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5 | 
| 12369 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6 | 
| 12368 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5 | 
| 12369 | > | echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6 | 
| 12370 |  | if test "${ac_m_cpu_750+set}" = set; then | 
| 12371 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12372 |  | else | 
| 12373 |  | echo 'void f(){}' > conftest.c | 
| 12374 | < | if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then | 
| 12374 | > | if test -z "`${CC} -mcpu=750 -c conftest.c 2>&1`"; then | 
| 12375 |  | ac_m_cpu_750=yes | 
| 12376 |  | else | 
| 12377 |  | ac_m_cpu_750=no | 
| 12398 |  | if test -z "$CPU_FLAGS"; then | 
| 12399 |  |  | 
| 12400 |  |  | 
| 12401 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 | 
| 12402 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6 | 
| 12401 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5 | 
| 12402 | > | echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6 | 
| 12403 |  | if test "${ac_m_cpu_powerpc+set}" = set; then | 
| 12404 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12405 |  | else | 
| 12406 |  | echo 'void f(){}' > conftest.c | 
| 12407 | < | if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then | 
| 12407 | > | if test -z "`${CC} -mcpu=powerpc -c conftest.c 2>&1`"; then | 
| 12408 |  | ac_m_cpu_powerpc=yes | 
| 12409 |  | else | 
| 12410 |  | ac_m_cpu_powerpc=no | 
| 12426 |  | if test -z "$CPU_FLAGS"; then | 
| 12427 |  |  | 
| 12428 |  |  | 
| 12429 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5 | 
| 12430 | < | echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6 | 
| 12429 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5 | 
| 12430 | > | echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6 | 
| 12431 |  | if test "${ac_m_powerpc+set}" = set; then | 
| 12432 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12433 |  | else | 
| 12434 |  | echo 'void f(){}' > conftest.c | 
| 12435 | < | if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then | 
| 12435 | > | if test -z "`${CC} -mpowerpc -c conftest.c 2>&1`"; then | 
| 12436 |  | ac_m_powerpc=yes | 
| 12437 |  | else | 
| 12438 |  | ac_m_powerpc=no | 
| 12471 |  |  | 
| 12472 |  |  | 
| 12473 |  |  | 
| 12474 | < | echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 | 
| 12475 | < | echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6 | 
| 12474 | > | echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 | 
| 12475 | > | echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6 | 
| 12476 |  | if test "${ac_guessed_cflags+set}" = set; then | 
| 12477 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12478 |  | else | 
| 12479 |  | echo 'void f(){}' > conftest.c | 
| 12480 | < | if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then | 
| 12480 | > | if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then | 
| 12481 |  | ac_guessed_cflags=yes | 
| 12482 |  | else | 
| 12483 |  | ac_guessed_cflags=no | 
| 12582 |  | *darwin*) | 
| 12583 |  | if test "$CXX" = xlc++ -o "$CXX" = xlC ; then | 
| 12584 |  | CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 12585 | + | fi | 
| 12586 | + | if test "$CXX" = icpc; then | 
| 12587 | + | CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" | 
| 12588 |  | fi;; | 
| 12589 |  | esac | 
| 12590 |  |  | 
| 12598 |  | # -malign-double for x86 systems | 
| 12599 |  |  | 
| 12600 |  |  | 
| 12601 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5 | 
| 12602 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6 | 
| 12601 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5 | 
| 12602 | > | echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6 | 
| 12603 |  | if test "${ac_align_double+set}" = set; then | 
| 12604 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12605 |  | else | 
| 12606 |  | echo 'void f(){}' > conftest.cpp | 
| 12607 | < | if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then | 
| 12607 | > | if test -z "`${CXX} -malign-double -c conftest.cpp 2>&1`"; then | 
| 12608 |  | ac_align_double=yes | 
| 12609 |  | else | 
| 12610 |  | ac_align_double=no | 
| 12625 |  | # -fstrict-aliasing for gcc-2.95+ | 
| 12626 |  |  | 
| 12627 |  |  | 
| 12628 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 | 
| 12629 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6 | 
| 12628 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5 | 
| 12629 | > | echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6 | 
| 12630 |  | if test "${ac_fstrict_aliasing+set}" = set; then | 
| 12631 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12632 |  | else | 
| 12633 |  | echo 'void f(){}' > conftest.cpp | 
| 12634 | < | if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then | 
| 12634 | > | if test -z "`${CXX} -fstrict-aliasing -c conftest.cpp 2>&1`"; then | 
| 12635 |  | ac_fstrict_aliasing=yes | 
| 12636 |  | else | 
| 12637 |  | ac_fstrict_aliasing=no | 
| 12656 |  | case "${host_cpu}" in | 
| 12657 |  | i586*) | 
| 12658 |  |  | 
| 12659 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5 | 
| 12660 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6 | 
| 12659 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5 | 
| 12660 | > | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6 | 
| 12661 |  | if test "${ac_cpu_pentium+set}" = set; then | 
| 12662 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12663 |  | else | 
| 12664 |  | echo 'void f(){}' > conftest.cpp | 
| 12665 | < | if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then | 
| 12665 | > | if test -z "`${CXX} -mcpu=pentium -c conftest.cpp 2>&1`"; then | 
| 12666 |  | ac_cpu_pentium=yes | 
| 12667 |  | else | 
| 12668 |  | ac_cpu_pentium=no | 
| 12679 |  | : | 
| 12680 |  |  | 
| 12681 |  |  | 
| 12682 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5 | 
| 12683 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6 | 
| 12682 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5 | 
| 12683 | > | echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6 | 
| 12684 |  | if test "${ac_pentium+set}" = set; then | 
| 12685 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12686 |  | else | 
| 12687 |  | echo 'void f(){}' > conftest.cpp | 
| 12688 | < | if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then | 
| 12688 | > | if test -z "`${CXX} -mpentium -c conftest.cpp 2>&1`"; then | 
| 12689 |  | ac_pentium=yes | 
| 12690 |  | else | 
| 12691 |  | ac_pentium=no | 
| 12708 |  | ;; | 
| 12709 |  | i686*) | 
| 12710 |  |  | 
| 12711 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 | 
| 12712 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6 | 
| 12711 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5 | 
| 12712 | > | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6 | 
| 12713 |  | if test "${ac_cpu_pentiumpro+set}" = set; then | 
| 12714 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12715 |  | else | 
| 12716 |  | echo 'void f(){}' > conftest.cpp | 
| 12717 | < | if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then | 
| 12717 | > | if test -z "`${CXX} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then | 
| 12718 |  | ac_cpu_pentiumpro=yes | 
| 12719 |  | else | 
| 12720 |  | ac_cpu_pentiumpro=no | 
| 12731 |  | : | 
| 12732 |  |  | 
| 12733 |  |  | 
| 12734 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 | 
| 12735 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6 | 
| 12734 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5 | 
| 12735 | > | echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6 | 
| 12736 |  | if test "${ac_pentiumpro+set}" = set; then | 
| 12737 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12738 |  | else | 
| 12739 |  | echo 'void f(){}' > conftest.cpp | 
| 12740 | < | if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then | 
| 12740 | > | if test -z "`${CXX} -mpentiumpro -c conftest.cpp 2>&1`"; then | 
| 12741 |  | ac_pentiumpro=yes | 
| 12742 |  | else | 
| 12743 |  | ac_pentiumpro=no | 
| 12764 |  | if test -n "$is60x"; then | 
| 12765 |  |  | 
| 12766 |  |  | 
| 12767 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 | 
| 12768 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6 | 
| 12767 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5 | 
| 12768 | > | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6 | 
| 12769 |  | if test "${ac_m_cpu_60x+set}" = set; then | 
| 12770 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12771 |  | else | 
| 12772 |  | echo 'void f(){}' > conftest.cpp | 
| 12773 | < | if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then | 
| 12773 | > | if test -z "`${CXX} -mcpu=$cputype -c conftest.cpp 2>&1`"; then | 
| 12774 |  | ac_m_cpu_60x=yes | 
| 12775 |  | else | 
| 12776 |  | ac_m_cpu_60x=no | 
| 12779 |  |  | 
| 12780 |  | fi | 
| 12781 |  | echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 | 
| 12782 | < | echo "${ECHO_T}$ac_m_cpu_60x" >&6 | 
| 12783 | < | if test "$ac_m_cpu_60x" = yes; then | 
| 12784 | < | : | 
| 12785 | < | CPU_FLAGS=-mcpu=$cputype | 
| 8964 | < | else | 
| 8965 | < | : | 
| 8966 | < |  | 
| 8967 | < | fi | 
| 8968 | < |  | 
| 8969 | < | elif test "$cputype" = 750; then | 
| 8970 | < |  | 
| 8971 | < |  | 
| 8972 | < | echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 | 
| 8973 | < | echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6 | 
| 8974 | < | if test "${ac_cv_prog_gxx_2_95+set}" = set; then | 
| 8975 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8976 | < | else | 
| 8977 | < |  | 
| 8978 | < | cat > conftest.cpp <<EOF | 
| 8979 | < | #ifdef __GNUC__ && !defined (__INTEL_COMPILER) | 
| 8980 | < | #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | 
| 8981 | < | yes; | 
| 8982 | < | #  endif | 
| 8983 | < | #endif | 
| 8984 | < | EOF | 
| 8985 | < | if { ac_try='${CXX-c++} -E conftest.cpp' | 
| 8986 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8987 | < | (eval $ac_try) 2>&5 | 
| 8988 | < | ac_status=$? | 
| 8989 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 8990 | < | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 8991 | < | ac_cv_prog_gxx_2_95=yes | 
| 8992 | < | else | 
| 8993 | < | ac_cv_prog_gxx_2_95=no | 
| 8994 | < | fi | 
| 8995 | < |  | 
| 8996 | < | fi | 
| 8997 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 | 
| 8998 | < | echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6 | 
| 8999 | < | if test "$ac_cv_prog_gxx_2_95" = yes; then | 
| 9000 | < | : | 
| 9001 | < |  | 
| 9002 | < |  | 
| 9003 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5 | 
| 9004 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6 | 
| 9005 | < | if test "${ac_m_cpu_750+set}" = set; then | 
| 9006 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9007 | < | else | 
| 9008 | < | echo 'void f(){}' > conftest.cpp | 
| 9009 | < | if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then | 
| 9010 | < | ac_m_cpu_750=yes | 
| 9011 | < | else | 
| 9012 | < | ac_m_cpu_750=no | 
| 9013 | < | fi | 
| 9014 | < | rm -f conftest* | 
| 9015 | < |  | 
| 9016 | < | fi | 
| 9017 | < | echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 | 
| 9018 | < | echo "${ECHO_T}$ac_m_cpu_750" >&6 | 
| 9019 | < | if test "$ac_m_cpu_750" = yes; then | 
| 9020 | < | : | 
| 9021 | < | CPU_FLAGS=-mcpu=750 | 
| 9022 | < | else | 
| 9023 | < | : | 
| 9024 | < |  | 
| 9025 | < | fi | 
| 9026 | < |  | 
| 9027 | < | else | 
| 9028 | < | : | 
| 9029 | < |  | 
| 9030 | < | fi | 
| 9031 | < |  | 
| 9032 | < | fi | 
| 9033 | < | if test -z "$CPU_FLAGS"; then | 
| 9034 | < |  | 
| 9035 | < |  | 
| 9036 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 | 
| 9037 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6 | 
| 9038 | < | if test "${ac_m_cpu_powerpc+set}" = set; then | 
| 9039 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9040 | < | else | 
| 9041 | < | echo 'void f(){}' > conftest.cpp | 
| 9042 | < | if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then | 
| 9043 | < | ac_m_cpu_powerpc=yes | 
| 9044 | < | else | 
| 9045 | < | ac_m_cpu_powerpc=no | 
| 9046 | < | fi | 
| 9047 | < | rm -f conftest* | 
| 9048 | < |  | 
| 9049 | < | fi | 
| 9050 | < | echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 | 
| 9051 | < | echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 | 
| 9052 | < | if test "$ac_m_cpu_powerpc" = yes; then | 
| 9053 | < | : | 
| 9054 | < | CPU_FLAGS=-mcpu=powerpc | 
| 9055 | < | else | 
| 9056 | < | : | 
| 9057 | < |  | 
| 9058 | < | fi | 
| 9059 | < |  | 
| 9060 | < | fi | 
| 9061 | < | if test -z "$CPU_FLAGS"; then | 
| 9062 | < |  | 
| 9063 | < |  | 
| 9064 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5 | 
| 9065 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6 | 
| 9066 | < | if test "${ac_m_powerpc+set}" = set; then | 
| 9067 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9068 | < | else | 
| 9069 | < | echo 'void f(){}' > conftest.cpp | 
| 9070 | < | if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then | 
| 9071 | < | ac_m_powerpc=yes | 
| 9072 | < | else | 
| 9073 | < | ac_m_powerpc=no | 
| 9074 | < | fi | 
| 9075 | < | rm -f conftest* | 
| 9076 | < |  | 
| 9077 | < | fi | 
| 9078 | < | echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 | 
| 9079 | < | echo "${ECHO_T}$ac_m_powerpc" >&6 | 
| 9080 | < | if test "$ac_m_powerpc" = yes; then | 
| 9081 | < | : | 
| 9082 | < | CPU_FLAGS=-mpowerpc | 
| 9083 | < | else | 
| 9084 | < | : | 
| 9085 | < |  | 
| 9086 | < | fi | 
| 9087 | < |  | 
| 9088 | < | fi | 
| 9089 | < | esac | 
| 9090 | < | fi | 
| 9091 | < |  | 
| 9092 | < | if test -n "$CPU_FLAGS"; then | 
| 9093 | < | CXXFLAGS="$CXXFLAGS $CPU_FLAGS" | 
| 9094 | < | fi | 
| 9095 | < |  | 
| 9096 | < | if test -z "$CXXFLAGS"; then | 
| 9097 | < | echo "" | 
| 9098 | < | echo "**********************************************************" | 
| 9099 | < | echo "* WARNING: Don't know the best CXXFLAGS for this system  *" | 
| 9100 | < | echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *" | 
| 9101 | < | echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *" | 
| 9102 | < | echo "**********************************************************" | 
| 9103 | < | echo "" | 
| 9104 | < | CXXFLAGS="-O3" | 
| 9105 | < | fi | 
| 9106 | < |  | 
| 9107 | < |  | 
| 9108 | < |  | 
| 9109 | < | echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 | 
| 9110 | < | echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6 | 
| 9111 | < | if test "${ac_guessed_cxxflags+set}" = set; then | 
| 9112 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9113 | < | else | 
| 9114 | < | echo 'void f(){}' > conftest.cpp | 
| 9115 | < | if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then | 
| 9116 | < | ac_guessed_cxxflags=yes | 
| 9117 | < | else | 
| 9118 | < | ac_guessed_cxxflags=no | 
| 9119 | < | fi | 
| 9120 | < | rm -f conftest* | 
| 9121 | < |  | 
| 9122 | < | fi | 
| 9123 | < | echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 | 
| 9124 | < | echo "${ECHO_T}$ac_guessed_cxxflags" >&6 | 
| 9125 | < | if test "$ac_guessed_cxxflags" = yes; then | 
| 9126 | < | : | 
| 9127 | < |  | 
| 9128 | < | else | 
| 9129 | < | : | 
| 9130 | < |  | 
| 9131 | < | echo "" | 
| 9132 | < | echo "**********************************************************" | 
| 9133 | < | echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *" | 
| 9134 | < | echo "* your compiler.                                         *" | 
| 9135 | < | echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *" | 
| 9136 | < | echo "**********************************************************" | 
| 9137 | < | echo "" | 
| 9138 | < | CXXFLAGS="" | 
| 9139 | < |  | 
| 9140 | < | fi | 
| 9141 | < |  | 
| 9142 | < |  | 
| 9143 | < | fi | 
| 9144 | < |  | 
| 9145 | < |  | 
| 9146 | < |  | 
| 9147 | < |  | 
| 9148 | < |  | 
| 9149 | < | # Try to determine "good" native compiler flags if none specified on command | 
| 9150 | < | # line | 
| 9151 | < |  | 
| 9152 | < | if test x"$F90FLAGS" = x ; then | 
| 9153 | < | F90FLAGS="" | 
| 9154 | < | case "${host_cpu}-${host_os}" in | 
| 9155 | < |  | 
| 9156 | < | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 9157 | < | F90FLAGS="-O" | 
| 9158 | < | fi;; | 
| 9159 | < | rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 9160 | < | F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" | 
| 9161 | < | fi;; | 
| 9162 | < | powerpc*-aix*) | 
| 9163 | < | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 9164 | < | F90FLAGS="-O3 -qarch=ppc -qansialias -w" | 
| 9165 | < | echo "*******************************************************" | 
| 9166 | < | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 9167 | < | echo "*  recommended that you use                           *" | 
| 9168 | < | echo "*                                                     *" | 
| 9169 | < | echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 9170 | < | echo "*                                 ^^^                 *" | 
| 9171 | < | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 9172 | < | echo "*  PowerPC CPU you have.   For more info, man xlf.    *" | 
| 9173 | < | echo "*******************************************************" | 
| 9174 | < | fi;; | 
| 9175 | < | *darwin*) | 
| 9176 | < | if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then | 
| 9177 | < | F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" | 
| 9178 | < | fi;; | 
| 9179 | < | esac | 
| 9180 | < |  | 
| 9181 | < | if test -n "$CPU_FLAGS"; then | 
| 9182 | < | F90FLAGS="$F90FLAGS $CPU_FLAGS" | 
| 9183 | < | fi | 
| 9184 | < |  | 
| 9185 | < | if test -z "$F90FLAGS"; then | 
| 9186 | < | echo "" | 
| 9187 | < | echo "**********************************************************" | 
| 9188 | < | echo "* WARNING: Don't know the best F90FLAGS for this system  *" | 
| 9189 | < | echo "* Use  make F90FLAGS=..., or edit the top level Makefile *" | 
| 9190 | < | echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *" | 
| 9191 | < | echo "**********************************************************" | 
| 9192 | < | echo "" | 
| 9193 | < | F90FLAGS="-O3" | 
| 9194 | < | fi | 
| 9195 | < |  | 
| 9196 | < |  | 
| 9197 | < | echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 | 
| 9198 | < | echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6 | 
| 9199 | < | if test "${ac_guessed_f90flags+set}" = set; then | 
| 9200 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9201 | < | else | 
| 9202 | < |  | 
| 9203 | < |  | 
| 9204 | < |  | 
| 9205 | < | ac_ext=f90 | 
| 9206 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 9207 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9208 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 9209 | < |  | 
| 9210 | < | echo 'program main' > conftest.$ac_ext | 
| 9211 | < | echo 'end program main' >> conftest.$ac_ext | 
| 9212 | < | ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5' | 
| 9213 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9214 | < | (eval $ac_compile) 2>&5 | 
| 9215 | < | ac_status=$? | 
| 9216 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9217 | < | (exit $ac_status); }; then | 
| 9218 | < | ac_guessed_f90flags=yes | 
| 9219 | < | else | 
| 9220 | < | ac_guessed_f90flags=no | 
| 9221 | < | fi | 
| 9222 | < | rm -f conftest* | 
| 9223 | < | ac_ext=c | 
| 9224 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 9225 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9226 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9227 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 9228 | < |  | 
| 9229 | < |  | 
| 9230 | < | fi | 
| 9231 | < | echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 | 
| 9232 | < | echo "${ECHO_T}$ac_guessed_f90flags" >&6 | 
| 9233 | < | if test "$ac_guessed_f90flags" = yes; then | 
| 9234 | < | : | 
| 9235 | < |  | 
| 9236 | < | else | 
| 9237 | < | : | 
| 9238 | < |  | 
| 9239 | < | echo "" | 
| 9240 | < | echo "**********************************************************" | 
| 9241 | < | echo "* WARNING: The guessed F90FLAGS don't seem to work with  *" | 
| 9242 | < | echo "* your compiler.                                         *" | 
| 9243 | < | echo "* Use  make F90FLAGS=..., or edit the top level Makefile *" | 
| 9244 | < | echo "**********************************************************" | 
| 9245 | < | echo "" | 
| 9246 | < | F90FLAGS="" | 
| 9247 | < |  | 
| 9248 | < | fi | 
| 9249 | < |  | 
| 9250 | < |  | 
| 9251 | < | fi | 
| 9252 | < |  | 
| 9253 | < | ;; | 
| 9254 | < | esac | 
| 9255 | < |  | 
| 9256 | < | ac_ext=cc | 
| 9257 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 9258 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9259 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9260 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 9261 | < |  | 
| 9262 | < | # AC_CPP_FUNC | 
| 9263 | < | # ------------------ # | 
| 9264 | < | # Checks to see if ANSI C99 CPP variable __func__ works. | 
| 9265 | < | # If not, perhaps __FUNCTION__ works instead. | 
| 9266 | < | # If not, we'll just define __func__ to "". | 
| 9267 | < | # AC_CPP_FUNC | 
| 9268 | < |  | 
| 9269 | < |  | 
| 9270 | < | echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 | 
| 9271 | < | echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6 | 
| 9272 | < | if test "${ac_cv_cpp_func+set}" = set; then | 
| 9273 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9274 | < | else | 
| 9275 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 9276 | < | /* confdefs.h.  */ | 
| 9277 | < | _ACEOF | 
| 9278 | < | cat confdefs.h >>conftest.$ac_ext | 
| 9279 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 9280 | < | /* end confdefs.h.  */ | 
| 9281 | < |  | 
| 9282 | < | int | 
| 9283 | < | main () | 
| 9284 | < | { | 
| 9285 | < | const char *foo = __func__; | 
| 9286 | < | ; | 
| 9287 | < | return 0; | 
| 9288 | < | } | 
| 9289 | < | _ACEOF | 
| 9290 | < | rm -f conftest.$ac_objext | 
| 9291 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9292 | < | (eval $ac_compile) 2>conftest.er1 | 
| 9293 | < | ac_status=$? | 
| 9294 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9295 | < | rm -f conftest.er1 | 
| 9296 | < | cat conftest.err >&5 | 
| 9297 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9298 | < | (exit $ac_status); } && | 
| 9299 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 9300 | < | || test ! -s conftest.err' | 
| 9301 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9302 | < | (eval $ac_try) 2>&5 | 
| 9303 | < | ac_status=$? | 
| 9304 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9305 | < | (exit $ac_status); }; } && | 
| 9306 | < | { ac_try='test -s conftest.$ac_objext' | 
| 9307 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9308 | < | (eval $ac_try) 2>&5 | 
| 9309 | < | ac_status=$? | 
| 9310 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9311 | < | (exit $ac_status); }; }; then | 
| 9312 | < | ac_cv_cpp_func=yes | 
| 9313 | < | else | 
| 9314 | < | echo "$as_me: failed program was:" >&5 | 
| 9315 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9316 | < |  | 
| 9317 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 9318 | < | /* confdefs.h.  */ | 
| 9319 | < | _ACEOF | 
| 9320 | < | cat confdefs.h >>conftest.$ac_ext | 
| 9321 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 9322 | < | /* end confdefs.h.  */ | 
| 9323 | < |  | 
| 9324 | < | int | 
| 9325 | < | main () | 
| 9326 | < | { | 
| 9327 | < | const char *foo = __FUNCTION__; | 
| 9328 | < | ; | 
| 9329 | < | return 0; | 
| 9330 | < | } | 
| 9331 | < | _ACEOF | 
| 9332 | < | rm -f conftest.$ac_objext | 
| 9333 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9334 | < | (eval $ac_compile) 2>conftest.er1 | 
| 9335 | < | ac_status=$? | 
| 9336 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9337 | < | rm -f conftest.er1 | 
| 9338 | < | cat conftest.err >&5 | 
| 9339 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9340 | < | (exit $ac_status); } && | 
| 9341 | < | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 9342 | < | || test ! -s conftest.err' | 
| 9343 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9344 | < | (eval $ac_try) 2>&5 | 
| 9345 | < | ac_status=$? | 
| 9346 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9347 | < | (exit $ac_status); }; } && | 
| 9348 | < | { ac_try='test -s conftest.$ac_objext' | 
| 9349 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9350 | < | (eval $ac_try) 2>&5 | 
| 9351 | < | ac_status=$? | 
| 9352 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9353 | < | (exit $ac_status); }; }; then | 
| 9354 | < | ac_cv_cpp_func=__FUNCTION__ | 
| 9355 | < | else | 
| 9356 | < | echo "$as_me: failed program was:" >&5 | 
| 9357 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9358 | < |  | 
| 9359 | < | ac_cv_cpp_func=no | 
| 9360 | < | fi | 
| 9361 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9362 | < | fi | 
| 9363 | < | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9364 | < | fi | 
| 9365 | < | echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 | 
| 9366 | < | echo "${ECHO_T}$ac_cv_cpp_func" >&6 | 
| 9367 | < | if test $ac_cv_cpp_func = __FUNCTION__; then | 
| 9368 | < |  | 
| 9369 | < | cat >>confdefs.h <<\_ACEOF | 
| 9370 | < | #define __func__ __FUNCTION__ | 
| 9371 | < | _ACEOF | 
| 9372 | < |  | 
| 9373 | < | elif test $ac_cv_cpp_func = no; then | 
| 9374 | < |  | 
| 9375 | < | cat >>confdefs.h <<\_ACEOF | 
| 9376 | < | #define __func__ "" | 
| 9377 | < | _ACEOF | 
| 9378 | < |  | 
| 9379 | < | fi | 
| 9380 | < |  | 
| 9381 | < |  | 
| 9382 | < | ac_ext=c | 
| 9383 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 9384 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9385 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9386 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 9387 | < |  | 
| 9388 | < |  | 
| 9389 | < | # Find a good install program.  We prefer a C program (faster), | 
| 9390 | < | # so one script is as good as another.  But avoid the broken or | 
| 9391 | < | # incompatible versions: | 
| 9392 | < | # SysV /etc/install, /usr/sbin/install | 
| 9393 | < | # SunOS /usr/etc/install | 
| 9394 | < | # IRIX /sbin/install | 
| 9395 | < | # AIX /bin/install | 
| 9396 | < | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
| 9397 | < | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| 9398 | < | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| 9399 | < | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| 9400 | < | # OS/2's system install, which has a completely different semantic | 
| 9401 | < | # ./install, which can be erroneously created by make from ./install.sh. | 
| 9402 | < | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
| 9403 | < | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
| 9404 | < | if test -z "$INSTALL"; then | 
| 9405 | < | if test "${ac_cv_path_install+set}" = set; then | 
| 9406 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9407 | < | else | 
| 9408 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 9409 | < | for as_dir in $PATH | 
| 9410 | < | do | 
| 9411 | < | IFS=$as_save_IFS | 
| 9412 | < | test -z "$as_dir" && as_dir=. | 
| 9413 | < | # Account for people who put trailing slashes in PATH elements. | 
| 9414 | < | case $as_dir/ in | 
| 9415 | < | ./ | .// | /cC/* | \ | 
| 9416 | < | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
| 9417 | < | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
| 9418 | < | /usr/ucb/* ) ;; | 
| 9419 | < | *) | 
| 9420 | < | # OSF1 and SCO ODT 3.0 have their own names for install. | 
| 9421 | < | # Don't use installbsd from OSF since it installs stuff as root | 
| 9422 | < | # by default. | 
| 9423 | < | for ac_prog in ginstall scoinst install; do | 
| 9424 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 9425 | < | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
| 9426 | < | if test $ac_prog = install && | 
| 9427 | < | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
| 9428 | < | # AIX install.  It has an incompatible calling convention. | 
| 9429 | < | : | 
| 9430 | < | elif test $ac_prog = install && | 
| 9431 | < | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
| 9432 | < | # program-specific install script used by HP pwplus--don't use. | 
| 9433 | < | : | 
| 9434 | < | else | 
| 9435 | < | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
| 9436 | < | break 3 | 
| 9437 | < | fi | 
| 9438 | < | fi | 
| 9439 | < | done | 
| 9440 | < | done | 
| 9441 | < | ;; | 
| 9442 | < | esac | 
| 9443 | < | done | 
| 9444 | < |  | 
| 9445 | < |  | 
| 9446 | < | fi | 
| 9447 | < | if test "${ac_cv_path_install+set}" = set; then | 
| 9448 | < | INSTALL=$ac_cv_path_install | 
| 9449 | < | else | 
| 9450 | < | # As a last resort, use the slow shell script.  We don't cache a | 
| 9451 | < | # path for INSTALL within a source directory, because that will | 
| 9452 | < | # break other packages using the cache if that directory is | 
| 9453 | < | # removed, or if the path is relative. | 
| 9454 | < | INSTALL=$ac_install_sh | 
| 9455 | < | fi | 
| 9456 | < | fi | 
| 9457 | < | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
| 9458 | < | echo "${ECHO_T}$INSTALL" >&6 | 
| 9459 | < |  | 
| 9460 | < | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
| 9461 | < | # It thinks the first close brace ends the variable substitution. | 
| 9462 | < | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
| 9463 | < |  | 
| 9464 | < | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
| 9465 | < |  | 
| 9466 | < | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 9467 | < |  | 
| 9468 | < | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
| 9469 | < | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
| 9470 | < | LN_S=$as_ln_s | 
| 9471 | < | if test "$LN_S" = "ln -s"; then | 
| 9472 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 9473 | < | echo "${ECHO_T}yes" >&6 | 
| 12782 | > | echo "${ECHO_T}$ac_m_cpu_60x" >&6 | 
| 12783 | > | if test "$ac_m_cpu_60x" = yes; then | 
| 12784 | > | : | 
| 12785 | > | CPU_FLAGS=-mcpu=$cputype | 
| 12786 |  | else | 
| 12787 | < | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
| 12788 | < | echo "${ECHO_T}no, using $LN_S" >&6 | 
| 12787 | > | : | 
| 12788 | > |  | 
| 12789 |  | fi | 
| 12790 |  |  | 
| 12791 | < | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
| 12792 | < | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
| 12793 | < | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
| 12794 | < | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
| 12791 | > | elif test "$cputype" = 750; then | 
| 12792 | > |  | 
| 12793 | > |  | 
| 12794 | > | echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 | 
| 12795 | > | echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6 | 
| 12796 | > | if test "${ac_cv_prog_gxx_2_95+set}" = set; then | 
| 12797 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12798 |  | else | 
| 12799 | < | cat >conftest.make <<\_ACEOF | 
| 12800 | < | all: | 
| 12801 | < | @echo 'ac_maketemp="$(MAKE)"' | 
| 12802 | < | _ACEOF | 
| 12803 | < | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
| 12804 | < | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
| 12805 | < | if test -n "$ac_maketemp"; then | 
| 12806 | < | eval ac_cv_prog_make_${ac_make}_set=yes | 
| 12799 | > |  | 
| 12800 | > | cat > conftest.cpp <<EOF | 
| 12801 | > | #ifdef __GNUC__ && !defined (__INTEL_COMPILER) | 
| 12802 | > | #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | 
| 12803 | > | yes; | 
| 12804 | > | #  endif | 
| 12805 | > | #endif | 
| 12806 | > | EOF | 
| 12807 | > | if { ac_try='${CXX-c++} -E conftest.cpp' | 
| 12808 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 12809 | > | (eval $ac_try) 2>&5 | 
| 12810 | > | ac_status=$? | 
| 12811 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12812 | > | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 12813 | > | ac_cv_prog_gxx_2_95=yes | 
| 12814 |  | else | 
| 12815 | < | eval ac_cv_prog_make_${ac_make}_set=no | 
| 12815 | > | ac_cv_prog_gxx_2_95=no | 
| 12816 |  | fi | 
| 12817 | < | rm -f conftest.make | 
| 12817 | > |  | 
| 12818 |  | fi | 
| 12819 | < | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
| 12820 | < | echo "$as_me:$LINENO: result: yes" >&5 | 
| 12821 | < | echo "${ECHO_T}yes" >&6 | 
| 12822 | < | SET_MAKE= | 
| 9502 | < | else | 
| 9503 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 9504 | < | echo "${ECHO_T}no" >&6 | 
| 9505 | < | SET_MAKE="MAKE=${MAKE-make}" | 
| 9506 | < | fi | 
| 12819 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 | 
| 12820 | > | echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6 | 
| 12821 | > | if test "$ac_cv_prog_gxx_2_95" = yes; then | 
| 12822 | > | : | 
| 12823 |  |  | 
| 12824 | < | if test -n "$ac_tool_prefix"; then | 
| 12825 | < | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
| 12826 | < | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
| 12827 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 9512 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 9513 | < | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
| 12824 | > |  | 
| 12825 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5 | 
| 12826 | > | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6 | 
| 12827 | > | if test "${ac_m_cpu_750+set}" = set; then | 
| 12828 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12829 |  | else | 
| 12830 | < | if test -n "$RANLIB"; then | 
| 12831 | < | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| 12830 | > | echo 'void f(){}' > conftest.cpp | 
| 12831 | > | if test -z "`${CXX} -mcpu=750 -c conftest.cpp 2>&1`"; then | 
| 12832 | > | ac_m_cpu_750=yes | 
| 12833 |  | else | 
| 12834 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 9520 | < | for as_dir in $PATH | 
| 9521 | < | do | 
| 9522 | < | IFS=$as_save_IFS | 
| 9523 | < | test -z "$as_dir" && as_dir=. | 
| 9524 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 9525 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 9526 | < | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
| 9527 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 9528 | < | break 2 | 
| 9529 | < | fi | 
| 9530 | < | done | 
| 9531 | < | done | 
| 9532 | < |  | 
| 12834 | > | ac_m_cpu_750=no | 
| 12835 |  | fi | 
| 12836 | < | fi | 
| 9535 | < | RANLIB=$ac_cv_prog_RANLIB | 
| 9536 | < | if test -n "$RANLIB"; then | 
| 9537 | < | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
| 9538 | < | echo "${ECHO_T}$RANLIB" >&6 | 
| 9539 | < | else | 
| 9540 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 9541 | < | echo "${ECHO_T}no" >&6 | 
| 9542 | < | fi | 
| 12836 | > | rm -f conftest* | 
| 12837 |  |  | 
| 12838 |  | fi | 
| 12839 | < | if test -z "$ac_cv_prog_RANLIB"; then | 
| 12840 | < | ac_ct_RANLIB=$RANLIB | 
| 12841 | < | # Extract the first word of "ranlib", so it can be a program name with args. | 
| 12842 | < | set dummy ranlib; ac_word=$2 | 
| 12843 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 9550 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 9551 | < | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
| 9552 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12839 | > | echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 | 
| 12840 | > | echo "${ECHO_T}$ac_m_cpu_750" >&6 | 
| 12841 | > | if test "$ac_m_cpu_750" = yes; then | 
| 12842 | > | : | 
| 12843 | > | CPU_FLAGS=-mcpu=750 | 
| 12844 |  | else | 
| 12845 | < | if test -n "$ac_ct_RANLIB"; then | 
| 9555 | < | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
| 9556 | < | else | 
| 9557 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 9558 | < | for as_dir in $PATH | 
| 9559 | < | do | 
| 9560 | < | IFS=$as_save_IFS | 
| 9561 | < | test -z "$as_dir" && as_dir=. | 
| 9562 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 9563 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 9564 | < | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
| 9565 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 9566 | < | break 2 | 
| 9567 | < | fi | 
| 9568 | < | done | 
| 9569 | < | done | 
| 12845 | > | : | 
| 12846 |  |  | 
| 9571 | – | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
| 12847 |  | fi | 
| 9573 | – | fi | 
| 9574 | – | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
| 9575 | – | if test -n "$ac_ct_RANLIB"; then | 
| 9576 | – | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
| 9577 | – | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
| 9578 | – | else | 
| 9579 | – | echo "$as_me:$LINENO: result: no" >&5 | 
| 9580 | – | echo "${ECHO_T}no" >&6 | 
| 9581 | – | fi | 
| 12848 |  |  | 
| 9583 | – | RANLIB=$ac_ct_RANLIB | 
| 12849 |  | else | 
| 12850 | < | RANLIB="$ac_cv_prog_RANLIB" | 
| 12850 | > | : | 
| 12851 | > |  | 
| 12852 |  | fi | 
| 12853 |  |  | 
| 12854 | < | for ac_prog in 'bison -y' byacc | 
| 12855 | < | do | 
| 12856 | < | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 12857 | < | set dummy $ac_prog; ac_word=$2 | 
| 12858 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 12859 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 12860 | < | if test "${ac_cv_prog_YACC+set}" = set; then | 
| 12854 | > | fi | 
| 12855 | > | if test -z "$CPU_FLAGS"; then | 
| 12856 | > |  | 
| 12857 | > |  | 
| 12858 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5 | 
| 12859 | > | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6 | 
| 12860 | > | if test "${ac_m_cpu_powerpc+set}" = set; then | 
| 12861 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12862 |  | else | 
| 12863 | < | if test -n "$YACC"; then | 
| 12864 | < | ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
| 12863 | > | echo 'void f(){}' > conftest.cpp | 
| 12864 | > | if test -z "`${CXX} -mcpu=powerpc -c conftest.cpp 2>&1`"; then | 
| 12865 | > | ac_m_cpu_powerpc=yes | 
| 12866 |  | else | 
| 12867 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 12868 | < | for as_dir in $PATH | 
| 12869 | < | do | 
| 9603 | < | IFS=$as_save_IFS | 
| 9604 | < | test -z "$as_dir" && as_dir=. | 
| 9605 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 9606 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 9607 | < | ac_cv_prog_YACC="$ac_prog" | 
| 9608 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 9609 | < | break 2 | 
| 9610 | < | fi | 
| 9611 | < | done | 
| 9612 | < | done | 
| 12867 | > | ac_m_cpu_powerpc=no | 
| 12868 | > | fi | 
| 12869 | > | rm -f conftest* | 
| 12870 |  |  | 
| 12871 |  | fi | 
| 12872 | < | fi | 
| 12873 | < | YACC=$ac_cv_prog_YACC | 
| 12874 | < | if test -n "$YACC"; then | 
| 12875 | < | echo "$as_me:$LINENO: result: $YACC" >&5 | 
| 12876 | < | echo "${ECHO_T}$YACC" >&6 | 
| 12872 | > | echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 | 
| 12873 | > | echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 | 
| 12874 | > | if test "$ac_m_cpu_powerpc" = yes; then | 
| 12875 | > | : | 
| 12876 | > | CPU_FLAGS=-mcpu=powerpc | 
| 12877 |  | else | 
| 12878 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 12879 | < | echo "${ECHO_T}no" >&6 | 
| 12878 | > | : | 
| 12879 | > |  | 
| 12880 |  | fi | 
| 12881 |  |  | 
| 12882 | < | test -n "$YACC" && break | 
| 12883 | < | done | 
| 9627 | < | test -n "$YACC" || YACC="yacc" | 
| 12882 | > | fi | 
| 12883 | > | if test -z "$CPU_FLAGS"; then | 
| 12884 |  |  | 
| 12885 | < | for ac_prog in flex lex | 
| 12886 | < | do | 
| 12887 | < | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 12888 | < | set dummy $ac_prog; ac_word=$2 | 
| 9633 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 9634 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 9635 | < | if test "${ac_cv_prog_LEX+set}" = set; then | 
| 12885 | > |  | 
| 12886 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5 | 
| 12887 | > | echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6 | 
| 12888 | > | if test "${ac_m_powerpc+set}" = set; then | 
| 12889 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12890 |  | else | 
| 12891 | < | if test -n "$LEX"; then | 
| 12892 | < | ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
| 12891 | > | echo 'void f(){}' > conftest.cpp | 
| 12892 | > | if test -z "`${CXX} -mpowerpc -c conftest.cpp 2>&1`"; then | 
| 12893 | > | ac_m_powerpc=yes | 
| 12894 |  | else | 
| 12895 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 12896 | < | for as_dir in $PATH | 
| 12897 | < | do | 
| 9644 | < | IFS=$as_save_IFS | 
| 9645 | < | test -z "$as_dir" && as_dir=. | 
| 9646 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 9647 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 9648 | < | ac_cv_prog_LEX="$ac_prog" | 
| 9649 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 9650 | < | break 2 | 
| 9651 | < | fi | 
| 9652 | < | done | 
| 9653 | < | done | 
| 12895 | > | ac_m_powerpc=no | 
| 12896 | > | fi | 
| 12897 | > | rm -f conftest* | 
| 12898 |  |  | 
| 12899 |  | fi | 
| 12900 | < | fi | 
| 12901 | < | LEX=$ac_cv_prog_LEX | 
| 12902 | < | if test -n "$LEX"; then | 
| 12903 | < | echo "$as_me:$LINENO: result: $LEX" >&5 | 
| 12904 | < | echo "${ECHO_T}$LEX" >&6 | 
| 12900 | > | echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 | 
| 12901 | > | echo "${ECHO_T}$ac_m_powerpc" >&6 | 
| 12902 | > | if test "$ac_m_powerpc" = yes; then | 
| 12903 | > | : | 
| 12904 | > | CPU_FLAGS=-mpowerpc | 
| 12905 |  | else | 
| 12906 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 12907 | < | echo "${ECHO_T}no" >&6 | 
| 12906 | > | : | 
| 12907 | > |  | 
| 12908 |  | fi | 
| 12909 |  |  | 
| 12910 | < | test -n "$LEX" && break | 
| 12911 | < | done | 
| 12912 | < | test -n "$LEX" || LEX=":" | 
| 12910 | > | fi | 
| 12911 | > | esac | 
| 12912 | > | fi | 
| 12913 |  |  | 
| 12914 | < | if test -z "$LEXLIB" | 
| 12915 | < | then | 
| 12916 | < | echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 | 
| 9673 | < | echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | 
| 9674 | < | if test "${ac_cv_lib_fl_yywrap+set}" = set; then | 
| 9675 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9676 | < | else | 
| 9677 | < | ac_check_lib_save_LIBS=$LIBS | 
| 9678 | < | LIBS="-lfl  $LIBS" | 
| 9679 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 9680 | < | /* confdefs.h.  */ | 
| 9681 | < | _ACEOF | 
| 9682 | < | cat confdefs.h >>conftest.$ac_ext | 
| 9683 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 9684 | < | /* end confdefs.h.  */ | 
| 12914 | > | if test -n "$CPU_FLAGS"; then | 
| 12915 | > | CXXFLAGS="$CXXFLAGS $CPU_FLAGS" | 
| 12916 | > | fi | 
| 12917 |  |  | 
| 12918 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 12919 | < | #ifdef __cplusplus | 
| 12920 | < | extern "C" | 
| 12921 | < | #endif | 
| 12922 | < | /* We use char because int might match the return type of a gcc2 | 
| 12923 | < | builtin and then its argument prototype would still apply.  */ | 
| 12924 | < | char yywrap (); | 
| 12925 | < | int | 
| 12926 | < | main () | 
| 12927 | < | { | 
| 9696 | < | yywrap (); | 
| 9697 | < | ; | 
| 9698 | < | return 0; | 
| 9699 | < | } | 
| 9700 | < | _ACEOF | 
| 9701 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9702 | < | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9703 | < | (eval $ac_link) 2>conftest.er1 | 
| 9704 | < | ac_status=$? | 
| 9705 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9706 | < | rm -f conftest.er1 | 
| 9707 | < | cat conftest.err >&5 | 
| 9708 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9709 | < | (exit $ac_status); } && | 
| 9710 | < | { ac_try='test -z "$ac_c_werror_flag" | 
| 9711 | < | || test ! -s conftest.err' | 
| 9712 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9713 | < | (eval $ac_try) 2>&5 | 
| 9714 | < | ac_status=$? | 
| 9715 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9716 | < | (exit $ac_status); }; } && | 
| 9717 | < | { ac_try='test -s conftest$ac_exeext' | 
| 9718 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9719 | < | (eval $ac_try) 2>&5 | 
| 9720 | < | ac_status=$? | 
| 9721 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9722 | < | (exit $ac_status); }; }; then | 
| 9723 | < | ac_cv_lib_fl_yywrap=yes | 
| 9724 | < | else | 
| 9725 | < | echo "$as_me: failed program was:" >&5 | 
| 9726 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12918 | > | if test -z "$CXXFLAGS"; then | 
| 12919 | > | echo "" | 
| 12920 | > | echo "**********************************************************" | 
| 12921 | > | echo "* WARNING: Don't know the best CXXFLAGS for this system  *" | 
| 12922 | > | echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *" | 
| 12923 | > | echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *" | 
| 12924 | > | echo "**********************************************************" | 
| 12925 | > | echo "" | 
| 12926 | > | CXXFLAGS="-O3" | 
| 12927 | > | fi | 
| 12928 |  |  | 
| 9728 | – | ac_cv_lib_fl_yywrap=no | 
| 9729 | – | fi | 
| 9730 | – | rm -f conftest.err conftest.$ac_objext \ | 
| 9731 | – | conftest$ac_exeext conftest.$ac_ext | 
| 9732 | – | LIBS=$ac_check_lib_save_LIBS | 
| 9733 | – | fi | 
| 9734 | – | echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 | 
| 9735 | – | echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | 
| 9736 | – | if test $ac_cv_lib_fl_yywrap = yes; then | 
| 9737 | – | LEXLIB="-lfl" | 
| 9738 | – | else | 
| 9739 | – | echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 | 
| 9740 | – | echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | 
| 9741 | – | if test "${ac_cv_lib_l_yywrap+set}" = set; then | 
| 9742 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9743 | – | else | 
| 9744 | – | ac_check_lib_save_LIBS=$LIBS | 
| 9745 | – | LIBS="-ll  $LIBS" | 
| 9746 | – | cat >conftest.$ac_ext <<_ACEOF | 
| 9747 | – | /* confdefs.h.  */ | 
| 9748 | – | _ACEOF | 
| 9749 | – | cat confdefs.h >>conftest.$ac_ext | 
| 9750 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 9751 | – | /* end confdefs.h.  */ | 
| 12929 |  |  | 
| 9753 | – | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 9754 | – | #ifdef __cplusplus | 
| 9755 | – | extern "C" | 
| 9756 | – | #endif | 
| 9757 | – | /* We use char because int might match the return type of a gcc2 | 
| 9758 | – | builtin and then its argument prototype would still apply.  */ | 
| 9759 | – | char yywrap (); | 
| 9760 | – | int | 
| 9761 | – | main () | 
| 9762 | – | { | 
| 9763 | – | yywrap (); | 
| 9764 | – | ; | 
| 9765 | – | return 0; | 
| 9766 | – | } | 
| 9767 | – | _ACEOF | 
| 9768 | – | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9769 | – | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9770 | – | (eval $ac_link) 2>conftest.er1 | 
| 9771 | – | ac_status=$? | 
| 9772 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9773 | – | rm -f conftest.er1 | 
| 9774 | – | cat conftest.err >&5 | 
| 9775 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9776 | – | (exit $ac_status); } && | 
| 9777 | – | { ac_try='test -z "$ac_c_werror_flag" | 
| 9778 | – | || test ! -s conftest.err' | 
| 9779 | – | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9780 | – | (eval $ac_try) 2>&5 | 
| 9781 | – | ac_status=$? | 
| 9782 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9783 | – | (exit $ac_status); }; } && | 
| 9784 | – | { ac_try='test -s conftest$ac_exeext' | 
| 9785 | – | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9786 | – | (eval $ac_try) 2>&5 | 
| 9787 | – | ac_status=$? | 
| 9788 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9789 | – | (exit $ac_status); }; }; then | 
| 9790 | – | ac_cv_lib_l_yywrap=yes | 
| 9791 | – | else | 
| 9792 | – | echo "$as_me: failed program was:" >&5 | 
| 9793 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12930 |  |  | 
| 12931 | < | ac_cv_lib_l_yywrap=no | 
| 12932 | < | fi | 
| 12933 | < | rm -f conftest.err conftest.$ac_objext \ | 
| 9798 | < | conftest$ac_exeext conftest.$ac_ext | 
| 9799 | < | LIBS=$ac_check_lib_save_LIBS | 
| 9800 | < | fi | 
| 9801 | < | echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 | 
| 9802 | < | echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | 
| 9803 | < | if test $ac_cv_lib_l_yywrap = yes; then | 
| 9804 | < | LEXLIB="-ll" | 
| 9805 | < | fi | 
| 9806 | < |  | 
| 9807 | < | fi | 
| 9808 | < |  | 
| 9809 | < | fi | 
| 9810 | < |  | 
| 9811 | < | if test "x$LEX" != "x:"; then | 
| 9812 | < | echo "$as_me:$LINENO: checking lex output file root" >&5 | 
| 9813 | < | echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | 
| 9814 | < | if test "${ac_cv_prog_lex_root+set}" = set; then | 
| 12931 | > | echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 | 
| 12932 | > | echo $ECHO_N "checking whether ${CXX} accepts ${CXXFLAGS}... $ECHO_C" >&6 | 
| 12933 | > | if test "${ac_guessed_cxxflags+set}" = set; then | 
| 12934 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12935 |  | else | 
| 12936 | < | # The minimal lex program is just a single line: %%.  But some broken lexes | 
| 12937 | < | # (Solaris, I think it was) want two %% lines, so accommodate them. | 
| 12938 | < | cat >conftest.l <<_ACEOF | 
| 9820 | < | %% | 
| 9821 | < | %% | 
| 9822 | < | _ACEOF | 
| 9823 | < | { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 | 
| 9824 | < | (eval $LEX conftest.l) 2>&5 | 
| 9825 | < | ac_status=$? | 
| 9826 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9827 | < | (exit $ac_status); } | 
| 9828 | < | if test -f lex.yy.c; then | 
| 9829 | < | ac_cv_prog_lex_root=lex.yy | 
| 9830 | < | elif test -f lexyy.c; then | 
| 9831 | < | ac_cv_prog_lex_root=lexyy | 
| 12936 | > | echo 'void f(){}' > conftest.cpp | 
| 12937 | > | if test -z "`${CXX} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then | 
| 12938 | > | ac_guessed_cxxflags=yes | 
| 12939 |  | else | 
| 12940 | < | { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 | 
| 9834 | < | echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | 
| 9835 | < | { (exit 1); exit 1; }; } | 
| 12940 | > | ac_guessed_cxxflags=no | 
| 12941 |  | fi | 
| 12942 | < | fi | 
| 9838 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 | 
| 9839 | < | echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | 
| 9840 | < | rm -f conftest.l | 
| 9841 | < | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
| 12942 | > | rm -f conftest* | 
| 12943 |  |  | 
| 9843 | – | echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 | 
| 9844 | – | echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | 
| 9845 | – | if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | 
| 9846 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9847 | – | else | 
| 9848 | – | # POSIX says lex can declare yytext either as a pointer or an array; the | 
| 9849 | – | # default is implementation-dependent. Figure out which it is, since | 
| 9850 | – | # not all implementations provide the %pointer and %array declarations. | 
| 9851 | – | ac_cv_prog_lex_yytext_pointer=no | 
| 9852 | – | echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 
| 9853 | – | ac_save_LIBS=$LIBS | 
| 9854 | – | LIBS="$LIBS $LEXLIB" | 
| 9855 | – | cat >conftest.$ac_ext <<_ACEOF | 
| 9856 | – | `cat $LEX_OUTPUT_ROOT.c` | 
| 9857 | – | _ACEOF | 
| 9858 | – | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9859 | – | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9860 | – | (eval $ac_link) 2>conftest.er1 | 
| 9861 | – | ac_status=$? | 
| 9862 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9863 | – | rm -f conftest.er1 | 
| 9864 | – | cat conftest.err >&5 | 
| 9865 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9866 | – | (exit $ac_status); } && | 
| 9867 | – | { ac_try='test -z "$ac_c_werror_flag" | 
| 9868 | – | || test ! -s conftest.err' | 
| 9869 | – | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9870 | – | (eval $ac_try) 2>&5 | 
| 9871 | – | ac_status=$? | 
| 9872 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9873 | – | (exit $ac_status); }; } && | 
| 9874 | – | { ac_try='test -s conftest$ac_exeext' | 
| 9875 | – | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 9876 | – | (eval $ac_try) 2>&5 | 
| 9877 | – | ac_status=$? | 
| 9878 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9879 | – | (exit $ac_status); }; }; then | 
| 9880 | – | ac_cv_prog_lex_yytext_pointer=yes | 
| 9881 | – | else | 
| 9882 | – | echo "$as_me: failed program was:" >&5 | 
| 9883 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9884 | – |  | 
| 12944 |  | fi | 
| 12945 | < | rm -f conftest.err conftest.$ac_objext \ | 
| 12946 | < | conftest$ac_exeext conftest.$ac_ext | 
| 12947 | < | LIBS=$ac_save_LIBS | 
| 12948 | < | rm -f "${LEX_OUTPUT_ROOT}.c" | 
| 12945 | > | echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 | 
| 12946 | > | echo "${ECHO_T}$ac_guessed_cxxflags" >&6 | 
| 12947 | > | if test "$ac_guessed_cxxflags" = yes; then | 
| 12948 | > | : | 
| 12949 |  |  | 
| 12950 | < | fi | 
| 12951 | < | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
| 9893 | < | echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | 
| 9894 | < | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
| 9895 | < |  | 
| 9896 | < | cat >>confdefs.h <<\_ACEOF | 
| 9897 | < | #define YYTEXT_POINTER 1 | 
| 9898 | < | _ACEOF | 
| 9899 | < |  | 
| 9900 | < | fi | 
| 9901 | < |  | 
| 9902 | < | fi | 
| 12950 | > | else | 
| 12951 | > | : | 
| 12952 |  |  | 
| 12953 | < | # Extract the first word of "perl", so it can be a program name with args. | 
| 12954 | < | set dummy perl; ac_word=$2 | 
| 12955 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 12956 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 12957 | < | if test "${ac_cv_path_PERLINTERP+set}" = set; then | 
| 12958 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12959 | < | else | 
| 12960 | < | case $PERLINTERP in | 
| 9912 | < | [\\/]* | ?:[\\/]*) | 
| 9913 | < | ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path. | 
| 9914 | < | ;; | 
| 9915 | < | *) | 
| 9916 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 9917 | < | for as_dir in $PATH | 
| 9918 | < | do | 
| 9919 | < | IFS=$as_save_IFS | 
| 9920 | < | test -z "$as_dir" && as_dir=. | 
| 9921 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 9922 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 9923 | < | ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" | 
| 9924 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 9925 | < | break 2 | 
| 9926 | < | fi | 
| 9927 | < | done | 
| 9928 | < | done | 
| 12953 | > | echo "" | 
| 12954 | > | echo "**********************************************************" | 
| 12955 | > | echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *" | 
| 12956 | > | echo "* your compiler.                                         *" | 
| 12957 | > | echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *" | 
| 12958 | > | echo "**********************************************************" | 
| 12959 | > | echo "" | 
| 12960 | > | CXXFLAGS="" | 
| 12961 |  |  | 
| 9930 | – | test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" | 
| 9931 | – | ;; | 
| 9932 | – | esac | 
| 12962 |  | fi | 
| 9934 | – | PERLINTERP=$ac_cv_path_PERLINTERP | 
| 12963 |  |  | 
| 9936 | – | if test -n "$PERLINTERP"; then | 
| 9937 | – | echo "$as_me:$LINENO: result: $PERLINTERP" >&5 | 
| 9938 | – | echo "${ECHO_T}$PERLINTERP" >&6 | 
| 9939 | – | else | 
| 9940 | – | echo "$as_me:$LINENO: result: no" >&5 | 
| 9941 | – | echo "${ECHO_T}no" >&6 | 
| 9942 | – | fi | 
| 12964 |  |  | 
| 9944 | – | ac_cv_path_perlinterp="$PERLINTERP" | 
| 9945 | – | _sHpB='#!' | 
| 9946 | – |  | 
| 9947 | – |  | 
| 9948 | – | # Check whether --with-perl-shebang or --without-perl-shebang was given. | 
| 9949 | – | if test "${with_perl_shebang+set}" = set; then | 
| 9950 | – | withval="$with_perl_shebang" | 
| 9951 | – | opt_perl_shebang="$withval" | 
| 9952 | – | else | 
| 9953 | – | opt_perl_shebang="not_set" | 
| 9954 | – | fi; | 
| 9955 | – | echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 | 
| 9956 | – | echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 | 
| 9957 | – | if test "${ax_cv_opt_perl_shebang+set}" = set; then | 
| 9958 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9959 | – | else | 
| 9960 | – | case "$opt_perl_shebang" in | 
| 9961 | – | not_set  ) ax_cv_opt_perl_shebang='' | 
| 9962 | – | ;; | 
| 9963 | – | *     ) | 
| 9964 | – | ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'` | 
| 9965 | – | esac | 
| 9966 | – |  | 
| 12965 |  | fi | 
| 9968 | – | echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 | 
| 9969 | – | echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 | 
| 9970 | – | if test "A$ax_cv_opt_perl_shebang" != "A" | 
| 9971 | – | then | 
| 9972 | – | ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" | 
| 9973 | – | PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" | 
| 9974 | – | { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5 | 
| 9975 | – | echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;} | 
| 12966 |  |  | 
| 12967 | < | # Automatic detection of sharpbang formula starts here | 
| 9978 | < | else | 
| 9979 | < | _somian_shbangperl=`$PERLINTERP -V:startperl` | 
| 9980 | < | negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh | 
| 9981 | < | echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 | 
| 9982 | < | echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 | 
| 9983 | < | if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then | 
| 9984 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9985 | < | else | 
| 9986 | < | _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"` | 
| 9987 | < | if test "x$_somian_kspb_perl" == x | 
| 9988 | < | then _somian_ksbp_warn_empty='durnit' | 
| 9989 | < | else | 
| 9990 | < | case "A$_somian_kspb_perl" in | 
| 9991 | < | A#!*perl* ) | 
| 9992 | < | ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'` | 
| 9993 | < | ;; | 
| 9994 | < | A*    )  _somian_ksbp_warn_defau='trouble' | 
| 9995 | < | ac_cv_sys_kernshrpbang_perl="$PERLINTERP" | 
| 9996 | < | esac | 
| 9997 | < | fi | 
| 9998 | < |  | 
| 9999 | < | fi | 
| 10000 | < | echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 | 
| 10001 | < | echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 | 
| 10002 | < | # The above prints Checking ... result message to user. | 
| 10003 | < | PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" | 
| 10004 | < |  | 
| 10005 | < | if test A${_somian_ksbp_warn_empty+set} == Aset | 
| 10006 | < | then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5 | 
| 10007 | < | echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;} | 
| 10008 | < | fi | 
| 10009 | < | # Inform user after printing result value | 
| 10010 | < | if test A${_somian_ksbp_warn_defau+set} == Aset | 
| 10011 | < | then { echo "$as_me:$LINENO: Maybe Not good -" >&5 | 
| 10012 | < | echo "$as_me: Maybe Not good -" >&6;} | 
| 10013 | < | { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5 | 
| 10014 | < | echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;} | 
| 10015 | < | else { echo "$as_me:$LINENO: OK Good result - " >&5 | 
| 10016 | < | echo "$as_me: OK Good result - " >&6;} | 
| 10017 | < | { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5 | 
| 10018 | < | echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;} | 
| 10019 | < | fi | 
| 10020 | < | fi | 
| 10021 | < |  | 
| 10022 | < | # Extract the first word of "ar", so it can be a program name with args. | 
| 10023 | < | set dummy ar; ac_word=$2 | 
| 10024 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 10025 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 10026 | < | if test "${ac_cv_prog_AR+set}" = set; then | 
| 10027 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10028 | < | else | 
| 10029 | < | if test -n "$AR"; then | 
| 10030 | < | ac_cv_prog_AR="$AR" # Let the user override the test. | 
| 10031 | < | else | 
| 10032 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 10033 | < | for as_dir in $PATH | 
| 10034 | < | do | 
| 10035 | < | IFS=$as_save_IFS | 
| 10036 | < | test -z "$as_dir" && as_dir=. | 
| 10037 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 10038 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 10039 | < | ac_cv_prog_AR="ar" | 
| 10040 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 10041 | < | break 2 | 
| 10042 | < | fi | 
| 10043 | < | done | 
| 10044 | < | done | 
| 10045 | < |  | 
| 10046 | < | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" | 
| 10047 | < | fi | 
| 10048 | < | fi | 
| 10049 | < | AR=$ac_cv_prog_AR | 
| 10050 | < | if test -n "$AR"; then | 
| 10051 | < | echo "$as_me:$LINENO: result: $AR" >&5 | 
| 10052 | < | echo "${ECHO_T}$AR" >&6 | 
| 10053 | < | else | 
| 10054 | < | echo "$as_me:$LINENO: result: no" >&5 | 
| 10055 | < | echo "${ECHO_T}no" >&6 | 
| 10056 | < | fi | 
| 10057 | < |  | 
| 10058 | < | if test "$AR" = "NONE"; then | 
| 10059 | < | { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5 | 
| 10060 | < | echo "$as_me: error: --> Can't find \`ar'!" >&2;} | 
| 10061 | < | { (exit 1); exit 1; }; } | 
| 10062 | < | cat >confcache <<\_ACEOF | 
| 10063 | < | # This file is a shell script that caches the results of configure | 
| 10064 | < | # tests run on this system so they can be shared between configure | 
| 10065 | < | # scripts and configure runs, see configure's option --config-cache. | 
| 10066 | < | # It is not useful on other systems.  If it contains results you don't | 
| 10067 | < | # want to keep, you may remove or edit it. | 
| 10068 | < | # | 
| 10069 | < | # config.status only pays attention to the cache file if you give it | 
| 10070 | < | # the --recheck option to rerun configure. | 
| 10071 | < | # | 
| 10072 | < | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
| 10073 | < | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
| 10074 | < | # following values. | 
| 10075 | < |  | 
| 10076 | < | _ACEOF | 
| 10077 | < |  | 
| 10078 | < | # The following way of writing the cache mishandles newlines in values, | 
| 10079 | < | # but we know of no workaround that is simple, portable, and efficient. | 
| 10080 | < | # So, don't put newlines in cache variables' values. | 
| 10081 | < | # Ultrix sh set writes to stderr and can't be redirected directly, | 
| 10082 | < | # and sets the high bit in the cache file unless we assign to the vars. | 
| 10083 | < | { | 
| 10084 | < | (set) 2>&1 | | 
| 10085 | < | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
| 10086 | < | *ac_space=\ *) | 
| 10087 | < | # `set' does not quote correctly, so add quotes (double-quote | 
| 10088 | < | # substitution turns \\\\ into \\, and sed turns \\ into \). | 
| 10089 | < | sed -n \ | 
| 10090 | < | "s/'/'\\\\''/g; | 
| 10091 | < | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
| 10092 | < | ;; | 
| 10093 | < | *) | 
| 10094 | < | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
| 10095 | < | sed -n \ | 
| 10096 | < | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 10097 | < | ;; | 
| 10098 | < | esac; | 
| 10099 | < | } | | 
| 10100 | < | sed ' | 
| 10101 | < | t clear | 
| 10102 | < | : clear | 
| 10103 | < | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
| 10104 | < | t end | 
| 10105 | < | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
| 10106 | < | : end' >>confcache | 
| 10107 | < | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
| 10108 | < | if test -w $cache_file; then | 
| 10109 | < | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
| 10110 | < | cat confcache >$cache_file | 
| 10111 | < | else | 
| 10112 | < | echo "not updating unwritable cache $cache_file" | 
| 10113 | < | fi | 
| 10114 | < | fi | 
| 10115 | < | rm -f confcache | 
| 10116 | < | exit 1 | 
| 10117 | < | fi | 
| 10118 | < |  | 
| 10119 | < | # Extract the first word of "ps", so it can be a program name with args. | 
| 10120 | < | set dummy ps; ac_word=$2 | 
| 10121 | < | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 10122 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 10123 | < | if test "${ac_cv_path_PS+set}" = set; then | 
| 10124 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10125 | < | else | 
| 10126 | < | case $PS in | 
| 10127 | < | [\\/]* | ?:[\\/]*) | 
| 10128 | < | ac_cv_path_PS="$PS" # Let the user override the test with a path. | 
| 10129 | < | ;; | 
| 10130 | < | *) | 
| 10131 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 10132 | < | for as_dir in $PATH | 
| 10133 | < | do | 
| 10134 | < | IFS=$as_save_IFS | 
| 10135 | < | test -z "$as_dir" && as_dir=. | 
| 10136 | < | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 10137 | < | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 10138 | < | ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" | 
| 10139 | < | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 10140 | < | break 2 | 
| 10141 | < | fi | 
| 10142 | < | done | 
| 10143 | < | done | 
| 10144 | < |  | 
| 10145 | < | ;; | 
| 12967 | > | ;; | 
| 12968 |  | esac | 
| 10147 | – | fi | 
| 10148 | – | PS=$ac_cv_path_PS | 
| 12969 |  |  | 
| 10150 | – | if test -n "$PS"; then | 
| 10151 | – | echo "$as_me:$LINENO: result: $PS" >&5 | 
| 10152 | – | echo "${ECHO_T}$PS" >&6 | 
| 10153 | – | else | 
| 10154 | – | echo "$as_me:$LINENO: result: no" >&5 | 
| 10155 | – | echo "${ECHO_T}no" >&6 | 
| 10156 | – | fi | 
| 12970 |  |  | 
| 10158 | – | echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 | 
| 10159 | – | echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 | 
| 10160 | – | if test "${ac_cv_prog_ps_syntax+set}" = set; then | 
| 10161 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10162 | – | else | 
| 10163 | – |  | 
| 10164 | – | if $PS ax -o rss > /dev/null 2>&1; then | 
| 10165 | – | ac_cv_prog_ps_ax=yes | 
| 10166 | – | else | 
| 10167 | – | ac_cv_prog_ps_ax=no | 
| 10168 | – | fi | 
| 10169 | – | if $PS -ef -o rss > /dev/null 2>&1; then | 
| 10170 | – | ac_cv_prog_ps_ef=yes | 
| 10171 | – | else | 
| 10172 | – | ac_cv_prog_ps_ef=no | 
| 10173 | – | fi | 
| 10174 | – | if test "$ac_cv_prog_ps_ax" = yes; then | 
| 10175 | – | ac_cv_prog_ps_syntax=BSD | 
| 10176 | – | else | 
| 10177 | – | if test "$ac_cv_prog_ps_ef" = yes; then | 
| 10178 | – | ac_cv_prog_ps_syntax=POSIX | 
| 10179 | – | else | 
| 10180 | – | { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5 | 
| 10181 | – | echo "$as_me: error: Could not determine ps syntax" >&2;} | 
| 10182 | – | { (exit 1); exit 1; }; } | 
| 10183 | – | fi | 
| 10184 | – | fi | 
| 10185 | – |  | 
| 10186 | – | fi | 
| 10187 | – | echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 | 
| 10188 | – | echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 | 
| 10189 | – |  | 
| 10190 | – |  | 
| 10191 | – | cat >>confdefs.h <<_ACEOF | 
| 10192 | – | #define PSCOMMAND $PS | 
| 10193 | – | _ACEOF | 
| 10194 | – |  | 
| 10195 | – |  | 
| 12971 |  | cat >>confdefs.h <<\_ACEOF | 
| 12972 |  | #define OBAPI | 
| 12973 |  | _ACEOF | 
| 12974 |  |  | 
| 12975 |  |  | 
| 12976 |  |  | 
| 10202 | – | if test "$ac_cv_prog_ps_syntax" = BSD; then | 
| 12977 |  |  | 
| 10204 | – | cat >>confdefs.h <<\_ACEOF | 
| 10205 | – | #define PSTYPE_IS_BSD 1 | 
| 10206 | – | _ACEOF | 
| 10207 | – |  | 
| 10208 | – | else | 
| 10209 | – | if test "$ac_cv_prog_ps_syntax" = POSIX; then | 
| 10210 | – |  | 
| 10211 | – | cat >>confdefs.h <<\_ACEOF | 
| 10212 | – | #define PSTYPE_IS_POSIX 1 | 
| 10213 | – | _ACEOF | 
| 10214 | – |  | 
| 10215 | – | else | 
| 10216 | – | { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5 | 
| 10217 | – | echo "$as_me: error: Unknown ps syntax type!" >&2;} | 
| 10218 | – | { (exit 1); exit 1; }; } | 
| 10219 | – | fi | 
| 10220 | – | fi | 
| 10221 | – |  | 
| 10222 | – |  | 
| 12978 |  | # Check whether --with-mpi or --without-mpi was given. | 
| 12979 |  | if test "${with_mpi+set}" = set; then | 
| 12980 |  | withval="$with_mpi" | 
| 13030 |  | echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6 | 
| 13031 |  | have_mpif_h=0 | 
| 13032 |  | rm -f conftest* | 
| 13033 | < | cat >conftest.f90 <<EOF | 
| 13033 | > | cat >conftest.$ac_ext <<EOF | 
| 13034 |  | program main | 
| 13035 |  | include 'mpif.h' | 
| 13036 |  | end | 
| 13037 |  | EOF | 
| 13038 | < | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then | 
| 13038 | > | if $FC -I$MPI_INC_DIR -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext > conftest.out 2>&1 ; then | 
| 13039 |  | echo "$as_me:$LINENO: result: yes" >&5 | 
| 13040 |  | echo "${ECHO_T}yes" >&6 | 
| 13041 |  | MPI_F90_INC="$MPI_INC_DIR" | 
| 13089 |  | /* We use char because int might match the return type of a gcc2 | 
| 13090 |  | builtin and then its argument prototype would still apply.  */ | 
| 13091 |  | char MPI_Init (); | 
| 13092 | + | #ifdef FC_DUMMY_MAIN | 
| 13093 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 13094 | + | #  ifdef __cplusplus | 
| 13095 | + | extern "C" | 
| 13096 | + | #  endif | 
| 13097 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 13098 | + | #endif | 
| 13099 | + | #endif | 
| 13100 |  | int | 
| 13101 |  | main () | 
| 13102 |  | { | 
| 13167 |  | /* We use char because int might match the return type of a gcc2 | 
| 13168 |  | builtin and then its argument prototype would still apply.  */ | 
| 13169 |  | char MPI_Init (); | 
| 13170 | + | #ifdef FC_DUMMY_MAIN | 
| 13171 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 13172 | + | #  ifdef __cplusplus | 
| 13173 | + | extern "C" | 
| 13174 | + | #  endif | 
| 13175 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 13176 | + | #endif | 
| 13177 | + | #endif | 
| 13178 |  | int | 
| 13179 |  | main () | 
| 13180 |  | { | 
| 13246 |  | /* We use char because int might match the return type of a gcc2 | 
| 13247 |  | builtin and then its argument prototype would still apply.  */ | 
| 13248 |  | char MPI_Init (); | 
| 13249 | + | #ifdef FC_DUMMY_MAIN | 
| 13250 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 13251 | + | #  ifdef __cplusplus | 
| 13252 | + | extern "C" | 
| 13253 | + | #  endif | 
| 13254 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 13255 | + | #endif | 
| 13256 | + | #endif | 
| 13257 |  | int | 
| 13258 |  | main () | 
| 13259 |  | { | 
| 13325 |  | /* We use char because int might match the return type of a gcc2 | 
| 13326 |  | builtin and then its argument prototype would still apply.  */ | 
| 13327 |  | char MPI_Init (); | 
| 13328 | + | #ifdef FC_DUMMY_MAIN | 
| 13329 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 13330 | + | #  ifdef __cplusplus | 
| 13331 | + | extern "C" | 
| 13332 | + | #  endif | 
| 13333 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 13334 | + | #endif | 
| 13335 | + | #endif | 
| 13336 |  | int | 
| 13337 |  | main () | 
| 13338 |  | { | 
| 13377 |  | echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 | 
| 13378 |  | echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 | 
| 13379 |  | if test $ac_cv_lib_mpich_MPI_Init = yes; then | 
| 13380 | < | MPI_LIB="-lmpich -lpmpich" | 
| 13380 | > | MPI_LIB="-lpmpich -lmpich" | 
| 13381 |  | fi | 
| 13382 |  |  | 
| 13383 |  | fi | 
| 13405 |  | /* We use char because int might match the return type of a gcc2 | 
| 13406 |  | builtin and then its argument prototype would still apply.  */ | 
| 13407 |  | char MPI_Init (); | 
| 13408 | + | #ifdef FC_DUMMY_MAIN | 
| 13409 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 13410 | + | #  ifdef __cplusplus | 
| 13411 | + | extern "C" | 
| 13412 | + | #  endif | 
| 13413 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 13414 | + | #endif | 
| 13415 | + | #endif | 
| 13416 |  | int | 
| 13417 |  | main () | 
| 13418 |  | { | 
| 13489 |  |  | 
| 13490 |  |  | 
| 13491 |  |  | 
| 10697 | – |  | 
| 13492 |  | USE_CGAL=no | 
| 13493 |  | cgal_makefile=auto | 
| 13494 |  |  | 
| 13830 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 13831 |  | /* end confdefs.h.  */ | 
| 13832 |  | #include <CGAL/Cartesian.h> | 
| 13833 | + | #ifdef FC_DUMMY_MAIN | 
| 13834 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 13835 | + | #  ifdef __cplusplus | 
| 13836 | + | extern "C" | 
| 13837 | + | #  endif | 
| 13838 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 13839 | + | #endif | 
| 13840 | + | #endif | 
| 13841 |  | int | 
| 13842 |  | main () | 
| 13843 |  | { | 
| 13943 |  |  | 
| 13944 |  |  | 
| 13945 |  |  | 
| 11144 | – |  | 
| 13946 |  | # Check whether --enable-doxygen or --disable-doxygen was given. | 
| 13947 |  | if test "${enable_doxygen+set}" = set; then | 
| 13948 |  | enableval="$enable_doxygen" | 
| 14084 |  |  | 
| 14085 |  |  | 
| 14086 |  |  | 
| 11286 | – | OBJEXT=".$OBJEXT" | 
| 14087 |  |  | 
| 11288 | – | OOPSE=oopse | 
| 14088 |  |  | 
| 11290 | – | if test "x${prefix}" = "xNONE" | 
| 11291 | – | then | 
| 11292 | – | OOPSE_HOME=${ac_default_prefix}/oopse | 
| 11293 | – | else | 
| 11294 | – | OOPSE_HOME=${prefix}/oopse | 
| 11295 | – | fi | 
| 11296 | – | # Check whether --enable-oopse-home or --disable-oopse-home was given. | 
| 11297 | – | if test "${enable_oopse_home+set}" = set; then | 
| 11298 | – | enableval="$enable_oopse_home" | 
| 11299 | – | OOPSE_HOME="${enableval}" | 
| 11300 | – | fi; | 
| 14089 |  |  | 
| 11302 | – | case "x$INSTALL" in | 
| 11303 | – | x/*) ;; | 
| 11304 | – | *) INSTALL=`pwd`/ac-tools/"shtool install -c" ; | 
| 11305 | – | esac | 
| 14090 |  |  | 
| 11307 | – | MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" | 
| 14091 |  |  | 
| 11309 | – | CFLAGS=${CFLAGS-""} | 
| 11310 | – | CXXFLAGS=${CXXFLAGS-""} | 
| 11311 | – | CPPFLAGS=${CPPFLAGS-""} | 
| 11312 | – | FFLAGS=${FFLAGS-""} | 
| 11313 | – | F90FLAGS=${F90FLAGS-""} | 
| 11314 | – | LDFLAGS=${LDFLAGS-""} | 
| 11315 | – | DEBUG=${DEBUG-"-g"} | 
| 14092 |  |  | 
| 11317 | – | case $debug in | 
| 11318 | – | 1) | 
| 11319 | – | FFLAGS="$DEBUG $FFLAGS" | 
| 11320 | – | F90FLAGS="$DEBUG $F90FLAGS" | 
| 11321 | – | ;; | 
| 11322 | – | *) | 
| 11323 | – | ;; | 
| 11324 | – | esac | 
| 11325 | – |  | 
| 11326 | – |  | 
| 11327 | – |  | 
| 11328 | – |  | 
| 11329 | – |  | 
| 11330 | – |  | 
| 11331 | – |  | 
| 11332 | – |  | 
| 11333 | – |  | 
| 11334 | – |  | 
| 11335 | – |  | 
| 11336 | – |  | 
| 11337 | – |  | 
| 14093 |  |  | 
| 14094 |  |  | 
| 14095 |  |  | 
| 14096 |  |  | 
| 14097 |  |  | 
| 11343 | – | ac_config_headers="$ac_config_headers src/config.h" | 
| 14098 |  |  | 
| 14099 |  | ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" | 
| 14100 |  |  | 
| 14461 |  | } >&5 | 
| 14462 |  | cat >&5 <<_CSEOF | 
| 14463 |  |  | 
| 14464 | < | This file was extended by OOPSE $as_me 2.0, which was | 
| 14464 | > | This file was extended by OOPSE $as_me 3.0, which was | 
| 14465 |  | generated by GNU Autoconf 2.59.  Invocation command line was | 
| 14466 |  |  | 
| 14467 |  | CONFIG_FILES    = $CONFIG_FILES | 
| 14524 |  |  | 
| 14525 |  | cat >>$CONFIG_STATUS <<_ACEOF | 
| 14526 |  | ac_cs_version="\\ | 
| 14527 | < | OOPSE config.status 2.0 | 
| 14527 | > | OOPSE config.status 3.0 | 
| 14528 |  | configured by $0, generated by GNU Autoconf 2.59, | 
| 14529 |  | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
| 14530 |  |  | 
| 14718 |  | s,@ECHO_N@,$ECHO_N,;t t | 
| 14719 |  | s,@ECHO_T@,$ECHO_T,;t t | 
| 14720 |  | s,@LIBS@,$LIBS,;t t | 
| 11967 | – | s,@PROGNAME@,$PROGNAME,;t t | 
| 11968 | – | s,@debug@,$debug,;t t | 
| 14721 |  | s,@build@,$build,;t t | 
| 14722 |  | s,@build_cpu@,$build_cpu,;t t | 
| 14723 |  | s,@build_vendor@,$build_vendor,;t t | 
| 14726 |  | s,@host_cpu@,$host_cpu,;t t | 
| 14727 |  | s,@host_vendor@,$host_vendor,;t t | 
| 14728 |  | s,@host_os@,$host_os,;t t | 
| 14729 | < | s,@CC@,$CC,;t t | 
| 14730 | < | s,@CFLAGS@,$CFLAGS,;t t | 
| 14729 | > | s,@PROGNAME@,$PROGNAME,;t t | 
| 14730 | > | s,@debug@,$debug,;t t | 
| 14731 | > | s,@CXX@,$CXX,;t t | 
| 14732 | > | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
| 14733 |  | s,@LDFLAGS@,$LDFLAGS,;t t | 
| 14734 |  | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
| 14735 | < | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
| 14735 | > | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
| 14736 |  | s,@EXEEXT@,$EXEEXT,;t t | 
| 14737 |  | s,@OBJEXT@,$OBJEXT,;t t | 
| 14738 | < | s,@CXX@,$CXX,;t t | 
| 14739 | < | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
| 14740 | < | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
| 14738 | > | s,@CC@,$CC,;t t | 
| 14739 | > | s,@CFLAGS@,$CFLAGS,;t t | 
| 14740 | > | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
| 14741 | > | s,@FC@,$FC,;t t | 
| 14742 | > | s,@FCFLAGS@,$FCFLAGS,;t t | 
| 14743 | > | s,@ac_ct_FC@,$ac_ct_FC,;t t | 
| 14744 |  | s,@CPP@,$CPP,;t t | 
| 14745 |  | s,@EGREP@,$EGREP,;t t | 
| 11989 | – | s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t | 
| 11990 | – | s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t | 
| 11991 | – | s,@F90@,$F90,;t t | 
| 11992 | – | s,@F90FLAGS@,$F90FLAGS,;t t | 
| 11993 | – | s,@ac_ct_F90@,$ac_ct_F90,;t t | 
| 11994 | – | s,@PREPFLAG@,$PREPFLAG,;t t | 
| 11995 | – | s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t | 
| 11996 | – | s,@F90LIBS@,$F90LIBS,;t t | 
| 11997 | – | s,@F90_FUNC@,$F90_FUNC,;t t | 
| 11998 | – | s,@F90_FUNC_@,$F90_FUNC_,;t t | 
| 11999 | – | s,@MOD@,$MOD,;t t | 
| 12000 | – | s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t | 
| 12001 | – | s,@MODDIRFLAG@,$MODDIRFLAG,;t t | 
| 12002 | – | s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t | 
| 12003 | – | s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t | 
| 12004 | – | s,@CXXCPP@,$CXXCPP,;t t | 
| 12005 | – | s,@LIBOBJS@,$LIBOBJS,;t t | 
| 12006 | – | s,@__func__@,$__func__,;t t | 
| 12007 | – | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
| 12008 | – | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
| 12009 | – | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
| 14746 |  | s,@LN_S@,$LN_S,;t t | 
| 14747 |  | s,@SET_MAKE@,$SET_MAKE,;t t | 
| 14748 |  | s,@RANLIB@,$RANLIB,;t t | 
| 14749 |  | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
| 12014 | – | s,@YACC@,$YACC,;t t | 
| 12015 | – | s,@LEX@,$LEX,;t t | 
| 12016 | – | s,@LEXLIB@,$LEXLIB,;t t | 
| 12017 | – | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
| 14750 |  | s,@PERLINTERP@,$PERLINTERP,;t t | 
| 14751 |  | s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t | 
| 14752 | + | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
| 14753 | + | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
| 14754 | + | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
| 14755 |  | s,@AR@,$AR,;t t | 
| 14756 |  | s,@PS@,$PS,;t t | 
| 14757 | + | s,@FCFLAGS_F90@,$FCFLAGS_F90,;t t | 
| 14758 | + | s,@FCFLAGS_SRCEXT@,$FCFLAGS_SRCEXT,;t t | 
| 14759 | + | s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t | 
| 14760 | + | s,@FCLIBS@,$FCLIBS,;t t | 
| 14761 | + | s,@FC_FUNC@,$FC_FUNC,;t t | 
| 14762 | + | s,@FC_FUNC_@,$FC_FUNC_,;t t | 
| 14763 | + | s,@MOD@,$MOD,;t t | 
| 14764 | + | s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t | 
| 14765 | + | s,@MODDIRFLAG@,$MODDIRFLAG,;t t | 
| 14766 | + | s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t | 
| 14767 | + | s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t | 
| 14768 | + | s,@ZLIB_INC_DIR@,$ZLIB_INC_DIR,;t t | 
| 14769 | + | s,@ZLIB_LIB_DIR@,$ZLIB_LIB_DIR,;t t | 
| 14770 | + | s,@ZLIB@,$ZLIB,;t t | 
| 14771 | + | s,@FFTW_INC_DIR@,$FFTW_INC_DIR,;t t | 
| 14772 | + | s,@FFTW_LIB_DIR@,$FFTW_LIB_DIR,;t t | 
| 14773 | + | s,@FFTW_LIBS@,$FFTW_LIBS,;t t | 
| 14774 | + | s,@LIBOBJS@,$LIBOBJS,;t t | 
| 14775 | + | s,@POW_LIB@,$POW_LIB,;t t | 
| 14776 | + | s,@CXXCPP@,$CXXCPP,;t t | 
| 14777 | + | s,@__func__@,$__func__,;t t | 
| 14778 |  | s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t | 
| 14779 |  | s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t | 
| 14780 |  | s,@MPI_F90_INC@,$MPI_F90_INC,;t t | 
| 14799 |  | s,@OOPSE@,$OOPSE,;t t | 
| 14800 |  | s,@OOPSE_HOME@,$OOPSE_HOME,;t t | 
| 14801 |  | s,@SUBDIRS@,$SUBDIRS,;t t | 
| 12046 | – | s,@FFLAGS@,$FFLAGS,;t t | 
| 14802 |  | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
| 14803 |  | CEOF | 
| 14804 |  |  |