Changeset 142 for ThirdParty/Blas


Ignore:
Timestamp:
Nov 27, 2006 6:45:11 PM (14 years ago)
Author:
andreasw
Message:

included latest changes from coin.m4

Location:
ThirdParty/Blas/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/trunk/Makefile.in

    r92 r142  
    102102ACLOCAL = @ACLOCAL@
    103103ADDLIBS = @ADDLIBS@
     104ADD_CFLAGS = @ADD_CFLAGS@
    104105ADD_FFLAGS = @ADD_FFLAGS@
    105106ALWAYS_FALSE_FALSE = @ALWAYS_FALSE_FALSE@
     
    117118CC = @CC@
    118119CCDEPMODE = @CCDEPMODE@
     120CDEFS = @CDEFS@
    119121CFLAGS = @CFLAGS@
    120122CPP = @CPP@
     
    125127CXXFLAGS = @CXXFLAGS@
    126128CYGPATH_W = @CYGPATH_W@
     129DBG_CFLAGS = @DBG_CFLAGS@
    127130DBG_FFLAGS = @DBG_FFLAGS@
    128131DEFS = @DEFS@
     
    156159MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    157160MAKEINFO = @MAKEINFO@
     161MPICC = @MPICC@
    158162MPIF77 = @MPIF77@
    159163OBJEXT = @OBJEXT@
     164OPT_CFLAGS = @OPT_CFLAGS@
    160165OPT_FFLAGS = @OPT_FFLAGS@
    161166PACKAGE = @PACKAGE@
  • ThirdParty/Blas/trunk/configure

    r99 r142  
    473473#endif"
    474474
    475 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS LDFLAGS ac_ct_F77 EXEEXT OBJEXT MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE CC CFLAGS CPPFLAGS ac_ct_CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL LT_LDFLAGS RPATH_FLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL LT_LDFLAGS RPATH_FLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    914914ac_cv_env_target_alias_set=${target_alias+set}
    915915ac_cv_env_target_alias_value=$target_alias
     916ac_env_CDEFS_set=${CDEFS+set}
     917ac_env_CDEFS_value=$CDEFS
     918ac_cv_env_CDEFS_set=${CDEFS+set}
     919ac_cv_env_CDEFS_value=$CDEFS
     920ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
     921ac_env_ADD_CFLAGS_value=$ADD_CFLAGS
     922ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
     923ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS
     924ac_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
     925ac_env_DBG_CFLAGS_value=$DBG_CFLAGS
     926ac_cv_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
     927ac_cv_env_DBG_CFLAGS_value=$DBG_CFLAGS
     928ac_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
     929ac_env_OPT_CFLAGS_value=$OPT_CFLAGS
     930ac_cv_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
     931ac_cv_env_OPT_CFLAGS_value=$OPT_CFLAGS
     932ac_env_CC_set=${CC+set}
     933ac_env_CC_value=$CC
     934ac_cv_env_CC_set=${CC+set}
     935ac_cv_env_CC_value=$CC
     936ac_env_CFLAGS_set=${CFLAGS+set}
     937ac_env_CFLAGS_value=$CFLAGS
     938ac_cv_env_CFLAGS_set=${CFLAGS+set}
     939ac_cv_env_CFLAGS_value=$CFLAGS
     940ac_env_LDFLAGS_set=${LDFLAGS+set}
     941ac_env_LDFLAGS_value=$LDFLAGS
     942ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     943ac_cv_env_LDFLAGS_value=$LDFLAGS
     944ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     945ac_env_CPPFLAGS_value=$CPPFLAGS
     946ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     947ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     948ac_env_MPICC_set=${MPICC+set}
     949ac_env_MPICC_value=$MPICC
     950ac_cv_env_MPICC_set=${MPICC+set}
     951ac_cv_env_MPICC_value=$MPICC
    916952ac_env_ADD_FFLAGS_set=${ADD_FFLAGS+set}
    917953ac_env_ADD_FFLAGS_value=$ADD_FFLAGS
     
    934970ac_cv_env_FFLAGS_set=${FFLAGS+set}
    935971ac_cv_env_FFLAGS_value=$FFLAGS
    936 ac_env_LDFLAGS_set=${LDFLAGS+set}
    937 ac_env_LDFLAGS_value=$LDFLAGS
    938 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    939 ac_cv_env_LDFLAGS_value=$LDFLAGS
    940972ac_env_MPIF77_set=${MPIF77+set}
    941973ac_env_MPIF77_value=$MPIF77
    942974ac_cv_env_MPIF77_set=${MPIF77+set}
    943975ac_cv_env_MPIF77_value=$MPIF77
    944 ac_env_CC_set=${CC+set}
    945 ac_env_CC_value=$CC
    946 ac_cv_env_CC_set=${CC+set}
    947 ac_cv_env_CC_value=$CC
    948 ac_env_CFLAGS_set=${CFLAGS+set}
    949 ac_env_CFLAGS_value=$CFLAGS
    950 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    951 ac_cv_env_CFLAGS_value=$CFLAGS
    952 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    953 ac_env_CPPFLAGS_value=$CPPFLAGS
    954 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    955 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    956976ac_env_CPP_set=${CPP+set}
    957977ac_env_CPP_value=$CPP
     
    10531073  --enable-debug          compile all projects with debug options tests
    10541074  --enable-debug-blas compile this project (Blas) with debug options
     1075  --enable-doscompile     Under Cygwin, compile so that executables run under
     1076                          DOS (default: disabled)
    10551077  --enable-static[=PKGS]
    10561078                          build static libraries [default=no]
     1079  --disable-dependency-tracking  speeds up one-time build
     1080  --enable-dependency-tracking   do not reject slow dependency extractors
    10571081  --enable-maintainer-mode  enable make rules and dependencies not useful
    10581082                          (and sometimes confusing) to the casual installer
    1059   --disable-dependency-tracking  speeds up one-time build
    1060   --enable-dependency-tracking   do not reject slow dependency extractors
    10611083  --enable-shared[=PKGS]
    10621084                          build shared libraries [default=yes]
     
    10771099
    10781100Some influential environment variables:
     1101  CDEFS       Additional -D flags to be used when compiling C code.
     1102  ADD_CFLAGS  Additional C compiler options
     1103  DBG_CFLAGS  Debug C compiler options
     1104  OPT_CFLAGS  Optimize C compiler options
     1105  CC          C compiler command
     1106  CFLAGS      C compiler flags
     1107  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     1108              nonstandard directory <lib dir>
     1109  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     1110              headers in a nonstandard directory <include dir>
     1111  MPICC       C MPI Compiler
    10791112  ADD_FFLAGS  Additional Fortran compiler options
    10801113  DBG_FFLAGS  Debug Fortran compiler options
     
    10821115  F77         Fortran 77 compiler command
    10831116  FFLAGS      Fortran 77 compiler flags
    1084   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1085               nonstandard directory <lib dir>
    10861117  MPIF77      Fortran MPI Compiler
    1087   CC          C compiler command
    1088   CFLAGS      C compiler flags
    1089   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    1090               headers in a nonstandard directory <include dir>
    10911118  CPP         C preprocessor
    10921119  CXX         C++ compiler command
     
    17481775esac
    17491776
    1750 
    1751 
    1752 ac_ext=f
    1753 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    1754 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1755 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    1756 
    1757 
    1758 
    1759 
    1760 
    1761 
    1762 coin_has_f77=yes
    1763 
    1764 save_fflags="$FFLAGS"
     1777# Check whether --enable-doscompile or --disable-doscompile was given.
     1778if test "${enable_doscompile+set}" = set; then
     1779  enableval="$enable_doscompile"
     1780  if test "$enable_doscompile = yes"; then
     1781  case $build in
     1782    *-cygwin*) ;;
     1783    *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5
     1784echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;}
     1785   { (exit 1); exit 1; }; } ;;
     1786  esac
     1787fi
     1788else
     1789  enable_doscompile=no
     1790fi;
     1791
     1792
     1793
     1794
     1795ac_ext=c
     1796ac_cpp='$CPP $CPPFLAGS'
     1797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1799ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1800
     1801
     1802# For consistency, we set the C compiler to the same value of the C++
     1803# compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl)
     1804if test x"$CXX" != x; then
     1805  case "$CXX" in
     1806    cl*)
     1807      if test x"$CC" = x; then
     1808        CC="$CXX"
     1809        { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5
     1810echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;}
     1811      fi
     1812      ;;
     1813  esac
     1814fi
     1815
     1816
     1817
     1818
     1819
     1820
     1821coin_has_cc=yes
     1822
     1823save_cflags="$CFLAGS"
    17651824case $build in
    17661825  *-cygwin* | *-mingw*)
    1767              comps="gfortran g77 ifort fl32" ;;
    1768   *)         comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     1826             comps="gcc cl" ;;
     1827  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
     1828  *)         comps="xlc_r xlc cc gcc pgcc icc" ;;
    17691829esac
    17701830
    17711831# We delete the cached value, since the test might not have been
    17721832# performed with out choise of compilers earlier
    1773 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; }
    1774 ac_ext=f
    1775 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    1776 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1777 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     1833$as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; }
     1834ac_ext=c
     1835ac_cpp='$CPP $CPPFLAGS'
     1836ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1837ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1838ac_compiler_gnu=$ac_cv_c_compiler_gnu
    17781839if test -n "$ac_tool_prefix"; then
    17791840  for ac_prog in $comps
     
    17831844echo "$as_me:$LINENO: checking for $ac_word" >&5
    17841845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1785 if test "${ac_cv_prog_F77+set}" = set; then
     1846if test "${ac_cv_prog_CC+set}" = set; then
    17861847  echo $ECHO_N "(cached) $ECHO_C" >&6
    17871848else
    1788   if test -n "$F77"; then
    1789   ac_cv_prog_F77="$F77" # Let the user override the test.
     1849  if test -n "$CC"; then
     1850  ac_cv_prog_CC="$CC" # Let the user override the test.
    17901851else
    17911852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    17961857  for ac_exec_ext in '' $ac_executable_extensions; do
    17971858  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1798     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
     1859    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    17991860    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18001861    break 2
     
    18051866fi
    18061867fi
    1807 F77=$ac_cv_prog_F77
    1808 if test -n "$F77"; then
    1809   echo "$as_me:$LINENO: result: $F77" >&5
    1810 echo "${ECHO_T}$F77" >&6
     1868CC=$ac_cv_prog_CC
     1869if test -n "$CC"; then
     1870  echo "$as_me:$LINENO: result: $CC" >&5
     1871echo "${ECHO_T}$CC" >&6
    18111872else
    18121873  echo "$as_me:$LINENO: result: no" >&5
     
    18141875fi
    18151876
    1816     test -n "$F77" && break
     1877    test -n "$CC" && break
    18171878  done
    18181879fi
    1819 if test -z "$F77"; then
    1820   ac_ct_F77=$F77
     1880if test -z "$CC"; then
     1881  ac_ct_CC=$CC
    18211882  for ac_prog in $comps
    18221883do
     
    18251886echo "$as_me:$LINENO: checking for $ac_word" >&5
    18261887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1827 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     1888if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    18281889  echo $ECHO_N "(cached) $ECHO_C" >&6
    18291890else
    1830   if test -n "$ac_ct_F77"; then
    1831   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     1891  if test -n "$ac_ct_CC"; then
     1892  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    18321893else
    18331894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    18381899  for ac_exec_ext in '' $ac_executable_extensions; do
    18391900  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1840     ac_cv_prog_ac_ct_F77="$ac_prog"
     1901    ac_cv_prog_ac_ct_CC="$ac_prog"
    18411902    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18421903    break 2
     
    18471908fi
    18481909fi
    1849 ac_ct_F77=$ac_cv_prog_ac_ct_F77
    1850 if test -n "$ac_ct_F77"; then
    1851   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    1852 echo "${ECHO_T}$ac_ct_F77" >&6
     1910ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1911if test -n "$ac_ct_CC"; then
     1912  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1913echo "${ECHO_T}$ac_ct_CC" >&6
    18531914else
    18541915  echo "$as_me:$LINENO: result: no" >&5
     
    18561917fi
    18571918
    1858   test -n "$ac_ct_F77" && break
     1919  test -n "$ac_ct_CC" && break
    18591920done
    18601921
    1861   F77=$ac_ct_F77
    1862 fi
    1863 
     1922  CC=$ac_ct_CC
     1923fi
     1924
     1925
     1926test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1927See \`config.log' for more details." >&5
     1928echo "$as_me: error: no acceptable C compiler found in \$PATH
     1929See \`config.log' for more details." >&2;}
     1930   { (exit 1); exit 1; }; }
    18641931
    18651932# Provide some information about the compiler.
    1866 echo "$as_me:1866:" \
    1867      "checking for Fortran 77 compiler version" >&5
     1933echo "$as_me:$LINENO:" \
     1934     "checking for C compiler version" >&5
    18681935ac_compiler=`set X $ac_compile; echo $2`
    18691936{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     
    18821949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18831950  (exit $ac_status); }
    1884 rm -f a.out
    18851951
    18861952cat >conftest.$ac_ext <<_ACEOF
    1887       program main
    1888 
    1889       end
     1953/* confdefs.h.  */
     1954_ACEOF
     1955cat confdefs.h >>conftest.$ac_ext
     1956cat >>conftest.$ac_ext <<_ACEOF
     1957/* end confdefs.h.  */
     1958
     1959int
     1960main ()
     1961{
     1962
     1963  ;
     1964  return 0;
     1965}
    18901966_ACEOF
    18911967ac_clean_files_save=$ac_clean_files
     
    18941970# It will help us diagnose broken compilers, and finding out an intuition
    18951971# of exeext.
    1896 echo "$as_me:$LINENO: checking for Fortran 77 compiler default output file name" >&5
    1897 echo $ECHO_N "checking for Fortran 77 compiler default output file name... $ECHO_C" >&6
     1972echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1973echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    18981974ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    18991975if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    19382014sed 's/^/| /' conftest.$ac_ext >&5
    19392015
    1940 { { echo "$as_me:$LINENO: error: Fortran 77 compiler cannot create executables
     2016{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
    19412017See \`config.log' for more details." >&5
    1942 echo "$as_me: error: Fortran 77 compiler cannot create executables
     2018echo "$as_me: error: C compiler cannot create executables
    19432019See \`config.log' for more details." >&2;}
    19442020   { (exit 77); exit 77; }; }
     
    19512027# Check the compiler produces executables we can run.  If not, either
    19522028# the compiler is broken, or we cross compile.
    1953 echo "$as_me:$LINENO: checking whether the Fortran 77 compiler works" >&5
    1954 echo $ECHO_N "checking whether the Fortran 77 compiler works... $ECHO_C" >&6
     2029echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2030echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    19552031# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19562032# If not cross compiling, check that we can run a simple program.
     
    19672043        cross_compiling=yes
    19682044    else
    1969         { { echo "$as_me:$LINENO: error: cannot run Fortran 77 compiled programs.
     2045        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    19702046If you meant to cross compile, use \`--host'.
    19712047See \`config.log' for more details." >&5
    1972 echo "$as_me: error: cannot run Fortran 77 compiled programs.
     2048echo "$as_me: error: cannot run C compiled programs.
    19732049If you meant to cross compile, use \`--host'.
    19742050See \`config.log' for more details." >&2;}
     
    20312107else
    20322108  cat >conftest.$ac_ext <<_ACEOF
    2033       program main
    2034 
    2035       end
     2109/* confdefs.h.  */
     2110_ACEOF
     2111cat confdefs.h >>conftest.$ac_ext
     2112cat >>conftest.$ac_ext <<_ACEOF
     2113/* end confdefs.h.  */
     2114
     2115int
     2116main ()
     2117{
     2118
     2119  ;
     2120  return 0;
     2121}
    20362122_ACEOF
    20372123rm -f conftest.o conftest.obj
     
    20652151OBJEXT=$ac_cv_objext
    20662152ac_objext=$OBJEXT
    2067 # If we don't use `.F' as extension, the preprocessor is not run on the
    2068 # input file.  (Note that this only needs to work for GNU compilers.)
    2069 ac_save_ext=$ac_ext
    2070 ac_ext=F
    2071 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    2072 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
    2073 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    2074   echo $ECHO_N "(cached) $ECHO_C" >&6
    2075 else
    2076   cat >conftest.$ac_ext <<_ACEOF
    2077       program main
    2078 #ifndef __GNUC__
    2079        choke me
    2080 #endif
    2081 
    2082       end
    2083 _ACEOF
    2084 rm -f conftest.$ac_objext
    2085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2086   (eval $ac_compile) 2>conftest.er1
    2087   ac_status=$?
    2088   grep -v '^ *+' conftest.er1 >conftest.err
    2089   rm -f conftest.er1
    2090   cat conftest.err >&5
    2091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2092   (exit $ac_status); } &&
    2093          { ac_try='test -z "$ac_f77_werror_flag"
    2094                          || test ! -s conftest.err'
    2095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2096   (eval $ac_try) 2>&5
    2097   ac_status=$?
    2098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2099   (exit $ac_status); }; } &&
    2100          { ac_try='test -s conftest.$ac_objext'
    2101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2102   (eval $ac_try) 2>&5
    2103   ac_status=$?
    2104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2105   (exit $ac_status); }; }; then
    2106   ac_compiler_gnu=yes
    2107 else
    2108   echo "$as_me: failed program was:" >&5
    2109 sed 's/^/| /' conftest.$ac_ext >&5
    2110 
    2111 ac_compiler_gnu=no
    2112 fi
    2113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2114 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    2115 
    2116 fi
    2117 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    2118 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
    2119 ac_ext=$ac_save_ext
    2120 ac_test_FFLAGS=${FFLAGS+set}
    2121 ac_save_FFLAGS=$FFLAGS
    2122 FFLAGS=
    2123 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    2124 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
    2125 if test "${ac_cv_prog_f77_g+set}" = set; then
    2126   echo $ECHO_N "(cached) $ECHO_C" >&6
    2127 else
    2128   FFLAGS=-g
    2129 cat >conftest.$ac_ext <<_ACEOF
    2130       program main
    2131 
    2132       end
    2133 _ACEOF
    2134 rm -f conftest.$ac_objext
    2135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2136   (eval $ac_compile) 2>conftest.er1
    2137   ac_status=$?
    2138   grep -v '^ *+' conftest.er1 >conftest.err
    2139   rm -f conftest.er1
    2140   cat conftest.err >&5
    2141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2142   (exit $ac_status); } &&
    2143          { ac_try='test -z "$ac_f77_werror_flag"
    2144                          || test ! -s conftest.err'
    2145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2146   (eval $ac_try) 2>&5
    2147   ac_status=$?
    2148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2149   (exit $ac_status); }; } &&
    2150          { ac_try='test -s conftest.$ac_objext'
    2151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2152   (eval $ac_try) 2>&5
    2153   ac_status=$?
    2154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2155   (exit $ac_status); }; }; then
    2156   ac_cv_prog_f77_g=yes
    2157 else
    2158   echo "$as_me: failed program was:" >&5
    2159 sed 's/^/| /' conftest.$ac_ext >&5
    2160 
    2161 ac_cv_prog_f77_g=no
    2162 fi
    2163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2164 
    2165 fi
    2166 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    2167 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
    2168 if test "$ac_test_FFLAGS" = set; then
    2169   FFLAGS=$ac_save_FFLAGS
    2170 elif test $ac_cv_prog_f77_g = yes; then
    2171   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    2172     FFLAGS="-g -O2"
    2173   else
    2174     FFLAGS="-g"
    2175   fi
    2176 else
    2177   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    2178     FFLAGS="-O2"
    2179   else
    2180     FFLAGS=
    2181   fi
    2182 fi
    2183 
    2184 G77=`test $ac_compiler_gnu = yes && echo yes`
    2185 ac_ext=f
    2186 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    2187 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2188 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    2189 
    2190 FFLAGS="$save_fflags"
    2191 
    2192 # Check if a project specific FFLAGS variable has been set
    2193 if test x$COIN_PRJCT != x; then
    2194   eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set}
    2195   if test x$coin_tmp = xset; then
    2196     eval FFLAGS=\${${COIN_PRJCT}_FFLAGS}
    2197   fi
    2198 fi
    2199 
    2200 if test x"$FFLAGS" = x; then
    2201 
    2202   coin_add_fflags=
    2203   coin_opt_fflags=
    2204   coin_dbg_fflags=
    2205   coin_warn_fflags=
    2206 
    2207   if test "$G77" = "yes"; then
    2208     coin_opt_fflags="-O3 -fomit-frame-pointer"
    2209     coin_add_fflags="-pipe"
    2210     coin_dbg_fflags="-g"
    2211     case $build in
    2212       *-cygwin*)
    2213         FFLAGS="-mno-cygwin"
    2214         cat >conftest.$ac_ext <<_ACEOF
    2215       program main
    2216       write(*,*) 'Hello world'
    2217       end
    2218 _ACEOF
    2219 rm -f conftest.$ac_objext conftest$ac_exeext
    2220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2221   (eval $ac_link) 2>conftest.er1
    2222   ac_status=$?
    2223   grep -v '^ *+' conftest.er1 >conftest.err
    2224   rm -f conftest.er1
    2225   cat conftest.err >&5
    2226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2227   (exit $ac_status); } &&
    2228          { ac_try='test -z "$ac_f77_werror_flag"
    2229                          || test ! -s conftest.err'
    2230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2231   (eval $ac_try) 2>&5
    2232   ac_status=$?
    2233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2234   (exit $ac_status); }; } &&
    2235          { ac_try='test -s conftest$ac_exeext'
    2236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2237   (eval $ac_try) 2>&5
    2238   ac_status=$?
    2239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2240   (exit $ac_status); }; }; then
    2241   coin_add_fflags="-mno-cygwin $coin_add_fflags"
    2242 else
    2243   echo "$as_me: failed program was:" >&5
    2244 sed 's/^/| /' conftest.$ac_ext >&5
    2245 
    2246 fi
    2247 rm -f conftest.err conftest.$ac_objext \
    2248       conftest$ac_exeext conftest.$ac_ext
    2249         FFLAGS=
    2250       ;;
    2251     esac
    2252   else
    2253     case $build in
    2254       *-cygwin* | *-mingw*)
    2255         case $F77 in
    2256           ifort* | */ifort*)
    2257             coin_opt_fflags='-O3'
    2258             coin_add_fflags='-nologo -MT'
    2259             coin_dbg_fflags='-debug'
    2260           ;;
    2261         esac
    2262         ;;
    2263       *-linux-*)
    2264         case $F77 in
    2265           ifc* | */ifc* | ifort* | */ifort*)
    2266             coin_opt_fflags="-O3 -ip"
    2267             coin_add_fflags="-cm -w90 -w95"
    2268             coin_dbg_fflags="-g -CA -CB -CS"
    2269             # Check if -i_dynamic is necessary (for new glibc library)
    2270             FFLAGS=
    2271             cat >conftest.$ac_ext <<_ACEOF
    2272       program main
    2273       write(*,*) 'Hello world'
    2274       end
    2275 _ACEOF
    2276 rm -f conftest.$ac_objext conftest$ac_exeext
    2277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2278   (eval $ac_link) 2>conftest.er1
    2279   ac_status=$?
    2280   grep -v '^ *+' conftest.er1 >conftest.err
    2281   rm -f conftest.er1
    2282   cat conftest.err >&5
    2283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2284   (exit $ac_status); } &&
    2285          { ac_try='test -z "$ac_f77_werror_flag"
    2286                          || test ! -s conftest.err'
    2287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2288   (eval $ac_try) 2>&5
    2289   ac_status=$?
    2290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2291   (exit $ac_status); }; } &&
    2292          { ac_try='test -s conftest$ac_exeext'
    2293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2294   (eval $ac_try) 2>&5
    2295   ac_status=$?
    2296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2297   (exit $ac_status); }; }; then
    2298   :
    2299 else
    2300   echo "$as_me: failed program was:" >&5
    2301 sed 's/^/| /' conftest.$ac_ext >&5
    2302 
    2303 coin_add_fflags="-i_dynamic $coin_add_fflags"
    2304 fi
    2305 rm -f conftest.err conftest.$ac_objext \
    2306       conftest$ac_exeext conftest.$ac_ext
    2307             ;;
    2308           pgf77* | */pgf77* | pgf90* | */pgf90*)
    2309             coin_opt_fflags="-fast"
    2310             coin_add_fflags="-Kieee -pc 64"
    2311             coin_dbg_fflags="-g"
    2312           ;;
    2313         esac
    2314         ;;
    2315       *-ibm-*)
    2316         case "$F77" in
    2317           xlf* | */xlf* | mpxlf* | */mpxlf* )
    2318             coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
    2319             coin_add_fflags="-bmaxdata:0x80000000"
    2320             coin_dbg_fflags="-g -C"
    2321             ;;
    2322         esac
    2323         ;;
    2324       *-hp-*)
    2325         coin_opt_fflags="+O3"
    2326         coin_add_fflags="+U77"
    2327         coin_dbg_fflags="-C -g"
    2328         ;;
    2329       *-sun-*)
    2330         coin_opt_fflags="-O4"
    2331         coin_dbg_fflags="-g"
    2332         ;;
    2333       *-sgi-*)
    2334         coin_opt_fflags="-O5 -OPT:Olimit=0"
    2335         coin_dbg_fflags="-g"
    2336         ;;
    2337     esac
    2338   fi
    2339 
    2340   if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then
    2341     coin_dbg_fflags="-g"
    2342   fi
    2343 
    2344   if test -z "$coin_opt_fflags"; then
    2345     # Try if -O option works if nothing else is set
    2346     FFLAGS=-O
    2347     cat >conftest.$ac_ext <<_ACEOF
    2348       program main
    2349       integer i
    2350       end
    2351 _ACEOF
    2352 rm -f conftest.$ac_objext conftest$ac_exeext
    2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2354   (eval $ac_link) 2>conftest.er1
    2355   ac_status=$?
    2356   grep -v '^ *+' conftest.er1 >conftest.err
    2357   rm -f conftest.er1
    2358   cat conftest.err >&5
    2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2360   (exit $ac_status); } &&
    2361          { ac_try='test -z "$ac_f77_werror_flag"
    2362                          || test ! -s conftest.err'
    2363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2364   (eval $ac_try) 2>&5
    2365   ac_status=$?
    2366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2367   (exit $ac_status); }; } &&
    2368          { ac_try='test -s conftest$ac_exeext'
    2369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2370   (eval $ac_try) 2>&5
    2371   ac_status=$?
    2372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2373   (exit $ac_status); }; }; then
    2374   coin_opt_fflags="-O"
    2375 else
    2376   echo "$as_me: failed program was:" >&5
    2377 sed 's/^/| /' conftest.$ac_ext >&5
    2378 
    2379 fi
    2380 rm -f conftest.err conftest.$ac_objext \
    2381       conftest$ac_exeext conftest.$ac_ext
    2382   fi
    2383 
    2384   if test x${DBG_FFLAGS+set} != xset; then
    2385     DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags"
    2386   fi
    2387   if test x${OPT_FFLAGS+set} != xset; then
    2388     OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags"
    2389   fi
    2390 
    2391   DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS"
    2392   OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS"
    2393 
    2394   if test "$coin_debug_compile" = "true"; then
    2395     FFLAGS="$DBG_FFLAGS"
    2396   else
    2397     FFLAGS="$OPT_FFLAGS"
    2398   fi
    2399 else
    2400   FFLAGS="$FFLAGS $ADD_FFLAGS"
    2401   if test x${DBG_FFLAGS+set} != xset; then
    2402     DBG_FFLAGS="$FFLAGS"
    2403   fi
    2404   if test x${OPT_FFLAGS+set} != xset; then
    2405     OPT_FFLAGS="$FFLAGS"
    2406   fi
    2407 fi
    2408 
    2409 # Try if FFLAGS works
    2410 cat >conftest.$ac_ext <<_ACEOF
    2411       program main
    2412       integer i
    2413       end
    2414 _ACEOF
    2415 rm -f conftest.$ac_objext conftest$ac_exeext
    2416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2417   (eval $ac_link) 2>conftest.er1
    2418   ac_status=$?
    2419   grep -v '^ *+' conftest.er1 >conftest.err
    2420   rm -f conftest.er1
    2421   cat conftest.err >&5
    2422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2423   (exit $ac_status); } &&
    2424          { ac_try='test -z "$ac_f77_werror_flag"
    2425                          || test ! -s conftest.err'
    2426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2427   (eval $ac_try) 2>&5
    2428   ac_status=$?
    2429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2430   (exit $ac_status); }; } &&
    2431          { ac_try='test -s conftest$ac_exeext'
    2432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2433   (eval $ac_try) 2>&5
    2434   ac_status=$?
    2435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2436   (exit $ac_status); }; }; then
    2437   :
    2438 else
    2439   echo "$as_me: failed program was:" >&5
    2440 sed 's/^/| /' conftest.$ac_ext >&5
    2441 
    2442 FFLAGS=
    2443 fi
    2444 rm -f conftest.err conftest.$ac_objext \
    2445       conftest$ac_exeext conftest.$ac_ext
    2446 if test -z "$FFLAGS"; then
    2447   { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work.  I will now just try '-O', but you might want to set FFLAGS manually." >&5
    2448 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work.  I will now just try '-O', but you might want to set FFLAGS manually." >&2;}
    2449   FFLAGS='-O'
    2450   cat >conftest.$ac_ext <<_ACEOF
    2451       program main
    2452       integer i
    2453       end
    2454 _ACEOF
    2455 rm -f conftest.$ac_objext conftest$ac_exeext
    2456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2457   (eval $ac_link) 2>conftest.er1
    2458   ac_status=$?
    2459   grep -v '^ *+' conftest.er1 >conftest.err
    2460   rm -f conftest.er1
    2461   cat conftest.err >&5
    2462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2463   (exit $ac_status); } &&
    2464          { ac_try='test -z "$ac_f77_werror_flag"
    2465                          || test ! -s conftest.err'
    2466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2467   (eval $ac_try) 2>&5
    2468   ac_status=$?
    2469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2470   (exit $ac_status); }; } &&
    2471          { ac_try='test -s conftest$ac_exeext'
    2472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2473   (eval $ac_try) 2>&5
    2474   ac_status=$?
    2475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2476   (exit $ac_status); }; }; then
    2477   :
    2478 else
    2479   echo "$as_me: failed program was:" >&5
    2480 sed 's/^/| /' conftest.$ac_ext >&5
    2481 
    2482 FFLAGS=
    2483 fi
    2484 rm -f conftest.err conftest.$ac_objext \
    2485       conftest$ac_exeext conftest.$ac_ext
    2486   if test -z "$FFLAGS"; then
    2487     { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work.  I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5
    2488 echo "$as_me: WARNING: This value for FFLAGS does not work.  I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;}
    2489   fi
    2490 fi
    2491 
    2492 { echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&5
    2493 echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;}
    2494 
    2495 
    2496 if test x"$MPIF77" = x; then :; else
    2497   { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&5
    2498 echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;}
    2499   F77="$MPIF77"
    2500 fi
    2501 
    2502 case "$F77" in
    2503   ifort*)
    2504     case $build in
    2505   *-mingw*)
    2506     if test "${LD+set}" = set; then :; else
    2507       LD=link
    2508     fi
    2509     ;;
    2510 esac
    2511 
    2512     ;;
    2513 esac
    2514 
    2515 ac_ext=c
    2516 ac_cpp='$CPP $CPPFLAGS'
    2517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2520 
    2521 
    2522 
    2523 # Initialize autotools
    2524 
    2525 # On Cygwin, building DLLs doesn't work
    2526 case $build in
    2527   *-cygwin*)
    2528     coin_disable_shared=yes
    2529     platform=Cygwin
    2530   ;;
    2531   *-mingw*)
    2532     coin_disable_shared=yes
    2533     platform="Msys"
    2534 #    case "$CXX" in
    2535 #      cl*)
    2536 #        coin_disable_shared=yes
    2537 #        platform="Msys with cl"
    2538 #    ;;
    2539 #    esac
    2540   ;;
    2541 esac
    2542 if test x"$coin_disable_shared" = xyes; then
    2543   if test x"$enable_shared" = xyes; then
    2544     { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5
    2545 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
    2546   fi
    2547   enable_shared=no
    2548 fi
    2549 # By default, we only want the shared objects to be compiled
    2550 # Check whether --enable-static or --disable-static was given.
    2551 if test "${enable_static+set}" = set; then
    2552   enableval="$enable_static"
    2553   p=${PACKAGE-default}
    2554     case $enableval in
    2555     yes) enable_static=yes ;;
    2556     no) enable_static=no ;;
    2557     *)
    2558      enable_static=no
    2559       # Look at the argument we got.  We use all the common list separators.
    2560       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    2561       for pkg in $enableval; do
    2562         IFS="$lt_save_ifs"
    2563         if test "X$pkg" = "X$p"; then
    2564           enable_static=yes
    2565         fi
    2566       done
    2567       IFS="$lt_save_ifs"
    2568       ;;
    2569     esac
    2570 else
    2571   enable_static=no
    2572 fi;
    2573 
    2574 
    2575 
    2576 echo "$as_me:$LINENO: checking for egrep" >&5
    2577 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2578 if test "${ac_cv_prog_egrep+set}" = set; then
    2579   echo $ECHO_N "(cached) $ECHO_C" >&6
    2580 else
    2581   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2582     then ac_cv_prog_egrep='grep -E'
    2583     else ac_cv_prog_egrep='egrep'
    2584     fi
    2585 fi
    2586 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2587 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2588  EGREP=$ac_cv_prog_egrep
    2589 
    2590 
    2591 am__api_version="1.9"
    2592 # Find a good install program.  We prefer a C program (faster),
    2593 # so one script is as good as another.  But avoid the broken or
    2594 # incompatible versions:
    2595 # SysV /etc/install, /usr/sbin/install
    2596 # SunOS /usr/etc/install
    2597 # IRIX /sbin/install
    2598 # AIX /bin/install
    2599 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2603 # OS/2's system install, which has a completely different semantic
    2604 # ./install, which can be erroneously created by make from ./install.sh.
    2605 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    2607 if test -z "$INSTALL"; then
    2608 if test "${ac_cv_path_install+set}" = set; then
    2609   echo $ECHO_N "(cached) $ECHO_C" >&6
    2610 else
    2611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2612 for as_dir in $PATH
    2613 do
    2614   IFS=$as_save_IFS
    2615   test -z "$as_dir" && as_dir=.
    2616   # Account for people who put trailing slashes in PATH elements.
    2617 case $as_dir/ in
    2618   ./ | .// | /cC/* | \
    2619   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2620   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2621   /usr/ucb/* ) ;;
    2622   *)
    2623     # OSF1 and SCO ODT 3.0 have their own names for install.
    2624     # Don't use installbsd from OSF since it installs stuff as root
    2625     # by default.
    2626     for ac_prog in ginstall scoinst install; do
    2627       for ac_exec_ext in '' $ac_executable_extensions; do
    2628         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2629           if test $ac_prog = install &&
    2630             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2631             # AIX install.  It has an incompatible calling convention.
    2632             :
    2633           elif test $ac_prog = install &&
    2634             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2635             # program-specific install script used by HP pwplus--don't use.
    2636             :
    2637           else
    2638             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2639             break 3
    2640           fi
    2641         fi
    2642       done
    2643     done
    2644     ;;
    2645 esac
    2646 done
    2647 
    2648 
    2649 fi
    2650   if test "${ac_cv_path_install+set}" = set; then
    2651     INSTALL=$ac_cv_path_install
    2652   else
    2653     # As a last resort, use the slow shell script.  We don't cache a
    2654     # path for INSTALL within a source directory, because that will
    2655     # break other packages using the cache if that directory is
    2656     # removed, or if the path is relative.
    2657     INSTALL=$ac_install_sh
    2658   fi
    2659 fi
    2660 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2661 echo "${ECHO_T}$INSTALL" >&6
    2662 
    2663 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2664 # It thinks the first close brace ends the variable substitution.
    2665 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2666 
    2667 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2668 
    2669 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    2670 
    2671 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
    2672 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    2673 # Just in case
    2674 sleep 1
    2675 echo timestamp > conftest.file
    2676 # Do `set' in a subshell so we don't clobber the current shell's
    2677 # arguments.  Must try -L first in case configure is actually a
    2678 # symlink; some systems play weird games with the mod time of symlinks
    2679 # (eg FreeBSD returns the mod time of the symlink's containing
    2680 # directory).
    2681 if (
    2682    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    2683    if test "$*" = "X"; then
    2684       # -L didn't work.
    2685       set X `ls -t $srcdir/configure conftest.file`
    2686    fi
    2687    rm -f conftest.file
    2688    if test "$*" != "X $srcdir/configure conftest.file" \
    2689       && test "$*" != "X conftest.file $srcdir/configure"; then
    2690 
    2691       # If neither matched, then we have a broken ls.  This can happen
    2692       # if, for instance, CONFIG_SHELL is bash and it inherits a
    2693       # broken ls alias from the environment.  This has actually
    2694       # happened.  Such a system could not be considered "sane".
    2695       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    2696 alias in your environment" >&5
    2697 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    2698 alias in your environment" >&2;}
    2699    { (exit 1); exit 1; }; }
    2700    fi
    2701 
    2702    test "$2" = conftest.file
    2703    )
    2704 then
    2705    # Ok.
    2706    :
    2707 else
    2708    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    2709 Check your system clock" >&5
    2710 echo "$as_me: error: newly created file is older than distributed files!
    2711 Check your system clock" >&2;}
    2712    { (exit 1); exit 1; }; }
    2713 fi
    2714 echo "$as_me:$LINENO: result: yes" >&5
    2715 echo "${ECHO_T}yes" >&6
    2716 test "$program_prefix" != NONE &&
    2717   program_transform_name="s,^,$program_prefix,;$program_transform_name"
    2718 # Use a double $ so make ignores it.
    2719 test "$program_suffix" != NONE &&
    2720   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    2721 # Double any \ or $.  echo might interpret backslashes.
    2722 # By default was `s,x,x', remove it if useless.
    2723 cat <<\_ACEOF >conftest.sed
    2724 s/[\\$]/&&/g;s/;s,x,x,$//
    2725 _ACEOF
    2726 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    2727 rm conftest.sed
    2728 
    2729 # expand $ac_aux_dir to an absolute path
    2730 am_aux_dir=`cd $ac_aux_dir && pwd`
    2731 
    2732 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    2733 # Use eval to expand $SHELL
    2734 if eval "$MISSING --run true"; then
    2735   am_missing_run="$MISSING --run "
    2736 else
    2737   am_missing_run=
    2738   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    2739 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    2740 fi
    2741 
    2742 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    2743   # We used to keeping the `.' as first argument, in order to
    2744   # allow $(mkdir_p) to be used without argument.  As in
    2745   #   $(mkdir_p) $(somedir)
    2746   # where $(somedir) is conditionally defined.  However this is wrong
    2747   # for two reasons:
    2748   #  1. if the package is installed by a user who cannot write `.'
    2749   #     make install will fail,
    2750   #  2. the above comment should most certainly read
    2751   #     $(mkdir_p) $(DESTDIR)$(somedir)
    2752   #     so it does not work when $(somedir) is undefined and
    2753   #     $(DESTDIR) is not.
    2754   #  To support the latter case, we have to write
    2755   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    2756   #  so the `.' trick is pointless.
    2757   mkdir_p='mkdir -p --'
    2758 else
    2759   # On NextStep and OpenStep, the `mkdir' command does not
    2760   # recognize any option.  It will interpret all options as
    2761   # directories to create, and then abort because `.' already
    2762   # exists.
    2763   for d in ./-p ./--version;
    2764   do
    2765     test -d $d && rmdir $d
    2766   done
    2767   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    2768   if test -f "$ac_aux_dir/mkinstalldirs"; then
    2769     mkdir_p='$(mkinstalldirs)'
    2770   else
    2771     mkdir_p='$(install_sh) -d'
    2772   fi
    2773 fi
    2774 
    2775 for ac_prog in gawk mawk nawk awk
    2776 do
    2777   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2778 set dummy $ac_prog; ac_word=$2
    2779 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2781 if test "${ac_cv_prog_AWK+set}" = set; then
    2782   echo $ECHO_N "(cached) $ECHO_C" >&6
    2783 else
    2784   if test -n "$AWK"; then
    2785   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    2786 else
    2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2788 for as_dir in $PATH
    2789 do
    2790   IFS=$as_save_IFS
    2791   test -z "$as_dir" && as_dir=.
    2792   for ac_exec_ext in '' $ac_executable_extensions; do
    2793   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2794     ac_cv_prog_AWK="$ac_prog"
    2795     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2796     break 2
    2797   fi
    2798 done
    2799 done
    2800 
    2801 fi
    2802 fi
    2803 AWK=$ac_cv_prog_AWK
    2804 if test -n "$AWK"; then
    2805   echo "$as_me:$LINENO: result: $AWK" >&5
    2806 echo "${ECHO_T}$AWK" >&6
    2807 else
    2808   echo "$as_me:$LINENO: result: no" >&5
    2809 echo "${ECHO_T}no" >&6
    2810 fi
    2811 
    2812   test -n "$AWK" && break
    2813 done
    2814 
    2815 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2816 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2817 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    2818 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    2819   echo $ECHO_N "(cached) $ECHO_C" >&6
    2820 else
    2821   cat >conftest.make <<\_ACEOF
    2822 all:
    2823         @echo 'ac_maketemp="$(MAKE)"'
    2824 _ACEOF
    2825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2826 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2827 if test -n "$ac_maketemp"; then
    2828   eval ac_cv_prog_make_${ac_make}_set=yes
    2829 else
    2830   eval ac_cv_prog_make_${ac_make}_set=no
    2831 fi
    2832 rm -f conftest.make
    2833 fi
    2834 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2835   echo "$as_me:$LINENO: result: yes" >&5
    2836 echo "${ECHO_T}yes" >&6
    2837   SET_MAKE=
    2838 else
    2839   echo "$as_me:$LINENO: result: no" >&5
    2840 echo "${ECHO_T}no" >&6
    2841   SET_MAKE="MAKE=${MAKE-make}"
    2842 fi
    2843 
    2844 rm -rf .tst 2>/dev/null
    2845 mkdir .tst 2>/dev/null
    2846 if test -d .tst; then
    2847   am__leading_dot=.
    2848 else
    2849   am__leading_dot=_
    2850 fi
    2851 rmdir .tst 2>/dev/null
    2852 
    2853 DEPDIR="${am__leading_dot}deps"
    2854 
    2855           ac_config_commands="$ac_config_commands depfiles"
    2856 
    2857 
    2858 am_make=${MAKE-make}
    2859 cat > confinc << 'END'
    2860 am__doit:
    2861         @echo done
    2862 .PHONY: am__doit
    2863 END
    2864 # If we don't find an include directive, just comment out the code.
    2865 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
    2866 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
    2867 am__include="#"
    2868 am__quote=
    2869 _am_result=none
    2870 # First try GNU make style include.
    2871 echo "include confinc" > confmf
    2872 # We grep out `Entering directory' and `Leaving directory'
    2873 # messages which can occur if `w' ends up in MAKEFLAGS.
    2874 # In particular we don't look at `^make:' because GNU make might
    2875 # be invoked under some other name (usually "gmake"), in which
    2876 # case it prints its new name instead of `make'.
    2877 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    2878    am__include=include
    2879    am__quote=
    2880    _am_result=GNU
    2881 fi
    2882 # Now try BSD make style include.
    2883 if test "$am__include" = "#"; then
    2884    echo '.include "confinc"' > confmf
    2885    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    2886       am__include=.include
    2887       am__quote="\""
    2888       _am_result=BSD
    2889    fi
    2890 fi
    2891 
    2892 
    2893 echo "$as_me:$LINENO: result: $_am_result" >&5
    2894 echo "${ECHO_T}$_am_result" >&6
    2895 rm -f confinc confmf
    2896 
    2897 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
    2898 if test "${enable_dependency_tracking+set}" = set; then
    2899   enableval="$enable_dependency_tracking"
    2900 
    2901 fi;
    2902 if test "x$enable_dependency_tracking" != xno; then
    2903   am_depcomp="$ac_aux_dir/depcomp"
    2904   AMDEPBACKSLASH='\'
    2905 fi
    2906 
    2907 
    2908 if test "x$enable_dependency_tracking" != xno; then
    2909   AMDEP_TRUE=
    2910   AMDEP_FALSE='#'
    2911 else
    2912   AMDEP_TRUE='#'
    2913   AMDEP_FALSE=
    2914 fi
    2915 
    2916 
    2917 
    2918 ac_ext=c
    2919 ac_cpp='$CPP $CPPFLAGS'
    2920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2923 if test -n "$ac_tool_prefix"; then
    2924   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    2925 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2926 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2928 if test "${ac_cv_prog_CC+set}" = set; then
    2929   echo $ECHO_N "(cached) $ECHO_C" >&6
    2930 else
    2931   if test -n "$CC"; then
    2932   ac_cv_prog_CC="$CC" # Let the user override the test.
    2933 else
    2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2935 for as_dir in $PATH
    2936 do
    2937   IFS=$as_save_IFS
    2938   test -z "$as_dir" && as_dir=.
    2939   for ac_exec_ext in '' $ac_executable_extensions; do
    2940   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2941     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2942     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2943     break 2
    2944   fi
    2945 done
    2946 done
    2947 
    2948 fi
    2949 fi
    2950 CC=$ac_cv_prog_CC
    2951 if test -n "$CC"; then
    2952   echo "$as_me:$LINENO: result: $CC" >&5
    2953 echo "${ECHO_T}$CC" >&6
    2954 else
    2955   echo "$as_me:$LINENO: result: no" >&5
    2956 echo "${ECHO_T}no" >&6
    2957 fi
    2958 
    2959 fi
    2960 if test -z "$ac_cv_prog_CC"; then
    2961   ac_ct_CC=$CC
    2962   # Extract the first word of "gcc", so it can be a program name with args.
    2963 set dummy gcc; ac_word=$2
    2964 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2967   echo $ECHO_N "(cached) $ECHO_C" >&6
    2968 else
    2969   if test -n "$ac_ct_CC"; then
    2970   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2971 else
    2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2973 for as_dir in $PATH
    2974 do
    2975   IFS=$as_save_IFS
    2976   test -z "$as_dir" && as_dir=.
    2977   for ac_exec_ext in '' $ac_executable_extensions; do
    2978   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2979     ac_cv_prog_ac_ct_CC="gcc"
    2980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2981     break 2
    2982   fi
    2983 done
    2984 done
    2985 
    2986 fi
    2987 fi
    2988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2989 if test -n "$ac_ct_CC"; then
    2990   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2991 echo "${ECHO_T}$ac_ct_CC" >&6
    2992 else
    2993   echo "$as_me:$LINENO: result: no" >&5
    2994 echo "${ECHO_T}no" >&6
    2995 fi
    2996 
    2997   CC=$ac_ct_CC
    2998 else
    2999   CC="$ac_cv_prog_CC"
    3000 fi
    3001 
    3002 if test -z "$CC"; then
    3003   if test -n "$ac_tool_prefix"; then
    3004   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    3005 set dummy ${ac_tool_prefix}cc; ac_word=$2
    3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3008 if test "${ac_cv_prog_CC+set}" = set; then
    3009   echo $ECHO_N "(cached) $ECHO_C" >&6
    3010 else
    3011   if test -n "$CC"; then
    3012   ac_cv_prog_CC="$CC" # Let the user override the test.
    3013 else
    3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3015 for as_dir in $PATH
    3016 do
    3017   IFS=$as_save_IFS
    3018   test -z "$as_dir" && as_dir=.
    3019   for ac_exec_ext in '' $ac_executable_extensions; do
    3020   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3021     ac_cv_prog_CC="${ac_tool_prefix}cc"
    3022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3023     break 2
    3024   fi
    3025 done
    3026 done
    3027 
    3028 fi
    3029 fi
    3030 CC=$ac_cv_prog_CC
    3031 if test -n "$CC"; then
    3032   echo "$as_me:$LINENO: result: $CC" >&5
    3033 echo "${ECHO_T}$CC" >&6
    3034 else
    3035   echo "$as_me:$LINENO: result: no" >&5
    3036 echo "${ECHO_T}no" >&6
    3037 fi
    3038 
    3039 fi
    3040 if test -z "$ac_cv_prog_CC"; then
    3041   ac_ct_CC=$CC
    3042   # Extract the first word of "cc", so it can be a program name with args.
    3043 set dummy cc; 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_CC+set}" = set; then
    3047   echo $ECHO_N "(cached) $ECHO_C" >&6
    3048 else
    3049   if test -n "$ac_ct_CC"; then
    3050   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="cc"
    3060     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3061     break 2
    3062   fi
    3063 done
    3064 done
    3065 
    3066 fi
    3067 fi
    3068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3069 if test -n "$ac_ct_CC"; then
    3070   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3071 echo "${ECHO_T}$ac_ct_CC" >&6
    3072 else
    3073   echo "$as_me:$LINENO: result: no" >&5
    3074 echo "${ECHO_T}no" >&6
    3075 fi
    3076 
    3077   CC=$ac_ct_CC
    3078 else
    3079   CC="$ac_cv_prog_CC"
    3080 fi
    3081 
    3082 fi
    3083 if test -z "$CC"; then
    3084   # Extract the first word of "cc", so it can be a program name with args.
    3085 set dummy cc; ac_word=$2
    3086 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3088 if test "${ac_cv_prog_CC+set}" = set; then
    3089   echo $ECHO_N "(cached) $ECHO_C" >&6
    3090 else
    3091   if test -n "$CC"; then
    3092   ac_cv_prog_CC="$CC" # Let the user override the test.
    3093 else
    3094   ac_prog_rejected=no
    3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3096 for as_dir in $PATH
    3097 do
    3098   IFS=$as_save_IFS
    3099   test -z "$as_dir" && as_dir=.
    3100   for ac_exec_ext in '' $ac_executable_extensions; do
    3101   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3102     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    3103        ac_prog_rejected=yes
    3104        continue
    3105      fi
    3106     ac_cv_prog_CC="cc"
    3107     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3108     break 2
    3109   fi
    3110 done
    3111 done
    3112 
    3113 if test $ac_prog_rejected = yes; then
    3114   # We found a bogon in the path, so make sure we never use it.
    3115   set dummy $ac_cv_prog_CC
    3116   shift
    3117   if test $# != 0; then
    3118     # We chose a different compiler from the bogus one.
    3119     # However, it has the same basename, so the bogon will be chosen
    3120     # first if we set CC to just the basename; use the full file name.
    3121     shift
    3122     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    3123   fi
    3124 fi
    3125 fi
    3126 fi
    3127 CC=$ac_cv_prog_CC
    3128 if test -n "$CC"; then
    3129   echo "$as_me:$LINENO: result: $CC" >&5
    3130 echo "${ECHO_T}$CC" >&6
    3131 else
    3132   echo "$as_me:$LINENO: result: no" >&5
    3133 echo "${ECHO_T}no" >&6
    3134 fi
    3135 
    3136 fi
    3137 if test -z "$CC"; then
    3138   if test -n "$ac_tool_prefix"; then
    3139   for ac_prog in cl
    3140   do
    3141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3143 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3145 if test "${ac_cv_prog_CC+set}" = set; then
    3146   echo $ECHO_N "(cached) $ECHO_C" >&6
    3147 else
    3148   if test -n "$CC"; then
    3149   ac_cv_prog_CC="$CC" # Let the user override the test.
    3150 else
    3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3152 for as_dir in $PATH
    3153 do
    3154   IFS=$as_save_IFS
    3155   test -z "$as_dir" && as_dir=.
    3156   for ac_exec_ext in '' $ac_executable_extensions; do
    3157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3158     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3160     break 2
    3161   fi
    3162 done
    3163 done
    3164 
    3165 fi
    3166 fi
    3167 CC=$ac_cv_prog_CC
    3168 if test -n "$CC"; then
    3169   echo "$as_me:$LINENO: result: $CC" >&5
    3170 echo "${ECHO_T}$CC" >&6
    3171 else
    3172   echo "$as_me:$LINENO: result: no" >&5
    3173 echo "${ECHO_T}no" >&6
    3174 fi
    3175 
    3176     test -n "$CC" && break
    3177   done
    3178 fi
    3179 if test -z "$CC"; then
    3180   ac_ct_CC=$CC
    3181   for ac_prog in cl
    3182 do
    3183   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3184 set dummy $ac_prog; ac_word=$2
    3185 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    3188   echo $ECHO_N "(cached) $ECHO_C" >&6
    3189 else
    3190   if test -n "$ac_ct_CC"; then
    3191   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3192 else
    3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3194 for as_dir in $PATH
    3195 do
    3196   IFS=$as_save_IFS
    3197   test -z "$as_dir" && as_dir=.
    3198   for ac_exec_ext in '' $ac_executable_extensions; do
    3199   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3200     ac_cv_prog_ac_ct_CC="$ac_prog"
    3201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3202     break 2
    3203   fi
    3204 done
    3205 done
    3206 
    3207 fi
    3208 fi
    3209 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3210 if test -n "$ac_ct_CC"; then
    3211   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3212 echo "${ECHO_T}$ac_ct_CC" >&6
    3213 else
    3214   echo "$as_me:$LINENO: result: no" >&5
    3215 echo "${ECHO_T}no" >&6
    3216 fi
    3217 
    3218   test -n "$ac_ct_CC" && break
    3219 done
    3220 
    3221   CC=$ac_ct_CC
    3222 fi
    3223 
    3224 fi
    3225 
    3226 
    3227 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    3228 See \`config.log' for more details." >&5
    3229 echo "$as_me: error: no acceptable C compiler found in \$PATH
    3230 See \`config.log' for more details." >&2;}
    3231    { (exit 1); exit 1; }; }
    3232 
    3233 # Provide some information about the compiler.
    3234 echo "$as_me:$LINENO:" \
    3235      "checking for C compiler version" >&5
    3236 ac_compiler=`set X $ac_compile; echo $2`
    3237 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3238   (eval $ac_compiler --version </dev/null >&5) 2>&5
    3239   ac_status=$?
    3240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3241   (exit $ac_status); }
    3242 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3243   (eval $ac_compiler -v </dev/null >&5) 2>&5
    3244   ac_status=$?
    3245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3246   (exit $ac_status); }
    3247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3248   (eval $ac_compiler -V </dev/null >&5) 2>&5
    3249   ac_status=$?
    3250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3251   (exit $ac_status); }
    3252 
    32532153echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32542154echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     
    36452545ac_compiler_gnu=$ac_cv_c_compiler_gnu
    36462546
    3647 depcc="$CC"   am_compiler_list=
    3648 
    3649 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    3650 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    3651 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     2547CFLAGS="$save_cflags"
     2548
     2549# Check if a project specific CFLAGS variable has been set
     2550if test x$COIN_PRJCT != x; then
     2551  eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set}
     2552  if test x$coin_tmp = xset; then
     2553    eval CFLAGS=\${${COIN_PRJCT}_CFLAGS}
     2554  fi
     2555fi
     2556
     2557if test x"$CFLAGS" = x; then
     2558
     2559  coin_add_cflags=
     2560  coin_opt_cflags=
     2561  coin_dbg_cflags=
     2562  coin_warn_cflags=
     2563
     2564  if test "$GCC" = "yes"; then
     2565    case "$CC" in
     2566      icc* | */icc*)
     2567        ;;
     2568      *)
     2569        coin_opt_cflags="-O3 -fomit-frame-pointer"
     2570        coin_add_cflags="-pipe"
     2571        coin_dbg_cflags="-g"
     2572        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
     2573        if test "$enable_doscompile" = yes; then
     2574          case $build in
     2575            *-cygwin*)
     2576              CFLAGS="-mno-cygwin"
     2577              cat >conftest.$ac_ext <<_ACEOF
     2578/* confdefs.h.  */
     2579_ACEOF
     2580cat confdefs.h >>conftest.$ac_ext
     2581cat >>conftest.$ac_ext <<_ACEOF
     2582/* end confdefs.h.  */
     2583
     2584int
     2585main ()
     2586{
     2587int i=0; i++;
     2588  ;
     2589  return 0;
     2590}
     2591_ACEOF
     2592rm -f conftest.$ac_objext conftest$ac_exeext
     2593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2594  (eval $ac_link) 2>conftest.er1
     2595  ac_status=$?
     2596  grep -v '^ *+' conftest.er1 >conftest.err
     2597  rm -f conftest.er1
     2598  cat conftest.err >&5
     2599  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2600  (exit $ac_status); } &&
     2601         { ac_try='test -z "$ac_c_werror_flag"
     2602                         || test ! -s conftest.err'
     2603  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2604  (eval $ac_try) 2>&5
     2605  ac_status=$?
     2606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2607  (exit $ac_status); }; } &&
     2608         { ac_try='test -s conftest$ac_exeext'
     2609  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2610  (eval $ac_try) 2>&5
     2611  ac_status=$?
     2612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2613  (exit $ac_status); }; }; then
     2614  coin_add_cflags="-mno-cygwin $coin_add_cflags"
     2615else
     2616  echo "$as_me: failed program was:" >&5
     2617sed 's/^/| /' conftest.$ac_ext >&5
     2618
     2619fi
     2620rm -f conftest.err conftest.$ac_objext \
     2621      conftest$ac_exeext conftest.$ac_ext
     2622              CFLAGS=
     2623            ;;
     2624          esac
     2625        fi
     2626    esac
     2627  fi
     2628  if test -z "$coin_opt_cflags"; then
     2629    case $build in
     2630      *-cygwin* | *-mingw*)
     2631        case "$CC" in
     2632          cl* | */cl*)
     2633            coin_opt_cflags='-O2'
     2634            coin_add_cflags='-nologo'
     2635            coin_dbg_cflags='-Yd'
     2636            ;;
     2637        esac
     2638        ;;
     2639      *-linux-*)
     2640        case "$CC" in
     2641          icc* | */icc*)
     2642            coin_opt_cflags="-O3 -ip"
     2643            coin_add_cflags=""
     2644            coin_dbg_cflags="-g"
     2645            # Check if -i_dynamic is necessary (for new glibc library)
     2646            CFLAGS=
     2647            cat >conftest.$ac_ext <<_ACEOF
     2648/* confdefs.h.  */
     2649_ACEOF
     2650cat confdefs.h >>conftest.$ac_ext
     2651cat >>conftest.$ac_ext <<_ACEOF
     2652/* end confdefs.h.  */
     2653
     2654int
     2655main ()
     2656{
     2657int i=0; i++;
     2658  ;
     2659  return 0;
     2660}
     2661_ACEOF
     2662rm -f conftest.$ac_objext conftest$ac_exeext
     2663if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2664  (eval $ac_link) 2>conftest.er1
     2665  ac_status=$?
     2666  grep -v '^ *+' conftest.er1 >conftest.err
     2667  rm -f conftest.er1
     2668  cat conftest.err >&5
     2669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2670  (exit $ac_status); } &&
     2671         { ac_try='test -z "$ac_c_werror_flag"
     2672                         || test ! -s conftest.err'
     2673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2674  (eval $ac_try) 2>&5
     2675  ac_status=$?
     2676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2677  (exit $ac_status); }; } &&
     2678         { ac_try='test -s conftest$ac_exeext'
     2679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2680  (eval $ac_try) 2>&5
     2681  ac_status=$?
     2682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2683  (exit $ac_status); }; }; then
     2684  :
     2685else
     2686  echo "$as_me: failed program was:" >&5
     2687sed 's/^/| /' conftest.$ac_ext >&5
     2688
     2689coin_add_cflags="-i_dynamic $coin_add_cflags"
     2690fi
     2691rm -f conftest.err conftest.$ac_objext \
     2692      conftest$ac_exeext conftest.$ac_ext
     2693            ;;
     2694          pgcc* | */pgcc*)
     2695            coin_opt_cflags="-fast"
     2696            coin_add_cflags="-Kieee -pc 64"
     2697            coin_dbg_cflags="-g"
     2698            ;;
     2699        esac
     2700        ;;
     2701      *-ibm-*)
     2702        case "$CC" in
     2703          xlc* | */xlc* | mpxlc* | */mpxlc*)
     2704            coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
     2705            coin_add_cflags="-bmaxdata:0x80000000"
     2706            coin_dbg_cflags="-g"
     2707          ;;
     2708        esac
     2709        ;;
     2710      *-hp-*)
     2711        coin_opt_cflags="-O"
     2712        coin_add_cflags="-Ae"
     2713        coin_dbg_cflags="-g"
     2714        ;;
     2715      *-sun-*)
     2716        coin_opt_cflags="-xO4"
     2717        coin_dbg_cflags="-g"
     2718        ;;
     2719      *-sgi-*)
     2720        coin_opt_cflags="-O -OPT:Olimit=0"
     2721        coin_dbg_cflags="-g"
     2722        ;;
     2723    esac
     2724  fi
     2725
     2726  if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then
     2727    coin_dbg_cflags="-g"
     2728  fi
     2729
     2730  if test -z "$coin_opt_cflags"; then
     2731    # Try if -O option works if nothing else is set
     2732    CFLAGS="-O"
     2733    cat >conftest.$ac_ext <<_ACEOF
     2734/* confdefs.h.  */
     2735_ACEOF
     2736cat confdefs.h >>conftest.$ac_ext
     2737cat >>conftest.$ac_ext <<_ACEOF
     2738/* end confdefs.h.  */
     2739
     2740int
     2741main ()
     2742{
     2743int i=0; i++;
     2744  ;
     2745  return 0;
     2746}
     2747_ACEOF
     2748rm -f conftest.$ac_objext conftest$ac_exeext
     2749if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2750  (eval $ac_link) 2>conftest.er1
     2751  ac_status=$?
     2752  grep -v '^ *+' conftest.er1 >conftest.err
     2753  rm -f conftest.er1
     2754  cat conftest.err >&5
     2755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2756  (exit $ac_status); } &&
     2757         { ac_try='test -z "$ac_c_werror_flag"
     2758                         || test ! -s conftest.err'
     2759  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2760  (eval $ac_try) 2>&5
     2761  ac_status=$?
     2762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2763  (exit $ac_status); }; } &&
     2764         { ac_try='test -s conftest$ac_exeext'
     2765  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2766  (eval $ac_try) 2>&5
     2767  ac_status=$?
     2768  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2769  (exit $ac_status); }; }; then
     2770  coin_opt_cflags="-O"
     2771else
     2772  echo "$as_me: failed program was:" >&5
     2773sed 's/^/| /' conftest.$ac_ext >&5
     2774
     2775fi
     2776rm -f conftest.err conftest.$ac_objext \
     2777      conftest$ac_exeext conftest.$ac_ext
     2778  fi
     2779
     2780  # if PM doesn't want the warning messages, take them out
     2781  if test x"$coin_skip_warn_cflags" = xyes; then
     2782    coin_warn_cflags=
     2783  fi
     2784
     2785  if test x${DBG_CFLAGS+set} != xset; then
     2786    DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
     2787  fi
     2788  if test x${OPT_CFLAGS+set} != xset; then
     2789    OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags"
     2790  fi
     2791
     2792  DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS"
     2793  OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS"
     2794
     2795  if test "$coin_debug_compile" = "true"; then
     2796    CFLAGS="$DBG_CFLAGS"
     2797  else
     2798    CFLAGS="$OPT_CFLAGS"
     2799  fi
     2800else
     2801  CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS"
     2802  if test x${DBG_CFLAGS+set} != xset; then
     2803    DBG_CFLAGS="$CFLAGS"
     2804  fi
     2805  if test x${OPT_CFLAGS+set} != xset; then
     2806    OPT_CFLAGS="$CFLAGS"
     2807  fi
     2808fi
     2809
     2810# Check if user wants to have additional CFLAGS options
     2811
     2812if test x"$ADD_CFLAGS" != x; then
     2813  CFLAGS="$CFLAGS $ADD_CFLAGS"
     2814fi
     2815
     2816# Try if CFLAGS works
     2817save_CFLAGS="$CFLAGS"
     2818cat >conftest.$ac_ext <<_ACEOF
     2819/* confdefs.h.  */
     2820_ACEOF
     2821cat confdefs.h >>conftest.$ac_ext
     2822cat >>conftest.$ac_ext <<_ACEOF
     2823/* end confdefs.h.  */
     2824
     2825int
     2826main ()
     2827{
     2828int i=0; i++;
     2829  ;
     2830  return 0;
     2831}
     2832_ACEOF
     2833rm -f conftest.$ac_objext conftest$ac_exeext
     2834if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2835  (eval $ac_link) 2>conftest.er1
     2836  ac_status=$?
     2837  grep -v '^ *+' conftest.er1 >conftest.err
     2838  rm -f conftest.er1
     2839  cat conftest.err >&5
     2840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2841  (exit $ac_status); } &&
     2842         { ac_try='test -z "$ac_c_werror_flag"
     2843                         || test ! -s conftest.err'
     2844  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2845  (eval $ac_try) 2>&5
     2846  ac_status=$?
     2847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2848  (exit $ac_status); }; } &&
     2849         { ac_try='test -s conftest$ac_exeext'
     2850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2851  (eval $ac_try) 2>&5
     2852  ac_status=$?
     2853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2854  (exit $ac_status); }; }; then
     2855  :
     2856else
     2857  echo "$as_me: failed program was:" >&5
     2858sed 's/^/| /' conftest.$ac_ext >&5
     2859
     2860CFLAGS=
     2861fi
     2862rm -f conftest.err conftest.$ac_objext \
     2863      conftest$ac_exeext conftest.$ac_ext
     2864if test -z "$CFLAGS"; then
     2865  { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&5
     2866echo "$as_me: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work.  I will now just try '-O', but you might want to set CFLAGS manually." >&2;}
     2867  CFLAGS='-O'
     2868  cat >conftest.$ac_ext <<_ACEOF
     2869/* confdefs.h.  */
     2870_ACEOF
     2871cat confdefs.h >>conftest.$ac_ext
     2872cat >>conftest.$ac_ext <<_ACEOF
     2873/* end confdefs.h.  */
     2874
     2875int
     2876main ()
     2877{
     2878int i=0; i++;
     2879  ;
     2880  return 0;
     2881}
     2882_ACEOF
     2883rm -f conftest.$ac_objext conftest$ac_exeext
     2884if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2885  (eval $ac_link) 2>conftest.er1
     2886  ac_status=$?
     2887  grep -v '^ *+' conftest.er1 >conftest.err
     2888  rm -f conftest.er1
     2889  cat conftest.err >&5
     2890  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2891  (exit $ac_status); } &&
     2892         { ac_try='test -z "$ac_c_werror_flag"
     2893                         || test ! -s conftest.err'
     2894  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2895  (eval $ac_try) 2>&5
     2896  ac_status=$?
     2897  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2898  (exit $ac_status); }; } &&
     2899         { ac_try='test -s conftest$ac_exeext'
     2900  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2901  (eval $ac_try) 2>&5
     2902  ac_status=$?
     2903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2904  (exit $ac_status); }; }; then
     2905  :
     2906else
     2907  echo "$as_me: failed program was:" >&5
     2908sed 's/^/| /' conftest.$ac_ext >&5
     2909
     2910CFLAGS=
     2911fi
     2912rm -f conftest.err conftest.$ac_objext \
     2913      conftest$ac_exeext conftest.$ac_ext
     2914  if test -z "$CFLAGS"; then
     2915    { echo "$as_me:$LINENO: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&5
     2916echo "$as_me: WARNING: This value for CFLAGS does not work.  I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&2;}
     2917  fi
     2918fi
     2919
     2920{ echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5
     2921echo "$as_me: C compiler options are: $CFLAGS" >&6;}
     2922
     2923
     2924if test x"$MPICC" = x; then :; else
     2925  { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5
     2926echo "$as_me: Will use MPI C compiler $MPICC" >&6;}
     2927  CC="$MPICC"
     2928fi
     2929
     2930# Correct ADDLIBS initialization if we are using the MS compiler
     2931case "$CC" in
     2932  cl*)
     2933    ADDLIBS=
     2934    case $build in
     2935  *-mingw*)
     2936    if test "${LD+set}" = set; then :; else
     2937      LD=link
     2938    fi
     2939    ;;
     2940esac
     2941
     2942    ;;
     2943esac
     2944
     2945ac_ext=c
     2946ac_cpp='$CPP $CPPFLAGS'
     2947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2949ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2950
     2951
     2952
     2953
     2954
     2955
     2956ac_ext=f
     2957ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     2958ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2959ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     2960
     2961
     2962
     2963
     2964
     2965
     2966coin_has_f77=yes
     2967
     2968save_fflags="$FFLAGS"
     2969case $build in
     2970  *-cygwin* | *-mingw*)
     2971             comps="gfortran g77 ifort fl32" ;;
     2972  *)         comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     2973esac
     2974
     2975# We delete the cached value, since the test might not have been
     2976# performed with out choise of compilers earlier
     2977$as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; }
     2978ac_ext=f
     2979ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     2980ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2981ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     2982if test -n "$ac_tool_prefix"; then
     2983  for ac_prog in $comps
     2984  do
     2985    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2986set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2987echo "$as_me:$LINENO: checking for $ac_word" >&5
     2988echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2989if test "${ac_cv_prog_F77+set}" = set; then
    36522990  echo $ECHO_N "(cached) $ECHO_C" >&6
    36532991else
    3654   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    3655   # We make a subdir and do the tests there.  Otherwise we can end up
    3656   # making bogus files that we don't know about and never remove.  For
    3657   # instance it was reported that on HP-UX the gcc test will end up
    3658   # making a dummy file named `D' -- because `-MD' means `put the output
    3659   # in D'.
    3660   mkdir conftest.dir
    3661   # Copy depcomp to subdir because otherwise we won't find it if we're
    3662   # using a relative directory.
    3663   cp "$am_depcomp" conftest.dir
    3664   cd conftest.dir
    3665   # We will build objects and dependencies in a subdirectory because
    3666   # it helps to detect inapplicable dependency modes.  For instance
    3667   # both Tru64's cc and ICC support -MD to output dependencies as a
    3668   # side effect of compilation, but ICC will put the dependencies in
    3669   # the current directory while Tru64 will put them in the object
    3670   # directory.
    3671   mkdir sub
    3672 
    3673   am_cv_CC_dependencies_compiler_type=none
    3674   if test "$am_compiler_list" = ""; then
    3675      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     2992  if test -n "$F77"; then
     2993  ac_cv_prog_F77="$F77" # Let the user override the test.
     2994else
     2995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2996for as_dir in $PATH
     2997do
     2998  IFS=$as_save_IFS
     2999  test -z "$as_dir" && as_dir=.
     3000  for ac_exec_ext in '' $ac_executable_extensions; do
     3001  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3002    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
     3003    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3004    break 2
    36763005  fi
    3677   for depmode in $am_compiler_list; do
    3678     # Setup a source with many dependencies, because some compilers
    3679     # like to wrap large dependency lists on column 80 (with \), and
    3680     # we should not choose a depcomp mode which is confused by this.
    3681     #
    3682     # We need to recreate these files for each test, as the compiler may
    3683     # overwrite some of them when testing with obscure command lines.
    3684     # This happens at least with the AIX C compiler.
    3685     : > sub/conftest.c
    3686     for i in 1 2 3 4 5 6; do
    3687       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3688       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3689       # Solaris 8's {/usr,}/bin/sh.
    3690       touch sub/conftst$i.h
     3006done
     3007done
     3008
     3009fi
     3010fi
     3011F77=$ac_cv_prog_F77
     3012if test -n "$F77"; then
     3013  echo "$as_me:$LINENO: result: $F77" >&5
     3014echo "${ECHO_T}$F77" >&6
     3015else
     3016  echo "$as_me:$LINENO: result: no" >&5
     3017echo "${ECHO_T}no" >&6
     3018fi
     3019
     3020    test -n "$F77" && break
     3021  done
     3022fi
     3023if test -z "$F77"; then
     3024  ac_ct_F77=$F77
     3025  for ac_prog in $comps
     3026do
     3027  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3028set dummy $ac_prog; ac_word=$2
     3029echo "$as_me:$LINENO: checking for $ac_word" >&5
     3030echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3031if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     3032  echo $ECHO_N "(cached) $ECHO_C" >&6
     3033else
     3034  if test -n "$ac_ct_F77"; then
     3035  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     3036else
     3037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3038for as_dir in $PATH
     3039do
     3040  IFS=$as_save_IFS
     3041  test -z "$as_dir" && as_dir=.
     3042  for ac_exec_ext in '' $ac_executable_extensions; do
     3043  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3044    ac_cv_prog_ac_ct_F77="$ac_prog"
     3045    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3046    break 2
     3047  fi
     3048done
     3049done
     3050
     3051fi
     3052fi
     3053ac_ct_F77=$ac_cv_prog_ac_ct_F77
     3054if test -n "$ac_ct_F77"; then
     3055  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     3056echo "${ECHO_T}$ac_ct_F77" >&6
     3057else
     3058  echo "$as_me:$LINENO: result: no" >&5
     3059echo "${ECHO_T}no" >&6
     3060fi
     3061
     3062  test -n "$ac_ct_F77" && break
     3063done
     3064
     3065  F77=$ac_ct_F77
     3066fi
     3067
     3068
     3069# Provide some information about the compiler.
     3070echo "$as_me:3070:" \
     3071     "checking for Fortran 77 compiler version" >&5
     3072ac_compiler=`set X $ac_compile; echo $2`
     3073{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     3074  (eval $ac_compiler --version </dev/null >&5) 2>&5
     3075  ac_status=$?
     3076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3077  (exit $ac_status); }
     3078{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     3079  (eval $ac_compiler -v </dev/null >&5) 2>&5
     3080  ac_status=$?
     3081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3082  (exit $ac_status); }
     3083{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     3084  (eval $ac_compiler -V </dev/null >&5) 2>&5
     3085  ac_status=$?
     3086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3087  (exit $ac_status); }
     3088rm -f a.out
     3089
     3090# If we don't use `.F' as extension, the preprocessor is not run on the
     3091# input file.  (Note that this only needs to work for GNU compilers.)
     3092ac_save_ext=$ac_ext
     3093ac_ext=F
     3094echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     3095echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
     3096if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     3097  echo $ECHO_N "(cached) $ECHO_C" >&6
     3098else
     3099  cat >conftest.$ac_ext <<_ACEOF
     3100      program main
     3101#ifndef __GNUC__
     3102       choke me
     3103#endif
     3104
     3105      end
     3106_ACEOF
     3107rm -f conftest.$ac_objext
     3108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3109  (eval $ac_compile) 2>conftest.er1
     3110  ac_status=$?
     3111  grep -v '^ *+' conftest.er1 >conftest.err
     3112  rm -f conftest.er1
     3113  cat conftest.err >&5
     3114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3115  (exit $ac_status); } &&
     3116         { ac_try='test -z "$ac_f77_werror_flag"
     3117                         || test ! -s conftest.err'
     3118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3119  (eval $ac_try) 2>&5
     3120  ac_status=$?
     3121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3122  (exit $ac_status); }; } &&
     3123         { ac_try='test -s conftest.$ac_objext'
     3124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3125  (eval $ac_try) 2>&5
     3126  ac_status=$?
     3127  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3128  (exit $ac_status); }; }; then
     3129  ac_compiler_gnu=yes
     3130else
     3131  echo "$as_me: failed program was:" >&5
     3132sed 's/^/| /' conftest.$ac_ext >&5
     3133
     3134ac_compiler_gnu=no
     3135fi
     3136rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3137ac_cv_f77_compiler_gnu=$ac_compiler_gnu
     3138
     3139fi
     3140echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     3141echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
     3142ac_ext=$ac_save_ext
     3143ac_test_FFLAGS=${FFLAGS+set}
     3144ac_save_FFLAGS=$FFLAGS
     3145FFLAGS=
     3146echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     3147echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
     3148if test "${ac_cv_prog_f77_g+set}" = set; then
     3149  echo $ECHO_N "(cached) $ECHO_C" >&6
     3150else
     3151  FFLAGS=-g
     3152cat >conftest.$ac_ext <<_ACEOF
     3153      program main
     3154
     3155      end
     3156_ACEOF
     3157rm -f conftest.$ac_objext
     3158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3159  (eval $ac_compile) 2>conftest.er1
     3160  ac_status=$?
     3161  grep -v '^ *+' conftest.er1 >conftest.err
     3162  rm -f conftest.er1
     3163  cat conftest.err >&5
     3164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3165  (exit $ac_status); } &&
     3166         { ac_try='test -z "$ac_f77_werror_flag"
     3167                         || test ! -s conftest.err'
     3168  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3169  (eval $ac_try) 2>&5
     3170  ac_status=$?
     3171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3172  (exit $ac_status); }; } &&
     3173         { ac_try='test -s conftest.$ac_objext'
     3174  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3175  (eval $ac_try) 2>&5
     3176  ac_status=$?
     3177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3178  (exit $ac_status); }; }; then
     3179  ac_cv_prog_f77_g=yes
     3180else
     3181  echo "$as_me: failed program was:" >&5
     3182sed 's/^/| /' conftest.$ac_ext >&5
     3183
     3184ac_cv_prog_f77_g=no
     3185fi
     3186rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3187
     3188fi
     3189echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     3190echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
     3191if test "$ac_test_FFLAGS" = set; then
     3192  FFLAGS=$ac_save_FFLAGS
     3193elif test $ac_cv_prog_f77_g = yes; then
     3194  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     3195    FFLAGS="-g -O2"
     3196  else
     3197    FFLAGS="-g"
     3198  fi
     3199else
     3200  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     3201    FFLAGS="-O2"
     3202  else
     3203    FFLAGS=
     3204  fi
     3205fi
     3206
     3207G77=`test $ac_compiler_gnu = yes && echo yes`
     3208ac_ext=f
     3209ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     3210ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3211ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     3212
     3213FFLAGS="$save_fflags"
     3214
     3215# Check if a project specific FFLAGS variable has been set
     3216if test x$COIN_PRJCT != x; then
     3217  eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set}
     3218  if test x$coin_tmp = xset; then
     3219    eval FFLAGS=\${${COIN_PRJCT}_FFLAGS}
     3220  fi
     3221fi
     3222
     3223if test x"$FFLAGS" = x; then
     3224
     3225  coin_add_fflags=
     3226  coin_opt_fflags=
     3227  coin_dbg_fflags=
     3228  coin_warn_fflags=
     3229
     3230  if test "$G77" = "yes"; then
     3231    coin_opt_fflags="-O3 -fomit-frame-pointer"
     3232    coin_add_fflags="-pipe"
     3233    coin_dbg_fflags="-g"
     3234    if test "$enable_doscompile" = yes; then
     3235      case $build in
     3236        *-cygwin*)
     3237          FFLAGS="-mno-cygwin"
     3238          cat >conftest.$ac_ext <<_ACEOF
     3239      program main
     3240      write(*,*) 'Hello world'
     3241      end
     3242_ACEOF
     3243rm -f conftest.$ac_objext conftest$ac_exeext
     3244if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3245  (eval $ac_link) 2>conftest.er1
     3246  ac_status=$?
     3247  grep -v '^ *+' conftest.er1 >conftest.err
     3248  rm -f conftest.er1
     3249  cat conftest.err >&5
     3250  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3251  (exit $ac_status); } &&
     3252         { ac_try='test -z "$ac_f77_werror_flag"
     3253                         || test ! -s conftest.err'
     3254  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3255  (eval $ac_try) 2>&5
     3256  ac_status=$?
     3257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3258  (exit $ac_status); }; } &&
     3259         { ac_try='test -s conftest$ac_exeext'
     3260  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3261  (eval $ac_try) 2>&5
     3262  ac_status=$?
     3263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3264  (exit $ac_status); }; }; then
     3265  coin_add_fflags="-mno-cygwin $coin_add_fflags"
     3266else
     3267  echo "$as_me: failed program was:" >&5
     3268sed 's/^/| /' conftest.$ac_ext >&5
     3269
     3270fi
     3271rm -f conftest.err conftest.$ac_objext \
     3272      conftest$ac_exeext conftest.$ac_ext
     3273          FFLAGS=
     3274        ;;
     3275      esac
     3276    fi
     3277  else
     3278    case $build in
     3279      *-cygwin* | *-mingw*)
     3280        case $F77 in
     3281          ifort* | */ifort*)
     3282            coin_opt_fflags='-O3'
     3283            coin_add_fflags='-nologo -MT'
     3284            coin_dbg_fflags='-debug'
     3285          ;;
     3286        esac
     3287        ;;
     3288      *-linux-*)
     3289        case $F77 in
     3290          ifc* | */ifc* | ifort* | */ifort*)
     3291            coin_opt_fflags="-O3 -ip"
     3292            coin_add_fflags="-cm -w90 -w95"
     3293            coin_dbg_fflags="-g -CA -CB -CS"
     3294            # Check if -i_dynamic is necessary (for new glibc library)
     3295            FFLAGS=
     3296            cat >conftest.$ac_ext <<_ACEOF
     3297      program main
     3298      write(*,*) 'Hello world'
     3299      end
     3300_ACEOF
     3301rm -f conftest.$ac_objext conftest$ac_exeext
     3302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3303  (eval $ac_link) 2>conftest.er1
     3304  ac_status=$?
     3305  grep -v '^ *+' conftest.er1 >conftest.err
     3306  rm -f conftest.er1
     3307  cat conftest.err >&5
     3308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3309  (exit $ac_status); } &&
     3310         { ac_try='test -z "$ac_f77_werror_flag"
     3311                         || test ! -s conftest.err'
     3312  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3313  (eval $ac_try) 2>&5
     3314  ac_status=$?
     3315  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3316  (exit $ac_status); }; } &&
     3317         { ac_try='test -s conftest$ac_exeext'
     3318  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3319  (eval $ac_try) 2>&5
     3320  ac_status=$?
     3321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3322  (exit $ac_status); }; }; then
     3323  :
     3324else
     3325  echo "$as_me: failed program was:" >&5
     3326sed 's/^/| /' conftest.$ac_ext >&5
     3327
     3328coin_add_fflags="-i_dynamic $coin_add_fflags"
     3329fi
     3330rm -f conftest.err conftest.$ac_objext \
     3331      conftest$ac_exeext conftest.$ac_ext
     3332            ;;
     3333          pgf77* | */pgf77* | pgf90* | */pgf90*)
     3334            coin_opt_fflags="-fast"
     3335            coin_add_fflags="-Kieee -pc 64"
     3336            coin_dbg_fflags="-g"
     3337          ;;
     3338        esac
     3339        ;;
     3340      *-ibm-*)
     3341        case "$F77" in
     3342          xlf* | */xlf* | mpxlf* | */mpxlf* )
     3343            coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"
     3344            coin_add_fflags="-bmaxdata:0x80000000"
     3345            coin_dbg_fflags="-g -C"
     3346            ;;
     3347        esac
     3348        ;;
     3349      *-hp-*)
     3350        coin_opt_fflags="+O3"
     3351        coin_add_fflags="+U77"
     3352        coin_dbg_fflags="-C -g"
     3353        ;;
     3354      *-sun-*)
     3355        coin_opt_fflags="-O4"
     3356        coin_dbg_fflags="-g"
     3357        ;;
     3358      *-sgi-*)
     3359        coin_opt_fflags="-O5 -OPT:Olimit=0"
     3360        coin_dbg_fflags="-g"
     3361        ;;
     3362    esac
     3363  fi
     3364
     3365  if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then
     3366    coin_dbg_fflags="-g"
     3367  fi
     3368
     3369  if test -z "$coin_opt_fflags"; then
     3370    # Try if -O option works if nothing else is set
     3371    FFLAGS=-O
     3372    cat >conftest.$ac_ext <<_ACEOF
     3373      program main
     3374      integer i
     3375      end
     3376_ACEOF
     3377rm -f conftest.$ac_objext conftest$ac_exeext
     3378if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3379  (eval $ac_link) 2>conftest.er1
     3380  ac_status=$?
     3381  grep -v '^ *+' conftest.er1 >conftest.err
     3382  rm -f conftest.er1
     3383  cat conftest.err >&5
     3384  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3385  (exit $ac_status); } &&
     3386         { ac_try='test -z "$ac_f77_werror_flag"
     3387                         || test ! -s conftest.err'
     3388  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3389  (eval $ac_try) 2>&5
     3390  ac_status=$?
     3391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3392  (exit $ac_status); }; } &&
     3393         { ac_try='test -s conftest$ac_exeext'
     3394  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3395  (eval $ac_try) 2>&5
     3396  ac_status=$?
     3397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3398  (exit $ac_status); }; }; then
     3399  coin_opt_fflags="-O"
     3400else
     3401  echo "$as_me: failed program was:" >&5
     3402sed 's/^/| /' conftest.$ac_ext >&5
     3403
     3404fi
     3405rm -f conftest.err conftest.$ac_objext \
     3406      conftest$ac_exeext conftest.$ac_ext
     3407  fi
     3408
     3409  # if PM doesn't want the warning messages, take them out
     3410  if test x"$coin_skip_warn_fflags" = xyes; then
     3411    coin_warn_fflags=
     3412  fi
     3413
     3414  if test x${DBG_FFLAGS+set} != xset; then
     3415    DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags"
     3416  fi
     3417  if test x${OPT_FFLAGS+set} != xset; then
     3418    OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags"
     3419  fi
     3420
     3421  DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS"
     3422  OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS"
     3423
     3424  if test "$coin_debug_compile" = "true"; then
     3425    FFLAGS="$DBG_FFLAGS"
     3426  else
     3427    FFLAGS="$OPT_FFLAGS"
     3428  fi
     3429else
     3430  FFLAGS="$FFLAGS $ADD_FFLAGS"
     3431  if test x${DBG_FFLAGS+set} != xset; then
     3432    DBG_FFLAGS="$FFLAGS"
     3433  fi
     3434  if test x${OPT_FFLAGS+set} != xset; then
     3435    OPT_FFLAGS="$FFLAGS"
     3436  fi
     3437fi
     3438
     3439# Try if FFLAGS works
     3440cat >conftest.$ac_ext <<_ACEOF
     3441      program main
     3442      integer i
     3443      end
     3444_ACEOF
     3445rm -f conftest.$ac_objext conftest$ac_exeext
     3446if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3447  (eval $ac_link) 2>conftest.er1
     3448  ac_status=$?
     3449  grep -v '^ *+' conftest.er1 >conftest.err
     3450  rm -f conftest.er1
     3451  cat conftest.err >&5
     3452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3453  (exit $ac_status); } &&
     3454         { ac_try='test -z "$ac_f77_werror_flag"
     3455                         || test ! -s conftest.err'
     3456  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3457  (eval $ac_try) 2>&5
     3458  ac_status=$?
     3459  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3460  (exit $ac_status); }; } &&
     3461         { ac_try='test -s conftest$ac_exeext'
     3462  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3463  (eval $ac_try) 2>&5
     3464  ac_status=$?
     3465  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3466  (exit $ac_status); }; }; then
     3467  :
     3468else
     3469  echo "$as_me: failed program was:" >&5
     3470sed 's/^/| /' conftest.$ac_ext >&5
     3471
     3472FFLAGS=
     3473fi
     3474rm -f conftest.err conftest.$ac_objext \
     3475      conftest$ac_exeext conftest.$ac_ext
     3476if test -z "$FFLAGS"; then
     3477  { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work.  I will now just try '-O', but you might want to set FFLAGS manually." >&5
     3478echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work.  I will now just try '-O', but you might want to set FFLAGS manually." >&2;}
     3479  FFLAGS='-O'
     3480  cat >conftest.$ac_ext <<_ACEOF
     3481      program main
     3482      integer i
     3483      end
     3484_ACEOF
     3485rm -f conftest.$ac_objext conftest$ac_exeext
     3486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3487  (eval $ac_link) 2>conftest.er1
     3488  ac_status=$?
     3489  grep -v '^ *+' conftest.er1 >conftest.err
     3490  rm -f conftest.er1
     3491  cat conftest.err >&5
     3492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3493  (exit $ac_status); } &&
     3494         { ac_try='test -z "$ac_f77_werror_flag"
     3495                         || test ! -s conftest.err'
     3496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3497  (eval $ac_try) 2>&5
     3498  ac_status=$?
     3499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3500  (exit $ac_status); }; } &&
     3501         { ac_try='test -s conftest$ac_exeext'
     3502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3503  (eval $ac_try) 2>&5
     3504  ac_status=$?
     3505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3506  (exit $ac_status); }; }; then
     3507  :
     3508else
     3509  echo "$as_me: failed program was:" >&5
     3510sed 's/^/| /' conftest.$ac_ext >&5
     3511
     3512FFLAGS=
     3513fi
     3514rm -f conftest.err conftest.$ac_objext \
     3515      conftest$ac_exeext conftest.$ac_ext
     3516  if test -z "$FFLAGS"; then
     3517    { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work.  I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5
     3518echo "$as_me: WARNING: This value for FFLAGS does not work.  I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;}
     3519  fi
     3520fi
     3521
     3522{ echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&5
     3523echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;}
     3524
     3525
     3526if test x"$MPIF77" = x; then :; else
     3527  { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&5
     3528echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;}
     3529  F77="$MPIF77"
     3530fi
     3531
     3532case "$F77" in
     3533  ifort*)
     3534    case $build in
     3535  *-mingw*)
     3536    if test "${LD+set}" = set; then :; else
     3537      LD=link
     3538    fi
     3539    ;;
     3540esac
     3541
     3542    ;;
     3543esac
     3544
     3545ac_ext=c
     3546ac_cpp='$CPP $CPPFLAGS'
     3547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3549ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3550
     3551
     3552
     3553# Initialize autotools
     3554
     3555# On Cygwin, building DLLs doesn't work
     3556case $build in
     3557  *-cygwin*)
     3558    coin_disable_shared=yes
     3559    platform=Cygwin
     3560  ;;
     3561  *-mingw*)
     3562    coin_disable_shared=yes
     3563    platform="Msys"
     3564#    case "$CXX" in
     3565#      cl*)
     3566#        coin_disable_shared=yes
     3567#        platform="Msys with cl"
     3568#    ;;
     3569#    esac
     3570  ;;
     3571esac
     3572if test x"$coin_disable_shared" = xyes; then
     3573  if test x"$enable_shared" = xyes; then
     3574    { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5
     3575echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
     3576  fi
     3577  enable_shared=no
     3578fi
     3579# By default, we only want the shared objects to be compiled
     3580# Check whether --enable-static or --disable-static was given.
     3581if test "${enable_static+set}" = set; then
     3582  enableval="$enable_static"
     3583  p=${PACKAGE-default}
     3584    case $enableval in
     3585    yes) enable_static=yes ;;
     3586    no) enable_static=no ;;
     3587    *)
     3588     enable_static=no
     3589      # Look at the argument we got.  We use all the common list separators.
     3590      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     3591      for pkg in $enableval; do
     3592        IFS="$lt_save_ifs"
     3593        if test "X$pkg" = "X$p"; then
     3594          enable_static=yes
     3595        fi
     3596      done
     3597      IFS="$lt_save_ifs"
     3598      ;;
     3599    esac
     3600else
     3601  enable_static=no
     3602fi;
     3603
     3604
     3605
     3606echo "$as_me:$LINENO: checking for egrep" >&5
     3607echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3608if test "${ac_cv_prog_egrep+set}" = set; then
     3609  echo $ECHO_N "(cached) $ECHO_C" >&6
     3610else
     3611  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3612    then ac_cv_prog_egrep='grep -E'
     3613    else ac_cv_prog_egrep='egrep'
     3614    fi
     3615fi
     3616echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3617echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3618 EGREP=$ac_cv_prog_egrep
     3619
     3620
     3621am__api_version="1.9"
     3622# Find a good install program.  We prefer a C program (faster),
     3623# so one script is as good as another.  But avoid the broken or
     3624# incompatible versions:
     3625# SysV /etc/install, /usr/sbin/install
     3626# SunOS /usr/etc/install
     3627# IRIX /sbin/install
     3628# AIX /bin/install
     3629# AmigaOS /C/install, which installs bootblocks on floppy discs
     3630# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     3631# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     3632# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     3633# OS/2's system install, which has a completely different semantic
     3634# ./install, which can be erroneously created by make from ./install.sh.
     3635echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3636echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3637if test -z "$INSTALL"; then
     3638if test "${ac_cv_path_install+set}" = set; then
     3639  echo $ECHO_N "(cached) $ECHO_C" >&6
     3640else
     3641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3642for as_dir in $PATH
     3643do
     3644  IFS=$as_save_IFS
     3645  test -z "$as_dir" && as_dir=.
     3646  # Account for people who put trailing slashes in PATH elements.
     3647case $as_dir/ in
     3648  ./ | .// | /cC/* | \
     3649  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     3650  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3651  /usr/ucb/* ) ;;
     3652  *)
     3653    # OSF1 and SCO ODT 3.0 have their own names for install.
     3654    # Don't use installbsd from OSF since it installs stuff as root
     3655    # by default.
     3656    for ac_prog in ginstall scoinst install; do
     3657      for ac_exec_ext in '' $ac_executable_extensions; do
     3658        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3659          if test $ac_prog = install &&
     3660            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3661            # AIX install.  It has an incompatible calling convention.
     3662            :
     3663          elif test $ac_prog = install &&
     3664            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3665            # program-specific install script used by HP pwplus--don't use.
     3666            :
     3667          else
     3668            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3669            break 3
     3670          fi
     3671        fi
     3672      done
    36913673    done
    3692     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    3693 
    3694     case $depmode in
    3695     nosideeffect)
    3696       # after this tag, mechanisms are not by side-effect, so they'll
    3697       # only be used when explicitly requested
    3698       if test "x$enable_dependency_tracking" = xyes; then
    3699         continue
    3700       else
    3701         break
    3702       fi
    3703       ;;
    3704     none) break ;;
    3705     esac
    3706     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    3707     # mode.  It turns out that the SunPro C++ compiler does not properly
    3708     # handle `-M -o', and we need to detect this.
    3709     if depmode=$depmode \
    3710        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    3711        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    3712        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    3713          >/dev/null 2>conftest.err &&
    3714        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    3715        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    3716        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    3717       # icc doesn't choke on unknown options, it will just issue warnings
    3718       # or remarks (even with -Werror).  So we grep stderr for any message
    3719       # that says an option was ignored or not supported.
    3720       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3721       #   icc: Command line warning: ignoring option '-M'; no argument required
    3722       # The diagnosis changed in icc 8.0:
    3723       #   icc: Command line remark: option '-MP' not supported
    3724       if (grep 'ignoring option' conftest.err ||
    3725           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    3726         am_cv_CC_dependencies_compiler_type=$depmode
    3727         break
    3728       fi
    3729     fi
     3674    ;;
     3675esac
     3676done
     3677
     3678
     3679fi
     3680  if test "${ac_cv_path_install+set}" = set; then
     3681    INSTALL=$ac_cv_path_install
     3682  else
     3683    # As a last resort, use the slow shell script.  We don't cache a
     3684    # path for INSTALL within a source directory, because that will
     3685    # break other packages using the cache if that directory is
     3686    # removed, or if the path is relative.
     3687    INSTALL=$ac_install_sh
     3688  fi
     3689fi
     3690echo "$as_me:$LINENO: result: $INSTALL" >&5
     3691echo "${ECHO_T}$INSTALL" >&6
     3692
     3693# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     3694# It thinks the first close brace ends the variable substitution.
     3695test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     3696
     3697test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     3698
     3699test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     3700
     3701echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     3702echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
     3703# Just in case
     3704sleep 1
     3705echo timestamp > conftest.file
     3706# Do `set' in a subshell so we don't clobber the current shell's
     3707# arguments.  Must try -L first in case configure is actually a
     3708# symlink; some systems play weird games with the mod time of symlinks
     3709# (eg FreeBSD returns the mod time of the symlink's containing
     3710# directory).
     3711if (
     3712   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     3713   if test "$*" = "X"; then
     3714      # -L didn't work.
     3715      set X `ls -t $srcdir/configure conftest.file`
     3716   fi
     3717   rm -f conftest.file
     3718   if test "$*" != "X $srcdir/configure conftest.file" \
     3719      && test "$*" != "X conftest.file $srcdir/configure"; then
     3720
     3721      # If neither matched, then we have a broken ls.  This can happen
     3722      # if, for instance, CONFIG_SHELL is bash and it inherits a
     3723      # broken ls alias from the environment.  This has actually
     3724      # happened.  Such a system could not be considered "sane".
     3725      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
     3726alias in your environment" >&5
     3727echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
     3728alias in your environment" >&2;}
     3729   { (exit 1); exit 1; }; }
     3730   fi
     3731
     3732   test "$2" = conftest.file
     3733   )
     3734then
     3735   # Ok.
     3736   :
     3737else
     3738   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
     3739Check your system clock" >&5
     3740echo "$as_me: error: newly created file is older than distributed files!
     3741Check your system clock" >&2;}
     3742   { (exit 1); exit 1; }; }
     3743fi
     3744echo "$as_me:$LINENO: result: yes" >&5
     3745echo "${ECHO_T}yes" >&6
     3746test "$program_prefix" != NONE &&
     3747  program_transform_name="s,^,$program_prefix,;$program_transform_name"
     3748# Use a double $ so make ignores it.
     3749test "$program_suffix" != NONE &&
     3750  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     3751# Double any \ or $.  echo might interpret backslashes.
     3752# By default was `s,x,x', remove it if useless.
     3753cat <<\_ACEOF >conftest.sed
     3754s/[\\$]/&&/g;s/;s,x,x,$//
     3755_ACEOF
     3756program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
     3757rm conftest.sed
     3758
     3759# expand $ac_aux_dir to an absolute path
     3760am_aux_dir=`cd $ac_aux_dir && pwd`
     3761
     3762test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     3763# Use eval to expand $SHELL
     3764if eval "$MISSING --run true"; then
     3765  am_missing_run="$MISSING --run "
     3766else
     3767  am_missing_run=
     3768  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
     3769echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     3770fi
     3771
     3772if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     3773  # We used to keeping the `.' as first argument, in order to
     3774  # allow $(mkdir_p) to be used without argument.  As in
     3775  #   $(mkdir_p) $(somedir)
     3776  # where $(somedir) is conditionally defined.  However this is wrong
     3777  # for two reasons:
     3778  #  1. if the package is installed by a user who cannot write `.'
     3779  #     make install will fail,
     3780  #  2. the above comment should most certainly read
     3781  #     $(mkdir_p) $(DESTDIR)$(somedir)
     3782  #     so it does not work when $(somedir) is undefined and
     3783  #     $(DESTDIR) is not.
     3784  #  To support the latter case, we have to write
     3785  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
     3786  #  so the `.' trick is pointless.
     3787  mkdir_p='mkdir -p --'
     3788else
     3789  # On NextStep and OpenStep, the `mkdir' command does not
     3790  # recognize any option.  It will interpret all options as
     3791  # directories to create, and then abort because `.' already
     3792  # exists.
     3793  for d in ./-p ./--version;
     3794  do
     3795    test -d $d && rmdir $d
    37303796  done
    3731 
    3732   cd ..
    3733   rm -rf conftest.dir
    3734 else
    3735   am_cv_CC_dependencies_compiler_type=none
    3736 fi
    3737 
    3738 fi
    3739 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
    3740 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    3741 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    3742 
    3743 
    3744 
    3745 if
    3746   test "x$enable_dependency_tracking" != xno \
    3747   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    3748   am__fastdepCC_TRUE=
    3749   am__fastdepCC_FALSE='#'
    3750 else
    3751   am__fastdepCC_TRUE='#'
    3752   am__fastdepCC_FALSE=
     3797  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     3798  if test -f "$ac_aux_dir/mkinstalldirs"; then
     3799    mkdir_p='$(mkinstalldirs)'
     3800  else
     3801    mkdir_p='$(install_sh) -d'
     3802  fi
     3803fi
     3804
     3805for ac_prog in gawk mawk nawk awk
     3806do
     3807  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3808set dummy $ac_prog; ac_word=$2
     3809echo "$as_me:$LINENO: checking for $ac_word" >&5
     3810echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3811if test "${ac_cv_prog_AWK+set}" = set; then
     3812  echo $ECHO_N "(cached) $ECHO_C" >&6
     3813else
     3814  if test -n "$AWK"; then
     3815  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     3816else
     3817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3818for as_dir in $PATH
     3819do
     3820  IFS=$as_save_IFS
     3821  test -z "$as_dir" && as_dir=.
     3822  for ac_exec_ext in '' $ac_executable_extensions; do
     3823  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3824    ac_cv_prog_AWK="$ac_prog"
     3825    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3826    break 2
     3827  fi
     3828done
     3829done
     3830
     3831fi
     3832fi
     3833AWK=$ac_cv_prog_AWK
     3834if test -n "$AWK"; then
     3835  echo "$as_me:$LINENO: result: $AWK" >&5
     3836echo "${ECHO_T}$AWK" >&6
     3837else
     3838  echo "$as_me:$LINENO: result: no" >&5
     3839echo "${ECHO_T}no" >&6
     3840fi
     3841
     3842  test -n "$AWK" && break
     3843done
     3844
     3845echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3846echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3847set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3848if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3849  echo $ECHO_N "(cached) $ECHO_C" >&6
     3850else
     3851  cat >conftest.make <<\_ACEOF
     3852all:
     3853        @echo 'ac_maketemp="$(MAKE)"'
     3854_ACEOF
     3855# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3856eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3857if test -n "$ac_maketemp"; then
     3858  eval ac_cv_prog_make_${ac_make}_set=yes
     3859else
     3860  eval ac_cv_prog_make_${ac_make}_set=no
     3861fi
     3862rm -f conftest.make
     3863fi
     3864if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3865  echo "$as_me:$LINENO: result: yes" >&5
     3866echo "${ECHO_T}yes" >&6
     3867  SET_MAKE=
     3868else
     3869  echo "$as_me:$LINENO: result: no" >&5
     3870echo "${ECHO_T}no" >&6
     3871  SET_MAKE="MAKE=${MAKE-make}"
     3872fi
     3873
     3874rm -rf .tst 2>/dev/null
     3875mkdir .tst 2>/dev/null
     3876if test -d .tst; then
     3877  am__leading_dot=.
     3878else
     3879  am__leading_dot=_
     3880fi
     3881rmdir .tst 2>/dev/null
     3882
     3883DEPDIR="${am__leading_dot}deps"
     3884
     3885          ac_config_commands="$ac_config_commands depfiles"
     3886
     3887
     3888am_make=${MAKE-make}
     3889cat > confinc << 'END'
     3890am__doit:
     3891        @echo done
     3892.PHONY: am__doit
     3893END
     3894# If we don't find an include directive, just comment out the code.
     3895echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
     3896echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
     3897am__include="#"
     3898am__quote=
     3899_am_result=none
     3900# First try GNU make style include.
     3901echo "include confinc" > confmf
     3902# We grep out `Entering directory' and `Leaving directory'
     3903# messages which can occur if `w' ends up in MAKEFLAGS.
     3904# In particular we don't look at `^make:' because GNU make might
     3905# be invoked under some other name (usually "gmake"), in which
     3906# case it prints its new name instead of `make'.
     3907if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
     3908   am__include=include
     3909   am__quote=
     3910   _am_result=GNU
     3911fi
     3912# Now try BSD make style include.
     3913if test "$am__include" = "#"; then
     3914   echo '.include "confinc"' > confmf
     3915   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
     3916      am__include=.include
     3917      am__quote="\""
     3918      _am_result=BSD
     3919   fi
     3920fi
     3921
     3922
     3923echo "$as_me:$LINENO: result: $_am_result" >&5
     3924echo "${ECHO_T}$_am_result" >&6
     3925rm -f confinc confmf
     3926
     3927# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
     3928if test "${enable_dependency_tracking+set}" = set; then
     3929  enableval="$enable_dependency_tracking"
     3930
     3931fi;
     3932if test "x$enable_dependency_tracking" != xno; then
     3933  am_depcomp="$ac_aux_dir/depcomp"
     3934  AMDEPBACKSLASH='\'
     3935fi
     3936
     3937
     3938if test "x$enable_dependency_tracking" != xno; then
     3939  AMDEP_TRUE=
     3940  AMDEP_FALSE='#'
     3941else
     3942  AMDEP_TRUE='#'
     3943  AMDEP_FALSE=
    37533944fi
    37543945
     
    43834574*-*-irix6*)
    43844575  # Find out which ABI we are using.
    4385   echo '#line 4385 "configure"' > conftest.$ac_ext
     4576  echo '#line 4576 "configure"' > conftest.$ac_ext
    43864577  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    43874578  (eval $ac_compile) 2>&5
     
    68127003   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    68137004   -e 's:$: $lt_compiler_flag:'`
    6814    (eval echo "\"\$as_me:6814: $lt_compile\"" >&5)
     7005   (eval echo "\"\$as_me:7005: $lt_compile\"" >&5)
    68157006   (eval "$lt_compile" 2>conftest.err)
    68167007   ac_status=$?
    68177008   cat conftest.err >&5
    6818    echo "$as_me:6818: \$? = $ac_status" >&5
     7009   echo "$as_me:7009: \$? = $ac_status" >&5
    68197010   if (exit $ac_status) && test -s "$ac_outfile"; then
    68207011     # The compiler can only warn and ignore the option if not recognized
     
    70807271   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70817272   -e 's:$: $lt_compiler_flag:'`
    7082    (eval echo "\"\$as_me:7082: $lt_compile\"" >&5)
     7273   (eval echo "\"\$as_me:7273: $lt_compile\"" >&5)
    70837274   (eval "$lt_compile" 2>conftest.err)
    70847275   ac_status=$?
    70857276   cat conftest.err >&5
    7086    echo "$as_me:7086: \$? = $ac_status" >&5
     7277   echo "$as_me:7277: \$? = $ac_status" >&5
    70877278   if (exit $ac_status) && test -s "$ac_outfile"; then
    70887279     # The compiler can only warn and ignore the option if not recognized
     
    71847375   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    71857376   -e 's:$: $lt_compiler_flag:'`
    7186    (eval echo "\"\$as_me:7186: $lt_compile\"" >&5)
     7377   (eval echo "\"\$as_me:7377: $lt_compile\"" >&5)
    71877378   (eval "$lt_compile" 2>out/conftest.err)
    71887379   ac_status=$?
    71897380   cat out/conftest.err >&5
    7190    echo "$as_me:7190: \$? = $ac_status" >&5
     7381   echo "$as_me:7381: \$? = $ac_status" >&5
    71917382   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    71927383   then
     
    95299720  lt_status=$lt_dlunknown
    95309721  cat > conftest.$ac_ext <<EOF
    9531 #line 9531 "configure"
     9722#line 9722 "configure"
    95329723#include "confdefs.h"
    95339724
     
    96299820  lt_status=$lt_dlunknown
    96309821  cat > conftest.$ac_ext <<EOF
    9631 #line 9631 "configure"
     9822#line 9822 "configure"
    96329823#include "confdefs.h"
    96339824
     
    1197312164   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1197412165   -e 's:$: $lt_compiler_flag:'`
    11975    (eval echo "\"\$as_me:11975: $lt_compile\"" >&5)
     12166   (eval echo "\"\$as_me:12166: $lt_compile\"" >&5)
    1197612167   (eval "$lt_compile" 2>conftest.err)
    1197712168   ac_status=$?
    1197812169   cat conftest.err >&5
    11979    echo "$as_me:11979: \$? = $ac_status" >&5
     12170   echo "$as_me:12170: \$? = $ac_status" >&5
    1198012171   if (exit $ac_status) && test -s "$ac_outfile"; then
    1198112172     # The compiler can only warn and ignore the option if not recognized
     
    1207712268   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1207812269   -e 's:$: $lt_compiler_flag:'`
    12079    (eval echo "\"\$as_me:12079: $lt_compile\"" >&5)
     12270   (eval echo "\"\$as_me:12270: $lt_compile\"" >&5)
    1208012271   (eval "$lt_compile" 2>out/conftest.err)
    1208112272   ac_status=$?
    1208212273   cat out/conftest.err >&5
    12083    echo "$as_me:12083: \$? = $ac_status" >&5
     12274   echo "$as_me:12274: \$? = $ac_status" >&5
    1208412275   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1208512276   then
     
    1364713838   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1364813839   -e 's:$: $lt_compiler_flag:'`
    13649    (eval echo "\"\$as_me:13649: $lt_compile\"" >&5)
     13840   (eval echo "\"\$as_me:13840: $lt_compile\"" >&5)
    1365013841   (eval "$lt_compile" 2>conftest.err)
    1365113842   ac_status=$?
    1365213843   cat conftest.err >&5
    13653    echo "$as_me:13653: \$? = $ac_status" >&5
     13844   echo "$as_me:13844: \$? = $ac_status" >&5
    1365413845   if (exit $ac_status) && test -s "$ac_outfile"; then
    1365513846     # The compiler can only warn and ignore the option if not recognized
     
    1375113942   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1375213943   -e 's:$: $lt_compiler_flag:'`
    13753    (eval echo "\"\$as_me:13753: $lt_compile\"" >&5)
     13944   (eval echo "\"\$as_me:13944: $lt_compile\"" >&5)
    1375413945   (eval "$lt_compile" 2>out/conftest.err)
    1375513946   ac_status=$?
    1375613947   cat out/conftest.err >&5
    13757    echo "$as_me:13757: \$? = $ac_status" >&5
     13948   echo "$as_me:13948: \$? = $ac_status" >&5
    1375813949   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1375913950   then
     
    1595816149   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1595916150   -e 's:$: $lt_compiler_flag:'`
    15960    (eval echo "\"\$as_me:15960: $lt_compile\"" >&5)
     16151   (eval echo "\"\$as_me:16151: $lt_compile\"" >&5)
    1596116152   (eval "$lt_compile" 2>conftest.err)
    1596216153   ac_status=$?
    1596316154   cat conftest.err >&5
    15964    echo "$as_me:15964: \$? = $ac_status" >&5
     16155   echo "$as_me:16155: \$? = $ac_status" >&5
    1596516156   if (exit $ac_status) && test -s "$ac_outfile"; then
    1596616157     # The compiler can only warn and ignore the option if not recognized
     
    1622616417   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1622716418   -e 's:$: $lt_compiler_flag:'`
    16228    (eval echo "\"\$as_me:16228: $lt_compile\"" >&5)
     16419   (eval echo "\"\$as_me:16419: $lt_compile\"" >&5)
    1622916420   (eval "$lt_compile" 2>conftest.err)
    1623016421   ac_status=$?
    1623116422   cat conftest.err >&5
    16232    echo "$as_me:16232: \$? = $ac_status" >&5
     16423   echo "$as_me:16423: \$? = $ac_status" >&5
    1623316424   if (exit $ac_status) && test -s "$ac_outfile"; then
    1623416425     # The compiler can only warn and ignore the option if not recognized
     
    1633016521   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1633116522   -e 's:$: $lt_compiler_flag:'`
    16332    (eval echo "\"\$as_me:16332: $lt_compile\"" >&5)
     16523   (eval echo "\"\$as_me:16523: $lt_compile\"" >&5)
    1633316524   (eval "$lt_compile" 2>out/conftest.err)
    1633416525   ac_status=$?
    1633516526   cat out/conftest.err >&5
    16336    echo "$as_me:16336: \$? = $ac_status" >&5
     16527   echo "$as_me:16527: \$? = $ac_status" >&5
    1633716528   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1633816529   then
     
    1914519336
    1914619337
     19338depcc="$CC"   am_compiler_list=
     19339
     19340echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     19341echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     19342if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     19343  echo $ECHO_N "(cached) $ECHO_C" >&6
     19344else
     19345  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     19346  # We make a subdir and do the tests there.  Otherwise we can end up
     19347  # making bogus files that we don't know about and never remove.  For
     19348  # instance it was reported that on HP-UX the gcc test will end up
     19349  # making a dummy file named `D' -- because `-MD' means `put the output
     19350  # in D'.
     19351  mkdir conftest.dir
     19352  # Copy depcomp to subdir because otherwise we won't find it if we're
     19353  # using a relative directory.
     19354  cp "$am_depcomp" conftest.dir
     19355  cd conftest.dir
     19356  # We will build objects and dependencies in a subdirectory because
     19357  # it helps to detect inapplicable dependency modes.  For instance
     19358  # both Tru64's cc and ICC support -MD to output dependencies as a
     19359  # side effect of compilation, but ICC will put the dependencies in
     19360  # the current directory while Tru64 will put them in the object
     19361  # directory.
     19362  mkdir sub
     19363
     19364  am_cv_CC_dependencies_compiler_type=none
     19365  if test "$am_compiler_list" = ""; then
     19366     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     19367  fi
     19368  for depmode in $am_compiler_list; do
     19369    # Setup a source with many dependencies, because some compilers
     19370    # like to wrap large dependency lists on column 80 (with \), and
     19371    # we should not choose a depcomp mode which is confused by this.
     19372    #
     19373    # We need to recreate these files for each test, as the compiler may
     19374    # overwrite some of them when testing with obscure command lines.
     19375    # This happens at least with the AIX C compiler.
     19376    : > sub/conftest.c
     19377    for i in 1 2 3 4 5 6; do
     19378      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     19379      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     19380      # Solaris 8's {/usr,}/bin/sh.
     19381      touch sub/conftst$i.h
     19382    done
     19383    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     19384
     19385    case $depmode in
     19386    nosideeffect)
     19387      # after this tag, mechanisms are not by side-effect, so they'll
     19388      # only be used when explicitly requested
     19389      if test "x$enable_dependency_tracking" = xyes; then
     19390        continue
     19391      else
     19392        break
     19393      fi
     19394      ;;
     19395    none) break ;;
     19396    esac
     19397    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     19398    # mode.  It turns out that the SunPro C++ compiler does not properly
     19399    # handle `-M -o', and we need to detect this.
     19400    if depmode=$depmode \
     19401       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     19402       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     19403       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     19404         >/dev/null 2>conftest.err &&
     19405       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     19406       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     19407       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     19408      # icc doesn't choke on unknown options, it will just issue warnings
     19409      # or remarks (even with -Werror).  So we grep stderr for any message
     19410      # that says an option was ignored or not supported.
     19411      # When given -MP, icc 7.0 and 7.1 complain thusly:
     19412      #   icc: Command line warning: ignoring option '-M'; no argument required
     19413      # The diagnosis changed in icc 8.0:
     19414      #   icc: Command line remark: option '-MP' not supported
     19415      if (grep 'ignoring option' conftest.err ||
     19416          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     19417        am_cv_CC_dependencies_compiler_type=$depmode
     19418        break
     19419      fi
     19420    fi
     19421  done
     19422
     19423  cd ..
     19424  rm -rf conftest.dir
     19425else
     19426  am_cv_CC_dependencies_compiler_type=none
     19427fi
     19428
     19429fi
     19430echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     19431echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     19432CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     19433
     19434
     19435
     19436if
     19437  test "x$enable_dependency_tracking" != xno \
     19438  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     19439  am__fastdepCC_TRUE=
     19440  am__fastdepCC_FALSE='#'
     19441else
     19442  am__fastdepCC_TRUE='#'
     19443  am__fastdepCC_FALSE=
     19444fi
     19445
     19446
    1914719447
    1914819448echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     
    1981820118   { (exit 1); exit 1; }; }
    1981920119fi
     20120if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
     20121  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
     20122Usually this means the macro was only invoked conditionally." >&5
     20123echo "$as_me: error: conditional \"AMDEP\" was never defined.
     20124Usually this means the macro was only invoked conditionally." >&2;}
     20125   { (exit 1); exit 1; }; }
     20126fi
     20127if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     20128  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
     20129Usually this means the macro was only invoked conditionally." >&5
     20130echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
     20131Usually this means the macro was only invoked conditionally." >&2;}
     20132   { (exit 1); exit 1; }; }
     20133fi
    1982020134if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
    1982120135  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
     
    1982920143Usually this means the macro was only invoked conditionally." >&5
    1983020144echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
    19831 Usually this means the macro was only invoked conditionally." >&2;}
    19832    { (exit 1); exit 1; }; }
    19833 fi
    19834 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    19835   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
    19836 Usually this means the macro was only invoked conditionally." >&5
    19837 echo "$as_me: error: conditional \"AMDEP\" was never defined.
    19838 Usually this means the macro was only invoked conditionally." >&2;}
    19839    { (exit 1); exit 1; }; }
    19840 fi
    19841 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    19842   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
    19843 Usually this means the macro was only invoked conditionally." >&5
    19844 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
    1984520145Usually this means the macro was only invoked conditionally." >&2;}
    1984620146   { (exit 1); exit 1; }; }
     
    2038620686s,@build_vendor@,$build_vendor,;t t
    2038720687s,@build_os@,$build_os,;t t
     20688s,@CDEFS@,$CDEFS,;t t
     20689s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     20690s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t
     20691s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t
     20692s,@CC@,$CC,;t t
     20693s,@CFLAGS@,$CFLAGS,;t t
     20694s,@LDFLAGS@,$LDFLAGS,;t t
     20695s,@CPPFLAGS@,$CPPFLAGS,;t t
     20696s,@ac_ct_CC@,$ac_ct_CC,;t t
     20697s,@EXEEXT@,$EXEEXT,;t t
     20698s,@OBJEXT@,$OBJEXT,;t t
     20699s,@MPICC@,$MPICC,;t t
    2038820700s,@ADD_FFLAGS@,$ADD_FFLAGS,;t t
    2038920701s,@DBG_FFLAGS@,$DBG_FFLAGS,;t t
     
    2039120703s,@F77@,$F77,;t t
    2039220704s,@FFLAGS@,$FFLAGS,;t t
    20393 s,@LDFLAGS@,$LDFLAGS,;t t
    2039420705s,@ac_ct_F77@,$ac_ct_F77,;t t
    20395 s,@EXEEXT@,$EXEEXT,;t t
    20396 s,@OBJEXT@,$OBJEXT,;t t
    2039720706s,@MPIF77@,$MPIF77,;t t
    2039820707s,@EGREP@,$EGREP,;t t
     
    2041920728s,@am__tar@,$am__tar,;t t
    2042020729s,@am__untar@,$am__untar,;t t
     20730s,@DEPDIR@,$DEPDIR,;t t
     20731s,@am__include@,$am__include,;t t
     20732s,@am__quote@,$am__quote,;t t
     20733s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
     20734s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
     20735s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
     20736s,@CCDEPMODE@,$CCDEPMODE,;t t
     20737s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
     20738s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    2042120739s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
    2042220740s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
     
    2043420752s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
    2043520753s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
    20436 s,@CC@,$CC,;t t
    20437 s,@CFLAGS@,$CFLAGS,;t t
    20438 s,@CPPFLAGS@,$CPPFLAGS,;t t
    20439 s,@ac_ct_CC@,$ac_ct_CC,;t t
    20440 s,@DEPDIR@,$DEPDIR,;t t
    20441 s,@am__include@,$am__include,;t t
    20442 s,@am__quote@,$am__quote,;t t
    20443 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
    20444 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
    20445 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
    20446 s,@CCDEPMODE@,$CCDEPMODE,;t t
    20447 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
    20448 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    2044920754s,@host@,$host,;t t
    2045020755s,@host_cpu@,$host_cpu,;t t
Note: See TracChangeset for help on using the changeset viewer.