Changeset 2458


Ignore:
Timestamp:
Oct 2, 2011 12:00:30 PM (9 years ago)
Author:
stefan
Message:

update for new hsl packaging and add support for MC68, MA86, and even MA97

Location:
ThirdParty/HSL/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/trunk/INSTALL.HSL

    r1399 r2458  
    88Information on the Harwell Subroutine Library (HSL) is available at
    99
    10 http://www.cse.clrc.ac.uk/nag/hsl/
     10http://www.hsl.rl.ac.uk/
    1111
    1212Some of the required HSL routines are available in the HSL Archive.
  • ThirdParty/HSL/trunk/Makefile.am

    r2256 r2458  
    1111if BUILD_COINHSL
    1212
     13includecoindir = $(includedir)/coin/ThirdParty
     14includecoin_HEADERS =
     15
    1316lib_LTLIBRARIES = libcoinhsl.la
    1417
    15 libcoinhsl_la_SOURCES =
     18libcoinhsl_la_SOURCES = common/deps.f
     19
     20if COIN_HAS_MC19
     21  libcoinhsl_la_SOURCES += mc19/mc19d.f
     22endif
    1623
    1724if COIN_HAS_MA27
    18   libcoinhsl_la_SOURCES += ma27ad.f
     25  libcoinhsl_la_SOURCES += ma27/ma27d.f
     26endif
     27
     28if COIN_HAS_MA28
     29  libcoinhsl_la_SOURCES += ma28/ma28d.f
    1930endif
    2031
    2132if COIN_HAS_MA57
    22   libcoinhsl_la_SOURCES += ma57ad.f
     33  libcoinhsl_la_SOURCES += ma57/ma57d.f
    2334endif
    2435
    25 if COIN_HAS_MC19
    26   libcoinhsl_la_SOURCES += mc19ad.f
     36if COIN_HAS_HSL_F90
     37  libcoinhsl_la_SOURCES += common/deps90.f90
    2738endif
    2839
    29 if COIN_HAS_MA28
    30   libcoinhsl_la_SOURCES += ma28ad.f ma30ad.f mc13dd.f mc20ad.f \
    31         mc21ad.f mc22ad.f mc23ad.f mc24ad.f
     40if COIN_HAS_HSL_MC68
     41  libcoinhsl_la_SOURCES += hsl_mc68/C/hsl_mc68i_ciface.f90
     42  includecoin_HEADERS += hsl_mc68/C/hsl_mc68i.h
    3243endif
    3344
    34 if COIN_HAS_MA77
    35   libcoinhsl_la_SOURCES += hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
     45if COIN_HAS_HSL_MA77
     46  libcoinhsl_la_SOURCES += hsl_ma77/hsl_ma77d.f90
     47  nodist_includecoin_HEADERS = hsl_ma77_double.mod
     48endif
     49
     50if COIN_HAS_HSL_MA86
     51  libcoinhsl_la_SOURCES += hsl_ma86/hsl_ma86d.f90 hsl_ma86/C/hsl_ma86d_ciface.f90
     52  includecoin_HEADERS += hsl_ma86/C/hsl_ma86d.h
     53endif
     54
     55if COIN_HAS_HSL_MA97
     56  libcoinhsl_la_SOURCES += hsl_ma97/hsl_ma97d.f90 hsl_ma97/C/hsl_ma97d_ciface.f90
     57  includecoin_HEADERS += hsl_ma97/C/hsl_ma97d.h
    3658endif
    3759
     
    3961
    4062# dependencies
    41 hsl_ma77d.lo: hsl_ma77d.deps90.lo
     63hsl_ma86d_ciface.lo: hsl_ma86d.lo
     64hsl_ma97d_ciface.lo: hsl_ma97d.lo
     65hsl_mc68i_ciface.lo: deps90.lo
    4266
    4367#############################################################################
     
    7397endif  # EXTRA_SHARED_COMMAND
    7498
    75 includecoindir = $(includedir)/coin/ThirdParty
    7699install-exec-local: $(HSL_SHARED_LIB)
    77100if EXTRA_SHARED_COMMAND
     
    102125########################################################################
    103126
    104 CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE)
     127CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE) *.mod
    105128
    106129# Files that are generated and should be cleaned with make distclean
  • ThirdParty/HSL/trunk/Makefile.in

    r2434 r2458  
    2828#                    Documentation installation                        #
    2929########################################################################
     30
    3031
    3132
     
    5253build_triplet = @build@
    5354host_triplet = @host@
    54 @BUILD_COINHSL_TRUE@@COIN_HAS_MA27_TRUE@am__append_1 = ma27ad.f
    55 @BUILD_COINHSL_TRUE@@COIN_HAS_MA57_TRUE@am__append_2 = ma57ad.f
    56 @BUILD_COINHSL_TRUE@@COIN_HAS_MC19_TRUE@am__append_3 = mc19ad.f
    57 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@am__append_4 = ma28ad.f ma30ad.f mc13dd.f mc20ad.f \
    58 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc21ad.f mc22ad.f mc23ad.f mc24ad.f
    59 
    60 @BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@am__append_5 = hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
    61 DIST_COMMON = $(am__configure_deps) $(srcdir)/BuildTools/Makemain.inc \
    62         $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
    63         $(srcdir)/coinhsl-uninstalled.pc.in $(srcdir)/coinhsl.pc.in \
    64         $(srcdir)/config.h.in $(srcdir)/config_coinhsl.h.in \
    65         $(top_srcdir)/configure config.guess config.sub depcomp \
    66         install-sh ltmain.sh missing
    67 @HAVE_EXTERNALS_TRUE@am__append_6 = Dependencies
    68 @HAVE_EXTERNALS_TRUE@am__append_7 = .Dependencies-stamp
     55@BUILD_COINHSL_TRUE@@COIN_HAS_MC19_TRUE@am__append_1 = mc19/mc19d.f
     56@BUILD_COINHSL_TRUE@@COIN_HAS_MA27_TRUE@am__append_2 = ma27/ma27d.f
     57@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@am__append_3 = ma28/ma28d.f
     58@BUILD_COINHSL_TRUE@@COIN_HAS_MA57_TRUE@am__append_4 = ma57/ma57d.f
     59@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_F90_TRUE@am__append_5 = common/deps90.f90
     60@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MC68_TRUE@am__append_6 = hsl_mc68/C/hsl_mc68i_ciface.f90
     61@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MC68_TRUE@am__append_7 = hsl_mc68/C/hsl_mc68i.h
     62@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA77_TRUE@am__append_8 = hsl_ma77/hsl_ma77d.f90
     63@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA86_TRUE@am__append_9 = hsl_ma86/hsl_ma86d.f90 hsl_ma86/C/hsl_ma86d_ciface.f90
     64@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA86_TRUE@am__append_10 = hsl_ma86/C/hsl_ma86d.h
     65@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA97_TRUE@am__append_11 = hsl_ma97/hsl_ma97d.f90 hsl_ma97/C/hsl_ma97d_ciface.f90
     66@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA97_TRUE@am__append_12 = hsl_ma97/C/hsl_ma97d.h
     67DIST_COMMON = $(am__configure_deps) $(am__includecoin_HEADERS_DIST) \
     68        $(srcdir)/BuildTools/Makemain.inc $(srcdir)/Makefile.am \
     69        $(srcdir)/Makefile.in $(srcdir)/coinhsl-uninstalled.pc.in \
     70        $(srcdir)/coinhsl.pc.in $(srcdir)/config.h.in \
     71        $(srcdir)/config_coinhsl.h.in $(top_srcdir)/configure \
     72        config.guess config.sub depcomp install-sh ltmain.sh missing
     73@HAVE_EXTERNALS_TRUE@am__append_13 = Dependencies
     74@HAVE_EXTERNALS_TRUE@am__append_14 = .Dependencies-stamp
    6975subdir = .
    7076ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    8490  esac;
    8591am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    86 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)"
     92am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)" \
     93        "$(DESTDIR)$(includecoindir)" "$(DESTDIR)$(includecoindir)"
    8794libLTLIBRARIES_INSTALL = $(INSTALL)
    8895LTLIBRARIES = $(lib_LTLIBRARIES)
    8996libcoinhsl_la_LIBADD =
    90 am__libcoinhsl_la_SOURCES_DIST = ma27ad.f ma57ad.f mc19ad.f ma28ad.f \
    91         ma30ad.f mc13dd.f mc20ad.f mc21ad.f mc22ad.f mc23ad.f mc24ad.f \
    92         hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f
    93 @BUILD_COINHSL_TRUE@@COIN_HAS_MA27_TRUE@am__objects_1 = ma27ad.lo
    94 @BUILD_COINHSL_TRUE@@COIN_HAS_MA57_TRUE@am__objects_2 = ma57ad.lo
    95 @BUILD_COINHSL_TRUE@@COIN_HAS_MC19_TRUE@am__objects_3 = mc19ad.lo
    96 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@am__objects_4 = ma28ad.lo \
    97 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        ma30ad.lo mc13dd.lo \
    98 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc20ad.lo mc21ad.lo \
    99 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc22ad.lo mc23ad.lo \
    100 @BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@        mc24ad.lo
    101 @BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@am__objects_5 = hsl_ma77d.lo \
    102 @BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@        hsl_ma77d.deps90.lo \
    103 @BUILD_COINHSL_TRUE@@COIN_HAS_MA77_TRUE@        hsl_ma77d.deps77.lo
    104 @BUILD_COINHSL_TRUE@am_libcoinhsl_la_OBJECTS = $(am__objects_1) \
    105 @BUILD_COINHSL_TRUE@    $(am__objects_2) $(am__objects_3) \
    106 @BUILD_COINHSL_TRUE@    $(am__objects_4) $(am__objects_5)
     97am__libcoinhsl_la_SOURCES_DIST = common/deps.f mc19/mc19d.f \
     98        ma27/ma27d.f ma28/ma28d.f ma57/ma57d.f common/deps90.f90 \
     99        hsl_mc68/C/hsl_mc68i_ciface.f90 hsl_ma77/hsl_ma77d.f90 \
     100        hsl_ma86/hsl_ma86d.f90 hsl_ma86/C/hsl_ma86d_ciface.f90 \
     101        hsl_ma97/hsl_ma97d.f90 hsl_ma97/C/hsl_ma97d_ciface.f90
     102@BUILD_COINHSL_TRUE@@COIN_HAS_MC19_TRUE@am__objects_1 = mc19d.lo
     103@BUILD_COINHSL_TRUE@@COIN_HAS_MA27_TRUE@am__objects_2 = ma27d.lo
     104@BUILD_COINHSL_TRUE@@COIN_HAS_MA28_TRUE@am__objects_3 = ma28d.lo
     105@BUILD_COINHSL_TRUE@@COIN_HAS_MA57_TRUE@am__objects_4 = ma57d.lo
     106@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_F90_TRUE@am__objects_5 = deps90.lo
     107@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MC68_TRUE@am__objects_6 = hsl_mc68i_ciface.lo
     108@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA77_TRUE@am__objects_7 =  \
     109@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA77_TRUE@    hsl_ma77d.lo
     110@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA86_TRUE@am__objects_8 =  \
     111@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA86_TRUE@    hsl_ma86d.lo \
     112@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA86_TRUE@    hsl_ma86d_ciface.lo
     113@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA97_TRUE@am__objects_9 =  \
     114@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA97_TRUE@    hsl_ma97d.lo \
     115@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA97_TRUE@    hsl_ma97d_ciface.lo
     116@BUILD_COINHSL_TRUE@am_libcoinhsl_la_OBJECTS = deps.lo \
     117@BUILD_COINHSL_TRUE@    $(am__objects_1) $(am__objects_2) \
     118@BUILD_COINHSL_TRUE@    $(am__objects_3) $(am__objects_4) \
     119@BUILD_COINHSL_TRUE@    $(am__objects_5) $(am__objects_6) \
     120@BUILD_COINHSL_TRUE@    $(am__objects_7) $(am__objects_8) \
     121@BUILD_COINHSL_TRUE@    $(am__objects_9)
    107122libcoinhsl_la_OBJECTS = $(am_libcoinhsl_la_OBJECTS)
    108123@BUILD_COINHSL_TRUE@am_libcoinhsl_la_rpath = -rpath $(libdir)
     
    122137pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
    123138DATA = $(pkgconfiglib_DATA)
     139am__includecoin_HEADERS_DIST = hsl_mc68/C/hsl_mc68i.h \
     140        hsl_ma86/C/hsl_ma86d.h hsl_ma97/C/hsl_ma97d.h
     141includecoinHEADERS_INSTALL = $(INSTALL_HEADER)
     142nodist_includecoinHEADERS_INSTALL = $(INSTALL_HEADER)
     143HEADERS = $(includecoin_HEADERS) $(nodist_includecoin_HEADERS)
    124144ETAGS = etags
    125145CTAGS = ctags
     
    169189COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    170190COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
     191COIN_HAS_HSL_F90_FALSE = @COIN_HAS_HSL_F90_FALSE@
     192COIN_HAS_HSL_F90_TRUE = @COIN_HAS_HSL_F90_TRUE@
     193COIN_HAS_HSL_MA77_FALSE = @COIN_HAS_HSL_MA77_FALSE@
     194COIN_HAS_HSL_MA77_TRUE = @COIN_HAS_HSL_MA77_TRUE@
     195COIN_HAS_HSL_MA86_FALSE = @COIN_HAS_HSL_MA86_FALSE@
     196COIN_HAS_HSL_MA86_TRUE = @COIN_HAS_HSL_MA86_TRUE@
     197COIN_HAS_HSL_MA97_FALSE = @COIN_HAS_HSL_MA97_FALSE@
     198COIN_HAS_HSL_MA97_TRUE = @COIN_HAS_HSL_MA97_TRUE@
     199COIN_HAS_HSL_MC68_FALSE = @COIN_HAS_HSL_MC68_FALSE@
     200COIN_HAS_HSL_MC68_TRUE = @COIN_HAS_HSL_MC68_TRUE@
    171201COIN_HAS_MA27_FALSE = @COIN_HAS_MA27_FALSE@
    172202COIN_HAS_MA27_TRUE = @COIN_HAS_MA27_TRUE@
     
    175205COIN_HAS_MA57_FALSE = @COIN_HAS_MA57_FALSE@
    176206COIN_HAS_MA57_TRUE = @COIN_HAS_MA57_TRUE@
    177 COIN_HAS_MA77_FALSE = @COIN_HAS_MA77_FALSE@
    178 COIN_HAS_MA77_TRUE = @COIN_HAS_MA77_TRUE@
    179207COIN_HAS_MC19_FALSE = @COIN_HAS_MC19_FALSE@
    180208COIN_HAS_MC19_TRUE = @COIN_HAS_MC19_TRUE@
     
    328356target_alias = @target_alias@
    329357AUTOMAKE_OPTIONS = foreign
    330 EXTRA_DIST = INSTALL.HSL $(am__append_6)
     358EXTRA_DIST = INSTALL.HSL $(am__append_13)
     359@BUILD_COINHSL_TRUE@includecoindir = $(includedir)/coin/ThirdParty
     360@BUILD_COINHSL_TRUE@includecoin_HEADERS = $(am__append_7) \
     361@BUILD_COINHSL_TRUE@    $(am__append_10) $(am__append_12)
    331362@BUILD_COINHSL_TRUE@lib_LTLIBRARIES = libcoinhsl.la
    332 @BUILD_COINHSL_TRUE@libcoinhsl_la_SOURCES = $(am__append_1) \
    333 @BUILD_COINHSL_TRUE@    $(am__append_2) $(am__append_3) \
    334 @BUILD_COINHSL_TRUE@    $(am__append_4) $(am__append_5)
     363@BUILD_COINHSL_TRUE@libcoinhsl_la_SOURCES = common/deps.f \
     364@BUILD_COINHSL_TRUE@    $(am__append_1) $(am__append_2) \
     365@BUILD_COINHSL_TRUE@    $(am__append_3) $(am__append_4) \
     366@BUILD_COINHSL_TRUE@    $(am__append_5) $(am__append_6) \
     367@BUILD_COINHSL_TRUE@    $(am__append_8) $(am__append_9) \
     368@BUILD_COINHSL_TRUE@    $(am__append_11)
     369@BUILD_COINHSL_TRUE@@COIN_HAS_HSL_MA77_TRUE@nodist_includecoin_HEADERS = hsl_ma77_double.mod
    335370@BUILD_COINHSL_TRUE@libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS)
    336 @BUILD_COINHSL_TRUE@includecoindir = $(includedir)/coin/ThirdParty
    337371@BUILD_COINHSL_TRUE@pkgconfiglibdir = $(libdir)/pkgconfig
    338372@BUILD_COINHSL_TRUE@pkgconfiglib_DATA = coinhsl.pc
     
    345379#                         Maintainer Stuff                             #
    346380########################################################################
    347 CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE)
     381CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE) *.mod
    348382
    349383# Files that are generated and should be cleaned with make distclean
    350 DISTCLEANFILES = $(am__append_7) $(VPATH_DISTCLEANFILES)
     384DISTCLEANFILES = $(am__append_14) $(VPATH_DISTCLEANFILES)
    351385DocFiles = README AUTHORS LICENSE
    352386DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
     
    465499        $(LTF77COMPILE) -c -o $@ $<
    466500
     501deps.lo: common/deps.f
     502        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o deps.lo `test -f 'common/deps.f' || echo '$(srcdir)/'`common/deps.f
     503
     504mc19d.lo: mc19/mc19d.f
     505        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o mc19d.lo `test -f 'mc19/mc19d.f' || echo '$(srcdir)/'`mc19/mc19d.f
     506
     507ma27d.lo: ma27/ma27d.f
     508        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o ma27d.lo `test -f 'ma27/ma27d.f' || echo '$(srcdir)/'`ma27/ma27d.f
     509
     510ma28d.lo: ma28/ma28d.f
     511        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o ma28d.lo `test -f 'ma28/ma28d.f' || echo '$(srcdir)/'`ma28/ma28d.f
     512
     513ma57d.lo: ma57/ma57d.f
     514        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o ma57d.lo `test -f 'ma57/ma57d.f' || echo '$(srcdir)/'`ma57/ma57d.f
     515
    467516.f90.o:
    468517        $(FCCOMPILE) -c -o $@ $<
     
    473522.f90.lo:
    474523        $(LTFCCOMPILE) -c -o $@ $<
     524
     525deps90.lo: common/deps90.f90
     526        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o deps90.lo `test -f 'common/deps90.f90' || echo '$(srcdir)/'`common/deps90.f90
     527
     528@BUILD_COINHSL_FALSE@hsl_mc68i_ciface.lo: hsl_mc68/C/hsl_mc68i_ciface.f90
     529        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o hsl_mc68i_ciface.lo `test -f 'hsl_mc68/C/hsl_mc68i_ciface.f90' || echo '$(srcdir)/'`hsl_mc68/C/hsl_mc68i_ciface.f90
     530
     531hsl_ma77d.lo: hsl_ma77/hsl_ma77d.f90
     532        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o hsl_ma77d.lo `test -f 'hsl_ma77/hsl_ma77d.f90' || echo '$(srcdir)/'`hsl_ma77/hsl_ma77d.f90
     533
     534hsl_ma86d.lo: hsl_ma86/hsl_ma86d.f90
     535        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o hsl_ma86d.lo `test -f 'hsl_ma86/hsl_ma86d.f90' || echo '$(srcdir)/'`hsl_ma86/hsl_ma86d.f90
     536
     537@BUILD_COINHSL_FALSE@hsl_ma86d_ciface.lo: hsl_ma86/C/hsl_ma86d_ciface.f90
     538        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o hsl_ma86d_ciface.lo `test -f 'hsl_ma86/C/hsl_ma86d_ciface.f90' || echo '$(srcdir)/'`hsl_ma86/C/hsl_ma86d_ciface.f90
     539
     540hsl_ma97d.lo: hsl_ma97/hsl_ma97d.f90
     541        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o hsl_ma97d.lo `test -f 'hsl_ma97/hsl_ma97d.f90' || echo '$(srcdir)/'`hsl_ma97/hsl_ma97d.f90
     542
     543@BUILD_COINHSL_FALSE@hsl_ma97d_ciface.lo: hsl_ma97/C/hsl_ma97d_ciface.f90
     544        $(LIBTOOL) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) -c -o hsl_ma97d_ciface.lo `test -f 'hsl_ma97/C/hsl_ma97d_ciface.f90' || echo '$(srcdir)/'`hsl_ma97/C/hsl_ma97d_ciface.f90
    475545
    476546mostlyclean-libtool:
     
    499569          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
    500570          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     571        done
     572install-includecoinHEADERS: $(includecoin_HEADERS)
     573        @$(NORMAL_INSTALL)
     574        test -z "$(includecoindir)" || $(mkdir_p) "$(DESTDIR)$(includecoindir)"
     575        @list='$(includecoin_HEADERS)'; for p in $$list; do \
     576          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     577          f=$(am__strip_dir) \
     578          echo " $(includecoinHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includecoindir)/$$f'"; \
     579          $(includecoinHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includecoindir)/$$f"; \
     580        done
     581
     582uninstall-includecoinHEADERS:
     583        @$(NORMAL_UNINSTALL)
     584        @list='$(includecoin_HEADERS)'; for p in $$list; do \
     585          f=$(am__strip_dir) \
     586          echo " rm -f '$(DESTDIR)$(includecoindir)/$$f'"; \
     587          rm -f "$(DESTDIR)$(includecoindir)/$$f"; \
     588        done
     589install-nodist_includecoinHEADERS: $(nodist_includecoin_HEADERS)
     590        @$(NORMAL_INSTALL)
     591        test -z "$(includecoindir)" || $(mkdir_p) "$(DESTDIR)$(includecoindir)"
     592        @list='$(nodist_includecoin_HEADERS)'; for p in $$list; do \
     593          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     594          f=$(am__strip_dir) \
     595          echo " $(nodist_includecoinHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includecoindir)/$$f'"; \
     596          $(nodist_includecoinHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includecoindir)/$$f"; \
     597        done
     598
     599uninstall-nodist_includecoinHEADERS:
     600        @$(NORMAL_UNINSTALL)
     601        @list='$(nodist_includecoin_HEADERS)'; for p in $$list; do \
     602          f=$(am__strip_dir) \
     603          echo " rm -f '$(DESTDIR)$(includecoindir)/$$f'"; \
     604          rm -f "$(DESTDIR)$(includecoindir)/$$f"; \
    501605        done
    502606
     
    552656        $(am__remove_distdir)
    553657        mkdir $(distdir)
    554         $(mkdir_p) $(distdir)/. $(distdir)/BuildTools
     658        $(mkdir_p) $(distdir)/. $(distdir)/BuildTools $(distdir)/hsl_ma86/C $(distdir)/hsl_ma97/C $(distdir)/hsl_mc68/C
    555659        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    556660        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    678782check-am: all-am
    679783check: check-am
    680 all-am: Makefile $(LTLIBRARIES) $(DATA) config.h config_coinhsl.h
     784all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) config.h \
     785                config_coinhsl.h
    681786installdirs:
    682         for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
     787        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(includecoindir)" "$(DESTDIR)$(includecoindir)"; do \
    683788          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    684789        done
     
    732837info-am:
    733838
    734 install-data-am: install-pkgconfiglibDATA
     839install-data-am: install-includecoinHEADERS \
     840        install-nodist_includecoinHEADERS install-pkgconfiglibDATA
    735841
    736842install-exec-am: install-exec-local install-libLTLIBRARIES
     
    761867ps-am:
    762868
    763 uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
    764         uninstall-local uninstall-pkgconfiglibDATA
     869uninstall-am: uninstall-includecoinHEADERS uninstall-info-am \
     870        uninstall-libLTLIBRARIES uninstall-local \
     871        uninstall-nodist_includecoinHEADERS uninstall-pkgconfiglibDATA
    765872
    766873.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
     
    771878        distdir distuninstallcheck dvi dvi-am html html-am info \
    772879        info-am install install-am install-data install-data-am \
    773         install-exec install-exec-am install-exec-local install-info \
    774         install-info-am install-libLTLIBRARIES install-man \
    775         install-pkgconfiglibDATA install-strip installcheck \
    776         installcheck-am installdirs maintainer-clean \
    777         maintainer-clean-generic mostlyclean mostlyclean-compile \
    778         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    779         tags uninstall uninstall-am uninstall-info-am \
     880        install-exec install-exec-am install-exec-local \
     881        install-includecoinHEADERS install-info install-info-am \
     882        install-libLTLIBRARIES install-man \
     883        install-nodist_includecoinHEADERS install-pkgconfiglibDATA \
     884        install-strip installcheck installcheck-am installdirs \
     885        maintainer-clean maintainer-clean-generic mostlyclean \
     886        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
     887        pdf pdf-am ps ps-am tags uninstall uninstall-am \
     888        uninstall-includecoinHEADERS uninstall-info-am \
    780889        uninstall-libLTLIBRARIES uninstall-local \
    781         uninstall-pkgconfiglibDATA
     890        uninstall-nodist_includecoinHEADERS uninstall-pkgconfiglibDATA
    782891
    783892
    784893# dependencies
    785 @BUILD_COINHSL_TRUE@hsl_ma77d.lo: hsl_ma77d.deps90.lo
     894@BUILD_COINHSL_TRUE@hsl_ma86d_ciface.lo: hsl_ma86d.lo
     895@BUILD_COINHSL_TRUE@hsl_ma97d_ciface.lo: hsl_ma97d.lo
     896@BUILD_COINHSL_TRUE@hsl_mc68i_ciface.lo: deps90.lo
    786897
    787898#############################################################################
     
    810921@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@        echo "  $$i" >> $(DEFFILE); \
    811922@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@@NEED_DEFFILE_TRUE@      done
     923
    812924@BUILD_COINHSL_TRUE@install-exec-local: $(HSL_SHARED_LIB)
    813925@BUILD_COINHSL_TRUE@@EXTRA_SHARED_COMMAND_TRUE@ test -z "$(DESTDIR)$(libdir)/coin/ThirdParty" || $(mkdir_p) "$(DESTDIR)$(libdir)/coin/ThirdParty"
  • ThirdParty/HSL/trunk/config.h.in

    r2434 r2458  
    1313#undef COINHSL_HAS_MA77
    1414
     15/* Define to 1 if MA86 is available. */
     16#undef COINHSL_HAS_MA86
     17
     18/* Define to 1 if MA97 is available. */
     19#undef COINHSL_HAS_MA97
     20
    1521/* Define to 1 if MC19 is available. */
    1622#undef COINHSL_HAS_MC19
     23
     24/* Define to 1 if MC68 is available. */
     25#undef COINHSL_HAS_MC68
    1726
    1827/* SVN revision number of project */
  • ThirdParty/HSL/trunk/config_coinhsl.h.in

    r2256 r2458  
    1616#undef COINHSL_HAS_MA77
    1717
     18/* Define to 1 if MA86 is available. */
     19#undef COINHSL_HAS_MA86
     20
     21/* Define to 1 if MA97 is available. */
     22#undef COINHSL_HAS_MA97
     23
    1824/* Define to 1 if MC19 is available. */
    1925#undef COINHSL_HAS_MC19
     26
     27/* Define to 1 if MC68 is available. */
     28#undef COINHSL_HAS_MC68
    2029
    2130/* Version number of project */
  • ThirdParty/HSL/trunk/configure

    r2434 r2458  
    1212# Copyright 2006, 2009 International Business Machines and others.
    1313# All Rights Reserved.
    14 # This file is part of the open source package Coin which is distributed
     14# This file is part of the open source package BuildTools which is distributed
    1515# under the Eclipse Public License.
    1616## --------------------- ##
     
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COINHSL_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB 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 COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE BUILD_COINHSL_TRUE BUILD_COINHSL_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COINHSL_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB 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 COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_HSL_MA77_TRUE COIN_HAS_HSL_MA77_FALSE COIN_HAS_HSL_MA86_TRUE COIN_HAS_HSL_MA86_FALSE COIN_HAS_HSL_MA97_TRUE COIN_HAS_HSL_MA97_FALSE COIN_HAS_HSL_MC68_TRUE COIN_HAS_HSL_MC68_FALSE BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE COIN_HAS_HSL_F90_TRUE COIN_HAS_HSL_F90_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE BUILD_COINHSL_TRUE BUILD_COINHSL_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    11221122  --with-tags[=TAGS]
    11231123                          include additional configurations [automatic]
    1124 
     1124  --with-blas             specify BLAS library (or BUILD to enforce use of
     1125                          ThirdParty/Blas)
     1126
     1127  --with-blas-lib linker flags for using package Blas
     1128  --with-blas-incdir directory with header files for using package Blas
     1129  --with-blas-datadir directory with data files for using package Blas
    11251130  --with-metis-lib linker flags for using package Metis
    11261131  --with-metis-incdir directory with header files for using package Metis
    11271132  --with-metis-datadir directory with data files for using package Metis
    1128   --with-blas             specify BLAS library (or BUILD to enforce use of
    1129                           ThirdParty/Blas)
    1130   --with-blas-lib linker flags for using package Blas
    1131   --with-blas-incdir directory with header files for using package Blas
    1132   --with-blas-datadir directory with data files for using package Blas
    11331133
    11341134Some influential environment variables:
     
    12671267Copyright 2006, 2009 International Business Machines and others.
    12681268All Rights Reserved.
    1269 This file is part of the open source package Coin which is distributed
     1269This file is part of the open source package BuildTools which is distributed
    12701270under the Eclipse Public License.
    12711271_ACEOF
     
    2204422044
    2204522045
    22046 if test -r $srcdir/ma27ad.f; then
    22047   hsl_files="$hsl_files ma27ad.f"
     22046echo "$as_me:$LINENO: checking for MC19" >&5
     22047echo $ECHO_N "checking for MC19... $ECHO_C" >&6
     22048if test -r $srcdir/mc19/mc19d.f; then
     22049
     22050cat >>confdefs.h <<\_ACEOF
     22051#define COINHSL_HAS_MC19 1
     22052_ACEOF
     22053
     22054                     coin_has_something=yes
     22055                     coin_has_mc19=yes
     22056  :
     22057else
     22058  coin_has_mc19=no
     22059  :
     22060fi
     22061
     22062echo "$as_me:$LINENO: result: $coin_has_mc19" >&5
     22063echo "${ECHO_T}$coin_has_mc19" >&6
     22064
     22065
     22066if test $coin_has_mc19 = yes; then
     22067  COIN_HAS_MC19_TRUE=
     22068  COIN_HAS_MC19_FALSE='#'
     22069else
     22070  COIN_HAS_MC19_TRUE='#'
     22071  COIN_HAS_MC19_FALSE=
     22072fi
     22073
     22074
     22075echo "$as_me:$LINENO: checking for MA27" >&5
     22076echo $ECHO_N "checking for MA27... $ECHO_C" >&6
     22077if test -r $srcdir/ma27/ma27d.f; then
    2204822078
    2204922079cat >>confdefs.h <<\_ACEOF
     
    2205222082
    2205322083                     coin_has_something=yes
    22054                      coin_has_ma27ad=yes
     22084                     coin_has_ma27=yes
    2205522085  :
    2205622086else
    22057   coin_has_ma27ad=no
     22087  coin_has_ma27=no
    2205822088  :
    2205922089fi
    2206022090
    22061 
    22062 
    22063 if test $coin_has_ma27ad = yes; then
     22091echo "$as_me:$LINENO: result: $coin_has_ma27" >&5
     22092echo "${ECHO_T}$coin_has_ma27" >&6
     22093
     22094
     22095if test $coin_has_ma27 = yes; then
    2206422096  COIN_HAS_MA27_TRUE=
    2206522097  COIN_HAS_MA27_FALSE='#'
     
    2206922101fi
    2207022102
    22071 if test $coin_has_ma27ad = yes; then
    22072   echo "$as_me:$LINENO: checking whether MA27 is threadsafe" >&5
    22073 echo $ECHO_N "checking whether MA27 is threadsafe... $ECHO_C" >&6
    22074   if $EGREP MA27UD $srcdir/ma27ad.f >/dev/null 2>&1; then
    22075     echo "$as_me:$LINENO: result: yes" >&5
    22076 echo "${ECHO_T}yes" >&6
    22077   else
    22078     echo "$as_me:$LINENO: result: no" >&5
    22079 echo "${ECHO_T}no" >&6
    22080     { { echo "$as_me:$LINENO: error: Please obtain the threadsafe (newer) version of MA27" >&5
    22081 echo "$as_me: error: Please obtain the threadsafe (newer) version of MA27" >&2;}
    22082    { (exit 1); exit 1; }; }
    22083   fi
    22084 fi
    22085 
    22086 if test -r $srcdir/ma57ad.f; then
    22087   hsl_files="$hsl_files ma57ad.f"
     22103
     22104echo "$as_me:$LINENO: checking for MA28" >&5
     22105echo $ECHO_N "checking for MA28... $ECHO_C" >&6
     22106if test -r $srcdir/ma28/ma28d.f; then
     22107
     22108cat >>confdefs.h <<\_ACEOF
     22109#define COINHSL_HAS_MA28 1
     22110_ACEOF
     22111
     22112                     coin_has_something=yes
     22113                     coin_has_ma28=yes
     22114  :
     22115else
     22116  coin_has_ma28=no
     22117  :
     22118fi
     22119
     22120echo "$as_me:$LINENO: result: $coin_has_ma28" >&5
     22121echo "${ECHO_T}$coin_has_ma28" >&6
     22122
     22123
     22124if test $coin_has_ma28 = yes; then
     22125  COIN_HAS_MA28_TRUE=
     22126  COIN_HAS_MA28_FALSE='#'
     22127else
     22128  COIN_HAS_MA28_TRUE='#'
     22129  COIN_HAS_MA28_FALSE=
     22130fi
     22131
     22132
     22133echo "$as_me:$LINENO: checking for MA57" >&5
     22134echo $ECHO_N "checking for MA57... $ECHO_C" >&6
     22135if test -r $srcdir/ma57/ma57d.f; then
    2208822136
    2208922137cat >>confdefs.h <<\_ACEOF
     
    2209222140
    2209322141                     coin_has_something=yes
    22094                      coin_has_ma57ad=yes
     22142                     coin_has_ma57=yes
    2209522143  :
    2209622144else
    22097   coin_has_ma57ad=no
     22145  coin_has_ma57=no
    2209822146  :
    2209922147fi
    2210022148
    22101 
    22102 
    22103 if test $coin_has_ma57ad = yes; then
     22149echo "$as_me:$LINENO: result: $coin_has_ma57" >&5
     22150echo "${ECHO_T}$coin_has_ma57" >&6
     22151
     22152
     22153if test $coin_has_ma57 = yes; then
    2210422154  COIN_HAS_MA57_TRUE=
    2210522155  COIN_HAS_MA57_FALSE='#'
     
    2210922159fi
    2211022160
    22111 if test $coin_has_ma57ad = yes; then
     22161
     22162if test $have_f90 = yes; then
     22163   echo "$as_me:$LINENO: checking for MA77" >&5
     22164echo $ECHO_N "checking for MA77... $ECHO_C" >&6
     22165   if test -r $srcdir/hsl_ma77/hsl_ma77d.f90; then
     22166
     22167cat >>confdefs.h <<\_ACEOF
     22168#define COINHSL_HAS_MA77 1
     22169_ACEOF
     22170
     22171                       coin_has_something=yes
     22172                       coin_has_hsl_ma77=yes
     22173  :
     22174else
     22175  coin_has_hsl_ma77=no
     22176  :
     22177fi
     22178
     22179   echo "$as_me:$LINENO: result: $coin_has_hsl_ma77" >&5
     22180echo "${ECHO_T}$coin_has_hsl_ma77" >&6
     22181else
     22182  coin_has_hsl_ma77=no
     22183fi
     22184
     22185
     22186if test $coin_has_hsl_ma77 = yes; then
     22187  COIN_HAS_HSL_MA77_TRUE=
     22188  COIN_HAS_HSL_MA77_FALSE='#'
     22189else
     22190  COIN_HAS_HSL_MA77_TRUE='#'
     22191  COIN_HAS_HSL_MA77_FALSE=
     22192fi
     22193
     22194
     22195if test $have_f90 = yes; then
     22196   echo "$as_me:$LINENO: checking for MA86" >&5
     22197echo $ECHO_N "checking for MA86... $ECHO_C" >&6
     22198   if test -r $srcdir/hsl_ma86/hsl_ma86d.f90; then
     22199
     22200cat >>confdefs.h <<\_ACEOF
     22201#define COINHSL_HAS_MA86 1
     22202_ACEOF
     22203
     22204                       coin_has_something=yes
     22205                       coin_has_hsl_ma86=yes
     22206  :
     22207else
     22208  coin_has_hsl_ma86=no
     22209  :
     22210fi
     22211
     22212   echo "$as_me:$LINENO: result: $coin_has_hsl_ma86" >&5
     22213echo "${ECHO_T}$coin_has_hsl_ma86" >&6
     22214else
     22215  coin_has_hsl_ma86=no
     22216fi
     22217
     22218
     22219if test $coin_has_hsl_ma86 = yes; then
     22220  COIN_HAS_HSL_MA86_TRUE=
     22221  COIN_HAS_HSL_MA86_FALSE='#'
     22222else
     22223  COIN_HAS_HSL_MA86_TRUE='#'
     22224  COIN_HAS_HSL_MA86_FALSE=
     22225fi
     22226
     22227
     22228if test $have_f90 = yes; then
     22229   echo "$as_me:$LINENO: checking for MA97" >&5
     22230echo $ECHO_N "checking for MA97... $ECHO_C" >&6
     22231   if test -r $srcdir/hsl_ma97/hsl_ma97d.f90; then
     22232
     22233cat >>confdefs.h <<\_ACEOF
     22234#define COINHSL_HAS_MA97 1
     22235_ACEOF
     22236
     22237                       coin_has_something=yes
     22238                       coin_has_hsl_ma97=yes
     22239  :
     22240else
     22241  coin_has_hsl_ma97=no
     22242  :
     22243fi
     22244
     22245   echo "$as_me:$LINENO: result: $coin_has_hsl_ma97" >&5
     22246echo "${ECHO_T}$coin_has_hsl_ma97" >&6
     22247else
     22248  coin_has_hsl_ma97=no
     22249fi
     22250
     22251
     22252if test $coin_has_hsl_ma97 = yes; then
     22253  COIN_HAS_HSL_MA97_TRUE=
     22254  COIN_HAS_HSL_MA97_FALSE='#'
     22255else
     22256  COIN_HAS_HSL_MA97_TRUE='#'
     22257  COIN_HAS_HSL_MA97_FALSE=
     22258fi
     22259
     22260
     22261
     22262if test $have_f90 = yes; then
     22263  echo "$as_me:$LINENO: checking for MC68" >&5
     22264echo $ECHO_N "checking for MC68... $ECHO_C" >&6
     22265  if test -r $srcdir/hsl_mc68/C/hsl_mc68i_ciface.f90; then
     22266
     22267cat >>confdefs.h <<\_ACEOF
     22268#define COINHSL_HAS_MC68 1
     22269_ACEOF
     22270
     22271                      coin_has_something=yes
     22272                      coin_has_hsl_mc68=yes
     22273  :
     22274else
     22275  coin_has_hsl_mc68=no
     22276  :
     22277fi
     22278
     22279  echo "$as_me:$LINENO: result: $coin_has_hsl_mc68" >&5
     22280echo "${ECHO_T}$coin_has_hsl_mc68" >&6
     22281else
     22282  coin_has_hsl_mc68=no
     22283fi
     22284
     22285
     22286if test $coin_has_hsl_mc68 = yes; then
     22287  COIN_HAS_HSL_MC68_TRUE=
     22288  COIN_HAS_HSL_MC68_FALSE='#'
     22289else
     22290  COIN_HAS_HSL_MC68_TRUE='#'
     22291  COIN_HAS_HSL_MC68_FALSE=
     22292fi
     22293
     22294
     22295# MA57, MA77, and MA86 require BLAS
     22296if test $coin_has_ma57$coin_has_hsl_ma77$coin_has_hsl_ma86 != nonono ; then
     22297
     22298
     22299# Check whether --with-blas or --without-blas was given.
     22300if test "${with_blas+set}" = set; then
     22301  withval="$with_blas"
     22302  use_blas="$withval"
     22303else
     22304  use_blas=
     22305fi;
     22306
     22307# if user specified --with-blas-lib, then we should give COIN_CHECK_PACKAGE
     22308# preference
     22309
     22310# Check whether --with-blas-lib or --without-blas-lib was given.
     22311if test "${with_blas_lib+set}" = set; then
     22312  withval="$with_blas_lib"
     22313  use_blas=BUILD
     22314fi;
     22315
     22316# Check if user supplied option makes sense
     22317if test x"$use_blas" != x; then
     22318  if test "$use_blas" = "BUILD"; then
     22319    # we come to this later
     22320    :
     22321  elif test "$use_blas" != "no"; then
     22322    echo "$as_me:$LINENO: checking whether user supplied BLASLIB=\"$use_blas\" works" >&5
     22323echo $ECHO_N "checking whether user supplied BLASLIB=\"$use_blas\" works... $ECHO_C" >&6
     22324    coin_need_flibs=no
     22325    coin_save_LIBS="$LIBS"
     22326    LIBS="$use_blas $LIBS"
     22327    case $ac_ext in
     22328  f)
     22329    cat >conftest.$ac_ext <<_ACEOF
     22330/* confdefs.h.  */
     22331_ACEOF
     22332cat confdefs.h >>conftest.$ac_ext
     22333cat >>conftest.$ac_ext <<_ACEOF
     22334/* end confdefs.h.  */
     22335
     22336#ifdef F77_DUMMY_MAIN
     22337
     22338#  ifdef __cplusplus
     22339     extern "C"
     22340#  endif
     22341   int F77_DUMMY_MAIN() { return 1; }
     22342
     22343#endif
     22344int
     22345main ()
     22346{
     22347      call daxpy
     22348  ;
     22349  return 0;
     22350}
     22351_ACEOF
     22352rm -f conftest.$ac_objext conftest$ac_exeext
     22353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22354  (eval $ac_link) 2>conftest.er1
     22355  ac_status=$?
     22356  grep -v '^ *+' conftest.er1 >conftest.err
     22357  rm -f conftest.er1
     22358  cat conftest.err >&5
     22359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22360  (exit $ac_status); } &&
     22361         { ac_try='test -z "$ac_c_werror_flag"
     22362                         || test ! -s conftest.err'
     22363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22364  (eval $ac_try) 2>&5
     22365  ac_status=$?
     22366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22367  (exit $ac_status); }; } &&
     22368         { ac_try='test -s conftest$ac_exeext'
     22369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22370  (eval $ac_try) 2>&5
     22371  ac_status=$?
     22372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22373  (exit $ac_status); }; }; then
     22374  if test $coin_need_flibs = yes ; then
     22375                         use_blas="$use_blas $FLIBS"
     22376                       fi
     22377                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22378echo "${ECHO_T}yes: $use_blas" >&6
     22379else
     22380  echo "$as_me: failed program was:" >&5
     22381sed 's/^/| /' conftest.$ac_ext >&5
     22382
     22383echo "$as_me:$LINENO: result: no" >&5
     22384echo "${ECHO_T}no" >&6
     22385                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22386echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22387   { (exit 1); exit 1; }; }
     22388fi
     22389rm -f conftest.err conftest.$ac_objext \
     22390      conftest$ac_exeext conftest.$ac_ext
     22391    ;;
     22392  c)
     22393    ac_ext=f
     22394ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22395ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22396ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22397case $ac_cv_f77_mangling in
     22398  upper*) ac_val="DAXPY" ;;
     22399  lower*) ac_val="daxpy" ;;
     22400  *)      ac_val="unknown" ;;
     22401esac
     22402case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22403
     22404cfuncdaxpy="$ac_val"
     22405
     22406ac_ext=c
     22407ac_cpp='$CPP $CPPFLAGS'
     22408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22410ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22411
     22412    if test x"$coin_need_flibs" = xyes; then
     22413      flink_try=no;
     22414    else
     22415      cat >conftest.$ac_ext <<_ACEOF
     22416/* confdefs.h.  */
     22417_ACEOF
     22418cat confdefs.h >>conftest.$ac_ext
     22419cat >>conftest.$ac_ext <<_ACEOF
     22420/* end confdefs.h.  */
     22421void $cfuncdaxpy();
     22422#ifdef F77_DUMMY_MAIN
     22423
     22424#  ifdef __cplusplus
     22425     extern "C"
     22426#  endif
     22427   int F77_DUMMY_MAIN() { return 1; }
     22428
     22429#endif
     22430int
     22431main ()
     22432{
     22433$cfuncdaxpy()
     22434  ;
     22435  return 0;
     22436}
     22437_ACEOF
     22438rm -f conftest.$ac_objext conftest$ac_exeext
     22439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22440  (eval $ac_link) 2>conftest.er1
     22441  ac_status=$?
     22442  grep -v '^ *+' conftest.er1 >conftest.err
     22443  rm -f conftest.er1
     22444  cat conftest.err >&5
     22445  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22446  (exit $ac_status); } &&
     22447         { ac_try='test -z "$ac_c_werror_flag"
     22448                         || test ! -s conftest.err'
     22449  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22450  (eval $ac_try) 2>&5
     22451  ac_status=$?
     22452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22453  (exit $ac_status); }; } &&
     22454         { ac_try='test -s conftest$ac_exeext'
     22455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22456  (eval $ac_try) 2>&5
     22457  ac_status=$?
     22458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22459  (exit $ac_status); }; }; then
     22460  flink_try=yes
     22461else
     22462  echo "$as_me: failed program was:" >&5
     22463sed 's/^/| /' conftest.$ac_ext >&5
     22464
     22465flink_try=no
     22466fi
     22467rm -f conftest.err conftest.$ac_objext \
     22468      conftest$ac_exeext conftest.$ac_ext
     22469    fi
     22470    if test $flink_try = yes; then
     22471      if test $coin_need_flibs = yes ; then
     22472                         use_blas="$use_blas $FLIBS"
     22473                       fi
     22474                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22475echo "${ECHO_T}yes: $use_blas" >&6
     22476    else
     22477      if test x"$FLIBS" != x; then
     22478        flink_save_libs="$LIBS"
     22479        LIBS="$LIBS $FLIBS"
     22480        cat >conftest.$ac_ext <<_ACEOF
     22481/* confdefs.h.  */
     22482_ACEOF
     22483cat confdefs.h >>conftest.$ac_ext
     22484cat >>conftest.$ac_ext <<_ACEOF
     22485/* end confdefs.h.  */
     22486void $cfuncdaxpy();
     22487#ifdef F77_DUMMY_MAIN
     22488
     22489#  ifdef __cplusplus
     22490     extern "C"
     22491#  endif
     22492   int F77_DUMMY_MAIN() { return 1; }
     22493
     22494#endif
     22495int
     22496main ()
     22497{
     22498$cfuncdaxpy()
     22499  ;
     22500  return 0;
     22501}
     22502_ACEOF
     22503rm -f conftest.$ac_objext conftest$ac_exeext
     22504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22505  (eval $ac_link) 2>conftest.er1
     22506  ac_status=$?
     22507  grep -v '^ *+' conftest.er1 >conftest.err
     22508  rm -f conftest.er1
     22509  cat conftest.err >&5
     22510  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22511  (exit $ac_status); } &&
     22512         { ac_try='test -z "$ac_c_werror_flag"
     22513                         || test ! -s conftest.err'
     22514  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22515  (eval $ac_try) 2>&5
     22516  ac_status=$?
     22517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22518  (exit $ac_status); }; } &&
     22519         { ac_try='test -s conftest$ac_exeext'
     22520  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22521  (eval $ac_try) 2>&5
     22522  ac_status=$?
     22523  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22524  (exit $ac_status); }; }; then
     22525  LIBS="$flink_save_libs"
     22526                     coin_need_flibs=yes
     22527                     if test $coin_need_flibs = yes ; then
     22528                         use_blas="$use_blas $FLIBS"
     22529                       fi
     22530                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22531echo "${ECHO_T}yes: $use_blas" >&6
     22532
     22533else
     22534  echo "$as_me: failed program was:" >&5
     22535sed 's/^/| /' conftest.$ac_ext >&5
     22536
     22537LIBS="$flink_save_libs"
     22538                     echo "$as_me:$LINENO: result: no" >&5
     22539echo "${ECHO_T}no" >&6
     22540                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22541echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22542   { (exit 1); exit 1; }; }
     22543fi
     22544rm -f conftest.err conftest.$ac_objext \
     22545      conftest$ac_exeext conftest.$ac_ext
     22546      else
     22547        echo "$as_me:$LINENO: result: no" >&5
     22548echo "${ECHO_T}no" >&6
     22549                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22550echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22551   { (exit 1); exit 1; }; }
     22552      fi
     22553    fi
     22554    ;;
     22555  cc|cpp)
     22556    ac_ext=f
     22557ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22558ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22559ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22560case $ac_cv_f77_mangling in
     22561  upper*) ac_val="DAXPY" ;;
     22562  lower*) ac_val="daxpy" ;;
     22563  *)      ac_val="unknown" ;;
     22564esac
     22565case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22566
     22567cfuncdaxpy="$ac_val"
     22568
     22569ac_ext=c
     22570ac_cpp='$CPP $CPPFLAGS'
     22571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22573ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22574
     22575    if test x"$coin_need_flibs" = xyes; then
     22576      flink_try=no;
     22577    else
     22578      cat >conftest.$ac_ext <<_ACEOF
     22579/* confdefs.h.  */
     22580_ACEOF
     22581cat confdefs.h >>conftest.$ac_ext
     22582cat >>conftest.$ac_ext <<_ACEOF
     22583/* end confdefs.h.  */
     22584extern "C" {void $cfuncdaxpy();}
     22585#ifdef F77_DUMMY_MAIN
     22586
     22587#  ifdef __cplusplus
     22588     extern "C"
     22589#  endif
     22590   int F77_DUMMY_MAIN() { return 1; }
     22591
     22592#endif
     22593int
     22594main ()
     22595{
     22596$cfuncdaxpy()
     22597  ;
     22598  return 0;
     22599}
     22600_ACEOF
     22601rm -f conftest.$ac_objext conftest$ac_exeext
     22602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22603  (eval $ac_link) 2>conftest.er1
     22604  ac_status=$?
     22605  grep -v '^ *+' conftest.er1 >conftest.err
     22606  rm -f conftest.er1
     22607  cat conftest.err >&5
     22608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22609  (exit $ac_status); } &&
     22610         { ac_try='test -z "$ac_c_werror_flag"
     22611                         || test ! -s conftest.err'
     22612  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22613  (eval $ac_try) 2>&5
     22614  ac_status=$?
     22615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22616  (exit $ac_status); }; } &&
     22617         { ac_try='test -s conftest$ac_exeext'
     22618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22619  (eval $ac_try) 2>&5
     22620  ac_status=$?
     22621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22622  (exit $ac_status); }; }; then
     22623  flink_try=yes
     22624else
     22625  echo "$as_me: failed program was:" >&5
     22626sed 's/^/| /' conftest.$ac_ext >&5
     22627
     22628flink_try=no
     22629fi
     22630rm -f conftest.err conftest.$ac_objext \
     22631      conftest$ac_exeext conftest.$ac_ext
     22632    fi
     22633    if test $flink_try = yes; then
     22634      if test $coin_need_flibs = yes ; then
     22635                         use_blas="$use_blas $FLIBS"
     22636                       fi
     22637                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22638echo "${ECHO_T}yes: $use_blas" >&6
     22639    else
     22640      if test x"$FLIBS" != x; then
     22641        flink_save_libs="$LIBS"
     22642        LIBS="$LIBS $FLIBS"
     22643        cat >conftest.$ac_ext <<_ACEOF
     22644/* confdefs.h.  */
     22645_ACEOF
     22646cat confdefs.h >>conftest.$ac_ext
     22647cat >>conftest.$ac_ext <<_ACEOF
     22648/* end confdefs.h.  */
     22649extern "C" {void $cfuncdaxpy();}
     22650#ifdef F77_DUMMY_MAIN
     22651
     22652#  ifdef __cplusplus
     22653     extern "C"
     22654#  endif
     22655   int F77_DUMMY_MAIN() { return 1; }
     22656
     22657#endif
     22658int
     22659main ()
     22660{
     22661$cfuncdaxpy()
     22662  ;
     22663  return 0;
     22664}
     22665_ACEOF
     22666rm -f conftest.$ac_objext conftest$ac_exeext
     22667if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22668  (eval $ac_link) 2>conftest.er1
     22669  ac_status=$?
     22670  grep -v '^ *+' conftest.er1 >conftest.err
     22671  rm -f conftest.er1
     22672  cat conftest.err >&5
     22673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22674  (exit $ac_status); } &&
     22675         { ac_try='test -z "$ac_c_werror_flag"
     22676                         || test ! -s conftest.err'
     22677  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22678  (eval $ac_try) 2>&5
     22679  ac_status=$?
     22680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22681  (exit $ac_status); }; } &&
     22682         { ac_try='test -s conftest$ac_exeext'
     22683  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22684  (eval $ac_try) 2>&5
     22685  ac_status=$?
     22686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22687  (exit $ac_status); }; }; then
     22688  LIBS="$flink_save_libs"
     22689                     coin_need_flibs=yes
     22690                     if test $coin_need_flibs = yes ; then
     22691                         use_blas="$use_blas $FLIBS"
     22692                       fi
     22693                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22694echo "${ECHO_T}yes: $use_blas" >&6
     22695
     22696else
     22697  echo "$as_me: failed program was:" >&5
     22698sed 's/^/| /' conftest.$ac_ext >&5
     22699
     22700LIBS="$flink_save_libs"
     22701                     echo "$as_me:$LINENO: result: no" >&5
     22702echo "${ECHO_T}no" >&6
     22703                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22704echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22705   { (exit 1); exit 1; }; }
     22706fi
     22707rm -f conftest.err conftest.$ac_objext \
     22708      conftest$ac_exeext conftest.$ac_ext
     22709      else
     22710        echo "$as_me:$LINENO: result: no" >&5
     22711echo "${ECHO_T}no" >&6
     22712                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22713echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22714   { (exit 1); exit 1; }; }
     22715      fi
     22716    fi
     22717    ;;
     22718esac
     22719
     22720    LIBS="$coin_save_LIBS"
     22721  fi
     22722else
     22723# Try to autodetect the library for blas based on build system
     22724  #AC_MSG_CHECKING([default locations for BLAS])
     22725  skip_lblas_check=no
     22726  case $build in
     22727    *-sgi-*)
     22728      echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has BLAS" >&5
     22729echo $ECHO_N "checking whether -lcomplib.sgimath has BLAS... $ECHO_C" >&6
     22730      coin_need_flibs=no
     22731      coin_save_LIBS="$LIBS"
     22732      LIBS="-lcomplib.sgimath $LIBS"
     22733      case $ac_ext in
     22734  f)
     22735    cat >conftest.$ac_ext <<_ACEOF
     22736/* confdefs.h.  */
     22737_ACEOF
     22738cat confdefs.h >>conftest.$ac_ext
     22739cat >>conftest.$ac_ext <<_ACEOF
     22740/* end confdefs.h.  */
     22741
     22742#ifdef F77_DUMMY_MAIN
     22743
     22744#  ifdef __cplusplus
     22745     extern "C"
     22746#  endif
     22747   int F77_DUMMY_MAIN() { return 1; }
     22748
     22749#endif
     22750int
     22751main ()
     22752{
     22753      call daxpy
     22754  ;
     22755  return 0;
     22756}
     22757_ACEOF
     22758rm -f conftest.$ac_objext conftest$ac_exeext
     22759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22760  (eval $ac_link) 2>conftest.er1
     22761  ac_status=$?
     22762  grep -v '^ *+' conftest.er1 >conftest.err
     22763  rm -f conftest.er1
     22764  cat conftest.err >&5
     22765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22766  (exit $ac_status); } &&
     22767         { ac_try='test -z "$ac_c_werror_flag"
     22768                         || test ! -s conftest.err'
     22769  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22770  (eval $ac_try) 2>&5
     22771  ac_status=$?
     22772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22773  (exit $ac_status); }; } &&
     22774         { ac_try='test -s conftest$ac_exeext'
     22775  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22776  (eval $ac_try) 2>&5
     22777  ac_status=$?
     22778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22779  (exit $ac_status); }; }; then
     22780  use_blas="-lcomplib.sgimath"
     22781                         if test $coin_need_flibs = yes ; then
     22782                           use_blas="$use_blas $FLIBS"
     22783                         fi
     22784                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22785echo "${ECHO_T}yes: $use_blas" >&6
     22786
     22787else
     22788  echo "$as_me: failed program was:" >&5
     22789sed 's/^/| /' conftest.$ac_ext >&5
     22790
     22791echo "$as_me:$LINENO: result: no" >&5
     22792echo "${ECHO_T}no" >&6
     22793fi
     22794rm -f conftest.err conftest.$ac_objext \
     22795      conftest$ac_exeext conftest.$ac_ext
     22796    ;;
     22797  c)
     22798    ac_ext=f
     22799ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22800ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22801ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22802case $ac_cv_f77_mangling in
     22803  upper*) ac_val="DAXPY" ;;
     22804  lower*) ac_val="daxpy" ;;
     22805  *)      ac_val="unknown" ;;
     22806esac
     22807case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22808
     22809cfuncdaxpy="$ac_val"
     22810
     22811ac_ext=c
     22812ac_cpp='$CPP $CPPFLAGS'
     22813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22815ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22816
     22817    if test x"$coin_need_flibs" = xyes; then
     22818      flink_try=no;
     22819    else
     22820      cat >conftest.$ac_ext <<_ACEOF
     22821/* confdefs.h.  */
     22822_ACEOF
     22823cat confdefs.h >>conftest.$ac_ext
     22824cat >>conftest.$ac_ext <<_ACEOF
     22825/* end confdefs.h.  */
     22826void $cfuncdaxpy();
     22827#ifdef F77_DUMMY_MAIN
     22828
     22829#  ifdef __cplusplus
     22830     extern "C"
     22831#  endif
     22832   int F77_DUMMY_MAIN() { return 1; }
     22833
     22834#endif
     22835int
     22836main ()
     22837{
     22838$cfuncdaxpy()
     22839  ;
     22840  return 0;
     22841}
     22842_ACEOF
     22843rm -f conftest.$ac_objext conftest$ac_exeext
     22844if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22845  (eval $ac_link) 2>conftest.er1
     22846  ac_status=$?
     22847  grep -v '^ *+' conftest.er1 >conftest.err
     22848  rm -f conftest.er1
     22849  cat conftest.err >&5
     22850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22851  (exit $ac_status); } &&
     22852         { ac_try='test -z "$ac_c_werror_flag"
     22853                         || test ! -s conftest.err'
     22854  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22855  (eval $ac_try) 2>&5
     22856  ac_status=$?
     22857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22858  (exit $ac_status); }; } &&
     22859         { ac_try='test -s conftest$ac_exeext'
     22860  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22861  (eval $ac_try) 2>&5
     22862  ac_status=$?
     22863  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22864  (exit $ac_status); }; }; then
     22865  flink_try=yes
     22866else
     22867  echo "$as_me: failed program was:" >&5
     22868sed 's/^/| /' conftest.$ac_ext >&5
     22869
     22870flink_try=no
     22871fi
     22872rm -f conftest.err conftest.$ac_objext \
     22873      conftest$ac_exeext conftest.$ac_ext
     22874    fi
     22875    if test $flink_try = yes; then
     22876      use_blas="-lcomplib.sgimath"
     22877                         if test $coin_need_flibs = yes ; then
     22878                           use_blas="$use_blas $FLIBS"
     22879                         fi
     22880                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22881echo "${ECHO_T}yes: $use_blas" >&6
     22882
     22883    else
     22884      if test x"$FLIBS" != x; then
     22885        flink_save_libs="$LIBS"
     22886        LIBS="$LIBS $FLIBS"
     22887        cat >conftest.$ac_ext <<_ACEOF
     22888/* confdefs.h.  */
     22889_ACEOF
     22890cat confdefs.h >>conftest.$ac_ext
     22891cat >>conftest.$ac_ext <<_ACEOF
     22892/* end confdefs.h.  */
     22893void $cfuncdaxpy();
     22894#ifdef F77_DUMMY_MAIN
     22895
     22896#  ifdef __cplusplus
     22897     extern "C"
     22898#  endif
     22899   int F77_DUMMY_MAIN() { return 1; }
     22900
     22901#endif
     22902int
     22903main ()
     22904{
     22905$cfuncdaxpy()
     22906  ;
     22907  return 0;
     22908}
     22909_ACEOF
     22910rm -f conftest.$ac_objext conftest$ac_exeext
     22911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     22912  (eval $ac_link) 2>conftest.er1
     22913  ac_status=$?
     22914  grep -v '^ *+' conftest.er1 >conftest.err
     22915  rm -f conftest.er1
     22916  cat conftest.err >&5
     22917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22918  (exit $ac_status); } &&
     22919         { ac_try='test -z "$ac_c_werror_flag"
     22920                         || test ! -s conftest.err'
     22921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22922  (eval $ac_try) 2>&5
     22923  ac_status=$?
     22924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22925  (exit $ac_status); }; } &&
     22926         { ac_try='test -s conftest$ac_exeext'
     22927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     22928  (eval $ac_try) 2>&5
     22929  ac_status=$?
     22930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     22931  (exit $ac_status); }; }; then
     22932  LIBS="$flink_save_libs"
     22933                     coin_need_flibs=yes
     22934                     use_blas="-lcomplib.sgimath"
     22935                         if test $coin_need_flibs = yes ; then
     22936                           use_blas="$use_blas $FLIBS"
     22937                         fi
     22938                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     22939echo "${ECHO_T}yes: $use_blas" >&6
     22940
     22941
     22942else
     22943  echo "$as_me: failed program was:" >&5
     22944sed 's/^/| /' conftest.$ac_ext >&5
     22945
     22946LIBS="$flink_save_libs"
     22947                     echo "$as_me:$LINENO: result: no" >&5
     22948echo "${ECHO_T}no" >&6
     22949fi
     22950rm -f conftest.err conftest.$ac_objext \
     22951      conftest$ac_exeext conftest.$ac_ext
     22952      else
     22953        echo "$as_me:$LINENO: result: no" >&5
     22954echo "${ECHO_T}no" >&6
     22955      fi
     22956    fi
     22957    ;;
     22958  cc|cpp)
     22959    ac_ext=f
     22960ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22961ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22962ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22963case $ac_cv_f77_mangling in
     22964  upper*) ac_val="DAXPY" ;;
     22965  lower*) ac_val="daxpy" ;;
     22966  *)      ac_val="unknown" ;;
     22967esac
     22968case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22969
     22970cfuncdaxpy="$ac_val"
     22971
     22972ac_ext=c
     22973ac_cpp='$CPP $CPPFLAGS'
     22974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22976ac_compiler_gnu=$ac_cv_c_compiler_gnu
     22977
     22978    if test x"$coin_need_flibs" = xyes; then
     22979      flink_try=no;
     22980    else
     22981      cat >conftest.$ac_ext <<_ACEOF
     22982/* confdefs.h.  */
     22983_ACEOF
     22984cat confdefs.h >>conftest.$ac_ext
     22985cat >>conftest.$ac_ext <<_ACEOF
     22986/* end confdefs.h.  */
     22987extern "C" {void $cfuncdaxpy();}
     22988#ifdef F77_DUMMY_MAIN
     22989
     22990#  ifdef __cplusplus
     22991     extern "C"
     22992#  endif
     22993   int F77_DUMMY_MAIN() { return 1; }
     22994
     22995#endif
     22996int
     22997main ()
     22998{
     22999$cfuncdaxpy()
     23000  ;
     23001  return 0;
     23002}
     23003_ACEOF
     23004rm -f conftest.$ac_objext conftest$ac_exeext
     23005if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23006  (eval $ac_link) 2>conftest.er1
     23007  ac_status=$?
     23008  grep -v '^ *+' conftest.er1 >conftest.err
     23009  rm -f conftest.er1
     23010  cat conftest.err >&5
     23011  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23012  (exit $ac_status); } &&
     23013         { ac_try='test -z "$ac_c_werror_flag"
     23014                         || test ! -s conftest.err'
     23015  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23016  (eval $ac_try) 2>&5
     23017  ac_status=$?
     23018  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23019  (exit $ac_status); }; } &&
     23020         { ac_try='test -s conftest$ac_exeext'
     23021  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23022  (eval $ac_try) 2>&5
     23023  ac_status=$?
     23024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23025  (exit $ac_status); }; }; then
     23026  flink_try=yes
     23027else
     23028  echo "$as_me: failed program was:" >&5
     23029sed 's/^/| /' conftest.$ac_ext >&5
     23030
     23031flink_try=no
     23032fi
     23033rm -f conftest.err conftest.$ac_objext \
     23034      conftest$ac_exeext conftest.$ac_ext
     23035    fi
     23036    if test $flink_try = yes; then
     23037      use_blas="-lcomplib.sgimath"
     23038                         if test $coin_need_flibs = yes ; then
     23039                           use_blas="$use_blas $FLIBS"
     23040                         fi
     23041                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23042echo "${ECHO_T}yes: $use_blas" >&6
     23043
     23044    else
     23045      if test x"$FLIBS" != x; then
     23046        flink_save_libs="$LIBS"
     23047        LIBS="$LIBS $FLIBS"
     23048        cat >conftest.$ac_ext <<_ACEOF
     23049/* confdefs.h.  */
     23050_ACEOF
     23051cat confdefs.h >>conftest.$ac_ext
     23052cat >>conftest.$ac_ext <<_ACEOF
     23053/* end confdefs.h.  */
     23054extern "C" {void $cfuncdaxpy();}
     23055#ifdef F77_DUMMY_MAIN
     23056
     23057#  ifdef __cplusplus
     23058     extern "C"
     23059#  endif
     23060   int F77_DUMMY_MAIN() { return 1; }
     23061
     23062#endif
     23063int
     23064main ()
     23065{
     23066$cfuncdaxpy()
     23067  ;
     23068  return 0;
     23069}
     23070_ACEOF
     23071rm -f conftest.$ac_objext conftest$ac_exeext
     23072if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23073  (eval $ac_link) 2>conftest.er1
     23074  ac_status=$?
     23075  grep -v '^ *+' conftest.er1 >conftest.err
     23076  rm -f conftest.er1
     23077  cat conftest.err >&5
     23078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23079  (exit $ac_status); } &&
     23080         { ac_try='test -z "$ac_c_werror_flag"
     23081                         || test ! -s conftest.err'
     23082  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23083  (eval $ac_try) 2>&5
     23084  ac_status=$?
     23085  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23086  (exit $ac_status); }; } &&
     23087         { ac_try='test -s conftest$ac_exeext'
     23088  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23089  (eval $ac_try) 2>&5
     23090  ac_status=$?
     23091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23092  (exit $ac_status); }; }; then
     23093  LIBS="$flink_save_libs"
     23094                     coin_need_flibs=yes
     23095                     use_blas="-lcomplib.sgimath"
     23096                         if test $coin_need_flibs = yes ; then
     23097                           use_blas="$use_blas $FLIBS"
     23098                         fi
     23099                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23100echo "${ECHO_T}yes: $use_blas" >&6
     23101
     23102
     23103else
     23104  echo "$as_me: failed program was:" >&5
     23105sed 's/^/| /' conftest.$ac_ext >&5
     23106
     23107LIBS="$flink_save_libs"
     23108                     echo "$as_me:$LINENO: result: no" >&5
     23109echo "${ECHO_T}no" >&6
     23110fi
     23111rm -f conftest.err conftest.$ac_objext \
     23112      conftest$ac_exeext conftest.$ac_ext
     23113      else
     23114        echo "$as_me:$LINENO: result: no" >&5
     23115echo "${ECHO_T}no" >&6
     23116      fi
     23117    fi
     23118    ;;
     23119esac
     23120
     23121      LIBS="$coin_save_LIBS"
     23122      ;;
     23123
     23124# Ideally, we'd use -library=sunperf, but it's an imperfect world. Studio
     23125# cc doesn't recognise -library, it wants -xlic_lib. Studio 12 CC doesn't
     23126# recognise -xlic_lib. Libtool doesn't like -xlic_lib anyway. Sun claims
     23127# that CC and cc will understand -library in Studio 13. The main extra
     23128# function of -xlic_lib and -library is to arrange for the Fortran run-time
     23129# libraries to be linked for C++ and C. We can arrange that explicitly.
     23130    *-*-solaris*)
     23131      echo "$as_me:$LINENO: checking for BLAS in libsunperf" >&5
     23132echo $ECHO_N "checking for BLAS in libsunperf... $ECHO_C" >&6
     23133      coin_need_flibs=no
     23134      coin_save_LIBS="$LIBS"
     23135      LIBS="-lsunperf $FLIBS $LIBS"
     23136      case $ac_ext in
     23137  f)
     23138    cat >conftest.$ac_ext <<_ACEOF
     23139/* confdefs.h.  */
     23140_ACEOF
     23141cat confdefs.h >>conftest.$ac_ext
     23142cat >>conftest.$ac_ext <<_ACEOF
     23143/* end confdefs.h.  */
     23144
     23145#ifdef F77_DUMMY_MAIN
     23146
     23147#  ifdef __cplusplus
     23148     extern "C"
     23149#  endif
     23150   int F77_DUMMY_MAIN() { return 1; }
     23151
     23152#endif
     23153int
     23154main ()
     23155{
     23156      call daxpy
     23157  ;
     23158  return 0;
     23159}
     23160_ACEOF
     23161rm -f conftest.$ac_objext conftest$ac_exeext
     23162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23163  (eval $ac_link) 2>conftest.er1
     23164  ac_status=$?
     23165  grep -v '^ *+' conftest.er1 >conftest.err
     23166  rm -f conftest.er1
     23167  cat conftest.err >&5
     23168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23169  (exit $ac_status); } &&
     23170         { ac_try='test -z "$ac_c_werror_flag"
     23171                         || test ! -s conftest.err'
     23172  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23173  (eval $ac_try) 2>&5
     23174  ac_status=$?
     23175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23176  (exit $ac_status); }; } &&
     23177         { ac_try='test -s conftest$ac_exeext'
     23178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23179  (eval $ac_try) 2>&5
     23180  ac_status=$?
     23181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23182  (exit $ac_status); }; }; then
     23183  use_blas='-lsunperf'
     23184                         if test $coin_need_flibs = yes ; then
     23185                           use_blas="$use_blas $FLIBS"
     23186                         fi
     23187                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23188echo "${ECHO_T}yes: $use_blas" >&6
     23189
     23190else
     23191  echo "$as_me: failed program was:" >&5
     23192sed 's/^/| /' conftest.$ac_ext >&5
     23193
     23194echo "$as_me:$LINENO: result: no" >&5
     23195echo "${ECHO_T}no" >&6
     23196fi
     23197rm -f conftest.err conftest.$ac_objext \
     23198      conftest$ac_exeext conftest.$ac_ext
     23199    ;;
     23200  c)
     23201    ac_ext=f
     23202ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23203ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23204ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23205case $ac_cv_f77_mangling in
     23206  upper*) ac_val="DAXPY" ;;
     23207  lower*) ac_val="daxpy" ;;
     23208  *)      ac_val="unknown" ;;
     23209esac
     23210case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23211
     23212cfuncdaxpy="$ac_val"
     23213
     23214ac_ext=c
     23215ac_cpp='$CPP $CPPFLAGS'
     23216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23218ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23219
     23220    if test x"$coin_need_flibs" = xyes; then
     23221      flink_try=no;
     23222    else
     23223      cat >conftest.$ac_ext <<_ACEOF
     23224/* confdefs.h.  */
     23225_ACEOF
     23226cat confdefs.h >>conftest.$ac_ext
     23227cat >>conftest.$ac_ext <<_ACEOF
     23228/* end confdefs.h.  */
     23229void $cfuncdaxpy();
     23230#ifdef F77_DUMMY_MAIN
     23231
     23232#  ifdef __cplusplus
     23233     extern "C"
     23234#  endif
     23235   int F77_DUMMY_MAIN() { return 1; }
     23236
     23237#endif
     23238int
     23239main ()
     23240{
     23241$cfuncdaxpy()
     23242  ;
     23243  return 0;
     23244}
     23245_ACEOF
     23246rm -f conftest.$ac_objext conftest$ac_exeext
     23247if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23248  (eval $ac_link) 2>conftest.er1
     23249  ac_status=$?
     23250  grep -v '^ *+' conftest.er1 >conftest.err
     23251  rm -f conftest.er1
     23252  cat conftest.err >&5
     23253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23254  (exit $ac_status); } &&
     23255         { ac_try='test -z "$ac_c_werror_flag"
     23256                         || test ! -s conftest.err'
     23257  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23258  (eval $ac_try) 2>&5
     23259  ac_status=$?
     23260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23261  (exit $ac_status); }; } &&
     23262         { ac_try='test -s conftest$ac_exeext'
     23263  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23264  (eval $ac_try) 2>&5
     23265  ac_status=$?
     23266  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23267  (exit $ac_status); }; }; then
     23268  flink_try=yes
     23269else
     23270  echo "$as_me: failed program was:" >&5
     23271sed 's/^/| /' conftest.$ac_ext >&5
     23272
     23273flink_try=no
     23274fi
     23275rm -f conftest.err conftest.$ac_objext \
     23276      conftest$ac_exeext conftest.$ac_ext
     23277    fi
     23278    if test $flink_try = yes; then
     23279      use_blas='-lsunperf'
     23280                         if test $coin_need_flibs = yes ; then
     23281                           use_blas="$use_blas $FLIBS"
     23282                         fi
     23283                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23284echo "${ECHO_T}yes: $use_blas" >&6
     23285
     23286    else
     23287      if test x"$FLIBS" != x; then
     23288        flink_save_libs="$LIBS"
     23289        LIBS="$LIBS $FLIBS"
     23290        cat >conftest.$ac_ext <<_ACEOF
     23291/* confdefs.h.  */
     23292_ACEOF
     23293cat confdefs.h >>conftest.$ac_ext
     23294cat >>conftest.$ac_ext <<_ACEOF
     23295/* end confdefs.h.  */
     23296void $cfuncdaxpy();
     23297#ifdef F77_DUMMY_MAIN
     23298
     23299#  ifdef __cplusplus
     23300     extern "C"
     23301#  endif
     23302   int F77_DUMMY_MAIN() { return 1; }
     23303
     23304#endif
     23305int
     23306main ()
     23307{
     23308$cfuncdaxpy()
     23309  ;
     23310  return 0;
     23311}
     23312_ACEOF
     23313rm -f conftest.$ac_objext conftest$ac_exeext
     23314if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23315  (eval $ac_link) 2>conftest.er1
     23316  ac_status=$?
     23317  grep -v '^ *+' conftest.er1 >conftest.err
     23318  rm -f conftest.er1
     23319  cat conftest.err >&5
     23320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23321  (exit $ac_status); } &&
     23322         { ac_try='test -z "$ac_c_werror_flag"
     23323                         || test ! -s conftest.err'
     23324  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23325  (eval $ac_try) 2>&5
     23326  ac_status=$?
     23327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23328  (exit $ac_status); }; } &&
     23329         { ac_try='test -s conftest$ac_exeext'
     23330  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23331  (eval $ac_try) 2>&5
     23332  ac_status=$?
     23333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23334  (exit $ac_status); }; }; then
     23335  LIBS="$flink_save_libs"
     23336                     coin_need_flibs=yes
     23337                     use_blas='-lsunperf'
     23338                         if test $coin_need_flibs = yes ; then
     23339                           use_blas="$use_blas $FLIBS"
     23340                         fi
     23341                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23342echo "${ECHO_T}yes: $use_blas" >&6
     23343
     23344
     23345else
     23346  echo "$as_me: failed program was:" >&5
     23347sed 's/^/| /' conftest.$ac_ext >&5
     23348
     23349LIBS="$flink_save_libs"
     23350                     echo "$as_me:$LINENO: result: no" >&5
     23351echo "${ECHO_T}no" >&6
     23352fi
     23353rm -f conftest.err conftest.$ac_objext \
     23354      conftest$ac_exeext conftest.$ac_ext
     23355      else
     23356        echo "$as_me:$LINENO: result: no" >&5
     23357echo "${ECHO_T}no" >&6
     23358      fi
     23359    fi
     23360    ;;
     23361  cc|cpp)
     23362    ac_ext=f
     23363ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23364ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23365ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23366case $ac_cv_f77_mangling in
     23367  upper*) ac_val="DAXPY" ;;
     23368  lower*) ac_val="daxpy" ;;
     23369  *)      ac_val="unknown" ;;
     23370esac
     23371case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23372
     23373cfuncdaxpy="$ac_val"
     23374
     23375ac_ext=c
     23376ac_cpp='$CPP $CPPFLAGS'
     23377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23379ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23380
     23381    if test x"$coin_need_flibs" = xyes; then
     23382      flink_try=no;
     23383    else
     23384      cat >conftest.$ac_ext <<_ACEOF
     23385/* confdefs.h.  */
     23386_ACEOF
     23387cat confdefs.h >>conftest.$ac_ext
     23388cat >>conftest.$ac_ext <<_ACEOF
     23389/* end confdefs.h.  */
     23390extern "C" {void $cfuncdaxpy();}
     23391#ifdef F77_DUMMY_MAIN
     23392
     23393#  ifdef __cplusplus
     23394     extern "C"
     23395#  endif
     23396   int F77_DUMMY_MAIN() { return 1; }
     23397
     23398#endif
     23399int
     23400main ()
     23401{
     23402$cfuncdaxpy()
     23403  ;
     23404  return 0;
     23405}
     23406_ACEOF
     23407rm -f conftest.$ac_objext conftest$ac_exeext
     23408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23409  (eval $ac_link) 2>conftest.er1
     23410  ac_status=$?
     23411  grep -v '^ *+' conftest.er1 >conftest.err
     23412  rm -f conftest.er1
     23413  cat conftest.err >&5
     23414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23415  (exit $ac_status); } &&
     23416         { ac_try='test -z "$ac_c_werror_flag"
     23417                         || test ! -s conftest.err'
     23418  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23419  (eval $ac_try) 2>&5
     23420  ac_status=$?
     23421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23422  (exit $ac_status); }; } &&
     23423         { ac_try='test -s conftest$ac_exeext'
     23424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23425  (eval $ac_try) 2>&5
     23426  ac_status=$?
     23427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23428  (exit $ac_status); }; }; then
     23429  flink_try=yes
     23430else
     23431  echo "$as_me: failed program was:" >&5
     23432sed 's/^/| /' conftest.$ac_ext >&5
     23433
     23434flink_try=no
     23435fi
     23436rm -f conftest.err conftest.$ac_objext \
     23437      conftest$ac_exeext conftest.$ac_ext
     23438    fi
     23439    if test $flink_try = yes; then
     23440      use_blas='-lsunperf'
     23441                         if test $coin_need_flibs = yes ; then
     23442                           use_blas="$use_blas $FLIBS"
     23443                         fi
     23444                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23445echo "${ECHO_T}yes: $use_blas" >&6
     23446
     23447    else
     23448      if test x"$FLIBS" != x; then
     23449        flink_save_libs="$LIBS"
     23450        LIBS="$LIBS $FLIBS"
     23451        cat >conftest.$ac_ext <<_ACEOF
     23452/* confdefs.h.  */
     23453_ACEOF
     23454cat confdefs.h >>conftest.$ac_ext
     23455cat >>conftest.$ac_ext <<_ACEOF
     23456/* end confdefs.h.  */
     23457extern "C" {void $cfuncdaxpy();}
     23458#ifdef F77_DUMMY_MAIN
     23459
     23460#  ifdef __cplusplus
     23461     extern "C"
     23462#  endif
     23463   int F77_DUMMY_MAIN() { return 1; }
     23464
     23465#endif
     23466int
     23467main ()
     23468{
     23469$cfuncdaxpy()
     23470  ;
     23471  return 0;
     23472}
     23473_ACEOF
     23474rm -f conftest.$ac_objext conftest$ac_exeext
     23475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23476  (eval $ac_link) 2>conftest.er1
     23477  ac_status=$?
     23478  grep -v '^ *+' conftest.er1 >conftest.err
     23479  rm -f conftest.er1
     23480  cat conftest.err >&5
     23481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23482  (exit $ac_status); } &&
     23483         { ac_try='test -z "$ac_c_werror_flag"
     23484                         || test ! -s conftest.err'
     23485  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23486  (eval $ac_try) 2>&5
     23487  ac_status=$?
     23488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23489  (exit $ac_status); }; } &&
     23490         { ac_try='test -s conftest$ac_exeext'
     23491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23492  (eval $ac_try) 2>&5
     23493  ac_status=$?
     23494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23495  (exit $ac_status); }; }; then
     23496  LIBS="$flink_save_libs"
     23497                     coin_need_flibs=yes
     23498                     use_blas='-lsunperf'
     23499                         if test $coin_need_flibs = yes ; then
     23500                           use_blas="$use_blas $FLIBS"
     23501                         fi
     23502                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23503echo "${ECHO_T}yes: $use_blas" >&6
     23504
     23505
     23506else
     23507  echo "$as_me: failed program was:" >&5
     23508sed 's/^/| /' conftest.$ac_ext >&5
     23509
     23510LIBS="$flink_save_libs"
     23511                     echo "$as_me:$LINENO: result: no" >&5
     23512echo "${ECHO_T}no" >&6
     23513fi
     23514rm -f conftest.err conftest.$ac_objext \
     23515      conftest$ac_exeext conftest.$ac_ext
     23516      else
     23517        echo "$as_me:$LINENO: result: no" >&5
     23518echo "${ECHO_T}no" >&6
     23519      fi
     23520    fi
     23521    ;;
     23522esac
     23523
     23524      LIBS="$coin_save_LIBS"
     23525      ;;
     23526
     23527    *-cygwin* | *-mingw*)
     23528# On cygwin, consider -lblas only if doscompile is disabled. The prebuilt
     23529# library will want to link with cygwin, hence won't run standalone in DOS.
     23530      if test "$enable_doscompile" = mingw; then
     23531        skip_lblas_check=yes
     23532      fi
     23533      case "$CC" in
     23534        cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     23535          coin_save_LIBS="$LIBS"
     23536          echo "$as_me:$LINENO: checking for BLAS in MKL (32bit)" >&5
     23537echo $ECHO_N "checking for BLAS in MKL (32bit)... $ECHO_C" >&6
     23538          LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
     23539          case $ac_ext in
     23540  f)
     23541    cat >conftest.$ac_ext <<_ACEOF
     23542/* confdefs.h.  */
     23543_ACEOF
     23544cat confdefs.h >>conftest.$ac_ext
     23545cat >>conftest.$ac_ext <<_ACEOF
     23546/* end confdefs.h.  */
     23547
     23548#ifdef F77_DUMMY_MAIN
     23549
     23550#  ifdef __cplusplus
     23551     extern "C"
     23552#  endif
     23553   int F77_DUMMY_MAIN() { return 1; }
     23554
     23555#endif
     23556int
     23557main ()
     23558{
     23559      call daxpy
     23560  ;
     23561  return 0;
     23562}
     23563_ACEOF
     23564rm -f conftest.$ac_objext conftest$ac_exeext
     23565if { (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  use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     23587                             echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23588echo "${ECHO_T}yes: $use_blas" >&6
     23589
     23590else
     23591  echo "$as_me: failed program was:" >&5
     23592sed 's/^/| /' conftest.$ac_ext >&5
     23593
     23594echo "$as_me:$LINENO: result: no" >&5
     23595echo "${ECHO_T}no" >&6
     23596fi
     23597rm -f conftest.err conftest.$ac_objext \
     23598      conftest$ac_exeext conftest.$ac_ext
     23599    ;;
     23600  c)
     23601    ac_ext=f
     23602ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23603ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23604ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23605case $ac_cv_f77_mangling in
     23606  upper*) ac_val="DAXPY" ;;
     23607  lower*) ac_val="daxpy" ;;
     23608  *)      ac_val="unknown" ;;
     23609esac
     23610case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23611
     23612cfuncdaxpy="$ac_val"
     23613
     23614ac_ext=c
     23615ac_cpp='$CPP $CPPFLAGS'
     23616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23618ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23619
     23620    if test x"$coin_need_flibs" = xyes; then
     23621      flink_try=no;
     23622    else
     23623      cat >conftest.$ac_ext <<_ACEOF
     23624/* confdefs.h.  */
     23625_ACEOF
     23626cat confdefs.h >>conftest.$ac_ext
     23627cat >>conftest.$ac_ext <<_ACEOF
     23628/* end confdefs.h.  */
     23629void $cfuncdaxpy();
     23630#ifdef F77_DUMMY_MAIN
     23631
     23632#  ifdef __cplusplus
     23633     extern "C"
     23634#  endif
     23635   int F77_DUMMY_MAIN() { return 1; }
     23636
     23637#endif
     23638int
     23639main ()
     23640{
     23641$cfuncdaxpy()
     23642  ;
     23643  return 0;
     23644}
     23645_ACEOF
     23646rm -f conftest.$ac_objext conftest$ac_exeext
     23647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23648  (eval $ac_link) 2>conftest.er1
     23649  ac_status=$?
     23650  grep -v '^ *+' conftest.er1 >conftest.err
     23651  rm -f conftest.er1
     23652  cat conftest.err >&5
     23653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23654  (exit $ac_status); } &&
     23655         { ac_try='test -z "$ac_c_werror_flag"
     23656                         || test ! -s conftest.err'
     23657  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23658  (eval $ac_try) 2>&5
     23659  ac_status=$?
     23660  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23661  (exit $ac_status); }; } &&
     23662         { ac_try='test -s conftest$ac_exeext'
     23663  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23664  (eval $ac_try) 2>&5
     23665  ac_status=$?
     23666  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23667  (exit $ac_status); }; }; then
     23668  flink_try=yes
     23669else
     23670  echo "$as_me: failed program was:" >&5
     23671sed 's/^/| /' conftest.$ac_ext >&5
     23672
     23673flink_try=no
     23674fi
     23675rm -f conftest.err conftest.$ac_objext \
     23676      conftest$ac_exeext conftest.$ac_ext
     23677    fi
     23678    if test $flink_try = yes; then
     23679      use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     23680                             echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23681echo "${ECHO_T}yes: $use_blas" >&6
     23682
     23683    else
     23684      if test x"$FLIBS" != x; then
     23685        flink_save_libs="$LIBS"
     23686        LIBS="$LIBS $FLIBS"
     23687        cat >conftest.$ac_ext <<_ACEOF
     23688/* confdefs.h.  */
     23689_ACEOF
     23690cat confdefs.h >>conftest.$ac_ext
     23691cat >>conftest.$ac_ext <<_ACEOF
     23692/* end confdefs.h.  */
     23693void $cfuncdaxpy();
     23694#ifdef F77_DUMMY_MAIN
     23695
     23696#  ifdef __cplusplus
     23697     extern "C"
     23698#  endif
     23699   int F77_DUMMY_MAIN() { return 1; }
     23700
     23701#endif
     23702int
     23703main ()
     23704{
     23705$cfuncdaxpy()
     23706  ;
     23707  return 0;
     23708}
     23709_ACEOF
     23710rm -f conftest.$ac_objext conftest$ac_exeext
     23711if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23712  (eval $ac_link) 2>conftest.er1
     23713  ac_status=$?
     23714  grep -v '^ *+' conftest.er1 >conftest.err
     23715  rm -f conftest.er1
     23716  cat conftest.err >&5
     23717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23718  (exit $ac_status); } &&
     23719         { ac_try='test -z "$ac_c_werror_flag"
     23720                         || test ! -s conftest.err'
     23721  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23722  (eval $ac_try) 2>&5
     23723  ac_status=$?
     23724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23725  (exit $ac_status); }; } &&
     23726         { ac_try='test -s conftest$ac_exeext'
     23727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23728  (eval $ac_try) 2>&5
     23729  ac_status=$?
     23730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23731  (exit $ac_status); }; }; then
     23732  LIBS="$flink_save_libs"
     23733                     coin_need_flibs=yes
     23734                     use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     23735                             echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23736echo "${ECHO_T}yes: $use_blas" >&6
     23737
     23738
     23739else
     23740  echo "$as_me: failed program was:" >&5
     23741sed 's/^/| /' conftest.$ac_ext >&5
     23742
     23743LIBS="$flink_save_libs"
     23744                     echo "$as_me:$LINENO: result: no" >&5
     23745echo "${ECHO_T}no" >&6
     23746fi
     23747rm -f conftest.err conftest.$ac_objext \
     23748      conftest$ac_exeext conftest.$ac_ext
     23749      else
     23750        echo "$as_me:$LINENO: result: no" >&5
     23751echo "${ECHO_T}no" >&6
     23752      fi
     23753    fi
     23754    ;;
     23755  cc|cpp)
     23756    ac_ext=f
     23757ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23758ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23759ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23760case $ac_cv_f77_mangling in
     23761  upper*) ac_val="DAXPY" ;;
     23762  lower*) ac_val="daxpy" ;;
     23763  *)      ac_val="unknown" ;;
     23764esac
     23765case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23766
     23767cfuncdaxpy="$ac_val"
     23768
     23769ac_ext=c
     23770ac_cpp='$CPP $CPPFLAGS'
     23771ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23772ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23773ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23774
     23775    if test x"$coin_need_flibs" = xyes; then
     23776      flink_try=no;
     23777    else
     23778      cat >conftest.$ac_ext <<_ACEOF
     23779/* confdefs.h.  */
     23780_ACEOF
     23781cat confdefs.h >>conftest.$ac_ext
     23782cat >>conftest.$ac_ext <<_ACEOF
     23783/* end confdefs.h.  */
     23784extern "C" {void $cfuncdaxpy();}
     23785#ifdef F77_DUMMY_MAIN
     23786
     23787#  ifdef __cplusplus
     23788     extern "C"
     23789#  endif
     23790   int F77_DUMMY_MAIN() { return 1; }
     23791
     23792#endif
     23793int
     23794main ()
     23795{
     23796$cfuncdaxpy()
     23797  ;
     23798  return 0;
     23799}
     23800_ACEOF
     23801rm -f conftest.$ac_objext conftest$ac_exeext
     23802if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23803  (eval $ac_link) 2>conftest.er1
     23804  ac_status=$?
     23805  grep -v '^ *+' conftest.er1 >conftest.err
     23806  rm -f conftest.er1
     23807  cat conftest.err >&5
     23808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23809  (exit $ac_status); } &&
     23810         { ac_try='test -z "$ac_c_werror_flag"
     23811                         || test ! -s conftest.err'
     23812  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23813  (eval $ac_try) 2>&5
     23814  ac_status=$?
     23815  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23816  (exit $ac_status); }; } &&
     23817         { ac_try='test -s conftest$ac_exeext'
     23818  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23819  (eval $ac_try) 2>&5
     23820  ac_status=$?
     23821  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23822  (exit $ac_status); }; }; then
     23823  flink_try=yes
     23824else
     23825  echo "$as_me: failed program was:" >&5
     23826sed 's/^/| /' conftest.$ac_ext >&5
     23827
     23828flink_try=no
     23829fi
     23830rm -f conftest.err conftest.$ac_objext \
     23831      conftest$ac_exeext conftest.$ac_ext
     23832    fi
     23833    if test $flink_try = yes; then
     23834      use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     23835                             echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23836echo "${ECHO_T}yes: $use_blas" >&6
     23837
     23838    else
     23839      if test x"$FLIBS" != x; then
     23840        flink_save_libs="$LIBS"
     23841        LIBS="$LIBS $FLIBS"
     23842        cat >conftest.$ac_ext <<_ACEOF
     23843/* confdefs.h.  */
     23844_ACEOF
     23845cat confdefs.h >>conftest.$ac_ext
     23846cat >>conftest.$ac_ext <<_ACEOF
     23847/* end confdefs.h.  */
     23848extern "C" {void $cfuncdaxpy();}
     23849#ifdef F77_DUMMY_MAIN
     23850
     23851#  ifdef __cplusplus
     23852     extern "C"
     23853#  endif
     23854   int F77_DUMMY_MAIN() { return 1; }
     23855
     23856#endif
     23857int
     23858main ()
     23859{
     23860$cfuncdaxpy()
     23861  ;
     23862  return 0;
     23863}
     23864_ACEOF
     23865rm -f conftest.$ac_objext conftest$ac_exeext
     23866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23867  (eval $ac_link) 2>conftest.er1
     23868  ac_status=$?
     23869  grep -v '^ *+' conftest.er1 >conftest.err
     23870  rm -f conftest.er1
     23871  cat conftest.err >&5
     23872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23873  (exit $ac_status); } &&
     23874         { ac_try='test -z "$ac_c_werror_flag"
     23875                         || test ! -s conftest.err'
     23876  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23877  (eval $ac_try) 2>&5
     23878  ac_status=$?
     23879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23880  (exit $ac_status); }; } &&
     23881         { ac_try='test -s conftest$ac_exeext'
     23882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23883  (eval $ac_try) 2>&5
     23884  ac_status=$?
     23885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23886  (exit $ac_status); }; }; then
     23887  LIBS="$flink_save_libs"
     23888                     coin_need_flibs=yes
     23889                     use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
     23890                             echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23891echo "${ECHO_T}yes: $use_blas" >&6
     23892
     23893
     23894else
     23895  echo "$as_me: failed program was:" >&5
     23896sed 's/^/| /' conftest.$ac_ext >&5
     23897
     23898LIBS="$flink_save_libs"
     23899                     echo "$as_me:$LINENO: result: no" >&5
     23900echo "${ECHO_T}no" >&6
     23901fi
     23902rm -f conftest.err conftest.$ac_objext \
     23903      conftest$ac_exeext conftest.$ac_ext
     23904      else
     23905        echo "$as_me:$LINENO: result: no" >&5
     23906echo "${ECHO_T}no" >&6
     23907      fi
     23908    fi
     23909    ;;
     23910esac
     23911
     23912          LIBS="$coin_save_LIBS"
     23913
     23914          if test "x$use_blas" = x ; then
     23915            echo "$as_me:$LINENO: checking for BLAS in MKL (64bit)" >&5
     23916echo $ECHO_N "checking for BLAS in MKL (64bit)... $ECHO_C" >&6
     23917            LIBS="mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib $LIBS"
     23918            case $ac_ext in
     23919  f)
     23920    cat >conftest.$ac_ext <<_ACEOF
     23921/* confdefs.h.  */
     23922_ACEOF
     23923cat confdefs.h >>conftest.$ac_ext
     23924cat >>conftest.$ac_ext <<_ACEOF
     23925/* end confdefs.h.  */
     23926
     23927#ifdef F77_DUMMY_MAIN
     23928
     23929#  ifdef __cplusplus
     23930     extern "C"
     23931#  endif
     23932   int F77_DUMMY_MAIN() { return 1; }
     23933
     23934#endif
     23935int
     23936main ()
     23937{
     23938      call daxpy
     23939  ;
     23940  return 0;
     23941}
     23942_ACEOF
     23943rm -f conftest.$ac_objext conftest$ac_exeext
     23944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     23945  (eval $ac_link) 2>conftest.er1
     23946  ac_status=$?
     23947  grep -v '^ *+' conftest.er1 >conftest.err
     23948  rm -f conftest.er1
     23949  cat conftest.err >&5
     23950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23951  (exit $ac_status); } &&
     23952         { ac_try='test -z "$ac_c_werror_flag"
     23953                         || test ! -s conftest.err'
     23954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23955  (eval $ac_try) 2>&5
     23956  ac_status=$?
     23957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23958  (exit $ac_status); }; } &&
     23959         { ac_try='test -s conftest$ac_exeext'
     23960  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     23961  (eval $ac_try) 2>&5
     23962  ac_status=$?
     23963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     23964  (exit $ac_status); }; }; then
     23965  use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     23966                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     23967echo "${ECHO_T}yes: $use_blas" >&6
     23968
     23969else
     23970  echo "$as_me: failed program was:" >&5
     23971sed 's/^/| /' conftest.$ac_ext >&5
     23972
     23973echo "$as_me:$LINENO: result: no" >&5
     23974echo "${ECHO_T}no" >&6
     23975fi
     23976rm -f conftest.err conftest.$ac_objext \
     23977      conftest$ac_exeext conftest.$ac_ext
     23978    ;;
     23979  c)
     23980    ac_ext=f
     23981ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23982ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23983ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23984case $ac_cv_f77_mangling in
     23985  upper*) ac_val="DAXPY" ;;
     23986  lower*) ac_val="daxpy" ;;
     23987  *)      ac_val="unknown" ;;
     23988esac
     23989case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23990
     23991cfuncdaxpy="$ac_val"
     23992
     23993ac_ext=c
     23994ac_cpp='$CPP $CPPFLAGS'
     23995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23997ac_compiler_gnu=$ac_cv_c_compiler_gnu
     23998
     23999    if test x"$coin_need_flibs" = xyes; then
     24000      flink_try=no;
     24001    else
     24002      cat >conftest.$ac_ext <<_ACEOF
     24003/* confdefs.h.  */
     24004_ACEOF
     24005cat confdefs.h >>conftest.$ac_ext
     24006cat >>conftest.$ac_ext <<_ACEOF
     24007/* end confdefs.h.  */
     24008void $cfuncdaxpy();
     24009#ifdef F77_DUMMY_MAIN
     24010
     24011#  ifdef __cplusplus
     24012     extern "C"
     24013#  endif
     24014   int F77_DUMMY_MAIN() { return 1; }
     24015
     24016#endif
     24017int
     24018main ()
     24019{
     24020$cfuncdaxpy()
     24021  ;
     24022  return 0;
     24023}
     24024_ACEOF
     24025rm -f conftest.$ac_objext conftest$ac_exeext
     24026if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24027  (eval $ac_link) 2>conftest.er1
     24028  ac_status=$?
     24029  grep -v '^ *+' conftest.er1 >conftest.err
     24030  rm -f conftest.er1
     24031  cat conftest.err >&5
     24032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24033  (exit $ac_status); } &&
     24034         { ac_try='test -z "$ac_c_werror_flag"
     24035                         || test ! -s conftest.err'
     24036  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24037  (eval $ac_try) 2>&5
     24038  ac_status=$?
     24039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24040  (exit $ac_status); }; } &&
     24041         { ac_try='test -s conftest$ac_exeext'
     24042  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24043  (eval $ac_try) 2>&5
     24044  ac_status=$?
     24045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24046  (exit $ac_status); }; }; then
     24047  flink_try=yes
     24048else
     24049  echo "$as_me: failed program was:" >&5
     24050sed 's/^/| /' conftest.$ac_ext >&5
     24051
     24052flink_try=no
     24053fi
     24054rm -f conftest.err conftest.$ac_objext \
     24055      conftest$ac_exeext conftest.$ac_ext
     24056    fi
     24057    if test $flink_try = yes; then
     24058      use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     24059                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24060echo "${ECHO_T}yes: $use_blas" >&6
     24061
     24062    else
     24063      if test x"$FLIBS" != x; then
     24064        flink_save_libs="$LIBS"
     24065        LIBS="$LIBS $FLIBS"
     24066        cat >conftest.$ac_ext <<_ACEOF
     24067/* confdefs.h.  */
     24068_ACEOF
     24069cat confdefs.h >>conftest.$ac_ext
     24070cat >>conftest.$ac_ext <<_ACEOF
     24071/* end confdefs.h.  */
     24072void $cfuncdaxpy();
     24073#ifdef F77_DUMMY_MAIN
     24074
     24075#  ifdef __cplusplus
     24076     extern "C"
     24077#  endif
     24078   int F77_DUMMY_MAIN() { return 1; }
     24079
     24080#endif
     24081int
     24082main ()
     24083{
     24084$cfuncdaxpy()
     24085  ;
     24086  return 0;
     24087}
     24088_ACEOF
     24089rm -f conftest.$ac_objext conftest$ac_exeext
     24090if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24091  (eval $ac_link) 2>conftest.er1
     24092  ac_status=$?
     24093  grep -v '^ *+' conftest.er1 >conftest.err
     24094  rm -f conftest.er1
     24095  cat conftest.err >&5
     24096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24097  (exit $ac_status); } &&
     24098         { ac_try='test -z "$ac_c_werror_flag"
     24099                         || test ! -s conftest.err'
     24100  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24101  (eval $ac_try) 2>&5
     24102  ac_status=$?
     24103  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24104  (exit $ac_status); }; } &&
     24105         { ac_try='test -s conftest$ac_exeext'
     24106  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24107  (eval $ac_try) 2>&5
     24108  ac_status=$?
     24109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24110  (exit $ac_status); }; }; then
     24111  LIBS="$flink_save_libs"
     24112                     coin_need_flibs=yes
     24113                     use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     24114                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24115echo "${ECHO_T}yes: $use_blas" >&6
     24116
     24117
     24118else
     24119  echo "$as_me: failed program was:" >&5
     24120sed 's/^/| /' conftest.$ac_ext >&5
     24121
     24122LIBS="$flink_save_libs"
     24123                     echo "$as_me:$LINENO: result: no" >&5
     24124echo "${ECHO_T}no" >&6
     24125fi
     24126rm -f conftest.err conftest.$ac_objext \
     24127      conftest$ac_exeext conftest.$ac_ext
     24128      else
     24129        echo "$as_me:$LINENO: result: no" >&5
     24130echo "${ECHO_T}no" >&6
     24131      fi
     24132    fi
     24133    ;;
     24134  cc|cpp)
     24135    ac_ext=f
     24136ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24137ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24138ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24139case $ac_cv_f77_mangling in
     24140  upper*) ac_val="DAXPY" ;;
     24141  lower*) ac_val="daxpy" ;;
     24142  *)      ac_val="unknown" ;;
     24143esac
     24144case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24145
     24146cfuncdaxpy="$ac_val"
     24147
     24148ac_ext=c
     24149ac_cpp='$CPP $CPPFLAGS'
     24150ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24151ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24152ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24153
     24154    if test x"$coin_need_flibs" = xyes; then
     24155      flink_try=no;
     24156    else
     24157      cat >conftest.$ac_ext <<_ACEOF
     24158/* confdefs.h.  */
     24159_ACEOF
     24160cat confdefs.h >>conftest.$ac_ext
     24161cat >>conftest.$ac_ext <<_ACEOF
     24162/* end confdefs.h.  */
     24163extern "C" {void $cfuncdaxpy();}
     24164#ifdef F77_DUMMY_MAIN
     24165
     24166#  ifdef __cplusplus
     24167     extern "C"
     24168#  endif
     24169   int F77_DUMMY_MAIN() { return 1; }
     24170
     24171#endif
     24172int
     24173main ()
     24174{
     24175$cfuncdaxpy()
     24176  ;
     24177  return 0;
     24178}
     24179_ACEOF
     24180rm -f conftest.$ac_objext conftest$ac_exeext
     24181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24182  (eval $ac_link) 2>conftest.er1
     24183  ac_status=$?
     24184  grep -v '^ *+' conftest.er1 >conftest.err
     24185  rm -f conftest.er1
     24186  cat conftest.err >&5
     24187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24188  (exit $ac_status); } &&
     24189         { ac_try='test -z "$ac_c_werror_flag"
     24190                         || test ! -s conftest.err'
     24191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24192  (eval $ac_try) 2>&5
     24193  ac_status=$?
     24194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24195  (exit $ac_status); }; } &&
     24196         { ac_try='test -s conftest$ac_exeext'
     24197  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24198  (eval $ac_try) 2>&5
     24199  ac_status=$?
     24200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24201  (exit $ac_status); }; }; then
     24202  flink_try=yes
     24203else
     24204  echo "$as_me: failed program was:" >&5
     24205sed 's/^/| /' conftest.$ac_ext >&5
     24206
     24207flink_try=no
     24208fi
     24209rm -f conftest.err conftest.$ac_objext \
     24210      conftest$ac_exeext conftest.$ac_ext
     24211    fi
     24212    if test $flink_try = yes; then
     24213      use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     24214                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24215echo "${ECHO_T}yes: $use_blas" >&6
     24216
     24217    else
     24218      if test x"$FLIBS" != x; then
     24219        flink_save_libs="$LIBS"
     24220        LIBS="$LIBS $FLIBS"
     24221        cat >conftest.$ac_ext <<_ACEOF
     24222/* confdefs.h.  */
     24223_ACEOF
     24224cat confdefs.h >>conftest.$ac_ext
     24225cat >>conftest.$ac_ext <<_ACEOF
     24226/* end confdefs.h.  */
     24227extern "C" {void $cfuncdaxpy();}
     24228#ifdef F77_DUMMY_MAIN
     24229
     24230#  ifdef __cplusplus
     24231     extern "C"
     24232#  endif
     24233   int F77_DUMMY_MAIN() { return 1; }
     24234
     24235#endif
     24236int
     24237main ()
     24238{
     24239$cfuncdaxpy()
     24240  ;
     24241  return 0;
     24242}
     24243_ACEOF
     24244rm -f conftest.$ac_objext conftest$ac_exeext
     24245if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24246  (eval $ac_link) 2>conftest.er1
     24247  ac_status=$?
     24248  grep -v '^ *+' conftest.er1 >conftest.err
     24249  rm -f conftest.er1
     24250  cat conftest.err >&5
     24251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24252  (exit $ac_status); } &&
     24253         { ac_try='test -z "$ac_c_werror_flag"
     24254                         || test ! -s conftest.err'
     24255  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24256  (eval $ac_try) 2>&5
     24257  ac_status=$?
     24258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24259  (exit $ac_status); }; } &&
     24260         { ac_try='test -s conftest$ac_exeext'
     24261  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24262  (eval $ac_try) 2>&5
     24263  ac_status=$?
     24264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24265  (exit $ac_status); }; }; then
     24266  LIBS="$flink_save_libs"
     24267                     coin_need_flibs=yes
     24268                     use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
     24269                               echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24270echo "${ECHO_T}yes: $use_blas" >&6
     24271
     24272
     24273else
     24274  echo "$as_me: failed program was:" >&5
     24275sed 's/^/| /' conftest.$ac_ext >&5
     24276
     24277LIBS="$flink_save_libs"
     24278                     echo "$as_me:$LINENO: result: no" >&5
     24279echo "${ECHO_T}no" >&6
     24280fi
     24281rm -f conftest.err conftest.$ac_objext \
     24282      conftest$ac_exeext conftest.$ac_ext
     24283      else
     24284        echo "$as_me:$LINENO: result: no" >&5
     24285echo "${ECHO_T}no" >&6
     24286      fi
     24287    fi
     24288    ;;
     24289esac
     24290
     24291            LIBS="$coin_save_LIBS"
     24292          fi
     24293          ;;
     24294      esac
     24295      ;;
     24296
     24297     *-darwin*)
     24298      echo "$as_me:$LINENO: checking for BLAS in Veclib" >&5
     24299echo $ECHO_N "checking for BLAS in Veclib... $ECHO_C" >&6
     24300      coin_need_flibs=no
     24301      coin_save_LIBS="$LIBS"
     24302      LIBS="-framework vecLib $LIBS"
     24303      case $ac_ext in
     24304  f)
     24305    cat >conftest.$ac_ext <<_ACEOF
     24306/* confdefs.h.  */
     24307_ACEOF
     24308cat confdefs.h >>conftest.$ac_ext
     24309cat >>conftest.$ac_ext <<_ACEOF
     24310/* end confdefs.h.  */
     24311
     24312#ifdef F77_DUMMY_MAIN
     24313
     24314#  ifdef __cplusplus
     24315     extern "C"
     24316#  endif
     24317   int F77_DUMMY_MAIN() { return 1; }
     24318
     24319#endif
     24320int
     24321main ()
     24322{
     24323      call daxpy
     24324  ;
     24325  return 0;
     24326}
     24327_ACEOF
     24328rm -f conftest.$ac_objext conftest$ac_exeext
     24329if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24330  (eval $ac_link) 2>conftest.er1
     24331  ac_status=$?
     24332  grep -v '^ *+' conftest.er1 >conftest.err
     24333  rm -f conftest.er1
     24334  cat conftest.err >&5
     24335  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24336  (exit $ac_status); } &&
     24337         { ac_try='test -z "$ac_c_werror_flag"
     24338                         || test ! -s conftest.err'
     24339  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24340  (eval $ac_try) 2>&5
     24341  ac_status=$?
     24342  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24343  (exit $ac_status); }; } &&
     24344         { ac_try='test -s conftest$ac_exeext'
     24345  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24346  (eval $ac_try) 2>&5
     24347  ac_status=$?
     24348  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24349  (exit $ac_status); }; }; then
     24350  use_blas='-framework vecLib'
     24351                         if test $coin_need_flibs = yes ; then
     24352                           use_blas="$use_blas $FLIBS"
     24353                         fi
     24354                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24355echo "${ECHO_T}yes: $use_blas" >&6
     24356
     24357else
     24358  echo "$as_me: failed program was:" >&5
     24359sed 's/^/| /' conftest.$ac_ext >&5
     24360
     24361echo "$as_me:$LINENO: result: no" >&5
     24362echo "${ECHO_T}no" >&6
     24363fi
     24364rm -f conftest.err conftest.$ac_objext \
     24365      conftest$ac_exeext conftest.$ac_ext
     24366    ;;
     24367  c)
     24368    ac_ext=f
     24369ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24370ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24371ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24372case $ac_cv_f77_mangling in
     24373  upper*) ac_val="DAXPY" ;;
     24374  lower*) ac_val="daxpy" ;;
     24375  *)      ac_val="unknown" ;;
     24376esac
     24377case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24378
     24379cfuncdaxpy="$ac_val"
     24380
     24381ac_ext=c
     24382ac_cpp='$CPP $CPPFLAGS'
     24383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24385ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24386
     24387    if test x"$coin_need_flibs" = xyes; then
     24388      flink_try=no;
     24389    else
     24390      cat >conftest.$ac_ext <<_ACEOF
     24391/* confdefs.h.  */
     24392_ACEOF
     24393cat confdefs.h >>conftest.$ac_ext
     24394cat >>conftest.$ac_ext <<_ACEOF
     24395/* end confdefs.h.  */
     24396void $cfuncdaxpy();
     24397#ifdef F77_DUMMY_MAIN
     24398
     24399#  ifdef __cplusplus
     24400     extern "C"
     24401#  endif
     24402   int F77_DUMMY_MAIN() { return 1; }
     24403
     24404#endif
     24405int
     24406main ()
     24407{
     24408$cfuncdaxpy()
     24409  ;
     24410  return 0;
     24411}
     24412_ACEOF
     24413rm -f conftest.$ac_objext conftest$ac_exeext
     24414if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24415  (eval $ac_link) 2>conftest.er1
     24416  ac_status=$?
     24417  grep -v '^ *+' conftest.er1 >conftest.err
     24418  rm -f conftest.er1
     24419  cat conftest.err >&5
     24420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24421  (exit $ac_status); } &&
     24422         { ac_try='test -z "$ac_c_werror_flag"
     24423                         || test ! -s conftest.err'
     24424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24425  (eval $ac_try) 2>&5
     24426  ac_status=$?
     24427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24428  (exit $ac_status); }; } &&
     24429         { ac_try='test -s conftest$ac_exeext'
     24430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24431  (eval $ac_try) 2>&5
     24432  ac_status=$?
     24433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24434  (exit $ac_status); }; }; then
     24435  flink_try=yes
     24436else
     24437  echo "$as_me: failed program was:" >&5
     24438sed 's/^/| /' conftest.$ac_ext >&5
     24439
     24440flink_try=no
     24441fi
     24442rm -f conftest.err conftest.$ac_objext \
     24443      conftest$ac_exeext conftest.$ac_ext
     24444    fi
     24445    if test $flink_try = yes; then
     24446      use_blas='-framework vecLib'
     24447                         if test $coin_need_flibs = yes ; then
     24448                           use_blas="$use_blas $FLIBS"
     24449                         fi
     24450                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24451echo "${ECHO_T}yes: $use_blas" >&6
     24452
     24453    else
     24454      if test x"$FLIBS" != x; then
     24455        flink_save_libs="$LIBS"
     24456        LIBS="$LIBS $FLIBS"
     24457        cat >conftest.$ac_ext <<_ACEOF
     24458/* confdefs.h.  */
     24459_ACEOF
     24460cat confdefs.h >>conftest.$ac_ext
     24461cat >>conftest.$ac_ext <<_ACEOF
     24462/* end confdefs.h.  */
     24463void $cfuncdaxpy();
     24464#ifdef F77_DUMMY_MAIN
     24465
     24466#  ifdef __cplusplus
     24467     extern "C"
     24468#  endif
     24469   int F77_DUMMY_MAIN() { return 1; }
     24470
     24471#endif
     24472int
     24473main ()
     24474{
     24475$cfuncdaxpy()
     24476  ;
     24477  return 0;
     24478}
     24479_ACEOF
     24480rm -f conftest.$ac_objext conftest$ac_exeext
     24481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24482  (eval $ac_link) 2>conftest.er1
     24483  ac_status=$?
     24484  grep -v '^ *+' conftest.er1 >conftest.err
     24485  rm -f conftest.er1
     24486  cat conftest.err >&5
     24487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24488  (exit $ac_status); } &&
     24489         { ac_try='test -z "$ac_c_werror_flag"
     24490                         || test ! -s conftest.err'
     24491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24492  (eval $ac_try) 2>&5
     24493  ac_status=$?
     24494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24495  (exit $ac_status); }; } &&
     24496         { ac_try='test -s conftest$ac_exeext'
     24497  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24498  (eval $ac_try) 2>&5
     24499  ac_status=$?
     24500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24501  (exit $ac_status); }; }; then
     24502  LIBS="$flink_save_libs"
     24503                     coin_need_flibs=yes
     24504                     use_blas='-framework vecLib'
     24505                         if test $coin_need_flibs = yes ; then
     24506                           use_blas="$use_blas $FLIBS"
     24507                         fi
     24508                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24509echo "${ECHO_T}yes: $use_blas" >&6
     24510
     24511
     24512else
     24513  echo "$as_me: failed program was:" >&5
     24514sed 's/^/| /' conftest.$ac_ext >&5
     24515
     24516LIBS="$flink_save_libs"
     24517                     echo "$as_me:$LINENO: result: no" >&5
     24518echo "${ECHO_T}no" >&6
     24519fi
     24520rm -f conftest.err conftest.$ac_objext \
     24521      conftest$ac_exeext conftest.$ac_ext
     24522      else
     24523        echo "$as_me:$LINENO: result: no" >&5
     24524echo "${ECHO_T}no" >&6
     24525      fi
     24526    fi
     24527    ;;
     24528  cc|cpp)
     24529    ac_ext=f
     24530ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24531ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24532ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24533case $ac_cv_f77_mangling in
     24534  upper*) ac_val="DAXPY" ;;
     24535  lower*) ac_val="daxpy" ;;
     24536  *)      ac_val="unknown" ;;
     24537esac
     24538case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24539
     24540cfuncdaxpy="$ac_val"
     24541
     24542ac_ext=c
     24543ac_cpp='$CPP $CPPFLAGS'
     24544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24546ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24547
     24548    if test x"$coin_need_flibs" = xyes; then
     24549      flink_try=no;
     24550    else
     24551      cat >conftest.$ac_ext <<_ACEOF
     24552/* confdefs.h.  */
     24553_ACEOF
     24554cat confdefs.h >>conftest.$ac_ext
     24555cat >>conftest.$ac_ext <<_ACEOF
     24556/* end confdefs.h.  */
     24557extern "C" {void $cfuncdaxpy();}
     24558#ifdef F77_DUMMY_MAIN
     24559
     24560#  ifdef __cplusplus
     24561     extern "C"
     24562#  endif
     24563   int F77_DUMMY_MAIN() { return 1; }
     24564
     24565#endif
     24566int
     24567main ()
     24568{
     24569$cfuncdaxpy()
     24570  ;
     24571  return 0;
     24572}
     24573_ACEOF
     24574rm -f conftest.$ac_objext conftest$ac_exeext
     24575if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24576  (eval $ac_link) 2>conftest.er1
     24577  ac_status=$?
     24578  grep -v '^ *+' conftest.er1 >conftest.err
     24579  rm -f conftest.er1
     24580  cat conftest.err >&5
     24581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24582  (exit $ac_status); } &&
     24583         { ac_try='test -z "$ac_c_werror_flag"
     24584                         || test ! -s conftest.err'
     24585  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24586  (eval $ac_try) 2>&5
     24587  ac_status=$?
     24588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24589  (exit $ac_status); }; } &&
     24590         { ac_try='test -s conftest$ac_exeext'
     24591  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24592  (eval $ac_try) 2>&5
     24593  ac_status=$?
     24594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24595  (exit $ac_status); }; }; then
     24596  flink_try=yes
     24597else
     24598  echo "$as_me: failed program was:" >&5
     24599sed 's/^/| /' conftest.$ac_ext >&5
     24600
     24601flink_try=no
     24602fi
     24603rm -f conftest.err conftest.$ac_objext \
     24604      conftest$ac_exeext conftest.$ac_ext
     24605    fi
     24606    if test $flink_try = yes; then
     24607      use_blas='-framework vecLib'
     24608                         if test $coin_need_flibs = yes ; then
     24609                           use_blas="$use_blas $FLIBS"
     24610                         fi
     24611                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24612echo "${ECHO_T}yes: $use_blas" >&6
     24613
     24614    else
     24615      if test x"$FLIBS" != x; then
     24616        flink_save_libs="$LIBS"
     24617        LIBS="$LIBS $FLIBS"
     24618        cat >conftest.$ac_ext <<_ACEOF
     24619/* confdefs.h.  */
     24620_ACEOF
     24621cat confdefs.h >>conftest.$ac_ext
     24622cat >>conftest.$ac_ext <<_ACEOF
     24623/* end confdefs.h.  */
     24624extern "C" {void $cfuncdaxpy();}
     24625#ifdef F77_DUMMY_MAIN
     24626
     24627#  ifdef __cplusplus
     24628     extern "C"
     24629#  endif
     24630   int F77_DUMMY_MAIN() { return 1; }
     24631
     24632#endif
     24633int
     24634main ()
     24635{
     24636$cfuncdaxpy()
     24637  ;
     24638  return 0;
     24639}
     24640_ACEOF
     24641rm -f conftest.$ac_objext conftest$ac_exeext
     24642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24643  (eval $ac_link) 2>conftest.er1
     24644  ac_status=$?
     24645  grep -v '^ *+' conftest.er1 >conftest.err
     24646  rm -f conftest.er1
     24647  cat conftest.err >&5
     24648  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24649  (exit $ac_status); } &&
     24650         { ac_try='test -z "$ac_c_werror_flag"
     24651                         || test ! -s conftest.err'
     24652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24653  (eval $ac_try) 2>&5
     24654  ac_status=$?
     24655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24656  (exit $ac_status); }; } &&
     24657         { ac_try='test -s conftest$ac_exeext'
     24658  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24659  (eval $ac_try) 2>&5
     24660  ac_status=$?
     24661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24662  (exit $ac_status); }; }; then
     24663  LIBS="$flink_save_libs"
     24664                     coin_need_flibs=yes
     24665                     use_blas='-framework vecLib'
     24666                         if test $coin_need_flibs = yes ; then
     24667                           use_blas="$use_blas $FLIBS"
     24668                         fi
     24669                         echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24670echo "${ECHO_T}yes: $use_blas" >&6
     24671
     24672
     24673else
     24674  echo "$as_me: failed program was:" >&5
     24675sed 's/^/| /' conftest.$ac_ext >&5
     24676
     24677LIBS="$flink_save_libs"
     24678                     echo "$as_me:$LINENO: result: no" >&5
     24679echo "${ECHO_T}no" >&6
     24680fi
     24681rm -f conftest.err conftest.$ac_objext \
     24682      conftest$ac_exeext conftest.$ac_ext
     24683      else
     24684        echo "$as_me:$LINENO: result: no" >&5
     24685echo "${ECHO_T}no" >&6
     24686      fi
     24687    fi
     24688    ;;
     24689esac
     24690
     24691      LIBS="$coin_save_LIBS"
     24692      ;;
     24693  esac
     24694
     24695  if test -z "$use_blas" && test $skip_lblas_check = no; then
     24696    echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
     24697echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
     24698    coin_need_flibs=no
     24699    coin_save_LIBS="$LIBS"
     24700    LIBS="-lblas $LIBS"
     24701    case $ac_ext in
     24702  f)
     24703    cat >conftest.$ac_ext <<_ACEOF
     24704/* confdefs.h.  */
     24705_ACEOF
     24706cat confdefs.h >>conftest.$ac_ext
     24707cat >>conftest.$ac_ext <<_ACEOF
     24708/* end confdefs.h.  */
     24709
     24710#ifdef F77_DUMMY_MAIN
     24711
     24712#  ifdef __cplusplus
     24713     extern "C"
     24714#  endif
     24715   int F77_DUMMY_MAIN() { return 1; }
     24716
     24717#endif
     24718int
     24719main ()
     24720{
     24721      call daxpy
     24722  ;
     24723  return 0;
     24724}
     24725_ACEOF
     24726rm -f conftest.$ac_objext conftest$ac_exeext
     24727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24728  (eval $ac_link) 2>conftest.er1
     24729  ac_status=$?
     24730  grep -v '^ *+' conftest.er1 >conftest.err
     24731  rm -f conftest.er1
     24732  cat conftest.err >&5
     24733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24734  (exit $ac_status); } &&
     24735         { ac_try='test -z "$ac_c_werror_flag"
     24736                         || test ! -s conftest.err'
     24737  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24738  (eval $ac_try) 2>&5
     24739  ac_status=$?
     24740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24741  (exit $ac_status); }; } &&
     24742         { ac_try='test -s conftest$ac_exeext'
     24743  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24744  (eval $ac_try) 2>&5
     24745  ac_status=$?
     24746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24747  (exit $ac_status); }; }; then
     24748  use_blas='-lblas'
     24749                       if test $coin_need_flibs = yes ; then
     24750                         use_blas="$use_blas $FLIBS"
     24751                       fi
     24752                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24753echo "${ECHO_T}yes: $use_blas" >&6
     24754
     24755else
     24756  echo "$as_me: failed program was:" >&5
     24757sed 's/^/| /' conftest.$ac_ext >&5
     24758
     24759echo "$as_me:$LINENO: result: no" >&5
     24760echo "${ECHO_T}no" >&6
     24761fi
     24762rm -f conftest.err conftest.$ac_objext \
     24763      conftest$ac_exeext conftest.$ac_ext
     24764    ;;
     24765  c)
     24766    ac_ext=f
     24767ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24768ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24769ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24770case $ac_cv_f77_mangling in
     24771  upper*) ac_val="DAXPY" ;;
     24772  lower*) ac_val="daxpy" ;;
     24773  *)      ac_val="unknown" ;;
     24774esac
     24775case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24776
     24777cfuncdaxpy="$ac_val"
     24778
     24779ac_ext=c
     24780ac_cpp='$CPP $CPPFLAGS'
     24781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24783ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24784
     24785    if test x"$coin_need_flibs" = xyes; then
     24786      flink_try=no;
     24787    else
     24788      cat >conftest.$ac_ext <<_ACEOF
     24789/* confdefs.h.  */
     24790_ACEOF
     24791cat confdefs.h >>conftest.$ac_ext
     24792cat >>conftest.$ac_ext <<_ACEOF
     24793/* end confdefs.h.  */
     24794void $cfuncdaxpy();
     24795#ifdef F77_DUMMY_MAIN
     24796
     24797#  ifdef __cplusplus
     24798     extern "C"
     24799#  endif
     24800   int F77_DUMMY_MAIN() { return 1; }
     24801
     24802#endif
     24803int
     24804main ()
     24805{
     24806$cfuncdaxpy()
     24807  ;
     24808  return 0;
     24809}
     24810_ACEOF
     24811rm -f conftest.$ac_objext conftest$ac_exeext
     24812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24813  (eval $ac_link) 2>conftest.er1
     24814  ac_status=$?
     24815  grep -v '^ *+' conftest.er1 >conftest.err
     24816  rm -f conftest.er1
     24817  cat conftest.err >&5
     24818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24819  (exit $ac_status); } &&
     24820         { ac_try='test -z "$ac_c_werror_flag"
     24821                         || test ! -s conftest.err'
     24822  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24823  (eval $ac_try) 2>&5
     24824  ac_status=$?
     24825  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24826  (exit $ac_status); }; } &&
     24827         { ac_try='test -s conftest$ac_exeext'
     24828  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24829  (eval $ac_try) 2>&5
     24830  ac_status=$?
     24831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24832  (exit $ac_status); }; }; then
     24833  flink_try=yes
     24834else
     24835  echo "$as_me: failed program was:" >&5
     24836sed 's/^/| /' conftest.$ac_ext >&5
     24837
     24838flink_try=no
     24839fi
     24840rm -f conftest.err conftest.$ac_objext \
     24841      conftest$ac_exeext conftest.$ac_ext
     24842    fi
     24843    if test $flink_try = yes; then
     24844      use_blas='-lblas'
     24845                       if test $coin_need_flibs = yes ; then
     24846                         use_blas="$use_blas $FLIBS"
     24847                       fi
     24848                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24849echo "${ECHO_T}yes: $use_blas" >&6
     24850
     24851    else
     24852      if test x"$FLIBS" != x; then
     24853        flink_save_libs="$LIBS"
     24854        LIBS="$LIBS $FLIBS"
     24855        cat >conftest.$ac_ext <<_ACEOF
     24856/* confdefs.h.  */
     24857_ACEOF
     24858cat confdefs.h >>conftest.$ac_ext
     24859cat >>conftest.$ac_ext <<_ACEOF
     24860/* end confdefs.h.  */
     24861void $cfuncdaxpy();
     24862#ifdef F77_DUMMY_MAIN
     24863
     24864#  ifdef __cplusplus
     24865     extern "C"
     24866#  endif
     24867   int F77_DUMMY_MAIN() { return 1; }
     24868
     24869#endif
     24870int
     24871main ()
     24872{
     24873$cfuncdaxpy()
     24874  ;
     24875  return 0;
     24876}
     24877_ACEOF
     24878rm -f conftest.$ac_objext conftest$ac_exeext
     24879if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24880  (eval $ac_link) 2>conftest.er1
     24881  ac_status=$?
     24882  grep -v '^ *+' conftest.er1 >conftest.err
     24883  rm -f conftest.er1
     24884  cat conftest.err >&5
     24885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24886  (exit $ac_status); } &&
     24887         { ac_try='test -z "$ac_c_werror_flag"
     24888                         || test ! -s conftest.err'
     24889  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24890  (eval $ac_try) 2>&5
     24891  ac_status=$?
     24892  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24893  (exit $ac_status); }; } &&
     24894         { ac_try='test -s conftest$ac_exeext'
     24895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24896  (eval $ac_try) 2>&5
     24897  ac_status=$?
     24898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24899  (exit $ac_status); }; }; then
     24900  LIBS="$flink_save_libs"
     24901                     coin_need_flibs=yes
     24902                     use_blas='-lblas'
     24903                       if test $coin_need_flibs = yes ; then
     24904                         use_blas="$use_blas $FLIBS"
     24905                       fi
     24906                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     24907echo "${ECHO_T}yes: $use_blas" >&6
     24908
     24909
     24910else
     24911  echo "$as_me: failed program was:" >&5
     24912sed 's/^/| /' conftest.$ac_ext >&5
     24913
     24914LIBS="$flink_save_libs"
     24915                     echo "$as_me:$LINENO: result: no" >&5
     24916echo "${ECHO_T}no" >&6
     24917fi
     24918rm -f conftest.err conftest.$ac_objext \
     24919      conftest$ac_exeext conftest.$ac_ext
     24920      else
     24921        echo "$as_me:$LINENO: result: no" >&5
     24922echo "${ECHO_T}no" >&6
     24923      fi
     24924    fi
     24925    ;;
     24926  cc|cpp)
     24927    ac_ext=f
     24928ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24929ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24930ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24931case $ac_cv_f77_mangling in
     24932  upper*) ac_val="DAXPY" ;;
     24933  lower*) ac_val="daxpy" ;;
     24934  *)      ac_val="unknown" ;;
     24935esac
     24936case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24937
     24938cfuncdaxpy="$ac_val"
     24939
     24940ac_ext=c
     24941ac_cpp='$CPP $CPPFLAGS'
     24942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24944ac_compiler_gnu=$ac_cv_c_compiler_gnu
     24945
     24946    if test x"$coin_need_flibs" = xyes; then
     24947      flink_try=no;
     24948    else
     24949      cat >conftest.$ac_ext <<_ACEOF
     24950/* confdefs.h.  */
     24951_ACEOF
     24952cat confdefs.h >>conftest.$ac_ext
     24953cat >>conftest.$ac_ext <<_ACEOF
     24954/* end confdefs.h.  */
     24955extern "C" {void $cfuncdaxpy();}
     24956#ifdef F77_DUMMY_MAIN
     24957
     24958#  ifdef __cplusplus
     24959     extern "C"
     24960#  endif
     24961   int F77_DUMMY_MAIN() { return 1; }
     24962
     24963#endif
     24964int
     24965main ()
     24966{
     24967$cfuncdaxpy()
     24968  ;
     24969  return 0;
     24970}
     24971_ACEOF
     24972rm -f conftest.$ac_objext conftest$ac_exeext
     24973if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     24974  (eval $ac_link) 2>conftest.er1
     24975  ac_status=$?
     24976  grep -v '^ *+' conftest.er1 >conftest.err
     24977  rm -f conftest.er1
     24978  cat conftest.err >&5
     24979  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24980  (exit $ac_status); } &&
     24981         { ac_try='test -z "$ac_c_werror_flag"
     24982                         || test ! -s conftest.err'
     24983  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24984  (eval $ac_try) 2>&5
     24985  ac_status=$?
     24986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24987  (exit $ac_status); }; } &&
     24988         { ac_try='test -s conftest$ac_exeext'
     24989  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     24990  (eval $ac_try) 2>&5
     24991  ac_status=$?
     24992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     24993  (exit $ac_status); }; }; then
     24994  flink_try=yes
     24995else
     24996  echo "$as_me: failed program was:" >&5
     24997sed 's/^/| /' conftest.$ac_ext >&5
     24998
     24999flink_try=no
     25000fi
     25001rm -f conftest.err conftest.$ac_objext \
     25002      conftest$ac_exeext conftest.$ac_ext
     25003    fi
     25004    if test $flink_try = yes; then
     25005      use_blas='-lblas'
     25006                       if test $coin_need_flibs = yes ; then
     25007                         use_blas="$use_blas $FLIBS"
     25008                       fi
     25009                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     25010echo "${ECHO_T}yes: $use_blas" >&6
     25011
     25012    else
     25013      if test x"$FLIBS" != x; then
     25014        flink_save_libs="$LIBS"
     25015        LIBS="$LIBS $FLIBS"
     25016        cat >conftest.$ac_ext <<_ACEOF
     25017/* confdefs.h.  */
     25018_ACEOF
     25019cat confdefs.h >>conftest.$ac_ext
     25020cat >>conftest.$ac_ext <<_ACEOF
     25021/* end confdefs.h.  */
     25022extern "C" {void $cfuncdaxpy();}
     25023#ifdef F77_DUMMY_MAIN
     25024
     25025#  ifdef __cplusplus
     25026     extern "C"
     25027#  endif
     25028   int F77_DUMMY_MAIN() { return 1; }
     25029
     25030#endif
     25031int
     25032main ()
     25033{
     25034$cfuncdaxpy()
     25035  ;
     25036  return 0;
     25037}
     25038_ACEOF
     25039rm -f conftest.$ac_objext conftest$ac_exeext
     25040if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25041  (eval $ac_link) 2>conftest.er1
     25042  ac_status=$?
     25043  grep -v '^ *+' conftest.er1 >conftest.err
     25044  rm -f conftest.er1
     25045  cat conftest.err >&5
     25046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25047  (exit $ac_status); } &&
     25048         { ac_try='test -z "$ac_c_werror_flag"
     25049                         || test ! -s conftest.err'
     25050  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25051  (eval $ac_try) 2>&5
     25052  ac_status=$?
     25053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25054  (exit $ac_status); }; } &&
     25055         { ac_try='test -s conftest$ac_exeext'
     25056  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25057  (eval $ac_try) 2>&5
     25058  ac_status=$?
     25059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25060  (exit $ac_status); }; }; then
     25061  LIBS="$flink_save_libs"
     25062                     coin_need_flibs=yes
     25063                     use_blas='-lblas'
     25064                       if test $coin_need_flibs = yes ; then
     25065                         use_blas="$use_blas $FLIBS"
     25066                       fi
     25067                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     25068echo "${ECHO_T}yes: $use_blas" >&6
     25069
     25070
     25071else
     25072  echo "$as_me: failed program was:" >&5
     25073sed 's/^/| /' conftest.$ac_ext >&5
     25074
     25075LIBS="$flink_save_libs"
     25076                     echo "$as_me:$LINENO: result: no" >&5
     25077echo "${ECHO_T}no" >&6
     25078fi
     25079rm -f conftest.err conftest.$ac_objext \
     25080      conftest$ac_exeext conftest.$ac_ext
     25081      else
     25082        echo "$as_me:$LINENO: result: no" >&5
     25083echo "${ECHO_T}no" >&6
     25084      fi
     25085    fi
     25086    ;;
     25087esac
     25088
     25089    LIBS="$coin_save_LIBS"
     25090  fi
     25091
     25092  # If we have no other ideas, consider building BLAS.
     25093  if test -z "$use_blas" ; then
     25094    use_blas=BUILD
     25095  fi
     25096fi
     25097
     25098if test "x$use_blas" = xBUILD ; then
     25099
     25100echo "$as_me:$LINENO: checking for COIN-OR package Blas" >&5
     25101echo $ECHO_N "checking for COIN-OR package Blas... $ECHO_C" >&6
     25102
     25103coin_has_blas=notGiven
     25104
     25105# check if user wants to skip package in any case
     25106if test x"$COIN_SKIP_PROJECTS" != x; then
     25107  for dir in $COIN_SKIP_PROJECTS; do
     25108    if test $dir = "Blas"; then
     25109      coin_has_blas=skipping
     25110    fi
     25111  done
     25112fi
     25113
     25114if test "$coin_has_blas" != skipping; then
     25115
     25116# Check whether --with-m4_tolower(Blas) or --without-m4_tolower(Blas) was given.
     25117if test "${with_blas+set}" = set; then
     25118  withval="$with_blas"
     25119  if test "$withval" = no ; then
     25120       coin_has_blas=skipping
     25121     fi
     25122
     25123fi;
     25124fi
     25125
     25126BLAS_LIBS=
     25127BLAS_CFLAGS=
     25128BLAS_DATA=
     25129BLAS_DEPENDENCIES=
     25130BLAS_PCLIBS=
     25131BLAS_PCREQUIRES=
     25132BLAS_DATA=
     25133
     25134
     25135
     25136
     25137
     25138
     25139
     25140
     25141
     25142
     25143
     25144
     25145
     25146
     25147
     25148
     25149
     25150#check if user provided LIBS, CFLAGS, or DATA for package or disables use of package
     25151if test $coin_has_blas != skipping; then
     25152
     25153# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
     25154if test "${with_blas_lib+set}" = set; then
     25155  withval="$with_blas_lib"
     25156  if test "$withval" = no ; then
     25157       coin_has_blas=skipping
     25158     else
     25159       coin_has_blas=yes
     25160       BLAS_LIBS="$withval"
     25161       BLAS_PCLIBS="$withval"
     25162
     25163         HSL_PCLIBS="$withval $HSL_PCLIBS"
     25164         HSL_LIBS="$withval $HSL_LIBS"
     25165
     25166       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25167       if test -z "$PKG_CONFIG" ; then
     25168         BLAS_LIBS_INSTALLED="$withval"
     25169         HSL_LIBS_INSTALLED="$withval $HSL_LIBS_INSTALLED"
     25170       fi
     25171     fi
     25172
     25173fi;
     25174fi
     25175
     25176if test $coin_has_blas != skipping; then
     25177
     25178# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
     25179if test "${with_blas_incdir+set}" = set; then
     25180  withval="$with_blas_incdir"
     25181  if test "$withval" = no ; then
     25182       coin_has_blas=skipping
     25183     else
     25184       coin_has_blas=yes
     25185       BLAS_CFLAGS="-I`${CYGPATH_W} $withval`"
     25186       HSL_CFLAGS="-I`${CYGPATH_W} $withval` $HSL_CFLAGS"
     25187       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25188       if test -z "$PKG_CONFIG" ; then
     25189         BLAS_CFLAGS_INSTALLED="$BLAS_CFLAGS"
     25190         HSL_CFLAGS_INSTALLED="$BLAS_CFLAGS $HSL_CFLAGS_INSTALLED"
     25191       fi
     25192     fi
     25193
     25194fi;
     25195fi
     25196
     25197if test $coin_has_blas != skipping; then
     25198
     25199# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
     25200if test "${with_blas_datadir+set}" = set; then
     25201  withval="$with_blas_datadir"
     25202  if test "$withval" = no ; then
     25203       coin_has_blas=skipping
     25204     else
     25205       coin_has_blas=yes
     25206       BLAS_DATA="$withval"
     25207       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25208       if test -z "$PKG_CONFIG" ; then
     25209         BLAS_DATA_INSTALLED="$withval"
     25210       fi
     25211     fi
     25212
     25213fi;
     25214fi
     25215
     25216if test $coin_has_blas = notGiven; then
     25217  if test -n "$PKG_CONFIG" ; then
     25218    # set search path for pkg-config
     25219    # need to export variable to be sure that the following pkg-config gets these values
     25220    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     25221    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     25222    export PKG_CONFIG_PATH
     25223
     25224    # let pkg-config do it's magic
     25225
     25226
     25227
     25228if test -n "$PKG_CONFIG" ; then
     25229  if $PKG_CONFIG --exists "coinblas"; then
     25230    BLAS_VERSIONS=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null | tr '\n' ' '`
     25231     cflags=`$PKG_CONFIG --cflags "coinblas" 2>/dev/null`
     25232    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     25233        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     25234        # but only do this if is not trivial
     25235    if test "$CYGPATH_W" != "echo" ; then
     25236      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     25237      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25238    fi
     25239    BLAS_CFLAGS="$cflags"
     25240    BLAS_LIBS=`$PKG_CONFIG --libs "coinblas" 2>/dev/null`
     25241    BLAS_DATA=`$PKG_CONFIG --variable=datadir "coinblas" 2>/dev/null`
     25242     coin_has_blas=yes
     25243        echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5
     25244echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6
     25245
     25246        # adjust linker flags for (i)cl compiler
     25247        # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl)
     25248        if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     25249        then
     25250          BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     25251        fi
     25252        BLAS_PCREQUIRES="coinblas"
     25253
     25254        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in HSL
     25255
     25256          HSL_PCREQUIRES="coinblas $HSL_PCREQUIRES"
     25257          HSL_CFLAGS="$BLAS_CFLAGS $HSL_CFLAGS"
     25258          HSL_LIBS="$BLAS_LIBS $HSL_LIBS"
     25259
     25260
     25261
     25262  else
     25263    BLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"`
     25264      coin_has_blas=notGiven
     25265        echo "$as_me:$LINENO: result: not given: $BLAS_PKG_ERRORS" >&5
     25266echo "${ECHO_T}not given: $BLAS_PKG_ERRORS" >&6
     25267
     25268  fi
     25269else
     25270  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Blas without pkg-config\"" >&5
     25271echo "$as_me: error: \"Cannot check for existance of module Blas without pkg-config\"" >&2;}
     25272   { (exit 1); exit 1; }; }
     25273fi
     25274
     25275
     25276
     25277
     25278    # reset PKG_CONFIG_PATH variable
     25279    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     25280    export PKG_CONFIG_PATH
     25281
     25282  else
     25283    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     25284echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     25285
     25286echo "$as_me:$LINENO: checking for COIN-OR package Blas (fallback)" >&5
     25287echo $ECHO_N "checking for COIN-OR package Blas (fallback)... $ECHO_C" >&6
     25288
     25289coin_has_blas=notGiven
     25290BLAS_LIBS=
     25291BLAS_LIBS_INSTALLED=
     25292BLAS_CFLAGS=
     25293BLAS_CFLAGS_INSTALLED=
     25294BLAS_DATA=
     25295BLAS_DATA_INSTALLED=
     25296BLAS_PCLIBS=
     25297BLAS_PCREQUIRES=
     25298
     25299# initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x, != x)
     25300projtoprocess="coinblas"
     25301
     25302# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
     25303# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     25304# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
     25305# also, we setup the DATA variable
     25306allproj=""
     25307allpcfiles=""
     25308allpcifiles=""
     25309while test "x$projtoprocess" != x ; do
     25310
     25311  for proj in $projtoprocess ; do
     25312    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     25313    pcfile=""
     25314    save_IFS="$IFS"
     25315    IFS=":"
     25316    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     25317      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     25318      if test -r "$dir/${proj}-uninstalled.pc" ; then
     25319        pcfile="$dir/$proj-uninstalled.pc"
     25320        if test -r "$dir/${proj}.pc" ; then
     25321          pcifile="$dir/${proj}.pc"
     25322        else
     25323          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     25324echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     25325          pcifile=
     25326        fi
     25327        break
     25328      fi
     25329    done
     25330    IFS="$save_IFS"
     25331
     25332    if test "x$pcfile" != x ; then
     25333      # read dependencies from $pcfile and filter it
     25334      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     25335
     25336      # add projrequires to the front of the list of projects that have to be processed next
     25337      # at the same time, remove $proj from this list
     25338      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
     25339
     25340      # read DATA from $pcfile, if _DATA is still empty
     25341      if test "x$BLAS_DATA" = x ; then
     25342        projdatadir=
     25343        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     25344        eval `sh -c "$pcfilemod"`
     25345        BLAS_DATA="$projdatadir"
     25346      fi
     25347
     25348      allproj="$allproj $proj"
     25349      allpcfiles="$pcfile:$allpcfiles"
     25350
     25351    else
     25352      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     25353echo "${ECHO_T}no, dependency $proj not available" >&6
     25354      allproj=fail
     25355      break 2
     25356    fi
     25357
     25358    if test "x$pcifile" != x ; then
     25359      allpcifiles="$pcifile:$allpcifiles"
     25360
     25361      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     25362      if test "x$BLAS_DATA_INSTALLED" = x ; then
     25363        projdatadir=
     25364        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     25365        eval `sh -c "$pcifilemod"`
     25366        if test "${CYGPATH_W}" != "echo"; then
     25367          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     25368        fi
     25369        BLAS_DATA_INSTALLED="$projdatadir"
     25370      fi
     25371
     25372    fi
     25373
     25374    break
     25375  done
     25376
     25377  # remove spaces on begin of $projtoprocess
     25378  projtoprocess=`echo $projtoprocess | sed -e 's/^ *//'`
     25379
     25380done
     25381
     25382if test "$allproj" != fail ; then
     25383
     25384  # now go through the list of .pc files and assemble compiler and linker flags
     25385  # important is here to obey the reverse order that has been setup before,
     25386  # since then libraries that are required by several others should be after these other libraries
     25387  pcfilesprocessed=""
     25388
     25389  save_IFS="$IFS"
     25390  IFS=":"
     25391  for pcfile in $allpcfiles ; do
     25392
     25393    # if $pcfile has been processed already, skip this round
     25394    if test "x$pcfilesprocessed" != x ; then
     25395      for pcfiledone in $pcfilesprocessed ; do
     25396        if test "$pcfiledone" = "$pcfile" ; then
     25397          continue 2
     25398        fi
     25399      done
     25400    fi
     25401
     25402    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25403    #   replace "Libs:" by "echo projlibs="
     25404    #   replace "Cflags:" by "echo projcflags="
     25405    #   remove every line starting with <some word>:
     25406    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
     25407
     25408    # set projcflags and projlibs variables by running $pcfilemod
     25409    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
     25410    projcflags=
     25411    projlibs=
     25412    IFS="$save_IFS"
     25413    eval `sh -c "$pcfilemod"`
     25414    IFS=":"
     25415
     25416    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     25417    if test "${CYGPATH_W}" != "echo"; then
     25418      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25419    fi
     25420    BLAS_CFLAGS="$projcflags $BLAS_CFLAGS"
     25421
     25422    # set LIBS variable
     25423    BLAS_LIBS="$projlibs $BLAS_LIBS"
     25424
     25425    # remember that we have processed $pcfile
     25426    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     25427
     25428  done
     25429  IFS="$save_IFS"
     25430
     25431
     25432  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     25433  # important is here again to obey the reverse order that has been setup before,
     25434  # since then libraries that are required by several others should be after these other libraries
     25435  pcfilesprocessed=""
     25436
     25437  save_IFS="$IFS"
     25438  IFS=":"
     25439  for pcfile in $allpcifiles ; do
     25440
     25441    # if $pcfile has been processed already, skip this round
     25442    if test "x$pcfilesprocessed" != x ; then
     25443      for pcfiledone in $pcfilesprocessed ; do
     25444        if test "$pcfiledone" = "$pcfile" ; then
     25445          continue 2
     25446        fi
     25447      done
     25448    fi
     25449
     25450    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25451    #   replace "Libs:" by "echo projlibs="
     25452    #   replace "Cflags:" by "echo projcflags="
     25453    #   remove every line starting with <some word>:
     25454    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
     25455
     25456    # set projcflags and projlibs variables by running $pcfilemod
     25457    # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default
     25458    projcflags=
     25459    projlibs=
     25460    IFS="$save_IFS"
     25461    eval `sh -c "$pcfilemod"`
     25462    IFS=":"
     25463
     25464    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     25465    if test "${CYGPATH_W}" != "echo"; then
     25466      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25467    fi
     25468    BLAS_CFLAGS_INSTALLED="$projcflags $BLAS_CFLAGS_INSTALLED"
     25469
     25470    # set LIBS variable
     25471    BLAS_LIBS_INSTALLED="$projlibs $BLAS_LIBS_INSTALLED"
     25472
     25473    # remember that we have processed $pcfile
     25474    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     25475
     25476  done
     25477  IFS="$save_IFS"
     25478
     25479
     25480  # finish up
     25481  coin_has_blas=yes
     25482  echo "$as_me:$LINENO: result: yes" >&5
     25483echo "${ECHO_T}yes" >&6
     25484
     25485cat >>confdefs.h <<\_ACEOF
     25486#define COIN_HAS_BLAS 1
     25487_ACEOF
     25488
     25489
     25490  # adjust linker flags for (i)cl compiler
     25491  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
     25492  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
     25493  #    everything of the form "-lname" by "libname.lib", and
     25494  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`
     25495  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     25496  then
     25497    BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     25498    BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'`
     25499  fi
     25500
     25501  BLAS_PCREQUIRES="coinblas"
     25502
     25503    HSL_PCREQUIRES="coinblas $HSL_PCREQUIRES"
     25504    HSL_CFLAGS="$BLAS_CFLAGS $HSL_CFLAGS"
     25505    HSL_LIBS="$BLAS_LIBS $HSL_LIBS"
     25506    HSL_CFLAGS_INSTALLED="$BLAS_CFLAGS_INSTALLED $HSL_CFLAGS_INSTALLED"
     25507    HSL_LIBS_INSTALLED="$BLAS_LIBS_INSTALLED $HSL_LIBS_INSTALLED"
     25508
     25509
     25510fi
     25511
     25512
     25513
     25514if test $coin_has_blas != notGiven &&
     25515                test $coin_has_blas != skipping; then
     25516  COIN_HAS_BLAS_TRUE=
     25517  COIN_HAS_BLAS_FALSE='#'
     25518else
     25519  COIN_HAS_BLAS_TRUE='#'
     25520  COIN_HAS_BLAS_FALSE=
     25521fi
     25522
     25523
     25524
     25525  fi
     25526
     25527else
     25528  echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     25529echo "${ECHO_T}$coin_has_blas" >&6
     25530fi
     25531
     25532if test $coin_has_blas != skipping &&
     25533   test $coin_has_blas != notGiven ; then
     25534
     25535cat >>confdefs.h <<\_ACEOF
     25536#define COIN_HAS_BLAS 1
     25537_ACEOF
     25538
     25539
     25540  # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given.
     25541if test "${enable_interpackage_dependencies+set}" = set; then
     25542  enableval="$enable_interpackage_dependencies"
     25543
     25544else
     25545  enable_interpackage_dependencies=yes
     25546fi;
     25547
     25548  if test $enable_interpackage_dependencies = yes ; then
     25549     # construct dependencies variables from LIBS variables
     25550     # we add an extra space in LIBS so we can substitute out everything starting with " -"
     25551     # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* as used on Windows
     25552     # then remove everything of the form -xxx
     25553     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
     25554     BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25555
     25556       HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25557
     25558  fi
     25559
     25560  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     25561    if test -n "$BLAS_CFLAGS" ; then
     25562      { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5
     25563echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;}
     25564    fi
     25565    if test -n "$BLAS_LIBS" ; then
     25566      { echo "$as_me:$LINENO: Blas LIBS   are $BLAS_LIBS" >&5
     25567echo "$as_me: Blas LIBS   are $BLAS_LIBS" >&6;}
     25568    fi
     25569    if test -n "$BLAS_DEPENDENCIES" ; then
     25570      { echo "$as_me:$LINENO: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&5
     25571echo "$as_me: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&6;}
     25572    fi
     25573    if test -n "$BLAS_DATA" ; then
     25574      { echo "$as_me:$LINENO: Blas DATA   is  $BLAS_DATA" >&5
     25575echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
     25576    fi
     25577    if test -n "$BLAS_PCLIBS" ; then
     25578      { echo "$as_me:$LINENO: Blas PCLIBS are $BLAS_PCLIBS" >&5
     25579echo "$as_me: Blas PCLIBS are $BLAS_PCLIBS" >&6;}
     25580    fi
     25581    if test -n "$BLAS_PCREQUIRES" ; then
     25582      { echo "$as_me:$LINENO: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&5
     25583echo "$as_me: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&6;}
     25584    fi
     25585
     25586      { echo "$as_me:$LINENO: HSL CFLAGS are $HSL_CFLAGS" >&5
     25587echo "$as_me: HSL CFLAGS are $HSL_CFLAGS" >&6;}
     25588      { echo "$as_me:$LINENO: HSL LIBS   are $HSL_LIBS" >&5
     25589echo "$as_me: HSL LIBS   are $HSL_LIBS" >&6;}
     25590      { echo "$as_me:$LINENO: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&5
     25591echo "$as_me: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&6;}
     25592
     25593  fi
     25594fi
     25595
     25596# Define the Makefile conditional
     25597
     25598
     25599if test $coin_has_blas != notGiven &&
     25600                test $coin_has_blas != skipping; then
     25601  COIN_HAS_BLAS_TRUE=
     25602  COIN_HAS_BLAS_FALSE='#'
     25603else
     25604  COIN_HAS_BLAS_TRUE='#'
     25605  COIN_HAS_BLAS_FALSE=
     25606fi
     25607
     25608
     25609
     25610
     25611elif test "x$use_blas" != x && test "$use_blas" != no; then
     25612  coin_has_blas=yes
     25613
     25614
     25615if test 0 = 0; then
     25616  COIN_HAS_BLAS_TRUE=
     25617  COIN_HAS_BLAS_FALSE='#'
     25618else
     25619  COIN_HAS_BLAS_TRUE='#'
     25620  COIN_HAS_BLAS_FALSE=
     25621fi
     25622
     25623
     25624cat >>confdefs.h <<\_ACEOF
     25625#define COIN_HAS_BLAS 1
     25626_ACEOF
     25627
     25628  BLAS_LIBS="$use_blas"
     25629  BLAS_CFLAGS=
     25630  BLAS_DATA=
     25631
     25632
     25633
     25634
     25635    HSL_PCLIBS="$BLAS_LIBS $HSL_PCLIBS"
     25636    HSL_LIBS="$BLAS_LIBS $HSL_LIBS"
     25637    HSL_LIBS_INSTALLED="$BLAS_LIBS $HSL_LIBS_INSTALLED"
     25638
     25639
     25640else
     25641  coin_has_blas=no
     25642
     25643
     25644if test 0 = 1; then
     25645  COIN_HAS_BLAS_TRUE=
     25646  COIN_HAS_BLAS_FALSE='#'
     25647else
     25648  COIN_HAS_BLAS_TRUE='#'
     25649  COIN_HAS_BLAS_FALSE=
     25650fi
     25651
     25652fi
     25653
     25654
     25655
     25656
     25657
     25658
     25659
     25660
     25661  if test $coin_has_blas != yes ; then
     25662    { { echo "$as_me:$LINENO: error: Required package BLAS not found." >&5
     25663echo "$as_me: error: Required package BLAS not found." >&2;}
     25664   { (exit 1); exit 1; }; }
     25665  fi
     25666else
     25667
     25668
     25669if test 0 = 1; then
     25670  COIN_HAS_BLAS_TRUE=
     25671  COIN_HAS_BLAS_FALSE='#'
     25672else
     25673  COIN_HAS_BLAS_TRUE='#'
     25674  COIN_HAS_BLAS_FALSE=
     25675fi
     25676
     25677fi
     25678
     25679# MA57, MA77, and MC68 require Metis
     25680if test $coin_has_ma57$coin_has_hsl_ma77$coin_has_hsl_mc68 != nonono ; then
    2211225681
    2211325682echo "$as_me:$LINENO: checking for COIN-OR package Metis" >&5
     
    2262226191
    2262326192  if test $coin_has_metis != yes ; then
    22624     { { echo "$as_me:$LINENO: error: MA57 requires METIS, which is not found." >&5
    22625 echo "$as_me: error: MA57 requires METIS, which is not found." >&2;}
    22626    { (exit 1); exit 1; }; }
    22627   fi
    22628 
    22629 
    22630 # Check whether --with-blas or --without-blas was given.
    22631 if test "${with_blas+set}" = set; then
    22632   withval="$with_blas"
    22633   use_blas="$withval"
    22634 else
    22635   use_blas=
    22636 fi;
    22637 
    22638 # if user specified --with-blas-lib, then we should give COIN_CHECK_PACKAGE
    22639 # preference
    22640 
    22641 # Check whether --with-blas-lib or --without-blas-lib was given.
    22642 if test "${with_blas_lib+set}" = set; then
    22643   withval="$with_blas_lib"
    22644   use_blas=BUILD
    22645 fi;
    22646 
    22647 # Check if user supplied option makes sense
    22648 if test x"$use_blas" != x; then
    22649   if test "$use_blas" = "BUILD"; then
    22650     # we come to this later
    22651     :
    22652   elif test "$use_blas" != "no"; then
    22653     echo "$as_me:$LINENO: checking whether user supplied BLASLIB=\"$use_blas\" works" >&5
    22654 echo $ECHO_N "checking whether user supplied BLASLIB=\"$use_blas\" works... $ECHO_C" >&6
    22655     coin_need_flibs=no
    22656     coin_save_LIBS="$LIBS"
    22657     LIBS="$use_blas $LIBS"
    22658     case $ac_ext in
    22659   f)
    22660     cat >conftest.$ac_ext <<_ACEOF
    22661 /* confdefs.h.  */
    22662 _ACEOF
    22663 cat confdefs.h >>conftest.$ac_ext
    22664 cat >>conftest.$ac_ext <<_ACEOF
    22665 /* end confdefs.h.  */
    22666 
    22667 #ifdef F77_DUMMY_MAIN
    22668 
    22669 #  ifdef __cplusplus
    22670      extern "C"
    22671 #  endif
    22672    int F77_DUMMY_MAIN() { return 1; }
    22673 
    22674 #endif
    22675 int
    22676 main ()
    22677 {
    22678       call daxpy
    22679   ;
    22680   return 0;
    22681 }
    22682 _ACEOF
    22683 rm -f conftest.$ac_objext conftest$ac_exeext
    22684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22685   (eval $ac_link) 2>conftest.er1
    22686   ac_status=$?
    22687   grep -v '^ *+' conftest.er1 >conftest.err
    22688   rm -f conftest.er1
    22689   cat conftest.err >&5
    22690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22691   (exit $ac_status); } &&
    22692          { ac_try='test -z "$ac_c_werror_flag"
    22693                          || test ! -s conftest.err'
    22694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22695   (eval $ac_try) 2>&5
    22696   ac_status=$?
    22697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22698   (exit $ac_status); }; } &&
    22699          { ac_try='test -s conftest$ac_exeext'
    22700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22701   (eval $ac_try) 2>&5
    22702   ac_status=$?
    22703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22704   (exit $ac_status); }; }; then
    22705   if test $coin_need_flibs = yes ; then
    22706                          use_blas="$use_blas $FLIBS"
    22707                        fi
    22708                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    22709 echo "${ECHO_T}yes: $use_blas" >&6
    22710 else
    22711   echo "$as_me: failed program was:" >&5
    22712 sed 's/^/| /' conftest.$ac_ext >&5
    22713 
    22714 echo "$as_me:$LINENO: result: no" >&5
    22715 echo "${ECHO_T}no" >&6
    22716                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    22717 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    22718    { (exit 1); exit 1; }; }
    22719 fi
    22720 rm -f conftest.err conftest.$ac_objext \
    22721       conftest$ac_exeext conftest.$ac_ext
    22722     ;;
    22723   c)
    22724     ac_ext=f
    22725 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22726 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22727 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22728 case $ac_cv_f77_mangling in
    22729   upper*) ac_val="DAXPY" ;;
    22730   lower*) ac_val="daxpy" ;;
    22731   *)      ac_val="unknown" ;;
    22732 esac
    22733 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22734 
    22735 cfuncdaxpy="$ac_val"
    22736 
    22737 ac_ext=c
    22738 ac_cpp='$CPP $CPPFLAGS'
    22739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22742 
    22743     if test x"$coin_need_flibs" = xyes; then
    22744       flink_try=no;
    22745     else
    22746       cat >conftest.$ac_ext <<_ACEOF
    22747 /* confdefs.h.  */
    22748 _ACEOF
    22749 cat confdefs.h >>conftest.$ac_ext
    22750 cat >>conftest.$ac_ext <<_ACEOF
    22751 /* end confdefs.h.  */
    22752 void $cfuncdaxpy();
    22753 #ifdef F77_DUMMY_MAIN
    22754 
    22755 #  ifdef __cplusplus
    22756      extern "C"
    22757 #  endif
    22758    int F77_DUMMY_MAIN() { return 1; }
    22759 
    22760 #endif
    22761 int
    22762 main ()
    22763 {
    22764 $cfuncdaxpy()
    22765   ;
    22766   return 0;
    22767 }
    22768 _ACEOF
    22769 rm -f conftest.$ac_objext conftest$ac_exeext
    22770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22771   (eval $ac_link) 2>conftest.er1
    22772   ac_status=$?
    22773   grep -v '^ *+' conftest.er1 >conftest.err
    22774   rm -f conftest.er1
    22775   cat conftest.err >&5
    22776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22777   (exit $ac_status); } &&
    22778          { ac_try='test -z "$ac_c_werror_flag"
    22779                          || test ! -s conftest.err'
    22780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22781   (eval $ac_try) 2>&5
    22782   ac_status=$?
    22783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22784   (exit $ac_status); }; } &&
    22785          { ac_try='test -s conftest$ac_exeext'
    22786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22787   (eval $ac_try) 2>&5
    22788   ac_status=$?
    22789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22790   (exit $ac_status); }; }; then
    22791   flink_try=yes
    22792 else
    22793   echo "$as_me: failed program was:" >&5
    22794 sed 's/^/| /' conftest.$ac_ext >&5
    22795 
    22796 flink_try=no
    22797 fi
    22798 rm -f conftest.err conftest.$ac_objext \
    22799       conftest$ac_exeext conftest.$ac_ext
    22800     fi
    22801     if test $flink_try = yes; then
    22802       if test $coin_need_flibs = yes ; then
    22803                          use_blas="$use_blas $FLIBS"
    22804                        fi
    22805                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    22806 echo "${ECHO_T}yes: $use_blas" >&6
    22807     else
    22808       if test x"$FLIBS" != x; then
    22809         flink_save_libs="$LIBS"
    22810         LIBS="$LIBS $FLIBS"
    22811         cat >conftest.$ac_ext <<_ACEOF
    22812 /* confdefs.h.  */
    22813 _ACEOF
    22814 cat confdefs.h >>conftest.$ac_ext
    22815 cat >>conftest.$ac_ext <<_ACEOF
    22816 /* end confdefs.h.  */
    22817 void $cfuncdaxpy();
    22818 #ifdef F77_DUMMY_MAIN
    22819 
    22820 #  ifdef __cplusplus
    22821      extern "C"
    22822 #  endif
    22823    int F77_DUMMY_MAIN() { return 1; }
    22824 
    22825 #endif
    22826 int
    22827 main ()
    22828 {
    22829 $cfuncdaxpy()
    22830   ;
    22831   return 0;
    22832 }
    22833 _ACEOF
    22834 rm -f conftest.$ac_objext conftest$ac_exeext
    22835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22836   (eval $ac_link) 2>conftest.er1
    22837   ac_status=$?
    22838   grep -v '^ *+' conftest.er1 >conftest.err
    22839   rm -f conftest.er1
    22840   cat conftest.err >&5
    22841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22842   (exit $ac_status); } &&
    22843          { ac_try='test -z "$ac_c_werror_flag"
    22844                          || test ! -s conftest.err'
    22845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22846   (eval $ac_try) 2>&5
    22847   ac_status=$?
    22848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22849   (exit $ac_status); }; } &&
    22850          { ac_try='test -s conftest$ac_exeext'
    22851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22852   (eval $ac_try) 2>&5
    22853   ac_status=$?
    22854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22855   (exit $ac_status); }; }; then
    22856   LIBS="$flink_save_libs"
    22857                      coin_need_flibs=yes
    22858                      if test $coin_need_flibs = yes ; then
    22859                          use_blas="$use_blas $FLIBS"
    22860                        fi
    22861                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    22862 echo "${ECHO_T}yes: $use_blas" >&6
    22863 
    22864 else
    22865   echo "$as_me: failed program was:" >&5
    22866 sed 's/^/| /' conftest.$ac_ext >&5
    22867 
    22868 LIBS="$flink_save_libs"
    22869                      echo "$as_me:$LINENO: result: no" >&5
    22870 echo "${ECHO_T}no" >&6
    22871                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    22872 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    22873    { (exit 1); exit 1; }; }
    22874 fi
    22875 rm -f conftest.err conftest.$ac_objext \
    22876       conftest$ac_exeext conftest.$ac_ext
    22877       else
    22878         echo "$as_me:$LINENO: result: no" >&5
    22879 echo "${ECHO_T}no" >&6
    22880                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    22881 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    22882    { (exit 1); exit 1; }; }
    22883       fi
    22884     fi
    22885     ;;
    22886   cc|cpp)
    22887     ac_ext=f
    22888 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    22889 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22890 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    22891 case $ac_cv_f77_mangling in
    22892   upper*) ac_val="DAXPY" ;;
    22893   lower*) ac_val="daxpy" ;;
    22894   *)      ac_val="unknown" ;;
    22895 esac
    22896 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    22897 
    22898 cfuncdaxpy="$ac_val"
    22899 
    22900 ac_ext=c
    22901 ac_cpp='$CPP $CPPFLAGS'
    22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22905 
    22906     if test x"$coin_need_flibs" = xyes; then
    22907       flink_try=no;
    22908     else
    22909       cat >conftest.$ac_ext <<_ACEOF
    22910 /* confdefs.h.  */
    22911 _ACEOF
    22912 cat confdefs.h >>conftest.$ac_ext
    22913 cat >>conftest.$ac_ext <<_ACEOF
    22914 /* end confdefs.h.  */
    22915 extern "C" {void $cfuncdaxpy();}
    22916 #ifdef F77_DUMMY_MAIN
    22917 
    22918 #  ifdef __cplusplus
    22919      extern "C"
    22920 #  endif
    22921    int F77_DUMMY_MAIN() { return 1; }
    22922 
    22923 #endif
    22924 int
    22925 main ()
    22926 {
    22927 $cfuncdaxpy()
    22928   ;
    22929   return 0;
    22930 }
    22931 _ACEOF
    22932 rm -f conftest.$ac_objext conftest$ac_exeext
    22933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22934   (eval $ac_link) 2>conftest.er1
    22935   ac_status=$?
    22936   grep -v '^ *+' conftest.er1 >conftest.err
    22937   rm -f conftest.er1
    22938   cat conftest.err >&5
    22939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22940   (exit $ac_status); } &&
    22941          { ac_try='test -z "$ac_c_werror_flag"
    22942                          || test ! -s conftest.err'
    22943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22944   (eval $ac_try) 2>&5
    22945   ac_status=$?
    22946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22947   (exit $ac_status); }; } &&
    22948          { ac_try='test -s conftest$ac_exeext'
    22949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22950   (eval $ac_try) 2>&5
    22951   ac_status=$?
    22952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22953   (exit $ac_status); }; }; then
    22954   flink_try=yes
    22955 else
    22956   echo "$as_me: failed program was:" >&5
    22957 sed 's/^/| /' conftest.$ac_ext >&5
    22958 
    22959 flink_try=no
    22960 fi
    22961 rm -f conftest.err conftest.$ac_objext \
    22962       conftest$ac_exeext conftest.$ac_ext
    22963     fi
    22964     if test $flink_try = yes; then
    22965       if test $coin_need_flibs = yes ; then
    22966                          use_blas="$use_blas $FLIBS"
    22967                        fi
    22968                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    22969 echo "${ECHO_T}yes: $use_blas" >&6
    22970     else
    22971       if test x"$FLIBS" != x; then
    22972         flink_save_libs="$LIBS"
    22973         LIBS="$LIBS $FLIBS"
    22974         cat >conftest.$ac_ext <<_ACEOF
    22975 /* confdefs.h.  */
    22976 _ACEOF
    22977 cat confdefs.h >>conftest.$ac_ext
    22978 cat >>conftest.$ac_ext <<_ACEOF
    22979 /* end confdefs.h.  */
    22980 extern "C" {void $cfuncdaxpy();}
    22981 #ifdef F77_DUMMY_MAIN
    22982 
    22983 #  ifdef __cplusplus
    22984      extern "C"
    22985 #  endif
    22986    int F77_DUMMY_MAIN() { return 1; }
    22987 
    22988 #endif
    22989 int
    22990 main ()
    22991 {
    22992 $cfuncdaxpy()
    22993   ;
    22994   return 0;
    22995 }
    22996 _ACEOF
    22997 rm -f conftest.$ac_objext conftest$ac_exeext
    22998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22999   (eval $ac_link) 2>conftest.er1
    23000   ac_status=$?
    23001   grep -v '^ *+' conftest.er1 >conftest.err
    23002   rm -f conftest.er1
    23003   cat conftest.err >&5
    23004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23005   (exit $ac_status); } &&
    23006          { ac_try='test -z "$ac_c_werror_flag"
    23007                          || test ! -s conftest.err'
    23008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23009   (eval $ac_try) 2>&5
    23010   ac_status=$?
    23011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23012   (exit $ac_status); }; } &&
    23013          { ac_try='test -s conftest$ac_exeext'
    23014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23015   (eval $ac_try) 2>&5
    23016   ac_status=$?
    23017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23018   (exit $ac_status); }; }; then
    23019   LIBS="$flink_save_libs"
    23020                      coin_need_flibs=yes
    23021                      if test $coin_need_flibs = yes ; then
    23022                          use_blas="$use_blas $FLIBS"
    23023                        fi
    23024                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23025 echo "${ECHO_T}yes: $use_blas" >&6
    23026 
    23027 else
    23028   echo "$as_me: failed program was:" >&5
    23029 sed 's/^/| /' conftest.$ac_ext >&5
    23030 
    23031 LIBS="$flink_save_libs"
    23032                      echo "$as_me:$LINENO: result: no" >&5
    23033 echo "${ECHO_T}no" >&6
    23034                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    23035 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    23036    { (exit 1); exit 1; }; }
    23037 fi
    23038 rm -f conftest.err conftest.$ac_objext \
    23039       conftest$ac_exeext conftest.$ac_ext
    23040       else
    23041         echo "$as_me:$LINENO: result: no" >&5
    23042 echo "${ECHO_T}no" >&6
    23043                        { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
    23044 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
    23045    { (exit 1); exit 1; }; }
    23046       fi
    23047     fi
    23048     ;;
    23049 esac
    23050 
    23051     LIBS="$coin_save_LIBS"
    23052   fi
    23053 else
    23054 # Try to autodetect the library for blas based on build system
    23055   #AC_MSG_CHECKING([default locations for BLAS])
    23056   skip_lblas_check=no
    23057   case $build in
    23058     *-sgi-*)
    23059       echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has BLAS" >&5
    23060 echo $ECHO_N "checking whether -lcomplib.sgimath has BLAS... $ECHO_C" >&6
    23061       coin_need_flibs=no
    23062       coin_save_LIBS="$LIBS"
    23063       LIBS="-lcomplib.sgimath $LIBS"
    23064       case $ac_ext in
    23065   f)
    23066     cat >conftest.$ac_ext <<_ACEOF
    23067 /* confdefs.h.  */
    23068 _ACEOF
    23069 cat confdefs.h >>conftest.$ac_ext
    23070 cat >>conftest.$ac_ext <<_ACEOF
    23071 /* end confdefs.h.  */
    23072 
    23073 #ifdef F77_DUMMY_MAIN
    23074 
    23075 #  ifdef __cplusplus
    23076      extern "C"
    23077 #  endif
    23078    int F77_DUMMY_MAIN() { return 1; }
    23079 
    23080 #endif
    23081 int
    23082 main ()
    23083 {
    23084       call daxpy
    23085   ;
    23086   return 0;
    23087 }
    23088 _ACEOF
    23089 rm -f conftest.$ac_objext conftest$ac_exeext
    23090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23091   (eval $ac_link) 2>conftest.er1
    23092   ac_status=$?
    23093   grep -v '^ *+' conftest.er1 >conftest.err
    23094   rm -f conftest.er1
    23095   cat conftest.err >&5
    23096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23097   (exit $ac_status); } &&
    23098          { ac_try='test -z "$ac_c_werror_flag"
    23099                          || test ! -s conftest.err'
    23100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23101   (eval $ac_try) 2>&5
    23102   ac_status=$?
    23103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23104   (exit $ac_status); }; } &&
    23105          { ac_try='test -s conftest$ac_exeext'
    23106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23107   (eval $ac_try) 2>&5
    23108   ac_status=$?
    23109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23110   (exit $ac_status); }; }; then
    23111   use_blas="-lcomplib.sgimath"
    23112                          if test $coin_need_flibs = yes ; then
    23113                            use_blas="$use_blas $FLIBS"
    23114                          fi
    23115                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23116 echo "${ECHO_T}yes: $use_blas" >&6
    23117 
    23118 else
    23119   echo "$as_me: failed program was:" >&5
    23120 sed 's/^/| /' conftest.$ac_ext >&5
    23121 
    23122 echo "$as_me:$LINENO: result: no" >&5
    23123 echo "${ECHO_T}no" >&6
    23124 fi
    23125 rm -f conftest.err conftest.$ac_objext \
    23126       conftest$ac_exeext conftest.$ac_ext
    23127     ;;
    23128   c)
    23129     ac_ext=f
    23130 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23131 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23132 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23133 case $ac_cv_f77_mangling in
    23134   upper*) ac_val="DAXPY" ;;
    23135   lower*) ac_val="daxpy" ;;
    23136   *)      ac_val="unknown" ;;
    23137 esac
    23138 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23139 
    23140 cfuncdaxpy="$ac_val"
    23141 
    23142 ac_ext=c
    23143 ac_cpp='$CPP $CPPFLAGS'
    23144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23147 
    23148     if test x"$coin_need_flibs" = xyes; then
    23149       flink_try=no;
    23150     else
    23151       cat >conftest.$ac_ext <<_ACEOF
    23152 /* confdefs.h.  */
    23153 _ACEOF
    23154 cat confdefs.h >>conftest.$ac_ext
    23155 cat >>conftest.$ac_ext <<_ACEOF
    23156 /* end confdefs.h.  */
    23157 void $cfuncdaxpy();
    23158 #ifdef F77_DUMMY_MAIN
    23159 
    23160 #  ifdef __cplusplus
    23161      extern "C"
    23162 #  endif
    23163    int F77_DUMMY_MAIN() { return 1; }
    23164 
    23165 #endif
    23166 int
    23167 main ()
    23168 {
    23169 $cfuncdaxpy()
    23170   ;
    23171   return 0;
    23172 }
    23173 _ACEOF
    23174 rm -f conftest.$ac_objext conftest$ac_exeext
    23175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23176   (eval $ac_link) 2>conftest.er1
    23177   ac_status=$?
    23178   grep -v '^ *+' conftest.er1 >conftest.err
    23179   rm -f conftest.er1
    23180   cat conftest.err >&5
    23181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23182   (exit $ac_status); } &&
    23183          { ac_try='test -z "$ac_c_werror_flag"
    23184                          || test ! -s conftest.err'
    23185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23186   (eval $ac_try) 2>&5
    23187   ac_status=$?
    23188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23189   (exit $ac_status); }; } &&
    23190          { ac_try='test -s conftest$ac_exeext'
    23191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23192   (eval $ac_try) 2>&5
    23193   ac_status=$?
    23194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23195   (exit $ac_status); }; }; then
    23196   flink_try=yes
    23197 else
    23198   echo "$as_me: failed program was:" >&5
    23199 sed 's/^/| /' conftest.$ac_ext >&5
    23200 
    23201 flink_try=no
    23202 fi
    23203 rm -f conftest.err conftest.$ac_objext \
    23204       conftest$ac_exeext conftest.$ac_ext
    23205     fi
    23206     if test $flink_try = yes; then
    23207       use_blas="-lcomplib.sgimath"
    23208                          if test $coin_need_flibs = yes ; then
    23209                            use_blas="$use_blas $FLIBS"
    23210                          fi
    23211                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23212 echo "${ECHO_T}yes: $use_blas" >&6
    23213 
    23214     else
    23215       if test x"$FLIBS" != x; then
    23216         flink_save_libs="$LIBS"
    23217         LIBS="$LIBS $FLIBS"
    23218         cat >conftest.$ac_ext <<_ACEOF
    23219 /* confdefs.h.  */
    23220 _ACEOF
    23221 cat confdefs.h >>conftest.$ac_ext
    23222 cat >>conftest.$ac_ext <<_ACEOF
    23223 /* end confdefs.h.  */
    23224 void $cfuncdaxpy();
    23225 #ifdef F77_DUMMY_MAIN
    23226 
    23227 #  ifdef __cplusplus
    23228      extern "C"
    23229 #  endif
    23230    int F77_DUMMY_MAIN() { return 1; }
    23231 
    23232 #endif
    23233 int
    23234 main ()
    23235 {
    23236 $cfuncdaxpy()
    23237   ;
    23238   return 0;
    23239 }
    23240 _ACEOF
    23241 rm -f conftest.$ac_objext conftest$ac_exeext
    23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23243   (eval $ac_link) 2>conftest.er1
    23244   ac_status=$?
    23245   grep -v '^ *+' conftest.er1 >conftest.err
    23246   rm -f conftest.er1
    23247   cat conftest.err >&5
    23248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23249   (exit $ac_status); } &&
    23250          { ac_try='test -z "$ac_c_werror_flag"
    23251                          || test ! -s conftest.err'
    23252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23253   (eval $ac_try) 2>&5
    23254   ac_status=$?
    23255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23256   (exit $ac_status); }; } &&
    23257          { ac_try='test -s conftest$ac_exeext'
    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); }; }; then
    23263   LIBS="$flink_save_libs"
    23264                      coin_need_flibs=yes
    23265                      use_blas="-lcomplib.sgimath"
    23266                          if test $coin_need_flibs = yes ; then
    23267                            use_blas="$use_blas $FLIBS"
    23268                          fi
    23269                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23270 echo "${ECHO_T}yes: $use_blas" >&6
    23271 
    23272 
    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 fi
    23281 rm -f conftest.err conftest.$ac_objext \
    23282       conftest$ac_exeext conftest.$ac_ext
    23283       else
    23284         echo "$as_me:$LINENO: result: no" >&5
    23285 echo "${ECHO_T}no" >&6
    23286       fi
    23287     fi
    23288     ;;
    23289   cc|cpp)
    23290     ac_ext=f
    23291 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23292 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23293 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23294 case $ac_cv_f77_mangling in
    23295   upper*) ac_val="DAXPY" ;;
    23296   lower*) ac_val="daxpy" ;;
    23297   *)      ac_val="unknown" ;;
    23298 esac
    23299 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23300 
    23301 cfuncdaxpy="$ac_val"
    23302 
    23303 ac_ext=c
    23304 ac_cpp='$CPP $CPPFLAGS'
    23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23308 
    23309     if test x"$coin_need_flibs" = xyes; then
    23310       flink_try=no;
    23311     else
    23312       cat >conftest.$ac_ext <<_ACEOF
    23313 /* confdefs.h.  */
    23314 _ACEOF
    23315 cat confdefs.h >>conftest.$ac_ext
    23316 cat >>conftest.$ac_ext <<_ACEOF
    23317 /* end confdefs.h.  */
    23318 extern "C" {void $cfuncdaxpy();}
    23319 #ifdef F77_DUMMY_MAIN
    23320 
    23321 #  ifdef __cplusplus
    23322      extern "C"
    23323 #  endif
    23324    int F77_DUMMY_MAIN() { return 1; }
    23325 
    23326 #endif
    23327 int
    23328 main ()
    23329 {
    23330 $cfuncdaxpy()
    23331   ;
    23332   return 0;
    23333 }
    23334 _ACEOF
    23335 rm -f conftest.$ac_objext conftest$ac_exeext
    23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23337   (eval $ac_link) 2>conftest.er1
    23338   ac_status=$?
    23339   grep -v '^ *+' conftest.er1 >conftest.err
    23340   rm -f conftest.er1
    23341   cat conftest.err >&5
    23342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23343   (exit $ac_status); } &&
    23344          { ac_try='test -z "$ac_c_werror_flag"
    23345                          || test ! -s conftest.err'
    23346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23347   (eval $ac_try) 2>&5
    23348   ac_status=$?
    23349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23350   (exit $ac_status); }; } &&
    23351          { ac_try='test -s conftest$ac_exeext'
    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); }; }; then
    23357   flink_try=yes
    23358 else
    23359   echo "$as_me: failed program was:" >&5
    23360 sed 's/^/| /' conftest.$ac_ext >&5
    23361 
    23362 flink_try=no
    23363 fi
    23364 rm -f conftest.err conftest.$ac_objext \
    23365       conftest$ac_exeext conftest.$ac_ext
    23366     fi
    23367     if test $flink_try = yes; then
    23368       use_blas="-lcomplib.sgimath"
    23369                          if test $coin_need_flibs = yes ; then
    23370                            use_blas="$use_blas $FLIBS"
    23371                          fi
    23372                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23373 echo "${ECHO_T}yes: $use_blas" >&6
    23374 
    23375     else
    23376       if test x"$FLIBS" != x; then
    23377         flink_save_libs="$LIBS"
    23378         LIBS="$LIBS $FLIBS"
    23379         cat >conftest.$ac_ext <<_ACEOF
    23380 /* confdefs.h.  */
    23381 _ACEOF
    23382 cat confdefs.h >>conftest.$ac_ext
    23383 cat >>conftest.$ac_ext <<_ACEOF
    23384 /* end confdefs.h.  */
    23385 extern "C" {void $cfuncdaxpy();}
    23386 #ifdef F77_DUMMY_MAIN
    23387 
    23388 #  ifdef __cplusplus
    23389      extern "C"
    23390 #  endif
    23391    int F77_DUMMY_MAIN() { return 1; }
    23392 
    23393 #endif
    23394 int
    23395 main ()
    23396 {
    23397 $cfuncdaxpy()
    23398   ;
    23399   return 0;
    23400 }
    23401 _ACEOF
    23402 rm -f conftest.$ac_objext conftest$ac_exeext
    23403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23404   (eval $ac_link) 2>conftest.er1
    23405   ac_status=$?
    23406   grep -v '^ *+' conftest.er1 >conftest.err
    23407   rm -f conftest.er1
    23408   cat conftest.err >&5
    23409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23410   (exit $ac_status); } &&
    23411          { ac_try='test -z "$ac_c_werror_flag"
    23412                          || test ! -s conftest.err'
    23413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23414   (eval $ac_try) 2>&5
    23415   ac_status=$?
    23416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23417   (exit $ac_status); }; } &&
    23418          { ac_try='test -s conftest$ac_exeext'
    23419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23420   (eval $ac_try) 2>&5
    23421   ac_status=$?
    23422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23423   (exit $ac_status); }; }; then
    23424   LIBS="$flink_save_libs"
    23425                      coin_need_flibs=yes
    23426                      use_blas="-lcomplib.sgimath"
    23427                          if test $coin_need_flibs = yes ; then
    23428                            use_blas="$use_blas $FLIBS"
    23429                          fi
    23430                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23431 echo "${ECHO_T}yes: $use_blas" >&6
    23432 
    23433 
    23434 else
    23435   echo "$as_me: failed program was:" >&5
    23436 sed 's/^/| /' conftest.$ac_ext >&5
    23437 
    23438 LIBS="$flink_save_libs"
    23439                      echo "$as_me:$LINENO: result: no" >&5
    23440 echo "${ECHO_T}no" >&6
    23441 fi
    23442 rm -f conftest.err conftest.$ac_objext \
    23443       conftest$ac_exeext conftest.$ac_ext
    23444       else
    23445         echo "$as_me:$LINENO: result: no" >&5
    23446 echo "${ECHO_T}no" >&6
    23447       fi
    23448     fi
    23449     ;;
    23450 esac
    23451 
    23452       LIBS="$coin_save_LIBS"
    23453       ;;
    23454 
    23455 # Ideally, we'd use -library=sunperf, but it's an imperfect world. Studio
    23456 # cc doesn't recognise -library, it wants -xlic_lib. Studio 12 CC doesn't
    23457 # recognise -xlic_lib. Libtool doesn't like -xlic_lib anyway. Sun claims
    23458 # that CC and cc will understand -library in Studio 13. The main extra
    23459 # function of -xlic_lib and -library is to arrange for the Fortran run-time
    23460 # libraries to be linked for C++ and C. We can arrange that explicitly.
    23461     *-*-solaris*)
    23462       echo "$as_me:$LINENO: checking for BLAS in libsunperf" >&5
    23463 echo $ECHO_N "checking for BLAS in libsunperf... $ECHO_C" >&6
    23464       coin_need_flibs=no
    23465       coin_save_LIBS="$LIBS"
    23466       LIBS="-lsunperf $FLIBS $LIBS"
    23467       case $ac_ext in
    23468   f)
    23469     cat >conftest.$ac_ext <<_ACEOF
    23470 /* confdefs.h.  */
    23471 _ACEOF
    23472 cat confdefs.h >>conftest.$ac_ext
    23473 cat >>conftest.$ac_ext <<_ACEOF
    23474 /* end confdefs.h.  */
    23475 
    23476 #ifdef F77_DUMMY_MAIN
    23477 
    23478 #  ifdef __cplusplus
    23479      extern "C"
    23480 #  endif
    23481    int F77_DUMMY_MAIN() { return 1; }
    23482 
    23483 #endif
    23484 int
    23485 main ()
    23486 {
    23487       call daxpy
    23488   ;
    23489   return 0;
    23490 }
    23491 _ACEOF
    23492 rm -f conftest.$ac_objext conftest$ac_exeext
    23493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23494   (eval $ac_link) 2>conftest.er1
    23495   ac_status=$?
    23496   grep -v '^ *+' conftest.er1 >conftest.err
    23497   rm -f conftest.er1
    23498   cat conftest.err >&5
    23499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23500   (exit $ac_status); } &&
    23501          { ac_try='test -z "$ac_c_werror_flag"
    23502                          || test ! -s conftest.err'
    23503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23504   (eval $ac_try) 2>&5
    23505   ac_status=$?
    23506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23507   (exit $ac_status); }; } &&
    23508          { ac_try='test -s conftest$ac_exeext'
    23509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23510   (eval $ac_try) 2>&5
    23511   ac_status=$?
    23512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23513   (exit $ac_status); }; }; then
    23514   use_blas='-lsunperf'
    23515                          if test $coin_need_flibs = yes ; then
    23516                            use_blas="$use_blas $FLIBS"
    23517                          fi
    23518                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23519 echo "${ECHO_T}yes: $use_blas" >&6
    23520 
    23521 else
    23522   echo "$as_me: failed program was:" >&5
    23523 sed 's/^/| /' conftest.$ac_ext >&5
    23524 
    23525 echo "$as_me:$LINENO: result: no" >&5
    23526 echo "${ECHO_T}no" >&6
    23527 fi
    23528 rm -f conftest.err conftest.$ac_objext \
    23529       conftest$ac_exeext conftest.$ac_ext
    23530     ;;
    23531   c)
    23532     ac_ext=f
    23533 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23534 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23535 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23536 case $ac_cv_f77_mangling in
    23537   upper*) ac_val="DAXPY" ;;
    23538   lower*) ac_val="daxpy" ;;
    23539   *)      ac_val="unknown" ;;
    23540 esac
    23541 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23542 
    23543 cfuncdaxpy="$ac_val"
    23544 
    23545 ac_ext=c
    23546 ac_cpp='$CPP $CPPFLAGS'
    23547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23550 
    23551     if test x"$coin_need_flibs" = xyes; then
    23552       flink_try=no;
    23553     else
    23554       cat >conftest.$ac_ext <<_ACEOF
    23555 /* confdefs.h.  */
    23556 _ACEOF
    23557 cat confdefs.h >>conftest.$ac_ext
    23558 cat >>conftest.$ac_ext <<_ACEOF
    23559 /* end confdefs.h.  */
    23560 void $cfuncdaxpy();
    23561 #ifdef F77_DUMMY_MAIN
    23562 
    23563 #  ifdef __cplusplus
    23564      extern "C"
    23565 #  endif
    23566    int F77_DUMMY_MAIN() { return 1; }
    23567 
    23568 #endif
    23569 int
    23570 main ()
    23571 {
    23572 $cfuncdaxpy()
    23573   ;
    23574   return 0;
    23575 }
    23576 _ACEOF
    23577 rm -f conftest.$ac_objext conftest$ac_exeext
    23578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23579   (eval $ac_link) 2>conftest.er1
    23580   ac_status=$?
    23581   grep -v '^ *+' conftest.er1 >conftest.err
    23582   rm -f conftest.er1
    23583   cat conftest.err >&5
    23584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23585   (exit $ac_status); } &&
    23586          { ac_try='test -z "$ac_c_werror_flag"
    23587                          || test ! -s conftest.err'
    23588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23589   (eval $ac_try) 2>&5
    23590   ac_status=$?
    23591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23592   (exit $ac_status); }; } &&
    23593          { ac_try='test -s conftest$ac_exeext'
    23594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23595   (eval $ac_try) 2>&5
    23596   ac_status=$?
    23597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23598   (exit $ac_status); }; }; then
    23599   flink_try=yes
    23600 else
    23601   echo "$as_me: failed program was:" >&5
    23602 sed 's/^/| /' conftest.$ac_ext >&5
    23603 
    23604 flink_try=no
    23605 fi
    23606 rm -f conftest.err conftest.$ac_objext \
    23607       conftest$ac_exeext conftest.$ac_ext
    23608     fi
    23609     if test $flink_try = yes; then
    23610       use_blas='-lsunperf'
    23611                          if test $coin_need_flibs = yes ; then
    23612                            use_blas="$use_blas $FLIBS"
    23613                          fi
    23614                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23615 echo "${ECHO_T}yes: $use_blas" >&6
    23616 
    23617     else
    23618       if test x"$FLIBS" != x; then
    23619         flink_save_libs="$LIBS"
    23620         LIBS="$LIBS $FLIBS"
    23621         cat >conftest.$ac_ext <<_ACEOF
    23622 /* confdefs.h.  */
    23623 _ACEOF
    23624 cat confdefs.h >>conftest.$ac_ext
    23625 cat >>conftest.$ac_ext <<_ACEOF
    23626 /* end confdefs.h.  */
    23627 void $cfuncdaxpy();
    23628 #ifdef F77_DUMMY_MAIN
    23629 
    23630 #  ifdef __cplusplus
    23631      extern "C"
    23632 #  endif
    23633    int F77_DUMMY_MAIN() { return 1; }
    23634 
    23635 #endif
    23636 int
    23637 main ()
    23638 {
    23639 $cfuncdaxpy()
    23640   ;
    23641   return 0;
    23642 }
    23643 _ACEOF
    23644 rm -f conftest.$ac_objext conftest$ac_exeext
    23645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23646   (eval $ac_link) 2>conftest.er1
    23647   ac_status=$?
    23648   grep -v '^ *+' conftest.er1 >conftest.err
    23649   rm -f conftest.er1
    23650   cat conftest.err >&5
    23651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23652   (exit $ac_status); } &&
    23653          { ac_try='test -z "$ac_c_werror_flag"
    23654                          || test ! -s conftest.err'
    23655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23656   (eval $ac_try) 2>&5
    23657   ac_status=$?
    23658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23659   (exit $ac_status); }; } &&
    23660          { ac_try='test -s conftest$ac_exeext'
    23661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23662   (eval $ac_try) 2>&5
    23663   ac_status=$?
    23664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23665   (exit $ac_status); }; }; then
    23666   LIBS="$flink_save_libs"
    23667                      coin_need_flibs=yes
    23668                      use_blas='-lsunperf'
    23669                          if test $coin_need_flibs = yes ; then
    23670                            use_blas="$use_blas $FLIBS"
    23671                          fi
    23672                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23673 echo "${ECHO_T}yes: $use_blas" >&6
    23674 
    23675 
    23676 else
    23677   echo "$as_me: failed program was:" >&5
    23678 sed 's/^/| /' conftest.$ac_ext >&5
    23679 
    23680 LIBS="$flink_save_libs"
    23681                      echo "$as_me:$LINENO: result: no" >&5
    23682 echo "${ECHO_T}no" >&6
    23683 fi
    23684 rm -f conftest.err conftest.$ac_objext \
    23685       conftest$ac_exeext conftest.$ac_ext
    23686       else
    23687         echo "$as_me:$LINENO: result: no" >&5
    23688 echo "${ECHO_T}no" >&6
    23689       fi
    23690     fi
    23691     ;;
    23692   cc|cpp)
    23693     ac_ext=f
    23694 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23695 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23696 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23697 case $ac_cv_f77_mangling in
    23698   upper*) ac_val="DAXPY" ;;
    23699   lower*) ac_val="daxpy" ;;
    23700   *)      ac_val="unknown" ;;
    23701 esac
    23702 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23703 
    23704 cfuncdaxpy="$ac_val"
    23705 
    23706 ac_ext=c
    23707 ac_cpp='$CPP $CPPFLAGS'
    23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23711 
    23712     if test x"$coin_need_flibs" = xyes; then
    23713       flink_try=no;
    23714     else
    23715       cat >conftest.$ac_ext <<_ACEOF
    23716 /* confdefs.h.  */
    23717 _ACEOF
    23718 cat confdefs.h >>conftest.$ac_ext
    23719 cat >>conftest.$ac_ext <<_ACEOF
    23720 /* end confdefs.h.  */
    23721 extern "C" {void $cfuncdaxpy();}
    23722 #ifdef F77_DUMMY_MAIN
    23723 
    23724 #  ifdef __cplusplus
    23725      extern "C"
    23726 #  endif
    23727    int F77_DUMMY_MAIN() { return 1; }
    23728 
    23729 #endif
    23730 int
    23731 main ()
    23732 {
    23733 $cfuncdaxpy()
    23734   ;
    23735   return 0;
    23736 }
    23737 _ACEOF
    23738 rm -f conftest.$ac_objext conftest$ac_exeext
    23739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23740   (eval $ac_link) 2>conftest.er1
    23741   ac_status=$?
    23742   grep -v '^ *+' conftest.er1 >conftest.err
    23743   rm -f conftest.er1
    23744   cat conftest.err >&5
    23745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23746   (exit $ac_status); } &&
    23747          { ac_try='test -z "$ac_c_werror_flag"
    23748                          || test ! -s conftest.err'
    23749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23750   (eval $ac_try) 2>&5
    23751   ac_status=$?
    23752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23753   (exit $ac_status); }; } &&
    23754          { ac_try='test -s conftest$ac_exeext'
    23755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23756   (eval $ac_try) 2>&5
    23757   ac_status=$?
    23758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23759   (exit $ac_status); }; }; then
    23760   flink_try=yes
    23761 else
    23762   echo "$as_me: failed program was:" >&5
    23763 sed 's/^/| /' conftest.$ac_ext >&5
    23764 
    23765 flink_try=no
    23766 fi
    23767 rm -f conftest.err conftest.$ac_objext \
    23768       conftest$ac_exeext conftest.$ac_ext
    23769     fi
    23770     if test $flink_try = yes; then
    23771       use_blas='-lsunperf'
    23772                          if test $coin_need_flibs = yes ; then
    23773                            use_blas="$use_blas $FLIBS"
    23774                          fi
    23775                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23776 echo "${ECHO_T}yes: $use_blas" >&6
    23777 
    23778     else
    23779       if test x"$FLIBS" != x; then
    23780         flink_save_libs="$LIBS"
    23781         LIBS="$LIBS $FLIBS"
    23782         cat >conftest.$ac_ext <<_ACEOF
    23783 /* confdefs.h.  */
    23784 _ACEOF
    23785 cat confdefs.h >>conftest.$ac_ext
    23786 cat >>conftest.$ac_ext <<_ACEOF
    23787 /* end confdefs.h.  */
    23788 extern "C" {void $cfuncdaxpy();}
    23789 #ifdef F77_DUMMY_MAIN
    23790 
    23791 #  ifdef __cplusplus
    23792      extern "C"
    23793 #  endif
    23794    int F77_DUMMY_MAIN() { return 1; }
    23795 
    23796 #endif
    23797 int
    23798 main ()
    23799 {
    23800 $cfuncdaxpy()
    23801   ;
    23802   return 0;
    23803 }
    23804 _ACEOF
    23805 rm -f conftest.$ac_objext conftest$ac_exeext
    23806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23807   (eval $ac_link) 2>conftest.er1
    23808   ac_status=$?
    23809   grep -v '^ *+' conftest.er1 >conftest.err
    23810   rm -f conftest.er1
    23811   cat conftest.err >&5
    23812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23813   (exit $ac_status); } &&
    23814          { ac_try='test -z "$ac_c_werror_flag"
    23815                          || test ! -s conftest.err'
    23816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23817   (eval $ac_try) 2>&5
    23818   ac_status=$?
    23819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23820   (exit $ac_status); }; } &&
    23821          { ac_try='test -s conftest$ac_exeext'
    23822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23823   (eval $ac_try) 2>&5
    23824   ac_status=$?
    23825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23826   (exit $ac_status); }; }; then
    23827   LIBS="$flink_save_libs"
    23828                      coin_need_flibs=yes
    23829                      use_blas='-lsunperf'
    23830                          if test $coin_need_flibs = yes ; then
    23831                            use_blas="$use_blas $FLIBS"
    23832                          fi
    23833                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23834 echo "${ECHO_T}yes: $use_blas" >&6
    23835 
    23836 
    23837 else
    23838   echo "$as_me: failed program was:" >&5
    23839 sed 's/^/| /' conftest.$ac_ext >&5
    23840 
    23841 LIBS="$flink_save_libs"
    23842                      echo "$as_me:$LINENO: result: no" >&5
    23843 echo "${ECHO_T}no" >&6
    23844 fi
    23845 rm -f conftest.err conftest.$ac_objext \
    23846       conftest$ac_exeext conftest.$ac_ext
    23847       else
    23848         echo "$as_me:$LINENO: result: no" >&5
    23849 echo "${ECHO_T}no" >&6
    23850       fi
    23851     fi
    23852     ;;
    23853 esac
    23854 
    23855       LIBS="$coin_save_LIBS"
    23856       ;;
    23857 
    23858     *-cygwin* | *-mingw*)
    23859 # On cygwin, consider -lblas only if doscompile is disabled. The prebuilt
    23860 # library will want to link with cygwin, hence won't run standalone in DOS.
    23861       if test "$enable_doscompile" = mingw; then
    23862         skip_lblas_check=yes
    23863       fi
    23864       case "$CC" in
    23865         cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    23866           coin_save_LIBS="$LIBS"
    23867           echo "$as_me:$LINENO: checking for BLAS in MKL (32bit)" >&5
    23868 echo $ECHO_N "checking for BLAS in MKL (32bit)... $ECHO_C" >&6
    23869           LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS"
    23870           case $ac_ext in
    23871   f)
    23872     cat >conftest.$ac_ext <<_ACEOF
    23873 /* confdefs.h.  */
    23874 _ACEOF
    23875 cat confdefs.h >>conftest.$ac_ext
    23876 cat >>conftest.$ac_ext <<_ACEOF
    23877 /* end confdefs.h.  */
    23878 
    23879 #ifdef F77_DUMMY_MAIN
    23880 
    23881 #  ifdef __cplusplus
    23882      extern "C"
    23883 #  endif
    23884    int F77_DUMMY_MAIN() { return 1; }
    23885 
    23886 #endif
    23887 int
    23888 main ()
    23889 {
    23890       call daxpy
    23891   ;
    23892   return 0;
    23893 }
    23894 _ACEOF
    23895 rm -f conftest.$ac_objext conftest$ac_exeext
    23896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23897   (eval $ac_link) 2>conftest.er1
    23898   ac_status=$?
    23899   grep -v '^ *+' conftest.er1 >conftest.err
    23900   rm -f conftest.er1
    23901   cat conftest.err >&5
    23902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23903   (exit $ac_status); } &&
    23904          { ac_try='test -z "$ac_c_werror_flag"
    23905                          || test ! -s conftest.err'
    23906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23907   (eval $ac_try) 2>&5
    23908   ac_status=$?
    23909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23910   (exit $ac_status); }; } &&
    23911          { ac_try='test -s conftest$ac_exeext'
    23912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23913   (eval $ac_try) 2>&5
    23914   ac_status=$?
    23915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23916   (exit $ac_status); }; }; then
    23917   use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    23918                              echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    23919 echo "${ECHO_T}yes: $use_blas" >&6
    23920 
    23921 else
    23922   echo "$as_me: failed program was:" >&5
    23923 sed 's/^/| /' conftest.$ac_ext >&5
    23924 
    23925 echo "$as_me:$LINENO: result: no" >&5
    23926 echo "${ECHO_T}no" >&6
    23927 fi
    23928 rm -f conftest.err conftest.$ac_objext \
    23929       conftest$ac_exeext conftest.$ac_ext
    23930     ;;
    23931   c)
    23932     ac_ext=f
    23933 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    23934 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23935 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    23936 case $ac_cv_f77_mangling in
    23937   upper*) ac_val="DAXPY" ;;
    23938   lower*) ac_val="daxpy" ;;
    23939   *)      ac_val="unknown" ;;
    23940 esac
    23941 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    23942 
    23943 cfuncdaxpy="$ac_val"
    23944 
    23945 ac_ext=c
    23946 ac_cpp='$CPP $CPPFLAGS'
    23947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23950 
    23951     if test x"$coin_need_flibs" = xyes; then
    23952       flink_try=no;
    23953     else
    23954       cat >conftest.$ac_ext <<_ACEOF
    23955 /* confdefs.h.  */
    23956 _ACEOF
    23957 cat confdefs.h >>conftest.$ac_ext
    23958 cat >>conftest.$ac_ext <<_ACEOF
    23959 /* end confdefs.h.  */
    23960 void $cfuncdaxpy();
    23961 #ifdef F77_DUMMY_MAIN
    23962 
    23963 #  ifdef __cplusplus
    23964      extern "C"
    23965 #  endif
    23966    int F77_DUMMY_MAIN() { return 1; }
    23967 
    23968 #endif
    23969 int
    23970 main ()
    23971 {
    23972 $cfuncdaxpy()
    23973   ;
    23974   return 0;
    23975 }
    23976 _ACEOF
    23977 rm -f conftest.$ac_objext conftest$ac_exeext
    23978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23979   (eval $ac_link) 2>conftest.er1
    23980   ac_status=$?
    23981   grep -v '^ *+' conftest.er1 >conftest.err
    23982   rm -f conftest.er1
    23983   cat conftest.err >&5
    23984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23985   (exit $ac_status); } &&
    23986          { ac_try='test -z "$ac_c_werror_flag"
    23987                          || test ! -s conftest.err'
    23988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23989   (eval $ac_try) 2>&5
    23990   ac_status=$?
    23991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23992   (exit $ac_status); }; } &&
    23993          { ac_try='test -s conftest$ac_exeext'
    23994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23995   (eval $ac_try) 2>&5
    23996   ac_status=$?
    23997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23998   (exit $ac_status); }; }; then
    23999   flink_try=yes
    24000 else
    24001   echo "$as_me: failed program was:" >&5
    24002 sed 's/^/| /' conftest.$ac_ext >&5
    24003 
    24004 flink_try=no
    24005 fi
    24006 rm -f conftest.err conftest.$ac_objext \
    24007       conftest$ac_exeext conftest.$ac_ext
    24008     fi
    24009     if test $flink_try = yes; then
    24010       use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    24011                              echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24012 echo "${ECHO_T}yes: $use_blas" >&6
    24013 
    24014     else
    24015       if test x"$FLIBS" != x; then
    24016         flink_save_libs="$LIBS"
    24017         LIBS="$LIBS $FLIBS"
    24018         cat >conftest.$ac_ext <<_ACEOF
    24019 /* confdefs.h.  */
    24020 _ACEOF
    24021 cat confdefs.h >>conftest.$ac_ext
    24022 cat >>conftest.$ac_ext <<_ACEOF
    24023 /* end confdefs.h.  */
    24024 void $cfuncdaxpy();
    24025 #ifdef F77_DUMMY_MAIN
    24026 
    24027 #  ifdef __cplusplus
    24028      extern "C"
    24029 #  endif
    24030    int F77_DUMMY_MAIN() { return 1; }
    24031 
    24032 #endif
    24033 int
    24034 main ()
    24035 {
    24036 $cfuncdaxpy()
    24037   ;
    24038   return 0;
    24039 }
    24040 _ACEOF
    24041 rm -f conftest.$ac_objext conftest$ac_exeext
    24042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24043   (eval $ac_link) 2>conftest.er1
    24044   ac_status=$?
    24045   grep -v '^ *+' conftest.er1 >conftest.err
    24046   rm -f conftest.er1
    24047   cat conftest.err >&5
    24048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24049   (exit $ac_status); } &&
    24050          { ac_try='test -z "$ac_c_werror_flag"
    24051                          || test ! -s conftest.err'
    24052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24053   (eval $ac_try) 2>&5
    24054   ac_status=$?
    24055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24056   (exit $ac_status); }; } &&
    24057          { ac_try='test -s conftest$ac_exeext'
    24058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24059   (eval $ac_try) 2>&5
    24060   ac_status=$?
    24061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24062   (exit $ac_status); }; }; then
    24063   LIBS="$flink_save_libs"
    24064                      coin_need_flibs=yes
    24065                      use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    24066                              echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24067 echo "${ECHO_T}yes: $use_blas" >&6
    24068 
    24069 
    24070 else
    24071   echo "$as_me: failed program was:" >&5
    24072 sed 's/^/| /' conftest.$ac_ext >&5
    24073 
    24074 LIBS="$flink_save_libs"
    24075                      echo "$as_me:$LINENO: result: no" >&5
    24076 echo "${ECHO_T}no" >&6
    24077 fi
    24078 rm -f conftest.err conftest.$ac_objext \
    24079       conftest$ac_exeext conftest.$ac_ext
    24080       else
    24081         echo "$as_me:$LINENO: result: no" >&5
    24082 echo "${ECHO_T}no" >&6
    24083       fi
    24084     fi
    24085     ;;
    24086   cc|cpp)
    24087     ac_ext=f
    24088 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24089 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24090 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24091 case $ac_cv_f77_mangling in
    24092   upper*) ac_val="DAXPY" ;;
    24093   lower*) ac_val="daxpy" ;;
    24094   *)      ac_val="unknown" ;;
    24095 esac
    24096 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24097 
    24098 cfuncdaxpy="$ac_val"
    24099 
    24100 ac_ext=c
    24101 ac_cpp='$CPP $CPPFLAGS'
    24102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24105 
    24106     if test x"$coin_need_flibs" = xyes; then
    24107       flink_try=no;
    24108     else
    24109       cat >conftest.$ac_ext <<_ACEOF
    24110 /* confdefs.h.  */
    24111 _ACEOF
    24112 cat confdefs.h >>conftest.$ac_ext
    24113 cat >>conftest.$ac_ext <<_ACEOF
    24114 /* end confdefs.h.  */
    24115 extern "C" {void $cfuncdaxpy();}
    24116 #ifdef F77_DUMMY_MAIN
    24117 
    24118 #  ifdef __cplusplus
    24119      extern "C"
    24120 #  endif
    24121    int F77_DUMMY_MAIN() { return 1; }
    24122 
    24123 #endif
    24124 int
    24125 main ()
    24126 {
    24127 $cfuncdaxpy()
    24128   ;
    24129   return 0;
    24130 }
    24131 _ACEOF
    24132 rm -f conftest.$ac_objext conftest$ac_exeext
    24133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24134   (eval $ac_link) 2>conftest.er1
    24135   ac_status=$?
    24136   grep -v '^ *+' conftest.er1 >conftest.err
    24137   rm -f conftest.er1
    24138   cat conftest.err >&5
    24139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24140   (exit $ac_status); } &&
    24141          { ac_try='test -z "$ac_c_werror_flag"
    24142                          || test ! -s conftest.err'
    24143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24144   (eval $ac_try) 2>&5
    24145   ac_status=$?
    24146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24147   (exit $ac_status); }; } &&
    24148          { ac_try='test -s conftest$ac_exeext'
    24149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24150   (eval $ac_try) 2>&5
    24151   ac_status=$?
    24152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24153   (exit $ac_status); }; }; then
    24154   flink_try=yes
    24155 else
    24156   echo "$as_me: failed program was:" >&5
    24157 sed 's/^/| /' conftest.$ac_ext >&5
    24158 
    24159 flink_try=no
    24160 fi
    24161 rm -f conftest.err conftest.$ac_objext \
    24162       conftest$ac_exeext conftest.$ac_ext
    24163     fi
    24164     if test $flink_try = yes; then
    24165       use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    24166                              echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24167 echo "${ECHO_T}yes: $use_blas" >&6
    24168 
    24169     else
    24170       if test x"$FLIBS" != x; then
    24171         flink_save_libs="$LIBS"
    24172         LIBS="$LIBS $FLIBS"
    24173         cat >conftest.$ac_ext <<_ACEOF
    24174 /* confdefs.h.  */
    24175 _ACEOF
    24176 cat confdefs.h >>conftest.$ac_ext
    24177 cat >>conftest.$ac_ext <<_ACEOF
    24178 /* end confdefs.h.  */
    24179 extern "C" {void $cfuncdaxpy();}
    24180 #ifdef F77_DUMMY_MAIN
    24181 
    24182 #  ifdef __cplusplus
    24183      extern "C"
    24184 #  endif
    24185    int F77_DUMMY_MAIN() { return 1; }
    24186 
    24187 #endif
    24188 int
    24189 main ()
    24190 {
    24191 $cfuncdaxpy()
    24192   ;
    24193   return 0;
    24194 }
    24195 _ACEOF
    24196 rm -f conftest.$ac_objext conftest$ac_exeext
    24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24198   (eval $ac_link) 2>conftest.er1
    24199   ac_status=$?
    24200   grep -v '^ *+' conftest.er1 >conftest.err
    24201   rm -f conftest.er1
    24202   cat conftest.err >&5
    24203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24204   (exit $ac_status); } &&
    24205          { ac_try='test -z "$ac_c_werror_flag"
    24206                          || test ! -s conftest.err'
    24207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24208   (eval $ac_try) 2>&5
    24209   ac_status=$?
    24210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24211   (exit $ac_status); }; } &&
    24212          { ac_try='test -s conftest$ac_exeext'
    24213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24214   (eval $ac_try) 2>&5
    24215   ac_status=$?
    24216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24217   (exit $ac_status); }; }; then
    24218   LIBS="$flink_save_libs"
    24219                      coin_need_flibs=yes
    24220                      use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib'
    24221                              echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24222 echo "${ECHO_T}yes: $use_blas" >&6
    24223 
    24224 
    24225 else
    24226   echo "$as_me: failed program was:" >&5
    24227 sed 's/^/| /' conftest.$ac_ext >&5
    24228 
    24229 LIBS="$flink_save_libs"
    24230                      echo "$as_me:$LINENO: result: no" >&5
    24231 echo "${ECHO_T}no" >&6
    24232 fi
    24233 rm -f conftest.err conftest.$ac_objext \
    24234       conftest$ac_exeext conftest.$ac_ext
    24235       else
    24236         echo "$as_me:$LINENO: result: no" >&5
    24237 echo "${ECHO_T}no" >&6
    24238       fi
    24239     fi
    24240     ;;
    24241 esac
    24242 
    24243           LIBS="$coin_save_LIBS"
    24244 
    24245           if test "x$use_blas" = x ; then
    24246             echo "$as_me:$LINENO: checking for BLAS in MKL (64bit)" >&5
    24247 echo $ECHO_N "checking for BLAS in MKL (64bit)... $ECHO_C" >&6
    24248             LIBS="mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib $LIBS"
    24249             case $ac_ext in
    24250   f)
    24251     cat >conftest.$ac_ext <<_ACEOF
    24252 /* confdefs.h.  */
    24253 _ACEOF
    24254 cat confdefs.h >>conftest.$ac_ext
    24255 cat >>conftest.$ac_ext <<_ACEOF
    24256 /* end confdefs.h.  */
    24257 
    24258 #ifdef F77_DUMMY_MAIN
    24259 
    24260 #  ifdef __cplusplus
    24261      extern "C"
    24262 #  endif
    24263    int F77_DUMMY_MAIN() { return 1; }
    24264 
    24265 #endif
    24266 int
    24267 main ()
    24268 {
    24269       call daxpy
    24270   ;
    24271   return 0;
    24272 }
    24273 _ACEOF
    24274 rm -f conftest.$ac_objext conftest$ac_exeext
    24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24276   (eval $ac_link) 2>conftest.er1
    24277   ac_status=$?
    24278   grep -v '^ *+' conftest.er1 >conftest.err
    24279   rm -f conftest.er1
    24280   cat conftest.err >&5
    24281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24282   (exit $ac_status); } &&
    24283          { ac_try='test -z "$ac_c_werror_flag"
    24284                          || test ! -s conftest.err'
    24285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24286   (eval $ac_try) 2>&5
    24287   ac_status=$?
    24288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24289   (exit $ac_status); }; } &&
    24290          { ac_try='test -s conftest$ac_exeext'
    24291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24292   (eval $ac_try) 2>&5
    24293   ac_status=$?
    24294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24295   (exit $ac_status); }; }; then
    24296   use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
    24297                                echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24298 echo "${ECHO_T}yes: $use_blas" >&6
    24299 
    24300 else
    24301   echo "$as_me: failed program was:" >&5
    24302 sed 's/^/| /' conftest.$ac_ext >&5
    24303 
    24304 echo "$as_me:$LINENO: result: no" >&5
    24305 echo "${ECHO_T}no" >&6
    24306 fi
    24307 rm -f conftest.err conftest.$ac_objext \
    24308       conftest$ac_exeext conftest.$ac_ext
    24309     ;;
    24310   c)
    24311     ac_ext=f
    24312 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24313 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24314 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24315 case $ac_cv_f77_mangling in
    24316   upper*) ac_val="DAXPY" ;;
    24317   lower*) ac_val="daxpy" ;;
    24318   *)      ac_val="unknown" ;;
    24319 esac
    24320 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24321 
    24322 cfuncdaxpy="$ac_val"
    24323 
    24324 ac_ext=c
    24325 ac_cpp='$CPP $CPPFLAGS'
    24326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24329 
    24330     if test x"$coin_need_flibs" = xyes; then
    24331       flink_try=no;
    24332     else
    24333       cat >conftest.$ac_ext <<_ACEOF
    24334 /* confdefs.h.  */
    24335 _ACEOF
    24336 cat confdefs.h >>conftest.$ac_ext
    24337 cat >>conftest.$ac_ext <<_ACEOF
    24338 /* end confdefs.h.  */
    24339 void $cfuncdaxpy();
    24340 #ifdef F77_DUMMY_MAIN
    24341 
    24342 #  ifdef __cplusplus
    24343      extern "C"
    24344 #  endif
    24345    int F77_DUMMY_MAIN() { return 1; }
    24346 
    24347 #endif
    24348 int
    24349 main ()
    24350 {
    24351 $cfuncdaxpy()
    24352   ;
    24353   return 0;
    24354 }
    24355 _ACEOF
    24356 rm -f conftest.$ac_objext conftest$ac_exeext
    24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24358   (eval $ac_link) 2>conftest.er1
    24359   ac_status=$?
    24360   grep -v '^ *+' conftest.er1 >conftest.err
    24361   rm -f conftest.er1
    24362   cat conftest.err >&5
    24363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24364   (exit $ac_status); } &&
    24365          { ac_try='test -z "$ac_c_werror_flag"
    24366                          || test ! -s conftest.err'
    24367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24368   (eval $ac_try) 2>&5
    24369   ac_status=$?
    24370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24371   (exit $ac_status); }; } &&
    24372          { ac_try='test -s conftest$ac_exeext'
    24373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24374   (eval $ac_try) 2>&5
    24375   ac_status=$?
    24376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24377   (exit $ac_status); }; }; then
    24378   flink_try=yes
    24379 else
    24380   echo "$as_me: failed program was:" >&5
    24381 sed 's/^/| /' conftest.$ac_ext >&5
    24382 
    24383 flink_try=no
    24384 fi
    24385 rm -f conftest.err conftest.$ac_objext \
    24386       conftest$ac_exeext conftest.$ac_ext
    24387     fi
    24388     if test $flink_try = yes; then
    24389       use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
    24390                                echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24391 echo "${ECHO_T}yes: $use_blas" >&6
    24392 
    24393     else
    24394       if test x"$FLIBS" != x; then
    24395         flink_save_libs="$LIBS"
    24396         LIBS="$LIBS $FLIBS"
    24397         cat >conftest.$ac_ext <<_ACEOF
    24398 /* confdefs.h.  */
    24399 _ACEOF
    24400 cat confdefs.h >>conftest.$ac_ext
    24401 cat >>conftest.$ac_ext <<_ACEOF
    24402 /* end confdefs.h.  */
    24403 void $cfuncdaxpy();
    24404 #ifdef F77_DUMMY_MAIN
    24405 
    24406 #  ifdef __cplusplus
    24407      extern "C"
    24408 #  endif
    24409    int F77_DUMMY_MAIN() { return 1; }
    24410 
    24411 #endif
    24412 int
    24413 main ()
    24414 {
    24415 $cfuncdaxpy()
    24416   ;
    24417   return 0;
    24418 }
    24419 _ACEOF
    24420 rm -f conftest.$ac_objext conftest$ac_exeext
    24421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24422   (eval $ac_link) 2>conftest.er1
    24423   ac_status=$?
    24424   grep -v '^ *+' conftest.er1 >conftest.err
    24425   rm -f conftest.er1
    24426   cat conftest.err >&5
    24427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24428   (exit $ac_status); } &&
    24429          { ac_try='test -z "$ac_c_werror_flag"
    24430                          || test ! -s conftest.err'
    24431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24432   (eval $ac_try) 2>&5
    24433   ac_status=$?
    24434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24435   (exit $ac_status); }; } &&
    24436          { ac_try='test -s conftest$ac_exeext'
    24437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24438   (eval $ac_try) 2>&5
    24439   ac_status=$?
    24440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24441   (exit $ac_status); }; }; then
    24442   LIBS="$flink_save_libs"
    24443                      coin_need_flibs=yes
    24444                      use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
    24445                                echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24446 echo "${ECHO_T}yes: $use_blas" >&6
    24447 
    24448 
    24449 else
    24450   echo "$as_me: failed program was:" >&5
    24451 sed 's/^/| /' conftest.$ac_ext >&5
    24452 
    24453 LIBS="$flink_save_libs"
    24454                      echo "$as_me:$LINENO: result: no" >&5
    24455 echo "${ECHO_T}no" >&6
    24456 fi
    24457 rm -f conftest.err conftest.$ac_objext \
    24458       conftest$ac_exeext conftest.$ac_ext
    24459       else
    24460         echo "$as_me:$LINENO: result: no" >&5
    24461 echo "${ECHO_T}no" >&6
    24462       fi
    24463     fi
    24464     ;;
    24465   cc|cpp)
    24466     ac_ext=f
    24467 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24468 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24469 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24470 case $ac_cv_f77_mangling in
    24471   upper*) ac_val="DAXPY" ;;
    24472   lower*) ac_val="daxpy" ;;
    24473   *)      ac_val="unknown" ;;
    24474 esac
    24475 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24476 
    24477 cfuncdaxpy="$ac_val"
    24478 
    24479 ac_ext=c
    24480 ac_cpp='$CPP $CPPFLAGS'
    24481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24484 
    24485     if test x"$coin_need_flibs" = xyes; then
    24486       flink_try=no;
    24487     else
    24488       cat >conftest.$ac_ext <<_ACEOF
    24489 /* confdefs.h.  */
    24490 _ACEOF
    24491 cat confdefs.h >>conftest.$ac_ext
    24492 cat >>conftest.$ac_ext <<_ACEOF
    24493 /* end confdefs.h.  */
    24494 extern "C" {void $cfuncdaxpy();}
    24495 #ifdef F77_DUMMY_MAIN
    24496 
    24497 #  ifdef __cplusplus
    24498      extern "C"
    24499 #  endif
    24500    int F77_DUMMY_MAIN() { return 1; }
    24501 
    24502 #endif
    24503 int
    24504 main ()
    24505 {
    24506 $cfuncdaxpy()
    24507   ;
    24508   return 0;
    24509 }
    24510 _ACEOF
    24511 rm -f conftest.$ac_objext conftest$ac_exeext
    24512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24513   (eval $ac_link) 2>conftest.er1
    24514   ac_status=$?
    24515   grep -v '^ *+' conftest.er1 >conftest.err
    24516   rm -f conftest.er1
    24517   cat conftest.err >&5
    24518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24519   (exit $ac_status); } &&
    24520          { ac_try='test -z "$ac_c_werror_flag"
    24521                          || test ! -s conftest.err'
    24522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24523   (eval $ac_try) 2>&5
    24524   ac_status=$?
    24525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24526   (exit $ac_status); }; } &&
    24527          { ac_try='test -s conftest$ac_exeext'
    24528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24529   (eval $ac_try) 2>&5
    24530   ac_status=$?
    24531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24532   (exit $ac_status); }; }; then
    24533   flink_try=yes
    24534 else
    24535   echo "$as_me: failed program was:" >&5
    24536 sed 's/^/| /' conftest.$ac_ext >&5
    24537 
    24538 flink_try=no
    24539 fi
    24540 rm -f conftest.err conftest.$ac_objext \
    24541       conftest$ac_exeext conftest.$ac_ext
    24542     fi
    24543     if test $flink_try = yes; then
    24544       use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
    24545                                echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24546 echo "${ECHO_T}yes: $use_blas" >&6
    24547 
    24548     else
    24549       if test x"$FLIBS" != x; then
    24550         flink_save_libs="$LIBS"
    24551         LIBS="$LIBS $FLIBS"
    24552         cat >conftest.$ac_ext <<_ACEOF
    24553 /* confdefs.h.  */
    24554 _ACEOF
    24555 cat confdefs.h >>conftest.$ac_ext
    24556 cat >>conftest.$ac_ext <<_ACEOF
    24557 /* end confdefs.h.  */
    24558 extern "C" {void $cfuncdaxpy();}
    24559 #ifdef F77_DUMMY_MAIN
    24560 
    24561 #  ifdef __cplusplus
    24562      extern "C"
    24563 #  endif
    24564    int F77_DUMMY_MAIN() { return 1; }
    24565 
    24566 #endif
    24567 int
    24568 main ()
    24569 {
    24570 $cfuncdaxpy()
    24571   ;
    24572   return 0;
    24573 }
    24574 _ACEOF
    24575 rm -f conftest.$ac_objext conftest$ac_exeext
    24576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24577   (eval $ac_link) 2>conftest.er1
    24578   ac_status=$?
    24579   grep -v '^ *+' conftest.er1 >conftest.err
    24580   rm -f conftest.er1
    24581   cat conftest.err >&5
    24582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24583   (exit $ac_status); } &&
    24584          { ac_try='test -z "$ac_c_werror_flag"
    24585                          || test ! -s conftest.err'
    24586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24587   (eval $ac_try) 2>&5
    24588   ac_status=$?
    24589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24590   (exit $ac_status); }; } &&
    24591          { ac_try='test -s conftest$ac_exeext'
    24592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24593   (eval $ac_try) 2>&5
    24594   ac_status=$?
    24595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24596   (exit $ac_status); }; }; then
    24597   LIBS="$flink_save_libs"
    24598                      coin_need_flibs=yes
    24599                      use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib'
    24600                                echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24601 echo "${ECHO_T}yes: $use_blas" >&6
    24602 
    24603 
    24604 else
    24605   echo "$as_me: failed program was:" >&5
    24606 sed 's/^/| /' conftest.$ac_ext >&5
    24607 
    24608 LIBS="$flink_save_libs"
    24609                      echo "$as_me:$LINENO: result: no" >&5
    24610 echo "${ECHO_T}no" >&6
    24611 fi
    24612 rm -f conftest.err conftest.$ac_objext \
    24613       conftest$ac_exeext conftest.$ac_ext
    24614       else
    24615         echo "$as_me:$LINENO: result: no" >&5
    24616 echo "${ECHO_T}no" >&6
    24617       fi
    24618     fi
    24619     ;;
    24620 esac
    24621 
    24622             LIBS="$coin_save_LIBS"
    24623           fi
    24624           ;;
    24625       esac
    24626       ;;
    24627 
    24628      *-darwin*)
    24629       echo "$as_me:$LINENO: checking for BLAS in Veclib" >&5
    24630 echo $ECHO_N "checking for BLAS in Veclib... $ECHO_C" >&6
    24631       coin_need_flibs=no
    24632       coin_save_LIBS="$LIBS"
    24633       LIBS="-framework vecLib $LIBS"
    24634       case $ac_ext in
    24635   f)
    24636     cat >conftest.$ac_ext <<_ACEOF
    24637 /* confdefs.h.  */
    24638 _ACEOF
    24639 cat confdefs.h >>conftest.$ac_ext
    24640 cat >>conftest.$ac_ext <<_ACEOF
    24641 /* end confdefs.h.  */
    24642 
    24643 #ifdef F77_DUMMY_MAIN
    24644 
    24645 #  ifdef __cplusplus
    24646      extern "C"
    24647 #  endif
    24648    int F77_DUMMY_MAIN() { return 1; }
    24649 
    24650 #endif
    24651 int
    24652 main ()
    24653 {
    24654       call daxpy
    24655   ;
    24656   return 0;
    24657 }
    24658 _ACEOF
    24659 rm -f conftest.$ac_objext conftest$ac_exeext
    24660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24661   (eval $ac_link) 2>conftest.er1
    24662   ac_status=$?
    24663   grep -v '^ *+' conftest.er1 >conftest.err
    24664   rm -f conftest.er1
    24665   cat conftest.err >&5
    24666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24667   (exit $ac_status); } &&
    24668          { ac_try='test -z "$ac_c_werror_flag"
    24669                          || test ! -s conftest.err'
    24670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24671   (eval $ac_try) 2>&5
    24672   ac_status=$?
    24673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24674   (exit $ac_status); }; } &&
    24675          { ac_try='test -s conftest$ac_exeext'
    24676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24677   (eval $ac_try) 2>&5
    24678   ac_status=$?
    24679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24680   (exit $ac_status); }; }; then
    24681   use_blas='-framework vecLib'
    24682                          if test $coin_need_flibs = yes ; then
    24683                            use_blas="$use_blas $FLIBS"
    24684                          fi
    24685                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24686 echo "${ECHO_T}yes: $use_blas" >&6
    24687 
    24688 else
    24689   echo "$as_me: failed program was:" >&5
    24690 sed 's/^/| /' conftest.$ac_ext >&5
    24691 
    24692 echo "$as_me:$LINENO: result: no" >&5
    24693 echo "${ECHO_T}no" >&6
    24694 fi
    24695 rm -f conftest.err conftest.$ac_objext \
    24696       conftest$ac_exeext conftest.$ac_ext
    24697     ;;
    24698   c)
    24699     ac_ext=f
    24700 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24701 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24702 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24703 case $ac_cv_f77_mangling in
    24704   upper*) ac_val="DAXPY" ;;
    24705   lower*) ac_val="daxpy" ;;
    24706   *)      ac_val="unknown" ;;
    24707 esac
    24708 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24709 
    24710 cfuncdaxpy="$ac_val"
    24711 
    24712 ac_ext=c
    24713 ac_cpp='$CPP $CPPFLAGS'
    24714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24717 
    24718     if test x"$coin_need_flibs" = xyes; then
    24719       flink_try=no;
    24720     else
    24721       cat >conftest.$ac_ext <<_ACEOF
    24722 /* confdefs.h.  */
    24723 _ACEOF
    24724 cat confdefs.h >>conftest.$ac_ext
    24725 cat >>conftest.$ac_ext <<_ACEOF
    24726 /* end confdefs.h.  */
    24727 void $cfuncdaxpy();
    24728 #ifdef F77_DUMMY_MAIN
    24729 
    24730 #  ifdef __cplusplus
    24731      extern "C"
    24732 #  endif
    24733    int F77_DUMMY_MAIN() { return 1; }
    24734 
    24735 #endif
    24736 int
    24737 main ()
    24738 {
    24739 $cfuncdaxpy()
    24740   ;
    24741   return 0;
    24742 }
    24743 _ACEOF
    24744 rm -f conftest.$ac_objext conftest$ac_exeext
    24745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24746   (eval $ac_link) 2>conftest.er1
    24747   ac_status=$?
    24748   grep -v '^ *+' conftest.er1 >conftest.err
    24749   rm -f conftest.er1
    24750   cat conftest.err >&5
    24751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24752   (exit $ac_status); } &&
    24753          { ac_try='test -z "$ac_c_werror_flag"
    24754                          || test ! -s conftest.err'
    24755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24756   (eval $ac_try) 2>&5
    24757   ac_status=$?
    24758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24759   (exit $ac_status); }; } &&
    24760          { ac_try='test -s conftest$ac_exeext'
    24761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24762   (eval $ac_try) 2>&5
    24763   ac_status=$?
    24764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24765   (exit $ac_status); }; }; then
    24766   flink_try=yes
    24767 else
    24768   echo "$as_me: failed program was:" >&5
    24769 sed 's/^/| /' conftest.$ac_ext >&5
    24770 
    24771 flink_try=no
    24772 fi
    24773 rm -f conftest.err conftest.$ac_objext \
    24774       conftest$ac_exeext conftest.$ac_ext
    24775     fi
    24776     if test $flink_try = yes; then
    24777       use_blas='-framework vecLib'
    24778                          if test $coin_need_flibs = yes ; then
    24779                            use_blas="$use_blas $FLIBS"
    24780                          fi
    24781                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24782 echo "${ECHO_T}yes: $use_blas" >&6
    24783 
    24784     else
    24785       if test x"$FLIBS" != x; then
    24786         flink_save_libs="$LIBS"
    24787         LIBS="$LIBS $FLIBS"
    24788         cat >conftest.$ac_ext <<_ACEOF
    24789 /* confdefs.h.  */
    24790 _ACEOF
    24791 cat confdefs.h >>conftest.$ac_ext
    24792 cat >>conftest.$ac_ext <<_ACEOF
    24793 /* end confdefs.h.  */
    24794 void $cfuncdaxpy();
    24795 #ifdef F77_DUMMY_MAIN
    24796 
    24797 #  ifdef __cplusplus
    24798      extern "C"
    24799 #  endif
    24800    int F77_DUMMY_MAIN() { return 1; }
    24801 
    24802 #endif
    24803 int
    24804 main ()
    24805 {
    24806 $cfuncdaxpy()
    24807   ;
    24808   return 0;
    24809 }
    24810 _ACEOF
    24811 rm -f conftest.$ac_objext conftest$ac_exeext
    24812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24813   (eval $ac_link) 2>conftest.er1
    24814   ac_status=$?
    24815   grep -v '^ *+' conftest.er1 >conftest.err
    24816   rm -f conftest.er1
    24817   cat conftest.err >&5
    24818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24819   (exit $ac_status); } &&
    24820          { ac_try='test -z "$ac_c_werror_flag"
    24821                          || test ! -s conftest.err'
    24822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24823   (eval $ac_try) 2>&5
    24824   ac_status=$?
    24825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24826   (exit $ac_status); }; } &&
    24827          { ac_try='test -s conftest$ac_exeext'
    24828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24829   (eval $ac_try) 2>&5
    24830   ac_status=$?
    24831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24832   (exit $ac_status); }; }; then
    24833   LIBS="$flink_save_libs"
    24834                      coin_need_flibs=yes
    24835                      use_blas='-framework vecLib'
    24836                          if test $coin_need_flibs = yes ; then
    24837                            use_blas="$use_blas $FLIBS"
    24838                          fi
    24839                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24840 echo "${ECHO_T}yes: $use_blas" >&6
    24841 
    24842 
    24843 else
    24844   echo "$as_me: failed program was:" >&5
    24845 sed 's/^/| /' conftest.$ac_ext >&5
    24846 
    24847 LIBS="$flink_save_libs"
    24848                      echo "$as_me:$LINENO: result: no" >&5
    24849 echo "${ECHO_T}no" >&6
    24850 fi
    24851 rm -f conftest.err conftest.$ac_objext \
    24852       conftest$ac_exeext conftest.$ac_ext
    24853       else
    24854         echo "$as_me:$LINENO: result: no" >&5
    24855 echo "${ECHO_T}no" >&6
    24856       fi
    24857     fi
    24858     ;;
    24859   cc|cpp)
    24860     ac_ext=f
    24861 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    24862 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24863 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    24864 case $ac_cv_f77_mangling in
    24865   upper*) ac_val="DAXPY" ;;
    24866   lower*) ac_val="daxpy" ;;
    24867   *)      ac_val="unknown" ;;
    24868 esac
    24869 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    24870 
    24871 cfuncdaxpy="$ac_val"
    24872 
    24873 ac_ext=c
    24874 ac_cpp='$CPP $CPPFLAGS'
    24875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24878 
    24879     if test x"$coin_need_flibs" = xyes; then
    24880       flink_try=no;
    24881     else
    24882       cat >conftest.$ac_ext <<_ACEOF
    24883 /* confdefs.h.  */
    24884 _ACEOF
    24885 cat confdefs.h >>conftest.$ac_ext
    24886 cat >>conftest.$ac_ext <<_ACEOF
    24887 /* end confdefs.h.  */
    24888 extern "C" {void $cfuncdaxpy();}
    24889 #ifdef F77_DUMMY_MAIN
    24890 
    24891 #  ifdef __cplusplus
    24892      extern "C"
    24893 #  endif
    24894    int F77_DUMMY_MAIN() { return 1; }
    24895 
    24896 #endif
    24897 int
    24898 main ()
    24899 {
    24900 $cfuncdaxpy()
    24901   ;
    24902   return 0;
    24903 }
    24904 _ACEOF
    24905 rm -f conftest.$ac_objext conftest$ac_exeext
    24906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24907   (eval $ac_link) 2>conftest.er1
    24908   ac_status=$?
    24909   grep -v '^ *+' conftest.er1 >conftest.err
    24910   rm -f conftest.er1
    24911   cat conftest.err >&5
    24912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24913   (exit $ac_status); } &&
    24914          { ac_try='test -z "$ac_c_werror_flag"
    24915                          || test ! -s conftest.err'
    24916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24917   (eval $ac_try) 2>&5
    24918   ac_status=$?
    24919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24920   (exit $ac_status); }; } &&
    24921          { ac_try='test -s conftest$ac_exeext'
    24922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24923   (eval $ac_try) 2>&5
    24924   ac_status=$?
    24925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24926   (exit $ac_status); }; }; then
    24927   flink_try=yes
    24928 else
    24929   echo "$as_me: failed program was:" >&5
    24930 sed 's/^/| /' conftest.$ac_ext >&5
    24931 
    24932 flink_try=no
    24933 fi
    24934 rm -f conftest.err conftest.$ac_objext \
    24935       conftest$ac_exeext conftest.$ac_ext
    24936     fi
    24937     if test $flink_try = yes; then
    24938       use_blas='-framework vecLib'
    24939                          if test $coin_need_flibs = yes ; then
    24940                            use_blas="$use_blas $FLIBS"
    24941                          fi
    24942                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    24943 echo "${ECHO_T}yes: $use_blas" >&6
    24944 
    24945     else
    24946       if test x"$FLIBS" != x; then
    24947         flink_save_libs="$LIBS"
    24948         LIBS="$LIBS $FLIBS"
    24949         cat >conftest.$ac_ext <<_ACEOF
    24950 /* confdefs.h.  */
    24951 _ACEOF
    24952 cat confdefs.h >>conftest.$ac_ext
    24953 cat >>conftest.$ac_ext <<_ACEOF
    24954 /* end confdefs.h.  */
    24955 extern "C" {void $cfuncdaxpy();}
    24956 #ifdef F77_DUMMY_MAIN
    24957 
    24958 #  ifdef __cplusplus
    24959      extern "C"
    24960 #  endif
    24961    int F77_DUMMY_MAIN() { return 1; }
    24962 
    24963 #endif
    24964 int
    24965 main ()
    24966 {
    24967 $cfuncdaxpy()
    24968   ;
    24969   return 0;
    24970 }
    24971 _ACEOF
    24972 rm -f conftest.$ac_objext conftest$ac_exeext
    24973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    24974   (eval $ac_link) 2>conftest.er1
    24975   ac_status=$?
    24976   grep -v '^ *+' conftest.er1 >conftest.err
    24977   rm -f conftest.er1
    24978   cat conftest.err >&5
    24979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24980   (exit $ac_status); } &&
    24981          { ac_try='test -z "$ac_c_werror_flag"
    24982                          || test ! -s conftest.err'
    24983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24984   (eval $ac_try) 2>&5
    24985   ac_status=$?
    24986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24987   (exit $ac_status); }; } &&
    24988          { ac_try='test -s conftest$ac_exeext'
    24989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24990   (eval $ac_try) 2>&5
    24991   ac_status=$?
    24992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24993   (exit $ac_status); }; }; then
    24994   LIBS="$flink_save_libs"
    24995                      coin_need_flibs=yes
    24996                      use_blas='-framework vecLib'
    24997                          if test $coin_need_flibs = yes ; then
    24998                            use_blas="$use_blas $FLIBS"
    24999                          fi
    25000                          echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    25001 echo "${ECHO_T}yes: $use_blas" >&6
    25002 
    25003 
    25004 else
    25005   echo "$as_me: failed program was:" >&5
    25006 sed 's/^/| /' conftest.$ac_ext >&5
    25007 
    25008 LIBS="$flink_save_libs"
    25009                      echo "$as_me:$LINENO: result: no" >&5
    25010 echo "${ECHO_T}no" >&6
    25011 fi
    25012 rm -f conftest.err conftest.$ac_objext \
    25013       conftest$ac_exeext conftest.$ac_ext
    25014       else
    25015         echo "$as_me:$LINENO: result: no" >&5
    25016 echo "${ECHO_T}no" >&6
    25017       fi
    25018     fi
    25019     ;;
    25020 esac
    25021 
    25022       LIBS="$coin_save_LIBS"
    25023       ;;
    25024   esac
    25025 
    25026   if test -z "$use_blas" && test $skip_lblas_check = no; then
    25027     echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5
    25028 echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6
    25029     coin_need_flibs=no
    25030     coin_save_LIBS="$LIBS"
    25031     LIBS="-lblas $LIBS"
    25032     case $ac_ext in
    25033   f)
    25034     cat >conftest.$ac_ext <<_ACEOF
    25035 /* confdefs.h.  */
    25036 _ACEOF
    25037 cat confdefs.h >>conftest.$ac_ext
    25038 cat >>conftest.$ac_ext <<_ACEOF
    25039 /* end confdefs.h.  */
    25040 
    25041 #ifdef F77_DUMMY_MAIN
    25042 
    25043 #  ifdef __cplusplus
    25044      extern "C"
    25045 #  endif
    25046    int F77_DUMMY_MAIN() { return 1; }
    25047 
    25048 #endif
    25049 int
    25050 main ()
    25051 {
    25052       call daxpy
    25053   ;
    25054   return 0;
    25055 }
    25056 _ACEOF
    25057 rm -f conftest.$ac_objext conftest$ac_exeext
    25058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    25059   (eval $ac_link) 2>conftest.er1
    25060   ac_status=$?
    25061   grep -v '^ *+' conftest.er1 >conftest.err
    25062   rm -f conftest.er1
    25063   cat conftest.err >&5
    25064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25065   (exit $ac_status); } &&
    25066          { ac_try='test -z "$ac_c_werror_flag"
    25067                          || test ! -s conftest.err'
    25068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25069   (eval $ac_try) 2>&5
    25070   ac_status=$?
    25071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25072   (exit $ac_status); }; } &&
    25073          { ac_try='test -s conftest$ac_exeext'
    25074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25075   (eval $ac_try) 2>&5
    25076   ac_status=$?
    25077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25078   (exit $ac_status); }; }; then
    25079   use_blas='-lblas'
    25080                        if test $coin_need_flibs = yes ; then
    25081                          use_blas="$use_blas $FLIBS"
    25082                        fi
    25083                        echo "$as_me:$LINENO: result: yes: $use_blas" >&5
    25084 echo "${ECHO_T}yes: $use_blas" >&6
    25085 
    25086 else
    25087   echo "$as_me: failed program was:" >&5
    25088 sed 's/^/| /' conftest.$ac_ext >&5
    25089 
    25090 echo "$as_me:$LINENO: result: no" >&5
    25091 echo "${ECHO_T}no" >&6
    25092 fi
    25093 rm -f conftest.err conftest.$ac_objext \
    25094       conftest$ac_exeext conftest.$ac_ext
    25095     ;;
    25096   c)
    25097     ac_ext=f
    25098 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    25099 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25100 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    25101 case $ac_cv_f77_mangling in
    25102   upper*) ac_val="DAXPY" ;;
    25103   lower*) ac_val="daxpy" ;;
    25104   *)      ac_val="unknown" ;;
    25105 esac
    25106 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
    25107 
    25108 cfuncdaxpy="$ac_val"
    25109 
    25110 ac_ext=c
    25111 ac_cpp='$CPP $CPPFLAGS'
    25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25115 
    25116     if test x"$coin_need_flibs" = xyes; then
    25117       flink_try=no;
    25118     else
    25119       cat >conftest.$ac_ext <<_ACEOF
    25120 /* confdefs.h.  */
    25121 _ACEOF
    25122 cat confdefs.h >>conftest.$ac_ext
    25123 cat >>conftest.$ac_ext <<_ACEOF
    25124 /* end confdefs.h.  */
    25125 void $cfuncdaxpy();
    25126 #ifdef F77_DUMMY_MAIN
    25127 
    25128 #  ifdef __cplusplus
    25129      extern "C"
    25130 #  endif
    25131    int F77_DUMMY_MAIN() { return 1; }
    25132 
    25133 #endif
    25134 int
    25135 main ()
    25136 {
    25137 $cfuncdaxpy()
    25138   ;