Changeset 1378


Ignore:
Timestamp:
Jul 26, 2009 2:33:20 PM (11 years ago)
Author:
stefan
Message:

towards making thirdparty projects behave like normal projects: add addlibs and dummy README files; install lib, header, addlibs and README file; compile always but require code to be available

Location:
ThirdParty/Lapack/trunk
Files:
2 added
4 edited

Legend:

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

    r1188 r1378  
    99EXTRA_DIST = get.lapack INSTALL.LAPACK
    1010
    11 if SKIPMAKE
    12   noinst_LTLIBRARIES =
    13 else
    14   noinst_LTLIBRARIES = libcoinlapack.la
    15 endif
     11thirdpartylibdir = $(prefix)/lib/ThirdParty
     12thirdpartylib_LTLIBRARIES = libcoinlapack.la
    1613
    1714LAPACK_FILES = \
     
    5451        iparmq.f
    5552
    56 nodist_libcoinlapack_la_SOURCES = $(LAPACK_FILES)
     53libcoinlapack_la_SOURCES = $(LAPACK_FILES)
    5754
    5855libcoinlapack_la_LDFLAGS = $(LT_LDFLAGS)
     
    6764        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(DLAMCH_FFLAGS) -c -o $@ $<
    6865
     66addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Lapack
     67addlibs_DATA = lapack_addlibs.txt README
     68
    6969########################################################################
    7070#                         Maintainer Stuff                             #
  • ThirdParty/Lapack/trunk/Makefile.in

    r1188 r1378  
    2828#                    Documentation installation                        #
    2929########################################################################
     30
    3031
    3132srcdir = @srcdir@
     
    5152build_triplet = @build@
    5253host_triplet = @host@
    53 DIST_COMMON = $(am__configure_deps) \
     54DIST_COMMON = README $(am__configure_deps) \
    5455        $(srcdir)/../../BuildTools/Makemain.inc \
    5556        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
    5657        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5758        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    58         $(srcdir)/Makefile.in $(top_srcdir)/configure
     59        $(srcdir)/Makefile.in $(srcdir)/lapack_addlibs.txt.in \
     60        $(top_srcdir)/configure
    5961@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6062@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6870 configure.lineno configure.status.lineno
    6971mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES =
    71 LTLIBRARIES = $(noinst_LTLIBRARIES)
     72CONFIG_CLEAN_FILES = lapack_addlibs.txt
     73am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     74am__vpath_adj = case $$p in \
     75    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     76    *) f=$$p;; \
     77  esac;
     78am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     79am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     80        "$(DESTDIR)$(addlibsdir)"
     81thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     82LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    7283libcoinlapack_la_LIBADD =
    7384am__objects_1 = dgetf2.lo dgetrf.lo dgetrs.lo dlae2.lo dlaev2.lo \
     
    7889        dsteqr.lo dsterf.lo dsyev.lo dsytd2.lo dsytrd.lo ieeeck.lo \
    7990        ilaenv.lo iparmq.lo
    80 nodist_libcoinlapack_la_OBJECTS = $(am__objects_1)
    81 libcoinlapack_la_OBJECTS = $(nodist_libcoinlapack_la_OBJECTS)
    82 @SKIPMAKE_FALSE@am_libcoinlapack_la_rpath =
     91am_libcoinlapack_la_OBJECTS = $(am__objects_1)
     92libcoinlapack_la_OBJECTS = $(am_libcoinlapack_la_OBJECTS)
    8393DEFAULT_INCLUDES = -I. -I$(srcdir)
    8494F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
     
    8898F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \
    8999        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    90 SOURCES = $(nodist_libcoinlapack_la_SOURCES)
    91 DIST_SOURCES =
     100SOURCES = $(libcoinlapack_la_SOURCES)
     101DIST_SOURCES = $(libcoinlapack_la_SOURCES)
     102addlibsDATA_INSTALL = $(INSTALL_DATA)
     103DATA = $(addlibs_DATA)
    92104ETAGS = etags
    93105CTAGS = ctags
     
    118130AUX_DIR = @AUX_DIR@
    119131AWK = @AWK@
     132BLASDOCDIR = @BLASDOCDIR@
     133BLASOBJDIR = @BLASOBJDIR@
     134BLASSRCDIR = @BLASSRCDIR@
    120135BUILDTOOLSDIR = @BUILDTOOLSDIR@
    121136CC = @CC@
     
    123138CDEFS = @CDEFS@
    124139CFLAGS = @CFLAGS@
    125 COIN_BUILD_BLAS_FALSE = @COIN_BUILD_BLAS_FALSE@
    126 COIN_BUILD_BLAS_TRUE = @COIN_BUILD_BLAS_TRUE@
    127 COIN_BUILD_LAPACK_FALSE = @COIN_BUILD_LAPACK_FALSE@
    128 COIN_BUILD_LAPACK_TRUE = @COIN_BUILD_LAPACK_TRUE@
    129140COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    130141COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
     
    152163FADDLIBS = @FADDLIBS@
    153164FFLAGS = @FFLAGS@
    154 FLIBS = @FLIBS@
    155165HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    156166HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    159169INSTALL_SCRIPT = @INSTALL_SCRIPT@
    160170INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     171LAPACKDOCDIR = @LAPACKDOCDIR@
     172LAPACKOBJDIR = @LAPACKOBJDIR@
     173LAPACKSRCDIR = @LAPACKSRCDIR@
    161174LDFLAGS = @LDFLAGS@
    162175LIBEXT = @LIBEXT@
     
    172185MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    173186MAKEINFO = @MAKEINFO@
    174 MAKEOKFILE = @MAKEOKFILE@
    175187MPICC = @MPICC@
    176188MPIF77 = @MPIF77@
     
    189201SET_MAKE = @SET_MAKE@
    190202SHELL = @SHELL@
    191 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
    192 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    193203STRIP = @STRIP@
    194204VERSION = @VERSION@
     
    249259AUTOMAKE_OPTIONS = foreign
    250260EXTRA_DIST = get.lapack INSTALL.LAPACK $(am__append_1)
    251 @SKIPMAKE_FALSE@noinst_LTLIBRARIES = libcoinlapack.la
    252 @SKIPMAKE_TRUE@noinst_LTLIBRARIES =
     261thirdpartylibdir = $(prefix)/lib/ThirdParty
     262thirdpartylib_LTLIBRARIES = libcoinlapack.la
    253263LAPACK_FILES = \
    254264        dgetf2.f \
     
    290300        iparmq.f
    291301
    292 nodist_libcoinlapack_la_SOURCES = $(LAPACK_FILES)
     302libcoinlapack_la_SOURCES = $(LAPACK_FILES)
    293303libcoinlapack_la_LDFLAGS = $(LT_LDFLAGS)
     304addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Lapack
     305addlibs_DATA = lapack_addlibs.txt README
    294306
    295307########################################################################
     
    339351$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    340352        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    341 
    342 clean-noinstLTLIBRARIES:
    343         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    344         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     353lapack_addlibs.txt: $(top_builddir)/config.status $(srcdir)/lapack_addlibs.txt.in
     354        cd $(top_builddir) && $(SHELL) ./config.status $@
     355install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
     356        @$(NORMAL_INSTALL)
     357        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     358        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     359          if test -f $$p; then \
     360            f=$(am__strip_dir) \
     361            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     362            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     363          else :; fi; \
     364        done
     365
     366uninstall-thirdpartylibLTLIBRARIES:
     367        @$(NORMAL_UNINSTALL)
     368        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     369          p=$(am__strip_dir) \
     370          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     371          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
     372        done
     373
     374clean-thirdpartylibLTLIBRARIES:
     375        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     376        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    345377          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    346378          test "$$dir" != "$$p" || dir=.; \
     
    349381        done
    350382libcoinlapack.la: $(libcoinlapack_la_OBJECTS) $(libcoinlapack_la_DEPENDENCIES)
    351         $(F77LINK) $(am_libcoinlapack_la_rpath) $(libcoinlapack_la_LDFLAGS) $(libcoinlapack_la_OBJECTS) $(libcoinlapack_la_LIBADD) $(LIBS)
     383        $(F77LINK) -rpath $(thirdpartylibdir) $(libcoinlapack_la_LDFLAGS) $(libcoinlapack_la_OBJECTS) $(libcoinlapack_la_LIBADD) $(LIBS)
    352384
    353385mostlyclean-compile:
     
    375407        -rm -f libtool
    376408uninstall-info-am:
     409install-addlibsDATA: $(addlibs_DATA)
     410        @$(NORMAL_INSTALL)
     411        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     412        @list='$(addlibs_DATA)'; for p in $$list; do \
     413          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     414          f=$(am__strip_dir) \
     415          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     416          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     417        done
     418
     419uninstall-addlibsDATA:
     420        @$(NORMAL_UNINSTALL)
     421        @list='$(addlibs_DATA)'; for p in $$list; do \
     422          f=$(am__strip_dir) \
     423          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     424          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     425        done
    377426
    378427ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    427476        $(am__remove_distdir)
    428477        mkdir $(distdir)
    429         $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
     478        $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
    430479        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    431480        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    553602check-am: all-am
    554603check: check-am
    555 all-am: Makefile $(LTLIBRARIES)
     604all-am: Makefile $(LTLIBRARIES) $(DATA)
    556605installdirs:
     606        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)"; do \
     607          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     608        done
    557609install: install-am
    558610install-exec: install-exec-am
     
    582634clean: clean-am
    583635
    584 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     636clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    585637        mostlyclean-am
    586638
     
    601653info-am:
    602654
    603 install-data-am:
     655install-data-am: install-addlibsDATA install-thirdpartylibLTLIBRARIES
    604656
    605657install-exec-am:
     
    630682ps-am:
    631683
    632 uninstall-am: uninstall-info-am
     684uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     685        uninstall-thirdpartylibLTLIBRARIES
    633686
    634687.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    635         clean-generic clean-libtool clean-noinstLTLIBRARIES ctags dist \
    636         dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
    637         distcheck distclean distclean-compile distclean-generic \
    638         distclean-libtool distclean-tags distcleancheck distdir \
    639         distuninstallcheck dvi dvi-am html html-am info info-am \
    640         install install-am install-data install-data-am install-exec \
    641         install-exec-am install-info install-info-am install-man \
    642         install-strip installcheck installcheck-am installdirs \
    643         maintainer-clean maintainer-clean-generic mostlyclean \
    644         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    645         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    646         uninstall-info-am
     688        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     689        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     690        dist-zip distcheck distclean distclean-compile \
     691        distclean-generic distclean-libtool distclean-tags \
     692        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     693        html-am info info-am install install-addlibsDATA install-am \
     694        install-data install-data-am install-exec install-exec-am \
     695        install-info install-info-am install-man install-strip \
     696        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     697        installdirs maintainer-clean maintainer-clean-generic \
     698        mostlyclean mostlyclean-compile mostlyclean-generic \
     699        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     700        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     701        uninstall-thirdpartylibLTLIBRARIES
    647702
    648703
  • ThirdParty/Lapack/trunk/configure

    r1328 r1378  
    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 DLAMCH_FFLAGS 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 COIN_HAS_LAPACK_TRUE COIN_HAS_LAPACK_FALSE COIN_BUILD_LAPACK_TRUE COIN_BUILD_LAPACK_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_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 DLAMCH_FFLAGS 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 LAPACKSRCDIR LAPACKOBJDIR LAPACKDOCDIR COIN_HAS_LAPACK_TRUE COIN_HAS_LAPACK_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    11051105  --with-tags[=TAGS]
    11061106                          include additional configurations [automatic]
    1107   --with-blas             specify BLAS library (or BUILD for compilation)
    1108   --with-lapack           specify LAPACK library (or BUILD for compilation)
    11091107
    11101108Some influential environment variables:
     
    16291627# that we are in a project main directory
    16301628coin_projectdir=yes
     1629
     1630# Check if a library version is set for libtool
     1631
    16311632
    16321633
     
    32973298
    32983299# Provide some information about the compiler.
    3299 echo "$as_me:3299:" \
     3300echo "$as_me:3300:" \
    33003301     "checking for Fortran 77 compiler version" >&5
    33013302ac_compiler=`set X $ac_compile; echo $2`
     
    54785479*-*-irix6*)
    54795480  # Find out which ABI we are using.
    5480   echo '#line 5480 "configure"' > conftest.$ac_ext
     5481  echo '#line 5481 "configure"' > conftest.$ac_ext
    54815482  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    54825483  (eval $ac_compile) 2>&5
     
    79077908   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79087909   -e 's:$: $lt_compiler_flag:'`
    7909    (eval echo "\"\$as_me:7909: $lt_compile\"" >&5)
     7910   (eval echo "\"\$as_me:7910: $lt_compile\"" >&5)
    79107911   (eval "$lt_compile" 2>conftest.err)
    79117912   ac_status=$?
    79127913   cat conftest.err >&5
    7913    echo "$as_me:7913: \$? = $ac_status" >&5
     7914   echo "$as_me:7914: \$? = $ac_status" >&5
    79147915   if (exit $ac_status) && test -s "$ac_outfile"; then
    79157916     # The compiler can only warn and ignore the option if not recognized
     
    81758176   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81768177   -e 's:$: $lt_compiler_flag:'`
    8177    (eval echo "\"\$as_me:8177: $lt_compile\"" >&5)
     8178   (eval echo "\"\$as_me:8178: $lt_compile\"" >&5)
    81788179   (eval "$lt_compile" 2>conftest.err)
    81798180   ac_status=$?
    81808181   cat conftest.err >&5
    8181    echo "$as_me:8181: \$? = $ac_status" >&5
     8182   echo "$as_me:8182: \$? = $ac_status" >&5
    81828183   if (exit $ac_status) && test -s "$ac_outfile"; then
    81838184     # The compiler can only warn and ignore the option if not recognized
     
    82798280   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82808281   -e 's:$: $lt_compiler_flag:'`
    8281    (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
     8282   (eval echo "\"\$as_me:8282: $lt_compile\"" >&5)
    82828283   (eval "$lt_compile" 2>out/conftest.err)
    82838284   ac_status=$?
    82848285   cat out/conftest.err >&5
    8285    echo "$as_me:8285: \$? = $ac_status" >&5
     8286   echo "$as_me:8286: \$? = $ac_status" >&5
    82868287   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82878288   then
     
    1062410625  lt_status=$lt_dlunknown
    1062510626  cat > conftest.$ac_ext <<EOF
    10626 #line 10626 "configure"
     10627#line 10627 "configure"
    1062710628#include "confdefs.h"
    1062810629
     
    1072410725  lt_status=$lt_dlunknown
    1072510726  cat > conftest.$ac_ext <<EOF
    10726 #line 10726 "configure"
     10727#line 10727 "configure"
    1072710728#include "confdefs.h"
    1072810729
     
    1306813069   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1306913070   -e 's:$: $lt_compiler_flag:'`
    13070    (eval echo "\"\$as_me:13070: $lt_compile\"" >&5)
     13071   (eval echo "\"\$as_me:13071: $lt_compile\"" >&5)
    1307113072   (eval "$lt_compile" 2>conftest.err)
    1307213073   ac_status=$?
    1307313074   cat conftest.err >&5
    13074    echo "$as_me:13074: \$? = $ac_status" >&5
     13075   echo "$as_me:13075: \$? = $ac_status" >&5
    1307513076   if (exit $ac_status) && test -s "$ac_outfile"; then
    1307613077     # The compiler can only warn and ignore the option if not recognized
     
    1317213173   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1317313174   -e 's:$: $lt_compiler_flag:'`
    13174    (eval echo "\"\$as_me:13174: $lt_compile\"" >&5)
     13175   (eval echo "\"\$as_me:13175: $lt_compile\"" >&5)
    1317513176   (eval "$lt_compile" 2>out/conftest.err)
    1317613177   ac_status=$?
    1317713178   cat out/conftest.err >&5
    13178    echo "$as_me:13178: \$? = $ac_status" >&5
     13179   echo "$as_me:13179: \$? = $ac_status" >&5
    1317913180   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1318013181   then
     
    1474214743   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1474314744   -e 's:$: $lt_compiler_flag:'`
    14744    (eval echo "\"\$as_me:14744: $lt_compile\"" >&5)
     14745   (eval echo "\"\$as_me:14745: $lt_compile\"" >&5)
    1474514746   (eval "$lt_compile" 2>conftest.err)
    1474614747   ac_status=$?
    1474714748   cat conftest.err >&5
    14748    echo "$as_me:14748: \$? = $ac_status" >&5
     14749   echo "$as_me:14749: \$? = $ac_status" >&5
    1474914750   if (exit $ac_status) && test -s "$ac_outfile"; then
    1475014751     # The compiler can only warn and ignore the option if not recognized
     
    1484614847   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1484714848   -e 's:$: $lt_compiler_flag:'`
    14848    (eval echo "\"\$as_me:14848: $lt_compile\"" >&5)
     14849   (eval echo "\"\$as_me:14849: $lt_compile\"" >&5)
    1484914850   (eval "$lt_compile" 2>out/conftest.err)
    1485014851   ac_status=$?
    1485114852   cat out/conftest.err >&5
    14852    echo "$as_me:14852: \$? = $ac_status" >&5
     14853   echo "$as_me:14853: \$? = $ac_status" >&5
    1485314854   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1485414855   then
     
    1705317054   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1705417055   -e 's:$: $lt_compiler_flag:'`
    17055    (eval echo "\"\$as_me:17055: $lt_compile\"" >&5)
     17056   (eval echo "\"\$as_me:17056: $lt_compile\"" >&5)
    1705617057   (eval "$lt_compile" 2>conftest.err)
    1705717058   ac_status=$?
    1705817059   cat conftest.err >&5
    17059    echo "$as_me:17059: \$? = $ac_status" >&5
     17060   echo "$as_me:17060: \$? = $ac_status" >&5
    1706017061   if (exit $ac_status) && test -s "$ac_outfile"; then
    1706117062     # The compiler can only warn and ignore the option if not recognized
     
    1732117322   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1732217323   -e 's:$: $lt_compiler_flag:'`
    17323    (eval echo "\"\$as_me:17323: $lt_compile\"" >&5)
     17324   (eval echo "\"\$as_me:17324: $lt_compile\"" >&5)
    1732417325   (eval "$lt_compile" 2>conftest.err)
    1732517326   ac_status=$?
    1732617327   cat conftest.err >&5
    17327    echo "$as_me:17327: \$? = $ac_status" >&5
     17328   echo "$as_me:17328: \$? = $ac_status" >&5
    1732817329   if (exit $ac_status) && test -s "$ac_outfile"; then
    1732917330     # The compiler can only warn and ignore the option if not recognized
     
    1742517426   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1742617427   -e 's:$: $lt_compiler_flag:'`
    17427    (eval echo "\"\$as_me:17427: $lt_compile\"" >&5)
     17428   (eval echo "\"\$as_me:17428: $lt_compile\"" >&5)
    1742817429   (eval "$lt_compile" 2>out/conftest.err)
    1742917430   ac_status=$?
    1743017431   cat out/conftest.err >&5
    17431    echo "$as_me:17431: \$? = $ac_status" >&5
     17432   echo "$as_me:17432: \$? = $ac_status" >&5
    1743217433   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1743317434   then
     
    2031020311LT_LDFLAGS=
    2031120312
     20313# Check if we want to set the library version
     20314echo "$as_me:$LINENO: checking if library version is set" >&5
     20315echo $ECHO_N "checking if library version is set... $ECHO_C" >&6
     20316if test x"$coin_libversion" != x; then
     20317  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     20318  echo "$as_me:$LINENO: result: $coin_libversion" >&5
     20319echo "${ECHO_T}$coin_libversion" >&6
     20320else
     20321  echo "$as_me:$LINENO: result: no" >&5
     20322echo "${ECHO_T}no" >&6
     20323fi
     20324
     20325
    2031220326
    2031320327#END
    2031420328}
    2031520329
    20316 # Check if Lapack is already available on the system or provided by user
    20317 #save_LIBS="$LIBS"
    20318 ac_ext=f
    20319 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    20320 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20321 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    20322 echo "$as_me:$LINENO: checking how to get verbose linking output from $F77" >&5
    20323 echo $ECHO_N "checking how to get verbose linking output from $F77... $ECHO_C" >&6
    20324 if test "${ac_cv_prog_f77_v+set}" = set; then
    20325   echo $ECHO_N "(cached) $ECHO_C" >&6
    20326 else
    20327   cat >conftest.$ac_ext <<_ACEOF
    20328       program main
    20329 
    20330       end
    20331 _ACEOF
    20332 rm -f conftest.$ac_objext
    20333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    20334   (eval $ac_compile) 2>conftest.er1
    20335   ac_status=$?
    20336   grep -v '^ *+' conftest.er1 >conftest.err
    20337   rm -f conftest.er1
    20338   cat conftest.err >&5
    20339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20340   (exit $ac_status); } &&
    20341          { ac_try='test -z "$ac_f77_werror_flag"
    20342                          || test ! -s conftest.err'
    20343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20344   (eval $ac_try) 2>&5
    20345   ac_status=$?
    20346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20347   (exit $ac_status); }; } &&
    20348          { ac_try='test -s conftest.$ac_objext'
    20349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20350   (eval $ac_try) 2>&5
    20351   ac_status=$?
    20352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20353   (exit $ac_status); }; }; then
    20354   ac_cv_prog_f77_v=
    20355 # Try some options frequently used verbose output
    20356 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
    20357   cat >conftest.$ac_ext <<_ACEOF
    20358       program main
    20359 
    20360       end
    20361 _ACEOF
    20362 
    20363 # Compile and link our simple test program by passing a flag (argument
    20364 # 1 to this macro) to the Fortran compiler in order to get
    20365 # "verbose" output that we can then parse for the Fortran linker
    20366 # flags.
    20367 ac_save_FFLAGS=$FFLAGS
    20368 FFLAGS="$FFLAGS $ac_verb"
    20369 (eval echo $as_me:20369: \"$ac_link\") >&5
    20370 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    20371 echo "$ac_f77_v_output" >&5
    20372 FFLAGS=$ac_save_FFLAGS
    20373 
    20374 rm -f conftest*
    20375 
    20376 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
    20377 # /foo, /bar, and /baz are search directories for the Fortran linker.
    20378 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
    20379 ac_f77_v_output="`echo $ac_f77_v_output |
    20380         grep 'LPATH is:' |
    20381         sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
    20382 
    20383 case $ac_f77_v_output in
    20384   # If we are using xlf then replace all the commas with spaces.
    20385   *xlfentry*)
    20386     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
    20387 
    20388   # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
    20389   # $LIBS confuse us, and the libraries appear later in the output anyway).
    20390   *mGLOB_options_string*)
    20391     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
    20392 
    20393   # If we are using Cray Fortran then delete quotes.
    20394   # Use "\"" instead of '"' for font-lock-mode.
    20395   # FIXME: a more general fix for quoted arguments with spaces?
    20396   *cft90*)
    20397     ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;
    20398 esac
    20399 
    20400 
    20401   # look for -l* and *.a constructs in the output
    20402   for ac_arg in $ac_f77_v_output; do
    20403      case $ac_arg in
    20404         [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
    20405           ac_cv_prog_f77_v=$ac_verb
    20406           break 2 ;;
    20407      esac
    20408   done
    20409 done
    20410 if test -z "$ac_cv_prog_f77_v"; then
    20411    { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F77" >&5
    20412 echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
    20413 fi
    20414 else
    20415   echo "$as_me: failed program was:" >&5
    20416 sed 's/^/| /' conftest.$ac_ext >&5
    20417 
    20418 { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
    20419 echo "$as_me: WARNING: compilation failed" >&2;}
    20420 fi
    20421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    20422 
    20423 fi
    20424 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_v" >&5
    20425 echo "${ECHO_T}$ac_cv_prog_f77_v" >&6
    20426 echo "$as_me:$LINENO: checking for Fortran libraries of $F77" >&5
    20427 echo $ECHO_N "checking for Fortran libraries of $F77... $ECHO_C" >&6
    20428 if test "${ac_cv_f77_libs+set}" = set; then
    20429   echo $ECHO_N "(cached) $ECHO_C" >&6
    20430 else
    20431   if test "x$FLIBS" != "x"; then
    20432   ac_cv_f77_libs="$FLIBS" # Let the user override the test.
    20433 else
    20434 
    20435 cat >conftest.$ac_ext <<_ACEOF
    20436       program main
    20437 
    20438       end
    20439 _ACEOF
    20440 
    20441 # Compile and link our simple test program by passing a flag (argument
    20442 # 1 to this macro) to the Fortran compiler in order to get
    20443 # "verbose" output that we can then parse for the Fortran linker
    20444 # flags.
    20445 ac_save_FFLAGS=$FFLAGS
    20446 FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    20447 (eval echo $as_me:20447: \"$ac_link\") >&5
    20448 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    20449 echo "$ac_f77_v_output" >&5
    20450 FFLAGS=$ac_save_FFLAGS
    20451 
    20452 rm -f conftest*
    20453 
    20454 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
    20455 # /foo, /bar, and /baz are search directories for the Fortran linker.
    20456 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
    20457 ac_f77_v_output="`echo $ac_f77_v_output |
    20458         grep 'LPATH is:' |
    20459         sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
    20460 
    20461 case $ac_f77_v_output in
    20462   # If we are using xlf then replace all the commas with spaces.
    20463   *xlfentry*)
    20464     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
    20465 
    20466   # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
    20467   # $LIBS confuse us, and the libraries appear later in the output anyway).
    20468   *mGLOB_options_string*)
    20469     ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
    20470 
    20471   # If we are using Cray Fortran then delete quotes.
    20472   # Use "\"" instead of '"' for font-lock-mode.
    20473   # FIXME: a more general fix for quoted arguments with spaces?
    20474   *cft90*)
    20475     ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;;
    20476 esac
    20477 
    20478 
    20479 
    20480 ac_cv_f77_libs=
    20481 
    20482 # Save positional arguments (if any)
    20483 ac_save_positional="$@"
    20484 
    20485 set X $ac_f77_v_output
    20486 while test $# != 1; do
    20487   shift
    20488   ac_arg=$1
    20489   case $ac_arg in
    20490         [\\/]*.a | ?:[\\/]*.a)
    20491             ac_exists=false
    20492   for ac_i in $ac_cv_f77_libs; do
    20493     if test x"$ac_arg" = x"$ac_i"; then
    20494       ac_exists=true
    20495       break
     20330echo "$as_me:$LINENO: checking for COIN project Blas" >&5
     20331echo $ECHO_N "checking for COIN project Blas... $ECHO_C" >&6
     20332
     20333# First check, if the sub-project is actually available (ToDo: allow
     20334# other locations)
     20335
     20336coin_has_blas=unavailable
     20337if test x"$COIN_SKIP_PROJECTS" != x; then
     20338  for dir in $COIN_SKIP_PROJECTS; do
     20339    if test $dir = Blas; then
     20340      coin_has_blas=skipping
    2049620341    fi
    2049720342  done
    20498 
    20499   if test x"$ac_exists" = xtrue; then
    20500   :
    20501 else
    20502   ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    20503 fi
    20504 
    20505           ;;
    20506         -bI:*)
    20507             ac_exists=false
    20508   for ac_i in $ac_cv_f77_libs; do
    20509     if test x"$ac_arg" = x"$ac_i"; then
    20510       ac_exists=true
    20511       break
    20512     fi
    20513   done
    20514 
    20515   if test x"$ac_exists" = xtrue; then
    20516   :
    20517 else
    20518   if test "$ac_compiler_gnu" = yes; then
    20519   for ac_link_opt in $ac_arg; do
    20520     ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
    20521   done
    20522 else
    20523   ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    20524 fi
    20525 fi
    20526 
    20527           ;;
    20528           # Ignore these flags.
    20529         -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
    20530           ;;
    20531         -lkernel32)
    20532           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    20533           ;;
    20534         -[LRuY])
    20535           # These flags, when seen by themselves, take an argument.
    20536           # We remove the space between option and argument and re-iterate
    20537           # unless we find an empty arg or a new option (starting with -)
    20538           case $2 in
    20539              "" | -*);;
    20540              *)
    20541                 ac_arg="$ac_arg$2"
    20542                 shift; shift
    20543                 set X $ac_arg "$@"
    20544                 ;;
    20545           esac
    20546           ;;
    20547         -YP,*)
    20548           for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
    20549               ac_exists=false
    20550   for ac_i in $ac_cv_f77_libs; do
    20551     if test x"$ac_j" = x"$ac_i"; then
    20552       ac_exists=true
    20553       break
    20554     fi
    20555   done
    20556 
    20557   if test x"$ac_exists" = xtrue; then
    20558   :
    20559 else
    20560   ac_arg="$ac_arg $ac_j"
    20561                                ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
    20562 fi
    20563 
    20564           done
    20565           ;;
    20566         -[lLR]*)
    20567             ac_exists=false
    20568   for ac_i in $ac_cv_f77_libs; do
    20569     if test x"$ac_arg" = x"$ac_i"; then
    20570       ac_exists=true
    20571       break
    20572     fi
    20573   done
    20574 
    20575   if test x"$ac_exists" = xtrue; then
    20576   :
    20577 else
    20578   ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
    20579 fi
    20580 
    20581           ;;
    20582           # Ignore everything else.
    20583   esac
    20584 done
    20585 # restore positional arguments
    20586 set X $ac_save_positional; shift
    20587 
    20588 # We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
    20589 # then we insist that the "run path" must be an absolute path (i.e. it
    20590 # must begin with a "/").
    20591 case `(uname -sr) 2>/dev/null` in
    20592    "SunOS 5"*)
    20593       ac_ld_run_path=`echo $ac_f77_v_output |
    20594                         sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
    20595       test "x$ac_ld_run_path" != x &&
    20596         if test "$ac_compiler_gnu" = yes; then
    20597   for ac_link_opt in $ac_ld_run_path; do
    20598     ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
    20599   done
    20600 else
    20601   ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
    20602 fi
    20603       ;;
    20604 esac
    20605 fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
    20606 
    20607 fi
    20608 echo "$as_me:$LINENO: result: $ac_cv_f77_libs" >&5
    20609 echo "${ECHO_T}$ac_cv_f77_libs" >&6
    20610 FLIBS="$ac_cv_f77_libs"
    20611 
    20612 
    20613 ac_ext=c
    20614 ac_cpp='$CPP $CPPFLAGS'
    20615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    20616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    20618 
    20619 ac_ext=f
    20620 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    20621 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20622 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    20623 
    20624 echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5
    20625 echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6
    20626 if test "${ac_cv_f77_dummy_main+set}" = set; then
    20627   echo $ECHO_N "(cached) $ECHO_C" >&6
    20628 else
    20629   ac_f77_dm_save_LIBS=$LIBS
    20630  LIBS="$LIBS $FLIBS"
    20631  ac_fortran_dm_var=F77_DUMMY_MAIN
    20632  ac_ext=c
    20633 ac_cpp='$CPP $CPPFLAGS'
    20634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    20635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    20637 
    20638  # First, try linking without a dummy main:
    20639  cat >conftest.$ac_ext <<_ACEOF
    20640 /* confdefs.h.  */
    20641 _ACEOF
    20642 cat confdefs.h >>conftest.$ac_ext
    20643 cat >>conftest.$ac_ext <<_ACEOF
    20644 /* end confdefs.h.  */
    20645 
    20646 #ifdef F77_DUMMY_MAIN
    20647 
    20648 #  ifdef __cplusplus
    20649      extern "C"
    20650 #  endif
    20651    int F77_DUMMY_MAIN() { return 1; }
    20652 
    20653 #endif
    20654 int
    20655 main ()
    20656 {
    20657 
    20658   ;
    20659   return 0;
    20660 }
    20661 _ACEOF
    20662 rm -f conftest.$ac_objext conftest$ac_exeext
    20663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20664   (eval $ac_link) 2>conftest.er1
    20665   ac_status=$?
    20666   grep -v '^ *+' conftest.er1 >conftest.err
    20667   rm -f conftest.er1
    20668   cat conftest.err >&5
    20669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20670   (exit $ac_status); } &&
    20671          { ac_try='test -z "$ac_c_werror_flag"
    20672                          || test ! -s conftest.err'
    20673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20674   (eval $ac_try) 2>&5
    20675   ac_status=$?
    20676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20677   (exit $ac_status); }; } &&
    20678          { ac_try='test -s conftest$ac_exeext'
    20679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20680   (eval $ac_try) 2>&5
    20681   ac_status=$?
    20682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20683   (exit $ac_status); }; }; then
    20684   ac_cv_fortran_dummy_main=none
    20685 else
    20686   echo "$as_me: failed program was:" >&5
    20687 sed 's/^/| /' conftest.$ac_ext >&5
    20688 
    20689 ac_cv_fortran_dummy_main=unknown
    20690 fi
    20691 rm -f conftest.err conftest.$ac_objext \
    20692       conftest$ac_exeext conftest.$ac_ext
    20693 
    20694  if test $ac_cv_fortran_dummy_main = unknown; then
    20695    for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
    20696      cat >conftest.$ac_ext <<_ACEOF
    20697 /* confdefs.h.  */
    20698 _ACEOF
    20699 cat confdefs.h >>conftest.$ac_ext
    20700 cat >>conftest.$ac_ext <<_ACEOF
    20701 /* end confdefs.h.  */
    20702 #define $ac_fortran_dm_var $ac_func
    20703 #ifdef F77_DUMMY_MAIN
    20704 
    20705 #  ifdef __cplusplus
    20706      extern "C"
    20707 #  endif
    20708    int F77_DUMMY_MAIN() { return 1; }
    20709 
    20710 #endif
    20711 int
    20712 main ()
    20713 {
    20714 
    20715   ;
    20716   return 0;
    20717 }
    20718 _ACEOF
    20719 rm -f conftest.$ac_objext conftest$ac_exeext
    20720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20721   (eval $ac_link) 2>conftest.er1
    20722   ac_status=$?
    20723   grep -v '^ *+' conftest.er1 >conftest.err
    20724   rm -f conftest.er1
    20725   cat conftest.err >&5
    20726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20727   (exit $ac_status); } &&
    20728          { ac_try='test -z "$ac_c_werror_flag"
    20729                          || test ! -s conftest.err'
    20730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20731   (eval $ac_try) 2>&5
    20732   ac_status=$?
    20733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20734   (exit $ac_status); }; } &&
    20735          { ac_try='test -s conftest$ac_exeext'
    20736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20737   (eval $ac_try) 2>&5
    20738   ac_status=$?
    20739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20740   (exit $ac_status); }; }; then
    20741   ac_cv_fortran_dummy_main=$ac_func; break
    20742 else
    20743   echo "$as_me: failed program was:" >&5
    20744 sed 's/^/| /' conftest.$ac_ext >&5
    20745 
    20746 fi
    20747 rm -f conftest.err conftest.$ac_objext \
    20748       conftest$ac_exeext conftest.$ac_ext
    20749    done
    20750  fi
    20751  ac_ext=f
    20752 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    20753 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20754 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    20755  ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
    20756  rm -f conftest*
    20757  LIBS=$ac_f77_dm_save_LIBS
    20758 
    20759 fi
    20760 echo "$as_me:$LINENO: result: $ac_cv_f77_dummy_main" >&5
    20761 echo "${ECHO_T}$ac_cv_f77_dummy_main" >&6
    20762 F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
    20763 if test "$F77_DUMMY_MAIN" != unknown; then
    20764   if test $F77_DUMMY_MAIN != none; then
    20765 
    20766 cat >>confdefs.h <<_ACEOF
    20767 #define F77_DUMMY_MAIN $F77_DUMMY_MAIN
    20768 _ACEOF
    20769 
    20770   if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
    20771 
    20772 cat >>confdefs.h <<\_ACEOF
    20773 #define FC_DUMMY_MAIN_EQ_F77 1
    20774 _ACEOF
    20775 
    20776   fi
    20777 fi
    20778 else
    20779   { { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails
    20780 See \`config.log' for more details." >&5
    20781 echo "$as_me: error: linking to Fortran libraries from C fails
    20782 See \`config.log' for more details." >&2;}
    20783    { (exit 1); exit 1; }; }
    20784 fi
    20785 
    20786 
    20787 ac_ext=c
    20788 ac_cpp='$CPP $CPPFLAGS'
    20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    20792 
    20793 ac_ext=f
    20794 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    20795 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20796 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    20797 echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5
    20798 echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6
    20799 if test "${ac_cv_f77_mangling+set}" = set; then
    20800   echo $ECHO_N "(cached) $ECHO_C" >&6
    20801 else
    20802   cat >conftest.$ac_ext <<_ACEOF
    20803       subroutine foobar()
    20804       return
    20805       end
    20806       subroutine foo_bar()
    20807       return
    20808       end
    20809 _ACEOF
    20810 rm -f conftest.$ac_objext
    20811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    20812   (eval $ac_compile) 2>conftest.er1
    20813   ac_status=$?
    20814   grep -v '^ *+' conftest.er1 >conftest.err
    20815   rm -f conftest.er1
    20816   cat conftest.err >&5
    20817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20818   (exit $ac_status); } &&
    20819          { ac_try='test -z "$ac_f77_werror_flag"
    20820                          || test ! -s conftest.err'
    20821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20822   (eval $ac_try) 2>&5
    20823   ac_status=$?
    20824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20825   (exit $ac_status); }; } &&
    20826          { ac_try='test -s conftest.$ac_objext'
    20827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20828   (eval $ac_try) 2>&5
    20829   ac_status=$?
    20830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20831   (exit $ac_status); }; }; then
    20832   mv conftest.$ac_objext cfortran_test.$ac_objext
    20833 
    20834   ac_save_LIBS=$LIBS
    20835   LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
    20836 
    20837   ac_ext=c
    20838 ac_cpp='$CPP $CPPFLAGS'
    20839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    20840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    20842   ac_success=no
    20843   for ac_foobar in foobar FOOBAR; do
    20844     for ac_underscore in "" "_"; do
    20845       ac_func="$ac_foobar$ac_underscore"
    20846       cat >conftest.$ac_ext <<_ACEOF
    20847 /* confdefs.h.  */
    20848 _ACEOF
    20849 cat confdefs.h >>conftest.$ac_ext
    20850 cat >>conftest.$ac_ext <<_ACEOF
    20851 /* end confdefs.h.  */
    20852 
    20853 /* Override any gcc2 internal prototype to avoid an error.  */
    20854 #ifdef __cplusplus
    20855 extern "C"
    20856 #endif
    20857 /* We use char because int might match the return type of a gcc2
    20858    builtin and then its argument prototype would still apply.  */
    20859 char $ac_func ();
    20860 #ifdef F77_DUMMY_MAIN
    20861 
    20862 #  ifdef __cplusplus
    20863      extern "C"
    20864 #  endif
    20865    int F77_DUMMY_MAIN() { return 1; }
    20866 
    20867 #endif
    20868 int
    20869 main ()
    20870 {
    20871 $ac_func ();
    20872   ;
    20873   return 0;
    20874 }
    20875 _ACEOF
    20876 rm -f conftest.$ac_objext conftest$ac_exeext
    20877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20878   (eval $ac_link) 2>conftest.er1
    20879   ac_status=$?
    20880   grep -v '^ *+' conftest.er1 >conftest.err
    20881   rm -f conftest.er1
    20882   cat conftest.err >&5
    20883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20884   (exit $ac_status); } &&
    20885          { ac_try='test -z "$ac_c_werror_flag"
    20886                          || test ! -s conftest.err'
    20887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20888   (eval $ac_try) 2>&5
    20889   ac_status=$?
    20890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20891   (exit $ac_status); }; } &&
    20892          { ac_try='test -s conftest$ac_exeext'
    20893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20894   (eval $ac_try) 2>&5
    20895   ac_status=$?
    20896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20897   (exit $ac_status); }; }; then
    20898   ac_success=yes; break 2
    20899 else
    20900   echo "$as_me: failed program was:" >&5
    20901 sed 's/^/| /' conftest.$ac_ext >&5
    20902 
    20903 fi
    20904 rm -f conftest.err conftest.$ac_objext \
    20905       conftest$ac_exeext conftest.$ac_ext
    20906     done
    20907   done
    20908   ac_ext=f
    20909 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    20910 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20911 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    20912 
    20913   if test "$ac_success" = "yes"; then
    20914      case $ac_foobar in
    20915         foobar)
    20916            ac_case=lower
    20917            ac_foo_bar=foo_bar
    20918            ;;
    20919         FOOBAR)
    20920            ac_case=upper
    20921            ac_foo_bar=FOO_BAR
    20922            ;;
    20923      esac
    20924 
    20925      ac_ext=c
    20926 ac_cpp='$CPP $CPPFLAGS'
    20927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    20928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    20930      ac_success_extra=no
    20931      for ac_extra in "" "_"; do
    20932         ac_func="$ac_foo_bar$ac_underscore$ac_extra"
    20933         cat >conftest.$ac_ext <<_ACEOF
    20934 /* confdefs.h.  */
    20935 _ACEOF
    20936 cat confdefs.h >>conftest.$ac_ext
    20937 cat >>conftest.$ac_ext <<_ACEOF
    20938 /* end confdefs.h.  */
    20939 
    20940 /* Override any gcc2 internal prototype to avoid an error.  */
    20941 #ifdef __cplusplus
    20942 extern "C"
    20943 #endif
    20944 /* We use char because int might match the return type of a gcc2
    20945    builtin and then its argument prototype would still apply.  */
    20946 char $ac_func ();
    20947 #ifdef F77_DUMMY_MAIN
    20948 
    20949 #  ifdef __cplusplus
    20950      extern "C"
    20951 #  endif
    20952    int F77_DUMMY_MAIN() { return 1; }
    20953 
    20954 #endif
    20955 int
    20956 main ()
    20957 {
    20958 $ac_func ();
    20959   ;
    20960   return 0;
    20961 }
    20962 _ACEOF
    20963 rm -f conftest.$ac_objext conftest$ac_exeext
    20964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    20965   (eval $ac_link) 2>conftest.er1
    20966   ac_status=$?
    20967   grep -v '^ *+' conftest.er1 >conftest.err
    20968   rm -f conftest.er1
    20969   cat conftest.err >&5
    20970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20971   (exit $ac_status); } &&
    20972          { ac_try='test -z "$ac_c_werror_flag"
    20973                          || test ! -s conftest.err'
    20974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20975   (eval $ac_try) 2>&5
    20976   ac_status=$?
    20977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20978   (exit $ac_status); }; } &&
    20979          { ac_try='test -s conftest$ac_exeext'
    20980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20981   (eval $ac_try) 2>&5
    20982   ac_status=$?
    20983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20984   (exit $ac_status); }; }; then
    20985   ac_success_extra=yes; break
    20986 else
    20987   echo "$as_me: failed program was:" >&5
    20988 sed 's/^/| /' conftest.$ac_ext >&5
    20989 
    20990 fi
    20991 rm -f conftest.err conftest.$ac_objext \
    20992       conftest$ac_exeext conftest.$ac_ext
    20993      done
    20994      ac_ext=f
    20995 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    20996 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    20997 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    20998 
    20999      if test "$ac_success_extra" = "yes"; then
    21000         ac_cv_f77_mangling="$ac_case case"
    21001         if test -z "$ac_underscore"; then
    21002            ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
    21003         else
    21004            ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
    21005         fi
    21006         if test -z "$ac_extra"; then
    21007            ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
    21008         else
    21009            ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
    21010         fi
    21011       else
    21012         ac_cv_f77_mangling="unknown"
    21013       fi
     20343fi
     20344
     20345if test $coin_has_blas != skipping; then
     20346  if test $PACKAGE_TARNAME = blas; then
     20347    coin_has_blas=.
    2101420348  else
    21015      ac_cv_f77_mangling="unknown"
    21016   fi
    21017 
    21018   LIBS=$ac_save_LIBS
    21019   rm -f cfortran_test* conftest*
    21020 else
    21021   echo "$as_me: failed program was:" >&5
    21022 sed 's/^/| /' conftest.$ac_ext >&5
    21023 
    21024 { { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program
    21025 See \`config.log' for more details." >&5
    21026 echo "$as_me: error: cannot compile a simple Fortran program
    21027 See \`config.log' for more details." >&2;}
    21028    { (exit 1); exit 1; }; }
    21029 fi
    21030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    21031 
    21032 fi
    21033 echo "$as_me:$LINENO: result: $ac_cv_f77_mangling" >&5
    21034 echo "${ECHO_T}$ac_cv_f77_mangling" >&6
    21035 
    21036 ac_ext=c
    21037 ac_cpp='$CPP $CPPFLAGS'
    21038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21041 
    21042 if test "$PACKAGE_NAME" = ThirdPartyBlas || test "$PACKAGE_NAME" = ThirdPartyLapack || test "$PACKAGE_NAME" = ThirdPartyMumps; then
    21043   coin_blasobjdir=../Blas
    21044 else
    21045   coin_blasobjdir=../ThirdParty/Blas
    21046 fi
    21047 coin_blassrcdir=$srcdir/$coin_blasobjdir
    21048 
    21049 
    21050 # Check whether --with-blas or --without-blas was given.
    21051 if test "${with_blas+set}" = set; then
    21052   withval="$with_blas"
    21053   use_blas=$withval
    21054 else
    21055   use_blas=
    21056 fi;
    21057 
    21058 MAKEOKFILE=.MakeOk
    21059 # Check if user supplied option makes sense
    21060 if test x"$use_blas" != x; then
    21061   if test "$use_blas" = "BUILD"; then
    21062     # Don't check for course code if this is executed in ThirdParty/Blas
    21063     if test "$PACKAGE_NAME" != ThirdPartyBlas; then
    21064       if test -r $coin_blasobjdir/.MakeOk; then :; else
    21065         { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for Blas, but $coin_blasobjdir directory is not properly configured" >&5
    21066 echo "$as_me: error: option \"BUILD\" specified for Blas, but $coin_blasobjdir directory is not properly configured" >&2;}
    21067    { (exit 1); exit 1; }; }
    21068       fi
    21069     fi
    21070   elif test "$use_blas" != no ; then
    21071     echo "$as_me:$LINENO: checking whether user supplied BLASLIB=\"$use_blas\" works" >&5
    21072 echo $ECHO_N "checking whether user supplied BLASLIB=\"$use_blas\" works... $ECHO_C" >&6
    21073     LIBS="$use_blas $LIBS"
    21074     ADDLIBS="$use_blas $ADDLIBS"
    21075     case $ac_ext in
    21076   f)
    21077     cat >conftest.$ac_ext <<_ACEOF
    21078 /* confdefs.h.  */
    21079 _ACEOF
    21080 cat confdefs.h >>conftest.$ac_ext
    21081 cat >>conftest.$ac_ext <<_ACEOF
    21082 /* end confdefs.h.  */
    21083 
    21084 int
    21085 main ()
    21086 {
    21087       call daxpy
    21088   ;
    21089   return 0;
    21090 }
    21091 _ACEOF
    21092 rm -f conftest.$ac_objext conftest$ac_exeext
    21093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21094   (eval $ac_link) 2>conftest.er1
    21095   ac_status=$?
    21096   grep -v '^ *+' conftest.er1 >conftest.err
    21097   rm -f conftest.er1
    21098   cat conftest.err >&5
    21099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21100   (exit $ac_status); } &&
    21101          { ac_try='test -z "$ac_c_werror_flag"
    21102                          || test ! -s conftest.err'
    21103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21104   (eval $ac_try) 2>&5
    21105   ac_status=$?
    21106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21107   (exit $ac_status); }; } &&
    21108          { ac_try='test -s conftest$ac_exeext'
    21109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21110   (eval $ac_try) 2>&5
    21111   ac_status=$?
    21112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21113   (exit $ac_status); }; }; then
    21114   echo "$as_me:$LINENO: result: yes" >&5
    21115 echo "${ECHO_T}yes" >&6
    21116 else
    21117   echo "$as_me: failed program was:" >&5
    21118 sed 's/^/| /' conftest.$ac_ext >&5
    21119 
    21120 echo "$as_me:$LINENO: result: no" >&5
    21121 echo "${ECHO_T}no" >&6
    21122                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    21123 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    21124    { (exit 1); exit 1; }; }
    21125 fi
    21126 rm -f conftest.err conftest.$ac_objext \
    21127       conftest$ac_exeext conftest.$ac_ext
    21128     ;;
    21129   c)
    21130     ac_ext=f
    21131 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    21132 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21133 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    21134 case $ac_cv_f77_mangling in
    21135   upper*) ac_val="DAXPY" ;;
    21136   lower*) ac_val="daxpy" ;;
    21137   *)      ac_val="unknown" ;;
    21138 esac
    21139 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    21140 
    21141 cfuncdaxpy="$ac_val"
    21142 
    21143 ac_ext=c
    21144 ac_cpp='$CPP $CPPFLAGS'
    21145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21148 
    21149     if test x"$coin_need_flibs" = xyes; then
    21150       flink_try=no;
    21151     else
    21152       cat >conftest.$ac_ext <<_ACEOF
    21153 /* confdefs.h.  */
    21154 _ACEOF
    21155 cat confdefs.h >>conftest.$ac_ext
    21156 cat >>conftest.$ac_ext <<_ACEOF
    21157 /* end confdefs.h.  */
    21158 void $cfuncdaxpy();
    21159 #ifdef F77_DUMMY_MAIN
    21160 
    21161 #  ifdef __cplusplus
    21162      extern "C"
    21163 #  endif
    21164    int F77_DUMMY_MAIN() { return 1; }
    21165 
    21166 #endif
    21167 int
    21168 main ()
    21169 {
    21170 $cfuncdaxpy()
    21171   ;
    21172   return 0;
    21173 }
    21174 _ACEOF
    21175 rm -f conftest.$ac_objext conftest$ac_exeext
    21176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21177   (eval $ac_link) 2>conftest.er1
    21178   ac_status=$?
    21179   grep -v '^ *+' conftest.er1 >conftest.err
    21180   rm -f conftest.er1
    21181   cat conftest.err >&5
    21182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21183   (exit $ac_status); } &&
    21184          { ac_try='test -z "$ac_c_werror_flag"
    21185                          || test ! -s conftest.err'
    21186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21187   (eval $ac_try) 2>&5
    21188   ac_status=$?
    21189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21190   (exit $ac_status); }; } &&
    21191          { ac_try='test -s conftest$ac_exeext'
    21192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21193   (eval $ac_try) 2>&5
    21194   ac_status=$?
    21195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21196   (exit $ac_status); }; }; then
    21197   flink_try=yes
    21198 else
    21199   echo "$as_me: failed program was:" >&5
    21200 sed 's/^/| /' conftest.$ac_ext >&5
    21201 
    21202 flink_try=no
    21203 fi
    21204 rm -f conftest.err conftest.$ac_objext \
    21205       conftest$ac_exeext conftest.$ac_ext
    21206     fi
    21207     if test $flink_try = yes; then
    21208       echo "$as_me:$LINENO: result: yes" >&5
    21209 echo "${ECHO_T}yes" >&6
    21210     else
    21211       if test x"$FLIBS" != x; then
    21212         flink_save_libs="$LIBS"
    21213         LIBS="$LIBS $FLIBS"
    21214         cat >conftest.$ac_ext <<_ACEOF
    21215 /* confdefs.h.  */
    21216 _ACEOF
    21217 cat confdefs.h >>conftest.$ac_ext
    21218 cat >>conftest.$ac_ext <<_ACEOF
    21219 /* end confdefs.h.  */
    21220 void $cfuncdaxpy();
    21221 #ifdef F77_DUMMY_MAIN
    21222 
    21223 #  ifdef __cplusplus
    21224      extern "C"
    21225 #  endif
    21226    int F77_DUMMY_MAIN() { return 1; }
    21227 
    21228 #endif
    21229 int
    21230 main ()
    21231 {
    21232 $cfuncdaxpy()
    21233   ;
    21234   return 0;
    21235 }
    21236 _ACEOF
    21237 rm -f conftest.$ac_objext conftest$ac_exeext
    21238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21239   (eval $ac_link) 2>conftest.er1
    21240   ac_status=$?
    21241   grep -v '^ *+' conftest.er1 >conftest.err
    21242   rm -f conftest.er1
    21243   cat conftest.err >&5
    21244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21245   (exit $ac_status); } &&
    21246          { ac_try='test -z "$ac_c_werror_flag"
    21247                          || test ! -s conftest.err'
    21248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21249   (eval $ac_try) 2>&5
    21250   ac_status=$?
    21251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21252   (exit $ac_status); }; } &&
    21253          { ac_try='test -s conftest$ac_exeext'
    21254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21255   (eval $ac_try) 2>&5
    21256   ac_status=$?
    21257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21258   (exit $ac_status); }; }; then
    21259   LIBS="$flink_save_libs"
    21260                      echo "$as_me:$LINENO: result: yes" >&5
    21261 echo "${ECHO_T}yes" >&6
    21262                      coin_need_flibs=yes
    21263 else
    21264   echo "$as_me: failed program was:" >&5
    21265 sed 's/^/| /' conftest.$ac_ext >&5
    21266 
    21267 LIBS="$flink_save_libs"
    21268                      echo "$as_me:$LINENO: result: no" >&5
    21269 echo "${ECHO_T}no" >&6
    21270                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    21271 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    21272    { (exit 1); exit 1; }; }
    21273 fi
    21274 rm -f conftest.err conftest.$ac_objext \
    21275       conftest$ac_exeext conftest.$ac_ext
    21276       else
    21277         echo "$as_me:$LINENO: result: no" >&5
    21278 echo "${ECHO_T}no" >&6
    21279                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    21280 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    21281    { (exit 1); exit 1; }; }
    21282       fi
    21283     fi
    21284     ;;
    21285   cc|cpp)
    21286     ac_ext=f
    21287 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    21288 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21289 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    21290 case $ac_cv_f77_mangling in
    21291   upper*) ac_val="DAXPY" ;;
    21292   lower*) ac_val="daxpy" ;;
    21293   *)      ac_val="unknown" ;;
    21294 esac
    21295 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    21296 
    21297 cfuncdaxpy="$ac_val"
    21298 
    21299 ac_ext=c
    21300 ac_cpp='$CPP $CPPFLAGS'
    21301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21304 
    21305     if test x"$coin_need_flibs" = xyes; then
    21306       flink_try=no;
    21307     else
    21308       cat >conftest.$ac_ext <<_ACEOF
    21309 /* confdefs.h.  */
    21310 _ACEOF
    21311 cat confdefs.h >>conftest.$ac_ext
    21312 cat >>conftest.$ac_ext <<_ACEOF
    21313 /* end confdefs.h.  */
    21314 extern "C" {void $cfuncdaxpy();}
    21315 #ifdef F77_DUMMY_MAIN
    21316 
    21317 #  ifdef __cplusplus
    21318      extern "C"
    21319 #  endif
    21320    int F77_DUMMY_MAIN() { return 1; }
    21321 
    21322 #endif
    21323 int
    21324 main ()
    21325 {
    21326 $cfuncdaxpy()
    21327   ;
    21328   return 0;
    21329 }
    21330 _ACEOF
    21331 rm -f conftest.$ac_objext conftest$ac_exeext
    21332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21333   (eval $ac_link) 2>conftest.er1
    21334   ac_status=$?
    21335   grep -v '^ *+' conftest.er1 >conftest.err
    21336   rm -f conftest.er1
    21337   cat conftest.err >&5
    21338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21339   (exit $ac_status); } &&
    21340          { ac_try='test -z "$ac_c_werror_flag"
    21341                          || test ! -s conftest.err'
    21342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21343   (eval $ac_try) 2>&5
    21344   ac_status=$?
    21345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21346   (exit $ac_status); }; } &&
    21347          { ac_try='test -s conftest$ac_exeext'
    21348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21349   (eval $ac_try) 2>&5
    21350   ac_status=$?
    21351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21352   (exit $ac_status); }; }; then
    21353   flink_try=yes
    21354 else
    21355   echo "$as_me: failed program was:" >&5
    21356 sed 's/^/| /' conftest.$ac_ext >&5
    21357 
    21358 flink_try=no
    21359 fi
    21360 rm -f conftest.err conftest.$ac_objext \
    21361       conftest$ac_exeext conftest.$ac_ext
    21362     fi
    21363     if test $flink_try = yes; then
    21364       echo "$as_me:$LINENO: result: yes" >&5
    21365 echo "${ECHO_T}yes" >&6
    21366     else
    21367       if test x"$FLIBS" != x; then
    21368         flink_save_libs="$LIBS"
    21369         LIBS="$LIBS $FLIBS"
    21370         cat >conftest.$ac_ext <<_ACEOF
    21371 /* confdefs.h.  */
    21372 _ACEOF
    21373 cat confdefs.h >>conftest.$ac_ext
    21374 cat >>conftest.$ac_ext <<_ACEOF
    21375 /* end confdefs.h.  */
    21376 extern "C" {void $cfuncdaxpy();}
    21377 #ifdef F77_DUMMY_MAIN
    21378 
    21379 #  ifdef __cplusplus
    21380      extern "C"
    21381 #  endif
    21382    int F77_DUMMY_MAIN() { return 1; }
    21383 
    21384 #endif
    21385 int
    21386 main ()
    21387 {
    21388 $cfuncdaxpy()
    21389   ;
    21390   return 0;
    21391 }
    21392 _ACEOF
    21393 rm -f conftest.$ac_objext conftest$ac_exeext
    21394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21395   (eval $ac_link) 2>conftest.er1
    21396   ac_status=$?
    21397   grep -v '^ *+' conftest.er1 >conftest.err
    21398   rm -f conftest.er1
    21399   cat conftest.err >&5
    21400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21401   (exit $ac_status); } &&
    21402          { ac_try='test -z "$ac_c_werror_flag"
    21403                          || test ! -s conftest.err'
    21404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21405   (eval $ac_try) 2>&5
    21406   ac_status=$?
    21407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21408   (exit $ac_status); }; } &&
    21409          { ac_try='test -s conftest$ac_exeext'
    21410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21411   (eval $ac_try) 2>&5
    21412   ac_status=$?
    21413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21414   (exit $ac_status); }; }; then
    21415   LIBS="$flink_save_libs"
    21416                      echo "$as_me:$LINENO: result: yes" >&5
    21417 echo "${ECHO_T}yes" >&6
    21418                      coin_need_flibs=yes
    21419 else
    21420   echo "$as_me: failed program was:" >&5
    21421 sed 's/^/| /' conftest.$ac_ext >&5
    21422 
    21423 LIBS="$flink_save_libs"
    21424                      echo "$as_me:$LINENO: result: no" >&5
    21425 echo "${ECHO_T}no" >&6
    21426                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    21427 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    21428    { (exit 1); exit 1; }; }
    21429 fi
    21430 rm -f conftest.err conftest.$ac_objext \
    21431       conftest$ac_exeext conftest.$ac_ext
    21432       else
    21433         echo "$as_me:$LINENO: result: no" >&5
    21434 echo "${ECHO_T}no" >&6
    21435                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    21436 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    21437    { (exit 1); exit 1; }; }
    21438       fi
    21439     fi
    21440     ;;
    21441 esac
    21442 
    21443   fi
    21444 else
    21445 # Try to autodetect the library for blas based on build system
    21446   #AC_MSG_CHECKING([default locations for BLAS])
    21447   skip_lblas_check=no
    21448   case $build in
    21449     *-sgi-*)
    21450       SAVE_LIBS="$LIBS"
    21451       echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has BLAS" >&5
    21452 echo $ECHO_N "checking whether -lcomplib.sgimath has BLAS... $ECHO_C" >&6
    21453       LIBS="-lcomplib.sgimath $LIBS"
    21454       case $ac_ext in
    21455   f)
    21456     cat >conftest.$ac_ext <<_ACEOF
    21457 /* confdefs.h.  */
    21458 _ACEOF
    21459 cat confdefs.h >>conftest.$ac_ext
    21460 cat >>conftest.$ac_ext <<_ACEOF
    21461 /* end confdefs.h.  */
    21462 
    21463 #ifdef F77_DUMMY_MAIN
    21464 
    21465 #  ifdef __cplusplus
    21466      extern "C"
    21467 #  endif
    21468    int F77_DUMMY_MAIN() { return 1; }
    21469 
    21470 #endif
    21471 int
    21472 main ()
    21473 {
    21474       call daxpy
    21475   ;
    21476   return 0;
    21477 }
    21478 _ACEOF
    21479 rm -f conftest.$ac_objext conftest$ac_exeext
    21480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21481   (eval $ac_link) 2>conftest.er1
    21482   ac_status=$?
    21483   grep -v '^ *+' conftest.er1 >conftest.err
    21484   rm -f conftest.er1
    21485   cat conftest.err >&5
    21486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21487   (exit $ac_status); } &&
    21488          { ac_try='test -z "$ac_c_werror_flag"
    21489                          || test ! -s conftest.err'
    21490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21491   (eval $ac_try) 2>&5
    21492   ac_status=$?
    21493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21494   (exit $ac_status); }; } &&
    21495          { ac_try='test -s conftest$ac_exeext'
    21496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21497   (eval $ac_try) 2>&5
    21498   ac_status=$?
    21499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21500   (exit $ac_status); }; }; then
    21501   echo "$as_me:$LINENO: result: yes" >&5
    21502 echo "${ECHO_T}yes" >&6
    21503                          use_blas=-lcomplib.sgimath;
    21504                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    21505 else
    21506   echo "$as_me: failed program was:" >&5
    21507 sed 's/^/| /' conftest.$ac_ext >&5
    21508 
    21509 echo "$as_me:$LINENO: result: no" >&5
    21510 echo "${ECHO_T}no" >&6
    21511                          SAVE_LIBS="$LIBS"
    21512 fi
    21513 rm -f conftest.err conftest.$ac_objext \
    21514       conftest$ac_exeext conftest.$ac_ext
    21515     ;;
    21516   c)
    21517     ac_ext=f
    21518 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    21519 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21520 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    21521 case $ac_cv_f77_mangling in
    21522   upper*) ac_val="DAXPY" ;;
    21523   lower*) ac_val="daxpy" ;;
    21524   *)      ac_val="unknown" ;;
    21525 esac
    21526 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    21527 
    21528 cfuncdaxpy="$ac_val"
    21529 
    21530 ac_ext=c
    21531 ac_cpp='$CPP $CPPFLAGS'
    21532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21535 
    21536     if test x"$coin_need_flibs" = xyes; then
    21537       flink_try=no;
    21538     else
    21539       cat >conftest.$ac_ext <<_ACEOF
    21540 /* confdefs.h.  */
    21541 _ACEOF
    21542 cat confdefs.h >>conftest.$ac_ext
    21543 cat >>conftest.$ac_ext <<_ACEOF
    21544 /* end confdefs.h.  */
    21545 void $cfuncdaxpy();
    21546 #ifdef F77_DUMMY_MAIN
    21547 
    21548 #  ifdef __cplusplus
    21549      extern "C"
    21550 #  endif
    21551    int F77_DUMMY_MAIN() { return 1; }
    21552 
    21553 #endif
    21554 int
    21555 main ()
    21556 {
    21557 $cfuncdaxpy()
    21558   ;
    21559   return 0;
    21560 }
    21561 _ACEOF
    21562 rm -f conftest.$ac_objext conftest$ac_exeext
    21563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21564   (eval $ac_link) 2>conftest.er1
    21565   ac_status=$?
    21566   grep -v '^ *+' conftest.er1 >conftest.err
    21567   rm -f conftest.er1
    21568   cat conftest.err >&5
    21569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21570   (exit $ac_status); } &&
    21571          { ac_try='test -z "$ac_c_werror_flag"
    21572                          || test ! -s conftest.err'
    21573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21574   (eval $ac_try) 2>&5
    21575   ac_status=$?
    21576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21577   (exit $ac_status); }; } &&
    21578          { ac_try='test -s conftest$ac_exeext'
    21579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21580   (eval $ac_try) 2>&5
    21581   ac_status=$?
    21582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21583   (exit $ac_status); }; }; then
    21584   flink_try=yes
    21585 else
    21586   echo "$as_me: failed program was:" >&5
    21587 sed 's/^/| /' conftest.$ac_ext >&5
    21588 
    21589 flink_try=no
    21590 fi
    21591 rm -f conftest.err conftest.$ac_objext \
    21592       conftest$ac_exeext conftest.$ac_ext
    21593     fi
    21594     if test $flink_try = yes; then
    21595       echo "$as_me:$LINENO: result: yes" >&5
    21596 echo "${ECHO_T}yes" >&6
    21597                          use_blas=-lcomplib.sgimath;
    21598                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    21599     else
    21600       if test x"$FLIBS" != x; then
    21601         flink_save_libs="$LIBS"
    21602         LIBS="$LIBS $FLIBS"
    21603         cat >conftest.$ac_ext <<_ACEOF
    21604 /* confdefs.h.  */
    21605 _ACEOF
    21606 cat confdefs.h >>conftest.$ac_ext
    21607 cat >>conftest.$ac_ext <<_ACEOF
    21608 /* end confdefs.h.  */
    21609 void $cfuncdaxpy();
    21610 #ifdef F77_DUMMY_MAIN
    21611 
    21612 #  ifdef __cplusplus
    21613      extern "C"
    21614 #  endif
    21615    int F77_DUMMY_MAIN() { return 1; }
    21616 
    21617 #endif
    21618 int
    21619 main ()
    21620 {
    21621 $cfuncdaxpy()
    21622   ;
    21623   return 0;
    21624 }
    21625 _ACEOF
    21626 rm -f conftest.$ac_objext conftest$ac_exeext
    21627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21628   (eval $ac_link) 2>conftest.er1
    21629   ac_status=$?
    21630   grep -v '^ *+' conftest.er1 >conftest.err
    21631   rm -f conftest.er1
    21632   cat conftest.err >&5
    21633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21634   (exit $ac_status); } &&
    21635          { ac_try='test -z "$ac_c_werror_flag"
    21636                          || test ! -s conftest.err'
    21637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21638   (eval $ac_try) 2>&5
    21639   ac_status=$?
    21640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21641   (exit $ac_status); }; } &&
    21642          { ac_try='test -s conftest$ac_exeext'
    21643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21644   (eval $ac_try) 2>&5
    21645   ac_status=$?
    21646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21647   (exit $ac_status); }; }; then
    21648   LIBS="$flink_save_libs"
    21649                      echo "$as_me:$LINENO: result: yes" >&5
    21650 echo "${ECHO_T}yes" >&6
    21651                          use_blas=-lcomplib.sgimath;
    21652                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    21653                      coin_need_flibs=yes
    21654 else
    21655   echo "$as_me: failed program was:" >&5
    21656 sed 's/^/| /' conftest.$ac_ext >&5
    21657 
    21658 LIBS="$flink_save_libs"
    21659                      echo "$as_me:$LINENO: result: no" >&5
    21660 echo "${ECHO_T}no" >&6
    21661                          SAVE_LIBS="$LIBS"
    21662 fi
    21663 rm -f conftest.err conftest.$ac_objext \
    21664       conftest$ac_exeext conftest.$ac_ext
    21665       else
    21666         echo "$as_me:$LINENO: result: no" >&5
    21667 echo "${ECHO_T}no" >&6
    21668                          SAVE_LIBS="$LIBS"
    21669       fi
    21670     fi
    21671     ;;
    21672   cc|cpp)
    21673     ac_ext=f
    21674 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    21675 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21676 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    21677 case $ac_cv_f77_mangling in
    21678   upper*) ac_val="DAXPY" ;;
    21679   lower*) ac_val="daxpy" ;;
    21680   *)      ac_val="unknown" ;;
    21681 esac
    21682 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    21683 
    21684 cfuncdaxpy="$ac_val"
    21685 
    21686 ac_ext=c
    21687 ac_cpp='$CPP $CPPFLAGS'
    21688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21691 
    21692     if test x"$coin_need_flibs" = xyes; then
    21693       flink_try=no;
    21694     else
    21695       cat >conftest.$ac_ext <<_ACEOF
    21696 /* confdefs.h.  */
    21697 _ACEOF
    21698 cat confdefs.h >>conftest.$ac_ext
    21699 cat >>conftest.$ac_ext <<_ACEOF
    21700 /* end confdefs.h.  */
    21701 extern "C" {void $cfuncdaxpy();}
    21702 #ifdef F77_DUMMY_MAIN
    21703 
    21704 #  ifdef __cplusplus
    21705      extern "C"
    21706 #  endif
    21707    int F77_DUMMY_MAIN() { return 1; }
    21708 
    21709 #endif
    21710 int
    21711 main ()
    21712 {
    21713 $cfuncdaxpy()
    21714   ;
    21715   return 0;
    21716 }
    21717 _ACEOF
    21718 rm -f conftest.$ac_objext conftest$ac_exeext
    21719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21720   (eval $ac_link) 2>conftest.er1
    21721   ac_status=$?
    21722   grep -v '^ *+' conftest.er1 >conftest.err
    21723   rm -f conftest.er1
    21724   cat conftest.err >&5
    21725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21726   (exit $ac_status); } &&
    21727          { ac_try='test -z "$ac_c_werror_flag"
    21728                          || test ! -s conftest.err'
    21729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21730   (eval $ac_try) 2>&5
    21731   ac_status=$?
    21732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21733   (exit $ac_status); }; } &&
    21734          { ac_try='test -s conftest$ac_exeext'
    21735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21736   (eval $ac_try) 2>&5
    21737   ac_status=$?
    21738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21739   (exit $ac_status); }; }; then
    21740   flink_try=yes
    21741 else
    21742   echo "$as_me: failed program was:" >&5
    21743 sed 's/^/| /' conftest.$ac_ext >&5
    21744 
    21745 flink_try=no
    21746 fi
    21747 rm -f conftest.err conftest.$ac_objext \
    21748       conftest$ac_exeext conftest.$ac_ext
    21749     fi
    21750     if test $flink_try = yes; then
    21751       echo "$as_me:$LINENO: result: yes" >&5
    21752 echo "${ECHO_T}yes" >&6
    21753                          use_blas=-lcomplib.sgimath;
    21754                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    21755     else
    21756       if test x"$FLIBS" != x; then
    21757         flink_save_libs="$LIBS"
    21758         LIBS="$LIBS $FLIBS"
    21759         cat >conftest.$ac_ext <<_ACEOF
    21760 /* confdefs.h.  */
    21761 _ACEOF
    21762 cat confdefs.h >>conftest.$ac_ext
    21763 cat >>conftest.$ac_ext <<_ACEOF
    21764 /* end confdefs.h.  */
    21765 extern "C" {void $cfuncdaxpy();}
    21766 #ifdef F77_DUMMY_MAIN
    21767 
    21768 #  ifdef __cplusplus
    21769      extern "C"
    21770 #  endif
    21771    int F77_DUMMY_MAIN() { return 1; }
    21772 
    21773 #endif
    21774 int
    21775 main ()
    21776 {
    21777 $cfuncdaxpy()
    21778   ;
    21779   return 0;
    21780 }
    21781 _ACEOF
    21782 rm -f conftest.$ac_objext conftest$ac_exeext
    21783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21784   (eval $ac_link) 2>conftest.er1
    21785   ac_status=$?
    21786   grep -v '^ *+' conftest.er1 >conftest.err
    21787   rm -f conftest.er1
    21788   cat conftest.err >&5
    21789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21790   (exit $ac_status); } &&
    21791          { ac_try='test -z "$ac_c_werror_flag"
    21792                          || test ! -s conftest.err'
    21793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21794   (eval $ac_try) 2>&5
    21795   ac_status=$?
    21796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21797   (exit $ac_status); }; } &&
    21798          { ac_try='test -s conftest$ac_exeext'
    21799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21800   (eval $ac_try) 2>&5
    21801   ac_status=$?
    21802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21803   (exit $ac_status); }; }; then
    21804   LIBS="$flink_save_libs"
    21805                      echo "$as_me:$LINENO: result: yes" >&5
    21806 echo "${ECHO_T}yes" >&6
    21807                          use_blas=-lcomplib.sgimath;
    21808                          ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    21809                      coin_need_flibs=yes
    21810 else
    21811   echo "$as_me: failed program was:" >&5
    21812 sed 's/^/| /' conftest.$ac_ext >&5
    21813 
    21814 LIBS="$flink_save_libs"
    21815                      echo "$as_me:$LINENO: result: no" >&5
    21816 echo "${ECHO_T}no" >&6
    21817                          SAVE_LIBS="$LIBS"
    21818 fi
    21819 rm -f conftest.err conftest.$ac_objext \
    21820       conftest$ac_exeext conftest.$ac_ext
    21821       else
    21822         echo "$as_me:$LINENO: result: no" >&5
    21823 echo "${ECHO_T}no" >&6
    21824                          SAVE_LIBS="$LIBS"
    21825       fi
    21826     fi
    21827     ;;
    21828 esac
    21829 
    21830       ;;
    21831 
    21832 # Ideally, we'd use -library=sunperf, but it's an imperfect world. Studio
    21833 # cc doesn't recognise -library, it wants -xlic_lib. Studio 12 CC doesn't
    21834 # recognise -xlic_lib. Libtool doesn't like -xlic_lib anyway. Sun claims
    21835 # that CC and cc will understand -library in Studio 13. The main extra
    21836 # function of -xlic_lib and -library is to arrange for the Fortran run-time
    21837 # libraries to be linked for C++ and C. We can arrange that explicitly.
    21838     *-*-solaris*)
    21839       SAVE_LIBS="$LIBS"
    21840       echo "$as_me:$LINENO: checking for BLAS in libsunperf" >&5
    21841 echo $ECHO_N "checking for BLAS in libsunperf... $ECHO_C" >&6
    21842       LIBS="-lsunperf $FLIBS $LIBS"
    21843       case $ac_ext in
    21844   f)
    21845     cat >conftest.$ac_ext <<_ACEOF
    21846 /* confdefs.h.  */
    21847 _ACEOF
    21848 cat confdefs.h >>conftest.$ac_ext
    21849 cat >>conftest.$ac_ext <<_ACEOF
    21850 /* end confdefs.h.  */
    21851 
    21852 #ifdef F77_DUMMY_MAIN
    21853 
    21854 #  ifdef __cplusplus
    21855      extern "C"
    21856 #  endif
    21857    int F77_DUMMY_MAIN() { return 1; }
    21858 
    21859 #endif
    21860 int
    21861 main ()
    21862 {
    21863       call daxpy
    21864   ;
    21865   return 0;
    21866 }
    21867 _ACEOF
    21868 rm -f conftest.$ac_objext conftest$ac_exeext
    21869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21870   (eval $ac_link) 2>conftest.er1
    21871   ac_status=$?
    21872   grep -v '^ *+' conftest.er1 >conftest.err
    21873   rm -f conftest.er1
    21874   cat conftest.err >&5
    21875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21876   (exit $ac_status); } &&
    21877          { ac_try='test -z "$ac_c_werror_flag"
    21878                          || test ! -s conftest.err'
    21879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21880   (eval $ac_try) 2>&5
    21881   ac_status=$?
    21882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21883   (exit $ac_status); }; } &&
    21884          { ac_try='test -s conftest$ac_exeext'
    21885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21886   (eval $ac_try) 2>&5
    21887   ac_status=$?
    21888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21889   (exit $ac_status); }; }; then
    21890   echo "$as_me:$LINENO: result: yes" >&5
    21891 echo "${ECHO_T}yes" >&6
    21892                          use_blas='-lsunperf'
    21893                          ADDLIBS="-lsunperf $ADDLIBS"
    21894                          coin_need_flibs=yes
    21895 else
    21896   echo "$as_me: failed program was:" >&5
    21897 sed 's/^/| /' conftest.$ac_ext >&5
    21898 
    21899 echo "$as_me:$LINENO: result: no" >&5
    21900 echo "${ECHO_T}no" >&6
    21901                          LIBS="$SAVE_LIBS"
    21902 fi
    21903 rm -f conftest.err conftest.$ac_objext \
    21904       conftest$ac_exeext conftest.$ac_ext
    21905     ;;
    21906   c)
    21907     ac_ext=f
    21908 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    21909 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21910 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    21911 case $ac_cv_f77_mangling in
    21912   upper*) ac_val="DAXPY" ;;
    21913   lower*) ac_val="daxpy" ;;
    21914   *)      ac_val="unknown" ;;
    21915 esac
    21916 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    21917 
    21918 cfuncdaxpy="$ac_val"
    21919 
    21920 ac_ext=c
    21921 ac_cpp='$CPP $CPPFLAGS'
    21922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21925 
    21926     if test x"$coin_need_flibs" = xyes; then
    21927       flink_try=no;
    21928     else
    21929       cat >conftest.$ac_ext <<_ACEOF
    21930 /* confdefs.h.  */
    21931 _ACEOF
    21932 cat confdefs.h >>conftest.$ac_ext
    21933 cat >>conftest.$ac_ext <<_ACEOF
    21934 /* end confdefs.h.  */
    21935 void $cfuncdaxpy();
    21936 #ifdef F77_DUMMY_MAIN
    21937 
    21938 #  ifdef __cplusplus
    21939      extern "C"
    21940 #  endif
    21941    int F77_DUMMY_MAIN() { return 1; }
    21942 
    21943 #endif
    21944 int
    21945 main ()
    21946 {
    21947 $cfuncdaxpy()
    21948   ;
    21949   return 0;
    21950 }
    21951 _ACEOF
    21952 rm -f conftest.$ac_objext conftest$ac_exeext
    21953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21954   (eval $ac_link) 2>conftest.er1
    21955   ac_status=$?
    21956   grep -v '^ *+' conftest.er1 >conftest.err
    21957   rm -f conftest.er1
    21958   cat conftest.err >&5
    21959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21960   (exit $ac_status); } &&
    21961          { ac_try='test -z "$ac_c_werror_flag"
    21962                          || test ! -s conftest.err'
    21963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21964   (eval $ac_try) 2>&5
    21965   ac_status=$?
    21966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21967   (exit $ac_status); }; } &&
    21968          { ac_try='test -s conftest$ac_exeext'
    21969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21970   (eval $ac_try) 2>&5
    21971   ac_status=$?
    21972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21973   (exit $ac_status); }; }; then
    21974   flink_try=yes
    21975 else
    21976   echo "$as_me: failed program was:" >&5
    21977 sed 's/^/| /' conftest.$ac_ext >&5
    21978 
    21979 flink_try=no
    21980 fi
    21981 rm -f conftest.err conftest.$ac_objext \
    21982       conftest$ac_exeext conftest.$ac_ext
    21983     fi
    21984     if test $flink_try = yes; then
    21985       echo "$as_me:$LINENO: result: yes" >&5
    21986 echo "${ECHO_T}yes" >&6
    21987                          use_blas='-lsunperf'
    21988                          ADDLIBS="-lsunperf $ADDLIBS"
    21989                          coin_need_flibs=yes
    21990     else
    21991       if test x"$FLIBS" != x; then
    21992         flink_save_libs="$LIBS"
    21993         LIBS="$LIBS $FLIBS"
    21994         cat >conftest.$ac_ext <<_ACEOF
    21995 /* confdefs.h.  */
    21996 _ACEOF
    21997 cat confdefs.h >>conftest.$ac_ext
    21998 cat >>conftest.$ac_ext <<_ACEOF
    21999 /* end confdefs.h.  */
    22000 void $cfuncdaxpy();
    22001 #ifdef F77_DUMMY_MAIN
    22002 
    22003 #  ifdef __cplusplus
    22004      extern "C"
    22005 #  endif
    22006    int F77_DUMMY_MAIN() { return 1; }
    22007 
    22008 #endif
    22009 int
    22010 main ()
    22011 {
    22012 $cfuncdaxpy()
    22013   ;
    22014   return 0;
    22015 }
    22016 _ACEOF
    22017 rm -f conftest.$ac_objext conftest$ac_exeext
    22018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22019   (eval $ac_link) 2>conftest.er1
    22020   ac_status=$?
    22021   grep -v '^ *+' conftest.er1 >conftest.err
    22022   rm -f conftest.er1
    22023   cat conftest.err >&5
    22024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22025   (exit $ac_status); } &&
    22026          { ac_try='test -z "$ac_c_werror_flag"
    22027                          || test ! -s conftest.err'
    22028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22029   (eval $ac_try) 2>&5
    22030   ac_status=$?
    22031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22032   (exit $ac_status); }; } &&
    22033          { ac_try='test -s conftest$ac_exeext'
    22034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22035   (eval $ac_try) 2>&5
    22036   ac_status=$?
    22037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22038   (exit $ac_status); }; }; then
    22039   LIBS="$flink_save_libs"
    22040                      echo "$as_me:$LINENO: result: yes" >&5
    22041 echo "${ECHO_T}yes" >&6
    22042                          use_blas='-lsunperf'
    22043                          ADDLIBS="-lsunperf $ADDLIBS"
    22044                          coin_need_flibs=yes
    22045                      coin_need_flibs=yes
    22046 else
    22047   echo "$as_me: failed program was:" >&5
    22048 sed 's/^/| /' conftest.$ac_ext >&5
    22049 
    22050 LIBS="$flink_save_libs"
    22051                      echo "$as_me:$LINENO: result: no" >&5
    22052 echo "${ECHO_T}no" >&6
    22053                          LIBS="$SAVE_LIBS"
    22054 fi
    22055 rm -f conftest.err conftest.$ac_objext \
    22056       conftest$ac_exeext conftest.$ac_ext
    22057       else
    22058         echo "$as_me:$LINENO: result: no" >&5
    22059 echo "${ECHO_T}no" >&6
    22060                          LIBS="$SAVE_LIBS"
    22061       fi
    22062     fi
    22063     ;;
    22064   cc|cpp)
    22065     ac_ext=f
    22066 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22067 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22068 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22069 case $ac_cv_f77_mangling in
    22070   upper*) ac_val="DAXPY" ;;
    22071   lower*) ac_val="daxpy" ;;
    22072   *)      ac_val="unknown" ;;
    22073 esac
    22074 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22075 
    22076 cfuncdaxpy="$ac_val"
    22077 
    22078 ac_ext=c
    22079 ac_cpp='$CPP $CPPFLAGS'
    22080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22083 
    22084     if test x"$coin_need_flibs" = xyes; then
    22085       flink_try=no;
    22086     else
    22087       cat >conftest.$ac_ext <<_ACEOF
    22088 /* confdefs.h.  */
    22089 _ACEOF
    22090 cat confdefs.h >>conftest.$ac_ext
    22091 cat >>conftest.$ac_ext <<_ACEOF
    22092 /* end confdefs.h.  */
    22093 extern "C" {void $cfuncdaxpy();}
    22094 #ifdef F77_DUMMY_MAIN
    22095 
    22096 #  ifdef __cplusplus
    22097      extern "C"
    22098 #  endif
    22099    int F77_DUMMY_MAIN() { return 1; }
    22100 
    22101 #endif
    22102 int
    22103 main ()
    22104 {
    22105 $cfuncdaxpy()
    22106   ;
    22107   return 0;
    22108 }
    22109 _ACEOF
    22110 rm -f conftest.$ac_objext conftest$ac_exeext
    22111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22112   (eval $ac_link) 2>conftest.er1
    22113   ac_status=$?
    22114   grep -v '^ *+' conftest.er1 >conftest.err
    22115   rm -f conftest.er1
    22116   cat conftest.err >&5
    22117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22118   (exit $ac_status); } &&
    22119          { ac_try='test -z "$ac_c_werror_flag"
    22120                          || test ! -s conftest.err'
    22121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22122   (eval $ac_try) 2>&5
    22123   ac_status=$?
    22124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22125   (exit $ac_status); }; } &&
    22126          { ac_try='test -s conftest$ac_exeext'
    22127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22128   (eval $ac_try) 2>&5
    22129   ac_status=$?
    22130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22131   (exit $ac_status); }; }; then
    22132   flink_try=yes
    22133 else
    22134   echo "$as_me: failed program was:" >&5
    22135 sed 's/^/| /' conftest.$ac_ext >&5
    22136 
    22137 flink_try=no
    22138 fi
    22139 rm -f conftest.err conftest.$ac_objext \
    22140       conftest$ac_exeext conftest.$ac_ext
    22141     fi
    22142     if test $flink_try = yes; then
    22143       echo "$as_me:$LINENO: result: yes" >&5
    22144 echo "${ECHO_T}yes" >&6
    22145                          use_blas='-lsunperf'
    22146                          ADDLIBS="-lsunperf $ADDLIBS"
    22147                          coin_need_flibs=yes
    22148     else
    22149       if test x"$FLIBS" != x; then
    22150         flink_save_libs="$LIBS"
    22151         LIBS="$LIBS $FLIBS"
    22152         cat >conftest.$ac_ext <<_ACEOF
    22153 /* confdefs.h.  */
    22154 _ACEOF
    22155 cat confdefs.h >>conftest.$ac_ext
    22156 cat >>conftest.$ac_ext <<_ACEOF
    22157 /* end confdefs.h.  */
    22158 extern "C" {void $cfuncdaxpy();}
    22159 #ifdef F77_DUMMY_MAIN
    22160 
    22161 #  ifdef __cplusplus
    22162      extern "C"
    22163 #  endif
    22164    int F77_DUMMY_MAIN() { return 1; }
    22165 
    22166 #endif
    22167 int
    22168 main ()
    22169 {
    22170 $cfuncdaxpy()
    22171   ;
    22172   return 0;
    22173 }
    22174 _ACEOF
    22175 rm -f conftest.$ac_objext conftest$ac_exeext
    22176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22177   (eval $ac_link) 2>conftest.er1
    22178   ac_status=$?
    22179   grep -v '^ *+' conftest.er1 >conftest.err
    22180   rm -f conftest.er1
    22181   cat conftest.err >&5
    22182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22183   (exit $ac_status); } &&
    22184          { ac_try='test -z "$ac_c_werror_flag"
    22185                          || test ! -s conftest.err'
    22186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22187   (eval $ac_try) 2>&5
    22188   ac_status=$?
    22189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22190   (exit $ac_status); }; } &&
    22191          { ac_try='test -s conftest$ac_exeext'
    22192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22193   (eval $ac_try) 2>&5
    22194   ac_status=$?
    22195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22196   (exit $ac_status); }; }; then
    22197   LIBS="$flink_save_libs"
    22198                      echo "$as_me:$LINENO: result: yes" >&5
    22199 echo "${ECHO_T}yes" >&6
    22200                          use_blas='-lsunperf'
    22201                          ADDLIBS="-lsunperf $ADDLIBS"
    22202                          coin_need_flibs=yes
    22203                      coin_need_flibs=yes
    22204 else
    22205   echo "$as_me: failed program was:" >&5
    22206 sed 's/^/| /' conftest.$ac_ext >&5
    22207 
    22208 LIBS="$flink_save_libs"
    22209                      echo "$as_me:$LINENO: result: no" >&5
    22210 echo "${ECHO_T}no" >&6
    22211                          LIBS="$SAVE_LIBS"
    22212 fi
    22213 rm -f conftest.err conftest.$ac_objext \
    22214       conftest$ac_exeext conftest.$ac_ext
    22215       else
    22216         echo "$as_me:$LINENO: result: no" >&5
    22217 echo "${ECHO_T}no" >&6
    22218                          LIBS="$SAVE_LIBS"
    22219       fi
    22220     fi
    22221     ;;
    22222 esac
    22223 
    22224       ;;
    22225     *-cygwin* | *-mingw*)
    22226 # On cygwin, consider -lblas only if doscompile is disabled. The prebuilt
    22227 # library will want to link with cygwin, hence won't run standalone in DOS.
    22228       if test "$enable_doscompile" = mingw; then
    22229         skip_lblas_check=yes
    22230       fi
    22231       case "$CC" in
    22232         cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    22233           SAVE_LIBS="$LIBS"
    22234           echo "$as_me:$LINENO: checking for BLAS in MKL" >&5
    22235 echo $ECHO_N "checking for BLAS in MKL... $ECHO_C" >&6
    22236           LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
    22237           case $ac_ext in
    22238   f)
    22239     cat >conftest.$ac_ext <<_ACEOF
    22240 /* confdefs.h.  */
    22241 _ACEOF
    22242 cat confdefs.h >>conftest.$ac_ext
    22243 cat >>conftest.$ac_ext <<_ACEOF
    22244 /* end confdefs.h.  */
    22245 
    22246 #ifdef F77_DUMMY_MAIN
    22247 
    22248 #  ifdef __cplusplus
    22249      extern "C"
    22250 #  endif
    22251    int F77_DUMMY_MAIN() { return 1; }
    22252 
    22253 #endif
    22254 int
    22255 main ()
    22256 {
    22257       call daxpy
    22258   ;
    22259   return 0;
    22260 }
    22261 _ACEOF
    22262 rm -f conftest.$ac_objext conftest$ac_exeext
    22263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22264   (eval $ac_link) 2>conftest.er1
    22265   ac_status=$?
    22266   grep -v '^ *+' conftest.er1 >conftest.err
    22267   rm -f conftest.er1
    22268   cat conftest.err >&5
    22269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22270   (exit $ac_status); } &&
    22271          { ac_try='test -z "$ac_c_werror_flag"
    22272                          || test ! -s conftest.err'
    22273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22274   (eval $ac_try) 2>&5
    22275   ac_status=$?
    22276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22277   (exit $ac_status); }; } &&
    22278          { ac_try='test -s conftest$ac_exeext'
    22279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22280   (eval $ac_try) 2>&5
    22281   ac_status=$?
    22282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22283   (exit $ac_status); }; }; then
    22284   echo "$as_me:$LINENO: result: yes" >&5
    22285 echo "${ECHO_T}yes" >&6
    22286                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    22287                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    22288 else
    22289   echo "$as_me: failed program was:" >&5
    22290 sed 's/^/| /' conftest.$ac_ext >&5
    22291 
    22292 echo "$as_me:$LINENO: result: no" >&5
    22293 echo "${ECHO_T}no" >&6
    22294                              LIBS="$SAVE_LIBS"
    22295 fi
    22296 rm -f conftest.err conftest.$ac_objext \
    22297       conftest$ac_exeext conftest.$ac_ext
    22298     ;;
    22299   c)
    22300     ac_ext=f
    22301 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22302 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22303 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22304 case $ac_cv_f77_mangling in
    22305   upper*) ac_val="DAXPY" ;;
    22306   lower*) ac_val="daxpy" ;;
    22307   *)      ac_val="unknown" ;;
    22308 esac
    22309 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22310 
    22311 cfuncdaxpy="$ac_val"
    22312 
    22313 ac_ext=c
    22314 ac_cpp='$CPP $CPPFLAGS'
    22315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22318 
    22319     if test x"$coin_need_flibs" = xyes; then
    22320       flink_try=no;
    22321     else
    22322       cat >conftest.$ac_ext <<_ACEOF
    22323 /* confdefs.h.  */
    22324 _ACEOF
    22325 cat confdefs.h >>conftest.$ac_ext
    22326 cat >>conftest.$ac_ext <<_ACEOF
    22327 /* end confdefs.h.  */
    22328 void $cfuncdaxpy();
    22329 #ifdef F77_DUMMY_MAIN
    22330 
    22331 #  ifdef __cplusplus
    22332      extern "C"
    22333 #  endif
    22334    int F77_DUMMY_MAIN() { return 1; }
    22335 
    22336 #endif
    22337 int
    22338 main ()
    22339 {
    22340 $cfuncdaxpy()
    22341   ;
    22342   return 0;
    22343 }
    22344 _ACEOF
    22345 rm -f conftest.$ac_objext conftest$ac_exeext
    22346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22347   (eval $ac_link) 2>conftest.er1
    22348   ac_status=$?
    22349   grep -v '^ *+' conftest.er1 >conftest.err
    22350   rm -f conftest.er1
    22351   cat conftest.err >&5
    22352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22353   (exit $ac_status); } &&
    22354          { ac_try='test -z "$ac_c_werror_flag"
    22355                          || test ! -s conftest.err'
    22356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22357   (eval $ac_try) 2>&5
    22358   ac_status=$?
    22359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22360   (exit $ac_status); }; } &&
    22361          { ac_try='test -s conftest$ac_exeext'
    22362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22363   (eval $ac_try) 2>&5
    22364   ac_status=$?
    22365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22366   (exit $ac_status); }; }; then
    22367   flink_try=yes
    22368 else
    22369   echo "$as_me: failed program was:" >&5
    22370 sed 's/^/| /' conftest.$ac_ext >&5
    22371 
    22372 flink_try=no
    22373 fi
    22374 rm -f conftest.err conftest.$ac_objext \
    22375       conftest$ac_exeext conftest.$ac_ext
    22376     fi
    22377     if test $flink_try = yes; then
    22378       echo "$as_me:$LINENO: result: yes" >&5
    22379 echo "${ECHO_T}yes" >&6
    22380                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    22381                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    22382     else
    22383       if test x"$FLIBS" != x; then
    22384         flink_save_libs="$LIBS"
    22385         LIBS="$LIBS $FLIBS"
    22386         cat >conftest.$ac_ext <<_ACEOF
    22387 /* confdefs.h.  */
    22388 _ACEOF
    22389 cat confdefs.h >>conftest.$ac_ext
    22390 cat >>conftest.$ac_ext <<_ACEOF
    22391 /* end confdefs.h.  */
    22392 void $cfuncdaxpy();
    22393 #ifdef F77_DUMMY_MAIN
    22394 
    22395 #  ifdef __cplusplus
    22396      extern "C"
    22397 #  endif
    22398    int F77_DUMMY_MAIN() { return 1; }
    22399 
    22400 #endif
    22401 int
    22402 main ()
    22403 {
    22404 $cfuncdaxpy()
    22405   ;
    22406   return 0;
    22407 }
    22408 _ACEOF
    22409 rm -f conftest.$ac_objext conftest$ac_exeext
    22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22411   (eval $ac_link) 2>conftest.er1
    22412   ac_status=$?
    22413   grep -v '^ *+' conftest.er1 >conftest.err
    22414   rm -f conftest.er1
    22415   cat conftest.err >&5
    22416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22417   (exit $ac_status); } &&
    22418          { ac_try='test -z "$ac_c_werror_flag"
    22419                          || test ! -s conftest.err'
    22420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22421   (eval $ac_try) 2>&5
    22422   ac_status=$?
    22423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22424   (exit $ac_status); }; } &&
    22425          { ac_try='test -s conftest$ac_exeext'
    22426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22427   (eval $ac_try) 2>&5
    22428   ac_status=$?
    22429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22430   (exit $ac_status); }; }; then
    22431   LIBS="$flink_save_libs"
    22432                      echo "$as_me:$LINENO: result: yes" >&5
    22433 echo "${ECHO_T}yes" >&6
    22434                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    22435                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    22436                      coin_need_flibs=yes
    22437 else
    22438   echo "$as_me: failed program was:" >&5
    22439 sed 's/^/| /' conftest.$ac_ext >&5
    22440 
    22441 LIBS="$flink_save_libs"
    22442                      echo "$as_me:$LINENO: result: no" >&5
    22443 echo "${ECHO_T}no" >&6
    22444                              LIBS="$SAVE_LIBS"
    22445 fi
    22446 rm -f conftest.err conftest.$ac_objext \
    22447       conftest$ac_exeext conftest.$ac_ext
    22448       else
    22449         echo "$as_me:$LINENO: result: no" >&5
    22450 echo "${ECHO_T}no" >&6
    22451                              LIBS="$SAVE_LIBS"
    22452       fi
    22453     fi
    22454     ;;
    22455   cc|cpp)
    22456     ac_ext=f
    22457 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22458 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22459 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22460 case $ac_cv_f77_mangling in
    22461   upper*) ac_val="DAXPY" ;;
    22462   lower*) ac_val="daxpy" ;;
    22463   *)      ac_val="unknown" ;;
    22464 esac
    22465 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22466 
    22467 cfuncdaxpy="$ac_val"
    22468 
    22469 ac_ext=c
    22470 ac_cpp='$CPP $CPPFLAGS'
    22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22474 
    22475     if test x"$coin_need_flibs" = xyes; then
    22476       flink_try=no;
    22477     else
    22478       cat >conftest.$ac_ext <<_ACEOF
    22479 /* confdefs.h.  */
    22480 _ACEOF
    22481 cat confdefs.h >>conftest.$ac_ext
    22482 cat >>conftest.$ac_ext <<_ACEOF
    22483 /* end confdefs.h.  */
    22484 extern "C" {void $cfuncdaxpy();}
    22485 #ifdef F77_DUMMY_MAIN
    22486 
    22487 #  ifdef __cplusplus
    22488      extern "C"
    22489 #  endif
    22490    int F77_DUMMY_MAIN() { return 1; }
    22491 
    22492 #endif
    22493 int
    22494 main ()
    22495 {
    22496 $cfuncdaxpy()
    22497   ;
    22498   return 0;
    22499 }
    22500 _ACEOF
    22501 rm -f conftest.$ac_objext conftest$ac_exeext
    22502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22503   (eval $ac_link) 2>conftest.er1
    22504   ac_status=$?
    22505   grep -v '^ *+' conftest.er1 >conftest.err
    22506   rm -f conftest.er1
    22507   cat conftest.err >&5
    22508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22509   (exit $ac_status); } &&
    22510          { ac_try='test -z "$ac_c_werror_flag"
    22511                          || test ! -s conftest.err'
    22512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22513   (eval $ac_try) 2>&5
    22514   ac_status=$?
    22515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22516   (exit $ac_status); }; } &&
    22517          { ac_try='test -s conftest$ac_exeext'
    22518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22519   (eval $ac_try) 2>&5
    22520   ac_status=$?
    22521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22522   (exit $ac_status); }; }; then
    22523   flink_try=yes
    22524 else
    22525   echo "$as_me: failed program was:" >&5
    22526 sed 's/^/| /' conftest.$ac_ext >&5
    22527 
    22528 flink_try=no
    22529 fi
    22530 rm -f conftest.err conftest.$ac_objext \
    22531       conftest$ac_exeext conftest.$ac_ext
    22532     fi
    22533     if test $flink_try = yes; then
    22534       echo "$as_me:$LINENO: result: yes" >&5
    22535 echo "${ECHO_T}yes" >&6
    22536                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    22537                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    22538     else
    22539       if test x"$FLIBS" != x; then
    22540         flink_save_libs="$LIBS"
    22541         LIBS="$LIBS $FLIBS"
    22542         cat >conftest.$ac_ext <<_ACEOF
    22543 /* confdefs.h.  */
    22544 _ACEOF
    22545 cat confdefs.h >>conftest.$ac_ext
    22546 cat >>conftest.$ac_ext <<_ACEOF
    22547 /* end confdefs.h.  */
    22548 extern "C" {void $cfuncdaxpy();}
    22549 #ifdef F77_DUMMY_MAIN
    22550 
    22551 #  ifdef __cplusplus
    22552      extern "C"
    22553 #  endif
    22554    int F77_DUMMY_MAIN() { return 1; }
    22555 
    22556 #endif
    22557 int
    22558 main ()
    22559 {
    22560 $cfuncdaxpy()
    22561   ;
    22562   return 0;
    22563 }
    22564 _ACEOF
    22565 rm -f conftest.$ac_objext conftest$ac_exeext
    22566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22567   (eval $ac_link) 2>conftest.er1
    22568   ac_status=$?
    22569   grep -v '^ *+' conftest.er1 >conftest.err
    22570   rm -f conftest.er1
    22571   cat conftest.err >&5
    22572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22573   (exit $ac_status); } &&
    22574          { ac_try='test -z "$ac_c_werror_flag"
    22575                          || test ! -s conftest.err'
    22576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22577   (eval $ac_try) 2>&5
    22578   ac_status=$?
    22579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22580   (exit $ac_status); }; } &&
    22581          { ac_try='test -s conftest$ac_exeext'
    22582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22583   (eval $ac_try) 2>&5
    22584   ac_status=$?
    22585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22586   (exit $ac_status); }; }; then
    22587   LIBS="$flink_save_libs"
    22588                      echo "$as_me:$LINENO: result: yes" >&5
    22589 echo "${ECHO_T}yes" >&6
    22590                              use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    22591                              ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS"
    22592                      coin_need_flibs=yes
    22593 else
    22594   echo "$as_me: failed program was:" >&5
    22595 sed 's/^/| /' conftest.$ac_ext >&5
    22596 
    22597 LIBS="$flink_save_libs"
    22598                      echo "$as_me:$LINENO: result: no" >&5
    22599 echo "${ECHO_T}no" >&6
    22600                              LIBS="$SAVE_LIBS"
    22601 fi
    22602 rm -f conftest.err conftest.$ac_objext \
    22603       conftest$ac_exeext conftest.$ac_ext
    22604       else
    22605         echo "$as_me:$LINENO: result: no" >&5
    22606 echo "${ECHO_T}no" >&6
    22607                              LIBS="$SAVE_LIBS"
    22608       fi
    22609     fi
    22610     ;;
    22611 esac
    22612 
    22613           ;;
    22614       esac
    22615       ;;
    22616   esac
    22617 
    22618   if test -z "$use_blas" && test $skip_lblas_check = no; then
    22619     SAVE_LIBS="$LIBS"
    22620     echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
    22621 echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
    22622     LIBS="-lblas $LIBS"
    22623     case $ac_ext in
    22624   f)
    22625     cat >conftest.$ac_ext <<_ACEOF
    22626 /* confdefs.h.  */
    22627 _ACEOF
    22628 cat confdefs.h >>conftest.$ac_ext
    22629 cat >>conftest.$ac_ext <<_ACEOF
    22630 /* end confdefs.h.  */
    22631 
    22632 #ifdef F77_DUMMY_MAIN
    22633 
    22634 #  ifdef __cplusplus
    22635      extern "C"
    22636 #  endif
    22637    int F77_DUMMY_MAIN() { return 1; }
    22638 
    22639 #endif
    22640 int
    22641 main ()
    22642 {
    22643       call daxpy
    22644   ;
    22645   return 0;
    22646 }
    22647 _ACEOF
    22648 rm -f conftest.$ac_objext conftest$ac_exeext
    22649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22650   (eval $ac_link) 2>conftest.er1
    22651   ac_status=$?
    22652   grep -v '^ *+' conftest.er1 >conftest.err
    22653   rm -f conftest.er1
    22654   cat conftest.err >&5
    22655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22656   (exit $ac_status); } &&
    22657          { ac_try='test -z "$ac_c_werror_flag"
    22658                          || test ! -s conftest.err'
    22659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22660   (eval $ac_try) 2>&5
    22661   ac_status=$?
    22662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22663   (exit $ac_status); }; } &&
    22664          { ac_try='test -s conftest$ac_exeext'
    22665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22666   (eval $ac_try) 2>&5
    22667   ac_status=$?
    22668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22669   (exit $ac_status); }; }; then
    22670   echo "$as_me:$LINENO: result: yes" >&5
    22671 echo "${ECHO_T}yes" >&6
    22672                        ADDLIBS="-lblas $ADDLIBS"
    22673                        use_blas='-lblas'
    22674 else
    22675   echo "$as_me: failed program was:" >&5
    22676 sed 's/^/| /' conftest.$ac_ext >&5
    22677 
    22678 echo "$as_me:$LINENO: result: no" >&5
    22679 echo "${ECHO_T}no" >&6
    22680                        LIBS="$SAVE_LIBS"
    22681 fi
    22682 rm -f conftest.err conftest.$ac_objext \
    22683       conftest$ac_exeext conftest.$ac_ext
    22684     ;;
    22685   c)
    22686     ac_ext=f
    22687 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22688 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22689 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22690 case $ac_cv_f77_mangling in
    22691   upper*) ac_val="DAXPY" ;;
    22692   lower*) ac_val="daxpy" ;;
    22693   *)      ac_val="unknown" ;;
    22694 esac
    22695 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22696 
    22697 cfuncdaxpy="$ac_val"
    22698 
    22699 ac_ext=c
    22700 ac_cpp='$CPP $CPPFLAGS'
    22701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22704 
    22705     if test x"$coin_need_flibs" = xyes; then
    22706       flink_try=no;
    22707     else
    22708       cat >conftest.$ac_ext <<_ACEOF
    22709 /* confdefs.h.  */
    22710 _ACEOF
    22711 cat confdefs.h >>conftest.$ac_ext
    22712 cat >>conftest.$ac_ext <<_ACEOF
    22713 /* end confdefs.h.  */
    22714 void $cfuncdaxpy();
    22715 #ifdef F77_DUMMY_MAIN
    22716 
    22717 #  ifdef __cplusplus
    22718      extern "C"
    22719 #  endif
    22720    int F77_DUMMY_MAIN() { return 1; }
    22721 
    22722 #endif
    22723 int
    22724 main ()
    22725 {
    22726 $cfuncdaxpy()
    22727   ;
    22728   return 0;
    22729 }
    22730 _ACEOF
    22731 rm -f conftest.$ac_objext conftest$ac_exeext
    22732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22733   (eval $ac_link) 2>conftest.er1
    22734   ac_status=$?
    22735   grep -v '^ *+' conftest.er1 >conftest.err
    22736   rm -f conftest.er1
    22737   cat conftest.err >&5
    22738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22739   (exit $ac_status); } &&
    22740          { ac_try='test -z "$ac_c_werror_flag"
    22741                          || test ! -s conftest.err'
    22742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22743   (eval $ac_try) 2>&5
    22744   ac_status=$?
    22745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22746   (exit $ac_status); }; } &&
    22747          { ac_try='test -s conftest$ac_exeext'
    22748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22749   (eval $ac_try) 2>&5
    22750   ac_status=$?
    22751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22752   (exit $ac_status); }; }; then
    22753   flink_try=yes
    22754 else
    22755   echo "$as_me: failed program was:" >&5
    22756 sed 's/^/| /' conftest.$ac_ext >&5
    22757 
    22758 flink_try=no
    22759 fi
    22760 rm -f conftest.err conftest.$ac_objext \
    22761       conftest$ac_exeext conftest.$ac_ext
    22762     fi
    22763     if test $flink_try = yes; then
    22764       echo "$as_me:$LINENO: result: yes" >&5
    22765 echo "${ECHO_T}yes" >&6
    22766                        ADDLIBS="-lblas $ADDLIBS"
    22767                        use_blas='-lblas'
    22768     else
    22769       if test x"$FLIBS" != x; then
    22770         flink_save_libs="$LIBS"
    22771         LIBS="$LIBS $FLIBS"
    22772         cat >conftest.$ac_ext <<_ACEOF
    22773 /* confdefs.h.  */
    22774 _ACEOF
    22775 cat confdefs.h >>conftest.$ac_ext
    22776 cat >>conftest.$ac_ext <<_ACEOF
    22777 /* end confdefs.h.  */
    22778 void $cfuncdaxpy();
    22779 #ifdef F77_DUMMY_MAIN
    22780 
    22781 #  ifdef __cplusplus
    22782      extern "C"
    22783 #  endif
    22784    int F77_DUMMY_MAIN() { return 1; }
    22785 
    22786 #endif
    22787 int
    22788 main ()
    22789 {
    22790 $cfuncdaxpy()
    22791   ;
    22792   return 0;
    22793 }
    22794 _ACEOF
    22795 rm -f conftest.$ac_objext conftest$ac_exeext
    22796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22797   (eval $ac_link) 2>conftest.er1
    22798   ac_status=$?
    22799   grep -v '^ *+' conftest.er1 >conftest.err
    22800   rm -f conftest.er1
    22801   cat conftest.err >&5
    22802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22803   (exit $ac_status); } &&
    22804          { ac_try='test -z "$ac_c_werror_flag"
    22805                          || test ! -s conftest.err'
    22806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22807   (eval $ac_try) 2>&5
    22808   ac_status=$?
    22809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22810   (exit $ac_status); }; } &&
    22811          { ac_try='test -s conftest$ac_exeext'
    22812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22813   (eval $ac_try) 2>&5
    22814   ac_status=$?
    22815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22816   (exit $ac_status); }; }; then
    22817   LIBS="$flink_save_libs"
    22818                      echo "$as_me:$LINENO: result: yes" >&5
    22819 echo "${ECHO_T}yes" >&6
    22820                        ADDLIBS="-lblas $ADDLIBS"
    22821                        use_blas='-lblas'
    22822                      coin_need_flibs=yes
    22823 else
    22824   echo "$as_me: failed program was:" >&5
    22825 sed 's/^/| /' conftest.$ac_ext >&5
    22826 
    22827 LIBS="$flink_save_libs"
    22828                      echo "$as_me:$LINENO: result: no" >&5
    22829 echo "${ECHO_T}no" >&6
    22830                        LIBS="$SAVE_LIBS"
    22831 fi
    22832 rm -f conftest.err conftest.$ac_objext \
    22833       conftest$ac_exeext conftest.$ac_ext
    22834       else
    22835         echo "$as_me:$LINENO: result: no" >&5
    22836 echo "${ECHO_T}no" >&6
    22837                        LIBS="$SAVE_LIBS"
    22838       fi
    22839     fi
    22840     ;;
    22841   cc|cpp)
    22842     ac_ext=f
    22843 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22844 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22845 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22846 case $ac_cv_f77_mangling in
    22847   upper*) ac_val="DAXPY" ;;
    22848   lower*) ac_val="daxpy" ;;
    22849   *)      ac_val="unknown" ;;
    22850 esac
    22851 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22852 
    22853 cfuncdaxpy="$ac_val"
    22854 
    22855 ac_ext=c
    22856 ac_cpp='$CPP $CPPFLAGS'
    22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22860 
    22861     if test x"$coin_need_flibs" = xyes; then
    22862       flink_try=no;
    22863     else
    22864       cat >conftest.$ac_ext <<_ACEOF
    22865 /* confdefs.h.  */
    22866 _ACEOF
    22867 cat confdefs.h >>conftest.$ac_ext
    22868 cat >>conftest.$ac_ext <<_ACEOF
    22869 /* end confdefs.h.  */
    22870 extern "C" {void $cfuncdaxpy();}
    22871 #ifdef F77_DUMMY_MAIN
    22872 
    22873 #  ifdef __cplusplus
    22874      extern "C"
    22875 #  endif
    22876    int F77_DUMMY_MAIN() { return 1; }
    22877 
    22878 #endif
    22879 int
    22880 main ()
    22881 {
    22882 $cfuncdaxpy()
    22883   ;
    22884   return 0;
    22885 }
    22886 _ACEOF
    22887 rm -f conftest.$ac_objext conftest$ac_exeext
    22888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22889   (eval $ac_link) 2>conftest.er1
    22890   ac_status=$?
    22891   grep -v '^ *+' conftest.er1 >conftest.err
    22892   rm -f conftest.er1
    22893   cat conftest.err >&5
    22894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22895   (exit $ac_status); } &&
    22896          { ac_try='test -z "$ac_c_werror_flag"
    22897                          || test ! -s conftest.err'
    22898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22899   (eval $ac_try) 2>&5
    22900   ac_status=$?
    22901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22902   (exit $ac_status); }; } &&
    22903          { ac_try='test -s conftest$ac_exeext'
    22904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22905   (eval $ac_try) 2>&5
    22906   ac_status=$?
    22907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22908   (exit $ac_status); }; }; then
    22909   flink_try=yes
    22910 else
    22911   echo "$as_me: failed program was:" >&5
    22912 sed 's/^/| /' conftest.$ac_ext >&5
    22913 
    22914 flink_try=no
    22915 fi
    22916 rm -f conftest.err conftest.$ac_objext \
    22917       conftest$ac_exeext conftest.$ac_ext
    22918     fi
    22919     if test $flink_try = yes; then
    22920       echo "$as_me:$LINENO: result: yes" >&5
    22921 echo "${ECHO_T}yes" >&6
    22922                        ADDLIBS="-lblas $ADDLIBS"
    22923                        use_blas='-lblas'
    22924     else
    22925       if test x"$FLIBS" != x; then
    22926         flink_save_libs="$LIBS"
    22927         LIBS="$LIBS $FLIBS"
    22928         cat >conftest.$ac_ext <<_ACEOF
    22929 /* confdefs.h.  */
    22930 _ACEOF
    22931 cat confdefs.h >>conftest.$ac_ext
    22932 cat >>conftest.$ac_ext <<_ACEOF
    22933 /* end confdefs.h.  */
    22934 extern "C" {void $cfuncdaxpy();}
    22935 #ifdef F77_DUMMY_MAIN
    22936 
    22937 #  ifdef __cplusplus
    22938      extern "C"
    22939 #  endif
    22940    int F77_DUMMY_MAIN() { return 1; }
    22941 
    22942 #endif
    22943 int
    22944 main ()
    22945 {
    22946 $cfuncdaxpy()
    22947   ;
    22948   return 0;
    22949 }
    22950 _ACEOF
    22951 rm -f conftest.$ac_objext conftest$ac_exeext
    22952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22953   (eval $ac_link) 2>conftest.er1
    22954   ac_status=$?
    22955   grep -v '^ *+' conftest.er1 >conftest.err
    22956   rm -f conftest.er1
    22957   cat conftest.err >&5
    22958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22959   (exit $ac_status); } &&
    22960          { ac_try='test -z "$ac_c_werror_flag"
    22961                          || test ! -s conftest.err'
    22962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22963   (eval $ac_try) 2>&5
    22964   ac_status=$?
    22965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22966   (exit $ac_status); }; } &&
    22967          { ac_try='test -s conftest$ac_exeext'
    22968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22969   (eval $ac_try) 2>&5
    22970   ac_status=$?
    22971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22972   (exit $ac_status); }; }; then
    22973   LIBS="$flink_save_libs"
    22974                      echo "$as_me:$LINENO: result: yes" >&5
    22975 echo "${ECHO_T}yes" >&6
    22976                        ADDLIBS="-lblas $ADDLIBS"
    22977                        use_blas='-lblas'
    22978                      coin_need_flibs=yes
    22979 else
    22980   echo "$as_me: failed program was:" >&5
    22981 sed 's/^/| /' conftest.$ac_ext >&5
    22982 
    22983 LIBS="$flink_save_libs"
    22984                      echo "$as_me:$LINENO: result: no" >&5
    22985 echo "${ECHO_T}no" >&6
    22986                        LIBS="$SAVE_LIBS"
    22987 fi
    22988 rm -f conftest.err conftest.$ac_objext \
    22989       conftest$ac_exeext conftest.$ac_ext
    22990       else
    22991         echo "$as_me:$LINENO: result: no" >&5
    22992 echo "${ECHO_T}no" >&6
    22993                        LIBS="$SAVE_LIBS"
    22994       fi
    22995     fi
    22996     ;;
    22997 esac
    22998 
    22999   fi
    23000 
    23001 # If we have no other ideas, consider building BLAS.
    23002   if test -z "$use_blas"; then
    23003     if test "$PACKAGE_NAME" != ThirdPartyBlas; then
    23004       if test -r $coin_blasobjdir/.MakeOk; then
    23005         use_blas=BUILD
    23006       fi
     20349    if test -d $srcdir/../Blas; then
     20350      coin_has_blas=../Blas
    2300720351    fi
    2300820352  fi
    2300920353fi
    2301020354
    23011 if test "$use_blas" = BUILD; then
    23012   coin_need_flibs=yes
    23013 fi
    23014 
    23015 
    23016 
    23017 if test x"$use_blas" != x; then
    23018   COIN_HAS_BLAS_TRUE=
    23019   COIN_HAS_BLAS_FALSE='#'
    23020 else
    23021   COIN_HAS_BLAS_TRUE='#'
    23022   COIN_HAS_BLAS_FALSE=
    23023 fi
    23024 
    23025 
    23026 
    23027 if test "$use_blas" = BUILD; then
    23028   COIN_BUILD_BLAS_TRUE=
    23029   COIN_BUILD_BLAS_FALSE='#'
    23030 else
    23031   COIN_BUILD_BLAS_TRUE='#'
    23032   COIN_BUILD_BLAS_FALSE=
    23033 fi
    23034 
    23035 
    23036 if test x"$use_blas" = x || test "$use_blas" = no; then
    23037   coin_has_blas=no
    23038 else
    23039   coin_has_blas=yes
     20355if test $coin_has_blas != unavailable &&
     20356   test $coin_has_blas != skipping; then
     20357  # Set the #define if the component is available
    2304020358
    2304120359cat >>confdefs.h <<\_ACEOF
     
    2304320361_ACEOF
    2304420362
    23045 fi
    23046 
    23047 #LIBS="$save_LIBS" # we need to make sure that blas libraries are not in LIBS
    23048 
    23049 coin_lapackobjdir=../ThirdParty/Lapack
    23050 coin_lapacksrcdir=$srcdir/$coin_lapackobjdir
    23051 
    23052 
    23053 # Check whether --with-lapack or --without-lapack was given.
    23054 if test "${with_lapack+set}" = set; then
    23055   withval="$with_lapack"
    23056   use_lapack=$withval
    23057 else
    23058   use_lapack=
    23059 fi;
    23060 
    23061 # Check if user supplied option makes sense
    23062 if test x"$use_lapack" != x; then
    23063   if test "$use_lapack" = "BUILD"; then
    23064     # Don't check for course code if this is executed in ThirdParty/Lapack
    23065     if test "$PACKAGE_NAME" != ThirdPartyLapack; then
    23066       if test -r $coin_lapackobjdir/.MakeOk; then :; else
    23067         { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for LAPACK, but $coin_lapackobjdir directory is not configured" >&5
    23068 echo "$as_me: error: option \"BUILD\" specified for LAPACK, but $coin_lapackobjdir directory is not configured" >&2;}
    23069    { (exit 1); exit 1; }; }
    23070       fi
     20363
     20364  # Set the variables for source and object code location
     20365
     20366  BLASSRCDIR=`cd $srcdir/$coin_has_blas; pwd`
     20367
     20368  BLASOBJDIR=`pwd`/$coin_has_blas
     20369
     20370  BLASDOCDIR=$abs_lib_dir/../share/doc/coin/Blas
     20371fi
     20372
     20373  # Define the Makefile conditional
     20374
     20375
     20376if test $coin_has_blas != unavailable &&
     20377                test $coin_has_blas != skipping; then
     20378  COIN_HAS_BLAS_TRUE=
     20379  COIN_HAS_BLAS_FALSE='#'
     20380else
     20381  COIN_HAS_BLAS_TRUE='#'
     20382  COIN_HAS_BLAS_FALSE=
     20383fi
     20384
     20385echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     20386echo "${ECHO_T}$coin_has_blas" >&6
     20387
     20388echo "$as_me:$LINENO: checking for COIN project Lapack" >&5
     20389echo $ECHO_N "checking for COIN project Lapack... $ECHO_C" >&6
     20390
     20391# First check, if the sub-project is actually available (ToDo: allow
     20392# other locations)
     20393
     20394coin_has_lapack=unavailable
     20395if test x"$COIN_SKIP_PROJECTS" != x; then
     20396  for dir in $COIN_SKIP_PROJECTS; do
     20397    if test $dir = Lapack; then
     20398      coin_has_lapack=skipping
    2307120399    fi
    23072   elif test "$use_lapack" != no; then
    23073     echo "$as_me:$LINENO: checking whether user supplied LAPACKLIB=\"$use_lapack\" works" >&5
    23074 echo $ECHO_N "checking whether user supplied LAPACKLIB=\"$use_lapack\" works... $ECHO_C" >&6
    23075     LIBS="$use_lapack $LIBS"
    23076     ADDLIBS="$use_lapack $ADDLIBS"
    23077     case $ac_ext in
    23078   f)
    23079     cat >conftest.$ac_ext <<_ACEOF
    23080 /* confdefs.h.  */
    23081 _ACEOF
    23082 cat confdefs.h >>conftest.$ac_ext
    23083 cat >>conftest.$ac_ext <<_ACEOF
    23084 /* end confdefs.h.  */
    23085 
    23086 #ifdef F77_DUMMY_MAIN
    23087 
    23088 #  ifdef __cplusplus
    23089      extern "C"
    23090 #  endif
    23091    int F77_DUMMY_MAIN() { return 1; }
    23092 
    23093 #endif
    23094 int
    23095 main ()
    23096 {
    23097       call dsyev
    23098   ;
    23099   return 0;
    23100 }
    23101 _ACEOF
    23102 rm -f conftest.$ac_objext conftest$ac_exeext
    23103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23104   (eval $ac_link) 2>conftest.er1
    23105   ac_status=$?
    23106   grep -v '^ *+' conftest.er1 >conftest.err
    23107   rm -f conftest.er1
    23108   cat conftest.err >&5
    23109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23110   (exit $ac_status); } &&
    23111          { ac_try='test -z "$ac_c_werror_flag"
    23112                          || test ! -s conftest.err'
    23113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23114   (eval $ac_try) 2>&5
    23115   ac_status=$?
    23116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23117   (exit $ac_status); }; } &&
    23118          { ac_try='test -s conftest$ac_exeext'
    23119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23120   (eval $ac_try) 2>&5
    23121   ac_status=$?
    23122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23123   (exit $ac_status); }; }; then
    23124   echo "$as_me:$LINENO: result: yes" >&5
    23125 echo "${ECHO_T}yes" >&6
    23126 else
    23127   echo "$as_me: failed program was:" >&5
    23128 sed 's/^/| /' conftest.$ac_ext >&5
    23129 
    23130 echo "$as_me:$LINENO: result: no" >&5
    23131 echo "${ECHO_T}no" >&6
    23132                        { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
    23133 echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
    23134    { (exit 1); exit 1; }; }
    23135 fi
    23136 rm -f conftest.err conftest.$ac_objext \
    23137       conftest$ac_exeext conftest.$ac_ext
    23138     ;;
    23139   c)
    23140     ac_ext=f
    23141 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23142 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23143 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23144 case $ac_cv_f77_mangling in
    23145   upper*) ac_val="DSYEV" ;;
    23146   lower*) ac_val="dsyev" ;;
    23147   *)      ac_val="unknown" ;;
    23148 esac
    23149 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23150 
    23151 cfuncdsyev="$ac_val"
    23152 
    23153 ac_ext=c
    23154 ac_cpp='$CPP $CPPFLAGS'
    23155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23158 
    23159     if test x"$coin_need_flibs" = xyes; then
    23160       flink_try=no;
    23161     else
    23162       cat >conftest.$ac_ext <<_ACEOF
    23163 /* confdefs.h.  */
    23164 _ACEOF
    23165 cat confdefs.h >>conftest.$ac_ext
    23166 cat >>conftest.$ac_ext <<_ACEOF
    23167 /* end confdefs.h.  */
    23168 void $cfuncdsyev();
    23169 #ifdef F77_DUMMY_MAIN
    23170 
    23171 #  ifdef __cplusplus
    23172      extern "C"
    23173 #  endif
    23174    int F77_DUMMY_MAIN() { return 1; }
    23175 
    23176 #endif
    23177 int
    23178 main ()
    23179 {
    23180 $cfuncdsyev()
    23181   ;
    23182   return 0;
    23183 }
    23184 _ACEOF
    23185 rm -f conftest.$ac_objext conftest$ac_exeext
    23186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23187   (eval $ac_link) 2>conftest.er1
    23188   ac_status=$?
    23189   grep -v '^ *+' conftest.er1 >conftest.err
    23190   rm -f conftest.er1
    23191   cat conftest.err >&5
    23192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23193   (exit $ac_status); } &&
    23194          { ac_try='test -z "$ac_c_werror_flag"
    23195                          || test ! -s conftest.err'
    23196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23197   (eval $ac_try) 2>&5
    23198   ac_status=$?
    23199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23200   (exit $ac_status); }; } &&
    23201          { ac_try='test -s conftest$ac_exeext'
    23202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23203   (eval $ac_try) 2>&5
    23204   ac_status=$?
    23205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23206   (exit $ac_status); }; }; then
    23207   flink_try=yes
    23208 else
    23209   echo "$as_me: failed program was:" >&5
    23210 sed 's/^/| /' conftest.$ac_ext >&5
    23211 
    23212 flink_try=no
    23213 fi
    23214 rm -f conftest.err conftest.$ac_objext \
    23215       conftest$ac_exeext conftest.$ac_ext
    23216     fi
    23217     if test $flink_try = yes; then
    23218       echo "$as_me:$LINENO: result: yes" >&5
    23219 echo "${ECHO_T}yes" >&6
    23220     else
    23221       if test x"$FLIBS" != x; then
    23222         flink_save_libs="$LIBS"
    23223         LIBS="$LIBS $FLIBS"
    23224         cat >conftest.$ac_ext <<_ACEOF
    23225 /* confdefs.h.  */
    23226 _ACEOF
    23227 cat confdefs.h >>conftest.$ac_ext
    23228 cat >>conftest.$ac_ext <<_ACEOF
    23229 /* end confdefs.h.  */
    23230 void $cfuncdsyev();
    23231 #ifdef F77_DUMMY_MAIN
    23232 
    23233 #  ifdef __cplusplus
    23234      extern "C"
    23235 #  endif
    23236    int F77_DUMMY_MAIN() { return 1; }
    23237 
    23238 #endif
    23239 int
    23240 main ()
    23241 {
    23242 $cfuncdsyev()
    23243   ;
    23244   return 0;
    23245 }
    23246 _ACEOF
    23247 rm -f conftest.$ac_objext conftest$ac_exeext
    23248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23249   (eval $ac_link) 2>conftest.er1
    23250   ac_status=$?
    23251   grep -v '^ *+' conftest.er1 >conftest.err
    23252   rm -f conftest.er1
    23253   cat conftest.err >&5
    23254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23255   (exit $ac_status); } &&
    23256          { ac_try='test -z "$ac_c_werror_flag"
    23257                          || test ! -s conftest.err'
    23258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23259   (eval $ac_try) 2>&5
    23260   ac_status=$?
    23261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23262   (exit $ac_status); }; } &&
    23263          { ac_try='test -s conftest$ac_exeext'
    23264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23265   (eval $ac_try) 2>&5
    23266   ac_status=$?
    23267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23268   (exit $ac_status); }; }; then
    23269   LIBS="$flink_save_libs"
    23270                      echo "$as_me:$LINENO: result: yes" >&5
    23271 echo "${ECHO_T}yes" >&6
    23272                      coin_need_flibs=yes
    23273 else
    23274   echo "$as_me: failed program was:" >&5
    23275 sed 's/^/| /' conftest.$ac_ext >&5
    23276 
    23277 LIBS="$flink_save_libs"
    23278                      echo "$as_me:$LINENO: result: no" >&5
    23279 echo "${ECHO_T}no" >&6
    23280                        { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
    23281 echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
    23282    { (exit 1); exit 1; }; }
    23283 fi
    23284 rm -f conftest.err conftest.$ac_objext \
    23285       conftest$ac_exeext conftest.$ac_ext
    23286       else
    23287         echo "$as_me:$LINENO: result: no" >&5
    23288 echo "${ECHO_T}no" >&6
    23289                        { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
    23290 echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
    23291    { (exit 1); exit 1; }; }
    23292       fi
    23293     fi
    23294     ;;
    23295   cc|cpp)
    23296     ac_ext=f
    23297 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23298 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23299 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23300 case $ac_cv_f77_mangling in
    23301   upper*) ac_val="DSYEV" ;;
    23302   lower*) ac_val="dsyev" ;;
    23303   *)      ac_val="unknown" ;;
    23304 esac
    23305 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23306 
    23307 cfuncdsyev="$ac_val"
    23308 
    23309 ac_ext=c
    23310 ac_cpp='$CPP $CPPFLAGS'
    23311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23314 
    23315     if test x"$coin_need_flibs" = xyes; then
    23316       flink_try=no;
    23317     else
    23318       cat >conftest.$ac_ext <<_ACEOF
    23319 /* confdefs.h.  */
    23320 _ACEOF
    23321 cat confdefs.h >>conftest.$ac_ext
    23322 cat >>conftest.$ac_ext <<_ACEOF
    23323 /* end confdefs.h.  */
    23324 extern "C" {void $cfuncdsyev();}
    23325 #ifdef F77_DUMMY_MAIN
    23326 
    23327 #  ifdef __cplusplus
    23328      extern "C"
    23329 #  endif
    23330    int F77_DUMMY_MAIN() { return 1; }
    23331 
    23332 #endif
    23333 int
    23334 main ()
    23335 {
    23336 $cfuncdsyev()
    23337   ;
    23338   return 0;
    23339 }
    23340 _ACEOF
    23341 rm -f conftest.$ac_objext conftest$ac_exeext
    23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23343   (eval $ac_link) 2>conftest.er1
    23344   ac_status=$?
    23345   grep -v '^ *+' conftest.er1 >conftest.err
    23346   rm -f conftest.er1
    23347   cat conftest.err >&5
    23348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23349   (exit $ac_status); } &&
    23350          { ac_try='test -z "$ac_c_werror_flag"
    23351                          || test ! -s conftest.err'
    23352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23353   (eval $ac_try) 2>&5
    23354   ac_status=$?
    23355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23356   (exit $ac_status); }; } &&
    23357          { ac_try='test -s conftest$ac_exeext'
    23358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23359   (eval $ac_try) 2>&5
    23360   ac_status=$?
    23361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23362   (exit $ac_status); }; }; then
    23363   flink_try=yes
    23364 else
    23365   echo "$as_me: failed program was:" >&5
    23366 sed 's/^/| /' conftest.$ac_ext >&5
    23367 
    23368 flink_try=no
    23369 fi
    23370 rm -f conftest.err conftest.$ac_objext \
    23371       conftest$ac_exeext conftest.$ac_ext
    23372     fi
    23373     if test $flink_try = yes; then
    23374       echo "$as_me:$LINENO: result: yes" >&5
    23375 echo "${ECHO_T}yes" >&6
    23376     else
    23377       if test x"$FLIBS" != x; then
    23378         flink_save_libs="$LIBS"
    23379         LIBS="$LIBS $FLIBS"
    23380         cat >conftest.$ac_ext <<_ACEOF
    23381 /* confdefs.h.  */
    23382 _ACEOF
    23383 cat confdefs.h >>conftest.$ac_ext
    23384 cat >>conftest.$ac_ext <<_ACEOF
    23385 /* end confdefs.h.  */
    23386 extern "C" {void $cfuncdsyev();}
    23387 #ifdef F77_DUMMY_MAIN
    23388 
    23389 #  ifdef __cplusplus
    23390      extern "C"
    23391 #  endif
    23392    int F77_DUMMY_MAIN() { return 1; }
    23393 
    23394 #endif
    23395 int
    23396 main ()
    23397 {
    23398 $cfuncdsyev()
    23399   ;
    23400   return 0;
    23401 }
    23402 _ACEOF
    23403 rm -f conftest.$ac_objext conftest$ac_exeext
    23404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23405   (eval $ac_link) 2>conftest.er1
    23406   ac_status=$?
    23407   grep -v '^ *+' conftest.er1 >conftest.err
    23408   rm -f conftest.er1
    23409   cat conftest.err >&5
    23410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23411   (exit $ac_status); } &&
    23412          { ac_try='test -z "$ac_c_werror_flag"
    23413                          || test ! -s conftest.err'
    23414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23415   (eval $ac_try) 2>&5
    23416   ac_status=$?
    23417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23418   (exit $ac_status); }; } &&
    23419          { ac_try='test -s conftest$ac_exeext'
    23420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23421   (eval $ac_try) 2>&5
    23422   ac_status=$?
    23423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23424   (exit $ac_status); }; }; then
    23425   LIBS="$flink_save_libs"
    23426                      echo "$as_me:$LINENO: result: yes" >&5
    23427 echo "${ECHO_T}yes" >&6
    23428                      coin_need_flibs=yes
    23429 else
    23430   echo "$as_me: failed program was:" >&5
    23431 sed 's/^/| /' conftest.$ac_ext >&5
    23432 
    23433 LIBS="$flink_save_libs"
    23434                      echo "$as_me:$LINENO: result: no" >&5
    23435 echo "${ECHO_T}no" >&6
    23436                        { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
    23437 echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
    23438    { (exit 1); exit 1; }; }
    23439 fi
    23440 rm -f conftest.err conftest.$ac_objext \
    23441       conftest$ac_exeext conftest.$ac_ext
    23442       else
    23443         echo "$as_me:$LINENO: result: no" >&5
    23444 echo "${ECHO_T}no" >&6
    23445                        { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
    23446 echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
    23447    { (exit 1); exit 1; }; }
    23448       fi
    23449     fi
    23450     ;;
    23451 esac
    23452 
    23453   fi
    23454 else
    23455   if test x$coin_has_blas = xyes; then
    23456     # First try to see if LAPACK is already available with BLAS library
    23457     echo "$as_me:$LINENO: checking whether LAPACK is already available with BLAS library" >&5
    23458 echo $ECHO_N "checking whether LAPACK is already available with BLAS library... $ECHO_C" >&6
    23459     case $ac_ext in
    23460   f)
    23461     cat >conftest.$ac_ext <<_ACEOF
    23462 /* confdefs.h.  */
    23463 _ACEOF
    23464 cat confdefs.h >>conftest.$ac_ext
    23465 cat >>conftest.$ac_ext <<_ACEOF
    23466 /* end confdefs.h.  */
    23467 
    23468 #ifdef F77_DUMMY_MAIN
    23469 
    23470 #  ifdef __cplusplus
    23471      extern "C"
    23472 #  endif
    23473    int F77_DUMMY_MAIN() { return 1; }
    23474 
    23475 #endif
    23476 int
    23477 main ()
    23478 {
    23479       call dsyev
    23480   ;
    23481   return 0;
    23482 }
    23483 _ACEOF
    23484 rm -f conftest.$ac_objext conftest$ac_exeext
    23485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23486   (eval $ac_link) 2>conftest.er1
    23487   ac_status=$?
    23488   grep -v '^ *+' conftest.er1 >conftest.err
    23489   rm -f conftest.er1
    23490   cat conftest.err >&5
    23491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23492   (exit $ac_status); } &&
    23493          { ac_try='test -z "$ac_c_werror_flag"
    23494                          || test ! -s conftest.err'
    23495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23496   (eval $ac_try) 2>&5
    23497   ac_status=$?
    23498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23499   (exit $ac_status); }; } &&
    23500          { ac_try='test -s conftest$ac_exeext'
    23501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23502   (eval $ac_try) 2>&5
    23503   ac_status=$?
    23504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23505   (exit $ac_status); }; }; then
    23506   echo "$as_me:$LINENO: result: yes" >&5
    23507 echo "${ECHO_T}yes" >&6; use_lapack=ok
    23508 else
    23509   echo "$as_me: failed program was:" >&5
    23510 sed 's/^/| /' conftest.$ac_ext >&5
    23511 
    23512 echo "$as_me:$LINENO: result: no" >&5
    23513 echo "${ECHO_T}no" >&6
    23514 fi
    23515 rm -f conftest.err conftest.$ac_objext \
    23516       conftest$ac_exeext conftest.$ac_ext
    23517     ;;
    23518   c)
    23519     ac_ext=f
    23520 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23521 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23522 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23523 case $ac_cv_f77_mangling in
    23524   upper*) ac_val="DSYEV" ;;
    23525   lower*) ac_val="dsyev" ;;
    23526   *)      ac_val="unknown" ;;
    23527 esac
    23528 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23529 
    23530 cfuncdsyev="$ac_val"
    23531 
    23532 ac_ext=c
    23533 ac_cpp='$CPP $CPPFLAGS'
    23534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23537 
    23538     if test x"$coin_need_flibs" = xyes; then
    23539       flink_try=no;
    23540     else
    23541       cat >conftest.$ac_ext <<_ACEOF
    23542 /* confdefs.h.  */
    23543 _ACEOF
    23544 cat confdefs.h >>conftest.$ac_ext
    23545 cat >>conftest.$ac_ext <<_ACEOF
    23546 /* end confdefs.h.  */
    23547 void $cfuncdsyev();
    23548 #ifdef F77_DUMMY_MAIN
    23549 
    23550 #  ifdef __cplusplus
    23551      extern "C"
    23552 #  endif
    23553    int F77_DUMMY_MAIN() { return 1; }
    23554 
    23555 #endif
    23556 int
    23557 main ()
    23558 {
    23559 $cfuncdsyev()
    23560   ;
    23561   return 0;
    23562 }
    23563 _ACEOF
    23564 rm -f conftest.$ac_objext conftest$ac_exeext
    23565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23566   (eval $ac_link) 2>conftest.er1
    23567   ac_status=$?
    23568   grep -v '^ *+' conftest.er1 >conftest.err
    23569   rm -f conftest.er1
    23570   cat conftest.err >&5
    23571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23572   (exit $ac_status); } &&
    23573          { ac_try='test -z "$ac_c_werror_flag"
    23574                          || test ! -s conftest.err'
    23575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23576   (eval $ac_try) 2>&5
    23577   ac_status=$?
    23578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23579   (exit $ac_status); }; } &&
    23580          { ac_try='test -s conftest$ac_exeext'
    23581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23582   (eval $ac_try) 2>&5
    23583   ac_status=$?
    23584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23585   (exit $ac_status); }; }; then
    23586   flink_try=yes
    23587 else
    23588   echo "$as_me: failed program was:" >&5
    23589 sed 's/^/| /' conftest.$ac_ext >&5
    23590 
    23591 flink_try=no
    23592 fi
    23593 rm -f conftest.err conftest.$ac_objext \
    23594       conftest$ac_exeext conftest.$ac_ext
    23595     fi
    23596     if test $flink_try = yes; then
    23597       echo "$as_me:$LINENO: result: yes" >&5
    23598 echo "${ECHO_T}yes" >&6; use_lapack=ok
    23599     else
    23600       if test x"$FLIBS" != x; then
    23601         flink_save_libs="$LIBS"
    23602         LIBS="$LIBS $FLIBS"
    23603         cat >conftest.$ac_ext <<_ACEOF
    23604 /* confdefs.h.  */
    23605 _ACEOF
    23606 cat confdefs.h >>conftest.$ac_ext
    23607 cat >>conftest.$ac_ext <<_ACEOF
    23608 /* end confdefs.h.  */
    23609 void $cfuncdsyev();
    23610 #ifdef F77_DUMMY_MAIN
    23611 
    23612 #  ifdef __cplusplus
    23613      extern "C"
    23614 #  endif
    23615    int F77_DUMMY_MAIN() { return 1; }
    23616 
    23617 #endif
    23618 int
    23619 main ()
    23620 {
    23621 $cfuncdsyev()
    23622   ;
    23623   return 0;
    23624 }
    23625 _ACEOF
    23626 rm -f conftest.$ac_objext conftest$ac_exeext
    23627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23628   (eval $ac_link) 2>conftest.er1
    23629   ac_status=$?
    23630   grep -v '^ *+' conftest.er1 >conftest.err
    23631   rm -f conftest.er1
    23632   cat conftest.err >&5
    23633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23634   (exit $ac_status); } &&
    23635          { ac_try='test -z "$ac_c_werror_flag"
    23636                          || test ! -s conftest.err'
    23637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23638   (eval $ac_try) 2>&5
    23639   ac_status=$?
    23640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23641   (exit $ac_status); }; } &&
    23642          { ac_try='test -s conftest$ac_exeext'
    23643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23644   (eval $ac_try) 2>&5
    23645   ac_status=$?
    23646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23647   (exit $ac_status); }; }; then
    23648   LIBS="$flink_save_libs"
    23649                      echo "$as_me:$LINENO: result: yes" >&5
    23650 echo "${ECHO_T}yes" >&6; use_lapack=ok
    23651                      coin_need_flibs=yes
    23652 else
    23653   echo "$as_me: failed program was:" >&5
    23654 sed 's/^/| /' conftest.$ac_ext >&5
    23655 
    23656 LIBS="$flink_save_libs"
    23657                      echo "$as_me:$LINENO: result: no" >&5
    23658 echo "${ECHO_T}no" >&6
    23659 fi
    23660 rm -f conftest.err conftest.$ac_objext \
    23661       conftest$ac_exeext conftest.$ac_ext
    23662       else
    23663         echo "$as_me:$LINENO: result: no" >&5
    23664 echo "${ECHO_T}no" >&6
    23665       fi
    23666     fi
    23667     ;;
    23668   cc|cpp)
    23669     ac_ext=f
    23670 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23671 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23672 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23673 case $ac_cv_f77_mangling in
    23674   upper*) ac_val="DSYEV" ;;
    23675   lower*) ac_val="dsyev" ;;
    23676   *)      ac_val="unknown" ;;
    23677 esac
    23678 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23679 
    23680 cfuncdsyev="$ac_val"
    23681 
    23682 ac_ext=c
    23683 ac_cpp='$CPP $CPPFLAGS'
    23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23687 
    23688     if test x"$coin_need_flibs" = xyes; then
    23689       flink_try=no;
    23690     else
    23691       cat >conftest.$ac_ext <<_ACEOF
    23692 /* confdefs.h.  */
    23693 _ACEOF
    23694 cat confdefs.h >>conftest.$ac_ext
    23695 cat >>conftest.$ac_ext <<_ACEOF
    23696 /* end confdefs.h.  */
    23697 extern "C" {void $cfuncdsyev();}
    23698 #ifdef F77_DUMMY_MAIN
    23699 
    23700 #  ifdef __cplusplus
    23701      extern "C"
    23702 #  endif
    23703    int F77_DUMMY_MAIN() { return 1; }
    23704 
    23705 #endif
    23706 int
    23707 main ()
    23708 {
    23709 $cfuncdsyev()
    23710   ;
    23711   return 0;
    23712 }
    23713 _ACEOF
    23714 rm -f conftest.$ac_objext conftest$ac_exeext
    23715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23716   (eval $ac_link) 2>conftest.er1
    23717   ac_status=$?
    23718   grep -v '^ *+' conftest.er1 >conftest.err
    23719   rm -f conftest.er1
    23720   cat conftest.err >&5
    23721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23722   (exit $ac_status); } &&
    23723          { ac_try='test -z "$ac_c_werror_flag"
    23724                          || test ! -s conftest.err'
    23725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23726   (eval $ac_try) 2>&5
    23727   ac_status=$?
    23728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23729   (exit $ac_status); }; } &&
    23730          { ac_try='test -s conftest$ac_exeext'
    23731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23732   (eval $ac_try) 2>&5
    23733   ac_status=$?
    23734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23735   (exit $ac_status); }; }; then
    23736   flink_try=yes
    23737 else
    23738   echo "$as_me: failed program was:" >&5
    23739 sed 's/^/| /' conftest.$ac_ext >&5
    23740 
    23741 flink_try=no
    23742 fi
    23743 rm -f conftest.err conftest.$ac_objext \
    23744       conftest$ac_exeext conftest.$ac_ext
    23745     fi
    23746     if test $flink_try = yes; then
    23747       echo "$as_me:$LINENO: result: yes" >&5
    23748 echo "${ECHO_T}yes" >&6; use_lapack=ok
    23749     else
    23750       if test x"$FLIBS" != x; then
    23751         flink_save_libs="$LIBS"
    23752         LIBS="$LIBS $FLIBS"
    23753         cat >conftest.$ac_ext <<_ACEOF
    23754 /* confdefs.h.  */
    23755 _ACEOF
    23756 cat confdefs.h >>conftest.$ac_ext
    23757 cat >>conftest.$ac_ext <<_ACEOF
    23758 /* end confdefs.h.  */
    23759 extern "C" {void $cfuncdsyev();}
    23760 #ifdef F77_DUMMY_MAIN
    23761 
    23762 #  ifdef __cplusplus
    23763      extern "C"
    23764 #  endif
    23765    int F77_DUMMY_MAIN() { return 1; }
    23766 
    23767 #endif
    23768 int
    23769 main ()
    23770 {
    23771 $cfuncdsyev()
    23772   ;
    23773   return 0;
    23774 }
    23775 _ACEOF
    23776 rm -f conftest.$ac_objext conftest$ac_exeext
    23777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23778   (eval $ac_link) 2>conftest.er1
    23779   ac_status=$?
    23780   grep -v '^ *+' conftest.er1 >conftest.err
    23781   rm -f conftest.er1
    23782   cat conftest.err >&5
    23783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23784   (exit $ac_status); } &&
    23785          { ac_try='test -z "$ac_c_werror_flag"
    23786                          || test ! -s conftest.err'
    23787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23788   (eval $ac_try) 2>&5
    23789   ac_status=$?
    23790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23791   (exit $ac_status); }; } &&
    23792          { ac_try='test -s conftest$ac_exeext'
    23793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23794   (eval $ac_try) 2>&5
    23795   ac_status=$?
    23796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23797   (exit $ac_status); }; }; then
    23798   LIBS="$flink_save_libs"
    23799                      echo "$as_me:$LINENO: result: yes" >&5
    23800 echo "${ECHO_T}yes" >&6; use_lapack=ok
    23801                      coin_need_flibs=yes
    23802 else
    23803   echo "$as_me: failed program was:" >&5
    23804 sed 's/^/| /' conftest.$ac_ext >&5
    23805 
    23806 LIBS="$flink_save_libs"
    23807                      echo "$as_me:$LINENO: result: no" >&5
    23808 echo "${ECHO_T}no" >&6
    23809 fi
    23810 rm -f conftest.err conftest.$ac_objext \
    23811       conftest$ac_exeext conftest.$ac_ext
    23812       else
    23813         echo "$as_me:$LINENO: result: no" >&5
    23814 echo "${ECHO_T}no" >&6
    23815       fi
    23816     fi
    23817     ;;
    23818 esac
    23819 
    23820   fi
    23821   skip_llapack_check=no
    23822   if test -z "$use_lapack"; then
    23823     # Try to autodetect the library for lapack based on build system
    23824     case $build in
    23825       *-sgi-*)
    23826         SAVE_LIBS="$LIBS"
    23827         echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has LAPACK" >&5
    23828 echo $ECHO_N "checking whether -lcomplib.sgimath has LAPACK... $ECHO_C" >&6
    23829         LIBS="-lcomplib.sgimath $LIBS"
    23830         case $ac_ext in
    23831   f)
    23832     cat >conftest.$ac_ext <<_ACEOF
    23833 /* confdefs.h.  */
    23834 _ACEOF
    23835 cat confdefs.h >>conftest.$ac_ext
    23836 cat >>conftest.$ac_ext <<_ACEOF
    23837 /* end confdefs.h.  */
    23838 
    23839 #ifdef F77_DUMMY_MAIN
    23840 
    23841 #  ifdef __cplusplus
    23842      extern "C"
    23843 #  endif
    23844    int F77_DUMMY_MAIN() { return 1; }
    23845 
    23846 #endif
    23847 int
    23848 main ()
    23849 {
    23850       call dsyev
    23851   ;
    23852   return 0;
    23853 }
    23854 _ACEOF
    23855 rm -f conftest.$ac_objext conftest$ac_exeext
    23856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23857   (eval $ac_link) 2>conftest.er1
    23858   ac_status=$?
    23859   grep -v '^ *+' conftest.er1 >conftest.err
    23860   rm -f conftest.er1
    23861   cat conftest.err >&5
    23862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23863   (exit $ac_status); } &&
    23864          { ac_try='test -z "$ac_c_werror_flag"
    23865                          || test ! -s conftest.err'
    23866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23867   (eval $ac_try) 2>&5
    23868   ac_status=$?
    23869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23870   (exit $ac_status); }; } &&
    23871          { ac_try='test -s conftest$ac_exeext'
    23872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23873   (eval $ac_try) 2>&5
    23874   ac_status=$?
    23875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23876   (exit $ac_status); }; }; then
    23877   echo "$as_me:$LINENO: result: yes" >&5
    23878 echo "${ECHO_T}yes" >&6
    23879                            use_lapack=-lcomplib.sgimath;
    23880                            ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    23881 else
    23882   echo "$as_me: failed program was:" >&5
    23883 sed 's/^/| /' conftest.$ac_ext >&5
    23884 
    23885 echo "$as_me:$LINENO: result: no" >&5
    23886 echo "${ECHO_T}no" >&6
    23887                            SAVE_LIBS="$LIBS"
    23888 fi
    23889 rm -f conftest.err conftest.$ac_objext \
    23890       conftest$ac_exeext conftest.$ac_ext
    23891     ;;
    23892   c)
    23893     ac_ext=f
    23894 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23895 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23896 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23897 case $ac_cv_f77_mangling in
    23898   upper*) ac_val="DSYEV" ;;
    23899   lower*) ac_val="dsyev" ;;
    23900   *)      ac_val="unknown" ;;
    23901 esac
    23902 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23903 
    23904 cfuncdsyev="$ac_val"
    23905 
    23906 ac_ext=c
    23907 ac_cpp='$CPP $CPPFLAGS'
    23908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23911 
    23912     if test x"$coin_need_flibs" = xyes; then
    23913       flink_try=no;
    23914     else
    23915       cat >conftest.$ac_ext <<_ACEOF
    23916 /* confdefs.h.  */
    23917 _ACEOF
    23918 cat confdefs.h >>conftest.$ac_ext
    23919 cat >>conftest.$ac_ext <<_ACEOF
    23920 /* end confdefs.h.  */
    23921 void $cfuncdsyev();
    23922 #ifdef F77_DUMMY_MAIN
    23923 
    23924 #  ifdef __cplusplus
    23925      extern "C"
    23926 #  endif
    23927    int F77_DUMMY_MAIN() { return 1; }
    23928 
    23929 #endif
    23930 int
    23931 main ()
    23932 {
    23933 $cfuncdsyev()
    23934   ;
    23935   return 0;
    23936 }
    23937 _ACEOF
    23938 rm -f conftest.$ac_objext conftest$ac_exeext
    23939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23940   (eval $ac_link) 2>conftest.er1
    23941   ac_status=$?
    23942   grep -v '^ *+' conftest.er1 >conftest.err
    23943   rm -f conftest.er1
    23944   cat conftest.err >&5
    23945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23946   (exit $ac_status); } &&
    23947          { ac_try='test -z "$ac_c_werror_flag"
    23948                          || test ! -s conftest.err'
    23949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23950   (eval $ac_try) 2>&5
    23951   ac_status=$?
    23952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23953   (exit $ac_status); }; } &&
    23954          { ac_try='test -s conftest$ac_exeext'
    23955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23956   (eval $ac_try) 2>&5
    23957   ac_status=$?
    23958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23959   (exit $ac_status); }; }; then
    23960   flink_try=yes
    23961 else
    23962   echo "$as_me: failed program was:" >&5
    23963 sed 's/^/| /' conftest.$ac_ext >&5
    23964 
    23965 flink_try=no
    23966 fi
    23967 rm -f conftest.err conftest.$ac_objext \
    23968       conftest$ac_exeext conftest.$ac_ext
    23969     fi
    23970     if test $flink_try = yes; then
    23971       echo "$as_me:$LINENO: result: yes" >&5
    23972 echo "${ECHO_T}yes" >&6
    23973                            use_lapack=-lcomplib.sgimath;
    23974                            ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    23975     else
    23976       if test x"$FLIBS" != x; then
    23977         flink_save_libs="$LIBS"
    23978         LIBS="$LIBS $FLIBS"
    23979         cat >conftest.$ac_ext <<_ACEOF
    23980 /* confdefs.h.  */
    23981 _ACEOF
    23982 cat confdefs.h >>conftest.$ac_ext
    23983 cat >>conftest.$ac_ext <<_ACEOF
    23984 /* end confdefs.h.  */
    23985 void $cfuncdsyev();
    23986 #ifdef F77_DUMMY_MAIN
    23987 
    23988 #  ifdef __cplusplus
    23989      extern "C"
    23990 #  endif
    23991    int F77_DUMMY_MAIN() { return 1; }
    23992 
    23993 #endif
    23994 int
    23995 main ()
    23996 {
    23997 $cfuncdsyev()
    23998   ;
    23999   return 0;
    24000 }
    24001 _ACEOF
    24002 rm -f conftest.$ac_objext conftest$ac_exeext
    24003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24004   (eval $ac_link) 2>conftest.er1
    24005   ac_status=$?
    24006   grep -v '^ *+' conftest.er1 >conftest.err
    24007   rm -f conftest.er1
    24008   cat conftest.err >&5
    24009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24010   (exit $ac_status); } &&
    24011          { ac_try='test -z "$ac_c_werror_flag"
    24012                          || test ! -s conftest.err'
    24013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24014   (eval $ac_try) 2>&5
    24015   ac_status=$?
    24016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24017   (exit $ac_status); }; } &&
    24018          { ac_try='test -s conftest$ac_exeext'
    24019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24020   (eval $ac_try) 2>&5
    24021   ac_status=$?
    24022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24023   (exit $ac_status); }; }; then
    24024   LIBS="$flink_save_libs"
    24025                      echo "$as_me:$LINENO: result: yes" >&5
    24026 echo "${ECHO_T}yes" >&6
    24027                            use_lapack=-lcomplib.sgimath;
    24028                            ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24029                      coin_need_flibs=yes
    24030 else
    24031   echo "$as_me: failed program was:" >&5
    24032 sed 's/^/| /' conftest.$ac_ext >&5
    24033 
    24034 LIBS="$flink_save_libs"
    24035                      echo "$as_me:$LINENO: result: no" >&5
    24036 echo "${ECHO_T}no" >&6
    24037                            SAVE_LIBS="$LIBS"
    24038 fi
    24039 rm -f conftest.err conftest.$ac_objext \
    24040       conftest$ac_exeext conftest.$ac_ext
    24041       else
    24042         echo "$as_me:$LINENO: result: no" >&5
    24043 echo "${ECHO_T}no" >&6
    24044                            SAVE_LIBS="$LIBS"
    24045       fi
    24046     fi
    24047     ;;
    24048   cc|cpp)
    24049     ac_ext=f
    24050 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24051 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24052 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24053 case $ac_cv_f77_mangling in
    24054   upper*) ac_val="DSYEV" ;;
    24055   lower*) ac_val="dsyev" ;;
    24056   *)      ac_val="unknown" ;;
    24057 esac
    24058 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24059 
    24060 cfuncdsyev="$ac_val"
    24061 
    24062 ac_ext=c
    24063 ac_cpp='$CPP $CPPFLAGS'
    24064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24067 
    24068     if test x"$coin_need_flibs" = xyes; then
    24069       flink_try=no;
    24070     else
    24071       cat >conftest.$ac_ext <<_ACEOF
    24072 /* confdefs.h.  */
    24073 _ACEOF
    24074 cat confdefs.h >>conftest.$ac_ext
    24075 cat >>conftest.$ac_ext <<_ACEOF
    24076 /* end confdefs.h.  */
    24077 extern "C" {void $cfuncdsyev();}
    24078 #ifdef F77_DUMMY_MAIN
    24079 
    24080 #  ifdef __cplusplus
    24081      extern "C"
    24082 #  endif
    24083    int F77_DUMMY_MAIN() { return 1; }
    24084 
    24085 #endif
    24086 int
    24087 main ()
    24088 {
    24089 $cfuncdsyev()
    24090   ;
    24091   return 0;
    24092 }
    24093 _ACEOF
    24094 rm -f conftest.$ac_objext conftest$ac_exeext
    24095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24096   (eval $ac_link) 2>conftest.er1
    24097   ac_status=$?
    24098   grep -v '^ *+' conftest.er1 >conftest.err
    24099   rm -f conftest.er1
    24100   cat conftest.err >&5
    24101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24102   (exit $ac_status); } &&
    24103          { ac_try='test -z "$ac_c_werror_flag"
    24104                          || test ! -s conftest.err'
    24105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24106   (eval $ac_try) 2>&5
    24107   ac_status=$?
    24108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24109   (exit $ac_status); }; } &&
    24110          { ac_try='test -s conftest$ac_exeext'
    24111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24112   (eval $ac_try) 2>&5
    24113   ac_status=$?
    24114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24115   (exit $ac_status); }; }; then
    24116   flink_try=yes
    24117 else
    24118   echo "$as_me: failed program was:" >&5
    24119 sed 's/^/| /' conftest.$ac_ext >&5
    24120 
    24121 flink_try=no
    24122 fi
    24123 rm -f conftest.err conftest.$ac_objext \
    24124       conftest$ac_exeext conftest.$ac_ext
    24125     fi
    24126     if test $flink_try = yes; then
    24127       echo "$as_me:$LINENO: result: yes" >&5
    24128 echo "${ECHO_T}yes" >&6
    24129                            use_lapack=-lcomplib.sgimath;
    24130                            ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24131     else
    24132       if test x"$FLIBS" != x; then
    24133         flink_save_libs="$LIBS"
    24134         LIBS="$LIBS $FLIBS"
    24135         cat >conftest.$ac_ext <<_ACEOF
    24136 /* confdefs.h.  */
    24137 _ACEOF
    24138 cat confdefs.h >>conftest.$ac_ext
    24139 cat >>conftest.$ac_ext <<_ACEOF
    24140 /* end confdefs.h.  */
    24141 extern "C" {void $cfuncdsyev();}
    24142 #ifdef F77_DUMMY_MAIN
    24143 
    24144 #  ifdef __cplusplus
    24145      extern "C"
    24146 #  endif
    24147    int F77_DUMMY_MAIN() { return 1; }
    24148 
    24149 #endif
    24150 int
    24151 main ()
    24152 {
    24153 $cfuncdsyev()
    24154   ;
    24155   return 0;
    24156 }
    24157 _ACEOF
    24158 rm -f conftest.$ac_objext conftest$ac_exeext
    24159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24160   (eval $ac_link) 2>conftest.er1
    24161   ac_status=$?
    24162   grep -v '^ *+' conftest.er1 >conftest.err
    24163   rm -f conftest.er1
    24164   cat conftest.err >&5
    24165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24166   (exit $ac_status); } &&
    24167          { ac_try='test -z "$ac_c_werror_flag"
    24168                          || test ! -s conftest.err'
    24169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24170   (eval $ac_try) 2>&5
    24171   ac_status=$?
    24172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24173   (exit $ac_status); }; } &&
    24174          { ac_try='test -s conftest$ac_exeext'
    24175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24176   (eval $ac_try) 2>&5
    24177   ac_status=$?
    24178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24179   (exit $ac_status); }; }; then
    24180   LIBS="$flink_save_libs"
    24181                      echo "$as_me:$LINENO: result: yes" >&5
    24182 echo "${ECHO_T}yes" >&6
    24183                            use_lapack=-lcomplib.sgimath;
    24184                            ADDLIBS="-lcomplib.sgimath $ADDLIBS"
    24185                      coin_need_flibs=yes
    24186 else
    24187   echo "$as_me: failed program was:" >&5
    24188 sed 's/^/| /' conftest.$ac_ext >&5
    24189 
    24190 LIBS="$flink_save_libs"
    24191                      echo "$as_me:$LINENO: result: no" >&5
    24192 echo "${ECHO_T}no" >&6
    24193                            SAVE_LIBS="$LIBS"
    24194 fi
    24195 rm -f conftest.err conftest.$ac_objext \
    24196       conftest$ac_exeext conftest.$ac_ext
    24197       else
    24198         echo "$as_me:$LINENO: result: no" >&5
    24199 echo "${ECHO_T}no" >&6
    24200                            SAVE_LIBS="$LIBS"
    24201       fi
    24202     fi
    24203     ;;
    24204 esac
    24205 
    24206         ;;
    24207 
    24208 # See comments in COIN_HAS_BLAS.
    24209       *-*-solaris*)
    24210       SAVE_LIBS="$LIBS"
    24211       echo "$as_me:$LINENO: checking for LAPACK in libsunperf" >&5
    24212 echo $ECHO_N "checking for LAPACK in libsunperf... $ECHO_C" >&6
    24213       LIBS="-lsunperf $FLIBS $LIBS"
    24214       case $ac_ext in
    24215   f)
    24216     cat >conftest.$ac_ext <<_ACEOF
    24217 /* confdefs.h.  */
    24218 _ACEOF
    24219 cat confdefs.h >>conftest.$ac_ext
    24220 cat >>conftest.$ac_ext <<_ACEOF
    24221 /* end confdefs.h.  */
    24222 
    24223 #ifdef F77_DUMMY_MAIN
    24224 
    24225 #  ifdef __cplusplus
    24226      extern "C"
    24227 #  endif
    24228    int F77_DUMMY_MAIN() { return 1; }
    24229 
    24230 #endif
    24231 int
    24232 main ()
    24233 {
    24234       call dsyev
    24235   ;
    24236   return 0;
    24237 }
    24238 _ACEOF
    24239 rm -f conftest.$ac_objext conftest$ac_exeext
    24240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24241   (eval $ac_link) 2>conftest.er1
    24242   ac_status=$?
    24243   grep -v '^ *+' conftest.er1 >conftest.err
    24244   rm -f conftest.er1
    24245   cat conftest.err >&5
    24246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24247   (exit $ac_status); } &&
    24248          { ac_try='test -z "$ac_c_werror_flag"
    24249                          || test ! -s conftest.err'
    24250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24251   (eval $ac_try) 2>&5
    24252   ac_status=$?
    24253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24254   (exit $ac_status); }; } &&
    24255          { ac_try='test -s conftest$ac_exeext'
    24256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24257   (eval $ac_try) 2>&5
    24258   ac_status=$?
    24259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24260   (exit $ac_status); }; }; then
    24261   echo "$as_me:$LINENO: result: yes" >&5
    24262 echo "${ECHO_T}yes" >&6
    24263                          use_blas='-lsunperf'
    24264                          ADDLIBS="-lsunperf $ADDLIBS"
    24265                          coin_need_flibs=yes
    24266 else
    24267   echo "$as_me: failed program was:" >&5
    24268 sed 's/^/| /' conftest.$ac_ext >&5
    24269 
    24270 echo "$as_me:$LINENO: result: no" >&5
    24271 echo "${ECHO_T}no" >&6
    24272                          LIBS="$SAVE_LIBS"
    24273 fi
    24274 rm -f conftest.err conftest.$ac_objext \
    24275       conftest$ac_exeext conftest.$ac_ext
    24276     ;;
    24277   c)
    24278     ac_ext=f
    24279 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24280 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24281 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24282 case $ac_cv_f77_mangling in
    24283   upper*) ac_val="DSYEV" ;;
    24284   lower*) ac_val="dsyev" ;;
    24285   *)      ac_val="unknown" ;;
    24286 esac
    24287 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24288 
    24289 cfuncdsyev="$ac_val"
    24290 
    24291 ac_ext=c
    24292 ac_cpp='$CPP $CPPFLAGS'
    24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24296 
    24297     if test x"$coin_need_flibs" = xyes; then
    24298       flink_try=no;
    24299     else
    24300       cat >conftest.$ac_ext <<_ACEOF
    24301 /* confdefs.h.  */
    24302 _ACEOF
    24303 cat confdefs.h >>conftest.$ac_ext
    24304 cat >>conftest.$ac_ext <<_ACEOF
    24305 /* end confdefs.h.  */
    24306 void $cfuncdsyev();
    24307 #ifdef F77_DUMMY_MAIN
    24308 
    24309 #  ifdef __cplusplus
    24310      extern "C"
    24311 #  endif
    24312    int F77_DUMMY_MAIN() { return 1; }
    24313 
    24314 #endif
    24315 int
    24316 main ()
    24317 {
    24318 $cfuncdsyev()
    24319   ;
    24320   return 0;
    24321 }
    24322 _ACEOF
    24323 rm -f conftest.$ac_objext conftest$ac_exeext
    24324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24325   (eval $ac_link) 2>conftest.er1
    24326   ac_status=$?
    24327   grep -v '^ *+' conftest.er1 >conftest.err
    24328   rm -f conftest.er1
    24329   cat conftest.err >&5
    24330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24331   (exit $ac_status); } &&
    24332          { ac_try='test -z "$ac_c_werror_flag"
    24333                          || test ! -s conftest.err'
    24334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24335   (eval $ac_try) 2>&5
    24336   ac_status=$?
    24337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24338   (exit $ac_status); }; } &&
    24339          { ac_try='test -s conftest$ac_exeext'
    24340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24341   (eval $ac_try) 2>&5
    24342   ac_status=$?
    24343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24344   (exit $ac_status); }; }; then
    24345   flink_try=yes
    24346 else
    24347   echo "$as_me: failed program was:" >&5
    24348 sed 's/^/| /' conftest.$ac_ext >&5
    24349 
    24350 flink_try=no
    24351 fi
    24352 rm -f conftest.err conftest.$ac_objext \
    24353       conftest$ac_exeext conftest.$ac_ext
    24354     fi
    24355     if test $flink_try = yes; then
    24356       echo "$as_me:$LINENO: result: yes" >&5
    24357 echo "${ECHO_T}yes" >&6
    24358                          use_blas='-lsunperf'
    24359                          ADDLIBS="-lsunperf $ADDLIBS"
    24360                          coin_need_flibs=yes
    24361     else
    24362       if test x"$FLIBS" != x; then
    24363         flink_save_libs="$LIBS"
    24364         LIBS="$LIBS $FLIBS"
    24365         cat >conftest.$ac_ext <<_ACEOF
    24366 /* confdefs.h.  */
    24367 _ACEOF
    24368 cat confdefs.h >>conftest.$ac_ext
    24369 cat >>conftest.$ac_ext <<_ACEOF
    24370 /* end confdefs.h.  */
    24371 void $cfuncdsyev();
    24372 #ifdef F77_DUMMY_MAIN
    24373 
    24374 #  ifdef __cplusplus
    24375      extern "C"
    24376 #  endif
    24377    int F77_DUMMY_MAIN() { return 1; }
    24378 
    24379 #endif
    24380 int
    24381 main ()
    24382 {
    24383 $cfuncdsyev()
    24384   ;
    24385   return 0;
    24386 }
    24387 _ACEOF
    24388 rm -f conftest.$ac_objext conftest$ac_exeext
    24389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24390   (eval $ac_link) 2>conftest.er1
    24391   ac_status=$?
    24392   grep -v '^ *+' conftest.er1 >conftest.err
    24393   rm -f conftest.er1
    24394   cat conftest.err >&5
    24395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24396   (exit $ac_status); } &&
    24397          { ac_try='test -z "$ac_c_werror_flag"
    24398                          || test ! -s conftest.err'
    24399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24400   (eval $ac_try) 2>&5
    24401   ac_status=$?
    24402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24403   (exit $ac_status); }; } &&
    24404          { ac_try='test -s conftest$ac_exeext'
    24405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24406   (eval $ac_try) 2>&5
    24407   ac_status=$?
    24408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24409   (exit $ac_status); }; }; then
    24410   LIBS="$flink_save_libs"
    24411                      echo "$as_me:$LINENO: result: yes" >&5
    24412 echo "${ECHO_T}yes" >&6
    24413                          use_blas='-lsunperf'
    24414                          ADDLIBS="-lsunperf $ADDLIBS"
    24415                          coin_need_flibs=yes
    24416                      coin_need_flibs=yes
    24417 else
    24418   echo "$as_me: failed program was:" >&5
    24419 sed 's/^/| /' conftest.$ac_ext >&5
    24420 
    24421 LIBS="$flink_save_libs"
    24422                      echo "$as_me:$LINENO: result: no" >&5
    24423 echo "${ECHO_T}no" >&6
    24424                          LIBS="$SAVE_LIBS"
    24425 fi
    24426 rm -f conftest.err conftest.$ac_objext \
    24427       conftest$ac_exeext conftest.$ac_ext
    24428       else
    24429         echo "$as_me:$LINENO: result: no" >&5
    24430 echo "${ECHO_T}no" >&6
    24431                          LIBS="$SAVE_LIBS"
    24432       fi
    24433     fi
    24434     ;;
    24435   cc|cpp)
    24436     ac_ext=f
    24437 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24438 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24439 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24440 case $ac_cv_f77_mangling in
    24441   upper*) ac_val="DSYEV" ;;
    24442   lower*) ac_val="dsyev" ;;
    24443   *)      ac_val="unknown" ;;
    24444 esac
    24445 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24446 
    24447 cfuncdsyev="$ac_val"
    24448 
    24449 ac_ext=c
    24450 ac_cpp='$CPP $CPPFLAGS'
    24451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24454 
    24455     if test x"$coin_need_flibs" = xyes; then
    24456       flink_try=no;
    24457     else
    24458       cat >conftest.$ac_ext <<_ACEOF
    24459 /* confdefs.h.  */
    24460 _ACEOF
    24461 cat confdefs.h >>conftest.$ac_ext
    24462 cat >>conftest.$ac_ext <<_ACEOF
    24463 /* end confdefs.h.  */
    24464 extern "C" {void $cfuncdsyev();}
    24465 #ifdef F77_DUMMY_MAIN
    24466 
    24467 #  ifdef __cplusplus
    24468      extern "C"
    24469 #  endif
    24470    int F77_DUMMY_MAIN() { return 1; }
    24471 
    24472 #endif
    24473 int
    24474 main ()
    24475 {
    24476 $cfuncdsyev()
    24477   ;
    24478   return 0;
    24479 }
    24480 _ACEOF
    24481 rm -f conftest.$ac_objext conftest$ac_exeext
    24482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24483   (eval $ac_link) 2>conftest.er1
    24484   ac_status=$?
    24485   grep -v '^ *+' conftest.er1 >conftest.err
    24486   rm -f conftest.er1
    24487   cat conftest.err >&5
    24488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24489   (exit $ac_status); } &&
    24490          { ac_try='test -z "$ac_c_werror_flag"
    24491                          || test ! -s conftest.err'
    24492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24493   (eval $ac_try) 2>&5
    24494   ac_status=$?
    24495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24496   (exit $ac_status); }; } &&
    24497          { ac_try='test -s conftest$ac_exeext'
    24498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24499   (eval $ac_try) 2>&5
    24500   ac_status=$?
    24501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24502   (exit $ac_status); }; }; then
    24503   flink_try=yes
    24504 else
    24505   echo "$as_me: failed program was:" >&5
    24506 sed 's/^/| /' conftest.$ac_ext >&5
    24507 
    24508 flink_try=no
    24509 fi
    24510 rm -f conftest.err conftest.$ac_objext \
    24511       conftest$ac_exeext conftest.$ac_ext
    24512     fi
    24513     if test $flink_try = yes; then
    24514       echo "$as_me:$LINENO: result: yes" >&5
    24515 echo "${ECHO_T}yes" >&6
    24516                          use_blas='-lsunperf'
    24517                          ADDLIBS="-lsunperf $ADDLIBS"
    24518                          coin_need_flibs=yes
    24519     else
    24520       if test x"$FLIBS" != x; then
    24521         flink_save_libs="$LIBS"
    24522         LIBS="$LIBS $FLIBS"
    24523         cat >conftest.$ac_ext <<_ACEOF
    24524 /* confdefs.h.  */
    24525 _ACEOF
    24526 cat confdefs.h >>conftest.$ac_ext
    24527 cat >>conftest.$ac_ext <<_ACEOF
    24528 /* end confdefs.h.  */
    24529 extern "C" {void $cfuncdsyev();}
    24530 #ifdef F77_DUMMY_MAIN
    24531 
    24532 #  ifdef __cplusplus
    24533      extern "C"
    24534 #  endif
    24535    int F77_DUMMY_MAIN() { return 1; }
    24536 
    24537 #endif
    24538 int
    24539 main ()
    24540 {
    24541 $cfuncdsyev()
    24542   ;
    24543   return 0;
    24544 }
    24545 _ACEOF
    24546 rm -f conftest.$ac_objext conftest$ac_exeext
    24547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24548   (eval $ac_link) 2>conftest.er1
    24549   ac_status=$?
    24550   grep -v '^ *+' conftest.er1 >conftest.err
    24551   rm -f conftest.er1
    24552   cat conftest.err >&5
    24553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24554   (exit $ac_status); } &&
    24555          { ac_try='test -z "$ac_c_werror_flag"
    24556                          || test ! -s conftest.err'
    24557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24558   (eval $ac_try) 2>&5
    24559   ac_status=$?
    24560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24561   (exit $ac_status); }; } &&
    24562          { ac_try='test -s conftest$ac_exeext'
    24563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24564   (eval $ac_try) 2>&5
    24565   ac_status=$?
    24566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24567   (exit $ac_status); }; }; then
    24568   LIBS="$flink_save_libs"
    24569                      echo "$as_me:$LINENO: result: yes" >&5
    24570 echo "${ECHO_T}yes" >&6
    24571                          use_blas='-lsunperf'
    24572                          ADDLIBS="-lsunperf $ADDLIBS"
    24573                          coin_need_flibs=yes
    24574                      coin_need_flibs=yes
    24575 else
    24576   echo "$as_me: failed program was:" >&5
    24577 sed 's/^/| /' conftest.$ac_ext >&5
    24578 
    24579 LIBS="$flink_save_libs"
    24580                      echo "$as_me:$LINENO: result: no" >&5
    24581 echo "${ECHO_T}no" >&6
    24582                          LIBS="$SAVE_LIBS"
    24583 fi
    24584 rm -f conftest.err conftest.$ac_objext \
    24585       conftest$ac_exeext conftest.$ac_ext
    24586       else
    24587         echo "$as_me:$LINENO: result: no" >&5
    24588 echo "${ECHO_T}no" >&6
    24589                          LIBS="$SAVE_LIBS"
    24590       fi
    24591     fi
    24592     ;;
    24593 esac
    24594 
    24595         ;;
    24596 # On cygwin, do this check only if doscompile is disabled. The prebuilt library
    24597 # will want to link with cygwin, hence won't run standalone in DOS.
    24598       *-cygwin*)
    24599         if test "$enable_doscompile" = mingw; then
    24600           skip_llapack_check=yes
    24601         fi
    24602         ;;
    24603     esac
    24604   fi
    24605 
    24606   if test -z "$use_lapack" && test $skip_llapack_check = no; then
    24607     SAVE_LIBS="$LIBS"
    24608     echo "$as_me:$LINENO: checking whether -llapack has LAPACK" >&5
    24609 echo $ECHO_N "checking whether -llapack has LAPACK... $ECHO_C" >&6
    24610     LIBS="-llapack $LIBS"
    24611     case $ac_ext in
    24612   f)
    24613     cat >conftest.$ac_ext <<_ACEOF
    24614 /* confdefs.h.  */
    24615 _ACEOF
    24616 cat confdefs.h >>conftest.$ac_ext
    24617 cat >>conftest.$ac_ext <<_ACEOF
    24618 /* end confdefs.h.  */
    24619 
    24620 #ifdef F77_DUMMY_MAIN
    24621 
    24622 #  ifdef __cplusplus
    24623      extern "C"
    24624 #  endif
    24625    int F77_DUMMY_MAIN() { return 1; }
    24626 
    24627 #endif
    24628 int
    24629 main ()
    24630 {
    24631       call dsyev
    24632   ;
    24633   return 0;
    24634 }
    24635 _ACEOF
    24636 rm -f conftest.$ac_objext conftest$ac_exeext
    24637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24638   (eval $ac_link) 2>conftest.er1
    24639   ac_status=$?
    24640   grep -v '^ *+' conftest.er1 >conftest.err
    24641   rm -f conftest.er1
    24642   cat conftest.err >&5
    24643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24644   (exit $ac_status); } &&
    24645          { ac_try='test -z "$ac_c_werror_flag"
    24646                          || test ! -s conftest.err'
    24647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24648   (eval $ac_try) 2>&5
    24649   ac_status=$?
    24650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24651   (exit $ac_status); }; } &&
    24652          { ac_try='test -s conftest$ac_exeext'
    24653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24654   (eval $ac_try) 2>&5
    24655   ac_status=$?
    24656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24657   (exit $ac_status); }; }; then
    24658   echo "$as_me:$LINENO: result: yes" >&5
    24659 echo "${ECHO_T}yes" >&6
    24660                        ADDLIBS="-llapack $ADDLIBS"
    24661                        use_lapack='-llapack'
    24662 else
    24663   echo "$as_me: failed program was:" >&5
    24664 sed 's/^/| /' conftest.$ac_ext >&5
    24665 
    24666 echo "$as_me:$LINENO: result: no" >&5
    24667 echo "${ECHO_T}no" >&6
    24668                        LIBS="$SAVE_LIBS"
    24669 fi
    24670 rm -f conftest.err conftest.$ac_objext \
    24671       conftest$ac_exeext conftest.$ac_ext
    24672     ;;
    24673   c)
    24674     ac_ext=f
    24675 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24676 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24677 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24678 case $ac_cv_f77_mangling in
    24679   upper*) ac_val="DSYEV" ;;
    24680   lower*) ac_val="dsyev" ;;
    24681   *)      ac_val="unknown" ;;
    24682 esac
    24683 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24684 
    24685 cfuncdsyev="$ac_val"
    24686 
    24687 ac_ext=c
    24688 ac_cpp='$CPP $CPPFLAGS'
    24689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24692 
    24693     if test x"$coin_need_flibs" = xyes; then
    24694       flink_try=no;
    24695     else
    24696       cat >conftest.$ac_ext <<_ACEOF
    24697 /* confdefs.h.  */
    24698 _ACEOF
    24699 cat confdefs.h >>conftest.$ac_ext
    24700 cat >>conftest.$ac_ext <<_ACEOF
    24701 /* end confdefs.h.  */
    24702 void $cfuncdsyev();
    24703 #ifdef F77_DUMMY_MAIN
    24704 
    24705 #  ifdef __cplusplus
    24706      extern "C"
    24707 #  endif
    24708    int F77_DUMMY_MAIN() { return 1; }
    24709 
    24710 #endif
    24711 int
    24712 main ()
    24713 {
    24714 $cfuncdsyev()
    24715   ;
    24716   return 0;
    24717 }
    24718 _ACEOF
    24719 rm -f conftest.$ac_objext conftest$ac_exeext
    24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24721   (eval $ac_link) 2>conftest.er1
    24722   ac_status=$?
    24723   grep -v '^ *+' conftest.er1 >conftest.err
    24724   rm -f conftest.er1
    24725   cat conftest.err >&5
    24726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24727   (exit $ac_status); } &&
    24728          { ac_try='test -z "$ac_c_werror_flag"
    24729                          || test ! -s conftest.err'
    24730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24731   (eval $ac_try) 2>&5
    24732   ac_status=$?
    24733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24734   (exit $ac_status); }; } &&
    24735          { ac_try='test -s conftest$ac_exeext'
    24736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24737   (eval $ac_try) 2>&5
    24738   ac_status=$?
    24739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24740   (exit $ac_status); }; }; then
    24741   flink_try=yes
    24742 else
    24743   echo "$as_me: failed program was:" >&5
    24744 sed 's/^/| /' conftest.$ac_ext >&5
    24745 
    24746 flink_try=no
    24747 fi
    24748 rm -f conftest.err conftest.$ac_objext \
    24749       conftest$ac_exeext conftest.$ac_ext
    24750     fi
    24751     if test $flink_try = yes; then
    24752       echo "$as_me:$LINENO: result: yes" >&5
    24753 echo "${ECHO_T}yes" >&6
    24754                        ADDLIBS="-llapack $ADDLIBS"
    24755                        use_lapack='-llapack'
    24756     else
    24757       if test x"$FLIBS" != x; then
    24758         flink_save_libs="$LIBS"
    24759         LIBS="$LIBS $FLIBS"
    24760         cat >conftest.$ac_ext <<_ACEOF
    24761 /* confdefs.h.  */
    24762 _ACEOF
    24763 cat confdefs.h >>conftest.$ac_ext
    24764 cat >>conftest.$ac_ext <<_ACEOF
    24765 /* end confdefs.h.  */
    24766 void $cfuncdsyev();
    24767 #ifdef F77_DUMMY_MAIN
    24768 
    24769 #  ifdef __cplusplus
    24770      extern "C"
    24771 #  endif
    24772    int F77_DUMMY_MAIN() { return 1; }
    24773 
    24774 #endif
    24775 int
    24776 main ()
    24777 {
    24778 $cfuncdsyev()
    24779   ;
    24780   return 0;
    24781 }
    24782 _ACEOF
    24783 rm -f conftest.$ac_objext conftest$ac_exeext
    24784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24785   (eval $ac_link) 2>conftest.er1
    24786   ac_status=$?
    24787   grep -v '^ *+' conftest.er1 >conftest.err
    24788   rm -f conftest.er1
    24789   cat conftest.err >&5
    24790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24791   (exit $ac_status); } &&
    24792          { ac_try='test -z "$ac_c_werror_flag"
    24793                          || test ! -s conftest.err'
    24794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24795   (eval $ac_try) 2>&5
    24796   ac_status=$?
    24797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24798   (exit $ac_status); }; } &&
    24799          { ac_try='test -s conftest$ac_exeext'
    24800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24801   (eval $ac_try) 2>&5
    24802   ac_status=$?
    24803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24804   (exit $ac_status); }; }; then
    24805   LIBS="$flink_save_libs"
    24806                      echo "$as_me:$LINENO: result: yes" >&5
    24807 echo "${ECHO_T}yes" >&6
    24808                        ADDLIBS="-llapack $ADDLIBS"
    24809                        use_lapack='-llapack'
    24810                      coin_need_flibs=yes
    24811 else
    24812   echo "$as_me: failed program was:" >&5
    24813 sed 's/^/| /' conftest.$ac_ext >&5
    24814 
    24815 LIBS="$flink_save_libs"
    24816                      echo "$as_me:$LINENO: result: no" >&5
    24817 echo "${ECHO_T}no" >&6
    24818                        LIBS="$SAVE_LIBS"
    24819 fi
    24820 rm -f conftest.err conftest.$ac_objext \
    24821       conftest$ac_exeext conftest.$ac_ext
    24822       else
    24823         echo "$as_me:$LINENO: result: no" >&5
    24824 echo "${ECHO_T}no" >&6
    24825                        LIBS="$SAVE_LIBS"
    24826       fi
    24827     fi
    24828     ;;
    24829   cc|cpp)
    24830     ac_ext=f
    24831 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24832 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24833 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24834 case $ac_cv_f77_mangling in
    24835   upper*) ac_val="DSYEV" ;;
    24836   lower*) ac_val="dsyev" ;;
    24837   *)      ac_val="unknown" ;;
    24838 esac
    24839 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24840 
    24841 cfuncdsyev="$ac_val"
    24842 
    24843 ac_ext=c
    24844 ac_cpp='$CPP $CPPFLAGS'
    24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24848 
    24849     if test x"$coin_need_flibs" = xyes; then
    24850       flink_try=no;
    24851     else
    24852       cat >conftest.$ac_ext <<_ACEOF
    24853 /* confdefs.h.  */
    24854 _ACEOF
    24855 cat confdefs.h >>conftest.$ac_ext
    24856 cat >>conftest.$ac_ext <<_ACEOF
    24857 /* end confdefs.h.  */
    24858 extern "C" {void $cfuncdsyev();}
    24859 #ifdef F77_DUMMY_MAIN
    24860 
    24861 #  ifdef __cplusplus
    24862      extern "C"
    24863 #  endif
    24864    int F77_DUMMY_MAIN() { return 1; }
    24865 
    24866 #endif
    24867 int
    24868 main ()
    24869 {
    24870 $cfuncdsyev()
    24871   ;
    24872   return 0;
    24873 }
    24874 _ACEOF
    24875 rm -f conftest.$ac_objext conftest$ac_exeext
    24876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24877   (eval $ac_link) 2>conftest.er1
    24878   ac_status=$?
    24879   grep -v '^ *+' conftest.er1 >conftest.err
    24880   rm -f conftest.er1
    24881   cat conftest.err >&5
    24882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24883   (exit $ac_status); } &&
    24884          { ac_try='test -z "$ac_c_werror_flag"
    24885                          || test ! -s conftest.err'
    24886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24887   (eval $ac_try) 2>&5
    24888   ac_status=$?
    24889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24890   (exit $ac_status); }; } &&
    24891          { ac_try='test -s conftest$ac_exeext'
    24892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24893   (eval $ac_try) 2>&5
    24894   ac_status=$?
    24895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24896   (exit $ac_status); }; }; then
    24897   flink_try=yes
    24898 else
    24899   echo "$as_me: failed program was:" >&5
    24900 sed 's/^/| /' conftest.$ac_ext >&5
    24901 
    24902 flink_try=no
    24903 fi
    24904 rm -f conftest.err conftest.$ac_objext \
    24905       conftest$ac_exeext conftest.$ac_ext
    24906     fi
    24907     if test $flink_try = yes; then
    24908       echo "$as_me:$LINENO: result: yes" >&5
    24909 echo "${ECHO_T}yes" >&6
    24910                        ADDLIBS="-llapack $ADDLIBS"
    24911                        use_lapack='-llapack'
    24912     else
    24913       if test x"$FLIBS" != x; then
    24914         flink_save_libs="$LIBS"
    24915         LIBS="$LIBS $FLIBS"
    24916         cat >conftest.$ac_ext <<_ACEOF
    24917 /* confdefs.h.  */
    24918 _ACEOF
    24919 cat confdefs.h >>conftest.$ac_ext
    24920 cat >>conftest.$ac_ext <<_ACEOF
    24921 /* end confdefs.h.  */
    24922 extern "C" {void $cfuncdsyev();}
    24923 #ifdef F77_DUMMY_MAIN
    24924 
    24925 #  ifdef __cplusplus
    24926      extern "C"
    24927 #  endif
    24928    int F77_DUMMY_MAIN() { return 1; }
    24929 
    24930 #endif
    24931 int
    24932 main ()
    24933 {
    24934 $cfuncdsyev()
    24935   ;
    24936   return 0;
    24937 }
    24938 _ACEOF
    24939 rm -f conftest.$ac_objext conftest$ac_exeext
    24940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24941   (eval $ac_link) 2>conftest.er1
    24942   ac_status=$?
    24943   grep -v '^ *+' conftest.er1 >conftest.err
    24944   rm -f conftest.er1
    24945   cat conftest.err >&5
    24946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24947   (exit $ac_status); } &&
    24948          { ac_try='test -z "$ac_c_werror_flag"
    24949                          || test ! -s conftest.err'
    24950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24951   (eval $ac_try) 2>&5
    24952   ac_status=$?
    24953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24954   (exit $ac_status); }; } &&
    24955          { ac_try='test -s conftest$ac_exeext'
    24956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24957   (eval $ac_try) 2>&5
    24958   ac_status=$?
    24959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24960   (exit $ac_status); }; }; then
    24961   LIBS="$flink_save_libs"
    24962                      echo "$as_me:$LINENO: result: yes" >&5
    24963 echo "${ECHO_T}yes" >&6
    24964                        ADDLIBS="-llapack $ADDLIBS"
    24965                        use_lapack='-llapack'
    24966                      coin_need_flibs=yes
    24967 else
    24968   echo "$as_me: failed program was:" >&5
    24969 sed 's/^/| /' conftest.$ac_ext >&5
    24970 
    24971 LIBS="$flink_save_libs"
    24972                      echo "$as_me:$LINENO: result: no" >&5
    24973 echo "${ECHO_T}no" >&6
    24974                        LIBS="$SAVE_LIBS"
    24975 fi
    24976 rm -f conftest.err conftest.$ac_objext \
    24977       conftest$ac_exeext conftest.$ac_ext
    24978       else
    24979         echo "$as_me:$LINENO: result: no" >&5
    24980 echo "${ECHO_T}no" >&6
    24981                        LIBS="$SAVE_LIBS"
    24982       fi
    24983     fi
    24984     ;;
    24985 esac
    24986 
    24987   fi
    24988 
    24989 # If we have no other ideas, consider building LAPACK.
    24990   if test -z "$use_lapack"; then
    24991     if test "$PACKAGE_NAME" != ThirdPartyLapack; then
    24992       if test -r $coin_lapackobjdir/.MakeOk; then
    24993         use_lapack=BUILD
    24994       fi
     20400  done
     20401fi
     20402
     20403if test $coin_has_lapack != skipping; then
     20404  if test $PACKAGE_TARNAME = lapack; then
     20405    coin_has_lapack=.
     20406  else
     20407    if test -d $srcdir/../Lapack; then
     20408      coin_has_lapack=../Lapack
    2499520409    fi
    2499620410  fi
    2499720411fi
    2499820412
    24999 if test "$use_lapack" = BUILD; then
    25000   coin_need_flibs=yes
    25001 fi
    25002 
    25003 
    25004 
    25005 if test x"$use_lapack" != x; then
    25006   COIN_HAS_LAPACK_TRUE=
    25007   COIN_HAS_LAPACK_FALSE='#'
    25008 else
    25009   COIN_HAS_LAPACK_TRUE='#'
    25010   COIN_HAS_LAPACK_FALSE=
    25011 fi
    25012 
    25013 
    25014 
    25015 if test "$use_lapack" = BUILD; then
    25016   COIN_BUILD_LAPACK_TRUE=
    25017   COIN_BUILD_LAPACK_FALSE='#'
    25018 else
    25019   COIN_BUILD_LAPACK_TRUE='#'
    25020   COIN_BUILD_LAPACK_FALSE=
    25021 fi
    25022 
    25023 
    25024 if test x"$use_lapack" = x || test "$use_lapack" = no; then
    25025   coin_has_lapack=no
    25026 else
    25027   coin_has_lapack=yes
     20413if test $coin_has_lapack != unavailable &&
     20414   test $coin_has_lapack != skipping; then
     20415  # Set the #define if the component is available
    2502820416
    2502920417cat >>confdefs.h <<\_ACEOF
     
    2503120419_ACEOF
    2503220420
    25033 fi
    25034 
    25035 MAKEOKFILE=.MakeOk
    25036 if test $coin_has_lapack = yes && test "$use_lapack" != BUILD; then
    25037   rm -f $MAKEOKFILE
    25038   { echo "$as_me:$LINENO: The Lapack sources don't need to be compiled" >&5
    25039 echo "$as_me: The Lapack sources don't need to be compiled" >&6;}
    25040   MAKEOKFILE=
    25041 else
    25042   touch $MAKEOKFILE
    25043 fi
    25044 
    25045 
    25046 
    25047 if test -z "$MAKEOKFILE"; then
    25048   SKIPMAKE_TRUE=
    25049   SKIPMAKE_FALSE='#'
    25050 else
    25051   SKIPMAKE_TRUE='#'
    25052   SKIPMAKE_FALSE=
    25053 fi
    25054 
     20421
     20422  # Set the variables for source and object code location
     20423
     20424  LAPACKSRCDIR=`cd $srcdir/$coin_has_lapack; pwd`
     20425
     20426  LAPACKOBJDIR=`pwd`/$coin_has_lapack
     20427
     20428  LAPACKDOCDIR=$abs_lib_dir/../share/doc/coin/Lapack
     20429fi
     20430
     20431  # Define the Makefile conditional
     20432
     20433
     20434if test $coin_has_lapack != unavailable &&
     20435                test $coin_has_lapack != skipping; then
     20436  COIN_HAS_LAPACK_TRUE=
     20437  COIN_HAS_LAPACK_FALSE='#'
     20438else
     20439  COIN_HAS_LAPACK_TRUE='#'
     20440  COIN_HAS_LAPACK_FALSE=
     20441fi
     20442
     20443echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
     20444echo "${ECHO_T}$coin_has_lapack" >&6
     20445
     20446
     20447# Check if Lapack is already available on the system or provided by user
     20448#save_LIBS="$LIBS"
     20449#AC_COIN_HAS_BLAS
     20450#LIBS="$save_LIBS" # we need to make sure that blas libraries are not in LIBS
     20451
     20452#AC_COIN_HAS_LAPACK
     20453#MAKEOKFILE=.MakeOk
     20454#if test $coin_has_lapack = yes && test "$use_lapack" != BUILD; then
     20455#  rm -f $MAKEOKFILE
     20456#  AC_MSG_NOTICE([The Lapack sources don't need to be compiled])
     20457#  MAKEOKFILE=
     20458#else
     20459#  touch $MAKEOKFILE
     20460#fi
     20461#AC_SUBST(MAKEOKFILE)
     20462#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    2505520463
    2505620464#############################################################################
     
    2505820466#############################################################################
    2505920467
    25060 if test x"$MAKEOKFILE" != x; then
     20468#if test x"$MAKEOKFILE" != x; then
    2506120469  lapack_source_files='dgetf2.f dgetrf.f dgetrs.f dlae2.f dlaev2.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlaswp.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f iparmq.f'
    2506220470  for file in $lapack_source_files; do
     
    2506920477
    2507020478  done
    25071 fi
    25072 
    25073           ac_config_files="$ac_config_files Makefile"
     20479#fi
     20480
     20481                    ac_config_files="$ac_config_files Makefile lapack_addlibs.txt"
    2507420482
    2507520483
     
    2530220710   { (exit 1); exit 1; }; }
    2530320711fi
    25304 if test -z "${COIN_BUILD_BLAS_TRUE}" && test -z "${COIN_BUILD_BLAS_FALSE}"; then
    25305   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_BLAS\" was never defined.
    25306 Usually this means the macro was only invoked conditionally." >&5
    25307 echo "$as_me: error: conditional \"COIN_BUILD_BLAS\" was never defined.
    25308 Usually this means the macro was only invoked conditionally." >&2;}
    25309    { (exit 1); exit 1; }; }
    25310 fi
    2531120712if test -z "${COIN_HAS_LAPACK_TRUE}" && test -z "${COIN_HAS_LAPACK_FALSE}"; then
    2531220713  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_LAPACK\" was never defined.
    2531320714Usually this means the macro was only invoked conditionally." >&5
    2531420715echo "$as_me: error: conditional \"COIN_HAS_LAPACK\" was never defined.
    25315 Usually this means the macro was only invoked conditionally." >&2;}
    25316    { (exit 1); exit 1; }; }
    25317 fi
    25318 if test -z "${COIN_BUILD_LAPACK_TRUE}" && test -z "${COIN_BUILD_LAPACK_FALSE}"; then
    25319   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_LAPACK\" was never defined.
    25320 Usually this means the macro was only invoked conditionally." >&5
    25321 echo "$as_me: error: conditional \"COIN_BUILD_LAPACK\" was never defined.
    25322 Usually this means the macro was only invoked conditionally." >&2;}
    25323    { (exit 1); exit 1; }; }
    25324 fi
    25325 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then
    25326   { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined.
    25327 Usually this means the macro was only invoked conditionally." >&5
    25328 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined.
    2532920716Usually this means the macro was only invoked conditionally." >&2;}
    2533020717   { (exit 1); exit 1; }; }
     
    2577321160  # Handling of arguments.
    2577421161  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     21162  "lapack_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES lapack_addlibs.txt" ;;
    2577521163  "$file" ) CONFIG_LINKS="$CONFIG_LINKS $file:LAPACK/SRC/$file" ;;
    2577621164  "$file_in_install" ) CONFIG_LINKS="$CONFIG_LINKS $file_in_install:LAPACK/INSTALL/$file_in_install" ;;
     
    2596021348s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2596121349s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    25962 s,@FLIBS@,$FLIBS,;t t
     21350s,@BLASSRCDIR@,$BLASSRCDIR,;t t
     21351s,@BLASOBJDIR@,$BLASOBJDIR,;t t
     21352s,@BLASDOCDIR@,$BLASDOCDIR,;t t
    2596321353s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t
    2596421354s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t
    25965 s,@COIN_BUILD_BLAS_TRUE@,$COIN_BUILD_BLAS_TRUE,;t t
    25966 s,@COIN_BUILD_BLAS_FALSE@,$COIN_BUILD_BLAS_FALSE,;t t
     21355s,@LAPACKSRCDIR@,$LAPACKSRCDIR,;t t
     21356s,@LAPACKOBJDIR@,$LAPACKOBJDIR,;t t
     21357s,@LAPACKDOCDIR@,$LAPACKDOCDIR,;t t
    2596721358s,@COIN_HAS_LAPACK_TRUE@,$COIN_HAS_LAPACK_TRUE,;t t
    2596821359s,@COIN_HAS_LAPACK_FALSE@,$COIN_HAS_LAPACK_FALSE,;t t
    25969 s,@COIN_BUILD_LAPACK_TRUE@,$COIN_BUILD_LAPACK_TRUE,;t t
    25970 s,@COIN_BUILD_LAPACK_FALSE@,$COIN_BUILD_LAPACK_FALSE,;t t
    25971 s,@MAKEOKFILE@,$MAKEOKFILE,;t t
    25972 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t
    25973 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t
    2597421360s,@LIBEXT@,$LIBEXT,;t t
    2597521361s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
  • ThirdParty/Lapack/trunk/configure.ac

    r1260 r1378  
    8686AC_COIN_INIT_AUTO_TOOLS
    8787
     88AC_COIN_HAS_PROJECT(Blas)
     89AC_COIN_HAS_PROJECT(Lapack)
     90
    8891# Check if Lapack is already available on the system or provided by user
    8992#save_LIBS="$LIBS"
    90 AC_COIN_HAS_BLAS
     93#AC_COIN_HAS_BLAS
    9194#LIBS="$save_LIBS" # we need to make sure that blas libraries are not in LIBS
    9295
    93 AC_COIN_HAS_LAPACK
    94 MAKEOKFILE=.MakeOk
    95 if test $coin_has_lapack = yes && test "$use_lapack" != BUILD; then
    96   rm -f $MAKEOKFILE
    97   AC_MSG_NOTICE([The Lapack sources don't need to be compiled])
    98   MAKEOKFILE=
    99 else
    100   touch $MAKEOKFILE
    101 fi
    102 AC_SUBST(MAKEOKFILE)
    103 AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
     96#AC_COIN_HAS_LAPACK
     97#MAKEOKFILE=.MakeOk
     98#if test $coin_has_lapack = yes && test "$use_lapack" != BUILD; then
     99#  rm -f $MAKEOKFILE
     100#  AC_MSG_NOTICE([The Lapack sources don't need to be compiled])
     101#  MAKEOKFILE=
     102#else
     103#  touch $MAKEOKFILE
     104#fi
     105#AC_SUBST(MAKEOKFILE)
     106#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    104107
    105108#############################################################################
     
    107110#############################################################################
    108111
    109 if test x"$MAKEOKFILE" != x; then
     112#if test x"$MAKEOKFILE" != x; then
    110113  lapack_source_files='dgetf2.f dgetrf.f dgetrs.f dlae2.f dlaev2.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlaswp.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f iparmq.f'
    111114  for file in $lapack_source_files; do
     
    116119    AC_CONFIG_LINKS($file_in_install:LAPACK/INSTALL/$file_in_install)
    117120  done
    118 fi
     121#fi
    119122
    120 AC_CONFIG_FILES([Makefile])
     123AC_CONFIG_FILES([Makefile lapack_addlibs.txt])
    121124
    122125AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.