| 1 |  | #! /bin/sh | 
| 2 |  | # Guess values for system-dependent variables and create Makefiles. | 
| 3 | < | # Generated by GNU Autoconf 2.61 for OOPSE 3.0. | 
| 3 | > | # Generated by GNU Autoconf 2.61 for OOPSE 4.0. | 
| 4 |  | # | 
| 5 |  | # Report bugs to <gezelter@nd.edu>. | 
| 6 |  | # | 
| 49 |  | else | 
| 50 |  | PATH_SEPARATOR=: | 
| 51 |  | fi | 
| 52 | < | rm -rf conf$$.sh | 
| 52 | > | rm -f conf$$.sh | 
| 53 |  | fi | 
| 54 |  |  | 
| 55 |  | # Support unset when possible. | 
| 489 |  | as_expr=false | 
| 490 |  | fi | 
| 491 |  |  | 
| 492 | < | rm -rf conf$$ conf$$.exe conf$$.file | 
| 492 | > | rm -f conf$$ conf$$.exe conf$$.file | 
| 493 |  | if test -d conf$$.dir; then | 
| 494 | < | rm -rf conf$$.dir/conf$$.file | 
| 494 | > | rm -f conf$$.dir/conf$$.file | 
| 495 |  | else | 
| 496 | < | rm -rf conf$$.dir | 
| 496 | > | rm -f conf$$.dir | 
| 497 |  | mkdir conf$$.dir | 
| 498 |  | fi | 
| 499 |  | echo >conf$$.file | 
| 510 |  | else | 
| 511 |  | as_ln_s='cp -p' | 
| 512 |  | fi | 
| 513 | < | rm -rf conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
| 513 | > | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
| 514 |  | rmdir conf$$.dir 2>/dev/null | 
| 515 |  |  | 
| 516 |  | if mkdir -p . 2>/dev/null; then | 
| 574 |  | # Identity of this package. | 
| 575 |  | PACKAGE_NAME='OOPSE' | 
| 576 |  | PACKAGE_TARNAME='oopse' | 
| 577 | < | PACKAGE_VERSION='3.0' | 
| 578 | < | PACKAGE_STRING='OOPSE 3.0' | 
| 577 | > | PACKAGE_VERSION='4.0' | 
| 578 | > | PACKAGE_STRING='OOPSE 4.0' | 
| 579 |  | PACKAGE_BUGREPORT='gezelter@nd.edu' | 
| 580 |  |  | 
| 581 |  | ac_unique_file="src/applications/oopse/oopse.cpp" | 
| 664 |  | PROGNAME | 
| 665 |  | debug | 
| 666 |  | USE_SINGLE_PRECISION | 
| 667 | + | ac_cc_set | 
| 668 | + | ac_cc_path | 
| 669 | + | ac_cxx_set | 
| 670 | + | ac_cxx_path | 
| 671 | + | ac_fc_set | 
| 672 | + | ac_fc_path | 
| 673 | + | acx_mpi_mpicc | 
| 674 | + | acx_mpi_mpicc_path | 
| 675 | + | acx_mpi_mpif90 | 
| 676 | + | acx_mpi_mpif90_path | 
| 677 | + | acx_mpi_mpicxx | 
| 678 | + | acx_mpi_mpicxx_path | 
| 679 | + | MPI_CPPFLAGS | 
| 680 | + | MPI_LIBS | 
| 681 | + | MPI90_LIBS | 
| 682 | + | USE_MPI | 
| 683 |  | CXX | 
| 684 |  | CXXFLAGS | 
| 685 |  | LDFLAGS | 
| 723 |  | FFTW_INC_DIR | 
| 724 |  | FFTW_LIB_DIR | 
| 725 |  | FFTW_LIBS | 
| 726 | + | QHULL_INC_DIR | 
| 727 | + | QHULL_LIB_DIR | 
| 728 | + | QHULL | 
| 729 | + | USE_QHULL | 
| 730 | + | CXXCPP | 
| 731 | + | OPENBABEL_INC_DIR | 
| 732 | + | OPENBABEL_LIB_DIR | 
| 733 | + | OPENBABEL_LIB | 
| 734 | + | USE_OPENBABEL | 
| 735 |  | LIBOBJS | 
| 736 |  | POW_LIB | 
| 737 | < | CXXCPP | 
| 738 | < | __func__ | 
| 739 | < | MPI_LIB_DIR | 
| 740 | < | MPI_INC_DIR | 
| 741 | < | MPI_F90_INC | 
| 742 | < | MPI_LIB | 
| 718 | < | MPI_F90_LIB | 
| 719 | < | USE_MPI | 
| 737 | > | CGAL_MAKEFILE | 
| 738 | > | CGAL_CXXFLAGS | 
| 739 | > | CGAL_CPPFLAGS | 
| 740 | > | CGAL_LDFLAGS | 
| 741 | > | CGAL_LIBS | 
| 742 | > | USE_CGAL | 
| 743 |  | DOXYGEN | 
| 744 |  | DOT | 
| 745 |  | DOC | 
| 1270 |  | # Omit some internal or obsolete options to make the list less imposing. | 
| 1271 |  | # This message is too long to be a string in the A/UX 3.1 sh. | 
| 1272 |  | cat <<_ACEOF | 
| 1273 | < | \`configure' configures OOPSE 3.0 to adapt to many kinds of systems. | 
| 1273 | > | \`configure' configures OOPSE 4.0 to adapt to many kinds of systems. | 
| 1274 |  |  | 
| 1275 |  | Usage: $0 [OPTION]... [VAR=VALUE]... | 
| 1276 |  |  | 
| 1335 |  |  | 
| 1336 |  | if test -n "$ac_init_help"; then | 
| 1337 |  | case $ac_init_help in | 
| 1338 | < | short | recursive ) echo "Configuration of OOPSE 3.0:";; | 
| 1338 | > | short | recursive ) echo "Configuration of OOPSE 4.0:";; | 
| 1339 |  | esac | 
| 1340 |  | cat <<\_ACEOF | 
| 1341 |  |  | 
| 1354 |  | Optional Packages: | 
| 1355 |  | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
| 1356 |  | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
| 1357 | + | --with-mpi=auto|mpich|lam|openmpi|no | 
| 1358 | + | Indicates which kind of MPI implementation to use | 
| 1359 | + | [default=auto] | 
| 1360 |  | --with-perl-shebang     override what perl thinks is the way for the kernel | 
| 1361 |  | to start it (seldom needed) | 
| 1362 |  | --with-zlib=DIR         root directory path of zlib installation (defaults | 
| 1363 |  | to /usr/local or /usr if not found in /usr/local) | 
| 1364 |  | --with-fftw=DIR         root directory path of fftw installation (defaults | 
| 1365 |  | to /usr/local or /usr if not found in /usr/local) | 
| 1366 | < | --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no] | 
| 1366 | > | --with-qhull=DIR        root directory path of qhull installation (defaults | 
| 1367 | > | to /usr/local or /usr if not found in /usr/local) | 
| 1368 | > | --with-openbabel=DIR    root directory path of openbabel-2.x installation | 
| 1369 | > | (defaults to /usr/local or /usr if not found in | 
| 1370 | > | /usr/local) | 
| 1371 | > | --with-cgalmakefile=makefile | 
| 1372 | > | Use the following CGAL makefile | 
| 1373 |  |  | 
| 1374 |  | Some influential environment variables: | 
| 1375 |  | CXX         C++ compiler command | 
| 1450 |  | test -n "$ac_init_help" && exit $ac_status | 
| 1451 |  | if $ac_init_version; then | 
| 1452 |  | cat <<\_ACEOF | 
| 1453 | < | OOPSE configure 3.0 | 
| 1453 | > | OOPSE configure 4.0 | 
| 1454 |  | generated by GNU Autoconf 2.61 | 
| 1455 |  |  | 
| 1456 |  | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 
| 1464 |  | This file contains any messages produced by compilers while | 
| 1465 |  | running configure, to aid debugging if configure makes a mistake. | 
| 1466 |  |  | 
| 1467 | < | It was created by OOPSE $as_me 3.0, which was | 
| 1467 | > | It was created by OOPSE $as_me 4.0, which was | 
| 1468 |  | generated by GNU Autoconf 2.61.  Invocation command line was | 
| 1469 |  |  | 
| 1470 |  | $ $0 $@ | 
| 1660 |  | echo "$as_me: caught signal $ac_signal" | 
| 1661 |  | echo "$as_me: exit $exit_status" | 
| 1662 |  | } >&5 | 
| 1663 | < | rm -rf core *.core core.conftest.* && | 
| 1663 | > | rm -f core *.core core.conftest.* && | 
| 1664 |  | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 
| 1665 |  | exit $exit_status | 
| 1666 |  | ' 0 | 
| 1903 |  |  | 
| 1904 |  |  | 
| 1905 |  |  | 
| 1906 | + |  | 
| 1907 | + |  | 
| 1908 | + |  | 
| 1909 | + |  | 
| 1910 |  | # AC_F90_MODULE_NAMES | 
| 1911 |  | # ------------------- | 
| 1912 |  | # | 
| 1913 |  | # Figure out how the Fortran 90 compiler constructs module file names | 
| 1914 |  | # | 
| 1915 |  | # AC_F90_MODULE_NAMES | 
| 1916 | + |  | 
| 1917 | + |  | 
| 1918 | + |  | 
| 1919 | + |  | 
| 1920 | + |  | 
| 1921 | + |  | 
| 1922 | + |  | 
| 1923 | + |  | 
| 1924 | + |  | 
| 1925 | + |  | 
| 1926 | + |  | 
| 1927 | + |  | 
| 1928 | + |  | 
| 1929 | + |  | 
| 1930 | + |  | 
| 1931 | + |  | 
| 1932 | + |  | 
| 1933 | + |  | 
| 1934 | + |  | 
| 1935 | + |  | 
| 1936 | + |  | 
| 1937 | + |  | 
| 1938 | + |  | 
| 1939 | + |  | 
| 1940 | + |  | 
| 1941 | + |  | 
| 1942 | + |  | 
| 1943 | + |  | 
| 1944 | + |  | 
| 1945 |  |  | 
| 1946 |  |  | 
| 1947 |  |  | 
| 2000 |  |  | 
| 2001 |  |  | 
| 2002 |  |  | 
| 2003 | + | # ACX_MPI_GET_PROG | 
| 2004 |  |  | 
| 2005 | + | # ACX_DETECT_MPI_IMPLEMENTATION | 
| 2006 |  |  | 
| 2007 |  |  | 
| 2008 |  |  | 
| 2009 |  |  | 
| 2010 |  |  | 
| 2011 | + | # ACX_MPI | 
| 2012 |  |  | 
| 2013 |  |  | 
| 2014 |  |  | 
| 2028 |  |  | 
| 2029 |  |  | 
| 2030 |  |  | 
| 2031 | + |  | 
| 2032 | + |  | 
| 2033 | + |  | 
| 2034 | + |  | 
| 2035 | + |  | 
| 2036 | + |  | 
| 2037 | + |  | 
| 2038 | + |  | 
| 2039 | + | # This is taken from http://autoqt.sourceforge.net/ | 
| 2040 | + | # Copyright (c) 2002, Geoffrey Wossum | 
| 2041 | + | # All rights reserved. | 
| 2042 | + |  | 
| 2043 | + | # Redistribution and use in source and binary forms, with or without | 
| 2044 | + | # modification, are permitted provided that the following conditions are | 
| 2045 | + | # met: | 
| 2046 | + |  | 
| 2047 | + | #  - Redistributions of source code must retain the above copyright notice, | 
| 2048 | + | #    this list of conditions and the following disclaimer. | 
| 2049 | + |  | 
| 2050 | + | #  - Redistributions in binary form must reproduce the above copyright | 
| 2051 | + | #    notice, this list of conditions and the following disclaimer in the | 
| 2052 | + | #    documentation and/or other materials provided with the distribution. | 
| 2053 | + |  | 
| 2054 | + | #  - Neither the name of Geoffrey Wossum nor the names of its | 
| 2055 | + | #    contributors may be used to endorse or promote products derived from | 
| 2056 | + | #    this software without specific prior written permission. | 
| 2057 | + |  | 
| 2058 | + |  | 
| 2059 | + | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 
| 2060 | + | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | 
| 2061 | + | # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 
| 2062 | + | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | 
| 2063 | + | # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 
| 2064 | + | # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 
| 2065 | + | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 
| 2066 | + | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 
| 2067 | + | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 
| 2068 | + | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 
| 2069 | + | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 2070 |  |  | 
| 2071 |  |  | 
| 2072 | + | # Check for Qt compiler flags, linker flags, and binary packages | 
| 2073 |  |  | 
| 2074 |  |  | 
| 2075 |  |  | 
| 2223 |  |  | 
| 2224 |  | fi | 
| 2225 |  |  | 
| 2226 | < | # Checks for programs. | 
| 2227 | < | ac_ext=cpp | 
| 2228 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 2229 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2230 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2123 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 2124 | < | if test -z "$CXX"; then | 
| 2125 | < | if test -n "$CCC"; then | 
| 2126 | < | CXX=$CCC | 
| 2127 | < | else | 
| 2128 | < | if test -n "$ac_tool_prefix"; then | 
| 2129 | < | for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC | 
| 2130 | < | do | 
| 2131 | < | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 2132 | < | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 2226 | > | if test x"$CC" != x; then | 
| 2227 | > | for ac_prog in $CC | 
| 2228 | > | do | 
| 2229 | > | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2230 | > | set dummy $ac_prog; ac_word=$2 | 
| 2231 |  | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2232 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2233 | < | if test "${ac_cv_prog_CXX+set}" = set; then | 
| 2233 | > | if test "${ac_cv_prog_ac_cc_set+set}" = set; then | 
| 2234 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2235 |  | else | 
| 2236 | < | if test -n "$CXX"; then | 
| 2237 | < | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
| 2236 | > | if test -n "$ac_cc_set"; then | 
| 2237 | > | ac_cv_prog_ac_cc_set="$ac_cc_set" # Let the user override the test. | 
| 2238 |  | else | 
| 2239 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2240 |  | for as_dir in $PATH | 
| 2243 |  | test -z "$as_dir" && as_dir=. | 
| 2244 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2245 |  | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2246 | < | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| 2246 | > | ac_cv_prog_ac_cc_set="$ac_prog" | 
| 2247 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2248 |  | break 2 | 
| 2249 |  | fi | 
| 2253 |  |  | 
| 2254 |  | fi | 
| 2255 |  | fi | 
| 2256 | < | CXX=$ac_cv_prog_CXX | 
| 2257 | < | if test -n "$CXX"; then | 
| 2258 | < | { echo "$as_me:$LINENO: result: $CXX" >&5 | 
| 2259 | < | echo "${ECHO_T}$CXX" >&6; } | 
| 2256 | > | ac_cc_set=$ac_cv_prog_ac_cc_set | 
| 2257 | > | if test -n "$ac_cc_set"; then | 
| 2258 | > | { echo "$as_me:$LINENO: result: $ac_cc_set" >&5 | 
| 2259 | > | echo "${ECHO_T}$ac_cc_set" >&6; } | 
| 2260 |  | else | 
| 2261 |  | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2262 |  | echo "${ECHO_T}no" >&6; } | 
| 2263 |  | fi | 
| 2264 |  |  | 
| 2265 |  |  | 
| 2266 | < | test -n "$CXX" && break | 
| 2267 | < | done | 
| 2266 | > | test -n "$ac_cc_set" && break | 
| 2267 | > | done | 
| 2268 | > | test -n "$ac_cc_set" || ac_cc_set="no" | 
| 2269 | > |  | 
| 2270 | > | if test $ac_cc_set != no; then | 
| 2271 | > |  | 
| 2272 | > | # Extract the first word of "$ac_cc_set", so it can be a program name with args. | 
| 2273 | > | set dummy $ac_cc_set; ac_word=$2 | 
| 2274 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2275 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2276 | > | if test "${ac_cv_path_ac_cc_path+set}" = set; then | 
| 2277 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2278 | > | else | 
| 2279 | > | case $ac_cc_path in | 
| 2280 | > | [\\/]* | ?:[\\/]*) | 
| 2281 | > | ac_cv_path_ac_cc_path="$ac_cc_path" # Let the user override the test with a path. | 
| 2282 | > | ;; | 
| 2283 | > | *) | 
| 2284 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2285 | > | for as_dir in $PATH | 
| 2286 | > | do | 
| 2287 | > | IFS=$as_save_IFS | 
| 2288 | > | test -z "$as_dir" && as_dir=. | 
| 2289 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2290 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2291 | > | ac_cv_path_ac_cc_path="$as_dir/$ac_word$ac_exec_ext" | 
| 2292 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2293 | > | break 2 | 
| 2294 | > | fi | 
| 2295 | > | done | 
| 2296 | > | done | 
| 2297 | > | IFS=$as_save_IFS | 
| 2298 | > |  | 
| 2299 | > | test -z "$ac_cv_path_ac_cc_path" && ac_cv_path_ac_cc_path="no" | 
| 2300 | > | ;; | 
| 2301 | > | esac | 
| 2302 |  | fi | 
| 2303 | < | if test -z "$CXX"; then | 
| 2304 | < | ac_ct_CXX=$CXX | 
| 2305 | < | for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC | 
| 2303 | > | ac_cc_path=$ac_cv_path_ac_cc_path | 
| 2304 | > | if test -n "$ac_cc_path"; then | 
| 2305 | > | { echo "$as_me:$LINENO: result: $ac_cc_path" >&5 | 
| 2306 | > | echo "${ECHO_T}$ac_cc_path" >&6; } | 
| 2307 | > | else | 
| 2308 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2309 | > | echo "${ECHO_T}no" >&6; } | 
| 2310 | > | fi | 
| 2311 | > |  | 
| 2312 | > |  | 
| 2313 | > | else | 
| 2314 | > |  | 
| 2315 | > | { { echo "$as_me:$LINENO: error: Specified C compiler $CC doesn't seem to exist!" >&5 | 
| 2316 | > | echo "$as_me: error: Specified C compiler $CC doesn't seem to exist!" >&2;} | 
| 2317 | > | { (exit 1); exit 1; }; } | 
| 2318 | > | fi | 
| 2319 | > |  | 
| 2320 | > |  | 
| 2321 | > | if test $ac_cc_path != no; then | 
| 2322 | > |  | 
| 2323 | > | { echo "$as_me:$LINENO: Will attempt to use $CC as C compiler" >&5 | 
| 2324 | > | echo "$as_me: Will attempt to use $CC as C compiler" >&6;} | 
| 2325 | > | else | 
| 2326 | > |  | 
| 2327 | > | { { echo "$as_me:$LINENO: error: Can't find path to user-specified C compiler $CC" >&5 | 
| 2328 | > | echo "$as_me: error: Can't find path to user-specified C compiler $CC" >&2;} | 
| 2329 | > | { (exit 1); exit 1; }; } | 
| 2330 | > | fi | 
| 2331 | > |  | 
| 2332 | > | fi | 
| 2333 | > |  | 
| 2334 | > | if test x"$CXX" != x; then | 
| 2335 | > | for ac_prog in $CXX | 
| 2336 |  | do | 
| 2337 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2338 |  | set dummy $ac_prog; ac_word=$2 | 
| 2339 |  | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2340 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2341 | < | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
| 2341 | > | if test "${ac_cv_prog_ac_cxx_set+set}" = set; then | 
| 2342 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2343 |  | else | 
| 2344 | < | if test -n "$ac_ct_CXX"; then | 
| 2345 | < | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
| 2344 | > | if test -n "$ac_cxx_set"; then | 
| 2345 | > | ac_cv_prog_ac_cxx_set="$ac_cxx_set" # Let the user override the test. | 
| 2346 |  | else | 
| 2347 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2348 |  | for as_dir in $PATH | 
| 2351 |  | test -z "$as_dir" && as_dir=. | 
| 2352 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2353 |  | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2354 | < | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| 2354 | > | ac_cv_prog_ac_cxx_set="$ac_prog" | 
| 2355 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2356 |  | break 2 | 
| 2357 |  | fi | 
| 2361 |  |  | 
| 2362 |  | fi | 
| 2363 |  | fi | 
| 2364 | < | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
| 2365 | < | if test -n "$ac_ct_CXX"; then | 
| 2366 | < | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
| 2367 | < | echo "${ECHO_T}$ac_ct_CXX" >&6; } | 
| 2364 | > | ac_cxx_set=$ac_cv_prog_ac_cxx_set | 
| 2365 | > | if test -n "$ac_cxx_set"; then | 
| 2366 | > | { echo "$as_me:$LINENO: result: $ac_cxx_set" >&5 | 
| 2367 | > | echo "${ECHO_T}$ac_cxx_set" >&6; } | 
| 2368 |  | else | 
| 2369 |  | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2370 |  | echo "${ECHO_T}no" >&6; } | 
| 2371 |  | fi | 
| 2372 |  |  | 
| 2373 |  |  | 
| 2374 | < | test -n "$ac_ct_CXX" && break | 
| 2375 | < | done | 
| 2374 | > | test -n "$ac_cxx_set" && break | 
| 2375 | > | done | 
| 2376 | > | test -n "$ac_cxx_set" || ac_cxx_set="no" | 
| 2377 |  |  | 
| 2378 | < | if test "x$ac_ct_CXX" = x; then | 
| 2216 | < | CXX="g++" | 
| 2217 | < | else | 
| 2218 | < | case $cross_compiling:$ac_tool_warned in | 
| 2219 | < | yes:) | 
| 2220 | < | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 
| 2221 | < | whose name does not start with the host triplet.  If you think this | 
| 2222 | < | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 
| 2223 | < | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | 
| 2224 | < | whose name does not start with the host triplet.  If you think this | 
| 2225 | < | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 
| 2226 | < | ac_tool_warned=yes ;; | 
| 2227 | < | esac | 
| 2228 | < | CXX=$ac_ct_CXX | 
| 2229 | < | fi | 
| 2230 | < | fi | 
| 2378 | > | if test $ac_cxx_set != no; then | 
| 2379 |  |  | 
| 2380 | < | fi | 
| 2381 | < | fi | 
| 2382 | < | # Provide some information about the compiler. | 
| 2383 | < | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | 
| 2384 | < | ac_compiler=`set X $ac_compile; echo $2` | 
| 2385 | < | { (ac_try="$ac_compiler --version >&5" | 
| 2386 | < | case "(($ac_try" in | 
| 2387 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2388 | < | *) ac_try_echo=$ac_try;; | 
| 2389 | < | esac | 
| 2390 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2391 | < | (eval "$ac_compiler --version >&5") 2>&5 | 
| 2392 | < | ac_status=$? | 
| 2393 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2246 | < | (exit $ac_status); } | 
| 2247 | < | { (ac_try="$ac_compiler -v >&5" | 
| 2248 | < | case "(($ac_try" in | 
| 2249 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2250 | < | *) ac_try_echo=$ac_try;; | 
| 2251 | < | esac | 
| 2252 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2253 | < | (eval "$ac_compiler -v >&5") 2>&5 | 
| 2254 | < | ac_status=$? | 
| 2255 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2256 | < | (exit $ac_status); } | 
| 2257 | < | { (ac_try="$ac_compiler -V >&5" | 
| 2258 | < | case "(($ac_try" in | 
| 2259 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2260 | < | *) ac_try_echo=$ac_try;; | 
| 2261 | < | esac | 
| 2262 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2263 | < | (eval "$ac_compiler -V >&5") 2>&5 | 
| 2264 | < | ac_status=$? | 
| 2265 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2266 | < | (exit $ac_status); } | 
| 2267 | < |  | 
| 2268 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2269 | < | /* confdefs.h.  */ | 
| 2270 | < | _ACEOF | 
| 2271 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2272 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2273 | < | /* end confdefs.h.  */ | 
| 2274 | < |  | 
| 2275 | < | int | 
| 2276 | < | main () | 
| 2277 | < | { | 
| 2278 | < |  | 
| 2279 | < | ; | 
| 2280 | < | return 0; | 
| 2281 | < | } | 
| 2282 | < | _ACEOF | 
| 2283 | < | ac_clean_files_save=$ac_clean_files | 
| 2284 | < | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
| 2285 | < | # Try to create an executable without -o first, disregard a.out. | 
| 2286 | < | # It will help us diagnose broken compilers, and finding out an intuition | 
| 2287 | < | # of exeext. | 
| 2288 | < | { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
| 2289 | < | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } | 
| 2290 | < | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
| 2291 | < | # | 
| 2292 | < | # List of possible output files, starting from the most likely. | 
| 2293 | < | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | 
| 2294 | < | # only as a last resort.  b.out is created by i960 compilers. | 
| 2295 | < | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | 
| 2296 | < | # | 
| 2297 | < | # The IRIX 6 linker writes into existing files which may not be | 
| 2298 | < | # executable, retaining their permissions.  Remove them first so a | 
| 2299 | < | # subsequent execution test works. | 
| 2300 | < | ac_rmfiles= | 
| 2301 | < | for ac_file in $ac_files | 
| 2380 | > | # Extract the first word of "$ac_cxx_set", so it can be a program name with args. | 
| 2381 | > | set dummy $ac_cxx_set; ac_word=$2 | 
| 2382 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2383 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2384 | > | if test "${ac_cv_path_ac_cxx_path+set}" = set; then | 
| 2385 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2386 | > | else | 
| 2387 | > | case $ac_cxx_path in | 
| 2388 | > | [\\/]* | ?:[\\/]*) | 
| 2389 | > | ac_cv_path_ac_cxx_path="$ac_cxx_path" # Let the user override the test with a path. | 
| 2390 | > | ;; | 
| 2391 | > | *) | 
| 2392 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2393 | > | for as_dir in $PATH | 
| 2394 |  | do | 
| 2395 | < | case $ac_file in | 
| 2396 | < | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 
| 2397 | < | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 
| 2398 | < | esac | 
| 2395 | > | IFS=$as_save_IFS | 
| 2396 | > | test -z "$as_dir" && as_dir=. | 
| 2397 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2398 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2399 | > | ac_cv_path_ac_cxx_path="$as_dir/$ac_word$ac_exec_ext" | 
| 2400 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2401 | > | break 2 | 
| 2402 | > | fi | 
| 2403 |  | done | 
| 2308 | – | rm -rf $ac_rmfiles | 
| 2309 | – |  | 
| 2310 | – | if { (ac_try="$ac_link_default" | 
| 2311 | – | case "(($ac_try" in | 
| 2312 | – | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2313 | – | *) ac_try_echo=$ac_try;; | 
| 2314 | – | esac | 
| 2315 | – | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2316 | – | (eval "$ac_link_default") 2>&5 | 
| 2317 | – | ac_status=$? | 
| 2318 | – | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2319 | – | (exit $ac_status); }; then | 
| 2320 | – | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 
| 2321 | – | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 
| 2322 | – | # in a Makefile.  We should not override ac_cv_exeext if it was cached, | 
| 2323 | – | # so that the user can short-circuit this test for compilers unknown to | 
| 2324 | – | # Autoconf. | 
| 2325 | – | for ac_file in $ac_files '' | 
| 2326 | – | do | 
| 2327 | – | test -f "$ac_file" || continue | 
| 2328 | – | case $ac_file in | 
| 2329 | – | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | 
| 2330 | – | ;; | 
| 2331 | – | [ab].out ) | 
| 2332 | – | # We found the default executable, but exeext='' is most | 
| 2333 | – | # certainly right. | 
| 2334 | – | break;; | 
| 2335 | – | *.* ) | 
| 2336 | – | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 
| 2337 | – | then :; else | 
| 2338 | – | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 2339 | – | fi | 
| 2340 | – | # We set ac_cv_exeext here because the later test for it is not | 
| 2341 | – | # safe: cross compilers may not add the suffix if given an `-o' | 
| 2342 | – | # argument, so we may need to know it at that point already. | 
| 2343 | – | # Even if this section looks crufty: it has the advantage of | 
| 2344 | – | # actually working. | 
| 2345 | – | break;; | 
| 2346 | – | * ) | 
| 2347 | – | break;; | 
| 2348 | – | esac | 
| 2404 |  | done | 
| 2405 | < | test "$ac_cv_exeext" = no && ac_cv_exeext= | 
| 2405 | > | IFS=$as_save_IFS | 
| 2406 |  |  | 
| 2407 | + | test -z "$ac_cv_path_ac_cxx_path" && ac_cv_path_ac_cxx_path="no" | 
| 2408 | + | ;; | 
| 2409 | + | esac | 
| 2410 | + | fi | 
| 2411 | + | ac_cxx_path=$ac_cv_path_ac_cxx_path | 
| 2412 | + | if test -n "$ac_cxx_path"; then | 
| 2413 | + | { echo "$as_me:$LINENO: result: $ac_cxx_path" >&5 | 
| 2414 | + | echo "${ECHO_T}$ac_cxx_path" >&6; } | 
| 2415 |  | else | 
| 2416 | < | ac_file='' | 
| 2416 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2417 | > | echo "${ECHO_T}no" >&6; } | 
| 2418 |  | fi | 
| 2419 |  |  | 
| 2356 | – | { echo "$as_me:$LINENO: result: $ac_file" >&5 | 
| 2357 | – | echo "${ECHO_T}$ac_file" >&6; } | 
| 2358 | – | if test -z "$ac_file"; then | 
| 2359 | – | echo "$as_me: failed program was:" >&5 | 
| 2360 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2420 |  |  | 
| 2421 | < | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
| 2422 | < | See \`config.log' for more details." >&5 | 
| 2423 | < | echo "$as_me: error: C++ compiler cannot create executables | 
| 2424 | < | See \`config.log' for more details." >&2;} | 
| 2425 | < | { (exit 77); exit 77; }; } | 
| 2421 | > | else | 
| 2422 | > |  | 
| 2423 | > | { { echo "$as_me:$LINENO: error: Specified C++ compiler $CXX doesn't seem to exist!" >&5 | 
| 2424 | > | echo "$as_me: error: Specified C++ compiler $CXX doesn't seem to exist!" >&2;} | 
| 2425 | > | { (exit 1); exit 1; }; } | 
| 2426 |  | fi | 
| 2427 |  |  | 
| 2369 | – | ac_exeext=$ac_cv_exeext | 
| 2428 |  |  | 
| 2429 | < | # Check that the compiler produces executables we can run.  If not, either | 
| 2430 | < | # the compiler is broken, or we cross compile. | 
| 2431 | < | { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
| 2432 | < | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } | 
| 2433 | < | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
| 2434 | < | # If not cross compiling, check that we can run a simple program. | 
| 2435 | < | if test "$cross_compiling" != yes; then | 
| 2436 | < | if { ac_try='./$ac_file' | 
| 2379 | < | { (case "(($ac_try" in | 
| 2380 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2381 | < | *) ac_try_echo=$ac_try;; | 
| 2382 | < | esac | 
| 2383 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2384 | < | (eval "$ac_try") 2>&5 | 
| 2385 | < | ac_status=$? | 
| 2386 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2387 | < | (exit $ac_status); }; }; then | 
| 2388 | < | cross_compiling=no | 
| 2389 | < | else | 
| 2390 | < | if test "$cross_compiling" = maybe; then | 
| 2391 | < | cross_compiling=yes | 
| 2392 | < | else | 
| 2393 | < | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
| 2394 | < | If you meant to cross compile, use \`--host'. | 
| 2395 | < | See \`config.log' for more details." >&5 | 
| 2396 | < | echo "$as_me: error: cannot run C++ compiled programs. | 
| 2397 | < | If you meant to cross compile, use \`--host'. | 
| 2398 | < | See \`config.log' for more details." >&2;} | 
| 2429 | > | if test $ac_cxx_path != no; then | 
| 2430 | > |  | 
| 2431 | > | { echo "$as_me:$LINENO: Will attempt to use $CXX as C++ compiler" >&5 | 
| 2432 | > | echo "$as_me: Will attempt to use $CXX as C++ compiler" >&6;} | 
| 2433 | > | else | 
| 2434 | > |  | 
| 2435 | > | { { echo "$as_me:$LINENO: error: Can't find path to user-specified C++ compiler $CXX" >&5 | 
| 2436 | > | echo "$as_me: error: Can't find path to user-specified C++ compiler $CXX" >&2;} | 
| 2437 |  | { (exit 1); exit 1; }; } | 
| 2400 | – | fi | 
| 2401 | – | fi | 
| 2438 |  | fi | 
| 2403 | – | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 2404 | – | echo "${ECHO_T}yes" >&6; } | 
| 2439 |  |  | 
| 2440 | < | rm -rf a.out a.exe conftest$ac_cv_exeext b.out | 
| 2407 | < | ac_clean_files=$ac_clean_files_save | 
| 2408 | < | # Check that the compiler produces executables we can run.  If not, either | 
| 2409 | < | # the compiler is broken, or we cross compile. | 
| 2410 | < | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
| 2411 | < | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | 
| 2412 | < | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
| 2413 | < | echo "${ECHO_T}$cross_compiling" >&6; } | 
| 2440 | > | fi | 
| 2441 |  |  | 
| 2442 | < | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
| 2443 | < | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | 
| 2444 | < | if { (ac_try="$ac_link" | 
| 2445 | < | case "(($ac_try" in | 
| 2446 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2447 | < | *) ac_try_echo=$ac_try;; | 
| 2448 | < | esac | 
| 2449 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2450 | < | (eval "$ac_link") 2>&5 | 
| 2451 | < | ac_status=$? | 
| 2452 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2453 | < | (exit $ac_status); }; then | 
| 2454 | < | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
| 2455 | < | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
| 2456 | < | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
| 2457 | < | # `rm'. | 
| 2458 | < | for ac_file in conftest.exe conftest conftest.*; do | 
| 2459 | < | test -f "$ac_file" || continue | 
| 2460 | < | case $ac_file in | 
| 2461 | < | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 
| 2462 | < | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 2463 | < | break;; | 
| 2464 | < | * ) break;; | 
| 2465 | < | esac | 
| 2442 | > | if test x"$FC" != x; then | 
| 2443 | > | for ac_prog in $FC | 
| 2444 | > | do | 
| 2445 | > | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2446 | > | set dummy $ac_prog; ac_word=$2 | 
| 2447 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2448 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2449 | > | if test "${ac_cv_prog_ac_fc_set+set}" = set; then | 
| 2450 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2451 | > | else | 
| 2452 | > | if test -n "$ac_fc_set"; then | 
| 2453 | > | ac_cv_prog_ac_fc_set="$ac_fc_set" # Let the user override the test. | 
| 2454 | > | else | 
| 2455 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2456 | > | for as_dir in $PATH | 
| 2457 | > | do | 
| 2458 | > | IFS=$as_save_IFS | 
| 2459 | > | test -z "$as_dir" && as_dir=. | 
| 2460 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2461 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2462 | > | ac_cv_prog_ac_fc_set="$ac_prog" | 
| 2463 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2464 | > | break 2 | 
| 2465 | > | fi | 
| 2466 |  | done | 
| 2467 | + | done | 
| 2468 | + | IFS=$as_save_IFS | 
| 2469 | + |  | 
| 2470 | + | fi | 
| 2471 | + | fi | 
| 2472 | + | ac_fc_set=$ac_cv_prog_ac_fc_set | 
| 2473 | + | if test -n "$ac_fc_set"; then | 
| 2474 | + | { echo "$as_me:$LINENO: result: $ac_fc_set" >&5 | 
| 2475 | + | echo "${ECHO_T}$ac_fc_set" >&6; } | 
| 2476 |  | else | 
| 2477 | < | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
| 2478 | < | See \`config.log' for more details." >&5 | 
| 2443 | < | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
| 2444 | < | See \`config.log' for more details." >&2;} | 
| 2445 | < | { (exit 1); exit 1; }; } | 
| 2477 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2478 | > | echo "${ECHO_T}no" >&6; } | 
| 2479 |  | fi | 
| 2480 |  |  | 
| 2448 | – | rm -rf conftest$ac_cv_exeext | 
| 2449 | – | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
| 2450 | – | echo "${ECHO_T}$ac_cv_exeext" >&6; } | 
| 2481 |  |  | 
| 2482 | < | rm -rf conftest.$ac_ext | 
| 2483 | < | EXEEXT=$ac_cv_exeext | 
| 2484 | < | ac_exeext=$EXEEXT | 
| 2485 | < | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
| 2486 | < | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 
| 2487 | < | if test "${ac_cv_objext+set}" = set; then | 
| 2482 | > | test -n "$ac_fc_set" && break | 
| 2483 | > | done | 
| 2484 | > | test -n "$ac_fc_set" || ac_fc_set="no" | 
| 2485 | > |  | 
| 2486 | > | if test $ac_fc_set != no; then | 
| 2487 | > |  | 
| 2488 | > | # Extract the first word of "$ac_fc_set", so it can be a program name with args. | 
| 2489 | > | set dummy $ac_fc_set; ac_word=$2 | 
| 2490 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2491 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2492 | > | if test "${ac_cv_path_ac_fc_path+set}" = set; then | 
| 2493 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2494 |  | else | 
| 2495 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2496 | < | /* confdefs.h.  */ | 
| 2497 | < | _ACEOF | 
| 2498 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2499 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2500 | < | /* end confdefs.h.  */ | 
| 2495 | > | case $ac_fc_path in | 
| 2496 | > | [\\/]* | ?:[\\/]*) | 
| 2497 | > | ac_cv_path_ac_fc_path="$ac_fc_path" # Let the user override the test with a path. | 
| 2498 | > | ;; | 
| 2499 | > | *) | 
| 2500 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2501 | > | for as_dir in $PATH | 
| 2502 | > | do | 
| 2503 | > | IFS=$as_save_IFS | 
| 2504 | > | test -z "$as_dir" && as_dir=. | 
| 2505 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2506 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2507 | > | ac_cv_path_ac_fc_path="$as_dir/$ac_word$ac_exec_ext" | 
| 2508 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2509 | > | break 2 | 
| 2510 | > | fi | 
| 2511 | > | done | 
| 2512 | > | done | 
| 2513 | > | IFS=$as_save_IFS | 
| 2514 |  |  | 
| 2515 | < | int | 
| 2516 | < | main () | 
| 2469 | < | { | 
| 2470 | < |  | 
| 2471 | < | ; | 
| 2472 | < | return 0; | 
| 2473 | < | } | 
| 2474 | < | _ACEOF | 
| 2475 | < | rm -rf conftest.o conftest.obj | 
| 2476 | < | if { (ac_try="$ac_compile" | 
| 2477 | < | case "(($ac_try" in | 
| 2478 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2479 | < | *) ac_try_echo=$ac_try;; | 
| 2515 | > | test -z "$ac_cv_path_ac_fc_path" && ac_cv_path_ac_fc_path="no" | 
| 2516 | > | ;; | 
| 2517 |  | esac | 
| 2518 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2519 | < | (eval "$ac_compile") 2>&5 | 
| 2520 | < | ac_status=$? | 
| 2521 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2522 | < | (exit $ac_status); }; then | 
| 2486 | < | for ac_file in conftest.o conftest.obj conftest.*; do | 
| 2487 | < | test -f "$ac_file" || continue; | 
| 2488 | < | case $ac_file in | 
| 2489 | < | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | 
| 2490 | < | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
| 2491 | < | break;; | 
| 2492 | < | esac | 
| 2493 | < | done | 
| 2518 | > | fi | 
| 2519 | > | ac_fc_path=$ac_cv_path_ac_fc_path | 
| 2520 | > | if test -n "$ac_fc_path"; then | 
| 2521 | > | { echo "$as_me:$LINENO: result: $ac_fc_path" >&5 | 
| 2522 | > | echo "${ECHO_T}$ac_fc_path" >&6; } | 
| 2523 |  | else | 
| 2524 | < | echo "$as_me: failed program was:" >&5 | 
| 2525 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2524 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2525 | > | echo "${ECHO_T}no" >&6; } | 
| 2526 | > | fi | 
| 2527 |  |  | 
| 2528 | < | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
| 2529 | < | See \`config.log' for more details." >&5 | 
| 2530 | < | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
| 2531 | < | See \`config.log' for more details." >&2;} | 
| 2528 | > |  | 
| 2529 | > | else | 
| 2530 | > |  | 
| 2531 | > | { { echo "$as_me:$LINENO: error: Specified Fortran compiler $FC doesn't seem to exist!" >&5 | 
| 2532 | > | echo "$as_me: error: Specified Fortran compiler $FC doesn't seem to exist!" >&2;} | 
| 2533 |  | { (exit 1); exit 1; }; } | 
| 2534 |  | fi | 
| 2535 |  |  | 
| 2505 | – | rm -rf conftest.$ac_cv_objext conftest.$ac_ext | 
| 2506 | – | fi | 
| 2507 | – | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
| 2508 | – | echo "${ECHO_T}$ac_cv_objext" >&6; } | 
| 2509 | – | OBJEXT=$ac_cv_objext | 
| 2510 | – | ac_objext=$OBJEXT | 
| 2511 | – | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
| 2512 | – | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | 
| 2513 | – | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
| 2514 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2515 | – | else | 
| 2516 | – | cat >conftest.$ac_ext <<_ACEOF | 
| 2517 | – | /* confdefs.h.  */ | 
| 2518 | – | _ACEOF | 
| 2519 | – | cat confdefs.h >>conftest.$ac_ext | 
| 2520 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 2521 | – | /* end confdefs.h.  */ | 
| 2536 |  |  | 
| 2537 | < | int | 
| 2524 | < | main () | 
| 2525 | < | { | 
| 2526 | < | #ifndef __GNUC__ | 
| 2527 | < | choke me | 
| 2528 | < | #endif | 
| 2537 | > | if test $ac_fc_path != no; then | 
| 2538 |  |  | 
| 2539 | < | ; | 
| 2540 | < | return 0; | 
| 2532 | < | } | 
| 2533 | < | _ACEOF | 
| 2534 | < | rm -rf conftest.$ac_objext | 
| 2535 | < | if { (ac_try="$ac_compile" | 
| 2536 | < | case "(($ac_try" in | 
| 2537 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2538 | < | *) ac_try_echo=$ac_try;; | 
| 2539 | < | esac | 
| 2540 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2541 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2542 | < | ac_status=$? | 
| 2543 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2544 | < | rm -rf conftest.er1 | 
| 2545 | < | cat conftest.err >&5 | 
| 2546 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2547 | < | (exit $ac_status); } && { | 
| 2548 | < | test -z "$ac_cxx_werror_flag" || | 
| 2549 | < | test ! -s conftest.err | 
| 2550 | < | } && test -s conftest.$ac_objext; then | 
| 2551 | < | ac_compiler_gnu=yes | 
| 2539 | > | { echo "$as_me:$LINENO: Will attempt to use $FC as Fortran compiler" >&5 | 
| 2540 | > | echo "$as_me: Will attempt to use $FC as Fortran compiler" >&6;} | 
| 2541 |  | else | 
| 2553 | – | echo "$as_me: failed program was:" >&5 | 
| 2554 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2542 |  |  | 
| 2543 | < | ac_compiler_gnu=no | 
| 2543 | > | { { echo "$as_me:$LINENO: error: Can't find path to user-specified Fortran compiler $FC" >&5 | 
| 2544 | > | echo "$as_me: error: Can't find path to user-specified Fortran compiler $FC" >&2;} | 
| 2545 | > | { (exit 1); exit 1; }; } | 
| 2546 |  | fi | 
| 2547 |  |  | 
| 2559 | – | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2560 | – | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
| 2561 | – |  | 
| 2548 |  | fi | 
| 2563 | – | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| 2564 | – | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | 
| 2565 | – | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
| 2566 | – | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
| 2567 | – | ac_save_CXXFLAGS=$CXXFLAGS | 
| 2568 | – | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
| 2569 | – | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | 
| 2570 | – | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
| 2571 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2572 | – | else | 
| 2573 | – | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 
| 2574 | – | ac_cxx_werror_flag=yes | 
| 2575 | – | ac_cv_prog_cxx_g=no | 
| 2576 | – | CXXFLAGS="-g" | 
| 2577 | – | cat >conftest.$ac_ext <<_ACEOF | 
| 2578 | – | /* confdefs.h.  */ | 
| 2579 | – | _ACEOF | 
| 2580 | – | cat confdefs.h >>conftest.$ac_ext | 
| 2581 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 2582 | – | /* end confdefs.h.  */ | 
| 2549 |  |  | 
| 2584 | – | int | 
| 2585 | – | main () | 
| 2586 | – | { | 
| 2550 |  |  | 
| 2551 | < | ; | 
| 2552 | < | return 0; | 
| 2553 | < | } | 
| 2554 | < | _ACEOF | 
| 2555 | < | rm -rf conftest.$ac_objext | 
| 2593 | < | if { (ac_try="$ac_compile" | 
| 2594 | < | case "(($ac_try" in | 
| 2595 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2596 | < | *) ac_try_echo=$ac_try;; | 
| 2597 | < | esac | 
| 2598 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2599 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2600 | < | ac_status=$? | 
| 2601 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2602 | < | rm -rf conftest.er1 | 
| 2603 | < | cat conftest.err >&5 | 
| 2604 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2605 | < | (exit $ac_status); } && { | 
| 2606 | < | test -z "$ac_cxx_werror_flag" || | 
| 2607 | < | test ! -s conftest.err | 
| 2608 | < | } && test -s conftest.$ac_objext; then | 
| 2609 | < | ac_cv_prog_cxx_g=yes | 
| 2551 | > |  | 
| 2552 | > |  | 
| 2553 | > | # Check whether --with-mpi was given. | 
| 2554 | > | if test "${with_mpi+set}" = set; then | 
| 2555 | > | withval=$with_mpi; | 
| 2556 |  | else | 
| 2557 | < | echo "$as_me: failed program was:" >&5 | 
| 2558 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2557 | > | with_mpi="auto" | 
| 2558 | > | fi | 
| 2559 |  |  | 
| 2560 | < | CXXFLAGS="" | 
| 2615 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2616 | < | /* confdefs.h.  */ | 
| 2617 | < | _ACEOF | 
| 2618 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2619 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2620 | < | /* end confdefs.h.  */ | 
| 2560 | > | if test "x$with_mpi" != "xno"; then | 
| 2561 |  |  | 
| 2622 | – | int | 
| 2623 | – | main () | 
| 2624 | – | { | 
| 2562 |  |  | 
| 2563 | < | ; | 
| 2564 | < | return 0; | 
| 2565 | < | } | 
| 2566 | < | _ACEOF | 
| 2567 | < | rm -rf conftest.$ac_objext | 
| 2568 | < | if { (ac_try="$ac_compile" | 
| 2569 | < | case "(($ac_try" in | 
| 2570 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2634 | < | *) ac_try_echo=$ac_try;; | 
| 2635 | < | esac | 
| 2636 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2637 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2638 | < | ac_status=$? | 
| 2639 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2640 | < | rm -rf conftest.er1 | 
| 2641 | < | cat conftest.err >&5 | 
| 2642 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2643 | < | (exit $ac_status); } && { | 
| 2644 | < | test -z "$ac_cxx_werror_flag" || | 
| 2645 | < | test ! -s conftest.err | 
| 2646 | < | } && test -s conftest.$ac_objext; then | 
| 2647 | < | : | 
| 2563 | > | for ac_prog in $CC openmpicc mpicc | 
| 2564 | > | do | 
| 2565 | > | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2566 | > | set dummy $ac_prog; ac_word=$2 | 
| 2567 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2568 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2569 | > | if test "${ac_cv_prog_acx_mpi_mpicc+set}" = set; then | 
| 2570 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2571 |  | else | 
| 2572 | < | echo "$as_me: failed program was:" >&5 | 
| 2573 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2651 | < |  | 
| 2652 | < | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
| 2653 | < | CXXFLAGS="-g" | 
| 2654 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2655 | < | /* confdefs.h.  */ | 
| 2656 | < | _ACEOF | 
| 2657 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2658 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2659 | < | /* end confdefs.h.  */ | 
| 2660 | < |  | 
| 2661 | < | int | 
| 2662 | < | main () | 
| 2663 | < | { | 
| 2664 | < |  | 
| 2665 | < | ; | 
| 2666 | < | return 0; | 
| 2667 | < | } | 
| 2668 | < | _ACEOF | 
| 2669 | < | rm -rf conftest.$ac_objext | 
| 2670 | < | if { (ac_try="$ac_compile" | 
| 2671 | < | case "(($ac_try" in | 
| 2672 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2673 | < | *) ac_try_echo=$ac_try;; | 
| 2674 | < | esac | 
| 2675 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2676 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2677 | < | ac_status=$? | 
| 2678 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2679 | < | rm -rf conftest.er1 | 
| 2680 | < | cat conftest.err >&5 | 
| 2681 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2682 | < | (exit $ac_status); } && { | 
| 2683 | < | test -z "$ac_cxx_werror_flag" || | 
| 2684 | < | test ! -s conftest.err | 
| 2685 | < | } && test -s conftest.$ac_objext; then | 
| 2686 | < | ac_cv_prog_cxx_g=yes | 
| 2572 | > | if test -n "$acx_mpi_mpicc"; then | 
| 2573 | > | ac_cv_prog_acx_mpi_mpicc="$acx_mpi_mpicc" # Let the user override the test. | 
| 2574 |  | else | 
| 2575 | < | echo "$as_me: failed program was:" >&5 | 
| 2576 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2575 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2576 | > | for as_dir in $PATH | 
| 2577 | > | do | 
| 2578 | > | IFS=$as_save_IFS | 
| 2579 | > | test -z "$as_dir" && as_dir=. | 
| 2580 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2581 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2582 | > | ac_cv_prog_acx_mpi_mpicc="$ac_prog" | 
| 2583 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2584 | > | break 2 | 
| 2585 | > | fi | 
| 2586 | > | done | 
| 2587 | > | done | 
| 2588 | > | IFS=$as_save_IFS | 
| 2589 |  |  | 
| 2691 | – |  | 
| 2590 |  | fi | 
| 2693 | – |  | 
| 2694 | – | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2591 |  | fi | 
| 2592 | < |  | 
| 2593 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2594 | < | fi | 
| 2595 | < |  | 
| 2700 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2701 | < | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
| 2702 | < | fi | 
| 2703 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
| 2704 | < | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | 
| 2705 | < | if test "$ac_test_CXXFLAGS" = set; then | 
| 2706 | < | CXXFLAGS=$ac_save_CXXFLAGS | 
| 2707 | < | elif test $ac_cv_prog_cxx_g = yes; then | 
| 2708 | < | if test "$GXX" = yes; then | 
| 2709 | < | CXXFLAGS="-g -O2" | 
| 2710 | < | else | 
| 2711 | < | CXXFLAGS="-g" | 
| 2712 | < | fi | 
| 2592 | > | acx_mpi_mpicc=$ac_cv_prog_acx_mpi_mpicc | 
| 2593 | > | if test -n "$acx_mpi_mpicc"; then | 
| 2594 | > | { echo "$as_me:$LINENO: result: $acx_mpi_mpicc" >&5 | 
| 2595 | > | echo "${ECHO_T}$acx_mpi_mpicc" >&6; } | 
| 2596 |  | else | 
| 2597 | < | if test "$GXX" = yes; then | 
| 2598 | < | CXXFLAGS="-O2" | 
| 2716 | < | else | 
| 2717 | < | CXXFLAGS= | 
| 2718 | < | fi | 
| 2597 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2598 | > | echo "${ECHO_T}no" >&6; } | 
| 2599 |  | fi | 
| 2720 | – | ac_ext=c | 
| 2721 | – | ac_cpp='$CPP $CPPFLAGS' | 
| 2722 | – | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2723 | – | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2724 | – | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2600 |  |  | 
| 2601 | < | ac_ext=c | 
| 2602 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 2603 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2604 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2605 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2606 | < | if test -n "$ac_tool_prefix"; then | 
| 2607 | < | for ac_prog in mpicc icc pathcc pgcc cc xlc gcc | 
| 2608 | < | do | 
| 2609 | < | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 2735 | < | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 2601 | > |  | 
| 2602 | > | test -n "$acx_mpi_mpicc" && break | 
| 2603 | > | done | 
| 2604 | > | test -n "$acx_mpi_mpicc" || acx_mpi_mpicc="no" | 
| 2605 | > |  | 
| 2606 | > | if test $acx_mpi_mpicc != no; then | 
| 2607 | > |  | 
| 2608 | > | # Extract the first word of "$acx_mpi_mpicc", so it can be a program name with args. | 
| 2609 | > | set dummy $acx_mpi_mpicc; ac_word=$2 | 
| 2610 |  | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2611 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2612 | < | if test "${ac_cv_prog_CC+set}" = set; then | 
| 2612 | > | if test "${ac_cv_path_acx_mpi_mpicc_path+set}" = set; then | 
| 2613 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2614 |  | else | 
| 2615 | < | if test -n "$CC"; then | 
| 2616 | < | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 2617 | < | else | 
| 2618 | < | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2615 | > | case $acx_mpi_mpicc_path in | 
| 2616 | > | [\\/]* | ?:[\\/]*) | 
| 2617 | > | ac_cv_path_acx_mpi_mpicc_path="$acx_mpi_mpicc_path" # Let the user override the test with a path. | 
| 2618 | > | ;; | 
| 2619 | > | *) | 
| 2620 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2621 |  | for as_dir in $PATH | 
| 2622 |  | do | 
| 2623 |  | IFS=$as_save_IFS | 
| 2624 |  | test -z "$as_dir" && as_dir=. | 
| 2625 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2626 |  | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2627 | < | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| 2627 | > | ac_cv_path_acx_mpi_mpicc_path="$as_dir/$ac_word$ac_exec_ext" | 
| 2628 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2629 |  | break 2 | 
| 2630 |  | fi | 
| 2632 |  | done | 
| 2633 |  | IFS=$as_save_IFS | 
| 2634 |  |  | 
| 2635 | + | test -z "$ac_cv_path_acx_mpi_mpicc_path" && ac_cv_path_acx_mpi_mpicc_path="no" | 
| 2636 | + | ;; | 
| 2637 | + | esac | 
| 2638 |  | fi | 
| 2639 | < | fi | 
| 2640 | < | CC=$ac_cv_prog_CC | 
| 2641 | < | if test -n "$CC"; then | 
| 2642 | < | { echo "$as_me:$LINENO: result: $CC" >&5 | 
| 2764 | < | echo "${ECHO_T}$CC" >&6; } | 
| 2639 | > | acx_mpi_mpicc_path=$ac_cv_path_acx_mpi_mpicc_path | 
| 2640 | > | if test -n "$acx_mpi_mpicc_path"; then | 
| 2641 | > | { echo "$as_me:$LINENO: result: $acx_mpi_mpicc_path" >&5 | 
| 2642 | > | echo "${ECHO_T}$acx_mpi_mpicc_path" >&6; } | 
| 2643 |  | else | 
| 2644 |  | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2645 |  | echo "${ECHO_T}no" >&6; } | 
| 2646 |  | fi | 
| 2647 |  |  | 
| 2648 |  |  | 
| 2771 | – | test -n "$CC" && break | 
| 2772 | – | done | 
| 2649 |  | fi | 
| 2650 | < | if test -z "$CC"; then | 
| 2651 | < | ac_ct_CC=$CC | 
| 2776 | < | for ac_prog in mpicc icc pathcc pgcc cc xlc gcc | 
| 2650 | > |  | 
| 2651 | > | for ac_prog in $FC openmpif90 mpif90 | 
| 2652 |  | do | 
| 2653 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2654 |  | set dummy $ac_prog; ac_word=$2 | 
| 2655 |  | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2656 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2657 | < | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
| 2657 | > | if test "${ac_cv_prog_acx_mpi_mpif90+set}" = set; then | 
| 2658 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2659 |  | else | 
| 2660 | < | if test -n "$ac_ct_CC"; then | 
| 2661 | < | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| 2660 | > | if test -n "$acx_mpi_mpif90"; then | 
| 2661 | > | ac_cv_prog_acx_mpi_mpif90="$acx_mpi_mpif90" # Let the user override the test. | 
| 2662 |  | else | 
| 2663 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2664 |  | for as_dir in $PATH | 
| 2667 |  | test -z "$as_dir" && as_dir=. | 
| 2668 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2669 |  | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2670 | < | ac_cv_prog_ac_ct_CC="$ac_prog" | 
| 2670 | > | ac_cv_prog_acx_mpi_mpif90="$ac_prog" | 
| 2671 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2672 |  | break 2 | 
| 2673 |  | fi | 
| 2677 |  |  | 
| 2678 |  | fi | 
| 2679 |  | fi | 
| 2680 | < | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| 2681 | < | if test -n "$ac_ct_CC"; then | 
| 2682 | < | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
| 2683 | < | echo "${ECHO_T}$ac_ct_CC" >&6; } | 
| 2680 | > | acx_mpi_mpif90=$ac_cv_prog_acx_mpi_mpif90 | 
| 2681 | > | if test -n "$acx_mpi_mpif90"; then | 
| 2682 | > | { echo "$as_me:$LINENO: result: $acx_mpi_mpif90" >&5 | 
| 2683 | > | echo "${ECHO_T}$acx_mpi_mpif90" >&6; } | 
| 2684 |  | else | 
| 2685 |  | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2686 |  | echo "${ECHO_T}no" >&6; } | 
| 2687 |  | fi | 
| 2688 |  |  | 
| 2689 |  |  | 
| 2690 | < | test -n "$ac_ct_CC" && break | 
| 2690 | > | test -n "$acx_mpi_mpif90" && break | 
| 2691 |  | done | 
| 2692 | + | test -n "$acx_mpi_mpif90" || acx_mpi_mpif90="no" | 
| 2693 |  |  | 
| 2694 | < | if test "x$ac_ct_CC" = x; then | 
| 2695 | < | CC="" | 
| 2696 | < | else | 
| 2697 | < | case $cross_compiling:$ac_tool_warned in | 
| 2698 | < | yes:) | 
| 2699 | < | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 
| 2700 | < | whose name does not start with the host triplet.  If you think this | 
| 2701 | < | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 
| 2702 | < | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | 
| 2703 | < | whose name does not start with the host triplet.  If you think this | 
| 2704 | < | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 
| 2705 | < | ac_tool_warned=yes ;; | 
| 2706 | < | esac | 
| 2707 | < | CC=$ac_ct_CC | 
| 2694 | > | if test $acx_mpi_mpif90 != no; then | 
| 2695 | > |  | 
| 2696 | > | # Extract the first word of "$acx_mpi_mpif90", so it can be a program name with args. | 
| 2697 | > | set dummy $acx_mpi_mpif90; ac_word=$2 | 
| 2698 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2699 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2700 | > | if test "${ac_cv_path_acx_mpi_mpif90_path+set}" = set; then | 
| 2701 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2702 | > | else | 
| 2703 | > | case $acx_mpi_mpif90_path in | 
| 2704 | > | [\\/]* | ?:[\\/]*) | 
| 2705 | > | ac_cv_path_acx_mpi_mpif90_path="$acx_mpi_mpif90_path" # Let the user override the test with a path. | 
| 2706 | > | ;; | 
| 2707 | > | *) | 
| 2708 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2709 | > | for as_dir in $PATH | 
| 2710 | > | do | 
| 2711 | > | IFS=$as_save_IFS | 
| 2712 | > | test -z "$as_dir" && as_dir=. | 
| 2713 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2714 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2715 | > | ac_cv_path_acx_mpi_mpif90_path="$as_dir/$ac_word$ac_exec_ext" | 
| 2716 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2717 | > | break 2 | 
| 2718 |  | fi | 
| 2719 | < | fi | 
| 2719 | > | done | 
| 2720 | > | done | 
| 2721 | > | IFS=$as_save_IFS | 
| 2722 |  |  | 
| 2723 | < |  | 
| 2724 | < | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
| 2837 | < | See \`config.log' for more details." >&5 | 
| 2838 | < | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
| 2839 | < | See \`config.log' for more details." >&2;} | 
| 2840 | < | { (exit 1); exit 1; }; } | 
| 2841 | < |  | 
| 2842 | < | # Provide some information about the compiler. | 
| 2843 | < | echo "$as_me:$LINENO: checking for C compiler version" >&5 | 
| 2844 | < | ac_compiler=`set X $ac_compile; echo $2` | 
| 2845 | < | { (ac_try="$ac_compiler --version >&5" | 
| 2846 | < | case "(($ac_try" in | 
| 2847 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2848 | < | *) ac_try_echo=$ac_try;; | 
| 2723 | > | test -z "$ac_cv_path_acx_mpi_mpif90_path" && ac_cv_path_acx_mpi_mpif90_path="no" | 
| 2724 | > | ;; | 
| 2725 |  | esac | 
| 2726 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2727 | < | (eval "$ac_compiler --version >&5") 2>&5 | 
| 2728 | < | ac_status=$? | 
| 2729 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2730 | < | (exit $ac_status); } | 
| 2731 | < | { (ac_try="$ac_compiler -v >&5" | 
| 2732 | < | case "(($ac_try" in | 
| 2733 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2734 | < | *) ac_try_echo=$ac_try;; | 
| 2859 | < | esac | 
| 2860 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2861 | < | (eval "$ac_compiler -v >&5") 2>&5 | 
| 2862 | < | ac_status=$? | 
| 2863 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2864 | < | (exit $ac_status); } | 
| 2865 | < | { (ac_try="$ac_compiler -V >&5" | 
| 2866 | < | case "(($ac_try" in | 
| 2867 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2868 | < | *) ac_try_echo=$ac_try;; | 
| 2869 | < | esac | 
| 2870 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2871 | < | (eval "$ac_compiler -V >&5") 2>&5 | 
| 2872 | < | ac_status=$? | 
| 2873 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2874 | < | (exit $ac_status); } | 
| 2726 | > | fi | 
| 2727 | > | acx_mpi_mpif90_path=$ac_cv_path_acx_mpi_mpif90_path | 
| 2728 | > | if test -n "$acx_mpi_mpif90_path"; then | 
| 2729 | > | { echo "$as_me:$LINENO: result: $acx_mpi_mpif90_path" >&5 | 
| 2730 | > | echo "${ECHO_T}$acx_mpi_mpif90_path" >&6; } | 
| 2731 | > | else | 
| 2732 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2733 | > | echo "${ECHO_T}no" >&6; } | 
| 2734 | > | fi | 
| 2735 |  |  | 
| 2736 | < | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
| 2737 | < | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | 
| 2738 | < | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
| 2736 | > |  | 
| 2737 | > | fi | 
| 2738 | > |  | 
| 2739 | > | for ac_prog in $CXX openmpicxx openmpiCC openmpic++ mpicxx mpiCC mpic++ | 
| 2740 | > | do | 
| 2741 | > | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 2742 | > | set dummy $ac_prog; ac_word=$2 | 
| 2743 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2744 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2745 | > | if test "${ac_cv_prog_acx_mpi_mpicxx+set}" = set; then | 
| 2746 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2747 |  | else | 
| 2748 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2748 | > | if test -n "$acx_mpi_mpicxx"; then | 
| 2749 | > | ac_cv_prog_acx_mpi_mpicxx="$acx_mpi_mpicxx" # Let the user override the test. | 
| 2750 | > | else | 
| 2751 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2752 | > | for as_dir in $PATH | 
| 2753 | > | do | 
| 2754 | > | IFS=$as_save_IFS | 
| 2755 | > | test -z "$as_dir" && as_dir=. | 
| 2756 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2757 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2758 | > | ac_cv_prog_acx_mpi_mpicxx="$ac_prog" | 
| 2759 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2760 | > | break 2 | 
| 2761 | > | fi | 
| 2762 | > | done | 
| 2763 | > | done | 
| 2764 | > | IFS=$as_save_IFS | 
| 2765 | > |  | 
| 2766 | > | fi | 
| 2767 | > | fi | 
| 2768 | > | acx_mpi_mpicxx=$ac_cv_prog_acx_mpi_mpicxx | 
| 2769 | > | if test -n "$acx_mpi_mpicxx"; then | 
| 2770 | > | { echo "$as_me:$LINENO: result: $acx_mpi_mpicxx" >&5 | 
| 2771 | > | echo "${ECHO_T}$acx_mpi_mpicxx" >&6; } | 
| 2772 | > | else | 
| 2773 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2774 | > | echo "${ECHO_T}no" >&6; } | 
| 2775 | > | fi | 
| 2776 | > |  | 
| 2777 | > |  | 
| 2778 | > | test -n "$acx_mpi_mpicxx" && break | 
| 2779 | > | done | 
| 2780 | > | test -n "$acx_mpi_mpicxx" || acx_mpi_mpicxx="no" | 
| 2781 | > |  | 
| 2782 | > | if test $acx_mpi_mpicxx != no; then | 
| 2783 | > |  | 
| 2784 | > | # Extract the first word of "$acx_mpi_mpicxx", so it can be a program name with args. | 
| 2785 | > | set dummy $acx_mpi_mpicxx; ac_word=$2 | 
| 2786 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2787 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 2788 | > | if test "${ac_cv_path_acx_mpi_mpicxx_path+set}" = set; then | 
| 2789 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2790 | > | else | 
| 2791 | > | case $acx_mpi_mpicxx_path in | 
| 2792 | > | [\\/]* | ?:[\\/]*) | 
| 2793 | > | ac_cv_path_acx_mpi_mpicxx_path="$acx_mpi_mpicxx_path" # Let the user override the test with a path. | 
| 2794 | > | ;; | 
| 2795 | > | *) | 
| 2796 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2797 | > | for as_dir in $PATH | 
| 2798 | > | do | 
| 2799 | > | IFS=$as_save_IFS | 
| 2800 | > | test -z "$as_dir" && as_dir=. | 
| 2801 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2802 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 2803 | > | ac_cv_path_acx_mpi_mpicxx_path="$as_dir/$ac_word$ac_exec_ext" | 
| 2804 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2805 | > | break 2 | 
| 2806 | > | fi | 
| 2807 | > | done | 
| 2808 | > | done | 
| 2809 | > | IFS=$as_save_IFS | 
| 2810 | > |  | 
| 2811 | > | test -z "$ac_cv_path_acx_mpi_mpicxx_path" && ac_cv_path_acx_mpi_mpicxx_path="no" | 
| 2812 | > | ;; | 
| 2813 | > | esac | 
| 2814 | > | fi | 
| 2815 | > | acx_mpi_mpicxx_path=$ac_cv_path_acx_mpi_mpicxx_path | 
| 2816 | > | if test -n "$acx_mpi_mpicxx_path"; then | 
| 2817 | > | { echo "$as_me:$LINENO: result: $acx_mpi_mpicxx_path" >&5 | 
| 2818 | > | echo "${ECHO_T}$acx_mpi_mpicxx_path" >&6; } | 
| 2819 | > | else | 
| 2820 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 2821 | > | echo "${ECHO_T}no" >&6; } | 
| 2822 | > | fi | 
| 2823 | > |  | 
| 2824 | > |  | 
| 2825 | > | fi | 
| 2826 | > |  | 
| 2827 | > | if test $acx_mpi_mpicc = no; then | 
| 2828 | > |  | 
| 2829 | > | if test $acx_mpi_mpicxx = no; then | 
| 2830 | > |  | 
| 2831 | > | acx_mpi_compiler=no | 
| 2832 | > |  | 
| 2833 | > | else | 
| 2834 | > |  | 
| 2835 | > | acx_mpi_compiler=$acx_mpi_mpicxx | 
| 2836 | > | acx_mpi_compiler_path=$acx_mpi_mpicxx_path | 
| 2837 | > | fi | 
| 2838 | > |  | 
| 2839 | > |  | 
| 2840 | > | else | 
| 2841 | > |  | 
| 2842 | > | if test $acx_mpi_mpicxx = no; then | 
| 2843 | > |  | 
| 2844 | > | acx_mpi_compiler=$acx_mpi_mpicc | 
| 2845 | > | acx_mpi_compiler_path=$acx_mpi_mpicc_path | 
| 2846 | > |  | 
| 2847 | > | else | 
| 2848 | > |  | 
| 2849 | > | { echo "$as_me:$LINENO: checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx" >&5 | 
| 2850 | > | echo $ECHO_N "checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx... $ECHO_C" >&6; } | 
| 2851 | > | ac_ext=cpp | 
| 2852 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 2853 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2854 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2855 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 2856 | > |  | 
| 2857 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 2858 |  | /* confdefs.h.  */ | 
| 2859 |  | _ACEOF | 
| 2860 |  | cat confdefs.h >>conftest.$ac_ext | 
| 2861 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 2862 |  | /* end confdefs.h.  */ | 
| 2863 |  |  | 
| 2864 | + | #include <mpi.h> | 
| 2865 | + |  | 
| 2866 |  | int | 
| 2867 |  | main () | 
| 2868 |  | { | 
| 2891 | – | #ifndef __GNUC__ | 
| 2892 | – | choke me | 
| 2893 | – | #endif | 
| 2869 |  |  | 
| 2870 | + | MPI_Finalize(); | 
| 2871 | + |  | 
| 2872 |  | ; | 
| 2873 |  | return 0; | 
| 2874 |  | } | 
| 2875 |  | _ACEOF | 
| 2876 | < | rm -rf conftest.$ac_objext | 
| 2900 | < | if { (ac_try="$ac_compile" | 
| 2876 | > | if { (ac_try="$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5" | 
| 2877 |  | case "(($ac_try" in | 
| 2878 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2879 |  | *) ac_try_echo=$ac_try;; | 
| 2880 |  | esac | 
| 2881 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2882 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2882 | > | (eval "$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5") 2>conftest.er1 | 
| 2883 |  | ac_status=$? | 
| 2884 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2885 |  | rm -f conftest.er1 | 
| 2886 |  | cat conftest.err >&5 | 
| 2887 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2888 |  | (exit $ac_status); } && { | 
| 2889 | < | test -z "$ac_c_werror_flag" || | 
| 2890 | < | test ! -s conftest.err | 
| 2889 | > | test -z "$ac_cxx_werror_flag" || | 
| 2890 | > | test ! -s conftest.err | 
| 2891 |  | } && test -s conftest.$ac_objext; then | 
| 2892 | < | ac_compiler_gnu=yes | 
| 2892 | > |  | 
| 2893 | > | acx_mpi_compiler=$acx_mpi_mpicxx | 
| 2894 | > | acx_mpi_compiler_path=$acx_mpi_mpicxx_path | 
| 2895 | > |  | 
| 2896 |  | else | 
| 2918 | – | echo "$as_me: failed program was:" >&5 | 
| 2919 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2897 |  |  | 
| 2898 | < | ac_compiler_gnu=no | 
| 2898 | > | acx_mpi_compiler=$acx_mpi_mpicc | 
| 2899 | > | acx_mpi_compiler_path=$acx_mpi_mpicc_path | 
| 2900 |  | fi | 
| 2901 |  |  | 
| 2902 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2903 | < | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| 2902 | > | ac_ext=c | 
| 2903 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 2904 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2905 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2906 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2907 |  |  | 
| 2908 | + | { echo "$as_me:$LINENO: result: $acx_mpi_compiler" >&5 | 
| 2909 | + | echo "${ECHO_T}$acx_mpi_compiler" >&6; } | 
| 2910 |  | fi | 
| 2911 | < | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
| 2912 | < | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 
| 2913 | < | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
| 2914 | < | ac_test_CFLAGS=${CFLAGS+set} | 
| 2915 | < | ac_save_CFLAGS=$CFLAGS | 
| 2916 | < | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
| 2917 | < | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 
| 2918 | < | if test "${ac_cv_prog_cc_g+set}" = set; then | 
| 2919 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2911 | > |  | 
| 2912 | > | fi | 
| 2913 | > |  | 
| 2914 | > | { echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 | 
| 2915 | > | echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } | 
| 2916 | > | ac_ext=${ac_fc_srcext-f} | 
| 2917 | > | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' | 
| 2918 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 2919 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 2920 | > |  | 
| 2921 | > | ac_save_ext=$ac_ext | 
| 2922 | > | ac_ext=F90 | 
| 2923 | > | rm -f conftest* | 
| 2924 | > | cat >conftest.$ac_ext <<EOF | 
| 2925 | > | program main | 
| 2926 | > | include 'mpif.h' | 
| 2927 | > | call MPI_Init | 
| 2928 | > | end | 
| 2929 | > | EOF | 
| 2930 | > | if $acx_mpi_mpif90_path -c conftest.$ac_ext > conftest.out 2>&1 ; then | 
| 2931 | > | acx_mpi_f90_compiler=yes | 
| 2932 | > | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 2933 | > | echo "${ECHO_T}yes" >&6; } | 
| 2934 |  | else | 
| 2935 | < | ac_save_c_werror_flag=$ac_c_werror_flag | 
| 2936 | < | ac_c_werror_flag=yes | 
| 2937 | < | ac_cv_prog_cc_g=no | 
| 2938 | < | CFLAGS="-g" | 
| 2939 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2940 | < | /* confdefs.h.  */ | 
| 2941 | < | _ACEOF | 
| 2942 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2943 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2944 | < | /* end confdefs.h.  */ | 
| 2935 | > | if test -s conftest.out ; then | 
| 2936 | > | cat conftest.out >> config.log | 
| 2937 | > | fi | 
| 2938 | > | acx_mpi_f90_compiler=no | 
| 2939 | > | { echo "$as_me:$LINENO: result: no! Check MPI fortran include paths" >&5 | 
| 2940 | > | echo "${ECHO_T}no! Check MPI fortran include paths" >&6; } | 
| 2941 | > | fi | 
| 2942 | > | rm -f conftest* | 
| 2943 | > | ac_ext=$ac_save_ext | 
| 2944 | > | ac_ext=c | 
| 2945 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 2946 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2947 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2948 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2949 |  |  | 
| 2950 | < | int | 
| 2950 | < | main () | 
| 2951 | < | { | 
| 2950 | > | if test $acx_mpi_compiler = no || test $acx_mpi_f90_compiler = no; then | 
| 2951 |  |  | 
| 2952 | < | ; | 
| 2953 | < | return 0; | 
| 2954 | < | } | 
| 2955 | < | _ACEOF | 
| 2956 | < | rm -rf conftest.$ac_objext | 
| 2957 | < | if { (ac_try="$ac_compile" | 
| 2952 | > | acx_cv_mpi_implementation=no | 
| 2953 | > | else | 
| 2954 | > | { echo "$as_me:$LINENO: checking for the MPI implementation flavor" >&5 | 
| 2955 | > | echo $ECHO_N "checking for the MPI implementation flavor... $ECHO_C" >&6; } | 
| 2956 | > | if test "${acx_cv_mpi_implementation+set}" = set; then | 
| 2957 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2958 | > | else | 
| 2959 | > | acx_cv_mpi_implementation=no | 
| 2960 | > | if { (ac_try="grep -q LAM $acx_mpi_compiler_path" | 
| 2961 |  | case "(($ac_try" in | 
| 2962 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2963 |  | *) ac_try_echo=$ac_try;; | 
| 2964 |  | esac | 
| 2965 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2966 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2966 | > | (eval "grep -q LAM $acx_mpi_compiler_path") 2>conftest.er1 | 
| 2967 |  | ac_status=$? | 
| 2968 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2969 |  | rm -f conftest.er1 | 
| 2970 |  | cat conftest.err >&5 | 
| 2971 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2972 | < | (exit $ac_status); } && { | 
| 2971 | < | test -z "$ac_c_werror_flag" || | 
| 2972 | < | test ! -s conftest.err | 
| 2973 | < | } && test -s conftest.$ac_objext; then | 
| 2974 | < | ac_cv_prog_cc_g=yes | 
| 2975 | < | else | 
| 2976 | < | echo "$as_me: failed program was:" >&5 | 
| 2977 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2972 | > | (exit $ac_status); }; then | 
| 2973 |  |  | 
| 2974 | < | CFLAGS="" | 
| 2980 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 2981 | < | /* confdefs.h.  */ | 
| 2982 | < | _ACEOF | 
| 2983 | < | cat confdefs.h >>conftest.$ac_ext | 
| 2984 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 2985 | < | /* end confdefs.h.  */ | 
| 2974 | > | acx_cv_mpi_implementation=lammpi | 
| 2975 |  |  | 
| 2976 | < | int | 
| 2988 | < | main () | 
| 2989 | < | { | 
| 2976 | > | else | 
| 2977 |  |  | 
| 2978 | < | ; | 
| 2992 | < | return 0; | 
| 2993 | < | } | 
| 2994 | < | _ACEOF | 
| 2995 | < | rm -rf conftest.$ac_objext | 
| 2996 | < | if { (ac_try="$ac_compile" | 
| 2978 | > | if { (ac_try="grep -q showme $acx_mpi_compiler_path" | 
| 2979 |  | case "(($ac_try" in | 
| 2980 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2981 |  | *) ac_try_echo=$ac_try;; | 
| 2982 |  | esac | 
| 2983 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 2984 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 2984 | > | (eval "grep -q showme $acx_mpi_compiler_path") 2>conftest.er1 | 
| 2985 |  | ac_status=$? | 
| 2986 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2987 | < | rm -rf conftest.er1 | 
| 2987 | > | rm -f conftest.er1 | 
| 2988 |  | cat conftest.err >&5 | 
| 2989 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2990 | < | (exit $ac_status); } && { | 
| 3009 | < | test -z "$ac_c_werror_flag" || | 
| 3010 | < | test ! -s conftest.err | 
| 3011 | < | } && test -s conftest.$ac_objext; then | 
| 3012 | < | : | 
| 3013 | < | else | 
| 3014 | < | echo "$as_me: failed program was:" >&5 | 
| 3015 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2990 | > | (exit $ac_status); }; then | 
| 2991 |  |  | 
| 2992 | < | ac_c_werror_flag=$ac_save_c_werror_flag | 
| 3018 | < | CFLAGS="-g" | 
| 3019 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3020 | < | /* confdefs.h.  */ | 
| 3021 | < | _ACEOF | 
| 3022 | < | cat confdefs.h >>conftest.$ac_ext | 
| 3023 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 3024 | < | /* end confdefs.h.  */ | 
| 2992 | > | acx_cv_mpi_implementation=openmpi | 
| 2993 |  |  | 
| 2994 | < | int | 
| 3027 | < | main () | 
| 3028 | < | { | 
| 2994 | > | else | 
| 2995 |  |  | 
| 2996 | < | ; | 
| 3031 | < | return 0; | 
| 3032 | < | } | 
| 3033 | < | _ACEOF | 
| 3034 | < | rm -rf conftest.$ac_objext | 
| 3035 | < | if { (ac_try="$ac_compile" | 
| 2996 | > | if { (ac_try="grep -q MPICH $acx_mpi_compiler_path" | 
| 2997 |  | case "(($ac_try" in | 
| 2998 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 2999 |  | *) ac_try_echo=$ac_try;; | 
| 3000 |  | esac | 
| 3001 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3002 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 3002 | > | (eval "grep -q MPICH $acx_mpi_compiler_path") 2>conftest.er1 | 
| 3003 |  | ac_status=$? | 
| 3004 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3005 |  | rm -f conftest.er1 | 
| 3006 |  | cat conftest.err >&5 | 
| 3007 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3008 | < | (exit $ac_status); } && { | 
| 3048 | < | test -z "$ac_c_werror_flag" || | 
| 3049 | < | test ! -s conftest.err | 
| 3050 | < | } && test -s conftest.$ac_objext; then | 
| 3051 | < | ac_cv_prog_cc_g=yes | 
| 3052 | < | else | 
| 3053 | < | echo "$as_me: failed program was:" >&5 | 
| 3054 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3008 | > | (exit $ac_status); }; then | 
| 3009 |  |  | 
| 3010 | + | acx_cv_mpi_implementation=mpich | 
| 3011 |  |  | 
| 3012 | + | else | 
| 3013 | + | acx_cv_mpi_implementation=$with_mpi | 
| 3014 |  | fi | 
| 3015 |  |  | 
| 3059 | – | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3016 |  | fi | 
| 3017 |  |  | 
| 3062 | – | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3018 |  | fi | 
| 3019 |  |  | 
| 3065 | – | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3066 | – | ac_c_werror_flag=$ac_save_c_werror_flag | 
| 3020 |  | fi | 
| 3021 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
| 3022 | < | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 
| 3023 | < | if test "$ac_test_CFLAGS" = set; then | 
| 3071 | < | CFLAGS=$ac_save_CFLAGS | 
| 3072 | < | elif test $ac_cv_prog_cc_g = yes; then | 
| 3073 | < | if test "$GCC" = yes; then | 
| 3074 | < | CFLAGS="-g -O2" | 
| 3075 | < | else | 
| 3076 | < | CFLAGS="-g" | 
| 3077 | < | fi | 
| 3078 | < | else | 
| 3079 | < | if test "$GCC" = yes; then | 
| 3080 | < | CFLAGS="-O2" | 
| 3081 | < | else | 
| 3082 | < | CFLAGS= | 
| 3083 | < | fi | 
| 3021 | > | { echo "$as_me:$LINENO: result: $acx_cv_mpi_implementation" >&5 | 
| 3022 | > | echo "${ECHO_T}$acx_cv_mpi_implementation" >&6; } | 
| 3023 | > |  | 
| 3024 |  | fi | 
| 3025 | < | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 
| 3026 | < | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 
| 3027 | < | if test "${ac_cv_prog_cc_c89+set}" = set; then | 
| 3028 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3029 | < | else | 
| 3090 | < | ac_cv_prog_cc_c89=no | 
| 3091 | < | ac_save_CC=$CC | 
| 3092 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3093 | < | /* confdefs.h.  */ | 
| 3025 | > | case $acx_cv_mpi_implementation in | 
| 3026 | > | (lammpi) | 
| 3027 | > |  | 
| 3028 | > | cat >>confdefs.h <<\_ACEOF | 
| 3029 | > | #define MPI_IS_LAMMPI 1 | 
| 3030 |  | _ACEOF | 
| 3095 | – | cat confdefs.h >>conftest.$ac_ext | 
| 3096 | – | cat >>conftest.$ac_ext <<_ACEOF | 
| 3097 | – | /* end confdefs.h.  */ | 
| 3098 | – | #include <stdarg.h> | 
| 3099 | – | #include <stdio.h> | 
| 3100 | – | #include <sys/types.h> | 
| 3101 | – | #include <sys/stat.h> | 
| 3102 | – | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| 3103 | – | struct buf { int x; }; | 
| 3104 | – | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| 3105 | – | static char *e (p, i) | 
| 3106 | – | char **p; | 
| 3107 | – | int i; | 
| 3108 | – | { | 
| 3109 | – | return p[i]; | 
| 3110 | – | } | 
| 3111 | – | static char *f (char * (*g) (char **, int), char **p, ...) | 
| 3112 | – | { | 
| 3113 | – | char *s; | 
| 3114 | – | va_list v; | 
| 3115 | – | va_start (v,p); | 
| 3116 | – | s = g (p, va_arg (v,int)); | 
| 3117 | – | va_end (v); | 
| 3118 | – | return s; | 
| 3119 | – | } | 
| 3031 |  |  | 
| 3032 | < | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| 3033 | < | function prototypes and stuff, but not '\xHH' hex character constants. | 
| 3123 | < | These don't provoke an error unfortunately, instead are silently treated | 
| 3124 | < | as 'x'.  The following induces an error, until -std is added to get | 
| 3125 | < | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| 3126 | < | array size at least.  It's necessary to write '\x00'==0 to get something | 
| 3127 | < | that's true only with -std.  */ | 
| 3128 | < | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| 3032 | > | ;; | 
| 3033 | > | (openmpi) | 
| 3034 |  |  | 
| 3035 | < | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
| 3036 | < | inside strings and character constants.  */ | 
| 3037 | < | #define FOO(x) 'x' | 
| 3133 | < | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
| 3035 | > | cat >>confdefs.h <<\_ACEOF | 
| 3036 | > | #define MPI_IS_OPENMPI 1 | 
| 3037 | > | _ACEOF | 
| 3038 |  |  | 
| 3039 | < | int test (int i, double x); | 
| 3040 | < | struct s1 {int (*f) (int a);}; | 
| 3041 | < | struct s2 {int (*f) (double a);}; | 
| 3042 | < | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| 3043 | < | int argc; | 
| 3140 | < | char **argv; | 
| 3141 | < | int | 
| 3142 | < | main () | 
| 3143 | < | { | 
| 3144 | < | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| 3145 | < | ; | 
| 3146 | < | return 0; | 
| 3147 | < | } | 
| 3039 | > | ;; | 
| 3040 | > | (mpich) | 
| 3041 | > |  | 
| 3042 | > | cat >>confdefs.h <<\_ACEOF | 
| 3043 | > | #define MPI_IS_MPICH 1 | 
| 3044 |  | _ACEOF | 
| 3045 | < | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
| 3046 | < | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| 3151 | < | do | 
| 3152 | < | CC="$ac_save_CC $ac_arg" | 
| 3153 | < | rm -rf conftest.$ac_objext | 
| 3154 | < | if { (ac_try="$ac_compile" | 
| 3155 | < | case "(($ac_try" in | 
| 3156 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3157 | < | *) ac_try_echo=$ac_try;; | 
| 3045 | > |  | 
| 3046 | > | ;; | 
| 3047 |  | esac | 
| 3048 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3049 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 3050 | < | ac_status=$? | 
| 3051 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3052 | < | rm -f conftest.er1 | 
| 3053 | < | cat conftest.err >&5 | 
| 3054 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3166 | < | (exit $ac_status); } && { | 
| 3167 | < | test -z "$ac_c_werror_flag" || | 
| 3168 | < | test ! -s conftest.err | 
| 3169 | < | } && test -s conftest.$ac_objext; then | 
| 3170 | < | ac_cv_prog_cc_c89=$ac_arg | 
| 3048 | > | if test $acx_cv_mpi_implementation = no; then | 
| 3049 | > |  | 
| 3050 | > | acx_mpi_cflags="" | 
| 3051 | > | acx_mpi_libs="" | 
| 3052 | > | USE_MPI="no" | 
| 3053 | > | { echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 | 
| 3054 | > | echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} | 
| 3055 |  | else | 
| 3172 | – | echo "$as_me: failed program was:" >&5 | 
| 3173 | – | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3056 |  |  | 
| 3057 |  |  | 
| 3058 | < | fi | 
| 3058 | > | { echo "$as_me:$LINENO: checking how to compile MPI-C code" >&5 | 
| 3059 | > | echo $ECHO_N "checking how to compile MPI-C code... $ECHO_C" >&6; } | 
| 3060 | > | if test "${acx_mpi_cflags+set}" = set; then | 
| 3061 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3062 | > | else | 
| 3063 |  |  | 
| 3064 | < | rm -rf core conftest.err conftest.$ac_objext | 
| 3065 | < | test "x$ac_cv_prog_cc_c89" != "xno" && break | 
| 3066 | < | done | 
| 3067 | < | rm -rf conftest.$ac_ext | 
| 3068 | < | CC=$ac_save_CC | 
| 3064 | > | case $acx_cv_mpi_implementation in | 
| 3065 | > | (lammpi) | 
| 3066 | > | cfo="--showme:compile" | 
| 3067 | > | ;; | 
| 3068 | > | (openmpi) | 
| 3069 | > | cfo="--showme:compile" | 
| 3070 | > | ;; | 
| 3071 | > | (mpich) | 
| 3072 | > | case "$acx_mpi_compiler_path" in | 
| 3073 | > | (*mpiCC) | 
| 3074 | > | sc_cv_cn="-CC=" | 
| 3075 | > | ;; | 
| 3076 | > | (*mpicxx) | 
| 3077 | > | sc_cv_cn="-cxx=" | 
| 3078 | > | ;; | 
| 3079 | > | (*mpicc) | 
| 3080 | > | sc_cv_cn="-cc=" | 
| 3081 | > | ;; | 
| 3082 | > | (*) | 
| 3083 | > | sc_cv_cn="" | 
| 3084 | > | ;; | 
| 3085 | > | esac | 
| 3086 | > | cfo="-compile_info $sc_cv_cn" | 
| 3087 | > | ;; | 
| 3088 | > | esac | 
| 3089 | > | echo "$as_me:$LINENO: mpi_pre_cflags=\"\`$acx_mpi_compiler_path $cfo || echo ' no'\`\"" >&5 | 
| 3090 | > | mpi_pre_cflags="`$acx_mpi_compiler_path $cfo 2>conftest.er1 || echo ' no'`" | 
| 3091 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3092 | > | rm -f conftest.er1 | 
| 3093 | > | cat conftest.err >&5 | 
| 3094 | > | echo "$as_me:$LINENO: mpi_pre_cflags = $mpi_pre_cflags" >&5 | 
| 3095 | > | case "$mpi_pre_cflags" in | 
| 3096 | > | (*no) | 
| 3097 | > | acx_mpi_cflags=no | 
| 3098 | > | acx_mpi_cflags="no" | 
| 3099 | > | ;; | 
| 3100 | > | (*) | 
| 3101 | > | acx_mpi_tmp_mode="normal" | 
| 3102 | > | acx_mpi_tmp_prefix="" | 
| 3103 | > | eval "acx_mpi_cflags=\"\"" | 
| 3104 | > | for acx_mpi_tmp in $mpi_pre_cflags; do | 
| 3105 | > | case "$acx_mpi_tmp_mode" in | 
| 3106 | > | (normal) | 
| 3107 | > | case "$acx_mpi_tmp" in | 
| 3108 | > | (-I|-D) | 
| 3109 | > | acx_mpi_tmp_prefix="$acx_mpi_tmp" | 
| 3110 | > | acx_mpi_tmp_mode="accept" | 
| 3111 | > | ;; | 
| 3112 | > | (-I*|-D*) | 
| 3113 | > | eval "acx_mpi_cflags=\"`eval echo '${'\\acx_mpi_cflags'}'` \$acx_mpi_tmp\"" | 
| 3114 | > | ;; | 
| 3115 | > | (-L|-l) | 
| 3116 | > | acx_mpi_tmp_mode="skip" | 
| 3117 | > | ;; | 
| 3118 | > | (*) | 
| 3119 | > | ;; | 
| 3120 | > | esac | 
| 3121 | > | ;; | 
| 3122 | > | (accept) | 
| 3123 | > | eval "acx_mpi_cflags=\"`eval echo '${'\\acx_mpi_cflags'}'` \$acx_mpi_tmp_prefix \$acx_mpi_tmp\"" | 
| 3124 | > | ;; | 
| 3125 | > | (skip) | 
| 3126 | > | ;; | 
| 3127 | > | esac | 
| 3128 | > | done | 
| 3129 |  |  | 
| 3130 | + | ;; | 
| 3131 | + | esac | 
| 3132 | + |  | 
| 3133 |  | fi | 
| 3134 | < | # AC_CACHE_VAL | 
| 3135 | < | case "x$ac_cv_prog_cc_c89" in | 
| 3136 | < | x) | 
| 3137 | < | { echo "$as_me:$LINENO: result: none needed" >&5 | 
| 3138 | < | echo "${ECHO_T}none needed" >&6; } ;; | 
| 3139 | < | xno) | 
| 3140 | < | { echo "$as_me:$LINENO: result: unsupported" >&5 | 
| 3141 | < | echo "${ECHO_T}unsupported" >&6; } ;; | 
| 3142 | < | *) | 
| 3143 | < | CC="$CC $ac_cv_prog_cc_c89" | 
| 3144 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 
| 3145 | < | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 
| 3134 | > | { echo "$as_me:$LINENO: result: $acx_mpi_cflags" >&5 | 
| 3135 | > | echo "${ECHO_T}$acx_mpi_cflags" >&6; } | 
| 3136 | > |  | 
| 3137 | > |  | 
| 3138 | > | { echo "$as_me:$LINENO: checking how to link MPI-C code" >&5 | 
| 3139 | > | echo $ECHO_N "checking how to link MPI-C code... $ECHO_C" >&6; } | 
| 3140 | > | if test "${acx_mpi_libs+set}" = set; then | 
| 3141 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3142 | > | else | 
| 3143 | > |  | 
| 3144 | > | case $acx_cv_mpi_implementation in | 
| 3145 | > | (lammpi) | 
| 3146 | > | lfo="--showme:compile --showme:link" | 
| 3147 | > | ;; | 
| 3148 | > | (openmpi) | 
| 3149 | > | lfo="--showme:link" | 
| 3150 | > | ;; | 
| 3151 | > | (mpich) | 
| 3152 | > | case "$acx_mpi_compiler_path" in | 
| 3153 | > | (*mpiCC) | 
| 3154 | > | sc_cv_cn="-CC=" | 
| 3155 | > | ;; | 
| 3156 | > | (*mpicxx) | 
| 3157 | > | sc_cv_cn="-cxx=" | 
| 3158 | > | ;; | 
| 3159 | > | (*mpicc) | 
| 3160 | > | sc_cv_cn="-cc=" | 
| 3161 | > | ;; | 
| 3162 | > | (*) | 
| 3163 | > | sc_cv_cn="" | 
| 3164 | > | ;; | 
| 3165 | > | esac | 
| 3166 | > | lfo="-link_info $sc_cv_cn" | 
| 3167 | > | ;; | 
| 3168 |  | esac | 
| 3169 | + | echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_compiler_path $lfo || echo ' no'\`\"" >&5 | 
| 3170 | + | mpi_pre_libs="`$acx_mpi_compiler_path $lfo 2>conftest.er1 || echo ' no'`" | 
| 3171 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3172 | + | rm -f conftest.er1 | 
| 3173 | + | cat conftest.err >&5 | 
| 3174 | + | echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 | 
| 3175 | + | case "$mpi_pre_libs" in | 
| 3176 | + | (*no) | 
| 3177 | + | acx_mpi_libs=no | 
| 3178 | + | ;; | 
| 3179 | + | (*) | 
| 3180 | + | acx_mpi_libs="$mpi_pre_libs" | 
| 3181 | + | ;; | 
| 3182 | + | esac | 
| 3183 |  |  | 
| 3184 | + | fi | 
| 3185 | + | { echo "$as_me:$LINENO: result: $acx_mpi_libs" >&5 | 
| 3186 | + | echo "${ECHO_T}$acx_mpi_libs" >&6; } | 
| 3187 |  |  | 
| 3188 | < | ac_ext=c | 
| 3201 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3202 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3203 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3204 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3188 | > | if test $acx_mpi_mpif90_path != no; then | 
| 3189 |  |  | 
| 3190 | < | ac_ext=${ac_fc_srcext-f} | 
| 3191 | < | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' | 
| 3192 | < | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 3193 | < | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 3194 | < | if test -n "$ac_tool_prefix"; then | 
| 3195 | < | for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 3190 | > |  | 
| 3191 | > | { echo "$as_me:$LINENO: checking how to link MPI-Fortran code" >&5 | 
| 3192 | > | echo $ECHO_N "checking how to link MPI-Fortran code... $ECHO_C" >&6; } | 
| 3193 | > | if test "${acx_mpi90_libs+set}" = set; then | 
| 3194 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3195 | > | else | 
| 3196 | > |  | 
| 3197 | > | echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_mpif90_path $lfo || echo \" no\"\`\"" >&5 | 
| 3198 | > | mpi_pre_libs="`$acx_mpi_mpif90_path $lfo 2>conftest.er1 || echo " no"`" | 
| 3199 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3200 | > | rm -f conftest.er1 | 
| 3201 | > | cat conftest.err >&5 | 
| 3202 | > | echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5 | 
| 3203 | > | case "$mpi_pre_libs" in | 
| 3204 | > | (*no) | 
| 3205 | > | acx_mpi90_libs=no | 
| 3206 | > | ;; | 
| 3207 | > | (*) | 
| 3208 | > | acx_mpi90_libs="$mpi_pre_libs" | 
| 3209 | > | ;; | 
| 3210 | > | esac | 
| 3211 | > |  | 
| 3212 | > | fi | 
| 3213 | > | { echo "$as_me:$LINENO: result: $acx_mpi90_libs" >&5 | 
| 3214 | > | echo "${ECHO_T}$acx_mpi90_libs" >&6; } | 
| 3215 | > |  | 
| 3216 | > |  | 
| 3217 | > | fi | 
| 3218 | > |  | 
| 3219 | > | if test "$acx_mpi_cflags" = no -o "$acx_mpi_libs" = no; then | 
| 3220 | > |  | 
| 3221 | > | acx_mpi_cflags="" | 
| 3222 | > | acx_mpi_libs="" | 
| 3223 | > | USE_MPI="no" | 
| 3224 | > | { echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5 | 
| 3225 | > | echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;} | 
| 3226 | > | else | 
| 3227 | > |  | 
| 3228 | > | MPI_CPPFLAGS=$acx_mpi_cflags | 
| 3229 | > |  | 
| 3230 | > | MPI_LIBS=$acx_mpi_libs | 
| 3231 | > |  | 
| 3232 | > | if test "$acx_mpi90_libs" != no; then | 
| 3233 | > | MPI90_LIBS=$acx_mpi90_libs | 
| 3234 | > |  | 
| 3235 | > | fi | 
| 3236 | > |  | 
| 3237 | > | USE_MPI="yes" | 
| 3238 | > | fi | 
| 3239 | > |  | 
| 3240 | > |  | 
| 3241 | > | fi | 
| 3242 | > |  | 
| 3243 | > |  | 
| 3244 | > | fi | 
| 3245 | > |  | 
| 3246 | > |  | 
| 3247 | > |  | 
| 3248 | > | # Checks for programs. | 
| 3249 | > | ac_ext=cpp | 
| 3250 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 3251 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3252 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3253 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 3254 | > | if test -z "$CXX"; then | 
| 3255 | > | if test -n "$CCC"; then | 
| 3256 | > | CXX=$CCC | 
| 3257 | > | else | 
| 3258 | > | if test -n "$ac_tool_prefix"; then | 
| 3259 | > | for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC | 
| 3260 |  | do | 
| 3261 |  | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 3262 |  | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 3263 |  | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3264 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 3265 | < | if test "${ac_cv_prog_FC+set}" = set; then | 
| 3265 | > | if test "${ac_cv_prog_CXX+set}" = set; then | 
| 3266 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3267 |  | else | 
| 3268 | < | if test -n "$FC"; then | 
| 3269 | < | ac_cv_prog_FC="$FC" # Let the user override the test. | 
| 3268 | > | if test -n "$CXX"; then | 
| 3269 | > | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
| 3270 |  | else | 
| 3271 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3272 |  | for as_dir in $PATH | 
| 3275 |  | test -z "$as_dir" && as_dir=. | 
| 3276 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3277 |  | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 3278 | < | ac_cv_prog_FC="$ac_tool_prefix$ac_prog" | 
| 3278 | > | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| 3279 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3280 |  | break 2 | 
| 3281 |  | fi | 
| 3285 |  |  | 
| 3286 |  | fi | 
| 3287 |  | fi | 
| 3288 | < | FC=$ac_cv_prog_FC | 
| 3289 | < | if test -n "$FC"; then | 
| 3290 | < | { echo "$as_me:$LINENO: result: $FC" >&5 | 
| 3291 | < | echo "${ECHO_T}$FC" >&6; } | 
| 3288 | > | CXX=$ac_cv_prog_CXX | 
| 3289 | > | if test -n "$CXX"; then | 
| 3290 | > | { echo "$as_me:$LINENO: result: $CXX" >&5 | 
| 3291 | > | echo "${ECHO_T}$CXX" >&6; } | 
| 3292 |  | else | 
| 3293 |  | { echo "$as_me:$LINENO: result: no" >&5 | 
| 3294 |  | echo "${ECHO_T}no" >&6; } | 
| 3295 |  | fi | 
| 3296 |  |  | 
| 3297 |  |  | 
| 3298 | < | test -n "$FC" && break | 
| 3298 | > | test -n "$CXX" && break | 
| 3299 |  | done | 
| 3300 |  | fi | 
| 3301 | < | if test -z "$FC"; then | 
| 3302 | < | ac_ct_FC=$FC | 
| 3303 | < | for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 3301 | > | if test -z "$CXX"; then | 
| 3302 | > | ac_ct_CXX=$CXX | 
| 3303 | > | for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC | 
| 3304 |  | do | 
| 3305 |  | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 3306 |  | set dummy $ac_prog; ac_word=$2 | 
| 3307 |  | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3308 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 3309 | < | if test "${ac_cv_prog_ac_ct_FC+set}" = set; then | 
| 3309 | > | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
| 3310 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3311 |  | else | 
| 3312 | < | if test -n "$ac_ct_FC"; then | 
| 3313 | < | ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. | 
| 3312 | > | if test -n "$ac_ct_CXX"; then | 
| 3313 | > | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
| 3314 |  | else | 
| 3315 |  | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3316 |  | for as_dir in $PATH | 
| 3319 |  | test -z "$as_dir" && as_dir=. | 
| 3320 |  | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3321 |  | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 3322 | < | ac_cv_prog_ac_ct_FC="$ac_prog" | 
| 3322 | > | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| 3323 |  | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3324 |  | break 2 | 
| 3325 |  | fi | 
| 3329 |  |  | 
| 3330 |  | fi | 
| 3331 |  | fi | 
| 3332 | < | ac_ct_FC=$ac_cv_prog_ac_ct_FC | 
| 3333 | < | if test -n "$ac_ct_FC"; then | 
| 3334 | < | { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 | 
| 3335 | < | echo "${ECHO_T}$ac_ct_FC" >&6; } | 
| 3332 | > | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
| 3333 | > | if test -n "$ac_ct_CXX"; then | 
| 3334 | > | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
| 3335 | > | echo "${ECHO_T}$ac_ct_CXX" >&6; } | 
| 3336 |  | else | 
| 3337 |  | { echo "$as_me:$LINENO: result: no" >&5 | 
| 3338 |  | echo "${ECHO_T}no" >&6; } | 
| 3339 |  | fi | 
| 3340 |  |  | 
| 3341 |  |  | 
| 3342 | < | test -n "$ac_ct_FC" && break | 
| 3342 | > | test -n "$ac_ct_CXX" && break | 
| 3343 |  | done | 
| 3344 |  |  | 
| 3345 | < | if test "x$ac_ct_FC" = x; then | 
| 3346 | < | FC="" | 
| 3345 | > | if test "x$ac_ct_CXX" = x; then | 
| 3346 | > | CXX="g++" | 
| 3347 |  | else | 
| 3348 |  | case $cross_compiling:$ac_tool_warned in | 
| 3349 |  | yes:) | 
| 3355 |  | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 
| 3356 |  | ac_tool_warned=yes ;; | 
| 3357 |  | esac | 
| 3358 | < | FC=$ac_ct_FC | 
| 3358 | > | CXX=$ac_ct_CXX | 
| 3359 |  | fi | 
| 3360 |  | fi | 
| 3361 |  |  | 
| 3362 | < |  | 
| 3362 | > | fi | 
| 3363 | > | fi | 
| 3364 |  | # Provide some information about the compiler. | 
| 3365 | < | echo "$as_me:$LINENO: checking for Fortran compiler version" >&5 | 
| 3365 | > | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | 
| 3366 |  | ac_compiler=`set X $ac_compile; echo $2` | 
| 3367 |  | { (ac_try="$ac_compiler --version >&5" | 
| 3368 |  | case "(($ac_try" in | 
| 3394 |  | ac_status=$? | 
| 3395 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3396 |  | (exit $ac_status); } | 
| 3348 | – | rm -rf a.out | 
| 3397 |  |  | 
| 3398 | < | # If we don't use `.F' as extension, the preprocessor is not run on the | 
| 3399 | < | # input file.  (Note that this only needs to work for GNU compilers.) | 
| 3400 | < | ac_save_ext=$ac_ext | 
| 3401 | < | ac_ext=F | 
| 3402 | < | { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 | 
| 3403 | < | echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; } | 
| 3356 | < | if test "${ac_cv_fc_compiler_gnu+set}" = set; then | 
| 3357 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3358 | < | else | 
| 3359 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3360 | < | program main | 
| 3361 | < | #ifndef __GNUC__ | 
| 3362 | < | choke me | 
| 3363 | < | #endif | 
| 3398 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3399 | > | /* confdefs.h.  */ | 
| 3400 | > | _ACEOF | 
| 3401 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3402 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3403 | > | /* end confdefs.h.  */ | 
| 3404 |  |  | 
| 3405 | < | end | 
| 3405 | > | int | 
| 3406 | > | main () | 
| 3407 | > | { | 
| 3408 | > |  | 
| 3409 | > | ; | 
| 3410 | > | return 0; | 
| 3411 | > | } | 
| 3412 |  | _ACEOF | 
| 3413 | < | rm -rf conftest.$ac_objext | 
| 3414 | < | if { (ac_try="$ac_compile" | 
| 3413 | > | ac_clean_files_save=$ac_clean_files | 
| 3414 | > | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
| 3415 | > | # Try to create an executable without -o first, disregard a.out. | 
| 3416 | > | # It will help us diagnose broken compilers, and finding out an intuition | 
| 3417 | > | # of exeext. | 
| 3418 | > | { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
| 3419 | > | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } | 
| 3420 | > | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
| 3421 | > | # | 
| 3422 | > | # List of possible output files, starting from the most likely. | 
| 3423 | > | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | 
| 3424 | > | # only as a last resort.  b.out is created by i960 compilers. | 
| 3425 | > | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | 
| 3426 | > | # | 
| 3427 | > | # The IRIX 6 linker writes into existing files which may not be | 
| 3428 | > | # executable, retaining their permissions.  Remove them first so a | 
| 3429 | > | # subsequent execution test works. | 
| 3430 | > | ac_rmfiles= | 
| 3431 | > | for ac_file in $ac_files | 
| 3432 | > | do | 
| 3433 | > | case $ac_file in | 
| 3434 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 
| 3435 | > | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 
| 3436 | > | esac | 
| 3437 | > | done | 
| 3438 | > | rm -f $ac_rmfiles | 
| 3439 | > |  | 
| 3440 | > | if { (ac_try="$ac_link_default" | 
| 3441 |  | case "(($ac_try" in | 
| 3442 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3443 |  | *) ac_try_echo=$ac_try;; | 
| 3444 |  | esac | 
| 3445 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3446 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 3446 | > | (eval "$ac_link_default") 2>&5 | 
| 3447 |  | ac_status=$? | 
| 3376 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3377 | – | rm -f conftest.er1 | 
| 3378 | – | cat conftest.err >&5 | 
| 3448 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3449 | < | (exit $ac_status); } && { | 
| 3450 | < | test -z "$ac_fc_werror_flag" || | 
| 3451 | < | test ! -s conftest.err | 
| 3452 | < | } && test -s conftest.$ac_objext; then | 
| 3453 | < | ac_compiler_gnu=yes | 
| 3449 | > | (exit $ac_status); }; then | 
| 3450 | > | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 
| 3451 | > | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 
| 3452 | > | # in a Makefile.  We should not override ac_cv_exeext if it was cached, | 
| 3453 | > | # so that the user can short-circuit this test for compilers unknown to | 
| 3454 | > | # Autoconf. | 
| 3455 | > | for ac_file in $ac_files '' | 
| 3456 | > | do | 
| 3457 | > | test -f "$ac_file" || continue | 
| 3458 | > | case $ac_file in | 
| 3459 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | 
| 3460 | > | ;; | 
| 3461 | > | [ab].out ) | 
| 3462 | > | # We found the default executable, but exeext='' is most | 
| 3463 | > | # certainly right. | 
| 3464 | > | break;; | 
| 3465 | > | *.* ) | 
| 3466 | > | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 
| 3467 | > | then :; else | 
| 3468 | > | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 3469 | > | fi | 
| 3470 | > | # We set ac_cv_exeext here because the later test for it is not | 
| 3471 | > | # safe: cross compilers may not add the suffix if given an `-o' | 
| 3472 | > | # argument, so we may need to know it at that point already. | 
| 3473 | > | # Even if this section looks crufty: it has the advantage of | 
| 3474 | > | # actually working. | 
| 3475 | > | break;; | 
| 3476 | > | * ) | 
| 3477 | > | break;; | 
| 3478 | > | esac | 
| 3479 | > | done | 
| 3480 | > | test "$ac_cv_exeext" = no && ac_cv_exeext= | 
| 3481 | > |  | 
| 3482 |  | else | 
| 3483 | + | ac_file='' | 
| 3484 | + | fi | 
| 3485 | + |  | 
| 3486 | + | { echo "$as_me:$LINENO: result: $ac_file" >&5 | 
| 3487 | + | echo "${ECHO_T}$ac_file" >&6; } | 
| 3488 | + | if test -z "$ac_file"; then | 
| 3489 |  | echo "$as_me: failed program was:" >&5 | 
| 3490 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3491 |  |  | 
| 3492 | < | ac_compiler_gnu=no | 
| 3492 | > | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
| 3493 | > | See \`config.log' for more details." >&5 | 
| 3494 | > | echo "$as_me: error: C++ compiler cannot create executables | 
| 3495 | > | See \`config.log' for more details." >&2;} | 
| 3496 | > | { (exit 77); exit 77; }; } | 
| 3497 |  | fi | 
| 3498 |  |  | 
| 3499 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3393 | < | ac_cv_fc_compiler_gnu=$ac_compiler_gnu | 
| 3499 | > | ac_exeext=$ac_cv_exeext | 
| 3500 |  |  | 
| 3501 | + | # Check that the compiler produces executables we can run.  If not, either | 
| 3502 | + | # the compiler is broken, or we cross compile. | 
| 3503 | + | { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
| 3504 | + | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } | 
| 3505 | + | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
| 3506 | + | # If not cross compiling, check that we can run a simple program. | 
| 3507 | + | if test "$cross_compiling" != yes; then | 
| 3508 | + | if { ac_try='./$ac_file' | 
| 3509 | + | { (case "(($ac_try" in | 
| 3510 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3511 | + | *) ac_try_echo=$ac_try;; | 
| 3512 | + | esac | 
| 3513 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3514 | + | (eval "$ac_try") 2>&5 | 
| 3515 | + | ac_status=$? | 
| 3516 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3517 | + | (exit $ac_status); }; }; then | 
| 3518 | + | cross_compiling=no | 
| 3519 | + | else | 
| 3520 | + | if test "$cross_compiling" = maybe; then | 
| 3521 | + | cross_compiling=yes | 
| 3522 | + | else | 
| 3523 | + | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
| 3524 | + | If you meant to cross compile, use \`--host'. | 
| 3525 | + | See \`config.log' for more details." >&5 | 
| 3526 | + | echo "$as_me: error: cannot run C++ compiled programs. | 
| 3527 | + | If you meant to cross compile, use \`--host'. | 
| 3528 | + | See \`config.log' for more details." >&2;} | 
| 3529 | + | { (exit 1); exit 1; }; } | 
| 3530 | + | fi | 
| 3531 | + | fi | 
| 3532 |  | fi | 
| 3533 | < | { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 | 
| 3534 | < | echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; } | 
| 3535 | < | ac_ext=$ac_save_ext | 
| 3536 | < | ac_test_FFLAGS=${FCFLAGS+set} | 
| 3537 | < | ac_save_FFLAGS=$FCFLAGS | 
| 3538 | < | FCFLAGS= | 
| 3539 | < | { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 | 
| 3540 | < | echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; } | 
| 3541 | < | if test "${ac_cv_prog_fc_g+set}" = set; then | 
| 3533 | > | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 3534 | > | echo "${ECHO_T}yes" >&6; } | 
| 3535 | > |  | 
| 3536 | > | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
| 3537 | > | ac_clean_files=$ac_clean_files_save | 
| 3538 | > | # Check that the compiler produces executables we can run.  If not, either | 
| 3539 | > | # the compiler is broken, or we cross compile. | 
| 3540 | > | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
| 3541 | > | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | 
| 3542 | > | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
| 3543 | > | echo "${ECHO_T}$cross_compiling" >&6; } | 
| 3544 | > |  | 
| 3545 | > | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
| 3546 | > | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | 
| 3547 | > | if { (ac_try="$ac_link" | 
| 3548 | > | case "(($ac_try" in | 
| 3549 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3550 | > | *) ac_try_echo=$ac_try;; | 
| 3551 | > | esac | 
| 3552 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3553 | > | (eval "$ac_link") 2>&5 | 
| 3554 | > | ac_status=$? | 
| 3555 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3556 | > | (exit $ac_status); }; then | 
| 3557 | > | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
| 3558 | > | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
| 3559 | > | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
| 3560 | > | # `rm'. | 
| 3561 | > | for ac_file in conftest.exe conftest conftest.*; do | 
| 3562 | > | test -f "$ac_file" || continue | 
| 3563 | > | case $ac_file in | 
| 3564 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 
| 3565 | > | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 3566 | > | break;; | 
| 3567 | > | * ) break;; | 
| 3568 | > | esac | 
| 3569 | > | done | 
| 3570 | > | else | 
| 3571 | > | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
| 3572 | > | See \`config.log' for more details." >&5 | 
| 3573 | > | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
| 3574 | > | See \`config.log' for more details." >&2;} | 
| 3575 | > | { (exit 1); exit 1; }; } | 
| 3576 | > | fi | 
| 3577 | > |  | 
| 3578 | > | rm -f conftest$ac_cv_exeext | 
| 3579 | > | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
| 3580 | > | echo "${ECHO_T}$ac_cv_exeext" >&6; } | 
| 3581 | > |  | 
| 3582 | > | rm -f conftest.$ac_ext | 
| 3583 | > | EXEEXT=$ac_cv_exeext | 
| 3584 | > | ac_exeext=$EXEEXT | 
| 3585 | > | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
| 3586 | > | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 
| 3587 | > | if test "${ac_cv_objext+set}" = set; then | 
| 3588 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3589 |  | else | 
| 3590 | < | FCFLAGS=-g | 
| 3591 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3592 | < | program main | 
| 3590 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3591 | > | /* confdefs.h.  */ | 
| 3592 | > | _ACEOF | 
| 3593 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3594 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3595 | > | /* end confdefs.h.  */ | 
| 3596 |  |  | 
| 3597 | < | end | 
| 3597 | > | int | 
| 3598 | > | main () | 
| 3599 | > | { | 
| 3600 | > |  | 
| 3601 | > | ; | 
| 3602 | > | return 0; | 
| 3603 | > | } | 
| 3604 |  | _ACEOF | 
| 3605 | < | rm -rf conftest.$ac_objext | 
| 3605 | > | rm -f conftest.o conftest.obj | 
| 3606 |  | if { (ac_try="$ac_compile" | 
| 3607 |  | case "(($ac_try" in | 
| 3608 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3609 |  | *) ac_try_echo=$ac_try;; | 
| 3610 |  | esac | 
| 3611 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3612 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 3612 | > | (eval "$ac_compile") 2>&5 | 
| 3613 |  | ac_status=$? | 
| 3422 | – | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3423 | – | rm -f conftest.er1 | 
| 3424 | – | cat conftest.err >&5 | 
| 3614 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3615 | < | (exit $ac_status); } && { | 
| 3616 | < | test -z "$ac_fc_werror_flag" || | 
| 3617 | < | test ! -s conftest.err | 
| 3618 | < | } && test -s conftest.$ac_objext; then | 
| 3619 | < | ac_cv_prog_fc_g=yes | 
| 3615 | > | (exit $ac_status); }; then | 
| 3616 | > | for ac_file in conftest.o conftest.obj conftest.*; do | 
| 3617 | > | test -f "$ac_file" || continue; | 
| 3618 | > | case $ac_file in | 
| 3619 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | 
| 3620 | > | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
| 3621 | > | break;; | 
| 3622 | > | esac | 
| 3623 | > | done | 
| 3624 |  | else | 
| 3625 |  | echo "$as_me: failed program was:" >&5 | 
| 3626 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3627 |  |  | 
| 3628 | < | ac_cv_prog_fc_g=no | 
| 3628 | > | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
| 3629 | > | See \`config.log' for more details." >&5 | 
| 3630 | > | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
| 3631 | > | See \`config.log' for more details." >&2;} | 
| 3632 | > | { (exit 1); exit 1; }; } | 
| 3633 |  | fi | 
| 3634 |  |  | 
| 3635 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3439 | < |  | 
| 3635 | > | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
| 3636 |  | fi | 
| 3637 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 | 
| 3638 | < | echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; } | 
| 3639 | < | if test "$ac_test_FFLAGS" = set; then | 
| 3640 | < | FCFLAGS=$ac_save_FFLAGS | 
| 3641 | < | elif test $ac_cv_prog_fc_g = yes; then | 
| 3642 | < | if test "x$ac_cv_fc_compiler_gnu" = xyes; then | 
| 3637 | > | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
| 3638 | > | echo "${ECHO_T}$ac_cv_objext" >&6; } | 
| 3639 | > | OBJEXT=$ac_cv_objext | 
| 3640 | > | ac_objext=$OBJEXT | 
| 3641 | > | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
| 3642 | > | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | 
| 3643 | > | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
| 3644 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3645 | > | else | 
| 3646 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3647 | > | /* confdefs.h.  */ | 
| 3648 | > | _ACEOF | 
| 3649 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3650 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3651 | > | /* end confdefs.h.  */ | 
| 3652 | > |  | 
| 3653 | > | int | 
| 3654 | > | main () | 
| 3655 | > | { | 
| 3656 | > | #ifndef __GNUC__ | 
| 3657 | > | choke me | 
| 3658 | > | #endif | 
| 3659 | > |  | 
| 3660 | > | ; | 
| 3661 | > | return 0; | 
| 3662 | > | } | 
| 3663 | > | _ACEOF | 
| 3664 | > | rm -f conftest.$ac_objext | 
| 3665 | > | if { (ac_try="$ac_compile" | 
| 3666 | > | case "(($ac_try" in | 
| 3667 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3668 | > | *) ac_try_echo=$ac_try;; | 
| 3669 | > | esac | 
| 3670 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3671 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 3672 | > | ac_status=$? | 
| 3673 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3674 | > | rm -f conftest.er1 | 
| 3675 | > | cat conftest.err >&5 | 
| 3676 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3677 | > | (exit $ac_status); } && { | 
| 3678 | > | test -z "$ac_cxx_werror_flag" || | 
| 3679 | > | test ! -s conftest.err | 
| 3680 | > | } && test -s conftest.$ac_objext; then | 
| 3681 | > | ac_compiler_gnu=yes | 
| 3682 | > | else | 
| 3683 | > | echo "$as_me: failed program was:" >&5 | 
| 3684 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3685 | > |  | 
| 3686 | > | ac_compiler_gnu=no | 
| 3687 | > | fi | 
| 3688 | > |  | 
| 3689 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3690 | > | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
| 3691 | > |  | 
| 3692 | > | fi | 
| 3693 | > | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| 3694 | > | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | 
| 3695 | > | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
| 3696 | > | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
| 3697 | > | ac_save_CXXFLAGS=$CXXFLAGS | 
| 3698 | > | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
| 3699 | > | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | 
| 3700 | > | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
| 3701 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3702 | > | else | 
| 3703 | > | ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 
| 3704 | > | ac_cxx_werror_flag=yes | 
| 3705 | > | ac_cv_prog_cxx_g=no | 
| 3706 | > | CXXFLAGS="-g" | 
| 3707 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3708 | > | /* confdefs.h.  */ | 
| 3709 | > | _ACEOF | 
| 3710 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3711 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3712 | > | /* end confdefs.h.  */ | 
| 3713 | > |  | 
| 3714 | > | int | 
| 3715 | > | main () | 
| 3716 | > | { | 
| 3717 | > |  | 
| 3718 | > | ; | 
| 3719 | > | return 0; | 
| 3720 | > | } | 
| 3721 | > | _ACEOF | 
| 3722 | > | rm -f conftest.$ac_objext | 
| 3723 | > | if { (ac_try="$ac_compile" | 
| 3724 | > | case "(($ac_try" in | 
| 3725 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3726 | > | *) ac_try_echo=$ac_try;; | 
| 3727 | > | esac | 
| 3728 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3729 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 3730 | > | ac_status=$? | 
| 3731 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3732 | > | rm -f conftest.er1 | 
| 3733 | > | cat conftest.err >&5 | 
| 3734 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3735 | > | (exit $ac_status); } && { | 
| 3736 | > | test -z "$ac_cxx_werror_flag" || | 
| 3737 | > | test ! -s conftest.err | 
| 3738 | > | } && test -s conftest.$ac_objext; then | 
| 3739 | > | ac_cv_prog_cxx_g=yes | 
| 3740 | > | else | 
| 3741 | > | echo "$as_me: failed program was:" >&5 | 
| 3742 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3743 | > |  | 
| 3744 | > | CXXFLAGS="" | 
| 3745 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3746 | > | /* confdefs.h.  */ | 
| 3747 | > | _ACEOF | 
| 3748 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3749 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3750 | > | /* end confdefs.h.  */ | 
| 3751 | > |  | 
| 3752 | > | int | 
| 3753 | > | main () | 
| 3754 | > | { | 
| 3755 | > |  | 
| 3756 | > | ; | 
| 3757 | > | return 0; | 
| 3758 | > | } | 
| 3759 | > | _ACEOF | 
| 3760 | > | rm -f conftest.$ac_objext | 
| 3761 | > | if { (ac_try="$ac_compile" | 
| 3762 | > | case "(($ac_try" in | 
| 3763 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3764 | > | *) ac_try_echo=$ac_try;; | 
| 3765 | > | esac | 
| 3766 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3767 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 3768 | > | ac_status=$? | 
| 3769 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3770 | > | rm -f conftest.er1 | 
| 3771 | > | cat conftest.err >&5 | 
| 3772 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3773 | > | (exit $ac_status); } && { | 
| 3774 | > | test -z "$ac_cxx_werror_flag" || | 
| 3775 | > | test ! -s conftest.err | 
| 3776 | > | } && test -s conftest.$ac_objext; then | 
| 3777 | > | : | 
| 3778 | > | else | 
| 3779 | > | echo "$as_me: failed program was:" >&5 | 
| 3780 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3781 | > |  | 
| 3782 | > | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
| 3783 | > | CXXFLAGS="-g" | 
| 3784 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3785 | > | /* confdefs.h.  */ | 
| 3786 | > | _ACEOF | 
| 3787 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3788 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3789 | > | /* end confdefs.h.  */ | 
| 3790 | > |  | 
| 3791 | > | int | 
| 3792 | > | main () | 
| 3793 | > | { | 
| 3794 | > |  | 
| 3795 | > | ; | 
| 3796 | > | return 0; | 
| 3797 | > | } | 
| 3798 | > | _ACEOF | 
| 3799 | > | rm -f conftest.$ac_objext | 
| 3800 | > | if { (ac_try="$ac_compile" | 
| 3801 | > | case "(($ac_try" in | 
| 3802 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3803 | > | *) ac_try_echo=$ac_try;; | 
| 3804 | > | esac | 
| 3805 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3806 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 3807 | > | ac_status=$? | 
| 3808 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3809 | > | rm -f conftest.er1 | 
| 3810 | > | cat conftest.err >&5 | 
| 3811 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3812 | > | (exit $ac_status); } && { | 
| 3813 | > | test -z "$ac_cxx_werror_flag" || | 
| 3814 | > | test ! -s conftest.err | 
| 3815 | > | } && test -s conftest.$ac_objext; then | 
| 3816 | > | ac_cv_prog_cxx_g=yes | 
| 3817 | > | else | 
| 3818 | > | echo "$as_me: failed program was:" >&5 | 
| 3819 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3820 | > |  | 
| 3821 | > |  | 
| 3822 | > | fi | 
| 3823 | > |  | 
| 3824 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3825 | > | fi | 
| 3826 | > |  | 
| 3827 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3828 | > | fi | 
| 3829 | > |  | 
| 3830 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3831 | > | ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
| 3832 | > | fi | 
| 3833 | > | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
| 3834 | > | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | 
| 3835 | > | if test "$ac_test_CXXFLAGS" = set; then | 
| 3836 | > | CXXFLAGS=$ac_save_CXXFLAGS | 
| 3837 | > | elif test $ac_cv_prog_cxx_g = yes; then | 
| 3838 | > | if test "$GXX" = yes; then | 
| 3839 | > | CXXFLAGS="-g -O2" | 
| 3840 | > | else | 
| 3841 | > | CXXFLAGS="-g" | 
| 3842 | > | fi | 
| 3843 | > | else | 
| 3844 | > | if test "$GXX" = yes; then | 
| 3845 | > | CXXFLAGS="-O2" | 
| 3846 | > | else | 
| 3847 | > | CXXFLAGS= | 
| 3848 | > | fi | 
| 3849 | > | fi | 
| 3850 | > | ac_ext=c | 
| 3851 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 3852 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3853 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3854 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3855 | > |  | 
| 3856 | > | ac_ext=c | 
| 3857 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 3858 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3859 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3860 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3861 | > | if test -n "$ac_tool_prefix"; then | 
| 3862 | > | for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc | 
| 3863 | > | do | 
| 3864 | > | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 3865 | > | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 3866 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3867 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 3868 | > | if test "${ac_cv_prog_CC+set}" = set; then | 
| 3869 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3870 | > | else | 
| 3871 | > | if test -n "$CC"; then | 
| 3872 | > | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 3873 | > | else | 
| 3874 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3875 | > | for as_dir in $PATH | 
| 3876 | > | do | 
| 3877 | > | IFS=$as_save_IFS | 
| 3878 | > | test -z "$as_dir" && as_dir=. | 
| 3879 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3880 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 3881 | > | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| 3882 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3883 | > | break 2 | 
| 3884 | > | fi | 
| 3885 | > | done | 
| 3886 | > | done | 
| 3887 | > | IFS=$as_save_IFS | 
| 3888 | > |  | 
| 3889 | > | fi | 
| 3890 | > | fi | 
| 3891 | > | CC=$ac_cv_prog_CC | 
| 3892 | > | if test -n "$CC"; then | 
| 3893 | > | { echo "$as_me:$LINENO: result: $CC" >&5 | 
| 3894 | > | echo "${ECHO_T}$CC" >&6; } | 
| 3895 | > | else | 
| 3896 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 3897 | > | echo "${ECHO_T}no" >&6; } | 
| 3898 | > | fi | 
| 3899 | > |  | 
| 3900 | > |  | 
| 3901 | > | test -n "$CC" && break | 
| 3902 | > | done | 
| 3903 | > | fi | 
| 3904 | > | if test -z "$CC"; then | 
| 3905 | > | ac_ct_CC=$CC | 
| 3906 | > | for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc | 
| 3907 | > | do | 
| 3908 | > | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 3909 | > | set dummy $ac_prog; ac_word=$2 | 
| 3910 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3911 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 3912 | > | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
| 3913 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3914 | > | else | 
| 3915 | > | if test -n "$ac_ct_CC"; then | 
| 3916 | > | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| 3917 | > | else | 
| 3918 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3919 | > | for as_dir in $PATH | 
| 3920 | > | do | 
| 3921 | > | IFS=$as_save_IFS | 
| 3922 | > | test -z "$as_dir" && as_dir=. | 
| 3923 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3924 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 3925 | > | ac_cv_prog_ac_ct_CC="$ac_prog" | 
| 3926 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3927 | > | break 2 | 
| 3928 | > | fi | 
| 3929 | > | done | 
| 3930 | > | done | 
| 3931 | > | IFS=$as_save_IFS | 
| 3932 | > |  | 
| 3933 | > | fi | 
| 3934 | > | fi | 
| 3935 | > | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| 3936 | > | if test -n "$ac_ct_CC"; then | 
| 3937 | > | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
| 3938 | > | echo "${ECHO_T}$ac_ct_CC" >&6; } | 
| 3939 | > | else | 
| 3940 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 3941 | > | echo "${ECHO_T}no" >&6; } | 
| 3942 | > | fi | 
| 3943 | > |  | 
| 3944 | > |  | 
| 3945 | > | test -n "$ac_ct_CC" && break | 
| 3946 | > | done | 
| 3947 | > |  | 
| 3948 | > | if test "x$ac_ct_CC" = x; then | 
| 3949 | > | CC="" | 
| 3950 | > | else | 
| 3951 | > | case $cross_compiling:$ac_tool_warned in | 
| 3952 | > | yes:) | 
| 3953 | > | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 
| 3954 | > | whose name does not start with the host triplet.  If you think this | 
| 3955 | > | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 
| 3956 | > | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | 
| 3957 | > | whose name does not start with the host triplet.  If you think this | 
| 3958 | > | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 
| 3959 | > | ac_tool_warned=yes ;; | 
| 3960 | > | esac | 
| 3961 | > | CC=$ac_ct_CC | 
| 3962 | > | fi | 
| 3963 | > | fi | 
| 3964 | > |  | 
| 3965 | > |  | 
| 3966 | > | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
| 3967 | > | See \`config.log' for more details." >&5 | 
| 3968 | > | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
| 3969 | > | See \`config.log' for more details." >&2;} | 
| 3970 | > | { (exit 1); exit 1; }; } | 
| 3971 | > |  | 
| 3972 | > | # Provide some information about the compiler. | 
| 3973 | > | echo "$as_me:$LINENO: checking for C compiler version" >&5 | 
| 3974 | > | ac_compiler=`set X $ac_compile; echo $2` | 
| 3975 | > | { (ac_try="$ac_compiler --version >&5" | 
| 3976 | > | case "(($ac_try" in | 
| 3977 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3978 | > | *) ac_try_echo=$ac_try;; | 
| 3979 | > | esac | 
| 3980 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3981 | > | (eval "$ac_compiler --version >&5") 2>&5 | 
| 3982 | > | ac_status=$? | 
| 3983 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3984 | > | (exit $ac_status); } | 
| 3985 | > | { (ac_try="$ac_compiler -v >&5" | 
| 3986 | > | case "(($ac_try" in | 
| 3987 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3988 | > | *) ac_try_echo=$ac_try;; | 
| 3989 | > | esac | 
| 3990 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 3991 | > | (eval "$ac_compiler -v >&5") 2>&5 | 
| 3992 | > | ac_status=$? | 
| 3993 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3994 | > | (exit $ac_status); } | 
| 3995 | > | { (ac_try="$ac_compiler -V >&5" | 
| 3996 | > | case "(($ac_try" in | 
| 3997 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 3998 | > | *) ac_try_echo=$ac_try;; | 
| 3999 | > | esac | 
| 4000 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4001 | > | (eval "$ac_compiler -V >&5") 2>&5 | 
| 4002 | > | ac_status=$? | 
| 4003 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4004 | > | (exit $ac_status); } | 
| 4005 | > |  | 
| 4006 | > | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
| 4007 | > | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | 
| 4008 | > | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
| 4009 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4010 | > | else | 
| 4011 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4012 | > | /* confdefs.h.  */ | 
| 4013 | > | _ACEOF | 
| 4014 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4015 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4016 | > | /* end confdefs.h.  */ | 
| 4017 | > |  | 
| 4018 | > | int | 
| 4019 | > | main () | 
| 4020 | > | { | 
| 4021 | > | #ifndef __GNUC__ | 
| 4022 | > | choke me | 
| 4023 | > | #endif | 
| 4024 | > |  | 
| 4025 | > | ; | 
| 4026 | > | return 0; | 
| 4027 | > | } | 
| 4028 | > | _ACEOF | 
| 4029 | > | rm -f conftest.$ac_objext | 
| 4030 | > | if { (ac_try="$ac_compile" | 
| 4031 | > | case "(($ac_try" in | 
| 4032 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4033 | > | *) ac_try_echo=$ac_try;; | 
| 4034 | > | esac | 
| 4035 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4036 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4037 | > | ac_status=$? | 
| 4038 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4039 | > | rm -f conftest.er1 | 
| 4040 | > | cat conftest.err >&5 | 
| 4041 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4042 | > | (exit $ac_status); } && { | 
| 4043 | > | test -z "$ac_c_werror_flag" || | 
| 4044 | > | test ! -s conftest.err | 
| 4045 | > | } && test -s conftest.$ac_objext; then | 
| 4046 | > | ac_compiler_gnu=yes | 
| 4047 | > | else | 
| 4048 | > | echo "$as_me: failed program was:" >&5 | 
| 4049 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4050 | > |  | 
| 4051 | > | ac_compiler_gnu=no | 
| 4052 | > | fi | 
| 4053 | > |  | 
| 4054 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4055 | > | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| 4056 | > |  | 
| 4057 | > | fi | 
| 4058 | > | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
| 4059 | > | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 
| 4060 | > | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
| 4061 | > | ac_test_CFLAGS=${CFLAGS+set} | 
| 4062 | > | ac_save_CFLAGS=$CFLAGS | 
| 4063 | > | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
| 4064 | > | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 
| 4065 | > | if test "${ac_cv_prog_cc_g+set}" = set; then | 
| 4066 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4067 | > | else | 
| 4068 | > | ac_save_c_werror_flag=$ac_c_werror_flag | 
| 4069 | > | ac_c_werror_flag=yes | 
| 4070 | > | ac_cv_prog_cc_g=no | 
| 4071 | > | CFLAGS="-g" | 
| 4072 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4073 | > | /* confdefs.h.  */ | 
| 4074 | > | _ACEOF | 
| 4075 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4076 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4077 | > | /* end confdefs.h.  */ | 
| 4078 | > |  | 
| 4079 | > | int | 
| 4080 | > | main () | 
| 4081 | > | { | 
| 4082 | > |  | 
| 4083 | > | ; | 
| 4084 | > | return 0; | 
| 4085 | > | } | 
| 4086 | > | _ACEOF | 
| 4087 | > | rm -f conftest.$ac_objext | 
| 4088 | > | if { (ac_try="$ac_compile" | 
| 4089 | > | case "(($ac_try" in | 
| 4090 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4091 | > | *) ac_try_echo=$ac_try;; | 
| 4092 | > | esac | 
| 4093 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4094 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4095 | > | ac_status=$? | 
| 4096 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4097 | > | rm -f conftest.er1 | 
| 4098 | > | cat conftest.err >&5 | 
| 4099 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4100 | > | (exit $ac_status); } && { | 
| 4101 | > | test -z "$ac_c_werror_flag" || | 
| 4102 | > | test ! -s conftest.err | 
| 4103 | > | } && test -s conftest.$ac_objext; then | 
| 4104 | > | ac_cv_prog_cc_g=yes | 
| 4105 | > | else | 
| 4106 | > | echo "$as_me: failed program was:" >&5 | 
| 4107 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4108 | > |  | 
| 4109 | > | CFLAGS="" | 
| 4110 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4111 | > | /* confdefs.h.  */ | 
| 4112 | > | _ACEOF | 
| 4113 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4114 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4115 | > | /* end confdefs.h.  */ | 
| 4116 | > |  | 
| 4117 | > | int | 
| 4118 | > | main () | 
| 4119 | > | { | 
| 4120 | > |  | 
| 4121 | > | ; | 
| 4122 | > | return 0; | 
| 4123 | > | } | 
| 4124 | > | _ACEOF | 
| 4125 | > | rm -f conftest.$ac_objext | 
| 4126 | > | if { (ac_try="$ac_compile" | 
| 4127 | > | case "(($ac_try" in | 
| 4128 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4129 | > | *) ac_try_echo=$ac_try;; | 
| 4130 | > | esac | 
| 4131 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4132 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4133 | > | ac_status=$? | 
| 4134 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4135 | > | rm -f conftest.er1 | 
| 4136 | > | cat conftest.err >&5 | 
| 4137 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4138 | > | (exit $ac_status); } && { | 
| 4139 | > | test -z "$ac_c_werror_flag" || | 
| 4140 | > | test ! -s conftest.err | 
| 4141 | > | } && test -s conftest.$ac_objext; then | 
| 4142 | > | : | 
| 4143 | > | else | 
| 4144 | > | echo "$as_me: failed program was:" >&5 | 
| 4145 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4146 | > |  | 
| 4147 | > | ac_c_werror_flag=$ac_save_c_werror_flag | 
| 4148 | > | CFLAGS="-g" | 
| 4149 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4150 | > | /* confdefs.h.  */ | 
| 4151 | > | _ACEOF | 
| 4152 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4153 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4154 | > | /* end confdefs.h.  */ | 
| 4155 | > |  | 
| 4156 | > | int | 
| 4157 | > | main () | 
| 4158 | > | { | 
| 4159 | > |  | 
| 4160 | > | ; | 
| 4161 | > | return 0; | 
| 4162 | > | } | 
| 4163 | > | _ACEOF | 
| 4164 | > | rm -f conftest.$ac_objext | 
| 4165 | > | if { (ac_try="$ac_compile" | 
| 4166 | > | case "(($ac_try" in | 
| 4167 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4168 | > | *) ac_try_echo=$ac_try;; | 
| 4169 | > | esac | 
| 4170 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4171 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4172 | > | ac_status=$? | 
| 4173 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4174 | > | rm -f conftest.er1 | 
| 4175 | > | cat conftest.err >&5 | 
| 4176 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4177 | > | (exit $ac_status); } && { | 
| 4178 | > | test -z "$ac_c_werror_flag" || | 
| 4179 | > | test ! -s conftest.err | 
| 4180 | > | } && test -s conftest.$ac_objext; then | 
| 4181 | > | ac_cv_prog_cc_g=yes | 
| 4182 | > | else | 
| 4183 | > | echo "$as_me: failed program was:" >&5 | 
| 4184 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4185 | > |  | 
| 4186 | > |  | 
| 4187 | > | fi | 
| 4188 | > |  | 
| 4189 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4190 | > | fi | 
| 4191 | > |  | 
| 4192 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4193 | > | fi | 
| 4194 | > |  | 
| 4195 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4196 | > | ac_c_werror_flag=$ac_save_c_werror_flag | 
| 4197 | > | fi | 
| 4198 | > | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
| 4199 | > | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 
| 4200 | > | if test "$ac_test_CFLAGS" = set; then | 
| 4201 | > | CFLAGS=$ac_save_CFLAGS | 
| 4202 | > | elif test $ac_cv_prog_cc_g = yes; then | 
| 4203 | > | if test "$GCC" = yes; then | 
| 4204 | > | CFLAGS="-g -O2" | 
| 4205 | > | else | 
| 4206 | > | CFLAGS="-g" | 
| 4207 | > | fi | 
| 4208 | > | else | 
| 4209 | > | if test "$GCC" = yes; then | 
| 4210 | > | CFLAGS="-O2" | 
| 4211 | > | else | 
| 4212 | > | CFLAGS= | 
| 4213 | > | fi | 
| 4214 | > | fi | 
| 4215 | > | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 
| 4216 | > | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 
| 4217 | > | if test "${ac_cv_prog_cc_c89+set}" = set; then | 
| 4218 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4219 | > | else | 
| 4220 | > | ac_cv_prog_cc_c89=no | 
| 4221 | > | ac_save_CC=$CC | 
| 4222 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4223 | > | /* confdefs.h.  */ | 
| 4224 | > | _ACEOF | 
| 4225 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4226 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4227 | > | /* end confdefs.h.  */ | 
| 4228 | > | #include <stdarg.h> | 
| 4229 | > | #include <stdio.h> | 
| 4230 | > | #include <sys/types.h> | 
| 4231 | > | #include <sys/stat.h> | 
| 4232 | > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| 4233 | > | struct buf { int x; }; | 
| 4234 | > | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| 4235 | > | static char *e (p, i) | 
| 4236 | > | char **p; | 
| 4237 | > | int i; | 
| 4238 | > | { | 
| 4239 | > | return p[i]; | 
| 4240 | > | } | 
| 4241 | > | static char *f (char * (*g) (char **, int), char **p, ...) | 
| 4242 | > | { | 
| 4243 | > | char *s; | 
| 4244 | > | va_list v; | 
| 4245 | > | va_start (v,p); | 
| 4246 | > | s = g (p, va_arg (v,int)); | 
| 4247 | > | va_end (v); | 
| 4248 | > | return s; | 
| 4249 | > | } | 
| 4250 | > |  | 
| 4251 | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| 4252 | > | function prototypes and stuff, but not '\xHH' hex character constants. | 
| 4253 | > | These don't provoke an error unfortunately, instead are silently treated | 
| 4254 | > | as 'x'.  The following induces an error, until -std is added to get | 
| 4255 | > | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| 4256 | > | array size at least.  It's necessary to write '\x00'==0 to get something | 
| 4257 | > | that's true only with -std.  */ | 
| 4258 | > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| 4259 | > |  | 
| 4260 | > | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
| 4261 | > | inside strings and character constants.  */ | 
| 4262 | > | #define FOO(x) 'x' | 
| 4263 | > | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
| 4264 | > |  | 
| 4265 | > | int test (int i, double x); | 
| 4266 | > | struct s1 {int (*f) (int a);}; | 
| 4267 | > | struct s2 {int (*f) (double a);}; | 
| 4268 | > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| 4269 | > | int argc; | 
| 4270 | > | char **argv; | 
| 4271 | > | int | 
| 4272 | > | main () | 
| 4273 | > | { | 
| 4274 | > | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| 4275 | > | ; | 
| 4276 | > | return 0; | 
| 4277 | > | } | 
| 4278 | > | _ACEOF | 
| 4279 | > | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
| 4280 | > | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| 4281 | > | do | 
| 4282 | > | CC="$ac_save_CC $ac_arg" | 
| 4283 | > | rm -f conftest.$ac_objext | 
| 4284 | > | if { (ac_try="$ac_compile" | 
| 4285 | > | case "(($ac_try" in | 
| 4286 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4287 | > | *) ac_try_echo=$ac_try;; | 
| 4288 | > | esac | 
| 4289 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4290 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4291 | > | ac_status=$? | 
| 4292 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4293 | > | rm -f conftest.er1 | 
| 4294 | > | cat conftest.err >&5 | 
| 4295 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4296 | > | (exit $ac_status); } && { | 
| 4297 | > | test -z "$ac_c_werror_flag" || | 
| 4298 | > | test ! -s conftest.err | 
| 4299 | > | } && test -s conftest.$ac_objext; then | 
| 4300 | > | ac_cv_prog_cc_c89=$ac_arg | 
| 4301 | > | else | 
| 4302 | > | echo "$as_me: failed program was:" >&5 | 
| 4303 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4304 | > |  | 
| 4305 | > |  | 
| 4306 | > | fi | 
| 4307 | > |  | 
| 4308 | > | rm -f core conftest.err conftest.$ac_objext | 
| 4309 | > | test "x$ac_cv_prog_cc_c89" != "xno" && break | 
| 4310 | > | done | 
| 4311 | > | rm -f conftest.$ac_ext | 
| 4312 | > | CC=$ac_save_CC | 
| 4313 | > |  | 
| 4314 | > | fi | 
| 4315 | > | # AC_CACHE_VAL | 
| 4316 | > | case "x$ac_cv_prog_cc_c89" in | 
| 4317 | > | x) | 
| 4318 | > | { echo "$as_me:$LINENO: result: none needed" >&5 | 
| 4319 | > | echo "${ECHO_T}none needed" >&6; } ;; | 
| 4320 | > | xno) | 
| 4321 | > | { echo "$as_me:$LINENO: result: unsupported" >&5 | 
| 4322 | > | echo "${ECHO_T}unsupported" >&6; } ;; | 
| 4323 | > | *) | 
| 4324 | > | CC="$CC $ac_cv_prog_cc_c89" | 
| 4325 | > | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 
| 4326 | > | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 
| 4327 | > | esac | 
| 4328 | > |  | 
| 4329 | > |  | 
| 4330 | > | ac_ext=c | 
| 4331 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 4332 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4333 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4334 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4335 | > |  | 
| 4336 | > | ac_ext=${ac_fc_srcext-f} | 
| 4337 | > | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' | 
| 4338 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 4339 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 4340 | > | if test -n "$ac_tool_prefix"; then | 
| 4341 | > | for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 4342 | > | do | 
| 4343 | > | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 4344 | > | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| 4345 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 4346 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 4347 | > | if test "${ac_cv_prog_FC+set}" = set; then | 
| 4348 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4349 | > | else | 
| 4350 | > | if test -n "$FC"; then | 
| 4351 | > | ac_cv_prog_FC="$FC" # Let the user override the test. | 
| 4352 | > | else | 
| 4353 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 4354 | > | for as_dir in $PATH | 
| 4355 | > | do | 
| 4356 | > | IFS=$as_save_IFS | 
| 4357 | > | test -z "$as_dir" && as_dir=. | 
| 4358 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 4359 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 4360 | > | ac_cv_prog_FC="$ac_tool_prefix$ac_prog" | 
| 4361 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 4362 | > | break 2 | 
| 4363 | > | fi | 
| 4364 | > | done | 
| 4365 | > | done | 
| 4366 | > | IFS=$as_save_IFS | 
| 4367 | > |  | 
| 4368 | > | fi | 
| 4369 | > | fi | 
| 4370 | > | FC=$ac_cv_prog_FC | 
| 4371 | > | if test -n "$FC"; then | 
| 4372 | > | { echo "$as_me:$LINENO: result: $FC" >&5 | 
| 4373 | > | echo "${ECHO_T}$FC" >&6; } | 
| 4374 | > | else | 
| 4375 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 4376 | > | echo "${ECHO_T}no" >&6; } | 
| 4377 | > | fi | 
| 4378 | > |  | 
| 4379 | > |  | 
| 4380 | > | test -n "$FC" && break | 
| 4381 | > | done | 
| 4382 | > | fi | 
| 4383 | > | if test -z "$FC"; then | 
| 4384 | > | ac_ct_FC=$FC | 
| 4385 | > | for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort | 
| 4386 | > | do | 
| 4387 | > | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 4388 | > | set dummy $ac_prog; ac_word=$2 | 
| 4389 | > | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 4390 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 
| 4391 | > | if test "${ac_cv_prog_ac_ct_FC+set}" = set; then | 
| 4392 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4393 | > | else | 
| 4394 | > | if test -n "$ac_ct_FC"; then | 
| 4395 | > | ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. | 
| 4396 | > | else | 
| 4397 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 4398 | > | for as_dir in $PATH | 
| 4399 | > | do | 
| 4400 | > | IFS=$as_save_IFS | 
| 4401 | > | test -z "$as_dir" && as_dir=. | 
| 4402 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 4403 | > | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| 4404 | > | ac_cv_prog_ac_ct_FC="$ac_prog" | 
| 4405 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 4406 | > | break 2 | 
| 4407 | > | fi | 
| 4408 | > | done | 
| 4409 | > | done | 
| 4410 | > | IFS=$as_save_IFS | 
| 4411 | > |  | 
| 4412 | > | fi | 
| 4413 | > | fi | 
| 4414 | > | ac_ct_FC=$ac_cv_prog_ac_ct_FC | 
| 4415 | > | if test -n "$ac_ct_FC"; then | 
| 4416 | > | { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 | 
| 4417 | > | echo "${ECHO_T}$ac_ct_FC" >&6; } | 
| 4418 | > | else | 
| 4419 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 4420 | > | echo "${ECHO_T}no" >&6; } | 
| 4421 | > | fi | 
| 4422 | > |  | 
| 4423 | > |  | 
| 4424 | > | test -n "$ac_ct_FC" && break | 
| 4425 | > | done | 
| 4426 | > |  | 
| 4427 | > | if test "x$ac_ct_FC" = x; then | 
| 4428 | > | FC="" | 
| 4429 | > | else | 
| 4430 | > | case $cross_compiling:$ac_tool_warned in | 
| 4431 | > | yes:) | 
| 4432 | > | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 
| 4433 | > | whose name does not start with the host triplet.  If you think this | 
| 4434 | > | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 
| 4435 | > | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | 
| 4436 | > | whose name does not start with the host triplet.  If you think this | 
| 4437 | > | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 
| 4438 | > | ac_tool_warned=yes ;; | 
| 4439 | > | esac | 
| 4440 | > | FC=$ac_ct_FC | 
| 4441 | > | fi | 
| 4442 | > | fi | 
| 4443 | > |  | 
| 4444 | > |  | 
| 4445 | > | # Provide some information about the compiler. | 
| 4446 | > | echo "$as_me:$LINENO: checking for Fortran compiler version" >&5 | 
| 4447 | > | ac_compiler=`set X $ac_compile; echo $2` | 
| 4448 | > | { (ac_try="$ac_compiler --version >&5" | 
| 4449 | > | case "(($ac_try" in | 
| 4450 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4451 | > | *) ac_try_echo=$ac_try;; | 
| 4452 | > | esac | 
| 4453 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4454 | > | (eval "$ac_compiler --version >&5") 2>&5 | 
| 4455 | > | ac_status=$? | 
| 4456 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4457 | > | (exit $ac_status); } | 
| 4458 | > | { (ac_try="$ac_compiler -v >&5" | 
| 4459 | > | case "(($ac_try" in | 
| 4460 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4461 | > | *) ac_try_echo=$ac_try;; | 
| 4462 | > | esac | 
| 4463 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4464 | > | (eval "$ac_compiler -v >&5") 2>&5 | 
| 4465 | > | ac_status=$? | 
| 4466 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4467 | > | (exit $ac_status); } | 
| 4468 | > | { (ac_try="$ac_compiler -V >&5" | 
| 4469 | > | case "(($ac_try" in | 
| 4470 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4471 | > | *) ac_try_echo=$ac_try;; | 
| 4472 | > | esac | 
| 4473 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4474 | > | (eval "$ac_compiler -V >&5") 2>&5 | 
| 4475 | > | ac_status=$? | 
| 4476 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4477 | > | (exit $ac_status); } | 
| 4478 | > | rm -f a.out | 
| 4479 | > |  | 
| 4480 | > | # If we don't use `.F' as extension, the preprocessor is not run on the | 
| 4481 | > | # input file.  (Note that this only needs to work for GNU compilers.) | 
| 4482 | > | ac_save_ext=$ac_ext | 
| 4483 | > | ac_ext=F | 
| 4484 | > | { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 | 
| 4485 | > | echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; } | 
| 4486 | > | if test "${ac_cv_fc_compiler_gnu+set}" = set; then | 
| 4487 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4488 | > | else | 
| 4489 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4490 | > | program main | 
| 4491 | > | #ifndef __GNUC__ | 
| 4492 | > | choke me | 
| 4493 | > | #endif | 
| 4494 | > |  | 
| 4495 | > | end | 
| 4496 | > | _ACEOF | 
| 4497 | > | rm -f conftest.$ac_objext | 
| 4498 | > | if { (ac_try="$ac_compile" | 
| 4499 | > | case "(($ac_try" in | 
| 4500 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4501 | > | *) ac_try_echo=$ac_try;; | 
| 4502 | > | esac | 
| 4503 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4504 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4505 | > | ac_status=$? | 
| 4506 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4507 | > | rm -f conftest.er1 | 
| 4508 | > | cat conftest.err >&5 | 
| 4509 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4510 | > | (exit $ac_status); } && { | 
| 4511 | > | test -z "$ac_fc_werror_flag" || | 
| 4512 | > | test ! -s conftest.err | 
| 4513 | > | } && test -s conftest.$ac_objext; then | 
| 4514 | > | ac_compiler_gnu=yes | 
| 4515 | > | else | 
| 4516 | > | echo "$as_me: failed program was:" >&5 | 
| 4517 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4518 | > |  | 
| 4519 | > | ac_compiler_gnu=no | 
| 4520 | > | fi | 
| 4521 | > |  | 
| 4522 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4523 | > | ac_cv_fc_compiler_gnu=$ac_compiler_gnu | 
| 4524 | > |  | 
| 4525 | > | fi | 
| 4526 | > | { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 | 
| 4527 | > | echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; } | 
| 4528 | > | ac_ext=$ac_save_ext | 
| 4529 | > | ac_test_FFLAGS=${FCFLAGS+set} | 
| 4530 | > | ac_save_FFLAGS=$FCFLAGS | 
| 4531 | > | FCFLAGS= | 
| 4532 | > | { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 | 
| 4533 | > | echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; } | 
| 4534 | > | if test "${ac_cv_prog_fc_g+set}" = set; then | 
| 4535 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4536 | > | else | 
| 4537 | > | FCFLAGS=-g | 
| 4538 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4539 | > | program main | 
| 4540 | > |  | 
| 4541 | > | end | 
| 4542 | > | _ACEOF | 
| 4543 | > | rm -f conftest.$ac_objext | 
| 4544 | > | if { (ac_try="$ac_compile" | 
| 4545 | > | case "(($ac_try" in | 
| 4546 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 4547 | > | *) ac_try_echo=$ac_try;; | 
| 4548 | > | esac | 
| 4549 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 4550 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 4551 | > | ac_status=$? | 
| 4552 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4553 | > | rm -f conftest.er1 | 
| 4554 | > | cat conftest.err >&5 | 
| 4555 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4556 | > | (exit $ac_status); } && { | 
| 4557 | > | test -z "$ac_fc_werror_flag" || | 
| 4558 | > | test ! -s conftest.err | 
| 4559 | > | } && test -s conftest.$ac_objext; then | 
| 4560 | > | ac_cv_prog_fc_g=yes | 
| 4561 | > | else | 
| 4562 | > | echo "$as_me: failed program was:" >&5 | 
| 4563 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4564 | > |  | 
| 4565 | > | ac_cv_prog_fc_g=no | 
| 4566 | > | fi | 
| 4567 | > |  | 
| 4568 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4569 | > |  | 
| 4570 | > | fi | 
| 4571 | > | { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 | 
| 4572 | > | echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; } | 
| 4573 | > | if test "$ac_test_FFLAGS" = set; then | 
| 4574 | > | FCFLAGS=$ac_save_FFLAGS | 
| 4575 | > | elif test $ac_cv_prog_fc_g = yes; then | 
| 4576 | > | if test "x$ac_cv_fc_compiler_gnu" = xyes; then | 
| 4577 |  | FCFLAGS="-g -O2" | 
| 4578 |  | else | 
| 4579 |  | FCFLAGS="-g" | 
| 4641 |  | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 4642 |  | ac_status=$? | 
| 4643 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4644 | < | rm -rf conftest.er1 | 
| 4644 | > | rm -f conftest.er1 | 
| 4645 |  | cat conftest.err >&5 | 
| 4646 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4647 |  | (exit $ac_status); } >/dev/null && { | 
| 4657 |  | continue | 
| 4658 |  | fi | 
| 4659 |  |  | 
| 4660 | < | rm -rf conftest.err conftest.$ac_ext | 
| 4660 | > | rm -f conftest.err conftest.$ac_ext | 
| 4661 |  |  | 
| 4662 |  | # OK, works on sane cases.  Now check whether nonexistent headers | 
| 4663 |  | # can be detected and how. | 
| 4696 |  | break | 
| 4697 |  | fi | 
| 4698 |  |  | 
| 4699 | < | rm -rf conftest.err conftest.$ac_ext | 
| 4699 | > | rm -f conftest.err conftest.$ac_ext | 
| 4700 |  |  | 
| 4701 |  | done | 
| 4702 |  | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4703 | < | rm -rf conftest.err conftest.$ac_ext | 
| 4703 | > | rm -f conftest.err conftest.$ac_ext | 
| 4704 |  | if $ac_preproc_ok; then | 
| 4705 |  | break | 
| 4706 |  | fi | 
| 4762 |  | continue | 
| 4763 |  | fi | 
| 4764 |  |  | 
| 4765 | < | rm -rf conftest.err conftest.$ac_ext | 
| 4765 | > | rm -f conftest.err conftest.$ac_ext | 
| 4766 |  |  | 
| 4767 |  | # OK, works on sane cases.  Now check whether nonexistent headers | 
| 4768 |  | # can be detected and how. | 
| 4801 |  | break | 
| 4802 |  | fi | 
| 4803 |  |  | 
| 4804 | < | rm -rf conftest.err conftest.$ac_ext | 
| 4804 | > | rm -f conftest.err conftest.$ac_ext | 
| 4805 |  |  | 
| 4806 |  | done | 
| 4807 |  | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4808 | < | rm -rf conftest.err conftest.$ac_ext | 
| 4808 | > | rm -f conftest.err conftest.$ac_ext | 
| 4809 |  | if $ac_preproc_ok; then | 
| 4810 |  | : | 
| 4811 |  | else | 
| 4869 |  | # 10*(2^10) chars as input seems more than enough | 
| 4870 |  | test $ac_count -gt 10 && break | 
| 4871 |  | done | 
| 4872 | < | rm -rf conftest.in conftest.tmp conftest.nl conftest.out;; | 
| 4872 | > | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
| 4873 |  | esac | 
| 4874 |  |  | 
| 4875 |  |  | 
| 4951 |  | # 10*(2^10) chars as input seems more than enough | 
| 4952 |  | test $ac_count -gt 10 && break | 
| 4953 |  | done | 
| 4954 | < | rm -rf conftest.in conftest.tmp conftest.nl conftest.out;; | 
| 4954 | > | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
| 4955 |  | esac | 
| 4956 |  |  | 
| 4957 |  |  | 
| 5013 |  | *) | 
| 5014 |  | eval ac_cv_prog_make_${ac_make}_set=no;; | 
| 5015 |  | esac | 
| 5016 | < | rm -rf conftest.make | 
| 5016 | > | rm -f conftest.make | 
| 5017 |  | fi | 
| 5018 |  | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 
| 5019 |  | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 5437 |  | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 
| 5438 |  | fi | 
| 5439 |  | fi | 
| 5440 | < | rm -rf confcache | 
| 5440 | > | rm -f confcache | 
| 5441 |  | exit 1 | 
| 5442 |  | fi | 
| 5443 |  | # Extract the first word of "ps", so it can be a program name with args. | 
| 5562 |  |  | 
| 5563 |  | end | 
| 5564 |  | _ACEOF | 
| 5565 | < | rm -rf conftest.$ac_objext | 
| 5565 | > | rm -f conftest.$ac_objext | 
| 5566 |  | if { (ac_try="$ac_compile" | 
| 5567 |  | case "(($ac_try" in | 
| 5568 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 5587 |  |  | 
| 5588 |  | fi | 
| 5589 |  |  | 
| 5590 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5590 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5591 |  | done | 
| 5592 | < | rm -rf conftest.$ac_objext conftest.F90 | 
| 5592 | > | rm -f conftest.$ac_objext conftest.F90 | 
| 5593 |  | ac_fcflags_srcext=$ac_fcflags_srcext_save | 
| 5594 |  |  | 
| 5595 |  | fi | 
| 5670 |  | end program conftest | 
| 5671 |  |  | 
| 5672 |  | _ACEOF | 
| 5673 | < | rm -rf conftest.$ac_objext | 
| 5673 | > | rm -f conftest.$ac_objext | 
| 5674 |  | if { (ac_try="$ac_compile" | 
| 5675 |  | case "(($ac_try" in | 
| 5676 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 5695 |  | prepflagworks=0 | 
| 5696 |  | fi | 
| 5697 |  |  | 
| 5698 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5698 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5699 |  |  | 
| 5700 |  | FCFLAGS_SRCEXT=$ac_save_FCFLAGS_SRCEXT | 
| 5701 |  | ac_ext=$ac_save_ext | 
| 5777 |  | end program conftest | 
| 5778 |  |  | 
| 5779 |  | _ACEOF | 
| 5780 | < | rm -rf conftest.$ac_objext | 
| 5780 | > | rm -f conftest.$ac_objext | 
| 5781 |  | if { (ac_try="$ac_compile" | 
| 5782 |  | case "(($ac_try" in | 
| 5783 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 5802 |  | prepdefflagworks=0 | 
| 5803 |  | fi | 
| 5804 |  |  | 
| 5805 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5805 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5806 |  |  | 
| 5807 |  | FCFLAGS=$ac_save_FCFLAGS | 
| 5808 |  | ac_ext=$ac_save_ext | 
| 5839 |  |  | 
| 5840 |  | end | 
| 5841 |  | _ACEOF | 
| 5842 | < | rm -rf conftest.$ac_objext | 
| 5842 | > | rm -f conftest.$ac_objext | 
| 5843 |  | if { (ac_try="$ac_compile" | 
| 5844 |  | case "(($ac_try" in | 
| 5845 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 5849 |  | (eval "$ac_compile") 2>conftest.er1 | 
| 5850 |  | ac_status=$? | 
| 5851 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5852 | < | rm -rf conftest.er1 | 
| 5852 | > | rm -f conftest.er1 | 
| 5853 |  | cat conftest.err >&5 | 
| 5854 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5855 |  | (exit $ac_status); } && { | 
| 5878 |  | echo "$ac_fc_v_output" >&5 | 
| 5879 |  | FCFLAGS=$ac_save_FFLAGS | 
| 5880 |  |  | 
| 5881 | < | rm -rf conftest* | 
| 5881 | > | rm -f conftest* | 
| 5882 |  |  | 
| 5883 |  | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 5884 |  | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 5936 |  | echo "$as_me: WARNING: compilation failed" >&2;} | 
| 5937 |  | fi | 
| 5938 |  |  | 
| 5939 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5939 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5940 |  |  | 
| 5941 |  | fi | 
| 5942 |  | { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 | 
| 5969 |  | echo "$ac_fc_v_output" >&5 | 
| 5970 |  | FCFLAGS=$ac_save_FFLAGS | 
| 5971 |  |  | 
| 5972 | < | rm -rf conftest* | 
| 5972 | > | rm -f conftest* | 
| 5973 |  |  | 
| 5974 |  | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 5975 |  | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 6192 |  | return 0; | 
| 6193 |  | } | 
| 6194 |  | _ACEOF | 
| 6195 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 6195 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6196 |  | if { (ac_try="$ac_link" | 
| 6197 |  | case "(($ac_try" in | 
| 6198 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 6218 |  | ac_cv_fortran_dummy_main=unknown | 
| 6219 |  | fi | 
| 6220 |  |  | 
| 6221 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6221 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6222 |  | conftest$ac_exeext conftest.$ac_ext | 
| 6223 |  |  | 
| 6224 |  | if test $ac_cv_fortran_dummy_main = unknown; then | 
| 6246 |  | return 0; | 
| 6247 |  | } | 
| 6248 |  | _ACEOF | 
| 6249 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 6249 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6250 |  | if { (ac_try="$ac_link" | 
| 6251 |  | case "(($ac_try" in | 
| 6252 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 6272 |  |  | 
| 6273 |  | fi | 
| 6274 |  |  | 
| 6275 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6275 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6276 |  | conftest$ac_exeext conftest.$ac_ext | 
| 6277 |  | done | 
| 6278 |  | fi | 
| 6281 |  | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 6282 |  | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 6283 |  | ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main | 
| 6284 | < | rm -rf conftest* | 
| 6284 | > | rm -f conftest* | 
| 6285 |  | LIBS=$ac_fc_dm_save_LIBS | 
| 6286 |  |  | 
| 6287 |  | fi | 
| 6334 |  | return | 
| 6335 |  | end | 
| 6336 |  | _ACEOF | 
| 6337 | < | rm -rf conftest.$ac_objext | 
| 6337 | > | rm -f conftest.$ac_objext | 
| 6338 |  | if { (ac_try="$ac_compile" | 
| 6339 |  | case "(($ac_try" in | 
| 6340 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 6395 |  | return 0; | 
| 6396 |  | } | 
| 6397 |  | _ACEOF | 
| 6398 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 6398 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6399 |  | if { (ac_try="$ac_link" | 
| 6400 |  | case "(($ac_try" in | 
| 6401 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 6421 |  |  | 
| 6422 |  | fi | 
| 6423 |  |  | 
| 6424 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6424 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6425 |  | conftest$ac_exeext conftest.$ac_ext | 
| 6426 |  | done | 
| 6427 |  | done | 
| 6480 |  | return 0; | 
| 6481 |  | } | 
| 6482 |  | _ACEOF | 
| 6483 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 6483 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6484 |  | if { (ac_try="$ac_link" | 
| 6485 |  | case "(($ac_try" in | 
| 6486 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 6506 |  |  | 
| 6507 |  | fi | 
| 6508 |  |  | 
| 6509 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6509 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 6510 |  | conftest$ac_exeext conftest.$ac_ext | 
| 6511 |  | done | 
| 6512 |  | ac_ext=${ac_fc_srcext-f} | 
| 6534 |  | fi | 
| 6535 |  |  | 
| 6536 |  | LIBS=$ac_save_LIBS | 
| 6537 | < | rm -rf cfortran_test* conftest* | 
| 6537 | > | rm -f cfortran_test* conftest* | 
| 6538 |  | else | 
| 6539 |  | echo "$as_me: failed program was:" >&5 | 
| 6540 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 6546 |  | { (exit 1); exit 1; }; } | 
| 6547 |  | fi | 
| 6548 |  |  | 
| 6549 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6549 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 6550 |  |  | 
| 6551 |  | fi | 
| 6552 |  | { echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5 | 
| 6663 |  |  | 
| 6664 |  | end | 
| 6665 |  | _ACEOF | 
| 6666 | < | rm -rf conftest.$ac_objext | 
| 6666 | > | rm -f conftest.$ac_objext | 
| 6667 |  | if { (ac_try="$ac_compile" | 
| 6668 |  | case "(($ac_try" in | 
| 6669 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 6702 |  | echo "$ac_fc_v_output" >&5 | 
| 6703 |  | FCFLAGS=$ac_save_FFLAGS | 
| 6704 |  |  | 
| 6705 | < | rm -rf conftest* | 
| 6705 | > | rm -f conftest* | 
| 6706 |  |  | 
| 6707 |  | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 6708 |  | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 6793 |  | echo "$ac_fc_v_output" >&5 | 
| 6794 |  | FCFLAGS=$ac_save_FFLAGS | 
| 6795 |  |  | 
| 6796 | < | rm -rf conftest* | 
| 6796 | > | rm -f conftest* | 
| 6797 |  |  | 
| 6798 |  | # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where | 
| 6799 |  | # /foo, /bar, and /baz are search directories for the Fortran linker. | 
| 6976 |  |  | 
| 6977 |  | { echo "$as_me:$LINENO: checking for module suffix" >&5 | 
| 6978 |  | echo $ECHO_N "checking for module suffix... $ECHO_C" >&6; } | 
| 6979 | < | rm -rf conftest* | 
| 6979 | > | rm -f conftest* | 
| 6980 |  | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 6981 |  | rm -f work* | 
| 6982 |  | cat >conftest.$ac_ext <<EOF | 
| 7030 |  | # Use the module made above | 
| 7031 |  | { echo "$as_me:$LINENO: checking for module directory path flag" >&5 | 
| 7032 |  | echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6; } | 
| 7033 | < | rm -rf conftest* | 
| 7033 | > | rm -f conftest* | 
| 7034 |  | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 7035 |  | rm -f work* | 
| 7036 |  | cat >conftest.$ac_ext <<EOF | 
| 7098 |  | fi | 
| 7099 |  |  | 
| 7100 |  |  | 
| 7101 | < | rm -rf conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* | 
| 7101 | > | rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* | 
| 7102 |  | if test $madedir = 1 ; then rmdir conf ; fi | 
| 7103 |  | fi | 
| 7104 |  |  | 
| 7120 |  | MODULE Bar | 
| 7121 |  | END MODULE Bar | 
| 7122 |  | _ACEOF | 
| 7123 | < | rm -rf conftest.$ac_objext | 
| 7123 | > | rm -f conftest.$ac_objext | 
| 7124 |  | if { (ac_try="$ac_compile" | 
| 7125 |  | case "(($ac_try" in | 
| 7126 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7237 |  | echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 7238 |  | fi | 
| 7239 |  |  | 
| 7240 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7240 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7241 |  | cd .. | 
| 7242 |  | # cleanup | 
| 7243 |  | rm -rf conftest | 
| 7378 |  | return 0; | 
| 7379 |  | } | 
| 7380 |  | _ACEOF | 
| 7381 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 7381 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 7382 |  | if { (ac_try="$ac_link" | 
| 7383 |  | case "(($ac_try" in | 
| 7384 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7404 |  | ac_cv_lib_m_asin=no | 
| 7405 |  | fi | 
| 7406 |  |  | 
| 7407 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 7407 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 7408 |  | conftest$ac_exeext conftest.$ac_ext | 
| 7409 |  | LIBS=$ac_check_lib_save_LIBS | 
| 7410 |  | fi | 
| 7454 |  | return 0; | 
| 7455 |  | } | 
| 7456 |  | _ACEOF | 
| 7457 | < | rm -rf conftest.$ac_objext | 
| 7457 | > | rm -f conftest.$ac_objext | 
| 7458 |  | if { (ac_try="$ac_compile" | 
| 7459 |  | case "(($ac_try" in | 
| 7460 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7479 |  | ac_cv_header_stdc=no | 
| 7480 |  | fi | 
| 7481 |  |  | 
| 7482 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7482 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7483 |  |  | 
| 7484 |  | if test $ac_cv_header_stdc = yes; then | 
| 7485 |  | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 7498 |  | else | 
| 7499 |  | ac_cv_header_stdc=no | 
| 7500 |  | fi | 
| 7501 | < | rm -rf conftest* | 
| 7501 | > | rm -f conftest* | 
| 7502 |  |  | 
| 7503 |  | fi | 
| 7504 |  |  | 
| 7519 |  | else | 
| 7520 |  | ac_cv_header_stdc=no | 
| 7521 |  | fi | 
| 7522 | < | rm -rf conftest* | 
| 7522 | > | rm -f conftest* | 
| 7523 |  |  | 
| 7524 |  | fi | 
| 7525 |  |  | 
| 7559 |  | return 0; | 
| 7560 |  | } | 
| 7561 |  | _ACEOF | 
| 7562 | < | rm -rf conftest$ac_exeext | 
| 7562 | > | rm -f conftest$ac_exeext | 
| 7563 |  | if { (ac_try="$ac_link" | 
| 7564 |  | case "(($ac_try" in | 
| 7565 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7588 |  | ( exit $ac_status ) | 
| 7589 |  | ac_cv_header_stdc=no | 
| 7590 |  | fi | 
| 7591 | < | rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 7591 | > | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 7592 |  | fi | 
| 7593 |  |  | 
| 7594 |  |  | 
| 7633 |  |  | 
| 7634 |  | #include <$ac_header> | 
| 7635 |  | _ACEOF | 
| 7636 | < | rm -rf conftest.$ac_objext | 
| 7636 | > | rm -f conftest.$ac_objext | 
| 7637 |  | if { (ac_try="$ac_compile" | 
| 7638 |  | case "(($ac_try" in | 
| 7639 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7658 |  | eval "$as_ac_Header=no" | 
| 7659 |  | fi | 
| 7660 |  |  | 
| 7661 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7661 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7662 |  | fi | 
| 7663 |  | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 7664 |  | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 7693 |  | else | 
| 7694 |  | { echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5 | 
| 7695 |  | echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;} | 
| 7696 | + | ZLIB_HOME=/usr/local | 
| 7697 | + | if test ! -f "${ZLIB_HOME}/include/zlib.h" | 
| 7698 | + | then | 
| 7699 | + | ZLIB_HOME=/usr | 
| 7700 | + | fi | 
| 7701 |  | fi | 
| 7702 |  | fi | 
| 6568 | – |  | 
| 6569 | – | ZLIB_HOME=/usr/local | 
| 6570 | – | if test ! -f "${ZLIB_HOME}/include/zlib.h" | 
| 6571 | – | then | 
| 6572 | – | ZLIB_HOME=/usr | 
| 6573 | – | fi | 
| 6574 | – |  | 
| 7703 |  | # | 
| 7704 |  | # Locate zlib, if wanted | 
| 7705 |  | # | 
| 7706 |  | if test -n "${ZLIB_HOME}" | 
| 7707 |  | then | 
| 7708 |  | ZLIB_OLD_LDFLAGS=$LDFLAGS | 
| 7709 | < | ZLIB_OLD_CPPFLAGS=$LDFLAGS | 
| 7709 | > | ZLIB_OLD_CFLAGS=$CFLAGS | 
| 7710 |  | LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" | 
| 7711 | < | CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" | 
| 7711 | > | CFLAGS="$CFLAGS -I${ZLIB_HOME}/include" | 
| 7712 |  |  | 
| 7713 |  | ac_ext=c | 
| 7714 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 7753 |  | return 0; | 
| 7754 |  | } | 
| 7755 |  | _ACEOF | 
| 7756 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 7756 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 7757 |  | if { (ac_try="$ac_link" | 
| 7758 |  | case "(($ac_try" in | 
| 7759 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7779 |  | ac_cv_lib_z_inflateEnd=no | 
| 7780 |  | fi | 
| 7781 |  |  | 
| 7782 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 7782 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 7783 |  | conftest$ac_exeext conftest.$ac_ext | 
| 7784 |  | LIBS=$ac_check_lib_save_LIBS | 
| 7785 |  | fi | 
| 7812 |  | $ac_includes_default | 
| 7813 |  | #include <zlib.h> | 
| 7814 |  | _ACEOF | 
| 7815 | < | rm -rf conftest.$ac_objext | 
| 7815 | > | rm -f conftest.$ac_objext | 
| 7816 |  | if { (ac_try="$ac_compile" | 
| 7817 |  | case "(($ac_try" in | 
| 7818 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7837 |  | ac_header_compiler=no | 
| 7838 |  | fi | 
| 7839 |  |  | 
| 7840 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7840 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 7841 |  | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 7842 |  | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 7843 |  |  | 
| 7876 |  | ac_header_preproc=no | 
| 7877 |  | fi | 
| 7878 |  |  | 
| 7879 | < | rm -rf conftest.err conftest.$ac_ext | 
| 7879 | > | rm -f conftest.err conftest.$ac_ext | 
| 7880 |  | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 7881 |  | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 7882 |  |  | 
| 7956 |  | ZLIB_LIB_DIR= | 
| 7957 |  | ZLIB= | 
| 7958 |  | LDFLAGS="$ZLIB_OLD_LDFLAGS" | 
| 7959 | < | CPPFLAGS="$ZLIB_OLD_CPPFLAGS" | 
| 7959 | > | CFLAGS="$ZLIB_OLD_CFLAGS" | 
| 7960 |  | { echo "$as_me:$LINENO: result: failed" >&5 | 
| 7961 |  | echo "${ECHO_T}failed" >&6; } | 
| 7962 |  | echo "" | 
| 8004 |  | # | 
| 8005 |  | if test -n "${FFTW_HOME}"; then | 
| 8006 |  | FFTW_OLD_LDFLAGS=$LDFLAGS | 
| 8007 | < | FFTW_OLD_CPPFLAGS=$LDFLAGS | 
| 8007 | > | FFTW_OLD_CFLAGS=$CFLAGS | 
| 8008 |  | LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib" | 
| 8009 | < | CPPFLAGS="$CPPFLAGS -I${FFTW_HOME}/include" | 
| 8009 | > | CFLAGS="$CFLAGS -I${FFTW_HOME}/include" | 
| 8010 |  |  | 
| 8011 |  | ac_ext=c | 
| 8012 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 8051 |  | return 0; | 
| 8052 |  | } | 
| 8053 |  | _ACEOF | 
| 8054 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 8054 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 8055 |  | if { (ac_try="$ac_link" | 
| 8056 |  | case "(($ac_try" in | 
| 8057 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8077 |  | ac_cv_lib_fftw3_fftw_execute=no | 
| 8078 |  | fi | 
| 8079 |  |  | 
| 8080 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8080 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8081 |  | conftest$ac_exeext conftest.$ac_ext | 
| 8082 |  | LIBS=$ac_check_lib_save_LIBS | 
| 8083 |  | fi | 
| 8110 |  | $ac_includes_default | 
| 8111 |  | #include <fftw3.h> | 
| 8112 |  | _ACEOF | 
| 8113 | < | rm -rf conftest.$ac_objext | 
| 8113 | > | rm -f conftest.$ac_objext | 
| 8114 |  | if { (ac_try="$ac_compile" | 
| 8115 |  | case "(($ac_try" in | 
| 8116 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8135 |  | ac_header_compiler=no | 
| 8136 |  | fi | 
| 8137 |  |  | 
| 8138 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8138 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8139 |  | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8140 |  | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 8141 |  |  | 
| 8174 |  | ac_header_preproc=no | 
| 8175 |  | fi | 
| 8176 |  |  | 
| 8177 | < | rm -rf conftest.err conftest.$ac_ext | 
| 8177 | > | rm -f conftest.err conftest.$ac_ext | 
| 8178 |  | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8179 |  | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 8180 |  |  | 
| 8264 |  | return 0; | 
| 8265 |  | } | 
| 8266 |  | _ACEOF | 
| 8267 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 8267 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 8268 |  | if { (ac_try="$ac_link" | 
| 8269 |  | case "(($ac_try" in | 
| 8270 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8290 |  | ac_cv_lib_fftw_fftwnd_one=no | 
| 8291 |  | fi | 
| 8292 |  |  | 
| 8293 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8293 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8294 |  | conftest$ac_exeext conftest.$ac_ext | 
| 8295 |  | LIBS=$ac_check_lib_save_LIBS | 
| 8296 |  | fi | 
| 8323 |  | $ac_includes_default | 
| 8324 |  | #include <fftw.h> | 
| 8325 |  | _ACEOF | 
| 8326 | < | rm -rf conftest.$ac_objext | 
| 8326 | > | rm -f conftest.$ac_objext | 
| 8327 |  | if { (ac_try="$ac_compile" | 
| 8328 |  | case "(($ac_try" in | 
| 8329 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8348 |  | ac_header_compiler=no | 
| 8349 |  | fi | 
| 8350 |  |  | 
| 8351 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8351 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8352 |  | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8353 |  | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 8354 |  |  | 
| 8387 |  | ac_header_preproc=no | 
| 8388 |  | fi | 
| 8389 |  |  | 
| 8390 | < | rm -rf conftest.err conftest.$ac_ext | 
| 8390 | > | rm -f conftest.err conftest.$ac_ext | 
| 8391 |  | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8392 |  | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 8393 |  |  | 
| 8477 |  | return 0; | 
| 8478 |  | } | 
| 8479 |  | _ACEOF | 
| 8480 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 8480 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 8481 |  | if { (ac_try="$ac_link" | 
| 8482 |  | case "(($ac_try" in | 
| 8483 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8503 |  | ac_cv_lib_dfftw_fftwnd_one=no | 
| 8504 |  | fi | 
| 8505 |  |  | 
| 8506 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8506 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8507 |  | conftest$ac_exeext conftest.$ac_ext | 
| 8508 |  | LIBS=$ac_check_lib_save_LIBS | 
| 8509 |  | fi | 
| 8536 |  | $ac_includes_default | 
| 8537 |  | #include <dfftw.h> | 
| 8538 |  | _ACEOF | 
| 8539 | < | rm -rf conftest.$ac_objext | 
| 8539 | > | rm -f conftest.$ac_objext | 
| 8540 |  | if { (ac_try="$ac_compile" | 
| 8541 |  | case "(($ac_try" in | 
| 8542 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8561 |  | ac_header_compiler=no | 
| 8562 |  | fi | 
| 8563 |  |  | 
| 8564 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8564 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8565 |  | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8566 |  | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 8567 |  |  | 
| 8600 |  | ac_header_preproc=no | 
| 8601 |  | fi | 
| 8602 |  |  | 
| 8603 | < | rm -rf conftest.err conftest.$ac_ext | 
| 8603 | > | rm -f conftest.err conftest.$ac_ext | 
| 8604 |  | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8605 |  | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 8606 |  |  | 
| 8696 |  | FFTW_LIB_DIR= | 
| 8697 |  | FFTW_LIBS= | 
| 8698 |  | LDFLAGS="$FFTW_OLD_LDFLAGS" | 
| 8699 | < | CPPFLAGS="$FFTW_OLD_CPPFLAGS" | 
| 8699 | > | CFLAGS="$FFTW_OLD_CFLAGS" | 
| 8700 |  | { echo "$as_me:$LINENO: result: failed" >&5 | 
| 8701 |  | echo "${ECHO_T}failed" >&6; } | 
| 8702 |  | echo "" | 
| 8719 |  | fi | 
| 8720 |  | fi | 
| 8721 |  |  | 
| 8722 | + | # | 
| 8723 | + | # Handle user hints | 
| 8724 | + | # | 
| 8725 |  |  | 
| 8726 | < |  | 
| 8727 | < | # Checks for header files. | 
| 8728 | < | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
| 7598 | < | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 
| 7599 | < | if test "${ac_cv_header_stdc+set}" = set; then | 
| 7600 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8726 | > | # Check whether --with-qhull was given. | 
| 8727 | > | if test "${with_qhull+set}" = set; then | 
| 8728 | > | withval=$with_qhull; qhull_dir="$withval" | 
| 8729 |  | else | 
| 8730 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7603 | < | /* confdefs.h.  */ | 
| 7604 | < | _ACEOF | 
| 7605 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7606 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7607 | < | /* end confdefs.h.  */ | 
| 7608 | < | #include <stdlib.h> | 
| 7609 | < | #include <stdarg.h> | 
| 7610 | < | #include <string.h> | 
| 7611 | < | #include <float.h> | 
| 7612 | < |  | 
| 7613 | < | #ifdef FC_DUMMY_MAIN | 
| 7614 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 7615 | < | #  ifdef __cplusplus | 
| 7616 | < | extern "C" | 
| 7617 | < | #  endif | 
| 7618 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 7619 | < | #endif | 
| 7620 | < | #endif | 
| 7621 | < | int | 
| 7622 | < | main () | 
| 7623 | < | { | 
| 7624 | < |  | 
| 7625 | < | ; | 
| 7626 | < | return 0; | 
| 7627 | < | } | 
| 7628 | < | _ACEOF | 
| 7629 | < | rm -rf conftest.$ac_objext | 
| 7630 | < | if { (ac_try="$ac_compile" | 
| 7631 | < | case "(($ac_try" in | 
| 7632 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7633 | < | *) ac_try_echo=$ac_try;; | 
| 7634 | < | esac | 
| 7635 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 7636 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 7637 | < | ac_status=$? | 
| 7638 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 7639 | < | rm -f conftest.er1 | 
| 7640 | < | cat conftest.err >&5 | 
| 7641 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7642 | < | (exit $ac_status); } && { | 
| 7643 | < | test -z "$ac_c_werror_flag" || | 
| 7644 | < | test ! -s conftest.err | 
| 7645 | < | } && test -s conftest.$ac_objext; then | 
| 7646 | < | ac_cv_header_stdc=yes | 
| 7647 | < | else | 
| 7648 | < | echo "$as_me: failed program was:" >&5 | 
| 7649 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7650 | < |  | 
| 7651 | < | ac_cv_header_stdc=no | 
| 8730 | > | qhull_dir="not_set" | 
| 8731 |  | fi | 
| 8732 |  |  | 
| 8733 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8733 | > | if test "$qhull_dir" != "no"; then | 
| 8734 |  |  | 
| 8735 | < | if test $ac_cv_header_stdc = yes; then | 
| 8736 | < | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 8737 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 8738 | < | /* confdefs.h.  */ | 
| 8739 | < | _ACEOF | 
| 8740 | < | cat confdefs.h >>conftest.$ac_ext | 
| 8741 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 8742 | < | /* end confdefs.h.  */ | 
| 8743 | < | #include <string.h> | 
| 8744 | < |  | 
| 8745 | < | _ACEOF | 
| 8746 | < | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 8747 | < | $EGREP "memchr" >/dev/null 2>&1; then | 
| 7669 | < | : | 
| 7670 | < | else | 
| 7671 | < | ac_cv_header_stdc=no | 
| 7672 | < | fi | 
| 7673 | < | rm -rf conftest* | 
| 7674 | < |  | 
| 7675 | < | fi | 
| 7676 | < |  | 
| 7677 | < | if test $ac_cv_header_stdc = yes; then | 
| 7678 | < | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 7679 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7680 | < | /* confdefs.h.  */ | 
| 7681 | < | _ACEOF | 
| 7682 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7683 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7684 | < | /* end confdefs.h.  */ | 
| 7685 | < | #include <stdlib.h> | 
| 7686 | < |  | 
| 7687 | < | _ACEOF | 
| 7688 | < | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 7689 | < | $EGREP "free" >/dev/null 2>&1; then | 
| 7690 | < | : | 
| 7691 | < | else | 
| 7692 | < | ac_cv_header_stdc=no | 
| 7693 | < | fi | 
| 7694 | < | rm -rf conftest* | 
| 7695 | < |  | 
| 7696 | < | fi | 
| 7697 | < |  | 
| 7698 | < | if test $ac_cv_header_stdc = yes; then | 
| 7699 | < | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 7700 | < | if test "$cross_compiling" = yes; then | 
| 7701 | < | : | 
| 7702 | < | else | 
| 7703 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 7704 | < | /* confdefs.h.  */ | 
| 7705 | < | _ACEOF | 
| 7706 | < | cat confdefs.h >>conftest.$ac_ext | 
| 7707 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 7708 | < | /* end confdefs.h.  */ | 
| 7709 | < | #include <ctype.h> | 
| 7710 | < | #include <stdlib.h> | 
| 7711 | < | #if ((' ' & 0x0FF) == 0x020) | 
| 7712 | < | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 7713 | < | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 7714 | < | #else | 
| 7715 | < | # define ISLOWER(c) \ | 
| 7716 | < | (('a' <= (c) && (c) <= 'i') \ | 
| 7717 | < | || ('j' <= (c) && (c) <= 'r') \ | 
| 7718 | < | || ('s' <= (c) && (c) <= 'z')) | 
| 7719 | < | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
| 7720 | < | #endif | 
| 7721 | < |  | 
| 7722 | < | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 7723 | < | int | 
| 7724 | < | main () | 
| 7725 | < | { | 
| 7726 | < | int i; | 
| 7727 | < | for (i = 0; i < 256; i++) | 
| 7728 | < | if (XOR (islower (i), ISLOWER (i)) | 
| 7729 | < | || toupper (i) != TOUPPER (i)) | 
| 7730 | < | return 2; | 
| 7731 | < | return 0; | 
| 7732 | < | } | 
| 7733 | < | _ACEOF | 
| 7734 | < | rm -rf conftest$ac_exeext | 
| 7735 | < | if { (ac_try="$ac_link" | 
| 7736 | < | case "(($ac_try" in | 
| 7737 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7738 | < | *) ac_try_echo=$ac_try;; | 
| 7739 | < | esac | 
| 7740 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 7741 | < | (eval "$ac_link") 2>&5 | 
| 7742 | < | ac_status=$? | 
| 7743 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7744 | < | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 7745 | < | { (case "(($ac_try" in | 
| 7746 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 7747 | < | *) ac_try_echo=$ac_try;; | 
| 7748 | < | esac | 
| 7749 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 7750 | < | (eval "$ac_try") 2>&5 | 
| 7751 | < | ac_status=$? | 
| 7752 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 7753 | < | (exit $ac_status); }; }; then | 
| 7754 | < | : | 
| 7755 | < | else | 
| 7756 | < | echo "$as_me: program exited with status $ac_status" >&5 | 
| 7757 | < | echo "$as_me: failed program was:" >&5 | 
| 7758 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 7759 | < |  | 
| 7760 | < | ( exit $ac_status ) | 
| 7761 | < | ac_cv_header_stdc=no | 
| 7762 | < | fi | 
| 7763 | < | rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 7764 | < | fi | 
| 7765 | < |  | 
| 7766 | < |  | 
| 7767 | < | fi | 
| 7768 | < | fi | 
| 7769 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
| 7770 | < | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | 
| 7771 | < | if test $ac_cv_header_stdc = yes; then | 
| 7772 | < |  | 
| 7773 | < | cat >>confdefs.h <<\_ACEOF | 
| 7774 | < | #define STDC_HEADERS 1 | 
| 7775 | < | _ACEOF | 
| 7776 | < |  | 
| 8735 | > | if test "$qhull_dir" != "not_set" ; then | 
| 8736 | > | if test -d "$qhull_dir" | 
| 8737 | > | then | 
| 8738 | > | QHULL_HOME="$qhull_dir" | 
| 8739 | > | else | 
| 8740 | > | { echo "$as_me:$LINENO: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5 | 
| 8741 | > | echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;} | 
| 8742 | > | QHULL_HOME=/usr/local | 
| 8743 | > | if test ! -f "${QHULL_HOME}/include/qhull/qhull.h" | 
| 8744 | > | then | 
| 8745 | > | QHULL_HOME=/usr | 
| 8746 | > | fi | 
| 8747 | > | fi | 
| 8748 |  | fi | 
| 8749 | + | # | 
| 8750 | + | # Locate qhull, if wanted | 
| 8751 | + | # | 
| 8752 | + | if test -n "${QHULL_HOME}" | 
| 8753 | + | then | 
| 8754 |  |  | 
| 8755 | + | ac_ext=c | 
| 8756 | + | ac_cpp='$CPP $CPPFLAGS' | 
| 8757 | + | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 8758 | + | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 8759 | + | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 8760 |  |  | 
| 8761 | < |  | 
| 8762 | < |  | 
| 8763 | < |  | 
| 8764 | < |  | 
| 8765 | < |  | 
| 8766 | < |  | 
| 8767 | < |  | 
| 8768 | < |  | 
| 8769 | < |  | 
| 8770 | < |  | 
| 7790 | < |  | 
| 7791 | < |  | 
| 7792 | < |  | 
| 7793 | < |  | 
| 7794 | < |  | 
| 7795 | < |  | 
| 7796 | < |  | 
| 7797 | < |  | 
| 7798 | < |  | 
| 7799 | < |  | 
| 7800 | < |  | 
| 7801 | < |  | 
| 7802 | < |  | 
| 7803 | < |  | 
| 7804 | < | 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 | 
| 7805 | < | do | 
| 7806 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 7807 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 7808 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 7809 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 7810 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 8761 | > | QHULL_OLD_LDFLAGS=$LDFLAGS | 
| 8762 | > | QHULL_OLD_CFLAGS=$CFLAGS | 
| 8763 | > | QHULL_OLD_CPPFLAGS=$CPPFLAGS | 
| 8764 | > | LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib" | 
| 8765 | > | CFLAGS="$CFLAGS -I${QHULL_HOME}/include" | 
| 8766 | > | CPPFLAGS="$CPPFLAGS -I${QHULL_HOME}/include" | 
| 8767 | > | if test "${ac_cv_header_qhull_qhull_h+set}" = set; then | 
| 8768 | > | { echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 | 
| 8769 | > | echo $ECHO_N "checking for qhull/qhull.h... $ECHO_C" >&6; } | 
| 8770 | > | if test "${ac_cv_header_qhull_qhull_h+set}" = set; then | 
| 8771 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8772 |  | fi | 
| 8773 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 8774 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 7815 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 8773 | > | { echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 | 
| 8774 | > | echo "${ECHO_T}$ac_cv_header_qhull_qhull_h" >&6; } | 
| 8775 |  | else | 
| 8776 |  | # Is the header compilable? | 
| 8777 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 8778 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 8777 | > | { echo "$as_me:$LINENO: checking qhull/qhull.h usability" >&5 | 
| 8778 | > | echo $ECHO_N "checking qhull/qhull.h usability... $ECHO_C" >&6; } | 
| 8779 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 8780 |  | /* confdefs.h.  */ | 
| 8781 |  | _ACEOF | 
| 8783 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 8784 |  | /* end confdefs.h.  */ | 
| 8785 |  | $ac_includes_default | 
| 8786 | < | #include <$ac_header> | 
| 8786 | > | #include <qhull/qhull.h> | 
| 8787 |  | _ACEOF | 
| 8788 | < | rm -rf conftest.$ac_objext | 
| 8788 | > | rm -f conftest.$ac_objext | 
| 8789 |  | if { (ac_try="$ac_compile" | 
| 8790 |  | case "(($ac_try" in | 
| 8791 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8810 |  | ac_header_compiler=no | 
| 8811 |  | fi | 
| 8812 |  |  | 
| 8813 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8813 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8814 |  | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 8815 |  | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 8816 |  |  | 
| 8817 |  | # Is the header present? | 
| 8818 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 8819 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 8818 | > | { echo "$as_me:$LINENO: checking qhull/qhull.h presence" >&5 | 
| 8819 | > | echo $ECHO_N "checking qhull/qhull.h presence... $ECHO_C" >&6; } | 
| 8820 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 8821 |  | /* confdefs.h.  */ | 
| 8822 |  | _ACEOF | 
| 8823 |  | cat confdefs.h >>conftest.$ac_ext | 
| 8824 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 8825 |  | /* end confdefs.h.  */ | 
| 8826 | < | #include <$ac_header> | 
| 8826 | > | #include <qhull/qhull.h> | 
| 8827 |  | _ACEOF | 
| 8828 |  | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 8829 |  | case "(($ac_try" in | 
| 8849 |  | ac_header_preproc=no | 
| 8850 |  | fi | 
| 8851 |  |  | 
| 8852 | < | rm -rf conftest.err conftest.$ac_ext | 
| 8852 | > | rm -f conftest.err conftest.$ac_ext | 
| 8853 |  | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 8854 |  | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 8855 |  |  | 
| 8856 |  | # So?  What about this header? | 
| 8857 |  | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 8858 |  | yes:no: ) | 
| 8859 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 8860 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 8861 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 8862 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 8859 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 8860 | > | echo "$as_me: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 8861 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&5 | 
| 8862 | > | echo "$as_me: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&2;} | 
| 8863 |  | ac_header_preproc=yes | 
| 8864 |  | ;; | 
| 8865 |  | no:yes:* ) | 
| 8866 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 8867 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 8868 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 8869 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 8870 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 8871 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 8872 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 8873 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 8874 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 8875 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 8876 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 8877 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 8866 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h: present but cannot be compiled" >&5 | 
| 8867 | > | echo "$as_me: WARNING: qhull/qhull.h: present but cannot be compiled" >&2;} | 
| 8868 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h:     check for missing prerequisite headers?" >&5 | 
| 8869 | > | echo "$as_me: WARNING: qhull/qhull.h:     check for missing prerequisite headers?" >&2;} | 
| 8870 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h: see the Autoconf documentation" >&5 | 
| 8871 | > | echo "$as_me: WARNING: qhull/qhull.h: see the Autoconf documentation" >&2;} | 
| 8872 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 8873 | > | echo "$as_me: WARNING: qhull/qhull.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 8874 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&5 | 
| 8875 | > | echo "$as_me: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&2;} | 
| 8876 | > | { echo "$as_me:$LINENO: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&5 | 
| 8877 | > | echo "$as_me: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&2;} | 
| 8878 |  | ( cat <<\_ASBOX | 
| 8879 |  | ## ------------------------------ ## | 
| 8880 |  | ## Report this to gezelter@nd.edu ## | 
| 8883 |  | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 8884 |  | ;; | 
| 8885 |  | esac | 
| 8886 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 8887 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 8888 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 8886 | > | { echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5 | 
| 8887 | > | echo $ECHO_N "checking for qhull/qhull.h... $ECHO_C" >&6; } | 
| 8888 | > | if test "${ac_cv_header_qhull_qhull_h+set}" = set; then | 
| 8889 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8890 |  | else | 
| 8891 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 8891 | > | ac_cv_header_qhull_qhull_h=$ac_header_preproc | 
| 8892 |  | fi | 
| 8893 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 8894 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 7936 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 8893 | > | { echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5 | 
| 8894 | > | echo "${ECHO_T}$ac_cv_header_qhull_qhull_h" >&6; } | 
| 8895 |  |  | 
| 8896 |  | fi | 
| 8897 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 8898 | < | cat >>confdefs.h <<_ACEOF | 
| 8899 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 8900 | < | _ACEOF | 
| 7943 | < |  | 
| 8897 | > | if test $ac_cv_header_qhull_qhull_h = yes; then | 
| 8898 | > | qhull_cv_qhull_h=yes | 
| 8899 | > | else | 
| 8900 | > | qhull_cv_qhull_h=no | 
| 8901 |  | fi | 
| 8902 |  |  | 
| 7946 | – | done | 
| 8903 |  |  | 
| 8904 | < |  | 
| 8905 | < | # Checks for typedefs, structures, and compiler characteristics. | 
| 8906 | < | { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
| 7951 | < | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } | 
| 7952 | < | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
| 8904 | > | { echo "$as_me:$LINENO: checking for qh_qhull in -lqhull" >&5 | 
| 8905 | > | echo $ECHO_N "checking for qh_qhull in -lqhull... $ECHO_C" >&6; } | 
| 8906 | > | if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then | 
| 8907 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8908 |  | else | 
| 8909 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 8909 | > | ac_check_lib_save_LIBS=$LIBS | 
| 8910 | > | LIBS="-lqhull  $LIBS" | 
| 8911 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 8912 |  | /* confdefs.h.  */ | 
| 8913 |  | _ACEOF | 
| 8914 |  | cat confdefs.h >>conftest.$ac_ext | 
| 8915 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 8916 |  | /* end confdefs.h.  */ | 
| 8917 |  |  | 
| 8918 | < | #include <stdbool.h> | 
| 8919 | < | #ifndef bool | 
| 8920 | < | "error: bool is not defined" | 
| 8918 | > | /* Override any GCC internal prototype to avoid an error. | 
| 8919 | > | Use char because int might match the return type of a GCC | 
| 8920 | > | builtin and then its argument prototype would still apply.  */ | 
| 8921 | > | #ifdef __cplusplus | 
| 8922 | > | extern "C" | 
| 8923 |  | #endif | 
| 8924 | < | #ifndef false | 
| 7967 | < | "error: false is not defined" | 
| 7968 | < | #endif | 
| 7969 | < | #if false | 
| 7970 | < | "error: false is not 0" | 
| 7971 | < | #endif | 
| 7972 | < | #ifndef true | 
| 7973 | < | "error: true is not defined" | 
| 7974 | < | #endif | 
| 7975 | < | #if true != 1 | 
| 7976 | < | "error: true is not 1" | 
| 7977 | < | #endif | 
| 7978 | < | #ifndef __bool_true_false_are_defined | 
| 7979 | < | "error: __bool_true_false_are_defined is not defined" | 
| 7980 | < | #endif | 
| 7981 | < |  | 
| 7982 | < | struct s { _Bool s: 1; _Bool t; } s; | 
| 7983 | < |  | 
| 7984 | < | char a[true == 1 ? 1 : -1]; | 
| 7985 | < | char b[false == 0 ? 1 : -1]; | 
| 7986 | < | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
| 7987 | < | char d[(bool) 0.5 == true ? 1 : -1]; | 
| 7988 | < | bool e = &s; | 
| 7989 | < | char f[(_Bool) 0.0 == false ? 1 : -1]; | 
| 7990 | < | char g[true]; | 
| 7991 | < | char h[sizeof (_Bool)]; | 
| 7992 | < | char i[sizeof s.t]; | 
| 7993 | < | enum { j = false, k = true, l = false * true, m = true * 256 }; | 
| 7994 | < | _Bool n[m]; | 
| 7995 | < | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; | 
| 7996 | < | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; | 
| 7997 | < | #       if defined __xlc__ || defined __GNUC__ | 
| 7998 | < | /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 | 
| 7999 | < | reported by James Lemley on 2005-10-05; see | 
| 8000 | < | http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html | 
| 8001 | < | This test is not quite right, since xlc is allowed to | 
| 8002 | < | reject this program, as the initializer for xlcbug is | 
| 8003 | < | not one of the forms that C requires support for. | 
| 8004 | < | However, doing the test right would require a runtime | 
| 8005 | < | test, and that would make cross-compilation harder. | 
| 8006 | < | Let us hope that IBM fixes the xlc bug, and also adds | 
| 8007 | < | support for this kind of constant expression.  In the | 
| 8008 | < | meantime, this test will reject xlc, which is OK, since | 
| 8009 | < | our stdbool.h substitute should suffice.  We also test | 
| 8010 | < | this with GCC, where it should work, to detect more | 
| 8011 | < | quickly whether someone messes up the test in the | 
| 8012 | < | future.  */ | 
| 8013 | < | char digs[] = "0123456789"; | 
| 8014 | < | int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); | 
| 8015 | < | #       endif | 
| 8016 | < | /* Catch a bug in an HP-UX C compiler.  See | 
| 8017 | < | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | 
| 8018 | < | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | 
| 8019 | < | */ | 
| 8020 | < | _Bool q = true; | 
| 8021 | < | _Bool *pq = &q; | 
| 8022 | < |  | 
| 8924 | > | char qh_qhull (); | 
| 8925 |  | #ifdef FC_DUMMY_MAIN | 
| 8926 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8927 |  | #  ifdef __cplusplus | 
| 8933 |  | int | 
| 8934 |  | main () | 
| 8935 |  | { | 
| 8936 | < |  | 
| 8035 | < | *pq |= q; | 
| 8036 | < | *pq |= ! q; | 
| 8037 | < | /* Refer to every declared value, to avoid compiler optimizations.  */ | 
| 8038 | < | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | 
| 8039 | < | + !m + !n + !o + !p + !q + !pq); | 
| 8040 | < |  | 
| 8936 | > | return qh_qhull (); | 
| 8937 |  | ; | 
| 8938 |  | return 0; | 
| 8939 |  | } | 
| 8940 |  | _ACEOF | 
| 8941 | < | rm -rf conftest.$ac_objext | 
| 8942 | < | if { (ac_try="$ac_compile" | 
| 8941 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 8942 | > | if { (ac_try="$ac_link" | 
| 8943 |  | case "(($ac_try" in | 
| 8944 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 8945 |  | *) ac_try_echo=$ac_try;; | 
| 8946 |  | esac | 
| 8947 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 8948 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 8948 | > | (eval "$ac_link") 2>conftest.er1 | 
| 8949 |  | ac_status=$? | 
| 8950 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 8951 |  | rm -f conftest.er1 | 
| 8954 |  | (exit $ac_status); } && { | 
| 8955 |  | test -z "$ac_c_werror_flag" || | 
| 8956 |  | test ! -s conftest.err | 
| 8957 | < | } && test -s conftest.$ac_objext; then | 
| 8958 | < | ac_cv_header_stdbool_h=yes | 
| 8957 | > | } && test -s conftest$ac_exeext && | 
| 8958 | > | $as_test_x conftest$ac_exeext; then | 
| 8959 | > | ac_cv_lib_qhull_qh_qhull=yes | 
| 8960 |  | else | 
| 8961 |  | echo "$as_me: failed program was:" >&5 | 
| 8962 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8963 |  |  | 
| 8964 | < | ac_cv_header_stdbool_h=no | 
| 8964 | > | ac_cv_lib_qhull_qh_qhull=no | 
| 8965 |  | fi | 
| 8966 |  |  | 
| 8967 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8967 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 8968 | > | conftest$ac_exeext conftest.$ac_ext | 
| 8969 | > | LIBS=$ac_check_lib_save_LIBS | 
| 8970 |  | fi | 
| 8971 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
| 8972 | < | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } | 
| 8973 | < | { echo "$as_me:$LINENO: checking for _Bool" >&5 | 
| 8974 | < | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } | 
| 8975 | < | if test "${ac_cv_type__Bool+set}" = set; then | 
| 8971 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_qhull_qh_qhull" >&5 | 
| 8972 | > | echo "${ECHO_T}$ac_cv_lib_qhull_qh_qhull" >&6; } | 
| 8973 | > | if test $ac_cv_lib_qhull_qh_qhull = yes; then | 
| 8974 | > | qhull_cv_libqhull=yes | 
| 8975 | > | else | 
| 8976 | > | qhull_cv_libqhull=no | 
| 8977 | > | fi | 
| 8978 | > |  | 
| 8979 | > | LDFLAGS="$QHULL_OLD_LDFLAGS" | 
| 8980 | > | CFLAGS="$QHULL_OLD_CFLAGS" | 
| 8981 | > | CPPFLAGS="$QHULL_OLD_CPPFLAGS" | 
| 8982 | > | ac_ext=c | 
| 8983 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 8984 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 8985 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 8986 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 8987 | > |  | 
| 8988 | > |  | 
| 8989 | > | if test "$qhull_cv_libqhull" = "yes" -a "$qhull_cv_qhull_h" = "yes"; then | 
| 8990 | > |  | 
| 8991 | > | cat >>confdefs.h <<\_ACEOF | 
| 8992 | > | #define HAVE_QHULL_H 1 | 
| 8993 | > | _ACEOF | 
| 8994 | > |  | 
| 8995 | > |  | 
| 8996 | > | cat >>confdefs.h <<\_ACEOF | 
| 8997 | > | #define HAVE_QHULL 1 | 
| 8998 | > | _ACEOF | 
| 8999 | > |  | 
| 9000 | > | USE_QHULL=yes | 
| 9001 | > | QHULL_INC_DIR="${QHULL_HOME}/include" | 
| 9002 | > | QHULL_LIB_DIR="${QHULL_HOME}/lib" | 
| 9003 | > | QHULL="-lqhull" | 
| 9004 | > | else | 
| 9005 | > | { echo "$as_me:$LINENO: checking qhull in ${QHULL_HOME}" >&5 | 
| 9006 | > | echo $ECHO_N "checking qhull in ${QHULL_HOME}... $ECHO_C" >&6; } | 
| 9007 | > | QHULL_INC_DIR= | 
| 9008 | > | QHULL_LIB_DIR= | 
| 9009 | > | QHULL= | 
| 9010 | > | USE_QHULL=no | 
| 9011 | > | { echo "$as_me:$LINENO: result: failed" >&5 | 
| 9012 | > | echo "${ECHO_T}failed" >&6; } | 
| 9013 | > | echo "" | 
| 9014 | > | echo "*********************************************************" | 
| 9015 | > | echo "* WARNING: Could not find a working qhull installation  *" | 
| 9016 | > | echo "* If you need OOPSE to be able to deal with convex      *" | 
| 9017 | > | echo "* hulls be sure to specify a valid qhull installation   *" | 
| 9018 | > | echo "* with --with-qhull=DIR                                 *" | 
| 9019 | > | echo "*                                                       *" | 
| 9020 | > | echo "* OOPSE will still work without qhull installed.        *" | 
| 9021 | > | echo "*********************************************************" | 
| 9022 | > | echo "" | 
| 9023 | > | fi | 
| 9024 | > |  | 
| 9025 | > |  | 
| 9026 | > |  | 
| 9027 | > |  | 
| 9028 | > | fi | 
| 9029 | > | fi | 
| 9030 | > |  | 
| 9031 | > |  | 
| 9032 | > | ac_ext=cpp | 
| 9033 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 9034 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9035 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9036 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 9037 | > | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
| 9038 | > | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } | 
| 9039 | > | if test -z "$CXXCPP"; then | 
| 9040 | > | if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| 9041 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9042 |  | else | 
| 9043 | + | # Double quotes because CXXCPP needs to be expanded | 
| 9044 | + | for CXXCPP in "$CXX -E" "/lib/cpp" | 
| 9045 | + | do | 
| 9046 | + | ac_preproc_ok=false | 
| 9047 | + | for ac_cxx_preproc_warn_flag in '' yes | 
| 9048 | + | do | 
| 9049 | + | # Use a header file that comes with gcc, so configuring glibc | 
| 9050 | + | # with a fresh cross-compiler works. | 
| 9051 | + | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 9052 | + | # <limits.h> exists even on freestanding compilers. | 
| 9053 | + | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 9054 | + | # not just through cpp. "Syntax error" is here to catch this case. | 
| 9055 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 9056 |  | /* confdefs.h.  */ | 
| 9057 |  | _ACEOF | 
| 9058 |  | cat confdefs.h >>conftest.$ac_ext | 
| 9059 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 9060 |  | /* end confdefs.h.  */ | 
| 9061 | < | $ac_includes_default | 
| 9062 | < | typedef _Bool ac__type_new_; | 
| 9063 | < | #ifdef FC_DUMMY_MAIN | 
| 9064 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8089 | < | #  ifdef __cplusplus | 
| 8090 | < | extern "C" | 
| 8091 | < | #  endif | 
| 8092 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 9061 | > | #ifdef __STDC__ | 
| 9062 | > | # include <limits.h> | 
| 9063 | > | #else | 
| 9064 | > | # include <assert.h> | 
| 9065 |  | #endif | 
| 9066 | < | #endif | 
| 8095 | < | int | 
| 8096 | < | main () | 
| 8097 | < | { | 
| 8098 | < | if ((ac__type_new_ *) 0) | 
| 8099 | < | return 0; | 
| 8100 | < | if (sizeof (ac__type_new_)) | 
| 8101 | < | return 0; | 
| 8102 | < | ; | 
| 8103 | < | return 0; | 
| 8104 | < | } | 
| 9066 | > | Syntax error | 
| 9067 |  | _ACEOF | 
| 9068 | < | rm -rf conftest.$ac_objext | 
| 8107 | < | if { (ac_try="$ac_compile" | 
| 9068 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9069 |  | case "(($ac_try" in | 
| 9070 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9071 |  | *) ac_try_echo=$ac_try;; | 
| 9072 |  | esac | 
| 9073 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9074 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 9074 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9075 |  | ac_status=$? | 
| 9076 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9077 |  | rm -f conftest.er1 | 
| 9078 |  | cat conftest.err >&5 | 
| 9079 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9080 | < | (exit $ac_status); } && { | 
| 9081 | < | test -z "$ac_c_werror_flag" || | 
| 9080 | > | (exit $ac_status); } >/dev/null && { | 
| 9081 | > | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 9082 |  | test ! -s conftest.err | 
| 9083 | < | } && test -s conftest.$ac_objext; then | 
| 9084 | < | ac_cv_type__Bool=yes | 
| 9083 | > | }; then | 
| 9084 | > | : | 
| 9085 |  | else | 
| 9086 |  | echo "$as_me: failed program was:" >&5 | 
| 9087 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9088 |  |  | 
| 9089 | < | ac_cv_type__Bool=no | 
| 9089 | > | # Broken: fails on valid input. | 
| 9090 | > | continue | 
| 9091 |  | fi | 
| 9092 |  |  | 
| 9093 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8132 | < | fi | 
| 8133 | < | { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
| 8134 | < | echo "${ECHO_T}$ac_cv_type__Bool" >&6; } | 
| 8135 | < | if test $ac_cv_type__Bool = yes; then | 
| 9093 | > | rm -f conftest.err conftest.$ac_ext | 
| 9094 |  |  | 
| 9095 | < | cat >>confdefs.h <<_ACEOF | 
| 9096 | < | #define HAVE__BOOL 1 | 
| 8139 | < | _ACEOF | 
| 8140 | < |  | 
| 8141 | < |  | 
| 8142 | < | fi | 
| 8143 | < |  | 
| 8144 | < | if test $ac_cv_header_stdbool_h = yes; then | 
| 8145 | < |  | 
| 8146 | < | cat >>confdefs.h <<\_ACEOF | 
| 8147 | < | #define HAVE_STDBOOL_H 1 | 
| 8148 | < | _ACEOF | 
| 8149 | < |  | 
| 8150 | < | fi | 
| 8151 | < |  | 
| 8152 | < | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
| 8153 | < | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } | 
| 8154 | < | if test "${ac_cv_c_const+set}" = set; then | 
| 8155 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8156 | < | else | 
| 9095 | > | # OK, works on sane cases.  Now check whether nonexistent headers | 
| 9096 | > | # can be detected and how. | 
| 9097 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 9098 |  | /* confdefs.h.  */ | 
| 9099 |  | _ACEOF | 
| 9100 |  | cat confdefs.h >>conftest.$ac_ext | 
| 9101 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 9102 |  | /* end confdefs.h.  */ | 
| 9103 | < |  | 
| 8164 | < | #ifdef FC_DUMMY_MAIN | 
| 8165 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8166 | < | #  ifdef __cplusplus | 
| 8167 | < | extern "C" | 
| 8168 | < | #  endif | 
| 8169 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 8170 | < | #endif | 
| 8171 | < | #endif | 
| 8172 | < | int | 
| 8173 | < | main () | 
| 8174 | < | { | 
| 8175 | < | /* FIXME: Include the comments suggested by Paul. */ | 
| 8176 | < | #ifndef __cplusplus | 
| 8177 | < | /* Ultrix mips cc rejects this.  */ | 
| 8178 | < | typedef int charset[2]; | 
| 8179 | < | const charset cs; | 
| 8180 | < | /* SunOS 4.1.1 cc rejects this.  */ | 
| 8181 | < | char const *const *pcpcc; | 
| 8182 | < | char **ppc; | 
| 8183 | < | /* NEC SVR4.0.2 mips cc rejects this.  */ | 
| 8184 | < | struct point {int x, y;}; | 
| 8185 | < | static struct point const zero = {0,0}; | 
| 8186 | < | /* AIX XL C 1.02.0.0 rejects this. | 
| 8187 | < | It does not let you subtract one const X* pointer from another in | 
| 8188 | < | an arm of an if-expression whose if-part is not a constant | 
| 8189 | < | expression */ | 
| 8190 | < | const char *g = "string"; | 
| 8191 | < | pcpcc = &g + (g ? g-g : 0); | 
| 8192 | < | /* HPUX 7.0 cc rejects these. */ | 
| 8193 | < | ++pcpcc; | 
| 8194 | < | ppc = (char**) pcpcc; | 
| 8195 | < | pcpcc = (char const *const *) ppc; | 
| 8196 | < | { /* SCO 3.2v4 cc rejects this.  */ | 
| 8197 | < | char *t; | 
| 8198 | < | char const *s = 0 ? (char *) 0 : (char const *) 0; | 
| 8199 | < |  | 
| 8200 | < | *t++ = 0; | 
| 8201 | < | if (s) return 0; | 
| 8202 | < | } | 
| 8203 | < | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
| 8204 | < | int x[] = {25, 17}; | 
| 8205 | < | const int *foo = &x[0]; | 
| 8206 | < | ++foo; | 
| 8207 | < | } | 
| 8208 | < | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
| 8209 | < | typedef const int *iptr; | 
| 8210 | < | iptr p = 0; | 
| 8211 | < | ++p; | 
| 8212 | < | } | 
| 8213 | < | { /* AIX XL C 1.02.0.0 rejects this saying | 
| 8214 | < | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
| 8215 | < | struct s { int j; const int *ap[3]; }; | 
| 8216 | < | struct s *b; b->j = 5; | 
| 8217 | < | } | 
| 8218 | < | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
| 8219 | < | const int foo = 10; | 
| 8220 | < | if (!foo) return 0; | 
| 8221 | < | } | 
| 8222 | < | return !cs[0] && !zero.x; | 
| 8223 | < | #endif | 
| 8224 | < |  | 
| 8225 | < | ; | 
| 8226 | < | return 0; | 
| 8227 | < | } | 
| 9103 | > | #include <ac_nonexistent.h> | 
| 9104 |  | _ACEOF | 
| 9105 | < | rm -rf conftest.$ac_objext | 
| 8230 | < | if { (ac_try="$ac_compile" | 
| 9105 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9106 |  | case "(($ac_try" in | 
| 9107 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9108 |  | *) ac_try_echo=$ac_try;; | 
| 9109 |  | esac | 
| 9110 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9111 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 9111 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9112 |  | ac_status=$? | 
| 9113 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9114 |  | rm -f conftest.er1 | 
| 9115 |  | cat conftest.err >&5 | 
| 9116 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9117 | < | (exit $ac_status); } && { | 
| 9118 | < | test -z "$ac_c_werror_flag" || | 
| 9117 | > | (exit $ac_status); } >/dev/null && { | 
| 9118 | > | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 9119 |  | test ! -s conftest.err | 
| 9120 | < | } && test -s conftest.$ac_objext; then | 
| 9121 | < | ac_cv_c_const=yes | 
| 9120 | > | }; then | 
| 9121 | > | # Broken: success on invalid input. | 
| 9122 | > | continue | 
| 9123 |  | else | 
| 9124 |  | echo "$as_me: failed program was:" >&5 | 
| 9125 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9126 |  |  | 
| 9127 | < | ac_cv_c_const=no | 
| 9127 | > | # Passes both tests. | 
| 9128 | > | ac_preproc_ok=: | 
| 9129 | > | break | 
| 9130 |  | fi | 
| 9131 |  |  | 
| 9132 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9132 | > | rm -f conftest.err conftest.$ac_ext | 
| 9133 | > |  | 
| 9134 | > | done | 
| 9135 | > | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 9136 | > | rm -f conftest.err conftest.$ac_ext | 
| 9137 | > | if $ac_preproc_ok; then | 
| 9138 | > | break | 
| 9139 |  | fi | 
| 8256 | – | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
| 8257 | – | echo "${ECHO_T}$ac_cv_c_const" >&6; } | 
| 8258 | – | if test $ac_cv_c_const = no; then | 
| 9140 |  |  | 
| 9141 | < | cat >>confdefs.h <<\_ACEOF | 
| 9142 | < | #define const | 
| 8262 | < | _ACEOF | 
| 9141 | > | done | 
| 9142 | > | ac_cv_prog_CXXCPP=$CXXCPP | 
| 9143 |  |  | 
| 9144 |  | fi | 
| 9145 | < |  | 
| 8266 | < | { echo "$as_me:$LINENO: checking for inline" >&5 | 
| 8267 | < | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } | 
| 8268 | < | if test "${ac_cv_c_inline+set}" = set; then | 
| 8269 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9145 | > | CXXCPP=$ac_cv_prog_CXXCPP | 
| 9146 |  | else | 
| 9147 | < | ac_cv_c_inline=no | 
| 9148 | < | for ac_kw in inline __inline__ __inline; do | 
| 9147 | > | ac_cv_prog_CXXCPP=$CXXCPP | 
| 9148 | > | fi | 
| 9149 | > | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
| 9150 | > | echo "${ECHO_T}$CXXCPP" >&6; } | 
| 9151 | > | ac_preproc_ok=false | 
| 9152 | > | for ac_cxx_preproc_warn_flag in '' yes | 
| 9153 | > | do | 
| 9154 | > | # Use a header file that comes with gcc, so configuring glibc | 
| 9155 | > | # with a fresh cross-compiler works. | 
| 9156 | > | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 9157 | > | # <limits.h> exists even on freestanding compilers. | 
| 9158 | > | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 9159 | > | # not just through cpp. "Syntax error" is here to catch this case. | 
| 9160 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 9161 |  | /* confdefs.h.  */ | 
| 9162 |  | _ACEOF | 
| 9163 |  | cat confdefs.h >>conftest.$ac_ext | 
| 9164 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 9165 |  | /* end confdefs.h.  */ | 
| 9166 | < | #ifndef __cplusplus | 
| 9167 | < | typedef int foo_t; | 
| 9168 | < | static $ac_kw foo_t static_foo () {return 0; } | 
| 9169 | < | $ac_kw foo_t foo () {return 0; } | 
| 9166 | > | #ifdef __STDC__ | 
| 9167 | > | # include <limits.h> | 
| 9168 | > | #else | 
| 9169 | > | # include <assert.h> | 
| 9170 |  | #endif | 
| 9171 | < |  | 
| 9171 | > | Syntax error | 
| 9172 |  | _ACEOF | 
| 9173 | < | rm -rf conftest.$ac_objext | 
| 8287 | < | if { (ac_try="$ac_compile" | 
| 9173 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9174 |  | case "(($ac_try" in | 
| 9175 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9176 |  | *) ac_try_echo=$ac_try;; | 
| 9177 |  | esac | 
| 9178 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9179 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 9179 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9180 |  | ac_status=$? | 
| 9181 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9182 |  | rm -f conftest.er1 | 
| 9183 |  | cat conftest.err >&5 | 
| 9184 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9185 | < | (exit $ac_status); } && { | 
| 9186 | < | test -z "$ac_c_werror_flag" || | 
| 9185 | > | (exit $ac_status); } >/dev/null && { | 
| 9186 | > | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 9187 |  | test ! -s conftest.err | 
| 9188 | < | } && test -s conftest.$ac_objext; then | 
| 9189 | < | ac_cv_c_inline=$ac_kw | 
| 9188 | > | }; then | 
| 9189 | > | : | 
| 9190 |  | else | 
| 9191 |  | echo "$as_me: failed program was:" >&5 | 
| 9192 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9193 |  |  | 
| 9194 | < |  | 
| 9194 | > | # Broken: fails on valid input. | 
| 9195 | > | continue | 
| 9196 |  | fi | 
| 9197 |  |  | 
| 9198 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 8312 | < | test "$ac_cv_c_inline" != no && break | 
| 8313 | < | done | 
| 9198 | > | rm -f conftest.err conftest.$ac_ext | 
| 9199 |  |  | 
| 9200 | < | fi | 
| 9201 | < | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
| 9202 | < | echo "${ECHO_T}$ac_cv_c_inline" >&6; } | 
| 8318 | < |  | 
| 8319 | < |  | 
| 8320 | < | case $ac_cv_c_inline in | 
| 8321 | < | inline | yes) ;; | 
| 8322 | < | *) | 
| 8323 | < | case $ac_cv_c_inline in | 
| 8324 | < | no) ac_val=;; | 
| 8325 | < | *) ac_val=$ac_cv_c_inline;; | 
| 8326 | < | esac | 
| 8327 | < | cat >>confdefs.h <<_ACEOF | 
| 8328 | < | #ifndef __cplusplus | 
| 8329 | < | #define inline $ac_val | 
| 8330 | < | #endif | 
| 8331 | < | _ACEOF | 
| 8332 | < | ;; | 
| 8333 | < | esac | 
| 8334 | < |  | 
| 8335 | < | { echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 | 
| 8336 | < | echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; } | 
| 8337 | < | if test "${ac_cv_c_restrict+set}" = set; then | 
| 8338 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 8339 | < | else | 
| 8340 | < | ac_cv_c_restrict=no | 
| 8341 | < | # Try the official restrict keyword, then gcc's __restrict, and | 
| 8342 | < | # the less common variants. | 
| 8343 | < | for ac_kw in restrict __restrict __restrict__ _Restrict; do | 
| 8344 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 9200 | > | # OK, works on sane cases.  Now check whether nonexistent headers | 
| 9201 | > | # can be detected and how. | 
| 9202 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9203 |  | /* confdefs.h.  */ | 
| 9204 |  | _ACEOF | 
| 9205 |  | cat confdefs.h >>conftest.$ac_ext | 
| 9206 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 9207 |  | /* end confdefs.h.  */ | 
| 9208 | < | typedef int * int_ptr; | 
| 8351 | < | int foo (int_ptr $ac_kw ip) { | 
| 8352 | < | return ip[0]; | 
| 8353 | < | } | 
| 8354 | < | #ifdef FC_DUMMY_MAIN | 
| 8355 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8356 | < | #  ifdef __cplusplus | 
| 8357 | < | extern "C" | 
| 8358 | < | #  endif | 
| 8359 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 8360 | < | #endif | 
| 8361 | < | #endif | 
| 8362 | < | int | 
| 8363 | < | main () | 
| 8364 | < | { | 
| 8365 | < | int s[1]; | 
| 8366 | < | int * $ac_kw t = s; | 
| 8367 | < | t[0] = 0; | 
| 8368 | < | return foo(t) | 
| 8369 | < | ; | 
| 8370 | < | return 0; | 
| 8371 | < | } | 
| 9208 | > | #include <ac_nonexistent.h> | 
| 9209 |  | _ACEOF | 
| 9210 | < | rm -rf conftest.$ac_objext | 
| 8374 | < | if { (ac_try="$ac_compile" | 
| 9210 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9211 |  | case "(($ac_try" in | 
| 9212 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9213 |  | *) ac_try_echo=$ac_try;; | 
| 9214 |  | esac | 
| 9215 |  | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9216 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 9216 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9217 |  | ac_status=$? | 
| 9218 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9219 |  | rm -f conftest.er1 | 
| 9220 |  | cat conftest.err >&5 | 
| 9221 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9222 | < | (exit $ac_status); } && { | 
| 9223 | < | test -z "$ac_c_werror_flag" || | 
| 9222 | > | (exit $ac_status); } >/dev/null && { | 
| 9223 | > | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 9224 |  | test ! -s conftest.err | 
| 9225 | < | } && test -s conftest.$ac_objext; then | 
| 9226 | < | ac_cv_c_restrict=$ac_kw | 
| 9225 | > | }; then | 
| 9226 | > | # Broken: success on invalid input. | 
| 9227 | > | continue | 
| 9228 |  | else | 
| 9229 |  | echo "$as_me: failed program was:" >&5 | 
| 9230 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9231 |  |  | 
| 9232 | + | # Passes both tests. | 
| 9233 | + | ac_preproc_ok=: | 
| 9234 | + | break | 
| 9235 | + | fi | 
| 9236 |  |  | 
| 9237 | + | rm -f conftest.err conftest.$ac_ext | 
| 9238 | + |  | 
| 9239 | + | done | 
| 9240 | + | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 9241 | + | rm -f conftest.err conftest.$ac_ext | 
| 9242 | + | if $ac_preproc_ok; then | 
| 9243 | + | : | 
| 9244 | + | else | 
| 9245 | + | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 9246 | + | See \`config.log' for more details." >&5 | 
| 9247 | + | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 9248 | + | See \`config.log' for more details." >&2;} | 
| 9249 | + | { (exit 1); exit 1; }; } | 
| 9250 |  | fi | 
| 9251 |  |  | 
| 9252 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9253 | < | test "$ac_cv_c_restrict" != no && break | 
| 9254 | < | done | 
| 9252 | > | ac_ext=cpp | 
| 9253 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 9254 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9255 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9256 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 9257 |  |  | 
| 9258 | + |  | 
| 9259 | + | # | 
| 9260 | + | # Handle user hints | 
| 9261 | + | # | 
| 9262 | + |  | 
| 9263 | + | # Check whether --with-openbabel was given. | 
| 9264 | + | if test "${with_openbabel+set}" = set; then | 
| 9265 | + | withval=$with_openbabel; openbabel_dir="$withval" | 
| 9266 | + | else | 
| 9267 | + | openbabel_dir="not_set" | 
| 9268 |  | fi | 
| 8403 | – | { echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 | 
| 8404 | – | echo "${ECHO_T}$ac_cv_c_restrict" >&6; } | 
| 8405 | – | case $ac_cv_c_restrict in | 
| 8406 | – | restrict) ;; | 
| 8407 | – | no) | 
| 8408 | – | cat >>confdefs.h <<\_ACEOF | 
| 8409 | – | #define restrict | 
| 8410 | – | _ACEOF | 
| 8411 | – | ;; | 
| 8412 | – | *)  cat >>confdefs.h <<_ACEOF | 
| 8413 | – | #define restrict $ac_cv_c_restrict | 
| 8414 | – | _ACEOF | 
| 8415 | – | ;; | 
| 8416 | – | esac | 
| 9269 |  |  | 
| 9270 | < | { echo "$as_me:$LINENO: checking for size_t" >&5 | 
| 9271 | < | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } | 
| 9272 | < | if test "${ac_cv_type_size_t+set}" = set; then | 
| 9270 | > | if test "$openbabel_dir" != "no"; then | 
| 9271 | > |  | 
| 9272 | > | if test "$openbabel_dir" != "not_set" ; then | 
| 9273 | > | if test -d "$openbabel_dir" | 
| 9274 | > | then | 
| 9275 | > | OPENBABEL_HOME="$openbabel_dir" | 
| 9276 | > | else | 
| 9277 | > | { echo "$as_me:$LINENO: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&5 | 
| 9278 | > | echo "$as_me: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&2;} | 
| 9279 | > | OPENBABEL_HOME=/usr/local | 
| 9280 | > | if test ! -f "${OPENBABEL_HOME}/include/openbabel-2.0/openbabel/babelconfig.h" -a -f "${OPENBABEL_HOME}/include/openbabel-2.0/openbabel/obconversion.h" | 
| 9281 | > | then | 
| 9282 | > | OPENBABEL_HOME=/usr | 
| 9283 | > | fi | 
| 9284 | > | fi | 
| 9285 | > | fi | 
| 9286 | > | # | 
| 9287 | > | # Locate openbabel, if wanted | 
| 9288 | > | # | 
| 9289 | > | if test -n "${OPENBABEL_HOME}" | 
| 9290 | > | then | 
| 9291 | > |  | 
| 9292 | > | ac_ext=cpp | 
| 9293 | > | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 9294 | > | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9295 | > | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9296 | > | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 9297 | > |  | 
| 9298 | > | OPENBABEL_OLD_LDFLAGS=$LDFLAGS | 
| 9299 | > | OPENBABEL_OLD_CPPFLAGS=$CPPFLAGS | 
| 9300 | > | LDFLAGS="$LDFLAGS -L${OPENBABEL_HOME}/lib -lopenbabel" | 
| 9301 | > | CPPFLAGS="$CPPFLAGS -I${OPENBABEL_HOME}/include/openbabel-2.0" | 
| 9302 | > | if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then | 
| 9303 | > | { echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 | 
| 9304 | > | echo $ECHO_N "checking for openbabel/babelconfig.h... $ECHO_C" >&6; } | 
| 9305 | > | if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then | 
| 9306 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9307 | + | fi | 
| 9308 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 | 
| 9309 | + | echo "${ECHO_T}$ac_cv_header_openbabel_babelconfig_h" >&6; } | 
| 9310 |  | else | 
| 9311 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 9311 | > | # Is the header compilable? | 
| 9312 | > | { echo "$as_me:$LINENO: checking openbabel/babelconfig.h usability" >&5 | 
| 9313 | > | echo $ECHO_N "checking openbabel/babelconfig.h usability... $ECHO_C" >&6; } | 
| 9314 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9315 |  | /* confdefs.h.  */ | 
| 9316 |  | _ACEOF | 
| 9317 |  | cat confdefs.h >>conftest.$ac_ext | 
| 9318 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 9319 |  | /* end confdefs.h.  */ | 
| 9320 |  | $ac_includes_default | 
| 9321 | < | typedef size_t ac__type_new_; | 
| 8431 | < | #ifdef FC_DUMMY_MAIN | 
| 8432 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 8433 | < | #  ifdef __cplusplus | 
| 8434 | < | extern "C" | 
| 8435 | < | #  endif | 
| 8436 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 8437 | < | #endif | 
| 8438 | < | #endif | 
| 8439 | < | int | 
| 8440 | < | main () | 
| 8441 | < | { | 
| 8442 | < | if ((ac__type_new_ *) 0) | 
| 8443 | < | return 0; | 
| 8444 | < | if (sizeof (ac__type_new_)) | 
| 8445 | < | return 0; | 
| 8446 | < | ; | 
| 8447 | < | return 0; | 
| 8448 | < | } | 
| 9321 | > | #include <openbabel/babelconfig.h> | 
| 9322 |  | _ACEOF | 
| 9323 | < | rm -rf conftest.$ac_objext | 
| 9323 | > | rm -f conftest.$ac_objext | 
| 9324 |  | if { (ac_try="$ac_compile" | 
| 9325 |  | case "(($ac_try" in | 
| 9326 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9334 |  | cat conftest.err >&5 | 
| 9335 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9336 |  | (exit $ac_status); } && { | 
| 9337 | < | test -z "$ac_c_werror_flag" || | 
| 9337 | > | test -z "$ac_cxx_werror_flag" || | 
| 9338 |  | test ! -s conftest.err | 
| 9339 |  | } && test -s conftest.$ac_objext; then | 
| 9340 | < | ac_cv_type_size_t=yes | 
| 9340 | > | ac_header_compiler=yes | 
| 9341 |  | else | 
| 9342 |  | echo "$as_me: failed program was:" >&5 | 
| 9343 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9344 |  |  | 
| 9345 | < | ac_cv_type_size_t=no | 
| 9345 | > | ac_header_compiler=no | 
| 9346 |  | fi | 
| 9347 |  |  | 
| 9348 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9349 | < | fi | 
| 9350 | < | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
| 9351 | < | echo "${ECHO_T}$ac_cv_type_size_t" >&6; } | 
| 9352 | < | if test $ac_cv_type_size_t = yes; then | 
| 9353 | < | : | 
| 9354 | < | else | 
| 9355 | < |  | 
| 9356 | < | cat >>confdefs.h <<_ACEOF | 
| 8484 | < | #define size_t unsigned int | 
| 9348 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9349 | > | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 9350 | > | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 9351 | > |  | 
| 9352 | > | # Is the header present? | 
| 9353 | > | { echo "$as_me:$LINENO: checking openbabel/babelconfig.h presence" >&5 | 
| 9354 | > | echo $ECHO_N "checking openbabel/babelconfig.h presence... $ECHO_C" >&6; } | 
| 9355 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9356 | > | /* confdefs.h.  */ | 
| 9357 |  | _ACEOF | 
| 9358 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9359 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9360 | + | /* end confdefs.h.  */ | 
| 9361 | + | #include <openbabel/babelconfig.h> | 
| 9362 | + | _ACEOF | 
| 9363 | + | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9364 | + | case "(($ac_try" in | 
| 9365 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9366 | + | *) ac_try_echo=$ac_try;; | 
| 9367 | + | esac | 
| 9368 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9369 | + | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9370 | + | ac_status=$? | 
| 9371 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9372 | + | rm -f conftest.er1 | 
| 9373 | + | cat conftest.err >&5 | 
| 9374 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9375 | + | (exit $ac_status); } >/dev/null && { | 
| 9376 | + | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 9377 | + | test ! -s conftest.err | 
| 9378 | + | }; then | 
| 9379 | + | ac_header_preproc=yes | 
| 9380 | + | else | 
| 9381 | + | echo "$as_me: failed program was:" >&5 | 
| 9382 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9383 |  |  | 
| 9384 | + | ac_header_preproc=no | 
| 9385 |  | fi | 
| 9386 |  |  | 
| 9387 | < | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
| 9388 | < | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } | 
| 9389 | < | if test "${ac_cv_header_time+set}" = set; then | 
| 9387 | > | rm -f conftest.err conftest.$ac_ext | 
| 9388 | > | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 9389 | > | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 9390 | > |  | 
| 9391 | > | # So?  What about this header? | 
| 9392 | > | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 9393 | > | yes:no: ) | 
| 9394 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 9395 | > | echo "$as_me: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 9396 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&5 | 
| 9397 | > | echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&2;} | 
| 9398 | > | ac_header_preproc=yes | 
| 9399 | > | ;; | 
| 9400 | > | no:yes:* ) | 
| 9401 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&5 | 
| 9402 | > | echo "$as_me: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&2;} | 
| 9403 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h:     check for missing prerequisite headers?" >&5 | 
| 9404 | > | echo "$as_me: WARNING: openbabel/babelconfig.h:     check for missing prerequisite headers?" >&2;} | 
| 9405 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&5 | 
| 9406 | > | echo "$as_me: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&2;} | 
| 9407 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 9408 | > | echo "$as_me: WARNING: openbabel/babelconfig.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 9409 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5 | 
| 9410 | > | echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;} | 
| 9411 | > | { echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5 | 
| 9412 | > | echo "$as_me: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&2;} | 
| 9413 | > | ( cat <<\_ASBOX | 
| 9414 | > | ## ------------------------------ ## | 
| 9415 | > | ## Report this to gezelter@nd.edu ## | 
| 9416 | > | ## ------------------------------ ## | 
| 9417 | > | _ASBOX | 
| 9418 | > | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 9419 | > | ;; | 
| 9420 | > | esac | 
| 9421 | > | { echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5 | 
| 9422 | > | echo $ECHO_N "checking for openbabel/babelconfig.h... $ECHO_C" >&6; } | 
| 9423 | > | if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then | 
| 9424 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9425 |  | else | 
| 9426 | + | ac_cv_header_openbabel_babelconfig_h=$ac_header_preproc | 
| 9427 | + | fi | 
| 9428 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5 | 
| 9429 | + | echo "${ECHO_T}$ac_cv_header_openbabel_babelconfig_h" >&6; } | 
| 9430 | + |  | 
| 9431 | + | fi | 
| 9432 | + | if test $ac_cv_header_openbabel_babelconfig_h = yes; then | 
| 9433 | + | openbabel_cv_openbabel_h=yes | 
| 9434 | + | else | 
| 9435 | + | openbabel_cv_openbabel_h=no | 
| 9436 | + | fi | 
| 9437 | + |  | 
| 9438 | + |  | 
| 9439 | + | if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then | 
| 9440 | + | { echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 | 
| 9441 | + | echo $ECHO_N "checking for openbabel/obconversion.h... $ECHO_C" >&6; } | 
| 9442 | + | if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then | 
| 9443 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9444 | + | fi | 
| 9445 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 | 
| 9446 | + | echo "${ECHO_T}$ac_cv_header_openbabel_obconversion_h" >&6; } | 
| 9447 | + | else | 
| 9448 | + | # Is the header compilable? | 
| 9449 | + | { echo "$as_me:$LINENO: checking openbabel/obconversion.h usability" >&5 | 
| 9450 | + | echo $ECHO_N "checking openbabel/obconversion.h usability... $ECHO_C" >&6; } | 
| 9451 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9452 | + | /* confdefs.h.  */ | 
| 9453 | + | _ACEOF | 
| 9454 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9455 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9456 | + | /* end confdefs.h.  */ | 
| 9457 | + | $ac_includes_default | 
| 9458 | + | #include <openbabel/obconversion.h> | 
| 9459 | + | _ACEOF | 
| 9460 | + | rm -f conftest.$ac_objext | 
| 9461 | + | if { (ac_try="$ac_compile" | 
| 9462 | + | case "(($ac_try" in | 
| 9463 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9464 | + | *) ac_try_echo=$ac_try;; | 
| 9465 | + | esac | 
| 9466 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9467 | + | (eval "$ac_compile") 2>conftest.er1 | 
| 9468 | + | ac_status=$? | 
| 9469 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9470 | + | rm -f conftest.er1 | 
| 9471 | + | cat conftest.err >&5 | 
| 9472 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9473 | + | (exit $ac_status); } && { | 
| 9474 | + | test -z "$ac_cxx_werror_flag" || | 
| 9475 | + | test ! -s conftest.err | 
| 9476 | + | } && test -s conftest.$ac_objext; then | 
| 9477 | + | ac_header_compiler=yes | 
| 9478 | + | else | 
| 9479 | + | echo "$as_me: failed program was:" >&5 | 
| 9480 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9481 | + |  | 
| 9482 | + | ac_header_compiler=no | 
| 9483 | + | fi | 
| 9484 | + |  | 
| 9485 | + | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9486 | + | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 9487 | + | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 9488 | + |  | 
| 9489 | + | # Is the header present? | 
| 9490 | + | { echo "$as_me:$LINENO: checking openbabel/obconversion.h presence" >&5 | 
| 9491 | + | echo $ECHO_N "checking openbabel/obconversion.h presence... $ECHO_C" >&6; } | 
| 9492 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9493 | + | /* confdefs.h.  */ | 
| 9494 | + | _ACEOF | 
| 9495 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9496 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9497 | + | /* end confdefs.h.  */ | 
| 9498 | + | #include <openbabel/obconversion.h> | 
| 9499 | + | _ACEOF | 
| 9500 | + | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9501 | + | case "(($ac_try" in | 
| 9502 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9503 | + | *) ac_try_echo=$ac_try;; | 
| 9504 | + | esac | 
| 9505 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9506 | + | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9507 | + | ac_status=$? | 
| 9508 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9509 | + | rm -f conftest.er1 | 
| 9510 | + | cat conftest.err >&5 | 
| 9511 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9512 | + | (exit $ac_status); } >/dev/null && { | 
| 9513 | + | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 9514 | + | test ! -s conftest.err | 
| 9515 | + | }; then | 
| 9516 | + | ac_header_preproc=yes | 
| 9517 | + | else | 
| 9518 | + | echo "$as_me: failed program was:" >&5 | 
| 9519 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9520 | + |  | 
| 9521 | + | ac_header_preproc=no | 
| 9522 | + | fi | 
| 9523 | + |  | 
| 9524 | + | rm -f conftest.err conftest.$ac_ext | 
| 9525 | + | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 9526 | + | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 9527 | + |  | 
| 9528 | + | # So?  What about this header? | 
| 9529 | + | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 9530 | + | yes:no: ) | 
| 9531 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 9532 | + | echo "$as_me: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 9533 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&5 | 
| 9534 | + | echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&2;} | 
| 9535 | + | ac_header_preproc=yes | 
| 9536 | + | ;; | 
| 9537 | + | no:yes:* ) | 
| 9538 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&5 | 
| 9539 | + | echo "$as_me: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&2;} | 
| 9540 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h:     check for missing prerequisite headers?" >&5 | 
| 9541 | + | echo "$as_me: WARNING: openbabel/obconversion.h:     check for missing prerequisite headers?" >&2;} | 
| 9542 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&5 | 
| 9543 | + | echo "$as_me: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&2;} | 
| 9544 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 9545 | + | echo "$as_me: WARNING: openbabel/obconversion.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 9546 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&5 | 
| 9547 | + | echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;} | 
| 9548 | + | { echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&5 | 
| 9549 | + | echo "$as_me: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&2;} | 
| 9550 | + | ( cat <<\_ASBOX | 
| 9551 | + | ## ------------------------------ ## | 
| 9552 | + | ## Report this to gezelter@nd.edu ## | 
| 9553 | + | ## ------------------------------ ## | 
| 9554 | + | _ASBOX | 
| 9555 | + | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 9556 | + | ;; | 
| 9557 | + | esac | 
| 9558 | + | { echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5 | 
| 9559 | + | echo $ECHO_N "checking for openbabel/obconversion.h... $ECHO_C" >&6; } | 
| 9560 | + | if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then | 
| 9561 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9562 | + | else | 
| 9563 | + | ac_cv_header_openbabel_obconversion_h=$ac_header_preproc | 
| 9564 | + | fi | 
| 9565 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5 | 
| 9566 | + | echo "${ECHO_T}$ac_cv_header_openbabel_obconversion_h" >&6; } | 
| 9567 | + |  | 
| 9568 | + | fi | 
| 9569 | + | if test $ac_cv_header_openbabel_obconversion_h = yes; then | 
| 9570 | + | openbabel_cv_obconversion_h=yes | 
| 9571 | + | else | 
| 9572 | + | openbabel_cv_obconversion_h=no | 
| 9573 | + | fi | 
| 9574 | + |  | 
| 9575 | + |  | 
| 9576 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9577 | + |  | 
| 9578 | + | /* confdefs.h.  */ | 
| 9579 | + | _ACEOF | 
| 9580 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9581 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9582 | + | /* end confdefs.h.  */ | 
| 9583 | + |  | 
| 9584 | + | #include <openbabel/babelconfig.h> | 
| 9585 | + | #include <openbabel/obconversion.h> | 
| 9586 | + | using namespace std; | 
| 9587 | + | using namespace OpenBabel; | 
| 9588 | + |  | 
| 9589 | + | #ifdef FC_DUMMY_MAIN | 
| 9590 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9591 | + | #  ifdef __cplusplus | 
| 9592 | + | extern "C" | 
| 9593 | + | #  endif | 
| 9594 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 9595 | + | #endif | 
| 9596 | + | #endif | 
| 9597 | + | int | 
| 9598 | + | main () | 
| 9599 | + | { | 
| 9600 | + |  | 
| 9601 | + | OBConversion Conv(&cin, &cout); | 
| 9602 | + |  | 
| 9603 | + |  | 
| 9604 | + | ; | 
| 9605 | + | return 0; | 
| 9606 | + | } | 
| 9607 | + | _ACEOF | 
| 9608 | + | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9609 | + | if { (ac_try="$ac_link" | 
| 9610 | + | case "(($ac_try" in | 
| 9611 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9612 | + | *) ac_try_echo=$ac_try;; | 
| 9613 | + | esac | 
| 9614 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9615 | + | (eval "$ac_link") 2>conftest.er1 | 
| 9616 | + | ac_status=$? | 
| 9617 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9618 | + | rm -f conftest.er1 | 
| 9619 | + | cat conftest.err >&5 | 
| 9620 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9621 | + | (exit $ac_status); } && { | 
| 9622 | + | test -z "$ac_cxx_werror_flag" || | 
| 9623 | + | test ! -s conftest.err | 
| 9624 | + | } && test -s conftest$ac_exeext && | 
| 9625 | + | $as_test_x conftest$ac_exeext; then | 
| 9626 | + |  | 
| 9627 | + | openbabel_lib_found="yes" | 
| 9628 | + | { echo "$as_me:$LINENO: result: found" >&5 | 
| 9629 | + | echo "${ECHO_T}found" >&6; } | 
| 9630 | + |  | 
| 9631 | + | else | 
| 9632 | + | echo "$as_me: failed program was:" >&5 | 
| 9633 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9634 | + |  | 
| 9635 | + |  | 
| 9636 | + | openbabel_lib_found="no" | 
| 9637 | + | { echo "$as_me:$LINENO: result: not found" >&5 | 
| 9638 | + | echo "${ECHO_T}not found" >&6; } | 
| 9639 | + |  | 
| 9640 | + |  | 
| 9641 | + | fi | 
| 9642 | + |  | 
| 9643 | + | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 9644 | + | conftest$ac_exeext conftest.$ac_ext | 
| 9645 | + | ac_ext=c | 
| 9646 | + | ac_cpp='$CPP $CPPFLAGS' | 
| 9647 | + | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 9648 | + | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 9649 | + | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 9650 | + |  | 
| 9651 | + | LDFLAGS="$OPENBABEL_OLD_LDFLAGS" | 
| 9652 | + | CPPFLAGS="$OPENBABEL_OLD_CPPFLAGS" | 
| 9653 | + |  | 
| 9654 | + | if test "$openbabel_lib_found" = "yes" -a "$openbabel_cv_openbabel_h" = "yes" -a "$openbabel_cv_obconversion_h" = "yes"; then | 
| 9655 | + | USE_OPENBABEL=yes | 
| 9656 | + | OPENBABEL_INC_DIR="${OPENBABEL_HOME}/include/openbabel-2.0" | 
| 9657 | + | OPENBABEL_LIB_DIR="${OPENBABEL_HOME}/lib" | 
| 9658 | + | OPENBABEL_LIB="-lopenbabel" | 
| 9659 | + | else | 
| 9660 | + | { echo "$as_me:$LINENO: checking openbabel in ${OPENBABEL_HOME}" >&5 | 
| 9661 | + | echo $ECHO_N "checking openbabel in ${OPENBABEL_HOME}... $ECHO_C" >&6; } | 
| 9662 | + | OPENBABEL_INC_DIR= | 
| 9663 | + | OPENBABEL_LIB_DIR= | 
| 9664 | + | OPENBABEL_LIB= | 
| 9665 | + | USE_OPENBABEL=no | 
| 9666 | + | { echo "$as_me:$LINENO: result: failed" >&5 | 
| 9667 | + | echo "${ECHO_T}failed" >&6; } | 
| 9668 | + | echo "" | 
| 9669 | + | echo "*********************************************************" | 
| 9670 | + | echo "* WARNING: Could not find a working openbabel-2.x       *" | 
| 9671 | + | echo "* installation If you need OOPSE to be able to convert  *" | 
| 9672 | + | echo "* xyz or pdb files you need to specify a valid          *" | 
| 9673 | + | echo "* openbabel-2.x installation with --with-openbabel=DIR  *" | 
| 9674 | + | echo "*                                                       *" | 
| 9675 | + | echo "* OOPSE will still work without openbabel installed.    *" | 
| 9676 | + | echo "*********************************************************" | 
| 9677 | + | echo "" | 
| 9678 | + | fi | 
| 9679 | + |  | 
| 9680 | + |  | 
| 9681 | + |  | 
| 9682 | + |  | 
| 9683 | + | fi | 
| 9684 | + | fi | 
| 9685 | + |  | 
| 9686 | + |  | 
| 9687 | + | # Checks for header files. | 
| 9688 | + | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
| 9689 | + | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 
| 9690 | + | if test "${ac_cv_header_stdc+set}" = set; then | 
| 9691 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9692 | + | else | 
| 9693 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 9694 |  | /* confdefs.h.  */ | 
| 9695 |  | _ACEOF | 
| 9696 |  | cat confdefs.h >>conftest.$ac_ext | 
| 9697 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 9698 |  | /* end confdefs.h.  */ | 
| 9699 | < | #include <sys/types.h> | 
| 9700 | < | #include <sys/time.h> | 
| 9701 | < | #include <time.h> | 
| 9699 | > | #include <stdlib.h> | 
| 9700 | > | #include <stdarg.h> | 
| 9701 | > | #include <string.h> | 
| 9702 | > | #include <float.h> | 
| 9703 |  |  | 
| 9704 |  | #ifdef FC_DUMMY_MAIN | 
| 9705 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 9712 |  | int | 
| 9713 |  | main () | 
| 9714 |  | { | 
| 9715 | < | if ((struct tm *) 0) | 
| 8516 | < | return 0; | 
| 9715 | > |  | 
| 9716 |  | ; | 
| 9717 |  | return 0; | 
| 9718 |  | } | 
| 9719 |  | _ACEOF | 
| 9720 | < | rm -rf conftest.$ac_objext | 
| 9720 | > | rm -f conftest.$ac_objext | 
| 9721 |  | if { (ac_try="$ac_compile" | 
| 9722 |  | case "(($ac_try" in | 
| 9723 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9734 |  | test -z "$ac_c_werror_flag" || | 
| 9735 |  | test ! -s conftest.err | 
| 9736 |  | } && test -s conftest.$ac_objext; then | 
| 9737 | < | ac_cv_header_time=yes | 
| 9737 | > | ac_cv_header_stdc=yes | 
| 9738 |  | else | 
| 9739 |  | echo "$as_me: failed program was:" >&5 | 
| 9740 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9741 |  |  | 
| 9742 | < | ac_cv_header_time=no | 
| 9742 | > | ac_cv_header_stdc=no | 
| 9743 |  | fi | 
| 9744 |  |  | 
| 9745 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9745 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9746 | > |  | 
| 9747 | > | if test $ac_cv_header_stdc = yes; then | 
| 9748 | > | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 9749 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 9750 | > | /* confdefs.h.  */ | 
| 9751 | > | _ACEOF | 
| 9752 | > | cat confdefs.h >>conftest.$ac_ext | 
| 9753 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 9754 | > | /* end confdefs.h.  */ | 
| 9755 | > | #include <string.h> | 
| 9756 | > |  | 
| 9757 | > | _ACEOF | 
| 9758 | > | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 9759 | > | $EGREP "memchr" >/dev/null 2>&1; then | 
| 9760 | > | : | 
| 9761 | > | else | 
| 9762 | > | ac_cv_header_stdc=no | 
| 9763 |  | fi | 
| 9764 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
| 8549 | < | echo "${ECHO_T}$ac_cv_header_time" >&6; } | 
| 8550 | < | if test $ac_cv_header_time = yes; then | 
| 9764 | > | rm -f conftest* | 
| 9765 |  |  | 
| 9766 | + | fi | 
| 9767 | + |  | 
| 9768 | + | if test $ac_cv_header_stdc = yes; then | 
| 9769 | + | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 9770 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9771 | + | /* confdefs.h.  */ | 
| 9772 | + | _ACEOF | 
| 9773 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9774 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9775 | + | /* end confdefs.h.  */ | 
| 9776 | + | #include <stdlib.h> | 
| 9777 | + |  | 
| 9778 | + | _ACEOF | 
| 9779 | + | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 9780 | + | $EGREP "free" >/dev/null 2>&1; then | 
| 9781 | + | : | 
| 9782 | + | else | 
| 9783 | + | ac_cv_header_stdc=no | 
| 9784 | + | fi | 
| 9785 | + | rm -f conftest* | 
| 9786 | + |  | 
| 9787 | + | fi | 
| 9788 | + |  | 
| 9789 | + | if test $ac_cv_header_stdc = yes; then | 
| 9790 | + | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 9791 | + | if test "$cross_compiling" = yes; then | 
| 9792 | + | : | 
| 9793 | + | else | 
| 9794 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9795 | + | /* confdefs.h.  */ | 
| 9796 | + | _ACEOF | 
| 9797 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9798 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9799 | + | /* end confdefs.h.  */ | 
| 9800 | + | #include <ctype.h> | 
| 9801 | + | #include <stdlib.h> | 
| 9802 | + | #if ((' ' & 0x0FF) == 0x020) | 
| 9803 | + | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 9804 | + | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 9805 | + | #else | 
| 9806 | + | # define ISLOWER(c) \ | 
| 9807 | + | (('a' <= (c) && (c) <= 'i') \ | 
| 9808 | + | || ('j' <= (c) && (c) <= 'r') \ | 
| 9809 | + | || ('s' <= (c) && (c) <= 'z')) | 
| 9810 | + | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
| 9811 | + | #endif | 
| 9812 | + |  | 
| 9813 | + | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 9814 | + | int | 
| 9815 | + | main () | 
| 9816 | + | { | 
| 9817 | + | int i; | 
| 9818 | + | for (i = 0; i < 256; i++) | 
| 9819 | + | if (XOR (islower (i), ISLOWER (i)) | 
| 9820 | + | || toupper (i) != TOUPPER (i)) | 
| 9821 | + | return 2; | 
| 9822 | + | return 0; | 
| 9823 | + | } | 
| 9824 | + | _ACEOF | 
| 9825 | + | rm -f conftest$ac_exeext | 
| 9826 | + | if { (ac_try="$ac_link" | 
| 9827 | + | case "(($ac_try" in | 
| 9828 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9829 | + | *) ac_try_echo=$ac_try;; | 
| 9830 | + | esac | 
| 9831 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9832 | + | (eval "$ac_link") 2>&5 | 
| 9833 | + | ac_status=$? | 
| 9834 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9835 | + | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 9836 | + | { (case "(($ac_try" in | 
| 9837 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9838 | + | *) ac_try_echo=$ac_try;; | 
| 9839 | + | esac | 
| 9840 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9841 | + | (eval "$ac_try") 2>&5 | 
| 9842 | + | ac_status=$? | 
| 9843 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9844 | + | (exit $ac_status); }; }; then | 
| 9845 | + | : | 
| 9846 | + | else | 
| 9847 | + | echo "$as_me: program exited with status $ac_status" >&5 | 
| 9848 | + | echo "$as_me: failed program was:" >&5 | 
| 9849 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9850 | + |  | 
| 9851 | + | ( exit $ac_status ) | 
| 9852 | + | ac_cv_header_stdc=no | 
| 9853 | + | fi | 
| 9854 | + | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 9855 | + | fi | 
| 9856 | + |  | 
| 9857 | + |  | 
| 9858 | + | fi | 
| 9859 | + | fi | 
| 9860 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
| 9861 | + | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | 
| 9862 | + | if test $ac_cv_header_stdc = yes; then | 
| 9863 | + |  | 
| 9864 |  | cat >>confdefs.h <<\_ACEOF | 
| 9865 | < | #define TIME_WITH_SYS_TIME 1 | 
| 9865 | > | #define STDC_HEADERS 1 | 
| 9866 |  | _ACEOF | 
| 9867 |  |  | 
| 9868 |  | fi | 
| 9869 |  |  | 
| 9870 | < | { echo "$as_me:$LINENO: checking for clock_t" >&5 | 
| 9871 | < | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } | 
| 9872 | < | if test "${ac_cv_type_clock_t+set}" = set; then | 
| 9870 | > |  | 
| 9871 | > |  | 
| 9872 | > |  | 
| 9873 | > |  | 
| 9874 | > |  | 
| 9875 | > |  | 
| 9876 | > |  | 
| 9877 | > |  | 
| 9878 | > |  | 
| 9879 | > |  | 
| 9880 | > |  | 
| 9881 | > |  | 
| 9882 | > |  | 
| 9883 | > |  | 
| 9884 | > |  | 
| 9885 | > | for ac_header in libintl.h limits.h machine/hal_sysinfo.h stdlib.h string.h strings.h sys/param.h sys/pstat.h sys/sysctl.h sys/sysinfo.h sys/sysmp.h sys/systemcfg.h sys/table.h sys/time.h unistd.h | 
| 9886 | > | do | 
| 9887 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 9888 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 9889 | > | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 9890 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 9891 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 9892 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 9893 | + | fi | 
| 9894 | + | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 9895 | + | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 9896 | + | echo "${ECHO_T}$ac_res" >&6; } | 
| 9897 |  | else | 
| 9898 | + | # Is the header compilable? | 
| 9899 | + | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 9900 | + | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 9901 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9902 | + | /* confdefs.h.  */ | 
| 9903 | + | _ACEOF | 
| 9904 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9905 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9906 | + | /* end confdefs.h.  */ | 
| 9907 | + | $ac_includes_default | 
| 9908 | + | #include <$ac_header> | 
| 9909 | + | _ACEOF | 
| 9910 | + | rm -f conftest.$ac_objext | 
| 9911 | + | if { (ac_try="$ac_compile" | 
| 9912 | + | case "(($ac_try" in | 
| 9913 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9914 | + | *) ac_try_echo=$ac_try;; | 
| 9915 | + | esac | 
| 9916 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9917 | + | (eval "$ac_compile") 2>conftest.er1 | 
| 9918 | + | ac_status=$? | 
| 9919 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9920 | + | rm -f conftest.er1 | 
| 9921 | + | cat conftest.err >&5 | 
| 9922 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9923 | + | (exit $ac_status); } && { | 
| 9924 | + | test -z "$ac_c_werror_flag" || | 
| 9925 | + | test ! -s conftest.err | 
| 9926 | + | } && test -s conftest.$ac_objext; then | 
| 9927 | + | ac_header_compiler=yes | 
| 9928 | + | else | 
| 9929 | + | echo "$as_me: failed program was:" >&5 | 
| 9930 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9931 | + |  | 
| 9932 | + | ac_header_compiler=no | 
| 9933 | + | fi | 
| 9934 | + |  | 
| 9935 | + | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 9936 | + | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 9937 | + | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 9938 | + |  | 
| 9939 | + | # Is the header present? | 
| 9940 | + | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 9941 | + | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 9942 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 9943 | + | /* confdefs.h.  */ | 
| 9944 | + | _ACEOF | 
| 9945 | + | cat confdefs.h >>conftest.$ac_ext | 
| 9946 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 9947 | + | /* end confdefs.h.  */ | 
| 9948 | + | #include <$ac_header> | 
| 9949 | + | _ACEOF | 
| 9950 | + | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 9951 | + | case "(($ac_try" in | 
| 9952 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 9953 | + | *) ac_try_echo=$ac_try;; | 
| 9954 | + | esac | 
| 9955 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 9956 | + | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 9957 | + | ac_status=$? | 
| 9958 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 9959 | + | rm -f conftest.er1 | 
| 9960 | + | cat conftest.err >&5 | 
| 9961 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9962 | + | (exit $ac_status); } >/dev/null && { | 
| 9963 | + | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 9964 | + | test ! -s conftest.err | 
| 9965 | + | }; then | 
| 9966 | + | ac_header_preproc=yes | 
| 9967 | + | else | 
| 9968 | + | echo "$as_me: failed program was:" >&5 | 
| 9969 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9970 | + |  | 
| 9971 | + | ac_header_preproc=no | 
| 9972 | + | fi | 
| 9973 | + |  | 
| 9974 | + | rm -f conftest.err conftest.$ac_ext | 
| 9975 | + | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 9976 | + | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 9977 | + |  | 
| 9978 | + | # So?  What about this header? | 
| 9979 | + | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 9980 | + | yes:no: ) | 
| 9981 | + | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 9982 | + | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 9983 | + | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 9984 | + | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 9985 | + | ac_header_preproc=yes | 
| 9986 | + | ;; | 
| 9987 | + | no:yes:* ) | 
| 9988 | + | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 9989 | + | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 9990 | + | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 9991 | + | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 9992 | + | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 9993 | + | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 9994 | + | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 9995 | + | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 9996 | + | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 9997 | + | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 9998 | + | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 9999 | + | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 10000 | + | ( cat <<\_ASBOX | 
| 10001 | + | ## ------------------------------ ## | 
| 10002 | + | ## Report this to gezelter@nd.edu ## | 
| 10003 | + | ## ------------------------------ ## | 
| 10004 | + | _ASBOX | 
| 10005 | + | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 10006 | + | ;; | 
| 10007 | + | esac | 
| 10008 | + | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10009 | + | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 10010 | + | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10011 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10012 | + | else | 
| 10013 | + | eval "$as_ac_Header=\$ac_header_preproc" | 
| 10014 | + | fi | 
| 10015 | + | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 10016 | + | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10017 | + | echo "${ECHO_T}$ac_res" >&6; } | 
| 10018 | + |  | 
| 10019 | + | fi | 
| 10020 | + | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 10021 | + | cat >>confdefs.h <<_ACEOF | 
| 10022 | + | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 10023 | + | _ACEOF | 
| 10024 | + |  | 
| 10025 | + | fi | 
| 10026 | + |  | 
| 10027 | + | done | 
| 10028 | + |  | 
| 10029 | + |  | 
| 10030 | + | # Checks for typedefs, structures, and compiler characteristics. | 
| 10031 | + | { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
| 10032 | + | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } | 
| 10033 | + | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
| 10034 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10035 | + | else | 
| 10036 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10037 |  | /* confdefs.h.  */ | 
| 10038 |  | _ACEOF | 
| 10039 |  | cat confdefs.h >>conftest.$ac_ext | 
| 10040 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 10041 |  | /* end confdefs.h.  */ | 
| 10042 | + |  | 
| 10043 | + | #include <stdbool.h> | 
| 10044 | + | #ifndef bool | 
| 10045 | + | "error: bool is not defined" | 
| 10046 | + | #endif | 
| 10047 | + | #ifndef false | 
| 10048 | + | "error: false is not defined" | 
| 10049 | + | #endif | 
| 10050 | + | #if false | 
| 10051 | + | "error: false is not 0" | 
| 10052 | + | #endif | 
| 10053 | + | #ifndef true | 
| 10054 | + | "error: true is not defined" | 
| 10055 | + | #endif | 
| 10056 | + | #if true != 1 | 
| 10057 | + | "error: true is not 1" | 
| 10058 | + | #endif | 
| 10059 | + | #ifndef __bool_true_false_are_defined | 
| 10060 | + | "error: __bool_true_false_are_defined is not defined" | 
| 10061 | + | #endif | 
| 10062 | + |  | 
| 10063 | + | struct s { _Bool s: 1; _Bool t; } s; | 
| 10064 | + |  | 
| 10065 | + | char a[true == 1 ? 1 : -1]; | 
| 10066 | + | char b[false == 0 ? 1 : -1]; | 
| 10067 | + | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
| 10068 | + | char d[(bool) 0.5 == true ? 1 : -1]; | 
| 10069 | + | bool e = &s; | 
| 10070 | + | char f[(_Bool) 0.0 == false ? 1 : -1]; | 
| 10071 | + | char g[true]; | 
| 10072 | + | char h[sizeof (_Bool)]; | 
| 10073 | + | char i[sizeof s.t]; | 
| 10074 | + | enum { j = false, k = true, l = false * true, m = true * 256 }; | 
| 10075 | + | _Bool n[m]; | 
| 10076 | + | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; | 
| 10077 | + | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; | 
| 10078 | + | #       if defined __xlc__ || defined __GNUC__ | 
| 10079 | + | /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 | 
| 10080 | + | reported by James Lemley on 2005-10-05; see | 
| 10081 | + | http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html | 
| 10082 | + | This test is not quite right, since xlc is allowed to | 
| 10083 | + | reject this program, as the initializer for xlcbug is | 
| 10084 | + | not one of the forms that C requires support for. | 
| 10085 | + | However, doing the test right would require a runtime | 
| 10086 | + | test, and that would make cross-compilation harder. | 
| 10087 | + | Let us hope that IBM fixes the xlc bug, and also adds | 
| 10088 | + | support for this kind of constant expression.  In the | 
| 10089 | + | meantime, this test will reject xlc, which is OK, since | 
| 10090 | + | our stdbool.h substitute should suffice.  We also test | 
| 10091 | + | this with GCC, where it should work, to detect more | 
| 10092 | + | quickly whether someone messes up the test in the | 
| 10093 | + | future.  */ | 
| 10094 | + | char digs[] = "0123456789"; | 
| 10095 | + | int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); | 
| 10096 | + | #       endif | 
| 10097 | + | /* Catch a bug in an HP-UX C compiler.  See | 
| 10098 | + | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | 
| 10099 | + | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | 
| 10100 | + | */ | 
| 10101 | + | _Bool q = true; | 
| 10102 | + | _Bool *pq = &q; | 
| 10103 | + |  | 
| 10104 | + | #ifdef FC_DUMMY_MAIN | 
| 10105 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10106 | + | #  ifdef __cplusplus | 
| 10107 | + | extern "C" | 
| 10108 | + | #  endif | 
| 10109 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 10110 | + | #endif | 
| 10111 | + | #endif | 
| 10112 | + | int | 
| 10113 | + | main () | 
| 10114 | + | { | 
| 10115 | + |  | 
| 10116 | + | *pq |= q; | 
| 10117 | + | *pq |= ! q; | 
| 10118 | + | /* Refer to every declared value, to avoid compiler optimizations.  */ | 
| 10119 | + | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | 
| 10120 | + | + !m + !n + !o + !p + !q + !pq); | 
| 10121 | + |  | 
| 10122 | + | ; | 
| 10123 | + | return 0; | 
| 10124 | + | } | 
| 10125 | + | _ACEOF | 
| 10126 | + | rm -f conftest.$ac_objext | 
| 10127 | + | if { (ac_try="$ac_compile" | 
| 10128 | + | case "(($ac_try" in | 
| 10129 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10130 | + | *) ac_try_echo=$ac_try;; | 
| 10131 | + | esac | 
| 10132 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10133 | + | (eval "$ac_compile") 2>conftest.er1 | 
| 10134 | + | ac_status=$? | 
| 10135 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10136 | + | rm -f conftest.er1 | 
| 10137 | + | cat conftest.err >&5 | 
| 10138 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10139 | + | (exit $ac_status); } && { | 
| 10140 | + | test -z "$ac_c_werror_flag" || | 
| 10141 | + | test ! -s conftest.err | 
| 10142 | + | } && test -s conftest.$ac_objext; then | 
| 10143 | + | ac_cv_header_stdbool_h=yes | 
| 10144 | + | else | 
| 10145 | + | echo "$as_me: failed program was:" >&5 | 
| 10146 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10147 | + |  | 
| 10148 | + | ac_cv_header_stdbool_h=no | 
| 10149 | + | fi | 
| 10150 | + |  | 
| 10151 | + | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10152 | + | fi | 
| 10153 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
| 10154 | + | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } | 
| 10155 | + | { echo "$as_me:$LINENO: checking for _Bool" >&5 | 
| 10156 | + | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } | 
| 10157 | + | if test "${ac_cv_type__Bool+set}" = set; then | 
| 10158 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10159 | + | else | 
| 10160 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 10161 | + | /* confdefs.h.  */ | 
| 10162 | + | _ACEOF | 
| 10163 | + | cat confdefs.h >>conftest.$ac_ext | 
| 10164 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 10165 | + | /* end confdefs.h.  */ | 
| 10166 |  | $ac_includes_default | 
| 10167 | < | typedef clock_t ac__type_new_; | 
| 10167 | > | typedef _Bool ac__type_new_; | 
| 10168 |  | #ifdef FC_DUMMY_MAIN | 
| 10169 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10170 |  | #  ifdef __cplusplus | 
| 10184 |  | return 0; | 
| 10185 |  | } | 
| 10186 |  | _ACEOF | 
| 10187 | < | rm -rf conftest.$ac_objext | 
| 10187 | > | rm -f conftest.$ac_objext | 
| 10188 |  | if { (ac_try="$ac_compile" | 
| 10189 |  | case "(($ac_try" in | 
| 10190 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10201 |  | test -z "$ac_c_werror_flag" || | 
| 10202 |  | test ! -s conftest.err | 
| 10203 |  | } && test -s conftest.$ac_objext; then | 
| 10204 | < | ac_cv_type_clock_t=yes | 
| 10204 | > | ac_cv_type__Bool=yes | 
| 10205 |  | else | 
| 10206 |  | echo "$as_me: failed program was:" >&5 | 
| 10207 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10208 |  |  | 
| 10209 | < | ac_cv_type_clock_t=no | 
| 10209 | > | ac_cv_type__Bool=no | 
| 10210 |  | fi | 
| 10211 |  |  | 
| 10212 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10212 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10213 |  | fi | 
| 10214 | < | { echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 | 
| 10215 | < | echo "${ECHO_T}$ac_cv_type_clock_t" >&6; } | 
| 10216 | < | if test $ac_cv_type_clock_t = yes; then | 
| 10214 | > | { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
| 10215 | > | echo "${ECHO_T}$ac_cv_type__Bool" >&6; } | 
| 10216 | > | if test $ac_cv_type__Bool = yes; then | 
| 10217 |  |  | 
| 10218 |  | cat >>confdefs.h <<_ACEOF | 
| 10219 | < | #define HAVE_CLOCK_T 1 | 
| 10219 | > | #define HAVE__BOOL 1 | 
| 10220 |  | _ACEOF | 
| 10221 |  |  | 
| 10222 |  |  | 
| 10223 |  | fi | 
| 10224 |  |  | 
| 10225 | + | if test $ac_cv_header_stdbool_h = yes; then | 
| 10226 | + |  | 
| 10227 | + | cat >>confdefs.h <<\_ACEOF | 
| 10228 | + | #define HAVE_STDBOOL_H 1 | 
| 10229 | + | _ACEOF | 
| 10230 | + |  | 
| 10231 | + | fi | 
| 10232 | + |  | 
| 10233 |  | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
| 10234 |  | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } | 
| 10235 |  | if test "${ac_cv_c_const+set}" = set; then | 
| 10307 |  | return 0; | 
| 10308 |  | } | 
| 10309 |  | _ACEOF | 
| 10310 | < | rm -rf conftest.$ac_objext | 
| 10310 | > | rm -f conftest.$ac_objext | 
| 10311 |  | if { (ac_try="$ac_compile" | 
| 10312 |  | case "(($ac_try" in | 
| 10313 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10332 |  | ac_cv_c_const=no | 
| 10333 |  | fi | 
| 10334 |  |  | 
| 10335 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10335 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10336 |  | fi | 
| 10337 |  | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
| 10338 |  | echo "${ECHO_T}$ac_cv_c_const" >&6; } | 
| 10364 |  | #endif | 
| 10365 |  |  | 
| 10366 |  | _ACEOF | 
| 10367 | < | rm -rf conftest.$ac_objext | 
| 10367 | > | rm -f conftest.$ac_objext | 
| 10368 |  | if { (ac_try="$ac_compile" | 
| 10369 |  | case "(($ac_try" in | 
| 10370 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10389 |  |  | 
| 10390 |  | fi | 
| 10391 |  |  | 
| 10392 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10392 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10393 |  | test "$ac_cv_c_inline" != no && break | 
| 10394 |  | done | 
| 10395 |  |  | 
| 10411 |  | #endif | 
| 10412 |  | _ACEOF | 
| 10413 |  | ;; | 
| 10414 | + | esac | 
| 10415 | + |  | 
| 10416 | + | { echo "$as_me:$LINENO: checking for size_t" >&5 | 
| 10417 | + | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } | 
| 10418 | + | if test "${ac_cv_type_size_t+set}" = set; then | 
| 10419 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10420 | + | else | 
| 10421 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 10422 | + | /* confdefs.h.  */ | 
| 10423 | + | _ACEOF | 
| 10424 | + | cat confdefs.h >>conftest.$ac_ext | 
| 10425 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 10426 | + | /* end confdefs.h.  */ | 
| 10427 | + | $ac_includes_default | 
| 10428 | + | typedef size_t ac__type_new_; | 
| 10429 | + | #ifdef FC_DUMMY_MAIN | 
| 10430 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10431 | + | #  ifdef __cplusplus | 
| 10432 | + | extern "C" | 
| 10433 | + | #  endif | 
| 10434 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 10435 | + | #endif | 
| 10436 | + | #endif | 
| 10437 | + | int | 
| 10438 | + | main () | 
| 10439 | + | { | 
| 10440 | + | if ((ac__type_new_ *) 0) | 
| 10441 | + | return 0; | 
| 10442 | + | if (sizeof (ac__type_new_)) | 
| 10443 | + | return 0; | 
| 10444 | + | ; | 
| 10445 | + | return 0; | 
| 10446 | + | } | 
| 10447 | + | _ACEOF | 
| 10448 | + | rm -f conftest.$ac_objext | 
| 10449 | + | if { (ac_try="$ac_compile" | 
| 10450 | + | case "(($ac_try" in | 
| 10451 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10452 | + | *) ac_try_echo=$ac_try;; | 
| 10453 | + | esac | 
| 10454 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10455 | + | (eval "$ac_compile") 2>conftest.er1 | 
| 10456 | + | ac_status=$? | 
| 10457 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10458 | + | rm -f conftest.er1 | 
| 10459 | + | cat conftest.err >&5 | 
| 10460 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10461 | + | (exit $ac_status); } && { | 
| 10462 | + | test -z "$ac_c_werror_flag" || | 
| 10463 | + | test ! -s conftest.err | 
| 10464 | + | } && test -s conftest.$ac_objext; then | 
| 10465 | + | ac_cv_type_size_t=yes | 
| 10466 | + | else | 
| 10467 | + | echo "$as_me: failed program was:" >&5 | 
| 10468 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10469 | + |  | 
| 10470 | + | ac_cv_type_size_t=no | 
| 10471 | + | fi | 
| 10472 | + |  | 
| 10473 | + | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10474 | + | fi | 
| 10475 | + | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
| 10476 | + | echo "${ECHO_T}$ac_cv_type_size_t" >&6; } | 
| 10477 | + | if test $ac_cv_type_size_t = yes; then | 
| 10478 | + | : | 
| 10479 | + | else | 
| 10480 | + |  | 
| 10481 | + | cat >>confdefs.h <<_ACEOF | 
| 10482 | + | #define size_t unsigned int | 
| 10483 | + | _ACEOF | 
| 10484 | + |  | 
| 10485 | + | fi | 
| 10486 | + |  | 
| 10487 | + | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
| 10488 | + | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } | 
| 10489 | + | if test "${ac_cv_header_time+set}" = set; then | 
| 10490 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10491 | + | else | 
| 10492 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 10493 | + | /* confdefs.h.  */ | 
| 10494 | + | _ACEOF | 
| 10495 | + | cat confdefs.h >>conftest.$ac_ext | 
| 10496 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 10497 | + | /* end confdefs.h.  */ | 
| 10498 | + | #include <sys/types.h> | 
| 10499 | + | #include <sys/time.h> | 
| 10500 | + | #include <time.h> | 
| 10501 | + |  | 
| 10502 | + | #ifdef FC_DUMMY_MAIN | 
| 10503 | + | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10504 | + | #  ifdef __cplusplus | 
| 10505 | + | extern "C" | 
| 10506 | + | #  endif | 
| 10507 | + | int FC_DUMMY_MAIN() { return 1; } | 
| 10508 | + | #endif | 
| 10509 | + | #endif | 
| 10510 | + | int | 
| 10511 | + | main () | 
| 10512 | + | { | 
| 10513 | + | if ((struct tm *) 0) | 
| 10514 | + | return 0; | 
| 10515 | + | ; | 
| 10516 | + | return 0; | 
| 10517 | + | } | 
| 10518 | + | _ACEOF | 
| 10519 | + | rm -f conftest.$ac_objext | 
| 10520 | + | if { (ac_try="$ac_compile" | 
| 10521 | + | case "(($ac_try" in | 
| 10522 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10523 | + | *) ac_try_echo=$ac_try;; | 
| 10524 |  | esac | 
| 10525 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10526 | + | (eval "$ac_compile") 2>conftest.er1 | 
| 10527 | + | ac_status=$? | 
| 10528 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10529 | + | rm -f conftest.er1 | 
| 10530 | + | cat conftest.err >&5 | 
| 10531 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10532 | + | (exit $ac_status); } && { | 
| 10533 | + | test -z "$ac_c_werror_flag" || | 
| 10534 | + | test ! -s conftest.err | 
| 10535 | + | } && test -s conftest.$ac_objext; then | 
| 10536 | + | ac_cv_header_time=yes | 
| 10537 | + | else | 
| 10538 | + | echo "$as_me: failed program was:" >&5 | 
| 10539 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10540 | + |  | 
| 10541 | + | ac_cv_header_time=no | 
| 10542 | + | fi | 
| 10543 |  |  | 
| 10544 | + | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10545 | + | fi | 
| 10546 | + | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
| 10547 | + | echo "${ECHO_T}$ac_cv_header_time" >&6; } | 
| 10548 | + | if test $ac_cv_header_time = yes; then | 
| 10549 |  |  | 
| 10550 | + | cat >>confdefs.h <<\_ACEOF | 
| 10551 | + | #define TIME_WITH_SYS_TIME 1 | 
| 10552 | + | _ACEOF | 
| 10553 | + |  | 
| 10554 | + | fi | 
| 10555 | + |  | 
| 10556 | + |  | 
| 10557 |  | # Checks for library functions. | 
| 10558 |  |  | 
| 10559 |  | for ac_header in stdlib.h | 
| 10581 |  | $ac_includes_default | 
| 10582 |  | #include <$ac_header> | 
| 10583 |  | _ACEOF | 
| 10584 | < | rm -rf conftest.$ac_objext | 
| 10584 | > | rm -f conftest.$ac_objext | 
| 10585 |  | if { (ac_try="$ac_compile" | 
| 10586 |  | case "(($ac_try" in | 
| 10587 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10606 |  | ac_header_compiler=no | 
| 10607 |  | fi | 
| 10608 |  |  | 
| 10609 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10609 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10610 |  | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 10611 |  | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 10612 |  |  | 
| 10630 |  | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10631 |  | ac_status=$? | 
| 10632 |  | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10633 | < | rm -rf conftest.er1 | 
| 10633 | > | rm -f conftest.er1 | 
| 10634 |  | cat conftest.err >&5 | 
| 10635 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10636 |  | (exit $ac_status); } >/dev/null && { | 
| 10645 |  | ac_header_preproc=no | 
| 10646 |  | fi | 
| 10647 |  |  | 
| 10648 | < | rm -rf conftest.err conftest.$ac_ext | 
| 10648 | > | rm -f conftest.err conftest.$ac_ext | 
| 10649 |  | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 10650 |  | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 10651 |  |  | 
| 10736 |  | return 0; | 
| 10737 |  | } | 
| 10738 |  | _ACEOF | 
| 10739 | < | rm -rf conftest$ac_exeext | 
| 10739 | > | rm -f conftest$ac_exeext | 
| 10740 |  | if { (ac_try="$ac_link" | 
| 10741 |  | case "(($ac_try" in | 
| 10742 |  | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10765 |  | ( exit $ac_status ) | 
| 10766 |  | ac_cv_func_malloc_0_nonnull=no | 
| 10767 |  | fi | 
| 10768 | < | rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 10768 | > | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 10769 |  | fi | 
| 10770 |  |  | 
| 10771 |  |  | 
| 10798 |  |  | 
| 10799 |  |  | 
| 10800 |  |  | 
| 10801 | < | { echo "$as_me:$LINENO: checking for working memcmp" >&5 | 
| 10802 | < | echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } | 
| 10803 | < | if test "${ac_cv_func_memcmp_working+set}" = set; then | 
| 10801 | > |  | 
| 10802 | > | for ac_header in stdlib.h | 
| 10803 | > | do | 
| 10804 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 10805 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10806 | > | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10807 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 10808 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10809 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10810 | + | fi | 
| 10811 | + | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 10812 | + | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10813 | + | echo "${ECHO_T}$ac_res" >&6; } | 
| 10814 |  | else | 
| 10815 | < | if test "$cross_compiling" = yes; then | 
| 10816 | < | ac_cv_func_memcmp_working=no | 
| 10817 | < | else | 
| 10818 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10815 | > | # Is the header compilable? | 
| 10816 | > | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 10817 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 10818 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10819 |  | /* confdefs.h.  */ | 
| 10820 |  | _ACEOF | 
| 10821 |  | cat confdefs.h >>conftest.$ac_ext | 
| 10822 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 10823 |  | /* end confdefs.h.  */ | 
| 10824 |  | $ac_includes_default | 
| 10825 | < | #ifdef FC_DUMMY_MAIN | 
| 10826 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10827 | < | #  ifdef __cplusplus | 
| 10828 | < | extern "C" | 
| 10829 | < | #  endif | 
| 10830 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10831 | < | #endif | 
| 10832 | < | #endif | 
| 10833 | < | int | 
| 10834 | < | main () | 
| 10835 | < | { | 
| 10825 | > | #include <$ac_header> | 
| 10826 | > | _ACEOF | 
| 10827 | > | rm -f conftest.$ac_objext | 
| 10828 | > | if { (ac_try="$ac_compile" | 
| 10829 | > | case "(($ac_try" in | 
| 10830 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10831 | > | *) ac_try_echo=$ac_try;; | 
| 10832 | > | esac | 
| 10833 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10834 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 10835 | > | ac_status=$? | 
| 10836 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10837 | > | rm -f conftest.er1 | 
| 10838 | > | cat conftest.err >&5 | 
| 10839 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10840 | > | (exit $ac_status); } && { | 
| 10841 | > | test -z "$ac_c_werror_flag" || | 
| 10842 | > | test ! -s conftest.err | 
| 10843 | > | } && test -s conftest.$ac_objext; then | 
| 10844 | > | ac_header_compiler=yes | 
| 10845 | > | else | 
| 10846 | > | echo "$as_me: failed program was:" >&5 | 
| 10847 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10848 |  |  | 
| 10849 | < | /* Some versions of memcmp are not 8-bit clean.  */ | 
| 10850 | < | char c0 = '\100', c1 = '\200', c2 = '\201'; | 
| 9085 | < | if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 
| 9086 | < | return 1; | 
| 10849 | > | ac_header_compiler=no | 
| 10850 | > | fi | 
| 10851 |  |  | 
| 10852 | < | /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 
| 10853 | < | or more and with at least one buffer not starting on a 4-byte boundary. | 
| 10854 | < | William Lewis provided this test program.   */ | 
| 10855 | < | { | 
| 10856 | < | char foo[21]; | 
| 10857 | < | char bar[21]; | 
| 10858 | < | int i; | 
| 10859 | < | for (i = 0; i < 4; i++) | 
| 10860 | < | { | 
| 10861 | < | char *a = foo + i; | 
| 10862 | < | char *b = bar + i; | 
| 10863 | < | strcpy (a, "--------01111111"); | 
| 10864 | < | strcpy (b, "--------10000000"); | 
| 10865 | < | if (memcmp (a, b, 16) >= 0) | 
| 10866 | < | return 1; | 
| 10867 | < | } | 
| 10868 | < | return 0; | 
| 10869 | < | } | 
| 10870 | < |  | 
| 10871 | < | ; | 
| 10872 | < | return 0; | 
| 10873 | < | } | 
| 10874 | < | _ACEOF | 
| 10875 | < | rm -rf conftest$ac_exeext | 
| 10876 | < | if { (ac_try="$ac_link" | 
| 10877 | < | case "(($ac_try" in | 
| 10878 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10879 | < | *) ac_try_echo=$ac_try;; | 
| 10880 | < | esac | 
| 10881 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10882 | < | (eval "$ac_link") 2>&5 | 
| 10883 | < | ac_status=$? | 
| 10884 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10885 | < | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 10886 | < | { (case "(($ac_try" in | 
| 10887 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10888 | < | *) ac_try_echo=$ac_try;; | 
| 10889 | < | esac | 
| 10890 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10891 | < | (eval "$ac_try") 2>&5 | 
| 10892 | < | ac_status=$? | 
| 10893 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10894 | < | (exit $ac_status); }; }; then | 
| 10895 | < | ac_cv_func_memcmp_working=yes | 
| 10896 | < | else | 
| 10897 | < | echo "$as_me: program exited with status $ac_status" >&5 | 
| 10898 | < | echo "$as_me: failed program was:" >&5 | 
| 10899 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10900 | < |  | 
| 10901 | < | ( exit $ac_status ) | 
| 10902 | < | ac_cv_func_memcmp_working=no | 
| 10903 | < | fi | 
| 10904 | < | rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 10905 | < | fi | 
| 10906 | < |  | 
| 10907 | < |  | 
| 10908 | < | fi | 
| 10909 | < | { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 
| 10910 | < | echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } | 
| 10911 | < | test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in | 
| 10912 | < | *" memcmp.$ac_objext "* ) ;; | 
| 10913 | < | *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" | 
| 10914 | < | ;; | 
| 10915 | < | esac | 
| 10916 | < |  | 
| 10917 | < |  | 
| 10918 | < |  | 
| 10919 | < | for ac_header in stdlib.h | 
| 10920 | < | do | 
| 10921 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 10922 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10923 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10924 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 10925 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10926 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10927 | < | fi | 
| 10928 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 10929 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10930 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 10931 | < | else | 
| 10932 | < | # Is the header compilable? | 
| 10933 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 10934 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 10935 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10936 | < | /* confdefs.h.  */ | 
| 10937 | < | _ACEOF | 
| 10938 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10939 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10940 | < | /* end confdefs.h.  */ | 
| 10941 | < | $ac_includes_default | 
| 10942 | < | #include <$ac_header> | 
| 10943 | < | _ACEOF | 
| 10944 | < | rm -rf conftest.$ac_objext | 
| 10945 | < | if { (ac_try="$ac_compile" | 
| 10946 | < | case "(($ac_try" in | 
| 10947 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10948 | < | *) ac_try_echo=$ac_try;; | 
| 10949 | < | esac | 
| 10950 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10951 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 10952 | < | ac_status=$? | 
| 10953 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10954 | < | rm -f conftest.er1 | 
| 10955 | < | cat conftest.err >&5 | 
| 10956 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10957 | < | (exit $ac_status); } && { | 
| 10958 | < | test -z "$ac_c_werror_flag" || | 
| 10959 | < | test ! -s conftest.err | 
| 10960 | < | } && test -s conftest.$ac_objext; then | 
| 10961 | < | ac_header_compiler=yes | 
| 10962 | < | else | 
| 10963 | < | echo "$as_me: failed program was:" >&5 | 
| 10964 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10965 | < |  | 
| 10966 | < | ac_header_compiler=no | 
| 10967 | < | fi | 
| 10968 | < |  | 
| 10969 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10970 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 10971 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 10972 | < |  | 
| 10973 | < | # Is the header present? | 
| 10974 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 10975 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 10976 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10977 | < | /* confdefs.h.  */ | 
| 10978 | < | _ACEOF | 
| 10979 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10980 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10981 | < | /* end confdefs.h.  */ | 
| 10982 | < | #include <$ac_header> | 
| 10983 | < | _ACEOF | 
| 10984 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10985 | < | case "(($ac_try" in | 
| 10986 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10987 | < | *) ac_try_echo=$ac_try;; | 
| 10988 | < | esac | 
| 10989 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10990 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10991 | < | ac_status=$? | 
| 10992 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10993 | < | rm -f conftest.er1 | 
| 10994 | < | cat conftest.err >&5 | 
| 10995 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10996 | < | (exit $ac_status); } >/dev/null && { | 
| 10997 | < | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 10998 | < | test ! -s conftest.err | 
| 10999 | < | }; then | 
| 11000 | < | ac_header_preproc=yes | 
| 11001 | < | else | 
| 11002 | < | echo "$as_me: failed program was:" >&5 | 
| 11003 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11004 | < |  | 
| 11005 | < | ac_header_preproc=no | 
| 11006 | < | fi | 
| 11007 | < |  | 
| 11008 | < | rm -rf conftest.err conftest.$ac_ext | 
| 11009 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11010 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11011 | < |  | 
| 11012 | < | # So?  What about this header? | 
| 11013 | < | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 11014 | < | yes:no: ) | 
| 11015 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11016 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11017 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 11018 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 11019 | < | ac_header_preproc=yes | 
| 11020 | < | ;; | 
| 11021 | < | no:yes:* ) | 
| 11022 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 11023 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 11024 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 11025 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 11026 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 11027 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 11028 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11029 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11030 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 11031 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 11032 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 11033 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 11034 | < | ( cat <<\_ASBOX | 
| 11035 | < | ## ------------------------------ ## | 
| 11036 | < | ## Report this to gezelter@nd.edu ## | 
| 11037 | < | ## ------------------------------ ## | 
| 11038 | < | _ASBOX | 
| 11039 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11040 | < | ;; | 
| 11041 | < | esac | 
| 11042 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11043 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11044 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11045 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11046 | < | else | 
| 11047 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 11048 | < | fi | 
| 11049 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11050 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11051 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11052 | < |  | 
| 11053 | < | fi | 
| 11054 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 11055 | < | cat >>confdefs.h <<_ACEOF | 
| 11056 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 11057 | < | _ACEOF | 
| 11058 | < |  | 
| 11059 | < | fi | 
| 11060 | < |  | 
| 11061 | < | done | 
| 11062 | < |  | 
| 11063 | < | { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 | 
| 11064 | < | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } | 
| 11065 | < | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then | 
| 11066 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11067 | < | else | 
| 11068 | < | if test "$cross_compiling" = yes; then | 
| 11069 | < | ac_cv_func_realloc_0_nonnull=no | 
| 11070 | < | else | 
| 11071 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11072 | < | /* confdefs.h.  */ | 
| 11073 | < | _ACEOF | 
| 11074 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11075 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11076 | < | /* end confdefs.h.  */ | 
| 11077 | < | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | 
| 11078 | < | # include <stdlib.h> | 
| 11079 | < | #else | 
| 11080 | < | char *realloc (); | 
| 11081 | < | #endif | 
| 11082 | < |  | 
| 11083 | < | #ifdef FC_DUMMY_MAIN | 
| 11084 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11085 | < | #  ifdef __cplusplus | 
| 11086 | < | extern "C" | 
| 11087 | < | #  endif | 
| 11088 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11089 | < | #endif | 
| 11090 | < | #endif | 
| 11091 | < | int | 
| 11092 | < | main () | 
| 11093 | < | { | 
| 11094 | < | return ! realloc (0, 0); | 
| 11095 | < | ; | 
| 11096 | < | return 0; | 
| 11097 | < | } | 
| 11098 | < | _ACEOF | 
| 11099 | < | rm -rf conftest$ac_exeext | 
| 11100 | < | if { (ac_try="$ac_link" | 
| 11101 | < | case "(($ac_try" in | 
| 11102 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11103 | < | *) ac_try_echo=$ac_try;; | 
| 11104 | < | esac | 
| 11105 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11106 | < | (eval "$ac_link") 2>&5 | 
| 11107 | < | ac_status=$? | 
| 11108 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11109 | < | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 11110 | < | { (case "(($ac_try" in | 
| 11111 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11112 | < | *) ac_try_echo=$ac_try;; | 
| 11113 | < | esac | 
| 11114 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11115 | < | (eval "$ac_try") 2>&5 | 
| 11116 | < | ac_status=$? | 
| 11117 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11118 | < | (exit $ac_status); }; }; then | 
| 11119 | < | ac_cv_func_realloc_0_nonnull=yes | 
| 11120 | < | else | 
| 11121 | < | echo "$as_me: program exited with status $ac_status" >&5 | 
| 11122 | < | echo "$as_me: failed program was:" >&5 | 
| 11123 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11124 | < |  | 
| 11125 | < | ( exit $ac_status ) | 
| 11126 | < | ac_cv_func_realloc_0_nonnull=no | 
| 11127 | < | fi | 
| 11128 | < | rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 11129 | < | fi | 
| 11130 | < |  | 
| 11131 | < |  | 
| 11132 | < | fi | 
| 11133 | < | { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 | 
| 11134 | < | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } | 
| 11135 | < | if test $ac_cv_func_realloc_0_nonnull = yes; then | 
| 11136 | < |  | 
| 11137 | < | cat >>confdefs.h <<\_ACEOF | 
| 11138 | < | #define HAVE_REALLOC 1 | 
| 11139 | < | _ACEOF | 
| 11140 | < |  | 
| 11141 | < | else | 
| 11142 | < | cat >>confdefs.h <<\_ACEOF | 
| 11143 | < | #define HAVE_REALLOC 0 | 
| 11144 | < | _ACEOF | 
| 11145 | < |  | 
| 11146 | < | case " $LIBOBJS " in | 
| 11147 | < | *" realloc.$ac_objext "* ) ;; | 
| 11148 | < | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" | 
| 11149 | < | ;; | 
| 11150 | < | esac | 
| 11151 | < |  | 
| 11152 | < |  | 
| 11153 | < | cat >>confdefs.h <<\_ACEOF | 
| 11154 | < | #define realloc rpl_realloc | 
| 11155 | < | _ACEOF | 
| 11156 | < |  | 
| 11157 | < | fi | 
| 11158 | < |  | 
| 11159 | < |  | 
| 11160 | < |  | 
| 11161 | < |  | 
| 11162 | < |  | 
| 11163 | < | for ac_header in sys/select.h sys/socket.h | 
| 11164 | < | do | 
| 11165 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 11166 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11167 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11168 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11169 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11170 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11171 | < | fi | 
| 11172 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11173 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11174 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11175 | < | else | 
| 11176 | < | # Is the header compilable? | 
| 11177 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 11178 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 11179 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11180 | < | /* confdefs.h.  */ | 
| 11181 | < | _ACEOF | 
| 11182 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11183 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11184 | < | /* end confdefs.h.  */ | 
| 11185 | < | $ac_includes_default | 
| 11186 | < | #include <$ac_header> | 
| 11187 | < | _ACEOF | 
| 11188 | < | rm -rf conftest.$ac_objext | 
| 11189 | < | if { (ac_try="$ac_compile" | 
| 11190 | < | case "(($ac_try" in | 
| 11191 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11192 | < | *) ac_try_echo=$ac_try;; | 
| 11193 | < | esac | 
| 11194 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11195 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11196 | < | ac_status=$? | 
| 11197 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11198 | < | rm -f conftest.er1 | 
| 11199 | < | cat conftest.err >&5 | 
| 11200 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11201 | < | (exit $ac_status); } && { | 
| 11202 | < | test -z "$ac_c_werror_flag" || | 
| 11203 | < | test ! -s conftest.err | 
| 11204 | < | } && test -s conftest.$ac_objext; then | 
| 11205 | < | ac_header_compiler=yes | 
| 11206 | < | else | 
| 11207 | < | echo "$as_me: failed program was:" >&5 | 
| 11208 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11209 | < |  | 
| 11210 | < | ac_header_compiler=no | 
| 11211 | < | fi | 
| 11212 | < |  | 
| 11213 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11214 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11215 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11216 | < |  | 
| 11217 | < | # Is the header present? | 
| 11218 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 11219 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 11220 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11221 | < | /* confdefs.h.  */ | 
| 11222 | < | _ACEOF | 
| 11223 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11224 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11225 | < | /* end confdefs.h.  */ | 
| 11226 | < | #include <$ac_header> | 
| 11227 | < | _ACEOF | 
| 11228 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11229 | < | case "(($ac_try" in | 
| 11230 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11231 | < | *) ac_try_echo=$ac_try;; | 
| 11232 | < | esac | 
| 11233 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11234 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11235 | < | ac_status=$? | 
| 11236 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11237 | < | rm -f conftest.er1 | 
| 11238 | < | cat conftest.err >&5 | 
| 11239 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11240 | < | (exit $ac_status); } >/dev/null && { | 
| 11241 | < | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 11242 | < | test ! -s conftest.err | 
| 11243 | < | }; then | 
| 11244 | < | ac_header_preproc=yes | 
| 11245 | < | else | 
| 11246 | < | echo "$as_me: failed program was:" >&5 | 
| 11247 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11248 | < |  | 
| 11249 | < | ac_header_preproc=no | 
| 11250 | < | fi | 
| 11251 | < |  | 
| 11252 | < | rm -rf conftest.err conftest.$ac_ext | 
| 11253 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11254 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11255 | < |  | 
| 11256 | < | # So?  What about this header? | 
| 11257 | < | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 11258 | < | yes:no: ) | 
| 11259 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11260 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11261 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 11262 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 11263 | < | ac_header_preproc=yes | 
| 11264 | < | ;; | 
| 11265 | < | no:yes:* ) | 
| 11266 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 11267 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 11268 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 11269 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 11270 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 11271 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 11272 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11273 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11274 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 11275 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 11276 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 11277 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 11278 | < | ( cat <<\_ASBOX | 
| 11279 | < | ## ------------------------------ ## | 
| 11280 | < | ## Report this to gezelter@nd.edu ## | 
| 11281 | < | ## ------------------------------ ## | 
| 11282 | < | _ASBOX | 
| 11283 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11284 | < | ;; | 
| 11285 | < | esac | 
| 11286 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11287 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11288 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11289 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11290 | < | else | 
| 11291 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 11292 | < | fi | 
| 11293 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11294 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11295 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11296 | < |  | 
| 11297 | < | fi | 
| 11298 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 11299 | < | cat >>confdefs.h <<_ACEOF | 
| 11300 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 11301 | < | _ACEOF | 
| 11302 | < |  | 
| 11303 | < | fi | 
| 11304 | < |  | 
| 11305 | < | done | 
| 11306 | < |  | 
| 11307 | < | { echo "$as_me:$LINENO: checking types of arguments for select" >&5 | 
| 11308 | < | echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; } | 
| 11309 | < | if test "${ac_cv_func_select_args+set}" = set; then | 
| 11310 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11311 | < | else | 
| 11312 | < | for ac_arg234 in 'fd_set *' 'int *' 'void *'; do | 
| 11313 | < | for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do | 
| 11314 | < | for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do | 
| 11315 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11316 | < | /* confdefs.h.  */ | 
| 11317 | < | _ACEOF | 
| 11318 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11319 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11320 | < | /* end confdefs.h.  */ | 
| 11321 | < | $ac_includes_default | 
| 11322 | < | #ifdef HAVE_SYS_SELECT_H | 
| 11323 | < | # include <sys/select.h> | 
| 11324 | < | #endif | 
| 11325 | < | #ifdef HAVE_SYS_SOCKET_H | 
| 11326 | < | # include <sys/socket.h> | 
| 11327 | < | #endif | 
| 11328 | < |  | 
| 11329 | < | #ifdef FC_DUMMY_MAIN | 
| 11330 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11331 | < | #  ifdef __cplusplus | 
| 11332 | < | extern "C" | 
| 11333 | < | #  endif | 
| 11334 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11335 | < | #endif | 
| 11336 | < | #endif | 
| 11337 | < | int | 
| 11338 | < | main () | 
| 11339 | < | { | 
| 11340 | < | extern int select ($ac_arg1, | 
| 11341 | < | $ac_arg234, $ac_arg234, $ac_arg234, | 
| 11342 | < | $ac_arg5); | 
| 11343 | < | ; | 
| 11344 | < | return 0; | 
| 11345 | < | } | 
| 11346 | < | _ACEOF | 
| 11347 | < | rm -rf conftest.$ac_objext | 
| 11348 | < | if { (ac_try="$ac_compile" | 
| 11349 | < | case "(($ac_try" in | 
| 11350 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11351 | < | *) ac_try_echo=$ac_try;; | 
| 11352 | < | esac | 
| 11353 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11354 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11355 | < | ac_status=$? | 
| 11356 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11357 | < | rm -f conftest.er1 | 
| 11358 | < | cat conftest.err >&5 | 
| 11359 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11360 | < | (exit $ac_status); } && { | 
| 11361 | < | test -z "$ac_c_werror_flag" || | 
| 11362 | < | test ! -s conftest.err | 
| 11363 | < | } && test -s conftest.$ac_objext; then | 
| 11364 | < | ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 | 
| 11365 | < | else | 
| 11366 | < | echo "$as_me: failed program was:" >&5 | 
| 11367 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11368 | < |  | 
| 11369 | < |  | 
| 11370 | < | fi | 
| 11371 | < |  | 
| 11372 | < | rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11373 | < | done | 
| 11374 | < | done | 
| 11375 | < | done | 
| 11376 | < | # Provide a safe default value. | 
| 11377 | < | : ${ac_cv_func_select_args='int,int *,struct timeval *'} | 
| 11378 | < |  | 
| 11379 | < | fi | 
| 11380 | < | { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 | 
| 11381 | < | echo "${ECHO_T}$ac_cv_func_select_args" >&6; } | 
| 11382 | < | ac_save_IFS=$IFS; IFS=',' | 
| 11383 | < | set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` | 
| 11384 | < | IFS=$ac_save_IFS | 
| 11385 | < | shift | 
| 11386 | < |  | 
| 11387 | < | cat >>confdefs.h <<_ACEOF | 
| 11388 | < | #define SELECT_TYPE_ARG1 $1 | 
| 11389 | < | _ACEOF | 
| 11390 | < |  | 
| 11391 | < |  | 
| 11392 | < | cat >>confdefs.h <<_ACEOF | 
| 11393 | < | #define SELECT_TYPE_ARG234 ($2) | 
| 11394 | < | _ACEOF | 
| 11395 | < |  | 
| 11396 | < |  | 
| 11397 | < | cat >>confdefs.h <<_ACEOF | 
| 11398 | < | #define SELECT_TYPE_ARG5 ($3) | 
| 11399 | < | _ACEOF | 
| 11400 | < |  | 
| 11401 | < | rm -rf conftest* | 
| 11402 | < |  | 
| 11403 | < |  | 
| 11404 | < | for ac_func in strftime | 
| 11405 | < | do | 
| 11406 | < | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 11407 | < | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 11408 | < | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 
| 11409 | < | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11410 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11411 | < | else | 
| 11412 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11413 | < | /* confdefs.h.  */ | 
| 11414 | < | _ACEOF | 
| 11415 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11416 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11417 | < | /* end confdefs.h.  */ | 
| 11418 | < | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 11419 | < | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 11420 | < | #define $ac_func innocuous_$ac_func | 
| 11421 | < |  | 
| 11422 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 11423 | < | which can conflict with char $ac_func (); below. | 
| 11424 | < | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 11425 | < | <limits.h> exists even on freestanding compilers.  */ | 
| 11426 | < |  | 
| 11427 | < | #ifdef __STDC__ | 
| 11428 | < | # include <limits.h> | 
| 11429 | < | #else | 
| 11430 | < | # include <assert.h> | 
| 11431 | < | #endif | 
| 11432 | < |  | 
| 11433 | < | #undef $ac_func | 
| 11434 | < |  | 
| 11435 | < | /* Override any GCC internal prototype to avoid an error. | 
| 11436 | < | Use char because int might match the return type of a GCC | 
| 11437 | < | builtin and then its argument prototype would still apply.  */ | 
| 11438 | < | #ifdef __cplusplus | 
| 11439 | < | extern "C" | 
| 11440 | < | #endif | 
| 11441 | < | char $ac_func (); | 
| 11442 | < | /* The GNU C library defines this for functions which it implements | 
| 11443 | < | to always fail with ENOSYS.  Some functions are actually named | 
| 11444 | < | something starting with __ and the normal name is an alias.  */ | 
| 11445 | < | #if defined __stub_$ac_func || defined __stub___$ac_func | 
| 11446 | < | choke me | 
| 11447 | < | #endif | 
| 11448 | < |  | 
| 11449 | < | #ifdef FC_DUMMY_MAIN | 
| 11450 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11451 | < | #  ifdef __cplusplus | 
| 11452 | < | extern "C" | 
| 11453 | < | #  endif | 
| 11454 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11455 | < | #endif | 
| 11456 | < | #endif | 
| 11457 | < | int | 
| 11458 | < | main () | 
| 11459 | < | { | 
| 11460 | < | return $ac_func (); | 
| 11461 | < | ; | 
| 11462 | < | return 0; | 
| 11463 | < | } | 
| 11464 | < | _ACEOF | 
| 11465 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 11466 | < | if { (ac_try="$ac_link" | 
| 11467 | < | case "(($ac_try" in | 
| 11468 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11469 | < | *) ac_try_echo=$ac_try;; | 
| 11470 | < | esac | 
| 11471 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11472 | < | (eval "$ac_link") 2>conftest.er1 | 
| 11473 | < | ac_status=$? | 
| 11474 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11475 | < | rm -f conftest.er1 | 
| 11476 | < | cat conftest.err >&5 | 
| 11477 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11478 | < | (exit $ac_status); } && { | 
| 11479 | < | test -z "$ac_c_werror_flag" || | 
| 11480 | < | test ! -s conftest.err | 
| 11481 | < | } && test -s conftest$ac_exeext && | 
| 11482 | < | $as_test_x conftest$ac_exeext; then | 
| 11483 | < | eval "$as_ac_var=yes" | 
| 11484 | < | else | 
| 11485 | < | echo "$as_me: failed program was:" >&5 | 
| 11486 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11487 | < |  | 
| 11488 | < | eval "$as_ac_var=no" | 
| 11489 | < | fi | 
| 11490 | < |  | 
| 11491 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 11492 | < | conftest$ac_exeext conftest.$ac_ext | 
| 11493 | < | fi | 
| 11494 | < | ac_res=`eval echo '${'$as_ac_var'}'` | 
| 11495 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11496 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11497 | < | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 11498 | < | cat >>confdefs.h <<_ACEOF | 
| 11499 | < | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 11500 | < | _ACEOF | 
| 11501 | < |  | 
| 11502 | < | else | 
| 11503 | < | # strftime is in -lintl on SCO UNIX. | 
| 11504 | < | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 
| 11505 | < | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } | 
| 11506 | < | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 
| 11507 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11508 | < | else | 
| 11509 | < | ac_check_lib_save_LIBS=$LIBS | 
| 11510 | < | LIBS="-lintl  $LIBS" | 
| 11511 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11512 | < | /* confdefs.h.  */ | 
| 11513 | < | _ACEOF | 
| 11514 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11515 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11516 | < | /* end confdefs.h.  */ | 
| 11517 | < |  | 
| 11518 | < | /* Override any GCC internal prototype to avoid an error. | 
| 11519 | < | Use char because int might match the return type of a GCC | 
| 11520 | < | builtin and then its argument prototype would still apply.  */ | 
| 11521 | < | #ifdef __cplusplus | 
| 11522 | < | extern "C" | 
| 11523 | < | #endif | 
| 11524 | < | char strftime (); | 
| 11525 | < | #ifdef FC_DUMMY_MAIN | 
| 11526 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11527 | < | #  ifdef __cplusplus | 
| 11528 | < | extern "C" | 
| 11529 | < | #  endif | 
| 11530 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11531 | < | #endif | 
| 11532 | < | #endif | 
| 11533 | < | int | 
| 11534 | < | main () | 
| 11535 | < | { | 
| 11536 | < | return strftime (); | 
| 11537 | < | ; | 
| 11538 | < | return 0; | 
| 11539 | < | } | 
| 11540 | < | _ACEOF | 
| 11541 | < | rm -rf conftest.$ac_objext conftest$ac_exeext | 
| 11542 | < | if { (ac_try="$ac_link" | 
| 11543 | < | case "(($ac_try" in | 
| 11544 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11545 | < | *) ac_try_echo=$ac_try;; | 
| 11546 | < | esac | 
| 11547 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11548 | < | (eval "$ac_link") 2>conftest.er1 | 
| 11549 | < | ac_status=$? | 
| 11550 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11551 | < | rm -f conftest.er1 | 
| 11552 | < | cat conftest.err >&5 | 
| 11553 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11554 | < | (exit $ac_status); } && { | 
| 11555 | < | test -z "$ac_c_werror_flag" || | 
| 11556 | < | test ! -s conftest.err | 
| 11557 | < | } && test -s conftest$ac_exeext && | 
| 11558 | < | $as_test_x conftest$ac_exeext; then | 
| 11559 | < | ac_cv_lib_intl_strftime=yes | 
| 11560 | < | else | 
| 11561 | < | echo "$as_me: failed program was:" >&5 | 
| 11562 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11563 | < |  | 
| 11564 | < | ac_cv_lib_intl_strftime=no | 
| 11565 | < | fi | 
| 11566 | < |  | 
| 11567 | < | rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 11568 | < | conftest$ac_exeext conftest.$ac_ext | 
| 11569 | < | LIBS=$ac_check_lib_save_LIBS | 
| 11570 | < | fi | 
| 11571 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 
| 11572 | < | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } | 
| 11573 | < | if test $ac_cv_lib_intl_strftime = yes; then | 
| 11574 | < | cat >>confdefs.h <<\_ACEOF | 
| 11575 | < | #define HAVE_STRFTIME 1 | 
| 11576 | < | _ACEOF | 
| 11577 | < |  | 
| 11578 | < | LIBS="-lintl $LIBS" | 
| 11579 | < | fi | 
| 11580 | < |  | 
| 11581 | < | fi | 
| 11582 | < | done | 
| 11583 | < |  | 
| 11584 | < | { echo "$as_me:$LINENO: checking for working strtod" >&5 | 
| 11585 | < | echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; } | 
| 11586 | < | if test "${ac_cv_func_strtod+set}" = set; then | 
| 11587 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11588 | < | else | 
| 11589 | < | if test "$cross_compiling" = yes; then | 
| 11590 | < | ac_cv_func_strtod=no | 
| 11591 | < | else | 
| 11592 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11593 | < | /* confdefs.h.  */ | 
| 11594 | < | _ACEOF | 
| 11595 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11596 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11597 | < | /* end confdefs.h.  */ | 
| 11598 | < |  | 
| 11599 | < | $ac_includes_default | 
| 11600 | < | #ifndef strtod | 
| 11601 | < | double strtod (); | 
| 11602 | < | #endif | 
| 11603 | < | int | 
| 11604 | < | main() | 
| 11605 | < | { | 
| 11606 | < | { | 
| 11607 | < | /* Some versions of Linux strtod mis-parse strings with leading '+'.  */ | 
| 11608 | < | char *string = " +69"; | 
| 11609 | < | char *term; | 
| 11610 | < | double value; | 
| 11611 | < | value = strtod (string, &term); | 
| 11612 | < | if (value != 69 || term != (string + 4)) | 
| 11613 | < | return 1; | 
| 11614 | < | } | 
| 11615 | < |  | 
| 11616 | < | { | 
| 11617 | < | /* Under Solaris 2.4, strtod returns the wrong value for the | 
| 11618 | < | terminating character under some conditions.  */ | 
| 11619 | < | char *string = "NaN"; | 
| 11620 | < | char *term; | 
| 11621 | < | strtod (string, &term); | 
| 11622 | < | if (term != string && *(term - 1) == 0) | 
| 11623 | < | return 1; | 
| 11624 | < | } | 
| 11625 | < | return 0; | 
| 11626 | < | } | 
| 11627 | < |  | 
| 11628 | < | _ACEOF | 
| 11629 | < | rm -f conftest$ac_exeext | 
| 11630 | < | if { (ac_try="$ac_link" | 
| 11631 | < | case "(($ac_try" in | 
| 11632 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11633 | < | *) ac_try_echo=$ac_try;; | 
| 11634 | < | esac | 
| 11635 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11636 | < | (eval "$ac_link") 2>&5 | 
| 11637 | < | ac_status=$? | 
| 11638 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11639 | < | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 11640 | < | { (case "(($ac_try" in | 
| 11641 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11642 | < | *) ac_try_echo=$ac_try;; | 
| 11643 | < | esac | 
| 11644 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11645 | < | (eval "$ac_try") 2>&5 | 
| 11646 | < | ac_status=$? | 
| 11647 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11648 | < | (exit $ac_status); }; }; then | 
| 11649 | < | ac_cv_func_strtod=yes | 
| 11650 | < | else | 
| 11651 | < | echo "$as_me: program exited with status $ac_status" >&5 | 
| 11652 | < | echo "$as_me: failed program was:" >&5 | 
| 11653 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11654 | < |  | 
| 11655 | < | ( exit $ac_status ) | 
| 11656 | < | ac_cv_func_strtod=no | 
| 11657 | < | fi | 
| 11658 | < | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 11659 | < | fi | 
| 11660 | < |  | 
| 11661 | < |  | 
| 11662 | < | fi | 
| 11663 | < | { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 | 
| 11664 | < | echo "${ECHO_T}$ac_cv_func_strtod" >&6; } | 
| 11665 | < | if test $ac_cv_func_strtod = no; then | 
| 11666 | < | case " $LIBOBJS " in | 
| 11667 | < | *" strtod.$ac_objext "* ) ;; | 
| 11668 | < | *) LIBOBJS="$LIBOBJS strtod.$ac_objext" | 
| 11669 | < | ;; | 
| 11670 | < | esac | 
| 11671 | < |  | 
| 11672 | < | { echo "$as_me:$LINENO: checking for pow" >&5 | 
| 11673 | < | echo $ECHO_N "checking for pow... $ECHO_C" >&6; } | 
| 11674 | < | if test "${ac_cv_func_pow+set}" = set; then | 
| 11675 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11676 | < | else | 
| 11677 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11678 | < | /* confdefs.h.  */ | 
| 11679 | < | _ACEOF | 
| 11680 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11681 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11682 | < | /* end confdefs.h.  */ | 
| 11683 | < | /* Define pow to an innocuous variant, in case <limits.h> declares pow. | 
| 11684 | < | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 11685 | < | #define pow innocuous_pow | 
| 11686 | < |  | 
| 11687 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 11688 | < | which can conflict with char pow (); below. | 
| 11689 | < | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 11690 | < | <limits.h> exists even on freestanding compilers.  */ | 
| 11691 | < |  | 
| 11692 | < | #ifdef __STDC__ | 
| 11693 | < | # include <limits.h> | 
| 11694 | < | #else | 
| 11695 | < | # include <assert.h> | 
| 11696 | < | #endif | 
| 11697 | < |  | 
| 11698 | < | #undef pow | 
| 11699 | < |  | 
| 11700 | < | /* Override any GCC internal prototype to avoid an error. | 
| 11701 | < | Use char because int might match the return type of a GCC | 
| 11702 | < | builtin and then its argument prototype would still apply.  */ | 
| 11703 | < | #ifdef __cplusplus | 
| 11704 | < | extern "C" | 
| 11705 | < | #endif | 
| 11706 | < | char pow (); | 
| 11707 | < | /* The GNU C library defines this for functions which it implements | 
| 11708 | < | to always fail with ENOSYS.  Some functions are actually named | 
| 11709 | < | something starting with __ and the normal name is an alias.  */ | 
| 11710 | < | #if defined __stub_pow || defined __stub___pow | 
| 11711 | < | choke me | 
| 11712 | < | #endif | 
| 11713 | < |  | 
| 11714 | < | #ifdef FC_DUMMY_MAIN | 
| 11715 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11716 | < | #  ifdef __cplusplus | 
| 11717 | < | extern "C" | 
| 11718 | < | #  endif | 
| 11719 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11720 | < | #endif | 
| 11721 | < | #endif | 
| 11722 | < | int | 
| 11723 | < | main () | 
| 11724 | < | { | 
| 11725 | < | return pow (); | 
| 11726 | < | ; | 
| 11727 | < | return 0; | 
| 11728 | < | } | 
| 11729 | < | _ACEOF | 
| 11730 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11731 | < | if { (ac_try="$ac_link" | 
| 11732 | < | case "(($ac_try" in | 
| 11733 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11734 | < | *) ac_try_echo=$ac_try;; | 
| 11735 | < | esac | 
| 11736 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11737 | < | (eval "$ac_link") 2>conftest.er1 | 
| 11738 | < | ac_status=$? | 
| 11739 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11740 | < | rm -f conftest.er1 | 
| 11741 | < | cat conftest.err >&5 | 
| 11742 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11743 | < | (exit $ac_status); } && { | 
| 11744 | < | test -z "$ac_c_werror_flag" || | 
| 11745 | < | test ! -s conftest.err | 
| 11746 | < | } && test -s conftest$ac_exeext && | 
| 11747 | < | $as_test_x conftest$ac_exeext; then | 
| 11748 | < | ac_cv_func_pow=yes | 
| 11749 | < | else | 
| 11750 | < | echo "$as_me: failed program was:" >&5 | 
| 11751 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11752 | < |  | 
| 11753 | < | ac_cv_func_pow=no | 
| 11754 | < | fi | 
| 11755 | < |  | 
| 11756 | < | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 11757 | < | conftest$ac_exeext conftest.$ac_ext | 
| 11758 | < | fi | 
| 11759 | < | { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 | 
| 11760 | < | echo "${ECHO_T}$ac_cv_func_pow" >&6; } | 
| 11761 | < |  | 
| 11762 | < | if test $ac_cv_func_pow = no; then | 
| 11763 | < | { echo "$as_me:$LINENO: checking for pow in -lm" >&5 | 
| 11764 | < | echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; } | 
| 11765 | < | if test "${ac_cv_lib_m_pow+set}" = set; then | 
| 11766 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11767 | < | else | 
| 11768 | < | ac_check_lib_save_LIBS=$LIBS | 
| 11769 | < | LIBS="-lm  $LIBS" | 
| 11770 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11771 | < | /* confdefs.h.  */ | 
| 11772 | < | _ACEOF | 
| 11773 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11774 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11775 | < | /* end confdefs.h.  */ | 
| 11776 | < |  | 
| 11777 | < | /* Override any GCC internal prototype to avoid an error. | 
| 11778 | < | Use char because int might match the return type of a GCC | 
| 11779 | < | builtin and then its argument prototype would still apply.  */ | 
| 11780 | < | #ifdef __cplusplus | 
| 11781 | < | extern "C" | 
| 11782 | < | #endif | 
| 11783 | < | char pow (); | 
| 11784 | < | #ifdef FC_DUMMY_MAIN | 
| 11785 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11786 | < | #  ifdef __cplusplus | 
| 11787 | < | extern "C" | 
| 11788 | < | #  endif | 
| 11789 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11790 | < | #endif | 
| 11791 | < | #endif | 
| 11792 | < | int | 
| 11793 | < | main () | 
| 11794 | < | { | 
| 11795 | < | return pow (); | 
| 11796 | < | ; | 
| 11797 | < | return 0; | 
| 11798 | < | } | 
| 11799 | < | _ACEOF | 
| 11800 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11801 | < | if { (ac_try="$ac_link" | 
| 11802 | < | case "(($ac_try" in | 
| 11803 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11804 | < | *) ac_try_echo=$ac_try;; | 
| 11805 | < | esac | 
| 11806 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11807 | < | (eval "$ac_link") 2>conftest.er1 | 
| 11808 | < | ac_status=$? | 
| 11809 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11810 | < | rm -f conftest.er1 | 
| 11811 | < | cat conftest.err >&5 | 
| 11812 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11813 | < | (exit $ac_status); } && { | 
| 11814 | < | test -z "$ac_c_werror_flag" || | 
| 11815 | < | test ! -s conftest.err | 
| 11816 | < | } && test -s conftest$ac_exeext && | 
| 11817 | < | $as_test_x conftest$ac_exeext; then | 
| 11818 | < | ac_cv_lib_m_pow=yes | 
| 11819 | < | else | 
| 10056 | < | echo "$as_me: failed program was:" >&5 | 
| 10057 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10058 | < |  | 
| 10059 | < | ac_cv_lib_m_pow=no | 
| 10060 | < | fi | 
| 10061 | < |  | 
| 10062 | < | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 10063 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10064 | < | LIBS=$ac_check_lib_save_LIBS | 
| 10065 | < | fi | 
| 10066 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 | 
| 10067 | < | echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; } | 
| 10068 | < | if test $ac_cv_lib_m_pow = yes; then | 
| 10069 | < | POW_LIB=-lm | 
| 10070 | < | else | 
| 10071 | < | { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 | 
| 10072 | < | echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} | 
| 10073 | < | fi | 
| 10074 | < |  | 
| 10075 | < | fi | 
| 10076 | < |  | 
| 10077 | < | fi | 
| 10078 | < |  | 
| 10079 | < |  | 
| 10080 | < |  | 
| 10081 | < |  | 
| 10082 | < |  | 
| 10083 | < |  | 
| 10084 | < |  | 
| 10085 | < |  | 
| 10086 | < |  | 
| 10087 | < |  | 
| 10088 | < |  | 
| 10089 | < |  | 
| 10090 | < |  | 
| 10091 | < |  | 
| 10092 | < |  | 
| 10093 | < |  | 
| 10094 | < |  | 
| 10095 | < |  | 
| 10096 | < |  | 
| 10097 | < |  | 
| 10098 | < |  | 
| 10099 | < |  | 
| 10100 | < |  | 
| 10101 | < |  | 
| 10102 | < |  | 
| 10103 | < |  | 
| 10104 | < |  | 
| 10105 | < |  | 
| 10106 | < | 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 | 
| 10107 | < | do | 
| 10108 | < | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 10109 | < | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 10110 | < | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 
| 10111 | < | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10112 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10113 | < | else | 
| 10114 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10115 | < | /* confdefs.h.  */ | 
| 10116 | < | _ACEOF | 
| 10117 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10118 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10119 | < | /* end confdefs.h.  */ | 
| 10120 | < | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 10121 | < | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 10122 | < | #define $ac_func innocuous_$ac_func | 
| 10123 | < |  | 
| 10124 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 10125 | < | which can conflict with char $ac_func (); below. | 
| 10126 | < | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 10127 | < | <limits.h> exists even on freestanding compilers.  */ | 
| 10128 | < |  | 
| 10129 | < | #ifdef __STDC__ | 
| 10130 | < | # include <limits.h> | 
| 10131 | < | #else | 
| 10132 | < | # include <assert.h> | 
| 10133 | < | #endif | 
| 10134 | < |  | 
| 10135 | < | #undef $ac_func | 
| 10136 | < |  | 
| 10137 | < | /* Override any GCC internal prototype to avoid an error. | 
| 10138 | < | Use char because int might match the return type of a GCC | 
| 10139 | < | builtin and then its argument prototype would still apply.  */ | 
| 10140 | < | #ifdef __cplusplus | 
| 10141 | < | extern "C" | 
| 10142 | < | #endif | 
| 10143 | < | char $ac_func (); | 
| 10144 | < | /* The GNU C library defines this for functions which it implements | 
| 10145 | < | to always fail with ENOSYS.  Some functions are actually named | 
| 10146 | < | something starting with __ and the normal name is an alias.  */ | 
| 10147 | < | #if defined __stub_$ac_func || defined __stub___$ac_func | 
| 10148 | < | choke me | 
| 10149 | < | #endif | 
| 10150 | < |  | 
| 10151 | < | #ifdef FC_DUMMY_MAIN | 
| 10152 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10153 | < | #  ifdef __cplusplus | 
| 10154 | < | extern "C" | 
| 10155 | < | #  endif | 
| 10156 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10157 | < | #endif | 
| 10158 | < | #endif | 
| 10159 | < | int | 
| 10160 | < | main () | 
| 10161 | < | { | 
| 10162 | < | return $ac_func (); | 
| 10163 | < | ; | 
| 10164 | < | return 0; | 
| 10165 | < | } | 
| 10166 | < | _ACEOF | 
| 10167 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10168 | < | if { (ac_try="$ac_link" | 
| 10169 | < | case "(($ac_try" in | 
| 10170 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10171 | < | *) ac_try_echo=$ac_try;; | 
| 10172 | < | esac | 
| 10173 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10174 | < | (eval "$ac_link") 2>conftest.er1 | 
| 10175 | < | ac_status=$? | 
| 10176 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10177 | < | rm -f conftest.er1 | 
| 10178 | < | cat conftest.err >&5 | 
| 10179 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10180 | < | (exit $ac_status); } && { | 
| 10181 | < | test -z "$ac_c_werror_flag" || | 
| 10182 | < | test ! -s conftest.err | 
| 10183 | < | } && test -s conftest$ac_exeext && | 
| 10184 | < | $as_test_x conftest$ac_exeext; then | 
| 10185 | < | eval "$as_ac_var=yes" | 
| 10186 | < | else | 
| 10187 | < | echo "$as_me: failed program was:" >&5 | 
| 10188 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10189 | < |  | 
| 10190 | < | eval "$as_ac_var=no" | 
| 10191 | < | fi | 
| 10192 | < |  | 
| 10193 | < | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 10194 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10195 | < | fi | 
| 10196 | < | ac_res=`eval echo '${'$as_ac_var'}'` | 
| 10197 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10198 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 10199 | < | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 10200 | < | cat >>confdefs.h <<_ACEOF | 
| 10201 | < | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 10202 | < | _ACEOF | 
| 10203 | < |  | 
| 10204 | < | fi | 
| 10205 | < | done | 
| 10206 | < |  | 
| 10207 | < |  | 
| 10208 | < | # special check for _system_configuration because AIX <4.3.2 do not | 
| 10209 | < | # contain the `physmem' member. | 
| 10210 | < | { echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 | 
| 10211 | < | echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; } | 
| 10212 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10213 | < | /* confdefs.h.  */ | 
| 10214 | < | _ACEOF | 
| 10215 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10216 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10217 | < | /* end confdefs.h.  */ | 
| 10218 | < | #include <sys/systemcfg.h> | 
| 10219 | < | #ifdef FC_DUMMY_MAIN | 
| 10220 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10221 | < | #  ifdef __cplusplus | 
| 10222 | < | extern "C" | 
| 10223 | < | #  endif | 
| 10224 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10225 | < | #endif | 
| 10226 | < | #endif | 
| 10227 | < | int | 
| 10228 | < | main () | 
| 10229 | < | { | 
| 10230 | < | double x = _system_configuration.physmem; | 
| 10231 | < | ; | 
| 10232 | < | return 0; | 
| 10233 | < | } | 
| 10234 | < | _ACEOF | 
| 10235 | < | rm -f conftest.$ac_objext | 
| 10236 | < | if { (ac_try="$ac_compile" | 
| 10237 | < | case "(($ac_try" in | 
| 10238 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10239 | < | *) ac_try_echo=$ac_try;; | 
| 10240 | < | esac | 
| 10241 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10242 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 10243 | < | ac_status=$? | 
| 10244 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10245 | < | rm -f conftest.er1 | 
| 10246 | < | cat conftest.err >&5 | 
| 10247 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10248 | < | (exit $ac_status); } && { | 
| 10249 | < | test -z "$ac_c_werror_flag" || | 
| 10250 | < | test ! -s conftest.err | 
| 10251 | < | } && test -s conftest.$ac_objext; then | 
| 10252 | < | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 10253 | < | echo "${ECHO_T}yes" >&6; } | 
| 10254 | < |  | 
| 10255 | < | cat >>confdefs.h <<\_ACEOF | 
| 10256 | < | #define HAVE__SYSTEM_CONFIGURATION 1 | 
| 10257 | < | _ACEOF | 
| 10258 | < |  | 
| 10259 | < | else | 
| 10260 | < | echo "$as_me: failed program was:" >&5 | 
| 10261 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10262 | < |  | 
| 10263 | < | { echo "$as_me:$LINENO: result: no" >&5 | 
| 10264 | < | echo "${ECHO_T}no" >&6; } | 
| 10265 | < | fi | 
| 10266 | < |  | 
| 10267 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10268 | < |  | 
| 10269 | < | # clean out junk possibly left behind by a previous configuration | 
| 10270 | < | rm -f src/getopt.h | 
| 10271 | < | # Check for getopt_long support | 
| 10272 | < |  | 
| 10273 | < | for ac_header in getopt.h | 
| 10274 | < | do | 
| 10275 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 10276 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10277 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10278 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 10279 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10280 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10281 | < | fi | 
| 10282 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 10283 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10284 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 10285 | < | else | 
| 10286 | < | # Is the header compilable? | 
| 10287 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 10288 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 10289 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10290 | < | /* confdefs.h.  */ | 
| 10291 | < | _ACEOF | 
| 10292 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10293 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10294 | < | /* end confdefs.h.  */ | 
| 10295 | < | $ac_includes_default | 
| 10296 | < | #include <$ac_header> | 
| 10297 | < | _ACEOF | 
| 10298 | < | rm -f conftest.$ac_objext | 
| 10299 | < | if { (ac_try="$ac_compile" | 
| 10300 | < | case "(($ac_try" in | 
| 10301 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10302 | < | *) ac_try_echo=$ac_try;; | 
| 10303 | < | esac | 
| 10304 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10305 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 10306 | < | ac_status=$? | 
| 10307 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10308 | < | rm -f conftest.er1 | 
| 10309 | < | cat conftest.err >&5 | 
| 10310 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10311 | < | (exit $ac_status); } && { | 
| 10312 | < | test -z "$ac_c_werror_flag" || | 
| 10313 | < | test ! -s conftest.err | 
| 10314 | < | } && test -s conftest.$ac_objext; then | 
| 10315 | < | ac_header_compiler=yes | 
| 10316 | < | else | 
| 10317 | < | echo "$as_me: failed program was:" >&5 | 
| 10318 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10319 | < |  | 
| 10320 | < | ac_header_compiler=no | 
| 10321 | < | fi | 
| 10322 | < |  | 
| 10323 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10324 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 10325 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 10326 | < |  | 
| 10327 | < | # Is the header present? | 
| 10328 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 10329 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 10330 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10331 | < | /* confdefs.h.  */ | 
| 10332 | < | _ACEOF | 
| 10333 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10334 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10335 | < | /* end confdefs.h.  */ | 
| 10336 | < | #include <$ac_header> | 
| 10337 | < | _ACEOF | 
| 10338 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10339 | < | case "(($ac_try" in | 
| 10340 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10341 | < | *) ac_try_echo=$ac_try;; | 
| 10342 | < | esac | 
| 10343 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10344 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10345 | < | ac_status=$? | 
| 10346 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10347 | < | rm -f conftest.er1 | 
| 10348 | < | cat conftest.err >&5 | 
| 10349 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10350 | < | (exit $ac_status); } >/dev/null && { | 
| 10351 | < | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 10352 | < | test ! -s conftest.err | 
| 10353 | < | }; then | 
| 10354 | < | ac_header_preproc=yes | 
| 10355 | < | else | 
| 10356 | < | echo "$as_me: failed program was:" >&5 | 
| 10357 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10358 | < |  | 
| 10359 | < | ac_header_preproc=no | 
| 10360 | < | fi | 
| 10361 | < |  | 
| 10362 | < | rm -f conftest.err conftest.$ac_ext | 
| 10363 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 10364 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 10365 | < |  | 
| 10366 | < | # So?  What about this header? | 
| 10367 | < | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 10368 | < | yes:no: ) | 
| 10369 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 10370 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 10371 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 10372 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 10373 | < | ac_header_preproc=yes | 
| 10374 | < | ;; | 
| 10375 | < | no:yes:* ) | 
| 10376 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 10377 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 10378 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 10379 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 10380 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 10381 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 10382 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 10383 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 10384 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 10385 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 10386 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 10387 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 10388 | < | ( cat <<\_ASBOX | 
| 10389 | < | ## ------------------------------ ## | 
| 10390 | < | ## Report this to gezelter@nd.edu ## | 
| 10391 | < | ## ------------------------------ ## | 
| 10392 | < | _ASBOX | 
| 10393 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 10394 | < | ;; | 
| 10395 | < | esac | 
| 10396 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10397 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 10398 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10399 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10400 | < | else | 
| 10401 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 10402 | < | fi | 
| 10403 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 10404 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10405 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 10406 | < |  | 
| 10407 | < | fi | 
| 10408 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 10409 | < | cat >>confdefs.h <<_ACEOF | 
| 10410 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 10411 | < | _ACEOF | 
| 10412 | < |  | 
| 10413 | < | fi | 
| 10414 | < |  | 
| 10415 | < | done | 
| 10416 | < |  | 
| 10417 | < |  | 
| 10418 | < | for ac_func in getopt_long | 
| 10419 | < | do | 
| 10420 | < | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 10421 | < | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 10422 | < | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 
| 10423 | < | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10424 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10425 | < | else | 
| 10426 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10427 | < | /* confdefs.h.  */ | 
| 10428 | < | _ACEOF | 
| 10429 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10430 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10431 | < | /* end confdefs.h.  */ | 
| 10432 | < | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 10433 | < | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 10434 | < | #define $ac_func innocuous_$ac_func | 
| 10435 | < |  | 
| 10436 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 10437 | < | which can conflict with char $ac_func (); below. | 
| 10438 | < | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 10439 | < | <limits.h> exists even on freestanding compilers.  */ | 
| 10440 | < |  | 
| 10441 | < | #ifdef __STDC__ | 
| 10442 | < | # include <limits.h> | 
| 10443 | < | #else | 
| 10444 | < | # include <assert.h> | 
| 10445 | < | #endif | 
| 10446 | < |  | 
| 10447 | < | #undef $ac_func | 
| 10448 | < |  | 
| 10449 | < | /* Override any GCC internal prototype to avoid an error. | 
| 10450 | < | Use char because int might match the return type of a GCC | 
| 10451 | < | builtin and then its argument prototype would still apply.  */ | 
| 10452 | < | #ifdef __cplusplus | 
| 10453 | < | extern "C" | 
| 10454 | < | #endif | 
| 10455 | < | char $ac_func (); | 
| 10456 | < | /* The GNU C library defines this for functions which it implements | 
| 10457 | < | to always fail with ENOSYS.  Some functions are actually named | 
| 10458 | < | something starting with __ and the normal name is an alias.  */ | 
| 10459 | < | #if defined __stub_$ac_func || defined __stub___$ac_func | 
| 10460 | < | choke me | 
| 10461 | < | #endif | 
| 10462 | < |  | 
| 10463 | < | #ifdef FC_DUMMY_MAIN | 
| 10464 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10465 | < | #  ifdef __cplusplus | 
| 10466 | < | extern "C" | 
| 10467 | < | #  endif | 
| 10468 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10469 | < | #endif | 
| 10470 | < | #endif | 
| 10471 | < | int | 
| 10472 | < | main () | 
| 10473 | < | { | 
| 10474 | < | return $ac_func (); | 
| 10475 | < | ; | 
| 10476 | < | return 0; | 
| 10477 | < | } | 
| 10478 | < | _ACEOF | 
| 10479 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10480 | < | if { (ac_try="$ac_link" | 
| 10481 | < | case "(($ac_try" in | 
| 10482 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10483 | < | *) ac_try_echo=$ac_try;; | 
| 10484 | < | esac | 
| 10485 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10486 | < | (eval "$ac_link") 2>conftest.er1 | 
| 10487 | < | ac_status=$? | 
| 10488 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10489 | < | rm -f conftest.er1 | 
| 10490 | < | cat conftest.err >&5 | 
| 10491 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10492 | < | (exit $ac_status); } && { | 
| 10493 | < | test -z "$ac_c_werror_flag" || | 
| 10494 | < | test ! -s conftest.err | 
| 10495 | < | } && test -s conftest$ac_exeext && | 
| 10496 | < | $as_test_x conftest$ac_exeext; then | 
| 10497 | < | eval "$as_ac_var=yes" | 
| 10498 | < | else | 
| 10499 | < | echo "$as_me: failed program was:" >&5 | 
| 10500 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10501 | < |  | 
| 10502 | < | eval "$as_ac_var=no" | 
| 10503 | < | fi | 
| 10504 | < |  | 
| 10505 | < | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 10506 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10507 | < | fi | 
| 10508 | < | ac_res=`eval echo '${'$as_ac_var'}'` | 
| 10509 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10510 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 10511 | < | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 10512 | < | cat >>confdefs.h <<_ACEOF | 
| 10513 | < | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 10514 | < | _ACEOF | 
| 10515 | < |  | 
| 10516 | < | else | 
| 10517 | < | # FreeBSD has a gnugetopt library for this | 
| 10518 | < | { echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 | 
| 10519 | < | echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; } | 
| 10520 | < | if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then | 
| 10521 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10522 | < | else | 
| 10523 | < | ac_check_lib_save_LIBS=$LIBS | 
| 10524 | < | LIBS="-lgnugetopt  $LIBS" | 
| 10525 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10526 | < | /* confdefs.h.  */ | 
| 10527 | < | _ACEOF | 
| 10528 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10529 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10530 | < | /* end confdefs.h.  */ | 
| 10531 | < |  | 
| 10532 | < | /* Override any GCC internal prototype to avoid an error. | 
| 10533 | < | Use char because int might match the return type of a GCC | 
| 10534 | < | builtin and then its argument prototype would still apply.  */ | 
| 10535 | < | #ifdef __cplusplus | 
| 10536 | < | extern "C" | 
| 10537 | < | #endif | 
| 10538 | < | char getopt_long (); | 
| 10539 | < | #ifdef FC_DUMMY_MAIN | 
| 10540 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10541 | < | #  ifdef __cplusplus | 
| 10542 | < | extern "C" | 
| 10543 | < | #  endif | 
| 10544 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10545 | < | #endif | 
| 10546 | < | #endif | 
| 10547 | < | int | 
| 10548 | < | main () | 
| 10549 | < | { | 
| 10550 | < | return getopt_long (); | 
| 10551 | < | ; | 
| 10552 | < | return 0; | 
| 10553 | < | } | 
| 10554 | < | _ACEOF | 
| 10555 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10556 | < | if { (ac_try="$ac_link" | 
| 10557 | < | case "(($ac_try" in | 
| 10558 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10559 | < | *) ac_try_echo=$ac_try;; | 
| 10560 | < | esac | 
| 10561 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10562 | < | (eval "$ac_link") 2>conftest.er1 | 
| 10563 | < | ac_status=$? | 
| 10564 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10565 | < | rm -f conftest.er1 | 
| 10566 | < | cat conftest.err >&5 | 
| 10567 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10568 | < | (exit $ac_status); } && { | 
| 10569 | < | test -z "$ac_c_werror_flag" || | 
| 10570 | < | test ! -s conftest.err | 
| 10571 | < | } && test -s conftest$ac_exeext && | 
| 10572 | < | $as_test_x conftest$ac_exeext; then | 
| 10573 | < | ac_cv_lib_gnugetopt_getopt_long=yes | 
| 10574 | < | else | 
| 10575 | < | echo "$as_me: failed program was:" >&5 | 
| 10576 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10577 | < |  | 
| 10578 | < | ac_cv_lib_gnugetopt_getopt_long=no | 
| 10579 | < | fi | 
| 10580 | < |  | 
| 10581 | < | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 10582 | < | conftest$ac_exeext conftest.$ac_ext | 
| 10583 | < | LIBS=$ac_check_lib_save_LIBS | 
| 10584 | < | fi | 
| 10585 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 | 
| 10586 | < | echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; } | 
| 10587 | < | if test $ac_cv_lib_gnugetopt_getopt_long = yes; then | 
| 10588 | < | cat >>confdefs.h <<\_ACEOF | 
| 10589 | < | #define HAVE_GETOPT_LONG 1 | 
| 10590 | < | _ACEOF | 
| 10591 | < |  | 
| 10592 | < | else | 
| 10593 | < | # use the GNU replacement | 
| 10594 | < | case " $LIBOBJS " in | 
| 10595 | < | *" getopt.$ac_objext "* ) ;; | 
| 10596 | < | *) LIBOBJS="$LIBOBJS getopt.$ac_objext" | 
| 10597 | < | ;; | 
| 10598 | < | esac | 
| 10599 | < |  | 
| 10600 | < | case " $LIBOBJS " in | 
| 10601 | < | *" getopt1.$ac_objext "* ) ;; | 
| 10602 | < | *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" | 
| 10603 | < | ;; | 
| 10604 | < | esac | 
| 10605 | < |  | 
| 10606 | < | ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" | 
| 10607 | < |  | 
| 10608 | < | fi | 
| 10609 | < |  | 
| 10610 | < | fi | 
| 10611 | < | done | 
| 10612 | < |  | 
| 10613 | < |  | 
| 10614 | < | ac_ext=cpp | 
| 10615 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10616 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10617 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10618 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10619 | < |  | 
| 10620 | < |  | 
| 10621 | < | { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
| 10622 | < | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; } | 
| 10623 | < | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
| 10624 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10625 | < | else | 
| 10626 | < |  | 
| 10627 | < | ac_ext=cpp | 
| 10628 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10629 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10630 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10631 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10632 | < |  | 
| 10633 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10634 | < | /* confdefs.h.  */ | 
| 10635 | < | _ACEOF | 
| 10636 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10637 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10638 | < | /* end confdefs.h.  */ | 
| 10639 | < | namespace Outer { namespace Inner { int i = 0; }} | 
| 10640 | < | #ifdef FC_DUMMY_MAIN | 
| 10641 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10642 | < | #  ifdef __cplusplus | 
| 10643 | < | extern "C" | 
| 10644 | < | #  endif | 
| 10645 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10646 | < | #endif | 
| 10647 | < | #endif | 
| 10648 | < | int | 
| 10649 | < | main () | 
| 10650 | < | { | 
| 10651 | < | using namespace Outer::Inner; return i; | 
| 10652 | < | ; | 
| 10653 | < | return 0; | 
| 10654 | < | } | 
| 10655 | < | _ACEOF | 
| 10656 | < | rm -f conftest.$ac_objext | 
| 10657 | < | if { (ac_try="$ac_compile" | 
| 10658 | < | case "(($ac_try" in | 
| 10659 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10660 | < | *) ac_try_echo=$ac_try;; | 
| 10661 | < | esac | 
| 10662 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10663 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 10664 | < | ac_status=$? | 
| 10665 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10666 | < | rm -f conftest.er1 | 
| 10667 | < | cat conftest.err >&5 | 
| 10668 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10669 | < | (exit $ac_status); } && { | 
| 10670 | < | test -z "$ac_cxx_werror_flag" || | 
| 10671 | < | test ! -s conftest.err | 
| 10672 | < | } && test -s conftest.$ac_objext; then | 
| 10673 | < | ac_cv_cxx_namespaces=yes | 
| 10674 | < | else | 
| 10675 | < | echo "$as_me: failed program was:" >&5 | 
| 10676 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10677 | < |  | 
| 10678 | < | ac_cv_cxx_namespaces=no | 
| 10679 | < | fi | 
| 10680 | < |  | 
| 10681 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10682 | < | ac_ext=cpp | 
| 10683 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10684 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10685 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10686 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10687 | < |  | 
| 10688 | < |  | 
| 10689 | < | fi | 
| 10690 | < | { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
| 10691 | < | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; } | 
| 10692 | < | if test "$ac_cv_cxx_namespaces" = yes; then | 
| 10693 | < |  | 
| 10694 | < | cat >>confdefs.h <<\_ACEOF | 
| 10695 | < | #define HAVE_NAMESPACES | 
| 10696 | < | _ACEOF | 
| 10697 | < |  | 
| 10698 | < | fi | 
| 10699 | < |  | 
| 10700 | < | ac_ext=cpp | 
| 10701 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10702 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10703 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10704 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10705 | < | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
| 10706 | < | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } | 
| 10707 | < | if test -z "$CXXCPP"; then | 
| 10708 | < | if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| 10709 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10710 | < | else | 
| 10711 | < | # Double quotes because CXXCPP needs to be expanded | 
| 10712 | < | for CXXCPP in "$CXX -E" "/lib/cpp" | 
| 10713 | < | do | 
| 10714 | < | ac_preproc_ok=false | 
| 10715 | < | for ac_cxx_preproc_warn_flag in '' yes | 
| 10716 | < | do | 
| 10717 | < | # Use a header file that comes with gcc, so configuring glibc | 
| 10718 | < | # with a fresh cross-compiler works. | 
| 10719 | < | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 10720 | < | # <limits.h> exists even on freestanding compilers. | 
| 10721 | < | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 10722 | < | # not just through cpp. "Syntax error" is here to catch this case. | 
| 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 | < | #ifdef __STDC__ | 
| 10730 | < | # include <limits.h> | 
| 10731 | < | #else | 
| 10732 | < | # include <assert.h> | 
| 10733 | < | #endif | 
| 10734 | < | Syntax error | 
| 10735 | < | _ACEOF | 
| 10736 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10737 | < | case "(($ac_try" in | 
| 10738 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10739 | < | *) ac_try_echo=$ac_try;; | 
| 10740 | < | esac | 
| 10741 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10742 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10743 | < | ac_status=$? | 
| 10744 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10745 | < | rm -f conftest.er1 | 
| 10746 | < | cat conftest.err >&5 | 
| 10747 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10748 | < | (exit $ac_status); } >/dev/null && { | 
| 10749 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 10750 | < | test ! -s conftest.err | 
| 10751 | < | }; then | 
| 10752 | < | : | 
| 10753 | < | else | 
| 10754 | < | echo "$as_me: failed program was:" >&5 | 
| 10755 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10756 | < |  | 
| 10757 | < | # Broken: fails on valid input. | 
| 10758 | < | continue | 
| 10759 | < | fi | 
| 10760 | < |  | 
| 10761 | < | rm -f conftest.err conftest.$ac_ext | 
| 10762 | < |  | 
| 10763 | < | # OK, works on sane cases.  Now check whether nonexistent headers | 
| 10764 | < | # can be detected and how. | 
| 10765 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10766 | < | /* confdefs.h.  */ | 
| 10767 | < | _ACEOF | 
| 10768 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10769 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10770 | < | /* end confdefs.h.  */ | 
| 10771 | < | #include <ac_nonexistent.h> | 
| 10772 | < | _ACEOF | 
| 10773 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10774 | < | case "(($ac_try" in | 
| 10775 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10776 | < | *) ac_try_echo=$ac_try;; | 
| 10777 | < | esac | 
| 10778 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10779 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10780 | < | ac_status=$? | 
| 10781 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10782 | < | rm -f conftest.er1 | 
| 10783 | < | cat conftest.err >&5 | 
| 10784 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10785 | < | (exit $ac_status); } >/dev/null && { | 
| 10786 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 10787 | < | test ! -s conftest.err | 
| 10788 | < | }; then | 
| 10789 | < | # Broken: success on invalid input. | 
| 10790 | < | continue | 
| 10791 | < | else | 
| 10792 | < | echo "$as_me: failed program was:" >&5 | 
| 10793 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10794 | < |  | 
| 10795 | < | # Passes both tests. | 
| 10796 | < | ac_preproc_ok=: | 
| 10797 | < | break | 
| 10798 | < | fi | 
| 10799 | < |  | 
| 10800 | < | rm -f conftest.err conftest.$ac_ext | 
| 10801 | < |  | 
| 10802 | < | done | 
| 10803 | < | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 10804 | < | rm -f conftest.err conftest.$ac_ext | 
| 10805 | < | if $ac_preproc_ok; then | 
| 10806 | < | break | 
| 10807 | < | fi | 
| 10808 | < |  | 
| 10809 | < | done | 
| 10810 | < | ac_cv_prog_CXXCPP=$CXXCPP | 
| 10811 | < |  | 
| 10812 | < | fi | 
| 10813 | < | CXXCPP=$ac_cv_prog_CXXCPP | 
| 10814 | < | else | 
| 10815 | < | ac_cv_prog_CXXCPP=$CXXCPP | 
| 10816 | < | fi | 
| 10817 | < | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
| 10818 | < | echo "${ECHO_T}$CXXCPP" >&6; } | 
| 10819 | < | ac_preproc_ok=false | 
| 10820 | < | for ac_cxx_preproc_warn_flag in '' yes | 
| 10821 | < | do | 
| 10822 | < | # Use a header file that comes with gcc, so configuring glibc | 
| 10823 | < | # with a fresh cross-compiler works. | 
| 10824 | < | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 10825 | < | # <limits.h> exists even on freestanding compilers. | 
| 10826 | < | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 10827 | < | # not just through cpp. "Syntax error" is here to catch this case. | 
| 10828 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10829 | < | /* confdefs.h.  */ | 
| 10830 | < | _ACEOF | 
| 10831 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10832 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10833 | < | /* end confdefs.h.  */ | 
| 10834 | < | #ifdef __STDC__ | 
| 10835 | < | # include <limits.h> | 
| 10836 | < | #else | 
| 10837 | < | # include <assert.h> | 
| 10838 | < | #endif | 
| 10839 | < | Syntax error | 
| 10840 | < | _ACEOF | 
| 10841 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10842 | < | case "(($ac_try" in | 
| 10843 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10844 | < | *) ac_try_echo=$ac_try;; | 
| 10845 | < | esac | 
| 10846 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10847 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10848 | < | ac_status=$? | 
| 10849 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10850 | < | rm -f conftest.er1 | 
| 10851 | < | cat conftest.err >&5 | 
| 10852 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10853 | < | (exit $ac_status); } >/dev/null && { | 
| 10854 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 10855 | < | test ! -s conftest.err | 
| 10856 | < | }; then | 
| 10857 | < | : | 
| 10858 | < | else | 
| 10859 | < | echo "$as_me: failed program was:" >&5 | 
| 10860 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10861 | < |  | 
| 10862 | < | # Broken: fails on valid input. | 
| 10863 | < | continue | 
| 10864 | < | fi | 
| 10865 | < |  | 
| 10866 | < | rm -f conftest.err conftest.$ac_ext | 
| 10867 | < |  | 
| 10868 | < | # OK, works on sane cases.  Now check whether nonexistent headers | 
| 10869 | < | # can be detected and how. | 
| 10870 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10871 | < | /* confdefs.h.  */ | 
| 10872 | < | _ACEOF | 
| 10873 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10874 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10875 | < | /* end confdefs.h.  */ | 
| 10876 | < | #include <ac_nonexistent.h> | 
| 10877 | < | _ACEOF | 
| 10878 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10879 | < | case "(($ac_try" in | 
| 10880 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10881 | < | *) ac_try_echo=$ac_try;; | 
| 10882 | < | esac | 
| 10883 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10884 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10885 | < | ac_status=$? | 
| 10886 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10887 | < | rm -f conftest.er1 | 
| 10888 | < | cat conftest.err >&5 | 
| 10889 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10890 | < | (exit $ac_status); } >/dev/null && { | 
| 10891 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 10892 | < | test ! -s conftest.err | 
| 10893 | < | }; then | 
| 10894 | < | # Broken: success on invalid input. | 
| 10895 | < | continue | 
| 10896 | < | else | 
| 10897 | < | echo "$as_me: failed program was:" >&5 | 
| 10898 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10899 | < |  | 
| 10900 | < | # Passes both tests. | 
| 10901 | < | ac_preproc_ok=: | 
| 10902 | < | break | 
| 10903 | < | fi | 
| 10904 | < |  | 
| 10905 | < | rm -f conftest.err conftest.$ac_ext | 
| 10906 | < |  | 
| 10907 | < | done | 
| 10908 | < | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 10909 | < | rm -f conftest.err conftest.$ac_ext | 
| 10910 | < | if $ac_preproc_ok; then | 
| 10911 | < | : | 
| 10912 | < | else | 
| 10913 | < | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 10914 | < | See \`config.log' for more details." >&5 | 
| 10915 | < | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
| 10916 | < | See \`config.log' for more details." >&2;} | 
| 10917 | < | { (exit 1); exit 1; }; } | 
| 10918 | < | fi | 
| 10919 | < |  | 
| 10920 | < | ac_ext=cpp | 
| 10921 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10922 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10923 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10924 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10925 | < |  | 
| 10926 | < |  | 
| 10927 | < | { echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 | 
| 10928 | < | echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6; } | 
| 10929 | < | if test "${ac_cv_cxx_have_stl+set}" = set; then | 
| 10930 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10931 | < | else | 
| 10932 | < |  | 
| 10933 | < |  | 
| 10934 | < | ac_ext=cpp | 
| 10935 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10936 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10937 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10938 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10939 | < |  | 
| 10940 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10941 | < | /* confdefs.h.  */ | 
| 10942 | < | _ACEOF | 
| 10943 | < | cat confdefs.h >>conftest.$ac_ext | 
| 10944 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 10945 | < | /* end confdefs.h.  */ | 
| 10946 | < | #include <list> | 
| 10947 | < | #include <deque> | 
| 10948 | < | #ifdef HAVE_NAMESPACES | 
| 10949 | < | using namespace std; | 
| 10950 | < | #endif | 
| 10951 | < | #ifdef FC_DUMMY_MAIN | 
| 10952 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10953 | < | #  ifdef __cplusplus | 
| 10954 | < | extern "C" | 
| 10955 | < | #  endif | 
| 10956 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 10957 | < | #endif | 
| 10958 | < | #endif | 
| 10959 | < | int | 
| 10960 | < | main () | 
| 10961 | < | { | 
| 10962 | < | list<int> x; x.push_back(5); | 
| 10963 | < | list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0; | 
| 10964 | < | ; | 
| 10965 | < | return 0; | 
| 10966 | < | } | 
| 10967 | < | _ACEOF | 
| 10968 | < | rm -f conftest.$ac_objext | 
| 10969 | < | if { (ac_try="$ac_compile" | 
| 10970 | < | case "(($ac_try" in | 
| 10971 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10972 | < | *) ac_try_echo=$ac_try;; | 
| 10973 | < | esac | 
| 10974 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10975 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 10976 | < | ac_status=$? | 
| 10977 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10978 | < | rm -f conftest.er1 | 
| 10979 | < | cat conftest.err >&5 | 
| 10980 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10981 | < | (exit $ac_status); } && { | 
| 10982 | < | test -z "$ac_cxx_werror_flag" || | 
| 10983 | < | test ! -s conftest.err | 
| 10984 | < | } && test -s conftest.$ac_objext; then | 
| 10985 | < | ac_cv_cxx_have_stl=yes | 
| 10986 | < | else | 
| 10987 | < | echo "$as_me: failed program was:" >&5 | 
| 10988 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10989 | < |  | 
| 10990 | < | ac_cv_cxx_have_stl=no | 
| 10991 | < | fi | 
| 10992 | < |  | 
| 10993 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10994 | < | ac_ext=cpp | 
| 10995 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 10996 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10997 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10998 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 10999 | < |  | 
| 11000 | < |  | 
| 11001 | < | fi | 
| 11002 | < | { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 | 
| 11003 | < | echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6; } | 
| 11004 | < | if test "$ac_cv_cxx_have_stl" = yes; then | 
| 11005 | < |  | 
| 11006 | < | cat >>confdefs.h <<\_ACEOF | 
| 11007 | < | #define HAVE_STL | 
| 11008 | < | _ACEOF | 
| 11009 | < |  | 
| 11010 | < | fi | 
| 11011 | < |  | 
| 11012 | < |  | 
| 11013 | < |  | 
| 11014 | < | if test "${ac_cv_header_iostream+set}" = set; then | 
| 11015 | < | { echo "$as_me:$LINENO: checking for iostream" >&5 | 
| 11016 | < | echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } | 
| 11017 | < | if test "${ac_cv_header_iostream+set}" = set; then | 
| 11018 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11019 | < | fi | 
| 11020 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 | 
| 11021 | < | echo "${ECHO_T}$ac_cv_header_iostream" >&6; } | 
| 11022 | < | else | 
| 11023 | < | # Is the header compilable? | 
| 11024 | < | { echo "$as_me:$LINENO: checking iostream usability" >&5 | 
| 11025 | < | echo $ECHO_N "checking iostream usability... $ECHO_C" >&6; } | 
| 11026 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11027 | < | /* confdefs.h.  */ | 
| 11028 | < | _ACEOF | 
| 11029 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11030 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11031 | < | /* end confdefs.h.  */ | 
| 11032 | < | $ac_includes_default | 
| 11033 | < | #include <iostream> | 
| 11034 | < | _ACEOF | 
| 11035 | < | rm -f conftest.$ac_objext | 
| 11036 | < | if { (ac_try="$ac_compile" | 
| 11037 | < | case "(($ac_try" in | 
| 11038 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11039 | < | *) ac_try_echo=$ac_try;; | 
| 11040 | < | esac | 
| 11041 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11042 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11043 | < | ac_status=$? | 
| 11044 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11045 | < | rm -f conftest.er1 | 
| 11046 | < | cat conftest.err >&5 | 
| 11047 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11048 | < | (exit $ac_status); } && { | 
| 11049 | < | test -z "$ac_cxx_werror_flag" || | 
| 11050 | < | test ! -s conftest.err | 
| 11051 | < | } && test -s conftest.$ac_objext; then | 
| 11052 | < | ac_header_compiler=yes | 
| 11053 | < | else | 
| 11054 | < | echo "$as_me: failed program was:" >&5 | 
| 11055 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11056 | < |  | 
| 11057 | < | ac_header_compiler=no | 
| 11058 | < | fi | 
| 11059 | < |  | 
| 11060 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11061 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11062 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11063 | < |  | 
| 11064 | < | # Is the header present? | 
| 11065 | < | { echo "$as_me:$LINENO: checking iostream presence" >&5 | 
| 11066 | < | echo $ECHO_N "checking iostream presence... $ECHO_C" >&6; } | 
| 11067 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11068 | < | /* confdefs.h.  */ | 
| 11069 | < | _ACEOF | 
| 11070 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11071 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11072 | < | /* end confdefs.h.  */ | 
| 11073 | < | #include <iostream> | 
| 11074 | < | _ACEOF | 
| 11075 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11076 | < | case "(($ac_try" in | 
| 11077 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11078 | < | *) ac_try_echo=$ac_try;; | 
| 11079 | < | esac | 
| 11080 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11081 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11082 | < | ac_status=$? | 
| 11083 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11084 | < | rm -f conftest.er1 | 
| 11085 | < | cat conftest.err >&5 | 
| 11086 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11087 | < | (exit $ac_status); } >/dev/null && { | 
| 11088 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 11089 | < | test ! -s conftest.err | 
| 11090 | < | }; then | 
| 11091 | < | ac_header_preproc=yes | 
| 11092 | < | else | 
| 11093 | < | echo "$as_me: failed program was:" >&5 | 
| 11094 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11095 | < |  | 
| 11096 | < | ac_header_preproc=no | 
| 11097 | < | fi | 
| 11098 | < |  | 
| 11099 | < | rm -f conftest.err conftest.$ac_ext | 
| 11100 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11101 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11102 | < |  | 
| 11103 | < | # So?  What about this header? | 
| 11104 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 11105 | < | yes:no: ) | 
| 11106 | < | { echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11107 | < | echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11108 | < | { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5 | 
| 11109 | < | echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;} | 
| 11110 | < | ac_header_preproc=yes | 
| 11111 | < | ;; | 
| 11112 | < | no:yes:* ) | 
| 11113 | < | { echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5 | 
| 11114 | < | echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;} | 
| 11115 | < | { echo "$as_me:$LINENO: WARNING: iostream:     check for missing prerequisite headers?" >&5 | 
| 11116 | < | echo "$as_me: WARNING: iostream:     check for missing prerequisite headers?" >&2;} | 
| 11117 | < | { echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5 | 
| 11118 | < | echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;} | 
| 11119 | < | { echo "$as_me:$LINENO: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11120 | < | echo "$as_me: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11121 | < | { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5 | 
| 11122 | < | echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} | 
| 11123 | < | { echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 | 
| 11124 | < | echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} | 
| 11125 | < | ( cat <<\_ASBOX | 
| 11126 | < | ## ------------------------------ ## | 
| 11127 | < | ## Report this to gezelter@nd.edu ## | 
| 11128 | < | ## ------------------------------ ## | 
| 11129 | < | _ASBOX | 
| 11130 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11131 | < | ;; | 
| 11132 | < | esac | 
| 11133 | < | { echo "$as_me:$LINENO: checking for iostream" >&5 | 
| 11134 | < | echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } | 
| 11135 | < | if test "${ac_cv_header_iostream+set}" = set; then | 
| 11136 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11137 | < | else | 
| 11138 | < | ac_cv_header_iostream=$ac_header_preproc | 
| 11139 | < | fi | 
| 11140 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 | 
| 11141 | < | echo "${ECHO_T}$ac_cv_header_iostream" >&6; } | 
| 11142 | < |  | 
| 11143 | < | fi | 
| 11144 | < | if test $ac_cv_header_iostream = yes; then | 
| 11145 | < |  | 
| 11146 | < |  | 
| 11147 | < | cat >>confdefs.h <<\_ACEOF | 
| 11148 | < | #define HAVE_IOSTREAM 1 | 
| 11149 | < | _ACEOF | 
| 11150 | < |  | 
| 11151 | < |  | 
| 11152 | < | else | 
| 11153 | < |  | 
| 11154 | < |  | 
| 11155 | < | for ac_header in iostream.h | 
| 11156 | < | do | 
| 11157 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 11158 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11159 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11160 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11161 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11162 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11163 | < | fi | 
| 11164 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11165 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11166 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11167 | < | else | 
| 11168 | < | # Is the header compilable? | 
| 11169 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 11170 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 11171 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11172 | < | /* confdefs.h.  */ | 
| 11173 | < | _ACEOF | 
| 11174 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11175 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11176 | < | /* end confdefs.h.  */ | 
| 11177 | < | $ac_includes_default | 
| 11178 | < | #include <$ac_header> | 
| 11179 | < | _ACEOF | 
| 11180 | < | rm -f conftest.$ac_objext | 
| 11181 | < | if { (ac_try="$ac_compile" | 
| 11182 | < | case "(($ac_try" in | 
| 11183 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11184 | < | *) ac_try_echo=$ac_try;; | 
| 11185 | < | esac | 
| 11186 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11187 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11188 | < | ac_status=$? | 
| 11189 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11190 | < | rm -f conftest.er1 | 
| 11191 | < | cat conftest.err >&5 | 
| 11192 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11193 | < | (exit $ac_status); } && { | 
| 11194 | < | test -z "$ac_cxx_werror_flag" || | 
| 11195 | < | test ! -s conftest.err | 
| 11196 | < | } && test -s conftest.$ac_objext; then | 
| 11197 | < | ac_header_compiler=yes | 
| 11198 | < | else | 
| 11199 | < | echo "$as_me: failed program was:" >&5 | 
| 11200 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11201 | < |  | 
| 11202 | < | ac_header_compiler=no | 
| 11203 | < | fi | 
| 11204 | < |  | 
| 11205 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11206 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11207 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11208 | < |  | 
| 11209 | < | # Is the header present? | 
| 11210 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 11211 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 11212 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11213 | < | /* confdefs.h.  */ | 
| 11214 | < | _ACEOF | 
| 11215 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11216 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11217 | < | /* end confdefs.h.  */ | 
| 11218 | < | #include <$ac_header> | 
| 11219 | < | _ACEOF | 
| 11220 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11221 | < | case "(($ac_try" in | 
| 11222 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11223 | < | *) ac_try_echo=$ac_try;; | 
| 11224 | < | esac | 
| 11225 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11226 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11227 | < | ac_status=$? | 
| 11228 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11229 | < | rm -f conftest.er1 | 
| 11230 | < | cat conftest.err >&5 | 
| 11231 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11232 | < | (exit $ac_status); } >/dev/null && { | 
| 11233 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 11234 | < | test ! -s conftest.err | 
| 11235 | < | }; then | 
| 11236 | < | ac_header_preproc=yes | 
| 11237 | < | else | 
| 11238 | < | echo "$as_me: failed program was:" >&5 | 
| 11239 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11240 | < |  | 
| 11241 | < | ac_header_preproc=no | 
| 11242 | < | fi | 
| 11243 | < |  | 
| 11244 | < | rm -f conftest.err conftest.$ac_ext | 
| 11245 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11246 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11247 | < |  | 
| 11248 | < | # So?  What about this header? | 
| 11249 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 11250 | < | yes:no: ) | 
| 11251 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11252 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11253 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 11254 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 11255 | < | ac_header_preproc=yes | 
| 11256 | < | ;; | 
| 11257 | < | no:yes:* ) | 
| 11258 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 11259 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 11260 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 11261 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 11262 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 11263 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 11264 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11265 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11266 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 11267 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 11268 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 11269 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 11270 | < | ( cat <<\_ASBOX | 
| 11271 | < | ## ------------------------------ ## | 
| 11272 | < | ## Report this to gezelter@nd.edu ## | 
| 11273 | < | ## ------------------------------ ## | 
| 11274 | < | _ASBOX | 
| 11275 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11276 | < | ;; | 
| 11277 | < | esac | 
| 11278 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11279 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11280 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11281 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11282 | < | else | 
| 11283 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 11284 | < | fi | 
| 11285 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11286 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11287 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11288 | < |  | 
| 11289 | < | fi | 
| 11290 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 11291 | < | cat >>confdefs.h <<_ACEOF | 
| 11292 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 11293 | < | _ACEOF | 
| 11294 | < |  | 
| 11295 | < | fi | 
| 11296 | < |  | 
| 11297 | < | done | 
| 11298 | < |  | 
| 11299 | < |  | 
| 11300 | < | fi | 
| 11301 | < |  | 
| 11302 | < |  | 
| 11303 | < |  | 
| 11304 | < |  | 
| 11305 | < | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 11306 | < | { echo "$as_me:$LINENO: checking for iomanip" >&5 | 
| 11307 | < | echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } | 
| 11308 | < | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 11309 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11310 | < | fi | 
| 11311 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 | 
| 11312 | < | echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } | 
| 11313 | < | else | 
| 11314 | < | # Is the header compilable? | 
| 11315 | < | { echo "$as_me:$LINENO: checking iomanip usability" >&5 | 
| 11316 | < | echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6; } | 
| 11317 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11318 | < | /* confdefs.h.  */ | 
| 11319 | < | _ACEOF | 
| 11320 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11321 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11322 | < | /* end confdefs.h.  */ | 
| 11323 | < | $ac_includes_default | 
| 11324 | < | #include <iomanip> | 
| 11325 | < | _ACEOF | 
| 11326 | < | rm -f conftest.$ac_objext | 
| 11327 | < | if { (ac_try="$ac_compile" | 
| 11328 | < | case "(($ac_try" in | 
| 11329 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11330 | < | *) ac_try_echo=$ac_try;; | 
| 11331 | < | esac | 
| 11332 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11333 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11334 | < | ac_status=$? | 
| 11335 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11336 | < | rm -f conftest.er1 | 
| 11337 | < | cat conftest.err >&5 | 
| 11338 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11339 | < | (exit $ac_status); } && { | 
| 11340 | < | test -z "$ac_cxx_werror_flag" || | 
| 11341 | < | test ! -s conftest.err | 
| 11342 | < | } && test -s conftest.$ac_objext; then | 
| 11343 | < | ac_header_compiler=yes | 
| 11344 | < | else | 
| 11345 | < | echo "$as_me: failed program was:" >&5 | 
| 11346 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11347 | < |  | 
| 11348 | < | ac_header_compiler=no | 
| 11349 | < | fi | 
| 11350 | < |  | 
| 11351 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11352 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11353 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11354 | < |  | 
| 11355 | < | # Is the header present? | 
| 11356 | < | { echo "$as_me:$LINENO: checking iomanip presence" >&5 | 
| 11357 | < | echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6; } | 
| 11358 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11359 | < | /* confdefs.h.  */ | 
| 11360 | < | _ACEOF | 
| 11361 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11362 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11363 | < | /* end confdefs.h.  */ | 
| 11364 | < | #include <iomanip> | 
| 11365 | < | _ACEOF | 
| 11366 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11367 | < | case "(($ac_try" in | 
| 11368 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11369 | < | *) ac_try_echo=$ac_try;; | 
| 11370 | < | esac | 
| 11371 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11372 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11373 | < | ac_status=$? | 
| 11374 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11375 | < | rm -f conftest.er1 | 
| 11376 | < | cat conftest.err >&5 | 
| 11377 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11378 | < | (exit $ac_status); } >/dev/null && { | 
| 11379 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 11380 | < | test ! -s conftest.err | 
| 11381 | < | }; then | 
| 11382 | < | ac_header_preproc=yes | 
| 11383 | < | else | 
| 11384 | < | echo "$as_me: failed program was:" >&5 | 
| 11385 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11386 | < |  | 
| 11387 | < | ac_header_preproc=no | 
| 11388 | < | fi | 
| 11389 | < |  | 
| 11390 | < | rm -f conftest.err conftest.$ac_ext | 
| 11391 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11392 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11393 | < |  | 
| 11394 | < | # So?  What about this header? | 
| 11395 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 11396 | < | yes:no: ) | 
| 11397 | < | { echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11398 | < | echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11399 | < | { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5 | 
| 11400 | < | echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;} | 
| 11401 | < | ac_header_preproc=yes | 
| 11402 | < | ;; | 
| 11403 | < | no:yes:* ) | 
| 11404 | < | { echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5 | 
| 11405 | < | echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;} | 
| 11406 | < | { echo "$as_me:$LINENO: WARNING: iomanip:     check for missing prerequisite headers?" >&5 | 
| 11407 | < | echo "$as_me: WARNING: iomanip:     check for missing prerequisite headers?" >&2;} | 
| 11408 | < | { echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5 | 
| 11409 | < | echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;} | 
| 11410 | < | { echo "$as_me:$LINENO: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11411 | < | echo "$as_me: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11412 | < | { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5 | 
| 11413 | < | echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} | 
| 11414 | < | { echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 | 
| 11415 | < | echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} | 
| 11416 | < | ( cat <<\_ASBOX | 
| 11417 | < | ## ------------------------------ ## | 
| 11418 | < | ## Report this to gezelter@nd.edu ## | 
| 11419 | < | ## ------------------------------ ## | 
| 11420 | < | _ASBOX | 
| 11421 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11422 | < | ;; | 
| 11423 | < | esac | 
| 11424 | < | { echo "$as_me:$LINENO: checking for iomanip" >&5 | 
| 11425 | < | echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } | 
| 11426 | < | if test "${ac_cv_header_iomanip+set}" = set; then | 
| 11427 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11428 | < | else | 
| 11429 | < | ac_cv_header_iomanip=$ac_header_preproc | 
| 11430 | < | fi | 
| 11431 | < | { echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 | 
| 11432 | < | echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } | 
| 11433 | < |  | 
| 11434 | < | fi | 
| 11435 | < | if test $ac_cv_header_iomanip = yes; then | 
| 11436 | < |  | 
| 11437 | < |  | 
| 11438 | < | cat >>confdefs.h <<\_ACEOF | 
| 11439 | < | #define HAVE_IOMANIP 1 | 
| 11440 | < | _ACEOF | 
| 11441 | < |  | 
| 11442 | < |  | 
| 11443 | < | else | 
| 11444 | < |  | 
| 11445 | < |  | 
| 11446 | < | for ac_header in iomanip.h | 
| 11447 | < | do | 
| 11448 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 11449 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11450 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11451 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11452 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11453 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11454 | < | fi | 
| 11455 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11456 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11457 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11458 | < | else | 
| 11459 | < | # Is the header compilable? | 
| 11460 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 11461 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 11462 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11463 | < | /* confdefs.h.  */ | 
| 11464 | < | _ACEOF | 
| 11465 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11466 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11467 | < | /* end confdefs.h.  */ | 
| 11468 | < | $ac_includes_default | 
| 11469 | < | #include <$ac_header> | 
| 11470 | < | _ACEOF | 
| 11471 | < | rm -f conftest.$ac_objext | 
| 11472 | < | if { (ac_try="$ac_compile" | 
| 11473 | < | case "(($ac_try" in | 
| 11474 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11475 | < | *) ac_try_echo=$ac_try;; | 
| 11476 | < | esac | 
| 11477 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11478 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11479 | < | ac_status=$? | 
| 11480 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11481 | < | rm -f conftest.er1 | 
| 11482 | < | cat conftest.err >&5 | 
| 11483 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11484 | < | (exit $ac_status); } && { | 
| 11485 | < | test -z "$ac_cxx_werror_flag" || | 
| 11486 | < | test ! -s conftest.err | 
| 11487 | < | } && test -s conftest.$ac_objext; then | 
| 11488 | < | ac_header_compiler=yes | 
| 11489 | < | else | 
| 11490 | < | echo "$as_me: failed program was:" >&5 | 
| 11491 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11492 | < |  | 
| 11493 | < | ac_header_compiler=no | 
| 11494 | < | fi | 
| 11495 | < |  | 
| 11496 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11497 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11498 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11499 | < |  | 
| 11500 | < | # Is the header present? | 
| 11501 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 11502 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 11503 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11504 | < | /* confdefs.h.  */ | 
| 11505 | < | _ACEOF | 
| 11506 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11507 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11508 | < | /* end confdefs.h.  */ | 
| 11509 | < | #include <$ac_header> | 
| 11510 | < | _ACEOF | 
| 11511 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11512 | < | case "(($ac_try" in | 
| 11513 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11514 | < | *) ac_try_echo=$ac_try;; | 
| 11515 | < | esac | 
| 11516 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11517 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11518 | < | ac_status=$? | 
| 11519 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11520 | < | rm -f conftest.er1 | 
| 11521 | < | cat conftest.err >&5 | 
| 11522 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11523 | < | (exit $ac_status); } >/dev/null && { | 
| 11524 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 11525 | < | test ! -s conftest.err | 
| 11526 | < | }; then | 
| 11527 | < | ac_header_preproc=yes | 
| 11528 | < | else | 
| 11529 | < | echo "$as_me: failed program was:" >&5 | 
| 11530 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11531 | < |  | 
| 11532 | < | ac_header_preproc=no | 
| 11533 | < | fi | 
| 11534 | < |  | 
| 11535 | < | rm -f conftest.err conftest.$ac_ext | 
| 11536 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11537 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11538 | < |  | 
| 11539 | < | # So?  What about this header? | 
| 11540 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 11541 | < | yes:no: ) | 
| 11542 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11543 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11544 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 11545 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 11546 | < | ac_header_preproc=yes | 
| 11547 | < | ;; | 
| 11548 | < | no:yes:* ) | 
| 11549 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 11550 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 11551 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 11552 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 11553 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 11554 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 11555 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11556 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11557 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 11558 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 11559 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 11560 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 11561 | < | ( cat <<\_ASBOX | 
| 11562 | < | ## ------------------------------ ## | 
| 11563 | < | ## Report this to gezelter@nd.edu ## | 
| 11564 | < | ## ------------------------------ ## | 
| 11565 | < | _ASBOX | 
| 11566 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11567 | < | ;; | 
| 11568 | < | esac | 
| 11569 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11570 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11571 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11572 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11573 | < | else | 
| 11574 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 11575 | < | fi | 
| 11576 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11577 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11578 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11579 | < |  | 
| 11580 | < | fi | 
| 11581 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 11582 | < | cat >>confdefs.h <<_ACEOF | 
| 11583 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 11584 | < | _ACEOF | 
| 11585 | < |  | 
| 11586 | < | fi | 
| 11587 | < |  | 
| 11588 | < | done | 
| 11589 | < |  | 
| 11590 | < |  | 
| 11591 | < | fi | 
| 11592 | < |  | 
| 11593 | < |  | 
| 11594 | < |  | 
| 11595 | < |  | 
| 11596 | < | for ac_header in cmath | 
| 11597 | < | do | 
| 11598 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 11599 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11600 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11601 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11602 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11603 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11604 | < | fi | 
| 11605 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11606 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11607 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11608 | < | else | 
| 11609 | < | # Is the header compilable? | 
| 11610 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 11611 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 11612 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11613 | < | /* confdefs.h.  */ | 
| 11614 | < | _ACEOF | 
| 11615 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11616 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11617 | < | /* end confdefs.h.  */ | 
| 11618 | < | $ac_includes_default | 
| 11619 | < | #include <$ac_header> | 
| 11620 | < | _ACEOF | 
| 11621 | < | rm -f conftest.$ac_objext | 
| 11622 | < | if { (ac_try="$ac_compile" | 
| 11623 | < | case "(($ac_try" in | 
| 11624 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11625 | < | *) ac_try_echo=$ac_try;; | 
| 11626 | < | esac | 
| 11627 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11628 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11629 | < | ac_status=$? | 
| 11630 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11631 | < | rm -f conftest.er1 | 
| 11632 | < | cat conftest.err >&5 | 
| 11633 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11634 | < | (exit $ac_status); } && { | 
| 11635 | < | test -z "$ac_cxx_werror_flag" || | 
| 11636 | < | test ! -s conftest.err | 
| 11637 | < | } && test -s conftest.$ac_objext; then | 
| 11638 | < | ac_header_compiler=yes | 
| 11639 | < | else | 
| 11640 | < | echo "$as_me: failed program was:" >&5 | 
| 11641 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11642 | < |  | 
| 11643 | < | ac_header_compiler=no | 
| 11644 | < | fi | 
| 11645 | < |  | 
| 11646 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11647 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11648 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11649 | < |  | 
| 11650 | < | # Is the header present? | 
| 11651 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 11652 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 11653 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11654 | < | /* confdefs.h.  */ | 
| 11655 | < | _ACEOF | 
| 11656 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11657 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11658 | < | /* end confdefs.h.  */ | 
| 11659 | < | #include <$ac_header> | 
| 11660 | < | _ACEOF | 
| 11661 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11662 | < | case "(($ac_try" in | 
| 11663 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11664 | < | *) ac_try_echo=$ac_try;; | 
| 11665 | < | esac | 
| 11666 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11667 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11668 | < | ac_status=$? | 
| 11669 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11670 | < | rm -f conftest.er1 | 
| 11671 | < | cat conftest.err >&5 | 
| 11672 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11673 | < | (exit $ac_status); } >/dev/null && { | 
| 11674 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 11675 | < | test ! -s conftest.err | 
| 11676 | < | }; then | 
| 11677 | < | ac_header_preproc=yes | 
| 11678 | < | else | 
| 11679 | < | echo "$as_me: failed program was:" >&5 | 
| 11680 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11681 | < |  | 
| 11682 | < | ac_header_preproc=no | 
| 11683 | < | fi | 
| 11684 | < |  | 
| 11685 | < | rm -f conftest.err conftest.$ac_ext | 
| 11686 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11687 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11688 | < |  | 
| 11689 | < | # So?  What about this header? | 
| 11690 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 11691 | < | yes:no: ) | 
| 11692 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11693 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11694 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 11695 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 11696 | < | ac_header_preproc=yes | 
| 11697 | < | ;; | 
| 11698 | < | no:yes:* ) | 
| 11699 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 11700 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 11701 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 11702 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 11703 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 11704 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 11705 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11706 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11707 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 11708 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 11709 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 11710 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 11711 | < | ( cat <<\_ASBOX | 
| 11712 | < | ## ------------------------------ ## | 
| 11713 | < | ## Report this to gezelter@nd.edu ## | 
| 11714 | < | ## ------------------------------ ## | 
| 11715 | < | _ASBOX | 
| 11716 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11717 | < | ;; | 
| 11718 | < | esac | 
| 11719 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11720 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11721 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11722 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11723 | < | else | 
| 11724 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 11725 | < | fi | 
| 11726 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11727 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11728 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 11729 | < |  | 
| 11730 | < | fi | 
| 11731 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 11732 | < | cat >>confdefs.h <<_ACEOF | 
| 11733 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 11734 | < | _ACEOF | 
| 11735 | < |  | 
| 11736 | < | fi | 
| 11737 | < |  | 
| 11738 | < | done | 
| 11739 | < |  | 
| 11740 | < |  | 
| 11741 | < |  | 
| 11742 | < |  | 
| 11743 | < | { echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 | 
| 11744 | < | echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6; } | 
| 11745 | < | if test "${ac_cv_cxx_have_std_iostream+set}" = set; then | 
| 11746 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11747 | < | else | 
| 11748 | < |  | 
| 11749 | < | ac_cv_cxx_have_std_iostream=no | 
| 11750 | < | ac_cv_cxx_need_use_std_iostream=no | 
| 11751 | < | if test "x$ac_cv_cxx_namespaces" = xyes; then | 
| 11752 | < |  | 
| 11753 | < | ac_ext=cpp | 
| 11754 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11755 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11756 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11757 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11758 | < |  | 
| 11759 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11760 | < | /* confdefs.h.  */ | 
| 11761 | < | _ACEOF | 
| 11762 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11763 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11764 | < | /* end confdefs.h.  */ | 
| 11765 | < |  | 
| 11766 | < | #ifdef HAVE_IOSTREAM | 
| 11767 | < | #include <iostream> | 
| 11768 | < | #else | 
| 11769 | < | #include <iostream.h> | 
| 11770 | < | #endif | 
| 11771 | < |  | 
| 11772 | < | #ifdef FC_DUMMY_MAIN | 
| 11773 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11774 | < | #  ifdef __cplusplus | 
| 11775 | < | extern "C" | 
| 11776 | < | #  endif | 
| 11777 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11778 | < | #endif | 
| 11779 | < | #endif | 
| 11780 | < | int | 
| 11781 | < | main () | 
| 11782 | < | { | 
| 11783 | < | std::cout<<"Hello World"<<std::endl;return 0; | 
| 11784 | < | ; | 
| 11785 | < | return 0; | 
| 11786 | < | } | 
| 11787 | < | _ACEOF | 
| 11788 | < | rm -f conftest.$ac_objext | 
| 11789 | < | if { (ac_try="$ac_compile" | 
| 11790 | < | case "(($ac_try" in | 
| 11791 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11792 | < | *) ac_try_echo=$ac_try;; | 
| 11793 | < | esac | 
| 11794 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11795 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11796 | < | ac_status=$? | 
| 11797 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11798 | < | rm -f conftest.er1 | 
| 11799 | < | cat conftest.err >&5 | 
| 11800 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11801 | < | (exit $ac_status); } && { | 
| 11802 | < | test -z "$ac_cxx_werror_flag" || | 
| 11803 | < | test ! -s conftest.err | 
| 11804 | < | } && test -s conftest.$ac_objext; then | 
| 11805 | < | ac_cv_cxx_have_std_iostream=yes | 
| 11806 | < | else | 
| 11807 | < | echo "$as_me: failed program was:" >&5 | 
| 11808 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11809 | < |  | 
| 11810 | < |  | 
| 11811 | < | fi | 
| 11812 | < |  | 
| 11813 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11814 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11815 | < | /* confdefs.h.  */ | 
| 11816 | < | _ACEOF | 
| 11817 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11818 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11819 | < | /* end confdefs.h.  */ | 
| 11820 | < |  | 
| 11821 | < | #define __USE_STD_IOSTREAM 1 | 
| 11822 | < | #ifdef HAVE_IOSTREAM | 
| 11823 | < | #include <iostream> | 
| 11824 | < | #else | 
| 11825 | < | #include <iostream.h> | 
| 11826 | < | #endif | 
| 11827 | < |  | 
| 11828 | < | #ifdef FC_DUMMY_MAIN | 
| 11829 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11830 | < | #  ifdef __cplusplus | 
| 11831 | < | extern "C" | 
| 11832 | < | #  endif | 
| 11833 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11834 | < | #endif | 
| 11835 | < | #endif | 
| 11836 | < | int | 
| 11837 | < | main () | 
| 11838 | < | { | 
| 11839 | < | std::cout<<"Hello World"<<std::endl;return 0; | 
| 11840 | < | ; | 
| 11841 | < | return 0; | 
| 11842 | < | } | 
| 11843 | < | _ACEOF | 
| 11844 | < | rm -f conftest.$ac_objext | 
| 11845 | < | if { (ac_try="$ac_compile" | 
| 11846 | < | case "(($ac_try" in | 
| 11847 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11848 | < | *) ac_try_echo=$ac_try;; | 
| 11849 | < | esac | 
| 11850 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11851 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11852 | < | ac_status=$? | 
| 11853 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11854 | < | rm -f conftest.er1 | 
| 11855 | < | cat conftest.err >&5 | 
| 11856 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11857 | < | (exit $ac_status); } && { | 
| 11858 | < | test -z "$ac_cxx_werror_flag" || | 
| 11859 | < | test ! -s conftest.err | 
| 11860 | < | } && test -s conftest.$ac_objext; then | 
| 11861 | < | ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes | 
| 11862 | < | else | 
| 11863 | < | echo "$as_me: failed program was:" >&5 | 
| 11864 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11865 | < |  | 
| 11866 | < |  | 
| 11867 | < | fi | 
| 11868 | < |  | 
| 11869 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11870 | < | ac_ext=cpp | 
| 11871 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11872 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11873 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11874 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11875 | < |  | 
| 11876 | < | fi | 
| 11877 | < |  | 
| 11878 | < | fi | 
| 11879 | < | { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 | 
| 11880 | < | echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6; } | 
| 11881 | < | if test "$ac_cv_cxx_have_std_iostream" = yes; then | 
| 11882 | < |  | 
| 11883 | < | cat >>confdefs.h <<\_ACEOF | 
| 11884 | < | #define HAVE_STD_IOSTREAM 1 | 
| 11885 | < | _ACEOF | 
| 11886 | < |  | 
| 11887 | < | fi | 
| 11888 | < | if test "$ac_cv_cxx_need_use_std_iostream" = yes; then | 
| 11889 | < |  | 
| 11890 | < | cat >>confdefs.h <<\_ACEOF | 
| 11891 | < | #define __USE_STD_IOSTREAM 1 | 
| 11892 | < | _ACEOF | 
| 11893 | < |  | 
| 11894 | < | fi | 
| 11895 | < |  | 
| 11896 | < |  | 
| 11897 | < |  | 
| 11898 | < |  | 
| 11899 | < | { echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 | 
| 11900 | < | echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6; } | 
| 11901 | < | if test "${ac_cv_cxx_have_std_stl+set}" = set; then | 
| 11902 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11903 | < | else | 
| 11904 | < |  | 
| 11905 | < | ac_cv_cxx_have_std_stl=no | 
| 11906 | < | if test "x$ac_cv_cxx_namespaces" = xyes; then | 
| 11907 | < |  | 
| 11908 | < | ac_ext=cpp | 
| 11909 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11910 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11911 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11912 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11913 | < |  | 
| 11914 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 11915 | < | /* confdefs.h.  */ | 
| 11916 | < | _ACEOF | 
| 11917 | < | cat confdefs.h >>conftest.$ac_ext | 
| 11918 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 11919 | < | /* end confdefs.h.  */ | 
| 11920 | < | #include <list> | 
| 11921 | < |  | 
| 11922 | < | #ifdef FC_DUMMY_MAIN | 
| 11923 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11924 | < | #  ifdef __cplusplus | 
| 11925 | < | extern "C" | 
| 11926 | < | #  endif | 
| 11927 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 11928 | < | #endif | 
| 11929 | < | #endif | 
| 11930 | < | int | 
| 11931 | < | main () | 
| 11932 | < | { | 
| 11933 | < | std::list<int> foo;return 0; | 
| 11934 | < | ; | 
| 11935 | < | return 0; | 
| 11936 | < | } | 
| 11937 | < | _ACEOF | 
| 11938 | < | rm -f conftest.$ac_objext | 
| 11939 | < | if { (ac_try="$ac_compile" | 
| 11940 | < | case "(($ac_try" in | 
| 11941 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11942 | < | *) ac_try_echo=$ac_try;; | 
| 11943 | < | esac | 
| 11944 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11945 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 11946 | < | ac_status=$? | 
| 11947 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11948 | < | rm -f conftest.er1 | 
| 11949 | < | cat conftest.err >&5 | 
| 11950 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11951 | < | (exit $ac_status); } && { | 
| 11952 | < | test -z "$ac_cxx_werror_flag" || | 
| 11953 | < | test ! -s conftest.err | 
| 11954 | < | } && test -s conftest.$ac_objext; then | 
| 11955 | < | ac_cv_cxx_have_std_stl=yes | 
| 11956 | < | else | 
| 11957 | < | echo "$as_me: failed program was:" >&5 | 
| 11958 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11959 | < |  | 
| 11960 | < |  | 
| 11961 | < | fi | 
| 11962 | < |  | 
| 11963 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11964 | < | ac_ext=cpp | 
| 11965 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11966 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11967 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11968 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11969 | < |  | 
| 11970 | < | fi | 
| 11971 | < |  | 
| 11972 | < | fi | 
| 11973 | < | { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 | 
| 11974 | < | echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6; } | 
| 11975 | < | if test "$ac_cv_cxx_have_std_stl" = yes; then | 
| 11976 | < |  | 
| 11977 | < | cat >>confdefs.h <<\_ACEOF | 
| 11978 | < | #define HAVE_STD_STL 1 | 
| 11979 | < | _ACEOF | 
| 11980 | < |  | 
| 11981 | < | fi | 
| 11982 | < |  | 
| 11983 | < |  | 
| 11984 | < |  | 
| 11985 | < | { echo "$as_me:$LINENO: checking for fstream::attach()" >&5 | 
| 11986 | < | echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6; } | 
| 11987 | < | if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then | 
| 11988 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11989 | < | else | 
| 11990 | < |  | 
| 11991 | < | ac_cv_cxx_have_fstream_attach=no | 
| 11992 | < |  | 
| 11993 | < | ac_ext=cpp | 
| 11994 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 11995 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11996 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11997 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 11998 | < |  | 
| 11999 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12000 | < | /* confdefs.h.  */ | 
| 12001 | < | _ACEOF | 
| 12002 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12003 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12004 | < | /* end confdefs.h.  */ | 
| 12005 | < |  | 
| 12006 | < | #ifdef HAVE_IOSTREAM | 
| 12007 | < | #include <fstream> | 
| 12008 | < | #else | 
| 12009 | < | #include <fstream.h> | 
| 12010 | < | #endif | 
| 12011 | < | #ifdef HAVE_STD_IOSTREAM | 
| 12012 | < | using namespace std; | 
| 12013 | < | #endif | 
| 12014 | < |  | 
| 12015 | < | #ifdef FC_DUMMY_MAIN | 
| 12016 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12017 | < | #  ifdef __cplusplus | 
| 12018 | < | extern "C" | 
| 12019 | < | #  endif | 
| 12020 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12021 | < | #endif | 
| 12022 | < | #endif | 
| 12023 | < | int | 
| 12024 | < | main () | 
| 12025 | < | { | 
| 12026 | < | int fd=0;ofstream s;s.attach(fd); | 
| 12027 | < | ; | 
| 12028 | < | return 0; | 
| 12029 | < | } | 
| 12030 | < | _ACEOF | 
| 12031 | < | rm -f conftest.$ac_objext | 
| 12032 | < | if { (ac_try="$ac_compile" | 
| 12033 | < | case "(($ac_try" in | 
| 12034 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12035 | < | *) ac_try_echo=$ac_try;; | 
| 12036 | < | esac | 
| 12037 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12038 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12039 | < | ac_status=$? | 
| 12040 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12041 | < | rm -f conftest.er1 | 
| 12042 | < | cat conftest.err >&5 | 
| 12043 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12044 | < | (exit $ac_status); } && { | 
| 12045 | < | test -z "$ac_cxx_werror_flag" || | 
| 12046 | < | test ! -s conftest.err | 
| 12047 | < | } && test -s conftest.$ac_objext; then | 
| 12048 | < | ac_cv_cxx_have_fstream_attach=yes | 
| 12049 | < | else | 
| 12050 | < | echo "$as_me: failed program was:" >&5 | 
| 12051 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12052 | < |  | 
| 12053 | < |  | 
| 12054 | < | fi | 
| 12055 | < |  | 
| 12056 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12057 | < | ac_ext=cpp | 
| 12058 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 12059 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 12060 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 12061 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 12062 | < |  | 
| 12063 | < |  | 
| 12064 | < | fi | 
| 12065 | < | { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 | 
| 12066 | < | echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6; } | 
| 12067 | < | if test "$ac_cv_cxx_have_fstream_attach" = yes; then | 
| 12068 | < |  | 
| 12069 | < | cat >>confdefs.h <<\_ACEOF | 
| 12070 | < | #define HAVE_FSTREAM_ATTACH 1 | 
| 12071 | < | _ACEOF | 
| 12072 | < |  | 
| 12073 | < | fi | 
| 12074 | < |  | 
| 12075 | < |  | 
| 12076 | < |  | 
| 12077 | < | { echo "$as_me:$LINENO: checking for fstream::open()" >&5 | 
| 12078 | < | echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6; } | 
| 12079 | < | if test "${ac_cv_cxx_have_fstream_open+set}" = set; then | 
| 12080 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12081 | < | else | 
| 12082 | < |  | 
| 12083 | < | ac_cv_cxx_have_fstream_open=no | 
| 12084 | < | ac_cv_cxx_fstream_open_prot=no | 
| 12085 | < |  | 
| 12086 | < | ac_ext=cpp | 
| 12087 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 12088 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 12089 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 12090 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 12091 | < |  | 
| 12092 | < | # Try with 2 parameters | 
| 12093 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12094 | < | /* confdefs.h.  */ | 
| 12095 | < | _ACEOF | 
| 12096 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12097 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12098 | < | /* end confdefs.h.  */ | 
| 12099 | < |  | 
| 12100 | < | #ifdef HAVE_IOSTREAM | 
| 12101 | < | #include <fstream> | 
| 12102 | < | #else | 
| 12103 | < | #include <fstream.h> | 
| 12104 | < | #endif | 
| 12105 | < | #ifdef HAVE_STD_IOSTREAM | 
| 12106 | < | using namespace std; | 
| 12107 | < | #endif | 
| 12108 | < |  | 
| 12109 | < | #ifdef FC_DUMMY_MAIN | 
| 12110 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12111 | < | #  ifdef __cplusplus | 
| 12112 | < | extern "C" | 
| 12113 | < | #  endif | 
| 12114 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12115 | < | #endif | 
| 12116 | < | #endif | 
| 12117 | < | int | 
| 12118 | < | main () | 
| 12119 | < | { | 
| 12120 | < | ofstream s;s.open("conftest.txt",ios::out|ios::trunc); | 
| 12121 | < | ; | 
| 12122 | < | return 0; | 
| 12123 | < | } | 
| 12124 | < | _ACEOF | 
| 12125 | < | rm -f conftest.$ac_objext | 
| 12126 | < | if { (ac_try="$ac_compile" | 
| 12127 | < | case "(($ac_try" in | 
| 12128 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12129 | < | *) ac_try_echo=$ac_try;; | 
| 12130 | < | esac | 
| 12131 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12132 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12133 | < | ac_status=$? | 
| 12134 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12135 | < | rm -f conftest.er1 | 
| 12136 | < | cat conftest.err >&5 | 
| 12137 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12138 | < | (exit $ac_status); } && { | 
| 12139 | < | test -z "$ac_cxx_werror_flag" || | 
| 12140 | < | test ! -s conftest.err | 
| 12141 | < | } && test -s conftest.$ac_objext; then | 
| 12142 | < | ac_cv_cxx_have_fstream_open=yes | 
| 12143 | < | else | 
| 12144 | < | echo "$as_me: failed program was:" >&5 | 
| 12145 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12146 | < |  | 
| 12147 | < |  | 
| 12148 | < | fi | 
| 12149 | < |  | 
| 12150 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12151 | < | # Try with mode parameter | 
| 12152 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12153 | < | /* confdefs.h.  */ | 
| 12154 | < | _ACEOF | 
| 12155 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12156 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12157 | < | /* end confdefs.h.  */ | 
| 12158 | < |  | 
| 12159 | < | #ifdef HAVE_IOSTREAM | 
| 12160 | < | #include <fstream> | 
| 12161 | < | #else | 
| 12162 | < | #include <fstream.h> | 
| 12163 | < | #endif | 
| 12164 | < | #ifdef HAVE_STD_IOSTREAM | 
| 12165 | < | using namespace std; | 
| 12166 | < | #endif | 
| 12167 | < |  | 
| 12168 | < | #ifdef FC_DUMMY_MAIN | 
| 12169 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12170 | < | #  ifdef __cplusplus | 
| 12171 | < | extern "C" | 
| 12172 | < | #  endif | 
| 12173 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12174 | < | #endif | 
| 12175 | < | #endif | 
| 12176 | < | int | 
| 12177 | < | main () | 
| 12178 | < | { | 
| 12179 | < | ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666); | 
| 12180 | < | ; | 
| 12181 | < | return 0; | 
| 12182 | < | } | 
| 12183 | < | _ACEOF | 
| 12184 | < | rm -f conftest.$ac_objext | 
| 12185 | < | if { (ac_try="$ac_compile" | 
| 12186 | < | case "(($ac_try" in | 
| 12187 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12188 | < | *) ac_try_echo=$ac_try;; | 
| 12189 | < | esac | 
| 12190 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12191 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12192 | < | ac_status=$? | 
| 12193 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12194 | < | rm -f conftest.er1 | 
| 12195 | < | cat conftest.err >&5 | 
| 12196 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12197 | < | (exit $ac_status); } && { | 
| 12198 | < | test -z "$ac_cxx_werror_flag" || | 
| 12199 | < | test ! -s conftest.err | 
| 12200 | < | } && test -s conftest.$ac_objext; then | 
| 12201 | < | ac_cv_cxx_fstream_open_prot=yes | 
| 12202 | < | else | 
| 12203 | < | echo "$as_me: failed program was:" >&5 | 
| 12204 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12205 | < |  | 
| 12206 | < |  | 
| 12207 | < | fi | 
| 12208 | < |  | 
| 12209 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12210 | < | ac_ext=cpp | 
| 12211 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 12212 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 12213 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 12214 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 12215 | < |  | 
| 12216 | < |  | 
| 12217 | < | fi | 
| 12218 | < | { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 | 
| 12219 | < | echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6; } | 
| 12220 | < | if test "$ac_cv_cxx_have_fstream_open" = yes; then | 
| 12221 | < |  | 
| 12222 | < | cat >>confdefs.h <<\_ACEOF | 
| 12223 | < | #define HAVE_FSTREAM_OPEN 1 | 
| 12224 | < | _ACEOF | 
| 12225 | < |  | 
| 12226 | < | fi | 
| 12227 | < | if test "$ac_cv_cxx_fstream_open_prot" = yes; then | 
| 12228 | < |  | 
| 12229 | < | cat >>confdefs.h <<\_ACEOF | 
| 12230 | < | #define FSTREAM_OPEN_PROT 1 | 
| 12231 | < | _ACEOF | 
| 12232 | < |  | 
| 12233 | < | fi | 
| 12234 | < |  | 
| 12235 | < |  | 
| 12236 | < |  | 
| 12237 | < |  | 
| 12238 | < |  | 
| 12239 | < |  | 
| 12240 | < |  | 
| 12241 | < | for ac_header in ctype.h iostream fstream sstream strstream | 
| 12242 | < | do | 
| 12243 | < | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 12244 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 12245 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 12246 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 12247 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 12248 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12249 | < | fi | 
| 12250 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 12251 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 12252 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 12253 | < | else | 
| 12254 | < | # Is the header compilable? | 
| 12255 | < | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 12256 | < | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 12257 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12258 | < | /* confdefs.h.  */ | 
| 12259 | < | _ACEOF | 
| 12260 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12261 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12262 | < | /* end confdefs.h.  */ | 
| 12263 | < | $ac_includes_default | 
| 12264 | < | #include <$ac_header> | 
| 12265 | < | _ACEOF | 
| 12266 | < | rm -f conftest.$ac_objext | 
| 12267 | < | if { (ac_try="$ac_compile" | 
| 12268 | < | case "(($ac_try" in | 
| 12269 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12270 | < | *) ac_try_echo=$ac_try;; | 
| 12271 | < | esac | 
| 12272 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12273 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12274 | < | ac_status=$? | 
| 12275 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12276 | < | rm -f conftest.er1 | 
| 12277 | < | cat conftest.err >&5 | 
| 12278 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12279 | < | (exit $ac_status); } && { | 
| 12280 | < | test -z "$ac_cxx_werror_flag" || | 
| 12281 | < | test ! -s conftest.err | 
| 12282 | < | } && test -s conftest.$ac_objext; then | 
| 12283 | < | ac_header_compiler=yes | 
| 12284 | < | else | 
| 12285 | < | echo "$as_me: failed program was:" >&5 | 
| 12286 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12287 | < |  | 
| 12288 | < | ac_header_compiler=no | 
| 12289 | < | fi | 
| 12290 | < |  | 
| 12291 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12292 | < | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 12293 | < | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 12294 | < |  | 
| 12295 | < | # Is the header present? | 
| 12296 | < | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 12297 | < | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 12298 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12299 | < | /* confdefs.h.  */ | 
| 12300 | < | _ACEOF | 
| 12301 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12302 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12303 | < | /* end confdefs.h.  */ | 
| 12304 | < | #include <$ac_header> | 
| 12305 | < | _ACEOF | 
| 12306 | < | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 12307 | < | case "(($ac_try" in | 
| 12308 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12309 | < | *) ac_try_echo=$ac_try;; | 
| 12310 | < | esac | 
| 12311 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12312 | < | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 12313 | < | ac_status=$? | 
| 12314 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12315 | < | rm -f conftest.er1 | 
| 12316 | < | cat conftest.err >&5 | 
| 12317 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12318 | < | (exit $ac_status); } >/dev/null && { | 
| 12319 | < | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| 12320 | < | test ! -s conftest.err | 
| 12321 | < | }; then | 
| 12322 | < | ac_header_preproc=yes | 
| 12323 | < | else | 
| 12324 | < | echo "$as_me: failed program was:" >&5 | 
| 12325 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12326 | < |  | 
| 12327 | < | ac_header_preproc=no | 
| 12328 | < | fi | 
| 12329 | < |  | 
| 12330 | < | rm -f conftest.err conftest.$ac_ext | 
| 12331 | < | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 12332 | < | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 12333 | < |  | 
| 12334 | < | # So?  What about this header? | 
| 12335 | < | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | 
| 12336 | < | yes:no: ) | 
| 12337 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 12338 | < | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 12339 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 12340 | < | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 12341 | < | ac_header_preproc=yes | 
| 12342 | < | ;; | 
| 12343 | < | no:yes:* ) | 
| 12344 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 12345 | < | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 12346 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 12347 | < | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 12348 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 12349 | < | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 12350 | < | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 12351 | < | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 12352 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 12353 | < | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 12354 | < | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 12355 | < | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 12356 | < | ( cat <<\_ASBOX | 
| 12357 | < | ## ------------------------------ ## | 
| 12358 | < | ## Report this to gezelter@nd.edu ## | 
| 12359 | < | ## ------------------------------ ## | 
| 12360 | < | _ASBOX | 
| 12361 | < | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 12362 | < | ;; | 
| 12363 | < | esac | 
| 12364 | < | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 12365 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 12366 | < | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 12367 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12368 | < | else | 
| 12369 | < | eval "$as_ac_Header=\$ac_header_preproc" | 
| 12370 | < | fi | 
| 12371 | < | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 12372 | < | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 12373 | < | echo "${ECHO_T}$ac_res" >&6; } | 
| 12374 | < |  | 
| 12375 | < | fi | 
| 12376 | < | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 12377 | < | cat >>confdefs.h <<_ACEOF | 
| 12378 | < | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 12379 | < | _ACEOF | 
| 12380 | < |  | 
| 12381 | < | fi | 
| 12382 | < |  | 
| 12383 | < | done | 
| 12384 | < |  | 
| 12385 | < | # AC_CPP_FUNC | 
| 12386 | < | # ------------------ # | 
| 12387 | < | # Checks to see if ANSI C99 CPP variable __func__ works. | 
| 12388 | < | # If not, perhaps __FUNCTION__ works instead. | 
| 12389 | < | # If not, we'll just define __func__ to "". | 
| 12390 | < | # AC_CPP_FUNC | 
| 12391 | < |  | 
| 12392 | < | case $ac_cv_prog_cc_stdc in | 
| 12393 | < | no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; | 
| 12394 | < | *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 | 
| 12395 | < | echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } | 
| 12396 | < | if test "${ac_cv_prog_cc_c99+set}" = set; then | 
| 12397 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12398 | < | else | 
| 12399 | < | ac_cv_prog_cc_c99=no | 
| 12400 | < | ac_save_CC=$CC | 
| 12401 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12402 | < | /* confdefs.h.  */ | 
| 12403 | < | _ACEOF | 
| 12404 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12405 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12406 | < | /* end confdefs.h.  */ | 
| 12407 | < | #include <stdarg.h> | 
| 12408 | < | #include <stdbool.h> | 
| 12409 | < | #include <stdlib.h> | 
| 12410 | < | #include <wchar.h> | 
| 12411 | < | #include <stdio.h> | 
| 12412 | < |  | 
| 12413 | < | // Check varargs macros.  These examples are taken from C99 6.10.3.5. | 
| 12414 | < | #define debug(...) fprintf (stderr, __VA_ARGS__) | 
| 12415 | < | #define showlist(...) puts (#__VA_ARGS__) | 
| 12416 | < | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | 
| 12417 | < | static void | 
| 12418 | < | test_varargs_macros (void) | 
| 12419 | < | { | 
| 12420 | < | int x = 1234; | 
| 12421 | < | int y = 5678; | 
| 12422 | < | debug ("Flag"); | 
| 12423 | < | debug ("X = %d\n", x); | 
| 12424 | < | showlist (The first, second, and third items.); | 
| 12425 | < | report (x>y, "x is %d but y is %d", x, y); | 
| 12426 | < | } | 
| 12427 | < |  | 
| 12428 | < | // Check long long types. | 
| 12429 | < | #define BIG64 18446744073709551615ull | 
| 12430 | < | #define BIG32 4294967295ul | 
| 12431 | < | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | 
| 12432 | < | #if !BIG_OK | 
| 12433 | < | your preprocessor is broken; | 
| 12434 | < | #endif | 
| 12435 | < | #if BIG_OK | 
| 12436 | < | #else | 
| 12437 | < | your preprocessor is broken; | 
| 12438 | < | #endif | 
| 12439 | < | static long long int bignum = -9223372036854775807LL; | 
| 12440 | < | static unsigned long long int ubignum = BIG64; | 
| 12441 | < |  | 
| 12442 | < | struct incomplete_array | 
| 12443 | < | { | 
| 12444 | < | int datasize; | 
| 12445 | < | double data[]; | 
| 12446 | < | }; | 
| 12447 | < |  | 
| 12448 | < | struct named_init { | 
| 12449 | < | int number; | 
| 12450 | < | const wchar_t *name; | 
| 12451 | < | double average; | 
| 12452 | < | }; | 
| 12453 | < |  | 
| 12454 | < | typedef const char *ccp; | 
| 12455 | < |  | 
| 12456 | < | static inline int | 
| 12457 | < | test_restrict (ccp restrict text) | 
| 12458 | < | { | 
| 12459 | < | // See if C++-style comments work. | 
| 12460 | < | // Iterate through items via the restricted pointer. | 
| 12461 | < | // Also check for declarations in for loops. | 
| 12462 | < | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | 
| 12463 | < | continue; | 
| 12464 | < | return 0; | 
| 12465 | < | } | 
| 12466 | < |  | 
| 12467 | < | // Check varargs and va_copy. | 
| 12468 | < | static void | 
| 12469 | < | test_varargs (const char *format, ...) | 
| 12470 | < | { | 
| 12471 | < | va_list args; | 
| 12472 | < | va_start (args, format); | 
| 12473 | < | va_list args_copy; | 
| 12474 | < | va_copy (args_copy, args); | 
| 12475 | < |  | 
| 12476 | < | const char *str; | 
| 12477 | < | int number; | 
| 12478 | < | float fnumber; | 
| 12479 | < |  | 
| 12480 | < | while (*format) | 
| 12481 | < | { | 
| 12482 | < | switch (*format++) | 
| 12483 | < | { | 
| 12484 | < | case 's': // string | 
| 12485 | < | str = va_arg (args_copy, const char *); | 
| 12486 | < | break; | 
| 12487 | < | case 'd': // int | 
| 12488 | < | number = va_arg (args_copy, int); | 
| 12489 | < | break; | 
| 12490 | < | case 'f': // float | 
| 12491 | < | fnumber = va_arg (args_copy, double); | 
| 12492 | < | break; | 
| 12493 | < | default: | 
| 12494 | < | break; | 
| 12495 | < | } | 
| 12496 | < | } | 
| 12497 | < | va_end (args_copy); | 
| 12498 | < | va_end (args); | 
| 12499 | < | } | 
| 12500 | < |  | 
| 12501 | < | #ifdef FC_DUMMY_MAIN | 
| 12502 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12503 | < | #  ifdef __cplusplus | 
| 12504 | < | extern "C" | 
| 12505 | < | #  endif | 
| 12506 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12507 | < | #endif | 
| 12508 | < | #endif | 
| 12509 | < | int | 
| 12510 | < | main () | 
| 12511 | < | { | 
| 12512 | < |  | 
| 12513 | < | // Check bool. | 
| 12514 | < | _Bool success = false; | 
| 12515 | < |  | 
| 12516 | < | // Check restrict. | 
| 12517 | < | if (test_restrict ("String literal") == 0) | 
| 12518 | < | success = true; | 
| 12519 | < | char *restrict newvar = "Another string"; | 
| 12520 | < |  | 
| 12521 | < | // Check varargs. | 
| 12522 | < | test_varargs ("s, d' f .", "string", 65, 34.234); | 
| 12523 | < | test_varargs_macros (); | 
| 12524 | < |  | 
| 12525 | < | // Check flexible array members. | 
| 12526 | < | struct incomplete_array *ia = | 
| 12527 | < | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | 
| 12528 | < | ia->datasize = 10; | 
| 12529 | < | for (int i = 0; i < ia->datasize; ++i) | 
| 12530 | < | ia->data[i] = i * 1.234; | 
| 12531 | < |  | 
| 12532 | < | // Check named initializers. | 
| 12533 | < | struct named_init ni = { | 
| 12534 | < | .number = 34, | 
| 12535 | < | .name = L"Test wide string", | 
| 12536 | < | .average = 543.34343, | 
| 12537 | < | }; | 
| 12538 | < |  | 
| 12539 | < | ni.number = 58; | 
| 12540 | < |  | 
| 12541 | < | int dynamic_array[ni.number]; | 
| 12542 | < | dynamic_array[ni.number - 1] = 543; | 
| 12543 | < |  | 
| 12544 | < | // work around unused variable warnings | 
| 12545 | < | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | 
| 12546 | < | || dynamic_array[ni.number - 1] != 543); | 
| 12547 | < |  | 
| 12548 | < | ; | 
| 12549 | < | return 0; | 
| 12550 | < | } | 
| 12551 | < | _ACEOF | 
| 12552 | < | for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 | 
| 12553 | < | do | 
| 12554 | < | CC="$ac_save_CC $ac_arg" | 
| 12555 | < | rm -f conftest.$ac_objext | 
| 12556 | < | if { (ac_try="$ac_compile" | 
| 12557 | < | case "(($ac_try" in | 
| 12558 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12559 | < | *) ac_try_echo=$ac_try;; | 
| 12560 | < | esac | 
| 12561 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12562 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12563 | < | ac_status=$? | 
| 12564 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12565 | < | rm -f conftest.er1 | 
| 12566 | < | cat conftest.err >&5 | 
| 12567 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12568 | < | (exit $ac_status); } && { | 
| 12569 | < | test -z "$ac_cxx_werror_flag" || | 
| 12570 | < | test ! -s conftest.err | 
| 12571 | < | } && test -s conftest.$ac_objext; then | 
| 12572 | < | ac_cv_prog_cc_c99=$ac_arg | 
| 12573 | < | else | 
| 12574 | < | echo "$as_me: failed program was:" >&5 | 
| 12575 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12576 | < |  | 
| 12577 | < |  | 
| 12578 | < | fi | 
| 12579 | < |  | 
| 12580 | < | rm -f core conftest.err conftest.$ac_objext | 
| 12581 | < | test "x$ac_cv_prog_cc_c99" != "xno" && break | 
| 12582 | < | done | 
| 12583 | < | rm -f conftest.$ac_ext | 
| 12584 | < | CC=$ac_save_CC | 
| 12585 | < |  | 
| 12586 | < | fi | 
| 12587 | < | # AC_CACHE_VAL | 
| 12588 | < | case "x$ac_cv_prog_cc_c99" in | 
| 12589 | < | x) | 
| 12590 | < | { echo "$as_me:$LINENO: result: none needed" >&5 | 
| 12591 | < | echo "${ECHO_T}none needed" >&6; } ;; | 
| 12592 | < | xno) | 
| 12593 | < | { echo "$as_me:$LINENO: result: unsupported" >&5 | 
| 12594 | < | echo "${ECHO_T}unsupported" >&6; } ;; | 
| 12595 | < | *) | 
| 12596 | < | CC="$CC $ac_cv_prog_cc_c99" | 
| 12597 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 | 
| 12598 | < | echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; | 
| 12599 | < | esac | 
| 12600 | < | if test "x$ac_cv_prog_cc_c99" != xno; then | 
| 12601 | < | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 | 
| 12602 | < | else | 
| 12603 | < | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 
| 12604 | < | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 
| 12605 | < | if test "${ac_cv_prog_cc_c89+set}" = set; then | 
| 12606 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12607 | < | else | 
| 12608 | < | ac_cv_prog_cc_c89=no | 
| 12609 | < | ac_save_CC=$CC | 
| 12610 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12611 | < | /* confdefs.h.  */ | 
| 12612 | < | _ACEOF | 
| 12613 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12614 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12615 | < | /* end confdefs.h.  */ | 
| 12616 | < | #include <stdarg.h> | 
| 12617 | < | #include <stdio.h> | 
| 12618 | < | #include <sys/types.h> | 
| 12619 | < | #include <sys/stat.h> | 
| 12620 | < | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| 12621 | < | struct buf { int x; }; | 
| 12622 | < | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| 12623 | < | static char *e (p, i) | 
| 12624 | < | char **p; | 
| 12625 | < | int i; | 
| 12626 | < | { | 
| 12627 | < | return p[i]; | 
| 12628 | < | } | 
| 12629 | < | static char *f (char * (*g) (char **, int), char **p, ...) | 
| 12630 | < | { | 
| 12631 | < | char *s; | 
| 12632 | < | va_list v; | 
| 12633 | < | va_start (v,p); | 
| 12634 | < | s = g (p, va_arg (v,int)); | 
| 12635 | < | va_end (v); | 
| 12636 | < | return s; | 
| 12637 | < | } | 
| 12638 | < |  | 
| 12639 | < | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| 12640 | < | function prototypes and stuff, but not '\xHH' hex character constants. | 
| 12641 | < | These don't provoke an error unfortunately, instead are silently treated | 
| 12642 | < | as 'x'.  The following induces an error, until -std is added to get | 
| 12643 | < | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| 12644 | < | array size at least.  It's necessary to write '\x00'==0 to get something | 
| 12645 | < | that's true only with -std.  */ | 
| 12646 | < | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| 12647 | < |  | 
| 12648 | < | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
| 12649 | < | inside strings and character constants.  */ | 
| 12650 | < | #define FOO(x) 'x' | 
| 12651 | < | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
| 12652 | < |  | 
| 12653 | < | int test (int i, double x); | 
| 12654 | < | struct s1 {int (*f) (int a);}; | 
| 12655 | < | struct s2 {int (*f) (double a);}; | 
| 12656 | < | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| 12657 | < | int argc; | 
| 12658 | < | char **argv; | 
| 12659 | < | #ifdef FC_DUMMY_MAIN | 
| 12660 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12661 | < | #  ifdef __cplusplus | 
| 12662 | < | extern "C" | 
| 12663 | < | #  endif | 
| 12664 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12665 | < | #endif | 
| 12666 | < | #endif | 
| 12667 | < | int | 
| 12668 | < | main () | 
| 12669 | < | { | 
| 12670 | < | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| 12671 | < | ; | 
| 12672 | < | return 0; | 
| 12673 | < | } | 
| 12674 | < | _ACEOF | 
| 12675 | < | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
| 12676 | < | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| 12677 | < | do | 
| 12678 | < | CC="$ac_save_CC $ac_arg" | 
| 12679 | < | rm -f conftest.$ac_objext | 
| 12680 | < | if { (ac_try="$ac_compile" | 
| 12681 | < | case "(($ac_try" in | 
| 12682 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12683 | < | *) ac_try_echo=$ac_try;; | 
| 12684 | < | esac | 
| 12685 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12686 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12687 | < | ac_status=$? | 
| 12688 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12689 | < | rm -f conftest.er1 | 
| 12690 | < | cat conftest.err >&5 | 
| 12691 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12692 | < | (exit $ac_status); } && { | 
| 12693 | < | test -z "$ac_cxx_werror_flag" || | 
| 12694 | < | test ! -s conftest.err | 
| 12695 | < | } && test -s conftest.$ac_objext; then | 
| 12696 | < | ac_cv_prog_cc_c89=$ac_arg | 
| 12697 | < | else | 
| 12698 | < | echo "$as_me: failed program was:" >&5 | 
| 12699 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12700 | < |  | 
| 12701 | < |  | 
| 12702 | < | fi | 
| 12703 | < |  | 
| 12704 | < | rm -f core conftest.err conftest.$ac_objext | 
| 12705 | < | test "x$ac_cv_prog_cc_c89" != "xno" && break | 
| 12706 | < | done | 
| 12707 | < | rm -f conftest.$ac_ext | 
| 12708 | < | CC=$ac_save_CC | 
| 12709 | < |  | 
| 12710 | < | fi | 
| 12711 | < | # AC_CACHE_VAL | 
| 12712 | < | case "x$ac_cv_prog_cc_c89" in | 
| 12713 | < | x) | 
| 12714 | < | { echo "$as_me:$LINENO: result: none needed" >&5 | 
| 12715 | < | echo "${ECHO_T}none needed" >&6; } ;; | 
| 12716 | < | xno) | 
| 12717 | < | { echo "$as_me:$LINENO: result: unsupported" >&5 | 
| 12718 | < | echo "${ECHO_T}unsupported" >&6; } ;; | 
| 12719 | < | *) | 
| 12720 | < | CC="$CC $ac_cv_prog_cc_c89" | 
| 12721 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 
| 12722 | < | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 
| 12723 | < | esac | 
| 12724 | < | if test "x$ac_cv_prog_cc_c89" != xno; then | 
| 12725 | < | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 | 
| 12726 | < | else | 
| 12727 | < | ac_cv_prog_cc_stdc=no | 
| 12728 | < | fi | 
| 12729 | < |  | 
| 12730 | < |  | 
| 12731 | < | fi | 
| 12732 | < |  | 
| 12733 | < | ;; | 
| 12734 | < | esac | 
| 12735 | < | { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 | 
| 12736 | < | echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; } | 
| 12737 | < | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
| 12738 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12739 | < | fi | 
| 12740 | < |  | 
| 12741 | < | case $ac_cv_prog_cc_stdc in | 
| 12742 | < | no) { echo "$as_me:$LINENO: result: unsupported" >&5 | 
| 12743 | < | echo "${ECHO_T}unsupported" >&6; } ;; | 
| 12744 | < | '') { echo "$as_me:$LINENO: result: none needed" >&5 | 
| 12745 | < | echo "${ECHO_T}none needed" >&6; } ;; | 
| 12746 | < | *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
| 12747 | < | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; | 
| 12748 | < | esac | 
| 12749 | < |  | 
| 12750 | < |  | 
| 12751 | < | { echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 | 
| 12752 | < | echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6; } | 
| 12753 | < | if test "${ac_cv_cpp_func+set}" = set; then | 
| 12754 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12755 | < | else | 
| 12756 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12757 | < | /* confdefs.h.  */ | 
| 12758 | < | _ACEOF | 
| 12759 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12760 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12761 | < | /* end confdefs.h.  */ | 
| 12762 | < |  | 
| 12763 | < | #ifdef FC_DUMMY_MAIN | 
| 12764 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12765 | < | #  ifdef __cplusplus | 
| 12766 | < | extern "C" | 
| 12767 | < | #  endif | 
| 12768 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12769 | < | #endif | 
| 12770 | < | #endif | 
| 12771 | < | int | 
| 12772 | < | main () | 
| 12773 | < | { | 
| 12774 | < | const char *foo = __func__; | 
| 12775 | < | ; | 
| 12776 | < | return 0; | 
| 12777 | < | } | 
| 12778 | < | _ACEOF | 
| 12779 | < | rm -f conftest.$ac_objext | 
| 12780 | < | if { (ac_try="$ac_compile" | 
| 12781 | < | case "(($ac_try" in | 
| 12782 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12783 | < | *) ac_try_echo=$ac_try;; | 
| 12784 | < | esac | 
| 12785 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12786 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12787 | < | ac_status=$? | 
| 12788 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12789 | < | rm -f conftest.er1 | 
| 12790 | < | cat conftest.err >&5 | 
| 12791 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12792 | < | (exit $ac_status); } && { | 
| 12793 | < | test -z "$ac_cxx_werror_flag" || | 
| 12794 | < | test ! -s conftest.err | 
| 12795 | < | } && test -s conftest.$ac_objext; then | 
| 12796 | < | ac_cv_cpp_func=yes | 
| 12797 | < | else | 
| 12798 | < | echo "$as_me: failed program was:" >&5 | 
| 12799 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12800 | < |  | 
| 12801 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 12802 | < | /* confdefs.h.  */ | 
| 12803 | < | _ACEOF | 
| 12804 | < | cat confdefs.h >>conftest.$ac_ext | 
| 12805 | < | cat >>conftest.$ac_ext <<_ACEOF | 
| 12806 | < | /* end confdefs.h.  */ | 
| 12807 | < |  | 
| 12808 | < | #ifdef FC_DUMMY_MAIN | 
| 12809 | < | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12810 | < | #  ifdef __cplusplus | 
| 12811 | < | extern "C" | 
| 12812 | < | #  endif | 
| 12813 | < | int FC_DUMMY_MAIN() { return 1; } | 
| 12814 | < | #endif | 
| 12815 | < | #endif | 
| 12816 | < | int | 
| 12817 | < | main () | 
| 12818 | < | { | 
| 12819 | < | const char *foo = __FUNCTION__; | 
| 12820 | < | ; | 
| 12821 | < | return 0; | 
| 12822 | < | } | 
| 12823 | < | _ACEOF | 
| 12824 | < | rm -f conftest.$ac_objext | 
| 12825 | < | if { (ac_try="$ac_compile" | 
| 12826 | < | case "(($ac_try" in | 
| 12827 | < | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12828 | < | *) ac_try_echo=$ac_try;; | 
| 12829 | < | esac | 
| 12830 | < | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12831 | < | (eval "$ac_compile") 2>conftest.er1 | 
| 12832 | < | ac_status=$? | 
| 12833 | < | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12834 | < | rm -f conftest.er1 | 
| 12835 | < | cat conftest.err >&5 | 
| 12836 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12837 | < | (exit $ac_status); } && { | 
| 12838 | < | test -z "$ac_cxx_werror_flag" || | 
| 12839 | < | test ! -s conftest.err | 
| 12840 | < | } && test -s conftest.$ac_objext; then | 
| 12841 | < | ac_cv_cpp_func=__FUNCTION__ | 
| 12842 | < | else | 
| 12843 | < | echo "$as_me: failed program was:" >&5 | 
| 12844 | < | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12845 | < |  | 
| 12846 | < | ac_cv_cpp_func=no | 
| 12847 | < | fi | 
| 12848 | < |  | 
| 12849 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12850 | < | fi | 
| 12851 | < |  | 
| 12852 | < | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12853 | < | fi | 
| 12854 | < | { echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 | 
| 12855 | < | echo "${ECHO_T}$ac_cv_cpp_func" >&6; } | 
| 12856 | < | if test $ac_cv_cpp_func = __FUNCTION__; then | 
| 12857 | < |  | 
| 12858 | < | cat >>confdefs.h <<\_ACEOF | 
| 12859 | < | #define __func__ __FUNCTION__ | 
| 12860 | < | _ACEOF | 
| 12861 | < |  | 
| 12862 | < | elif test $ac_cv_cpp_func = no; then | 
| 12863 | < |  | 
| 12864 | < | cat >>confdefs.h <<\_ACEOF | 
| 12865 | < | #define __func__ "" | 
| 12866 | < | _ACEOF | 
| 12867 | < |  | 
| 12868 | < | fi | 
| 12869 | < |  | 
| 12870 | < |  | 
| 12871 | < |  | 
| 12872 | < |  | 
| 12873 | < |  | 
| 12874 | < | case $debug in | 
| 12875 | < | 1) | 
| 12876 | < | ;; | 
| 12877 | < | *) | 
| 12878 | < |  | 
| 12879 | < |  | 
| 12880 | < |  | 
| 12881 | < |  | 
| 12882 | < | # Try to determine "good" native compiler flags if none specified on command | 
| 12883 | < | # line | 
| 12884 | < |  | 
| 12885 | < | if test "$ac_test_FFLAGS" != "set"; then | 
| 12886 | < | FCFLAGS="" | 
| 12887 | < | case "${host_cpu}-${host_os}" in | 
| 12888 | < |  | 
| 12889 | < | *linux*) if test "$FC" = ifc -o "$FC" = ifort; then | 
| 12890 | < | FCFLAGS="-O3 -ip -no-prec-div" | 
| 12891 | < | fi;; | 
| 12892 | < | rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then | 
| 12893 | < | FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" | 
| 12894 | < | fi;; | 
| 12895 | < | powerpc*-aix*) | 
| 12896 | < | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 12897 | < | FCFLAGS="-O3 -qarch=ppc -qansialias -w" | 
| 12898 | < | echo "*******************************************************" | 
| 12899 | < | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 12900 | < | echo "*  recommended that you use                           *" | 
| 12901 | < | echo "*                                                     *" | 
| 12902 | < | echo "*   FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 12903 | < | echo "*                                 ^^^                 *" | 
| 12904 | < | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 12905 | < | echo "*  PowerPC CPU you have.   For more info, man xlf.    *" | 
| 12906 | < | echo "*******************************************************" | 
| 12907 | < | fi;; | 
| 12908 | < | *darwin*) | 
| 12909 | < | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 12910 | < | FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" | 
| 12911 | < | fi | 
| 12912 | < | if test "$FC" = ifort; then | 
| 12913 | < | FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic" | 
| 12914 | < | fi;; | 
| 12915 | < | esac | 
| 12916 | < |  | 
| 12917 | < | if test -n "$CPU_FLAGS"; then | 
| 12918 | < | FCFLAGS="$FCFLAGS $CPU_FLAGS" | 
| 12919 | < | fi | 
| 12920 | < |  | 
| 12921 | < | if test -z "$FCFLAGS"; then | 
| 12922 | < | echo "" | 
| 12923 | < | echo "*********************************************************" | 
| 12924 | < | echo "* WARNING: Don't know the best FCFLAGS for this system  *" | 
| 12925 | < | echo "* Use  make FCFLAGS=..., or edit the top level Makefile *" | 
| 12926 | < | echo "* (otherwise, a default of FCFLAGS=-O3 will be used)    *" | 
| 12927 | < | echo "*********************************************************" | 
| 12928 | < | echo "" | 
| 12929 | < | FCFLAGS="-O3" | 
| 12930 | < | fi | 
| 12931 | < |  | 
| 12932 | < |  | 
| 12933 | < | { echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 | 
| 12934 | < | echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6; } | 
| 12935 | < | if test "${ac_guessed_f90flags+set}" = set; then | 
| 12936 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12937 | < | else | 
| 12938 | < |  | 
| 12939 | < |  | 
| 12940 | < | ac_ext=${ac_fc_srcext-f} | 
| 12941 | < | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' | 
| 12942 | < | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 12943 | < | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 12944 | < |  | 
| 12945 | < | echo 'program main' > conftest.$ac_ext | 
| 12946 | < | echo 'end program main' >> conftest.$ac_ext | 
| 12947 | < | ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5' | 
| 12948 | < | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 12949 | < | (eval $ac_compile) 2>&5 | 
| 12950 | < | ac_status=$? | 
| 12951 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12952 | < | (exit $ac_status); }; then | 
| 12953 | < | ac_guessed_f90flags=yes | 
| 12954 | < | else | 
| 12955 | < | ac_guessed_f90flags=no | 
| 12956 | < | fi | 
| 12957 | < | rm -rf conftest* | 
| 12958 | < | ac_ext=cpp | 
| 12959 | < | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 12960 | < | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 12961 | < | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 12962 | < | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| 12963 | < |  | 
| 12964 | < |  | 
| 12965 | < | fi | 
| 12966 | < | { echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 | 
| 12967 | < | echo "${ECHO_T}$ac_guessed_f90flags" >&6; } | 
| 12968 | < | if test "$ac_guessed_f90flags" = yes; then | 
| 12969 | < | : | 
| 12970 | < |  | 
| 12971 | < | else | 
| 12972 | < | : | 
| 12973 | < |  | 
| 12974 | < | echo "" | 
| 12975 | < | echo "**********************************************************" | 
| 12976 | < | echo "* WARNING: The guessed FCFLAGS don't seem to work with  *" | 
| 12977 | < | echo "* your compiler.                                        *" | 
| 12978 | < | echo "* Use  make FCFLAGS=..., or edit the top level Makefile *" | 
| 12979 | < | echo "*********************************************************" | 
| 12980 | < | echo "" | 
| 12981 | < | FCFLAGS="" | 
| 12982 | < |  | 
| 12983 | < | fi | 
| 12984 | < |  | 
| 12985 | < |  | 
| 12986 | < | fi | 
| 12987 | < |  | 
| 12988 | < |  | 
| 12989 | < |  | 
| 12990 | < |  | 
| 12991 | < |  | 
| 12992 | < |  | 
| 12993 | < |  | 
| 12994 | < | { echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 | 
| 12995 | < | echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6; } | 
| 12996 | < | if test "${ac_cv_prog_really_gcc+set}" = set; then | 
| 12997 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12998 | < | else | 
| 12999 | < |  | 
| 13000 | < | cat > conftest.c <<EOF | 
| 13001 | < | #ifdef __GNUC__ | 
| 13002 | < | #if defined(__INTEL_COMPILER) || defined(__PATHCC__) | 
| 13003 | < | no; | 
| 13004 | < | #else | 
| 13005 | < | yes; | 
| 13006 | < | #endif | 
| 13007 | < | #endif | 
| 13008 | < | EOF | 
| 13009 | < | if { ac_try='${CC-cc} -E conftest.c' | 
| 13010 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 13011 | < | (eval $ac_try) 2>&5 | 
| 13012 | < | ac_status=$? | 
| 13013 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 13014 | < | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 13015 | < | ac_cv_prog_really_gcc=yes | 
| 13016 | < | else | 
| 13017 | < | ac_cv_prog_really_gcc=no | 
| 13018 | < | fi | 
| 13019 | < |  | 
| 13020 | < | fi | 
| 13021 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 | 
| 13022 | < | echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6; } | 
| 13023 | < | if test "$ac_cv_prog_really_gcc" = yes; then | 
| 13024 | < | : | 
| 13025 | < |  | 
| 13026 | < | else | 
| 13027 | < | : | 
| 13028 | < |  | 
| 13029 | < | fi | 
| 13030 | < |  | 
| 13031 | < |  | 
| 13032 | < | # Try to determine "good" native compiler flags if none specified on command | 
| 13033 | < | # line | 
| 13034 | < | if test "$ac_test_CFLAGS" != "set"; then | 
| 13035 | < | CFLAGS="" | 
| 13036 | < | case "${host_cpu}-${host_os}" in | 
| 13037 | < |  | 
| 13038 | < | *linux*) if test "$CC" = icc; then | 
| 13039 | < | CFLAGS="-O" | 
| 13040 | < | fi;; | 
| 13041 | < | sparc-solaris2*) if test "$CC" = cc; then | 
| 13042 | < | CFLAGS="-O -dalign" | 
| 13043 | < | fi;; | 
| 13044 | < |  | 
| 13045 | < | alpha*-osf*)  if test "$CC" = cc; then | 
| 13046 | < | CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" | 
| 13047 | < | fi;; | 
| 13048 | < |  | 
| 13049 | < | hppa*-hpux*)  if test "$CC" = cc; then | 
| 13050 | < | CFLAGS="-Ae +O3 +Oall" | 
| 13051 | < | fi;; | 
| 13052 | < |  | 
| 13053 | < | rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then | 
| 13054 | < | CFLAGS="-O3 -qtune=auto -qansialias -w" | 
| 13055 | < | fi;; | 
| 13056 | < | powerpc*-aix*) | 
| 13057 | < | if test "$CC" = cc -o "$CC" = xlc; then | 
| 13058 | < | CFLAGS="-O3 -qtune=auto -qansialias -w" | 
| 13059 | < | echo "*******************************************************" | 
| 13060 | < | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 13061 | < | echo "*  recommended that you use                           *" | 
| 13062 | < | echo "*                                                     *" | 
| 13063 | < | echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 13064 | < | echo "*                                 ^^^                 *" | 
| 13065 | < | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 13066 | < | echo "*  PowerPC CPU you have.   For more info, man cc.     *" | 
| 13067 | < | echo "*******************************************************" | 
| 13068 | < | fi;; | 
| 13069 | < | *darwin*) | 
| 13070 | < | if test "$CC" = xlc -o "$CC" = cc; then | 
| 13071 | < | CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 13072 | < | fi | 
| 13073 | < | if test "$CC" = icc; then | 
| 13074 | < | CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" | 
| 13075 | < | fi;; | 
| 13076 | < | esac | 
| 13077 | < |  | 
| 13078 | < | # use default flags for gcc on all systems | 
| 13079 | < | if test $ac_cv_prog_really_gcc = yes; then | 
| 13080 | < | CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic" | 
| 13081 | < | fi | 
| 13082 | < |  | 
| 13083 | < | # test for gcc-specific flags: | 
| 13084 | < | if test $ac_cv_prog_really_gcc = yes; then | 
| 13085 | < | # -malign-double for x86 systems | 
| 13086 | < |  | 
| 13087 | < |  | 
| 13088 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5 | 
| 13089 | < | echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6; } | 
| 13090 | < | if test "${ac_align_double+set}" = set; then | 
| 13091 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13092 | < | else | 
| 13093 | < | echo 'void f(){}' > conftest.c | 
| 13094 | < | if test -z "`${CC} -malign-double -c conftest.c 2>&1`"; then | 
| 13095 | < | ac_align_double=yes | 
| 13096 | < | else | 
| 13097 | < | ac_align_double=no | 
| 13098 | < | fi | 
| 13099 | < | rm -f conftest* | 
| 13100 | < |  | 
| 13101 | < | fi | 
| 13102 | < | { echo "$as_me:$LINENO: result: $ac_align_double" >&5 | 
| 13103 | < | echo "${ECHO_T}$ac_align_double" >&6; } | 
| 13104 | < | if test "$ac_align_double" = yes; then | 
| 13105 | < | : | 
| 13106 | < | CFLAGS="$CFLAGS -malign-double" | 
| 13107 | < | else | 
| 13108 | < | : | 
| 13109 | < |  | 
| 13110 | < | fi | 
| 13111 | < |  | 
| 13112 | < | # -fstrict-aliasing for gcc-2.95+ | 
| 13113 | < |  | 
| 13114 | < |  | 
| 13115 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5 | 
| 13116 | < | echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6; } | 
| 13117 | < | if test "${ac_fstrict_aliasing+set}" = set; then | 
| 13118 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13119 | < | else | 
| 13120 | < | echo 'void f(){}' > conftest.c | 
| 13121 | < | if test -z "`${CC} -fstrict-aliasing -c conftest.c 2>&1`"; then | 
| 13122 | < | ac_fstrict_aliasing=yes | 
| 13123 | < | else | 
| 13124 | < | ac_fstrict_aliasing=no | 
| 13125 | < | fi | 
| 13126 | < | rm -f conftest* | 
| 13127 | < |  | 
| 13128 | < | fi | 
| 13129 | < | { echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 | 
| 13130 | < | echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } | 
| 13131 | < | if test "$ac_fstrict_aliasing" = yes; then | 
| 13132 | < | : | 
| 13133 | < | CFLAGS="$CFLAGS -fstrict-aliasing" | 
| 13134 | < | else | 
| 13135 | < | : | 
| 13136 | < |  | 
| 13137 | < | fi | 
| 13138 | < |  | 
| 13139 | < | fi | 
| 13140 | < |  | 
| 13141 | < | CPU_FLAGS="" | 
| 13142 | < | if test $ac_cv_prog_really_gcc = yes; then | 
| 13143 | < | case "${host_cpu}" in | 
| 13144 | < | i586*) | 
| 13145 | < |  | 
| 13146 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5 | 
| 13147 | < | echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6; } | 
| 13148 | < | if test "${ac_cpu_pentium+set}" = set; then | 
| 13149 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13150 | < | else | 
| 13151 | < | echo 'void f(){}' > conftest.c | 
| 13152 | < | if test -z "`${CC} -mcpu=pentium -c conftest.c 2>&1`"; then | 
| 13153 | < | ac_cpu_pentium=yes | 
| 13154 | < | else | 
| 13155 | < | ac_cpu_pentium=no | 
| 13156 | < | fi | 
| 13157 | < | rm -f conftest* | 
| 13158 | < |  | 
| 13159 | < | fi | 
| 13160 | < | { echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 | 
| 13161 | < | echo "${ECHO_T}$ac_cpu_pentium" >&6; } | 
| 13162 | < | if test "$ac_cpu_pentium" = yes; then | 
| 13163 | < | : | 
| 13164 | < | CPU_FLAGS=-mcpu=pentium | 
| 13165 | < | else | 
| 13166 | < | : | 
| 13167 | < |  | 
| 13168 | < |  | 
| 13169 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5 | 
| 13170 | < | echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6; } | 
| 13171 | < | if test "${ac_pentium+set}" = set; then | 
| 13172 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13173 | < | else | 
| 13174 | < | echo 'void f(){}' > conftest.c | 
| 13175 | < | if test -z "`${CC} -mpentium -c conftest.c 2>&1`"; then | 
| 13176 | < | ac_pentium=yes | 
| 13177 | < | else | 
| 13178 | < | ac_pentium=no | 
| 13179 | < | fi | 
| 13180 | < | rm -f conftest* | 
| 13181 | < |  | 
| 13182 | < | fi | 
| 13183 | < | { echo "$as_me:$LINENO: result: $ac_pentium" >&5 | 
| 13184 | < | echo "${ECHO_T}$ac_pentium" >&6; } | 
| 13185 | < | if test "$ac_pentium" = yes; then | 
| 13186 | < | : | 
| 13187 | < | CPU_FLAGS=-mpentium | 
| 13188 | < | else | 
| 13189 | < | : | 
| 13190 | < |  | 
| 13191 | < | fi | 
| 13192 | < |  | 
| 13193 | < | fi | 
| 13194 | < |  | 
| 13195 | < | ;; | 
| 13196 | < | i686*) | 
| 13197 | < |  | 
| 13198 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5 | 
| 13199 | < | echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } | 
| 13200 | < | if test "${ac_cpu_pentiumpro+set}" = set; then | 
| 13201 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13202 | < | else | 
| 13203 | < | echo 'void f(){}' > conftest.c | 
| 13204 | < | if test -z "`${CC} -mcpu=pentiumpro -c conftest.c 2>&1`"; then | 
| 13205 | < | ac_cpu_pentiumpro=yes | 
| 13206 | < | else | 
| 13207 | < | ac_cpu_pentiumpro=no | 
| 13208 | < | fi | 
| 13209 | < | rm -f conftest* | 
| 13210 | < |  | 
| 13211 | < | fi | 
| 13212 | < | { echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 | 
| 13213 | < | echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } | 
| 13214 | < | if test "$ac_cpu_pentiumpro" = yes; then | 
| 13215 | < | : | 
| 13216 | < | CPU_FLAGS=-mcpu=pentiumpro | 
| 13217 | < | else | 
| 13218 | < | : | 
| 13219 | < |  | 
| 13220 | < |  | 
| 13221 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5 | 
| 13222 | < | echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6; } | 
| 13223 | < | if test "${ac_pentiumpro+set}" = set; then | 
| 13224 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13225 | < | else | 
| 13226 | < | echo 'void f(){}' > conftest.c | 
| 13227 | < | if test -z "`${CC} -mpentiumpro -c conftest.c 2>&1`"; then | 
| 13228 | < | ac_pentiumpro=yes | 
| 13229 | < | else | 
| 13230 | < | ac_pentiumpro=no | 
| 13231 | < | fi | 
| 13232 | < | rm -f conftest* | 
| 13233 | < |  | 
| 13234 | < | fi | 
| 13235 | < | { echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 | 
| 13236 | < | echo "${ECHO_T}$ac_pentiumpro" >&6; } | 
| 13237 | < | if test "$ac_pentiumpro" = yes; then | 
| 13238 | < | : | 
| 13239 | < | CPU_FLAGS=-mpentiumpro | 
| 13240 | < | else | 
| 13241 | < | : | 
| 13242 | < |  | 
| 13243 | < | fi | 
| 13244 | < |  | 
| 13245 | < | fi | 
| 13246 | < |  | 
| 13247 | < | ;; | 
| 13248 | < | powerpc*) | 
| 13249 | < | cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` | 
| 13250 | < | is60x=`echo $cputype | egrep "^600-9e?$"` | 
| 13251 | < | if test -n "$is60x"; then | 
| 13252 | < |  | 
| 13253 | < |  | 
| 13254 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5 | 
| 13255 | < | echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6; } | 
| 13256 | < | if test "${ac_m_cpu_60x+set}" = set; then | 
| 13257 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13258 | < | else | 
| 13259 | < | echo 'void f(){}' > conftest.c | 
| 13260 | < | if test -z "`${CC} -mcpu=$cputype -c conftest.c 2>&1`"; then | 
| 13261 | < | ac_m_cpu_60x=yes | 
| 13262 | < | else | 
| 13263 | < | ac_m_cpu_60x=no | 
| 13264 | < | fi | 
| 13265 | < | rm -f conftest* | 
| 13266 | < |  | 
| 13267 | < | fi | 
| 13268 | < | { echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 | 
| 13269 | < | echo "${ECHO_T}$ac_m_cpu_60x" >&6; } | 
| 13270 | < | if test "$ac_m_cpu_60x" = yes; then | 
| 13271 | < | : | 
| 13272 | < | CPU_FLAGS=-mcpu=$cputype | 
| 13273 | < | else | 
| 13274 | < | : | 
| 13275 | < |  | 
| 13276 | < | fi | 
| 13277 | < |  | 
| 13278 | < | elif test "$cputype" = 750; then | 
| 13279 | < |  | 
| 13280 | < |  | 
| 13281 | < | { echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 | 
| 13282 | < | echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6; } | 
| 13283 | < | if test "${ac_cv_prog_gcc_2_95+set}" = set; then | 
| 13284 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13285 | < | else | 
| 13286 | < |  | 
| 13287 | < | cat > conftest.c <<EOF | 
| 13288 | < | #ifdef __GNUC__ && !defined (__INTEL_COMPILER) | 
| 13289 | < | #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | 
| 13290 | < | yes; | 
| 13291 | < | #  endif | 
| 13292 | < | #endif | 
| 13293 | < | EOF | 
| 13294 | < | if { ac_try='${CC-cc} -E conftest.c' | 
| 13295 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 13296 | < | (eval $ac_try) 2>&5 | 
| 13297 | < | ac_status=$? | 
| 13298 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 13299 | < | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 13300 | < | ac_cv_prog_gcc_2_95=yes | 
| 13301 | < | else | 
| 13302 | < | ac_cv_prog_gcc_2_95=no | 
| 13303 | < | fi | 
| 13304 | < |  | 
| 13305 | < | fi | 
| 13306 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 | 
| 13307 | < | echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6; } | 
| 13308 | < | if test "$ac_cv_prog_gcc_2_95" = yes; then | 
| 13309 | < | : | 
| 13310 | < |  | 
| 13311 | < |  | 
| 13312 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5 | 
| 13313 | < | echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6; } | 
| 13314 | < | if test "${ac_m_cpu_750+set}" = set; then | 
| 13315 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13316 | < | else | 
| 13317 | < | echo 'void f(){}' > conftest.c | 
| 13318 | < | if test -z "`${CC} -mcpu=750 -c conftest.c 2>&1`"; then | 
| 13319 | < | ac_m_cpu_750=yes | 
| 13320 | < | else | 
| 13321 | < | ac_m_cpu_750=no | 
| 13322 | < | fi | 
| 13323 | < | rm -f conftest* | 
| 13324 | < |  | 
| 13325 | < | fi | 
| 13326 | < | { echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 | 
| 13327 | < | echo "${ECHO_T}$ac_m_cpu_750" >&6; } | 
| 13328 | < | if test "$ac_m_cpu_750" = yes; then | 
| 13329 | < | : | 
| 13330 | < | CPU_FLAGS=-mcpu=750 | 
| 13331 | < | else | 
| 13332 | < | : | 
| 13333 | < |  | 
| 13334 | < | fi | 
| 13335 | < |  | 
| 13336 | < | else | 
| 13337 | < | : | 
| 13338 | < |  | 
| 13339 | < | fi | 
| 13340 | < |  | 
| 13341 | < | fi | 
| 13342 | < | if test -z "$CPU_FLAGS"; then | 
| 13343 | < |  | 
| 13344 | < |  | 
| 13345 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5 | 
| 13346 | < | echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6; } | 
| 13347 | < | if test "${ac_m_cpu_powerpc+set}" = set; then | 
| 13348 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13349 | < | else | 
| 13350 | < | echo 'void f(){}' > conftest.c | 
| 13351 | < | if test -z "`${CC} -mcpu=powerpc -c conftest.c 2>&1`"; then | 
| 13352 | < | ac_m_cpu_powerpc=yes | 
| 13353 | < | else | 
| 13354 | < | ac_m_cpu_powerpc=no | 
| 13355 | < | fi | 
| 13356 | < | rm -f conftest* | 
| 13357 | < |  | 
| 13358 | < | fi | 
| 13359 | < | { echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 | 
| 13360 | < | echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } | 
| 13361 | < | if test "$ac_m_cpu_powerpc" = yes; then | 
| 13362 | < | : | 
| 13363 | < | CPU_FLAGS=-mcpu=powerpc | 
| 13364 | < | else | 
| 13365 | < | : | 
| 13366 | < |  | 
| 13367 | < | fi | 
| 13368 | < |  | 
| 13369 | < | fi | 
| 13370 | < | if test -z "$CPU_FLAGS"; then | 
| 13371 | < |  | 
| 13372 | < |  | 
| 13373 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5 | 
| 13374 | < | echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6; } | 
| 13375 | < | if test "${ac_m_powerpc+set}" = set; then | 
| 13376 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13377 | < | else | 
| 13378 | < | echo 'void f(){}' > conftest.c | 
| 13379 | < | if test -z "`${CC} -mpowerpc -c conftest.c 2>&1`"; then | 
| 13380 | < | ac_m_powerpc=yes | 
| 13381 | < | else | 
| 13382 | < | ac_m_powerpc=no | 
| 13383 | < | fi | 
| 13384 | < | rm -f conftest* | 
| 13385 | < |  | 
| 13386 | < | fi | 
| 13387 | < | { echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 | 
| 13388 | < | echo "${ECHO_T}$ac_m_powerpc" >&6; } | 
| 13389 | < | if test "$ac_m_powerpc" = yes; then | 
| 13390 | < | : | 
| 13391 | < | CPU_FLAGS=-mpowerpc | 
| 13392 | < | else | 
| 13393 | < | : | 
| 13394 | < |  | 
| 13395 | < | fi | 
| 13396 | < |  | 
| 13397 | < | fi | 
| 13398 | < | esac | 
| 13399 | < | fi | 
| 13400 | < |  | 
| 13401 | < | if test -n "$CPU_FLAGS"; then | 
| 13402 | < | CFLAGS="$CFLAGS $CPU_FLAGS" | 
| 13403 | < | fi | 
| 13404 | < |  | 
| 13405 | < | if test -z "$CFLAGS"; then | 
| 13406 | < | echo "" | 
| 13407 | < | echo "********************************************************" | 
| 13408 | < | echo "* WARNING: Don't know the best CFLAGS for this system  *" | 
| 13409 | < | echo "* Use  make CFLAGS=..., or edit the top level Makefile *" | 
| 13410 | < | echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *" | 
| 13411 | < | echo "********************************************************" | 
| 13412 | < | echo "" | 
| 13413 | < | CFLAGS="-O3" | 
| 13414 | < | fi | 
| 13415 | < |  | 
| 13416 | < |  | 
| 13417 | < |  | 
| 13418 | < | { echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 | 
| 13419 | < | echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6; } | 
| 13420 | < | if test "${ac_guessed_cflags+set}" = set; then | 
| 13421 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13422 | < | else | 
| 13423 | < | echo 'void f(){}' > conftest.c | 
| 13424 | < | if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then | 
| 13425 | < | ac_guessed_cflags=yes | 
| 13426 | < | else | 
| 13427 | < | ac_guessed_cflags=no | 
| 13428 | < | fi | 
| 13429 | < | rm -f conftest* | 
| 13430 | < |  | 
| 13431 | < | fi | 
| 13432 | < | { echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 | 
| 13433 | < | echo "${ECHO_T}$ac_guessed_cflags" >&6; } | 
| 13434 | < | if test "$ac_guessed_cflags" = yes; then | 
| 13435 | < | : | 
| 13436 | < |  | 
| 13437 | < | else | 
| 13438 | < | : | 
| 13439 | < |  | 
| 13440 | < | echo "" | 
| 13441 | < | echo "********************************************************" | 
| 13442 | < | echo "* WARNING: The guessed CFLAGS don't seem to work with  *" | 
| 13443 | < | echo "* your compiler.                                       *" | 
| 13444 | < | echo "* Use  make CFLAGS=..., or edit the top level Makefile *" | 
| 13445 | < | echo "********************************************************" | 
| 13446 | < | echo "" | 
| 13447 | < | CFLAGS="" | 
| 13448 | < |  | 
| 13449 | < | fi | 
| 13450 | < |  | 
| 13451 | < |  | 
| 13452 | < | fi | 
| 13453 | < |  | 
| 13454 | < |  | 
| 13455 | < |  | 
| 13456 | < |  | 
| 13457 | < |  | 
| 13458 | < |  | 
| 13459 | < |  | 
| 13460 | < | { echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 | 
| 13461 | < | echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6; } | 
| 13462 | < | if test "${ac_cv_prog_really_gxx+set}" = set; then | 
| 13463 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13464 | < | else | 
| 13465 | < |  | 
| 13466 | < | cat > conftest.cpp <<EOF | 
| 13467 | < | #ifdef __GNUC__ | 
| 13468 | < | #if defined(__INTEL_COMPILER) || defined(__PATHCC__) | 
| 13469 | < | no; | 
| 13470 | < | #else | 
| 13471 | < | yes; | 
| 13472 | < | #endif | 
| 13473 | < | #endif | 
| 13474 | < | EOF | 
| 13475 | < | if { ac_try='${CXX-c++} -E conftest.cpp' | 
| 13476 | < | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 13477 | < | (eval $ac_try) 2>&5 | 
| 13478 | < | ac_status=$? | 
| 13479 | < | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 13480 | < | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 13481 | < | ac_cv_prog_really_gxx=yes | 
| 13482 | < | else | 
| 13483 | < | ac_cv_prog_really_gxx=no | 
| 13484 | < | fi | 
| 13485 | < |  | 
| 13486 | < | fi | 
| 13487 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 | 
| 13488 | < | echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6; } | 
| 13489 | < | if test "$ac_cv_prog_really_gxx" = yes; then | 
| 13490 | < | : | 
| 13491 | < |  | 
| 13492 | < | else | 
| 13493 | < | : | 
| 13494 | < |  | 
| 13495 | < | fi | 
| 13496 | < |  | 
| 13497 | < |  | 
| 13498 | < | # Try to determine "good" native compiler flags if none specified on command | 
| 13499 | < | # line | 
| 13500 | < | if test "$ac_test_CXXFLAGS" != "set"; then | 
| 13501 | < | CXXFLAGS="" | 
| 13502 | < | case "${host_cpu}-${host_os}" in | 
| 13503 | < |  | 
| 13504 | < | *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then | 
| 13505 | < | CXXFLAGS="-O" | 
| 13506 | < | fi;; | 
| 13507 | < | sparc-solaris2*) if test "$CXX" = CC; then | 
| 13508 | < | CXXFLAGS="-features=extensions -O -dalign" | 
| 13509 | < | fi;; | 
| 13510 | < | rs6000*-aix*)  if test "$CXX" = xlC; then | 
| 13511 | < | CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" | 
| 13512 | < | fi;; | 
| 13513 | < | powerpc*-aix*) | 
| 13514 | < | if test "$CXX" = xlC; then | 
| 13515 | < | CXXFLAGS="-O3 -qarch=ppc -qansialias -w" | 
| 13516 | < | echo "*******************************************************" | 
| 13517 | < | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 13518 | < | echo "*  recommended that you use                           *" | 
| 13519 | < | echo "*                                                     *" | 
| 13520 | < | echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 13521 | < | echo "*                                 ^^^                 *" | 
| 13522 | < | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 13523 | < | echo "*  PowerPC CPU you have.   For more info, man cc.     *" | 
| 13524 | < | echo "*******************************************************" | 
| 13525 | < | fi;; | 
| 13526 | < | *darwin*) | 
| 13527 | < | if test "$CXX" = xlc++ -o "$CXX" = xlC ; then | 
| 13528 | < | CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 13529 | < | fi | 
| 13530 | < | if test "$CXX" = icpc; then | 
| 13531 | < | CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic" | 
| 13532 | < | fi;; | 
| 13533 | < | esac | 
| 13534 | < |  | 
| 13535 | < | # use default flags for gcc on all systems | 
| 13536 | < | if test $ac_cv_prog_really_gxx = yes; then | 
| 13537 | < | CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic" | 
| 13538 | < | fi | 
| 13539 | < |  | 
| 13540 | < | # test for gcc-specific flags: | 
| 13541 | < | if test $ac_cv_prog_really_gxx = yes; then | 
| 13542 | < | # -malign-double for x86 systems | 
| 13543 | < |  | 
| 13544 | < |  | 
| 13545 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5 | 
| 13546 | < | echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6; } | 
| 13547 | < | if test "${ac_align_double+set}" = set; then | 
| 13548 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13549 | < | else | 
| 13550 | < | echo 'void f(){}' > conftest.cpp | 
| 13551 | < | if test -z "`${CXX} -malign-double -c conftest.cpp 2>&1`"; then | 
| 13552 | < | ac_align_double=yes | 
| 13553 | < | else | 
| 13554 | < | ac_align_double=no | 
| 13555 | < | fi | 
| 13556 | < | rm -f conftest* | 
| 13557 | < |  | 
| 13558 | < | fi | 
| 13559 | < | { echo "$as_me:$LINENO: result: $ac_align_double" >&5 | 
| 13560 | < | echo "${ECHO_T}$ac_align_double" >&6; } | 
| 13561 | < | if test "$ac_align_double" = yes; then | 
| 13562 | < | : | 
| 13563 | < | CXXFLAGS="$CXXFLAGS -malign-double" | 
| 13564 | < | else | 
| 13565 | < | : | 
| 13566 | < |  | 
| 13567 | < | fi | 
| 13568 | < |  | 
| 13569 | < | # -fstrict-aliasing for gcc-2.95+ | 
| 13570 | < |  | 
| 13571 | < |  | 
| 13572 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5 | 
| 13573 | < | echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6; } | 
| 13574 | < | if test "${ac_fstrict_aliasing+set}" = set; then | 
| 13575 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13576 | < | else | 
| 13577 | < | echo 'void f(){}' > conftest.cpp | 
| 13578 | < | if test -z "`${CXX} -fstrict-aliasing -c conftest.cpp 2>&1`"; then | 
| 13579 | < | ac_fstrict_aliasing=yes | 
| 13580 | < | else | 
| 13581 | < | ac_fstrict_aliasing=no | 
| 13582 | < | fi | 
| 13583 | < | rm -f conftest* | 
| 13584 | < |  | 
| 13585 | < | fi | 
| 13586 | < | { echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 | 
| 13587 | < | echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } | 
| 13588 | < | if test "$ac_fstrict_aliasing" = yes; then | 
| 13589 | < | : | 
| 13590 | < | CXXFLAGS="$CXXFLAGS -fstrict-aliasing" | 
| 13591 | < | else | 
| 13592 | < | : | 
| 13593 | < |  | 
| 13594 | < | fi | 
| 13595 | < |  | 
| 13596 | < | fi | 
| 13597 | < |  | 
| 13598 | < | CPU_FLAGS="" | 
| 13599 | < | if test $ac_cv_prog_really_gxx = yes; then | 
| 13600 | < | case "${host_cpu}" in | 
| 13601 | < | i586*) | 
| 13602 | < |  | 
| 13603 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5 | 
| 13604 | < | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6; } | 
| 13605 | < | if test "${ac_cpu_pentium+set}" = set; then | 
| 13606 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13607 | < | else | 
| 13608 | < | echo 'void f(){}' > conftest.cpp | 
| 13609 | < | if test -z "`${CXX} -mcpu=pentium -c conftest.cpp 2>&1`"; then | 
| 13610 | < | ac_cpu_pentium=yes | 
| 13611 | < | else | 
| 13612 | < | ac_cpu_pentium=no | 
| 13613 | < | fi | 
| 13614 | < | rm -f conftest* | 
| 13615 | < |  | 
| 13616 | < | fi | 
| 13617 | < | { echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 | 
| 13618 | < | echo "${ECHO_T}$ac_cpu_pentium" >&6; } | 
| 13619 | < | if test "$ac_cpu_pentium" = yes; then | 
| 13620 | < | : | 
| 13621 | < | CPU_FLAGS=-mcpu=pentium | 
| 13622 | < | else | 
| 13623 | < | : | 
| 13624 | < |  | 
| 13625 | < |  | 
| 13626 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5 | 
| 13627 | < | echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6; } | 
| 13628 | < | if test "${ac_pentium+set}" = set; then | 
| 13629 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13630 | < | else | 
| 13631 | < | echo 'void f(){}' > conftest.cpp | 
| 13632 | < | if test -z "`${CXX} -mpentium -c conftest.cpp 2>&1`"; then | 
| 13633 | < | ac_pentium=yes | 
| 13634 | < | else | 
| 13635 | < | ac_pentium=no | 
| 13636 | < | fi | 
| 13637 | < | rm -f conftest* | 
| 13638 | < |  | 
| 13639 | < | fi | 
| 13640 | < | { echo "$as_me:$LINENO: result: $ac_pentium" >&5 | 
| 13641 | < | echo "${ECHO_T}$ac_pentium" >&6; } | 
| 13642 | < | if test "$ac_pentium" = yes; then | 
| 13643 | < | : | 
| 13644 | < | CPU_FLAGS=-mpentium | 
| 13645 | < | else | 
| 13646 | < | : | 
| 13647 | < |  | 
| 13648 | < | fi | 
| 13649 | < |  | 
| 13650 | < | fi | 
| 13651 | < |  | 
| 13652 | < | ;; | 
| 13653 | < | i686*) | 
| 13654 | < |  | 
| 13655 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5 | 
| 13656 | < | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } | 
| 13657 | < | if test "${ac_cpu_pentiumpro+set}" = set; then | 
| 13658 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13659 | < | else | 
| 13660 | < | echo 'void f(){}' > conftest.cpp | 
| 13661 | < | if test -z "`${CXX} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then | 
| 13662 | < | ac_cpu_pentiumpro=yes | 
| 13663 | < | else | 
| 13664 | < | ac_cpu_pentiumpro=no | 
| 13665 | < | fi | 
| 13666 | < | rm -f conftest* | 
| 13667 | < |  | 
| 13668 | < | fi | 
| 13669 | < | { echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 | 
| 13670 | < | echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } | 
| 13671 | < | if test "$ac_cpu_pentiumpro" = yes; then | 
| 13672 | < | : | 
| 13673 | < | CPU_FLAGS=-mcpu=pentiumpro | 
| 13674 | < | else | 
| 13675 | < | : | 
| 13676 | < |  | 
| 13677 | < |  | 
| 13678 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5 | 
| 13679 | < | echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6; } | 
| 13680 | < | if test "${ac_pentiumpro+set}" = set; then | 
| 13681 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13682 | < | else | 
| 13683 | < | echo 'void f(){}' > conftest.cpp | 
| 13684 | < | if test -z "`${CXX} -mpentiumpro -c conftest.cpp 2>&1`"; then | 
| 13685 | < | ac_pentiumpro=yes | 
| 13686 | < | else | 
| 13687 | < | ac_pentiumpro=no | 
| 13688 | < | fi | 
| 13689 | < | rm -f conftest* | 
| 10852 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 10853 | > | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 10854 | > | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 10855 | > |  | 
| 10856 | > | # Is the header present? | 
| 10857 | > | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 10858 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 10859 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10860 | > | /* confdefs.h.  */ | 
| 10861 | > | _ACEOF | 
| 10862 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10863 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10864 | > | /* end confdefs.h.  */ | 
| 10865 | > | #include <$ac_header> | 
| 10866 | > | _ACEOF | 
| 10867 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 10868 | > | case "(($ac_try" in | 
| 10869 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10870 | > | *) ac_try_echo=$ac_try;; | 
| 10871 | > | esac | 
| 10872 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10873 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 10874 | > | ac_status=$? | 
| 10875 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10876 | > | rm -f conftest.er1 | 
| 10877 | > | cat conftest.err >&5 | 
| 10878 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10879 | > | (exit $ac_status); } >/dev/null && { | 
| 10880 | > | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 10881 | > | test ! -s conftest.err | 
| 10882 | > | }; then | 
| 10883 | > | ac_header_preproc=yes | 
| 10884 | > | else | 
| 10885 | > | echo "$as_me: failed program was:" >&5 | 
| 10886 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10887 | > |  | 
| 10888 | > | ac_header_preproc=no | 
| 10889 | > | fi | 
| 10890 | > |  | 
| 10891 | > | rm -f conftest.err conftest.$ac_ext | 
| 10892 | > | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 10893 | > | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 10894 | > |  | 
| 10895 | > | # So?  What about this header? | 
| 10896 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 10897 | > | yes:no: ) | 
| 10898 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 10899 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 10900 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 10901 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 10902 | > | ac_header_preproc=yes | 
| 10903 | > | ;; | 
| 10904 | > | no:yes:* ) | 
| 10905 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 10906 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 10907 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 10908 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 10909 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 10910 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 10911 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 10912 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 10913 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 10914 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 10915 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 10916 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 10917 | > | ( cat <<\_ASBOX | 
| 10918 | > | ## ------------------------------ ## | 
| 10919 | > | ## Report this to gezelter@nd.edu ## | 
| 10920 | > | ## ------------------------------ ## | 
| 10921 | > | _ASBOX | 
| 10922 | > | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 10923 | > | ;; | 
| 10924 | > | esac | 
| 10925 | > | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 10926 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 10927 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 10928 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10929 | > | else | 
| 10930 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 10931 | > | fi | 
| 10932 | > | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 10933 | > | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 10934 | > | echo "${ECHO_T}$ac_res" >&6; } | 
| 10935 | > |  | 
| 10936 | > | fi | 
| 10937 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 10938 | > | cat >>confdefs.h <<_ACEOF | 
| 10939 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 10940 | > | _ACEOF | 
| 10941 | > |  | 
| 10942 | > | fi | 
| 10943 | > |  | 
| 10944 | > | done | 
| 10945 | > |  | 
| 10946 | > | { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 | 
| 10947 | > | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } | 
| 10948 | > | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then | 
| 10949 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 10950 | > | else | 
| 10951 | > | if test "$cross_compiling" = yes; then | 
| 10952 | > | ac_cv_func_realloc_0_nonnull=no | 
| 10953 | > | else | 
| 10954 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 10955 | > | /* confdefs.h.  */ | 
| 10956 | > | _ACEOF | 
| 10957 | > | cat confdefs.h >>conftest.$ac_ext | 
| 10958 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 10959 | > | /* end confdefs.h.  */ | 
| 10960 | > | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | 
| 10961 | > | # include <stdlib.h> | 
| 10962 | > | #else | 
| 10963 | > | char *realloc (); | 
| 10964 | > | #endif | 
| 10965 | > |  | 
| 10966 | > | #ifdef FC_DUMMY_MAIN | 
| 10967 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 10968 | > | #  ifdef __cplusplus | 
| 10969 | > | extern "C" | 
| 10970 | > | #  endif | 
| 10971 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 10972 | > | #endif | 
| 10973 | > | #endif | 
| 10974 | > | int | 
| 10975 | > | main () | 
| 10976 | > | { | 
| 10977 | > | return ! realloc (0, 0); | 
| 10978 | > | ; | 
| 10979 | > | return 0; | 
| 10980 | > | } | 
| 10981 | > | _ACEOF | 
| 10982 | > | rm -f conftest$ac_exeext | 
| 10983 | > | if { (ac_try="$ac_link" | 
| 10984 | > | case "(($ac_try" in | 
| 10985 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10986 | > | *) ac_try_echo=$ac_try;; | 
| 10987 | > | esac | 
| 10988 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10989 | > | (eval "$ac_link") 2>&5 | 
| 10990 | > | ac_status=$? | 
| 10991 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 10992 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 10993 | > | { (case "(($ac_try" in | 
| 10994 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 10995 | > | *) ac_try_echo=$ac_try;; | 
| 10996 | > | esac | 
| 10997 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 10998 | > | (eval "$ac_try") 2>&5 | 
| 10999 | > | ac_status=$? | 
| 11000 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11001 | > | (exit $ac_status); }; }; then | 
| 11002 | > | ac_cv_func_realloc_0_nonnull=yes | 
| 11003 | > | else | 
| 11004 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 11005 | > | echo "$as_me: failed program was:" >&5 | 
| 11006 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11007 | > |  | 
| 11008 | > | ( exit $ac_status ) | 
| 11009 | > | ac_cv_func_realloc_0_nonnull=no | 
| 11010 | > | fi | 
| 11011 | > | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 11012 | > | fi | 
| 11013 | > |  | 
| 11014 | > |  | 
| 11015 | > | fi | 
| 11016 | > | { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 | 
| 11017 | > | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } | 
| 11018 | > | if test $ac_cv_func_realloc_0_nonnull = yes; then | 
| 11019 | > |  | 
| 11020 | > | cat >>confdefs.h <<\_ACEOF | 
| 11021 | > | #define HAVE_REALLOC 1 | 
| 11022 | > | _ACEOF | 
| 11023 | > |  | 
| 11024 | > | else | 
| 11025 | > | cat >>confdefs.h <<\_ACEOF | 
| 11026 | > | #define HAVE_REALLOC 0 | 
| 11027 | > | _ACEOF | 
| 11028 | > |  | 
| 11029 | > | case " $LIBOBJS " in | 
| 11030 | > | *" realloc.$ac_objext "* ) ;; | 
| 11031 | > | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" | 
| 11032 | > | ;; | 
| 11033 | > | esac | 
| 11034 | > |  | 
| 11035 | > |  | 
| 11036 | > | cat >>confdefs.h <<\_ACEOF | 
| 11037 | > | #define realloc rpl_realloc | 
| 11038 | > | _ACEOF | 
| 11039 | > |  | 
| 11040 | > | fi | 
| 11041 | > |  | 
| 11042 | > |  | 
| 11043 | > |  | 
| 11044 | > |  | 
| 11045 | > |  | 
| 11046 | > | for ac_header in sys/select.h sys/socket.h | 
| 11047 | > | do | 
| 11048 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 11049 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11050 | > | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11051 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11052 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11053 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11054 | > | fi | 
| 11055 | > | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11056 | > | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11057 | > | echo "${ECHO_T}$ac_res" >&6; } | 
| 11058 | > | else | 
| 11059 | > | # Is the header compilable? | 
| 11060 | > | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 11061 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 
| 11062 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11063 | > | /* confdefs.h.  */ | 
| 11064 | > | _ACEOF | 
| 11065 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11066 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11067 | > | /* end confdefs.h.  */ | 
| 11068 | > | $ac_includes_default | 
| 11069 | > | #include <$ac_header> | 
| 11070 | > | _ACEOF | 
| 11071 | > | rm -f conftest.$ac_objext | 
| 11072 | > | if { (ac_try="$ac_compile" | 
| 11073 | > | case "(($ac_try" in | 
| 11074 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11075 | > | *) ac_try_echo=$ac_try;; | 
| 11076 | > | esac | 
| 11077 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11078 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 11079 | > | ac_status=$? | 
| 11080 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11081 | > | rm -f conftest.er1 | 
| 11082 | > | cat conftest.err >&5 | 
| 11083 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11084 | > | (exit $ac_status); } && { | 
| 11085 | > | test -z "$ac_c_werror_flag" || | 
| 11086 | > | test ! -s conftest.err | 
| 11087 | > | } && test -s conftest.$ac_objext; then | 
| 11088 | > | ac_header_compiler=yes | 
| 11089 | > | else | 
| 11090 | > | echo "$as_me: failed program was:" >&5 | 
| 11091 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11092 | > |  | 
| 11093 | > | ac_header_compiler=no | 
| 11094 | > | fi | 
| 11095 | > |  | 
| 11096 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11097 | > | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 11098 | > | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 11099 | > |  | 
| 11100 | > | # Is the header present? | 
| 11101 | > | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 11102 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 
| 11103 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11104 | > | /* confdefs.h.  */ | 
| 11105 | > | _ACEOF | 
| 11106 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11107 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11108 | > | /* end confdefs.h.  */ | 
| 11109 | > | #include <$ac_header> | 
| 11110 | > | _ACEOF | 
| 11111 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 11112 | > | case "(($ac_try" in | 
| 11113 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11114 | > | *) ac_try_echo=$ac_try;; | 
| 11115 | > | esac | 
| 11116 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11117 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 11118 | > | ac_status=$? | 
| 11119 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11120 | > | rm -f conftest.er1 | 
| 11121 | > | cat conftest.err >&5 | 
| 11122 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11123 | > | (exit $ac_status); } >/dev/null && { | 
| 11124 | > | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 11125 | > | test ! -s conftest.err | 
| 11126 | > | }; then | 
| 11127 | > | ac_header_preproc=yes | 
| 11128 | > | else | 
| 11129 | > | echo "$as_me: failed program was:" >&5 | 
| 11130 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11131 | > |  | 
| 11132 | > | ac_header_preproc=no | 
| 11133 | > | fi | 
| 11134 | > |  | 
| 11135 | > | rm -f conftest.err conftest.$ac_ext | 
| 11136 | > | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 11137 | > | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 11138 | > |  | 
| 11139 | > | # So?  What about this header? | 
| 11140 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 11141 | > | yes:no: ) | 
| 11142 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 11143 | > | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 11144 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 11145 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 11146 | > | ac_header_preproc=yes | 
| 11147 | > | ;; | 
| 11148 | > | no:yes:* ) | 
| 11149 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 11150 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 11151 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 11152 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 11153 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 11154 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 11155 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 11156 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 11157 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 11158 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 11159 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 11160 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 11161 | > | ( cat <<\_ASBOX | 
| 11162 | > | ## ------------------------------ ## | 
| 11163 | > | ## Report this to gezelter@nd.edu ## | 
| 11164 | > | ## ------------------------------ ## | 
| 11165 | > | _ASBOX | 
| 11166 | > | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 11167 | > | ;; | 
| 11168 | > | esac | 
| 11169 | > | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 11170 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 
| 11171 | > | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11172 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11173 | > | else | 
| 11174 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 11175 | > | fi | 
| 11176 | > | ac_res=`eval echo '${'$as_ac_Header'}'` | 
| 11177 | > | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11178 | > | echo "${ECHO_T}$ac_res" >&6; } | 
| 11179 | > |  | 
| 11180 | > | fi | 
| 11181 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 11182 | > | cat >>confdefs.h <<_ACEOF | 
| 11183 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 11184 | > | _ACEOF | 
| 11185 | > |  | 
| 11186 | > | fi | 
| 11187 | > |  | 
| 11188 | > | done | 
| 11189 | > |  | 
| 11190 | > | { echo "$as_me:$LINENO: checking types of arguments for select" >&5 | 
| 11191 | > | echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; } | 
| 11192 | > | if test "${ac_cv_func_select_args+set}" = set; then | 
| 11193 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11194 | > | else | 
| 11195 | > | for ac_arg234 in 'fd_set *' 'int *' 'void *'; do | 
| 11196 | > | for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do | 
| 11197 | > | for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do | 
| 11198 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11199 | > | /* confdefs.h.  */ | 
| 11200 | > | _ACEOF | 
| 11201 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11202 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11203 | > | /* end confdefs.h.  */ | 
| 11204 | > | $ac_includes_default | 
| 11205 | > | #ifdef HAVE_SYS_SELECT_H | 
| 11206 | > | # include <sys/select.h> | 
| 11207 | > | #endif | 
| 11208 | > | #ifdef HAVE_SYS_SOCKET_H | 
| 11209 | > | # include <sys/socket.h> | 
| 11210 | > | #endif | 
| 11211 | > |  | 
| 11212 | > | #ifdef FC_DUMMY_MAIN | 
| 11213 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11214 | > | #  ifdef __cplusplus | 
| 11215 | > | extern "C" | 
| 11216 | > | #  endif | 
| 11217 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11218 | > | #endif | 
| 11219 | > | #endif | 
| 11220 | > | int | 
| 11221 | > | main () | 
| 11222 | > | { | 
| 11223 | > | extern int select ($ac_arg1, | 
| 11224 | > | $ac_arg234, $ac_arg234, $ac_arg234, | 
| 11225 | > | $ac_arg5); | 
| 11226 | > | ; | 
| 11227 | > | return 0; | 
| 11228 | > | } | 
| 11229 | > | _ACEOF | 
| 11230 | > | rm -f conftest.$ac_objext | 
| 11231 | > | if { (ac_try="$ac_compile" | 
| 11232 | > | case "(($ac_try" in | 
| 11233 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11234 | > | *) ac_try_echo=$ac_try;; | 
| 11235 | > | esac | 
| 11236 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11237 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 11238 | > | ac_status=$? | 
| 11239 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11240 | > | rm -f conftest.er1 | 
| 11241 | > | cat conftest.err >&5 | 
| 11242 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11243 | > | (exit $ac_status); } && { | 
| 11244 | > | test -z "$ac_c_werror_flag" || | 
| 11245 | > | test ! -s conftest.err | 
| 11246 | > | } && test -s conftest.$ac_objext; then | 
| 11247 | > | ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 | 
| 11248 | > | else | 
| 11249 | > | echo "$as_me: failed program was:" >&5 | 
| 11250 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11251 | > |  | 
| 11252 | > |  | 
| 11253 | > | fi | 
| 11254 | > |  | 
| 11255 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11256 | > | done | 
| 11257 | > | done | 
| 11258 | > | done | 
| 11259 | > | # Provide a safe default value. | 
| 11260 | > | : ${ac_cv_func_select_args='int,int *,struct timeval *'} | 
| 11261 | > |  | 
| 11262 | > | fi | 
| 11263 | > | { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 | 
| 11264 | > | echo "${ECHO_T}$ac_cv_func_select_args" >&6; } | 
| 11265 | > | ac_save_IFS=$IFS; IFS=',' | 
| 11266 | > | set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` | 
| 11267 | > | IFS=$ac_save_IFS | 
| 11268 | > | shift | 
| 11269 | > |  | 
| 11270 | > | cat >>confdefs.h <<_ACEOF | 
| 11271 | > | #define SELECT_TYPE_ARG1 $1 | 
| 11272 | > | _ACEOF | 
| 11273 | > |  | 
| 11274 | > |  | 
| 11275 | > | cat >>confdefs.h <<_ACEOF | 
| 11276 | > | #define SELECT_TYPE_ARG234 ($2) | 
| 11277 | > | _ACEOF | 
| 11278 | > |  | 
| 11279 | > |  | 
| 11280 | > | cat >>confdefs.h <<_ACEOF | 
| 11281 | > | #define SELECT_TYPE_ARG5 ($3) | 
| 11282 | > | _ACEOF | 
| 11283 | > |  | 
| 11284 | > | rm -f conftest* | 
| 11285 | > |  | 
| 11286 | > | { echo "$as_me:$LINENO: checking for working strtod" >&5 | 
| 11287 | > | echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; } | 
| 11288 | > | if test "${ac_cv_func_strtod+set}" = set; then | 
| 11289 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11290 | > | else | 
| 11291 | > | if test "$cross_compiling" = yes; then | 
| 11292 | > | ac_cv_func_strtod=no | 
| 11293 | > | else | 
| 11294 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11295 | > | /* confdefs.h.  */ | 
| 11296 | > | _ACEOF | 
| 11297 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11298 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11299 | > | /* end confdefs.h.  */ | 
| 11300 | > |  | 
| 11301 | > | $ac_includes_default | 
| 11302 | > | #ifndef strtod | 
| 11303 | > | double strtod (); | 
| 11304 | > | #endif | 
| 11305 | > | int | 
| 11306 | > | main() | 
| 11307 | > | { | 
| 11308 | > | { | 
| 11309 | > | /* Some versions of Linux strtod mis-parse strings with leading '+'.  */ | 
| 11310 | > | char *string = " +69"; | 
| 11311 | > | char *term; | 
| 11312 | > | double value; | 
| 11313 | > | value = strtod (string, &term); | 
| 11314 | > | if (value != 69 || term != (string + 4)) | 
| 11315 | > | return 1; | 
| 11316 | > | } | 
| 11317 | > |  | 
| 11318 | > | { | 
| 11319 | > | /* Under Solaris 2.4, strtod returns the wrong value for the | 
| 11320 | > | terminating character under some conditions.  */ | 
| 11321 | > | char *string = "NaN"; | 
| 11322 | > | char *term; | 
| 11323 | > | strtod (string, &term); | 
| 11324 | > | if (term != string && *(term - 1) == 0) | 
| 11325 | > | return 1; | 
| 11326 | > | } | 
| 11327 | > | return 0; | 
| 11328 | > | } | 
| 11329 | > |  | 
| 11330 | > | _ACEOF | 
| 11331 | > | rm -f conftest$ac_exeext | 
| 11332 | > | if { (ac_try="$ac_link" | 
| 11333 | > | case "(($ac_try" in | 
| 11334 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11335 | > | *) ac_try_echo=$ac_try;; | 
| 11336 | > | esac | 
| 11337 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11338 | > | (eval "$ac_link") 2>&5 | 
| 11339 | > | ac_status=$? | 
| 11340 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11341 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 11342 | > | { (case "(($ac_try" in | 
| 11343 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11344 | > | *) ac_try_echo=$ac_try;; | 
| 11345 | > | esac | 
| 11346 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11347 | > | (eval "$ac_try") 2>&5 | 
| 11348 | > | ac_status=$? | 
| 11349 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11350 | > | (exit $ac_status); }; }; then | 
| 11351 | > | ac_cv_func_strtod=yes | 
| 11352 | > | else | 
| 11353 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 11354 | > | echo "$as_me: failed program was:" >&5 | 
| 11355 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11356 | > |  | 
| 11357 | > | ( exit $ac_status ) | 
| 11358 | > | ac_cv_func_strtod=no | 
| 11359 | > | fi | 
| 11360 | > | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 11361 | > | fi | 
| 11362 | > |  | 
| 11363 | > |  | 
| 11364 | > | fi | 
| 11365 | > | { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 | 
| 11366 | > | echo "${ECHO_T}$ac_cv_func_strtod" >&6; } | 
| 11367 | > | if test $ac_cv_func_strtod = no; then | 
| 11368 | > | case " $LIBOBJS " in | 
| 11369 | > | *" strtod.$ac_objext "* ) ;; | 
| 11370 | > | *) LIBOBJS="$LIBOBJS strtod.$ac_objext" | 
| 11371 | > | ;; | 
| 11372 | > | esac | 
| 11373 | > |  | 
| 11374 | > | { echo "$as_me:$LINENO: checking for pow" >&5 | 
| 11375 | > | echo $ECHO_N "checking for pow... $ECHO_C" >&6; } | 
| 11376 | > | if test "${ac_cv_func_pow+set}" = set; then | 
| 11377 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11378 | > | else | 
| 11379 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11380 | > | /* confdefs.h.  */ | 
| 11381 | > | _ACEOF | 
| 11382 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11383 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11384 | > | /* end confdefs.h.  */ | 
| 11385 | > | /* Define pow to an innocuous variant, in case <limits.h> declares pow. | 
| 11386 | > | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 11387 | > | #define pow innocuous_pow | 
| 11388 | > |  | 
| 11389 | > | /* System header to define __stub macros and hopefully few prototypes, | 
| 11390 | > | which can conflict with char pow (); below. | 
| 11391 | > | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 11392 | > | <limits.h> exists even on freestanding compilers.  */ | 
| 11393 | > |  | 
| 11394 | > | #ifdef __STDC__ | 
| 11395 | > | # include <limits.h> | 
| 11396 | > | #else | 
| 11397 | > | # include <assert.h> | 
| 11398 | > | #endif | 
| 11399 | > |  | 
| 11400 | > | #undef pow | 
| 11401 | > |  | 
| 11402 | > | /* Override any GCC internal prototype to avoid an error. | 
| 11403 | > | Use char because int might match the return type of a GCC | 
| 11404 | > | builtin and then its argument prototype would still apply.  */ | 
| 11405 | > | #ifdef __cplusplus | 
| 11406 | > | extern "C" | 
| 11407 | > | #endif | 
| 11408 | > | char pow (); | 
| 11409 | > | /* The GNU C library defines this for functions which it implements | 
| 11410 | > | to always fail with ENOSYS.  Some functions are actually named | 
| 11411 | > | something starting with __ and the normal name is an alias.  */ | 
| 11412 | > | #if defined __stub_pow || defined __stub___pow | 
| 11413 | > | choke me | 
| 11414 | > | #endif | 
| 11415 | > |  | 
| 11416 | > | #ifdef FC_DUMMY_MAIN | 
| 11417 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11418 | > | #  ifdef __cplusplus | 
| 11419 | > | extern "C" | 
| 11420 | > | #  endif | 
| 11421 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11422 | > | #endif | 
| 11423 | > | #endif | 
| 11424 | > | int | 
| 11425 | > | main () | 
| 11426 | > | { | 
| 11427 | > | return pow (); | 
| 11428 | > | ; | 
| 11429 | > | return 0; | 
| 11430 | > | } | 
| 11431 | > | _ACEOF | 
| 11432 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11433 | > | if { (ac_try="$ac_link" | 
| 11434 | > | case "(($ac_try" in | 
| 11435 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11436 | > | *) ac_try_echo=$ac_try;; | 
| 11437 | > | esac | 
| 11438 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11439 | > | (eval "$ac_link") 2>conftest.er1 | 
| 11440 | > | ac_status=$? | 
| 11441 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11442 | > | rm -f conftest.er1 | 
| 11443 | > | cat conftest.err >&5 | 
| 11444 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11445 | > | (exit $ac_status); } && { | 
| 11446 | > | test -z "$ac_c_werror_flag" || | 
| 11447 | > | test ! -s conftest.err | 
| 11448 | > | } && test -s conftest$ac_exeext && | 
| 11449 | > | $as_test_x conftest$ac_exeext; then | 
| 11450 | > | ac_cv_func_pow=yes | 
| 11451 | > | else | 
| 11452 | > | echo "$as_me: failed program was:" >&5 | 
| 11453 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11454 | > |  | 
| 11455 | > | ac_cv_func_pow=no | 
| 11456 | > | fi | 
| 11457 | > |  | 
| 11458 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 11459 | > | conftest$ac_exeext conftest.$ac_ext | 
| 11460 | > | fi | 
| 11461 | > | { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 | 
| 11462 | > | echo "${ECHO_T}$ac_cv_func_pow" >&6; } | 
| 11463 | > |  | 
| 11464 | > | if test $ac_cv_func_pow = no; then | 
| 11465 | > | { echo "$as_me:$LINENO: checking for pow in -lm" >&5 | 
| 11466 | > | echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; } | 
| 11467 | > | if test "${ac_cv_lib_m_pow+set}" = set; then | 
| 11468 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11469 | > | else | 
| 11470 | > | ac_check_lib_save_LIBS=$LIBS | 
| 11471 | > | LIBS="-lm  $LIBS" | 
| 11472 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11473 | > | /* confdefs.h.  */ | 
| 11474 | > | _ACEOF | 
| 11475 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11476 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11477 | > | /* end confdefs.h.  */ | 
| 11478 | > |  | 
| 11479 | > | /* Override any GCC internal prototype to avoid an error. | 
| 11480 | > | Use char because int might match the return type of a GCC | 
| 11481 | > | builtin and then its argument prototype would still apply.  */ | 
| 11482 | > | #ifdef __cplusplus | 
| 11483 | > | extern "C" | 
| 11484 | > | #endif | 
| 11485 | > | char pow (); | 
| 11486 | > | #ifdef FC_DUMMY_MAIN | 
| 11487 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11488 | > | #  ifdef __cplusplus | 
| 11489 | > | extern "C" | 
| 11490 | > | #  endif | 
| 11491 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11492 | > | #endif | 
| 11493 | > | #endif | 
| 11494 | > | int | 
| 11495 | > | main () | 
| 11496 | > | { | 
| 11497 | > | return pow (); | 
| 11498 | > | ; | 
| 11499 | > | return 0; | 
| 11500 | > | } | 
| 11501 | > | _ACEOF | 
| 11502 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11503 | > | if { (ac_try="$ac_link" | 
| 11504 | > | case "(($ac_try" in | 
| 11505 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11506 | > | *) ac_try_echo=$ac_try;; | 
| 11507 | > | esac | 
| 11508 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11509 | > | (eval "$ac_link") 2>conftest.er1 | 
| 11510 | > | ac_status=$? | 
| 11511 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11512 | > | rm -f conftest.er1 | 
| 11513 | > | cat conftest.err >&5 | 
| 11514 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11515 | > | (exit $ac_status); } && { | 
| 11516 | > | test -z "$ac_c_werror_flag" || | 
| 11517 | > | test ! -s conftest.err | 
| 11518 | > | } && test -s conftest$ac_exeext && | 
| 11519 | > | $as_test_x conftest$ac_exeext; then | 
| 11520 | > | ac_cv_lib_m_pow=yes | 
| 11521 | > | else | 
| 11522 | > | echo "$as_me: failed program was:" >&5 | 
| 11523 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11524 | > |  | 
| 11525 | > | ac_cv_lib_m_pow=no | 
| 11526 | > | fi | 
| 11527 | > |  | 
| 11528 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 11529 | > | conftest$ac_exeext conftest.$ac_ext | 
| 11530 | > | LIBS=$ac_check_lib_save_LIBS | 
| 11531 | > | fi | 
| 11532 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 | 
| 11533 | > | echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; } | 
| 11534 | > | if test $ac_cv_lib_m_pow = yes; then | 
| 11535 | > | POW_LIB=-lm | 
| 11536 | > | else | 
| 11537 | > | { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 | 
| 11538 | > | echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} | 
| 11539 | > | fi | 
| 11540 | > |  | 
| 11541 | > | fi | 
| 11542 | > |  | 
| 11543 | > | fi | 
| 11544 | > |  | 
| 11545 | > |  | 
| 11546 | > |  | 
| 11547 | > |  | 
| 11548 | > |  | 
| 11549 | > |  | 
| 11550 | > |  | 
| 11551 | > |  | 
| 11552 | > |  | 
| 11553 | > |  | 
| 11554 | > |  | 
| 11555 | > |  | 
| 11556 | > |  | 
| 11557 | > |  | 
| 11558 | > |  | 
| 11559 | > |  | 
| 11560 | > |  | 
| 11561 | > |  | 
| 11562 | > |  | 
| 11563 | > |  | 
| 11564 | > |  | 
| 11565 | > |  | 
| 11566 | > | for ac_func in floor getpagesize gettimeofday memset pow pstat_getdynamic pstat_getstatic select sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strstr strtol sysmp getsysinfo sysctl table | 
| 11567 | > | do | 
| 11568 | > | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| 11569 | > | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
| 11570 | > | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 
| 11571 | > | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 
| 11572 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11573 | > | else | 
| 11574 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11575 | > | /* confdefs.h.  */ | 
| 11576 | > | _ACEOF | 
| 11577 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11578 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11579 | > | /* end confdefs.h.  */ | 
| 11580 | > | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
| 11581 | > | For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| 11582 | > | #define $ac_func innocuous_$ac_func | 
| 11583 | > |  | 
| 11584 | > | /* System header to define __stub macros and hopefully few prototypes, | 
| 11585 | > | which can conflict with char $ac_func (); below. | 
| 11586 | > | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 11587 | > | <limits.h> exists even on freestanding compilers.  */ | 
| 11588 | > |  | 
| 11589 | > | #ifdef __STDC__ | 
| 11590 | > | # include <limits.h> | 
| 11591 | > | #else | 
| 11592 | > | # include <assert.h> | 
| 11593 | > | #endif | 
| 11594 | > |  | 
| 11595 | > | #undef $ac_func | 
| 11596 | > |  | 
| 11597 | > | /* Override any GCC internal prototype to avoid an error. | 
| 11598 | > | Use char because int might match the return type of a GCC | 
| 11599 | > | builtin and then its argument prototype would still apply.  */ | 
| 11600 | > | #ifdef __cplusplus | 
| 11601 | > | extern "C" | 
| 11602 | > | #endif | 
| 11603 | > | char $ac_func (); | 
| 11604 | > | /* The GNU C library defines this for functions which it implements | 
| 11605 | > | to always fail with ENOSYS.  Some functions are actually named | 
| 11606 | > | something starting with __ and the normal name is an alias.  */ | 
| 11607 | > | #if defined __stub_$ac_func || defined __stub___$ac_func | 
| 11608 | > | choke me | 
| 11609 | > | #endif | 
| 11610 | > |  | 
| 11611 | > | #ifdef FC_DUMMY_MAIN | 
| 11612 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11613 | > | #  ifdef __cplusplus | 
| 11614 | > | extern "C" | 
| 11615 | > | #  endif | 
| 11616 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11617 | > | #endif | 
| 11618 | > | #endif | 
| 11619 | > | int | 
| 11620 | > | main () | 
| 11621 | > | { | 
| 11622 | > | return $ac_func (); | 
| 11623 | > | ; | 
| 11624 | > | return 0; | 
| 11625 | > | } | 
| 11626 | > | _ACEOF | 
| 11627 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 11628 | > | if { (ac_try="$ac_link" | 
| 11629 | > | case "(($ac_try" in | 
| 11630 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11631 | > | *) ac_try_echo=$ac_try;; | 
| 11632 | > | esac | 
| 11633 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11634 | > | (eval "$ac_link") 2>conftest.er1 | 
| 11635 | > | ac_status=$? | 
| 11636 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11637 | > | rm -f conftest.er1 | 
| 11638 | > | cat conftest.err >&5 | 
| 11639 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11640 | > | (exit $ac_status); } && { | 
| 11641 | > | test -z "$ac_c_werror_flag" || | 
| 11642 | > | test ! -s conftest.err | 
| 11643 | > | } && test -s conftest$ac_exeext && | 
| 11644 | > | $as_test_x conftest$ac_exeext; then | 
| 11645 | > | eval "$as_ac_var=yes" | 
| 11646 | > | else | 
| 11647 | > | echo "$as_me: failed program was:" >&5 | 
| 11648 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11649 | > |  | 
| 11650 | > | eval "$as_ac_var=no" | 
| 11651 | > | fi | 
| 11652 | > |  | 
| 11653 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 11654 | > | conftest$ac_exeext conftest.$ac_ext | 
| 11655 | > | fi | 
| 11656 | > | ac_res=`eval echo '${'$as_ac_var'}'` | 
| 11657 | > | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 
| 11658 | > | echo "${ECHO_T}$ac_res" >&6; } | 
| 11659 | > | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
| 11660 | > | cat >>confdefs.h <<_ACEOF | 
| 11661 | > | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| 11662 | > | _ACEOF | 
| 11663 | > |  | 
| 11664 | > | fi | 
| 11665 | > | done | 
| 11666 | > |  | 
| 11667 | > |  | 
| 11668 | > | # special check for _system_configuration because AIX <4.3.2 do not | 
| 11669 | > | # contain the `physmem' member. | 
| 11670 | > | { echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 | 
| 11671 | > | echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; } | 
| 11672 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 11673 | > | /* confdefs.h.  */ | 
| 11674 | > | _ACEOF | 
| 11675 | > | cat confdefs.h >>conftest.$ac_ext | 
| 11676 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 11677 | > | /* end confdefs.h.  */ | 
| 11678 | > | #include <sys/systemcfg.h> | 
| 11679 | > | #ifdef FC_DUMMY_MAIN | 
| 11680 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 11681 | > | #  ifdef __cplusplus | 
| 11682 | > | extern "C" | 
| 11683 | > | #  endif | 
| 11684 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 11685 | > | #endif | 
| 11686 | > | #endif | 
| 11687 | > | int | 
| 11688 | > | main () | 
| 11689 | > | { | 
| 11690 | > | double x = _system_configuration.physmem; | 
| 11691 | > | ; | 
| 11692 | > | return 0; | 
| 11693 | > | } | 
| 11694 | > | _ACEOF | 
| 11695 | > | rm -f conftest.$ac_objext | 
| 11696 | > | if { (ac_try="$ac_compile" | 
| 11697 | > | case "(($ac_try" in | 
| 11698 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 11699 | > | *) ac_try_echo=$ac_try;; | 
| 11700 | > | esac | 
| 11701 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 11702 | > | (eval "$ac_compile") 2>conftest.er1 | 
| 11703 | > | ac_status=$? | 
| 11704 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 11705 | > | rm -f conftest.er1 | 
| 11706 | > | cat conftest.err >&5 | 
| 11707 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11708 | > | (exit $ac_status); } && { | 
| 11709 | > | test -z "$ac_c_werror_flag" || | 
| 11710 | > | test ! -s conftest.err | 
| 11711 | > | } && test -s conftest.$ac_objext; then | 
| 11712 | > | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 11713 | > | echo "${ECHO_T}yes" >&6; } | 
| 11714 | > |  | 
| 11715 | > | cat >>confdefs.h <<\_ACEOF | 
| 11716 | > | #define HAVE__SYSTEM_CONFIGURATION 1 | 
| 11717 | > | _ACEOF | 
| 11718 | > |  | 
| 11719 | > | else | 
| 11720 | > | echo "$as_me: failed program was:" >&5 | 
| 11721 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11722 | > |  | 
| 11723 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 11724 | > | echo "${ECHO_T}no" >&6; } | 
| 11725 | > | fi | 
| 11726 | > |  | 
| 11727 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 11728 | > |  | 
| 11729 | > |  | 
| 11730 | > | case $debug in | 
| 11731 | > | 1) | 
| 11732 | > | ;; | 
| 11733 | > | *) | 
| 11734 | > |  | 
| 11735 | > |  | 
| 11736 | > |  | 
| 11737 | > |  | 
| 11738 | > |  | 
| 11739 | > | # Try to determine "good" native compiler flags if none specified on command | 
| 11740 | > | # line | 
| 11741 | > |  | 
| 11742 | > | if test "$ac_test_FFLAGS" != "set"; then | 
| 11743 | > | FCFLAGS="" | 
| 11744 | > | case "${host_cpu}-${host_os}" in | 
| 11745 | > |  | 
| 11746 | > | *linux*) if test "$FC" = ifc -o "$FC" = ifort; then | 
| 11747 | > | FCFLAGS="-O2" | 
| 11748 | > | fi;; | 
| 11749 | > | rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then | 
| 11750 | > | FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" | 
| 11751 | > | fi;; | 
| 11752 | > | powerpc*-aix*) | 
| 11753 | > | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 11754 | > | FCFLAGS="-O3 -qarch=ppc -qansialias -w" | 
| 11755 | > | echo "*******************************************************" | 
| 11756 | > | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 11757 | > | echo "*  recommended that you use                           *" | 
| 11758 | > | echo "*                                                     *" | 
| 11759 | > | echo "*   FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 11760 | > | echo "*                                 ^^^                 *" | 
| 11761 | > | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 11762 | > | echo "*  PowerPC CPU you have.   For more info, man xlf.    *" | 
| 11763 | > | echo "*******************************************************" | 
| 11764 | > | fi;; | 
| 11765 | > | *darwin*) | 
| 11766 | > | if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then | 
| 11767 | > | FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto" | 
| 11768 | > | fi | 
| 11769 | > | if test "$FC" = ifort; then | 
| 11770 | > | FCFLAGS="-O2" | 
| 11771 | > | fi | 
| 11772 | > | if test "$FC" = gfortran; then | 
| 11773 | > | FCFLAGS="-Os" | 
| 11774 | > | fi;; | 
| 11775 | > | esac | 
| 11776 | > |  | 
| 11777 | > | if test -z "$FCFLAGS"; then | 
| 11778 | > | echo "" | 
| 11779 | > | echo "*********************************************************" | 
| 11780 | > | echo "* WARNING: Don't know the best FCFLAGS for this system  *" | 
| 11781 | > | echo "* Use  make FCFLAGS=..., or edit the top level Makefile *" | 
| 11782 | > | echo "* (otherwise, a default of FCFLAGS=-O will be used)     *" | 
| 11783 | > | echo "*********************************************************" | 
| 11784 | > | echo "" | 
| 11785 | > | FCFLAGS="-O" | 
| 11786 | > | fi | 
| 11787 | > |  | 
| 11788 | > |  | 
| 11789 | > | { echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 | 
| 11790 | > | echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6; } | 
| 11791 | > | if test "${ac_guessed_f90flags+set}" = set; then | 
| 11792 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11793 | > | else | 
| 11794 | > |  | 
| 11795 | > |  | 
| 11796 | > | ac_ext=${ac_fc_srcext-f} | 
| 11797 | > | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' | 
| 11798 | > | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 11799 | > | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 11800 | > |  | 
| 11801 | > | echo 'program main' > conftest.$ac_ext | 
| 11802 | > | echo 'end program main' >> conftest.$ac_ext | 
| 11803 | > | ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5' | 
| 11804 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 11805 | > | (eval $ac_compile) 2>&5 | 
| 11806 | > | ac_status=$? | 
| 11807 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11808 | > | (exit $ac_status); }; then | 
| 11809 | > | ac_guessed_f90flags=yes | 
| 11810 | > | else | 
| 11811 | > | ac_guessed_f90flags=no | 
| 11812 | > | fi | 
| 11813 | > | rm -f conftest* | 
| 11814 | > | ac_ext=c | 
| 11815 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 11816 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 11817 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 11818 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 11819 | > |  | 
| 11820 |  |  | 
| 11821 |  | fi | 
| 11822 | < | { echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 | 
| 11823 | < | echo "${ECHO_T}$ac_pentiumpro" >&6; } | 
| 11824 | < | if test "$ac_pentiumpro" = yes; then | 
| 11822 | > | { echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 | 
| 11823 | > | echo "${ECHO_T}$ac_guessed_f90flags" >&6; } | 
| 11824 | > | if test "$ac_guessed_f90flags" = yes; then | 
| 11825 |  | : | 
| 11826 | < | CPU_FLAGS=-mpentiumpro | 
| 11826 | > |  | 
| 11827 |  | else | 
| 11828 |  | : | 
| 11829 |  |  | 
| 11830 | < | fi | 
| 11830 | > | echo "" | 
| 11831 | > | echo "**********************************************************" | 
| 11832 | > | echo "* WARNING: The guessed FCFLAGS don't seem to work with  *" | 
| 11833 | > | echo "* your compiler.                                        *" | 
| 11834 | > | echo "* Use  make FCFLAGS=..., or edit the top level Makefile *" | 
| 11835 | > | echo "*********************************************************" | 
| 11836 | > | echo "" | 
| 11837 | > | FCFLAGS="" | 
| 11838 |  |  | 
| 11839 |  | fi | 
| 11840 |  |  | 
| 13704 | – | ;; | 
| 13705 | – | powerpc*) | 
| 13706 | – | cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null` | 
| 13707 | – | is60x=`echo $cputype | egrep "^600-9e?$"` | 
| 13708 | – | if test -n "$is60x"; then | 
| 11841 |  |  | 
| 13710 | – |  | 
| 13711 | – | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5 | 
| 13712 | – | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6; } | 
| 13713 | – | if test "${ac_m_cpu_60x+set}" = set; then | 
| 13714 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 13715 | – | else | 
| 13716 | – | echo 'void f(){}' > conftest.cpp | 
| 13717 | – | if test -z "`${CXX} -mcpu=$cputype -c conftest.cpp 2>&1`"; then | 
| 13718 | – | ac_m_cpu_60x=yes | 
| 13719 | – | else | 
| 13720 | – | ac_m_cpu_60x=no | 
| 11842 |  | fi | 
| 13722 | – | rm -f conftest* | 
| 11843 |  |  | 
| 13724 | – | fi | 
| 13725 | – | { echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 | 
| 13726 | – | echo "${ECHO_T}$ac_m_cpu_60x" >&6; } | 
| 13727 | – | if test "$ac_m_cpu_60x" = yes; then | 
| 13728 | – | : | 
| 13729 | – | CPU_FLAGS=-mcpu=$cputype | 
| 13730 | – | else | 
| 13731 | – | : | 
| 11844 |  |  | 
| 13733 | – | fi | 
| 11845 |  |  | 
| 13735 | – | elif test "$cputype" = 750; then | 
| 11846 |  |  | 
| 11847 |  |  | 
| 11848 | < | { echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 | 
| 11849 | < | echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6; } | 
| 11850 | < | if test "${ac_cv_prog_gxx_2_95+set}" = set; then | 
| 11848 | > |  | 
| 11849 | > |  | 
| 11850 | > | { echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 | 
| 11851 | > | echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6; } | 
| 11852 | > | if test "${ac_cv_prog_really_gcc+set}" = set; then | 
| 11853 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11854 |  | else | 
| 11855 |  |  | 
| 11856 | < | cat > conftest.cpp <<EOF | 
| 11857 | < | #ifdef __GNUC__ && !defined (__INTEL_COMPILER) | 
| 11858 | < | #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | 
| 11856 | > | cat > conftest.c <<EOF | 
| 11857 | > | #ifdef __GNUC__ | 
| 11858 | > | #if defined(__INTEL_COMPILER) || defined(__PATHCC__) | 
| 11859 | > | no; | 
| 11860 | > | #else | 
| 11861 |  | yes; | 
| 11862 | < | #  endif | 
| 11862 | > | #endif | 
| 11863 |  | #endif | 
| 11864 |  | EOF | 
| 11865 | < | if { ac_try='${CXX-c++} -E conftest.cpp' | 
| 11865 | > | if { ac_try='${CC-cc} -E conftest.c' | 
| 11866 |  | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 11867 |  | (eval $ac_try) 2>&5 | 
| 11868 |  | ac_status=$? | 
| 11869 |  | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 11870 |  | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 11871 | < | ac_cv_prog_gxx_2_95=yes | 
| 11871 | > | ac_cv_prog_really_gcc=yes | 
| 11872 |  | else | 
| 11873 | < | ac_cv_prog_gxx_2_95=no | 
| 11873 | > | ac_cv_prog_really_gcc=no | 
| 11874 |  | fi | 
| 11875 |  |  | 
| 11876 |  | fi | 
| 11877 | < | { echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 | 
| 11878 | < | echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6; } | 
| 11879 | < | if test "$ac_cv_prog_gxx_2_95" = yes; then | 
| 11877 | > | { echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 | 
| 11878 | > | echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6; } | 
| 11879 | > | if test "$ac_cv_prog_really_gcc" = yes; then | 
| 11880 |  | : | 
| 11881 |  |  | 
| 13768 | – |  | 
| 13769 | – | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5 | 
| 13770 | – | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6; } | 
| 13771 | – | if test "${ac_m_cpu_750+set}" = set; then | 
| 13772 | – | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11882 |  | else | 
| 13774 | – | echo 'void f(){}' > conftest.cpp | 
| 13775 | – | if test -z "`${CXX} -mcpu=750 -c conftest.cpp 2>&1`"; then | 
| 13776 | – | ac_m_cpu_750=yes | 
| 13777 | – | else | 
| 13778 | – | ac_m_cpu_750=no | 
| 13779 | – | fi | 
| 13780 | – | rm -f conftest* | 
| 13781 | – |  | 
| 13782 | – | fi | 
| 13783 | – | { echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 | 
| 13784 | – | echo "${ECHO_T}$ac_m_cpu_750" >&6; } | 
| 13785 | – | if test "$ac_m_cpu_750" = yes; then | 
| 11883 |  | : | 
| 13787 | – | CPU_FLAGS=-mcpu=750 | 
| 13788 | – | else | 
| 13789 | – | : | 
| 11884 |  |  | 
| 11885 |  | fi | 
| 11886 |  |  | 
| 13793 | – | else | 
| 13794 | – | : | 
| 11887 |  |  | 
| 11888 | < | fi | 
| 11888 | > | # Try to determine "good" native compiler flags if none specified on command | 
| 11889 | > | # line | 
| 11890 | > | if test "$ac_test_CFLAGS" != "set"; then | 
| 11891 | > | CFLAGS="" | 
| 11892 | > | case "${host_cpu}-${host_os}" in | 
| 11893 |  |  | 
| 11894 | < | fi | 
| 11895 | < | if test -z "$CPU_FLAGS"; then | 
| 11894 | > | *linux*) if test "$CC" = icc; then | 
| 11895 | > | CFLAGS="-O2" | 
| 11896 | > | fi;; | 
| 11897 | > | sparc-solaris2*) if test "$CC" = cc; then | 
| 11898 | > | CFLAGS="-O -dalign" | 
| 11899 | > | fi;; | 
| 11900 |  |  | 
| 11901 | + | alpha*-osf*)  if test "$CC" = cc; then | 
| 11902 | + | CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1" | 
| 11903 | + | fi;; | 
| 11904 |  |  | 
| 11905 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5 | 
| 11906 | < | echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6; } | 
| 11907 | < | if test "${ac_m_cpu_powerpc+set}" = set; then | 
| 11905 | > | hppa*-hpux*)  if test "$CC" = cc; then | 
| 11906 | > | CFLAGS="-Ae +O3 +Oall" | 
| 11907 | > | fi;; | 
| 11908 | > |  | 
| 11909 | > | rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then | 
| 11910 | > | CFLAGS="-O3 -qtune=auto -qansialias -w" | 
| 11911 | > | fi;; | 
| 11912 | > | powerpc*-aix*) | 
| 11913 | > | if test "$CC" = cc -o "$CC" = xlc; then | 
| 11914 | > | CFLAGS="-O3 -qtune=auto -qansialias -w" | 
| 11915 | > | echo "*******************************************************" | 
| 11916 | > | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 11917 | > | echo "*  recommended that you use                           *" | 
| 11918 | > | echo "*                                                     *" | 
| 11919 | > | echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 11920 | > | echo "*                                 ^^^                 *" | 
| 11921 | > | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 11922 | > | echo "*  PowerPC CPU you have.   For more info, man cc.     *" | 
| 11923 | > | echo "*******************************************************" | 
| 11924 | > | fi;; | 
| 11925 | > | *darwin*) | 
| 11926 | > | if test "$CC" = xlc; then | 
| 11927 | > | CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 11928 | > | fi | 
| 11929 | > | if test "$CC" = icc; then | 
| 11930 | > | CFLAGS="-O2" | 
| 11931 | > | fi | 
| 11932 | > | if test $ac_cv_prog_really_gcc = yes; then | 
| 11933 | > | CFLAGS="-Os" | 
| 11934 | > | fi;; | 
| 11935 | > | esac | 
| 11936 | > |  | 
| 11937 | > | # use default flags for gcc on all systems | 
| 11938 | > | if test $ac_cv_prog_really_gcc = yes -a -z "$CFLAGS"; then | 
| 11939 | > | CFLAGS="-O2" | 
| 11940 | > | fi | 
| 11941 | > |  | 
| 11942 | > | if test -z "$CFLAGS"; then | 
| 11943 | > | echo "" | 
| 11944 | > | echo "********************************************************" | 
| 11945 | > | echo "* WARNING: Don't know the best CFLAGS for this system  *" | 
| 11946 | > | echo "* Use  make CFLAGS=..., or edit the top level Makefile *" | 
| 11947 | > | echo "* (otherwise, a default of CFLAGS=-O will be used)     *" | 
| 11948 | > | echo "********************************************************" | 
| 11949 | > | echo "" | 
| 11950 | > | CFLAGS="-O" | 
| 11951 | > | fi | 
| 11952 | > |  | 
| 11953 | > |  | 
| 11954 | > |  | 
| 11955 | > | { echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 | 
| 11956 | > | echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6; } | 
| 11957 | > | if test "${ac_guessed_cflags+set}" = set; then | 
| 11958 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 11959 |  | else | 
| 11960 | < | echo 'void f(){}' > conftest.cpp | 
| 11961 | < | if test -z "`${CXX} -mcpu=powerpc -c conftest.cpp 2>&1`"; then | 
| 11962 | < | ac_m_cpu_powerpc=yes | 
| 11960 | > | echo 'void f(){}' > conftest.c | 
| 11961 | > | if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then | 
| 11962 | > | ac_guessed_cflags=yes | 
| 11963 |  | else | 
| 11964 | < | ac_m_cpu_powerpc=no | 
| 11964 | > | ac_guessed_cflags=no | 
| 11965 |  | fi | 
| 11966 |  | rm -f conftest* | 
| 11967 |  |  | 
| 11968 |  | fi | 
| 11969 | < | { echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 | 
| 11970 | < | echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } | 
| 11971 | < | if test "$ac_m_cpu_powerpc" = yes; then | 
| 11969 | > | { echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 | 
| 11970 | > | echo "${ECHO_T}$ac_guessed_cflags" >&6; } | 
| 11971 | > | if test "$ac_guessed_cflags" = yes; then | 
| 11972 |  | : | 
| 11973 | < | CPU_FLAGS=-mcpu=powerpc | 
| 11973 | > |  | 
| 11974 |  | else | 
| 11975 |  | : | 
| 11976 |  |  | 
| 11977 | + | echo "" | 
| 11978 | + | echo "********************************************************" | 
| 11979 | + | echo "* WARNING: The guessed CFLAGS don't seem to work with  *" | 
| 11980 | + | echo "* your compiler.                                       *" | 
| 11981 | + | echo "* Use  make CFLAGS=..., or edit the top level Makefile *" | 
| 11982 | + | echo "********************************************************" | 
| 11983 | + | echo "" | 
| 11984 | + | CFLAGS="" | 
| 11985 | + |  | 
| 11986 |  | fi | 
| 11987 |  |  | 
| 13826 | – | fi | 
| 13827 | – | if test -z "$CPU_FLAGS"; then | 
| 11988 |  |  | 
| 11989 | + | fi | 
| 11990 |  |  | 
| 11991 | < | { echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5 | 
| 11992 | < | echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6; } | 
| 11993 | < | if test "${ac_m_powerpc+set}" = set; then | 
| 11991 | > |  | 
| 11992 | > |  | 
| 11993 | > |  | 
| 11994 | > |  | 
| 11995 | > |  | 
| 11996 | > |  | 
| 11997 | > | { echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 | 
| 11998 | > | echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6; } | 
| 11999 | > | if test "${ac_cv_prog_really_gxx+set}" = set; then | 
| 12000 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12001 |  | else | 
| 12002 | < | echo 'void f(){}' > conftest.cpp | 
| 12003 | < | if test -z "`${CXX} -mpowerpc -c conftest.cpp 2>&1`"; then | 
| 12004 | < | ac_m_powerpc=yes | 
| 12002 | > |  | 
| 12003 | > | cat > conftest.cpp <<EOF | 
| 12004 | > | #ifdef __GNUC__ | 
| 12005 | > | #if defined(__INTEL_COMPILER) || defined(__PATHCC__) | 
| 12006 | > | no; | 
| 12007 | > | #else | 
| 12008 | > | yes; | 
| 12009 | > | #endif | 
| 12010 | > | #endif | 
| 12011 | > | EOF | 
| 12012 | > | if { ac_try='${CXX-c++} -E conftest.cpp' | 
| 12013 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 12014 | > | (eval $ac_try) 2>&5 | 
| 12015 | > | ac_status=$? | 
| 12016 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12017 | > | (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then | 
| 12018 | > | ac_cv_prog_really_gxx=yes | 
| 12019 |  | else | 
| 12020 | < | ac_m_powerpc=no | 
| 12020 | > | ac_cv_prog_really_gxx=no | 
| 12021 |  | fi | 
| 13841 | – | rm -f conftest* | 
| 12022 |  |  | 
| 12023 |  | fi | 
| 12024 | < | { echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 | 
| 12025 | < | echo "${ECHO_T}$ac_m_powerpc" >&6; } | 
| 12026 | < | if test "$ac_m_powerpc" = yes; then | 
| 12024 | > | { echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 | 
| 12025 | > | echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6; } | 
| 12026 | > | if test "$ac_cv_prog_really_gxx" = yes; then | 
| 12027 |  | : | 
| 12028 | < | CPU_FLAGS=-mpowerpc | 
| 12028 | > |  | 
| 12029 |  | else | 
| 12030 |  | : | 
| 12031 |  |  | 
| 12032 |  | fi | 
| 12033 |  |  | 
| 13854 | – | fi | 
| 13855 | – | esac | 
| 13856 | – | fi | 
| 12034 |  |  | 
| 12035 | < | if test -n "$CPU_FLAGS"; then | 
| 12036 | < | CXXFLAGS="$CXXFLAGS $CPU_FLAGS" | 
| 12035 | > | # Try to determine "good" native compiler flags if none specified on command | 
| 12036 | > | # line | 
| 12037 | > | if test "$ac_test_CXXFLAGS" != "set"; then | 
| 12038 | > | CXXFLAGS="" | 
| 12039 | > | case "${host_cpu}-${host_os}" in | 
| 12040 | > |  | 
| 12041 | > | *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then | 
| 12042 | > | CXXFLAGS="-O2" | 
| 12043 | > | fi;; | 
| 12044 | > | sparc-solaris2*) if test "$CXX" = CC; then | 
| 12045 | > | CXXFLAGS="-features=extensions -O -dalign" | 
| 12046 | > | fi;; | 
| 12047 | > | rs6000*-aix*)  if test "$CXX" = xlC; then | 
| 12048 | > | CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w" | 
| 12049 | > | fi;; | 
| 12050 | > | powerpc*-aix*) | 
| 12051 | > | if test "$CXX" = xlC; then | 
| 12052 | > | CXXFLAGS="-O3 -qarch=ppc -qansialias -w" | 
| 12053 | > | echo "*******************************************************" | 
| 12054 | > | echo "*  You have AIX on an unknown powerpc system.  It is  *" | 
| 12055 | > | echo "*  recommended that you use                           *" | 
| 12056 | > | echo "*                                                     *" | 
| 12057 | > | echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *" | 
| 12058 | > | echo "*                                 ^^^                 *" | 
| 12059 | > | echo "*  where xxx is 601, 603, 604, or whatever kind of    *" | 
| 12060 | > | echo "*  PowerPC CPU you have.   For more info, man cc.     *" | 
| 12061 | > | echo "*******************************************************" | 
| 12062 | > | fi;; | 
| 12063 | > | *darwin*) | 
| 12064 | > | if test "$CXX" = xlc++ -o "$CXX" = xlC ; then | 
| 12065 | > | CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec" | 
| 12066 | > | fi | 
| 12067 | > | if test "$CXX" = icpc; then | 
| 12068 | > | CXXFLAGS="-O2" | 
| 12069 | > | fi | 
| 12070 | > | if test $ac_cv_prog_really_gxx = yes; then | 
| 12071 | > | CXXFLAGS="-Os" | 
| 12072 | > | fi;; | 
| 12073 | > | esac | 
| 12074 | > |  | 
| 12075 | > | # use default flags for gcc on all systems | 
| 12076 | > | if test $ac_cv_prog_really_gxx = yes -a -z "$CXXFLAGS"; then | 
| 12077 | > | CXXFLAGS="-O2" | 
| 12078 |  | fi | 
| 12079 |  |  | 
| 12080 |  | if test -z "$CXXFLAGS"; then | 
| 12082 |  | echo "**********************************************************" | 
| 12083 |  | echo "* WARNING: Don't know the best CXXFLAGS for this system  *" | 
| 12084 |  | echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *" | 
| 12085 | < | echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *" | 
| 12085 | > | echo "* (otherwise, a default of CXXFLAGS=-O will be used)     *" | 
| 12086 |  | echo "**********************************************************" | 
| 12087 |  | echo "" | 
| 12088 | < | CXXFLAGS="-O3" | 
| 12088 | > | CXXFLAGS="-O" | 
| 12089 |  | fi | 
| 12090 |  |  | 
| 12091 |  |  | 
| 12130 |  | esac | 
| 12131 |  |  | 
| 12132 |  |  | 
| 12133 | < | cat >>confdefs.h <<\_ACEOF | 
| 13916 | < | #define OBAPI | 
| 13917 | < | _ACEOF | 
| 12133 | > | acx_cgal_found=no | 
| 12134 |  |  | 
| 12135 | < |  | 
| 12136 | < |  | 
| 12137 | < |  | 
| 13922 | < | # Check whether --with-mpi was given. | 
| 13923 | < | if test "${with_mpi+set}" = set; then | 
| 13924 | < | withval=$with_mpi; with_mpi=$withval | 
| 13925 | < | else | 
| 13926 | < | with_mpi="no" | 
| 12135 | > | # Check whether --with-cgalmakefile was given. | 
| 12136 | > | if test "${with_cgalmakefile+set}" = set; then | 
| 12137 | > | withval=$with_cgalmakefile; | 
| 12138 |  | fi | 
| 12139 |  |  | 
| 12140 | < |  | 
| 12141 | < | case "x$with_mpi" in | 
| 12142 | < | xyes | "x")  USE_MPI=yes;; | 
| 12143 | < | xno) USE_MPI=no ;; | 
| 12144 | < | *) MPI="$with_mpi"; USE_MPI=yes ;; | 
| 12140 | > | case $with_cgalmakefile in | 
| 12141 | > | yes | "") ;; | 
| 12142 | > | no) acx_cgal_found=disable ;; | 
| 12143 | > | -* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;; | 
| 12144 | > | *) CGAL_MAKEFILE="$with_cgalmakefile" ;; | 
| 12145 |  | esac | 
| 13935 | – | if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then | 
| 13936 | – | MPI="/usr/local" | 
| 13937 | – | fi | 
| 13938 | – | if test "$USE_MPI" = "yes"; then | 
| 12146 |  |  | 
| 12147 | + | if test "$acx_cgal_found" == no; then | 
| 12148 | + | { echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5 | 
| 12149 | + | echo $ECHO_N "checking CGAL_MAKEFILE... $ECHO_C" >&6; } | 
| 12150 |  |  | 
| 12151 | < | # Set variables... | 
| 13942 | < | MPI_LIB_DIR="$MPI/lib" | 
| 13943 | < | MPI_INC_DIR="$MPI/include" | 
| 12151 | > | if test \! -z "$CGAL_MAKEFILE"; then | 
| 12152 |  |  | 
| 12153 | + | if test -e "$CGAL_MAKEFILE"; then | 
| 12154 | + | tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX` | 
| 12155 |  |  | 
| 12156 | + | cat > $tname << _ACEOF | 
| 12157 | + | include $CGAL_MAKEFILE | 
| 12158 |  |  | 
| 12159 | < | ac_ext=c | 
| 12160 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 13949 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 13950 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 13951 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 12159 | > | cppflags: | 
| 12160 | > | @echo \$(CGAL_CXXFLAGS) | 
| 12161 |  |  | 
| 12162 | < | { echo "$as_me:$LINENO: checking for mpi.h" >&5 | 
| 12163 | < | echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; } | 
| 12164 | < | have_mpi_h=0 | 
| 12165 | < | rm -f conftest* | 
| 12166 | < | echo '#include <mpi.h>' > conftest.c | 
| 12167 | < | if ${CC} -I${MPI_INC_DIR} -c conftest.c 2>&1 ; then | 
| 12168 | < | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 12162 | > | cxxflags: | 
| 12163 | > | @echo | 
| 12164 | > | ldflags: | 
| 12165 | > | @echo \$(CGAL_LDFLAGS) | 
| 12166 | > | _ACEOF | 
| 12167 | > | CGAL_CPPFLAGS="`make -s -f $tname cppflags`" | 
| 12168 | > | CGAL_CXXFLAGS="`make -s -f $tname cxxflags`" | 
| 12169 | > | CGAL_LDFLAGST="`make -s -f $tname ldflags`" | 
| 12170 | > | for i in $CGAL_LDFLAGST; do | 
| 12171 | > | if test `echo $i| grep -c ^-l`; then | 
| 12172 | > | CGAL_LIBS="$CGAL_LIBS $i" | 
| 12173 | > | else | 
| 12174 | > | CGAL_LDFLAGS="$CGAL_LDFLAGS $i" | 
| 12175 | > | fi | 
| 12176 | > | done | 
| 12177 | > | rm -f $tname | 
| 12178 | > | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 12179 |  | echo "${ECHO_T}yes" >&6; } | 
| 12180 | < | have_mpi_h=1 | 
| 12181 | < | else | 
| 12182 | < | if test -s conftest.out ; then | 
| 12183 | < | cat conftest.out >> config.log | 
| 12180 | > | acx_cgal_found=yes | 
| 12181 | > | else | 
| 12182 | > | { echo "$as_me:$LINENO: result: invalid" >&5 | 
| 12183 | > | echo "${ECHO_T}invalid" >&6; } | 
| 12184 | > | { { echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5 | 
| 12185 | > | echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;} | 
| 12186 | > | { (exit 1); exit 1; }; } | 
| 12187 |  | fi | 
| 12188 | < | { echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 | 
| 12189 | < | echo "${ECHO_T}no! Check MPI include paths" >&6; } | 
| 12190 | < | USE_MPI="no" | 
| 12188 | > | else | 
| 12189 | > | { echo "$as_me:$LINENO: result: not defined" >&5 | 
| 12190 | > | echo "${ECHO_T}not defined" >&6; } | 
| 12191 | > | fi | 
| 12192 |  | fi | 
| 13970 | – | rm -f conftest* | 
| 13971 | – | if test "$have_mpi_h" = 1; then | 
| 12193 |  |  | 
| 12194 | < | cat >>confdefs.h <<\_ACEOF | 
| 12195 | < | #define HAVE_MPI_H 1 | 
| 12194 | > | if test "$acx_cgal_found" == no; then | 
| 12195 | > | if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then | 
| 12196 | > | { echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 | 
| 12197 | > | echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6; } | 
| 12198 | > | if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then | 
| 12199 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12200 | > | fi | 
| 12201 | > | { echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 | 
| 12202 | > | echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } | 
| 12203 | > | else | 
| 12204 | > | # Is the header compilable? | 
| 12205 | > | { echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5 | 
| 12206 | > | echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... $ECHO_C" >&6; } | 
| 12207 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 12208 | > | /* confdefs.h.  */ | 
| 12209 |  | _ACEOF | 
| 12210 | + | cat confdefs.h >>conftest.$ac_ext | 
| 12211 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 12212 | + | /* end confdefs.h.  */ | 
| 12213 | + | $ac_includes_default | 
| 12214 | + | #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | 
| 12215 | + | _ACEOF | 
| 12216 | + | rm -f conftest.$ac_objext | 
| 12217 | + | if { (ac_try="$ac_compile" | 
| 12218 | + | case "(($ac_try" in | 
| 12219 | + | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12220 | + | *) ac_try_echo=$ac_try;; | 
| 12221 | + | esac | 
| 12222 | + | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12223 | + | (eval "$ac_compile") 2>conftest.er1 | 
| 12224 | + | ac_status=$? | 
| 12225 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12226 | + | rm -f conftest.er1 | 
| 12227 | + | cat conftest.err >&5 | 
| 12228 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12229 | + | (exit $ac_status); } && { | 
| 12230 | + | test -z "$ac_c_werror_flag" || | 
| 12231 | + | test ! -s conftest.err | 
| 12232 | + | } && test -s conftest.$ac_objext; then | 
| 12233 | + | ac_header_compiler=yes | 
| 12234 | + | else | 
| 12235 | + | echo "$as_me: failed program was:" >&5 | 
| 12236 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12237 |  |  | 
| 12238 | + | ac_header_compiler=no | 
| 12239 |  | fi | 
| 12240 |  |  | 
| 12241 | < | { echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 | 
| 12242 | < | echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } | 
| 12241 | > | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 12242 | > | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 12243 | > | echo "${ECHO_T}$ac_header_compiler" >&6; } | 
| 12244 |  |  | 
| 12245 | < | ac_ext=${ac_fc_srcext-f} | 
| 12246 | < | ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' | 
| 12247 | < | ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' | 
| 12248 | < | ac_compiler_gnu=$ac_cv_fc_compiler_gnu | 
| 12245 | > | # Is the header present? | 
| 12246 | > | { echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5 | 
| 12247 | > | echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... $ECHO_C" >&6; } | 
| 12248 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 12249 | > | /* confdefs.h.  */ | 
| 12250 | > | _ACEOF | 
| 12251 | > | cat confdefs.h >>conftest.$ac_ext | 
| 12252 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 12253 | > | /* end confdefs.h.  */ | 
| 12254 | > | #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | 
| 12255 | > | _ACEOF | 
| 12256 | > | if { (ac_try="$ac_cpp conftest.$ac_ext" | 
| 12257 | > | case "(($ac_try" in | 
| 12258 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12259 | > | *) ac_try_echo=$ac_try;; | 
| 12260 | > | esac | 
| 12261 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12262 | > | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | 
| 12263 | > | ac_status=$? | 
| 12264 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12265 | > | rm -f conftest.er1 | 
| 12266 | > | cat conftest.err >&5 | 
| 12267 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12268 | > | (exit $ac_status); } >/dev/null && { | 
| 12269 | > | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| 12270 | > | test ! -s conftest.err | 
| 12271 | > | }; then | 
| 12272 | > | ac_header_preproc=yes | 
| 12273 | > | else | 
| 12274 | > | echo "$as_me: failed program was:" >&5 | 
| 12275 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12276 |  |  | 
| 12277 | < | ac_save_ext=$ac_ext | 
| 13988 | < | ac_ext=F90 | 
| 13989 | < | ac_save_FCFLAGS=$FCFLAGS | 
| 13990 | < | have_mpif_h=0 | 
| 13991 | < | rm -f conftest* | 
| 13992 | < | cat >conftest.$ac_ext <<EOF | 
| 13993 | < | program main | 
| 13994 | < | include 'mpif.h' | 
| 13995 | < | end | 
| 13996 | < | EOF | 
| 13997 | < | if $FC -I$MPI_INC_DIR -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext > conftest.out 2>&1 ; then | 
| 13998 | < | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 13999 | < | echo "${ECHO_T}yes" >&6; } | 
| 14000 | < | MPI_F90_INC="$MPI_INC_DIR" | 
| 14001 | < | have_mpif_h=1 | 
| 14002 | < | else | 
| 14003 | < | if test -s conftest.out ; then | 
| 14004 | < | cat conftest.out >> config.log | 
| 14005 | < | fi | 
| 14006 | < | { echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 | 
| 14007 | < | echo "${ECHO_T}no! Check MPI include paths" >&6; } | 
| 14008 | < | USE_MPI="no" | 
| 12277 | > | ac_header_preproc=no | 
| 12278 |  | fi | 
| 14010 | – | rm -f conftest* | 
| 12279 |  |  | 
| 12280 | < | if test "$have_mpif_h" = 1; then | 
| 12280 | > | rm -f conftest.err conftest.$ac_ext | 
| 12281 | > | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 12282 | > | echo "${ECHO_T}$ac_header_preproc" >&6; } | 
| 12283 |  |  | 
| 12284 | < | cat >>confdefs.h <<\_ACEOF | 
| 12285 | < | #define HAVE_MPIF_H 1 | 
| 12286 | < | _ACEOF | 
| 12284 | > | # So?  What about this header? | 
| 12285 | > | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
| 12286 | > | yes:no: ) | 
| 12287 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| 12288 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| 12289 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5 | 
| 12290 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;} | 
| 12291 | > | ac_header_preproc=yes | 
| 12292 | > | ;; | 
| 12293 | > | no:yes:* ) | 
| 12294 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5 | 
| 12295 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;} | 
| 12296 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     check for missing prerequisite headers?" >&5 | 
| 12297 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     check for missing prerequisite headers?" >&2;} | 
| 12298 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5 | 
| 12299 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;} | 
| 12300 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 12301 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 12302 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5 | 
| 12303 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;} | 
| 12304 | > | { echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5 | 
| 12305 | > | echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;} | 
| 12306 | > | ( cat <<\_ASBOX | 
| 12307 | > | ## ------------------------------ ## | 
| 12308 | > | ## Report this to gezelter@nd.edu ## | 
| 12309 | > | ## ------------------------------ ## | 
| 12310 | > | _ASBOX | 
| 12311 | > | ) | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 12312 | > | ;; | 
| 12313 | > | esac | 
| 12314 | > | { echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 | 
| 12315 | > | echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6; } | 
| 12316 | > | if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then | 
| 12317 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12318 | > | else | 
| 12319 | > | ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h=$ac_header_preproc | 
| 12320 | > | fi | 
| 12321 | > | { echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 | 
| 12322 | > | echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; } | 
| 12323 |  |  | 
| 12324 |  | fi | 
| 12325 | < | FCFLAGS=$ac_save_FCFLAGS | 
| 12326 | < | ac_ext=$ac_save_ext | 
| 12327 | < | ac_ext=c | 
| 12328 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 12329 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 14024 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 14025 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 12325 | > | if test $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h = yes; then | 
| 12326 | > | cgal_have_header=yes | 
| 12327 | > | else | 
| 12328 | > | cgal_have_header=no | 
| 12329 | > | fi | 
| 12330 |  |  | 
| 12331 |  |  | 
| 12332 | < | ac_ext=c | 
| 12333 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 12334 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 12335 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 12336 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 12332 | > | if test "$cgal_have_header" == yes; then | 
| 12333 | > | { echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 | 
| 12334 | > | echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6; } | 
| 12335 | > | if test "${ac_cv_lib_CGAL_main+set}" = set; then | 
| 12336 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12337 | > | else | 
| 12338 | > | ac_check_lib_save_LIBS=$LIBS | 
| 12339 | > | LIBS="-lCGAL  $LIBS" | 
| 12340 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 12341 | > | /* confdefs.h.  */ | 
| 12342 | > | _ACEOF | 
| 12343 | > | cat confdefs.h >>conftest.$ac_ext | 
| 12344 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 12345 | > | /* end confdefs.h.  */ | 
| 12346 |  |  | 
| 14034 | – | ac_save_LDFLAGS=$LDFLAGS | 
| 14035 | – | LDFLAGS="-L${MPI_LIB_DIR} ${LDFLAGS} " | 
| 12347 |  |  | 
| 12348 | < | if test x = x"$MPI_LIB"; then | 
| 12349 | < | { echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 | 
| 12350 | < | echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6; } | 
| 12351 | < | if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then | 
| 12348 | > | #ifdef FC_DUMMY_MAIN | 
| 12349 | > | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12350 | > | #  ifdef __cplusplus | 
| 12351 | > | extern "C" | 
| 12352 | > | #  endif | 
| 12353 | > | int FC_DUMMY_MAIN() { return 1; } | 
| 12354 | > | #endif | 
| 12355 | > | #endif | 
| 12356 | > | int | 
| 12357 | > | main () | 
| 12358 | > | { | 
| 12359 | > | return main (); | 
| 12360 | > | ; | 
| 12361 | > | return 0; | 
| 12362 | > | } | 
| 12363 | > | _ACEOF | 
| 12364 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 12365 | > | if { (ac_try="$ac_link" | 
| 12366 | > | case "(($ac_try" in | 
| 12367 | > | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| 12368 | > | *) ac_try_echo=$ac_try;; | 
| 12369 | > | esac | 
| 12370 | > | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 
| 12371 | > | (eval "$ac_link") 2>conftest.er1 | 
| 12372 | > | ac_status=$? | 
| 12373 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 12374 | > | rm -f conftest.er1 | 
| 12375 | > | cat conftest.err >&5 | 
| 12376 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 12377 | > | (exit $ac_status); } && { | 
| 12378 | > | test -z "$ac_c_werror_flag" || | 
| 12379 | > | test ! -s conftest.err | 
| 12380 | > | } && test -s conftest$ac_exeext && | 
| 12381 | > | $as_test_x conftest$ac_exeext; then | 
| 12382 | > | ac_cv_lib_CGAL_main=yes | 
| 12383 | > | else | 
| 12384 | > | echo "$as_me: failed program was:" >&5 | 
| 12385 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12386 | > |  | 
| 12387 | > | ac_cv_lib_CGAL_main=no | 
| 12388 | > | fi | 
| 12389 | > |  | 
| 12390 | > | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 12391 | > | conftest$ac_exeext conftest.$ac_ext | 
| 12392 | > | LIBS=$ac_check_lib_save_LIBS | 
| 12393 | > | fi | 
| 12394 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 | 
| 12395 | > | echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6; } | 
| 12396 | > | if test $ac_cv_lib_CGAL_main = yes; then | 
| 12397 | > | cgal_have_lib=yes | 
| 12398 | > | else | 
| 12399 | > | cgal_have_lib=no | 
| 12400 | > | fi | 
| 12401 | > |  | 
| 12402 | > | if test "$cgal_have_lib" == no; then | 
| 12403 | > | save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" | 
| 12404 | > | { echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 | 
| 12405 | > | echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6; } | 
| 12406 | > | if test "${ac_cv_lib_CGAL_main+set}" = set; then | 
| 12407 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12408 |  | else | 
| 12409 |  | ac_check_lib_save_LIBS=$LIBS | 
| 12410 | < | LIBS="-lmpich  $LIBS" | 
| 12410 | > | LIBS="-lCGAL  $LIBS" | 
| 12411 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 12412 |  | /* confdefs.h.  */ | 
| 12413 |  | _ACEOF | 
| 12415 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 12416 |  | /* end confdefs.h.  */ | 
| 12417 |  |  | 
| 12418 | < | /* Override any GCC internal prototype to avoid an error. | 
| 14053 | < | Use char because int might match the return type of a GCC | 
| 14054 | < | builtin and then its argument prototype would still apply.  */ | 
| 14055 | < | #ifdef __cplusplus | 
| 14056 | < | extern "C" | 
| 14057 | < | #endif | 
| 14058 | < | char MPI_Init (); | 
| 12418 | > |  | 
| 12419 |  | #ifdef FC_DUMMY_MAIN | 
| 12420 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12421 |  | #  ifdef __cplusplus | 
| 12427 |  | int | 
| 12428 |  | main () | 
| 12429 |  | { | 
| 12430 | < | return MPI_Init (); | 
| 12430 | > | return main (); | 
| 12431 |  | ; | 
| 12432 |  | return 0; | 
| 12433 |  | } | 
| 12450 |  | test ! -s conftest.err | 
| 12451 |  | } && test -s conftest$ac_exeext && | 
| 12452 |  | $as_test_x conftest$ac_exeext; then | 
| 12453 | < | ac_cv_lib_mpich_MPI_Init=yes | 
| 12453 | > | ac_cv_lib_CGAL_main=yes | 
| 12454 |  | else | 
| 12455 |  | echo "$as_me: failed program was:" >&5 | 
| 12456 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12457 |  |  | 
| 12458 | < | ac_cv_lib_mpich_MPI_Init=no | 
| 12458 | > | ac_cv_lib_CGAL_main=no | 
| 12459 |  | fi | 
| 12460 |  |  | 
| 12461 |  | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 12462 |  | conftest$ac_exeext conftest.$ac_ext | 
| 12463 |  | LIBS=$ac_check_lib_save_LIBS | 
| 12464 |  | fi | 
| 12465 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 | 
| 12466 | < | echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6; } | 
| 12467 | < | if test $ac_cv_lib_mpich_MPI_Init = yes; then | 
| 12468 | < | MPI_LIB="-lmpich" | 
| 12465 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 | 
| 12466 | > | echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6; } | 
| 12467 | > | if test $ac_cv_lib_CGAL_main = yes; then | 
| 12468 | > | CGAL_LIBS="-lCGAL -lgmp -lmpfr" | 
| 12469 | > | cgal_have_lib=yes | 
| 12470 | > | else | 
| 12471 | > | cgal_have_lib=no | 
| 12472 |  | fi | 
| 12473 |  |  | 
| 12474 | < | fi | 
| 12475 | < | $as_unset ac_cv_lib_mpich_MPI_Init | 
| 12476 | < | if test x = x"$MPI_LIB"; then | 
| 12477 | < | { echo "$as_me:$LINENO: checking for MPI_Init in -lpmpich" >&5 | 
| 12478 | < | echo $ECHO_N "checking for MPI_Init in -lpmpich... $ECHO_C" >&6; } | 
| 12479 | < | if test "${ac_cv_lib_pmpich_MPI_Init+set}" = set; then | 
| 12474 | > | LIBS="$save_LIBS" | 
| 12475 | > | else | 
| 12476 | > | CGAL_LIBS="-lCGAL" | 
| 12477 | > | { echo "$as_me:$LINENO: checking for main in -lmpfr" >&5 | 
| 12478 | > | echo $ECHO_N "checking for main in -lmpfr... $ECHO_C" >&6; } | 
| 12479 | > | if test "${ac_cv_lib_mpfr_main+set}" = set; then | 
| 12480 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12481 |  | else | 
| 12482 |  | ac_check_lib_save_LIBS=$LIBS | 
| 12483 | < | LIBS="-lpmpich -lmpich -lpmpich -lmpich $LIBS" | 
| 12483 | > | LIBS="-lmpfr  $LIBS" | 
| 12484 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 12485 |  | /* confdefs.h.  */ | 
| 12486 |  | _ACEOF | 
| 12488 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 12489 |  | /* end confdefs.h.  */ | 
| 12490 |  |  | 
| 12491 | < | /* Override any GCC internal prototype to avoid an error. | 
| 14129 | < | Use char because int might match the return type of a GCC | 
| 14130 | < | builtin and then its argument prototype would still apply.  */ | 
| 14131 | < | #ifdef __cplusplus | 
| 14132 | < | extern "C" | 
| 14133 | < | #endif | 
| 14134 | < | char MPI_Init (); | 
| 12491 | > |  | 
| 12492 |  | #ifdef FC_DUMMY_MAIN | 
| 12493 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12494 |  | #  ifdef __cplusplus | 
| 12500 |  | int | 
| 12501 |  | main () | 
| 12502 |  | { | 
| 12503 | < | return MPI_Init (); | 
| 12503 | > | return main (); | 
| 12504 |  | ; | 
| 12505 |  | return 0; | 
| 12506 |  | } | 
| 12523 |  | test ! -s conftest.err | 
| 12524 |  | } && test -s conftest$ac_exeext && | 
| 12525 |  | $as_test_x conftest$ac_exeext; then | 
| 12526 | < | ac_cv_lib_pmpich_MPI_Init=yes | 
| 12526 | > | ac_cv_lib_mpfr_main=yes | 
| 12527 |  | else | 
| 12528 |  | echo "$as_me: failed program was:" >&5 | 
| 12529 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12530 |  |  | 
| 12531 | < | ac_cv_lib_pmpich_MPI_Init=no | 
| 12531 | > | ac_cv_lib_mpfr_main=no | 
| 12532 |  | fi | 
| 12533 |  |  | 
| 12534 |  | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 12535 |  | conftest$ac_exeext conftest.$ac_ext | 
| 12536 |  | LIBS=$ac_check_lib_save_LIBS | 
| 12537 |  | fi | 
| 12538 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_pmpich_MPI_Init" >&5 | 
| 12539 | < | echo "${ECHO_T}$ac_cv_lib_pmpich_MPI_Init" >&6; } | 
| 12540 | < | if test $ac_cv_lib_pmpich_MPI_Init = yes; then | 
| 12541 | < | MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich" | 
| 12538 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5 | 
| 12539 | > | echo "${ECHO_T}$ac_cv_lib_mpfr_main" >&6; } | 
| 12540 | > | if test $ac_cv_lib_mpfr_main = yes; then | 
| 12541 | > | CGAL_LIBS="$CGAL_LIBS -lmpfr" | 
| 12542 |  | fi | 
| 12543 |  |  | 
| 12544 | < | fi | 
| 12545 | < | if test x = x"$MPI_LIB"; then | 
| 12546 | < | { echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 | 
| 14190 | < | echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } | 
| 14191 | < | if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then | 
| 12544 | > | { echo "$as_me:$LINENO: checking for main in -lgmp" >&5 | 
| 12545 | > | echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6; } | 
| 12546 | > | if test "${ac_cv_lib_gmp_main+set}" = set; then | 
| 12547 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12548 |  | else | 
| 12549 |  | ac_check_lib_save_LIBS=$LIBS | 
| 12550 | < | LIBS="-lmpi  $LIBS" | 
| 12550 | > | LIBS="-lgmp  $LIBS" | 
| 12551 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 12552 |  | /* confdefs.h.  */ | 
| 12553 |  | _ACEOF | 
| 12555 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 12556 |  | /* end confdefs.h.  */ | 
| 12557 |  |  | 
| 12558 | < | /* Override any GCC internal prototype to avoid an error. | 
| 14204 | < | Use char because int might match the return type of a GCC | 
| 14205 | < | builtin and then its argument prototype would still apply.  */ | 
| 14206 | < | #ifdef __cplusplus | 
| 14207 | < | extern "C" | 
| 14208 | < | #endif | 
| 14209 | < | char MPI_Init (); | 
| 12558 | > |  | 
| 12559 |  | #ifdef FC_DUMMY_MAIN | 
| 12560 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12561 |  | #  ifdef __cplusplus | 
| 12567 |  | int | 
| 12568 |  | main () | 
| 12569 |  | { | 
| 12570 | < | return MPI_Init (); | 
| 12570 | > | return main (); | 
| 12571 |  | ; | 
| 12572 |  | return 0; | 
| 12573 |  | } | 
| 12590 |  | test ! -s conftest.err | 
| 12591 |  | } && test -s conftest$ac_exeext && | 
| 12592 |  | $as_test_x conftest$ac_exeext; then | 
| 12593 | < | ac_cv_lib_mpi_MPI_Init=yes | 
| 12593 | > | ac_cv_lib_gmp_main=yes | 
| 12594 |  | else | 
| 12595 |  | echo "$as_me: failed program was:" >&5 | 
| 12596 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12597 |  |  | 
| 12598 | < | ac_cv_lib_mpi_MPI_Init=no | 
| 12598 | > | ac_cv_lib_gmp_main=no | 
| 12599 |  | fi | 
| 12600 |  |  | 
| 12601 |  | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 12602 |  | conftest$ac_exeext conftest.$ac_ext | 
| 12603 |  | LIBS=$ac_check_lib_save_LIBS | 
| 12604 |  | fi | 
| 12605 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 | 
| 12606 | < | echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } | 
| 12607 | < | if test $ac_cv_lib_mpi_MPI_Init = yes; then | 
| 12608 | < | MPI_LIB="-lmpi" | 
| 12605 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 | 
| 12606 | > | echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6; } | 
| 12607 | > | if test $ac_cv_lib_gmp_main = yes; then | 
| 12608 | > | CGAL_LIBS="$CGAL_LIBS -lgmp" | 
| 12609 |  | fi | 
| 12610 |  |  | 
| 12611 | < | fi | 
| 12612 | < | $as_unset ac_cv_lib_mpi_MPI_Init | 
| 12613 | < | if test x = x"$MPI_LIB"; then | 
| 14265 | < | { echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 | 
| 14266 | < | echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } | 
| 14267 | < | if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then | 
| 12611 | > | { echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5 | 
| 12612 | > | echo $ECHO_N "checking for main in -lgmpxx... $ECHO_C" >&6; } | 
| 12613 | > | if test "${ac_cv_lib_gmpxx_main+set}" = set; then | 
| 12614 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12615 |  | else | 
| 12616 |  | ac_check_lib_save_LIBS=$LIBS | 
| 12617 | < | LIBS="-lmpi -llam $LIBS" | 
| 12617 | > | LIBS="-lgmpxx  $LIBS" | 
| 12618 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 12619 |  | /* confdefs.h.  */ | 
| 12620 |  | _ACEOF | 
| 12622 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 12623 |  | /* end confdefs.h.  */ | 
| 12624 |  |  | 
| 12625 | < | /* Override any GCC internal prototype to avoid an error. | 
| 14280 | < | Use char because int might match the return type of a GCC | 
| 14281 | < | builtin and then its argument prototype would still apply.  */ | 
| 14282 | < | #ifdef __cplusplus | 
| 14283 | < | extern "C" | 
| 14284 | < | #endif | 
| 14285 | < | char MPI_Init (); | 
| 12625 | > |  | 
| 12626 |  | #ifdef FC_DUMMY_MAIN | 
| 12627 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12628 |  | #  ifdef __cplusplus | 
| 12634 |  | int | 
| 12635 |  | main () | 
| 12636 |  | { | 
| 12637 | < | return MPI_Init (); | 
| 12637 | > | return main (); | 
| 12638 |  | ; | 
| 12639 |  | return 0; | 
| 12640 |  | } | 
| 12657 |  | test ! -s conftest.err | 
| 12658 |  | } && test -s conftest$ac_exeext && | 
| 12659 |  | $as_test_x conftest$ac_exeext; then | 
| 12660 | < | ac_cv_lib_mpi_MPI_Init=yes | 
| 12660 | > | ac_cv_lib_gmpxx_main=yes | 
| 12661 |  | else | 
| 12662 |  | echo "$as_me: failed program was:" >&5 | 
| 12663 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12664 |  |  | 
| 12665 | < | ac_cv_lib_mpi_MPI_Init=no | 
| 12665 | > | ac_cv_lib_gmpxx_main=no | 
| 12666 |  | fi | 
| 12667 |  |  | 
| 12668 |  | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 12669 |  | conftest$ac_exeext conftest.$ac_ext | 
| 12670 |  | LIBS=$ac_check_lib_save_LIBS | 
| 12671 |  | fi | 
| 12672 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 | 
| 12673 | < | echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } | 
| 12674 | < | if test $ac_cv_lib_mpi_MPI_Init = yes; then | 
| 12675 | < | MPI_LIB="-lmpi -llam" | 
| 12672 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_gmpxx_main" >&5 | 
| 12673 | > | echo "${ECHO_T}$ac_cv_lib_gmpxx_main" >&6; } | 
| 12674 | > | if test $ac_cv_lib_gmpxx_main = yes; then | 
| 12675 | > | CGAL_LIBS="$CGAL_LIBS -lgmpxx" | 
| 12676 |  | fi | 
| 12677 |  |  | 
| 12678 | < | fi | 
| 12679 | < | $as_unset ac_cv_lib_mpi_MPI_Init | 
| 12680 | < | if test x = x"$MPI_LIB"; then | 
| 12681 | < | { echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 | 
| 12682 | < | echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } | 
| 12683 | < | if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then | 
| 12678 | > | fi | 
| 12679 | > |  | 
| 12680 | > | if test "$cgal_have_lib" == yes; then | 
| 12681 | > | acx_cgal_found=yes | 
| 12682 | > | fi | 
| 12683 | > | fi | 
| 12684 | > | if test "$acx_cgal_found" == yes; then | 
| 12685 | > | { echo "$as_me:$LINENO: checking for main in -lCore" >&5 | 
| 12686 | > | echo $ECHO_N "checking for main in -lCore... $ECHO_C" >&6; } | 
| 12687 | > | if test "${ac_cv_lib_Core_main+set}" = set; then | 
| 12688 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 12689 |  | else | 
| 12690 |  | ac_check_lib_save_LIBS=$LIBS | 
| 12691 | < | LIBS="-lmpi -llam -lpthread $LIBS" | 
| 12691 | > | LIBS="-lCore  $LIBS" | 
| 12692 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 12693 |  | /* confdefs.h.  */ | 
| 12694 |  | _ACEOF | 
| 12696 |  | cat >>conftest.$ac_ext <<_ACEOF | 
| 12697 |  | /* end confdefs.h.  */ | 
| 12698 |  |  | 
| 12699 | < | /* Override any GCC internal prototype to avoid an error. | 
| 14356 | < | Use char because int might match the return type of a GCC | 
| 14357 | < | builtin and then its argument prototype would still apply.  */ | 
| 14358 | < | #ifdef __cplusplus | 
| 14359 | < | extern "C" | 
| 14360 | < | #endif | 
| 14361 | < | char MPI_Init (); | 
| 12699 | > |  | 
| 12700 |  | #ifdef FC_DUMMY_MAIN | 
| 12701 |  | #ifndef FC_DUMMY_MAIN_EQ_F77 | 
| 12702 |  | #  ifdef __cplusplus | 
| 12708 |  | int | 
| 12709 |  | main () | 
| 12710 |  | { | 
| 12711 | < | return MPI_Init (); | 
| 12711 | > | return main (); | 
| 12712 |  | ; | 
| 12713 |  | return 0; | 
| 12714 |  | } | 
| 12731 |  | test ! -s conftest.err | 
| 12732 |  | } && test -s conftest$ac_exeext && | 
| 12733 |  | $as_test_x conftest$ac_exeext; then | 
| 12734 | < | ac_cv_lib_mpi_MPI_Init=yes | 
| 12734 | > | ac_cv_lib_Core_main=yes | 
| 12735 |  | else | 
| 12736 |  | echo "$as_me: failed program was:" >&5 | 
| 12737 |  | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 12738 |  |  | 
| 12739 | < | ac_cv_lib_mpi_MPI_Init=no | 
| 12739 | > | ac_cv_lib_Core_main=no | 
| 12740 |  | fi | 
| 12741 |  |  | 
| 12742 |  | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 
| 12743 |  | conftest$ac_exeext conftest.$ac_ext | 
| 12744 |  | LIBS=$ac_check_lib_save_LIBS | 
| 12745 |  | fi | 
| 12746 | < | { echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 | 
| 12747 | < | echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } | 
| 12748 | < | if test $ac_cv_lib_mpi_MPI_Init = yes; then | 
| 12749 | < | MPI_LIB="-lmpi -llam -lpthread" | 
| 14412 | < | else | 
| 14413 | < |  | 
| 14414 | < | { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 | 
| 14415 | < | echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;} | 
| 14416 | < | { (exit 1); exit 1; }; } | 
| 14417 | < | USE_MPI="no" | 
| 14418 | < |  | 
| 12746 | > | { echo "$as_me:$LINENO: result: $ac_cv_lib_Core_main" >&5 | 
| 12747 | > | echo "${ECHO_T}$ac_cv_lib_Core_main" >&6; } | 
| 12748 | > | if test $ac_cv_lib_Core_main = yes; then | 
| 12749 | > | CGAL_LIBS="$CGAL_LIBS -lCore" | 
| 12750 |  | fi | 
| 12751 |  |  | 
| 12752 | + | fi | 
| 12753 |  | fi | 
| 12754 |  |  | 
| 12755 |  |  | 
| 12756 |  |  | 
| 12757 | < | { echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 | 
| 12758 | < | echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6; } | 
| 12759 | < | MPI_F90_LIB="" | 
| 12760 | < | if test -f "$MPI_LIB_DIR/libfmpich.a" ; then | 
| 12761 | < | MPI_F90_LIB="-lfmpich" | 
| 12762 | < | elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then | 
| 12763 | < | MPI_F90_LIB="-llamf77mpi" | 
| 12757 | > | { echo "$as_me:$LINENO: checking CGAL" >&5 | 
| 12758 | > | echo $ECHO_N "checking CGAL... $ECHO_C" >&6; } | 
| 12759 | > |  | 
| 12760 | > |  | 
| 12761 | > |  | 
| 12762 | > |  | 
| 12763 | > |  | 
| 12764 | > | if test "$acx_cgal_found" == yes; then | 
| 12765 | > | { echo "$as_me:$LINENO: result: yes" >&5 | 
| 12766 | > | echo "${ECHO_T}yes" >&6; } | 
| 12767 | > |  | 
| 12768 |  | else | 
| 12769 | < | MPI_F90_LIB="  " | 
| 12769 | > | { echo "$as_me:$LINENO: result: no" >&5 | 
| 12770 | > | echo "${ECHO_T}no" >&6; } | 
| 12771 | > |  | 
| 12772 |  | fi | 
| 12773 | < | { echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 | 
| 12774 | < | echo "${ECHO_T}found $MPI_F90_LIB" >&6; } | 
| 12773 | > | USE_CGAL=no | 
| 12774 | > | if test "$acx_cgal_found" == yes; then | 
| 12775 | > | USE_CGAL=yes | 
| 12776 | > |  | 
| 12777 | > | cat >>confdefs.h <<\_ACEOF | 
| 12778 | > | #define HAVE_CGAL 1 | 
| 12779 | > | _ACEOF | 
| 12780 |  |  | 
| 12781 |  |  | 
| 12782 | + |  | 
| 12783 | + |  | 
| 12784 | + |  | 
| 12785 |  | fi | 
| 12786 |  |  | 
| 12787 |  |  | 
| 12942 |  |  | 
| 12943 |  |  | 
| 12944 |  |  | 
| 12945 | < | ac_config_files="$ac_config_files make/Makefile src/utils/Makefile scripts/filepp" | 
| 12945 | > | ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/math/Makefile src/integrators/Makefile src/applications/atom2md/Makefile scripts/filepp" | 
| 12946 |  |  | 
| 12947 |  |  | 
| 12948 |  | cat >confcache <<\_ACEOF | 
| 13341 |  | # report actual input values of CONFIG_FILES etc. instead of their | 
| 13342 |  | # values after options handling. | 
| 13343 |  | ac_log=" | 
| 13344 | < | This file was extended by OOPSE $as_me 3.0, which was | 
| 13344 | > | This file was extended by OOPSE $as_me 4.0, which was | 
| 13345 |  | generated by GNU Autoconf 2.61.  Invocation command line was | 
| 13346 |  |  | 
| 13347 |  | CONFIG_FILES    = $CONFIG_FILES | 
| 13359 |  | # Files that config.status was made for. | 
| 13360 |  | config_files="$ac_config_files" | 
| 13361 |  | config_headers="$ac_config_headers" | 
| 15016 | – | config_links="$ac_config_links" | 
| 13362 |  |  | 
| 13363 |  | _ACEOF | 
| 13364 |  |  | 
| 13385 |  | Configuration headers: | 
| 13386 |  | $config_headers | 
| 13387 |  |  | 
| 15043 | – | Configuration links: | 
| 15044 | – | $config_links | 
| 15045 | – |  | 
| 13388 |  | Report bugs to <bug-autoconf@gnu.org>." | 
| 13389 |  |  | 
| 13390 |  | _ACEOF | 
| 13391 |  | cat >>$CONFIG_STATUS <<_ACEOF | 
| 13392 |  | ac_cs_version="\\ | 
| 13393 | < | OOPSE config.status 3.0 | 
| 13393 | > | OOPSE config.status 4.0 | 
| 13394 |  | configured by $0, generated by GNU Autoconf 2.61, | 
| 13395 |  | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 
| 13396 |  |  | 
| 13499 |  | do | 
| 13500 |  | case $ac_config_target in | 
| 13501 |  | "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; | 
| 15160 | – | "src/getopt.h") CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; | 
| 13502 |  | "make/Makefile") CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; | 
| 13503 |  | "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; | 
| 13504 | + | "src/math/Makefile") CONFIG_FILES="$CONFIG_FILES src/math/Makefile" ;; | 
| 13505 | + | "src/integrators/Makefile") CONFIG_FILES="$CONFIG_FILES src/integrators/Makefile" ;; | 
| 13506 | + | "src/applications/atom2md/Makefile") CONFIG_FILES="$CONFIG_FILES src/applications/atom2md/Makefile" ;; | 
| 13507 |  | "scripts/filepp") CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; | 
| 13508 |  |  | 
| 13509 |  | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
| 13520 |  | if $ac_need_defaults; then | 
| 13521 |  | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
| 13522 |  | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
| 15179 | – | test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links | 
| 13523 |  | fi | 
| 13524 |  |  | 
| 13525 |  | # Have a temporary directory for convenience.  Make it in the build tree | 
| 13614 |  | PROGNAME!$PROGNAME$ac_delim | 
| 13615 |  | debug!$debug$ac_delim | 
| 13616 |  | USE_SINGLE_PRECISION!$USE_SINGLE_PRECISION$ac_delim | 
| 13617 | + | ac_cc_set!$ac_cc_set$ac_delim | 
| 13618 | + | ac_cc_path!$ac_cc_path$ac_delim | 
| 13619 | + | ac_cxx_set!$ac_cxx_set$ac_delim | 
| 13620 | + | ac_cxx_path!$ac_cxx_path$ac_delim | 
| 13621 | + | ac_fc_set!$ac_fc_set$ac_delim | 
| 13622 | + | ac_fc_path!$ac_fc_path$ac_delim | 
| 13623 | + | acx_mpi_mpicc!$acx_mpi_mpicc$ac_delim | 
| 13624 | + | acx_mpi_mpicc_path!$acx_mpi_mpicc_path$ac_delim | 
| 13625 | + | acx_mpi_mpif90!$acx_mpi_mpif90$ac_delim | 
| 13626 | + | acx_mpi_mpif90_path!$acx_mpi_mpif90_path$ac_delim | 
| 13627 | + | acx_mpi_mpicxx!$acx_mpi_mpicxx$ac_delim | 
| 13628 | + | acx_mpi_mpicxx_path!$acx_mpi_mpicxx_path$ac_delim | 
| 13629 | + | MPI_CPPFLAGS!$MPI_CPPFLAGS$ac_delim | 
| 13630 | + | MPI_LIBS!$MPI_LIBS$ac_delim | 
| 13631 | + | MPI90_LIBS!$MPI90_LIBS$ac_delim | 
| 13632 | + | USE_MPI!$USE_MPI$ac_delim | 
| 13633 |  | CXX!$CXX$ac_delim | 
| 13634 |  | CXXFLAGS!$CXXFLAGS$ac_delim | 
| 13635 |  | LDFLAGS!$LDFLAGS$ac_delim | 
| 13663 |  | FC_FUNC!$FC_FUNC$ac_delim | 
| 13664 |  | FC_FUNC_!$FC_FUNC_$ac_delim | 
| 13665 |  | MOD!$MOD$ac_delim | 
| 15307 | – | F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim | 
| 15308 | – | MODDIRFLAG!$MODDIRFLAG$ac_delim | 
| 15309 | – | F90MODINCSPEC!$F90MODINCSPEC$ac_delim | 
| 15310 | – | F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim | 
| 15311 | – | ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim | 
| 15312 | – | ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim | 
| 15313 | – | ZLIB!$ZLIB$ac_delim | 
| 15314 | – | FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim | 
| 15315 | – | FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim | 
| 15316 | – | FFTW_LIBS!$FFTW_LIBS$ac_delim | 
| 15317 | – | LIBOBJS!$LIBOBJS$ac_delim | 
| 15318 | – | POW_LIB!$POW_LIB$ac_delim | 
| 15319 | – | CXXCPP!$CXXCPP$ac_delim | 
| 15320 | – | __func__!$__func__$ac_delim | 
| 15321 | – | MPI_LIB_DIR!$MPI_LIB_DIR$ac_delim | 
| 15322 | – | MPI_INC_DIR!$MPI_INC_DIR$ac_delim | 
| 13666 |  | _ACEOF | 
| 13667 |  |  | 
| 13668 |  | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 
| 13704 |  | ac_delim='%!_!# ' | 
| 13705 |  | for ac_last_try in false false false false false :; do | 
| 13706 |  | cat >conf$$subs.sed <<_ACEOF | 
| 13707 | < | MPI_F90_INC!$MPI_F90_INC$ac_delim | 
| 13708 | < | MPI_LIB!$MPI_LIB$ac_delim | 
| 13709 | < | MPI_F90_LIB!$MPI_F90_LIB$ac_delim | 
| 13710 | < | USE_MPI!$USE_MPI$ac_delim | 
| 13707 | > | F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim | 
| 13708 | > | MODDIRFLAG!$MODDIRFLAG$ac_delim | 
| 13709 | > | F90MODINCSPEC!$F90MODINCSPEC$ac_delim | 
| 13710 | > | F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim | 
| 13711 | > | ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim | 
| 13712 | > | ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim | 
| 13713 | > | ZLIB!$ZLIB$ac_delim | 
| 13714 | > | FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim | 
| 13715 | > | FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim | 
| 13716 | > | FFTW_LIBS!$FFTW_LIBS$ac_delim | 
| 13717 | > | QHULL_INC_DIR!$QHULL_INC_DIR$ac_delim | 
| 13718 | > | QHULL_LIB_DIR!$QHULL_LIB_DIR$ac_delim | 
| 13719 | > | QHULL!$QHULL$ac_delim | 
| 13720 | > | USE_QHULL!$USE_QHULL$ac_delim | 
| 13721 | > | CXXCPP!$CXXCPP$ac_delim | 
| 13722 | > | OPENBABEL_INC_DIR!$OPENBABEL_INC_DIR$ac_delim | 
| 13723 | > | OPENBABEL_LIB_DIR!$OPENBABEL_LIB_DIR$ac_delim | 
| 13724 | > | OPENBABEL_LIB!$OPENBABEL_LIB$ac_delim | 
| 13725 | > | USE_OPENBABEL!$USE_OPENBABEL$ac_delim | 
| 13726 | > | LIBOBJS!$LIBOBJS$ac_delim | 
| 13727 | > | POW_LIB!$POW_LIB$ac_delim | 
| 13728 | > | CGAL_MAKEFILE!$CGAL_MAKEFILE$ac_delim | 
| 13729 | > | CGAL_CXXFLAGS!$CGAL_CXXFLAGS$ac_delim | 
| 13730 | > | CGAL_CPPFLAGS!$CGAL_CPPFLAGS$ac_delim | 
| 13731 | > | CGAL_LDFLAGS!$CGAL_LDFLAGS$ac_delim | 
| 13732 | > | CGAL_LIBS!$CGAL_LIBS$ac_delim | 
| 13733 | > | USE_CGAL!$USE_CGAL$ac_delim | 
| 13734 |  | DOXYGEN!$DOXYGEN$ac_delim | 
| 13735 |  | DOT!$DOT$ac_delim | 
| 13736 |  | DOC!$DOC$ac_delim | 
| 13745 |  | LTLIBOBJS!$LTLIBOBJS$ac_delim | 
| 13746 |  | _ACEOF | 
| 13747 |  |  | 
| 13748 | < | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then | 
| 13748 | > | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then | 
| 13749 |  | break | 
| 13750 |  | elif $ac_last_try; then | 
| 13751 |  | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 
| 13802 |  | fi # test -n "$CONFIG_FILES" | 
| 13803 |  |  | 
| 13804 |  |  | 
| 13805 | < | for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS | 
| 13805 | > | for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS | 
| 13806 |  | do | 
| 13807 |  | case $ac_tag in | 
| 13808 |  | :[FHLC]) ac_mode=$ac_tag; continue;; | 
| 14140 |  | fi | 
| 14141 |  | rm -f "$tmp/out12" | 
| 14142 |  | ;; | 
| 15777 | – | :L) | 
| 15778 | – | # | 
| 15779 | – | # CONFIG_LINK | 
| 15780 | – | # | 
| 14143 |  |  | 
| 15782 | – | { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5 | 
| 15783 | – | echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;} | 
| 14144 |  |  | 
| 15785 | – | if test ! -r "$srcdir/$ac_source"; then | 
| 15786 | – | { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 | 
| 15787 | – | echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} | 
| 15788 | – | { (exit 1); exit 1; }; } | 
| 15789 | – | fi | 
| 15790 | – | rm -f "$ac_file" | 
| 15791 | – |  | 
| 15792 | – | # Try a relative symlink, then a hard link, then a copy. | 
| 15793 | – | case $srcdir in | 
| 15794 | – | [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; | 
| 15795 | – | *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;; | 
| 14145 |  | esac | 
| 15797 | – | ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || | 
| 15798 | – | ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null || | 
| 15799 | – | cp -p "$srcdir/$ac_source" "$ac_file" || | 
| 15800 | – | { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5 | 
| 15801 | – | echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;} | 
| 15802 | – | { (exit 1); exit 1; }; } | 
| 15803 | – | ;; | 
| 14146 |  |  | 
| 15805 | – | esac | 
| 14147 |  |  | 
| 15807 | – |  | 
| 14148 |  | case $ac_file$ac_mode in | 
| 14149 |  | "make/Makefile":F) chmod 0755 scripts/* ;; | 
| 14150 |  | "src/utils/Makefile":F) chmod 0755 scripts/* ;; | 
| 14151 | + | "src/math/Makefile":F) chmod 0755 scripts/* ;; | 
| 14152 | + | "src/integrators/Makefile":F) chmod 0755 scripts/* ;; | 
| 14153 | + | "src/applications/atom2md/Makefile":F) chmod 0755 scripts/* ;; | 
| 14154 |  | "scripts/filepp":F) chmod 0755 scripts/* ;; | 
| 14155 |  |  | 
| 14156 |  | esac |