Changeset 141


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

included most recent changes from stable in trunk

Location:
ThirdParty/Lapack/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Lapack/trunk/INSTALL.LAPACK

    r70 r141  
    2323
    2424Alternatively, if you want to have the necessary LAPACK routines compiled
    25 within this distribution, please download the 'lapack.tgz' tarball from
    26 http://www.netlib.org/lapack and unpack it in this directory
     25within this distribution, please download the 'lapack-lite-3.1.0.tgz' tarball
     26from http://www.netlib.org/lapack and unpack it in this directory
    2727(COIN/Ipopt/SOURCES/OTHERS/lapack):
    2828
    29 gunzip lapack.tgz
    30 tar xf lapack.tar
     29gunzip lapack-lite-3.1.0.tgz
     30tar xf lapack-lite-3.1.0.tar
     31mv lapack-3.1.0 LAPACK
     32
     33The last step is necessary since the projects expect the source code to
     34be in that directory.
    3135
    3236If you then run the configure script again, it would automatically detect the
     
    3438
    3539NOTE: The LAPACK source files are expected to be in the subdirectory
    36       LAPACK/SRC of this directory.
     40      LAPACK/SRC and LAPACK/INSTALL of this directory.
  • ThirdParty/Lapack/trunk/Makefile.am

    r49 r141  
    4343        dsytrd.f \
    4444        ieeeck.f \
    45         ilaenv.f
     45        ilaenv.f \
     46        iparmq.f
    4647
    4748nodist_libcoinlapack_la_SOURCES = $(LAPACK_FILES)
  • ThirdParty/Lapack/trunk/Makefile.in

    r94 r141  
    5656        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5757        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    58         $(srcdir)/Makefile.in $(top_srcdir)/configure
     58        $(srcdir)/Makefile.in $(top_srcdir)/LAPACK/INSTALL/dlamch.f \
     59        $(top_srcdir)/configure
    5960@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6061@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6869 configure.lineno configure.status.lineno
    6970mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES =
     71CONFIG_CLEAN_FILES = dlamch.f
    7172LTLIBRARIES = $(noinst_LTLIBRARIES)
    7273libcoinlapack_la_LIBADD =
     
    7677        dorg2l.lo dorg2r.lo dorgql.lo dorgqr.lo dorgtr.lo dpotf2.lo \
    7778        dpotrf.lo dpotrs.lo dsteqr.lo dsterf.lo dsyev.lo dsytd2.lo \
    78         dsytrd.lo ieeeck.lo ilaenv.lo
     79        dsytrd.lo ieeeck.lo ilaenv.lo iparmq.lo
    7980nodist_libcoinlapack_la_OBJECTS = $(am__objects_1)
    8081libcoinlapack_la_OBJECTS = $(nodist_libcoinlapack_la_OBJECTS)
     
    103104ACLOCAL = @ACLOCAL@
    104105ADDLIBS = @ADDLIBS@
     106ADD_CFLAGS = @ADD_CFLAGS@
    105107ADD_FFLAGS = @ADD_FFLAGS@
    106108ALWAYS_FALSE_FALSE = @ALWAYS_FALSE_FALSE@
     
    118120CC = @CC@
    119121CCDEPMODE = @CCDEPMODE@
     122CDEFS = @CDEFS@
    120123CFLAGS = @CFLAGS@
    121124CPP = @CPP@
     
    126129CXXFLAGS = @CXXFLAGS@
    127130CYGPATH_W = @CYGPATH_W@
     131DBG_CFLAGS = @DBG_CFLAGS@
    128132DBG_FFLAGS = @DBG_FFLAGS@
    129133DEFS = @DEFS@
     
    157161MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    158162MAKEINFO = @MAKEINFO@
     163MPICC = @MPICC@
    159164MPIF77 = @MPIF77@
    160165OBJEXT = @OBJEXT@
     166OPT_CFLAGS = @OPT_CFLAGS@
    161167OPT_FFLAGS = @OPT_FFLAGS@
    162168PACKAGE = @PACKAGE@
     
    259265        dsytrd.f \
    260266        ieeeck.f \
    261         ilaenv.f
     267        ilaenv.f \
     268        iparmq.f
    262269
    263270nodist_libcoinlapack_la_SOURCES = $(LAPACK_FILES)
     
    396403        $(am__remove_distdir)
    397404        mkdir $(distdir)
    398         $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
     405        $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/LAPACK/INSTALL
    399406        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    400407        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  • ThirdParty/Lapack/trunk/configure

    r100 r141  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS LDFLAGS ac_ct_F77 EXEEXT OBJEXT MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE CC CFLAGS CPPFLAGS ac_ct_CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL LT_LDFLAGS RPATH_FLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL LT_LDFLAGS RPATH_FLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    914914ac_cv_env_target_alias_set=${target_alias+set}
    915915ac_cv_env_target_alias_value=$target_alias
     916ac_env_CDEFS_set=${CDEFS+set}
     917ac_env_CDEFS_value=$CDEFS
     918ac_cv_env_CDEFS_set=${CDEFS+set}
     919ac_cv_env_CDEFS_value=$CDEFS
     920ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
     921ac_env_ADD_CFLAGS_value=$ADD_CFLAGS
     922ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set}
     923ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS
     924ac_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
     925ac_env_DBG_CFLAGS_value=$DBG_CFLAGS
     926ac_cv_env_DBG_CFLAGS_set=${DBG_CFLAGS+set}
     927ac_cv_env_DBG_CFLAGS_value=$DBG_CFLAGS
     928ac_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
     929ac_env_OPT_CFLAGS_value=$OPT_CFLAGS
     930ac_cv_env_OPT_CFLAGS_set=${OPT_CFLAGS+set}
     931ac_cv_env_OPT_CFLAGS_value=$OPT_CFLAGS
     932ac_env_CC_set=${CC+set}
     933ac_env_CC_value=$CC
     934ac_cv_env_CC_set=${CC+set}
     935ac_cv_env_CC_value=$CC
     936ac_env_CFLAGS_set=${CFLAGS+set}
     937ac_env_CFLAGS_value=$CFLAGS
     938ac_cv_env_CFLAGS_set=${CFLAGS+set}
     939ac_cv_env_CFLAGS_value=$CFLAGS
     940ac_env_LDFLAGS_set=${LDFLAGS+set}
     941ac_env_LDFLAGS_value=$LDFLAGS
     942ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     943ac_cv_env_LDFLAGS_value=$LDFLAGS
     944ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     945ac_env_CPPFLAGS_value=$CPPFLAGS
     946ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     947ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     948ac_env_MPICC_set=${MPICC+set}
     949ac_env_MPICC_value=$MPICC
     950ac_cv_env_MPICC_set=${MPICC+set}
     951ac_cv_env_MPICC_value=$MPICC
    916952ac_env_ADD_FFLAGS_set=${ADD_FFLAGS+set}
    917953ac_env_ADD_FFLAGS_value=$ADD_FFLAGS
     
    934970ac_cv_env_FFLAGS_set=${FFLAGS+set}
    935971ac_cv_env_FFLAGS_value=$FFLAGS
    936 ac_env_LDFLAGS_set=${LDFLAGS+set}
    937 ac_env_LDFLAGS_value=$LDFLAGS
    938 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    939 ac_cv_env_LDFLAGS_value=$LDFLAGS
    940972ac_env_MPIF77_set=${MPIF77+set}
    941973ac_env_MPIF77_value=$MPIF77
    942974ac_cv_env_MPIF77_set=${MPIF77+set}
    943975ac_cv_env_MPIF77_value=$MPIF77
    944 ac_env_CC_set=${CC+set}
    945 ac_env_CC_value=$CC
    946 ac_cv_env_CC_set=${CC+set}
    947 ac_cv_env_CC_value=$CC
    948 ac_env_CFLAGS_set=${CFLAGS+set}
    949 ac_env_CFLAGS_value=$CFLAGS
    950 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    951 ac_cv_env_CFLAGS_value=$CFLAGS
    952 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    953 ac_env_CPPFLAGS_value=$CPPFLAGS
    954 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    955 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    956976ac_env_CPP_set=${CPP+set}
    957977ac_env_CPP_value=$CPP
     
    10531073  --enable-debug          compile all projects with debug options tests
    10541074  --enable-debug-lapack compile this project (Lapack) 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]
     
    10781100
    10791101Some influential environment variables:
     1102  CDEFS       Additional -D flags to be used when compiling C code.
     1103  ADD_CFLAGS  Additional C compiler options
     1104  DBG_CFLAGS  Debug C compiler options
     1105  OPT_CFLAGS  Optimize C compiler options
     1106  CC          C compiler command
     1107  CFLAGS      C compiler flags
     1108  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     1109              nonstandard directory <lib dir>
     1110  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     1111              headers in a nonstandard directory <include dir>
     1112  MPICC       C MPI Compiler
    10801113  ADD_FFLAGS  Additional Fortran compiler options
    10811114  DBG_FFLAGS  Debug Fortran compiler options
     
    10831116  F77         Fortran 77 compiler command
    10841117  FFLAGS      Fortran 77 compiler flags
    1085   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1086               nonstandard directory <lib dir>
    10871118  MPIF77      Fortran MPI Compiler
    1088   CC          C compiler command
    1089   CFLAGS      C compiler flags
    1090   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    1091               headers in a nonstandard directory <include dir>
    10921119  CPP         C preprocessor
    10931120  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 # Initialize autotools
    2525 
    2526 # On Cygwin, building DLLs doesn't work
    2527 case $build in
    2528   *-cygwin*)
    2529     coin_disable_shared=yes
    2530     platform=Cygwin
    2531   ;;
    2532   *-mingw*)
    2533     coin_disable_shared=yes
    2534     platform="Msys"
    2535 #    case "$CXX" in
    2536 #      cl*)
    2537 #        coin_disable_shared=yes
    2538 #        platform="Msys with cl"
    2539 #    ;;
    2540 #    esac
    2541   ;;
    2542 esac
    2543 if test x"$coin_disable_shared" = xyes; then
    2544   if test x"$enable_shared" = xyes; then
    2545     { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5
    2546 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
    2547   fi
    2548   enable_shared=no
    2549 fi
    2550 # By default, we only want the shared objects to be compiled
    2551 # Check whether --enable-static or --disable-static was given.
    2552 if test "${enable_static+set}" = set; then
    2553   enableval="$enable_static"
    2554   p=${PACKAGE-default}
    2555     case $enableval in
    2556     yes) enable_static=yes ;;
    2557     no) enable_static=no ;;
    2558     *)
    2559      enable_static=no
    2560       # Look at the argument we got.  We use all the common list separators.
    2561       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
    2562       for pkg in $enableval; do
    2563         IFS="$lt_save_ifs"
    2564         if test "X$pkg" = "X$p"; then
    2565           enable_static=yes
    2566         fi
    2567       done
    2568       IFS="$lt_save_ifs"
    2569       ;;
    2570     esac
    2571 else
    2572   enable_static=no
    2573 fi;
    2574 
    2575 
    2576 
    2577 echo "$as_me:$LINENO: checking for egrep" >&5
    2578 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2579 if test "${ac_cv_prog_egrep+set}" = set; then
    2580   echo $ECHO_N "(cached) $ECHO_C" >&6
    2581 else
    2582   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2583     then ac_cv_prog_egrep='grep -E'
    2584     else ac_cv_prog_egrep='egrep'
    2585     fi
    2586 fi
    2587 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2588 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2589  EGREP=$ac_cv_prog_egrep
    2590 
    2591 
    2592 am__api_version="1.9"
    2593 # Find a good install program.  We prefer a C program (faster),
    2594 # so one script is as good as another.  But avoid the broken or
    2595 # incompatible versions:
    2596 # SysV /etc/install, /usr/sbin/install
    2597 # SunOS /usr/etc/install
    2598 # IRIX /sbin/install
    2599 # AIX /bin/install
    2600 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2604 # OS/2's system install, which has a completely different semantic
    2605 # ./install, which can be erroneously created by make from ./install.sh.
    2606 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2607 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    2608 if test -z "$INSTALL"; then
    2609 if test "${ac_cv_path_install+set}" = set; then
    2610   echo $ECHO_N "(cached) $ECHO_C" >&6
    2611 else
    2612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2613 for as_dir in $PATH
    2614 do
    2615   IFS=$as_save_IFS
    2616   test -z "$as_dir" && as_dir=.
    2617   # Account for people who put trailing slashes in PATH elements.
    2618 case $as_dir/ in
    2619   ./ | .// | /cC/* | \
    2620   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2621   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2622   /usr/ucb/* ) ;;
    2623   *)
    2624     # OSF1 and SCO ODT 3.0 have their own names for install.
    2625     # Don't use installbsd from OSF since it installs stuff as root
    2626     # by default.
    2627     for ac_prog in ginstall scoinst install; do
    2628       for ac_exec_ext in '' $ac_executable_extensions; do
    2629         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2630           if test $ac_prog = install &&
    2631             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2632             # AIX install.  It has an incompatible calling convention.
    2633             :
    2634           elif test $ac_prog = install &&
    2635             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2636             # program-specific install script used by HP pwplus--don't use.
    2637             :
    2638           else
    2639             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2640             break 3
    2641           fi
    2642         fi
    2643       done
    2644     done
    2645     ;;
    2646 esac
    2647 done
    2648 
    2649 
    2650 fi
    2651   if test "${ac_cv_path_install+set}" = set; then
    2652     INSTALL=$ac_cv_path_install
    2653   else
    2654     # As a last resort, use the slow shell script.  We don't cache a
    2655     # path for INSTALL within a source directory, because that will
    2656     # break other packages using the cache if that directory is
    2657     # removed, or if the path is relative.
    2658     INSTALL=$ac_install_sh
    2659   fi
    2660 fi
    2661 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2662 echo "${ECHO_T}$INSTALL" >&6
    2663 
    2664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2665 # It thinks the first close brace ends the variable substitution.
    2666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2667 
    2668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2669 
    2670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    2671 
    2672 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
    2673 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    2674 # Just in case
    2675 sleep 1
    2676 echo timestamp > conftest.file
    2677 # Do `set' in a subshell so we don't clobber the current shell's
    2678 # arguments.  Must try -L first in case configure is actually a
    2679 # symlink; some systems play weird games with the mod time of symlinks
    2680 # (eg FreeBSD returns the mod time of the symlink's containing
    2681 # directory).
    2682 if (
    2683    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    2684    if test "$*" = "X"; then
    2685       # -L didn't work.
    2686       set X `ls -t $srcdir/configure conftest.file`
    2687    fi
    2688    rm -f conftest.file
    2689    if test "$*" != "X $srcdir/configure conftest.file" \
    2690       && test "$*" != "X conftest.file $srcdir/configure"; then
    2691 
    2692       # If neither matched, then we have a broken ls.  This can happen
    2693       # if, for instance, CONFIG_SHELL is bash and it inherits a
    2694       # broken ls alias from the environment.  This has actually
    2695       # happened.  Such a system could not be considered "sane".
    2696       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    2697 alias in your environment" >&5
    2698 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    2699 alias in your environment" >&2;}
    2700    { (exit 1); exit 1; }; }
    2701    fi
    2702 
    2703    test "$2" = conftest.file
    2704    )
    2705 then
    2706    # Ok.
    2707    :
    2708 else
    2709    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    2710 Check your system clock" >&5
    2711 echo "$as_me: error: newly created file is older than distributed files!
    2712 Check your system clock" >&2;}
    2713    { (exit 1); exit 1; }; }
    2714 fi
    2715 echo "$as_me:$LINENO: result: yes" >&5
    2716 echo "${ECHO_T}yes" >&6
    2717 test "$program_prefix" != NONE &&
    2718   program_transform_name="s,^,$program_prefix,;$program_transform_name"
    2719 # Use a double $ so make ignores it.
    2720 test "$program_suffix" != NONE &&
    2721   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
    2722 # Double any \ or $.  echo might interpret backslashes.
    2723 # By default was `s,x,x', remove it if useless.
    2724 cat <<\_ACEOF >conftest.sed
    2725 s/[\\$]/&&/g;s/;s,x,x,$//
    2726 _ACEOF
    2727 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    2728 rm conftest.sed
    2729 
    2730 # expand $ac_aux_dir to an absolute path
    2731 am_aux_dir=`cd $ac_aux_dir && pwd`
    2732 
    2733 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
    2734 # Use eval to expand $SHELL
    2735 if eval "$MISSING --run true"; then
    2736   am_missing_run="$MISSING --run "
    2737 else
    2738   am_missing_run=
    2739   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
    2740 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    2741 fi
    2742 
    2743 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    2744   # We used to keeping the `.' as first argument, in order to
    2745   # allow $(mkdir_p) to be used without argument.  As in
    2746   #   $(mkdir_p) $(somedir)
    2747   # where $(somedir) is conditionally defined.  However this is wrong
    2748   # for two reasons:
    2749   #  1. if the package is installed by a user who cannot write `.'
    2750   #     make install will fail,
    2751   #  2. the above comment should most certainly read
    2752   #     $(mkdir_p) $(DESTDIR)$(somedir)
    2753   #     so it does not work when $(somedir) is undefined and
    2754   #     $(DESTDIR) is not.
    2755   #  To support the latter case, we have to write
    2756   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
    2757   #  so the `.' trick is pointless.
    2758   mkdir_p='mkdir -p --'
    2759 else
    2760   # On NextStep and OpenStep, the `mkdir' command does not
    2761   # recognize any option.  It will interpret all options as
    2762   # directories to create, and then abort because `.' already
    2763   # exists.
    2764   for d in ./-p ./--version;
    2765   do
    2766     test -d $d && rmdir $d
    2767   done
    2768   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
    2769   if test -f "$ac_aux_dir/mkinstalldirs"; then
    2770     mkdir_p='$(mkinstalldirs)'
    2771   else
    2772     mkdir_p='$(install_sh) -d'
    2773   fi
    2774 fi
    2775 
    2776 for ac_prog in gawk mawk nawk awk
    2777 do
    2778   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2779 set dummy $ac_prog; ac_word=$2
    2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2782 if test "${ac_cv_prog_AWK+set}" = set; then
    2783   echo $ECHO_N "(cached) $ECHO_C" >&6
    2784 else
    2785   if test -n "$AWK"; then
    2786   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    2787 else
    2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2789 for as_dir in $PATH
    2790 do
    2791   IFS=$as_save_IFS
    2792   test -z "$as_dir" && as_dir=.
    2793   for ac_exec_ext in '' $ac_executable_extensions; do
    2794   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2795     ac_cv_prog_AWK="$ac_prog"
    2796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2797     break 2
    2798   fi
    2799 done
    2800 done
    2801 
    2802 fi
    2803 fi
    2804 AWK=$ac_cv_prog_AWK
    2805 if test -n "$AWK"; then
    2806   echo "$as_me:$LINENO: result: $AWK" >&5
    2807 echo "${ECHO_T}$AWK" >&6
    2808 else
    2809   echo "$as_me:$LINENO: result: no" >&5
    2810 echo "${ECHO_T}no" >&6
    2811 fi
    2812 
    2813   test -n "$AWK" && break
    2814 done
    2815 
    2816 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2817 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2818 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    2819 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    2820   echo $ECHO_N "(cached) $ECHO_C" >&6
    2821 else
    2822   cat >conftest.make <<\_ACEOF
    2823 all:
    2824         @echo 'ac_maketemp="$(MAKE)"'
    2825 _ACEOF
    2826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2827 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2828 if test -n "$ac_maketemp"; then
    2829   eval ac_cv_prog_make_${ac_make}_set=yes
    2830 else
    2831   eval ac_cv_prog_make_${ac_make}_set=no
    2832 fi
    2833 rm -f conftest.make
    2834 fi
    2835 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2836   echo "$as_me:$LINENO: result: yes" >&5
    2837 echo "${ECHO_T}yes" >&6
    2838   SET_MAKE=
    2839 else
    2840   echo "$as_me:$LINENO: result: no" >&5
    2841 echo "${ECHO_T}no" >&6
    2842   SET_MAKE="MAKE=${MAKE-make}"
    2843 fi
    2844 
    2845 rm -rf .tst 2>/dev/null
    2846 mkdir .tst 2>/dev/null
    2847 if test -d .tst; then
    2848   am__leading_dot=.
    2849 else
    2850   am__leading_dot=_
    2851 fi
    2852 rmdir .tst 2>/dev/null
    2853 
    2854 DEPDIR="${am__leading_dot}deps"
    2855 
    2856           ac_config_commands="$ac_config_commands depfiles"
    2857 
    2858 
    2859 am_make=${MAKE-make}
    2860 cat > confinc << 'END'
    2861 am__doit:
    2862         @echo done
    2863 .PHONY: am__doit
    2864 END
    2865 # If we don't find an include directive, just comment out the code.
    2866 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
    2867 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
    2868 am__include="#"
    2869 am__quote=
    2870 _am_result=none
    2871 # First try GNU make style include.
    2872 echo "include confinc" > confmf
    2873 # We grep out `Entering directory' and `Leaving directory'
    2874 # messages which can occur if `w' ends up in MAKEFLAGS.
    2875 # In particular we don't look at `^make:' because GNU make might
    2876 # be invoked under some other name (usually "gmake"), in which
    2877 # case it prints its new name instead of `make'.
    2878 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
    2879    am__include=include
    2880    am__quote=
    2881    _am_result=GNU
    2882 fi
    2883 # Now try BSD make style include.
    2884 if test "$am__include" = "#"; then
    2885    echo '.include "confinc"' > confmf
    2886    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
    2887       am__include=.include
    2888       am__quote="\""
    2889       _am_result=BSD
    2890    fi
    2891 fi
    2892 
    2893 
    2894 echo "$as_me:$LINENO: result: $_am_result" >&5
    2895 echo "${ECHO_T}$_am_result" >&6
    2896 rm -f confinc confmf
    2897 
    2898 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
    2899 if test "${enable_dependency_tracking+set}" = set; then
    2900   enableval="$enable_dependency_tracking"
    2901 
    2902 fi;
    2903 if test "x$enable_dependency_tracking" != xno; then
    2904   am_depcomp="$ac_aux_dir/depcomp"
    2905   AMDEPBACKSLASH='\'
    2906 fi
    2907 
    2908 
    2909 if test "x$enable_dependency_tracking" != xno; then
    2910   AMDEP_TRUE=
    2911   AMDEP_FALSE='#'
    2912 else
    2913   AMDEP_TRUE='#'
    2914   AMDEP_FALSE=
    2915 fi
    2916 
    2917 
    2918 
    2919 ac_ext=c
    2920 ac_cpp='$CPP $CPPFLAGS'
    2921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2924 if test -n "$ac_tool_prefix"; then
    2925   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    2926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2927 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2929 if test "${ac_cv_prog_CC+set}" = set; then
    2930   echo $ECHO_N "(cached) $ECHO_C" >&6
    2931 else
    2932   if test -n "$CC"; then
    2933   ac_cv_prog_CC="$CC" # Let the user override the test.
    2934 else
    2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2936 for as_dir in $PATH
    2937 do
    2938   IFS=$as_save_IFS
    2939   test -z "$as_dir" && as_dir=.
    2940   for ac_exec_ext in '' $ac_executable_extensions; do
    2941   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2942     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2943     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2944     break 2
    2945   fi
    2946 done
    2947 done
    2948 
    2949 fi
    2950 fi
    2951 CC=$ac_cv_prog_CC
    2952 if test -n "$CC"; then
    2953   echo "$as_me:$LINENO: result: $CC" >&5
    2954 echo "${ECHO_T}$CC" >&6
    2955 else
    2956   echo "$as_me:$LINENO: result: no" >&5
    2957 echo "${ECHO_T}no" >&6
    2958 fi
    2959 
    2960 fi
    2961 if test -z "$ac_cv_prog_CC"; then
    2962   ac_ct_CC=$CC
    2963   # Extract the first word of "gcc", so it can be a program name with args.
    2964 set dummy gcc; ac_word=$2
    2965 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2968   echo $ECHO_N "(cached) $ECHO_C" >&6
    2969 else
    2970   if test -n "$ac_ct_CC"; then
    2971   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2972 else
    2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2974 for as_dir in $PATH
    2975 do
    2976   IFS=$as_save_IFS
    2977   test -z "$as_dir" && as_dir=.
    2978   for ac_exec_ext in '' $ac_executable_extensions; do
    2979   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2980     ac_cv_prog_ac_ct_CC="gcc"
    2981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2982     break 2
    2983   fi
    2984 done
    2985 done
    2986 
    2987 fi
    2988 fi
    2989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2990 if test -n "$ac_ct_CC"; then
    2991   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2992 echo "${ECHO_T}$ac_ct_CC" >&6
    2993 else
    2994   echo "$as_me:$LINENO: result: no" >&5
    2995 echo "${ECHO_T}no" >&6
    2996 fi
    2997 
    2998   CC=$ac_ct_CC
    2999 else
    3000   CC="$ac_cv_prog_CC"
    3001 fi
    3002 
    3003 if test -z "$CC"; then
    3004   if test -n "$ac_tool_prefix"; then
    3005   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    3006 set dummy ${ac_tool_prefix}cc; ac_word=$2
    3007 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3009 if test "${ac_cv_prog_CC+set}" = set; then
    3010   echo $ECHO_N "(cached) $ECHO_C" >&6
    3011 else
    3012   if test -n "$CC"; then
    3013   ac_cv_prog_CC="$CC" # Let the user override the test.
    3014 else
    3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3016 for as_dir in $PATH
    3017 do
    3018   IFS=$as_save_IFS
    3019   test -z "$as_dir" && as_dir=.
    3020   for ac_exec_ext in '' $ac_executable_extensions; do
    3021   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3022     ac_cv_prog_CC="${ac_tool_prefix}cc"
    3023     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3024     break 2
    3025   fi
    3026 done
    3027 done
    3028 
    3029 fi
    3030 fi
    3031 CC=$ac_cv_prog_CC
    3032 if test -n "$CC"; then
    3033   echo "$as_me:$LINENO: result: $CC" >&5
    3034 echo "${ECHO_T}$CC" >&6
    3035 else
    3036   echo "$as_me:$LINENO: result: no" >&5
    3037 echo "${ECHO_T}no" >&6
    3038 fi
    3039 
    3040 fi
    3041 if test -z "$ac_cv_prog_CC"; then
    3042   ac_ct_CC=$CC
    3043   # Extract the first word of "cc", so it can be a program name with args.
    3044 set dummy cc; ac_word=$2
    3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    3048   echo $ECHO_N "(cached) $ECHO_C" >&6
    3049 else
    3050   if test -n "$ac_ct_CC"; then
    3051   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3052 else
    3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3054 for as_dir in $PATH
    3055 do
    3056   IFS=$as_save_IFS
    3057   test -z "$as_dir" && as_dir=.
    3058   for ac_exec_ext in '' $ac_executable_extensions; do
    3059   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3060     ac_cv_prog_ac_ct_CC="cc"
    3061     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3062     break 2
    3063   fi
    3064 done
    3065 done
    3066 
    3067 fi
    3068 fi
    3069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3070 if test -n "$ac_ct_CC"; then
    3071   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3072 echo "${ECHO_T}$ac_ct_CC" >&6
    3073 else
    3074   echo "$as_me:$LINENO: result: no" >&5
    3075 echo "${ECHO_T}no" >&6
    3076 fi
    3077 
    3078   CC=$ac_ct_CC
    3079 else
    3080   CC="$ac_cv_prog_CC"
    3081 fi
    3082 
    3083 fi
    3084 if test -z "$CC"; then
    3085   # Extract the first word of "cc", so it can be a program name with args.
    3086 set dummy cc; ac_word=$2
    3087 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3089 if test "${ac_cv_prog_CC+set}" = set; then
    3090   echo $ECHO_N "(cached) $ECHO_C" >&6
    3091 else
    3092   if test -n "$CC"; then
    3093   ac_cv_prog_CC="$CC" # Let the user override the test.
    3094 else
    3095   ac_prog_rejected=no
    3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3097 for as_dir in $PATH
    3098 do
    3099   IFS=$as_save_IFS
    3100   test -z "$as_dir" && as_dir=.
    3101   for ac_exec_ext in '' $ac_executable_extensions; do
    3102   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3103     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    3104        ac_prog_rejected=yes
    3105        continue
    3106      fi
    3107     ac_cv_prog_CC="cc"
    3108     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3109     break 2
    3110   fi
    3111 done
    3112 done
    3113 
    3114 if test $ac_prog_rejected = yes; then
    3115   # We found a bogon in the path, so make sure we never use it.
    3116   set dummy $ac_cv_prog_CC
    3117   shift
    3118   if test $# != 0; then
    3119     # We chose a different compiler from the bogus one.
    3120     # However, it has the same basename, so the bogon will be chosen
    3121     # first if we set CC to just the basename; use the full file name.
    3122     shift
    3123     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    3124   fi
    3125 fi
    3126 fi
    3127 fi
    3128 CC=$ac_cv_prog_CC
    3129 if test -n "$CC"; then
    3130   echo "$as_me:$LINENO: result: $CC" >&5
    3131 echo "${ECHO_T}$CC" >&6
    3132 else
    3133   echo "$as_me:$LINENO: result: no" >&5
    3134 echo "${ECHO_T}no" >&6
    3135 fi
    3136 
    3137 fi
    3138 if test -z "$CC"; then
    3139   if test -n "$ac_tool_prefix"; then
    3140   for ac_prog in cl
    3141   do
    3142     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3146 if test "${ac_cv_prog_CC+set}" = set; then
    3147   echo $ECHO_N "(cached) $ECHO_C" >&6
    3148 else
    3149   if test -n "$CC"; then
    3150   ac_cv_prog_CC="$CC" # Let the user override the test.
    3151 else
    3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3153 for as_dir in $PATH
    3154 do
    3155   IFS=$as_save_IFS
    3156   test -z "$as_dir" && as_dir=.
    3157   for ac_exec_ext in '' $ac_executable_extensions; do
    3158   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3159     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3161     break 2
    3162   fi
    3163 done
    3164 done
    3165 
    3166 fi
    3167 fi
    3168 CC=$ac_cv_prog_CC
    3169 if test -n "$CC"; then
    3170   echo "$as_me:$LINENO: result: $CC" >&5
    3171 echo "${ECHO_T}$CC" >&6
    3172 else
    3173   echo "$as_me:$LINENO: result: no" >&5
    3174 echo "${ECHO_T}no" >&6
    3175 fi
    3176 
    3177     test -n "$CC" && break
    3178   done
    3179 fi
    3180 if test -z "$CC"; then
    3181   ac_ct_CC=$CC
    3182   for ac_prog in cl
    3183 do
    3184   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3185 set dummy $ac_prog; ac_word=$2
    3186 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    3189   echo $ECHO_N "(cached) $ECHO_C" >&6
    3190 else
    3191   if test -n "$ac_ct_CC"; then
    3192   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3193 else
    3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3195 for as_dir in $PATH
    3196 do
    3197   IFS=$as_save_IFS
    3198   test -z "$as_dir" && as_dir=.
    3199   for ac_exec_ext in '' $ac_executable_extensions; do
    3200   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3201     ac_cv_prog_ac_ct_CC="$ac_prog"
    3202     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3203     break 2
    3204   fi
    3205 done
    3206 done
    3207 
    3208 fi
    3209 fi
    3210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3211 if test -n "$ac_ct_CC"; then
    3212   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    3213 echo "${ECHO_T}$ac_ct_CC" >&6
    3214 else
    3215   echo "$as_me:$LINENO: result: no" >&5
    3216 echo "${ECHO_T}no" >&6
    3217 fi
    3218 
    3219   test -n "$ac_ct_CC" && break
    3220 done
    3221 
    3222   CC=$ac_ct_CC
    3223 fi
    3224 
    3225 fi
    3226 
    3227 
    3228 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    3229 See \`config.log' for more details." >&5
    3230 echo "$as_me: error: no acceptable C compiler found in \$PATH
    3231 See \`config.log' for more details." >&2;}
    3232    { (exit 1); exit 1; }; }
    3233 
    3234 # Provide some information about the compiler.
    3235 echo "$as_me:$LINENO:" \
    3236      "checking for C compiler version" >&5
    3237 ac_compiler=`set X $ac_compile; echo $2`
    3238 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3239   (eval $ac_compiler --version </dev/null >&5) 2>&5
    3240   ac_status=$?
    3241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3242   (exit $ac_status); }
    3243 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3244   (eval $ac_compiler -v </dev/null >&5) 2>&5
    3245   ac_status=$?
    3246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3247   (exit $ac_status); }
    3248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3249   (eval $ac_compiler -V </dev/null >&5) 2>&5
    3250   ac_status=$?
    3251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3252   (exit $ac_status); }
    3253 
    32542154echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32552155echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     
    36462546ac_compiler_gnu=$ac_cv_c_compiler_gnu
    36472547
    3648 depcc="$CC"   am_compiler_list=
    3649 
    3650 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
    3651 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    3652 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
    36532991  echo $ECHO_N "(cached) $ECHO_C" >&6
    36542992else
    3655   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    3656   # We make a subdir and do the tests there.  Otherwise we can end up
    3657   # making bogus files that we don't know about and never remove.  For
    3658   # instance it was reported that on HP-UX the gcc test will end up
    3659   # making a dummy file named `D' -- because `-MD' means `put the output
    3660   # in D'.
    3661   mkdir conftest.dir
    3662   # Copy depcomp to subdir because otherwise we won't find it if we're
    3663   # using a relative directory.
    3664   cp "$am_depcomp" conftest.dir
    3665   cd conftest.dir
    3666   # We will build objects and dependencies in a subdirectory because
    3667   # it helps to detect inapplicable dependency modes.  For instance
    3668   # both Tru64's cc and ICC support -MD to output dependencies as a
    3669   # side effect of compilation, but ICC will put the dependencies in
    3670   # the current directory while Tru64 will put them in the object
    3671   # directory.
    3672   mkdir sub
    3673 
    3674   am_cv_CC_dependencies_compiler_type=none
    3675   if test "$am_compiler_list" = ""; then
    3676      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
    36773006  fi
    3678   for depmode in $am_compiler_list; do
    3679     # Setup a source with many dependencies, because some compilers
    3680     # like to wrap large dependency lists on column 80 (with \), and
    3681     # we should not choose a depcomp mode which is confused by this.
    3682     #
    3683     # We need to recreate these files for each test, as the compiler may
    3684     # overwrite some of them when testing with obscure command lines.
    3685     # This happens at least with the AIX C compiler.
    3686     : > sub/conftest.c
    3687     for i in 1 2 3 4 5 6; do
    3688       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3689       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    3690       # Solaris 8's {/usr,}/bin/sh.
    3691       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# Initialize autotools
     3555
     3556# On Cygwin, building DLLs doesn't work
     3557case $build in
     3558  *-cygwin*)
     3559    coin_disable_shared=yes
     3560    platform=Cygwin
     3561  ;;
     3562  *-mingw*)
     3563    coin_disable_shared=yes
     3564    platform="Msys"
     3565#    case "$CXX" in
     3566#      cl*)
     3567#        coin_disable_shared=yes
     3568#        platform="Msys with cl"
     3569#    ;;
     3570#    esac
     3571  ;;
     3572esac
     3573if test x"$coin_disable_shared" = xyes; then
     3574  if test x"$enable_shared" = xyes; then
     3575    { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5
     3576echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}
     3577  fi
     3578  enable_shared=no
     3579fi
     3580# By default, we only want the shared objects to be compiled
     3581# Check whether --enable-static or --disable-static was given.
     3582if test "${enable_static+set}" = set; then
     3583  enableval="$enable_static"
     3584  p=${PACKAGE-default}
     3585    case $enableval in
     3586    yes) enable_static=yes ;;
     3587    no) enable_static=no ;;
     3588    *)
     3589     enable_static=no
     3590      # Look at the argument we got.  We use all the common list separators.
     3591      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     3592      for pkg in $enableval; do
     3593        IFS="$lt_save_ifs"
     3594        if test "X$pkg" = "X$p"; then
     3595          enable_static=yes
     3596        fi
     3597      done
     3598      IFS="$lt_save_ifs"
     3599      ;;
     3600    esac
     3601else
     3602  enable_static=no
     3603fi;
     3604
     3605
     3606
     3607echo "$as_me:$LINENO: checking for egrep" >&5
     3608echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3609if test "${ac_cv_prog_egrep+set}" = set; then
     3610  echo $ECHO_N "(cached) $ECHO_C" >&6
     3611else
     3612  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3613    then ac_cv_prog_egrep='grep -E'
     3614    else ac_cv_prog_egrep='egrep'
     3615    fi
     3616fi
     3617echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3618echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3619 EGREP=$ac_cv_prog_egrep
     3620
     3621
     3622am__api_version="1.9"
     3623# Find a good install program.  We prefer a C program (faster),
     3624# so one script is as good as another.  But avoid the broken or
     3625# incompatible versions:
     3626# SysV /etc/install, /usr/sbin/install
     3627# SunOS /usr/etc/install
     3628# IRIX /sbin/install
     3629# AIX /bin/install
     3630# AmigaOS /C/install, which installs bootblocks on floppy discs
     3631# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     3632# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     3633# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     3634# OS/2's system install, which has a completely different semantic
     3635# ./install, which can be erroneously created by make from ./install.sh.
     3636echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3637echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3638if test -z "$INSTALL"; then
     3639if test "${ac_cv_path_install+set}" = set; then
     3640  echo $ECHO_N "(cached) $ECHO_C" >&6
     3641else
     3642  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3643for as_dir in $PATH
     3644do
     3645  IFS=$as_save_IFS
     3646  test -z "$as_dir" && as_dir=.
     3647  # Account for people who put trailing slashes in PATH elements.
     3648case $as_dir/ in
     3649  ./ | .// | /cC/* | \
     3650  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     3651  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3652  /usr/ucb/* ) ;;
     3653  *)
     3654    # OSF1 and SCO ODT 3.0 have their own names for install.
     3655    # Don't use installbsd from OSF since it installs stuff as root
     3656    # by default.
     3657    for ac_prog in ginstall scoinst install; do
     3658      for ac_exec_ext in '' $ac_executable_extensions; do
     3659        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3660          if test $ac_prog = install &&
     3661            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3662            # AIX install.  It has an incompatible calling convention.
     3663            :
     3664          elif test $ac_prog = install &&
     3665            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3666            # program-specific install script used by HP pwplus--don't use.
     3667            :
     3668          else
     3669            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3670            break 3
     3671          fi
     3672        fi
     3673      done
    36923674    done
    3693     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    3694 
    3695     case $depmode in
    3696     nosideeffect)
    3697       # after this tag, mechanisms are not by side-effect, so they'll
    3698       # only be used when explicitly requested
    3699       if test "x$enable_dependency_tracking" = xyes; then
    3700         continue
    3701       else
    3702         break
    3703       fi
    3704       ;;
    3705     none) break ;;
    3706     esac
    3707     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    3708     # mode.  It turns out that the SunPro C++ compiler does not properly
    3709     # handle `-M -o', and we need to detect this.
    3710     if depmode=$depmode \
    3711        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
    3712        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    3713        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
    3714          >/dev/null 2>conftest.err &&
    3715        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    3716        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
    3717        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    3718       # icc doesn't choke on unknown options, it will just issue warnings
    3719       # or remarks (even with -Werror).  So we grep stderr for any message
    3720       # that says an option was ignored or not supported.
    3721       # When given -MP, icc 7.0 and 7.1 complain thusly:
    3722       #   icc: Command line warning: ignoring option '-M'; no argument required
    3723       # The diagnosis changed in icc 8.0:
    3724       #   icc: Command line remark: option '-MP' not supported
    3725       if (grep 'ignoring option' conftest.err ||
    3726           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    3727         am_cv_CC_dependencies_compiler_type=$depmode
    3728         break
    3729       fi
    3730     fi
     3675    ;;
     3676esac
     3677done
     3678
     3679
     3680fi
     3681  if test "${ac_cv_path_install+set}" = set; then
     3682    INSTALL=$ac_cv_path_install
     3683  else
     3684    # As a last resort, use the slow shell script.  We don't cache a
     3685    # path for INSTALL within a source directory, because that will
     3686    # break other packages using the cache if that directory is
     3687    # removed, or if the path is relative.
     3688    INSTALL=$ac_install_sh
     3689  fi
     3690fi
     3691echo "$as_me:$LINENO: result: $INSTALL" >&5
     3692echo "${ECHO_T}$INSTALL" >&6
     3693
     3694# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     3695# It thinks the first close brace ends the variable substitution.
     3696test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     3697
     3698test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     3699
     3700test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     3701
     3702echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     3703echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
     3704# Just in case
     3705sleep 1
     3706echo timestamp > conftest.file
     3707# Do `set' in a subshell so we don't clobber the current shell's
     3708# arguments.  Must try -L first in case configure is actually a
     3709# symlink; some systems play weird games with the mod time of symlinks
     3710# (eg FreeBSD returns the mod time of the symlink's containing
     3711# directory).
     3712if (
     3713   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     3714   if test "$*" = "X"; then
     3715      # -L didn't work.
     3716      set X `ls -t $srcdir/configure conftest.file`
     3717   fi
     3718   rm -f conftest.file
     3719   if test "$*" != "X $srcdir/configure conftest.file" \
     3720      && test "$*" != "X conftest.file $srcdir/configure"; then
     3721
     3722      # If neither matched, then we have a broken ls.  This can happen
     3723      # if, for instance, CONFIG_SHELL is bash and it inherits a
     3724      # broken ls alias from the environment.  This has actually
     3725      # happened.  Such a system could not be considered "sane".
     3726      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
     3727alias in your environment" >&5
     3728echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
     3729alias in your environment" >&2;}
     3730   { (exit 1); exit 1; }; }
     3731   fi
     3732
     3733   test "$2" = conftest.file
     3734   )
     3735then
     3736   # Ok.
     3737   :
     3738else
     3739   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
     3740Check your system clock" >&5
     3741echo "$as_me: error: newly created file is older than distributed files!
     3742Check your system clock" >&2;}
     3743   { (exit 1); exit 1; }; }
     3744fi
     3745echo "$as_me:$LINENO: result: yes" >&5
     3746echo "${ECHO_T}yes" >&6
     3747test "$program_prefix" != NONE &&
     3748  program_transform_name="s,^,$program_prefix,;$program_transform_name"
     3749# Use a double $ so make ignores it.
     3750test "$program_suffix" != NONE &&
     3751  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     3752# Double any \ or $.  echo might interpret backslashes.
     3753# By default was `s,x,x', remove it if useless.
     3754cat <<\_ACEOF >conftest.sed
     3755s/[\\$]/&&/g;s/;s,x,x,$//
     3756_ACEOF
     3757program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
     3758rm conftest.sed
     3759
     3760# expand $ac_aux_dir to an absolute path
     3761am_aux_dir=`cd $ac_aux_dir && pwd`
     3762
     3763test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     3764# Use eval to expand $SHELL
     3765if eval "$MISSING --run true"; then
     3766  am_missing_run="$MISSING --run "
     3767else
     3768  am_missing_run=
     3769  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
     3770echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     3771fi
     3772
     3773if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
     3774  # We used to keeping the `.' as first argument, in order to
     3775  # allow $(mkdir_p) to be used without argument.  As in
     3776  #   $(mkdir_p) $(somedir)
     3777  # where $(somedir) is conditionally defined.  However this is wrong
     3778  # for two reasons:
     3779  #  1. if the package is installed by a user who cannot write `.'
     3780  #     make install will fail,
     3781  #  2. the above comment should most certainly read
     3782  #     $(mkdir_p) $(DESTDIR)$(somedir)
     3783  #     so it does not work when $(somedir) is undefined and
     3784  #     $(DESTDIR) is not.
     3785  #  To support the latter case, we have to write
     3786  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
     3787  #  so the `.' trick is pointless.
     3788  mkdir_p='mkdir -p --'
     3789else
     3790  # On NextStep and OpenStep, the `mkdir' command does not
     3791  # recognize any option.  It will interpret all options as
     3792  # directories to create, and then abort because `.' already
     3793  # exists.
     3794  for d in ./-p ./--version;
     3795  do
     3796    test -d $d && rmdir $d
    37313797  done
    3732 
    3733   cd ..
    3734   rm -rf conftest.dir
    3735 else
    3736   am_cv_CC_dependencies_compiler_type=none
    3737 fi
    3738 
    3739 fi
    3740 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
    3741 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
    3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    3743 
    3744 
    3745 
    3746 if
    3747   test "x$enable_dependency_tracking" != xno \
    3748   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    3749   am__fastdepCC_TRUE=
    3750   am__fastdepCC_FALSE='#'
    3751 else
    3752   am__fastdepCC_TRUE='#'
    3753   am__fastdepCC_FALSE=
     3798  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
     3799  if test -f "$ac_aux_dir/mkinstalldirs"; then
     3800    mkdir_p='$(mkinstalldirs)'
     3801  else
     3802    mkdir_p='$(install_sh) -d'
     3803  fi
     3804fi
     3805
     3806for ac_prog in gawk mawk nawk awk
     3807do
     3808  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3809set dummy $ac_prog; ac_word=$2
     3810echo "$as_me:$LINENO: checking for $ac_word" >&5
     3811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3812if test "${ac_cv_prog_AWK+set}" = set; then
     3813  echo $ECHO_N "(cached) $ECHO_C" >&6
     3814else
     3815  if test -n "$AWK"; then
     3816  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     3817else
     3818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3819for as_dir in $PATH
     3820do
     3821  IFS=$as_save_IFS
     3822  test -z "$as_dir" && as_dir=.
     3823  for ac_exec_ext in '' $ac_executable_extensions; do
     3824  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3825    ac_cv_prog_AWK="$ac_prog"
     3826    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3827    break 2
     3828  fi
     3829done
     3830done
     3831
     3832fi
     3833fi
     3834AWK=$ac_cv_prog_AWK
     3835if test -n "$AWK"; then
     3836  echo "$as_me:$LINENO: result: $AWK" >&5
     3837echo "${ECHO_T}$AWK" >&6
     3838else
     3839  echo "$as_me:$LINENO: result: no" >&5
     3840echo "${ECHO_T}no" >&6
     3841fi
     3842
     3843  test -n "$AWK" && break
     3844done
     3845
     3846echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3847echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3848set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3849if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3850  echo $ECHO_N "(cached) $ECHO_C" >&6
     3851else
     3852  cat >conftest.make <<\_ACEOF
     3853all:
     3854        @echo 'ac_maketemp="$(MAKE)"'
     3855_ACEOF
     3856# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3857eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3858if test -n "$ac_maketemp"; then
     3859  eval ac_cv_prog_make_${ac_make}_set=yes
     3860else
     3861  eval ac_cv_prog_make_${ac_make}_set=no
     3862fi
     3863rm -f conftest.make
     3864fi
     3865if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3866  echo "$as_me:$LINENO: result: yes" >&5
     3867echo "${ECHO_T}yes" >&6
     3868  SET_MAKE=
     3869else
     3870  echo "$as_me:$LINENO: result: no" >&5
     3871echo "${ECHO_T}no" >&6
     3872  SET_MAKE="MAKE=${MAKE-make}"
     3873fi
     3874
     3875rm -rf .tst 2>/dev/null
     3876mkdir .tst 2>/dev/null
     3877if test -d .tst; then
     3878  am__leading_dot=.
     3879else
     3880  am__leading_dot=_
     3881fi
     3882rmdir .tst 2>/dev/null
     3883
     3884DEPDIR="${am__leading_dot}deps"
     3885
     3886          ac_config_commands="$ac_config_commands depfiles"
     3887
     3888
     3889am_make=${MAKE-make}
     3890cat > confinc << 'END'
     3891am__doit:
     3892        @echo done
     3893.PHONY: am__doit
     3894END
     3895# If we don't find an include directive, just comment out the code.
     3896echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
     3897echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
     3898am__include="#"
     3899am__quote=
     3900_am_result=none
     3901# First try GNU make style include.
     3902echo "include confinc" > confmf
     3903# We grep out `Entering directory' and `Leaving directory'
     3904# messages which can occur if `w' ends up in MAKEFLAGS.
     3905# In particular we don't look at `^make:' because GNU make might
     3906# be invoked under some other name (usually "gmake"), in which
     3907# case it prints its new name instead of `make'.
     3908if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
     3909   am__include=include
     3910   am__quote=
     3911   _am_result=GNU
     3912fi
     3913# Now try BSD make style include.
     3914if test "$am__include" = "#"; then
     3915   echo '.include "confinc"' > confmf
     3916   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
     3917      am__include=.include
     3918      am__quote="\""
     3919      _am_result=BSD
     3920   fi
     3921fi
     3922
     3923
     3924echo "$as_me:$LINENO: result: $_am_result" >&5
     3925echo "${ECHO_T}$_am_result" >&6
     3926rm -f confinc confmf
     3927
     3928# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
     3929if test "${enable_dependency_tracking+set}" = set; then
     3930  enableval="$enable_dependency_tracking"
     3931
     3932fi;
     3933if test "x$enable_dependency_tracking" != xno; then
     3934  am_depcomp="$ac_aux_dir/depcomp"
     3935  AMDEPBACKSLASH='\'
     3936fi
     3937
     3938
     3939if test "x$enable_dependency_tracking" != xno; then
     3940  AMDEP_TRUE=
     3941  AMDEP_FALSE='#'
     3942else
     3943  AMDEP_TRUE='#'
     3944  AMDEP_FALSE=
    37543945fi
    37553946
     
    43844575*-*-irix6*)
    43854576  # Find out which ABI we are using.
    4386   echo '#line 4386 "configure"' > conftest.$ac_ext
     4577  echo '#line 4577 "configure"' > conftest.$ac_ext
    43874578  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    43884579  (eval $ac_compile) 2>&5
     
    68137004   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    68147005   -e 's:$: $lt_compiler_flag:'`
    6815    (eval echo "\"\$as_me:6815: $lt_compile\"" >&5)
     7006   (eval echo "\"\$as_me:7006: $lt_compile\"" >&5)
    68167007   (eval "$lt_compile" 2>conftest.err)
    68177008   ac_status=$?
    68187009   cat conftest.err >&5
    6819    echo "$as_me:6819: \$? = $ac_status" >&5
     7010   echo "$as_me:7010: \$? = $ac_status" >&5
    68207011   if (exit $ac_status) && test -s "$ac_outfile"; then
    68217012     # The compiler can only warn and ignore the option if not recognized
     
    70817272   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70827273   -e 's:$: $lt_compiler_flag:'`
    7083    (eval echo "\"\$as_me:7083: $lt_compile\"" >&5)
     7274   (eval echo "\"\$as_me:7274: $lt_compile\"" >&5)
    70847275   (eval "$lt_compile" 2>conftest.err)
    70857276   ac_status=$?
    70867277   cat conftest.err >&5
    7087    echo "$as_me:7087: \$? = $ac_status" >&5
     7278   echo "$as_me:7278: \$? = $ac_status" >&5
    70887279   if (exit $ac_status) && test -s "$ac_outfile"; then
    70897280     # The compiler can only warn and ignore the option if not recognized
     
    71857376   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    71867377   -e 's:$: $lt_compiler_flag:'`
    7187    (eval echo "\"\$as_me:7187: $lt_compile\"" >&5)
     7378   (eval echo "\"\$as_me:7378: $lt_compile\"" >&5)
    71887379   (eval "$lt_compile" 2>out/conftest.err)
    71897380   ac_status=$?
    71907381   cat out/conftest.err >&5
    7191    echo "$as_me:7191: \$? = $ac_status" >&5
     7382   echo "$as_me:7382: \$? = $ac_status" >&5
    71927383   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    71937384   then
     
    95309721  lt_status=$lt_dlunknown
    95319722  cat > conftest.$ac_ext <<EOF
    9532 #line 9532 "configure"
     9723#line 9723 "configure"
    95339724#include "confdefs.h"
    95349725
     
    96309821  lt_status=$lt_dlunknown
    96319822  cat > conftest.$ac_ext <<EOF
    9632 #line 9632 "configure"
     9823#line 9823 "configure"
    96339824#include "confdefs.h"
    96349825
     
    1197412165   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1197512166   -e 's:$: $lt_compiler_flag:'`
    11976    (eval echo "\"\$as_me:11976: $lt_compile\"" >&5)
     12167   (eval echo "\"\$as_me:12167: $lt_compile\"" >&5)
    1197712168   (eval "$lt_compile" 2>conftest.err)
    1197812169   ac_status=$?
    1197912170   cat conftest.err >&5
    11980    echo "$as_me:11980: \$? = $ac_status" >&5
     12171   echo "$as_me:12171: \$? = $ac_status" >&5
    1198112172   if (exit $ac_status) && test -s "$ac_outfile"; then
    1198212173     # The compiler can only warn and ignore the option if not recognized
     
    1207812269   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1207912270   -e 's:$: $lt_compiler_flag:'`
    12080    (eval echo "\"\$as_me:12080: $lt_compile\"" >&5)
     12271   (eval echo "\"\$as_me:12271: $lt_compile\"" >&5)
    1208112272   (eval "$lt_compile" 2>out/conftest.err)
    1208212273   ac_status=$?
    1208312274   cat out/conftest.err >&5
    12084    echo "$as_me:12084: \$? = $ac_status" >&5
     12275   echo "$as_me:12275: \$? = $ac_status" >&5
    1208512276   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1208612277   then
     
    1364813839   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1364913840   -e 's:$: $lt_compiler_flag:'`
    13650    (eval echo "\"\$as_me:13650: $lt_compile\"" >&5)
     13841   (eval echo "\"\$as_me:13841: $lt_compile\"" >&5)
    1365113842   (eval "$lt_compile" 2>conftest.err)
    1365213843   ac_status=$?
    1365313844   cat conftest.err >&5
    13654    echo "$as_me:13654: \$? = $ac_status" >&5
     13845   echo "$as_me:13845: \$? = $ac_status" >&5
    1365513846   if (exit $ac_status) && test -s "$ac_outfile"; then
    1365613847     # The compiler can only warn and ignore the option if not recognized
     
    1375213943   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1375313944   -e 's:$: $lt_compiler_flag:'`
    13754    (eval echo "\"\$as_me:13754: $lt_compile\"" >&5)
     13945   (eval echo "\"\$as_me:13945: $lt_compile\"" >&5)
    1375513946   (eval "$lt_compile" 2>out/conftest.err)
    1375613947   ac_status=$?
    1375713948   cat out/conftest.err >&5
    13758    echo "$as_me:13758: \$? = $ac_status" >&5
     13949   echo "$as_me:13949: \$? = $ac_status" >&5
    1375913950   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1376013951   then
     
    1595916150   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1596016151   -e 's:$: $lt_compiler_flag:'`
    15961    (eval echo "\"\$as_me:15961: $lt_compile\"" >&5)
     16152   (eval echo "\"\$as_me:16152: $lt_compile\"" >&5)
    1596216153   (eval "$lt_compile" 2>conftest.err)
    1596316154   ac_status=$?
    1596416155   cat conftest.err >&5
    15965    echo "$as_me:15965: \$? = $ac_status" >&5
     16156   echo "$as_me:16156: \$? = $ac_status" >&5
    1596616157   if (exit $ac_status) && test -s "$ac_outfile"; then
    1596716158     # The compiler can only warn and ignore the option if not recognized
     
    1622716418   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1622816419   -e 's:$: $lt_compiler_flag:'`
    16229    (eval echo "\"\$as_me:16229: $lt_compile\"" >&5)
     16420   (eval echo "\"\$as_me:16420: $lt_compile\"" >&5)
    1623016421   (eval "$lt_compile" 2>conftest.err)
    1623116422   ac_status=$?
    1623216423   cat conftest.err >&5
    16233    echo "$as_me:16233: \$? = $ac_status" >&5
     16424   echo "$as_me:16424: \$? = $ac_status" >&5
    1623416425   if (exit $ac_status) && test -s "$ac_outfile"; then
    1623516426     # The compiler can only warn and ignore the option if not recognized
     
    1633116522   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1633216523   -e 's:$: $lt_compiler_flag:'`
    16333    (eval echo "\"\$as_me:16333: $lt_compile\"" >&5)
     16524   (eval echo "\"\$as_me:16524: $lt_compile\"" >&5)
    1633416525   (eval "$lt_compile" 2>out/conftest.err)
    1633516526   ac_status=$?
    1633616527   cat out/conftest.err >&5
    16337    echo "$as_me:16337: \$? = $ac_status" >&5
     16528   echo "$as_me:16528: \$? = $ac_status" >&5
    1633816529   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1633916530   then
     
    1914619337
    1914719338
     19339depcc="$CC"   am_compiler_list=
     19340
     19341echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     19342echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     19343if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     19344  echo $ECHO_N "(cached) $ECHO_C" >&6
     19345else
     19346  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     19347  # We make a subdir and do the tests there.  Otherwise we can end up
     19348  # making bogus files that we don't know about and never remove.  For
     19349  # instance it was reported that on HP-UX the gcc test will end up
     19350  # making a dummy file named `D' -- because `-MD' means `put the output
     19351  # in D'.
     19352  mkdir conftest.dir
     19353  # Copy depcomp to subdir because otherwise we won't find it if we're
     19354  # using a relative directory.
     19355  cp "$am_depcomp" conftest.dir
     19356  cd conftest.dir
     19357  # We will build objects and dependencies in a subdirectory because
     19358  # it helps to detect inapplicable dependency modes.  For instance
     19359  # both Tru64's cc and ICC support -MD to output dependencies as a
     19360  # side effect of compilation, but ICC will put the dependencies in
     19361  # the current directory while Tru64 will put them in the object
     19362  # directory.
     19363  mkdir sub
     19364
     19365  am_cv_CC_dependencies_compiler_type=none
     19366  if test "$am_compiler_list" = ""; then
     19367     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     19368  fi
     19369  for depmode in $am_compiler_list; do
     19370    # Setup a source with many dependencies, because some compilers
     19371    # like to wrap large dependency lists on column 80 (with \), and
     19372    # we should not choose a depcomp mode which is confused by this.
     19373    #
     19374    # We need to recreate these files for each test, as the compiler may
     19375    # overwrite some of them when testing with obscure command lines.
     19376    # This happens at least with the AIX C compiler.
     19377    : > sub/conftest.c
     19378    for i in 1 2 3 4 5 6; do
     19379      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     19380      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     19381      # Solaris 8's {/usr,}/bin/sh.
     19382      touch sub/conftst$i.h
     19383    done
     19384    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     19385
     19386    case $depmode in
     19387    nosideeffect)
     19388      # after this tag, mechanisms are not by side-effect, so they'll
     19389      # only be used when explicitly requested
     19390      if test "x$enable_dependency_tracking" = xyes; then
     19391        continue
     19392      else
     19393        break
     19394      fi
     19395      ;;
     19396    none) break ;;
     19397    esac
     19398    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     19399    # mode.  It turns out that the SunPro C++ compiler does not properly
     19400    # handle `-M -o', and we need to detect this.
     19401    if depmode=$depmode \
     19402       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     19403       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     19404       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     19405         >/dev/null 2>conftest.err &&
     19406       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     19407       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     19408       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     19409      # icc doesn't choke on unknown options, it will just issue warnings
     19410      # or remarks (even with -Werror).  So we grep stderr for any message
     19411      # that says an option was ignored or not supported.
     19412      # When given -MP, icc 7.0 and 7.1 complain thusly:
     19413      #   icc: Command line warning: ignoring option '-M'; no argument required
     19414      # The diagnosis changed in icc 8.0:
     19415      #   icc: Command line remark: option '-MP' not supported
     19416      if (grep 'ignoring option' conftest.err ||
     19417          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     19418        am_cv_CC_dependencies_compiler_type=$depmode
     19419        break
     19420      fi
     19421    fi
     19422  done
     19423
     19424  cd ..
     19425  rm -rf conftest.dir
     19426else
     19427  am_cv_CC_dependencies_compiler_type=none
     19428fi
     19429
     19430fi
     19431echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     19432echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     19433CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     19434
     19435
     19436
     19437if
     19438  test "x$enable_dependency_tracking" != xno \
     19439  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     19440  am__fastdepCC_TRUE=
     19441  am__fastdepCC_FALSE='#'
     19442else
     19443  am__fastdepCC_TRUE='#'
     19444  am__fastdepCC_FALSE=
     19445fi
     19446
     19447
    1914819448
    1914919449echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     
    1967319973#############################################################################
    1967419974
    19675 lapack_source_files='dlae2.f dlaev2.f dlamch.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f'
     19975lapack_source_files='dlae2.f dlaev2.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f iparmq.f'
    1967619976for file in $lapack_source_files; do
    1967719977            ac_config_links="$ac_config_links $file:LAPACK/SRC/$file"
    1967819978
    1967919979done
     19980          ac_config_links="$ac_config_links dlamch.f:LAPACK/INSTALL/dlamch.f"
     19981
    1968019982
    1968119983          ac_config_files="$ac_config_files Makefile"
     
    1982920131   { (exit 1); exit 1; }; }
    1983020132fi
     20133if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
     20134  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
     20135Usually this means the macro was only invoked conditionally." >&5
     20136echo "$as_me: error: conditional \"AMDEP\" was never defined.
     20137Usually this means the macro was only invoked conditionally." >&2;}
     20138   { (exit 1); exit 1; }; }
     20139fi
     20140if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     20141  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
     20142Usually this means the macro was only invoked conditionally." >&5
     20143echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
     20144Usually this means the macro was only invoked conditionally." >&2;}
     20145   { (exit 1); exit 1; }; }
     20146fi
    1983120147if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
    1983220148  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
     
    1984020156Usually this means the macro was only invoked conditionally." >&5
    1984120157echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
    19842 Usually this means the macro was only invoked conditionally." >&2;}
    19843    { (exit 1); exit 1; }; }
    19844 fi
    19845 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    19846   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
    19847 Usually this means the macro was only invoked conditionally." >&5
    19848 echo "$as_me: error: conditional \"AMDEP\" was never defined.
    19849 Usually this means the macro was only invoked conditionally." >&2;}
    19850    { (exit 1); exit 1; }; }
    19851 fi
    19852 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    19853   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
    19854 Usually this means the macro was only invoked conditionally." >&5
    19855 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
    1985620158Usually this means the macro was only invoked conditionally." >&2;}
    1985720159   { (exit 1); exit 1; }; }
     
    2030820610  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    2030920611  "$file" ) CONFIG_LINKS="$CONFIG_LINKS $file:LAPACK/SRC/$file" ;;
     20612  "dlamch.f" ) CONFIG_LINKS="$CONFIG_LINKS dlamch.f:LAPACK/INSTALL/dlamch.f" ;;
    2031020613  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2031120614  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2040220705s,@build_vendor@,$build_vendor,;t t
    2040320706s,@build_os@,$build_os,;t t
     20707s,@CDEFS@,$CDEFS,;t t
     20708s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     20709s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t
     20710s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t
     20711s,@CC@,$CC,;t t
     20712s,@CFLAGS@,$CFLAGS,;t t
     20713s,@LDFLAGS@,$LDFLAGS,;t t
     20714s,@CPPFLAGS@,$CPPFLAGS,;t t
     20715s,@ac_ct_CC@,$ac_ct_CC,;t t
     20716s,@EXEEXT@,$EXEEXT,;t t
     20717s,@OBJEXT@,$OBJEXT,;t t
     20718s,@MPICC@,$MPICC,;t t
    2040420719s,@ADD_FFLAGS@,$ADD_FFLAGS,;t t
    2040520720s,@DBG_FFLAGS@,$DBG_FFLAGS,;t t
     
    2040720722s,@F77@,$F77,;t t
    2040820723s,@FFLAGS@,$FFLAGS,;t t
    20409 s,@LDFLAGS@,$LDFLAGS,;t t
    2041020724s,@ac_ct_F77@,$ac_ct_F77,;t t
    20411 s,@EXEEXT@,$EXEEXT,;t t
    20412 s,@OBJEXT@,$OBJEXT,;t t
    2041320725s,@MPIF77@,$MPIF77,;t t
    2041420726s,@EGREP@,$EGREP,;t t
     
    2043520747s,@am__tar@,$am__tar,;t t
    2043620748s,@am__untar@,$am__untar,;t t
     20749s,@DEPDIR@,$DEPDIR,;t t
     20750s,@am__include@,$am__include,;t t
     20751s,@am__quote@,$am__quote,;t t
     20752s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
     20753s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
     20754s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
     20755s,@CCDEPMODE@,$CCDEPMODE,;t t
     20756s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
     20757s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    2043720758s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
    2043820759s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
     
    2045020771s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t
    2045120772s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t
    20452 s,@CC@,$CC,;t t
    20453 s,@CFLAGS@,$CFLAGS,;t t
    20454 s,@CPPFLAGS@,$CPPFLAGS,;t t
    20455 s,@ac_ct_CC@,$ac_ct_CC,;t t
    20456 s,@DEPDIR@,$DEPDIR,;t t
    20457 s,@am__include@,$am__include,;t t
    20458 s,@am__quote@,$am__quote,;t t
    20459 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
    20460 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
    20461 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
    20462 s,@CCDEPMODE@,$CCDEPMODE,;t t
    20463 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
    20464 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
    2046520773s,@host@,$host,;t t
    2046620774s,@host_cpu@,$host_cpu,;t t
  • ThirdParty/Lapack/trunk/configure.ac

    r94 r141  
    5454#############################################################################
    5555
    56 lapack_source_files='dlae2.f dlaev2.f dlamch.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f'
     56lapack_source_files='dlae2.f dlaev2.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f iparmq.f'
    5757for file in $lapack_source_files; do
    5858  AC_CONFIG_LINKS($file:LAPACK/SRC/$file)
    5959done
     60AC_CONFIG_LINKS(dlamch.f:LAPACK/INSTALL/dlamch.f)
    6061
    6162AC_CONFIG_FILES([Makefile])
  • ThirdParty/Lapack/trunk/get.Lapack

    r70 r141  
    1313rm -f lapack.tgz
    1414echo "Downloading the source code from www.netlib.org..."
    15 wget ftp://www.netlib.org/lapack/lapack.tgz
     15wget ftp://www.netlib.org/lapack/lapack-lite-3.1.0.tgz
    1616
    1717echo "Uncompressing the tarball..."
    18 gunzip -f lapack.tgz
     18gunzip -f lapack-lite-3.1.0.tgz
    1919
    2020echo "Unpacking the source code..."
    21 tar xf lapack.tar LAPACK/SRC
     21tar xf lapack-lite-3.1.0.tar lapack-3.1.0/SRC lapack-3.1.0/INSTALL/dlamch.f
     22rm -rf LAPACK
     23mv lapack-3.1.0 LAPACK
    2224
    2325echo "Deleting the tar file..."
    24 rm lapack.tar
     26rm lapack-lite-3.1.0.tar
    2527
    2628echo " "
Note: See TracChangeset for help on using the changeset viewer.