Changeset 2315


Ignore:
Timestamp:
Jun 19, 2011 10:38:54 AM (8 years ago)
Author:
stefan
Message:

sync with trunk rev2312

Location:
ThirdParty/Mumps/stable/1.4
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/stable/1.4

  • ThirdParty/Mumps/stable/1.4/INSTALL.MUMPS

    r1500 r2315  
    2828If you don't have wget available, follow those instructions:
    2929
    30 Check the Mumps home page for the most recent version number (say, 4.9).
    31 You may then download
     30Download Mumps 4.10:
    3231
    33 http://mumps.enseeiht.fr/MUMPS_4.9.tar.gz (or try
    34 http://graal.ens-lyon.fr/MUMPS/MUMPS_4.9.tar.gz if first URL doesn't work)
     32http://mumps.enseeiht.fr/MUMPS_4.10.0.tar.gz (or try
     33http://graal.ens-lyon.fr/MUMPS/MUMPS_4.10.0.tar.gz if first URL doesn't work)
    3534
    3635and unpack it in this directory:
    3736
    38 gunzip MUMPS_4.9.tar.gz
    39 tar xf MUMPS_4.9.tar
     37gunzip MUMPS_4.10.0.tar.gz
     38tar xf MUMPS_4.10.0.tar
    4039
    41 Then, rename the MUMPS_4.9 directory just to be MUMPS:
     40Then, rename the MUMPS_4.10.0 directory just to be MUMPS:
    4241
    43 mv MUMPS_4.9 MUMPS
    44 
    45 Further, you may apply a patch that fixes problems with matrices of size 1:
    46 
    47 patch -p0 < mumps.patch
     42mv MUMPS_4.10.0 MUMPS
    4843
    4944**********************************************************************
  • ThirdParty/Mumps/stable/1.4/Makefile.am

    r2008 r2315  
    3131        $(MUMPSDIR)/src/dmumps_part8.F \
    3232        $(MUMPSDIR)/src/mumps_part9.F \
     33        $(MUMPSDIR)/src/mumps_sol_es.F \
    3334        $(MUMPSDIR)/src/mumps_c.c \
    3435        $(MUMPSDIR)/src/mumps_common.c\
     
    7879dmumps_part5.lo dmumps_ooc.lo: mumps_static_mapping.lo
    7980
    80 dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo
     81dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo mumps_sol_es.lo
     82
     83# actually only dmumps_part8.lo depends on mumps_sol_es.lo, but having only one target
     84# on the left side makes automake think that we provide a rule how to build this target
     85dmumps_part2.lo dmumps_part8.lo: mumps_sol_es.lo
    8186
    8287# Module files that need to be deleted
     
    99104pkgconfiglib_DATA = coinmumps.pc
    100105
    101 if COIN_HAS_PKGCONFIG
    102 addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Mumps
    103        
    104 install-data-hook:
    105         @$(mkdir_p) "$(addlibsdir)"
    106         PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    107         $(PKG_CONFIG) --libs coinmumps > $(addlibsdir)/mumps_addlibs.txt
    108 
    109 uninstall-hook:
    110         rm -f $(addlibsdir)/mumps_addlibs.txt
    111 endif
    112 
    113 test: $(libampl)
     106test:
    114107        @echo "No test available for Mumps."
    115108
  • ThirdParty/Mumps/stable/1.4/Makefile.in

    r2066 r2315  
    5959        $(top_srcdir)/configure config.guess config.sub depcomp \
    6060        install-sh ltmain.sh missing
    61 @HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    62 @HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     61@HAVE_EXTERNALS_TRUE@am__append_1 = Dependencies
     62@HAVE_EXTERNALS_TRUE@am__append_2 = .Dependencies-stamp
    6363subdir = .
    6464ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    8787        dmumps_ooc.lo dmumps_part1.lo dmumps_part2.lo dmumps_part3.lo \
    8888        dmumps_part4.lo dmumps_part5.lo dmumps_part6.lo \
    89         dmumps_part7.lo dmumps_part8.lo mumps_part9.lo mumps_c.lo \
    90         mumps_common.lo mumps_orderings.lo mumps_io.lo \
     89        dmumps_part7.lo dmumps_part8.lo mumps_part9.lo mumps_sol_es.lo \
     90        mumps_c.lo mumps_common.lo mumps_orderings.lo mumps_io.lo \
    9191        mumps_io_basic.lo mumps_io_thread.lo mumps_io_err.lo \
    9292        mumps_size.lo mpi.lo mpic.lo elapse.lo
     
    326326        $(MUMPSDIR)/src/dmumps_part8.F \
    327327        $(MUMPSDIR)/src/mumps_part9.F \
     328        $(MUMPSDIR)/src/mumps_sol_es.F \
    328329        $(MUMPSDIR)/src/mumps_c.c \
    329330        $(MUMPSDIR)/src/mumps_common.c\
     
    358359pkgconfiglibdir = $(libdir)/pkgconfig
    359360pkgconfiglib_DATA = coinmumps.pc
    360 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/Mumps
    361361
    362362########################################################################
     
    515515mumps_part9.lo: $(MUMPSDIR)/src/mumps_part9.F
    516516        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) -c -o mumps_part9.lo `test -f '$(MUMPSDIR)/src/mumps_part9.F' || echo '$(srcdir)/'`$(MUMPSDIR)/src/mumps_part9.F
     517
     518mumps_sol_es.lo: $(MUMPSDIR)/src/mumps_sol_es.F
     519        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FFLAGS) $(FFLAGS) -c -o mumps_sol_es.lo `test -f '$(MUMPSDIR)/src/mumps_sol_es.F' || echo '$(srcdir)/'`$(MUMPSDIR)/src/mumps_sol_es.F
    517520.F.f:
    518521        $(F77COMPILE) -F $<
     
    873876        @echo "This command is intended for maintainers to use"
    874877        @echo "it deletes files that may require special tools to rebuild."
    875 @COIN_HAS_PKGCONFIG_FALSE@install-data-hook:
    876 @COIN_HAS_PKGCONFIG_FALSE@uninstall-hook:
    877878clean: clean-am
    878879
     
    899900install-data-am: install-pkgconfiglibDATA \
    900901        install-thirdpartyincludeHEADERS
    901         @$(NORMAL_INSTALL)
    902         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
    903902
    904903install-exec-am: install-libLTLIBRARIES
     
    932931uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
    933932        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS
    934         @$(NORMAL_INSTALL)
    935         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
    936933
    937934.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
     
    941938        distclean-libtool distclean-tags distcleancheck distdir \
    942939        distuninstallcheck dvi dvi-am html html-am info info-am \
    943         install install-am install-data install-data-am \
    944         install-data-hook install-exec install-exec-am install-info \
    945         install-info-am install-libLTLIBRARIES install-man \
    946         install-pkgconfiglibDATA install-strip \
    947         install-thirdpartyincludeHEADERS installcheck installcheck-am \
    948         installdirs maintainer-clean maintainer-clean-generic \
    949         mostlyclean mostlyclean-compile mostlyclean-generic \
    950         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
    951         uninstall-am uninstall-hook uninstall-info-am \
     940        install install-am install-data install-data-am install-exec \
     941        install-exec-am install-info install-info-am \
     942        install-libLTLIBRARIES install-man install-pkgconfiglibDATA \
     943        install-strip install-thirdpartyincludeHEADERS installcheck \
     944        installcheck-am installdirs maintainer-clean \
     945        maintainer-clean-generic mostlyclean mostlyclean-compile \
     946        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     947        tags uninstall uninstall-am uninstall-info-am \
    952948        uninstall-libLTLIBRARIES uninstall-pkgconfiglibDATA \
    953949        uninstall-thirdpartyincludeHEADERS
     
    978974dmumps_part5.lo dmumps_ooc.lo: mumps_static_mapping.lo
    979975
    980 dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo
    981 
    982 @COIN_HAS_PKGCONFIG_TRUE@install-data-hook:
    983 @COIN_HAS_PKGCONFIG_TRUE@       @$(mkdir_p) "$(addlibsdir)"
    984 @COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    985 @COIN_HAS_PKGCONFIG_TRUE@       $(PKG_CONFIG) --libs coinmumps > $(addlibsdir)/mumps_addlibs.txt
    986 
    987 @COIN_HAS_PKGCONFIG_TRUE@uninstall-hook:
    988 @COIN_HAS_PKGCONFIG_TRUE@       rm -f $(addlibsdir)/mumps_addlibs.txt
    989 
    990 test: $(libampl)
     976dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo mumps_sol_es.lo
     977
     978# actually only dmumps_part8.lo depends on mumps_sol_es.lo, but having only one target
     979# on the left side makes automake think that we provide a rule how to build this target
     980dmumps_part2.lo dmumps_part8.lo: mumps_sol_es.lo
     981
     982test:
    991983        @echo "No test available for Mumps."
    992984
     
    10301022@MAINTAINER_MODE_TRUE@  cp $< $@
    10311023
    1032 # Take care of updating externals (if Externals file exists)
    1033 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: .Externals-stamp
    1034 
    1035 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@.Externals-stamp: $(srcdir)/Externals
    1036 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); svn propset svn:externals -F Externals .
    1037 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     touch .Externals-stamp
    1038 
    1039 @HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Externals-stamp
     1024# Take care of updating externals (if Dependencies file exists)
     1025@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@$(top_builddir)/Makefile: .Dependencies-stamp
     1026
     1027@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@.Dependencies-stamp: $(srcdir)/Dependencies
     1028@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); BuildTools/set_externals Dependencies
     1029@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     touch .Dependencies-stamp
     1030
     1031@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Dependencies-stamp
    10401032@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); svn update
    10411033
  • ThirdParty/Mumps/stable/1.4/coinmumps-uninstalled.pc.in

    r2066 r2315  
    55Description: Multifrontal Massively Parallel sparse direct Solver
    66URL: https://projects.coin-or.org/BuildTools
    7 Version: 4.9.2
     7Version: @PACKAGE_VERSION@
    88Libs: ${libdir}/libcoinmumps.la @MUMPS_PCLIBS@
    99Cflags: -I@abs_source_dir@/MUMPS/libseq -I@abs_source_dir@/MUMPS/include
  • ThirdParty/Mumps/stable/1.4/coinmumps.pc.in

    r2066 r2315  
    77Description: Multifrontal Massively Parallel sparse direct Solver
    88URL: https://projects.coin-or.org/BuildTools
    9 Version: 4.9.2
     9Version: @PACKAGE_VERSION@
    1010Libs: -L${libdir} -lcoinmumps @MUMPS_PCLIBS@
    1111Cflags: -I${includedir}
  • ThirdParty/Mumps/stable/1.4/configure

    r2066 r2315  
    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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion MUMPS_SVN_REV build build_cpu build_vendor build_os COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED MUMPS_CFLAGS MUMPS_LIBS MUMPS_PCLIBS MUMPS_PCREQUIRES MUMPS_DEPENDENCIES MUMPS_CFLAGS_INSTALLED MUMPS_LIBS_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR 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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion MUMPS_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 FLIBS CPP EGREP MY_DEFS LN_S 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 ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED MUMPS_CFLAGS MUMPS_LIBS MUMPS_PCLIBS MUMPS_PCREQUIRES MUMPS_DEPENDENCIES MUMPS_CFLAGS_INSTALLED MUMPS_LIBS_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10761076  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    10771077  --enable-debug          compile all projects with debug options tests
    1078   --enable-debug-mumps compile this project (Mumps) with debug options
     1078                          (implies --disable-shared)
     1079  --enable-debug-mumps compile project Mumps with debug compiler flags
    10791080  --enable-doscompile     Under Cygwin, compile so that executables run under
    10801081                          DOS. Set to mingw to use gcc/g++/ld with
     
    10931094                          optimize for fast installation [default=yes]
    10941095  --disable-libtool-lock  avoid locking (might break parallel builds)
    1095   --enable-pkg-config     use pkg-config if available (default is yes)
     1096  --disable-pkg-config    disable use of pkg-config (if available)
     1097  --disable-interpackage-dependencies
     1098                          disables deduction of Makefile dependencies from
     1099                          package linker flags
    10961100
    10971101Optional Packages:
     
    11051109  --with-tags[=TAGS]
    11061110                          include additional configurations [automatic]
    1107   --with-blas             specify BLAS library (or BUILD for compilation)
     1111  --with-blas             specify BLAS library (or BUILD to enforce use of
     1112                          ThirdParty/Blas)
    11081113
    11091114  --with-coin-instdir     prefix of installation directory for precompiled
     
    16291634coin_projectdir=yes
    16301635
    1631 # Set the project's version number
    1632 if test "xMumps" != x; then
     1636# Set the project's version numbers
     1637
    16331638
    16341639cat >>confdefs.h <<_ACEOF
     
    16361641_ACEOF
    16371642
    1638 fi
    1639 
    1640 # Set the project's SVN revision number. The complicated sed expression
    1641 # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
    1642 # as a single number.
    1643 # Extract the first word of "svnversion", so it can be a program name with args.
     1643
     1644  coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'`
     1645  coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`
     1646  coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`
     1647  if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi
     1648  if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi
     1649  if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi
     1650
     1651cat >>confdefs.h <<_ACEOF
     1652#define MUMPS_VERSION_MAJOR $coin_majorver
     1653_ACEOF
     1654
     1655
     1656cat >>confdefs.h <<_ACEOF
     1657#define MUMPS_VERSION_MINOR $coin_minorver
     1658_ACEOF
     1659
     1660
     1661cat >>confdefs.h <<_ACEOF
     1662#define MUMPS_VERSION_RELEASE $coin_releasever
     1663_ACEOF
     1664
     1665
     1666  # We use the following variable to have a string with the upper case
     1667  # version of the project name
     1668  COIN_PRJCT=MUMPS
     1669
     1670  # Set the project's SVN revision number. The complicated sed expression
     1671  # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
     1672  # as a single number.
     1673  # Extract the first word of "svnversion", so it can be a program name with args.
    16441674set dummy svnversion; ac_word=$2
    16451675echo "$as_me:$LINENO: checking for $ac_word" >&5
     
    16771707fi
    16781708
    1679 if test "x$have_svnversion" = xyes && test "xMumps" != x; then
    1680 
    1681   svn_rev_tmp=`cd $srcdir/$coin_has_mumps ; svnversion`
    1682   MUMPS_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
    1683   if test $MUMPS_SVN_REV != exported; then
     1709  if test "x$have_svnversion" = xyes; then
     1710
     1711    svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null`
     1712    if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x; then
     1713      MUMPS_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
    16841714
    16851715cat >>confdefs.h <<_ACEOF
     
    16871717_ACEOF
    16881718
     1719    fi
    16891720  fi
    1690 fi
     1721
     1722
    16911723
    16921724# Capture libtool library version, if given.
     1725
    16931726
    16941727
     
    17921825  case "${enableval}" in
    17931826    yes) coin_debug_compile=true
    1794          enable_shared=no
    17951827         ;;
    17961828    no)  coin_debug_compile=false
     
    18471879#define COIN_MUMPS_CHECKLEVEL $coin_mumps_checklevel
    18481880_ACEOF
    1849 
    1850 
    1851 # We use the following variable to have a string with the upper case
    1852 # version of the project name
    1853 COIN_PRJCT=MUMPS
    18541881
    18551882
     
    19321959  esac
    19331960fi
    1934 
    1935 # add automake conditional so we can recognize cl compiler in makefile
    1936 coin_cc_is_cl=false
    1937 if test x"$CXX" != x; then
    1938   case "$CXX" in
    1939     cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    1940       coin_cc_is_cl=true
    1941       ;;
    1942   esac
    1943 fi
    1944 
    1945 
    1946 if test $coin_cc_is_cl = true; then
    1947   COIN_CC_IS_CL_TRUE=
    1948   COIN_CC_IS_CL_FALSE='#'
    1949 else
    1950   COIN_CC_IS_CL_TRUE='#'
    1951   COIN_CC_IS_CL_FALSE=
    1952 fi
    1953 
    19541961
    19551962
     
    27712778CFLAGS="$save_cflags"
    27722779
     2780# add automake conditional so we can recognize cl compiler in makefile
     2781coin_cc_is_cl=false
     2782case "$CC" in
     2783  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     2784    coin_cc_is_cl=true
     2785    ;;
     2786esac
     2787
     2788
     2789if test $coin_cc_is_cl = true; then
     2790  COIN_CC_IS_CL_TRUE=
     2791  COIN_CC_IS_CL_FALSE='#'
     2792else
     2793  COIN_CC_IS_CL_TRUE='#'
     2794  COIN_CC_IS_CL_FALSE=
     2795fi
     2796
     2797
    27732798# Check if a project specific CFLAGS variable has been set
    27742799if test x$COIN_PRJCT != x; then
     
    27932818        coin_opt_cflags="-O3"
    27942819        coin_add_cflags="-pipe"
    2795         coin_dbg_cflags="-g"
    2796         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2820        coin_dbg_cflags="-g -O0"
     2821        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    27972822        case $build in
    27982823          *-darwin*)
     
    30593084esac
    30603085
     3086# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     3087if test x$COIN_PRJCT != x; then
     3088  CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD"
     3089fi
     3090
    30613091# Try if CFLAGS works
    30623092save_CFLAGS="$CFLAGS"
     
    32083238       coin_f77_comps="ifort fl32 compile_f2c"
    32093239     else
    3210        coin_f77_comps="gfortran g77 ifort fl32 compile_f2c"
     3240       coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c"
    32113241     fi ;;
    32123242  *-*-solaris*)
    3213      coin_f77_comps="f95 f90 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
     3243     coin_f77_comps="f95 f90 g95 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
    32143244  *-linux-gnu*)
    3215      coin_f77_comps="gfortran fort77 f77 g77 pgf90 pgf77 ifort ifc frt af77 xlf_r" ;;
    3216   *) coin_f77_comps="xlf_r fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     3245     coin_f77_comps="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77 xlf_r" ;;
     3246  *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;;
    32173247 esac
    32183248
     
    32503280{ echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5
    32513281echo "$as_me: Trying to determine Fortran compiler name" >&6;}
    3252 for ac_prog in $coin_f77_comps
    3253 do
    3254   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3255 set dummy $ac_prog; ac_word=$2
     3282if test -n "$ac_tool_prefix"; then
     3283  for ac_prog in $coin_f77_comps
     3284  do
     3285    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3286set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    32563287echo "$as_me:$LINENO: checking for $ac_word" >&5
    32573288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     
    32693300  for ac_exec_ext in '' $ac_executable_extensions; do
    32703301  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3271     ac_cv_prog_F77="$ac_prog"
     3302    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    32723303    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32733304    break 2
     
    32873318fi
    32883319
    3289   test -n "$F77" && break
     3320    test -n "$F77" && break
     3321  done
     3322fi
     3323if test -z "$F77"; then
     3324  ac_ct_F77=$F77
     3325  for ac_prog in $coin_f77_comps
     3326do
     3327  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3328set dummy $ac_prog; ac_word=$2
     3329echo "$as_me:$LINENO: checking for $ac_word" >&5
     3330echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3331if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     3332  echo $ECHO_N "(cached) $ECHO_C" >&6
     3333else
     3334  if test -n "$ac_ct_F77"; then
     3335  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     3336else
     3337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3338for as_dir in $PATH
     3339do
     3340  IFS=$as_save_IFS
     3341  test -z "$as_dir" && as_dir=.
     3342  for ac_exec_ext in '' $ac_executable_extensions; do
     3343  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3344    ac_cv_prog_ac_ct_F77="$ac_prog"
     3345    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3346    break 2
     3347  fi
    32903348done
    3291 test -n "$F77" || F77="unavailable"
     3349done
     3350
     3351fi
     3352fi
     3353ac_ct_F77=$ac_cv_prog_ac_ct_F77
     3354if test -n "$ac_ct_F77"; then
     3355  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     3356echo "${ECHO_T}$ac_ct_F77" >&6
     3357else
     3358  echo "$as_me:$LINENO: result: no" >&5
     3359echo "${ECHO_T}no" >&6
     3360fi
     3361
     3362  test -n "$ac_ct_F77" && break
     3363done
     3364test -n "$ac_ct_F77" || ac_ct_F77="unavailable"
     3365
     3366  F77=$ac_ct_F77
     3367fi
    32923368
    32933369
     
    33853461
    33863462# Provide some information about the compiler.
    3387 echo "$as_me:3387:" \
     3463echo "$as_me:3463:" \
    33883464     "checking for Fortran 77 compiler version" >&5
    33893465ac_compiler=`set X $ac_compile; echo $2`
     
    35533629    coin_opt_fflags="-O3"
    35543630    coin_add_fflags="-pipe"
    3555     coin_dbg_fflags="-g"
     3631    coin_dbg_fflags="-g -O0"
    35563632    case $enable_doscompile in
    35573633      mingw)
     
    39033979
    39043980# Find out how to call Fortran from C and determine Fortran runtime libraries
     3981
     3982# get FLIBS
    39053983ac_ext=f
    39063984ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     
    39544032ac_save_FFLAGS=$FFLAGS
    39554033FFLAGS="$FFLAGS $ac_verb"
    3956 (eval echo $as_me:3956: \"$ac_link\") >&5
     4034(eval echo $as_me:4034: \"$ac_link\") >&5
    39574035ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39584036echo "$ac_f77_v_output" >&5
     
    40324110ac_save_FFLAGS=$FFLAGS
    40334111FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4034 (eval echo $as_me:4034: \"$ac_link\") >&5
     4112(eval echo $as_me:4112: \"$ac_link\") >&5
    40354113ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    40364114echo "$ac_f77_v_output" >&5
     
    41984276
    41994277
    4200 ac_ext=f
    4201 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4202 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4203 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4204 
    4205 ac_ext=f
    4206 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4207 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4208 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4209 
    4210 echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5
    4211 echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6
    4212 if test "${ac_cv_f77_dummy_main+set}" = set; then
    4213   echo $ECHO_N "(cached) $ECHO_C" >&6
    4214 else
    4215   ac_f77_dm_save_LIBS=$LIBS
    4216  LIBS="$LIBS $FLIBS"
    4217  ac_fortran_dm_var=F77_DUMMY_MAIN
    4218  ac_ext=c
     4278ac_ext=c
    42194279ac_cpp='$CPP $CPPFLAGS'
    42204280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    42224282ac_compiler_gnu=$ac_cv_c_compiler_gnu
    42234283
    4224  # First, try linking without a dummy main:
    4225  cat >conftest.$ac_ext <<_ACEOF
    4226 /* confdefs.h.  */
    4227 _ACEOF
    4228 cat confdefs.h >>conftest.$ac_ext
    4229 cat >>conftest.$ac_ext <<_ACEOF
    4230 /* end confdefs.h.  */
    4231 
    4232 #ifdef F77_DUMMY_MAIN
    4233 
    4234 #  ifdef __cplusplus
    4235      extern "C"
    4236 #  endif
    4237    int F77_DUMMY_MAIN() { return 1; }
    4238 
    4239 #endif
    4240 int
    4241 main ()
    4242 {
    4243 
    4244   ;
    4245   return 0;
    4246 }
    4247 _ACEOF
    4248 rm -f conftest.$ac_objext conftest$ac_exeext
    4249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4250   (eval $ac_link) 2>conftest.er1
    4251   ac_status=$?
    4252   grep -v '^ *+' conftest.er1 >conftest.err
    4253   rm -f conftest.er1
    4254   cat conftest.err >&5
    4255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4256   (exit $ac_status); } &&
    4257          { ac_try='test -z "$ac_c_werror_flag"
    4258                          || test ! -s conftest.err'
    4259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4260   (eval $ac_try) 2>&5
    4261   ac_status=$?
    4262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4263   (exit $ac_status); }; } &&
    4264          { ac_try='test -s conftest$ac_exeext'
    4265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4266   (eval $ac_try) 2>&5
    4267   ac_status=$?
    4268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4269   (exit $ac_status); }; }; then
    4270   ac_cv_fortran_dummy_main=none
    4271 else
    4272   echo "$as_me: failed program was:" >&5
    4273 sed 's/^/| /' conftest.$ac_ext >&5
    4274 
    4275 ac_cv_fortran_dummy_main=unknown
    4276 fi
    4277 rm -f conftest.err conftest.$ac_objext \
    4278       conftest$ac_exeext conftest.$ac_ext
    4279 
    4280  if test $ac_cv_fortran_dummy_main = unknown; then
    4281    for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
    4282      cat >conftest.$ac_ext <<_ACEOF
    4283 /* confdefs.h.  */
    4284 _ACEOF
    4285 cat confdefs.h >>conftest.$ac_ext
    4286 cat >>conftest.$ac_ext <<_ACEOF
    4287 /* end confdefs.h.  */
    4288 #define $ac_fortran_dm_var $ac_func
    4289 #ifdef F77_DUMMY_MAIN
    4290 
    4291 #  ifdef __cplusplus
    4292      extern "C"
    4293 #  endif
    4294    int F77_DUMMY_MAIN() { return 1; }
    4295 
    4296 #endif
    4297 int
    4298 main ()
    4299 {
    4300 
    4301   ;
    4302   return 0;
    4303 }
    4304 _ACEOF
    4305 rm -f conftest.$ac_objext conftest$ac_exeext
    4306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4307   (eval $ac_link) 2>conftest.er1
    4308   ac_status=$?
    4309   grep -v '^ *+' conftest.er1 >conftest.err
    4310   rm -f conftest.er1
    4311   cat conftest.err >&5
    4312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4313   (exit $ac_status); } &&
    4314          { ac_try='test -z "$ac_c_werror_flag"
    4315                          || test ! -s conftest.err'
    4316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4317   (eval $ac_try) 2>&5
    4318   ac_status=$?
    4319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4320   (exit $ac_status); }; } &&
    4321          { ac_try='test -s conftest$ac_exeext'
    4322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4323   (eval $ac_try) 2>&5
    4324   ac_status=$?
    4325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4326   (exit $ac_status); }; }; then
    4327   ac_cv_fortran_dummy_main=$ac_func; break
    4328 else
    4329   echo "$as_me: failed program was:" >&5
    4330 sed 's/^/| /' conftest.$ac_ext >&5
    4331 
    4332 fi
    4333 rm -f conftest.err conftest.$ac_objext \
    4334       conftest$ac_exeext conftest.$ac_ext
    4335    done
    4336  fi
    4337  ac_ext=f
    4338 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4339 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4340 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4341  ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
    4342  rm -f conftest*
    4343  LIBS=$ac_f77_dm_save_LIBS
    4344 
    4345 fi
    4346 echo "$as_me:$LINENO: result: $ac_cv_f77_dummy_main" >&5
    4347 echo "${ECHO_T}$ac_cv_f77_dummy_main" >&6
    4348 F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
    4349 if test "$F77_DUMMY_MAIN" != unknown; then
    4350   if test $F77_DUMMY_MAIN != none; then
    4351 
    4352 cat >>confdefs.h <<_ACEOF
    4353 #define F77_DUMMY_MAIN $F77_DUMMY_MAIN
    4354 _ACEOF
    4355 
    4356   if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
    4357 
    4358 cat >>confdefs.h <<\_ACEOF
    4359 #define FC_DUMMY_MAIN_EQ_F77 1
    4360 _ACEOF
    4361 
    4362   fi
    4363 fi
    4364 else
    4365   { { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails
    4366 See \`config.log' for more details." >&5
    4367 echo "$as_me: error: linking to Fortran libraries from C fails
    4368 See \`config.log' for more details." >&2;}
    4369    { (exit 1); exit 1; }; }
    4370 fi
    4371 
    4372 
    4373 ac_ext=f
    4374 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4375 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4376 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4377 
    4378 ac_ext=f
    4379 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4380 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4381 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4382 echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5
    4383 echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6
    4384 if test "${ac_cv_f77_mangling+set}" = set; then
    4385   echo $ECHO_N "(cached) $ECHO_C" >&6
    4386 else
    4387   cat >conftest.$ac_ext <<_ACEOF
    4388       subroutine foobar()
    4389       return
    4390       end
    4391       subroutine foo_bar()
    4392       return
    4393       end
    4394 _ACEOF
    4395 rm -f conftest.$ac_objext
    4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4397   (eval $ac_compile) 2>conftest.er1
    4398   ac_status=$?
    4399   grep -v '^ *+' conftest.er1 >conftest.err
    4400   rm -f conftest.er1
    4401   cat conftest.err >&5
    4402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4403   (exit $ac_status); } &&
    4404          { ac_try='test -z "$ac_f77_werror_flag"
    4405                          || test ! -s conftest.err'
    4406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4407   (eval $ac_try) 2>&5
    4408   ac_status=$?
    4409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4410   (exit $ac_status); }; } &&
    4411          { ac_try='test -s conftest.$ac_objext'
    4412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4413   (eval $ac_try) 2>&5
    4414   ac_status=$?
    4415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4416   (exit $ac_status); }; }; then
    4417   mv conftest.$ac_objext cfortran_test.$ac_objext
    4418 
    4419   ac_save_LIBS=$LIBS
    4420   LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
    4421 
    4422   ac_ext=c
    4423 ac_cpp='$CPP $CPPFLAGS'
    4424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4427   ac_success=no
    4428   for ac_foobar in foobar FOOBAR; do
    4429     for ac_underscore in "" "_"; do
    4430       ac_func="$ac_foobar$ac_underscore"
    4431       cat >conftest.$ac_ext <<_ACEOF
    4432 /* confdefs.h.  */
    4433 _ACEOF
    4434 cat confdefs.h >>conftest.$ac_ext
    4435 cat >>conftest.$ac_ext <<_ACEOF
    4436 /* end confdefs.h.  */
    4437 
    4438 /* Override any gcc2 internal prototype to avoid an error.  */
    4439 #ifdef __cplusplus
    4440 extern "C"
    4441 #endif
    4442 /* We use char because int might match the return type of a gcc2
    4443    builtin and then its argument prototype would still apply.  */
    4444 char $ac_func ();
    4445 #ifdef F77_DUMMY_MAIN
    4446 
    4447 #  ifdef __cplusplus
    4448      extern "C"
    4449 #  endif
    4450    int F77_DUMMY_MAIN() { return 1; }
    4451 
    4452 #endif
    4453 int
    4454 main ()
    4455 {
    4456 $ac_func ();
    4457   ;
    4458   return 0;
    4459 }
    4460 _ACEOF
    4461 rm -f conftest.$ac_objext conftest$ac_exeext
    4462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4463   (eval $ac_link) 2>conftest.er1
    4464   ac_status=$?
    4465   grep -v '^ *+' conftest.er1 >conftest.err
    4466   rm -f conftest.er1
    4467   cat conftest.err >&5
    4468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4469   (exit $ac_status); } &&
    4470          { ac_try='test -z "$ac_c_werror_flag"
    4471                          || test ! -s conftest.err'
    4472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4473   (eval $ac_try) 2>&5
    4474   ac_status=$?
    4475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4476   (exit $ac_status); }; } &&
    4477          { ac_try='test -s conftest$ac_exeext'
    4478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4479   (eval $ac_try) 2>&5
    4480   ac_status=$?
    4481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4482   (exit $ac_status); }; }; then
    4483   ac_success=yes; break 2
    4484 else
    4485   echo "$as_me: failed program was:" >&5
    4486 sed 's/^/| /' conftest.$ac_ext >&5
    4487 
    4488 fi
    4489 rm -f conftest.err conftest.$ac_objext \
    4490       conftest$ac_exeext conftest.$ac_ext
    4491     done
    4492   done
    4493   ac_ext=f
    4494 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4495 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4496 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4497 
    4498   if test "$ac_success" = "yes"; then
    4499      case $ac_foobar in
    4500         foobar)
    4501            ac_case=lower
    4502            ac_foo_bar=foo_bar
    4503            ;;
    4504         FOOBAR)
    4505            ac_case=upper
    4506            ac_foo_bar=FOO_BAR
    4507            ;;
    4508      esac
    4509 
    4510      ac_ext=c
    4511 ac_cpp='$CPP $CPPFLAGS'
    4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4515      ac_success_extra=no
    4516      for ac_extra in "" "_"; do
    4517         ac_func="$ac_foo_bar$ac_underscore$ac_extra"
    4518         cat >conftest.$ac_ext <<_ACEOF
    4519 /* confdefs.h.  */
    4520 _ACEOF
    4521 cat confdefs.h >>conftest.$ac_ext
    4522 cat >>conftest.$ac_ext <<_ACEOF
    4523 /* end confdefs.h.  */
    4524 
    4525 /* Override any gcc2 internal prototype to avoid an error.  */
    4526 #ifdef __cplusplus
    4527 extern "C"
    4528 #endif
    4529 /* We use char because int might match the return type of a gcc2
    4530    builtin and then its argument prototype would still apply.  */
    4531 char $ac_func ();
    4532 #ifdef F77_DUMMY_MAIN
    4533 
    4534 #  ifdef __cplusplus
    4535      extern "C"
    4536 #  endif
    4537    int F77_DUMMY_MAIN() { return 1; }
    4538 
    4539 #endif
    4540 int
    4541 main ()
    4542 {
    4543 $ac_func ();
    4544   ;
    4545   return 0;
    4546 }
    4547 _ACEOF
    4548 rm -f conftest.$ac_objext conftest$ac_exeext
    4549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4550   (eval $ac_link) 2>conftest.er1
    4551   ac_status=$?
    4552   grep -v '^ *+' conftest.er1 >conftest.err
    4553   rm -f conftest.er1
    4554   cat conftest.err >&5
    4555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4556   (exit $ac_status); } &&
    4557          { ac_try='test -z "$ac_c_werror_flag"
    4558                          || test ! -s conftest.err'
    4559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4560   (eval $ac_try) 2>&5
    4561   ac_status=$?
    4562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4563   (exit $ac_status); }; } &&
    4564          { ac_try='test -s conftest$ac_exeext'
    4565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4566   (eval $ac_try) 2>&5
    4567   ac_status=$?
    4568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4569   (exit $ac_status); }; }; then
    4570   ac_success_extra=yes; break
    4571 else
    4572   echo "$as_me: failed program was:" >&5
    4573 sed 's/^/| /' conftest.$ac_ext >&5
    4574 
    4575 fi
    4576 rm -f conftest.err conftest.$ac_objext \
    4577       conftest$ac_exeext conftest.$ac_ext
    4578      done
    4579      ac_ext=f
    4580 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4581 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4582 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4583 
    4584      if test "$ac_success_extra" = "yes"; then
    4585         ac_cv_f77_mangling="$ac_case case"
    4586         if test -z "$ac_underscore"; then
    4587            ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
    4588         else
    4589            ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
    4590         fi
    4591         if test -z "$ac_extra"; then
    4592            ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
    4593         else
    4594            ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
    4595         fi
    4596       else
    4597         ac_cv_f77_mangling="unknown"
    4598       fi
    4599   else
    4600      ac_cv_f77_mangling="unknown"
    4601   fi
    4602 
    4603   LIBS=$ac_save_LIBS
    4604   rm -f cfortran_test* conftest*
    4605 else
    4606   echo "$as_me: failed program was:" >&5
    4607 sed 's/^/| /' conftest.$ac_ext >&5
    4608 
    4609 { { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program
    4610 See \`config.log' for more details." >&5
    4611 echo "$as_me: error: cannot compile a simple Fortran program
    4612 See \`config.log' for more details." >&2;}
    4613    { (exit 1); exit 1; }; }
    4614 fi
    4615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4616 
    4617 fi
    4618 echo "$as_me:$LINENO: result: $ac_cv_f77_mangling" >&5
    4619 echo "${ECHO_T}$ac_cv_f77_mangling" >&6
    4620 
    4621 ac_ext=f
    4622 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4623 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4624 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4625 
    4626 
    4627 ac_ext=f
    4628 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4629 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4630 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4631 
    4632 
    4633 ac_ext=f
    4634 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4635 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4636 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4637 
    4638 
    4639 case $ac_cv_f77_mangling in
    4640   "lower case, no underscore, no extra underscore")
    4641           cat >>confdefs.h <<\_ACEOF
    4642 #define F77_FUNC(name,NAME) name
    4643 _ACEOF
    4644 
    4645           cat >>confdefs.h <<\_ACEOF
    4646 #define F77_FUNC_(name,NAME) name
    4647 _ACEOF
    4648  ;;
    4649   "lower case, no underscore, extra underscore")
    4650           cat >>confdefs.h <<\_ACEOF
    4651 #define F77_FUNC(name,NAME) name
    4652 _ACEOF
    4653 
    4654           cat >>confdefs.h <<\_ACEOF
    4655 #define F77_FUNC_(name,NAME) name ## _
    4656 _ACEOF
    4657  ;;
    4658   "lower case, underscore, no extra underscore")
    4659           cat >>confdefs.h <<\_ACEOF
    4660 #define F77_FUNC(name,NAME) name ## _
    4661 _ACEOF
    4662 
    4663           cat >>confdefs.h <<\_ACEOF
    4664 #define F77_FUNC_(name,NAME) name ## _
    4665 _ACEOF
    4666  ;;
    4667   "lower case, underscore, extra underscore")
    4668           cat >>confdefs.h <<\_ACEOF
    4669 #define F77_FUNC(name,NAME) name ## _
    4670 _ACEOF
    4671 
    4672           cat >>confdefs.h <<\_ACEOF
    4673 #define F77_FUNC_(name,NAME) name ## __
    4674 _ACEOF
    4675  ;;
    4676   "upper case, no underscore, no extra underscore")
    4677           cat >>confdefs.h <<\_ACEOF
    4678 #define F77_FUNC(name,NAME) NAME
    4679 _ACEOF
    4680 
    4681           cat >>confdefs.h <<\_ACEOF
    4682 #define F77_FUNC_(name,NAME) NAME
    4683 _ACEOF
    4684  ;;
    4685   "upper case, no underscore, extra underscore")
    4686           cat >>confdefs.h <<\_ACEOF
    4687 #define F77_FUNC(name,NAME) NAME
    4688 _ACEOF
    4689 
    4690           cat >>confdefs.h <<\_ACEOF
    4691 #define F77_FUNC_(name,NAME) NAME ## _
    4692 _ACEOF
    4693  ;;
    4694   "upper case, underscore, no extra underscore")
    4695           cat >>confdefs.h <<\_ACEOF
    4696 #define F77_FUNC(name,NAME) NAME ## _
    4697 _ACEOF
    4698 
    4699           cat >>confdefs.h <<\_ACEOF
    4700 #define F77_FUNC_(name,NAME) NAME ## _
    4701 _ACEOF
    4702  ;;
    4703   "upper case, underscore, extra underscore")
    4704           cat >>confdefs.h <<\_ACEOF
    4705 #define F77_FUNC(name,NAME) NAME ## _
    4706 _ACEOF
    4707 
    4708           cat >>confdefs.h <<\_ACEOF
    4709 #define F77_FUNC_(name,NAME) NAME ## __
    4710 _ACEOF
    4711  ;;
    4712   *)
    4713           { echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5
    4714 echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;}
    4715           ;;
    4716 esac
    4717 
    4718 ac_ext=f
    4719 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    4720 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    4721 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    4722 
     4284orig_FLIBS="$FLIBS"
    47234285
    47244286# If FLIBS has been set by the user, we just restore its value here
     
    47454307  # This is seem to be unnecessary, libifcorert(d).lib has been removed from the link line.
    47464308  # Further, excluding libc.lib from the default libs seemed to be necessary only for VS < 8.
    4747   # Since the corresponding flag seems to make more trouble that it avoid, it has been removed now.
     4309  # Since the corresponding flag seems to make more trouble than it avoids, it has been removed now.
    47484310     *-cygwin* | *-mingw*)
    47494311       case "$F77" in
     
    47734335  ac_cv_f77_libs="$FLIBS"
    47744336fi
     4337
     4338if test "x$orig_FLIBS" != "x$FLIBS" ; then
     4339  { echo "$as_me:$LINENO: Corrected Fortran libraries: $FLIBS" >&5
     4340echo "$as_me: Corrected Fortran libraries: $FLIBS" >&6;}
     4341fi
     4342
     4343ac_ext=f
     4344ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4345ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4346ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4347
     4348echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5
     4349echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6
     4350if test "${ac_cv_f77_dummy_main+set}" = set; then
     4351  echo $ECHO_N "(cached) $ECHO_C" >&6
     4352else
     4353  ac_f77_dm_save_LIBS=$LIBS
     4354 LIBS="$LIBS $FLIBS"
     4355 ac_fortran_dm_var=F77_DUMMY_MAIN
     4356 ac_ext=c
     4357ac_cpp='$CPP $CPPFLAGS'
     4358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4360ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4361
     4362 # First, try linking without a dummy main:
     4363 cat >conftest.$ac_ext <<_ACEOF
     4364/* confdefs.h.  */
     4365_ACEOF
     4366cat confdefs.h >>conftest.$ac_ext
     4367cat >>conftest.$ac_ext <<_ACEOF
     4368/* end confdefs.h.  */
     4369
     4370#ifdef F77_DUMMY_MAIN
     4371
     4372#  ifdef __cplusplus
     4373     extern "C"
     4374#  endif
     4375   int F77_DUMMY_MAIN() { return 1; }
     4376
     4377#endif
     4378int
     4379main ()
     4380{
     4381
     4382  ;
     4383  return 0;
     4384}
     4385_ACEOF
     4386rm -f conftest.$ac_objext conftest$ac_exeext
     4387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4388  (eval $ac_link) 2>conftest.er1
     4389  ac_status=$?
     4390  grep -v '^ *+' conftest.er1 >conftest.err
     4391  rm -f conftest.er1
     4392  cat conftest.err >&5
     4393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4394  (exit $ac_status); } &&
     4395         { ac_try='test -z "$ac_c_werror_flag"
     4396                         || test ! -s conftest.err'
     4397  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4398  (eval $ac_try) 2>&5
     4399  ac_status=$?
     4400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4401  (exit $ac_status); }; } &&
     4402         { ac_try='test -s conftest$ac_exeext'
     4403  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4404  (eval $ac_try) 2>&5
     4405  ac_status=$?
     4406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4407  (exit $ac_status); }; }; then
     4408  ac_cv_fortran_dummy_main=none
     4409else
     4410  echo "$as_me: failed program was:" >&5
     4411sed 's/^/| /' conftest.$ac_ext >&5
     4412
     4413ac_cv_fortran_dummy_main=unknown
     4414fi
     4415rm -f conftest.err conftest.$ac_objext \
     4416      conftest$ac_exeext conftest.$ac_ext
     4417
     4418 if test $ac_cv_fortran_dummy_main = unknown; then
     4419   for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
     4420     cat >conftest.$ac_ext <<_ACEOF
     4421/* confdefs.h.  */
     4422_ACEOF
     4423cat confdefs.h >>conftest.$ac_ext
     4424cat >>conftest.$ac_ext <<_ACEOF
     4425/* end confdefs.h.  */
     4426#define $ac_fortran_dm_var $ac_func
     4427#ifdef F77_DUMMY_MAIN
     4428
     4429#  ifdef __cplusplus
     4430     extern "C"
     4431#  endif
     4432   int F77_DUMMY_MAIN() { return 1; }
     4433
     4434#endif
     4435int
     4436main ()
     4437{
     4438
     4439  ;
     4440  return 0;
     4441}
     4442_ACEOF
     4443rm -f conftest.$ac_objext conftest$ac_exeext
     4444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4445  (eval $ac_link) 2>conftest.er1
     4446  ac_status=$?
     4447  grep -v '^ *+' conftest.er1 >conftest.err
     4448  rm -f conftest.er1
     4449  cat conftest.err >&5
     4450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4451  (exit $ac_status); } &&
     4452         { ac_try='test -z "$ac_c_werror_flag"
     4453                         || test ! -s conftest.err'
     4454  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4455  (eval $ac_try) 2>&5
     4456  ac_status=$?
     4457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4458  (exit $ac_status); }; } &&
     4459         { ac_try='test -s conftest$ac_exeext'
     4460  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4461  (eval $ac_try) 2>&5
     4462  ac_status=$?
     4463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4464  (exit $ac_status); }; }; then
     4465  ac_cv_fortran_dummy_main=$ac_func; break
     4466else
     4467  echo "$as_me: failed program was:" >&5
     4468sed 's/^/| /' conftest.$ac_ext >&5
     4469
     4470fi
     4471rm -f conftest.err conftest.$ac_objext \
     4472      conftest$ac_exeext conftest.$ac_ext
     4473   done
     4474 fi
     4475 ac_ext=f
     4476ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4477ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4478ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4479 ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
     4480 rm -f conftest*
     4481 LIBS=$ac_f77_dm_save_LIBS
     4482
     4483fi
     4484echo "$as_me:$LINENO: result: $ac_cv_f77_dummy_main" >&5
     4485echo "${ECHO_T}$ac_cv_f77_dummy_main" >&6
     4486F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
     4487if test "$F77_DUMMY_MAIN" != unknown; then
     4488  if test $F77_DUMMY_MAIN != none; then
     4489
     4490cat >>confdefs.h <<_ACEOF
     4491#define F77_DUMMY_MAIN $F77_DUMMY_MAIN
     4492_ACEOF
     4493
     4494  if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
     4495
     4496cat >>confdefs.h <<\_ACEOF
     4497#define FC_DUMMY_MAIN_EQ_F77 1
     4498_ACEOF
     4499
     4500  fi
     4501fi
     4502else
     4503  { { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails
     4504See \`config.log' for more details." >&5
     4505echo "$as_me: error: linking to Fortran libraries from C fails
     4506See \`config.log' for more details." >&2;}
     4507   { (exit 1); exit 1; }; }
     4508fi
     4509
     4510
     4511ac_ext=f
     4512ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4513ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4514ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4515
     4516ac_ext=f
     4517ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4518ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4519ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4520echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5
     4521echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6
     4522if test "${ac_cv_f77_mangling+set}" = set; then
     4523  echo $ECHO_N "(cached) $ECHO_C" >&6
     4524else
     4525  cat >conftest.$ac_ext <<_ACEOF
     4526      subroutine foobar()
     4527      return
     4528      end
     4529      subroutine foo_bar()
     4530      return
     4531      end
     4532_ACEOF
     4533rm -f conftest.$ac_objext
     4534if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4535  (eval $ac_compile) 2>conftest.er1
     4536  ac_status=$?
     4537  grep -v '^ *+' conftest.er1 >conftest.err
     4538  rm -f conftest.er1
     4539  cat conftest.err >&5
     4540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4541  (exit $ac_status); } &&
     4542         { ac_try='test -z "$ac_f77_werror_flag"
     4543                         || test ! -s conftest.err'
     4544  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4545  (eval $ac_try) 2>&5
     4546  ac_status=$?
     4547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4548  (exit $ac_status); }; } &&
     4549         { ac_try='test -s conftest.$ac_objext'
     4550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4551  (eval $ac_try) 2>&5
     4552  ac_status=$?
     4553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4554  (exit $ac_status); }; }; then
     4555  mv conftest.$ac_objext cfortran_test.$ac_objext
     4556
     4557  ac_save_LIBS=$LIBS
     4558  LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
     4559
     4560  ac_ext=c
     4561ac_cpp='$CPP $CPPFLAGS'
     4562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4564ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4565  ac_success=no
     4566  for ac_foobar in foobar FOOBAR; do
     4567    for ac_underscore in "" "_"; do
     4568      ac_func="$ac_foobar$ac_underscore"
     4569      cat >conftest.$ac_ext <<_ACEOF
     4570/* confdefs.h.  */
     4571_ACEOF
     4572cat confdefs.h >>conftest.$ac_ext
     4573cat >>conftest.$ac_ext <<_ACEOF
     4574/* end confdefs.h.  */
     4575
     4576/* Override any gcc2 internal prototype to avoid an error.  */
     4577#ifdef __cplusplus
     4578extern "C"
     4579#endif
     4580/* We use char because int might match the return type of a gcc2
     4581   builtin and then its argument prototype would still apply.  */
     4582char $ac_func ();
     4583#ifdef F77_DUMMY_MAIN
     4584
     4585#  ifdef __cplusplus
     4586     extern "C"
     4587#  endif
     4588   int F77_DUMMY_MAIN() { return 1; }
     4589
     4590#endif
     4591int
     4592main ()
     4593{
     4594$ac_func ();
     4595  ;
     4596  return 0;
     4597}
     4598_ACEOF
     4599rm -f conftest.$ac_objext conftest$ac_exeext
     4600if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4601  (eval $ac_link) 2>conftest.er1
     4602  ac_status=$?
     4603  grep -v '^ *+' conftest.er1 >conftest.err
     4604  rm -f conftest.er1
     4605  cat conftest.err >&5
     4606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4607  (exit $ac_status); } &&
     4608         { ac_try='test -z "$ac_c_werror_flag"
     4609                         || test ! -s conftest.err'
     4610  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4611  (eval $ac_try) 2>&5
     4612  ac_status=$?
     4613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4614  (exit $ac_status); }; } &&
     4615         { ac_try='test -s conftest$ac_exeext'
     4616  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4617  (eval $ac_try) 2>&5
     4618  ac_status=$?
     4619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4620  (exit $ac_status); }; }; then
     4621  ac_success=yes; break 2
     4622else
     4623  echo "$as_me: failed program was:" >&5
     4624sed 's/^/| /' conftest.$ac_ext >&5
     4625
     4626fi
     4627rm -f conftest.err conftest.$ac_objext \
     4628      conftest$ac_exeext conftest.$ac_ext
     4629    done
     4630  done
     4631  ac_ext=f
     4632ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4633ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4634ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4635
     4636  if test "$ac_success" = "yes"; then
     4637     case $ac_foobar in
     4638        foobar)
     4639           ac_case=lower
     4640           ac_foo_bar=foo_bar
     4641           ;;
     4642        FOOBAR)
     4643           ac_case=upper
     4644           ac_foo_bar=FOO_BAR
     4645           ;;
     4646     esac
     4647
     4648     ac_ext=c
     4649ac_cpp='$CPP $CPPFLAGS'
     4650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4652ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4653     ac_success_extra=no
     4654     for ac_extra in "" "_"; do
     4655        ac_func="$ac_foo_bar$ac_underscore$ac_extra"
     4656        cat >conftest.$ac_ext <<_ACEOF
     4657/* confdefs.h.  */
     4658_ACEOF
     4659cat confdefs.h >>conftest.$ac_ext
     4660cat >>conftest.$ac_ext <<_ACEOF
     4661/* end confdefs.h.  */
     4662
     4663/* Override any gcc2 internal prototype to avoid an error.  */
     4664#ifdef __cplusplus
     4665extern "C"
     4666#endif
     4667/* We use char because int might match the return type of a gcc2
     4668   builtin and then its argument prototype would still apply.  */
     4669char $ac_func ();
     4670#ifdef F77_DUMMY_MAIN
     4671
     4672#  ifdef __cplusplus
     4673     extern "C"
     4674#  endif
     4675   int F77_DUMMY_MAIN() { return 1; }
     4676
     4677#endif
     4678int
     4679main ()
     4680{
     4681$ac_func ();
     4682  ;
     4683  return 0;
     4684}
     4685_ACEOF
     4686rm -f conftest.$ac_objext conftest$ac_exeext
     4687if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4688  (eval $ac_link) 2>conftest.er1
     4689  ac_status=$?
     4690  grep -v '^ *+' conftest.er1 >conftest.err
     4691  rm -f conftest.er1
     4692  cat conftest.err >&5
     4693  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4694  (exit $ac_status); } &&
     4695         { ac_try='test -z "$ac_c_werror_flag"
     4696                         || test ! -s conftest.err'
     4697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4698  (eval $ac_try) 2>&5
     4699  ac_status=$?
     4700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4701  (exit $ac_status); }; } &&
     4702         { ac_try='test -s conftest$ac_exeext'
     4703  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4704  (eval $ac_try) 2>&5
     4705  ac_status=$?
     4706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4707  (exit $ac_status); }; }; then
     4708  ac_success_extra=yes; break
     4709else
     4710  echo "$as_me: failed program was:" >&5
     4711sed 's/^/| /' conftest.$ac_ext >&5
     4712
     4713fi
     4714rm -f conftest.err conftest.$ac_objext \
     4715      conftest$ac_exeext conftest.$ac_ext
     4716     done
     4717     ac_ext=f
     4718ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4719ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4720ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4721
     4722     if test "$ac_success_extra" = "yes"; then
     4723        ac_cv_f77_mangling="$ac_case case"
     4724        if test -z "$ac_underscore"; then
     4725           ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
     4726        else
     4727           ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
     4728        fi
     4729        if test -z "$ac_extra"; then
     4730           ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
     4731        else
     4732           ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
     4733        fi
     4734      else
     4735        ac_cv_f77_mangling="unknown"
     4736      fi
     4737  else
     4738     ac_cv_f77_mangling="unknown"
     4739  fi
     4740
     4741  LIBS=$ac_save_LIBS
     4742  rm -f cfortran_test* conftest*
     4743else
     4744  echo "$as_me: failed program was:" >&5
     4745sed 's/^/| /' conftest.$ac_ext >&5
     4746
     4747{ { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program
     4748See \`config.log' for more details." >&5
     4749echo "$as_me: error: cannot compile a simple Fortran program
     4750See \`config.log' for more details." >&2;}
     4751   { (exit 1); exit 1; }; }
     4752fi
     4753rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4754
     4755fi
     4756echo "$as_me:$LINENO: result: $ac_cv_f77_mangling" >&5
     4757echo "${ECHO_T}$ac_cv_f77_mangling" >&6
     4758
     4759ac_ext=f
     4760ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4761ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4762ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4763
     4764
     4765ac_ext=f
     4766ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4767ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4768ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4769
     4770ac_ext=f
     4771ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4772ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4773ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     4774
     4775
     4776case $ac_cv_f77_mangling in
     4777  "lower case, no underscore, no extra underscore")
     4778          cat >>confdefs.h <<\_ACEOF
     4779#define F77_FUNC(name,NAME) name
     4780_ACEOF
     4781
     4782          cat >>confdefs.h <<\_ACEOF
     4783#define F77_FUNC_(name,NAME) name
     4784_ACEOF
     4785 ;;
     4786  "lower case, no underscore, extra underscore")
     4787          cat >>confdefs.h <<\_ACEOF
     4788#define F77_FUNC(name,NAME) name
     4789_ACEOF
     4790
     4791          cat >>confdefs.h <<\_ACEOF
     4792#define F77_FUNC_(name,NAME) name ## _
     4793_ACEOF
     4794 ;;
     4795  "lower case, underscore, no extra underscore")
     4796          cat >>confdefs.h <<\_ACEOF
     4797#define F77_FUNC(name,NAME) name ## _
     4798_ACEOF
     4799
     4800          cat >>confdefs.h <<\_ACEOF
     4801#define F77_FUNC_(name,NAME) name ## _
     4802_ACEOF
     4803 ;;
     4804  "lower case, underscore, extra underscore")
     4805          cat >>confdefs.h <<\_ACEOF
     4806#define F77_FUNC(name,NAME) name ## _
     4807_ACEOF
     4808
     4809          cat >>confdefs.h <<\_ACEOF
     4810#define F77_FUNC_(name,NAME) name ## __
     4811_ACEOF
     4812 ;;
     4813  "upper case, no underscore, no extra underscore")
     4814          cat >>confdefs.h <<\_ACEOF
     4815#define F77_FUNC(name,NAME) NAME
     4816_ACEOF
     4817
     4818          cat >>confdefs.h <<\_ACEOF
     4819#define F77_FUNC_(name,NAME) NAME
     4820_ACEOF
     4821 ;;
     4822  "upper case, no underscore, extra underscore")
     4823          cat >>confdefs.h <<\_ACEOF
     4824#define F77_FUNC(name,NAME) NAME
     4825_ACEOF
     4826
     4827          cat >>confdefs.h <<\_ACEOF
     4828#define F77_FUNC_(name,NAME) NAME ## _
     4829_ACEOF
     4830 ;;
     4831  "upper case, underscore, no extra underscore")
     4832          cat >>confdefs.h <<\_ACEOF
     4833#define F77_FUNC(name,NAME) NAME ## _
     4834_ACEOF
     4835
     4836          cat >>confdefs.h <<\_ACEOF
     4837#define F77_FUNC_(name,NAME) NAME ## _
     4838_ACEOF
     4839 ;;
     4840  "upper case, underscore, extra underscore")
     4841          cat >>confdefs.h <<\_ACEOF
     4842#define F77_FUNC(name,NAME) NAME ## _
     4843_ACEOF
     4844
     4845          cat >>confdefs.h <<\_ACEOF
     4846#define F77_FUNC_(name,NAME) NAME ## __
     4847_ACEOF
     4848 ;;
     4849  *)
     4850          { echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5
     4851echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;}
     4852          ;;
     4853esac
     4854
     4855ac_ext=f
     4856ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     4857ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4858ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    47754859
    47764860ac_ext=c
     
    55475631
    55485632# Initialize automake
     5633echo "$as_me:$LINENO: checking whether ln -s works" >&5
     5634echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     5635LN_S=$as_ln_s
     5636if test "$LN_S" = "ln -s"; then
     5637  echo "$as_me:$LINENO: result: yes" >&5
     5638echo "${ECHO_T}yes" >&6
     5639else
     5640  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     5641echo "${ECHO_T}no, using $LN_S" >&6
     5642fi
     5643
    55495644am__api_version="1.9"
    55505645# Find a good install program.  We prefer a C program (faster),
     
    58765971
    58775972
     5973
    58785974# AC_MSG_NOTICE([Beginning automake initialisation.])
    58795975# Stuff for automake
     
    64096505
    64106506
    6411   # Check if we have an Externals file
    6412   if test -r $srcdir/Externals; then
     6507  # Check if we have an Dependencies file
     6508  if test -r $srcdir/Dependencies; then
    64136509    coin_have_externals=yes
    64146510  fi
     
    64836579        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
    64846580echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
    6485    { (exit 1); exit 1; }; }
     6581   { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
    64866582      fi
    64876583    fi
    64886584  fi
    64896585
     6586
     6587  # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
     6588  if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
     6589    $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
     6590  fi
    64906591
    64916592  # The following variable is set to the name of the directory where
     
    68556956NM="$lt_cv_path_NM"
    68566957
    6857 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    6858 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    6859 LN_S=$as_ln_s
    6860 if test "$LN_S" = "ln -s"; then
    6861   echo "$as_me:$LINENO: result: yes" >&5
    6862 echo "${ECHO_T}yes" >&6
    6863 else
    6864   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    6865 echo "${ECHO_T}no, using $LN_S" >&6
    6866 fi
    6867 
    68686958echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    68696959echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
     
    70917181*-*-irix6*)
    70927182  # Find out which ABI we are using.
    7093   echo '#line 7093 "configure"' > conftest.$ac_ext
     7183  echo '#line 7183 "configure"' > conftest.$ac_ext
    70947184  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    70957185  (eval $ac_compile) 2>&5
     
    90879177   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    90889178   -e 's:$: $lt_compiler_flag:'`
    9089    (eval echo "\"\$as_me:9089: $lt_compile\"" >&5)
     9179   (eval echo "\"\$as_me:9179: $lt_compile\"" >&5)
    90909180   (eval "$lt_compile" 2>conftest.err)
    90919181   ac_status=$?
    90929182   cat conftest.err >&5
    9093    echo "$as_me:9093: \$? = $ac_status" >&5
     9183   echo "$as_me:9183: \$? = $ac_status" >&5
    90949184   if (exit $ac_status) && test -s "$ac_outfile"; then
    90959185     # The compiler can only warn and ignore the option if not recognized
     
    93559445   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93569446   -e 's:$: $lt_compiler_flag:'`
    9357    (eval echo "\"\$as_me:9357: $lt_compile\"" >&5)
     9447   (eval echo "\"\$as_me:9447: $lt_compile\"" >&5)
    93589448   (eval "$lt_compile" 2>conftest.err)
    93599449   ac_status=$?
    93609450   cat conftest.err >&5
    9361    echo "$as_me:9361: \$? = $ac_status" >&5
     9451   echo "$as_me:9451: \$? = $ac_status" >&5
    93629452   if (exit $ac_status) && test -s "$ac_outfile"; then
    93639453     # The compiler can only warn and ignore the option if not recognized
     
    94599549   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    94609550   -e 's:$: $lt_compiler_flag:'`
    9461    (eval echo "\"\$as_me:9461: $lt_compile\"" >&5)
     9551   (eval echo "\"\$as_me:9551: $lt_compile\"" >&5)
    94629552   (eval "$lt_compile" 2>out/conftest.err)
    94639553   ac_status=$?
    94649554   cat out/conftest.err >&5
    9465    echo "$as_me:9465: \$? = $ac_status" >&5
     9555   echo "$as_me:9555: \$? = $ac_status" >&5
    94669556   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    94679557   then
     
    1187611966  lt_status=$lt_dlunknown
    1187711967  cat > conftest.$ac_ext <<EOF
    11878 #line 11878 "configure"
     11968#line 11968 "configure"
    1187911969#include "confdefs.h"
    1188011970
     
    1197612066  lt_status=$lt_dlunknown
    1197712067  cat > conftest.$ac_ext <<EOF
    11978 #line 11978 "configure"
     12068#line 12068 "configure"
    1197912069#include "confdefs.h"
    1198012070
     
    1433614426   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1433714427   -e 's:$: $lt_compiler_flag:'`
    14338    (eval echo "\"\$as_me:14338: $lt_compile\"" >&5)
     14428   (eval echo "\"\$as_me:14428: $lt_compile\"" >&5)
    1433914429   (eval "$lt_compile" 2>conftest.err)
    1434014430   ac_status=$?
    1434114431   cat conftest.err >&5
    14342    echo "$as_me:14342: \$? = $ac_status" >&5
     14432   echo "$as_me:14432: \$? = $ac_status" >&5
    1434314433   if (exit $ac_status) && test -s "$ac_outfile"; then
    1434414434     # The compiler can only warn and ignore the option if not recognized
     
    1444014530   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1444114531   -e 's:$: $lt_compiler_flag:'`
    14442    (eval echo "\"\$as_me:14442: $lt_compile\"" >&5)
     14532   (eval echo "\"\$as_me:14532: $lt_compile\"" >&5)
    1444314533   (eval "$lt_compile" 2>out/conftest.err)
    1444414534   ac_status=$?
    1444514535   cat out/conftest.err >&5
    14446    echo "$as_me:14446: \$? = $ac_status" >&5
     14536   echo "$as_me:14536: \$? = $ac_status" >&5
    1444714537   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1444814538   then
     
    1601016100   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1601116101   -e 's:$: $lt_compiler_flag:'`
    16012    (eval echo "\"\$as_me:16012: $lt_compile\"" >&5)
     16102   (eval echo "\"\$as_me:16102: $lt_compile\"" >&5)
    1601316103   (eval "$lt_compile" 2>conftest.err)
    1601416104   ac_status=$?
    1601516105   cat conftest.err >&5
    16016    echo "$as_me:16016: \$? = $ac_status" >&5
     16106   echo "$as_me:16106: \$? = $ac_status" >&5
    1601716107   if (exit $ac_status) && test -s "$ac_outfile"; then
    1601816108     # The compiler can only warn and ignore the option if not recognized
     
    1611416204   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1611516205   -e 's:$: $lt_compiler_flag:'`
    16116    (eval echo "\"\$as_me:16116: $lt_compile\"" >&5)
     16206   (eval echo "\"\$as_me:16206: $lt_compile\"" >&5)
    1611716207   (eval "$lt_compile" 2>out/conftest.err)
    1611816208   ac_status=$?
    1611916209   cat out/conftest.err >&5
    16120    echo "$as_me:16120: \$? = $ac_status" >&5
     16210   echo "$as_me:16210: \$? = $ac_status" >&5
    1612116211   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1612216212   then
     
    1832118411   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1832218412   -e 's:$: $lt_compiler_flag:'`
    18323    (eval echo "\"\$as_me:18323: $lt_compile\"" >&5)
     18413   (eval echo "\"\$as_me:18413: $lt_compile\"" >&5)
    1832418414   (eval "$lt_compile" 2>conftest.err)
    1832518415   ac_status=$?
    1832618416   cat conftest.err >&5
    18327    echo "$as_me:18327: \$? = $ac_status" >&5
     18417   echo "$as_me:18417: \$? = $ac_status" >&5
    1832818418   if (exit $ac_status) && test -s "$ac_outfile"; then
    1832918419     # The compiler can only warn and ignore the option if not recognized
     
    1858918679   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1859018680   -e 's:$: $lt_compiler_flag:'`
    18591    (eval echo "\"\$as_me:18591: $lt_compile\"" >&5)
     18681   (eval echo "\"\$as_me:18681: $lt_compile\"" >&5)
    1859218682   (eval "$lt_compile" 2>conftest.err)
    1859318683   ac_status=$?
    1859418684   cat conftest.err >&5
    18595    echo "$as_me:18595: \$? = $ac_status" >&5
     18685   echo "$as_me:18685: \$? = $ac_status" >&5
    1859618686   if (exit $ac_status) && test -s "$ac_outfile"; then
    1859718687     # The compiler can only warn and ignore the option if not recognized
     
    1869318783   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1869418784   -e 's:$: $lt_compiler_flag:'`
    18695    (eval echo "\"\$as_me:18695: $lt_compile\"" >&5)
     18785   (eval echo "\"\$as_me:18785: $lt_compile\"" >&5)
    1869618786   (eval "$lt_compile" 2>out/conftest.err)
    1869718787   ac_status=$?
    1869818788   cat out/conftest.err >&5
    18699    echo "$as_me:18699: \$? = $ac_status" >&5
     18789   echo "$as_me:18789: \$? = $ac_status" >&5
    1870018790   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1870118791   then
     
    2171221802  fi
    2171321803  if test -n "$PKG_CONFIG"; then
    21714     _pkg_min_version=0.9.0
     21804    _pkg_min_version=0.16.0
    2171521805    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
    2171621806echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     
    2175321843# unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    2175421844if test "x${prefix}" = xNONE ; then
    21755   COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21756 else
    21757   COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     21845  COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     21846else
     21847  COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    2175821848fi
    2175921849
     
    2176721857   { (exit 1); exit 1; }; }
    2176821858   fi
    21769    COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     21859   COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    2177021860
    2177121861fi;
     
    2180321893
    2180421894
     21895fi
     21896
     21897if test -n "$PKG_CONFIG" && test x$coin_cc_is_cl = xtrue; then
     21898  { echo "$as_me:$LINENO: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&5
     21899echo "$as_me: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&2;}
    2180521900fi
    2180621901
     
    2304423139      case "$CC" in
    2304523140        cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    23046           echo "$as_me:$LINENO: checking for BLAS in MKL" >&5
    23047 echo $ECHO_N "checking for BLAS in MKL... $ECHO_C" >&6
    2304823141          coin_save_LIBS="$LIBS"
     23142          echo "$as_me:$LINENO: checking for BLAS in MKL (32bit)" >&5
     23143echo $ECHO_N "checking for BLAS in MKL (32bit)... $ECHO_C" >&6
    2304923144          LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
    2305023145          case $ac_ext in
     
    2342223517
    2342323518          LIBS="$coin_save_LIBS"
    23424           ;;
    23425       esac
    23426       ;;
    23427 
    23428      *-darwin*)
    23429       echo "$as_me:$LINENO: checking for BLAS in Veclib" >&5
    23430 echo $ECHO_N "checking for BLAS in Veclib... $ECHO_C" >&6
    23431       coin_need_flibs=no
    23432       coin_save_LIBS="$LIBS"
    23433       LIBS="-framework vecLib $LIBS"
    23434       case $ac_ext in
     23519
     23520          if test "x$use_blas" = x ; then
     23521            echo "$as_me:$LINENO: checking for BLAS in MKL (64bit)" >&5
     23522echo $ECHO_N "checking for BLAS in MKL (64bit)... $ECHO_C" >&6
     23523            LIBS="mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib $LIBS"
     23524            case $ac_ext in
    2343523525  f)
    2343623526    cat >conftest.$ac_ext <<_ACEOF
     
    2347923569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2348023570  (exit $ac_status); }; }; then
    23481   use_blas='-framework vecLib'
    23482                          if test $coin_need_flibs = yes ; then
    23483                            use_blas="$use_blas $FLIBS"
    23484                          fi
    23485                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23571  use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     23572                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2348623573echo "${ECHO_T}yes: $use_blas" >&6
    2348723574
     
    2357523662    fi
    2357623663    if test $flink_try = yes; then
    23577       use_blas='-framework vecLib'
    23578                          if test $coin_need_flibs = yes ; then
    23579                            use_blas="$use_blas $FLIBS"
    23580                          fi
    23581                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23664      use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     23665                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2358223666echo "${ECHO_T}yes: $use_blas" >&6
    2358323667
     
    2363323717  LIBS="$flink_save_libs"
    2363423718                     coin_need_flibs=yes
    23635                      use_blas='-framework vecLib'
    23636                          if test $coin_need_flibs = yes ; then
    23637                            use_blas="$use_blas $FLIBS"
    23638                          fi
    23639                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23719                     use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     23720                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2364023721echo "${ECHO_T}yes: $use_blas" >&6
    2364123722
     
    2373623817    fi
    2373723818    if test $flink_try = yes; then
    23738       use_blas='-framework vecLib'
    23739                          if test $coin_need_flibs = yes ; then
    23740                            use_blas="$use_blas $FLIBS"
    23741                          fi
    23742                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23819      use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     23820                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2374323821echo "${ECHO_T}yes: $use_blas" >&6
    2374423822
     
    2379423872  LIBS="$flink_save_libs"
    2379523873                     coin_need_flibs=yes
    23796                      use_blas='-framework vecLib'
    23797                          if test $coin_need_flibs = yes ; then
    23798                            use_blas="$use_blas $FLIBS"
    23799                          fi
    23800                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23874                     use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     23875                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2380123876echo "${ECHO_T}yes: $use_blas" >&6
    2380223877
     
    2382023895esac
    2382123896
    23822       LIBS="$coin_save_LIBS"
    23823       ;;
    23824   esac
    23825 
    23826   if test -z "$use_blas" && test $skip_lblas_check = no; then
    23827     echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
    23828 echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
    23829     coin_need_flibs=no
    23830     coin_save_LIBS="$LIBS"
    23831     LIBS="-lblas $LIBS"
    23832     case $ac_ext in
     23897            LIBS="$coin_save_LIBS"
     23898          fi
     23899          ;;
     23900      esac
     23901      ;;
     23902
     23903     *-darwin*)
     23904      echo "$as_me:$LINENO: checking for BLAS in Veclib" >&5
     23905echo $ECHO_N "checking for BLAS in Veclib... $ECHO_C" >&6
     23906      coin_need_flibs=no
     23907      coin_save_LIBS="$LIBS"
     23908      LIBS="-framework vecLib $LIBS"
     23909      case $ac_ext in
    2383323910  f)
    2383423911    cat >conftest.$ac_ext <<_ACEOF
     
    2387723954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2387823955  (exit $ac_status); }; }; then
    23879   use_blas='-lblas'
    23880                        if test $coin_need_flibs = yes ; then
    23881                          use_blas="$use_blas $FLIBS"
    23882                        fi
    23883                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23956  use_blas='-framework vecLib'
     23957                         if test $coin_need_flibs = yes ; then
     23958                           use_blas="$use_blas $FLIBS"
     23959                         fi
     23960                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2388423961echo "${ECHO_T}yes: $use_blas" >&6
    2388523962
     
    2397324050    fi
    2397424051    if test $flink_try = yes; then
    23975       use_blas='-lblas'
    23976                        if test $coin_need_flibs = yes ; then
    23977                          use_blas="$use_blas $FLIBS"
    23978                        fi
    23979                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24052      use_blas='-framework vecLib'
     24053                         if test $coin_need_flibs = yes ; then
     24054                           use_blas="$use_blas $FLIBS"
     24055                         fi
     24056                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2398024057echo "${ECHO_T}yes: $use_blas" >&6
    2398124058
     
    2403124108  LIBS="$flink_save_libs"
    2403224109                     coin_need_flibs=yes
    24033                      use_blas='-lblas'
    24034                        if test $coin_need_flibs = yes ; then
    24035                          use_blas="$use_blas $FLIBS"
    24036                        fi
    24037                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24110                     use_blas='-framework vecLib'
     24111                         if test $coin_need_flibs = yes ; then
     24112                           use_blas="$use_blas $FLIBS"
     24113                         fi
     24114                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2403824115echo "${ECHO_T}yes: $use_blas" >&6
    2403924116
     
    2413424211    fi
    2413524212    if test $flink_try = yes; then
    24136       use_blas='-lblas'
    24137                        if test $coin_need_flibs = yes ; then
    24138                          use_blas="$use_blas $FLIBS"
    24139                        fi
    24140                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24213      use_blas='-framework vecLib'
     24214                         if test $coin_need_flibs = yes ; then
     24215                           use_blas="$use_blas $FLIBS"
     24216                         fi
     24217                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2414124218echo "${ECHO_T}yes: $use_blas" >&6
    2414224219
     
    2419224269  LIBS="$flink_save_libs"
    2419324270                     coin_need_flibs=yes
    24194                      use_blas='-lblas'
    24195                        if test $coin_need_flibs = yes ; then
    24196                          use_blas="$use_blas $FLIBS"
    24197                        fi
    24198                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24271                     use_blas='-framework vecLib'
     24272                         if test $coin_need_flibs = yes ; then
     24273                           use_blas="$use_blas $FLIBS"
     24274                         fi
     24275                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    2419924276echo "${ECHO_T}yes: $use_blas" >&6
    2420024277
     
    2421824295esac
    2421924296
     24297      LIBS="$coin_save_LIBS"
     24298      ;;
     24299  esac
     24300
     24301  if test -z "$use_blas" && test $skip_lblas_check = no; then
     24302    echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
     24303echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
     24304    coin_need_flibs=no
     24305    coin_save_LIBS="$LIBS"
     24306    LIBS="-lblas $LIBS"
     24307    case $ac_ext in
     24308  f)
     24309    cat >conftest.$ac_ext <<_ACEOF
     24310/* confdefs.h.  */
     24311_ACEOF
     24312cat confdefs.h >>conftest.$ac_ext
     24313cat >>conftest.$ac_ext <<_ACEOF
     24314/* end confdefs.h.  */
     24315
     24316#ifdef F77_DUMMY_MAIN
     24317
     24318#  ifdef __cplusplus
     24319     extern "C"
     24320#  endif
     24321   int F77_DUMMY_MAIN() { return 1; }
     24322
     24323#endif
     24324int
     24325main ()
     24326{
     24327      call daxpy
     24328  ;
     24329  return 0;
     24330}
     24331_ACEOF
     24332rm -f conftest.$ac_objext conftest$ac_exeext
     24333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24334  (eval $ac_link) 2>conftest.er1
     24335  ac_status=$?
     24336  grep -v '^ *+' conftest.er1 >conftest.err
     24337  rm -f conftest.er1
     24338  cat conftest.err >&5
     24339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24340  (exit $ac_status); } &&
     24341         { ac_try='test -z "$ac_c_werror_flag"
     24342                         || test ! -s conftest.err'
     24343  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24344  (eval $ac_try) 2>&5
     24345  ac_status=$?
     24346  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24347  (exit $ac_status); }; } &&
     24348         { ac_try='test -s conftest$ac_exeext'
     24349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24350  (eval $ac_try) 2>&5
     24351  ac_status=$?
     24352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24353  (exit $ac_status); }; }; then
     24354  use_blas='-lblas'
     24355                       if test $coin_need_flibs = yes ; then
     24356                         use_blas="$use_blas $FLIBS"
     24357                       fi
     24358                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24359echo "${ECHO_T}yes: $use_blas" >&6
     24360
     24361else
     24362  echo "$as_me: failed program was:" >&5
     24363sed 's/^/| /' conftest.$ac_ext >&5
     24364
     24365echo "$as_me:$LINENO: result: no" >&5
     24366echo "${ECHO_T}no" >&6
     24367fi
     24368rm -f conftest.err conftest.$ac_objext \
     24369      conftest$ac_exeext conftest.$ac_ext
     24370    ;;
     24371  c)
     24372    ac_ext=f
     24373ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24374ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24375ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24376case $ac_cv_f77_mangling in
     24377  upper*) ac_val="DAXPY" ;;
     24378  lower*) ac_val="daxpy" ;;
     24379  *)      ac_val="unknown" ;;
     24380esac
     24381case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24382
     24383cfuncdaxpy="$ac_val"
     24384
     24385ac_ext=c
     24386ac_cpp='$CPP $CPPFLAGS'
     24387ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24388ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24389ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24390
     24391    if test x"$coin_need_flibs" = xyes; then
     24392      flink_try=no;
     24393    else
     24394      cat >conftest.$ac_ext <<_ACEOF
     24395/* confdefs.h.  */
     24396_ACEOF
     24397cat confdefs.h >>conftest.$ac_ext
     24398cat >>conftest.$ac_ext <<_ACEOF
     24399/* end confdefs.h.  */
     24400void $cfuncdaxpy();
     24401#ifdef F77_DUMMY_MAIN
     24402
     24403#  ifdef __cplusplus
     24404     extern "C"
     24405#  endif
     24406   int F77_DUMMY_MAIN() { return 1; }
     24407
     24408#endif
     24409int
     24410main ()
     24411{
     24412$cfuncdaxpy()
     24413  ;
     24414  return 0;
     24415}
     24416_ACEOF
     24417rm -f conftest.$ac_objext conftest$ac_exeext
     24418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24419  (eval $ac_link) 2>conftest.er1
     24420  ac_status=$?
     24421  grep -v '^ *+' conftest.er1 >conftest.err
     24422  rm -f conftest.er1
     24423  cat conftest.err >&5
     24424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24425  (exit $ac_status); } &&
     24426         { ac_try='test -z "$ac_c_werror_flag"
     24427                         || test ! -s conftest.err'
     24428  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24429  (eval $ac_try) 2>&5
     24430  ac_status=$?
     24431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24432  (exit $ac_status); }; } &&
     24433         { ac_try='test -s conftest$ac_exeext'
     24434  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24435  (eval $ac_try) 2>&5
     24436  ac_status=$?
     24437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24438  (exit $ac_status); }; }; then
     24439  flink_try=yes
     24440else
     24441  echo "$as_me: failed program was:" >&5
     24442sed 's/^/| /' conftest.$ac_ext >&5
     24443
     24444flink_try=no
     24445fi
     24446rm -f conftest.err conftest.$ac_objext \
     24447      conftest$ac_exeext conftest.$ac_ext
     24448    fi
     24449    if test $flink_try = yes; then
     24450      use_blas='-lblas'
     24451                       if test $coin_need_flibs = yes ; then
     24452                         use_blas="$use_blas $FLIBS"
     24453                       fi
     24454                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24455echo "${ECHO_T}yes: $use_blas" >&6
     24456
     24457    else
     24458      if test x"$FLIBS" != x; then
     24459        flink_save_libs="$LIBS"
     24460        LIBS="$LIBS $FLIBS"
     24461        cat >conftest.$ac_ext <<_ACEOF
     24462/* confdefs.h.  */
     24463_ACEOF
     24464cat confdefs.h >>conftest.$ac_ext
     24465cat >>conftest.$ac_ext <<_ACEOF
     24466/* end confdefs.h.  */
     24467void $cfuncdaxpy();
     24468#ifdef F77_DUMMY_MAIN
     24469
     24470#  ifdef __cplusplus
     24471     extern "C"
     24472#  endif
     24473   int F77_DUMMY_MAIN() { return 1; }
     24474
     24475#endif
     24476int
     24477main ()
     24478{
     24479$cfuncdaxpy()
     24480  ;
     24481  return 0;
     24482}
     24483_ACEOF
     24484rm -f conftest.$ac_objext conftest$ac_exeext
     24485if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24486  (eval $ac_link) 2>conftest.er1
     24487  ac_status=$?
     24488  grep -v '^ *+' conftest.er1 >conftest.err
     24489  rm -f conftest.er1
     24490  cat conftest.err >&5
     24491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24492  (exit $ac_status); } &&
     24493         { ac_try='test -z "$ac_c_werror_flag"
     24494                         || test ! -s conftest.err'
     24495  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24496  (eval $ac_try) 2>&5
     24497  ac_status=$?
     24498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24499  (exit $ac_status); }; } &&
     24500         { ac_try='test -s conftest$ac_exeext'
     24501  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24502  (eval $ac_try) 2>&5
     24503  ac_status=$?
     24504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24505  (exit $ac_status); }; }; then
     24506  LIBS="$flink_save_libs"
     24507                     coin_need_flibs=yes
     24508                     use_blas='-lblas'
     24509                       if test $coin_need_flibs = yes ; then
     24510                         use_blas="$use_blas $FLIBS"
     24511                       fi
     24512                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24513echo "${ECHO_T}yes: $use_blas" >&6
     24514
     24515
     24516else
     24517  echo "$as_me: failed program was:" >&5
     24518sed 's/^/| /' conftest.$ac_ext >&5
     24519
     24520LIBS="$flink_save_libs"
     24521                     echo "$as_me:$LINENO: result: no" >&5
     24522echo "${ECHO_T}no" >&6
     24523fi
     24524rm -f conftest.err conftest.$ac_objext \
     24525      conftest$ac_exeext conftest.$ac_ext
     24526      else
     24527        echo "$as_me:$LINENO: result: no" >&5
     24528echo "${ECHO_T}no" >&6
     24529      fi
     24530    fi
     24531    ;;
     24532  cc|cpp)
     24533    ac_ext=f
     24534ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24535ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24536ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24537case $ac_cv_f77_mangling in
     24538  upper*) ac_val="DAXPY" ;;
     24539  lower*) ac_val="daxpy" ;;
     24540  *)      ac_val="unknown" ;;
     24541esac
     24542case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24543
     24544cfuncdaxpy="$ac_val"
     24545
     24546ac_ext=c
     24547ac_cpp='$CPP $CPPFLAGS'
     24548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24550ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24551
     24552    if test x"$coin_need_flibs" = xyes; then
     24553      flink_try=no;
     24554    else
     24555      cat >conftest.$ac_ext <<_ACEOF
     24556/* confdefs.h.  */
     24557_ACEOF
     24558cat confdefs.h >>conftest.$ac_ext
     24559cat >>conftest.$ac_ext <<_ACEOF
     24560/* end confdefs.h.  */
     24561extern "C" {void $cfuncdaxpy();}
     24562#ifdef F77_DUMMY_MAIN
     24563
     24564#  ifdef __cplusplus
     24565     extern "C"
     24566#  endif
     24567   int F77_DUMMY_MAIN() { return 1; }
     24568
     24569#endif
     24570int
     24571main ()
     24572{
     24573$cfuncdaxpy()
     24574  ;
     24575  return 0;
     24576}
     24577_ACEOF
     24578rm -f conftest.$ac_objext conftest$ac_exeext
     24579if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24580  (eval $ac_link) 2>conftest.er1
     24581  ac_status=$?
     24582  grep -v '^ *+' conftest.er1 >conftest.err
     24583  rm -f conftest.er1
     24584  cat conftest.err >&5
     24585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24586  (exit $ac_status); } &&
     24587         { ac_try='test -z "$ac_c_werror_flag"
     24588                         || test ! -s conftest.err'
     24589  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24590  (eval $ac_try) 2>&5
     24591  ac_status=$?
     24592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24593  (exit $ac_status); }; } &&
     24594         { ac_try='test -s conftest$ac_exeext'
     24595  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24596  (eval $ac_try) 2>&5
     24597  ac_status=$?
     24598  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24599  (exit $ac_status); }; }; then
     24600  flink_try=yes
     24601else
     24602  echo "$as_me: failed program was:" >&5
     24603sed 's/^/| /' conftest.$ac_ext >&5
     24604
     24605flink_try=no
     24606fi
     24607rm -f conftest.err conftest.$ac_objext \
     24608      conftest$ac_exeext conftest.$ac_ext
     24609    fi
     24610    if test $flink_try = yes; then
     24611      use_blas='-lblas'
     24612                       if test $coin_need_flibs = yes ; then
     24613                         use_blas="$use_blas $FLIBS"
     24614                       fi
     24615                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24616echo "${ECHO_T}yes: $use_blas" >&6
     24617
     24618    else
     24619      if test x"$FLIBS" != x; then
     24620        flink_save_libs="$LIBS"
     24621        LIBS="$LIBS $FLIBS"
     24622        cat >conftest.$ac_ext <<_ACEOF
     24623/* confdefs.h.  */
     24624_ACEOF
     24625cat confdefs.h >>conftest.$ac_ext
     24626cat >>conftest.$ac_ext <<_ACEOF
     24627/* end confdefs.h.  */
     24628extern "C" {void $cfuncdaxpy();}
     24629#ifdef F77_DUMMY_MAIN
     24630
     24631#  ifdef __cplusplus
     24632     extern "C"
     24633#  endif
     24634   int F77_DUMMY_MAIN() { return 1; }
     24635
     24636#endif
     24637int
     24638main ()
     24639{
     24640$cfuncdaxpy()
     24641  ;
     24642  return 0;
     24643}
     24644_ACEOF
     24645rm -f conftest.$ac_objext conftest$ac_exeext
     24646if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24647  (eval $ac_link) 2>conftest.er1
     24648  ac_status=$?
     24649  grep -v '^ *+' conftest.er1 >conftest.err
     24650  rm -f conftest.er1
     24651  cat conftest.err >&5
     24652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24653  (exit $ac_status); } &&
     24654         { ac_try='test -z "$ac_c_werror_flag"
     24655                         || test ! -s conftest.err'
     24656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24657  (eval $ac_try) 2>&5
     24658  ac_status=$?
     24659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24660  (exit $ac_status); }; } &&
     24661         { ac_try='test -s conftest$ac_exeext'
     24662  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24663  (eval $ac_try) 2>&5
     24664  ac_status=$?
     24665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24666  (exit $ac_status); }; }; then
     24667  LIBS="$flink_save_libs"
     24668                     coin_need_flibs=yes
     24669                     use_blas='-lblas'
     24670                       if test $coin_need_flibs = yes ; then
     24671                         use_blas="$use_blas $FLIBS"
     24672                       fi
     24673                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24674echo "${ECHO_T}yes: $use_blas" >&6
     24675
     24676
     24677else
     24678  echo "$as_me: failed program was:" >&5
     24679sed 's/^/| /' conftest.$ac_ext >&5
     24680
     24681LIBS="$flink_save_libs"
     24682                     echo "$as_me:$LINENO: result: no" >&5
     24683echo "${ECHO_T}no" >&6
     24684fi
     24685rm -f conftest.err conftest.$ac_objext \
     24686      conftest$ac_exeext conftest.$ac_ext
     24687      else
     24688        echo "$as_me:$LINENO: result: no" >&5
     24689echo "${ECHO_T}no" >&6
     24690      fi
     24691    fi
     24692    ;;
     24693esac
     24694
    2422024695    LIBS="$coin_save_LIBS"
    2422124696  fi
     
    2424324718fi
    2424424719
     24720if test "$coin_has_blas" != skipping; then
     24721
     24722# Check whether --with-m4_tolower(Blas) or --without-m4_tolower(Blas) was given.
     24723if test "${with_blas+set}" = set; then
     24724  withval="$with_blas"
     24725  if test "$withval" = no ; then
     24726       coin_has_blas=skipping
     24727     fi
     24728
     24729fi;
     24730fi
     24731
    2424524732BLAS_LIBS=
    2424624733BLAS_CFLAGS=
    2424724734BLAS_DATA=
    24248 
    24249 
    24250 
    24251 
    24252 
    24253 
    24254 
    24255 
    24256 
    24257 
    24258 
    24259 
    24260 
    24261 
    24262 
    24263 
    24264 
    24265 #check if user provided LIBS, CFLAGS, or DATA for module
     24735BLAS_DEPENDENCIES=
     24736BLAS_PCLIBS=
     24737BLAS_PCREQUIRES=
     24738BLAS_DATA=
     24739
     24740
     24741
     24742
     24743
     24744
     24745
     24746
     24747
     24748
     24749
     24750
     24751
     24752
     24753
     24754
     24755
     24756#check if user provided LIBS, CFLAGS, or DATA for package or disables use of package
    2426624757if test $coin_has_blas != skipping; then
    24267 
    2426824758
    2426924759# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
    2427024760if test "${with_blas_lib+set}" = set; then
    2427124761  withval="$with_blas_lib"
    24272   coin_has_blas=yes
     24762  if test "$withval" = no ; then
     24763       coin_has_blas=skipping
     24764     else
     24765       coin_has_blas=yes
    2427324766       BLAS_LIBS="$withval"
     24767       BLAS_PCLIBS="$withval"
    2427424768
    2427524769         MUMPS_PCLIBS="$withval $MUMPS_PCLIBS"
    2427624770         MUMPS_LIBS="$withval $MUMPS_LIBS"
    2427724771
     24772       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     24773       if test -z "$PKG_CONFIG" ; then
     24774         BLAS_LIBS_INSTALLED="$withval"
     24775         MUMPS_LIBS_INSTALLED="$withval $MUMPS_LIBS_INSTALLED"
     24776       fi
     24777     fi
    2427824778
    2427924779fi;
    24280 
     24780fi
     24781
     24782if test $coin_has_blas != skipping; then
    2428124783
    2428224784# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
    2428324785if test "${with_blas_incdir+set}" = set; then
    2428424786  withval="$with_blas_incdir"
    24285   coin_has_blas=yes
    24286      BLAS_CFLAGS="-I`${CYGPATH_W} $withval`"
    24287      MUMPS_CFLAGS="$withval $MUMPS_CFLAGS"
    24288 
     24787  if test "$withval" = no ; then
     24788       coin_has_blas=skipping
     24789     else
     24790       coin_has_blas=yes
     24791       BLAS_CFLAGS="-I`${CYGPATH_W} $withval`"
     24792       MUMPS_CFLAGS="-I`${CYGPATH_W} $withval` $MUMPS_CFLAGS"
     24793       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     24794       if test -z "$PKG_CONFIG" ; then
     24795         BLAS_CFLAGS_INSTALLED="$BLAS_CFLAGS"
     24796         MUMPS_CFLAGS_INSTALLED="$BLAS_CFLAGS $MUMPS_CFLAGS_INSTALLED"
     24797       fi
     24798     fi
    2428924799
    2429024800fi;
    24291 
     24801fi
     24802
     24803if test $coin_has_blas != skipping; then
    2429224804
    2429324805# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
    2429424806if test "${with_blas_datadir+set}" = set; then
    2429524807  withval="$with_blas_datadir"
    24296   coin_has_blas=yes
    24297      BLAS_DATA="$withval"
     24808  if test "$withval" = no ; then
     24809       coin_has_blas=skipping
     24810     else
     24811       coin_has_blas=yes
     24812       BLAS_DATA="$withval"
     24813       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     24814       if test -z "$PKG_CONFIG" ; then
     24815         BLAS_DATA_INSTALLED="$withval"
     24816       fi
     24817     fi
     24818
    2429824819fi;
    2429924820fi
     
    2431324834if test -n "$PKG_CONFIG" ; then
    2431424835  if $PKG_CONFIG --exists "coinblas"; then
    24315     BLAS_VERSIONS="`$PKG_CONFIG --modversion "coinblas" 2>/dev/null | tr '\n' ' '`"
     24836    BLAS_VERSIONS="`$PKG_CONFIG --modversion "coinblas" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`"
    2431624837     cflags=`$PKG_CONFIG --cflags "coinblas" 2>/dev/null`
    2431724838    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     
    2433524856          BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    2433624857        fi
     24858        BLAS_PCREQUIRES="coinblas"
    2433724859
    2433824860        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in MUMPS
     
    2437824900BLAS_DATA=
    2437924901BLAS_DATA_INSTALLED=
    24380 
    24381 # initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x)
     24902BLAS_PCLIBS=
     24903BLAS_PCREQUIRES=
     24904
     24905# initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x, != x)
    2438224906projtoprocess="coinblas"
    2438324907
     
    2441824942      # add projrequires to the front of the list of projects that have to be processed next
    2441924943      # at the same time, remove $proj from this list
    24420       projtoprocess=${projtoprocess/$proj/$projrequires}
     24944      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
    2442124945
    2442224946      # read DATA from $pcfile, if _DATA is still empty
     
    2448625010    #   replace "Cflags:" by "echo projcflags="
    2448725011    #   remove every line starting with <some word>:
    24488     pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25012    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
    2448925013
    2449025014    # set projcflags and projlibs variables by running $pcfilemod
     25015    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2449125016    projcflags=
    2449225017    projlibs=
     25018    IFS="$save_IFS"
    2449325019    eval `sh -c "$pcfilemod"`
     25020    IFS=":"
    2449425021
    2449525022    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2453125058    #   replace "Cflags:" by "echo projcflags="
    2453225059    #   remove every line starting with <some word>:
    24533     pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25060    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
    2453425061
    2453525062    # set projcflags and projlibs variables by running $pcfilemod
     25063    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2453625064    projcflags=
    2453725065    projlibs=
     25066    IFS="$save_IFS"
    2453825067    eval `sh -c "$pcfilemod"`
     25068    IFS=":"
    2453925069
    2454025070    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2456725097  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
    2456825098  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
    24569   #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
    24570   #    everything of the form "-lname" by "libname.lib"
     25099  #    everything of the form "-lname" by "libname.lib", and
     25100  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`
    2457125101  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
    2457225102  then
    2457325103    BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    24574     BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     25104    BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'`
    2457525105  fi
    2457625106
     25107  BLAS_PCREQUIRES="coinblas"
    2457725108
    2457825109    MUMPS_PCREQUIRES="coinblas $MUMPS_PCREQUIRES"
     
    2461325144
    2461425145
    24615   # construct dependencies variables from LIBS variables
    24616   # we add an extra space in LIBS so we can substitute out everything starting with " -"
    24617   # before, substitute out everything of the form -framework xxx as used on Mac
    24618   # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl)
    24619   BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    24620 
    24621     MUMPS_DEPENDENCIES=`echo " $MUMPS_LIBS " | sed -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    24622 
     25146  # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given.
     25147if test "${enable_interpackage_dependencies+set}" = set; then
     25148  enableval="$enable_interpackage_dependencies"
     25149
     25150else
     25151  enable_interpackage_dependencies=yes
     25152fi;
     25153
     25154  if test $enable_interpackage_dependencies = yes ; then
     25155     # construct dependencies variables from LIBS variables
     25156     # we add an extra space in LIBS so we can substitute out everything starting with " -"
     25157     # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows
     25158     # then remove everything of the form -xxx
     25159     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
     25160     BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25161
     25162       MUMPS_DEPENDENCIES=`echo " $MUMPS_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25163
     25164  fi
    2462325165
    2462425166  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     
    2463925181echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
    2464025182    fi
    24641     if test -n "$BLAS_CFLAGS" ; then
    24642       { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5
    24643 echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;}
     25183    if test -n "$BLAS_PCLIBS" ; then
     25184      { echo "$as_me:$LINENO: Blas PCLIBS are $BLAS_PCLIBS" >&5
     25185echo "$as_me: Blas PCLIBS are $BLAS_PCLIBS" >&6;}
     25186    fi
     25187    if test -n "$BLAS_PCREQUIRES" ; then
     25188      { echo "$as_me:$LINENO: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&5
     25189echo "$as_me: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&6;}
    2464425190    fi
    2464525191
     
    2473425280fi
    2473525281
     25282if test "$coin_has_metis" != skipping; then
     25283
     25284# Check whether --with-m4_tolower(Metis) or --without-m4_tolower(Metis) was given.
     25285if test "${with_metis+set}" = set; then
     25286  withval="$with_metis"
     25287  if test "$withval" = no ; then
     25288       coin_has_metis=skipping
     25289     fi
     25290
     25291fi;
     25292fi
     25293
    2473625294METIS_LIBS=
    2473725295METIS_CFLAGS=
    2473825296METIS_DATA=
    24739 
    24740 
    24741 
    24742 
    24743 
    24744 
    24745 
    24746 
    24747 
    24748 
    24749 
    24750 
    24751 
    24752 
    24753 
    24754 
    24755 
    24756 #check if user provided LIBS, CFLAGS, or DATA for module
     25297METIS_DEPENDENCIES=
     25298METIS_PCLIBS=
     25299METIS_PCREQUIRES=
     25300METIS_DATA=
     25301
     25302
     25303
     25304
     25305
     25306
     25307
     25308
     25309
     25310
     25311
     25312
     25313
     25314
     25315
     25316
     25317
     25318#check if user provided LIBS, CFLAGS, or DATA for package or disables use of package
    2475725319if test $coin_has_metis != skipping; then
    24758 
    2475925320
    2476025321# Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given.
    2476125322if test "${with_metis_lib+set}" = set; then
    2476225323  withval="$with_metis_lib"
    24763   coin_has_metis=yes
     25324  if test "$withval" = no ; then
     25325       coin_has_metis=skipping
     25326     else
     25327       coin_has_metis=yes
    2476425328       METIS_LIBS="$withval"
     25329       METIS_PCLIBS="$withval"
    2476525330
    2476625331         MUMPS_PCLIBS="$withval $MUMPS_PCLIBS"
    2476725332         MUMPS_LIBS="$withval $MUMPS_LIBS"
    2476825333
     25334       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25335       if test -z "$PKG_CONFIG" ; then
     25336         METIS_LIBS_INSTALLED="$withval"
     25337         MUMPS_LIBS_INSTALLED="$withval $MUMPS_LIBS_INSTALLED"
     25338       fi
     25339     fi
    2476925340
    2477025341fi;
    24771 
     25342fi
     25343
     25344if test $coin_has_metis != skipping; then
    2477225345
    2477325346# Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given.
    2477425347if test "${with_metis_incdir+set}" = set; then
    2477525348  withval="$with_metis_incdir"
    24776   coin_has_metis=yes
    24777      METIS_CFLAGS="-I`${CYGPATH_W} $withval`"
    24778      MUMPS_CFLAGS="$withval $MUMPS_CFLAGS"
    24779 
     25349  if test "$withval" = no ; then
     25350       coin_has_metis=skipping
     25351     else
     25352       coin_has_metis=yes
     25353       METIS_CFLAGS="-I`${CYGPATH_W} $withval`"
     25354       MUMPS_CFLAGS="-I`${CYGPATH_W} $withval` $MUMPS_CFLAGS"
     25355       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25356       if test -z "$PKG_CONFIG" ; then
     25357         METIS_CFLAGS_INSTALLED="$METIS_CFLAGS"
     25358         MUMPS_CFLAGS_INSTALLED="$METIS_CFLAGS $MUMPS_CFLAGS_INSTALLED"
     25359       fi
     25360     fi
    2478025361
    2478125362fi;
    24782 
     25363fi
     25364
     25365if test $coin_has_metis != skipping; then
    2478325366
    2478425367# Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given.
    2478525368if test "${with_metis_datadir+set}" = set; then
    2478625369  withval="$with_metis_datadir"
    24787   coin_has_metis=yes
    24788      METIS_DATA="$withval"
     25370  if test "$withval" = no ; then
     25371       coin_has_metis=skipping
     25372     else
     25373       coin_has_metis=yes
     25374       METIS_DATA="$withval"
     25375       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25376       if test -z "$PKG_CONFIG" ; then
     25377         METIS_DATA_INSTALLED="$withval"
     25378       fi
     25379     fi
     25380
    2478925381fi;
    2479025382fi
     
    2480425396if test -n "$PKG_CONFIG" ; then
    2480525397  if $PKG_CONFIG --exists "coinmetis >= 4.0"; then
    24806     METIS_VERSIONS="`$PKG_CONFIG --modversion "coinmetis >= 4.0" 2>/dev/null | tr '\n' ' '`"
     25398    METIS_VERSIONS="`$PKG_CONFIG --modversion "coinmetis >= 4.0" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`"
    2480725399     cflags=`$PKG_CONFIG --cflags "coinmetis >= 4.0" 2>/dev/null`
    2480825400    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     
    2482625418          METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    2482725419        fi
     25420        METIS_PCREQUIRES="coinmetis >= 4.0"
    2482825421
    2482925422        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in MUMPS
     
    2486925462METIS_DATA=
    2487025463METIS_DATA_INSTALLED=
    24871 
    24872 # initial list of dependencies is "coinmetis >= 4.0", but we need to filter out version number specifications (= x, <= x, >= x)
     25464METIS_PCLIBS=
     25465METIS_PCREQUIRES=
     25466
     25467# initial list of dependencies is "coinmetis >= 4.0", but we need to filter out version number specifications (= x, <= x, >= x, != x)
    2487325468projtoprocess="coinmetis "
    2487425469
     
    2490925504      # add projrequires to the front of the list of projects that have to be processed next
    2491025505      # at the same time, remove $proj from this list
    24911       projtoprocess=${projtoprocess/$proj/$projrequires}
     25506      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
    2491225507
    2491325508      # read DATA from $pcfile, if _DATA is still empty
     
    2497725572    #   replace "Cflags:" by "echo projcflags="
    2497825573    #   remove every line starting with <some word>:
    24979     pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25574    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
    2498025575
    2498125576    # set projcflags and projlibs variables by running $pcfilemod
     25577    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2498225578    projcflags=
    2498325579    projlibs=
     25580    IFS="$save_IFS"
    2498425581    eval `sh -c "$pcfilemod"`
     25582    IFS=":"
    2498525583
    2498625584    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2502225620    #   replace "Cflags:" by "echo projcflags="
    2502325621    #   remove every line starting with <some word>:
    25024     pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25622    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
    2502525623
    2502625624    # set projcflags and projlibs variables by running $pcfilemod
     25625    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
    2502725626    projcflags=
    2502825627    projlibs=
     25628    IFS="$save_IFS"
    2502925629    eval `sh -c "$pcfilemod"`
     25630    IFS=":"
    2503025631
    2503125632    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     
    2505825659  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
    2505925660  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
    25060   #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
    25061   #    everything of the form "-lname" by "libname.lib"
     25661  #    everything of the form "-lname" by "libname.lib", and
     25662  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`
    2506225663  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
    2506325664  then
    2506425665    METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
    25065     METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     25666    METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'`
    2506625667  fi
    2506725668
     25669  METIS_PCREQUIRES="coinmetis >= 4.0"
    2506825670
    2506925671    MUMPS_PCREQUIRES="coinmetis >= 4.0 $MUMPS_PCREQUIRES"
     
    2510425706
    2510525707
    25106   # construct dependencies variables from LIBS variables
    25107   # we add an extra space in LIBS so we can substitute out everything starting with " -"
    25108   # before, substitute out everything of the form -framework xxx as used on Mac
    25109   # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl)
    25110   METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    25111 
    25112     MUMPS_DEPENDENCIES=`echo " $MUMPS_LIBS " | sed -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    25113 
     25708  # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given.
     25709if test "${enable_interpackage_dependencies+set}" = set; then
     25710  enableval="$enable_interpackage_dependencies"
     25711
     25712else
     25713  enable_interpackage_dependencies=yes
     25714fi;
     25715
     25716  if test $enable_interpackage_dependencies = yes ; then
     25717     # construct dependencies variables from LIBS variables
     25718     # we add an extra space in LIBS so we can substitute out everything starting with " -"
     25719     # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows
     25720     # then remove everything of the form -xxx
     25721     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
     25722     METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25723
     25724       MUMPS_DEPENDENCIES=`echo " $MUMPS_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25725
     25726  fi
    2511425727
    2511525728  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     
    2513025743echo "$as_me: Metis DATA   is  $METIS_DATA" >&6;}
    2513125744    fi
    25132     if test -n "$METIS_CFLAGS" ; then
    25133       { echo "$as_me:$LINENO: Metis CFLAGS are $METIS_CFLAGS" >&5
    25134 echo "$as_me: Metis CFLAGS are $METIS_CFLAGS" >&6;}
     25745    if test -n "$METIS_PCLIBS" ; then
     25746      { echo "$as_me:$LINENO: Metis PCLIBS are $METIS_PCLIBS" >&5
     25747echo "$as_me: Metis PCLIBS are $METIS_PCLIBS" >&6;}
     25748    fi
     25749    if test -n "$METIS_PCREQUIRES" ; then
     25750      { echo "$as_me:$LINENO: Metis PCREQUIRES are $METIS_PCREQUIRES" >&5
     25751echo "$as_me: Metis PCREQUIRES are $METIS_PCREQUIRES" >&6;}
    2513525752    fi
    2513625753
     
    2539326010
    2539426011  fi
     26012
     26013  # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status.
     26014  # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice.
     26015
    2539526016
    2539626017  cat >confcache <<\_ACEOF
     
    2614926770s,@build_vendor@,$build_vendor,;t t
    2615026771s,@build_os@,$build_os,;t t
    26151 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
    26152 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2615326772s,@CDEFS@,$CDEFS,;t t
    2615426773s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2616326782s,@EXEEXT@,$EXEEXT,;t t
    2616426783s,@OBJEXT@,$OBJEXT,;t t
     26784s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     26785s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2616526786s,@MPICC@,$MPICC,;t t
    2616626787s,@ADD_FFLAGS@,$ADD_FFLAGS,;t t
     
    2616826789s,@OPT_FFLAGS@,$OPT_FFLAGS,;t t
    2616926790s,@F77@,$F77,;t t
     26791s,@ac_ct_F77@,$ac_ct_F77,;t t
    2617026792s,@FFLAGS@,$FFLAGS,;t t
    26171 s,@ac_ct_F77@,$ac_ct_F77,;t t
    2617226793s,@MPIF77@,$MPIF77,;t t
    2617326794s,@FLIBS@,$FLIBS,;t t
     
    2617526796s,@EGREP@,$EGREP,;t t
    2617626797s,@MY_DEFS@,$MY_DEFS,;t t
     26798s,@LN_S@,$LN_S,;t t
    2617726799s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    2617826800s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     
    2622526847s,@host_vendor@,$host_vendor,;t t
    2622626848s,@host_os@,$host_os,;t t
    26227 s,@LN_S@,$LN_S,;t t
    2622826849s,@ECHO@,$ECHO,;t t
    2622926850s,@AR@,$AR,;t t
     
    2673227353
    2673327354
     27355    case $build in
     27356      *-aix*)
     27357        { echo "$as_me:$LINENO: patching config.status to reduce ac_max_sed_lines to 5" >&5
     27358echo "$as_me: patching config.status to reduce ac_max_sed_lines to 5" >&6;}
     27359        sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp
     27360        mv config.status.tmp config.status
     27361      ;;
     27362    esac
     27363
     27364
    2673427365# configure is writing to config.log, and then calls config.status.
    2673527366# config.status does its own redirection, appending to config.log.
     
    2680827439  fi
    2680927440
     27441  { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
     27442echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
    2681027443  if test x$coin_projectdir = xyes; then
    2681127444    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
  • ThirdParty/Mumps/stable/1.4/get.Mumps

    r1599 r2315  
    33# Set the following to the latest MUMPS version.
    44#  THERE MUST BE NO SPACE BEFORE AND AFTER THE EQUAL (=) OPERATOR.
    5 mumps_ver=4.9.2
     5mumps_ver=4.10.0
    66
    77set -e
    88
    99wgetcmd=wget
    10 whichwget=`which wget 2>/dev/null`
    11 if test -z "$whichwget" ; then
     10wgetcount=`which wget 2>/dev/null | wc -l`
     11if test ! $wgetcount = 1; then
    1212  echo "Utility wget not found in your PATH."
    1313  if test `uname` = Darwin; then
     
    4545
    4646echo " "
    47 echo "Applying patch."
    48 echo " "
    49 
    50 patch -p0 < mumps.patch
    51 
    52 echo " "
    5347echo "Verify that there are no error message in the output above."
Note: See TracChangeset for help on using the changeset viewer.