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 786 by gezelter, Thu Sep 25 18:54:34 2003 UTC vs.
Revision 840 by gezelter, Wed Oct 29 14:29:12 2003 UTC

# Line 311 | Line 311 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
311   # include <unistd.h>
312   #endif"
313  
314 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME DEBUG build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR F90LIBS F90_FUNC F90_FUNC_ mpi_dir MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS MPIMODLIBNAME BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
314 > ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR mpi_dir MPI_LIBDIR MPI_INC MPI_LIB MPIF77 MPIF90 MPILIBS CPP EGREP SPRNG_LIBDIR SPRNG_LIB SPRNG_INC HAVE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL MPI_F90_MODS MPIMODLIBNAME BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LIBOBJS LTLIBOBJS'
315   ac_subst_files=''
316  
317   # Initialize some variables set by options.
# Line 877 | Line 877 | Optional Packages:
877    --with-mpi_dir=MPIDIR   give the path for MPI /usr/local
878    --with-mpi-libdir=dir  give the path for MPI-libraries MPI_DIR/lib
879    --with-mpi_inc=dir  give the path for MPI-include-files MPI_DIR/include
880 <  --with-sprng-prefix=PREFIX
880 >  --with-sprng_prefix=PREFIX
881                            Prefix where SPRNG is installed
882 <  --with-sprng-lib=PREFIX  SPRNG library directory
882 >  --with-sprng-libdir=PREFIX  SPRNG library directory
883    --with-sprng-include=PREFIX
884                            SPRNG include directory
885    --with-mkl              Do we want MKL will check /usr/local/intel/mkl60 /opt/intel/mkl60
# Line 1828 | Line 1828 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1828  
1829  
1830  
1831 < # what should I build?
1831 >
1832  
1833 # Check whether --enable-debug or --disable-debug was given.
1834 if test "${enable_debug+set}" = set; then
1835  enableval="$enable_debug"
1836  DEBUG=1
1837 fi;
1833  
1834 +
1835 +
1836 +
1837 +
1838 +
1839   # set program name
1840   PROGNAME="oopse"
1841  
1842  
1843 + # there are two ways to do debugging.  One with the --enable-debug flag
1844 + # and one using the DEBUG environment variable
1845 +
1846 + debug=0
1847 + # Check whether --enable-debug or --disable-debug was given.
1848 + if test "${enable_debug+set}" = set; then
1849 +  enableval="$enable_debug"
1850 +  debug=1
1851 + fi;
1852   if test "${DEBUG}"; then
1853  
1854   cat >>confdefs.h <<\_ACEOF
1855 < #define DEBUG 1
1855 > #define debug 1
1856   _ACEOF
1857  
1858    msg="$msg, debug mode"
# Line 2543 | Line 2552 | fi
2552    echo '#ifdef __cplusplus' >>confdefs.h
2553    echo $ac_declaration      >>confdefs.h
2554    echo '#endif'             >>confdefs.h
2555 + fi
2556 +
2557 + else
2558 +  echo "$as_me: failed program was:" >&5
2559 + sed 's/^/| /' conftest.$ac_ext >&5
2560 +
2561 + fi
2562 + rm -f conftest.$ac_objext conftest.$ac_ext
2563 + ac_ext=c
2564 + ac_cpp='$CPP $CPPFLAGS'
2565 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568 +
2569 +
2570 + ac_ext=cc
2571 + ac_cpp='$CXXCPP $CPPFLAGS'
2572 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2575 + if test -n "$ac_tool_prefix"; then
2576 +  for ac_prog in $CCC icpc icc xlC CC g++ c++
2577 +  do
2578 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2579 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2580 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2582 + if test "${ac_cv_prog_CXX+set}" = set; then
2583 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2584 + else
2585 +  if test -n "$CXX"; then
2586 +  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2587 + else
2588 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 + for as_dir in $PATH
2590 + do
2591 +  IFS=$as_save_IFS
2592 +  test -z "$as_dir" && as_dir=.
2593 +  for ac_exec_ext in '' $ac_executable_extensions; do
2594 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 +    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2596 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 +    break 2
2598 +  fi
2599 + done
2600 + done
2601 +
2602 + fi
2603 + fi
2604 + CXX=$ac_cv_prog_CXX
2605 + if test -n "$CXX"; then
2606 +  echo "$as_me:$LINENO: result: $CXX" >&5
2607 + echo "${ECHO_T}$CXX" >&6
2608 + else
2609 +  echo "$as_me:$LINENO: result: no" >&5
2610 + echo "${ECHO_T}no" >&6
2611 + fi
2612 +
2613 +    test -n "$CXX" && break
2614 +  done
2615 + fi
2616 + if test -z "$CXX"; then
2617 +  ac_ct_CXX=$CXX
2618 +  for ac_prog in $CCC icpc icc xlC CC g++ c++
2619 + do
2620 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 + set dummy $ac_prog; ac_word=$2
2622 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2624 + if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2625 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2626 + else
2627 +  if test -n "$ac_ct_CXX"; then
2628 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2629 + else
2630 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 + for as_dir in $PATH
2632 + do
2633 +  IFS=$as_save_IFS
2634 +  test -z "$as_dir" && as_dir=.
2635 +  for ac_exec_ext in '' $ac_executable_extensions; do
2636 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637 +    ac_cv_prog_ac_ct_CXX="$ac_prog"
2638 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 +    break 2
2640 +  fi
2641 + done
2642 + done
2643 +
2644 + fi
2645 + fi
2646 + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2647 + if test -n "$ac_ct_CXX"; then
2648 +  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2649 + echo "${ECHO_T}$ac_ct_CXX" >&6
2650 + else
2651 +  echo "$as_me:$LINENO: result: no" >&5
2652 + echo "${ECHO_T}no" >&6
2653 + fi
2654 +
2655 +  test -n "$ac_ct_CXX" && break
2656 + done
2657 + test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2658 +
2659 +  CXX=$ac_ct_CXX
2660 + fi
2661 +
2662 +
2663 + # Provide some information about the compiler.
2664 + echo "$as_me:$LINENO:" \
2665 +     "checking for C++ compiler version" >&5
2666 + ac_compiler=`set X $ac_compile; echo $2`
2667 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2668 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2669 +  ac_status=$?
2670 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 +  (exit $ac_status); }
2672 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2673 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2674 +  ac_status=$?
2675 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 +  (exit $ac_status); }
2677 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2678 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2679 +  ac_status=$?
2680 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 +  (exit $ac_status); }
2682 +
2683 + echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2684 + echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2685 + if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2686 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2687 + else
2688 +  cat >conftest.$ac_ext <<_ACEOF
2689 + #line $LINENO "configure"
2690 + /* confdefs.h.  */
2691 + _ACEOF
2692 + cat confdefs.h >>conftest.$ac_ext
2693 + cat >>conftest.$ac_ext <<_ACEOF
2694 + /* end confdefs.h.  */
2695 +
2696 + int
2697 + main ()
2698 + {
2699 + #ifndef __GNUC__
2700 +       choke me
2701 + #endif
2702 +
2703 +  ;
2704 +  return 0;
2705 + }
2706 + _ACEOF
2707 + rm -f conftest.$ac_objext
2708 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 +  (eval $ac_compile) 2>&5
2710 +  ac_status=$?
2711 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 +  (exit $ac_status); } &&
2713 +         { ac_try='test -s conftest.$ac_objext'
2714 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 +  (eval $ac_try) 2>&5
2716 +  ac_status=$?
2717 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 +  (exit $ac_status); }; }; then
2719 +  ac_compiler_gnu=yes
2720 + else
2721 +  echo "$as_me: failed program was:" >&5
2722 + sed 's/^/| /' conftest.$ac_ext >&5
2723 +
2724 + ac_compiler_gnu=no
2725 + fi
2726 + rm -f conftest.$ac_objext conftest.$ac_ext
2727 + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2728 +
2729 + fi
2730 + echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2731 + echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2732 + GXX=`test $ac_compiler_gnu = yes && echo yes`
2733 + ac_test_CXXFLAGS=${CXXFLAGS+set}
2734 + ac_save_CXXFLAGS=$CXXFLAGS
2735 + CXXFLAGS="-g"
2736 + echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2737 + echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2738 + if test "${ac_cv_prog_cxx_g+set}" = set; then
2739 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2740 + else
2741 +  cat >conftest.$ac_ext <<_ACEOF
2742 + #line $LINENO "configure"
2743 + /* confdefs.h.  */
2744 + _ACEOF
2745 + cat confdefs.h >>conftest.$ac_ext
2746 + cat >>conftest.$ac_ext <<_ACEOF
2747 + /* end confdefs.h.  */
2748 +
2749 + int
2750 + main ()
2751 + {
2752 +
2753 +  ;
2754 +  return 0;
2755 + }
2756 + _ACEOF
2757 + rm -f conftest.$ac_objext
2758 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 +  (eval $ac_compile) 2>&5
2760 +  ac_status=$?
2761 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 +  (exit $ac_status); } &&
2763 +         { ac_try='test -s conftest.$ac_objext'
2764 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 +  (eval $ac_try) 2>&5
2766 +  ac_status=$?
2767 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 +  (exit $ac_status); }; }; then
2769 +  ac_cv_prog_cxx_g=yes
2770 + else
2771 +  echo "$as_me: failed program was:" >&5
2772 + sed 's/^/| /' conftest.$ac_ext >&5
2773 +
2774 + ac_cv_prog_cxx_g=no
2775   fi
2776 + rm -f conftest.$ac_objext conftest.$ac_ext
2777 + fi
2778 + echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2779 + echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2780 + if test "$ac_test_CXXFLAGS" = set; then
2781 +  CXXFLAGS=$ac_save_CXXFLAGS
2782 + elif test $ac_cv_prog_cxx_g = yes; then
2783 +  if test "$GXX" = yes; then
2784 +    CXXFLAGS="-g -O2"
2785 +  else
2786 +    CXXFLAGS="-g"
2787 +  fi
2788 + else
2789 +  if test "$GXX" = yes; then
2790 +    CXXFLAGS="-O2"
2791 +  else
2792 +    CXXFLAGS=
2793 +  fi
2794 + fi
2795 + for ac_declaration in \
2796 +   ''\
2797 +   '#include <stdlib.h>' \
2798 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
2799 +   'extern "C" void std::exit (int); using std::exit;' \
2800 +   'extern "C" void exit (int) throw ();' \
2801 +   'extern "C" void exit (int);' \
2802 +   'void exit (int);'
2803 + do
2804 +  cat >conftest.$ac_ext <<_ACEOF
2805 + #line $LINENO "configure"
2806 + /* confdefs.h.  */
2807 + _ACEOF
2808 + cat confdefs.h >>conftest.$ac_ext
2809 + cat >>conftest.$ac_ext <<_ACEOF
2810 + /* end confdefs.h.  */
2811 + #include <stdlib.h>
2812 + $ac_declaration
2813 + int
2814 + main ()
2815 + {
2816 + exit (42);
2817 +  ;
2818 +  return 0;
2819 + }
2820 + _ACEOF
2821 + rm -f conftest.$ac_objext
2822 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 +  (eval $ac_compile) 2>&5
2824 +  ac_status=$?
2825 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 +  (exit $ac_status); } &&
2827 +         { ac_try='test -s conftest.$ac_objext'
2828 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829 +  (eval $ac_try) 2>&5
2830 +  ac_status=$?
2831 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 +  (exit $ac_status); }; }; then
2833 +  :
2834 + else
2835 +  echo "$as_me: failed program was:" >&5
2836 + sed 's/^/| /' conftest.$ac_ext >&5
2837  
2838 + continue
2839 + fi
2840 + rm -f conftest.$ac_objext conftest.$ac_ext
2841 +  cat >conftest.$ac_ext <<_ACEOF
2842 + #line $LINENO "configure"
2843 + /* confdefs.h.  */
2844 + _ACEOF
2845 + cat confdefs.h >>conftest.$ac_ext
2846 + cat >>conftest.$ac_ext <<_ACEOF
2847 + /* end confdefs.h.  */
2848 + $ac_declaration
2849 + int
2850 + main ()
2851 + {
2852 + exit (42);
2853 +  ;
2854 +  return 0;
2855 + }
2856 + _ACEOF
2857 + rm -f conftest.$ac_objext
2858 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 +  (eval $ac_compile) 2>&5
2860 +  ac_status=$?
2861 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 +  (exit $ac_status); } &&
2863 +         { ac_try='test -s conftest.$ac_objext'
2864 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865 +  (eval $ac_try) 2>&5
2866 +  ac_status=$?
2867 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 +  (exit $ac_status); }; }; then
2869 +  break
2870   else
2871    echo "$as_me: failed program was:" >&5
2872   sed 's/^/| /' conftest.$ac_ext >&5
2873  
2874   fi
2875   rm -f conftest.$ac_objext conftest.$ac_ext
2876 + done
2877 + rm -f conftest*
2878 + if test -n "$ac_declaration"; then
2879 +  echo '#ifdef __cplusplus' >>confdefs.h
2880 +  echo $ac_declaration      >>confdefs.h
2881 +  echo '#endif'             >>confdefs.h
2882 + fi
2883 +
2884   ac_ext=c
2885 + ac_cpp='$CPP $CPPFLAGS'
2886 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
2889 +
2890 + OOPSE_TEMPLATE_FLAGS=""
2891 + if test $ac_cv_cxx_compiler_gnu = no; then
2892 +  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
2893 + echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
2894 +  echo 'void f(){}' > conftest.cc
2895 +  if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
2896 +    echo "$as_me:$LINENO: result: yes" >&5
2897 + echo "${ECHO_T}yes" >&6
2898 +    OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
2899 +  else
2900 +    echo "$as_me:$LINENO: result: no" >&5
2901 + echo "${ECHO_T}no" >&6
2902 +  fi
2903 +  rm -f conftest*
2904 +  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
2905 + echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
2906 +  echo 'void f(){}' > conftest.cc
2907 +  if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
2908 +    echo "$as_me:$LINENO: result: yes" >&5
2909 + echo "${ECHO_T}yes" >&6
2910 +    OOPSE_TEMPLATE_FLAGS="-instances=static"
2911 +  else
2912 +    echo "$as_me:$LINENO: result: no" >&5
2913 + echo "${ECHO_T}no" >&6
2914 +  fi
2915 +  rm -f conftest*
2916 +  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
2917 + echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
2918 +  echo 'void f(){}' > conftest.cc
2919 +  if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
2920 +    echo "$as_me:$LINENO: result: yes" >&5
2921 + echo "${ECHO_T}yes" >&6
2922 +    OOPSE_TEMPLATE_FLAGS="-pto"
2923 +  else
2924 +    echo "$as_me:$LINENO: result: no" >&5
2925 + echo "${ECHO_T}no" >&6
2926 +  fi
2927 +  rm -f conftest*
2928 +  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
2929 + echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
2930 +  echo 'void f(){}' > conftest.cc
2931 +  if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
2932 +    echo "$as_me:$LINENO: result: yes" >&5
2933 + echo "${ECHO_T}yes" >&6
2934 +    EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
2935 +  else
2936 +    echo "$as_me:$LINENO: result: no" >&5
2937 + echo "${ECHO_T}no" >&6
2938 +  fi
2939 + fi
2940 +
2941 +
2942 +
2943 +
2944 + ac_ext=f90
2945 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2946 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2948 + if test -n "$ac_tool_prefix"; then
2949 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2950 +  do
2951 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2952 + set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2953 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2955 + if test "${ac_cv_prog_F90+set}" = set; then
2956 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2957 + else
2958 +  if test -n "$F90"; then
2959 +  ac_cv_prog_F90="$F90" # Let the user override the test.
2960 + else
2961 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 + for as_dir in $PATH
2963 + do
2964 +  IFS=$as_save_IFS
2965 +  test -z "$as_dir" && as_dir=.
2966 +  for ac_exec_ext in '' $ac_executable_extensions; do
2967 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 +    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2969 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 +    break 2
2971 +  fi
2972 + done
2973 + done
2974 +
2975 + fi
2976 + fi
2977 + F90=$ac_cv_prog_F90
2978 + if test -n "$F90"; then
2979 +  echo "$as_me:$LINENO: result: $F90" >&5
2980 + echo "${ECHO_T}$F90" >&6
2981 + else
2982 +  echo "$as_me:$LINENO: result: no" >&5
2983 + echo "${ECHO_T}no" >&6
2984 + fi
2985 +
2986 +    test -n "$F90" && break
2987 +  done
2988 + fi
2989 + if test -z "$F90"; then
2990 +  ac_ct_F90=$F90
2991 +  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
2992 + do
2993 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
2994 + set dummy $ac_prog; ac_word=$2
2995 + echo "$as_me:$LINENO: checking for $ac_word" >&5
2996 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2997 + if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
2998 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2999 + else
3000 +  if test -n "$ac_ct_F90"; then
3001 +  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3002 + else
3003 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 + for as_dir in $PATH
3005 + do
3006 +  IFS=$as_save_IFS
3007 +  test -z "$as_dir" && as_dir=.
3008 +  for ac_exec_ext in '' $ac_executable_extensions; do
3009 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 +    ac_cv_prog_ac_ct_F90="$ac_prog"
3011 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 +    break 2
3013 +  fi
3014 + done
3015 + done
3016 +
3017 + fi
3018 + fi
3019 + ac_ct_F90=$ac_cv_prog_ac_ct_F90
3020 + if test -n "$ac_ct_F90"; then
3021 +  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3022 + echo "${ECHO_T}$ac_ct_F90" >&6
3023 + else
3024 +  echo "$as_me:$LINENO: result: no" >&5
3025 + echo "${ECHO_T}no" >&6
3026 + fi
3027 +
3028 +  test -n "$ac_ct_F90" && break
3029 + done
3030 +
3031 +  F90=$ac_ct_F90
3032 + fi
3033 +
3034 +
3035 + # If we don't use `.F90' as extension, the preprocessor is not run on the
3036 + # input file.
3037 + ac_save_ext=$ac_ext
3038 + ac_ext=F90
3039 + echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3040 + echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3041 + if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3042 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3043 + else
3044 +  cat >conftest.$ac_ext <<_ACEOF
3045 +
3046 + program main
3047 +
3048 + #ifndef __GNUC__
3049 +       choke me
3050 + #endif
3051 +
3052 + end program main
3053 +
3054 + _ACEOF
3055 + rm -f conftest.$ac_objext
3056 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3057 +  (eval $ac_compile) 2>&5
3058 +  ac_status=$?
3059 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 +  (exit $ac_status); } &&
3061 +         { ac_try='test -s conftest.$ac_objext'
3062 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 +  (eval $ac_try) 2>&5
3064 +  ac_status=$?
3065 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 +  (exit $ac_status); }; }; then
3067 +  ac_compiler_gnu=yes
3068 + else
3069 +  echo "$as_me: failed program was:" >&5
3070 + sed 's/^/| /' conftest.$ac_ext >&5
3071 +
3072 + ac_compiler_gnu=no
3073 + fi
3074 + rm -f conftest.$ac_objext conftest.$ac_ext
3075 + ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3076 +
3077 + fi
3078 + echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3079 + echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3080 + ac_ext=$ac_save_ext
3081 + G95=`test $ac_compiler_gnu = yes && echo yes`
3082 + ac_ext=c
3083 + ac_cpp='$CPP $CPPFLAGS'
3084 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3087 +
3088 +
3089 +
3090 +
3091 +
3092 + # Try to determine native compiler flags that allow us to use F90 suffix
3093 + # for preprocessed f90 source.
3094 +
3095 + if test "$ac_test_PREPFLAG" != "set"; then
3096 +  PREPFLAG=""
3097 +  case "${host_cpu}-${host_os}" in
3098 +
3099 +  *linux*) if test "$F90" = ifc; then
3100 +                    PREPFLAG="-fpp1 "
3101 +                fi;;
3102 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3103 +                    PREPFLAG="-qsuffix=cpp=F90 "
3104 +                fi;;
3105 +  *darwin*)
3106 +        if test "$F90" = f90 -o "$F90" = xlf90; then
3107 +                PREPFLAG="-qsuffix=cpp=F90 "
3108 +        fi;;
3109 +  esac
3110 +
3111 +  if test -z "$PREPFLAG"; then
3112 +        echo ""
3113 +        echo "**********************************************************"
3114 +        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
3115 +        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
3116 +        echo "* (otherwise, an empty PREPFLAG will be used)            *"
3117 +        echo "**********************************************************"
3118 +        echo ""
3119 +        PREPFLAG=""
3120 +  fi
3121 +
3122 +  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3123 + echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3124 +
3125 +
3126 +  ac_ext=f90
3127 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3128 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3130 +
3131 +  ac_save_ext=$ac_ext
3132 +  ac_ext=F90
3133 +  ac_save_F90FLAGS=$F90FLAGS
3134 +
3135 +  if test "$PREPFLAG"; then
3136 +  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
3137 + fi
3138 +
3139 +    cat >conftest.$ac_ext <<_ACEOF
3140 +
3141 +
3142 + program main
3143 +
3144 +  integer :: i
3145 +  i = 1
3146 +
3147 +
3148 + end program main
3149 +
3150 + _ACEOF
3151 + rm -f conftest.$ac_objext
3152 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3153 +  (eval $ac_compile) 2>&5
3154 +  ac_status=$?
3155 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 +  (exit $ac_status); } &&
3157 +         { ac_try='test -s conftest.$ac_objext'
3158 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3159 +  (eval $ac_try) 2>&5
3160 +  ac_status=$?
3161 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 +  (exit $ac_status); }; }; then
3163 +  prepflagworks=1
3164 + else
3165 +  echo "$as_me: failed program was:" >&5
3166 + sed 's/^/| /' conftest.$ac_ext >&5
3167 +
3168 + prepflagworks=0
3169 + fi
3170 + rm -f conftest.$ac_objext conftest.$ac_ext
3171 +
3172 +  F90FLAGS=$ac_save_F90FLAGS
3173 +  ac_ext=$ac_save_ext
3174 +  ac_ext=c
3175 + ac_cpp='$CPP $CPPFLAGS'
3176 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3177 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3179 +
3180 +
3181 +
3182 +  if test "$prepflagworks" = 1; then
3183 +    echo "$as_me:$LINENO: result: yes" >&5
3184 + echo "${ECHO_T}yes" >&6
3185 +
3186 +  else
3187 +    echo "$as_me:$LINENO: result: no" >&5
3188 + echo "${ECHO_T}no" >&6
3189 +    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3190 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3191 +   { (exit 1); exit 1; }; }
3192 +  fi
3193 + fi
3194 +
3195 +
3196 +
3197 +
3198 +
3199 + # Try to determine native compiler flags that allow us to use F90 suffix
3200 + # for preprocessed f90 source with -D type defines
3201 +
3202 + if test "$ac_test_PREPDEFFLAG" != "set"; then
3203 +  PREPDEFFLAG=""
3204 +  case "${host_cpu}-${host_os}" in
3205 +
3206 +  *linux*) if test "$F90" = ifc; then
3207 +                    PREPDEFFLAG=" "
3208 +                fi;;
3209 +  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
3210 +                    PREPDEFFLAG="-WF,"
3211 +                fi;;
3212 +  *darwin*)
3213 +        if test "$F90" = f90 -o "$F90" = xlf90; then
3214 +                PREPDEFFLAG="-WF,"
3215 +        fi;;
3216 +  esac
3217 +
3218 +  if test -z "$PREPDEFFLAG"; then
3219 +        echo ""
3220 +        echo "*************************************************************"
3221 +        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
3222 +        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
3223 +        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
3224 +        echo "*************************************************************"
3225 +        echo ""
3226 +        PREPDEFFLAG=" "
3227 +  fi
3228 +
3229 +  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3230 + echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3231 +
3232 +
3233 +  ac_ext=f90
3234 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3235 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3237 +
3238 +  ac_save_ext=$ac_ext
3239 +  ac_ext=F90
3240 +  ac_save_F90FLAGS=$F90FLAGS
3241 +
3242 +  if test "$PREPDEFFLAG"; then
3243 +  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
3244 + fi
3245 +
3246 +    cat >conftest.$ac_ext <<_ACEOF
3247 +
3248 +
3249 + program main
3250 +
3251 +  integer :: i
3252 + #ifdef TEST
3253 +  i = 1
3254 + #else
3255 +  choke me
3256 + #endif
3257 +
3258 +
3259 + end program main
3260 +
3261 + _ACEOF
3262 + rm -f conftest.$ac_objext
3263 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3264 +  (eval $ac_compile) 2>&5
3265 +  ac_status=$?
3266 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 +  (exit $ac_status); } &&
3268 +         { ac_try='test -s conftest.$ac_objext'
3269 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 +  (eval $ac_try) 2>&5
3271 +  ac_status=$?
3272 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 +  (exit $ac_status); }; }; then
3274 +  prepdefflagworks=1
3275 + else
3276 +  echo "$as_me: failed program was:" >&5
3277 + sed 's/^/| /' conftest.$ac_ext >&5
3278 +
3279 + prepdefflagworks=0
3280 + fi
3281 + rm -f conftest.$ac_objext conftest.$ac_ext
3282 +
3283 +  F90FLAGS=$ac_save_F90FLAGS
3284 +  ac_ext=$ac_save_ext
3285 +  ac_ext=c
3286 + ac_cpp='$CPP $CPPFLAGS'
3287 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3289 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3290 +
3291 +
3292 +
3293 +  if test "$prepdefflagworks" = 1; then
3294 +    echo "$as_me:$LINENO: result: yes" >&5
3295 + echo "${ECHO_T}yes" >&6
3296 +
3297 +  else
3298 +    echo "$as_me:$LINENO: result: no" >&5
3299 + echo "${ECHO_T}no" >&6
3300 +    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3301 + echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3302 +   { (exit 1); exit 1; }; }
3303 +  fi
3304 + fi
3305 +
3306 + ac_ext=f90
3307 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3308 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3310 +
3311 +
3312 +
3313 + ac_ext=f90
3314 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3315 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3317 + echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
3318 + echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
3319 + if test "${ac_cv_prog_f90_v+set}" = set; then
3320 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3321 + else
3322 +
3323 + cat >conftest.$ac_ext <<_ACEOF
3324 +
3325 + program main
3326 +
3327 +
3328 + end program main
3329 +
3330 + _ACEOF
3331 + rm -f conftest.$ac_objext
3332 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333 +  (eval $ac_compile) 2>&5
3334 +  ac_status=$?
3335 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 +  (exit $ac_status); } &&
3337 +         { ac_try='test -s conftest.$ac_objext'
3338 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3339 +  (eval $ac_try) 2>&5
3340 +  ac_status=$?
3341 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 +  (exit $ac_status); }; }; then
3343 +  ac_cv_prog_f90_v=
3344 + # Try some options frequently used verbose output
3345 + for ac_verb in -v -verbose --verbose -V -\#\#\#; do
3346 +  ac_ext=f90
3347 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3348 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3350 +
3351 + cat >conftest.$ac_ext <<_ACEOF
3352 +
3353 + program main
3354 +
3355 +
3356 + end program main
3357 +
3358 + _ACEOF
3359 +
3360 + # Compile and link our simple test program by passing a flag (argument
3361 + # 1 to this macro) to the Fortran 90 compiler in order to get
3362 + # "verbose" output that we can then parse for the Fortran 90 linker
3363 + # flags.
3364 + ac_save_F90FLAGS=$F90FLAGS
3365 + F90FLAGS="$F90FLAGS $ac_verb"
3366 +
3367 + (eval echo $as_me:3367: \"$ac_link\") >&5
3368 + ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3369 + echo "$ac_f90_v_output" >&5
3370 + F90FLAGS=$ac_save_F90FLAGS
3371 +
3372 + rm -f conftest.*
3373 + ac_ext=f90
3374 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3375 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3376 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3377 +
3378 + # If we are using xlf then replace all the commas with spaces.
3379 + if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then
3380 +  ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'`
3381 + fi
3382 +
3383 + # If we are using Cray Fortran then delete quotes.
3384 + # Use "\"" instead of '"' for font-lock-mode.
3385 + # FIXME: a more general fix for quoted arguments with spaces?
3386 + if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then
3387 +  ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"`
3388 + fi
3389 +  # look for -l* and *.a constructs in the output
3390 +  for ac_arg in $ac_f90_v_output; do
3391 +     case $ac_arg in
3392 +        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
3393 +          ac_cv_prog_f90_v=$ac_verb
3394 +          break 2 ;;
3395 +     esac
3396 +  done
3397 + done
3398 + if test -z "$ac_cv_prog_f90_v"; then
3399 +   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
3400 + echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
3401 + fi
3402 + else
3403 +  echo "$as_me: failed program was:" >&5
3404 + sed 's/^/| /' conftest.$ac_ext >&5
3405 +
3406 + { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3407 + echo "$as_me: WARNING: compilation failed" >&2;}
3408 + fi
3409 + rm -f conftest.$ac_objext conftest.$ac_ext
3410 +
3411 + fi
3412 + echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
3413 + echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
3414 + echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
3415 + echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
3416 + if test "${ac_cv_flibs+set}" = set; then
3417 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3418 + else
3419 +  if test "x$F90LIBS" != "x"; then
3420 +  ac_cv_f90libs="$F90LIBS" # Let the user override the test.
3421 + else
3422 +
3423 + ac_ext=f90
3424 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3425 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3427 +
3428 + cat >conftest.$ac_ext <<_ACEOF
3429 +
3430 + program main
3431 +
3432 +
3433 + end program main
3434 +
3435 + _ACEOF
3436 +
3437 + # Compile and link our simple test program by passing a flag (argument
3438 + # 1 to this macro) to the Fortran 90 compiler in order to get
3439 + # "verbose" output that we can then parse for the Fortran 90 linker
3440 + # flags.
3441 + ac_save_F90FLAGS=$F90FLAGS
3442 + F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3443 +
3444 + (eval echo $as_me:3444: \"$ac_link\") >&5
3445 + ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3446 + echo "$ac_f90_v_output" >&5
3447 + F90FLAGS=$ac_save_F90FLAGS
3448 +
3449 + rm -f conftest.*
3450 + ac_ext=f90
3451 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3452 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3454 +
3455 + # If we are using xlf then replace all the commas with spaces.
3456 + if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then
3457 +  ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'`
3458 + fi
3459 +
3460 + # If we are using Cray Fortran then delete quotes.
3461 + # Use "\"" instead of '"' for font-lock-mode.
3462 + # FIXME: a more general fix for quoted arguments with spaces?
3463 + if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then
3464 +  ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"`
3465 + fi
3466 +
3467 + ac_cv_f90libs=
3468 +
3469 + # Save positional arguments (if any)
3470 + ac_save_positional="$@"
3471 +
3472 + set X $ac_f90_v_output
3473 + while test $# != 1; do
3474 +  shift
3475 +  ac_arg=$1
3476 +  case $ac_arg in
3477 +        [\\/]*.a | ?:[\\/]*.a)
3478 +            ac_exists=false
3479 +  for ac_i in $ac_cv_f90libs; do
3480 +    if test x"$ac_arg" = x"$ac_i"; then
3481 +      ac_exists=true
3482 +      break
3483 +    fi
3484 +  done
3485 +
3486 +  if test x"$ac_exists" = xtrue; then
3487 +  :
3488 + else
3489 +  ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
3490 + fi
3491 +
3492 +          ;;
3493 +        -bI:*)
3494 +            ac_exists=false
3495 +  for ac_i in $ac_cv_f90libs; do
3496 +    if test x"$ac_arg" = x"$ac_i"; then
3497 +      ac_exists=true
3498 +      break
3499 +    fi
3500 +  done
3501 +
3502 +  if test x"$ac_exists" = xtrue; then
3503 +  :
3504 + else
3505 +  if test "$ac_compiler_gnu" = yes; then
3506 +  for ac_link_opt in $ac_arg; do
3507 +    ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt"
3508 +  done
3509 + else
3510 +  ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
3511 + fi
3512 + fi
3513 +
3514 +          ;;
3515 +          # Ignore these flags.
3516 +        -lang* | -lcrt0.o | -lc | -lgcc | -LANG:=*)
3517 +          ;;
3518 +        -lkernel32)
3519 +          test x"$CYGWIN" != xyes && ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
3520 +          ;;
3521 +        -[LRuY])
3522 +          # These flags, when seen by themselves, take an argument.
3523 +          # We remove the space between option and argument and re-iterate
3524 +          # unless we find an empty arg or a new option (starting with -)
3525 +          case $2 in
3526 +             "" | -*);;
3527 +             *)
3528 +                ac_arg="$ac_arg$2"
3529 +
3530 +                shift; shift
3531 +                set X $ac_arg "$@"
3532 +                ;;
3533 +          esac
3534 +          ;;
3535 +        -YP,*)
3536 +          for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
3537 +              ac_exists=false
3538 +  for ac_i in $ac_cv_f90libs; do
3539 +    if test x"$ac_j" = x"$ac_i"; then
3540 +      ac_exists=true
3541 +      break
3542 +    fi
3543 +  done
3544 +
3545 +  if test x"$ac_exists" = xtrue; then
3546 +  :
3547 + else
3548 +  ac_arg="$ac_arg $ac_j"
3549 +                             ac_cv_f90libs="$ac_cv_f90libs $ac_j"
3550 + fi
3551 +
3552 +          done
3553 +          ;;
3554 +        -[lLR]*)
3555 +            ac_exists=false
3556 +  for ac_i in $ac_cv_f90libs; do
3557 +    if test x"$ac_arg" = x"$ac_i"; then
3558 +      ac_exists=true
3559 +      break
3560 +    fi
3561 +  done
3562 +
3563 +  if test x"$ac_exists" = xtrue; then
3564 +  :
3565 + else
3566 +  ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
3567 + fi
3568 +
3569 +          ;;
3570 +          # Ignore everything else.
3571 +  esac
3572 + done
3573 + # restore positional arguments
3574 + set X $ac_save_positional; shift
3575 +
3576 + # We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
3577 + # then we insist that the "run path" must be an absolute path (i.e. it
3578 + # must begin with a "/").
3579 + case `(uname -sr) 2>/dev/null` in
3580 +   "SunOS 5"*)
3581 +      ac_ld_run_path=`echo $ac_f90_v_output |
3582 +                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
3583 +      test "x$ac_ld_run_path" != x &&
3584 +
3585 +        if test "$ac_compiler_gnu" = yes; then
3586 +  for ac_link_opt in $ac_ld_run_path; do
3587 +    ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt"
3588 +  done
3589 + else
3590 +  ac_cv_f90libs="$ac_cv_f90libs $ac_ld_run_path"
3591 + fi
3592 +      ;;
3593 + esac
3594 + fi # test "x$F90LIBS" = "x"
3595 +
3596 + fi
3597 + echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
3598 + echo "${ECHO_T}$ac_cv_flibs" >&6
3599 + F90LIBS="$ac_cv_f90libs"
3600 +
3601 + ac_ext=f90
3602 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3603 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3605 +
3606 +
3607 + echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
3608 + echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
3609 + if test "${ac_cv_f90_mangling+set}" = set; then
3610 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3611 + else
3612 +  ac_ext=f90
3613 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3614 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3616 + cat >conftest.$ac_ext <<_ACEOF
3617 + subroutine foobar()
3618 + return
3619 + end
3620 + subroutine foo_bar()
3621 + return
3622 + end
3623 + _ACEOF
3624 + rm -f conftest.$ac_objext
3625 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 +  (eval $ac_compile) 2>&5
3627 +  ac_status=$?
3628 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 +  (exit $ac_status); } &&
3630 +         { ac_try='test -s conftest.$ac_objext'
3631 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 +  (eval $ac_try) 2>&5
3633 +  ac_status=$?
3634 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 +  (exit $ac_status); }; }; then
3636 +  mv conftest.$ac_objext cf90_test.$ac_objext
3637 +
3638 +  ac_ext=c
3639   ac_cpp='$CPP $CPPFLAGS'
3640   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643 +
3644 +  ac_save_LIBS=$LIBS
3645 +  LIBS="cf90_test.$ac_objext $F90LIBS $LIBS"
3646 +
3647 +  ac_success=no
3648 +  for ac_foobar in foobar FOOBAR; do
3649 +    for ac_underscore in "" "_"; do
3650 +      ac_func="$ac_foobar$ac_underscore"
3651 +      cat >conftest.$ac_ext <<_ACEOF
3652 + #line $LINENO "configure"
3653 + /* confdefs.h.  */
3654 + _ACEOF
3655 + cat confdefs.h >>conftest.$ac_ext
3656 + cat >>conftest.$ac_ext <<_ACEOF
3657 + /* end confdefs.h.  */
3658 +
3659 + /* Override any gcc2 internal prototype to avoid an error.  */
3660 + #ifdef __cplusplus
3661 + extern "C"
3662 + #endif
3663 + /* We use char because int might match the return type of a gcc2
3664 +   builtin and then its argument prototype would still apply.  */
3665 + char $ac_func ();
3666 + int
3667 + main ()
3668 + {
3669 + $ac_func ();
3670 +  ;
3671 +  return 0;
3672 + }
3673 + _ACEOF
3674 + rm -f conftest.$ac_objext conftest$ac_exeext
3675 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3676 +  (eval $ac_link) 2>&5
3677 +  ac_status=$?
3678 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 +  (exit $ac_status); } &&
3680 +         { ac_try='test -s conftest$ac_exeext'
3681 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682 +  (eval $ac_try) 2>&5
3683 +  ac_status=$?
3684 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 +  (exit $ac_status); }; }; then
3686 +  ac_success=yes; break 2
3687 + else
3688 +  echo "$as_me: failed program was:" >&5
3689 + sed 's/^/| /' conftest.$ac_ext >&5
3690 +
3691 + fi
3692 + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3693 +    done
3694 +  done
3695 +
3696 +  if test "$ac_success" = "yes"; then
3697 +     case $ac_foobar in
3698 +        foobar)
3699 +           ac_case=lower
3700 +           ac_foo_bar=foo_bar
3701 +           ;;
3702 +        FOOBAR)
3703 +           ac_case=upper
3704 +           ac_foo_bar=FOO_BAR
3705 +           ;;
3706 +     esac
3707 +
3708 +     ac_success_extra=no
3709 +     for ac_extra in "" "_"; do
3710 +        ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3711 +
3712 +        cat >conftest.$ac_ext <<_ACEOF
3713 + #line $LINENO "configure"
3714 + /* confdefs.h.  */
3715 + _ACEOF
3716 + cat confdefs.h >>conftest.$ac_ext
3717 + cat >>conftest.$ac_ext <<_ACEOF
3718 + /* end confdefs.h.  */
3719 +
3720 + /* Override any gcc2 internal prototype to avoid an error.  */
3721 + #ifdef __cplusplus
3722 + extern "C"
3723 + #endif
3724 + /* We use char because int might match the return type of a gcc2
3725 +   builtin and then its argument prototype would still apply.  */
3726 + char $ac_func ();
3727 + int
3728 + main ()
3729 + {
3730 + $ac_func ();
3731 +  ;
3732 +  return 0;
3733 + }
3734 + _ACEOF
3735 + rm -f conftest.$ac_objext conftest$ac_exeext
3736 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3737 +  (eval $ac_link) 2>&5
3738 +  ac_status=$?
3739 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 +  (exit $ac_status); } &&
3741 +         { ac_try='test -s conftest$ac_exeext'
3742 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 +  (eval $ac_try) 2>&5
3744 +  ac_status=$?
3745 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 +  (exit $ac_status); }; }; then
3747 +  ac_success_extra=yes; break
3748 + else
3749 +  echo "$as_me: failed program was:" >&5
3750 + sed 's/^/| /' conftest.$ac_ext >&5
3751 +
3752 + fi
3753 + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3754 +     done
3755 +
3756 +     if test "$ac_success_extra" = "yes"; then
3757 +        ac_cv_f90_mangling="$ac_case case"
3758 +        if test -z "$ac_underscore"; then
3759 +           ac_cv_f90_mangling="$ac_cv_f90_mangling, no underscore"
3760 +        else
3761 +           ac_cv_f90_mangling="$ac_cv_f90_mangling, underscore"
3762 +
3763 +        fi
3764 +        if test -z "$ac_extra"; then
3765 +           ac_cv_f90_mangling="$ac_cv_f90_mangling, no extra underscore"
3766 +        else
3767 +           ac_cv_f90_mangling="$ac_cv_f90_mangling, extra underscore"
3768 +        fi
3769 +      else
3770 +        ac_cv_f90_mangling="unknown"
3771 +      fi
3772 +  else
3773 +     ac_cv_f90_mangling="unknown"
3774 +
3775 +  fi
3776 +
3777 +  LIBS=$ac_save_LIBS
3778 +  ac_ext=f90
3779 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3780 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3782 +  rm -f cf90_test* conftest*
3783 + else
3784 +  echo "$as_me: failed program was:" >&5
3785 + sed 's/^/| /' conftest.$ac_ext >&5
3786 +
3787 + fi
3788 + rm -f conftest.$ac_objext conftest.$ac_ext
3789 + ac_ext=f90
3790 + ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3791 + ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 + ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3793 +
3794 + fi
3795 + echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
3796 + echo "${ECHO_T}$ac_cv_f90_mangling" >&6
3797 +
3798 +
3799 +
3800 + case $ac_cv_f90_mangling in
3801 +  "lower case, no underscore, no extra underscore")
3802 +          cat >>confdefs.h <<\_ACEOF
3803 + #define F90_FUNC(name,NAME) name
3804 + _ACEOF
3805 +
3806 +          cat >>confdefs.h <<\_ACEOF
3807 + #define F90_FUNC_(name,NAME) name
3808 + _ACEOF
3809 + ;;
3810 +  "lower case, no underscore, extra underscore")
3811 +          cat >>confdefs.h <<\_ACEOF
3812 + #define F90_FUNC(name,NAME) name
3813 + _ACEOF
3814 +
3815 +          cat >>confdefs.h <<\_ACEOF
3816 + #define F90_FUNC_(name,NAME) name ## _
3817 + _ACEOF
3818 + ;;
3819 +  "lower case, underscore, no extra underscore")
3820 +          cat >>confdefs.h <<\_ACEOF
3821 + #define F90_FUNC(name,NAME) name ## _
3822 + _ACEOF
3823 +
3824 +          cat >>confdefs.h <<\_ACEOF
3825 + #define F90_FUNC_(name,NAME) name ## _
3826 + _ACEOF
3827 + ;;
3828 +  "lower case, underscore, extra underscore")
3829 +          cat >>confdefs.h <<\_ACEOF
3830 + #define F90_FUNC(name,NAME) name ## _
3831 + _ACEOF
3832 +
3833 +          cat >>confdefs.h <<\_ACEOF
3834 + #define F90_FUNC_(name,NAME) name ## __
3835 + _ACEOF
3836 + ;;
3837 +  "upper case, no underscore, no extra underscore")
3838 +          cat >>confdefs.h <<\_ACEOF
3839 + #define F90_FUNC(name,NAME) NAME
3840 + _ACEOF
3841 +
3842 +          cat >>confdefs.h <<\_ACEOF
3843 + #define F90_FUNC_(name,NAME) NAME
3844 + _ACEOF
3845 + ;;
3846 +  "upper case, no underscore, extra underscore")
3847 +          cat >>confdefs.h <<\_ACEOF
3848 + #define F90_FUNC(name,NAME) NAME
3849 + _ACEOF
3850 +
3851 +          cat >>confdefs.h <<\_ACEOF
3852 + #define F90_FUNC_(name,NAME) NAME ## _
3853 + _ACEOF
3854 + ;;
3855 +  "upper case, underscore, no extra underscore")
3856 +          cat >>confdefs.h <<\_ACEOF
3857 + #define F90_FUNC(name,NAME) NAME ## _
3858 + _ACEOF
3859 +
3860 +          cat >>confdefs.h <<\_ACEOF
3861 + #define F90_FUNC_(name,NAME) NAME ## _
3862 + _ACEOF
3863 + ;;
3864 +  "upper case, underscore, extra underscore")
3865 +          cat >>confdefs.h <<\_ACEOF
3866 + #define F90_FUNC(name,NAME) NAME ## _
3867 + _ACEOF
3868 +
3869 +          cat >>confdefs.h <<\_ACEOF
3870 + #define F90_FUNC_(name,NAME) NAME ## __
3871 + _ACEOF
3872 + ;;
3873 +  *)
3874 +          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
3875 + echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
3876 +          ;;
3877 + esac
3878 +
3879 +
3880 +
3881 +
3882 +
3883 + echo "$as_me:$LINENO: checking for module suffix" >&5
3884 + echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
3885 + rm -f conftest*
3886 + # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
3887 + rm -f work*
3888 + cat >conftest.f90 <<EOF
3889 +        module conftest
3890 +        integer n
3891 +        parameter (n=1)
3892 +        end module conftest
3893 + EOF
3894 + # SGI and absoft compilers generates module name in upper case!
3895 + testname="conftest"
3896 + modcase="lower"
3897 + if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
3898 +    MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o`
3899 +    MOD=`echo "$MOD" | sed -e 's/conftest\.//g'`
3900 +    if test -z "$MOD" ; then
3901 +        MOD=`ls CONFTEST* 2>/dev/null \
3902 +                | grep -v CONFTEST.f | grep -v CONFTEST.o`
3903 +        MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'`
3904 +        if test -n "$MOD" ; then
3905 +            testname="CONFTEST"
3906 +            modcase="upper"
3907 +        fi
3908 +    fi
3909 +    if test -z "$MOD" ; then
3910 +        echo "$as_me:$LINENO: result: unknown" >&5
3911 + echo "${ECHO_T}unknown" >&6
3912 +        # Use mod if we can't figure it out
3913 +        MOD="mod"
3914 +    else
3915 +        echo "$as_me:$LINENO: result: $MOD" >&5
3916 + echo "${ECHO_T}$MOD" >&6
3917 +    fi
3918 +    if test -s work.pcl ; then
3919 +        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
3920 + echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
3921 +    fi
3922 + else
3923 +    echo "$as_me:$LINENO: result: unknown" >&5
3924 + echo "${ECHO_T}unknown" >&6
3925 + fi
3926 +
3927 +
3928 +
3929 +
3930 +
3931 + # Check for module include path (some use -I, some (Solaris) use -M, some
3932 + # (absoft) use -p).
3933 + # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
3934 + # specified, work.pcl and work.pc are created.  However, if you specify
3935 + # a file, it must contain a the name of a file ending in .pc .  Ugh!
3936 + # Use the module made above
3937 + echo "$as_me:$LINENO: checking for module directory path flag" >&5
3938 + echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
3939 + rm -f conftest*
3940 + # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
3941 + rm -f work*
3942 + cat >conftest.f90 <<EOF
3943 +        module conftest
3944 +        integer n
3945 +        parameter (n=1)
3946 +        end module conftest
3947 + EOF
3948 + # SGI and absoft compilers generates module name in upper case!
3949 + testname="conftest"
3950 + if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
3951 +   mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.f | grep -v CONFTEST.o`
3952 +   mod=`echo "$mod" | sed -e 's/CONFTEST\.//g'`
3953 +   if test -n "$mod" ; then
3954 +      testname="CONFTEST"
3955 +   fi
3956 +   madedir=0
3957 +   if test ! -d conf ; then mkdir conf ; madedir=1; fi
3958 +   cp $testname.$MOD conf
3959 +   rm -f conftest* CONFTEST*
3960 +   cat >conftest1.f90 <<EOF
3961 +        program main
3962 +        use conftest
3963 +        print *, n
3964 +        end
3965 + EOF
3966 +   F90_WORK_FILES_ARG=""
3967 +   F90MODINCSPEC=""
3968 +   if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
3969 +       MODDIRFLAG="-I"
3970 +       F90MODINCSPEC="-I<dir>"
3971 +       echo "$as_me:$LINENO: result: -I" >&5
3972 + echo "${ECHO_T}-I" >&6
3973 +   elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
3974 +       MODDIRFLAG="-M"
3975 +       F90MODINCSPEC="-M<dir>"
3976 +       echo "$as_me:$LINENO: result: -M" >&5
3977 + echo "${ECHO_T}-M" >&6
3978 +   elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
3979 +       MODDIRFLAG="-p"
3980 +       F90MODINCSPEC="-p<dir>"
3981 +       echo "$as_me:$LINENO: result: -p" >&5
3982 + echo "${ECHO_T}-p" >&6
3983 +   elif test -s work.pc ; then
3984 +        cp work.pc conf/mpimod.pc
3985 +        echo "mpimod.pc" > conf/mpimod.pcl
3986 +        echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
3987 +        if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
3988 +            MODDIRFLAG='-cl,mpimod.pcl'
3989 +            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
3990 + echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
3991 +            F90_WORK_FILES_ARG="-cl,mpimod.pcl"
3992 +            F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
3993  
3994 +        else
3995 +            # The version of the Intel compiler that I have refuses to let
3996 +            # you put the "work catalog" list anywhere but the current
3997 +            # directory. For example, you cannot in
3998 +         :
3999 +        fi
4000 +   fi
4001 +   if test -z "MODDIRFLAG" ; then
4002 +       echo "$as_me:$LINENO: result: unknown" >&5
4003 + echo "${ECHO_T}unknown" >&6
4004 +   fi
4005  
4006  
4007 +   rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4008 +   if test $madedir = 1 ; then rmdir conf ; fi
4009 + fi
4010  
4011  
4012 +
4013 +
4014 + case $debug in
4015 +  1)
4016 +     ;;
4017 +  *)
4018 +
4019 +
4020 +
4021 +
4022   # Try to determine "good" native compiler flags if none specified on command
4023   # line
4024   if test "$ac_test_CFLAGS" != "set"; then
# Line 2983 | Line 4441 | else
4441          echo "********************************************************"
4442          echo ""
4443          CFLAGS=""
2986
2987 fi
2988
2989
2990 fi
2991
2992 ac_ext=cc
2993 ac_cpp='$CXXCPP $CPPFLAGS'
2994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2997 if test -n "$ac_tool_prefix"; then
2998  for ac_prog in $CCC icpc icc xlC g++ c++
2999  do
3000    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3002 echo "$as_me:$LINENO: checking for $ac_word" >&5
3003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3004 if test "${ac_cv_prog_CXX+set}" = set; then
3005  echo $ECHO_N "(cached) $ECHO_C" >&6
3006 else
3007  if test -n "$CXX"; then
3008  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3009 else
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 for as_dir in $PATH
3012 do
3013  IFS=$as_save_IFS
3014  test -z "$as_dir" && as_dir=.
3015  for ac_exec_ext in '' $ac_executable_extensions; do
3016  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3018    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3019    break 2
3020  fi
3021 done
3022 done
3023
3024 fi
3025 fi
3026 CXX=$ac_cv_prog_CXX
3027 if test -n "$CXX"; then
3028  echo "$as_me:$LINENO: result: $CXX" >&5
3029 echo "${ECHO_T}$CXX" >&6
3030 else
3031  echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6
3033 fi
3034
3035    test -n "$CXX" && break
3036  done
3037 fi
3038 if test -z "$CXX"; then
3039  ac_ct_CXX=$CXX
3040  for ac_prog in $CCC icpc icc xlC g++ c++
3041 do
3042  # Extract the first word of "$ac_prog", so it can be a program name with args.
3043 set dummy $ac_prog; ac_word=$2
3044 echo "$as_me:$LINENO: checking for $ac_word" >&5
3045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3047  echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049  if test -n "$ac_ct_CXX"; then
3050  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3051 else
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3054 do
3055  IFS=$as_save_IFS
3056  test -z "$as_dir" && as_dir=.
3057  for ac_exec_ext in '' $ac_executable_extensions; do
3058  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059    ac_cv_prog_ac_ct_CXX="$ac_prog"
3060    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3061    break 2
3062  fi
3063 done
3064 done
4444  
4445   fi
3067 fi
3068 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3069 if test -n "$ac_ct_CXX"; then
3070  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3071 echo "${ECHO_T}$ac_ct_CXX" >&6
3072 else
3073  echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3075 fi
4446  
3077  test -n "$ac_ct_CXX" && break
3078 done
3079 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4447  
3081  CXX=$ac_ct_CXX
4448   fi
4449  
4450  
3085 # Provide some information about the compiler.
3086 echo "$as_me:$LINENO:" \
3087     "checking for C++ compiler version" >&5
3088 ac_compiler=`set X $ac_compile; echo $2`
3089 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3090  (eval $ac_compiler --version </dev/null >&5) 2>&5
3091  ac_status=$?
3092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093  (exit $ac_status); }
3094 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3095  (eval $ac_compiler -v </dev/null >&5) 2>&5
3096  ac_status=$?
3097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098  (exit $ac_status); }
3099 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3100  (eval $ac_compiler -V </dev/null >&5) 2>&5
3101  ac_status=$?
3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103  (exit $ac_status); }
4451  
3105 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3106 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3107 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3108  echo $ECHO_N "(cached) $ECHO_C" >&6
3109 else
3110  cat >conftest.$ac_ext <<_ACEOF
3111 #line $LINENO "configure"
3112 /* confdefs.h.  */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h.  */
4452  
3118 int
3119 main ()
3120 {
3121 #ifndef __GNUC__
3122       choke me
3123 #endif
4453  
3125  ;
3126  return 0;
3127 }
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131  (eval $ac_compile) 2>&5
3132  ac_status=$?
3133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134  (exit $ac_status); } &&
3135         { ac_try='test -s conftest.$ac_objext'
3136  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137  (eval $ac_try) 2>&5
3138  ac_status=$?
3139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140  (exit $ac_status); }; }; then
3141  ac_compiler_gnu=yes
3142 else
3143  echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3145
3146 ac_compiler_gnu=no
3147 fi
3148 rm -f conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3150
3151 fi
3152 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3154 GXX=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CXXFLAGS=${CXXFLAGS+set}
3156 ac_save_CXXFLAGS=$CXXFLAGS
3157 CXXFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3159 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cxx_g+set}" = set; then
3161  echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163  cat >conftest.$ac_ext <<_ACEOF
3164 #line $LINENO "configure"
3165 /* confdefs.h.  */
3166 _ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h.  */
3170
3171 int
3172 main ()
3173 {
3174
3175  ;
3176  return 0;
3177 }
3178 _ACEOF
3179 rm -f conftest.$ac_objext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181  (eval $ac_compile) 2>&5
3182  ac_status=$?
3183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184  (exit $ac_status); } &&
3185         { ac_try='test -s conftest.$ac_objext'
3186  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187  (eval $ac_try) 2>&5
3188  ac_status=$?
3189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190  (exit $ac_status); }; }; then
3191  ac_cv_prog_cxx_g=yes
3192 else
3193  echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3195
3196 ac_cv_prog_cxx_g=no
3197 fi
3198 rm -f conftest.$ac_objext conftest.$ac_ext
3199 fi
3200 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3201 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3202 if test "$ac_test_CXXFLAGS" = set; then
3203  CXXFLAGS=$ac_save_CXXFLAGS
3204 elif test $ac_cv_prog_cxx_g = yes; then
3205  if test "$GXX" = yes; then
3206    CXXFLAGS="-g -O2"
3207  else
3208    CXXFLAGS="-g"
3209  fi
3210 else
3211  if test "$GXX" = yes; then
3212    CXXFLAGS="-O2"
3213  else
3214    CXXFLAGS=
3215  fi
3216 fi
3217 for ac_declaration in \
3218   ''\
3219   '#include <stdlib.h>' \
3220   'extern "C" void std::exit (int) throw (); using std::exit;' \
3221   'extern "C" void std::exit (int); using std::exit;' \
3222   'extern "C" void exit (int) throw ();' \
3223   'extern "C" void exit (int);' \
3224   'void exit (int);'
3225 do
3226  cat >conftest.$ac_ext <<_ACEOF
3227 #line $LINENO "configure"
3228 /* confdefs.h.  */
3229 _ACEOF
3230 cat confdefs.h >>conftest.$ac_ext
3231 cat >>conftest.$ac_ext <<_ACEOF
3232 /* end confdefs.h.  */
3233 #include <stdlib.h>
3234 $ac_declaration
3235 int
3236 main ()
3237 {
3238 exit (42);
3239  ;
3240  return 0;
3241 }
3242 _ACEOF
3243 rm -f conftest.$ac_objext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245  (eval $ac_compile) 2>&5
3246  ac_status=$?
3247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248  (exit $ac_status); } &&
3249         { ac_try='test -s conftest.$ac_objext'
3250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251  (eval $ac_try) 2>&5
3252  ac_status=$?
3253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254  (exit $ac_status); }; }; then
3255  :
3256 else
3257  echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3259
3260 continue
3261 fi
3262 rm -f conftest.$ac_objext conftest.$ac_ext
3263  cat >conftest.$ac_ext <<_ACEOF
3264 #line $LINENO "configure"
3265 /* confdefs.h.  */
3266 _ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h.  */
3270 $ac_declaration
3271 int
3272 main ()
3273 {
3274 exit (42);
3275  ;
3276  return 0;
3277 }
3278 _ACEOF
3279 rm -f conftest.$ac_objext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281  (eval $ac_compile) 2>&5
3282  ac_status=$?
3283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284  (exit $ac_status); } &&
3285         { ac_try='test -s conftest.$ac_objext'
3286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287  (eval $ac_try) 2>&5
3288  ac_status=$?
3289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290  (exit $ac_status); }; }; then
3291  break
3292 else
3293  echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.$ac_ext >&5
3295
3296 fi
3297 rm -f conftest.$ac_objext conftest.$ac_ext
3298 done
3299 rm -f conftest*
3300 if test -n "$ac_declaration"; then
3301  echo '#ifdef __cplusplus' >>confdefs.h
3302  echo $ac_declaration      >>confdefs.h
3303  echo '#endif'             >>confdefs.h
3304 fi
3305
3306 ac_ext=c
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311
3312
3313
3314
3315
4454   # Try to determine "good" native compiler flags if none specified on command
4455   # line
4456   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 3726 | Line 4864 | else
4864          echo "**********************************************************"
4865          echo ""
4866          CXXFLAGS=""
3729
3730 fi
3731
3732
3733 fi
3734
3735 ac_ext=f90
3736 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3737 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3739 if test -n "$ac_tool_prefix"; then
3740  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3741  do
3742    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 echo "$as_me:$LINENO: checking for $ac_word" >&5
3745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3746 if test "${ac_cv_prog_F90+set}" = set; then
3747  echo $ECHO_N "(cached) $ECHO_C" >&6
3748 else
3749  if test -n "$F90"; then
3750  ac_cv_prog_F90="$F90" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755  IFS=$as_save_IFS
3756  test -z "$as_dir" && as_dir=.
3757  for ac_exec_ext in '' $ac_executable_extensions; do
3758  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3760    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3761    break 2
3762  fi
3763 done
3764 done
3765
3766 fi
3767 fi
3768 F90=$ac_cv_prog_F90
3769 if test -n "$F90"; then
3770  echo "$as_me:$LINENO: result: $F90" >&5
3771 echo "${ECHO_T}$F90" >&6
3772 else
3773  echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6
3775 fi
3776
3777    test -n "$F90" && break
3778  done
3779 fi
3780 if test -z "$F90"; then
3781  ac_ct_F90=$F90
3782  for ac_prog in ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3783 do
3784  # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 echo "$as_me:$LINENO: checking for $ac_word" >&5
3787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3788 if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3789  echo $ECHO_N "(cached) $ECHO_C" >&6
3790 else
3791  if test -n "$ac_ct_F90"; then
3792  ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3796 do
3797  IFS=$as_save_IFS
3798  test -z "$as_dir" && as_dir=.
3799  for ac_exec_ext in '' $ac_executable_extensions; do
3800  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801    ac_cv_prog_ac_ct_F90="$ac_prog"
3802    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3803    break 2
3804  fi
3805 done
3806 done
3807
3808 fi
3809 fi
3810 ac_ct_F90=$ac_cv_prog_ac_ct_F90
3811 if test -n "$ac_ct_F90"; then
3812  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3813 echo "${ECHO_T}$ac_ct_F90" >&6
3814 else
3815  echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3817 fi
4867  
3819  test -n "$ac_ct_F90" && break
3820 done
3821
3822  F90=$ac_ct_F90
4868   fi
4869  
4870  
3826 # If we don't use `.F90' as extension, the preprocessor is not run on the
3827 # input file.
3828 ac_save_ext=$ac_ext
3829 ac_ext=F90
3830 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3831 echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3832 if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3833  echo $ECHO_N "(cached) $ECHO_C" >&6
3834 else
3835  cat >conftest.$ac_ext <<_ACEOF
3836
3837 program main
3838
3839 #ifndef __GNUC__
3840       choke me
3841 #endif
3842
3843 end program main
3844
3845 _ACEOF
3846 rm -f conftest.$ac_objext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3848  (eval $ac_compile) 2>&5
3849  ac_status=$?
3850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851  (exit $ac_status); } &&
3852         { ac_try='test -s conftest.$ac_objext'
3853  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854  (eval $ac_try) 2>&5
3855  ac_status=$?
3856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857  (exit $ac_status); }; }; then
3858  ac_compiler_gnu=yes
3859 else
3860  echo "$as_me: failed program was:" >&5
3861 sed 's/^/| /' conftest.$ac_ext >&5
3862
3863 ac_compiler_gnu=no
4871   fi
3865 rm -f conftest.$ac_objext conftest.$ac_ext
3866 ac_cv_f90_compiler_gnu=$ac_compiler_gnu
4872  
3868 fi
3869 echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3870 echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3871 ac_ext=$ac_save_ext
3872 G95=`test $ac_compiler_gnu = yes && echo yes`
3873 ac_ext=c
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4873  
4874  
4875  
4876  
3882
4877   # Try to determine "good" native compiler flags if none specified on command
4878   # line
4879  
4880 < if test "$ac_test_F90FLAGS" != "set"; then
4880 > if test x"$F90FLAGS" = x ; then
4881    F90FLAGS=""
4882    case "${host_cpu}-${host_os}" in
4883  
# Line 3963 | Line 4957 | ac_ext=c
4957          ac_guessed_f90flags=no
4958   fi
4959   rm -f conftest*
4960 < ac_ext=c
4961 < ac_cpp='$CPP $CPPFLAGS'
4962 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960 > ac_ext=f90
4961 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4962 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4964  
4965  
4966   fi
# Line 3993 | Line 4986 | fi
4986  
4987   fi
4988  
4989 <
4990 <
3998 <
3999 <
4000 < # Try to determine native compiler flags that allow us to use F90 suffix
4001 < # for preprocessed f90 source.
4002 <
4003 < if test "$ac_test_PREPFLAG" != "set"; then
4004 <  PREPFLAG=""
4005 <  case "${host_cpu}-${host_os}" in
4006 <
4007 <  *linux*) if test "$F90" = ifc; then
4008 <                    PREPFLAG="-fpp1 "
4009 <                fi;;
4010 <  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
4011 <                    PREPFLAG="-qsuffix=cpp=F90 "
4012 <                fi;;
4013 <  *darwin*)
4014 <        if test "$F90" = f90 -o "$F90" = xlf90; then
4015 <                PREPFLAG="-qsuffix=cpp=F90 "
4016 <        fi;;
4017 <  esac
4018 <
4019 <  if test -z "$PREPFLAG"; then
4020 <        echo ""
4021 <        echo "**********************************************************"
4022 <        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
4023 <        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
4024 <        echo "* (otherwise, an empty PREPFLAG will be used)            *"
4025 <        echo "**********************************************************"
4026 <        echo ""
4027 <        PREPFLAG=""
4028 <  fi
4029 <
4030 <  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
4031 < echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
4032 <
4033 <
4034 <  ac_ext=f90
4035 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4036 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4038 <
4039 <  ac_save_ext=$ac_ext
4040 <  ac_ext=F90
4041 <  ac_save_F90FLAGS=$F90FLAGS
4042 <
4043 <  if test "$PREPFLAG"; then
4044 <  F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST"
4045 < fi
4046 <
4047 <    cat >conftest.$ac_ext <<_ACEOF
4048 <
4049 <
4050 < program main
4051 <
4052 <  integer :: i
4053 <  i = 1
4054 <
4055 <
4056 < end program main
4057 <
4058 < _ACEOF
4059 < rm -f conftest.$ac_objext
4060 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4061 <  (eval $ac_compile) 2>&5
4062 <  ac_status=$?
4063 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 <  (exit $ac_status); } &&
4065 <         { ac_try='test -s conftest.$ac_objext'
4066 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 <  (eval $ac_try) 2>&5
4068 <  ac_status=$?
4069 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 <  (exit $ac_status); }; }; then
4071 <  prepflagworks=1
4072 < else
4073 <  echo "$as_me: failed program was:" >&5
4074 < sed 's/^/| /' conftest.$ac_ext >&5
4075 <
4076 < prepflagworks=0
4077 < fi
4078 < rm -f conftest.$ac_objext conftest.$ac_ext
4079 <
4080 <  F90FLAGS=$ac_save_F90FLAGS
4081 <  ac_ext=$ac_save_ext
4082 <  ac_ext=c
4083 < ac_cpp='$CPP $CPPFLAGS'
4084 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 <
4088 <
4089 <
4090 <  if test "$prepflagworks" = 1; then
4091 <    echo "$as_me:$LINENO: result: yes" >&5
4092 < echo "${ECHO_T}yes" >&6
4093 <
4094 <  else
4095 <    echo "$as_me:$LINENO: result: no" >&5
4096 < echo "${ECHO_T}no" >&6
4097 <    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
4098 < echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
4099 <   { (exit 1); exit 1; }; }
4100 <  fi
4101 < fi
4102 <
4103 <
4104 <
4105 <
4106 <
4107 < # Try to determine native compiler flags that allow us to use F90 suffix
4108 < # for preprocessed f90 source with -D type defines
4109 <
4110 < if test "$ac_test_PREPDEFFLAG" != "set"; then
4111 <  PREPDEFFLAG=""
4112 <  case "${host_cpu}-${host_os}" in
4113 <
4114 <  *linux*) if test "$F90" = ifc; then
4115 <                    PREPDEFFLAG=" "
4116 <                fi;;
4117 <  *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
4118 <                    PREPDEFFLAG="-WF,"
4119 <                fi;;
4120 <  *darwin*)
4121 <        if test "$F90" = f90 -o "$F90" = xlf90; then
4122 <                PREPDEFFLAG="-WF,"
4123 <        fi;;
4124 <  esac
4125 <
4126 <  if test -z "$PREPDEFFLAG"; then
4127 <        echo ""
4128 <        echo "*************************************************************"
4129 <        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
4130 <        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
4131 <        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
4132 <        echo "*************************************************************"
4133 <        echo ""
4134 <        PREPDEFFLAG=" "
4135 <  fi
4136 <
4137 <  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
4138 < echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
4139 <
4140 <
4141 <  ac_ext=f90
4142 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4143 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4144 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4145 <
4146 <  ac_save_ext=$ac_ext
4147 <  ac_ext=F90
4148 <  ac_save_F90FLAGS=$F90FLAGS
4149 <
4150 <  if test "$PREPDEFFLAG"; then
4151 <  F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST"
4152 < fi
4153 <
4154 <    cat >conftest.$ac_ext <<_ACEOF
4155 <
4156 <
4157 < program main
4158 <
4159 <  integer :: i
4160 < #ifdef TEST
4161 <  i = 1
4162 < #else
4163 <  choke me
4164 < #endif
4165 <
4166 <
4167 < end program main
4168 <
4169 < _ACEOF
4170 < rm -f conftest.$ac_objext
4171 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4172 <  (eval $ac_compile) 2>&5
4173 <  ac_status=$?
4174 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 <  (exit $ac_status); } &&
4176 <         { ac_try='test -s conftest.$ac_objext'
4177 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 <  (eval $ac_try) 2>&5
4179 <  ac_status=$?
4180 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 <  (exit $ac_status); }; }; then
4182 <  prepdefflagworks=1
4183 < else
4184 <  echo "$as_me: failed program was:" >&5
4185 < sed 's/^/| /' conftest.$ac_ext >&5
4186 <
4187 < prepdefflagworks=0
4188 < fi
4189 < rm -f conftest.$ac_objext conftest.$ac_ext
4190 <
4191 <  F90FLAGS=$ac_save_F90FLAGS
4192 <  ac_ext=$ac_save_ext
4193 <  ac_ext=c
4194 < ac_cpp='$CPP $CPPFLAGS'
4195 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4198 <
4199 <
4200 <
4201 <  if test "$prepdefflagworks" = 1; then
4202 <    echo "$as_me:$LINENO: result: yes" >&5
4203 < echo "${ECHO_T}yes" >&6
4204 <
4205 <  else
4206 <    echo "$as_me:$LINENO: result: no" >&5
4207 < echo "${ECHO_T}no" >&6
4208 <    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
4209 < echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
4210 <   { (exit 1); exit 1; }; }
4211 <  fi
4212 < fi
4989 >     ;;
4990 > esac
4991  
4992   # Find a good install program.  We prefer a C program (faster),
4993   # so one script is as good as another.  But avoid the broken or
# Line 4448 | Line 5226 | test -n "$YACC" || YACC="yacc"
5226    test -n "$YACC" && break
5227   done
5228   test -n "$YACC" || YACC="yacc"
4451
5229  
5230   for ac_prog in flex lex
5231   do
# Line 4501 | Line 5278 | cat >conftest.$ac_ext <<_ACEOF
5278    ac_check_lib_save_LIBS=$LIBS
5279   LIBS="-lfl  $LIBS"
5280   cat >conftest.$ac_ext <<_ACEOF
4504 #line $LINENO "configure"
4505 /* confdefs.h.  */
4506 _ACEOF
4507 cat confdefs.h >>conftest.$ac_ext
4508 cat >>conftest.$ac_ext <<_ACEOF
4509 /* end confdefs.h.  */
5281  
5282 < /* Override any gcc2 internal prototype to avoid an error.  */
5283 < #ifdef __cplusplus
5284 < extern "C"
5285 < #endif
5286 < /* We use char because int might match the return type of a gcc2
4516 <   builtin and then its argument prototype would still apply.  */
4517 < char yywrap ();
4518 < int
4519 < main ()
4520 < {
4521 < yywrap ();
4522 <  ;
4523 <  return 0;
4524 < }
5282 > program main
5283 >
5284 > call yywrap
5285 > end program main
5286 >
5287   _ACEOF
5288   rm -f conftest.$ac_objext conftest$ac_exeext
5289   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
# Line 4558 | Line 5320 | cat >conftest.$ac_ext <<_ACEOF
5320    ac_check_lib_save_LIBS=$LIBS
5321   LIBS="-ll  $LIBS"
5322   cat >conftest.$ac_ext <<_ACEOF
4561 #line $LINENO "configure"
4562 /* confdefs.h.  */
4563 _ACEOF
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h.  */
5323  
5324 < /* Override any gcc2 internal prototype to avoid an error.  */
5325 < #ifdef __cplusplus
5326 < extern "C"
5327 < #endif
5328 < /* We use char because int might match the return type of a gcc2
4573 <   builtin and then its argument prototype would still apply.  */
4574 < char yywrap ();
4575 < int
4576 < main ()
4577 < {
4578 < yywrap ();
4579 <  ;
4580 <  return 0;
4581 < }
5324 > program main
5325 >
5326 > call yywrap
5327 > end program main
5328 >
5329   _ACEOF
5330   rm -f conftest.$ac_objext conftest$ac_exeext
5331   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
# Line 4790 | Line 5537 | ac_ext=f90
5537    exit 1
5538   fi
5539  
4793 ac_ext=f90
4794 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4795 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4797
4798
4799
4800 ac_ext=f90
4801 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4802 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4804 echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
4805 echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
4806 if test "${ac_cv_prog_f90_v+set}" = set; then
4807  echo $ECHO_N "(cached) $ECHO_C" >&6
4808 else
4809
4810 cat >conftest.$ac_ext <<_ACEOF
4811
4812 program main
4813
4814
4815 end program main
4816
4817 _ACEOF
4818 rm -f conftest.$ac_objext
4819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4820  (eval $ac_compile) 2>&5
4821  ac_status=$?
4822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823  (exit $ac_status); } &&
4824         { ac_try='test -s conftest.$ac_objext'
4825  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826  (eval $ac_try) 2>&5
4827  ac_status=$?
4828  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829  (exit $ac_status); }; }; then
4830  ac_cv_prog_f90_v=
4831 # Try some options frequently used verbose output
4832 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
4833  ac_ext=f90
4834 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4835 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4837
4838 cat >conftest.$ac_ext <<_ACEOF
4839
4840 program main
4841
4842
4843 end program main
4844
4845 _ACEOF
4846
4847 # Compile and link our simple test program by passing a flag (argument
4848 # 1 to this macro) to the Fortran 90 compiler in order to get
4849 # "verbose" output that we can then parse for the Fortran 90 linker
4850 # flags.
4851 ac_save_F90FLAGS=$F90FLAGS
4852 F90FLAGS="$F90FLAGS $ac_verb"
4853
4854 (eval echo $as_me:4854: \"$ac_link\") >&5
4855 ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4856 echo "$ac_f90_v_output" >&5
4857 F90FLAGS=$ac_save_F90FLAGS
4858
4859 rm -f conftest.*
4860 ac_ext=f90
4861 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4862 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4864
4865 # If we are using xlf then replace all the commas with spaces.
4866 if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then
4867  ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'`
4868 fi
4869
4870 # If we are using Cray Fortran then delete quotes.
4871 # Use "\"" instead of '"' for font-lock-mode.
4872 # FIXME: a more general fix for quoted arguments with spaces?
4873 if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then
4874  ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"`
4875 fi
4876  # look for -l* and *.a constructs in the output
4877  for ac_arg in $ac_f90_v_output; do
4878     case $ac_arg in
4879        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
4880          ac_cv_prog_f90_v=$ac_verb
4881          break 2 ;;
4882     esac
4883  done
4884 done
4885 if test -z "$ac_cv_prog_f90_v"; then
4886   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
4887 echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
4888 fi
4889 else
4890  echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4892
4893 { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
4894 echo "$as_me: WARNING: compilation failed" >&2;}
4895 fi
4896 rm -f conftest.$ac_objext conftest.$ac_ext
4897
4898 fi
4899 echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
4900 echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
4901 echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
4902 echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
4903 if test "${ac_cv_flibs+set}" = set; then
4904  echo $ECHO_N "(cached) $ECHO_C" >&6
4905 else
4906  if test "x$F90LIBS" != "x"; then
4907  ac_cv_f90libs="$F90LIBS" # Let the user override the test.
4908 else
4909
4910 ac_ext=f90
4911 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4912 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4913 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4914
4915 cat >conftest.$ac_ext <<_ACEOF
4916
4917 program main
4918
4919
4920 end program main
4921
4922 _ACEOF
4923
4924 # Compile and link our simple test program by passing a flag (argument
4925 # 1 to this macro) to the Fortran 90 compiler in order to get
4926 # "verbose" output that we can then parse for the Fortran 90 linker
4927 # flags.
4928 ac_save_F90FLAGS=$F90FLAGS
4929 F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
4930
4931 (eval echo $as_me:4931: \"$ac_link\") >&5
4932 ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
4933 echo "$ac_f90_v_output" >&5
4934 F90FLAGS=$ac_save_F90FLAGS
4935
4936 rm -f conftest.*
4937 ac_ext=f90
4938 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4939 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4940 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4941
4942 # If we are using xlf then replace all the commas with spaces.
4943 if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then
4944  ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'`
4945 fi
4946
4947 # If we are using Cray Fortran then delete quotes.
4948 # Use "\"" instead of '"' for font-lock-mode.
4949 # FIXME: a more general fix for quoted arguments with spaces?
4950 if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then
4951  ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"`
4952 fi
4953
4954 ac_cv_f90libs=
4955
4956 # Save positional arguments (if any)
4957 ac_save_positional="$@"
4958
4959 set X $ac_f90_v_output
4960 while test $# != 1; do
4961  shift
4962  ac_arg=$1
4963  case $ac_arg in
4964        [\\/]*.a | ?:[\\/]*.a)
4965            ac_exists=false
4966  for ac_i in $ac_cv_f90libs; do
4967    if test x"$ac_arg" = x"$ac_i"; then
4968      ac_exists=true
4969      break
4970    fi
4971  done
4972
4973  if test x"$ac_exists" = xtrue; then
4974  :
4975 else
4976  ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
4977 fi
4978
4979          ;;
4980        -bI:*)
4981            ac_exists=false
4982  for ac_i in $ac_cv_f90libs; do
4983    if test x"$ac_arg" = x"$ac_i"; then
4984      ac_exists=true
4985      break
4986    fi
4987  done
4988
4989  if test x"$ac_exists" = xtrue; then
4990  :
4991 else
4992  if test "$ac_compiler_gnu" = yes; then
4993  for ac_link_opt in $ac_arg; do
4994    ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt"
4995  done
4996 else
4997  ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
4998 fi
4999 fi
5000
5001          ;;
5002          # Ignore these flags.
5003        -lang* | -lcrt0.o | -lc | -lgcc | -LANG:=*)
5004          ;;
5005        -lkernel32)
5006          test x"$CYGWIN" != xyes && ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
5007          ;;
5008        -[LRuY])
5009          # These flags, when seen by themselves, take an argument.
5010          # We remove the space between option and argument and re-iterate
5011          # unless we find an empty arg or a new option (starting with -)
5012          case $2 in
5013             "" | -*);;
5014             *)
5015                ac_arg="$ac_arg$2"
5016
5017                shift; shift
5018                set X $ac_arg "$@"
5019                ;;
5020          esac
5021          ;;
5022        -YP,*)
5023          for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
5024              ac_exists=false
5025  for ac_i in $ac_cv_f90libs; do
5026    if test x"$ac_j" = x"$ac_i"; then
5027      ac_exists=true
5028      break
5029    fi
5030  done
5031
5032  if test x"$ac_exists" = xtrue; then
5033  :
5034 else
5035  ac_arg="$ac_arg $ac_j"
5036                             ac_cv_f90libs="$ac_cv_f90libs $ac_j"
5037 fi
5038
5039          done
5040          ;;
5041        -[lLR]*)
5042            ac_exists=false
5043  for ac_i in $ac_cv_f90libs; do
5044    if test x"$ac_arg" = x"$ac_i"; then
5045      ac_exists=true
5046      break
5047    fi
5048  done
5049
5050  if test x"$ac_exists" = xtrue; then
5051  :
5052 else
5053  ac_cv_f90libs="$ac_cv_f90libs $ac_arg"
5054 fi
5055
5056          ;;
5057          # Ignore everything else.
5058  esac
5059 done
5060 # restore positional arguments
5061 set X $ac_save_positional; shift
5062
5063 # We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
5064 # then we insist that the "run path" must be an absolute path (i.e. it
5065 # must begin with a "/").
5066 case `(uname -sr) 2>/dev/null` in
5067   "SunOS 5"*)
5068      ac_ld_run_path=`echo $ac_f90_v_output |
5069                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
5070      test "x$ac_ld_run_path" != x &&
5071
5072        if test "$ac_compiler_gnu" = yes; then
5073  for ac_link_opt in $ac_ld_run_path; do
5074    ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt"
5075  done
5076 else
5077  ac_cv_f90libs="$ac_cv_f90libs $ac_ld_run_path"
5078 fi
5079      ;;
5080 esac
5081 fi # test "x$F90LIBS" = "x"
5082
5083 fi
5084 echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
5085 echo "${ECHO_T}$ac_cv_flibs" >&6
5086 F90LIBS="$ac_cv_f90libs"
5087
5088 ac_ext=f90
5089 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5090 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5092
5093 echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
5094 echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
5095 if test "${ac_cv_f90_mangling+set}" = set; then
5096  echo $ECHO_N "(cached) $ECHO_C" >&6
5097 else
5098  ac_ext=f90
5099 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5100 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5101 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5102 cat >conftest.$ac_ext <<_ACEOF
5103 subroutine foobar()
5104 return
5105 end
5106 subroutine foo_bar()
5107 return
5108 end
5109 _ACEOF
5110 rm -f conftest.$ac_objext
5111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5112  (eval $ac_compile) 2>&5
5113  ac_status=$?
5114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115  (exit $ac_status); } &&
5116         { ac_try='test -s conftest.$ac_objext'
5117  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118  (eval $ac_try) 2>&5
5119  ac_status=$?
5120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121  (exit $ac_status); }; }; then
5122  mv conftest.$ac_objext cf90_test.$ac_objext
5123
5124  ac_ext=c
5125 ac_cpp='$CPP $CPPFLAGS'
5126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5129
5130  ac_save_LIBS=$LIBS
5131  LIBS="cf90_test.$ac_objext $F90LIBS $LIBS"
5132
5133  ac_success=no
5134  for ac_foobar in foobar FOOBAR; do
5135    for ac_underscore in "" "_"; do
5136      ac_func="$ac_foobar$ac_underscore"
5137      cat >conftest.$ac_ext <<_ACEOF
5138 #line $LINENO "configure"
5139 /* confdefs.h.  */
5140 _ACEOF
5141 cat confdefs.h >>conftest.$ac_ext
5142 cat >>conftest.$ac_ext <<_ACEOF
5143 /* end confdefs.h.  */
5144
5145 /* Override any gcc2 internal prototype to avoid an error.  */
5146 #ifdef __cplusplus
5147 extern "C"
5148 #endif
5149 /* We use char because int might match the return type of a gcc2
5150   builtin and then its argument prototype would still apply.  */
5151 char $ac_func ();
5152 int
5153 main ()
5154 {
5155 $ac_func ();
5156  ;
5157  return 0;
5158 }
5159 _ACEOF
5160 rm -f conftest.$ac_objext conftest$ac_exeext
5161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5162  (eval $ac_link) 2>&5
5163  ac_status=$?
5164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165  (exit $ac_status); } &&
5166         { ac_try='test -s conftest$ac_exeext'
5167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168  (eval $ac_try) 2>&5
5169  ac_status=$?
5170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171  (exit $ac_status); }; }; then
5172  ac_success=yes; break 2
5173 else
5174  echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.$ac_ext >&5
5176
5177 fi
5178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5179    done
5180  done
5181
5182  if test "$ac_success" = "yes"; then
5183     case $ac_foobar in
5184        foobar)
5185           ac_case=lower
5186           ac_foo_bar=foo_bar
5187           ;;
5188        FOOBAR)
5189           ac_case=upper
5190           ac_foo_bar=FOO_BAR
5191           ;;
5192     esac
5193
5194     ac_success_extra=no
5195     for ac_extra in "" "_"; do
5196        ac_func="$ac_foo_bar$ac_underscore$ac_extra"
5197
5198        cat >conftest.$ac_ext <<_ACEOF
5199 #line $LINENO "configure"
5200 /* confdefs.h.  */
5201 _ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h.  */
5205
5206 /* Override any gcc2 internal prototype to avoid an error.  */
5207 #ifdef __cplusplus
5208 extern "C"
5209 #endif
5210 /* We use char because int might match the return type of a gcc2
5211   builtin and then its argument prototype would still apply.  */
5212 char $ac_func ();
5213 int
5214 main ()
5215 {
5216 $ac_func ();
5217  ;
5218  return 0;
5219 }
5220 _ACEOF
5221 rm -f conftest.$ac_objext conftest$ac_exeext
5222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5223  (eval $ac_link) 2>&5
5224  ac_status=$?
5225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226  (exit $ac_status); } &&
5227         { ac_try='test -s conftest$ac_exeext'
5228  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229  (eval $ac_try) 2>&5
5230  ac_status=$?
5231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232  (exit $ac_status); }; }; then
5233  ac_success_extra=yes; break
5234 else
5235  echo "$as_me: failed program was:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5237
5238 fi
5239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5240     done
5241
5242     if test "$ac_success_extra" = "yes"; then
5243        ac_cv_f90_mangling="$ac_case case"
5244        if test -z "$ac_underscore"; then
5245           ac_cv_f90_mangling="$ac_cv_f90_mangling, no underscore"
5246        else
5247           ac_cv_f90_mangling="$ac_cv_f90_mangling, underscore"
5248
5249        fi
5250        if test -z "$ac_extra"; then
5251           ac_cv_f90_mangling="$ac_cv_f90_mangling, no extra underscore"
5252        else
5253           ac_cv_f90_mangling="$ac_cv_f90_mangling, extra underscore"
5254        fi
5255      else
5256        ac_cv_f90_mangling="unknown"
5257      fi
5258  else
5259     ac_cv_f90_mangling="unknown"
5260
5261  fi
5262
5263  LIBS=$ac_save_LIBS
5264  ac_ext=f90
5265 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5266 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5267 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5268  rm -f cf90_test* conftest*
5269 else
5270  echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.$ac_ext >&5
5272
5273 fi
5274 rm -f conftest.$ac_objext conftest.$ac_ext
5275 ac_ext=f90
5276 ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
5277 ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278 ac_compiler_gnu=$ac_cv_f90_compiler_gnu
5279
5280 fi
5281 echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
5282 echo "${ECHO_T}$ac_cv_f90_mangling" >&6
5283
5284
5285
5286 case $ac_cv_f90_mangling in
5287  "lower case, no underscore, no extra underscore")
5288          cat >>confdefs.h <<\_ACEOF
5289 #define F90_FUNC(name,NAME) name
5290 _ACEOF
5291
5292          cat >>confdefs.h <<\_ACEOF
5293 #define F90_FUNC_(name,NAME) name
5294 _ACEOF
5295 ;;
5296  "lower case, no underscore, extra underscore")
5297          cat >>confdefs.h <<\_ACEOF
5298 #define F90_FUNC(name,NAME) name
5299 _ACEOF
5300
5301          cat >>confdefs.h <<\_ACEOF
5302 #define F90_FUNC_(name,NAME) name ## _
5303 _ACEOF
5304 ;;
5305  "lower case, underscore, no extra underscore")
5306          cat >>confdefs.h <<\_ACEOF
5307 #define F90_FUNC(name,NAME) name ## _
5308 _ACEOF
5309
5310          cat >>confdefs.h <<\_ACEOF
5311 #define F90_FUNC_(name,NAME) name ## _
5312 _ACEOF
5313 ;;
5314  "lower case, underscore, extra underscore")
5315          cat >>confdefs.h <<\_ACEOF
5316 #define F90_FUNC(name,NAME) name ## _
5317 _ACEOF
5318
5319          cat >>confdefs.h <<\_ACEOF
5320 #define F90_FUNC_(name,NAME) name ## __
5321 _ACEOF
5322 ;;
5323  "upper case, no underscore, no extra underscore")
5324          cat >>confdefs.h <<\_ACEOF
5325 #define F90_FUNC(name,NAME) NAME
5326 _ACEOF
5327
5328          cat >>confdefs.h <<\_ACEOF
5329 #define F90_FUNC_(name,NAME) NAME
5330 _ACEOF
5331 ;;
5332  "upper case, no underscore, extra underscore")
5333          cat >>confdefs.h <<\_ACEOF
5334 #define F90_FUNC(name,NAME) NAME
5335 _ACEOF
5336
5337          cat >>confdefs.h <<\_ACEOF
5338 #define F90_FUNC_(name,NAME) NAME ## _
5339 _ACEOF
5340 ;;
5341  "upper case, underscore, no extra underscore")
5342          cat >>confdefs.h <<\_ACEOF
5343 #define F90_FUNC(name,NAME) NAME ## _
5344 _ACEOF
5345
5346          cat >>confdefs.h <<\_ACEOF
5347 #define F90_FUNC_(name,NAME) NAME ## _
5348 _ACEOF
5349 ;;
5350  "upper case, underscore, extra underscore")
5351          cat >>confdefs.h <<\_ACEOF
5352 #define F90_FUNC(name,NAME) NAME ## _
5353 _ACEOF
5354
5355          cat >>confdefs.h <<\_ACEOF
5356 #define F90_FUNC_(name,NAME) NAME ## __
5357 _ACEOF
5358 ;;
5359  *)
5360          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
5361 echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
5362          ;;
5363 esac
5364
5365
5366
5367
5540   echo "$as_me:$LINENO: checking for mpi-directory" >&5
5541   echo $ECHO_N "checking for mpi-directory... $ECHO_C" >&6
5542  
# Line 6131 | Line 6303 | done
6303  
6304  
6305  
6306 < # Check whether --with-sprng-prefix or --without-sprng-prefix was given.
6306 > # Check whether --with-sprng_prefix or --without-sprng_prefix was given.
6307   if test "${with_sprng_prefix+set}" = set; then
6308    withval="$with_sprng_prefix"
6309    sprng_prefix="$withval"
# Line 6139 | Line 6311 | fi;
6311    sprng_prefix="/usr/local"
6312   fi;
6313  
6314 < # Check whether --with-sprng-lib-prefix or --without-sprng-lib-prefix was given.
6315 < if test "${with_sprng_lib_prefix+set}" = set; then
6316 <  withval="$with_sprng_lib_prefix"
6317 <  sprng_lib_prefix="$withval"
6314 > # Check whether --with-sprng-libdir or --without-sprng-libdir was given.
6315 > if test "${with_sprng_libdir+set}" = set; then
6316 >  withval="$with_sprng_libdir"
6317 >  sprng_libdir="$withval"
6318   else
6319 <  sprng_lib_prefix="/usr/local/lib"
6319 >  sprng_libdir="/usr/local/lib"
6320   fi;
6321  
6322 < # Check whether --with-sprng-include-prefix or --without-sprng-include-prefix was given.
6323 < if test "${with_sprng_include_prefix+set}" = set; then
6324 <  withval="$with_sprng_include_prefix"
6325 <  sprng_include_prefix="$withval"
6322 > # Check whether --with-sprng-include or --without-sprng-include was given.
6323 > if test "${with_sprng_include+set}" = set; then
6324 >  withval="$with_sprng_include"
6325 >  sprng_include="$withval"
6326   else
6327 <  sprng_include_prefix="/usr/local/include/sprng"
6327 >  sprng_include="/usr/local/include/sprng"
6328   fi;
6329  
6330 <  if test x$sprng_lib_prefix = x ; then
6331 <    sprng_lib_prefix=${sprng_prefix}/lib
6330 >  if test x$sprng_libdir = x ; then
6331 >    sprng_libdir=${sprng_prefix}/lib
6332    fi
6333  
6334 <  if test x$sprng_include_prefix = x ; then
6335 <    sprng_include_prefix=${sprng_prefix}/include
6334 >  if test x$sprng_include = x ; then
6335 >    sprng_include=${sprng_prefix}/include
6336    fi
6337  
6338 <  echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include_prefix" >&5
6339 < echo $ECHO_N "checking for SPRNG include files in $sprng_include_prefix... $ECHO_C" >&6
6340 <  if test -f ${sprng_include_prefix}/sprng.h; then
6338 >  echo "$as_me:$LINENO: checking for SPRNG include files in $sprng_include" >&5
6339 > echo $ECHO_N "checking for SPRNG include files in $sprng_include... $ECHO_C" >&6
6340 >  if test -f ${sprng_include}/sprng.h; then
6341      have_sprngincl=yes
6342      echo "$as_me:$LINENO: result: yes" >&5
6343   echo "${ECHO_T}yes" >&6
# Line 6178 | Line 6350 | echo "$as_me: error: Could not locate the SPRNG includ
6350     { (exit 1); exit 1; }; }
6351    fi
6352  
6353 <  echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_lib_prefix" >&5
6354 < echo $ECHO_N "checking for SPRNG libraries in $sprng_lib_prefix... $ECHO_C" >&6
6355 <  if test -f ${sprng_lib_prefix}/libsprng.a; then
6353 >  echo "$as_me:$LINENO: checking for SPRNG libraries in $sprng_libdir" >&5
6354 > echo $ECHO_N "checking for SPRNG libraries in $sprng_libdir... $ECHO_C" >&6
6355 >  if test -f ${sprng_libdir}/libsprng.a; then
6356      have_sprnglib=yes
6357      echo "$as_me:$LINENO: result: yes" >&5
6358   echo "${ECHO_T}yes" >&6
# Line 6202 | Line 6374 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6374   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6375  
6376    ac_save_CPPFLAGS=$CPPFLAGS
6377 <  CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}"
6377 >  CPPFLAGS="${CPPFLAGS} -I${sprng_include}"
6378    ac_save_LDFLAGS=$LDFLAGS
6379 <  LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng"
6379 >  LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng"
6380    if test "${ac_cv_header_sprng_h+set}" = set; then
6381    echo "$as_me:$LINENO: checking for sprng.h" >&5
6382   echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
# Line 6391 | Line 6563 | if test $ac_cv_lib_sprng_init_rng = yes; then
6563   echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
6564   echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
6565   if test $ac_cv_lib_sprng_init_rng = yes; then
6566 <  SPRNG_LIBDIR="${sprng_lib_prefix}"
6567 <                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include_prefix}"
6566 >  SPRNG_LIBDIR="${sprng_libdir}"
6567 >                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include}"
6568                       HAVE_SPRNG="yes"
6569   fi
6570  
# Line 6673 | Line 6845 | fi;
6845   echo "${ECHO_T}no" >&6
6846  
6847   fi;
6848 +
6849  
6850  
6851  
# Line 6695 | Line 6868 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6868   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6869  
6870    ac_save_F90FLAGS=$F90FLAGS
6871 +
6872    if test "$mpi_f90_mods"; then
6873 <  F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}"
6873 >  F90FLAGS="${F90FLAGS} ${MODDIRFLAG}${mpi_f90_mods}"
6874   fi
6875  
6876      cat >conftest.$ac_ext <<_ACEOF
# Line 6748 | Line 6922 | _ACEOF
6922   #define MPI_MOD 1
6923   _ACEOF
6924  
6925 <    MPI_F90_MODS="-I${mpi_f90_mods}"
6925 >    MPI_F90_MODS="${mpi_f90_mods}"
6926  
6927      # The library name:
6928      if test -z "$MPI_LIB" ; then
# Line 6795 | Line 6969 | SUBDIRS="libBASS libmdtools src forceFields samples ut
6969  
6970   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
6971  
6972 < SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder"
6972 > SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder staticProps"
6973  
6974 < #CFLAGS=${CFLAGS-""}
6975 < #CXXFLAGS=${CXXFLAGS-""}
6976 < #CPPFLAGS=${CPPFLAGS-""}
6977 < #FFLAGS=${FFLAGS-""}
6978 < #LDFLAGS=${LDFLAGS-""}
6979 < #OPTIMIZE=${OPTIMIZE-"-O"}
6980 < #DEBUG=${DEBUG-"-g"}
6974 > CFLAGS=${CFLAGS-""}
6975 > CXXFLAGS=${CXXFLAGS-""}
6976 > CPPFLAGS=${CPPFLAGS-""}
6977 > FFLAGS=${FFLAGS-""}
6978 > F90FLAGS=${F90FLAGS-""}
6979 > LDFLAGS=${LDFLAGS-""}
6980 > DEBUG=${DEBUG-"-g"}
6981  
6982   case $debug in
6983 <  true)
6810 <     CFLAGS="$DEBUG $CFLAGS"
6811 <     CXXFLAGS="$DEBUG $CXXFLAGS"
6983 >  1)
6984       FFLAGS="$DEBUG $FFLAGS"
6985       F90FLAGS="$DEBUG $F90FLAGS"
6986       ;;
6987    *)
6816     CFLAGS="$OPTIMIZE $CFLAGS"
6817     CXXFLAGS="$OPTIMIZE $CXXFLAGS"
6818     FFLAGS="$OPTIMIZE $FFLAGS"
6819     F90FLAGS="$OPTIMIZE $F90FLAGS"
6988       ;;
6989   esac
6990  
# Line 6838 | Line 7006 | esac
7006  
7007            ac_config_headers="$ac_config_headers libmdtools/config.h"
7008  
7009 <                                                                                                                                            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"
7009 >                                                                                                                                                      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"
7010  
7011  
7012   cat >confcache <<\_ACEOF
# Line 7373 | Line 7541 | do
7541    "utils/sysbuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/sysbuilder/Makefile" ;;
7542    "forceFields/Makefile" ) CONFIG_FILES="$CONFIG_FILES forceFields/Makefile" ;;
7543    "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
7544 +  "staticProps/Makefile" ) CONFIG_FILES="$CONFIG_FILES staticProps/Makefile" ;;
7545    "samples/alkane/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/alkane/Makefile" ;;
7546    "samples/argon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/argon/Makefile" ;;
7547    "samples/beadLipid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/beadLipid/Makefile" ;;
# Line 7465 | Line 7634 | s,@DEBUG@,$DEBUG,;t t
7634   s,@ECHO_T@,$ECHO_T,;t t
7635   s,@LIBS@,$LIBS,;t t
7636   s,@PROGNAME@,$PROGNAME,;t t
7637 < s,@DEBUG@,$DEBUG,;t t
7637 > s,@debug@,$debug,;t t
7638   s,@build@,$build,;t t
7639   s,@build_cpu@,$build_cpu,;t t
7640   s,@build_vendor@,$build_vendor,;t t
# Line 7484 | Line 7653 | s,@F90@,$F90,;t t
7653   s,@CXX@,$CXX,;t t
7654   s,@CXXFLAGS@,$CXXFLAGS,;t t
7655   s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7656 + s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
7657 + s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
7658   s,@F90@,$F90,;t t
7659   s,@F90FLAGS@,$F90FLAGS,;t t
7660   s,@ac_ct_F90@,$ac_ct_F90,;t t
7661   s,@PREPFLAG@,$PREPFLAG,;t t
7662   s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
7663 + s,@F90LIBS@,$F90LIBS,;t t
7664 + s,@F90_FUNC@,$F90_FUNC,;t t
7665 + s,@F90_FUNC_@,$F90_FUNC_,;t t
7666 + s,@MOD@,$MOD,;t t
7667 + s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
7668 + s,@MODDIRFLAG@,$MODDIRFLAG,;t t
7669 + s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
7670   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7671   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7672   s,@INSTALL_DATA@,$INSTALL_DATA,;t t
# Line 7501 | Line 7679 | s,@F90LIBS@,$F90LIBS,;t t
7679   s,@LEXLIB@,$LEXLIB,;t t
7680   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
7681   s,@AR@,$AR,;t t
7504 s,@F90LIBS@,$F90LIBS,;t t
7505 s,@F90_FUNC@,$F90_FUNC,;t t
7506 s,@F90_FUNC_@,$F90_FUNC_,;t t
7682   s,@mpi_dir@,$mpi_dir,;t t
7683   s,@MPI_LIBDIR@,$MPI_LIBDIR,;t t
7684   s,@MPI_INC@,$MPI_INC,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines