Changeset 1411 for ThirdParty/Blas


Ignore:
Timestamp:
Sep 13, 2009 2:24:20 PM (10 years ago)
Author:
stefan
Message:

revert my recent changes related to BSPsplit after copying them into branches

Location:
ThirdParty/Blas/trunk
Files:
4 deleted
4 edited

Legend:

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

    r1396 r1411  
    99EXTRA_DIST = get.blas INSTALL.BLAS
    1010
    11 thirdpartylibdir = $(prefix)/lib/ThirdParty
    12 thirdpartylib_LTLIBRARIES = libcoinblas.la
     11if SKIPMAKE
     12  noinst_LTLIBRARIES =
     13else
     14  noinst_LTLIBRARIES = libcoinblas.la
     15endif
    1316
    14 libcoinblas_la_SOURCES = \
     17nodist_libcoinblas_la_SOURCES = \
    1518        dasum.f \
    1619        daxpy.f \
     
    5356libcoinblas_la_LDFLAGS = $(LT_LDFLAGS)
    5457
    55 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Blas
    56 addlibs_DATA = blas_addlibs.txt README
    57 
    58 pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
    59 pkgconfiglib_DATA = blas.pc
    60 
    6158########################################################################
    6259#                         Maintainer Stuff                             #
  • ThirdParty/Blas/trunk/Makefile.in

    r1396 r1411  
    2828#                    Documentation installation                        #
    2929########################################################################
    30 
    3130
    3231srcdir = @srcdir@
     
    5251build_triplet = @build@
    5352host_triplet = @host@
    54 DIST_COMMON = README $(am__configure_deps) \
     53DIST_COMMON = $(am__configure_deps) \
    5554        $(srcdir)/../../BuildTools/Makemain.inc \
    5655        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
    5756        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5857        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    59         $(srcdir)/Makefile.in $(srcdir)/blas-uninstalled.pc.in \
    60         $(srcdir)/blas.pc.in $(srcdir)/blas_addlibs.txt.in \
    61         $(top_srcdir)/configure
     58        $(srcdir)/Makefile.in $(top_srcdir)/configure
    6259@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6360@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    7168 configure.lineno configure.status.lineno
    7269mkinstalldirs = $(install_sh) -d
    73 CONFIG_CLEAN_FILES = blas_addlibs.txt blas.pc blas-uninstalled.pc
    74 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    75 am__vpath_adj = case $$p in \
    76     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    77     *) f=$$p;; \
    78   esac;
    79 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    80 am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    81         "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"
    82 thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    83 LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     70CONFIG_CLEAN_FILES =
     71LTLIBRARIES = $(noinst_LTLIBRARIES)
    8472libcoinblas_la_LIBADD =
    85 am_libcoinblas_la_OBJECTS = dasum.lo daxpy.lo dcopy.lo ddot.lo \
     73nodist_libcoinblas_la_OBJECTS = dasum.lo daxpy.lo dcopy.lo ddot.lo \
    8674        dgbmv.lo dgemm.lo dgemv.lo dger.lo dnrm2.lo drot.lo drotg.lo \
    8775        drotm.lo drotmg.lo dsbmv.lo dscal.lo dsdot.lo dspmv.lo \
     
    8977        dsyr.lo dsyrk.lo dtbmv.lo dtbsv.lo dtpmv.lo dtpsv.lo dtrmm.lo \
    9078        dtrmv.lo dtrsm.lo dtrsv.lo idamax.lo lsame.lo xerbla.lo
    91 libcoinblas_la_OBJECTS = $(am_libcoinblas_la_OBJECTS)
     79libcoinblas_la_OBJECTS = $(nodist_libcoinblas_la_OBJECTS)
     80@SKIPMAKE_FALSE@am_libcoinblas_la_rpath =
    9281DEFAULT_INCLUDES = -I. -I$(srcdir)
    9382F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
     
    9786F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \
    9887        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    99 SOURCES = $(libcoinblas_la_SOURCES)
    100 DIST_SOURCES = $(libcoinblas_la_SOURCES)
    101 addlibsDATA_INSTALL = $(INSTALL_DATA)
    102 pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
    103 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
     88SOURCES = $(nodist_libcoinblas_la_SOURCES)
     89DIST_SOURCES =
    10490ETAGS = etags
    10591CTAGS = ctags
     
    130116AUX_DIR = @AUX_DIR@
    131117AWK = @AWK@
    132 BLASDOCDIR = @BLASDOCDIR@
    133 BLASOBJDIR = @BLASOBJDIR@
    134 BLASSRCDIR = @BLASSRCDIR@
    135118BUILDTOOLSDIR = @BUILDTOOLSDIR@
    136119CC = @CC@
     
    138121CDEFS = @CDEFS@
    139122CFLAGS = @CFLAGS@
     123COIN_BUILD_BLAS_FALSE = @COIN_BUILD_BLAS_FALSE@
     124COIN_BUILD_BLAS_TRUE = @COIN_BUILD_BLAS_TRUE@
    140125COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    141126COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
     
    160145FADDLIBS = @FADDLIBS@
    161146FFLAGS = @FFLAGS@
     147FLIBS = @FLIBS@
    162148HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    163149HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    179165MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    180166MAKEINFO = @MAKEINFO@
     167MAKEOKFILE = @MAKEOKFILE@
    181168MPICC = @MPICC@
    182169MPIF77 = @MPIF77@
     
    195182SET_MAKE = @SET_MAKE@
    196183SHELL = @SHELL@
     184SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
     185SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    197186STRIP = @STRIP@
    198187VERSION = @VERSION@
     
    253242AUTOMAKE_OPTIONS = foreign
    254243EXTRA_DIST = get.blas INSTALL.BLAS $(am__append_1)
    255 thirdpartylibdir = $(prefix)/lib/ThirdParty
    256 thirdpartylib_LTLIBRARIES = libcoinblas.la
    257 pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
    258 pkgconfiglib_DATA = blas.pc
    259 libcoinblas_la_SOURCES = \
     244@SKIPMAKE_FALSE@noinst_LTLIBRARIES = libcoinblas.la
     245@SKIPMAKE_TRUE@noinst_LTLIBRARIES =
     246nodist_libcoinblas_la_SOURCES = \
    260247        dasum.f \
    261248        daxpy.f \
     
    297284
    298285libcoinblas_la_LDFLAGS = $(LT_LDFLAGS)
    299 addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Blas
    300 addlibs_DATA = blas_addlibs.txt README
    301286
    302287########################################################################
     
    345330$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    346331        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    347 blas_addlibs.txt: $(top_builddir)/config.status $(srcdir)/blas_addlibs.txt.in
    348         cd $(top_builddir) && $(SHELL) ./config.status $@
    349 blas.pc: $(top_builddir)/config.status $(srcdir)/blas.pc.in
    350         cd $(top_builddir) && $(SHELL) ./config.status $@
    351 blas-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/blas-uninstalled.pc.in
    352         cd $(top_builddir) && $(SHELL) ./config.status $@
    353 install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
    354         @$(NORMAL_INSTALL)
    355         test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
    356         @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    357           if test -f $$p; then \
    358             f=$(am__strip_dir) \
    359             echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
    360             $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
    361           else :; fi; \
    362         done
    363 
    364 uninstall-thirdpartylibLTLIBRARIES:
    365         @$(NORMAL_UNINSTALL)
    366         @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    367           p=$(am__strip_dir) \
    368           echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
    369           $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
    370         done
    371 
    372 clean-thirdpartylibLTLIBRARIES:
    373         -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
    374         @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     332
     333clean-noinstLTLIBRARIES:
     334        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     335        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
    375336          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    376337          test "$$dir" != "$$p" || dir=.; \
     
    379340        done
    380341libcoinblas.la: $(libcoinblas_la_OBJECTS) $(libcoinblas_la_DEPENDENCIES)
    381         $(F77LINK) -rpath $(thirdpartylibdir) $(libcoinblas_la_LDFLAGS) $(libcoinblas_la_OBJECTS) $(libcoinblas_la_LIBADD) $(LIBS)
     342        $(F77LINK) $(am_libcoinblas_la_rpath) $(libcoinblas_la_LDFLAGS) $(libcoinblas_la_OBJECTS) $(libcoinblas_la_LIBADD) $(LIBS)
    382343
    383344mostlyclean-compile:
     
    405366        -rm -f libtool
    406367uninstall-info-am:
    407 install-addlibsDATA: $(addlibs_DATA)
    408         @$(NORMAL_INSTALL)
    409         test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
    410         @list='$(addlibs_DATA)'; for p in $$list; do \
    411           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    412           f=$(am__strip_dir) \
    413           echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
    414           $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
    415         done
    416 
    417 uninstall-addlibsDATA:
    418         @$(NORMAL_UNINSTALL)
    419         @list='$(addlibs_DATA)'; for p in $$list; do \
    420           f=$(am__strip_dir) \
    421           echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
    422           rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
    423         done
    424 install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
    425         @$(NORMAL_INSTALL)
    426         test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
    427         @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
    428           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    429           f=$(am__strip_dir) \
    430           echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
    431           $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
    432         done
    433 
    434 uninstall-pkgconfiglibDATA:
    435         @$(NORMAL_UNINSTALL)
    436         @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
    437           f=$(am__strip_dir) \
    438           echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
    439           rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
    440         done
    441368
    442369ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    491418        $(am__remove_distdir)
    492419        mkdir $(distdir)
    493         $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
     420        $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
    494421        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    495422        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    617544check-am: all-am
    618545check: check-am
    619 all-am: Makefile $(LTLIBRARIES) $(DATA)
     546all-am: Makefile $(LTLIBRARIES)
    620547installdirs:
    621         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
    622           test -z "$$dir" || $(mkdir_p) "$$dir"; \
    623         done
    624548install: install-am
    625549install-exec: install-exec-am
     
    649573clean: clean-am
    650574
    651 clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     575clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
    652576        mostlyclean-am
    653577
     
    668592info-am:
    669593
    670 install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
    671         install-thirdpartylibLTLIBRARIES
     594install-data-am:
    672595
    673596install-exec-am:
     
    698621ps-am:
    699622
    700 uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    701         uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
     623uninstall-am: uninstall-info-am
    702624
    703625.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    704         clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    705         ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
    706         dist-zip distcheck distclean distclean-compile \
    707         distclean-generic distclean-libtool distclean-tags \
    708         distcleancheck distdir distuninstallcheck dvi dvi-am html \
    709         html-am info info-am install install-addlibsDATA install-am \
    710         install-data install-data-am install-exec install-exec-am \
    711         install-info install-info-am install-man \
    712         install-pkgconfiglibDATA install-strip \
    713         install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
    714         installdirs maintainer-clean maintainer-clean-generic \
    715         mostlyclean mostlyclean-compile mostlyclean-generic \
    716         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
    717         uninstall-addlibsDATA uninstall-am uninstall-info-am \
    718         uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
     626        clean-generic clean-libtool clean-noinstLTLIBRARIES ctags dist \
     627        dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
     628        distcheck distclean distclean-compile distclean-generic \
     629        distclean-libtool distclean-tags distcleancheck distdir \
     630        distuninstallcheck dvi dvi-am html html-am info info-am \
     631        install install-am install-data install-data-am install-exec \
     632        install-exec-am install-info install-info-am install-man \
     633        install-strip installcheck installcheck-am installdirs \
     634        maintainer-clean maintainer-clean-generic mostlyclean \
     635        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
     636        pdf pdf-am ps ps-am tags uninstall uninstall-am \
     637        uninstall-info-am
    719638
    720639
  • ThirdParty/Blas/trunk/configure

    r1396 r1411  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os 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 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS BLASSRCDIR BLASOBJDIR BLASDOCDIR COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS 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 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS FLIBS COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    11001100  --with-tags[=TAGS]
    11011101                          include additional configurations [automatic]
     1102  --with-blas             specify BLAS library (or BUILD for compilation)
    11021103
    11031104Some influential environment variables:
     
    32913292
    32923293# Provide some information about the compiler.
    3293 echo "$as_me:3293:" \
     3294echo "$as_me:3294:" \
    32943295     "checking for Fortran 77 compiler version" >&5
    32953296ac_compiler=`set X $ac_compile; echo $2`
     
    54405441*-*-irix6*)
    54415442  # Find out which ABI we are using.
    5442   echo '#line 5442 "configure"' > conftest.$ac_ext
     5443  echo '#line 5443 "configure"' > conftest.$ac_ext
    54435444  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    54445445  (eval $ac_compile) 2>&5
     
    78697870   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78707871   -e 's:$: $lt_compiler_flag:'`
    7871    (eval echo "\"\$as_me:7871: $lt_compile\"" >&5)
     7872   (eval echo "\"\$as_me:7872: $lt_compile\"" >&5)
    78727873   (eval "$lt_compile" 2>conftest.err)
    78737874   ac_status=$?
    78747875   cat conftest.err >&5
    7875    echo "$as_me:7875: \$? = $ac_status" >&5
     7876   echo "$as_me:7876: \$? = $ac_status" >&5
    78767877   if (exit $ac_status) && test -s "$ac_outfile"; then
    78777878     # The compiler can only warn and ignore the option if not recognized
     
    81378138   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81388139   -e 's:$: $lt_compiler_flag:'`
    8139    (eval echo "\"\$as_me:8139: $lt_compile\"" >&5)
     8140   (eval echo "\"\$as_me:8140: $lt_compile\"" >&5)
    81408141   (eval "$lt_compile" 2>conftest.err)
    81418142   ac_status=$?
    81428143   cat conftest.err >&5
    8143    echo "$as_me:8143: \$? = $ac_status" >&5
     8144   echo "$as_me:8144: \$? = $ac_status" >&5
    81448145   if (exit $ac_status) && test -s "$ac_outfile"; then
    81458146     # The compiler can only warn and ignore the option if not recognized
     
    82418242   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82428243   -e 's:$: $lt_compiler_flag:'`
    8243    (eval echo "\"\$as_me:8243: $lt_compile\"" >&5)
     8244   (eval echo "\"\$as_me:8244: $lt_compile\"" >&5)
    82448245   (eval "$lt_compile" 2>out/conftest.err)
    82458246   ac_status=$?
    82468247   cat out/conftest.err >&5
    8247    echo "$as_me:8247: \$? = $ac_status" >&5
     8248   echo "$as_me:8248: \$? = $ac_status" >&5
    82488249   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82498250   then
     
    1058610587  lt_status=$lt_dlunknown
    1058710588  cat > conftest.$ac_ext <<EOF
    10588 #line 10588 "configure"
     10589#line 10589 "configure"
    1058910590#include "confdefs.h"
    1059010591
     
    1068610687  lt_status=$lt_dlunknown
    1068710688  cat > conftest.$ac_ext <<EOF
    10688 #line 10688 "configure"
     10689#line 10689 "configure"
    1068910690#include "confdefs.h"
    1069010691
     
    1303013031   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1303113032   -e 's:$: $lt_compiler_flag:'`
    13032    (eval echo "\"\$as_me:13032: $lt_compile\"" >&5)
     13033   (eval echo "\"\$as_me:13033: $lt_compile\"" >&5)
    1303313034   (eval "$lt_compile" 2>conftest.err)
    1303413035   ac_status=$?
    1303513036   cat conftest.err >&5
    13036    echo "$as_me:13036: \$? = $ac_status" >&5
     13037   echo "$as_me:13037: \$? = $ac_status" >&5
    1303713038   if (exit $ac_status) && test -s "$ac_outfile"; then
    1303813039     # The compiler can only warn and ignore the option if not recognized
     
    1313413135   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1313513136   -e 's:$: $lt_compiler_flag:'`
    13136    (eval echo "\"\$as_me:13136: $lt_compile\"" >&5)
     13137   (eval echo "\"\$as_me:13137: $lt_compile\"" >&5)
    1313713138   (eval "$lt_compile" 2>out/conftest.err)
    1313813139   ac_status=$?
    1313913140   cat out/conftest.err >&5
    13140    echo "$as_me:13140: \$? = $ac_status" >&5
     13141   echo "$as_me:13141: \$? = $ac_status" >&5
    1314113142   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1314213143   then
     
    1470414705   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1470514706   -e 's:$: $lt_compiler_flag:'`
    14706    (eval echo "\"\$as_me:14706: $lt_compile\"" >&5)
     14707   (eval echo "\"\$as_me:14707: $lt_compile\"" >&5)
    1470714708   (eval "$lt_compile" 2>conftest.err)
    1470814709   ac_status=$?
    1470914710   cat conftest.err >&5
    14710    echo "$as_me:14710: \$? = $ac_status" >&5
     14711   echo "$as_me:14711: \$? = $ac_status" >&5
    1471114712   if (exit $ac_status) && test -s "$ac_outfile"; then
    1471214713     # The compiler can only warn and ignore the option if not recognized
     
    1480814809   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1480914810   -e 's:$: $lt_compiler_flag:'`
    14810    (eval echo "\"\$as_me:14810: $lt_compile\"" >&5)
     14811   (eval echo "\"\$as_me:14811: $lt_compile\"" >&5)
    1481114812   (eval "$lt_compile" 2>out/conftest.err)
    1481214813   ac_status=$?
    1481314814   cat out/conftest.err >&5
    14814    echo "$as_me:14814: \$? = $ac_status" >&5
     14815   echo "$as_me:14815: \$? = $ac_status" >&5
    1481514816   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1481614817   then
     
    1701517016   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1701617017   -e 's:$: $lt_compiler_flag:'`
    17017    (eval echo "\"\$as_me:17017: $lt_compile\"" >&5)
     17018   (eval echo "\"\$as_me:17018: $lt_compile\"" >&5)
    1701817019   (eval "$lt_compile" 2>conftest.err)
    1701917020   ac_status=$?
    1702017021   cat conftest.err >&5
    17021    echo "$as_me:17021: \$? = $ac_status" >&5
     17022   echo "$as_me:17022: \$? = $ac_status" >&5
    1702217023   if (exit $ac_status) && test -s "$ac_outfile"; then
    1702317024     # The compiler can only warn and ignore the option if not recognized
     
    1728317284   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1728417285   -e 's:$: $lt_compiler_flag:'`
    17285    (eval echo "\"\$as_me:17285: $lt_compile\"" >&5)
     17286   (eval echo "\"\$as_me:17286: $lt_compile\"" >&5)
    1728617287   (eval "$lt_compile" 2>conftest.err)
    1728717288   ac_status=$?
    1728817289   cat conftest.err >&5
    17289    echo "$as_me:17289: \$? = $ac_status" >&5
     17290   echo "$as_me:17290: \$? = $ac_status" >&5
    1729017291   if (exit $ac_status) && test -s "$ac_outfile"; then
    1729117292     # The compiler can only warn and ignore the option if not recognized
     
    1738717388   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1738817389   -e 's:$: $lt_compiler_flag:'`
    17389    (eval echo "\"\$as_me:17389: $lt_compile\"" >&5)
     17390   (eval echo "\"\$as_me:17390: $lt_compile\"" >&5)
    1739017391   (eval "$lt_compile" 2>out/conftest.err)
    1739117392   ac_status=$?
    1739217393   cat out/conftest.err >&5
    17393    echo "$as_me:17393: \$? = $ac_status" >&5
     17394   echo "$as_me:17394: \$? = $ac_status" >&5
    1739417395   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1739517396   then
     
    2028920290}
    2029020291
    20291 echo "$as_me:$LINENO: checking for COIN project Blas" >&5
    20292 echo $ECHO_N "checking for COIN project Blas... $ECHO_C" >&6
    20293 
    20294 # First check, if the sub-project is actually available (ToDo: allow
    20295 # other locations)
    20296 
    20297 coin_has_blas=unavailable
    20298 if test x"$COIN_SKIP_PROJECTS" != x; then
    20299   for dir in $COIN_SKIP_PROJECTS; do
    20300     if test $dir = Blas; then
    20301       coin_has_blas=skipping
     20292# Check if Blas is already available on the system or provided by user
     20293ac_ext=f
     20294ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     20295ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20296ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     20297echo "$as_me:$LINENO: checking how to get verbose linking output from $F77" >&5
     20298echo $ECHO_N "checking how to get verbose linking output from $F77... $ECHO_C" >&6
     20299if test "${ac_cv_prog_f77_v+set}" = set; then
     20300  echo $ECHO_N "(cached) $ECHO_C" >&6
     20301else
     20302  cat >conftest.$ac_ext <<_ACEOF
     20303      program main
     20304
     20305      end
     20306_ACEOF
     20307rm -f conftest.$ac_objext
     20308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     20309  (eval $ac_compile) 2>conftest.er1
     20310  ac_status=$?
     20311  grep -v '^ *+' conftest.er1 >conftest.err
     20312  rm -f conftest.er1
     20313  cat conftest.err >&5
     20314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20315  (exit $ac_status); } &&
     20316         { ac_try='test -z "$ac_f77_werror_flag"
     20317                         || test ! -s conftest.err'
     20318  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20319  (eval $ac_try) 2>&5
     20320  ac_status=$?
     20321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20322  (exit $ac_status); }; } &&
     20323         { ac_try='test -s conftest.$ac_objext'
     20324  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20325  (eval $ac_try) 2>&5
     20326  ac_status=$?
     20327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20328  (exit $ac_status); }; }; then
     20329  ac_cv_prog_f77_v=
     20330# Try some options frequently used verbose output
     20331for ac_verb in -v -verbose --verbose -V -\#\#\#; do
     20332  cat >conftest.$ac_ext <<_ACEOF
     20333      program main
     20334
     20335      end
     20336_ACEOF
     20337
     20338# Compile and link our simple test program by passing a flag (argument
     20339# 1 to this macro) to the Fortran compiler in order to get
     20340# "verbose" output that we can then parse for the Fortran linker
     20341# flags.
     20342ac_save_FFLAGS=$FFLAGS
     20343FFLAGS="$FFLAGS $ac_verb"
     20344(eval echo $as_me:20344: \"$ac_link\") >&5
     20345ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
     20346echo "$ac_f77_v_output" >&5
     20347FFLAGS=$ac_save_FFLAGS
     20348
     20349rm -f conftest*
     20350
     20351# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
     20352# /foo, /bar, and /baz are search directories for the Fortran linker.
     20353# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
     20354ac_f77_v_output="`echo $ac_f77_v_output |
     20355        grep 'LPATH is:' |
     20356        sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
     20357
     20358case $ac_f77_v_output in
     20359  # If we are using xlf then replace all the commas with spaces.
     20360  *xlfentry*)
     20361    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
     20362
     20363  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
     20364  # $LIBS confuse us, and the libraries appear later in the output anyway).
     20365  *mGLOB_options_string*)
     20366    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
     20367
     20368  # If we are using Cray Fortran then delete quotes.
     20369  # Use "\"" instead of '"' for font-lock-mode.
     20370  # FIXME: a more general fix for quoted arguments with spaces?
     20371  *cft90*)
     20372    ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;
     20373esac
     20374
     20375
     20376  # look for -l* and *.a constructs in the output
     20377  for ac_arg in $ac_f77_v_output; do
     20378     case $ac_arg in
     20379        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
     20380          ac_cv_prog_f77_v=$ac_verb
     20381          break 2 ;;
     20382     esac
     20383  done
     20384done
     20385if test -z "$ac_cv_prog_f77_v"; then
     20386   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F77" >&5
     20387echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
     20388fi
     20389else
     20390  echo "$as_me: failed program was:" >&5
     20391sed 's/^/| /' conftest.$ac_ext >&5
     20392
     20393{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5
     20394echo "$as_me: WARNING: compilation failed" >&2;}
     20395fi
     20396rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     20397
     20398fi
     20399echo "$as_me:$LINENO: result: $ac_cv_prog_f77_v" >&5
     20400echo "${ECHO_T}$ac_cv_prog_f77_v" >&6
     20401echo "$as_me:$LINENO: checking for Fortran libraries of $F77" >&5
     20402echo $ECHO_N "checking for Fortran libraries of $F77... $ECHO_C" >&6
     20403if test "${ac_cv_f77_libs+set}" = set; then
     20404  echo $ECHO_N "(cached) $ECHO_C" >&6
     20405else
     20406  if test "x$FLIBS" != "x"; then
     20407  ac_cv_f77_libs="$FLIBS" # Let the user override the test.
     20408else
     20409
     20410cat >conftest.$ac_ext <<_ACEOF
     20411      program main
     20412
     20413      end
     20414_ACEOF
     20415
     20416# Compile and link our simple test program by passing a flag (argument
     20417# 1 to this macro) to the Fortran compiler in order to get
     20418# "verbose" output that we can then parse for the Fortran linker
     20419# flags.
     20420ac_save_FFLAGS=$FFLAGS
     20421FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
     20422(eval echo $as_me:20422: \"$ac_link\") >&5
     20423ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
     20424echo "$ac_f77_v_output" >&5
     20425FFLAGS=$ac_save_FFLAGS
     20426
     20427rm -f conftest*
     20428
     20429# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
     20430# /foo, /bar, and /baz are search directories for the Fortran linker.
     20431# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
     20432ac_f77_v_output="`echo $ac_f77_v_output |
     20433        grep 'LPATH is:' |
     20434        sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
     20435
     20436case $ac_f77_v_output in
     20437  # If we are using xlf then replace all the commas with spaces.
     20438  *xlfentry*)
     20439    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
     20440
     20441  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
     20442  # $LIBS confuse us, and the libraries appear later in the output anyway).
     20443  *mGLOB_options_string*)
     20444    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
     20445
     20446  # If we are using Cray Fortran then delete quotes.
     20447  # Use "\"" instead of '"' for font-lock-mode.
     20448  # FIXME: a more general fix for quoted arguments with spaces?
     20449  *cft90*)
     20450    ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;
     20451esac
     20452
     20453
     20454
     20455ac_cv_f77_libs=
     20456
     20457# Save positional arguments (if any)
     20458ac_save_positional="$@"
     20459
     20460set X $ac_f77_v_output
     20461while test $# != 1; do
     20462  shift
     20463  ac_arg=$1
     20464  case $ac_arg in
     20465        [\\/]*.a | ?:[\\/]*.a)
     20466            ac_exists=false
     20467  for ac_i in $ac_cv_f77_libs; do
     20468    if test x"$ac_arg" = x"$ac_i"; then
     20469      ac_exists=true
     20470      break
    2030220471    fi
    2030320472  done
    20304 fi
    20305 
    20306 if test $coin_has_blas != skipping; then
    20307   if test $PACKAGE_TARNAME = blas; then
    20308     coin_has_blas=.
     20473
     20474  if test x"$ac_exists" = xtrue; then
     20475  :
     20476else
     20477  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
     20478fi
     20479
     20480          ;;
     20481        -bI:*)
     20482            ac_exists=false
     20483  for ac_i in $ac_cv_f77_libs; do
     20484    if test x"$ac_arg" = x"$ac_i"; then
     20485      ac_exists=true
     20486      break
     20487    fi
     20488  done
     20489
     20490  if test x"$ac_exists" = xtrue; then
     20491  :
     20492else
     20493  if test "$ac_compiler_gnu" = yes; then
     20494  for ac_link_opt in $ac_arg; do
     20495    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
     20496  done
     20497else
     20498  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
     20499fi
     20500fi
     20501
     20502          ;;
     20503          # Ignore these flags.
     20504        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
     20505          ;;
     20506        -lkernel32)
     20507          test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
     20508          ;;
     20509        -[LRuY])
     20510          # These flags, when seen by themselves, take an argument.
     20511          # We remove the space between option and argument and re-iterate
     20512          # unless we find an empty arg or a new option (starting with -)
     20513          case $2 in
     20514             "" | -*);;
     20515             *)
     20516                ac_arg="$ac_arg$2"
     20517                shift; shift
     20518                set X $ac_arg "$@"
     20519                ;;
     20520          esac
     20521          ;;
     20522        -YP,*)
     20523          for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
     20524              ac_exists=false
     20525  for ac_i in $ac_cv_f77_libs; do
     20526    if test x"$ac_j" = x"$ac_i"; then
     20527      ac_exists=true
     20528      break
     20529    fi
     20530  done
     20531
     20532  if test x"$ac_exists" = xtrue; then
     20533  :
     20534else
     20535  ac_arg="$ac_arg $ac_j"
     20536                               ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
     20537fi
     20538
     20539          done
     20540          ;;
     20541        -[lLR]*)
     20542            ac_exists=false
     20543  for ac_i in $ac_cv_f77_libs; do
     20544    if test x"$ac_arg" = x"$ac_i"; then
     20545      ac_exists=true
     20546      break
     20547    fi
     20548  done
     20549
     20550  if test x"$ac_exists" = xtrue; then
     20551  :
     20552else
     20553  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
     20554fi
     20555
     20556          ;;
     20557          # Ignore everything else.
     20558  esac
     20559done
     20560# restore positional arguments
     20561set X $ac_save_positional; shift
     20562
     20563# We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
     20564# then we insist that the "run path" must be an absolute path (i.e. it
     20565# must begin with a "/").
     20566case `(uname -sr) 2>/dev/null` in
     20567   "SunOS 5"*)
     20568      ac_ld_run_path=`echo $ac_f77_v_output |
     20569                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
     20570      test "x$ac_ld_run_path" != x &&
     20571        if test "$ac_compiler_gnu" = yes; then
     20572  for ac_link_opt in $ac_ld_run_path; do
     20573    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
     20574  done
     20575else
     20576  ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
     20577fi
     20578      ;;
     20579esac
     20580fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
     20581
     20582fi
     20583echo "$as_me:$LINENO: result: $ac_cv_f77_libs" >&5
     20584echo "${ECHO_T}$ac_cv_f77_libs" >&6
     20585FLIBS="$ac_cv_f77_libs"
     20586
     20587
     20588ac_ext=c
     20589ac_cpp='$CPP $CPPFLAGS'
     20590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20592ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20593
     20594ac_ext=f
     20595ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     20596ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20597ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     20598
     20599echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5
     20600echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6
     20601if test "${ac_cv_f77_dummy_main+set}" = set; then
     20602  echo $ECHO_N "(cached) $ECHO_C" >&6
     20603else
     20604  ac_f77_dm_save_LIBS=$LIBS
     20605 LIBS="$LIBS $FLIBS"
     20606 ac_fortran_dm_var=F77_DUMMY_MAIN
     20607 ac_ext=c
     20608ac_cpp='$CPP $CPPFLAGS'
     20609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20611ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20612
     20613 # First, try linking without a dummy main:
     20614 cat >conftest.$ac_ext <<_ACEOF
     20615/* confdefs.h.  */
     20616_ACEOF
     20617cat confdefs.h >>conftest.$ac_ext
     20618cat >>conftest.$ac_ext <<_ACEOF
     20619/* end confdefs.h.  */
     20620
     20621#ifdef F77_DUMMY_MAIN
     20622
     20623#  ifdef __cplusplus
     20624     extern "C"
     20625#  endif
     20626   int F77_DUMMY_MAIN() { return 1; }
     20627
     20628#endif
     20629int
     20630main ()
     20631{
     20632
     20633  ;
     20634  return 0;
     20635}
     20636_ACEOF
     20637rm -f conftest.$ac_objext conftest$ac_exeext
     20638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20639  (eval $ac_link) 2>conftest.er1
     20640  ac_status=$?
     20641  grep -v '^ *+' conftest.er1 >conftest.err
     20642  rm -f conftest.er1
     20643  cat conftest.err >&5
     20644  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20645  (exit $ac_status); } &&
     20646         { ac_try='test -z "$ac_c_werror_flag"
     20647                         || test ! -s conftest.err'
     20648  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20649  (eval $ac_try) 2>&5
     20650  ac_status=$?
     20651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20652  (exit $ac_status); }; } &&
     20653         { ac_try='test -s conftest$ac_exeext'
     20654  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20655  (eval $ac_try) 2>&5
     20656  ac_status=$?
     20657  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20658  (exit $ac_status); }; }; then
     20659  ac_cv_fortran_dummy_main=none
     20660else
     20661  echo "$as_me: failed program was:" >&5
     20662sed 's/^/| /' conftest.$ac_ext >&5
     20663
     20664ac_cv_fortran_dummy_main=unknown
     20665fi
     20666rm -f conftest.err conftest.$ac_objext \
     20667      conftest$ac_exeext conftest.$ac_ext
     20668
     20669 if test $ac_cv_fortran_dummy_main = unknown; then
     20670   for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
     20671     cat >conftest.$ac_ext <<_ACEOF
     20672/* confdefs.h.  */
     20673_ACEOF
     20674cat confdefs.h >>conftest.$ac_ext
     20675cat >>conftest.$ac_ext <<_ACEOF
     20676/* end confdefs.h.  */
     20677#define $ac_fortran_dm_var $ac_func
     20678#ifdef F77_DUMMY_MAIN
     20679
     20680#  ifdef __cplusplus
     20681     extern "C"
     20682#  endif
     20683   int F77_DUMMY_MAIN() { return 1; }
     20684
     20685#endif
     20686int
     20687main ()
     20688{
     20689
     20690  ;
     20691  return 0;
     20692}
     20693_ACEOF
     20694rm -f conftest.$ac_objext conftest$ac_exeext
     20695if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20696  (eval $ac_link) 2>conftest.er1
     20697  ac_status=$?
     20698  grep -v '^ *+' conftest.er1 >conftest.err
     20699  rm -f conftest.er1
     20700  cat conftest.err >&5
     20701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20702  (exit $ac_status); } &&
     20703         { ac_try='test -z "$ac_c_werror_flag"
     20704                         || test ! -s conftest.err'
     20705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20706  (eval $ac_try) 2>&5
     20707  ac_status=$?
     20708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20709  (exit $ac_status); }; } &&
     20710         { ac_try='test -s conftest$ac_exeext'
     20711  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20712  (eval $ac_try) 2>&5
     20713  ac_status=$?
     20714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20715  (exit $ac_status); }; }; then
     20716  ac_cv_fortran_dummy_main=$ac_func; break
     20717else
     20718  echo "$as_me: failed program was:" >&5
     20719sed 's/^/| /' conftest.$ac_ext >&5
     20720
     20721fi
     20722rm -f conftest.err conftest.$ac_objext \
     20723      conftest$ac_exeext conftest.$ac_ext
     20724   done
     20725 fi
     20726 ac_ext=f
     20727ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     20728ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20729ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     20730 ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
     20731 rm -f conftest*
     20732 LIBS=$ac_f77_dm_save_LIBS
     20733
     20734fi
     20735echo "$as_me:$LINENO: result: $ac_cv_f77_dummy_main" >&5
     20736echo "${ECHO_T}$ac_cv_f77_dummy_main" >&6
     20737F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
     20738if test "$F77_DUMMY_MAIN" != unknown; then
     20739  if test $F77_DUMMY_MAIN != none; then
     20740
     20741cat >>confdefs.h <<_ACEOF
     20742#define F77_DUMMY_MAIN $F77_DUMMY_MAIN
     20743_ACEOF
     20744
     20745  if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
     20746
     20747cat >>confdefs.h <<\_ACEOF
     20748#define FC_DUMMY_MAIN_EQ_F77 1
     20749_ACEOF
     20750
     20751  fi
     20752fi
     20753else
     20754  { { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails
     20755See \`config.log' for more details." >&5
     20756echo "$as_me: error: linking to Fortran libraries from C fails
     20757See \`config.log' for more details." >&2;}
     20758   { (exit 1); exit 1; }; }
     20759fi
     20760
     20761
     20762ac_ext=c
     20763ac_cpp='$CPP $CPPFLAGS'
     20764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20766ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20767
     20768ac_ext=f
     20769ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     20770ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20771ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     20772echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5
     20773echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6
     20774if test "${ac_cv_f77_mangling+set}" = set; then
     20775  echo $ECHO_N "(cached) $ECHO_C" >&6
     20776else
     20777  cat >conftest.$ac_ext <<_ACEOF
     20778      subroutine foobar()
     20779      return
     20780      end
     20781      subroutine foo_bar()
     20782      return
     20783      end
     20784_ACEOF
     20785rm -f conftest.$ac_objext
     20786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     20787  (eval $ac_compile) 2>conftest.er1
     20788  ac_status=$?
     20789  grep -v '^ *+' conftest.er1 >conftest.err
     20790  rm -f conftest.er1
     20791  cat conftest.err >&5
     20792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20793  (exit $ac_status); } &&
     20794         { ac_try='test -z "$ac_f77_werror_flag"
     20795                         || test ! -s conftest.err'
     20796  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20797  (eval $ac_try) 2>&5
     20798  ac_status=$?
     20799  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20800  (exit $ac_status); }; } &&
     20801         { ac_try='test -s conftest.$ac_objext'
     20802  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20803  (eval $ac_try) 2>&5
     20804  ac_status=$?
     20805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20806  (exit $ac_status); }; }; then
     20807  mv conftest.$ac_objext cfortran_test.$ac_objext
     20808
     20809  ac_save_LIBS=$LIBS
     20810  LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
     20811
     20812  ac_ext=c
     20813ac_cpp='$CPP $CPPFLAGS'
     20814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20816ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20817  ac_success=no
     20818  for ac_foobar in foobar FOOBAR; do
     20819    for ac_underscore in "" "_"; do
     20820      ac_func="$ac_foobar$ac_underscore"
     20821      cat >conftest.$ac_ext <<_ACEOF
     20822/* confdefs.h.  */
     20823_ACEOF
     20824cat confdefs.h >>conftest.$ac_ext
     20825cat >>conftest.$ac_ext <<_ACEOF
     20826/* end confdefs.h.  */
     20827
     20828/* Override any gcc2 internal prototype to avoid an error.  */
     20829#ifdef __cplusplus
     20830extern "C"
     20831#endif
     20832/* We use char because int might match the return type of a gcc2
     20833   builtin and then its argument prototype would still apply.  */
     20834char $ac_func ();
     20835#ifdef F77_DUMMY_MAIN
     20836
     20837#  ifdef __cplusplus
     20838     extern "C"
     20839#  endif
     20840   int F77_DUMMY_MAIN() { return 1; }
     20841
     20842#endif
     20843int
     20844main ()
     20845{
     20846$ac_func ();
     20847  ;
     20848  return 0;
     20849}
     20850_ACEOF
     20851rm -f conftest.$ac_objext conftest$ac_exeext
     20852if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20853  (eval $ac_link) 2>conftest.er1
     20854  ac_status=$?
     20855  grep -v '^ *+' conftest.er1 >conftest.err
     20856  rm -f conftest.er1
     20857  cat conftest.err >&5
     20858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20859  (exit $ac_status); } &&
     20860         { ac_try='test -z "$ac_c_werror_flag"
     20861                         || test ! -s conftest.err'
     20862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20863  (eval $ac_try) 2>&5
     20864  ac_status=$?
     20865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20866  (exit $ac_status); }; } &&
     20867         { ac_try='test -s conftest$ac_exeext'
     20868  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20869  (eval $ac_try) 2>&5
     20870  ac_status=$?
     20871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20872  (exit $ac_status); }; }; then
     20873  ac_success=yes; break 2
     20874else
     20875  echo "$as_me: failed program was:" >&5
     20876sed 's/^/| /' conftest.$ac_ext >&5
     20877
     20878fi
     20879rm -f conftest.err conftest.$ac_objext \
     20880      conftest$ac_exeext conftest.$ac_ext
     20881    done
     20882  done
     20883  ac_ext=f
     20884ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     20885ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20886ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     20887
     20888  if test "$ac_success" = "yes"; then
     20889     case $ac_foobar in
     20890        foobar)
     20891           ac_case=lower
     20892           ac_foo_bar=foo_bar
     20893           ;;
     20894        FOOBAR)
     20895           ac_case=upper
     20896           ac_foo_bar=FOO_BAR
     20897           ;;
     20898     esac
     20899
     20900     ac_ext=c
     20901ac_cpp='$CPP $CPPFLAGS'
     20902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     20903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20904ac_compiler_gnu=$ac_cv_c_compiler_gnu
     20905     ac_success_extra=no
     20906     for ac_extra in "" "_"; do
     20907        ac_func="$ac_foo_bar$ac_underscore$ac_extra"
     20908        cat >conftest.$ac_ext <<_ACEOF
     20909/* confdefs.h.  */
     20910_ACEOF
     20911cat confdefs.h >>conftest.$ac_ext
     20912cat >>conftest.$ac_ext <<_ACEOF
     20913/* end confdefs.h.  */
     20914
     20915/* Override any gcc2 internal prototype to avoid an error.  */
     20916#ifdef __cplusplus
     20917extern "C"
     20918#endif
     20919/* We use char because int might match the return type of a gcc2
     20920   builtin and then its argument prototype would still apply.  */
     20921char $ac_func ();
     20922#ifdef F77_DUMMY_MAIN
     20923
     20924#  ifdef __cplusplus
     20925     extern "C"
     20926#  endif
     20927   int F77_DUMMY_MAIN() { return 1; }
     20928
     20929#endif
     20930int
     20931main ()
     20932{
     20933$ac_func ();
     20934  ;
     20935  return 0;
     20936}
     20937_ACEOF
     20938rm -f conftest.$ac_objext conftest$ac_exeext
     20939if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20940  (eval $ac_link) 2>conftest.er1
     20941  ac_status=$?
     20942  grep -v '^ *+' conftest.er1 >conftest.err
     20943  rm -f conftest.er1
     20944  cat conftest.err >&5
     20945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20946  (exit $ac_status); } &&
     20947         { ac_try='test -z "$ac_c_werror_flag"
     20948                         || test ! -s conftest.err'
     20949  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20950  (eval $ac_try) 2>&5
     20951  ac_status=$?
     20952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20953  (exit $ac_status); }; } &&
     20954         { ac_try='test -s conftest$ac_exeext'
     20955  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20956  (eval $ac_try) 2>&5
     20957  ac_status=$?
     20958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20959  (exit $ac_status); }; }; then
     20960  ac_success_extra=yes; break
     20961else
     20962  echo "$as_me: failed program was:" >&5
     20963sed 's/^/| /' conftest.$ac_ext >&5
     20964
     20965fi
     20966rm -f conftest.err conftest.$ac_objext \
     20967      conftest$ac_exeext conftest.$ac_ext
     20968     done
     20969     ac_ext=f
     20970ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     20971ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     20972ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     20973
     20974     if test "$ac_success_extra" = "yes"; then
     20975        ac_cv_f77_mangling="$ac_case case"
     20976        if test -z "$ac_underscore"; then
     20977           ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
     20978        else
     20979           ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
     20980        fi
     20981        if test -z "$ac_extra"; then
     20982           ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
     20983        else
     20984           ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
     20985        fi
     20986      else
     20987        ac_cv_f77_mangling="unknown"
     20988      fi
    2030920989  else
    20310     if test -d $srcdir/../Blas; then
    20311       coin_has_blas=../Blas
     20990     ac_cv_f77_mangling="unknown"
     20991  fi
     20992
     20993  LIBS=$ac_save_LIBS
     20994  rm -f cfortran_test* conftest*
     20995else
     20996  echo "$as_me: failed program was:" >&5
     20997sed 's/^/| /' conftest.$ac_ext >&5
     20998
     20999{ { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program
     21000See \`config.log' for more details." >&5
     21001echo "$as_me: error: cannot compile a simple Fortran program
     21002See \`config.log' for more details." >&2;}
     21003   { (exit 1); exit 1; }; }
     21004fi
     21005rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     21006
     21007fi
     21008echo "$as_me:$LINENO: result: $ac_cv_f77_mangling" >&5
     21009echo "${ECHO_T}$ac_cv_f77_mangling" >&6
     21010
     21011ac_ext=c
     21012ac_cpp='$CPP $CPPFLAGS'
     21013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21015ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21016
     21017if test "$PACKAGE_NAME" = ThirdPartyBlas || test "$PACKAGE_NAME" = ThirdPartyLapack || test "$PACKAGE_NAME" = ThirdPartyMumps; then
     21018  coin_blasobjdir=../Blas
     21019else
     21020  coin_blasobjdir=../ThirdParty/Blas
     21021fi
     21022coin_blassrcdir=$srcdir/$coin_blasobjdir
     21023
     21024
     21025# Check whether --with-blas or --without-blas was given.
     21026if test "${with_blas+set}" = set; then
     21027  withval="$with_blas"
     21028  use_blas=$withval
     21029else
     21030  use_blas=
     21031fi;
     21032
     21033MAKEOKFILE=.MakeOk
     21034# Check if user supplied option makes sense
     21035if test x"$use_blas" != x; then
     21036  if test "$use_blas" = "BUILD"; then
     21037    # Don't check for course code if this is executed in ThirdParty/Blas
     21038    if test "$PACKAGE_NAME" != ThirdPartyBlas; then
     21039      if test -r $coin_blasobjdir/.MakeOk; then :; else
     21040        { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for Blas, but $coin_blasobjdir directory is not properly configured" >&5
     21041echo "$as_me: error: option \"BUILD\" specified for Blas, but $coin_blasobjdir directory is not properly configured" >&2;}
     21042   { (exit 1); exit 1; }; }
     21043      fi
     21044    fi
     21045  elif test "$use_blas" != no ; then
     21046    echo "$as_me:$LINENO: checking whether user supplied BLASLIB=\"$use_blas\" works" >&5
     21047echo $ECHO_N "checking whether user supplied BLASLIB=\"$use_blas\" works... $ECHO_C" >&6
     21048    LIBS="$use_blas $LIBS"
     21049    ADDLIBS="$use_blas $ADDLIBS"
     21050    case $ac_ext in
     21051  f)
     21052    cat >conftest.$ac_ext <<_ACEOF
     21053/* confdefs.h.  */
     21054_ACEOF
     21055cat confdefs.h >>conftest.$ac_ext
     21056cat >>conftest.$ac_ext <<_ACEOF
     21057/* end confdefs.h.  */
     21058
     21059int
     21060main ()
     21061{
     21062      call daxpy
     21063  ;
     21064  return 0;
     21065}
     21066_ACEOF
     21067rm -f conftest.$ac_objext conftest$ac_exeext
     21068if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21069  (eval $ac_link) 2>conftest.er1
     21070  ac_status=$?
     21071  grep -v '^ *+' conftest.er1 >conftest.err
     21072  rm -f conftest.er1
     21073  cat conftest.err >&5
     21074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21075  (exit $ac_status); } &&
     21076         { ac_try='test -z "$ac_c_werror_flag"
     21077                         || test ! -s conftest.err'
     21078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21079  (eval $ac_try) 2>&5
     21080  ac_status=$?
     21081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21082  (exit $ac_status); }; } &&
     21083         { ac_try='test -s conftest$ac_exeext'
     21084  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21085  (eval $ac_try) 2>&5
     21086  ac_status=$?
     21087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21088  (exit $ac_status); }; }; then
     21089  echo "$as_me:$LINENO: result: yes" >&5
     21090echo "${ECHO_T}yes" >&6
     21091else
     21092  echo "$as_me: failed program was:" >&5
     21093sed 's/^/| /' conftest.$ac_ext >&5
     21094
     21095echo "$as_me:$LINENO: result: no" >&5
     21096echo "${ECHO_T}no" >&6
     21097                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     21098echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     21099   { (exit 1); exit 1; }; }
     21100fi
     21101rm -f conftest.err conftest.$ac_objext \
     21102      conftest$ac_exeext conftest.$ac_ext
     21103    ;;
     21104  c)
     21105    ac_ext=f
     21106ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     21107ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21108ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     21109case $ac_cv_f77_mangling in
     21110  upper*) ac_val="DAXPY" ;;
     21111  lower*) ac_val="daxpy" ;;
     21112  *)      ac_val="unknown" ;;
     21113esac
     21114case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     21115
     21116cfuncdaxpy="$ac_val"
     21117
     21118ac_ext=c
     21119ac_cpp='$CPP $CPPFLAGS'
     21120ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21122ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21123
     21124    if test x"$coin_need_flibs" = xyes; then
     21125      flink_try=no;
     21126    else
     21127      cat >conftest.$ac_ext <<_ACEOF
     21128/* confdefs.h.  */
     21129_ACEOF
     21130cat confdefs.h >>conftest.$ac_ext
     21131cat >>conftest.$ac_ext <<_ACEOF
     21132/* end confdefs.h.  */
     21133void $cfuncdaxpy();
     21134#ifdef F77_DUMMY_MAIN
     21135
     21136#  ifdef __cplusplus
     21137     extern "C"
     21138#  endif
     21139   int F77_DUMMY_MAIN() { return 1; }
     21140
     21141#endif
     21142int
     21143main ()
     21144{
     21145$cfuncdaxpy()
     21146  ;
     21147  return 0;
     21148}
     21149_ACEOF
     21150rm -f conftest.$ac_objext conftest$ac_exeext
     21151if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21152  (eval $ac_link) 2>conftest.er1
     21153  ac_status=$?
     21154  grep -v '^ *+' conftest.er1 >conftest.err
     21155  rm -f conftest.er1
     21156  cat conftest.err >&5
     21157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21158  (exit $ac_status); } &&
     21159         { ac_try='test -z "$ac_c_werror_flag"
     21160                         || test ! -s conftest.err'
     21161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21162  (eval $ac_try) 2>&5
     21163  ac_status=$?
     21164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21165  (exit $ac_status); }; } &&
     21166         { ac_try='test -s conftest$ac_exeext'
     21167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21168  (eval $ac_try) 2>&5
     21169  ac_status=$?
     21170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21171  (exit $ac_status); }; }; then
     21172  flink_try=yes
     21173else
     21174  echo "$as_me: failed program was:" >&5
     21175sed 's/^/| /' conftest.$ac_ext >&5
     21176
     21177flink_try=no
     21178fi
     21179rm -f conftest.err conftest.$ac_objext \
     21180      conftest$ac_exeext conftest.$ac_ext
     21181    fi
     21182    if test $flink_try = yes; then
     21183      echo "$as_me:$LINENO: result: yes" >&5
     21184echo "${ECHO_T}yes" >&6
     21185    else
     21186      if test x"$FLIBS" != x; then
     21187        flink_save_libs="$LIBS"
     21188        LIBS="$LIBS $FLIBS"
     21189        cat >conftest.$ac_ext <<_ACEOF
     21190/* confdefs.h.  */
     21191_ACEOF
     21192cat confdefs.h >>conftest.$ac_ext
     21193cat >>conftest.$ac_ext <<_ACEOF
     21194/* end confdefs.h.  */
     21195void $cfuncdaxpy();
     21196#ifdef F77_DUMMY_MAIN
     21197
     21198#  ifdef __cplusplus
     21199     extern "C"
     21200#  endif
     21201   int F77_DUMMY_MAIN() { return 1; }
     21202
     21203#endif
     21204int
     21205main ()
     21206{
     21207$cfuncdaxpy()
     21208  ;
     21209  return 0;
     21210}
     21211_ACEOF
     21212rm -f conftest.$ac_objext conftest$ac_exeext
     21213if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21214  (eval $ac_link) 2>conftest.er1
     21215  ac_status=$?
     21216  grep -v '^ *+' conftest.er1 >conftest.err
     21217  rm -f conftest.er1
     21218  cat conftest.err >&5
     21219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21220  (exit $ac_status); } &&
     21221         { ac_try='test -z "$ac_c_werror_flag"
     21222                         || test ! -s conftest.err'
     21223  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21224  (eval $ac_try) 2>&5
     21225  ac_status=$?
     21226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21227  (exit $ac_status); }; } &&
     21228         { ac_try='test -s conftest$ac_exeext'
     21229  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21230  (eval $ac_try) 2>&5
     21231  ac_status=$?
     21232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21233  (exit $ac_status); }; }; then
     21234  LIBS="$flink_save_libs"
     21235                     echo "$as_me:$LINENO: result: yes" >&5
     21236echo "${ECHO_T}yes" >&6
     21237                     coin_need_flibs=yes
     21238else
     21239  echo "$as_me: failed program was:" >&5
     21240sed 's/^/| /' conftest.$ac_ext >&5
     21241
     21242LIBS="$flink_save_libs"
     21243                     echo "$as_me:$LINENO: result: no" >&5
     21244echo "${ECHO_T}no" >&6
     21245                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     21246echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     21247   { (exit 1); exit 1; }; }
     21248fi
     21249rm -f conftest.err conftest.$ac_objext \
     21250      conftest$ac_exeext conftest.$ac_ext
     21251      else
     21252        echo "$as_me:$LINENO: result: no" >&5
     21253echo "${ECHO_T}no" >&6
     21254                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     21255echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     21256   { (exit 1); exit 1; }; }
     21257      fi
     21258    fi
     21259    ;;
     21260  cc|cpp)
     21261    ac_ext=f
     21262ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     21263ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21264ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     21265case $ac_cv_f77_mangling in
     21266  upper*) ac_val="DAXPY" ;;
     21267  lower*) ac_val="daxpy" ;;
     21268  *)      ac_val="unknown" ;;
     21269esac
     21270case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     21271
     21272cfuncdaxpy="$ac_val"
     21273
     21274ac_ext=c
     21275ac_cpp='$CPP $CPPFLAGS'
     21276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21278ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21279
     21280    if test x"$coin_need_flibs" = xyes; then
     21281      flink_try=no;
     21282    else
     21283      cat >conftest.$ac_ext <<_ACEOF
     21284/* confdefs.h.  */
     21285_ACEOF
     21286cat confdefs.h >>conftest.$ac_ext
     21287cat >>conftest.$ac_ext <<_ACEOF
     21288/* end confdefs.h.  */
     21289extern "C" {void $cfuncdaxpy();}
     21290#ifdef F77_DUMMY_MAIN
     21291
     21292#  ifdef __cplusplus
     21293     extern "C"
     21294#  endif
     21295   int F77_DUMMY_MAIN() { return 1; }
     21296
     21297#endif
     21298int
     21299main ()
     21300{
     21301$cfuncdaxpy()
     21302  ;
     21303  return 0;
     21304}
     21305_ACEOF
     21306rm -f conftest.$ac_objext conftest$ac_exeext
     21307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21308  (eval $ac_link) 2>conftest.er1
     21309  ac_status=$?
     21310  grep -v '^ *+' conftest.er1 >conftest.err
     21311  rm -f conftest.er1
     21312  cat conftest.err >&5
     21313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21314  (exit $ac_status); } &&
     21315         { ac_try='test -z "$ac_c_werror_flag"
     21316                         || test ! -s conftest.err'
     21317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21318  (eval $ac_try) 2>&5
     21319  ac_status=$?
     21320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21321  (exit $ac_status); }; } &&
     21322         { ac_try='test -s conftest$ac_exeext'
     21323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21324  (eval $ac_try) 2>&5
     21325  ac_status=$?
     21326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21327  (exit $ac_status); }; }; then
     21328  flink_try=yes
     21329else
     21330  echo "$as_me: failed program was:" >&5
     21331sed 's/^/| /' conftest.$ac_ext >&5
     21332
     21333flink_try=no
     21334fi
     21335rm -f conftest.err conftest.$ac_objext \
     21336      conftest$ac_exeext conftest.$ac_ext
     21337    fi
     21338    if test $flink_try = yes; then
     21339      echo "$as_me:$LINENO: result: yes" >&5
     21340echo "${ECHO_T}yes" >&6
     21341    else
     21342      if test x"$FLIBS" != x; then
     21343        flink_save_libs="$LIBS"
     21344        LIBS="$LIBS $FLIBS"
     21345        cat >conftest.$ac_ext <<_ACEOF
     21346/* confdefs.h.  */
     21347_ACEOF
     21348cat confdefs.h >>conftest.$ac_ext
     21349cat >>conftest.$ac_ext <<_ACEOF
     21350/* end confdefs.h.  */
     21351extern "C" {void $cfuncdaxpy();}
     21352#ifdef F77_DUMMY_MAIN
     21353
     21354#  ifdef __cplusplus
     21355     extern "C"
     21356#  endif
     21357   int F77_DUMMY_MAIN() { return 1; }
     21358
     21359#endif
     21360int
     21361main ()
     21362{
     21363$cfuncdaxpy()
     21364  ;
     21365  return 0;
     21366}
     21367_ACEOF
     21368rm -f conftest.$ac_objext conftest$ac_exeext
     21369if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21370  (eval $ac_link) 2>conftest.er1
     21371  ac_status=$?
     21372  grep -v '^ *+' conftest.er1 >conftest.err
     21373  rm -f conftest.er1
     21374  cat conftest.err >&5
     21375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21376  (exit $ac_status); } &&
     21377         { ac_try='test -z "$ac_c_werror_flag"
     21378                         || test ! -s conftest.err'
     21379  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21380  (eval $ac_try) 2>&5
     21381  ac_status=$?
     21382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21383  (exit $ac_status); }; } &&
     21384         { ac_try='test -s conftest$ac_exeext'
     21385  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21386  (eval $ac_try) 2>&5
     21387  ac_status=$?
     21388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21389  (exit $ac_status); }; }; then
     21390  LIBS="$flink_save_libs"
     21391                     echo "$as_me:$LINENO: result: yes" >&5
     21392echo "${ECHO_T}yes" >&6
     21393                     coin_need_flibs=yes
     21394else
     21395  echo "$as_me: failed program was:" >&5
     21396sed 's/^/| /' conftest.$ac_ext >&5
     21397
     21398LIBS="$flink_save_libs"
     21399                     echo "$as_me:$LINENO: result: no" >&5
     21400echo "${ECHO_T}no" >&6
     21401                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     21402echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     21403   { (exit 1); exit 1; }; }
     21404fi
     21405rm -f conftest.err conftest.$ac_objext \
     21406      conftest$ac_exeext conftest.$ac_ext
     21407      else
     21408        echo "$as_me:$LINENO: result: no" >&5
     21409echo "${ECHO_T}no" >&6
     21410                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     21411echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     21412   { (exit 1); exit 1; }; }
     21413      fi
     21414    fi
     21415    ;;
     21416esac
     21417
     21418  fi
     21419else
     21420# Try to autodetect the library for blas based on build system
     21421  #AC_MSG_CHECKING([default locations for BLAS])
     21422  skip_lblas_check=no
     21423  case $build in
     21424    *-sgi-*)
     21425      SAVE_LIBS="$LIBS"
     21426      echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has BLAS" >&5
     21427echo $ECHO_N "checking whether -lcomplib.sgimath has BLAS... $ECHO_C" >&6
     21428      LIBS="-lcomplib.sgimath $LIBS"
     21429      case $ac_ext in
     21430  f)
     21431    cat >conftest.$ac_ext <<_ACEOF
     21432/* confdefs.h.  */
     21433_ACEOF
     21434cat confdefs.h >>conftest.$ac_ext
     21435cat >>conftest.$ac_ext <<_ACEOF
     21436/* end confdefs.h.  */
     21437
     21438#ifdef F77_DUMMY_MAIN
     21439
     21440#  ifdef __cplusplus
     21441     extern "C"
     21442#  endif
     21443   int F77_DUMMY_MAIN() { return 1; }
     21444
     21445#endif
     21446int
     21447main ()
     21448{
     21449      call daxpy
     21450  ;
     21451  return 0;
     21452}
     21453_ACEOF
     21454rm -f conftest.$ac_objext conftest$ac_exeext
     21455if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21456  (eval $ac_link) 2>conftest.er1
     21457  ac_status=$?
     21458  grep -v '^ *+' conftest.er1 >conftest.err
     21459  rm -f conftest.er1
     21460  cat conftest.err >&5
     21461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21462  (exit $ac_status); } &&
     21463         { ac_try='test -z "$ac_c_werror_flag"
     21464                         || test ! -s conftest.err'
     21465  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21466  (eval $ac_try) 2>&5
     21467  ac_status=$?
     21468  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21469  (exit $ac_status); }; } &&
     21470         { ac_try='test -s conftest$ac_exeext'
     21471  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21472  (eval $ac_try) 2>&5
     21473  ac_status=$?
     21474  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21475  (exit $ac_status); }; }; then
     21476  echo "$as_me:$LINENO: result: yes" >&5
     21477echo "${ECHO_T}yes" >&6
     21478                         use_blas=-lcomplib.sgimath;
     21479                         ADDLIBS="-lcomplib.sgimath $ADDLIBS"
     21480else
     21481  echo "$as_me: failed program was:" >&5
     21482sed 's/^/| /' conftest.$ac_ext >&5
     21483
     21484echo "$as_me:$LINENO: result: no" >&5
     21485echo "${ECHO_T}no" >&6
     21486                         SAVE_LIBS="$LIBS"
     21487fi
     21488rm -f conftest.err conftest.$ac_objext \
     21489      conftest$ac_exeext conftest.$ac_ext
     21490    ;;
     21491  c)
     21492    ac_ext=f
     21493ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     21494ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21495ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     21496case $ac_cv_f77_mangling in
     21497  upper*) ac_val="DAXPY" ;;
     21498  lower*) ac_val="daxpy" ;;
     21499  *)      ac_val="unknown" ;;
     21500esac
     21501case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     21502
     21503cfuncdaxpy="$ac_val"
     21504
     21505ac_ext=c
     21506ac_cpp='$CPP $CPPFLAGS'
     21507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21509ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21510
     21511    if test x"$coin_need_flibs" = xyes; then
     21512      flink_try=no;
     21513    else
     21514      cat >conftest.$ac_ext <<_ACEOF
     21515/* confdefs.h.  */
     21516_ACEOF
     21517cat confdefs.h >>conftest.$ac_ext
     21518cat >>conftest.$ac_ext <<_ACEOF
     21519/* end confdefs.h.  */
     21520void $cfuncdaxpy();
     21521#ifdef F77_DUMMY_MAIN
     21522
     21523#  ifdef __cplusplus
     21524     extern "C"
     21525#  endif
     21526   int F77_DUMMY_MAIN() { return 1; }
     21527
     21528#endif
     21529int
     21530main ()
     21531{
     21532$cfuncdaxpy()
     21533  ;
     21534  return 0;
     21535}
     21536_ACEOF
     21537rm -f conftest.$ac_objext conftest$ac_exeext
     21538if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21539  (eval $ac_link) 2>conftest.er1
     21540  ac_status=$?
     21541  grep -v '^ *+' conftest.er1 >conftest.err
     21542  rm -f conftest.er1
     21543  cat conftest.err >&5
     21544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21545  (exit $ac_status); } &&
     21546         { ac_try='test -z "$ac_c_werror_flag"
     21547                         || test ! -s conftest.err'
     21548  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21549  (eval $ac_try) 2>&5
     21550  ac_status=$?
     21551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21552  (exit $ac_status); }; } &&
     21553         { ac_try='test -s conftest$ac_exeext'
     21554  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21555  (eval $ac_try) 2>&5
     21556  ac_status=$?
     21557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21558  (exit $ac_status); }; }; then
     21559  flink_try=yes
     21560else
     21561  echo "$as_me: failed program was:" >&5
     21562sed 's/^/| /' conftest.$ac_ext >&5
     21563
     21564flink_try=no
     21565fi
     21566rm -f conftest.err conftest.$ac_objext \
     21567      conftest$ac_exeext conftest.$ac_ext
     21568    fi
     21569    if test $flink_try = yes; then
     21570      echo "$as_me:$LINENO: result: yes" >&5
     21571echo "${ECHO_T}yes" >&6
     21572                         use_blas=-lcomplib.sgimath;
     21573                         ADDLIBS="-lcomplib.sgimath $ADDLIBS"
     21574    else
     21575      if test x"$FLIBS" != x; then
     21576        flink_save_libs="$LIBS"
     21577        LIBS="$LIBS $FLIBS"
     21578        cat >conftest.$ac_ext <<_ACEOF
     21579/* confdefs.h.  */
     21580_ACEOF
     21581cat confdefs.h >>conftest.$ac_ext
     21582cat >>conftest.$ac_ext <<_ACEOF
     21583/* end confdefs.h.  */
     21584void $cfuncdaxpy();
     21585#ifdef F77_DUMMY_MAIN
     21586
     21587#  ifdef __cplusplus
     21588     extern "C"
     21589#  endif
     21590   int F77_DUMMY_MAIN() { return 1; }
     21591
     21592#endif
     21593int
     21594main ()
     21595{
     21596$cfuncdaxpy()
     21597  ;
     21598  return 0;
     21599}
     21600_ACEOF
     21601rm -f conftest.$ac_objext conftest$ac_exeext
     21602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21603  (eval $ac_link) 2>conftest.er1
     21604  ac_status=$?
     21605  grep -v '^ *+' conftest.er1 >conftest.err
     21606  rm -f conftest.er1
     21607  cat conftest.err >&5
     21608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21609  (exit $ac_status); } &&
     21610         { ac_try='test -z "$ac_c_werror_flag"
     21611                         || test ! -s conftest.err'
     21612  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21613  (eval $ac_try) 2>&5
     21614  ac_status=$?
     21615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21616  (exit $ac_status); }; } &&
     21617         { ac_try='test -s conftest$ac_exeext'
     21618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21619  (eval $ac_try) 2>&5
     21620  ac_status=$?
     21621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21622  (exit $ac_status); }; }; then
     21623  LIBS="$flink_save_libs"
     21624                     echo "$as_me:$LINENO: result: yes" >&5
     21625echo "${ECHO_T}yes" >&6
     21626                         use_blas=-lcomplib.sgimath;
     21627                         ADDLIBS="-lcomplib.sgimath $ADDLIBS"
     21628                     coin_need_flibs=yes
     21629else
     21630  echo "$as_me: failed program was:" >&5
     21631sed 's/^/| /' conftest.$ac_ext >&5
     21632
     21633LIBS="$flink_save_libs"
     21634                     echo "$as_me:$LINENO: result: no" >&5
     21635echo "${ECHO_T}no" >&6
     21636                         SAVE_LIBS="$LIBS"
     21637fi
     21638rm -f conftest.err conftest.$ac_objext \
     21639      conftest$ac_exeext conftest.$ac_ext
     21640      else
     21641        echo "$as_me:$LINENO: result: no" >&5
     21642echo "${ECHO_T}no" >&6
     21643                         SAVE_LIBS="$LIBS"
     21644      fi
     21645    fi
     21646    ;;
     21647  cc|cpp)
     21648    ac_ext=f
     21649ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     21650ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21651ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     21652case $ac_cv_f77_mangling in
     21653  upper*) ac_val="DAXPY" ;;
     21654  lower*) ac_val="daxpy" ;;
     21655  *)      ac_val="unknown" ;;
     21656esac
     21657case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     21658
     21659cfuncdaxpy="$ac_val"
     21660
     21661ac_ext=c
     21662ac_cpp='$CPP $CPPFLAGS'
     21663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21665ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21666
     21667    if test x"$coin_need_flibs" = xyes; then
     21668      flink_try=no;
     21669    else
     21670      cat >conftest.$ac_ext <<_ACEOF
     21671/* confdefs.h.  */
     21672_ACEOF
     21673cat confdefs.h >>conftest.$ac_ext
     21674cat >>conftest.$ac_ext <<_ACEOF
     21675/* end confdefs.h.  */
     21676extern "C" {void $cfuncdaxpy();}
     21677#ifdef F77_DUMMY_MAIN
     21678
     21679#  ifdef __cplusplus
     21680     extern "C"
     21681#  endif
     21682   int F77_DUMMY_MAIN() { return 1; }
     21683
     21684#endif
     21685int
     21686main ()
     21687{
     21688$cfuncdaxpy()
     21689  ;
     21690  return 0;
     21691}
     21692_ACEOF
     21693rm -f conftest.$ac_objext conftest$ac_exeext
     21694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21695  (eval $ac_link) 2>conftest.er1
     21696  ac_status=$?
     21697  grep -v '^ *+' conftest.er1 >conftest.err
     21698  rm -f conftest.er1
     21699  cat conftest.err >&5
     21700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21701  (exit $ac_status); } &&
     21702         { ac_try='test -z "$ac_c_werror_flag"
     21703                         || test ! -s conftest.err'
     21704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21705  (eval $ac_try) 2>&5
     21706  ac_status=$?
     21707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21708  (exit $ac_status); }; } &&
     21709         { ac_try='test -s conftest$ac_exeext'
     21710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21711  (eval $ac_try) 2>&5
     21712  ac_status=$?
     21713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21714  (exit $ac_status); }; }; then
     21715  flink_try=yes
     21716else
     21717  echo "$as_me: failed program was:" >&5
     21718sed 's/^/| /' conftest.$ac_ext >&5
     21719
     21720flink_try=no
     21721fi
     21722rm -f conftest.err conftest.$ac_objext \
     21723      conftest$ac_exeext conftest.$ac_ext
     21724    fi
     21725    if test $flink_try = yes; then
     21726      echo "$as_me:$LINENO: result: yes" >&5
     21727echo "${ECHO_T}yes" >&6
     21728                         use_blas=-lcomplib.sgimath;
     21729                         ADDLIBS="-lcomplib.sgimath $ADDLIBS"
     21730    else
     21731      if test x"$FLIBS" != x; then
     21732        flink_save_libs="$LIBS"
     21733        LIBS="$LIBS $FLIBS"
     21734        cat >conftest.$ac_ext <<_ACEOF
     21735/* confdefs.h.  */
     21736_ACEOF
     21737cat confdefs.h >>conftest.$ac_ext
     21738cat >>conftest.$ac_ext <<_ACEOF
     21739/* end confdefs.h.  */
     21740extern "C" {void $cfuncdaxpy();}
     21741#ifdef F77_DUMMY_MAIN
     21742
     21743#  ifdef __cplusplus
     21744     extern "C"
     21745#  endif
     21746   int F77_DUMMY_MAIN() { return 1; }
     21747
     21748#endif
     21749int
     21750main ()
     21751{
     21752$cfuncdaxpy()
     21753  ;
     21754  return 0;
     21755}
     21756_ACEOF
     21757rm -f conftest.$ac_objext conftest$ac_exeext
     21758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21759  (eval $ac_link) 2>conftest.er1
     21760  ac_status=$?
     21761  grep -v '^ *+' conftest.er1 >conftest.err
     21762  rm -f conftest.er1
     21763  cat conftest.err >&5
     21764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21765  (exit $ac_status); } &&
     21766         { ac_try='test -z "$ac_c_werror_flag"
     21767                         || test ! -s conftest.err'
     21768  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21769  (eval $ac_try) 2>&5
     21770  ac_status=$?
     21771  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21772  (exit $ac_status); }; } &&
     21773         { ac_try='test -s conftest$ac_exeext'
     21774  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21775  (eval $ac_try) 2>&5
     21776  ac_status=$?
     21777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21778  (exit $ac_status); }; }; then
     21779  LIBS="$flink_save_libs"
     21780                     echo "$as_me:$LINENO: result: yes" >&5
     21781echo "${ECHO_T}yes" >&6
     21782                         use_blas=-lcomplib.sgimath;
     21783                         ADDLIBS="-lcomplib.sgimath $ADDLIBS"
     21784                     coin_need_flibs=yes
     21785else
     21786  echo "$as_me: failed program was:" >&5
     21787sed 's/^/| /' conftest.$ac_ext >&5
     21788
     21789LIBS="$flink_save_libs"
     21790                     echo "$as_me:$LINENO: result: no" >&5
     21791echo "${ECHO_T}no" >&6
     21792                         SAVE_LIBS="$LIBS"
     21793fi
     21794rm -f conftest.err conftest.$ac_objext \
     21795      conftest$ac_exeext conftest.$ac_ext
     21796      else
     21797        echo "$as_me:$LINENO: result: no" >&5
     21798echo "${ECHO_T}no" >&6
     21799                         SAVE_LIBS="$LIBS"
     21800      fi
     21801    fi
     21802    ;;
     21803esac
     21804
     21805      ;;
     21806
     21807# Ideally, we'd use -library=sunperf, but it's an imperfect world. Studio
     21808# cc doesn't recognise -library, it wants -xlic_lib. Studio 12 CC doesn't
     21809# recognise -xlic_lib. Libtool doesn't like -xlic_lib anyway. Sun claims
     21810# that CC and cc will understand -library in Studio 13. The main extra
     21811# function of -xlic_lib and -library is to arrange for the Fortran run-time
     21812# libraries to be linked for C++ and C. We can arrange that explicitly.
     21813    *-*-solaris*)
     21814      SAVE_LIBS="$LIBS"
     21815      echo "$as_me:$LINENO: checking for BLAS in libsunperf" >&5
     21816echo $ECHO_N "checking for BLAS in libsunperf... $ECHO_C" >&6
     21817      LIBS="-lsunperf $FLIBS $LIBS"
     21818      case $ac_ext in
     21819  f)
     21820    cat >conftest.$ac_ext <<_ACEOF
     21821/* confdefs.h.  */
     21822_ACEOF
     21823cat confdefs.h >>conftest.$ac_ext
     21824cat >>conftest.$ac_ext <<_ACEOF
     21825/* end confdefs.h.  */
     21826
     21827#ifdef F77_DUMMY_MAIN
     21828
     21829#  ifdef __cplusplus
     21830     extern "C"
     21831#  endif
     21832   int F77_DUMMY_MAIN() { return 1; }
     21833
     21834#endif
     21835int
     21836main ()
     21837{
     21838      call daxpy
     21839  ;
     21840  return 0;
     21841}
     21842_ACEOF
     21843rm -f conftest.$ac_objext conftest$ac_exeext
     21844if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21845  (eval $ac_link) 2>conftest.er1
     21846  ac_status=$?
     21847  grep -v '^ *+' conftest.er1 >conftest.err
     21848  rm -f conftest.er1
     21849  cat conftest.err >&5
     21850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21851  (exit $ac_status); } &&
     21852         { ac_try='test -z "$ac_c_werror_flag"
     21853                         || test ! -s conftest.err'
     21854  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21855  (eval $ac_try) 2>&5
     21856  ac_status=$?
     21857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21858  (exit $ac_status); }; } &&
     21859         { ac_try='test -s conftest$ac_exeext'
     21860  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21861  (eval $ac_try) 2>&5
     21862  ac_status=$?
     21863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21864  (exit $ac_status); }; }; then
     21865  echo "$as_me:$LINENO: result: yes" >&5
     21866echo "${ECHO_T}yes" >&6
     21867                         use_blas='-lsunperf'
     21868                         ADDLIBS="-lsunperf $ADDLIBS"
     21869                         coin_need_flibs=yes
     21870else
     21871  echo "$as_me: failed program was:" >&5
     21872sed 's/^/| /' conftest.$ac_ext >&5
     21873
     21874echo "$as_me:$LINENO: result: no" >&5
     21875echo "${ECHO_T}no" >&6
     21876                         LIBS="$SAVE_LIBS"
     21877fi
     21878rm -f conftest.err conftest.$ac_objext \
     21879      conftest$ac_exeext conftest.$ac_ext
     21880    ;;
     21881  c)
     21882    ac_ext=f
     21883ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     21884ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21885ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     21886case $ac_cv_f77_mangling in
     21887  upper*) ac_val="DAXPY" ;;
     21888  lower*) ac_val="daxpy" ;;
     21889  *)      ac_val="unknown" ;;
     21890esac
     21891case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     21892
     21893cfuncdaxpy="$ac_val"
     21894
     21895ac_ext=c
     21896ac_cpp='$CPP $CPPFLAGS'
     21897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21899ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21900
     21901    if test x"$coin_need_flibs" = xyes; then
     21902      flink_try=no;
     21903    else
     21904      cat >conftest.$ac_ext <<_ACEOF
     21905/* confdefs.h.  */
     21906_ACEOF
     21907cat confdefs.h >>conftest.$ac_ext
     21908cat >>conftest.$ac_ext <<_ACEOF
     21909/* end confdefs.h.  */
     21910void $cfuncdaxpy();
     21911#ifdef F77_DUMMY_MAIN
     21912
     21913#  ifdef __cplusplus
     21914     extern "C"
     21915#  endif
     21916   int F77_DUMMY_MAIN() { return 1; }
     21917
     21918#endif
     21919int
     21920main ()
     21921{
     21922$cfuncdaxpy()
     21923  ;
     21924  return 0;
     21925}
     21926_ACEOF
     21927rm -f conftest.$ac_objext conftest$ac_exeext
     21928if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21929  (eval $ac_link) 2>conftest.er1
     21930  ac_status=$?
     21931  grep -v '^ *+' conftest.er1 >conftest.err
     21932  rm -f conftest.er1
     21933  cat conftest.err >&5
     21934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21935  (exit $ac_status); } &&
     21936         { ac_try='test -z "$ac_c_werror_flag"
     21937                         || test ! -s conftest.err'
     21938  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21939  (eval $ac_try) 2>&5
     21940  ac_status=$?
     21941  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21942  (exit $ac_status); }; } &&
     21943         { ac_try='test -s conftest$ac_exeext'
     21944  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21945  (eval $ac_try) 2>&5
     21946  ac_status=$?
     21947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21948  (exit $ac_status); }; }; then
     21949  flink_try=yes
     21950else
     21951  echo "$as_me: failed program was:" >&5
     21952sed 's/^/| /' conftest.$ac_ext >&5
     21953
     21954flink_try=no
     21955fi
     21956rm -f conftest.err conftest.$ac_objext \
     21957      conftest$ac_exeext conftest.$ac_ext
     21958    fi
     21959    if test $flink_try = yes; then
     21960      echo "$as_me:$LINENO: result: yes" >&5
     21961echo "${ECHO_T}yes" >&6
     21962                         use_blas='-lsunperf'
     21963                         ADDLIBS="-lsunperf $ADDLIBS"
     21964                         coin_need_flibs=yes
     21965    else
     21966      if test x"$FLIBS" != x; then
     21967        flink_save_libs="$LIBS"
     21968        LIBS="$LIBS $FLIBS"
     21969        cat >conftest.$ac_ext <<_ACEOF
     21970/* confdefs.h.  */
     21971_ACEOF
     21972cat confdefs.h >>conftest.$ac_ext
     21973cat >>conftest.$ac_ext <<_ACEOF
     21974/* end confdefs.h.  */
     21975void $cfuncdaxpy();
     21976#ifdef F77_DUMMY_MAIN
     21977
     21978#  ifdef __cplusplus
     21979     extern "C"
     21980#  endif
     21981   int F77_DUMMY_MAIN() { return 1; }
     21982
     21983#endif
     21984int
     21985main ()
     21986{
     21987$cfuncdaxpy()
     21988  ;
     21989  return 0;
     21990}
     21991_ACEOF
     21992rm -f conftest.$ac_objext conftest$ac_exeext
     21993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21994  (eval $ac_link) 2>conftest.er1
     21995  ac_status=$?
     21996  grep -v '^ *+' conftest.er1 >conftest.err
     21997  rm -f conftest.er1
     21998  cat conftest.err >&5
     21999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22000  (exit $ac_status); } &&
     22001         { ac_try='test -z "$ac_c_werror_flag"
     22002                         || test ! -s conftest.err'
     22003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22004  (eval $ac_try) 2>&5
     22005  ac_status=$?
     22006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22007  (exit $ac_status); }; } &&
     22008         { ac_try='test -s conftest$ac_exeext'
     22009  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22010  (eval $ac_try) 2>&5
     22011  ac_status=$?
     22012  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22013  (exit $ac_status); }; }; then
     22014  LIBS="$flink_save_libs"
     22015                     echo "$as_me:$LINENO: result: yes" >&5
     22016echo "${ECHO_T}yes" >&6
     22017                         use_blas='-lsunperf'
     22018                         ADDLIBS="-lsunperf $ADDLIBS"
     22019                         coin_need_flibs=yes
     22020                     coin_need_flibs=yes
     22021else
     22022  echo "$as_me: failed program was:" >&5
     22023sed 's/^/| /' conftest.$ac_ext >&5
     22024
     22025LIBS="$flink_save_libs"
     22026                     echo "$as_me:$LINENO: result: no" >&5
     22027echo "${ECHO_T}no" >&6
     22028                         LIBS="$SAVE_LIBS"
     22029fi
     22030rm -f conftest.err conftest.$ac_objext \
     22031      conftest$ac_exeext conftest.$ac_ext
     22032      else
     22033        echo "$as_me:$LINENO: result: no" >&5
     22034echo "${ECHO_T}no" >&6
     22035                         LIBS="$SAVE_LIBS"
     22036      fi
     22037    fi
     22038    ;;
     22039  cc|cpp)
     22040    ac_ext=f
     22041ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22042ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22043ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22044case $ac_cv_f77_mangling in
     22045  upper*) ac_val="DAXPY" ;;
     22046  lower*) ac_val="daxpy" ;;
     22047  *)      ac_val="unknown" ;;
     22048esac
     22049case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22050
     22051cfuncdaxpy="$ac_val"
     22052
     22053ac_ext=c
     22054ac_cpp='$CPP $CPPFLAGS'
     22055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22057ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22058
     22059    if test x"$coin_need_flibs" = xyes; then
     22060      flink_try=no;
     22061    else
     22062      cat >conftest.$ac_ext <<_ACEOF
     22063/* confdefs.h.  */
     22064_ACEOF
     22065cat confdefs.h >>conftest.$ac_ext
     22066cat >>conftest.$ac_ext <<_ACEOF
     22067/* end confdefs.h.  */
     22068extern "C" {void $cfuncdaxpy();}
     22069#ifdef F77_DUMMY_MAIN
     22070
     22071#  ifdef __cplusplus
     22072     extern "C"
     22073#  endif
     22074   int F77_DUMMY_MAIN() { return 1; }
     22075
     22076#endif
     22077int
     22078main ()
     22079{
     22080$cfuncdaxpy()
     22081  ;
     22082  return 0;
     22083}
     22084_ACEOF
     22085rm -f conftest.$ac_objext conftest$ac_exeext
     22086if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22087  (eval $ac_link) 2>conftest.er1
     22088  ac_status=$?
     22089  grep -v '^ *+' conftest.er1 >conftest.err
     22090  rm -f conftest.er1
     22091  cat conftest.err >&5
     22092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22093  (exit $ac_status); } &&
     22094         { ac_try='test -z "$ac_c_werror_flag"
     22095                         || test ! -s conftest.err'
     22096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22097  (eval $ac_try) 2>&5
     22098  ac_status=$?
     22099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22100  (exit $ac_status); }; } &&
     22101         { ac_try='test -s conftest$ac_exeext'
     22102  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22103  (eval $ac_try) 2>&5
     22104  ac_status=$?
     22105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22106  (exit $ac_status); }; }; then
     22107  flink_try=yes
     22108else
     22109  echo "$as_me: failed program was:" >&5
     22110sed 's/^/| /' conftest.$ac_ext >&5
     22111
     22112flink_try=no
     22113fi
     22114rm -f conftest.err conftest.$ac_objext \
     22115      conftest$ac_exeext conftest.$ac_ext
     22116    fi
     22117    if test $flink_try = yes; then
     22118      echo "$as_me:$LINENO: result: yes" >&5
     22119echo "${ECHO_T}yes" >&6
     22120                         use_blas='-lsunperf'
     22121                         ADDLIBS="-lsunperf $ADDLIBS"
     22122                         coin_need_flibs=yes
     22123    else
     22124      if test x"$FLIBS" != x; then
     22125        flink_save_libs="$LIBS"
     22126        LIBS="$LIBS $FLIBS"
     22127        cat >conftest.$ac_ext <<_ACEOF
     22128/* confdefs.h.  */
     22129_ACEOF
     22130cat confdefs.h >>conftest.$ac_ext
     22131cat >>conftest.$ac_ext <<_ACEOF
     22132/* end confdefs.h.  */
     22133extern "C" {void $cfuncdaxpy();}
     22134#ifdef F77_DUMMY_MAIN
     22135
     22136#  ifdef __cplusplus
     22137     extern "C"
     22138#  endif
     22139   int F77_DUMMY_MAIN() { return 1; }
     22140
     22141#endif
     22142int
     22143main ()
     22144{
     22145$cfuncdaxpy()
     22146  ;
     22147  return 0;
     22148}
     22149_ACEOF
     22150rm -f conftest.$ac_objext conftest$ac_exeext
     22151if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22152  (eval $ac_link) 2>conftest.er1
     22153  ac_status=$?
     22154  grep -v '^ *+' conftest.er1 >conftest.err
     22155  rm -f conftest.er1
     22156  cat conftest.err >&5
     22157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22158  (exit $ac_status); } &&
     22159         { ac_try='test -z "$ac_c_werror_flag"
     22160                         || test ! -s conftest.err'
     22161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22162  (eval $ac_try) 2>&5
     22163  ac_status=$?
     22164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22165  (exit $ac_status); }; } &&
     22166         { ac_try='test -s conftest$ac_exeext'
     22167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22168  (eval $ac_try) 2>&5
     22169  ac_status=$?
     22170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22171  (exit $ac_status); }; }; then
     22172  LIBS="$flink_save_libs"
     22173                     echo "$as_me:$LINENO: result: yes" >&5
     22174echo "${ECHO_T}yes" >&6
     22175                         use_blas='-lsunperf'
     22176                         ADDLIBS="-lsunperf $ADDLIBS"
     22177                         coin_need_flibs=yes
     22178                     coin_need_flibs=yes
     22179else
     22180  echo "$as_me: failed program was:" >&5
     22181sed 's/^/| /' conftest.$ac_ext >&5
     22182
     22183LIBS="$flink_save_libs"
     22184                     echo "$as_me:$LINENO: result: no" >&5
     22185echo "${ECHO_T}no" >&6
     22186                         LIBS="$SAVE_LIBS"
     22187fi
     22188rm -f conftest.err conftest.$ac_objext \
     22189      conftest$ac_exeext conftest.$ac_ext
     22190      else
     22191        echo "$as_me:$LINENO: result: no" >&5
     22192echo "${ECHO_T}no" >&6
     22193                         LIBS="$SAVE_LIBS"
     22194      fi
     22195    fi
     22196    ;;
     22197esac
     22198
     22199      ;;
     22200    *-cygwin* | *-mingw*)
     22201# On cygwin, consider -lblas only if doscompile is disabled. The prebuilt
     22202# library will want to link with cygwin, hence won't run standalone in DOS.
     22203      if test "$enable_doscompile" = mingw; then
     22204        skip_lblas_check=yes
     22205      fi
     22206      case "$CC" in
     22207        cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     22208          SAVE_LIBS="$LIBS"
     22209          echo "$as_me:$LINENO: checking for BLAS in MKL" >&5
     22210echo $ECHO_N "checking for BLAS in MKL... $ECHO_C" >&6
     22211          LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
     22212          case $ac_ext in
     22213  f)
     22214    cat >conftest.$ac_ext <<_ACEOF
     22215/* confdefs.h.  */
     22216_ACEOF
     22217cat confdefs.h >>conftest.$ac_ext
     22218cat >>conftest.$ac_ext <<_ACEOF
     22219/* end confdefs.h.  */
     22220
     22221#ifdef F77_DUMMY_MAIN
     22222
     22223#  ifdef __cplusplus
     22224     extern "C"
     22225#  endif
     22226   int F77_DUMMY_MAIN() { return 1; }
     22227
     22228#endif
     22229int
     22230main ()
     22231{
     22232      call daxpy
     22233  ;
     22234  return 0;
     22235}
     22236_ACEOF
     22237rm -f conftest.$ac_objext conftest$ac_exeext
     22238if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22239  (eval $ac_link) 2>conftest.er1
     22240  ac_status=$?
     22241  grep -v '^ *+' conftest.er1 >conftest.err
     22242  rm -f conftest.er1
     22243  cat conftest.err >&5
     22244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22245  (exit $ac_status); } &&
     22246         { ac_try='test -z "$ac_c_werror_flag"
     22247                         || test ! -s conftest.err'
     22248  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22249  (eval $ac_try) 2>&5
     22250  ac_status=$?
     22251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22252  (exit $ac_status); }; } &&
     22253         { ac_try='test -s conftest$ac_exeext'
     22254  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22255  (eval $ac_try) 2>&5
     22256  ac_status=$?
     22257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22258  (exit $ac_status); }; }; then
     22259  echo "$as_me:$LINENO: result: yes" >&5
     22260echo "${ECHO_T}yes" >&6
     22261                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22262                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22263else
     22264  echo "$as_me: failed program was:" >&5
     22265sed 's/^/| /' conftest.$ac_ext >&5
     22266
     22267echo "$as_me:$LINENO: result: no" >&5
     22268echo "${ECHO_T}no" >&6
     22269                             LIBS="$SAVE_LIBS"
     22270fi
     22271rm -f conftest.err conftest.$ac_objext \
     22272      conftest$ac_exeext conftest.$ac_ext
     22273    ;;
     22274  c)
     22275    ac_ext=f
     22276ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22277ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22278ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22279case $ac_cv_f77_mangling in
     22280  upper*) ac_val="DAXPY" ;;
     22281  lower*) ac_val="daxpy" ;;
     22282  *)      ac_val="unknown" ;;
     22283esac
     22284case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22285
     22286cfuncdaxpy="$ac_val"
     22287
     22288ac_ext=c
     22289ac_cpp='$CPP $CPPFLAGS'
     22290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22292ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22293
     22294    if test x"$coin_need_flibs" = xyes; then
     22295      flink_try=no;
     22296    else
     22297      cat >conftest.$ac_ext <<_ACEOF
     22298/* confdefs.h.  */
     22299_ACEOF
     22300cat confdefs.h >>conftest.$ac_ext
     22301cat >>conftest.$ac_ext <<_ACEOF
     22302/* end confdefs.h.  */
     22303void $cfuncdaxpy();
     22304#ifdef F77_DUMMY_MAIN
     22305
     22306#  ifdef __cplusplus
     22307     extern "C"
     22308#  endif
     22309   int F77_DUMMY_MAIN() { return 1; }
     22310
     22311#endif
     22312int
     22313main ()
     22314{
     22315$cfuncdaxpy()
     22316  ;
     22317  return 0;
     22318}
     22319_ACEOF
     22320rm -f conftest.$ac_objext conftest$ac_exeext
     22321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22322  (eval $ac_link) 2>conftest.er1
     22323  ac_status=$?
     22324  grep -v '^ *+' conftest.er1 >conftest.err
     22325  rm -f conftest.er1
     22326  cat conftest.err >&5
     22327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22328  (exit $ac_status); } &&
     22329         { ac_try='test -z "$ac_c_werror_flag"
     22330                         || test ! -s conftest.err'
     22331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22332  (eval $ac_try) 2>&5
     22333  ac_status=$?
     22334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22335  (exit $ac_status); }; } &&
     22336         { ac_try='test -s conftest$ac_exeext'
     22337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22338  (eval $ac_try) 2>&5
     22339  ac_status=$?
     22340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22341  (exit $ac_status); }; }; then
     22342  flink_try=yes
     22343else
     22344  echo "$as_me: failed program was:" >&5
     22345sed 's/^/| /' conftest.$ac_ext >&5
     22346
     22347flink_try=no
     22348fi
     22349rm -f conftest.err conftest.$ac_objext \
     22350      conftest$ac_exeext conftest.$ac_ext
     22351    fi
     22352    if test $flink_try = yes; then
     22353      echo "$as_me:$LINENO: result: yes" >&5
     22354echo "${ECHO_T}yes" >&6
     22355                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22356                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22357    else
     22358      if test x"$FLIBS" != x; then
     22359        flink_save_libs="$LIBS"
     22360        LIBS="$LIBS $FLIBS"
     22361        cat >conftest.$ac_ext <<_ACEOF
     22362/* confdefs.h.  */
     22363_ACEOF
     22364cat confdefs.h >>conftest.$ac_ext
     22365cat >>conftest.$ac_ext <<_ACEOF
     22366/* end confdefs.h.  */
     22367void $cfuncdaxpy();
     22368#ifdef F77_DUMMY_MAIN
     22369
     22370#  ifdef __cplusplus
     22371     extern "C"
     22372#  endif
     22373   int F77_DUMMY_MAIN() { return 1; }
     22374
     22375#endif
     22376int
     22377main ()
     22378{
     22379$cfuncdaxpy()
     22380  ;
     22381  return 0;
     22382}
     22383_ACEOF
     22384rm -f conftest.$ac_objext conftest$ac_exeext
     22385if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22386  (eval $ac_link) 2>conftest.er1
     22387  ac_status=$?
     22388  grep -v '^ *+' conftest.er1 >conftest.err
     22389  rm -f conftest.er1
     22390  cat conftest.err >&5
     22391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22392  (exit $ac_status); } &&
     22393         { ac_try='test -z "$ac_c_werror_flag"
     22394                         || test ! -s conftest.err'
     22395  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22396  (eval $ac_try) 2>&5
     22397  ac_status=$?
     22398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22399  (exit $ac_status); }; } &&
     22400         { ac_try='test -s conftest$ac_exeext'
     22401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22402  (eval $ac_try) 2>&5
     22403  ac_status=$?
     22404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22405  (exit $ac_status); }; }; then
     22406  LIBS="$flink_save_libs"
     22407                     echo "$as_me:$LINENO: result: yes" >&5
     22408echo "${ECHO_T}yes" >&6
     22409                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22410                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22411                     coin_need_flibs=yes
     22412else
     22413  echo "$as_me: failed program was:" >&5
     22414sed 's/^/| /' conftest.$ac_ext >&5
     22415
     22416LIBS="$flink_save_libs"
     22417                     echo "$as_me:$LINENO: result: no" >&5
     22418echo "${ECHO_T}no" >&6
     22419                             LIBS="$SAVE_LIBS"
     22420fi
     22421rm -f conftest.err conftest.$ac_objext \
     22422      conftest$ac_exeext conftest.$ac_ext
     22423      else
     22424        echo "$as_me:$LINENO: result: no" >&5
     22425echo "${ECHO_T}no" >&6
     22426                             LIBS="$SAVE_LIBS"
     22427      fi
     22428    fi
     22429    ;;
     22430  cc|cpp)
     22431    ac_ext=f
     22432ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22433ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22434ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22435case $ac_cv_f77_mangling in
     22436  upper*) ac_val="DAXPY" ;;
     22437  lower*) ac_val="daxpy" ;;
     22438  *)      ac_val="unknown" ;;
     22439esac
     22440case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22441
     22442cfuncdaxpy="$ac_val"
     22443
     22444ac_ext=c
     22445ac_cpp='$CPP $CPPFLAGS'
     22446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22448ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22449
     22450    if test x"$coin_need_flibs" = xyes; then
     22451      flink_try=no;
     22452    else
     22453      cat >conftest.$ac_ext <<_ACEOF
     22454/* confdefs.h.  */
     22455_ACEOF
     22456cat confdefs.h >>conftest.$ac_ext
     22457cat >>conftest.$ac_ext <<_ACEOF
     22458/* end confdefs.h.  */
     22459extern "C" {void $cfuncdaxpy();}
     22460#ifdef F77_DUMMY_MAIN
     22461
     22462#  ifdef __cplusplus
     22463     extern "C"
     22464#  endif
     22465   int F77_DUMMY_MAIN() { return 1; }
     22466
     22467#endif
     22468int
     22469main ()
     22470{
     22471$cfuncdaxpy()
     22472  ;
     22473  return 0;
     22474}
     22475_ACEOF
     22476rm -f conftest.$ac_objext conftest$ac_exeext
     22477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22478  (eval $ac_link) 2>conftest.er1
     22479  ac_status=$?
     22480  grep -v '^ *+' conftest.er1 >conftest.err
     22481  rm -f conftest.er1
     22482  cat conftest.err >&5
     22483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22484  (exit $ac_status); } &&
     22485         { ac_try='test -z "$ac_c_werror_flag"
     22486                         || test ! -s conftest.err'
     22487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22488  (eval $ac_try) 2>&5
     22489  ac_status=$?
     22490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22491  (exit $ac_status); }; } &&
     22492         { ac_try='test -s conftest$ac_exeext'
     22493  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22494  (eval $ac_try) 2>&5
     22495  ac_status=$?
     22496  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22497  (exit $ac_status); }; }; then
     22498  flink_try=yes
     22499else
     22500  echo "$as_me: failed program was:" >&5
     22501sed 's/^/| /' conftest.$ac_ext >&5
     22502
     22503flink_try=no
     22504fi
     22505rm -f conftest.err conftest.$ac_objext \
     22506      conftest$ac_exeext conftest.$ac_ext
     22507    fi
     22508    if test $flink_try = yes; then
     22509      echo "$as_me:$LINENO: result: yes" >&5
     22510echo "${ECHO_T}yes" >&6
     22511                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22512                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22513    else
     22514      if test x"$FLIBS" != x; then
     22515        flink_save_libs="$LIBS"
     22516        LIBS="$LIBS $FLIBS"
     22517        cat >conftest.$ac_ext <<_ACEOF
     22518/* confdefs.h.  */
     22519_ACEOF
     22520cat confdefs.h >>conftest.$ac_ext
     22521cat >>conftest.$ac_ext <<_ACEOF
     22522/* end confdefs.h.  */
     22523extern "C" {void $cfuncdaxpy();}
     22524#ifdef F77_DUMMY_MAIN
     22525
     22526#  ifdef __cplusplus
     22527     extern "C"
     22528#  endif
     22529   int F77_DUMMY_MAIN() { return 1; }
     22530
     22531#endif
     22532int
     22533main ()
     22534{
     22535$cfuncdaxpy()
     22536  ;
     22537  return 0;
     22538}
     22539_ACEOF
     22540rm -f conftest.$ac_objext conftest$ac_exeext
     22541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22542  (eval $ac_link) 2>conftest.er1
     22543  ac_status=$?
     22544  grep -v '^ *+' conftest.er1 >conftest.err
     22545  rm -f conftest.er1
     22546  cat conftest.err >&5
     22547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22548  (exit $ac_status); } &&
     22549         { ac_try='test -z "$ac_c_werror_flag"
     22550                         || test ! -s conftest.err'
     22551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22552  (eval $ac_try) 2>&5
     22553  ac_status=$?
     22554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22555  (exit $ac_status); }; } &&
     22556         { ac_try='test -s conftest$ac_exeext'
     22557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22558  (eval $ac_try) 2>&5
     22559  ac_status=$?
     22560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22561  (exit $ac_status); }; }; then
     22562  LIBS="$flink_save_libs"
     22563                     echo "$as_me:$LINENO: result: yes" >&5
     22564echo "${ECHO_T}yes" >&6
     22565                             use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     22566                             ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
     22567                     coin_need_flibs=yes
     22568else
     22569  echo "$as_me: failed program was:" >&5
     22570sed 's/^/| /' conftest.$ac_ext >&5
     22571
     22572LIBS="$flink_save_libs"
     22573                     echo "$as_me:$LINENO: result: no" >&5
     22574echo "${ECHO_T}no" >&6
     22575                             LIBS="$SAVE_LIBS"
     22576fi
     22577rm -f conftest.err conftest.$ac_objext \
     22578      conftest$ac_exeext conftest.$ac_ext
     22579      else
     22580        echo "$as_me:$LINENO: result: no" >&5
     22581echo "${ECHO_T}no" >&6
     22582                             LIBS="$SAVE_LIBS"
     22583      fi
     22584    fi
     22585    ;;
     22586esac
     22587
     22588          ;;
     22589      esac
     22590      ;;
     22591  esac
     22592
     22593  if test -z "$use_blas" && test $skip_lblas_check = no; then
     22594    SAVE_LIBS="$LIBS"
     22595    echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
     22596echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
     22597    LIBS="-lblas $LIBS"
     22598    case $ac_ext in
     22599  f)
     22600    cat >conftest.$ac_ext <<_ACEOF
     22601/* confdefs.h.  */
     22602_ACEOF
     22603cat confdefs.h >>conftest.$ac_ext
     22604cat >>conftest.$ac_ext <<_ACEOF
     22605/* end confdefs.h.  */
     22606
     22607#ifdef F77_DUMMY_MAIN
     22608
     22609#  ifdef __cplusplus
     22610     extern "C"
     22611#  endif
     22612   int F77_DUMMY_MAIN() { return 1; }
     22613
     22614#endif
     22615int
     22616main ()
     22617{
     22618      call daxpy
     22619  ;
     22620  return 0;
     22621}
     22622_ACEOF
     22623rm -f conftest.$ac_objext conftest$ac_exeext
     22624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22625  (eval $ac_link) 2>conftest.er1
     22626  ac_status=$?
     22627  grep -v '^ *+' conftest.er1 >conftest.err
     22628  rm -f conftest.er1
     22629  cat conftest.err >&5
     22630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22631  (exit $ac_status); } &&
     22632         { ac_try='test -z "$ac_c_werror_flag"
     22633                         || test ! -s conftest.err'
     22634  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22635  (eval $ac_try) 2>&5
     22636  ac_status=$?
     22637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22638  (exit $ac_status); }; } &&
     22639         { ac_try='test -s conftest$ac_exeext'
     22640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22641  (eval $ac_try) 2>&5
     22642  ac_status=$?
     22643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22644  (exit $ac_status); }; }; then
     22645  echo "$as_me:$LINENO: result: yes" >&5
     22646echo "${ECHO_T}yes" >&6
     22647                       ADDLIBS="-lblas $ADDLIBS"
     22648                       use_blas='-lblas'
     22649else
     22650  echo "$as_me: failed program was:" >&5
     22651sed 's/^/| /' conftest.$ac_ext >&5
     22652
     22653echo "$as_me:$LINENO: result: no" >&5
     22654echo "${ECHO_T}no" >&6
     22655                       LIBS="$SAVE_LIBS"
     22656fi
     22657rm -f conftest.err conftest.$ac_objext \
     22658      conftest$ac_exeext conftest.$ac_ext
     22659    ;;
     22660  c)
     22661    ac_ext=f
     22662ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22663ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22664ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22665case $ac_cv_f77_mangling in
     22666  upper*) ac_val="DAXPY" ;;
     22667  lower*) ac_val="daxpy" ;;
     22668  *)      ac_val="unknown" ;;
     22669esac
     22670case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22671
     22672cfuncdaxpy="$ac_val"
     22673
     22674ac_ext=c
     22675ac_cpp='$CPP $CPPFLAGS'
     22676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22678ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22679
     22680    if test x"$coin_need_flibs" = xyes; then
     22681      flink_try=no;
     22682    else
     22683      cat >conftest.$ac_ext <<_ACEOF
     22684/* confdefs.h.  */
     22685_ACEOF
     22686cat confdefs.h >>conftest.$ac_ext
     22687cat >>conftest.$ac_ext <<_ACEOF
     22688/* end confdefs.h.  */
     22689void $cfuncdaxpy();
     22690#ifdef F77_DUMMY_MAIN
     22691
     22692#  ifdef __cplusplus
     22693     extern "C"
     22694#  endif
     22695   int F77_DUMMY_MAIN() { return 1; }
     22696
     22697#endif
     22698int
     22699main ()
     22700{
     22701$cfuncdaxpy()
     22702  ;
     22703  return 0;
     22704}
     22705_ACEOF
     22706rm -f conftest.$ac_objext conftest$ac_exeext
     22707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22708  (eval $ac_link) 2>conftest.er1
     22709  ac_status=$?
     22710  grep -v '^ *+' conftest.er1 >conftest.err
     22711  rm -f conftest.er1
     22712  cat conftest.err >&5
     22713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22714  (exit $ac_status); } &&
     22715         { ac_try='test -z "$ac_c_werror_flag"
     22716                         || test ! -s conftest.err'
     22717  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22718  (eval $ac_try) 2>&5
     22719  ac_status=$?
     22720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22721  (exit $ac_status); }; } &&
     22722         { ac_try='test -s conftest$ac_exeext'
     22723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22724  (eval $ac_try) 2>&5
     22725  ac_status=$?
     22726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22727  (exit $ac_status); }; }; then
     22728  flink_try=yes
     22729else
     22730  echo "$as_me: failed program was:" >&5
     22731sed 's/^/| /' conftest.$ac_ext >&5
     22732
     22733flink_try=no
     22734fi
     22735rm -f conftest.err conftest.$ac_objext \
     22736      conftest$ac_exeext conftest.$ac_ext
     22737    fi
     22738    if test $flink_try = yes; then
     22739      echo "$as_me:$LINENO: result: yes" >&5
     22740echo "${ECHO_T}yes" >&6
     22741                       ADDLIBS="-lblas $ADDLIBS"
     22742                       use_blas='-lblas'
     22743    else
     22744      if test x"$FLIBS" != x; then
     22745        flink_save_libs="$LIBS"
     22746        LIBS="$LIBS $FLIBS"
     22747        cat >conftest.$ac_ext <<_ACEOF
     22748/* confdefs.h.  */
     22749_ACEOF
     22750cat confdefs.h >>conftest.$ac_ext
     22751cat >>conftest.$ac_ext <<_ACEOF
     22752/* end confdefs.h.  */
     22753void $cfuncdaxpy();
     22754#ifdef F77_DUMMY_MAIN
     22755
     22756#  ifdef __cplusplus
     22757     extern "C"
     22758#  endif
     22759   int F77_DUMMY_MAIN() { return 1; }
     22760
     22761#endif
     22762int
     22763main ()
     22764{
     22765$cfuncdaxpy()
     22766  ;
     22767  return 0;
     22768}
     22769_ACEOF
     22770rm -f conftest.$ac_objext conftest$ac_exeext
     22771if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22772  (eval $ac_link) 2>conftest.er1
     22773  ac_status=$?
     22774  grep -v '^ *+' conftest.er1 >conftest.err
     22775  rm -f conftest.er1
     22776  cat conftest.err >&5
     22777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22778  (exit $ac_status); } &&
     22779         { ac_try='test -z "$ac_c_werror_flag"
     22780                         || test ! -s conftest.err'
     22781  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22782  (eval $ac_try) 2>&5
     22783  ac_status=$?
     22784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22785  (exit $ac_status); }; } &&
     22786         { ac_try='test -s conftest$ac_exeext'
     22787  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22788  (eval $ac_try) 2>&5
     22789  ac_status=$?
     22790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22791  (exit $ac_status); }; }; then
     22792  LIBS="$flink_save_libs"
     22793                     echo "$as_me:$LINENO: result: yes" >&5
     22794echo "${ECHO_T}yes" >&6
     22795                       ADDLIBS="-lblas $ADDLIBS"
     22796                       use_blas='-lblas'
     22797                     coin_need_flibs=yes
     22798else
     22799  echo "$as_me: failed program was:" >&5
     22800sed 's/^/| /' conftest.$ac_ext >&5
     22801
     22802LIBS="$flink_save_libs"
     22803                     echo "$as_me:$LINENO: result: no" >&5
     22804echo "${ECHO_T}no" >&6
     22805                       LIBS="$SAVE_LIBS"
     22806fi
     22807rm -f conftest.err conftest.$ac_objext \
     22808      conftest$ac_exeext conftest.$ac_ext
     22809      else
     22810        echo "$as_me:$LINENO: result: no" >&5
     22811echo "${ECHO_T}no" >&6
     22812                       LIBS="$SAVE_LIBS"
     22813      fi
     22814    fi
     22815    ;;
     22816  cc|cpp)
     22817    ac_ext=f
     22818ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22819ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22820ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22821case $ac_cv_f77_mangling in
     22822  upper*) ac_val="DAXPY" ;;
     22823  lower*) ac_val="daxpy" ;;
     22824  *)      ac_val="unknown" ;;
     22825esac
     22826case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22827
     22828cfuncdaxpy="$ac_val"
     22829
     22830ac_ext=c
     22831ac_cpp='$CPP $CPPFLAGS'
     22832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22834ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22835
     22836    if test x"$coin_need_flibs" = xyes; then
     22837      flink_try=no;
     22838    else
     22839      cat >conftest.$ac_ext <<_ACEOF
     22840/* confdefs.h.  */
     22841_ACEOF
     22842cat confdefs.h >>conftest.$ac_ext
     22843cat >>conftest.$ac_ext <<_ACEOF
     22844/* end confdefs.h.  */
     22845extern "C" {void $cfuncdaxpy();}
     22846#ifdef F77_DUMMY_MAIN
     22847
     22848#  ifdef __cplusplus
     22849     extern "C"
     22850#  endif
     22851   int F77_DUMMY_MAIN() { return 1; }
     22852
     22853#endif
     22854int
     22855main ()
     22856{
     22857$cfuncdaxpy()
     22858  ;
     22859  return 0;
     22860}
     22861_ACEOF
     22862rm -f conftest.$ac_objext conftest$ac_exeext
     22863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22864  (eval $ac_link) 2>conftest.er1
     22865  ac_status=$?
     22866  grep -v '^ *+' conftest.er1 >conftest.err
     22867  rm -f conftest.er1
     22868  cat conftest.err >&5
     22869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22870  (exit $ac_status); } &&
     22871         { ac_try='test -z "$ac_c_werror_flag"
     22872                         || test ! -s conftest.err'
     22873  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22874  (eval $ac_try) 2>&5
     22875  ac_status=$?
     22876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22877  (exit $ac_status); }; } &&
     22878         { ac_try='test -s conftest$ac_exeext'
     22879  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22880  (eval $ac_try) 2>&5
     22881  ac_status=$?
     22882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22883  (exit $ac_status); }; }; then
     22884  flink_try=yes
     22885else
     22886  echo "$as_me: failed program was:" >&5
     22887sed 's/^/| /' conftest.$ac_ext >&5
     22888
     22889flink_try=no
     22890fi
     22891rm -f conftest.err conftest.$ac_objext \
     22892      conftest$ac_exeext conftest.$ac_ext
     22893    fi
     22894    if test $flink_try = yes; then
     22895      echo "$as_me:$LINENO: result: yes" >&5
     22896echo "${ECHO_T}yes" >&6
     22897                       ADDLIBS="-lblas $ADDLIBS"
     22898                       use_blas='-lblas'
     22899    else
     22900      if test x"$FLIBS" != x; then
     22901        flink_save_libs="$LIBS"
     22902        LIBS="$LIBS $FLIBS"
     22903        cat >conftest.$ac_ext <<_ACEOF
     22904/* confdefs.h.  */
     22905_ACEOF
     22906cat confdefs.h >>conftest.$ac_ext
     22907cat >>conftest.$ac_ext <<_ACEOF
     22908/* end confdefs.h.  */
     22909extern "C" {void $cfuncdaxpy();}
     22910#ifdef F77_DUMMY_MAIN
     22911
     22912#  ifdef __cplusplus
     22913     extern "C"
     22914#  endif
     22915   int F77_DUMMY_MAIN() { return 1; }
     22916
     22917#endif
     22918int
     22919main ()
     22920{
     22921$cfuncdaxpy()
     22922  ;
     22923  return 0;
     22924}
     22925_ACEOF
     22926rm -f conftest.$ac_objext conftest$ac_exeext
     22927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22928  (eval $ac_link) 2>conftest.er1
     22929  ac_status=$?
     22930  grep -v '^ *+' conftest.er1 >conftest.err
     22931  rm -f conftest.er1
     22932  cat conftest.err >&5
     22933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22934  (exit $ac_status); } &&
     22935         { ac_try='test -z "$ac_c_werror_flag"
     22936                         || test ! -s conftest.err'
     22937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22938  (eval $ac_try) 2>&5
     22939  ac_status=$?
     22940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22941  (exit $ac_status); }; } &&
     22942         { ac_try='test -s conftest$ac_exeext'
     22943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22944  (eval $ac_try) 2>&5
     22945  ac_status=$?
     22946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22947  (exit $ac_status); }; }; then
     22948  LIBS="$flink_save_libs"
     22949                     echo "$as_me:$LINENO: result: yes" >&5
     22950echo "${ECHO_T}yes" >&6
     22951                       ADDLIBS="-lblas $ADDLIBS"
     22952                       use_blas='-lblas'
     22953                     coin_need_flibs=yes
     22954else
     22955  echo "$as_me: failed program was:" >&5
     22956sed 's/^/| /' conftest.$ac_ext >&5
     22957
     22958LIBS="$flink_save_libs"
     22959                     echo "$as_me:$LINENO: result: no" >&5
     22960echo "${ECHO_T}no" >&6
     22961                       LIBS="$SAVE_LIBS"
     22962fi
     22963rm -f conftest.err conftest.$ac_objext \
     22964      conftest$ac_exeext conftest.$ac_ext
     22965      else
     22966        echo "$as_me:$LINENO: result: no" >&5
     22967echo "${ECHO_T}no" >&6
     22968                       LIBS="$SAVE_LIBS"
     22969      fi
     22970    fi
     22971    ;;
     22972esac
     22973
     22974  fi
     22975
     22976# If we have no other ideas, consider building BLAS.
     22977  if test -z "$use_blas"; then
     22978    if test "$PACKAGE_NAME" != ThirdPartyBlas; then
     22979      if test -r $coin_blasobjdir/.MakeOk; then
     22980        use_blas=BUILD
     22981      fi
    2031222982    fi
    2031322983  fi
    2031422984fi
    2031522985
    20316 if test $coin_has_blas != unavailable &&
    20317    test $coin_has_blas != skipping; then
    20318   # Set the #define if the component is available
     22986if test "$use_blas" = BUILD; then
     22987  coin_need_flibs=yes
     22988fi
     22989
     22990
     22991
     22992if test x"$use_blas" != x; then
     22993  COIN_HAS_BLAS_TRUE=
     22994  COIN_HAS_BLAS_FALSE='#'
     22995else
     22996  COIN_HAS_BLAS_TRUE='#'
     22997  COIN_HAS_BLAS_FALSE=
     22998fi
     22999
     23000
     23001
     23002if test "$use_blas" = BUILD; then
     23003  COIN_BUILD_BLAS_TRUE=
     23004  COIN_BUILD_BLAS_FALSE='#'
     23005else
     23006  COIN_BUILD_BLAS_TRUE='#'
     23007  COIN_BUILD_BLAS_FALSE=
     23008fi
     23009
     23010
     23011if test x"$use_blas" = x || test "$use_blas" = no; then
     23012  coin_has_blas=no
     23013else
     23014  coin_has_blas=yes
    2031923015
    2032023016cat >>confdefs.h <<\_ACEOF
     
    2032223018_ACEOF
    2032323019
    20324 
    20325   # Set the variables for source and object code location
    20326 
    20327   BLASSRCDIR=`cd $srcdir/$coin_has_blas; pwd`
    20328 
    20329   BLASOBJDIR=`pwd`/$coin_has_blas
    20330 
    20331   BLASDOCDIR=$abs_lib_dir/../share/doc/coin/Blas
    20332 fi
    20333 
    20334   # Define the Makefile conditional
    20335 
    20336 
    20337 if test $coin_has_blas != unavailable &&
    20338                 test $coin_has_blas != skipping; then
    20339   COIN_HAS_BLAS_TRUE=
    20340   COIN_HAS_BLAS_FALSE='#'
    20341 else
    20342   COIN_HAS_BLAS_TRUE='#'
    20343   COIN_HAS_BLAS_FALSE=
    20344 fi
    20345 
    20346 echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    20347 echo "${ECHO_T}$coin_has_blas" >&6
    20348 
    20349 
    20350 # Check if Blas is already available on the system or provided by user
    20351 #AC_COIN_HAS_BLAS
    20352 #MAKEOKFILE=.MakeOk
    20353 #if test $coin_has_blas = yes && test "$use_blas" != BUILD; then
    20354 #  rm -f $MAKEOKFILE
    20355 #  AC_MSG_NOTICE([The Blas sources don't need to be compiled])
    20356 #  MAKEOKFILE=
    20357 #else
    20358 #  touch $MAKEOKFILE
    20359 #fi
    20360 #AC_SUBST(MAKEOKFILE)
    20361 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    20362 
    20363                                         ac_config_files="$ac_config_files Makefile blas_addlibs.txt blas.pc blas-uninstalled.pc"
     23020fi
     23021
     23022MAKEOKFILE=.MakeOk
     23023if test $coin_has_blas = yes && test "$use_blas" != BUILD; then
     23024  rm -f $MAKEOKFILE
     23025  { echo "$as_me:$LINENO: The Blas sources don't need to be compiled" >&5
     23026echo "$as_me: The Blas sources don't need to be compiled" >&6;}
     23027  MAKEOKFILE=
     23028else
     23029  touch $MAKEOKFILE
     23030fi
     23031
     23032
     23033
     23034if test -z "$MAKEOKFILE"; then
     23035  SKIPMAKE_TRUE=
     23036  SKIPMAKE_FALSE='#'
     23037else
     23038  SKIPMAKE_TRUE='#'
     23039  SKIPMAKE_FALSE=
     23040fi
     23041
     23042
     23043          ac_config_files="$ac_config_files Makefile"
    2036423044
    2036523045
     
    2058923269Usually this means the macro was only invoked conditionally." >&5
    2059023270echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     23271Usually this means the macro was only invoked conditionally." >&2;}
     23272   { (exit 1); exit 1; }; }
     23273fi
     23274if test -z "${COIN_BUILD_BLAS_TRUE}" && test -z "${COIN_BUILD_BLAS_FALSE}"; then
     23275  { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_BLAS\" was never defined.
     23276Usually this means the macro was only invoked conditionally." >&5
     23277echo "$as_me: error: conditional \"COIN_BUILD_BLAS\" was never defined.
     23278Usually this means the macro was only invoked conditionally." >&2;}
     23279   { (exit 1); exit 1; }; }
     23280fi
     23281if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
     23282  { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
     23283Usually this means the macro was only invoked conditionally." >&5
     23284echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2059123285Usually this means the macro was only invoked conditionally." >&2;}
    2059223286   { (exit 1); exit 1; }; }
     
    2103223726  # Handling of arguments.
    2103323727  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    21034   "blas_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES blas_addlibs.txt" ;;
    21035   "blas.pc" ) CONFIG_FILES="$CONFIG_FILES blas.pc" ;;
    21036   "blas-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES blas-uninstalled.pc" ;;
    2103723728  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2103823729  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     
    2121823909s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2121923910s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    21220 s,@BLASSRCDIR@,$BLASSRCDIR,;t t
    21221 s,@BLASOBJDIR@,$BLASOBJDIR,;t t
    21222 s,@BLASDOCDIR@,$BLASDOCDIR,;t t
     23911s,@FLIBS@,$FLIBS,;t t
    2122323912s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t
    2122423913s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t
     23914s,@COIN_BUILD_BLAS_TRUE@,$COIN_BUILD_BLAS_TRUE,;t t
     23915s,@COIN_BUILD_BLAS_FALSE@,$COIN_BUILD_BLAS_FALSE,;t t
     23916s,@MAKEOKFILE@,$MAKEOKFILE,;t t
     23917s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
     23918s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2122523919s,@LIBEXT@,$LIBEXT,;t t
    2122623920s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
  • ThirdParty/Blas/trunk/configure.ac

    r1396 r1411  
    5353AC_COIN_INIT_AUTO_TOOLS
    5454
    55 AC_COIN_HAS_PROJECT(Blas)
     55# Check if Blas is already available on the system or provided by user
     56AC_COIN_HAS_BLAS
     57MAKEOKFILE=.MakeOk
     58if test $coin_has_blas = yes && test "$use_blas" != BUILD; then
     59  rm -f $MAKEOKFILE
     60  AC_MSG_NOTICE([The Blas sources don't need to be compiled])
     61  MAKEOKFILE=
     62else
     63  touch $MAKEOKFILE
     64fi
     65AC_SUBST(MAKEOKFILE)
     66AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    5667
    57 # Check if Blas is already available on the system or provided by user
    58 #AC_COIN_HAS_BLAS
    59 #MAKEOKFILE=.MakeOk
    60 #if test $coin_has_blas = yes && test "$use_blas" != BUILD; then
    61 #  rm -f $MAKEOKFILE
    62 #  AC_MSG_NOTICE([The Blas sources don't need to be compiled])
    63 #  MAKEOKFILE=
    64 #else
    65 #  touch $MAKEOKFILE
    66 #fi
    67 #AC_SUBST(MAKEOKFILE)
    68 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    69 
    70 AC_CONFIG_FILES([Makefile blas_addlibs.txt blas.pc blas-uninstalled.pc])
     68AC_CONFIG_FILES([Makefile])
    7169
    7270AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.