ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/configure
(Generate patch)

Comparing trunk/OOPSE/configure (file contents):
Revision 790 by mmeineke, Mon Sep 29 21:16:11 2003 UTC vs.
Revision 827 by gezelter, Tue Oct 28 16:02:29 2003 UTC

# Line 655 | Line 655 | Optional Packages:
655    --with-mpi_inc=dir  give the path for MPI-include-files MPI_DIR/include
656    --with-sprng_prefix=PREFIX
657                            Prefix where SPRNG is installed
658 <  --with-sprng_lib_prefix=PREFIX  SPRNG library directory
659 <  --with-sprng_include_prefix=PREFIX
658 >  --with-sprng-libdir=PREFIX  SPRNG library directory
659 >  --with-sprng-include=PREFIX
660                            SPRNG include directory
661    --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
662 +  --with-mpi_f90_mods=<dir>
663 +                          Location where MPI f90 modules are installed
664  
665   Some influential environment variables:
666    CC          C compiler command
# Line 860 | Line 862 | for ac_site_file in $CONFIG_SITE; do
862   fi
863   for ac_site_file in $CONFIG_SITE; do
864    if test -r "$ac_site_file"; then
865 <    { echo "$as_me:863: loading site script $ac_site_file" >&5
865 >    { echo "$as_me:865: loading site script $ac_site_file" >&5
866   echo "$as_me: loading site script $ac_site_file" >&6;}
867      cat "$ac_site_file" >&5
868      . "$ac_site_file"
# Line 871 | Line 873 | if test -r "$cache_file"; then
873    # Some versions of bash will fail to source /dev/null (special
874    # files actually), so we avoid doing that.
875    if test -f "$cache_file"; then
876 <    { echo "$as_me:874: loading cache $cache_file" >&5
876 >    { echo "$as_me:876: loading cache $cache_file" >&5
877   echo "$as_me: loading cache $cache_file" >&6;}
878      case $cache_file in
879        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 879 | Line 881 | else
881      esac
882    fi
883   else
884 <  { echo "$as_me:882: creating cache $cache_file" >&5
884 >  { echo "$as_me:884: creating cache $cache_file" >&5
885   echo "$as_me: creating cache $cache_file" >&6;}
886    >$cache_file
887   fi
# Line 895 | Line 897 | for ac_var in `(set) 2>&1 |
897    eval ac_new_val="\$ac_env_${ac_var}_value"
898    case $ac_old_set,$ac_new_set in
899      set,)
900 <      { echo "$as_me:898: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
900 >      { echo "$as_me:900: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
901   echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
902        ac_suggest_removing_cache=: ;;
903      ,set)
904 <      { echo "$as_me:902: WARNING: \`$ac_var' was not set in the previous run" >&5
904 >      { echo "$as_me:904: WARNING: \`$ac_var' was not set in the previous run" >&5
905   echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
906        ac_suggest_removing_cache=: ;;
907      ,);;
908      *)
909        if test "x$ac_old_val" != "x$ac_new_val"; then
910 <        { echo "$as_me:908: WARNING: \`$ac_var' has changed since the previous run:" >&5
910 >        { echo "$as_me:910: WARNING: \`$ac_var' has changed since the previous run:" >&5
911   echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
912 <        { echo "$as_me:910: WARNING:   former value:  $ac_old_val" >&5
912 >        { echo "$as_me:912: WARNING:   former value:  $ac_old_val" >&5
913   echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
914 <        { echo "$as_me:912: WARNING:   current value: $ac_new_val" >&5
914 >        { echo "$as_me:914: WARNING:   current value: $ac_new_val" >&5
915   echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
916          ac_suggest_removing_cache=:
917        fi;;
918    esac
919   done
920   if $ac_suggest_removing_cache; then
921 <  { echo "$as_me:919: WARNING: changes in the environment can compromise the build" >&5
921 >  { echo "$as_me:921: WARNING: changes in the environment can compromise the build" >&5
922   echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
923 <  { echo "$as_me:921: WARNING: consider removing $cache_file and starting over" >&5
923 >  { echo "$as_me:923: WARNING: consider removing $cache_file and starting over" >&5
924   echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
925   fi
926  
# Line 937 | Line 939 | if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&
939   echo "#! $SHELL" >conftest.sh
940   echo  "exit 0"   >>conftest.sh
941   chmod +x conftest.sh
942 < if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&5
942 > if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5
943    (PATH=".;."; conftest.sh) 2>&5
944    ac_status=$?
945 <  echo "$as_me:943: \$? = $ac_status" >&5
945 >  echo "$as_me:945: \$? = $ac_status" >&5
946    (exit $ac_status); }; then
947    ac_path_separator=';'
948   else
# Line 966 | Line 968 | if test -z "$ac_aux_dir"; then
968    fi
969   done
970   if test -z "$ac_aux_dir"; then
971 <  { { echo "$as_me:969: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
971 >  { { echo "$as_me:971: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
972   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
973     { (exit 1); exit 1; }; }
974   fi
# Line 1374 | Line 1376 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1376   # argument is not supplied, it defaults to NAME.
1377   # AC_F95_FUNC
1378  
1379 < # what should I build?
1379 > # set program name
1380 > PROGNAME="oopse"
1381  
1382 + # there are two ways to do debugging.  One with the --enable-debug flag
1383 + # and one using the DEBUG environment variable
1384 +
1385 + debug=0
1386   # Check whether --enable-debug or --disable-debug was given.
1387   if test "${enable_debug+set}" = set; then
1388    enableval="$enable_debug"
1389 <  DEBUG=1
1389 >  debug=1
1390   fi;
1384
1385 # set program name
1386 PROGNAME="oopse"
1387
1391   if test "${DEBUG}"; then
1392  
1393   cat >>confdefs.h <<\EOF
1394 < #define DEBUG 1
1394 > #define debug 1
1395   EOF
1396  
1397    msg="$msg, debug mode"
# Line 1397 | Line 1400 | $ac_config_sub sun4 >/dev/null 2>&1 ||
1400   # who am i
1401   # Make sure we can run config.sub.
1402   $ac_config_sub sun4 >/dev/null 2>&1 ||
1403 <  { { echo "$as_me:1400: error: cannot run $ac_config_sub" >&5
1403 >  { { echo "$as_me:1403: error: cannot run $ac_config_sub" >&5
1404   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1405     { (exit 1); exit 1; }; }
1406  
1407 < echo "$as_me:1404: checking build system type" >&5
1407 > echo "$as_me:1407: checking build system type" >&5
1408   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1409   if test "${ac_cv_build+set}" = set; then
1410    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1410 | Line 1413 | test -z "$ac_cv_build_alias" &&
1413   test -z "$ac_cv_build_alias" &&
1414    ac_cv_build_alias=`$ac_config_guess`
1415   test -z "$ac_cv_build_alias" &&
1416 <  { { echo "$as_me:1413: error: cannot guess build type; you must specify one" >&5
1416 >  { { echo "$as_me:1416: error: cannot guess build type; you must specify one" >&5
1417   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1418     { (exit 1); exit 1; }; }
1419   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1420 <  { { echo "$as_me:1417: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1420 >  { { echo "$as_me:1420: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1421   echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1422     { (exit 1); exit 1; }; }
1423  
1424   fi
1425 < echo "$as_me:1422: result: $ac_cv_build" >&5
1425 > echo "$as_me:1425: result: $ac_cv_build" >&5
1426   echo "${ECHO_T}$ac_cv_build" >&6
1427   build=$ac_cv_build
1428   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1429   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1430   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1431  
1432 < echo "$as_me:1429: checking host system type" >&5
1432 > echo "$as_me:1432: checking host system type" >&5
1433   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1434   if test "${ac_cv_host+set}" = set; then
1435    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1435 | Line 1438 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1438   test -z "$ac_cv_host_alias" &&
1439    ac_cv_host_alias=$ac_cv_build_alias
1440   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1441 <  { { echo "$as_me:1438: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1441 >  { { echo "$as_me:1441: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1442   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1443     { (exit 1); exit 1; }; }
1444  
1445   fi
1446 < echo "$as_me:1443: result: $ac_cv_host" >&5
1446 > echo "$as_me:1446: result: $ac_cv_host" >&5
1447   echo "${ECHO_T}$ac_cv_host" >&6
1448   host=$ac_cv_host
1449   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
# Line 1457 | Line 1460 | echo "$as_me:1460: checking for $ac_word" >&5
1460    do
1461      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1462   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1463 < echo "$as_me:1460: checking for $ac_word" >&5
1463 > echo "$as_me:1463: checking for $ac_word" >&5
1464   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465   if test "${ac_cv_prog_CC+set}" = set; then
1466    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1472 | Line 1475 | echo "$as_me:1475: found $ac_dir/$ac_word" >&5
1475    test -z "$ac_dir" && ac_dir=.
1476    $as_executable_p "$ac_dir/$ac_word" || continue
1477   ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1478 < echo "$as_me:1475: found $ac_dir/$ac_word" >&5
1478 > echo "$as_me:1478: found $ac_dir/$ac_word" >&5
1479   break
1480   done
1481  
# Line 1480 | Line 1483 | if test -n "$CC"; then
1483   fi
1484   CC=$ac_cv_prog_CC
1485   if test -n "$CC"; then
1486 <  echo "$as_me:1483: result: $CC" >&5
1486 >  echo "$as_me:1486: result: $CC" >&5
1487   echo "${ECHO_T}$CC" >&6
1488   else
1489 <  echo "$as_me:1486: result: no" >&5
1489 >  echo "$as_me:1489: result: no" >&5
1490   echo "${ECHO_T}no" >&6
1491   fi
1492  
# Line 1496 | Line 1499 | echo "$as_me:1499: checking for $ac_word" >&5
1499   do
1500    # Extract the first word of "$ac_prog", so it can be a program name with args.
1501   set dummy $ac_prog; ac_word=$2
1502 < echo "$as_me:1499: checking for $ac_word" >&5
1502 > echo "$as_me:1502: checking for $ac_word" >&5
1503   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1504   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1505    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1511 | Line 1514 | echo "$as_me:1514: found $ac_dir/$ac_word" >&5
1514    test -z "$ac_dir" && ac_dir=.
1515    $as_executable_p "$ac_dir/$ac_word" || continue
1516   ac_cv_prog_ac_ct_CC="$ac_prog"
1517 < echo "$as_me:1514: found $ac_dir/$ac_word" >&5
1517 > echo "$as_me:1517: found $ac_dir/$ac_word" >&5
1518   break
1519   done
1520  
# Line 1519 | Line 1522 | if test -n "$ac_ct_CC"; then
1522   fi
1523   ac_ct_CC=$ac_cv_prog_ac_ct_CC
1524   if test -n "$ac_ct_CC"; then
1525 <  echo "$as_me:1522: result: $ac_ct_CC" >&5
1525 >  echo "$as_me:1525: result: $ac_ct_CC" >&5
1526   echo "${ECHO_T}$ac_ct_CC" >&6
1527   else
1528 <  echo "$as_me:1525: result: no" >&5
1528 >  echo "$as_me:1528: result: no" >&5
1529   echo "${ECHO_T}no" >&6
1530   fi
1531  
# Line 1532 | Line 1535 | test -z "$CC" && { { echo "$as_me:1535: error: no acce
1535    CC=$ac_ct_CC
1536   fi
1537  
1538 < test -z "$CC" && { { echo "$as_me:1535: error: no acceptable cc found in \$PATH" >&5
1538 > test -z "$CC" && { { echo "$as_me:1538: error: no acceptable cc found in \$PATH" >&5
1539   echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1540     { (exit 1); exit 1; }; }
1541  
1542   cat >conftest.$ac_ext <<_ACEOF
1543 < #line 1540 "configure"
1543 > #line 1543 "configure"
1544   #include "confdefs.h"
1545  
1546   int
# Line 1553 | Line 1556 | echo "$as_me:1556: checking for C compiler default out
1556   # Try to create an executable without -o first, disregard a.out.
1557   # It will help us diagnose broken compiler, and finding out an intuition
1558   # of exeext.
1559 < echo "$as_me:1556: checking for C compiler default output" >&5
1559 > echo "$as_me:1559: checking for C compiler default output" >&5
1560   echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1561   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1562 < if { (eval echo "$as_me:1559: \"$ac_link_default\"") >&5
1562 > if { (eval echo "$as_me:1562: \"$ac_link_default\"") >&5
1563    (eval $ac_link_default) 2>&5
1564    ac_status=$?
1565 <  echo "$as_me:1562: \$? = $ac_status" >&5
1565 >  echo "$as_me:1565: \$? = $ac_status" >&5
1566    (exit $ac_status); }; then
1567    for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1568    case $ac_file in
# Line 1576 | Line 1579 | cat conftest.$ac_ext >&5
1579   else
1580    echo "$as_me: failed program was:" >&5
1581   cat conftest.$ac_ext >&5
1582 < { { echo "$as_me:1579: error: C compiler cannot create executables" >&5
1582 > { { echo "$as_me:1582: error: C compiler cannot create executables" >&5
1583   echo "$as_me: error: C compiler cannot create executables" >&2;}
1584     { (exit 77); exit 77; }; }
1585   fi
1586  
1587   ac_exeext=$ac_cv_exeext
1588 < echo "$as_me:1585: result: $ac_file" >&5
1588 > echo "$as_me:1588: result: $ac_file" >&5
1589   echo "${ECHO_T}$ac_file" >&6
1590  
1591   # Check the compiler produces executables we can run.  If not, either
1592   # the compiler is broken, or we cross compile.
1593 < echo "$as_me:1590: checking whether the C compiler works" >&5
1593 > echo "$as_me:1593: checking whether the C compiler works" >&5
1594   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1595   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1596   # If not cross compiling, check that we can run a simple program.
1597   if test "$cross_compiling" != yes; then
1598    if { ac_try='./$ac_file'
1599 <  { (eval echo "$as_me:1596: \"$ac_try\"") >&5
1599 >  { (eval echo "$as_me:1599: \"$ac_try\"") >&5
1600    (eval $ac_try) 2>&5
1601    ac_status=$?
1602 <  echo "$as_me:1599: \$? = $ac_status" >&5
1602 >  echo "$as_me:1602: \$? = $ac_status" >&5
1603    (exit $ac_status); }; }; then
1604      cross_compiling=no
1605    else
1606      if test "$cross_compiling" = maybe; then
1607          cross_compiling=yes
1608      else
1609 <        { { echo "$as_me:1606: error: cannot run C compiled programs.
1609 >        { { echo "$as_me:1609: error: cannot run C compiled programs.
1610   If you meant to cross compile, use \`--host'." >&5
1611   echo "$as_me: error: cannot run C compiled programs.
1612   If you meant to cross compile, use \`--host'." >&2;}
# Line 1611 | Line 1614 | echo "$as_me:1614: result: yes" >&5
1614      fi
1615    fi
1616   fi
1617 < echo "$as_me:1614: result: yes" >&5
1617 > echo "$as_me:1617: result: yes" >&5
1618   echo "${ECHO_T}yes" >&6
1619  
1620   rm -f a.out a.exe conftest$ac_cv_exeext
1621   ac_clean_files=$ac_clean_files_save
1622   # Check the compiler produces executables we can run.  If not, either
1623   # the compiler is broken, or we cross compile.
1624 < echo "$as_me:1621: checking whether we are cross compiling" >&5
1624 > echo "$as_me:1624: checking whether we are cross compiling" >&5
1625   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1626 < echo "$as_me:1623: result: $cross_compiling" >&5
1626 > echo "$as_me:1626: result: $cross_compiling" >&5
1627   echo "${ECHO_T}$cross_compiling" >&6
1628  
1629 < echo "$as_me:1626: checking for executable suffix" >&5
1629 > echo "$as_me:1629: checking for executable suffix" >&5
1630   echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1631 < if { (eval echo "$as_me:1628: \"$ac_link\"") >&5
1631 > if { (eval echo "$as_me:1631: \"$ac_link\"") >&5
1632    (eval $ac_link) 2>&5
1633    ac_status=$?
1634 <  echo "$as_me:1631: \$? = $ac_status" >&5
1634 >  echo "$as_me:1634: \$? = $ac_status" >&5
1635    (exit $ac_status); }; then
1636    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1637   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 1644 | Line 1647 | else
1647    esac
1648   done
1649   else
1650 <  { { echo "$as_me:1647: error: cannot compute EXEEXT: cannot compile and link" >&5
1650 >  { { echo "$as_me:1650: error: cannot compute EXEEXT: cannot compile and link" >&5
1651   echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1652     { (exit 1); exit 1; }; }
1653   fi
1654  
1655   rm -f conftest$ac_cv_exeext
1656 < echo "$as_me:1653: result: $ac_cv_exeext" >&5
1656 > echo "$as_me:1656: result: $ac_cv_exeext" >&5
1657   echo "${ECHO_T}$ac_cv_exeext" >&6
1658  
1659   rm -f conftest.$ac_ext
1660   EXEEXT=$ac_cv_exeext
1661   ac_exeext=$EXEEXT
1662 < echo "$as_me:1659: checking for object suffix" >&5
1662 > echo "$as_me:1662: checking for object suffix" >&5
1663   echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1664   if test "${ac_cv_objext+set}" = set; then
1665    echo $ECHO_N "(cached) $ECHO_C" >&6
1666   else
1667    cat >conftest.$ac_ext <<_ACEOF
1668 < #line 1665 "configure"
1668 > #line 1668 "configure"
1669   #include "confdefs.h"
1670  
1671   int
# Line 1674 | Line 1677 | if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5
1677   }
1678   _ACEOF
1679   rm -f conftest.o conftest.obj
1680 < if { (eval echo "$as_me:1677: \"$ac_compile\"") >&5
1680 > if { (eval echo "$as_me:1680: \"$ac_compile\"") >&5
1681    (eval $ac_compile) 2>&5
1682    ac_status=$?
1683 <  echo "$as_me:1680: \$? = $ac_status" >&5
1683 >  echo "$as_me:1683: \$? = $ac_status" >&5
1684    (exit $ac_status); }; then
1685    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1686    case $ac_file in
# Line 1689 | Line 1692 | cat conftest.$ac_ext >&5
1692   else
1693    echo "$as_me: failed program was:" >&5
1694   cat conftest.$ac_ext >&5
1695 < { { echo "$as_me:1692: error: cannot compute OBJEXT: cannot compile" >&5
1695 > { { echo "$as_me:1695: error: cannot compute OBJEXT: cannot compile" >&5
1696   echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1697     { (exit 1); exit 1; }; }
1698   fi
1699  
1700   rm -f conftest.$ac_cv_objext conftest.$ac_ext
1701   fi
1702 < echo "$as_me:1699: result: $ac_cv_objext" >&5
1702 > echo "$as_me:1702: result: $ac_cv_objext" >&5
1703   echo "${ECHO_T}$ac_cv_objext" >&6
1704   OBJEXT=$ac_cv_objext
1705   ac_objext=$OBJEXT
1706 < echo "$as_me:1703: checking whether we are using the GNU C compiler" >&5
1706 > echo "$as_me:1706: checking whether we are using the GNU C compiler" >&5
1707   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1708   if test "${ac_cv_c_compiler_gnu+set}" = set; then
1709    echo $ECHO_N "(cached) $ECHO_C" >&6
1710   else
1711    cat >conftest.$ac_ext <<_ACEOF
1712 < #line 1709 "configure"
1712 > #line 1712 "configure"
1713   #include "confdefs.h"
1714  
1715   int
# Line 1721 | Line 1724 | if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
1724   }
1725   _ACEOF
1726   rm -f conftest.$ac_objext
1727 < if { (eval echo "$as_me:1724: \"$ac_compile\"") >&5
1727 > if { (eval echo "$as_me:1727: \"$ac_compile\"") >&5
1728    (eval $ac_compile) 2>&5
1729    ac_status=$?
1730 <  echo "$as_me:1727: \$? = $ac_status" >&5
1730 >  echo "$as_me:1730: \$? = $ac_status" >&5
1731    (exit $ac_status); } &&
1732           { ac_try='test -s conftest.$ac_objext'
1733 <  { (eval echo "$as_me:1730: \"$ac_try\"") >&5
1733 >  { (eval echo "$as_me:1733: \"$ac_try\"") >&5
1734    (eval $ac_try) 2>&5
1735    ac_status=$?
1736 <  echo "$as_me:1733: \$? = $ac_status" >&5
1736 >  echo "$as_me:1736: \$? = $ac_status" >&5
1737    (exit $ac_status); }; }; then
1738    ac_compiler_gnu=yes
1739   else
# Line 1742 | Line 1745 | echo "$as_me:1745: result: $ac_cv_c_compiler_gnu" >&5
1745   ac_cv_c_compiler_gnu=$ac_compiler_gnu
1746  
1747   fi
1748 < echo "$as_me:1745: result: $ac_cv_c_compiler_gnu" >&5
1748 > echo "$as_me:1748: result: $ac_cv_c_compiler_gnu" >&5
1749   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1750   GCC=`test $ac_compiler_gnu = yes && echo yes`
1751   ac_test_CFLAGS=${CFLAGS+set}
1752   ac_save_CFLAGS=$CFLAGS
1753   CFLAGS="-g"
1754 < echo "$as_me:1751: checking whether $CC accepts -g" >&5
1754 > echo "$as_me:1754: checking whether $CC accepts -g" >&5
1755   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1756   if test "${ac_cv_prog_cc_g+set}" = set; then
1757    echo $ECHO_N "(cached) $ECHO_C" >&6
1758   else
1759    cat >conftest.$ac_ext <<_ACEOF
1760 < #line 1757 "configure"
1760 > #line 1760 "configure"
1761   #include "confdefs.h"
1762  
1763   int
# Line 1766 | Line 1769 | if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
1769   }
1770   _ACEOF
1771   rm -f conftest.$ac_objext
1772 < if { (eval echo "$as_me:1769: \"$ac_compile\"") >&5
1772 > if { (eval echo "$as_me:1772: \"$ac_compile\"") >&5
1773    (eval $ac_compile) 2>&5
1774    ac_status=$?
1775 <  echo "$as_me:1772: \$? = $ac_status" >&5
1775 >  echo "$as_me:1775: \$? = $ac_status" >&5
1776    (exit $ac_status); } &&
1777           { ac_try='test -s conftest.$ac_objext'
1778 <  { (eval echo "$as_me:1775: \"$ac_try\"") >&5
1778 >  { (eval echo "$as_me:1778: \"$ac_try\"") >&5
1779    (eval $ac_try) 2>&5
1780    ac_status=$?
1781 <  echo "$as_me:1778: \$? = $ac_status" >&5
1781 >  echo "$as_me:1781: \$? = $ac_status" >&5
1782    (exit $ac_status); }; }; then
1783    ac_cv_prog_cc_g=yes
1784   else
# Line 1785 | Line 1788 | echo "$as_me:1788: result: $ac_cv_prog_cc_g" >&5
1788   fi
1789   rm -f conftest.$ac_objext conftest.$ac_ext
1790   fi
1791 < echo "$as_me:1788: result: $ac_cv_prog_cc_g" >&5
1791 > echo "$as_me:1791: result: $ac_cv_prog_cc_g" >&5
1792   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1793   if test "$ac_test_CFLAGS" = set; then
1794    CFLAGS=$ac_save_CFLAGS
# Line 1812 | Line 1815 | if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5
1815   #endif
1816   _ACEOF
1817   rm -f conftest.$ac_objext
1818 < if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5
1818 > if { (eval echo "$as_me:1818: \"$ac_compile\"") >&5
1819    (eval $ac_compile) 2>&5
1820    ac_status=$?
1821 <  echo "$as_me:1818: \$? = $ac_status" >&5
1821 >  echo "$as_me:1821: \$? = $ac_status" >&5
1822    (exit $ac_status); } &&
1823           { ac_try='test -s conftest.$ac_objext'
1824 <  { (eval echo "$as_me:1821: \"$ac_try\"") >&5
1824 >  { (eval echo "$as_me:1824: \"$ac_try\"") >&5
1825    (eval $ac_try) 2>&5
1826    ac_status=$?
1827 <  echo "$as_me:1824: \$? = $ac_status" >&5
1827 >  echo "$as_me:1827: \$? = $ac_status" >&5
1828    (exit $ac_status); }; }; then
1829    for ac_declaration in \
1830     ''\
# Line 1833 | Line 1836 | do
1836     'void exit (int);'
1837   do
1838    cat >conftest.$ac_ext <<_ACEOF
1839 < #line 1836 "configure"
1839 > #line 1839 "configure"
1840   #include "confdefs.h"
1841   #include <stdlib.h>
1842   $ac_declaration
# Line 1846 | Line 1849 | if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5
1849   }
1850   _ACEOF
1851   rm -f conftest.$ac_objext
1852 < if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5
1852 > if { (eval echo "$as_me:1852: \"$ac_compile\"") >&5
1853    (eval $ac_compile) 2>&5
1854    ac_status=$?
1855 <  echo "$as_me:1852: \$? = $ac_status" >&5
1855 >  echo "$as_me:1855: \$? = $ac_status" >&5
1856    (exit $ac_status); } &&
1857           { ac_try='test -s conftest.$ac_objext'
1858 <  { (eval echo "$as_me:1855: \"$ac_try\"") >&5
1858 >  { (eval echo "$as_me:1858: \"$ac_try\"") >&5
1859    (eval $ac_try) 2>&5
1860    ac_status=$?
1861 <  echo "$as_me:1858: \$? = $ac_status" >&5
1861 >  echo "$as_me:1861: \$? = $ac_status" >&5
1862    (exit $ac_status); }; }; then
1863    :
1864   else
# Line 1865 | Line 1868 | rm -f conftest.$ac_objext conftest.$ac_ext
1868   fi
1869   rm -f conftest.$ac_objext conftest.$ac_ext
1870    cat >conftest.$ac_ext <<_ACEOF
1871 < #line 1868 "configure"
1871 > #line 1871 "configure"
1872   #include "confdefs.h"
1873   $ac_declaration
1874   int
# Line 1877 | Line 1880 | if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5
1880   }
1881   _ACEOF
1882   rm -f conftest.$ac_objext
1883 < if { (eval echo "$as_me:1880: \"$ac_compile\"") >&5
1883 > if { (eval echo "$as_me:1883: \"$ac_compile\"") >&5
1884    (eval $ac_compile) 2>&5
1885    ac_status=$?
1886 <  echo "$as_me:1883: \$? = $ac_status" >&5
1886 >  echo "$as_me:1886: \$? = $ac_status" >&5
1887    (exit $ac_status); } &&
1888           { ac_try='test -s conftest.$ac_objext'
1889 <  { (eval echo "$as_me:1886: \"$ac_try\"") >&5
1889 >  { (eval echo "$as_me:1889: \"$ac_try\"") >&5
1890    (eval $ac_try) 2>&5
1891    ac_status=$?
1892 <  echo "$as_me:1889: \$? = $ac_status" >&5
1892 >  echo "$as_me:1892: \$? = $ac_status" >&5
1893    (exit $ac_status); }; }; then
1894    break
1895   else
# Line 1898 | Line 1901 | echo '#endif'             >>confdefs.h
1901   echo '#ifdef __cplusplus' >>confdefs.h
1902   echo $ac_declaration      >>confdefs.h
1903   echo '#endif'             >>confdefs.h
1904 +
1905 + else
1906 +  echo "$as_me: failed program was:" >&5
1907 + cat conftest.$ac_ext >&5
1908 + fi
1909 + rm -f conftest.$ac_objext conftest.$ac_ext
1910 + ac_ext=c
1911 + ac_cpp='$CPP $CPPFLAGS'
1912 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1913 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1914 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
1915 +
1916 + ac_ext=cc
1917 + ac_cpp='$CXXCPP $CPPFLAGS'
1918 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1921 + if test -n "$ac_tool_prefix"; then
1922 +  for ac_prog in $CCC icpc icc xlC CC g++ c++
1923 +  do
1924 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1925 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1926 + echo "$as_me:1926: checking for $ac_word" >&5
1927 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928 + if test "${ac_cv_prog_CXX+set}" = set; then
1929 +  echo $ECHO_N "(cached) $ECHO_C" >&6
1930 + else
1931 +  if test -n "$CXX"; then
1932 +  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1933 + else
1934 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
1935 + ac_dummy="$PATH"
1936 + for ac_dir in $ac_dummy; do
1937 +  IFS=$ac_save_IFS
1938 +  test -z "$ac_dir" && ac_dir=.
1939 +  $as_executable_p "$ac_dir/$ac_word" || continue
1940 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1941 + echo "$as_me:1941: found $ac_dir/$ac_word" >&5
1942 + break
1943 + done
1944 +
1945 + fi
1946 + fi
1947 + CXX=$ac_cv_prog_CXX
1948 + if test -n "$CXX"; then
1949 +  echo "$as_me:1949: result: $CXX" >&5
1950 + echo "${ECHO_T}$CXX" >&6
1951 + else
1952 +  echo "$as_me:1952: result: no" >&5
1953 + echo "${ECHO_T}no" >&6
1954 + fi
1955 +
1956 +    test -n "$CXX" && break
1957 +  done
1958 + fi
1959 + if test -z "$CXX"; then
1960 +  ac_ct_CXX=$CXX
1961 +  for ac_prog in $CCC icpc icc xlC CC g++ c++
1962 + do
1963 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
1964 + set dummy $ac_prog; ac_word=$2
1965 + echo "$as_me:1965: checking for $ac_word" >&5
1966 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 + if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1968 +  echo $ECHO_N "(cached) $ECHO_C" >&6
1969 + else
1970 +  if test -n "$ac_ct_CXX"; then
1971 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1972 + else
1973 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
1974 + ac_dummy="$PATH"
1975 + for ac_dir in $ac_dummy; do
1976 +  IFS=$ac_save_IFS
1977 +  test -z "$ac_dir" && ac_dir=.
1978 +  $as_executable_p "$ac_dir/$ac_word" || continue
1979 + ac_cv_prog_ac_ct_CXX="$ac_prog"
1980 + echo "$as_me:1980: found $ac_dir/$ac_word" >&5
1981 + break
1982 + done
1983 +
1984 + fi
1985 + fi
1986 + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1987 + if test -n "$ac_ct_CXX"; then
1988 +  echo "$as_me:1988: result: $ac_ct_CXX" >&5
1989 + echo "${ECHO_T}$ac_ct_CXX" >&6
1990 + else
1991 +  echo "$as_me:1991: result: no" >&5
1992 + echo "${ECHO_T}no" >&6
1993 + fi
1994 +
1995 +  test -n "$ac_ct_CXX" && break
1996 + done
1997 + test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1998 +
1999 +  CXX=$ac_ct_CXX
2000 + fi
2001 +
2002 + echo "$as_me:2002: checking whether we are using the GNU C++ compiler" >&5
2003 + echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2004 + if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2005 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2006 + else
2007 +  cat >conftest.$ac_ext <<_ACEOF
2008 + #line 2008 "configure"
2009 + #include "confdefs.h"
2010  
2011 + int
2012 + main ()
2013 + {
2014 + #ifndef __GNUC__
2015 +       choke me
2016 + #endif
2017 +
2018 +  ;
2019 +  return 0;
2020 + }
2021 + _ACEOF
2022 + rm -f conftest.$ac_objext
2023 + if { (eval echo "$as_me:2023: \"$ac_compile\"") >&5
2024 +  (eval $ac_compile) 2>&5
2025 +  ac_status=$?
2026 +  echo "$as_me:2026: \$? = $ac_status" >&5
2027 +  (exit $ac_status); } &&
2028 +         { ac_try='test -s conftest.$ac_objext'
2029 +  { (eval echo "$as_me:2029: \"$ac_try\"") >&5
2030 +  (eval $ac_try) 2>&5
2031 +  ac_status=$?
2032 +  echo "$as_me:2032: \$? = $ac_status" >&5
2033 +  (exit $ac_status); }; }; then
2034 +  ac_compiler_gnu=yes
2035   else
2036    echo "$as_me: failed program was:" >&5
2037   cat conftest.$ac_ext >&5
2038 + ac_compiler_gnu=no
2039   fi
2040   rm -f conftest.$ac_objext conftest.$ac_ext
2041 + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2042 +
2043 + fi
2044 + echo "$as_me:2044: result: $ac_cv_cxx_compiler_gnu" >&5
2045 + echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2046 + GXX=`test $ac_compiler_gnu = yes && echo yes`
2047 + ac_test_CXXFLAGS=${CXXFLAGS+set}
2048 + ac_save_CXXFLAGS=$CXXFLAGS
2049 + CXXFLAGS="-g"
2050 + echo "$as_me:2050: checking whether $CXX accepts -g" >&5
2051 + echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2052 + if test "${ac_cv_prog_cxx_g+set}" = set; then
2053 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2054 + else
2055 +  cat >conftest.$ac_ext <<_ACEOF
2056 + #line 2056 "configure"
2057 + #include "confdefs.h"
2058 +
2059 + int
2060 + main ()
2061 + {
2062 +
2063 +  ;
2064 +  return 0;
2065 + }
2066 + _ACEOF
2067 + rm -f conftest.$ac_objext
2068 + if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5
2069 +  (eval $ac_compile) 2>&5
2070 +  ac_status=$?
2071 +  echo "$as_me:2071: \$? = $ac_status" >&5
2072 +  (exit $ac_status); } &&
2073 +         { ac_try='test -s conftest.$ac_objext'
2074 +  { (eval echo "$as_me:2074: \"$ac_try\"") >&5
2075 +  (eval $ac_try) 2>&5
2076 +  ac_status=$?
2077 +  echo "$as_me:2077: \$? = $ac_status" >&5
2078 +  (exit $ac_status); }; }; then
2079 +  ac_cv_prog_cxx_g=yes
2080 + else
2081 +  echo "$as_me: failed program was:" >&5
2082 + cat conftest.$ac_ext >&5
2083 + ac_cv_prog_cxx_g=no
2084 + fi
2085 + rm -f conftest.$ac_objext conftest.$ac_ext
2086 + fi
2087 + echo "$as_me:2087: result: $ac_cv_prog_cxx_g" >&5
2088 + echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2089 + if test "$ac_test_CXXFLAGS" = set; then
2090 +  CXXFLAGS=$ac_save_CXXFLAGS
2091 + elif test $ac_cv_prog_cxx_g = yes; then
2092 +  if test "$GXX" = yes; then
2093 +    CXXFLAGS="-g -O2"
2094 +  else
2095 +    CXXFLAGS="-g"
2096 +  fi
2097 + else
2098 +  if test "$GXX" = yes; then
2099 +    CXXFLAGS="-O2"
2100 +  else
2101 +    CXXFLAGS=
2102 +  fi
2103 + fi
2104 + for ac_declaration in \
2105 +   ''\
2106 +   '#include <stdlib.h>' \
2107 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
2108 +   'extern "C" void std::exit (int); using std::exit;' \
2109 +   'extern "C" void exit (int) throw ();' \
2110 +   'extern "C" void exit (int);' \
2111 +   'void exit (int);'
2112 + do
2113 +  cat >conftest.$ac_ext <<_ACEOF
2114 + #line 2114 "configure"
2115 + #include "confdefs.h"
2116 + #include <stdlib.h>
2117 + $ac_declaration
2118 + int
2119 + main ()
2120 + {
2121 + exit (42);
2122 +  ;
2123 +  return 0;
2124 + }
2125 + _ACEOF
2126 + rm -f conftest.$ac_objext
2127 + if { (eval echo "$as_me:2127: \"$ac_compile\"") >&5
2128 +  (eval $ac_compile) 2>&5
2129 +  ac_status=$?
2130 +  echo "$as_me:2130: \$? = $ac_status" >&5
2131 +  (exit $ac_status); } &&
2132 +         { ac_try='test -s conftest.$ac_objext'
2133 +  { (eval echo "$as_me:2133: \"$ac_try\"") >&5
2134 +  (eval $ac_try) 2>&5
2135 +  ac_status=$?
2136 +  echo "$as_me:2136: \$? = $ac_status" >&5
2137 +  (exit $ac_status); }; }; then
2138 +  :
2139 + else
2140 +  echo "$as_me: failed program was:" >&5
2141 + cat conftest.$ac_ext >&5
2142 + continue
2143 + fi
2144 + rm -f conftest.$ac_objext conftest.$ac_ext
2145 +  cat >conftest.$ac_ext <<_ACEOF
2146 + #line 2146 "configure"
2147 + #include "confdefs.h"
2148 + $ac_declaration
2149 + int
2150 + main ()
2151 + {
2152 + exit (42);
2153 +  ;
2154 +  return 0;
2155 + }
2156 + _ACEOF
2157 + rm -f conftest.$ac_objext
2158 + if { (eval echo "$as_me:2158: \"$ac_compile\"") >&5
2159 +  (eval $ac_compile) 2>&5
2160 +  ac_status=$?
2161 +  echo "$as_me:2161: \$? = $ac_status" >&5
2162 +  (exit $ac_status); } &&
2163 +         { ac_try='test -s conftest.$ac_objext'
2164 +  { (eval echo "$as_me:2164: \"$ac_try\"") >&5
2165 +  (eval $ac_try) 2>&5
2166 +  ac_status=$?
2167 +  echo "$as_me:2167: \$? = $ac_status" >&5
2168 +  (exit $ac_status); }; }; then
2169 +  break
2170 + else
2171 +  echo "$as_me: failed program was:" >&5
2172 + cat conftest.$ac_ext >&5
2173 + fi
2174 + rm -f conftest.$ac_objext conftest.$ac_ext
2175 + done
2176 + echo '#ifdef __cplusplus' >>confdefs.h
2177 + echo $ac_declaration      >>confdefs.h
2178 + echo '#endif'             >>confdefs.h
2179 +
2180   ac_ext=c
2181   ac_cpp='$CPP $CPPFLAGS'
2182   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2183   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2184   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2185  
2186 + ac_ext=f90
2187 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2188 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2190 + if test -n "$ac_tool_prefix"; then
2191 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2192 +  do
2193 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2194 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2195 + echo "$as_me:2195: checking for $ac_word" >&5
2196 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2197 + if test "${ac_cv_prog_F90+set}" = set; then
2198 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2199 + else
2200 +  if test -n "$F90"; then
2201 +  ac_cv_prog_F90="$F90" # Let the user override the test.
2202 + else
2203 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
2204 + ac_dummy="$PATH"
2205 + for ac_dir in $ac_dummy; do
2206 +  IFS=$ac_save_IFS
2207 +  test -z "$ac_dir" && ac_dir=.
2208 +  $as_executable_p "$ac_dir/$ac_word" || continue
2209 + ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2210 + echo "$as_me:2210: found $ac_dir/$ac_word" >&5
2211 + break
2212 + done
2213 +
2214 + fi
2215 + fi
2216 + F90=$ac_cv_prog_F90
2217 + if test -n "$F90"; then
2218 +  echo "$as_me:2218: result: $F90" >&5
2219 + echo "${ECHO_T}$F90" >&6
2220 + else
2221 +  echo "$as_me:2221: result: no" >&5
2222 + echo "${ECHO_T}no" >&6
2223 + fi
2224 +
2225 +    test -n "$F90" && break
2226 +  done
2227 + fi
2228 + if test -z "$F90"; then
2229 +  ac_ct_F90=$F90
2230 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2231 + do
2232 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
2233 + set dummy $ac_prog; ac_word=$2
2234 + echo "$as_me:2234: checking for $ac_word" >&5
2235 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2236 + if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
2237 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2238 + else
2239 +  if test -n "$ac_ct_F90"; then
2240 +  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
2241 + else
2242 +  ac_save_IFS=$IFS; IFS=$ac_path_separator
2243 + ac_dummy="$PATH"
2244 + for ac_dir in $ac_dummy; do
2245 +  IFS=$ac_save_IFS
2246 +  test -z "$ac_dir" && ac_dir=.
2247 +  $as_executable_p "$ac_dir/$ac_word" || continue
2248 + ac_cv_prog_ac_ct_F90="$ac_prog"
2249 + echo "$as_me:2249: found $ac_dir/$ac_word" >&5
2250 + break
2251 + done
2252 +
2253 + fi
2254 + fi
2255 + ac_ct_F90=$ac_cv_prog_ac_ct_F90
2256 + if test -n "$ac_ct_F90"; then
2257 +  echo "$as_me:2257: result: $ac_ct_F90" >&5
2258 + echo "${ECHO_T}$ac_ct_F90" >&6
2259 + else
2260 +  echo "$as_me:2260: result: no" >&5
2261 + echo "${ECHO_T}no" >&6
2262 + fi
2263 +
2264 +  test -n "$ac_ct_F90" && break
2265 + done
2266 +
2267 +  F90=$ac_ct_F90
2268 + fi
2269 +
2270 + # If we don't use `.F90' as extension, the preprocessor is not run on the
2271 + # input file.
2272 + ac_save_ext=$ac_ext
2273 + ac_ext=F90
2274 + echo "$as_me:2274: checking whether we are using the GNU Fortran 90 compiler" >&5
2275 + echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
2276 + if test "${ac_cv_f90_compiler_gnu+set}" = set; then
2277 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2278 + else
2279 +  cat >conftest.$ac_ext <<_ACEOF
2280 +
2281 + program main
2282 +
2283 + #ifndef __GNUC__
2284 +       choke me
2285 + #endif
2286 +
2287 + end program main
2288 +
2289 + _ACEOF
2290 + rm -f conftest.$ac_objext
2291 + if { (eval echo "$as_me:2291: \"$ac_compile\"") >&5
2292 +  (eval $ac_compile) 2>&5
2293 +  ac_status=$?
2294 +  echo "$as_me:2294: \$? = $ac_status" >&5
2295 +  (exit $ac_status); } &&
2296 +         { ac_try='test -s conftest.$ac_objext'
2297 +  { (eval echo "$as_me:2297: \"$ac_try\"") >&5
2298 +  (eval $ac_try) 2>&5
2299 +  ac_status=$?
2300 +  echo "$as_me:2300: \$? = $ac_status" >&5
2301 +  (exit $ac_status); }; }; then
2302 +  ac_compiler_gnu=yes
2303 + else
2304 +  echo "$as_me: failed program was:" >&5
2305 + cat conftest.$ac_ext >&5
2306 + ac_compiler_gnu=no
2307 + fi
2308 + rm -f conftest.$ac_objext conftest.$ac_ext
2309 + ac_cv_f90_compiler_gnu=$ac_compiler_gnu
2310 +
2311 + fi
2312 + echo "$as_me:2312: result: $ac_cv_f90_compiler_gnu" >&5
2313 + echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
2314 + ac_ext=$ac_save_ext
2315 + G95=`test $ac_compiler_gnu = yes && echo yes`
2316 + ac_ext=c
2317 + ac_cpp='$CPP $CPPFLAGS'
2318 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 +
2322 + # Try to determine native compiler flags that allow us to use F90 suffix
2323 + # for preprocessed f90 source.
2324 +
2325 + if test "$ac_test_PREPFLAG" != "set"; then
2326 +  PREPFLAG=""
2327 +  case "${host_cpu}-${host_os}" in
2328 +
2329 +  *linux*) if test "$F90" = ifc; then
2330 +                    PREPFLAG="-fpp1 "
2331 +                fi;;
2332 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
2333 +                    PREPFLAG="-qsuffix=cpp=F90 "
2334 +                fi;;
2335 +  *darwin*)
2336 +        if test "$F90" = f90 -o "$F90" = xlf90; then
2337 +                PREPFLAG="-qsuffix=cpp=F90 "
2338 +        fi;;
2339 +  esac
2340 +
2341 +  if test -z "$PREPFLAG"; then
2342 +        echo ""
2343 +        echo "**********************************************************"
2344 +        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
2345 +        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
2346 +        echo "* (otherwise, an empty PREPFLAG will be used)            *"
2347 +        echo "**********************************************************"
2348 +        echo ""
2349 +        PREPFLAG=""
2350 +  fi
2351 +
2352 +  echo "$as_me:2352: checking to make sure F90 preprocessor flag works" >&5
2353 + echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
2354 +
2355 +  ac_ext=f90
2356 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2357 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2359 +
2360 +  ac_save_ext=$ac_ext
2361 +  ac_ext=F90
2362 +  ac_save_F90FLAGS=$F90FLAGS
2363 +
2364 +  if test "$PREPFLAG"; then
2365 +  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
2366 + fi
2367 +
2368 +    cat >conftest.$ac_ext <<_ACEOF
2369 +
2370 + program main
2371 +
2372 +  integer :: i
2373 +  i = 1
2374 +
2375 + end program main
2376 +
2377 + _ACEOF
2378 + rm -f conftest.$ac_objext
2379 + if { (eval echo "$as_me:2379: \"$ac_compile\"") >&5
2380 +  (eval $ac_compile) 2>&5
2381 +  ac_status=$?
2382 +  echo "$as_me:2382: \$? = $ac_status" >&5
2383 +  (exit $ac_status); } &&
2384 +         { ac_try='test -s conftest.$ac_objext'
2385 +  { (eval echo "$as_me:2385: \"$ac_try\"") >&5
2386 +  (eval $ac_try) 2>&5
2387 +  ac_status=$?
2388 +  echo "$as_me:2388: \$? = $ac_status" >&5
2389 +  (exit $ac_status); }; }; then
2390 +  prepflagworks=1
2391 + else
2392 +  echo "$as_me: failed program was:" >&5
2393 + cat conftest.$ac_ext >&5
2394 + prepflagworks=0
2395 + fi
2396 + rm -f conftest.$ac_objext conftest.$ac_ext
2397 +
2398 +  F90FLAGS=$ac_save_F90FLAGS
2399 +  ac_ext=$ac_save_ext
2400 +  ac_ext=c
2401 + ac_cpp='$CPP $CPPFLAGS'
2402 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405 +
2406 +  if test "$prepflagworks" = 1; then
2407 +    echo "$as_me:2407: result: yes" >&5
2408 + echo "${ECHO_T}yes" >&6
2409 +
2410 +  else
2411 +    echo "$as_me:2411: result: no" >&5
2412 + echo "${ECHO_T}no" >&6
2413 +    { { echo "$as_me:2413: error: Can't figure out working Fortran90 preprocessor flag" >&5
2414 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
2415 +   { (exit 1); exit 1; }; }
2416 +  fi
2417 + fi
2418 +
2419 + # Try to determine native compiler flags that allow us to use F90 suffix
2420 + # for preprocessed f90 source with -D type defines
2421 +
2422 + if test "$ac_test_PREPDEFFLAG" != "set"; then
2423 +  PREPDEFFLAG=""
2424 +  case "${host_cpu}-${host_os}" in
2425 +
2426 +  *linux*) if test "$F90" = ifc; then
2427 +                    PREPDEFFLAG=" "
2428 +                fi;;
2429 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
2430 +                    PREPDEFFLAG="-WF,"
2431 +                fi;;
2432 +  *darwin*)
2433 +        if test "$F90" = f90 -o "$F90" = xlf90; then
2434 +                PREPDEFFLAG="-WF,"
2435 +        fi;;
2436 +  esac
2437 +
2438 +  if test -z "$PREPDEFFLAG"; then
2439 +        echo ""
2440 +        echo "*************************************************************"
2441 +        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
2442 +        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
2443 +        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
2444 +        echo "*************************************************************"
2445 +        echo ""
2446 +        PREPDEFFLAG=" "
2447 +  fi
2448 +
2449 +  echo "$as_me:2449: checking to make sure F90 preprocessor define flag works" >&5
2450 + echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
2451 +
2452 +  ac_ext=f90
2453 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2454 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2456 +
2457 +  ac_save_ext=$ac_ext
2458 +  ac_ext=F90
2459 +  ac_save_F90FLAGS=$F90FLAGS
2460 +
2461 +  if test "$PREPDEFFLAG"; then
2462 +  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
2463 + fi
2464 +
2465 +    cat >conftest.$ac_ext <<_ACEOF
2466 +
2467 + program main
2468 +
2469 +  integer :: i
2470 + #ifdef TEST
2471 +  i = 1
2472 + #else
2473 +  choke me
2474 + #endif
2475 +
2476 + end program main
2477 +
2478 + _ACEOF
2479 + rm -f conftest.$ac_objext
2480 + if { (eval echo "$as_me:2480: \"$ac_compile\"") >&5
2481 +  (eval $ac_compile) 2>&5
2482 +  ac_status=$?
2483 +  echo "$as_me:2483: \$? = $ac_status" >&5
2484 +  (exit $ac_status); } &&
2485 +         { ac_try='test -s conftest.$ac_objext'
2486 +  { (eval echo "$as_me:2486: \"$ac_try\"") >&5
2487 +  (eval $ac_try) 2>&5
2488 +  ac_status=$?
2489 +  echo "$as_me:2489: \$? = $ac_status" >&5
2490 +  (exit $ac_status); }; }; then
2491 +  prepdefflagworks=1
2492 + else
2493 +  echo "$as_me: failed program was:" >&5
2494 + cat conftest.$ac_ext >&5
2495 + prepdefflagworks=0
2496 + fi
2497 + rm -f conftest.$ac_objext conftest.$ac_ext
2498 +
2499 +  F90FLAGS=$ac_save_F90FLAGS
2500 +  ac_ext=$ac_save_ext
2501 +  ac_ext=c
2502 + ac_cpp='$CPP $CPPFLAGS'
2503 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2504 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2505 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2506 +
2507 +  if test "$prepdefflagworks" = 1; then
2508 +    echo "$as_me:2508: result: yes" >&5
2509 + echo "${ECHO_T}yes" >&6
2510 +
2511 +  else
2512 +    echo "$as_me:2512: result: no" >&5
2513 + echo "${ECHO_T}no" >&6
2514 +    { { echo "$as_me:2514: error: Can't figure out working Fortran90 preprocessor define flag" >&5
2515 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
2516 +   { (exit 1); exit 1; }; }
2517 +  fi
2518 + fi
2519 +
2520 + case $debug in
2521 +  1)
2522 +     ;;
2523 +  *)
2524 +
2525   # Try to determine "good" native compiler flags if none specified on command
2526   # line
2527   if test "$ac_test_CFLAGS" != "set"; then
# Line 1971 | Line 2583 | echo "$as_me:1974: checking whether ${CC-cc} accepts -
2583    if test $ac_cv_c_compiler_gnu = yes; then
2584      # -malign-double for x86 systems
2585  
2586 < echo "$as_me:1974: checking whether ${CC-cc} accepts -malign-double" >&5
2586 > echo "$as_me:2586: checking whether ${CC-cc} accepts -malign-double" >&5
2587   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
2588   if test "${ac_align_double+set}" = set; then
2589    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1985 | Line 2597 | echo "$as_me:1988: result: $ac_align_double" >&5
2597   rm -f conftest*
2598  
2599   fi
2600 < echo "$as_me:1988: result: $ac_align_double" >&5
2600 > echo "$as_me:2600: result: $ac_align_double" >&5
2601   echo "${ECHO_T}$ac_align_double" >&6
2602   if test "$ac_align_double" = yes; then
2603          :
# Line 1997 | Line 2609 | echo "$as_me:2000: checking whether ${CC-cc} accepts -
2609  
2610      # -fstrict-aliasing for gcc-2.95+
2611  
2612 < echo "$as_me:2000: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
2612 > echo "$as_me:2612: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
2613   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
2614   if test "${ac_fstrict_aliasing+set}" = set; then
2615    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2011 | Line 2623 | echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5
2623   rm -f conftest*
2624  
2625   fi
2626 < echo "$as_me:2014: result: $ac_fstrict_aliasing" >&5
2626 > echo "$as_me:2626: result: $ac_fstrict_aliasing" >&5
2627   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
2628   if test "$ac_fstrict_aliasing" = yes; then
2629          :
# Line 2028 | Line 2640 | echo "$as_me:2031: checking whether ${CC-cc} accepts -
2640                    case "${host_cpu}" in
2641            i586*)
2642  
2643 < echo "$as_me:2031: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
2643 > echo "$as_me:2643: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
2644   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
2645   if test "${ac_cpu_pentium+set}" = set; then
2646    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2042 | Line 2654 | echo "$as_me:2045: result: $ac_cpu_pentium" >&5
2654   rm -f conftest*
2655  
2656   fi
2657 < echo "$as_me:2045: result: $ac_cpu_pentium" >&5
2657 > echo "$as_me:2657: result: $ac_cpu_pentium" >&5
2658   echo "${ECHO_T}$ac_cpu_pentium" >&6
2659   if test "$ac_cpu_pentium" = yes; then
2660          :
# Line 2050 | Line 2662 | echo "$as_me:2053: checking whether ${CC-cc} accepts -
2662   else
2663          :
2664  
2665 < echo "$as_me:2053: checking whether ${CC-cc} accepts -mpentium" >&5
2665 > echo "$as_me:2665: checking whether ${CC-cc} accepts -mpentium" >&5
2666   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
2667   if test "${ac_pentium+set}" = set; then
2668    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2064 | Line 2676 | echo "$as_me:2067: result: $ac_pentium" >&5
2676   rm -f conftest*
2677  
2678   fi
2679 < echo "$as_me:2067: result: $ac_pentium" >&5
2679 > echo "$as_me:2679: result: $ac_pentium" >&5
2680   echo "${ECHO_T}$ac_pentium" >&6
2681   if test "$ac_pentium" = yes; then
2682          :
# Line 2079 | Line 2691 | echo "$as_me:2082: checking whether ${CC-cc} accepts -
2691                    ;;
2692            i686*)
2693  
2694 < echo "$as_me:2082: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
2694 > echo "$as_me:2694: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
2695   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
2696   if test "${ac_cpu_pentiumpro+set}" = set; then
2697    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2093 | Line 2705 | echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5
2705   rm -f conftest*
2706  
2707   fi
2708 < echo "$as_me:2096: result: $ac_cpu_pentiumpro" >&5
2708 > echo "$as_me:2708: result: $ac_cpu_pentiumpro" >&5
2709   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
2710   if test "$ac_cpu_pentiumpro" = yes; then
2711          :
# Line 2101 | Line 2713 | echo "$as_me:2104: checking whether ${CC-cc} accepts -
2713   else
2714          :
2715  
2716 < echo "$as_me:2104: checking whether ${CC-cc} accepts -mpentiumpro" >&5
2716 > echo "$as_me:2716: checking whether ${CC-cc} accepts -mpentiumpro" >&5
2717   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
2718   if test "${ac_pentiumpro+set}" = set; then
2719    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2115 | Line 2727 | echo "$as_me:2118: result: $ac_pentiumpro" >&5
2727   rm -f conftest*
2728  
2729   fi
2730 < echo "$as_me:2118: result: $ac_pentiumpro" >&5
2730 > echo "$as_me:2730: result: $ac_pentiumpro" >&5
2731   echo "${ECHO_T}$ac_pentiumpro" >&6
2732   if test "$ac_pentiumpro" = yes; then
2733          :
# Line 2133 | Line 2745 | echo "$as_me:2136: checking whether ${CC-cc} accepts -
2745                  is60x=`echo $cputype | egrep "^600-9e?$"`
2746                  if test -n "$is60x"; then
2747  
2748 < echo "$as_me:2136: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
2748 > echo "$as_me:2748: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
2749   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
2750   if test "${ac_m_cpu_60x+set}" = set; then
2751    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2147 | Line 2759 | echo "$as_me:2150: result: $ac_m_cpu_60x" >&5
2759   rm -f conftest*
2760  
2761   fi
2762 < echo "$as_me:2150: result: $ac_m_cpu_60x" >&5
2762 > echo "$as_me:2762: result: $ac_m_cpu_60x" >&5
2763   echo "${ECHO_T}$ac_m_cpu_60x" >&6
2764   if test "$ac_m_cpu_60x" = yes; then
2765          :
# Line 2159 | Line 2771 | echo "$as_me:2162: checking whether we are using gcc 2
2771  
2772                  elif test "$cputype" = 750; then
2773  
2774 < echo "$as_me:2162: checking whether we are using gcc 2.95 or later" >&5
2774 > echo "$as_me:2774: checking whether we are using gcc 2.95 or later" >&5
2775   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
2776   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
2777    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2173 | Line 2785 | if { ac_try='${CC-cc} -E conftest.c'
2785   #endif
2786   EOF
2787   if { ac_try='${CC-cc} -E conftest.c'
2788 <  { (eval echo "$as_me:2176: \"$ac_try\"") >&5
2788 >  { (eval echo "$as_me:2788: \"$ac_try\"") >&5
2789    (eval $ac_try) 2>&5
2790    ac_status=$?
2791 <  echo "$as_me:2179: \$? = $ac_status" >&5
2791 >  echo "$as_me:2791: \$? = $ac_status" >&5
2792    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2793    ac_cv_prog_gcc_2_95=yes
2794   else
# Line 2184 | Line 2796 | echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5
2796   fi
2797  
2798   fi
2799 < echo "$as_me:2187: result: $ac_cv_prog_gcc_2_95" >&5
2799 > echo "$as_me:2799: result: $ac_cv_prog_gcc_2_95" >&5
2800   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
2801   if test "$ac_cv_prog_gcc_2_95" = yes; then
2802          :
2803  
2804 < echo "$as_me:2192: checking whether ${CC-cc} accepts -mcpu=750" >&5
2804 > echo "$as_me:2804: checking whether ${CC-cc} accepts -mcpu=750" >&5
2805   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
2806   if test "${ac_m_cpu_750+set}" = set; then
2807    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2203 | Line 2815 | echo "$as_me:2206: result: $ac_m_cpu_750" >&5
2815   rm -f conftest*
2816  
2817   fi
2818 < echo "$as_me:2206: result: $ac_m_cpu_750" >&5
2818 > echo "$as_me:2818: result: $ac_m_cpu_750" >&5
2819   echo "${ECHO_T}$ac_m_cpu_750" >&6
2820   if test "$ac_m_cpu_750" = yes; then
2821          :
# Line 2221 | Line 2833 | echo "$as_me:2224: checking whether ${CC-cc} accepts -
2833                  fi
2834                  if test -z "$CPU_FLAGS"; then
2835  
2836 < echo "$as_me:2224: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
2836 > echo "$as_me:2836: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
2837   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
2838   if test "${ac_m_cpu_powerpc+set}" = set; then
2839    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2235 | Line 2847 | echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5
2847   rm -f conftest*
2848  
2849   fi
2850 < echo "$as_me:2238: result: $ac_m_cpu_powerpc" >&5
2850 > echo "$as_me:2850: result: $ac_m_cpu_powerpc" >&5
2851   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
2852   if test "$ac_m_cpu_powerpc" = yes; then
2853          :
# Line 2248 | Line 2860 | echo "$as_me:2251: checking whether ${CC-cc} accepts -
2860                  fi
2861                  if test -z "$CPU_FLAGS"; then
2862  
2863 < echo "$as_me:2251: checking whether ${CC-cc} accepts -mpowerpc" >&5
2863 > echo "$as_me:2863: checking whether ${CC-cc} accepts -mpowerpc" >&5
2864   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
2865   if test "${ac_m_powerpc+set}" = set; then
2866    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2262 | Line 2874 | echo "$as_me:2265: result: $ac_m_powerpc" >&5
2874   rm -f conftest*
2875  
2876   fi
2877 < echo "$as_me:2265: result: $ac_m_powerpc" >&5
2877 > echo "$as_me:2877: result: $ac_m_powerpc" >&5
2878   echo "${ECHO_T}$ac_m_powerpc" >&6
2879   if test "$ac_m_powerpc" = yes; then
2880          :
# Line 2291 | Line 2903 | echo "$as_me:2294: checking whether ${CC-cc} accepts $
2903          CFLAGS="-O3"
2904    fi
2905  
2906 < echo "$as_me:2294: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
2906 > echo "$as_me:2906: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
2907   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
2908   if test "${ac_guessed_cflags+set}" = set; then
2909    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2305 | Line 2917 | echo "$as_me:2308: result: $ac_guessed_cflags" >&5
2917   rm -f conftest*
2918  
2919   fi
2920 < echo "$as_me:2308: result: $ac_guessed_cflags" >&5
2920 > echo "$as_me:2920: result: $ac_guessed_cflags" >&5
2921   echo "${ECHO_T}$ac_guessed_cflags" >&6
2922   if test "$ac_guessed_cflags" = yes; then
2923          :
# Line 2321 | Line 2933 | else
2933          echo "********************************************************"
2934          echo ""
2935          CFLAGS=""
2324
2325 fi
2326
2327 fi
2328
2329 ac_ext=cc
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335  for ac_prog in $CCC icpc icc xlC g++ c++
2336  do
2337    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2338 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2339 echo "$as_me:2339: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2341 if test "${ac_cv_prog_CXX+set}" = set; then
2342  echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else
2344  if test -n "$CXX"; then
2345  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2346 else
2347  ac_save_IFS=$IFS; IFS=$ac_path_separator
2348 ac_dummy="$PATH"
2349 for ac_dir in $ac_dummy; do
2350  IFS=$ac_save_IFS
2351  test -z "$ac_dir" && ac_dir=.
2352  $as_executable_p "$ac_dir/$ac_word" || continue
2353 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2354 echo "$as_me:2354: found $ac_dir/$ac_word" >&5
2355 break
2356 done
2936  
2937   fi
2359 fi
2360 CXX=$ac_cv_prog_CXX
2361 if test -n "$CXX"; then
2362  echo "$as_me:2362: result: $CXX" >&5
2363 echo "${ECHO_T}$CXX" >&6
2364 else
2365  echo "$as_me:2365: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2367 fi
2938  
2369    test -n "$CXX" && break
2370  done
2371 fi
2372 if test -z "$CXX"; then
2373  ac_ct_CXX=$CXX
2374  for ac_prog in $CCC icpc icc xlC g++ c++
2375 do
2376  # Extract the first word of "$ac_prog", so it can be a program name with args.
2377 set dummy $ac_prog; ac_word=$2
2378 echo "$as_me:2378: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2381  echo $ECHO_N "(cached) $ECHO_C" >&6
2382 else
2383  if test -n "$ac_ct_CXX"; then
2384  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2385 else
2386  ac_save_IFS=$IFS; IFS=$ac_path_separator
2387 ac_dummy="$PATH"
2388 for ac_dir in $ac_dummy; do
2389  IFS=$ac_save_IFS
2390  test -z "$ac_dir" && ac_dir=.
2391  $as_executable_p "$ac_dir/$ac_word" || continue
2392 ac_cv_prog_ac_ct_CXX="$ac_prog"
2393 echo "$as_me:2393: found $ac_dir/$ac_word" >&5
2394 break
2395 done
2396
2397 fi
2398 fi
2399 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2400 if test -n "$ac_ct_CXX"; then
2401  echo "$as_me:2401: result: $ac_ct_CXX" >&5
2402 echo "${ECHO_T}$ac_ct_CXX" >&6
2403 else
2404  echo "$as_me:2404: result: no" >&5
2405 echo "${ECHO_T}no" >&6
2406 fi
2407
2408  test -n "$ac_ct_CXX" && break
2409 done
2410 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2411
2412  CXX=$ac_ct_CXX
2413 fi
2414
2415 echo "$as_me:2415: checking whether we are using the GNU C++ compiler" >&5
2416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2418  echo $ECHO_N "(cached) $ECHO_C" >&6
2419 else
2420  cat >conftest.$ac_ext <<_ACEOF
2421 #line 2421 "configure"
2422 #include "confdefs.h"
2423
2424 int
2425 main ()
2426 {
2427 #ifndef __GNUC__
2428       choke me
2429 #endif
2430
2431  ;
2432  return 0;
2433 }
2434 _ACEOF
2435 rm -f conftest.$ac_objext
2436 if { (eval echo "$as_me:2436: \"$ac_compile\"") >&5
2437  (eval $ac_compile) 2>&5
2438  ac_status=$?
2439  echo "$as_me:2439: \$? = $ac_status" >&5
2440  (exit $ac_status); } &&
2441         { ac_try='test -s conftest.$ac_objext'
2442  { (eval echo "$as_me:2442: \"$ac_try\"") >&5
2443  (eval $ac_try) 2>&5
2444  ac_status=$?
2445  echo "$as_me:2445: \$? = $ac_status" >&5
2446  (exit $ac_status); }; }; then
2447  ac_compiler_gnu=yes
2448 else
2449  echo "$as_me: failed program was:" >&5
2450 cat conftest.$ac_ext >&5
2451 ac_compiler_gnu=no
2452 fi
2453 rm -f conftest.$ac_objext conftest.$ac_ext
2454 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2455
2456 fi
2457 echo "$as_me:2457: result: $ac_cv_cxx_compiler_gnu" >&5
2458 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2459 GXX=`test $ac_compiler_gnu = yes && echo yes`
2460 ac_test_CXXFLAGS=${CXXFLAGS+set}
2461 ac_save_CXXFLAGS=$CXXFLAGS
2462 CXXFLAGS="-g"
2463 echo "$as_me:2463: checking whether $CXX accepts -g" >&5
2464 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2465 if test "${ac_cv_prog_cxx_g+set}" = set; then
2466  echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468  cat >conftest.$ac_ext <<_ACEOF
2469 #line 2469 "configure"
2470 #include "confdefs.h"
2471
2472 int
2473 main ()
2474 {
2475
2476  ;
2477  return 0;
2478 }
2479 _ACEOF
2480 rm -f conftest.$ac_objext
2481 if { (eval echo "$as_me:2481: \"$ac_compile\"") >&5
2482  (eval $ac_compile) 2>&5
2483  ac_status=$?
2484  echo "$as_me:2484: \$? = $ac_status" >&5
2485  (exit $ac_status); } &&
2486         { ac_try='test -s conftest.$ac_objext'
2487  { (eval echo "$as_me:2487: \"$ac_try\"") >&5
2488  (eval $ac_try) 2>&5
2489  ac_status=$?
2490  echo "$as_me:2490: \$? = $ac_status" >&5
2491  (exit $ac_status); }; }; then
2492  ac_cv_prog_cxx_g=yes
2493 else
2494  echo "$as_me: failed program was:" >&5
2495 cat conftest.$ac_ext >&5
2496 ac_cv_prog_cxx_g=no
2497 fi
2498 rm -f conftest.$ac_objext conftest.$ac_ext
2499 fi
2500 echo "$as_me:2500: result: $ac_cv_prog_cxx_g" >&5
2501 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2502 if test "$ac_test_CXXFLAGS" = set; then
2503  CXXFLAGS=$ac_save_CXXFLAGS
2504 elif test $ac_cv_prog_cxx_g = yes; then
2505  if test "$GXX" = yes; then
2506    CXXFLAGS="-g -O2"
2507  else
2508    CXXFLAGS="-g"
2509  fi
2510 else
2511  if test "$GXX" = yes; then
2512    CXXFLAGS="-O2"
2513  else
2514    CXXFLAGS=
2515  fi
2516 fi
2517 for ac_declaration in \
2518   ''\
2519   '#include <stdlib.h>' \
2520   'extern "C" void std::exit (int) throw (); using std::exit;' \
2521   'extern "C" void std::exit (int); using std::exit;' \
2522   'extern "C" void exit (int) throw ();' \
2523   'extern "C" void exit (int);' \
2524   'void exit (int);'
2525 do
2526  cat >conftest.$ac_ext <<_ACEOF
2527 #line 2527 "configure"
2528 #include "confdefs.h"
2529 #include <stdlib.h>
2530 $ac_declaration
2531 int
2532 main ()
2533 {
2534 exit (42);
2535  ;
2536  return 0;
2537 }
2538 _ACEOF
2539 rm -f conftest.$ac_objext
2540 if { (eval echo "$as_me:2540: \"$ac_compile\"") >&5
2541  (eval $ac_compile) 2>&5
2542  ac_status=$?
2543  echo "$as_me:2543: \$? = $ac_status" >&5
2544  (exit $ac_status); } &&
2545         { ac_try='test -s conftest.$ac_objext'
2546  { (eval echo "$as_me:2546: \"$ac_try\"") >&5
2547  (eval $ac_try) 2>&5
2548  ac_status=$?
2549  echo "$as_me:2549: \$? = $ac_status" >&5
2550  (exit $ac_status); }; }; then
2551  :
2552 else
2553  echo "$as_me: failed program was:" >&5
2554 cat conftest.$ac_ext >&5
2555 continue
2556 fi
2557 rm -f conftest.$ac_objext conftest.$ac_ext
2558  cat >conftest.$ac_ext <<_ACEOF
2559 #line 2559 "configure"
2560 #include "confdefs.h"
2561 $ac_declaration
2562 int
2563 main ()
2564 {
2565 exit (42);
2566  ;
2567  return 0;
2568 }
2569 _ACEOF
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:2571: \"$ac_compile\"") >&5
2572  (eval $ac_compile) 2>&5
2573  ac_status=$?
2574  echo "$as_me:2574: \$? = $ac_status" >&5
2575  (exit $ac_status); } &&
2576         { ac_try='test -s conftest.$ac_objext'
2577  { (eval echo "$as_me:2577: \"$ac_try\"") >&5
2578  (eval $ac_try) 2>&5
2579  ac_status=$?
2580  echo "$as_me:2580: \$? = $ac_status" >&5
2581  (exit $ac_status); }; }; then
2582  break
2583 else
2584  echo "$as_me: failed program was:" >&5
2585 cat conftest.$ac_ext >&5
2939   fi
2587 rm -f conftest.$ac_objext conftest.$ac_ext
2588 done
2589 echo '#ifdef __cplusplus' >>confdefs.h
2590 echo $ac_declaration      >>confdefs.h
2591 echo '#endif'             >>confdefs.h
2592
2593 ac_ext=c
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2940  
2941   # Try to determine "good" native compiler flags if none specified on command
2942   # line
# Line 2648 | Line 2990 | echo "$as_me:2651: checking whether ${CXX-c++} accepts
2990    if test $ac_cv_c_compiler_gnu = yes; then
2991      # -malign-double for x86 systems
2992  
2993 < echo "$as_me:2651: checking whether ${CXX-c++} accepts -malign-double" >&5
2993 > echo "$as_me:2993: checking whether ${CXX-c++} accepts -malign-double" >&5
2994   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
2995   if test "${ac_align_double+set}" = set; then
2996    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2662 | Line 3004 | echo "$as_me:2665: result: $ac_align_double" >&5
3004   rm -f conftest*
3005  
3006   fi
3007 < echo "$as_me:2665: result: $ac_align_double" >&5
3007 > echo "$as_me:3007: result: $ac_align_double" >&5
3008   echo "${ECHO_T}$ac_align_double" >&6
3009   if test "$ac_align_double" = yes; then
3010          :
# Line 2674 | Line 3016 | echo "$as_me:2677: checking whether ${CXX-c++} accepts
3016  
3017      # -fstrict-aliasing for gcc-2.95+
3018  
3019 < echo "$as_me:2677: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3019 > echo "$as_me:3019: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
3020   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
3021   if test "${ac_fstrict_aliasing+set}" = set; then
3022    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2688 | Line 3030 | echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5
3030   rm -f conftest*
3031  
3032   fi
3033 < echo "$as_me:2691: result: $ac_fstrict_aliasing" >&5
3033 > echo "$as_me:3033: result: $ac_fstrict_aliasing" >&5
3034   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
3035   if test "$ac_fstrict_aliasing" = yes; then
3036          :
# Line 2705 | Line 3047 | echo "$as_me:2708: checking whether ${CC-cc} accepts -
3047                    case "${host_cpu}" in
3048            i586*)
3049  
3050 < echo "$as_me:2708: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3050 > echo "$as_me:3050: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
3051   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
3052   if test "${ac_cpu_pentium+set}" = set; then
3053    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2719 | Line 3061 | echo "$as_me:2722: result: $ac_cpu_pentium" >&5
3061   rm -f conftest*
3062  
3063   fi
3064 < echo "$as_me:2722: result: $ac_cpu_pentium" >&5
3064 > echo "$as_me:3064: result: $ac_cpu_pentium" >&5
3065   echo "${ECHO_T}$ac_cpu_pentium" >&6
3066   if test "$ac_cpu_pentium" = yes; then
3067          :
# Line 2727 | Line 3069 | echo "$as_me:2730: checking whether ${CXX-c++} accepts
3069   else
3070          :
3071  
3072 < echo "$as_me:2730: checking whether ${CXX-c++} accepts -mpentium" >&5
3072 > echo "$as_me:3072: checking whether ${CXX-c++} accepts -mpentium" >&5
3073   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
3074   if test "${ac_pentium+set}" = set; then
3075    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2741 | Line 3083 | echo "$as_me:2744: result: $ac_pentium" >&5
3083   rm -f conftest*
3084  
3085   fi
3086 < echo "$as_me:2744: result: $ac_pentium" >&5
3086 > echo "$as_me:3086: result: $ac_pentium" >&5
3087   echo "${ECHO_T}$ac_pentium" >&6
3088   if test "$ac_pentium" = yes; then
3089          :
# Line 2756 | Line 3098 | echo "$as_me:2759: checking whether ${CXX-c++} accepts
3098                    ;;
3099            i686*)
3100  
3101 < echo "$as_me:2759: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3101 > echo "$as_me:3101: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
3102   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
3103   if test "${ac_cpu_pentiumpro+set}" = set; then
3104    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2770 | Line 3112 | echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5
3112   rm -f conftest*
3113  
3114   fi
3115 < echo "$as_me:2773: result: $ac_cpu_pentiumpro" >&5
3115 > echo "$as_me:3115: result: $ac_cpu_pentiumpro" >&5
3116   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
3117   if test "$ac_cpu_pentiumpro" = yes; then
3118          :
# Line 2778 | Line 3120 | echo "$as_me:2781: checking whether ${CXX-c++} accepts
3120   else
3121          :
3122  
3123 < echo "$as_me:2781: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3123 > echo "$as_me:3123: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
3124   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
3125   if test "${ac_pentiumpro+set}" = set; then
3126    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2792 | Line 3134 | echo "$as_me:2795: result: $ac_pentiumpro" >&5
3134   rm -f conftest*
3135  
3136   fi
3137 < echo "$as_me:2795: result: $ac_pentiumpro" >&5
3137 > echo "$as_me:3137: result: $ac_pentiumpro" >&5
3138   echo "${ECHO_T}$ac_pentiumpro" >&6
3139   if test "$ac_pentiumpro" = yes; then
3140          :
# Line 2810 | Line 3152 | echo "$as_me:2813: checking whether ${CXX-c++} accepts
3152                  is60x=`echo $cputype | egrep "^600-9e?$"`
3153                  if test -n "$is60x"; then
3154  
3155 < echo "$as_me:2813: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3155 > echo "$as_me:3155: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
3156   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
3157   if test "${ac_m_cpu_60x+set}" = set; then
3158    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2824 | Line 3166 | echo "$as_me:2827: result: $ac_m_cpu_60x" >&5
3166   rm -f conftest*
3167  
3168   fi
3169 < echo "$as_me:2827: result: $ac_m_cpu_60x" >&5
3169 > echo "$as_me:3169: result: $ac_m_cpu_60x" >&5
3170   echo "${ECHO_T}$ac_m_cpu_60x" >&6
3171   if test "$ac_m_cpu_60x" = yes; then
3172          :
# Line 2836 | Line 3178 | echo "$as_me:2839: checking whether we are using gcc 2
3178  
3179                  elif test "$cputype" = 750; then
3180  
3181 < echo "$as_me:2839: checking whether we are using gcc 2.95 or later" >&5
3181 > echo "$as_me:3181: checking whether we are using gcc 2.95 or later" >&5
3182   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
3183   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
3184    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2850 | Line 3192 | if { ac_try='${CC-cc} -E conftest.c'
3192   #endif
3193   EOF
3194   if { ac_try='${CC-cc} -E conftest.c'
3195 <  { (eval echo "$as_me:2853: \"$ac_try\"") >&5
3195 >  { (eval echo "$as_me:3195: \"$ac_try\"") >&5
3196    (eval $ac_try) 2>&5
3197    ac_status=$?
3198 <  echo "$as_me:2856: \$? = $ac_status" >&5
3198 >  echo "$as_me:3198: \$? = $ac_status" >&5
3199    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3200    ac_cv_prog_gcc_2_95=yes
3201   else
# Line 2861 | Line 3203 | echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5
3203   fi
3204  
3205   fi
3206 < echo "$as_me:2864: result: $ac_cv_prog_gcc_2_95" >&5
3206 > echo "$as_me:3206: result: $ac_cv_prog_gcc_2_95" >&5
3207   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
3208   if test "$ac_cv_prog_gcc_2_95" = yes; then
3209          :
3210  
3211 < echo "$as_me:2869: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3211 > echo "$as_me:3211: checking whether ${CXX-c++} accepts -mcpu=750" >&5
3212   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
3213   if test "${ac_m_cpu_750+set}" = set; then
3214    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2880 | Line 3222 | echo "$as_me:2883: result: $ac_m_cpu_750" >&5
3222   rm -f conftest*
3223  
3224   fi
3225 < echo "$as_me:2883: result: $ac_m_cpu_750" >&5
3225 > echo "$as_me:3225: result: $ac_m_cpu_750" >&5
3226   echo "${ECHO_T}$ac_m_cpu_750" >&6
3227   if test "$ac_m_cpu_750" = yes; then
3228          :
# Line 2898 | Line 3240 | echo "$as_me:2901: checking whether ${CXX-c++} accepts
3240                  fi
3241                  if test -z "$CPU_FLAGS"; then
3242  
3243 < echo "$as_me:2901: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3243 > echo "$as_me:3243: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
3244   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
3245   if test "${ac_m_cpu_powerpc+set}" = set; then
3246    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2912 | Line 3254 | echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5
3254   rm -f conftest*
3255  
3256   fi
3257 < echo "$as_me:2915: result: $ac_m_cpu_powerpc" >&5
3257 > echo "$as_me:3257: result: $ac_m_cpu_powerpc" >&5
3258   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
3259   if test "$ac_m_cpu_powerpc" = yes; then
3260          :
# Line 2925 | Line 3267 | echo "$as_me:2928: checking whether ${CXX-c++} accepts
3267                  fi
3268                  if test -z "$CPU_FLAGS"; then
3269  
3270 < echo "$as_me:2928: checking whether ${CXX-c++} accepts -mpowerpc" >&5
3270 > echo "$as_me:3270: checking whether ${CXX-c++} accepts -mpowerpc" >&5
3271   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
3272   if test "${ac_m_powerpc+set}" = set; then
3273    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2939 | Line 3281 | echo "$as_me:2942: result: $ac_m_powerpc" >&5
3281   rm -f conftest*
3282  
3283   fi
3284 < echo "$as_me:2942: result: $ac_m_powerpc" >&5
3284 > echo "$as_me:3284: result: $ac_m_powerpc" >&5
3285   echo "${ECHO_T}$ac_m_powerpc" >&6
3286   if test "$ac_m_powerpc" = yes; then
3287          :
# Line 2968 | Line 3310 | echo "$as_me:2971: checking whether ${CXX-c++} accepts
3310          CXXFLAGS="-O3"
3311    fi
3312  
3313 < echo "$as_me:2971: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
3313 > echo "$as_me:3313: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
3314   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
3315   if test "${ac_guessed_cxxflags+set}" = set; then
3316    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2982 | Line 3324 | echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5
3324   rm -f conftest*
3325  
3326   fi
3327 < echo "$as_me:2985: result: $ac_guessed_cxxflags" >&5
3327 > echo "$as_me:3327: result: $ac_guessed_cxxflags" >&5
3328   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
3329   if test "$ac_guessed_cxxflags" = yes; then
3330          :
# Line 3003 | Line 3345 | ac_ext=f90
3345  
3346   fi
3347  
3006 ac_ext=f90
3007 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3008 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3010 if test -n "$ac_tool_prefix"; then
3011  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3012  do
3013    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3015 echo "$as_me:3015: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_prog_F90+set}" = set; then
3018  echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020  if test -n "$F90"; then
3021  ac_cv_prog_F90="$F90" # Let the user override the test.
3022 else
3023  ac_save_IFS=$IFS; IFS=$ac_path_separator
3024 ac_dummy="$PATH"
3025 for ac_dir in $ac_dummy; do
3026  IFS=$ac_save_IFS
3027  test -z "$ac_dir" && ac_dir=.
3028  $as_executable_p "$ac_dir/$ac_word" || continue
3029 ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3030 echo "$as_me:3030: found $ac_dir/$ac_word" >&5
3031 break
3032 done
3033
3034 fi
3035 fi
3036 F90=$ac_cv_prog_F90
3037 if test -n "$F90"; then
3038  echo "$as_me:3038: result: $F90" >&5
3039 echo "${ECHO_T}$F90" >&6
3040 else
3041  echo "$as_me:3041: result: no" >&5
3042 echo "${ECHO_T}no" >&6
3043 fi
3044
3045    test -n "$F90" && break
3046  done
3047 fi
3048 if test -z "$F90"; then
3049  ac_ct_F90=$F90
3050  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3051 do
3052  # Extract the first word of "$ac_prog", so it can be a program name with args.
3053 set dummy $ac_prog; ac_word=$2
3054 echo "$as_me:3054: checking for $ac_word" >&5
3055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3056 if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3057  echo $ECHO_N "(cached) $ECHO_C" >&6
3058 else
3059  if test -n "$ac_ct_F90"; then
3060  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3061 else
3062  ac_save_IFS=$IFS; IFS=$ac_path_separator
3063 ac_dummy="$PATH"
3064 for ac_dir in $ac_dummy; do
3065  IFS=$ac_save_IFS
3066  test -z "$ac_dir" && ac_dir=.
3067  $as_executable_p "$ac_dir/$ac_word" || continue
3068 ac_cv_prog_ac_ct_F90="$ac_prog"
3069 echo "$as_me:3069: found $ac_dir/$ac_word" >&5
3070 break
3071 done
3072
3073 fi
3074 fi
3075 ac_ct_F90=$ac_cv_prog_ac_ct_F90
3076 if test -n "$ac_ct_F90"; then
3077  echo "$as_me:3077: result: $ac_ct_F90" >&5
3078 echo "${ECHO_T}$ac_ct_F90" >&6
3079 else
3080  echo "$as_me:3080: result: no" >&5
3081 echo "${ECHO_T}no" >&6
3082 fi
3083
3084  test -n "$ac_ct_F90" && break
3085 done
3086
3087  F90=$ac_ct_F90
3088 fi
3089
3090 # If we don't use `.F90' as extension, the preprocessor is not run on the
3091 # input file.
3092 ac_save_ext=$ac_ext
3093 ac_ext=F90
3094 echo "$as_me:3094: checking whether we are using the GNU Fortran 90 compiler" >&5
3095 echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3096 if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3097  echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099  cat >conftest.$ac_ext <<_ACEOF
3100
3101 program main
3102
3103 #ifndef __GNUC__
3104       choke me
3105 #endif
3106
3107 end program main
3108
3109 _ACEOF
3110 rm -f conftest.$ac_objext
3111 if { (eval echo "$as_me:3111: \"$ac_compile\"") >&5
3112  (eval $ac_compile) 2>&5
3113  ac_status=$?
3114  echo "$as_me:3114: \$? = $ac_status" >&5
3115  (exit $ac_status); } &&
3116         { ac_try='test -s conftest.$ac_objext'
3117  { (eval echo "$as_me:3117: \"$ac_try\"") >&5
3118  (eval $ac_try) 2>&5
3119  ac_status=$?
3120  echo "$as_me:3120: \$? = $ac_status" >&5
3121  (exit $ac_status); }; }; then
3122  ac_compiler_gnu=yes
3123 else
3124  echo "$as_me: failed program was:" >&5
3125 cat conftest.$ac_ext >&5
3126 ac_compiler_gnu=no
3127 fi
3128 rm -f conftest.$ac_objext conftest.$ac_ext
3129 ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3130
3131 fi
3132 echo "$as_me:3132: result: $ac_cv_f90_compiler_gnu" >&5
3133 echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3134 ac_ext=$ac_save_ext
3135 G95=`test $ac_compiler_gnu = yes && echo yes`
3136 ac_ext=c
3137 ac_cpp='$CPP $CPPFLAGS'
3138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141
3348   # Try to determine "good" native compiler flags if none specified on command
3349   # line
3350  
3351 < if test "$ac_test_F90FLAGS" != "set"; then
3351 > if test x"$F90FLAGS" = x ; then
3352    F90FLAGS=""
3353    case "${host_cpu}-${host_os}" in
3354  
# Line 3195 | Line 3401 | echo "$as_me:3198: checking whether ${F90-f90} accepts
3401          F90FLAGS="-O3"
3402    fi
3403  
3404 < echo "$as_me:3198: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
3404 > echo "$as_me:3404: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
3405   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
3406   if test "${ac_guessed_f90flags+set}" = set; then
3407    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3209 | Line 3415 | if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
3415   echo 'program main' > conftest.$ac_ext
3416   echo 'end program main' >> conftest.$ac_ext
3417   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
3418 < if { (eval echo "$as_me:3212: \"$ac_compile\"") >&5
3418 > if { (eval echo "$as_me:3418: \"$ac_compile\"") >&5
3419    (eval $ac_compile) 2>&5
3420    ac_status=$?
3421 <  echo "$as_me:3215: \$? = $ac_status" >&5
3421 >  echo "$as_me:3421: \$? = $ac_status" >&5
3422    (exit $ac_status); }; then
3423          ac_guessed_f90flags=yes
3424   else
# Line 3226 | Line 3432 | echo "$as_me:3229: result: $ac_guessed_f90flags" >&5
3432   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433  
3434   fi
3435 < echo "$as_me:3229: result: $ac_guessed_f90flags" >&5
3435 > echo "$as_me:3435: result: $ac_guessed_f90flags" >&5
3436   echo "${ECHO_T}$ac_guessed_f90flags" >&6
3437   if test "$ac_guessed_f90flags" = yes; then
3438          :
# Line 3242 | Line 3448 | else
3448          echo "**********************************************************"
3449          echo ""
3450          F90FLAGS=""
3245
3246 fi
3247
3248 fi
3249
3250 # Try to determine native compiler flags that allow us to use F90 suffix
3251 # for preprocessed f90 source.
3252
3253 if test "$ac_test_PREPFLAG" != "set"; then
3254  PREPFLAG=""
3255  case "${host_cpu}-${host_os}" in
3256
3257  *linux*) if test "$F90" = ifc; then
3258                    PREPFLAG="-fpp1 "
3259                fi;;
3260  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3261                    PREPFLAG="-qsuffix=cpp=F90 "
3262                fi;;
3263  *darwin*)
3264        if test "$F90" = f90 -o "$F90" = xlf90; then
3265                PREPFLAG="-qsuffix=cpp=F90 "
3266        fi;;
3267  esac
3268
3269  if test -z "$PREPFLAG"; then
3270        echo ""
3271        echo "**********************************************************"
3272        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
3273        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
3274        echo "* (otherwise, an empty PREPFLAG will be used)            *"
3275        echo "**********************************************************"
3276        echo ""
3277        PREPFLAG=""
3278  fi
3279
3280  echo "$as_me:3280: checking to make sure F90 preprocessor flag works" >&5
3281 echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3282
3283  ac_ext=f90
3284 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3285 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3286 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3287
3288  ac_save_ext=$ac_ext
3289  ac_ext=F90
3290  ac_save_F90FLAGS=$F90FLAGS
3291
3292  if test "$PREPFLAG"; then
3293  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
3294 fi
3295
3296    cat >conftest.$ac_ext <<_ACEOF
3297
3298 program main
3299
3300  integer :: i
3301  i = 1
3302
3303 end program main
3304
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:3307: \"$ac_compile\"") >&5
3308  (eval $ac_compile) 2>&5
3309  ac_status=$?
3310  echo "$as_me:3310: \$? = $ac_status" >&5
3311  (exit $ac_status); } &&
3312         { ac_try='test -s conftest.$ac_objext'
3313  { (eval echo "$as_me:3313: \"$ac_try\"") >&5
3314  (eval $ac_try) 2>&5
3315  ac_status=$?
3316  echo "$as_me:3316: \$? = $ac_status" >&5
3317  (exit $ac_status); }; }; then
3318  prepflagworks=1
3319 else
3320  echo "$as_me: failed program was:" >&5
3321 cat conftest.$ac_ext >&5
3322 prepflagworks=0
3323 fi
3324 rm -f conftest.$ac_objext conftest.$ac_ext
3325
3326  F90FLAGS=$ac_save_F90FLAGS
3327  ac_ext=$ac_save_ext
3328  ac_ext=c
3329 ac_cpp='$CPP $CPPFLAGS'
3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3333
3334  if test "$prepflagworks" = 1; then
3335    echo "$as_me:3335: result: yes" >&5
3336 echo "${ECHO_T}yes" >&6
3451  
3338  else
3339    echo "$as_me:3339: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3341    { { echo "$as_me:3341: error: Can't figure out working Fortran90 preprocessor flag" >&5
3342 echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3343   { (exit 1); exit 1; }; }
3344  fi
3452   fi
3453  
3347 # Try to determine native compiler flags that allow us to use F90 suffix
3348 # for preprocessed f90 source with -D type defines
3349
3350 if test "$ac_test_PREPDEFFLAG" != "set"; then
3351  PREPDEFFLAG=""
3352  case "${host_cpu}-${host_os}" in
3353
3354  *linux*) if test "$F90" = ifc; then
3355                    PREPDEFFLAG=" "
3356                fi;;
3357  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3358                    PREPDEFFLAG="-WF,"
3359                fi;;
3360  *darwin*)
3361        if test "$F90" = f90 -o "$F90" = xlf90; then
3362                PREPDEFFLAG="-WF,"
3363        fi;;
3364  esac
3365
3366  if test -z "$PREPDEFFLAG"; then
3367        echo ""
3368        echo "*************************************************************"
3369        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
3370        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
3371        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
3372        echo "*************************************************************"
3373        echo ""
3374        PREPDEFFLAG=" "
3375  fi
3376
3377  echo "$as_me:3377: checking to make sure F90 preprocessor define flag works" >&5
3378 echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3379
3380  ac_ext=f90
3381 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3382 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3383 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3384
3385  ac_save_ext=$ac_ext
3386  ac_ext=F90
3387  ac_save_F90FLAGS=$F90FLAGS
3388
3389  if test "$PREPDEFFLAG"; then
3390  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
3454   fi
3455  
3456 <    cat >conftest.$ac_ext <<_ACEOF
3456 >     ;;
3457 > esac
3458  
3395 program main
3396
3397  integer :: i
3398 #ifdef TEST
3399  i = 1
3400 #else
3401  choke me
3402 #endif
3403
3404 end program main
3405
3406 _ACEOF
3407 rm -f conftest.$ac_objext
3408 if { (eval echo "$as_me:3408: \"$ac_compile\"") >&5
3409  (eval $ac_compile) 2>&5
3410  ac_status=$?
3411  echo "$as_me:3411: \$? = $ac_status" >&5
3412  (exit $ac_status); } &&
3413         { ac_try='test -s conftest.$ac_objext'
3414  { (eval echo "$as_me:3414: \"$ac_try\"") >&5
3415  (eval $ac_try) 2>&5
3416  ac_status=$?
3417  echo "$as_me:3417: \$? = $ac_status" >&5
3418  (exit $ac_status); }; }; then
3419  prepdefflagworks=1
3420 else
3421  echo "$as_me: failed program was:" >&5
3422 cat conftest.$ac_ext >&5
3423 prepdefflagworks=0
3424 fi
3425 rm -f conftest.$ac_objext conftest.$ac_ext
3426
3427  F90FLAGS=$ac_save_F90FLAGS
3428  ac_ext=$ac_save_ext
3429  ac_ext=c
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434
3435  if test "$prepdefflagworks" = 1; then
3436    echo "$as_me:3436: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3438
3439  else
3440    echo "$as_me:3440: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442    { { echo "$as_me:3442: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3443 echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3444   { (exit 1); exit 1; }; }
3445  fi
3446 fi
3447
3459   # Find a good install program.  We prefer a C program (faster),
3460   # so one script is as good as another.  But avoid the broken or
3461   # incompatible versions:
# Line 3457 | Line 3468 | echo "$as_me:3460: checking for a BSD compatible insta
3468   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3469   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3470   # ./install, which can be erroneously created by make from ./install.sh.
3471 < echo "$as_me:3460: checking for a BSD compatible install" >&5
3471 > echo "$as_me:3471: checking for a BSD compatible install" >&5
3472   echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3473   if test -z "$INSTALL"; then
3474   if test "${ac_cv_path_install+set}" = set; then
# Line 3506 | Line 3517 | echo "$as_me:3509: result: $INSTALL" >&5
3517      INSTALL=$ac_install_sh
3518    fi
3519   fi
3520 < echo "$as_me:3509: result: $INSTALL" >&5
3520 > echo "$as_me:3520: result: $INSTALL" >&5
3521   echo "${ECHO_T}$INSTALL" >&6
3522  
3523   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 3517 | Line 3528 | echo "$as_me:3520: checking whether ln -s works" >&5
3528  
3529   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3530  
3531 < echo "$as_me:3520: checking whether ln -s works" >&5
3531 > echo "$as_me:3531: checking whether ln -s works" >&5
3532   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3533   LN_S=$as_ln_s
3534   if test "$LN_S" = "ln -s"; then
3535 <  echo "$as_me:3524: result: yes" >&5
3535 >  echo "$as_me:3535: result: yes" >&5
3536   echo "${ECHO_T}yes" >&6
3537   else
3538 <  echo "$as_me:3527: result: no, using $LN_S" >&5
3538 >  echo "$as_me:3538: result: no, using $LN_S" >&5
3539   echo "${ECHO_T}no, using $LN_S" >&6
3540   fi
3541  
3542 < echo "$as_me:3531: checking whether ${MAKE-make} sets \${MAKE}" >&5
3542 > echo "$as_me:3542: checking whether ${MAKE-make} sets \${MAKE}" >&5
3543   echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3544   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3545   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
# Line 3548 | Line 3559 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
3559   rm -f conftest.make
3560   fi
3561   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3562 <  echo "$as_me:3551: result: yes" >&5
3562 >  echo "$as_me:3562: result: yes" >&5
3563   echo "${ECHO_T}yes" >&6
3564    SET_MAKE=
3565   else
3566 <  echo "$as_me:3555: result: no" >&5
3566 >  echo "$as_me:3566: result: no" >&5
3567   echo "${ECHO_T}no" >&6
3568    SET_MAKE="MAKE=${MAKE-make}"
3569   fi
# Line 3560 | Line 3571 | echo "$as_me:3563: checking for $ac_word" >&5
3571   if test -n "$ac_tool_prefix"; then
3572    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3573   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3574 < echo "$as_me:3563: checking for $ac_word" >&5
3574 > echo "$as_me:3574: checking for $ac_word" >&5
3575   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576   if test "${ac_cv_prog_RANLIB+set}" = set; then
3577    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3575 | Line 3586 | echo "$as_me:3578: found $ac_dir/$ac_word" >&5
3586    test -z "$ac_dir" && ac_dir=.
3587    $as_executable_p "$ac_dir/$ac_word" || continue
3588   ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3589 < echo "$as_me:3578: found $ac_dir/$ac_word" >&5
3589 > echo "$as_me:3589: found $ac_dir/$ac_word" >&5
3590   break
3591   done
3592  
# Line 3583 | Line 3594 | if test -n "$RANLIB"; then
3594   fi
3595   RANLIB=$ac_cv_prog_RANLIB
3596   if test -n "$RANLIB"; then
3597 <  echo "$as_me:3586: result: $RANLIB" >&5
3597 >  echo "$as_me:3597: result: $RANLIB" >&5
3598   echo "${ECHO_T}$RANLIB" >&6
3599   else
3600 <  echo "$as_me:3589: result: no" >&5
3600 >  echo "$as_me:3600: result: no" >&5
3601   echo "${ECHO_T}no" >&6
3602   fi
3603  
# Line 3595 | Line 3606 | echo "$as_me:3598: checking for $ac_word" >&5
3606    ac_ct_RANLIB=$RANLIB
3607    # Extract the first word of "ranlib", so it can be a program name with args.
3608   set dummy ranlib; ac_word=$2
3609 < echo "$as_me:3598: checking for $ac_word" >&5
3609 > echo "$as_me:3609: checking for $ac_word" >&5
3610   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3611   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3612    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3610 | Line 3621 | echo "$as_me:3613: found $ac_dir/$ac_word" >&5
3621    test -z "$ac_dir" && ac_dir=.
3622    $as_executable_p "$ac_dir/$ac_word" || continue
3623   ac_cv_prog_ac_ct_RANLIB="ranlib"
3624 < echo "$as_me:3613: found $ac_dir/$ac_word" >&5
3624 > echo "$as_me:3624: found $ac_dir/$ac_word" >&5
3625   break
3626   done
3627  
# Line 3619 | Line 3630 | if test -n "$ac_ct_RANLIB"; then
3630   fi
3631   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3632   if test -n "$ac_ct_RANLIB"; then
3633 <  echo "$as_me:3622: result: $ac_ct_RANLIB" >&5
3633 >  echo "$as_me:3633: result: $ac_ct_RANLIB" >&5
3634   echo "${ECHO_T}$ac_ct_RANLIB" >&6
3635   else
3636 <  echo "$as_me:3625: result: no" >&5
3636 >  echo "$as_me:3636: result: no" >&5
3637   echo "${ECHO_T}no" >&6
3638   fi
3639  
# Line 3635 | Line 3646 | echo "$as_me:3638: checking for $ac_word" >&5
3646   do
3647    # Extract the first word of "$ac_prog", so it can be a program name with args.
3648   set dummy $ac_prog; ac_word=$2
3649 < echo "$as_me:3638: checking for $ac_word" >&5
3649 > echo "$as_me:3649: checking for $ac_word" >&5
3650   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3651   if test "${ac_cv_prog_YACC+set}" = set; then
3652    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3650 | Line 3661 | echo "$as_me:3653: found $ac_dir/$ac_word" >&5
3661    test -z "$ac_dir" && ac_dir=.
3662    $as_executable_p "$ac_dir/$ac_word" || continue
3663   ac_cv_prog_YACC="$ac_prog"
3664 < echo "$as_me:3653: found $ac_dir/$ac_word" >&5
3664 > echo "$as_me:3664: found $ac_dir/$ac_word" >&5
3665   break
3666   done
3667  
# Line 3658 | Line 3669 | if test -n "$YACC"; then
3669   fi
3670   YACC=$ac_cv_prog_YACC
3671   if test -n "$YACC"; then
3672 <  echo "$as_me:3661: result: $YACC" >&5
3672 >  echo "$as_me:3672: result: $YACC" >&5
3673   echo "${ECHO_T}$YACC" >&6
3674   else
3675 <  echo "$as_me:3664: result: no" >&5
3675 >  echo "$as_me:3675: result: no" >&5
3676   echo "${ECHO_T}no" >&6
3677   fi
3678  
# Line 3673 | Line 3684 | echo "$as_me:3676: checking for $ac_word" >&5
3684   do
3685    # Extract the first word of "$ac_prog", so it can be a program name with args.
3686   set dummy $ac_prog; ac_word=$2
3687 < echo "$as_me:3676: checking for $ac_word" >&5
3687 > echo "$as_me:3687: checking for $ac_word" >&5
3688   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3689   if test "${ac_cv_prog_LEX+set}" = set; then
3690    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3688 | Line 3699 | echo "$as_me:3691: found $ac_dir/$ac_word" >&5
3699    test -z "$ac_dir" && ac_dir=.
3700    $as_executable_p "$ac_dir/$ac_word" || continue
3701   ac_cv_prog_LEX="$ac_prog"
3702 < echo "$as_me:3691: found $ac_dir/$ac_word" >&5
3702 > echo "$as_me:3702: found $ac_dir/$ac_word" >&5
3703   break
3704   done
3705  
# Line 3696 | Line 3707 | if test -n "$LEX"; then
3707   fi
3708   LEX=$ac_cv_prog_LEX
3709   if test -n "$LEX"; then
3710 <  echo "$as_me:3699: result: $LEX" >&5
3710 >  echo "$as_me:3710: result: $LEX" >&5
3711   echo "${ECHO_T}$LEX" >&6
3712   else
3713 <  echo "$as_me:3702: result: no" >&5
3713 >  echo "$as_me:3713: result: no" >&5
3714   echo "${ECHO_T}no" >&6
3715   fi
3716  
# Line 3709 | Line 3720 | then
3720  
3721   if test -z "$LEXLIB"
3722   then
3723 <  echo "$as_me:3712: checking for yywrap in -lfl" >&5
3723 >  echo "$as_me:3723: checking for yywrap in -lfl" >&5
3724   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3725   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3726    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3717 | Line 3728 | cat >conftest.$ac_ext <<_ACEOF
3728    ac_check_lib_save_LIBS=$LIBS
3729   LIBS="-lfl  $LIBS"
3730   cat >conftest.$ac_ext <<_ACEOF
3731 < #line 3720 "configure"
3731 > #line 3731 "configure"
3732   #include "confdefs.h"
3733  
3734   /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3736 | Line 3747 | if { (eval echo "$as_me:3739: \"$ac_link\"") >&5
3747   }
3748   _ACEOF
3749   rm -f conftest.$ac_objext conftest$ac_exeext
3750 < if { (eval echo "$as_me:3739: \"$ac_link\"") >&5
3750 > if { (eval echo "$as_me:3750: \"$ac_link\"") >&5
3751    (eval $ac_link) 2>&5
3752    ac_status=$?
3753 <  echo "$as_me:3742: \$? = $ac_status" >&5
3753 >  echo "$as_me:3753: \$? = $ac_status" >&5
3754    (exit $ac_status); } &&
3755           { ac_try='test -s conftest$ac_exeext'
3756 <  { (eval echo "$as_me:3745: \"$ac_try\"") >&5
3756 >  { (eval echo "$as_me:3756: \"$ac_try\"") >&5
3757    (eval $ac_try) 2>&5
3758    ac_status=$?
3759 <  echo "$as_me:3748: \$? = $ac_status" >&5
3759 >  echo "$as_me:3759: \$? = $ac_status" >&5
3760    (exit $ac_status); }; }; then
3761    ac_cv_lib_fl_yywrap=yes
3762   else
# Line 3756 | Line 3767 | echo "$as_me:3759: result: $ac_cv_lib_fl_yywrap" >&5
3767   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3768   LIBS=$ac_check_lib_save_LIBS
3769   fi
3770 < echo "$as_me:3759: result: $ac_cv_lib_fl_yywrap" >&5
3770 > echo "$as_me:3770: result: $ac_cv_lib_fl_yywrap" >&5
3771   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3772   if test $ac_cv_lib_fl_yywrap = yes; then
3773    LEXLIB="-lfl"
3774   else
3775 <  echo "$as_me:3764: checking for yywrap in -ll" >&5
3775 >  echo "$as_me:3775: checking for yywrap in -ll" >&5
3776   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3777   if test "${ac_cv_lib_l_yywrap+set}" = set; then
3778    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3769 | Line 3780 | cat >conftest.$ac_ext <<_ACEOF
3780    ac_check_lib_save_LIBS=$LIBS
3781   LIBS="-ll  $LIBS"
3782   cat >conftest.$ac_ext <<_ACEOF
3783 < #line 3772 "configure"
3783 > #line 3783 "configure"
3784   #include "confdefs.h"
3785  
3786   /* Override any gcc2 internal prototype to avoid an error.  */
# Line 3788 | Line 3799 | if { (eval echo "$as_me:3791: \"$ac_link\"") >&5
3799   }
3800   _ACEOF
3801   rm -f conftest.$ac_objext conftest$ac_exeext
3802 < if { (eval echo "$as_me:3791: \"$ac_link\"") >&5
3802 > if { (eval echo "$as_me:3802: \"$ac_link\"") >&5
3803    (eval $ac_link) 2>&5
3804    ac_status=$?
3805 <  echo "$as_me:3794: \$? = $ac_status" >&5
3805 >  echo "$as_me:3805: \$? = $ac_status" >&5
3806    (exit $ac_status); } &&
3807           { ac_try='test -s conftest$ac_exeext'
3808 <  { (eval echo "$as_me:3797: \"$ac_try\"") >&5
3808 >  { (eval echo "$as_me:3808: \"$ac_try\"") >&5
3809    (eval $ac_try) 2>&5
3810    ac_status=$?
3811 <  echo "$as_me:3800: \$? = $ac_status" >&5
3811 >  echo "$as_me:3811: \$? = $ac_status" >&5
3812    (exit $ac_status); }; }; then
3813    ac_cv_lib_l_yywrap=yes
3814   else
# Line 3808 | Line 3819 | echo "$as_me:3811: result: $ac_cv_lib_l_yywrap" >&5
3819   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3820   LIBS=$ac_check_lib_save_LIBS
3821   fi
3822 < echo "$as_me:3811: result: $ac_cv_lib_l_yywrap" >&5
3822 > echo "$as_me:3822: result: $ac_cv_lib_l_yywrap" >&5
3823   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3824   if test $ac_cv_lib_l_yywrap = yes; then
3825    LEXLIB="-ll"
# Line 3819 | Line 3830 | if test "x$LEX" != "x:"; then
3830   fi
3831  
3832   if test "x$LEX" != "x:"; then
3833 <  echo "$as_me:3822: checking lex output file root" >&5
3833 >  echo "$as_me:3833: checking lex output file root" >&5
3834   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3835   if test "${ac_cv_prog_lex_root+set}" = set; then
3836    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3833 | Line 3844 | else
3844   elif test -f lexyy.c; then
3845    ac_cv_prog_lex_root=lexyy
3846   else
3847 <  { { echo "$as_me:3836: error: cannot find output from $LEX; giving up" >&5
3847 >  { { echo "$as_me:3847: error: cannot find output from $LEX; giving up" >&5
3848   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3849     { (exit 1); exit 1; }; }
3850   fi
3851   fi
3852 < echo "$as_me:3841: result: $ac_cv_prog_lex_root" >&5
3852 > echo "$as_me:3852: result: $ac_cv_prog_lex_root" >&5
3853   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3854   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3855  
3856 < echo "$as_me:3845: checking whether yytext is a pointer" >&5
3856 > echo "$as_me:3856: checking whether yytext is a pointer" >&5
3857   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3858   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3859    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3858 | Line 3869 | if { (eval echo "$as_me:3861: \"$ac_link\"") >&5
3869   `cat $LEX_OUTPUT_ROOT.c`
3870   _ACEOF
3871   rm -f conftest.$ac_objext conftest$ac_exeext
3872 < if { (eval echo "$as_me:3861: \"$ac_link\"") >&5
3872 > if { (eval echo "$as_me:3872: \"$ac_link\"") >&5
3873    (eval $ac_link) 2>&5
3874    ac_status=$?
3875 <  echo "$as_me:3864: \$? = $ac_status" >&5
3875 >  echo "$as_me:3875: \$? = $ac_status" >&5
3876    (exit $ac_status); } &&
3877           { ac_try='test -s conftest$ac_exeext'
3878 <  { (eval echo "$as_me:3867: \"$ac_try\"") >&5
3878 >  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
3879    (eval $ac_try) 2>&5
3880    ac_status=$?
3881 <  echo "$as_me:3870: \$? = $ac_status" >&5
3881 >  echo "$as_me:3881: \$? = $ac_status" >&5
3882    (exit $ac_status); }; }; then
3883    ac_cv_prog_lex_yytext_pointer=yes
3884   else
# Line 3879 | Line 3890 | echo "$as_me:3882: result: $ac_cv_prog_lex_yytext_poin
3890   rm -f "${LEX_OUTPUT_ROOT}.c"
3891  
3892   fi
3893 < echo "$as_me:3882: result: $ac_cv_prog_lex_yytext_pointer" >&5
3893 > echo "$as_me:3893: result: $ac_cv_prog_lex_yytext_pointer" >&5
3894   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3895   if test $ac_cv_prog_lex_yytext_pointer = yes; then
3896  
# Line 3892 | Line 3903 | echo "$as_me:3895: checking for $ac_word" >&5
3903   fi
3904   # Extract the first word of "ar", so it can be a program name with args.
3905   set dummy ar; ac_word=$2
3906 < echo "$as_me:3895: checking for $ac_word" >&5
3906 > echo "$as_me:3906: checking for $ac_word" >&5
3907   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908   if test "${ac_cv_prog_AR+set}" = set; then
3909    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3907 | Line 3918 | echo "$as_me:3910: found $ac_dir/$ac_word" >&5
3918    test -z "$ac_dir" && ac_dir=.
3919    $as_executable_p "$ac_dir/$ac_word" || continue
3920   ac_cv_prog_AR="ar"
3921 < echo "$as_me:3910: found $ac_dir/$ac_word" >&5
3921 > echo "$as_me:3921: found $ac_dir/$ac_word" >&5
3922   break
3923   done
3924  
# Line 3916 | Line 3927 | if test -n "$AR"; then
3927   fi
3928   AR=$ac_cv_prog_AR
3929   if test -n "$AR"; then
3930 <  echo "$as_me:3919: result: $AR" >&5
3930 >  echo "$as_me:3930: result: $AR" >&5
3931   echo "${ECHO_T}$AR" >&6
3932   else
3933 <  echo "$as_me:3922: result: no" >&5
3933 >  echo "$as_me:3933: result: no" >&5
3934   echo "${ECHO_T}no" >&6
3935   fi
3936  
3937   if test "$AR" = "NONE"; then
3938 <  { { echo "$as_me:3927: error: --> Can't find \`ar'!" >&5
3938 >  { { echo "$as_me:3938: error: --> Can't find \`ar'!" >&5
3939   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
3940     { (exit 1); exit 1; }; }
3941    cat >confcache <<\_ACEOF
# Line 3993 | Line 4004 | echo "$as_me:3996: checking how to get verbose linking
4004   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4005   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4006   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4007 < echo "$as_me:3996: checking how to get verbose linking output from $F90" >&5
4007 > echo "$as_me:4007: checking how to get verbose linking output from $F90" >&5
4008   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
4009   if test "${ac_cv_prog_f90_v+set}" = set; then
4010    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4007 | Line 4018 | if { (eval echo "$as_me:4010: \"$ac_compile\"") >&5
4018  
4019   _ACEOF
4020   rm -f conftest.$ac_objext
4021 < if { (eval echo "$as_me:4010: \"$ac_compile\"") >&5
4021 > if { (eval echo "$as_me:4021: \"$ac_compile\"") >&5
4022    (eval $ac_compile) 2>&5
4023    ac_status=$?
4024 <  echo "$as_me:4013: \$? = $ac_status" >&5
4024 >  echo "$as_me:4024: \$? = $ac_status" >&5
4025    (exit $ac_status); } &&
4026           { ac_try='test -s conftest.$ac_objext'
4027 <  { (eval echo "$as_me:4016: \"$ac_try\"") >&5
4027 >  { (eval echo "$as_me:4027: \"$ac_try\"") >&5
4028    (eval $ac_try) 2>&5
4029    ac_status=$?
4030 <  echo "$as_me:4019: \$? = $ac_status" >&5
4030 >  echo "$as_me:4030: \$? = $ac_status" >&5
4031    (exit $ac_status); }; }; then
4032    ac_cv_prog_f90_v=
4033   # Try some options frequently used verbose output
# Line 4041 | Line 4052 | F90FLAGS="$F90FLAGS $ac_verb"
4052   ac_save_F90FLAGS=$F90FLAGS
4053   F90FLAGS="$F90FLAGS $ac_verb"
4054  
4055 < (eval echo $as_me:4044: \"$ac_link\") >&5
4055 > (eval echo $as_me:4055: \"$ac_link\") >&5
4056   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4057   echo "$ac_f90_v_output" >&5
4058   F90FLAGS=$ac_save_F90FLAGS
# Line 4073 | Line 4084 | if test -z "$ac_cv_prog_f90_v"; then
4084    done
4085   done
4086   if test -z "$ac_cv_prog_f90_v"; then
4087 <   { echo "$as_me:4076: WARNING: cannot determine how to obtain linking information from $F90" >&5
4087 >   { echo "$as_me:4087: WARNING: cannot determine how to obtain linking information from $F90" >&5
4088   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
4089   fi
4090   else
4091    echo "$as_me: failed program was:" >&5
4092   cat conftest.$ac_ext >&5
4093 < { echo "$as_me:4082: WARNING: compilation failed" >&5
4093 > { echo "$as_me:4093: WARNING: compilation failed" >&5
4094   echo "$as_me: WARNING: compilation failed" >&2;}
4095   fi
4096   rm -f conftest.$ac_objext conftest.$ac_ext
4097  
4098   fi
4099 < echo "$as_me:4088: result: $ac_cv_prog_f90_v" >&5
4099 > echo "$as_me:4099: result: $ac_cv_prog_f90_v" >&5
4100   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
4101 < echo "$as_me:4090: checking for Fortran 90 libraries" >&5
4101 > echo "$as_me:4101: checking for Fortran 90 libraries" >&5
4102   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
4103   if test "${ac_cv_flibs+set}" = set; then
4104    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4116 | Line 4127 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4127   ac_save_F90FLAGS=$F90FLAGS
4128   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4129  
4130 < (eval echo $as_me:4119: \"$ac_link\") >&5
4130 > (eval echo $as_me:4130: \"$ac_link\") >&5
4131   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4132   echo "$ac_f90_v_output" >&5
4133   F90FLAGS=$ac_save_F90FLAGS
# Line 4269 | Line 4280 | echo "$as_me:4272: result: $ac_cv_flibs" >&5
4280   fi # test "x$F90LIBS" = "x"
4281  
4282   fi
4283 < echo "$as_me:4272: result: $ac_cv_flibs" >&5
4283 > echo "$as_me:4283: result: $ac_cv_flibs" >&5
4284   echo "${ECHO_T}$ac_cv_flibs" >&6
4285   F90LIBS="$ac_cv_f90libs"
4286  
# Line 4278 | Line 4289 | echo "$as_me:4281: checking for Fortran 90 name-mangli
4289   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4291  
4292 < echo "$as_me:4281: checking for Fortran 90 name-mangling scheme" >&5
4292 > echo "$as_me:4292: checking for Fortran 90 name-mangling scheme" >&5
4293   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
4294   if test "${ac_cv_f90_mangling+set}" = set; then
4295    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4296 | Line 4307 | if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5
4307   end
4308   _ACEOF
4309   rm -f conftest.$ac_objext
4310 < if { (eval echo "$as_me:4299: \"$ac_compile\"") >&5
4310 > if { (eval echo "$as_me:4310: \"$ac_compile\"") >&5
4311    (eval $ac_compile) 2>&5
4312    ac_status=$?
4313 <  echo "$as_me:4302: \$? = $ac_status" >&5
4313 >  echo "$as_me:4313: \$? = $ac_status" >&5
4314    (exit $ac_status); } &&
4315           { ac_try='test -s conftest.$ac_objext'
4316 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
4316 >  { (eval echo "$as_me:4316: \"$ac_try\"") >&5
4317    (eval $ac_try) 2>&5
4318    ac_status=$?
4319 <  echo "$as_me:4308: \$? = $ac_status" >&5
4319 >  echo "$as_me:4319: \$? = $ac_status" >&5
4320    (exit $ac_status); }; }; then
4321    mv conftest.$ac_objext cf90_test.$ac_objext
4322  
# Line 4323 | Line 4334 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334      for ac_underscore in "" "_"; do
4335        ac_func="$ac_foobar$ac_underscore"
4336        cat >conftest.$ac_ext <<_ACEOF
4337 < #line 4326 "configure"
4337 > #line 4337 "configure"
4338   #include "confdefs.h"
4339  
4340   /* Override any gcc2 internal prototype to avoid an error.  */
# Line 4342 | Line 4353 | if { (eval echo "$as_me:4345: \"$ac_link\"") >&5
4353   }
4354   _ACEOF
4355   rm -f conftest.$ac_objext conftest$ac_exeext
4356 < if { (eval echo "$as_me:4345: \"$ac_link\"") >&5
4356 > if { (eval echo "$as_me:4356: \"$ac_link\"") >&5
4357    (eval $ac_link) 2>&5
4358    ac_status=$?
4359 <  echo "$as_me:4348: \$? = $ac_status" >&5
4359 >  echo "$as_me:4359: \$? = $ac_status" >&5
4360    (exit $ac_status); } &&
4361           { ac_try='test -s conftest$ac_exeext'
4362 <  { (eval echo "$as_me:4351: \"$ac_try\"") >&5
4362 >  { (eval echo "$as_me:4362: \"$ac_try\"") >&5
4363    (eval $ac_try) 2>&5
4364    ac_status=$?
4365 <  echo "$as_me:4354: \$? = $ac_status" >&5
4365 >  echo "$as_me:4365: \$? = $ac_status" >&5
4366    (exit $ac_status); }; }; then
4367    ac_success=yes; break 2
4368   else
# Line 4379 | Line 4390 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
4390          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4391  
4392          cat >conftest.$ac_ext <<_ACEOF
4393 < #line 4382 "configure"
4393 > #line 4393 "configure"
4394   #include "confdefs.h"
4395  
4396   /* Override any gcc2 internal prototype to avoid an error.  */
# Line 4398 | Line 4409 | if { (eval echo "$as_me:4401: \"$ac_link\"") >&5
4409   }
4410   _ACEOF
4411   rm -f conftest.$ac_objext conftest$ac_exeext
4412 < if { (eval echo "$as_me:4401: \"$ac_link\"") >&5
4412 > if { (eval echo "$as_me:4412: \"$ac_link\"") >&5
4413    (eval $ac_link) 2>&5
4414    ac_status=$?
4415 <  echo "$as_me:4404: \$? = $ac_status" >&5
4415 >  echo "$as_me:4415: \$? = $ac_status" >&5
4416    (exit $ac_status); } &&
4417           { ac_try='test -s conftest$ac_exeext'
4418 <  { (eval echo "$as_me:4407: \"$ac_try\"") >&5
4418 >  { (eval echo "$as_me:4418: \"$ac_try\"") >&5
4419    (eval $ac_try) 2>&5
4420    ac_status=$?
4421 <  echo "$as_me:4410: \$? = $ac_status" >&5
4421 >  echo "$as_me:4421: \$? = $ac_status" >&5
4422    (exit $ac_status); }; }; then
4423    ac_success_extra=yes; break
4424   else
# Line 4455 | Line 4466 | echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5
4466   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4467  
4468   fi
4469 < echo "$as_me:4458: result: $ac_cv_f90_mangling" >&5
4469 > echo "$as_me:4469: result: $ac_cv_f90_mangling" >&5
4470   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4471  
4472   case $ac_cv_f90_mangling in
# Line 4532 | Line 4543 | EOF
4543   EOF
4544   ;;
4545    *)
4546 <          { echo "$as_me:4535: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4546 >          { echo "$as_me:4546: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4547   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4548            ;;
4549   esac
4550  
4551 < echo "$as_me:4540: checking for mpi-directory" >&5
4551 > echo "$as_me:4551: checking for module suffix" >&5
4552 > echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4553 > rm -f conftest*
4554 > # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
4555 > rm -f work*
4556 > cat >conftest.f <<EOF
4557 >        module conftest
4558 >        integer n
4559 >        parameter (n=1)
4560 >        end module conftest
4561 > EOF
4562 > # SGI and absoft compilers generates module name in upper case!
4563 > testname="conftest"
4564 > modcase="lower"
4565 > if $F90 -c conftest.f > conftest.out 2>&1 ; then
4566 >    MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o`
4567 >    MOD=`echo "$MOD" | sed -e 's/conftest\.//g'`
4568 >    if test -z "$MOD" ; then
4569 >        MOD=`ls CONFTEST* 2>/dev/null \
4570 >                | grep -v CONFTEST.f | grep -v CONFTEST.o`
4571 >        MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'`
4572 >        if test -n "$MOD" ; then
4573 >            testname="CONFTEST"
4574 >            modcase="upper"
4575 >        fi
4576 >    fi
4577 >    if test -z "$MOD" ; then
4578 >        echo "$as_me:4578: result: unknown" >&5
4579 > echo "${ECHO_T}unknown" >&6
4580 >        # Use mod if we can't figure it out
4581 >        MOD="mod"
4582 >    else
4583 >        echo "$as_me:4583: result: $MOD" >&5
4584 > echo "${ECHO_T}$MOD" >&6
4585 >    fi
4586 >    if test -s work.pcl ; then
4587 >        { echo "$as_me:4587: WARNING: Compiler generates auxillery files!" >&5
4588 > echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4589 >    fi
4590 > else
4591 >    echo "$as_me:4591: result: unknown" >&5
4592 > echo "${ECHO_T}unknown" >&6
4593 > fi
4594 >
4595 > # Check for module include path (some use -I, some (Solaris) use -M, some
4596 > # (absoft) use -p).
4597 > # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4598 > # specified, work.pcl and work.pc are created.  However, if you specify
4599 > # a file, it must contain a the name of a file ending in .pc .  Ugh!
4600 > # Use the module made above
4601 > echo "$as_me:4601: checking for module directory path flag" >&5
4602 > echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4603 > madedir=0
4604 > if test ! -d conf ; then mkdir conf ; madedir=1; fi
4605 > cp $testname.$MOD conf
4606 > rm -f conftest* CONFTEST*
4607 > cat >conftest1.f <<EOF
4608 >        program main
4609 >        use conftest
4610 >        print *, n
4611 >        end
4612 > EOF
4613 > F90_WORK_FILES_ARG=""
4614 > F90MODINCSPEC=""
4615 > if $F90 -c -Iconf conftest1.f > conftest.out 2>&1 ; then
4616 >    MODDIRFLAG="-I"
4617 >    F90MODINCSPEC="-I<dir>"
4618 >    echo "$as_me:4618: result: -I" >&5
4619 > echo "${ECHO_T}-I" >&6
4620 > elif $F90 -c -Mconf conftest1.f >> conftest.out 2>&1 ; then
4621 >    MODDIRFLAG="-M"
4622 >    F90MODINCSPEC="-M<dir>"
4623 >    echo "$as_me:4623: result: -M" >&5
4624 > echo "${ECHO_T}-M" >&6
4625 > elif $F90 -c -pconf conftest1.f >> conftest.out 2>&1 ; then
4626 >    MODDIRFLAG="-p"
4627 >    F90MODINCSPEC="-p<dir>"
4628 >    echo "$as_me:4628: result: -p" >&5
4629 > echo "${ECHO_T}-p" >&6
4630 > elif test -s work.pc ; then
4631 >     cp work.pc conf/mpimod.pc
4632 >     echo "mpimod.pc" > conf/mpimod.pcl
4633 >     echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4634 >     if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4635 >         MODDIRFLAG='-cl,mpimod.pcl'
4636 >         echo "$as_me:4636: result: -cl,filename where filename contains a list of files and
4637 > directories" >&5
4638 > echo "${ECHO_T}-cl,filename where filename contains a list of files and
4639 > directories" >&6
4640 >         F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4641 >         F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
4642 >
4643 >     else
4644 >         # The version of the Intel compiler that I have refuses to let
4645 >         # you put the "work catalog" list anywhere but the current directory.
4646 >         # For example, you cannot in
4647 >         :
4648 >     fi
4649 > fi
4650 > if test -z "MODDIRFLAG" ; then
4651 >    echo "$as_me:4651: result: unknown" >&5
4652 > echo "${ECHO_T}unknown" >&6
4653 > fi
4654 >
4655 > rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4656 > if test $madedir = 1 ; then rmdir conf ; fi
4657 >
4658 > echo "$as_me:4658: checking for mpi-directory" >&5
4659   echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
4660  
4661   # Check whether --with-mpi_dir or --without-mpi_dir was given.
# Line 4547 | Line 4665 | echo "$as_me:4550: result: $MPI_DIR" >&5
4665   else
4666    MPI_DIR="/usr/local"
4667   fi;
4668 < echo "$as_me:4550: result: $MPI_DIR" >&5
4668 > echo "$as_me:4668: result: $MPI_DIR" >&5
4669   echo "${ECHO_T}$MPI_DIR" >&6
4670  
4671 < echo "$as_me:4553: checking for mpi-lib-directory" >&5
4671 > echo "$as_me:4671: checking for mpi-lib-directory" >&5
4672   echo $ECHO_N "checking for mpi-lib-directory... $ECHO_C" >&6
4673  
4674   # Check whether --with-mpi_libdir or --without-mpi_libdir was given.
# Line 4560 | Line 4678 | echo "$as_me:4563: result: $MPI_LIBDIR" >&5
4678   else
4679    MPI_LIBDIR="$MPI_DIR/lib"
4680   fi;
4681 < echo "$as_me:4563: result: $MPI_LIBDIR" >&5
4681 > echo "$as_me:4681: result: $MPI_LIBDIR" >&5
4682   echo "${ECHO_T}$MPI_LIBDIR" >&6
4683  
4684 < echo "$as_me:4566: checking for mpi-inc-directory" >&5
4684 > echo "$as_me:4684: checking for mpi-inc-directory" >&5
4685   echo $ECHO_N "checking for mpi-inc-directory... $ECHO_C" >&6
4686  
4687   # Check whether --with-mpi_inc or --without-mpi_inc was given.
# Line 4573 | Line 4691 | echo "$as_me:4576: result: $MPI_INC" >&5
4691   else
4692    MPI_INC="$MPI_DIR/include"
4693   fi;
4694 < echo "$as_me:4576: result: $MPI_INC" >&5
4694 > echo "$as_me:4694: result: $MPI_INC" >&5
4695   echo "${ECHO_T}$MPI_INC" >&6
4696  
4697 < echo "$as_me:4579: checking for MPI library" >&5
4697 > echo "$as_me:4697: checking for MPI library" >&5
4698   echo $ECHO_N "checking for MPI library... $ECHO_C" >&6
4699   MPI_LIB=""
4700   case "$host" in
4701    *-ibm-aix*)
4702 <    echo "$as_me:4584: checking whether to use signal-based MPI library" >&5
4702 >    echo "$as_me:4702: checking whether to use signal-based MPI library" >&5
4703   echo $ECHO_N "checking whether to use signal-based MPI library... $ECHO_C" >&6
4704 <    echo "$as_me:4586: result: $PACX_SIGNAL" >&5
4704 >    echo "$as_me:4704: result: $PACX_SIGNAL" >&5
4705   echo "${ECHO_T}$PACX_SIGNAL" >&6
4706      if test "x$PACX_SIGNAL" = "xyes" ; then
4707        if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4593 | Line 4711 | echo "${ECHO_T}$PACX_SIGNAL" >&6
4711        elif test -f "$MPI_LIBDIR/libmpich.a" ; then
4712          MPI_LIB="-lmpich"
4713        else
4714 <        { { echo "$as_me:4596: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4714 >        { { echo "$as_me:4714: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4715   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
4716     { (exit 1); exit 1; }; }
4717        fi
# Line 4601 | Line 4719 | echo "$as_me: error: neither libmpi nor libmpich found
4719        if test -f "$MPI_LIBDIR/libmpi_r.a" ; then
4720           MPI_LIB="-lmpi_r"
4721        else
4722 <         { { echo "$as_me:4604: error: libmpi_r not found; check path for MPI package..." >&5
4722 >         { { echo "$as_me:4722: error: libmpi_r not found; check path for MPI package..." >&5
4723   echo "$as_me: error: libmpi_r not found; check path for MPI package..." >&2;}
4724     { (exit 1); exit 1; }; }
4725        fi
4726      fi
4727 <    echo "$as_me:4609: result: found $MPI_LIB" >&5
4727 >    echo "$as_me:4727: result: found $MPI_LIB" >&5
4728   echo "${ECHO_T}found $MPI_LIB" >&6
4729    ;;
4730    *)                             if test -f "$MPI_LIBDIR/libmpi.a" ; then
# Line 4616 | Line 4734 | echo "${ECHO_T}found $MPI_LIB" >&6
4734      elif test -f "$MPI_LIBDIR/libmpich.a" ; then
4735        MPI_LIB="-lmpich"
4736      else
4737 <      { { echo "$as_me:4619: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4737 >      { { echo "$as_me:4737: error: neither libmpi nor libmpich found; check path for MPI package first..." >&5
4738   echo "$as_me: error: neither libmpi nor libmpich found; check path for MPI package first..." >&2;}
4739     { (exit 1); exit 1; }; }
4740      fi
4741 <    echo "$as_me:4623: result: found $MPI_LIB" >&5
4741 >    echo "$as_me:4741: result: found $MPI_LIB" >&5
4742   echo "${ECHO_T}found $MPI_LIB" >&6
4743    ;;
4744   esac
# Line 4629 | Line 4747 | echo "$as_me:4632: checking for $ac_word" >&5
4747   do
4748    # Extract the first word of "$ac_prog", so it can be a program name with args.
4749   set dummy $ac_prog; ac_word=$2
4750 < echo "$as_me:4632: checking for $ac_word" >&5
4750 > echo "$as_me:4750: checking for $ac_word" >&5
4751   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4752   if test "${ac_cv_prog_MPIF90+set}" = set; then
4753    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4644 | Line 4762 | echo "$as_me:4647: found $ac_dir/$ac_word" >&5
4762    test -z "$ac_dir" && ac_dir=.
4763    $as_executable_p "$ac_dir/$ac_word" || continue
4764   ac_cv_prog_MPIF90="$ac_prog"
4765 < echo "$as_me:4647: found $ac_dir/$ac_word" >&5
4765 > echo "$as_me:4765: found $ac_dir/$ac_word" >&5
4766   break
4767   done
4768  
# Line 4652 | Line 4770 | if test -n "$MPIF90"; then
4770   fi
4771   MPIF90=$ac_cv_prog_MPIF90
4772   if test -n "$MPIF90"; then
4773 <  echo "$as_me:4655: result: $MPIF90" >&5
4773 >  echo "$as_me:4773: result: $MPIF90" >&5
4774   echo "${ECHO_T}$MPIF90" >&6
4775   else
4776 <  echo "$as_me:4658: result: no" >&5
4776 >  echo "$as_me:4776: result: no" >&5
4777   echo "${ECHO_T}no" >&6
4778   fi
4779  
# Line 4667 | Line 4785 | if test x = x"$MPILIBS"; then
4785          F90="$MPIF90"
4786  
4787   if test x = x"$MPILIBS"; then
4788 <        echo "$as_me:4670: checking for MPI_Init" >&5
4788 >        echo "$as_me:4788: checking for MPI_Init" >&5
4789   echo $ECHO_N "checking for MPI_Init... $ECHO_C" >&6
4790                          cat >conftest.$ac_ext <<_ACEOF
4791  
# Line 4678 | Line 4796 | if { (eval echo "$as_me:4681: \"$ac_link\"") >&5
4796  
4797   _ACEOF
4798   rm -f conftest.$ac_objext conftest$ac_exeext
4799 < if { (eval echo "$as_me:4681: \"$ac_link\"") >&5
4799 > if { (eval echo "$as_me:4799: \"$ac_link\"") >&5
4800    (eval $ac_link) 2>&5
4801    ac_status=$?
4802 <  echo "$as_me:4684: \$? = $ac_status" >&5
4802 >  echo "$as_me:4802: \$? = $ac_status" >&5
4803    (exit $ac_status); } &&
4804           { ac_try='test -s conftest$ac_exeext'
4805 <  { (eval echo "$as_me:4687: \"$ac_try\"") >&5
4805 >  { (eval echo "$as_me:4805: \"$ac_try\"") >&5
4806    (eval $ac_try) 2>&5
4807    ac_status=$?
4808 <  echo "$as_me:4690: \$? = $ac_status" >&5
4808 >  echo "$as_me:4808: \$? = $ac_status" >&5
4809    (exit $ac_status); }; }; then
4810    MPILIBS=" "
4811 <                                echo "$as_me:4693: result: yes" >&5
4811 >                                echo "$as_me:4811: result: yes" >&5
4812   echo "${ECHO_T}yes" >&6
4813   else
4814    echo "$as_me: failed program was:" >&5
4815   cat conftest.$ac_ext >&5
4816 < echo "$as_me:4698: result: no" >&5
4816 > echo "$as_me:4816: result: no" >&5
4817   echo "${ECHO_T}no" >&6
4818   fi
4819   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4820   fi
4821   if test x = x"$MPILIBS"; then
4822 <        echo "$as_me:4704: checking for MPI_Init in -lmpi" >&5
4822 >        echo "$as_me:4822: checking for MPI_Init in -lmpi" >&5
4823   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
4824   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
4825    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4717 | Line 4835 | if { (eval echo "$as_me:4720: \"$ac_link\"") >&5
4835  
4836   _ACEOF
4837   rm -f conftest.$ac_objext conftest$ac_exeext
4838 < if { (eval echo "$as_me:4720: \"$ac_link\"") >&5
4838 > if { (eval echo "$as_me:4838: \"$ac_link\"") >&5
4839    (eval $ac_link) 2>&5
4840    ac_status=$?
4841 <  echo "$as_me:4723: \$? = $ac_status" >&5
4841 >  echo "$as_me:4841: \$? = $ac_status" >&5
4842    (exit $ac_status); } &&
4843           { ac_try='test -s conftest$ac_exeext'
4844 <  { (eval echo "$as_me:4726: \"$ac_try\"") >&5
4844 >  { (eval echo "$as_me:4844: \"$ac_try\"") >&5
4845    (eval $ac_try) 2>&5
4846    ac_status=$?
4847 <  echo "$as_me:4729: \$? = $ac_status" >&5
4847 >  echo "$as_me:4847: \$? = $ac_status" >&5
4848    (exit $ac_status); }; }; then
4849    ac_cv_lib_mpi_MPI_Init=yes
4850   else
# Line 4737 | Line 4855 | echo "$as_me:4740: result: $ac_cv_lib_mpi_MPI_Init" >&
4855   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4856   LIBS=$ac_check_lib_save_LIBS
4857   fi
4858 < echo "$as_me:4740: result: $ac_cv_lib_mpi_MPI_Init" >&5
4858 > echo "$as_me:4858: result: $ac_cv_lib_mpi_MPI_Init" >&5
4859   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
4860   if test $ac_cv_lib_mpi_MPI_Init = yes; then
4861    MPILIBS="-lmpi"
# Line 4745 | Line 4863 | if test x = x"$MPILIBS"; then
4863  
4864   fi
4865   if test x = x"$MPILIBS"; then
4866 <        echo "$as_me:4748: checking for MPI_Init in -lmpich" >&5
4866 >        echo "$as_me:4866: checking for MPI_Init in -lmpich" >&5
4867   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
4868   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
4869    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4761 | Line 4879 | if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
4879  
4880   _ACEOF
4881   rm -f conftest.$ac_objext conftest$ac_exeext
4882 < if { (eval echo "$as_me:4764: \"$ac_link\"") >&5
4882 > if { (eval echo "$as_me:4882: \"$ac_link\"") >&5
4883    (eval $ac_link) 2>&5
4884    ac_status=$?
4885 <  echo "$as_me:4767: \$? = $ac_status" >&5
4885 >  echo "$as_me:4885: \$? = $ac_status" >&5
4886    (exit $ac_status); } &&
4887           { ac_try='test -s conftest$ac_exeext'
4888 <  { (eval echo "$as_me:4770: \"$ac_try\"") >&5
4888 >  { (eval echo "$as_me:4888: \"$ac_try\"") >&5
4889    (eval $ac_try) 2>&5
4890    ac_status=$?
4891 <  echo "$as_me:4773: \$? = $ac_status" >&5
4891 >  echo "$as_me:4891: \$? = $ac_status" >&5
4892    (exit $ac_status); }; }; then
4893    ac_cv_lib_mpich_MPI_Init=yes
4894   else
# Line 4781 | Line 4899 | echo "$as_me:4784: result: $ac_cv_lib_mpich_MPI_Init"
4899   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4900   LIBS=$ac_check_lib_save_LIBS
4901   fi
4902 < echo "$as_me:4784: result: $ac_cv_lib_mpich_MPI_Init" >&5
4902 > echo "$as_me:4902: result: $ac_cv_lib_mpich_MPI_Init" >&5
4903   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
4904   if test $ac_cv_lib_mpich_MPI_Init = yes; then
4905    MPILIBS="-lmpich"
# Line 4809 | Line 4927 | echo "$as_me:4812: checking how to run the C preproces
4927   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4930 < echo "$as_me:4812: checking how to run the C preprocessor" >&5
4930 > echo "$as_me:4930: checking how to run the C preprocessor" >&5
4931   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4932   # On Suns, sometimes $CPP names a directory.
4933   if test -n "$CPP" && test -d "$CPP"; then
# Line 4831 | Line 4949 | do
4949    # On the NeXT, cc -E runs the code through the compiler's parser,
4950    # not just through cpp. "Syntax error" is here to catch this case.
4951    cat >conftest.$ac_ext <<_ACEOF
4952 < #line 4834 "configure"
4952 > #line 4952 "configure"
4953   #include "confdefs.h"
4954   #include <assert.h>
4955                       Syntax error
4956   _ACEOF
4957 < if { (eval echo "$as_me:4839: \"$ac_cpp conftest.$ac_ext\"") >&5
4957 > if { (eval echo "$as_me:4957: \"$ac_cpp conftest.$ac_ext\"") >&5
4958    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4959    ac_status=$?
4960    egrep -v '^ *\+' conftest.er1 >conftest.err
4961    rm -f conftest.er1
4962    cat conftest.err >&5
4963 <  echo "$as_me:4845: \$? = $ac_status" >&5
4963 >  echo "$as_me:4963: \$? = $ac_status" >&5
4964    (exit $ac_status); } >/dev/null; then
4965    if test -s conftest.err; then
4966      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4865 | Line 4983 | rm -f conftest.err conftest.$ac_ext
4983    # OK, works on sane cases.  Now check whether non-existent headers
4984    # can be detected and how.
4985    cat >conftest.$ac_ext <<_ACEOF
4986 < #line 4868 "configure"
4986 > #line 4986 "configure"
4987   #include "confdefs.h"
4988   #include <ac_nonexistent.h>
4989   _ACEOF
4990 < if { (eval echo "$as_me:4872: \"$ac_cpp conftest.$ac_ext\"") >&5
4990 > if { (eval echo "$as_me:4990: \"$ac_cpp conftest.$ac_ext\"") >&5
4991    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4992    ac_status=$?
4993    egrep -v '^ *\+' conftest.er1 >conftest.err
4994    rm -f conftest.er1
4995    cat conftest.err >&5
4996 <  echo "$as_me:4878: \$? = $ac_status" >&5
4996 >  echo "$as_me:4996: \$? = $ac_status" >&5
4997    (exit $ac_status); } >/dev/null; then
4998    if test -s conftest.err; then
4999      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4912 | Line 5030 | echo "$as_me:4915: result: $CPP" >&5
5030   else
5031    ac_cv_prog_CPP=$CPP
5032   fi
5033 < echo "$as_me:4915: result: $CPP" >&5
5033 > echo "$as_me:5033: result: $CPP" >&5
5034   echo "${ECHO_T}$CPP" >&6
5035   ac_preproc_ok=false
5036   for ac_c_preproc_warn_flag in '' yes
# Line 4922 | Line 5040 | do
5040    # On the NeXT, cc -E runs the code through the compiler's parser,
5041    # not just through cpp. "Syntax error" is here to catch this case.
5042    cat >conftest.$ac_ext <<_ACEOF
5043 < #line 4925 "configure"
5043 > #line 5043 "configure"
5044   #include "confdefs.h"
5045   #include <assert.h>
5046                       Syntax error
5047   _ACEOF
5048 < if { (eval echo "$as_me:4930: \"$ac_cpp conftest.$ac_ext\"") >&5
5048 > if { (eval echo "$as_me:5048: \"$ac_cpp conftest.$ac_ext\"") >&5
5049    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5050    ac_status=$?
5051    egrep -v '^ *\+' conftest.er1 >conftest.err
5052    rm -f conftest.er1
5053    cat conftest.err >&5
5054 <  echo "$as_me:4936: \$? = $ac_status" >&5
5054 >  echo "$as_me:5054: \$? = $ac_status" >&5
5055    (exit $ac_status); } >/dev/null; then
5056    if test -s conftest.err; then
5057      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4956 | Line 5074 | rm -f conftest.err conftest.$ac_ext
5074    # OK, works on sane cases.  Now check whether non-existent headers
5075    # can be detected and how.
5076    cat >conftest.$ac_ext <<_ACEOF
5077 < #line 4959 "configure"
5077 > #line 5077 "configure"
5078   #include "confdefs.h"
5079   #include <ac_nonexistent.h>
5080   _ACEOF
5081 < if { (eval echo "$as_me:4963: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 > if { (eval echo "$as_me:5081: \"$ac_cpp conftest.$ac_ext\"") >&5
5082    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5083    ac_status=$?
5084    egrep -v '^ *\+' conftest.er1 >conftest.err
5085    rm -f conftest.er1
5086    cat conftest.err >&5
5087 <  echo "$as_me:4969: \$? = $ac_status" >&5
5087 >  echo "$as_me:5087: \$? = $ac_status" >&5
5088    (exit $ac_status); } >/dev/null; then
5089    if test -s conftest.err; then
5090      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 4994 | Line 5112 | else
5112   if $ac_preproc_ok; then
5113    :
5114   else
5115 <  { { echo "$as_me:4997: error: C preprocessor \"$CPP\" fails sanity check" >&5
5115 >  { { echo "$as_me:5115: error: C preprocessor \"$CPP\" fails sanity check" >&5
5116   echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
5117     { (exit 1); exit 1; }; }
5118   fi
# Line 5013 | Line 5131 | fi;
5131    sprng_prefix="/usr/local"
5132   fi;
5133  
5134 < # Check whether --with-sprng_lib_prefix or --without-sprng_lib_prefix was given.
5135 < if test "${with_sprng_lib_prefix+set}" = set; then
5136 <  withval="$with_sprng_lib_prefix"
5137 <  sprng_lib_prefix="$withval"
5134 > # Check whether --with-sprng-libdir or --without-sprng-libdir was given.
5135 > if test "${with_sprng_libdir+set}" = set; then
5136 >  withval="$with_sprng_libdir"
5137 >  sprng_libdir="$withval"
5138   else
5139 <  sprng_lib_prefix="/usr/local/lib"
5139 >  sprng_libdir="/usr/local/lib"
5140   fi;
5141  
5142 < # Check whether --with-sprng_include_prefix or --without-sprng_include_prefix was given.
5143 < if test "${with_sprng_include_prefix+set}" = set; then
5144 <  withval="$with_sprng_include_prefix"
5145 <  sprng_include_prefix="$withval"
5142 > # Check whether --with-sprng-include or --without-sprng-include was given.
5143 > if test "${with_sprng_include+set}" = set; then
5144 >  withval="$with_sprng_include"
5145 >  sprng_include="$withval"
5146   else
5147 <  sprng_include_prefix="/usr/local/include/sprng"
5147 >  sprng_include="/usr/local/include/sprng"
5148   fi;
5149  
5150 <  if test x$sprng_lib_prefix = x ; then
5151 <    sprng_lib_prefix=${sprng_prefix}/lib
5150 >  if test x$sprng_libdir = x ; then
5151 >    sprng_libdir=${sprng_prefix}/lib
5152    fi
5153  
5154 <  if test x$sprng_include_prefix = x ; then
5155 <    sprng_include_prefix=${sprng_prefix}/include
5154 >  if test x$sprng_include = x ; then
5155 >    sprng_include=${sprng_prefix}/include
5156    fi
5157  
5158 <  echo "$as_me:5040: checking for SPRNG include files in $sprng_include_prefix" >&5
5159 < echo $ECHO_N "checking for SPRNG include files in $sprng_include_prefix... $ECHO_C" >&6
5160 <  if test -f ${sprng_include_prefix}/sprng.h; then
5158 >  echo "$as_me:5158: checking for SPRNG include files in $sprng_include" >&5
5159 > echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6
5160 >  if test -f ${sprng_include}/sprng.h; then
5161      have_sprngincl=yes
5162 <    echo "$as_me:5044: result: yes" >&5
5162 >    echo "$as_me:5162: result: yes" >&5
5163   echo "${ECHO_T}yes" >&6
5164    else
5165      have_sprngincl=no
5166 <    echo "$as_me:5048: result: no" >&5
5166 >    echo "$as_me:5166: result: no" >&5
5167   echo "${ECHO_T}no" >&6
5168 <    { { echo "$as_me:5050: error: Could not locate the SPRNG include files" >&5
5168 >    { { echo "$as_me:5168: error: Could not locate the SPRNG include files" >&5
5169   echo "$as_me: error: Could not locate the SPRNG include files" >&2;}
5170     { (exit 1); exit 1; }; }
5171    fi
5172  
5173 <  echo "$as_me:5055: checking for SPRNG libraries in $sprng_lib_prefix" >&5
5174 < echo $ECHO_N "checking for SPRNG libraries in $sprng_lib_prefix... $ECHO_C" >&6
5175 <  if test -f ${sprng_lib_prefix}/libsprng.a; then
5173 >  echo "$as_me:5173: checking for SPRNG libraries in $sprng_libdir" >&5
5174 > echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6
5175 >  if test -f ${sprng_libdir}/libsprng.a; then
5176      have_sprnglib=yes
5177 <    echo "$as_me:5059: result: yes" >&5
5177 >    echo "$as_me:5177: result: yes" >&5
5178   echo "${ECHO_T}yes" >&6
5179    else
5180      have_sprnglib=no
5181 <    echo "$as_me:5063: result: no" >&5
5181 >    echo "$as_me:5181: result: no" >&5
5182   echo "${ECHO_T}no" >&6
5183 <    { { echo "$as_me:5065: error: Could not locate the SPRNG libraries" >&5
5183 >    { { echo "$as_me:5183: error: Could not locate the SPRNG libraries" >&5
5184   echo "$as_me: error: Could not locate the SPRNG libraries" >&2;}
5185     { (exit 1); exit 1; }; }
5186    fi
# Line 5074 | Line 5192 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5192   ac_compiler_gnu=$ac_cv_c_compiler_gnu
5193  
5194    ac_save_CPPFLAGS=$CPPFLAGS
5195 <  CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}"
5195 >  CPPFLAGS="${CPPFLAGS} -I${sprng_include}"
5196    ac_save_LDFLAGS=$LDFLAGS
5197 <  LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng"
5198 <  echo "$as_me:5080: checking for sprng.h" >&5
5197 >  LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng"
5198 >  echo "$as_me:5198: checking for sprng.h" >&5
5199   echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
5200   if test "${ac_cv_header_sprng_h+set}" = set; then
5201    echo $ECHO_N "(cached) $ECHO_C" >&6
5202   else
5203    cat >conftest.$ac_ext <<_ACEOF
5204 < #line 5086 "configure"
5204 > #line 5204 "configure"
5205   #include "confdefs.h"
5206   #include <sprng.h>
5207   _ACEOF
5208 < if { (eval echo "$as_me:5090: \"$ac_cpp conftest.$ac_ext\"") >&5
5208 > if { (eval echo "$as_me:5208: \"$ac_cpp conftest.$ac_ext\"") >&5
5209    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5210    ac_status=$?
5211    egrep -v '^ *\+' conftest.er1 >conftest.err
5212    rm -f conftest.er1
5213    cat conftest.err >&5
5214 <  echo "$as_me:5096: \$? = $ac_status" >&5
5214 >  echo "$as_me:5214: \$? = $ac_status" >&5
5215    (exit $ac_status); } >/dev/null; then
5216    if test -s conftest.err; then
5217      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5112 | Line 5230 | echo "$as_me:5115: result: $ac_cv_header_sprng_h" >&5
5230   fi
5231   rm -f conftest.err conftest.$ac_ext
5232   fi
5233 < echo "$as_me:5115: result: $ac_cv_header_sprng_h" >&5
5233 > echo "$as_me:5233: result: $ac_cv_header_sprng_h" >&5
5234   echo "${ECHO_T}$ac_cv_header_sprng_h" >&6
5235   if test $ac_cv_header_sprng_h = yes; then
5236  
5237 <    echo "$as_me:5119: checking for init_rng in -lsprng" >&5
5237 >    echo "$as_me:5237: checking for init_rng in -lsprng" >&5
5238   echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
5239   if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
5240    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5124 | Line 5242 | cat >conftest.$ac_ext <<_ACEOF
5242    ac_check_lib_save_LIBS=$LIBS
5243   LIBS="-lsprng  $LIBS"
5244   cat >conftest.$ac_ext <<_ACEOF
5245 < #line 5127 "configure"
5245 > #line 5245 "configure"
5246   #include "confdefs.h"
5247  
5248   /* Override any gcc2 internal prototype to avoid an error.  */
# Line 5143 | Line 5261 | if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
5261   }
5262   _ACEOF
5263   rm -f conftest.$ac_objext conftest$ac_exeext
5264 < if { (eval echo "$as_me:5146: \"$ac_link\"") >&5
5264 > if { (eval echo "$as_me:5264: \"$ac_link\"") >&5
5265    (eval $ac_link) 2>&5
5266    ac_status=$?
5267 <  echo "$as_me:5149: \$? = $ac_status" >&5
5267 >  echo "$as_me:5267: \$? = $ac_status" >&5
5268    (exit $ac_status); } &&
5269           { ac_try='test -s conftest$ac_exeext'
5270 <  { (eval echo "$as_me:5152: \"$ac_try\"") >&5
5270 >  { (eval echo "$as_me:5270: \"$ac_try\"") >&5
5271    (eval $ac_try) 2>&5
5272    ac_status=$?
5273 <  echo "$as_me:5155: \$? = $ac_status" >&5
5273 >  echo "$as_me:5273: \$? = $ac_status" >&5
5274    (exit $ac_status); }; }; then
5275    ac_cv_lib_sprng_init_rng=yes
5276   else
# Line 5163 | Line 5281 | echo "$as_me:5166: result: $ac_cv_lib_sprng_init_rng"
5281   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5282   LIBS=$ac_check_lib_save_LIBS
5283   fi
5284 < echo "$as_me:5166: result: $ac_cv_lib_sprng_init_rng" >&5
5284 > echo "$as_me:5284: result: $ac_cv_lib_sprng_init_rng" >&5
5285   echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
5286   if test $ac_cv_lib_sprng_init_rng = yes; then
5287 <  SPRNG_LIBDIR="${sprng_lib_prefix}"
5288 <                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include_prefix}"
5287 >  SPRNG_LIBDIR="${sprng_libdir}"
5288 >                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include}"
5289                       HAVE_SPRNG="yes"
5290   fi
5291  
# Line 5181 | Line 5299 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5299   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5300  
5301    if test x_$HAVE_SPRNG != x_yes; then
5302 <        { { echo "$as_me:5184: error: Can't build with SPRNG" >&5
5302 >        { { echo "$as_me:5302: error: Can't build with SPRNG" >&5
5303   echo "$as_me: error: Can't build with SPRNG" >&2;}
5304     { (exit 1); exit 1; }; }
5305    fi
5306  
5307 < echo "$as_me:5189: checking if MKL is wanted" >&5
5307 > echo "$as_me:5307: checking if MKL is wanted" >&5
5308   echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
5309  
5310   # Check whether --with-mkl or --without-mkl was given.
5311   if test "${with_mkl+set}" = set; then
5312    withval="$with_mkl"
5313 <     echo "$as_me:5195: result: yes" >&5
5313 >     echo "$as_me:5313: result: yes" >&5
5314   echo "${ECHO_T}yes" >&6
5315      for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
5316          mkldir="$dir"
# Line 5202 | Line 5320 | echo "${ECHO_T}yes" >&6
5320          fi
5321      done
5322      if test x_$found_mkl != x_yes; then
5323 <        { { echo "$as_me:5205: error: Cannot find MKL includes" >&5
5323 >        { { echo "$as_me:5323: error: Cannot find MKL includes" >&5
5324   echo "$as_me: error: Cannot find MKL includes" >&2;}
5325     { (exit 1); exit 1; }; }
5326      else
# Line 5219 | Line 5337 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337    CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
5338    ac_save_LDFLAGS=$LDFLAGS
5339    LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
5340 <  echo "$as_me:5222: checking for mkl.h" >&5
5340 >  echo "$as_me:5340: checking for mkl.h" >&5
5341   echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
5342   if test "${ac_cv_header_mkl_h+set}" = set; then
5343    echo $ECHO_N "(cached) $ECHO_C" >&6
5344   else
5345    cat >conftest.$ac_ext <<_ACEOF
5346 < #line 5228 "configure"
5346 > #line 5346 "configure"
5347   #include "confdefs.h"
5348   #include <mkl.h>
5349   _ACEOF
5350 < if { (eval echo "$as_me:5232: \"$ac_cpp conftest.$ac_ext\"") >&5
5350 > if { (eval echo "$as_me:5350: \"$ac_cpp conftest.$ac_ext\"") >&5
5351    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5352    ac_status=$?
5353    egrep -v '^ *\+' conftest.er1 >conftest.err
5354    rm -f conftest.er1
5355    cat conftest.err >&5
5356 <  echo "$as_me:5238: \$? = $ac_status" >&5
5356 >  echo "$as_me:5356: \$? = $ac_status" >&5
5357    (exit $ac_status); } >/dev/null; then
5358    if test -s conftest.err; then
5359      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 5254 | Line 5372 | echo "$as_me:5257: result: $ac_cv_header_mkl_h" >&5
5372   fi
5373   rm -f conftest.err conftest.$ac_ext
5374   fi
5375 < echo "$as_me:5257: result: $ac_cv_header_mkl_h" >&5
5375 > echo "$as_me:5375: result: $ac_cv_header_mkl_h" >&5
5376   echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
5377   if test $ac_cv_header_mkl_h = yes; then
5378  
5379 <    echo "$as_me:5261: checking for vslNewStream in -lmkl" >&5
5379 >    echo "$as_me:5379: checking for vslNewStream in -lmkl" >&5
5380   echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
5381   if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
5382    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5266 | Line 5384 | cat >conftest.$ac_ext <<_ACEOF
5384    ac_check_lib_save_LIBS=$LIBS
5385   LIBS="-lmkl  $LIBS"
5386   cat >conftest.$ac_ext <<_ACEOF
5387 < #line 5269 "configure"
5387 > #line 5387 "configure"
5388   #include "confdefs.h"
5389  
5390   /* Override any gcc2 internal prototype to avoid an error.  */
# Line 5285 | Line 5403 | if { (eval echo "$as_me:5288: \"$ac_link\"") >&5
5403   }
5404   _ACEOF
5405   rm -f conftest.$ac_objext conftest$ac_exeext
5406 < if { (eval echo "$as_me:5288: \"$ac_link\"") >&5
5406 > if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
5407    (eval $ac_link) 2>&5
5408    ac_status=$?
5409 <  echo "$as_me:5291: \$? = $ac_status" >&5
5409 >  echo "$as_me:5409: \$? = $ac_status" >&5
5410    (exit $ac_status); } &&
5411           { ac_try='test -s conftest$ac_exeext'
5412 <  { (eval echo "$as_me:5294: \"$ac_try\"") >&5
5412 >  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
5413    (eval $ac_try) 2>&5
5414    ac_status=$?
5415 <  echo "$as_me:5297: \$? = $ac_status" >&5
5415 >  echo "$as_me:5415: \$? = $ac_status" >&5
5416    (exit $ac_status); }; }; then
5417    ac_cv_lib_mkl_vslNewStream=yes
5418   else
# Line 5305 | Line 5423 | echo "$as_me:5308: result: $ac_cv_lib_mkl_vslNewStream
5423   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5424   LIBS=$ac_check_lib_save_LIBS
5425   fi
5426 < echo "$as_me:5308: result: $ac_cv_lib_mkl_vslNewStream" >&5
5426 > echo "$as_me:5426: result: $ac_cv_lib_mkl_vslNewStream" >&5
5427   echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
5428   if test $ac_cv_lib_mkl_vslNewStream = yes; then
5429    MKL_LIBDIR="${mkldir}/lib/32",
# Line 5325 | Line 5443 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5443   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5444  
5445    if test x_$HAVE_MKL != x_yes; then
5446 <        { { echo "$as_me:5328: error: Can't build with MKL" >&5
5446 >        { { echo "$as_me:5446: error: Can't build with MKL" >&5
5447   echo "$as_me: error: Can't build with MKL" >&2;}
5448     { (exit 1); exit 1; }; }
5449    fi
5450  
5451   else
5452  
5453 <    echo "$as_me:5335: result: no" >&5
5453 >    echo "$as_me:5453: result: no" >&5
5454   echo "${ECHO_T}no" >&6
5455  
5456   fi;
5457  
5458 < #AC_CHECK_MPI_F90MOD
5458 > # Check whether --with-mpi_f90_mods or --without-mpi_f90_mods was given.
5459 > if test "${with_mpi_f90_mods+set}" = set; then
5460 >  withval="$with_mpi_f90_mods"
5461 >  mpi_f90_mods="$withval"
5462 > else
5463 >  mpi_f90_mods="/usr/local/include/f90choice"
5464 > fi;
5465 >
5466 >  echo "$as_me:5466: checking for MPI F90 modules" >&5
5467 > echo $ECHO_N "checking for MPI F90 modules... $ECHO_C" >&6
5468 >
5469 >  ac_ext=f90
5470 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5471 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5472 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5473 >
5474 >  ac_save_F90FLAGS=$F90FLAGS
5475 >
5476 >  if test "$mpi_f90_mods"; then
5477 >  F90FLAGS="${F90FLAGS} ${MODDIRFLAG}${mpi_f90_mods}"
5478 > fi
5479 >
5480 >    cat >conftest.$ac_ext <<_ACEOF
5481 >
5482 > program main
5483 >
5484 > use mpi
5485 > integer :: ierr
5486 > call MPI_Init(ierr)
5487  
5488 + end program main
5489 +
5490 + _ACEOF
5491 + rm -f conftest.$ac_objext
5492 + if { (eval echo "$as_me:5492: \"$ac_compile\"") >&5
5493 +  (eval $ac_compile) 2>&5
5494 +  ac_status=$?
5495 +  echo "$as_me:5495: \$? = $ac_status" >&5
5496 +  (exit $ac_status); } &&
5497 +         { ac_try='test -s conftest.$ac_objext'
5498 +  { (eval echo "$as_me:5498: \"$ac_try\"") >&5
5499 +  (eval $ac_try) 2>&5
5500 +  ac_status=$?
5501 +  echo "$as_me:5501: \$? = $ac_status" >&5
5502 +  (exit $ac_status); }; }; then
5503 +  HAVE_MPI_MOD=1
5504 + else
5505 +  echo "$as_me: failed program was:" >&5
5506 + cat conftest.$ac_ext >&5
5507 + HAVE_MPI_MOD=0
5508 + fi
5509 + rm -f conftest.$ac_objext conftest.$ac_ext
5510 +
5511 +  F90FLAGS=$ac_save_F90FLAGS
5512 +  ac_ext=f90
5513 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5514 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5515 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5516 +
5517 +  if test "$HAVE_MPI_MOD" = 1; then
5518 +    echo "$as_me:5518: result: yes" >&5
5519 + echo "${ECHO_T}yes" >&6
5520 +
5521 + cat >>confdefs.h <<\EOF
5522 + #define MPI_MOD 1
5523 + EOF
5524 +
5525 +    MPI_F90_MODS="${mpi_f90_mods}"
5526 +
5527 +    # The library name:
5528 +    if test -z "$MPI_LIB" ; then
5529 +       MPI_LIBNAME=-lmpich
5530 +    else
5531 +       MPI_LIBNAME="$MPI_LIB"
5532 +    fi
5533 +    if test -z "$MPIMODLIBNAME" ; then
5534 +       MPIMODLIBNAME="${MPI_LIBNAME}f90"
5535 +    fi
5536 +
5537 +  else
5538 +    echo "$as_me:5538: result: no" >&5
5539 + echo "${ECHO_T}no" >&6
5540 +    { { echo "$as_me:5540: error: Couldn't locate MPI F90 Modules" >&5
5541 + echo "$as_me: error: Couldn't locate MPI F90 Modules" >&2;}
5542 +   { (exit 1); exit 1; }; }
5543 +  fi
5544 +
5545   OBJEXT=".$OBJEXT"
5546  
5547   OOPSE=oopse
# Line 5362 | Line 5565 | SUBDIRS="libBASS libmdtools src forceFields samples ut
5565  
5566   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
5567  
5568 < SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder"
5568 > SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps"
5569  
5570 < #CFLAGS=${CFLAGS-""}
5571 < #CXXFLAGS=${CXXFLAGS-""}
5572 < #CPPFLAGS=${CPPFLAGS-""}
5573 < #FFLAGS=${FFLAGS-""}
5574 < #LDFLAGS=${LDFLAGS-""}
5575 < #OPTIMIZE=${OPTIMIZE-"-O"}
5576 < #DEBUG=${DEBUG-"-g"}
5570 > CFLAGS=${CFLAGS-""}
5571 > CXXFLAGS=${CXXFLAGS-""}
5572 > CPPFLAGS=${CPPFLAGS-""}
5573 > FFLAGS=${FFLAGS-""}
5574 > F90FLAGS=${F90FLAGS-""}
5575 > LDFLAGS=${LDFLAGS-""}
5576 > DEBUG=${DEBUG-"-g"}
5577  
5578   case $debug in
5579 <  true)
5377 <     CFLAGS="$DEBUG $CFLAGS"
5378 <     CXXFLAGS="$DEBUG $CXXFLAGS"
5579 >  1)
5580       FFLAGS="$DEBUG $FFLAGS"
5581       F90FLAGS="$DEBUG $F90FLAGS"
5582       ;;
5583    *)
5383     CFLAGS="$OPTIMIZE $CFLAGS"
5384     CXXFLAGS="$OPTIMIZE $CXXFLAGS"
5385     FFLAGS="$OPTIMIZE $FFLAGS"
5386     F90FLAGS="$OPTIMIZE $F90FLAGS"
5584       ;;
5585   esac
5586  
5587   ac_config_headers="$ac_config_headers libmdtools/config.h"
5588  
5589 < ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
5589 > ac_config_files="$ac_config_files Makefile libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile staticProps/Makefile samples/alkane/Makefile samples/argon/Makefile samples/beadLipid/Makefile samples/lipid/Makefile samples/metals/Makefile samples/water/Makefile"
5590  
5591   cat >confcache <<\_ACEOF
5592   # This file is a shell script that caches the results of configure
# Line 5470 | Line 5667 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5667   : ${CONFIG_STATUS=./config.status}
5668   ac_clean_files_save=$ac_clean_files
5669   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5670 < { echo "$as_me:5473: creating $CONFIG_STATUS" >&5
5670 > { echo "$as_me:5670: creating $CONFIG_STATUS" >&5
5671   echo "$as_me: creating $CONFIG_STATUS" >&6;}
5672   cat >$CONFIG_STATUS <<_ACEOF
5673   #! $SHELL
# Line 5643 | Line 5840 | cat >>$CONFIG_STATUS <<\EOF
5840      echo "$ac_cs_version"; exit 0 ;;
5841    --he | --h)
5842      # Conflict between --help and --header
5843 <    { { echo "$as_me:5646: error: ambiguous option: $1
5843 >    { { echo "$as_me:5843: error: ambiguous option: $1
5844   Try \`$0 --help' for more information." >&5
5845   echo "$as_me: error: ambiguous option: $1
5846   Try \`$0 --help' for more information." >&2;}
# Line 5670 | Line 5867 | Try \`$0 --help' for more information." >&2;}
5867    'utils/sysbuilder/Makefile' ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
5868    'forceFields/Makefile' ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
5869    'samples/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
5870 +  'staticProps/Makefile' ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;;
5871    'samples/alkane/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
5872    'samples/argon/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
5873    'samples/beadLipid/Makefile' ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
# Line 5679 | Line 5877 | Try \`$0 --help' for more information." >&2;}
5877    'libmdtools/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS libmdtools/config.h" ;;
5878  
5879    # This is an error.
5880 <  -*) { { echo "$as_me:5682: error: unrecognized option: $1
5880 >  -*) { { echo "$as_me:5880: error: unrecognized option: $1
5881   Try \`$0 --help' for more information." >&5
5882   echo "$as_me: error: unrecognized option: $1
5883   Try \`$0 --help' for more information." >&2;}
5884     { (exit 1); exit 1; }; } ;;
5885 <  *) { { echo "$as_me:5687: error: invalid argument: $1" >&5
5885 >  *) { { echo "$as_me:5885: error: invalid argument: $1" >&5
5886   echo "$as_me: error: invalid argument: $1" >&2;}
5887     { (exit 1); exit 1; }; };;
5888    esac
# Line 5779 | Line 5977 | s,@DEBUG@,$DEBUG,;t t
5977   s,@DEFS@,$DEFS,;t t
5978   s,@LIBS@,$LIBS,;t t
5979   s,@PROGNAME@,$PROGNAME,;t t
5980 < s,@DEBUG@,$DEBUG,;t t
5980 > s,@debug@,$debug,;t t
5981   s,@build@,$build,;t t
5982   s,@build_cpu@,$build_cpu,;t t
5983   s,@build_vendor@,$build_vendor,;t t
# Line 5818 | Line 6016 | s,@mpi_dir@,$mpi_dir,;t t
6016   s,@F90LIBS@,$F90LIBS,;t t
6017   s,@F90_FUNC@,$F90_FUNC,;t t
6018   s,@F90_FUNC_@,$F90_FUNC_,;t t
6019 + s,@MOD@,$MOD,;t t
6020 + s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
6021 + s,@MODDIRFLAG@,$MODDIRFLAG,;t t
6022 + s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
6023   s,@mpi_dir@,$mpi_dir,;t t
6024   s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t
6025   s,@MPI_INC@,$MPI_INC,;t t
# Line 5834 | Line 6036 | s,@BATEXT@,$BATEXT,;t t
6036   s,@MKL_LIB@,$MKL_LIB,;t t
6037   s,@MKL_INC@,$MKL_INC,;t t
6038   s,@HAVE_MKL@,$HAVE_MKL,;t t
6039 + s,@MPI_F90_MODS@,$MPI_F90_MODS,;t t
6040 + s,@MPIMODLIBNAME@,$MPIMODLIBNAME,;t t
6041   s,@BATEXT@,$BATEXT,;t t
6042   s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6043   s,@OOPSE@,$OOPSE,;t t
# Line 5954 | Line 6158 | done; }
6158    esac
6159  
6160    if test x"$ac_file" != x-; then
6161 <    { echo "$as_me:5957: creating $ac_file" >&5
6161 >    { echo "$as_me:6161: creating $ac_file" >&5
6162   echo "$as_me: creating $ac_file" >&6;}
6163      rm -f "$ac_file"
6164    fi
# Line 5972 | Line 6176 | echo "$as_me: creating $ac_file" >&6;}
6176        -) echo $tmp/stdin ;;
6177        [\\/$]*)
6178           # Absolute (can't be DOS-style, as IFS=:)
6179 <         test -f "$f" || { { echo "$as_me:5975: error: cannot find input file: $f" >&5
6179 >         test -f "$f" || { { echo "$as_me:6179: error: cannot find input file: $f" >&5
6180   echo "$as_me: error: cannot find input file: $f" >&2;}
6181     { (exit 1); exit 1; }; }
6182           echo $f;;
# Line 5985 | Line 6189 | echo "$as_me: error: cannot find input file: $f" >&2;}
6189             echo $srcdir/$f
6190           else
6191             # /dev/null tree
6192 <           { { echo "$as_me:5988: error: cannot find input file: $f" >&5
6192 >           { { echo "$as_me:6192: error: cannot find input file: $f" >&5
6193   echo "$as_me: error: cannot find input file: $f" >&2;}
6194     { (exit 1); exit 1; }; }
6195           fi;;
# Line 6046 | Line 6250 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
6250    * )   ac_file_in=$ac_file.in ;;
6251    esac
6252  
6253 <  test x"$ac_file" != x- && { echo "$as_me:6049: creating $ac_file" >&5
6253 >  test x"$ac_file" != x- && { echo "$as_me:6253: creating $ac_file" >&5
6254   echo "$as_me: creating $ac_file" >&6;}
6255  
6256    # First look for the input files in the build tree, otherwise in the
# Line 6057 | Line 6261 | echo "$as_me: creating $ac_file" >&6;}
6261        -) echo $tmp/stdin ;;
6262        [\\/$]*)
6263           # Absolute (can't be DOS-style, as IFS=:)
6264 <         test -f "$f" || { { echo "$as_me:6060: error: cannot find input file: $f" >&5
6264 >         test -f "$f" || { { echo "$as_me:6264: error: cannot find input file: $f" >&5
6265   echo "$as_me: error: cannot find input file: $f" >&2;}
6266     { (exit 1); exit 1; }; }
6267           echo $f;;
# Line 6070 | Line 6274 | echo "$as_me: error: cannot find input file: $f" >&2;}
6274             echo $srcdir/$f
6275           else
6276             # /dev/null tree
6277 <           { { echo "$as_me:6073: error: cannot find input file: $f" >&5
6277 >           { { echo "$as_me:6277: error: cannot find input file: $f" >&5
6278   echo "$as_me: error: cannot find input file: $f" >&2;}
6279     { (exit 1); exit 1; }; }
6280           fi;;
# Line 6187 | Line 6391 | cat >>$CONFIG_STATUS <<\EOF
6391    rm -f $tmp/in
6392    if test x"$ac_file" != x-; then
6393      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6394 <      { echo "$as_me:6190: $ac_file is unchanged" >&5
6394 >      { echo "$as_me:6394: $ac_file is unchanged" >&5
6395   echo "$as_me: $ac_file is unchanged" >&6;}
6396      else
6397        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines