Changeset 143


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

included latest changes from coin.m4

Location:
ThirdParty/HSL/trunk
Files:
2 edited

Legend:

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

    r93 r143  
    104104ACLOCAL = @ACLOCAL@
    105105ADDLIBS = @ADDLIBS@
     106ADD_CFLAGS = @ADD_CFLAGS@
    106107ADD_FFLAGS = @ADD_FFLAGS@
    107108ALWAYS_FALSE_FALSE = @ALWAYS_FALSE_FALSE@
     
    119120CC = @CC@
    120121CCDEPMODE = @CCDEPMODE@
     122CDEFS = @CDEFS@
    121123CFLAGS = @CFLAGS@
    122124COIN_HAS_MA27_FALSE = @COIN_HAS_MA27_FALSE@
     
    133135CXXFLAGS = @CXXFLAGS@
    134136CYGPATH_W = @CYGPATH_W@
     137DBG_CFLAGS = @DBG_CFLAGS@
    135138DBG_FFLAGS = @DBG_FFLAGS@
    136139DEFS = @DEFS@
     
    164167MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    165168MAKEINFO = @MAKEINFO@
     169MPICC = @MPICC@
    166170MPIF77 = @MPIF77@
    167171OBJEXT = @OBJEXT@
     172OPT_CFLAGS = @OPT_CFLAGS@
    168173OPT_FFLAGS = @OPT_FFLAGS@
    169174PACKAGE = @PACKAGE@
  • ThirdParty/HSL/trunk/configure

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