Changeset 2434


Ignore:
Timestamp:
Sep 20, 2011 5:38:52 AM (8 years ago)
Author:
stefan
Message:

apparently, MA57 requires BLAS, so add this dependency

Location:
ThirdParty/HSL/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/trunk/Makefile.in

    r2256 r2434  
    150150AUX_DIR = @AUX_DIR@
    151151AWK = @AWK@
     152BLAS_CFLAGS = @BLAS_CFLAGS@
     153BLAS_CFLAGS_INSTALLED = @BLAS_CFLAGS_INSTALLED@
     154BLAS_DATA = @BLAS_DATA@
     155BLAS_DATA_INSTALLED = @BLAS_DATA_INSTALLED@
     156BLAS_DEPENDENCIES = @BLAS_DEPENDENCIES@
     157BLAS_LIBS = @BLAS_LIBS@
     158BLAS_LIBS_INSTALLED = @BLAS_LIBS_INSTALLED@
    152159BUILDTOOLSDIR = @BUILDTOOLSDIR@
    153160BUILD_COINHSL_FALSE = @BUILD_COINHSL_FALSE@
     
    160167COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
    161168COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
     169COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
     170COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
    162171COIN_HAS_MA27_FALSE = @COIN_HAS_MA27_FALSE@
    163172COIN_HAS_MA27_TRUE = @COIN_HAS_MA27_TRUE@
  • ThirdParty/HSL/trunk/config.h.in

    r2256 r2434  
    3030/* Release Version number of project */
    3131#undef COINHSL_VERSION_RELEASE
     32
     33/* If defined, the BLAS Library is available. */
     34#undef COIN_HAS_BLAS
    3235
    3336/* Define to 1 if the Metis package is available */
  • ThirdParty/HSL/trunk/configure

    r2352 r2434  
    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 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_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'
    476476ac_subst_files=''
    477477
     
    11261126  --with-metis-incdir directory with header files for using package Metis
    11271127  --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
    11281133
    11291134Some influential environment variables:
     
    34763481
    34773482# Provide some information about the compiler.
    3478 echo "$as_me:3478:" \
     3483echo "$as_me:3483:" \
    34793484     "checking for Fortran 77 compiler version" >&5
    34803485ac_compiler=`set X $ac_compile; echo $2`
     
    42494254ac_save_FFLAGS=$FFLAGS
    42504255FFLAGS="$FFLAGS $ac_verb"
    4251 (eval echo $as_me:4251: \"$ac_link\") >&5
     4256(eval echo $as_me:4256: \"$ac_link\") >&5
    42524257ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    42534258echo "$ac_f77_v_output" >&5
     
    43274332ac_save_FFLAGS=$FFLAGS
    43284333FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4329 (eval echo $as_me:4329: \"$ac_link\") >&5
     4334(eval echo $as_me:4334: \"$ac_link\") >&5
    43304335ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    43314336echo "$ac_f77_v_output" >&5
     
    52055210
    52065211# Provide some information about the compiler.
    5207 echo "$as_me:5207:" \
     5212echo "$as_me:5212:" \
    52085213     "checking for Fortran compiler version" >&5
    52095214ac_compiler=`set X $ac_compile; echo $2`
     
    69776982*-*-irix6*)
    69786983  # Find out which ABI we are using.
    6979   echo '#line 6979 "configure"' > conftest.$ac_ext
     6984  echo '#line 6984 "configure"' > conftest.$ac_ext
    69806985  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    69816986  (eval $ac_compile) 2>&5
     
    94549459   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    94559460   -e 's:$: $lt_compiler_flag:'`
    9456    (eval echo "\"\$as_me:9456: $lt_compile\"" >&5)
     9461   (eval echo "\"\$as_me:9461: $lt_compile\"" >&5)
    94579462   (eval "$lt_compile" 2>conftest.err)
    94589463   ac_status=$?
    94599464   cat conftest.err >&5
    9460    echo "$as_me:9460: \$? = $ac_status" >&5
     9465   echo "$as_me:9465: \$? = $ac_status" >&5
    94619466   if (exit $ac_status) && test -s "$ac_outfile"; then
    94629467     # The compiler can only warn and ignore the option if not recognized
     
    97229727   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    97239728   -e 's:$: $lt_compiler_flag:'`
    9724    (eval echo "\"\$as_me:9724: $lt_compile\"" >&5)
     9729   (eval echo "\"\$as_me:9729: $lt_compile\"" >&5)
    97259730   (eval "$lt_compile" 2>conftest.err)
    97269731   ac_status=$?
    97279732   cat conftest.err >&5
    9728    echo "$as_me:9728: \$? = $ac_status" >&5
     9733   echo "$as_me:9733: \$? = $ac_status" >&5
    97299734   if (exit $ac_status) && test -s "$ac_outfile"; then
    97309735     # The compiler can only warn and ignore the option if not recognized
     
    98269831   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    98279832   -e 's:$: $lt_compiler_flag:'`
    9828    (eval echo "\"\$as_me:9828: $lt_compile\"" >&5)
     9833   (eval echo "\"\$as_me:9833: $lt_compile\"" >&5)
    98299834   (eval "$lt_compile" 2>out/conftest.err)
    98309835   ac_status=$?
    98319836   cat out/conftest.err >&5
    9832    echo "$as_me:9832: \$? = $ac_status" >&5
     9837   echo "$as_me:9837: \$? = $ac_status" >&5
    98339838   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    98349839   then
     
    1224312248  lt_status=$lt_dlunknown
    1224412249  cat > conftest.$ac_ext <<EOF
    12245 #line 12245 "configure"
     12250#line 12250 "configure"
    1224612251#include "confdefs.h"
    1224712252
     
    1234312348  lt_status=$lt_dlunknown
    1234412349  cat > conftest.$ac_ext <<EOF
    12345 #line 12345 "configure"
     12350#line 12350 "configure"
    1234612351#include "confdefs.h"
    1234712352
     
    1470314708   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1470414709   -e 's:$: $lt_compiler_flag:'`
    14705    (eval echo "\"\$as_me:14705: $lt_compile\"" >&5)
     14710   (eval echo "\"\$as_me:14710: $lt_compile\"" >&5)
    1470614711   (eval "$lt_compile" 2>conftest.err)
    1470714712   ac_status=$?
    1470814713   cat conftest.err >&5
    14709    echo "$as_me:14709: \$? = $ac_status" >&5
     14714   echo "$as_me:14714: \$? = $ac_status" >&5
    1471014715   if (exit $ac_status) && test -s "$ac_outfile"; then
    1471114716     # The compiler can only warn and ignore the option if not recognized
     
    1480714812   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1480814813   -e 's:$: $lt_compiler_flag:'`
    14809    (eval echo "\"\$as_me:14809: $lt_compile\"" >&5)
     14814   (eval echo "\"\$as_me:14814: $lt_compile\"" >&5)
    1481014815   (eval "$lt_compile" 2>out/conftest.err)
    1481114816   ac_status=$?
    1481214817   cat out/conftest.err >&5
    14813    echo "$as_me:14813: \$? = $ac_status" >&5
     14818   echo "$as_me:14818: \$? = $ac_status" >&5
    1481414819   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1481514820   then
     
    1637716382   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1637816383   -e 's:$: $lt_compiler_flag:'`
    16379    (eval echo "\"\$as_me:16379: $lt_compile\"" >&5)
     16384   (eval echo "\"\$as_me:16384: $lt_compile\"" >&5)
    1638016385   (eval "$lt_compile" 2>conftest.err)
    1638116386   ac_status=$?
    1638216387   cat conftest.err >&5
    16383    echo "$as_me:16383: \$? = $ac_status" >&5
     16388   echo "$as_me:16388: \$? = $ac_status" >&5
    1638416389   if (exit $ac_status) && test -s "$ac_outfile"; then
    1638516390     # The compiler can only warn and ignore the option if not recognized
     
    1648116486   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1648216487   -e 's:$: $lt_compiler_flag:'`
    16483    (eval echo "\"\$as_me:16483: $lt_compile\"" >&5)
     16488   (eval echo "\"\$as_me:16488: $lt_compile\"" >&5)
    1648416489   (eval "$lt_compile" 2>out/conftest.err)
    1648516490   ac_status=$?
    1648616491   cat out/conftest.err >&5
    16487    echo "$as_me:16487: \$? = $ac_status" >&5
     16492   echo "$as_me:16492: \$? = $ac_status" >&5
    1648816493   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1648916494   then
     
    1868818693   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1868918694   -e 's:$: $lt_compiler_flag:'`
    18690    (eval echo "\"\$as_me:18690: $lt_compile\"" >&5)
     18695   (eval echo "\"\$as_me:18695: $lt_compile\"" >&5)
    1869118696   (eval "$lt_compile" 2>conftest.err)
    1869218697   ac_status=$?
    1869318698   cat conftest.err >&5
    18694    echo "$as_me:18694: \$? = $ac_status" >&5
     18699   echo "$as_me:18699: \$? = $ac_status" >&5
    1869518700   if (exit $ac_status) && test -s "$ac_outfile"; then
    1869618701     # The compiler can only warn and ignore the option if not recognized
     
    1895618961   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1895718962   -e 's:$: $lt_compiler_flag:'`
    18958    (eval echo "\"\$as_me:18958: $lt_compile\"" >&5)
     18963   (eval echo "\"\$as_me:18963: $lt_compile\"" >&5)
    1895918964   (eval "$lt_compile" 2>conftest.err)
    1896018965   ac_status=$?
    1896118966   cat conftest.err >&5
    18962    echo "$as_me:18962: \$? = $ac_status" >&5
     18967   echo "$as_me:18967: \$? = $ac_status" >&5
    1896318968   if (exit $ac_status) && test -s "$ac_outfile"; then
    1896418969     # The compiler can only warn and ignore the option if not recognized
     
    1906019065   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1906119066   -e 's:$: $lt_compiler_flag:'`
    19062    (eval echo "\"\$as_me:19062: $lt_compile\"" >&5)
     19067   (eval echo "\"\$as_me:19067: $lt_compile\"" >&5)
    1906319068   (eval "$lt_compile" 2>out/conftest.err)
    1906419069   ac_status=$?
    1906519070   cat out/conftest.err >&5
    19066    echo "$as_me:19066: \$? = $ac_status" >&5
     19071   echo "$as_me:19071: \$? = $ac_status" >&5
    1906719072   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1906819073   then
     
    2255722562     # construct dependencies variables from LIBS variables
    2255822563     # we add an extra space in LIBS so we can substitute out everything starting with " -"
    22559      # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows
     22564     # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* as used on Windows
    2256022565     # then remove everything of the form -xxx
    2256122566     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
    22562      METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    22563 
    22564        HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     22567     METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     22568
     22569       HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    2256522570
    2256622571  fi
     
    2262122626   { (exit 1); exit 1; }; }
    2262222627  fi
     22628
     22629
     22630# Check whether --with-blas or --without-blas was given.
     22631if test "${with_blas+set}" = set; then
     22632  withval="$with_blas"
     22633  use_blas="$withval"
     22634else
     22635  use_blas=
     22636fi;
     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.
     22642if test "${with_blas_lib+set}" = set; then
     22643  withval="$with_blas_lib"
     22644  use_blas=BUILD
     22645fi;
     22646
     22647# Check if user supplied option makes sense
     22648if 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
     22654echo $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
     22663cat confdefs.h >>conftest.$ac_ext
     22664cat >>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
     22675int
     22676main ()
     22677{
     22678      call daxpy
     22679  ;
     22680  return 0;
     22681}
     22682_ACEOF
     22683rm -f conftest.$ac_objext conftest$ac_exeext
     22684if { (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
     22709echo "${ECHO_T}yes: $use_blas" >&6
     22710else
     22711  echo "$as_me: failed program was:" >&5
     22712sed 's/^/| /' conftest.$ac_ext >&5
     22713
     22714echo "$as_me:$LINENO: result: no" >&5
     22715echo "${ECHO_T}no" >&6
     22716                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22717echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22718   { (exit 1); exit 1; }; }
     22719fi
     22720rm -f conftest.err conftest.$ac_objext \
     22721      conftest$ac_exeext conftest.$ac_ext
     22722    ;;
     22723  c)
     22724    ac_ext=f
     22725ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22726ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22727ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22728case $ac_cv_f77_mangling in
     22729  upper*) ac_val="DAXPY" ;;
     22730  lower*) ac_val="daxpy" ;;
     22731  *)      ac_val="unknown" ;;
     22732esac
     22733case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22734
     22735cfuncdaxpy="$ac_val"
     22736
     22737ac_ext=c
     22738ac_cpp='$CPP $CPPFLAGS'
     22739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22741ac_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
     22749cat confdefs.h >>conftest.$ac_ext
     22750cat >>conftest.$ac_ext <<_ACEOF
     22751/* end confdefs.h.  */
     22752void $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
     22761int
     22762main ()
     22763{
     22764$cfuncdaxpy()
     22765  ;
     22766  return 0;
     22767}
     22768_ACEOF
     22769rm -f conftest.$ac_objext conftest$ac_exeext
     22770if { (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
     22792else
     22793  echo "$as_me: failed program was:" >&5
     22794sed 's/^/| /' conftest.$ac_ext >&5
     22795
     22796flink_try=no
     22797fi
     22798rm -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
     22806echo "${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
     22814cat confdefs.h >>conftest.$ac_ext
     22815cat >>conftest.$ac_ext <<_ACEOF
     22816/* end confdefs.h.  */
     22817void $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
     22826int
     22827main ()
     22828{
     22829$cfuncdaxpy()
     22830  ;
     22831  return 0;
     22832}
     22833_ACEOF
     22834rm -f conftest.$ac_objext conftest$ac_exeext
     22835if { (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
     22862echo "${ECHO_T}yes: $use_blas" >&6
     22863
     22864else
     22865  echo "$as_me: failed program was:" >&5
     22866sed 's/^/| /' conftest.$ac_ext >&5
     22867
     22868LIBS="$flink_save_libs"
     22869                     echo "$as_me:$LINENO: result: no" >&5
     22870echo "${ECHO_T}no" >&6
     22871                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22872echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     22873   { (exit 1); exit 1; }; }
     22874fi
     22875rm -f conftest.err conftest.$ac_objext \
     22876      conftest$ac_exeext conftest.$ac_ext
     22877      else
     22878        echo "$as_me:$LINENO: result: no" >&5
     22879echo "${ECHO_T}no" >&6
     22880                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     22881echo "$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
     22888ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     22889ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22890ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     22891case $ac_cv_f77_mangling in
     22892  upper*) ac_val="DAXPY" ;;
     22893  lower*) ac_val="daxpy" ;;
     22894  *)      ac_val="unknown" ;;
     22895esac
     22896case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     22897
     22898cfuncdaxpy="$ac_val"
     22899
     22900ac_ext=c
     22901ac_cpp='$CPP $CPPFLAGS'
     22902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22904ac_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
     22912cat confdefs.h >>conftest.$ac_ext
     22913cat >>conftest.$ac_ext <<_ACEOF
     22914/* end confdefs.h.  */
     22915extern "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
     22924int
     22925main ()
     22926{
     22927$cfuncdaxpy()
     22928  ;
     22929  return 0;
     22930}
     22931_ACEOF
     22932rm -f conftest.$ac_objext conftest$ac_exeext
     22933if { (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
     22955else
     22956  echo "$as_me: failed program was:" >&5
     22957sed 's/^/| /' conftest.$ac_ext >&5
     22958
     22959flink_try=no
     22960fi
     22961rm -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
     22969echo "${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
     22977cat confdefs.h >>conftest.$ac_ext
     22978cat >>conftest.$ac_ext <<_ACEOF
     22979/* end confdefs.h.  */
     22980extern "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
     22989int
     22990main ()
     22991{
     22992$cfuncdaxpy()
     22993  ;
     22994  return 0;
     22995}
     22996_ACEOF
     22997rm -f conftest.$ac_objext conftest$ac_exeext
     22998if { (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
     23025echo "${ECHO_T}yes: $use_blas" >&6
     23026
     23027else
     23028  echo "$as_me: failed program was:" >&5
     23029sed 's/^/| /' conftest.$ac_ext >&5
     23030
     23031LIBS="$flink_save_libs"
     23032                     echo "$as_me:$LINENO: result: no" >&5
     23033echo "${ECHO_T}no" >&6
     23034                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     23035echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     23036   { (exit 1); exit 1; }; }
     23037fi
     23038rm -f conftest.err conftest.$ac_objext \
     23039      conftest$ac_exeext conftest.$ac_ext
     23040      else
     23041        echo "$as_me:$LINENO: result: no" >&5
     23042echo "${ECHO_T}no" >&6
     23043                       { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5
     23044echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;}
     23045   { (exit 1); exit 1; }; }
     23046      fi
     23047    fi
     23048    ;;
     23049esac
     23050
     23051    LIBS="$coin_save_LIBS"
     23052  fi
     23053else
     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
     23060echo $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
     23069cat confdefs.h >>conftest.$ac_ext
     23070cat >>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
     23081int
     23082main ()
     23083{
     23084      call daxpy
     23085  ;
     23086  return 0;
     23087}
     23088_ACEOF
     23089rm -f conftest.$ac_objext conftest$ac_exeext
     23090if { (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
     23116echo "${ECHO_T}yes: $use_blas" >&6
     23117
     23118else
     23119  echo "$as_me: failed program was:" >&5
     23120sed 's/^/| /' conftest.$ac_ext >&5
     23121
     23122echo "$as_me:$LINENO: result: no" >&5
     23123echo "${ECHO_T}no" >&6
     23124fi
     23125rm -f conftest.err conftest.$ac_objext \
     23126      conftest$ac_exeext conftest.$ac_ext
     23127    ;;
     23128  c)
     23129    ac_ext=f
     23130ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23131ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23132ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23133case $ac_cv_f77_mangling in
     23134  upper*) ac_val="DAXPY" ;;
     23135  lower*) ac_val="daxpy" ;;
     23136  *)      ac_val="unknown" ;;
     23137esac
     23138case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23139
     23140cfuncdaxpy="$ac_val"
     23141
     23142ac_ext=c
     23143ac_cpp='$CPP $CPPFLAGS'
     23144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23146ac_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
     23154cat confdefs.h >>conftest.$ac_ext
     23155cat >>conftest.$ac_ext <<_ACEOF
     23156/* end confdefs.h.  */
     23157void $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
     23166int
     23167main ()
     23168{
     23169$cfuncdaxpy()
     23170  ;
     23171  return 0;
     23172}
     23173_ACEOF
     23174rm -f conftest.$ac_objext conftest$ac_exeext
     23175if { (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
     23197else
     23198  echo "$as_me: failed program was:" >&5
     23199sed 's/^/| /' conftest.$ac_ext >&5
     23200
     23201flink_try=no
     23202fi
     23203rm -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
     23212echo "${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
     23221cat confdefs.h >>conftest.$ac_ext
     23222cat >>conftest.$ac_ext <<_ACEOF
     23223/* end confdefs.h.  */
     23224void $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
     23233int
     23234main ()
     23235{
     23236$cfuncdaxpy()
     23237  ;
     23238  return 0;
     23239}
     23240_ACEOF
     23241rm -f conftest.$ac_objext conftest$ac_exeext
     23242if { (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
     23270echo "${ECHO_T}yes: $use_blas" >&6
     23271
     23272
     23273else
     23274  echo "$as_me: failed program was:" >&5
     23275sed 's/^/| /' conftest.$ac_ext >&5
     23276
     23277LIBS="$flink_save_libs"
     23278                     echo "$as_me:$LINENO: result: no" >&5
     23279echo "${ECHO_T}no" >&6
     23280fi
     23281rm -f conftest.err conftest.$ac_objext \
     23282      conftest$ac_exeext conftest.$ac_ext
     23283      else
     23284        echo "$as_me:$LINENO: result: no" >&5
     23285echo "${ECHO_T}no" >&6
     23286      fi
     23287    fi
     23288    ;;
     23289  cc|cpp)
     23290    ac_ext=f
     23291ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23292ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23293ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23294case $ac_cv_f77_mangling in
     23295  upper*) ac_val="DAXPY" ;;
     23296  lower*) ac_val="daxpy" ;;
     23297  *)      ac_val="unknown" ;;
     23298esac
     23299case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23300
     23301cfuncdaxpy="$ac_val"
     23302
     23303ac_ext=c
     23304ac_cpp='$CPP $CPPFLAGS'
     23305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23307ac_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
     23315cat confdefs.h >>conftest.$ac_ext
     23316cat >>conftest.$ac_ext <<_ACEOF
     23317/* end confdefs.h.  */
     23318extern "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
     23327int
     23328main ()
     23329{
     23330$cfuncdaxpy()
     23331  ;
     23332  return 0;
     23333}
     23334_ACEOF
     23335rm -f conftest.$ac_objext conftest$ac_exeext
     23336if { (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
     23358else
     23359  echo "$as_me: failed program was:" >&5
     23360sed 's/^/| /' conftest.$ac_ext >&5
     23361
     23362flink_try=no
     23363fi
     23364rm -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
     23373echo "${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
     23382cat confdefs.h >>conftest.$ac_ext
     23383cat >>conftest.$ac_ext <<_ACEOF
     23384/* end confdefs.h.  */
     23385extern "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
     23394int
     23395main ()
     23396{
     23397$cfuncdaxpy()
     23398  ;
     23399  return 0;
     23400}
     23401_ACEOF
     23402rm -f conftest.$ac_objext conftest$ac_exeext
     23403if { (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
     23431echo "${ECHO_T}yes: $use_blas" >&6
     23432
     23433
     23434else
     23435  echo "$as_me: failed program was:" >&5
     23436sed 's/^/| /' conftest.$ac_ext >&5
     23437
     23438LIBS="$flink_save_libs"
     23439                     echo "$as_me:$LINENO: result: no" >&5
     23440echo "${ECHO_T}no" >&6
     23441fi
     23442rm -f conftest.err conftest.$ac_objext \
     23443      conftest$ac_exeext conftest.$ac_ext
     23444      else
     23445        echo "$as_me:$LINENO: result: no" >&5
     23446echo "${ECHO_T}no" >&6
     23447      fi
     23448    fi
     23449    ;;
     23450esac
     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
     23463echo $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
     23472cat confdefs.h >>conftest.$ac_ext
     23473cat >>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
     23484int
     23485main ()
     23486{
     23487      call daxpy
     23488  ;
     23489  return 0;
     23490}
     23491_ACEOF
     23492rm -f conftest.$ac_objext conftest$ac_exeext
     23493if { (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
     23519echo "${ECHO_T}yes: $use_blas" >&6
     23520
     23521else
     23522  echo "$as_me: failed program was:" >&5
     23523sed 's/^/| /' conftest.$ac_ext >&5
     23524
     23525echo "$as_me:$LINENO: result: no" >&5
     23526echo "${ECHO_T}no" >&6
     23527fi
     23528rm -f conftest.err conftest.$ac_objext \
     23529      conftest$ac_exeext conftest.$ac_ext
     23530    ;;
     23531  c)
     23532    ac_ext=f
     23533ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23534ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23535ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23536case $ac_cv_f77_mangling in
     23537  upper*) ac_val="DAXPY" ;;
     23538  lower*) ac_val="daxpy" ;;
     23539  *)      ac_val="unknown" ;;
     23540esac
     23541case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23542
     23543cfuncdaxpy="$ac_val"
     23544
     23545ac_ext=c
     23546ac_cpp='$CPP $CPPFLAGS'
     23547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23549ac_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
     23557cat confdefs.h >>conftest.$ac_ext
     23558cat >>conftest.$ac_ext <<_ACEOF
     23559/* end confdefs.h.  */
     23560void $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
     23569int
     23570main ()
     23571{
     23572$cfuncdaxpy()
     23573  ;
     23574  return 0;
     23575}
     23576_ACEOF
     23577rm -f conftest.$ac_objext conftest$ac_exeext
     23578if { (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
     23600else
     23601  echo "$as_me: failed program was:" >&5
     23602sed 's/^/| /' conftest.$ac_ext >&5
     23603
     23604flink_try=no
     23605fi
     23606rm -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
     23615echo "${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
     23624cat confdefs.h >>conftest.$ac_ext
     23625cat >>conftest.$ac_ext <<_ACEOF
     23626/* end confdefs.h.  */
     23627void $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
     23636int
     23637main ()
     23638{
     23639$cfuncdaxpy()
     23640  ;
     23641  return 0;
     23642}
     23643_ACEOF
     23644rm -f conftest.$ac_objext conftest$ac_exeext
     23645if { (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
     23673echo "${ECHO_T}yes: $use_blas" >&6
     23674
     23675
     23676else
     23677  echo "$as_me: failed program was:" >&5
     23678sed 's/^/| /' conftest.$ac_ext >&5
     23679
     23680LIBS="$flink_save_libs"
     23681                     echo "$as_me:$LINENO: result: no" >&5
     23682echo "${ECHO_T}no" >&6
     23683fi
     23684rm -f conftest.err conftest.$ac_objext \
     23685      conftest$ac_exeext conftest.$ac_ext
     23686      else
     23687        echo "$as_me:$LINENO: result: no" >&5
     23688echo "${ECHO_T}no" >&6
     23689      fi
     23690    fi
     23691    ;;
     23692  cc|cpp)
     23693    ac_ext=f
     23694ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23695ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23696ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23697case $ac_cv_f77_mangling in
     23698  upper*) ac_val="DAXPY" ;;
     23699  lower*) ac_val="daxpy" ;;
     23700  *)      ac_val="unknown" ;;
     23701esac
     23702case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23703
     23704cfuncdaxpy="$ac_val"
     23705
     23706ac_ext=c
     23707ac_cpp='$CPP $CPPFLAGS'
     23708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23710ac_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
     23718cat confdefs.h >>conftest.$ac_ext
     23719cat >>conftest.$ac_ext <<_ACEOF
     23720/* end confdefs.h.  */
     23721extern "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
     23730int
     23731main ()
     23732{
     23733$cfuncdaxpy()
     23734  ;
     23735  return 0;
     23736}
     23737_ACEOF
     23738rm -f conftest.$ac_objext conftest$ac_exeext
     23739if { (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
     23761else
     23762  echo "$as_me: failed program was:" >&5
     23763sed 's/^/| /' conftest.$ac_ext >&5
     23764
     23765flink_try=no
     23766fi
     23767rm -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
     23776echo "${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
     23785cat confdefs.h >>conftest.$ac_ext
     23786cat >>conftest.$ac_ext <<_ACEOF
     23787/* end confdefs.h.  */
     23788extern "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
     23797int
     23798main ()
     23799{
     23800$cfuncdaxpy()
     23801  ;
     23802  return 0;
     23803}
     23804_ACEOF
     23805rm -f conftest.$ac_objext conftest$ac_exeext
     23806if { (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
     23834echo "${ECHO_T}yes: $use_blas" >&6
     23835
     23836
     23837else
     23838  echo "$as_me: failed program was:" >&5
     23839sed 's/^/| /' conftest.$ac_ext >&5
     23840
     23841LIBS="$flink_save_libs"
     23842                     echo "$as_me:$LINENO: result: no" >&5
     23843echo "${ECHO_T}no" >&6
     23844fi
     23845rm -f conftest.err conftest.$ac_objext \
     23846      conftest$ac_exeext conftest.$ac_ext
     23847      else
     23848        echo "$as_me:$LINENO: result: no" >&5
     23849echo "${ECHO_T}no" >&6
     23850      fi
     23851    fi
     23852    ;;
     23853esac
     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
     23868echo $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
     23875cat confdefs.h >>conftest.$ac_ext
     23876cat >>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
     23887int
     23888main ()
     23889{
     23890      call daxpy
     23891  ;
     23892  return 0;
     23893}
     23894_ACEOF
     23895rm -f conftest.$ac_objext conftest$ac_exeext
     23896if { (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
     23919echo "${ECHO_T}yes: $use_blas" >&6
     23920
     23921else
     23922  echo "$as_me: failed program was:" >&5
     23923sed 's/^/| /' conftest.$ac_ext >&5
     23924
     23925echo "$as_me:$LINENO: result: no" >&5
     23926echo "${ECHO_T}no" >&6
     23927fi
     23928rm -f conftest.err conftest.$ac_objext \
     23929      conftest$ac_exeext conftest.$ac_ext
     23930    ;;
     23931  c)
     23932    ac_ext=f
     23933ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     23934ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23935ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     23936case $ac_cv_f77_mangling in
     23937  upper*) ac_val="DAXPY" ;;
     23938  lower*) ac_val="daxpy" ;;
     23939  *)      ac_val="unknown" ;;
     23940esac
     23941case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     23942
     23943cfuncdaxpy="$ac_val"
     23944
     23945ac_ext=c
     23946ac_cpp='$CPP $CPPFLAGS'
     23947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     23948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     23949ac_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
     23957cat confdefs.h >>conftest.$ac_ext
     23958cat >>conftest.$ac_ext <<_ACEOF
     23959/* end confdefs.h.  */
     23960void $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
     23969int
     23970main ()
     23971{
     23972$cfuncdaxpy()
     23973  ;
     23974  return 0;
     23975}
     23976_ACEOF
     23977rm -f conftest.$ac_objext conftest$ac_exeext
     23978if { (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
     24000else
     24001  echo "$as_me: failed program was:" >&5
     24002sed 's/^/| /' conftest.$ac_ext >&5
     24003
     24004flink_try=no
     24005fi
     24006rm -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
     24012echo "${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
     24021cat confdefs.h >>conftest.$ac_ext
     24022cat >>conftest.$ac_ext <<_ACEOF
     24023/* end confdefs.h.  */
     24024void $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
     24033int
     24034main ()
     24035{
     24036$cfuncdaxpy()
     24037  ;
     24038  return 0;
     24039}
     24040_ACEOF
     24041rm -f conftest.$ac_objext conftest$ac_exeext
     24042if { (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
     24067echo "${ECHO_T}yes: $use_blas" >&6
     24068
     24069
     24070else
     24071  echo "$as_me: failed program was:" >&5
     24072sed 's/^/| /' conftest.$ac_ext >&5
     24073
     24074LIBS="$flink_save_libs"
     24075                     echo "$as_me:$LINENO: result: no" >&5
     24076echo "${ECHO_T}no" >&6
     24077fi
     24078rm -f conftest.err conftest.$ac_objext \
     24079      conftest$ac_exeext conftest.$ac_ext
     24080      else
     24081        echo "$as_me:$LINENO: result: no" >&5
     24082echo "${ECHO_T}no" >&6
     24083      fi
     24084    fi
     24085    ;;
     24086  cc|cpp)
     24087    ac_ext=f
     24088ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24089ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24090ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24091case $ac_cv_f77_mangling in
     24092  upper*) ac_val="DAXPY" ;;
     24093  lower*) ac_val="daxpy" ;;
     24094  *)      ac_val="unknown" ;;
     24095esac
     24096case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24097
     24098cfuncdaxpy="$ac_val"
     24099
     24100ac_ext=c
     24101ac_cpp='$CPP $CPPFLAGS'
     24102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24104ac_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
     24112cat confdefs.h >>conftest.$ac_ext
     24113cat >>conftest.$ac_ext <<_ACEOF
     24114/* end confdefs.h.  */
     24115extern "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
     24124int
     24125main ()
     24126{
     24127$cfuncdaxpy()
     24128  ;
     24129  return 0;
     24130}
     24131_ACEOF
     24132rm -f conftest.$ac_objext conftest$ac_exeext
     24133if { (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
     24155else
     24156  echo "$as_me: failed program was:" >&5
     24157sed 's/^/| /' conftest.$ac_ext >&5
     24158
     24159flink_try=no
     24160fi
     24161rm -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
     24167echo "${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
     24176cat confdefs.h >>conftest.$ac_ext
     24177cat >>conftest.$ac_ext <<_ACEOF
     24178/* end confdefs.h.  */
     24179extern "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
     24188int
     24189main ()
     24190{
     24191$cfuncdaxpy()
     24192  ;
     24193  return 0;
     24194}
     24195_ACEOF
     24196rm -f conftest.$ac_objext conftest$ac_exeext
     24197if { (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
     24222echo "${ECHO_T}yes: $use_blas" >&6
     24223
     24224
     24225else
     24226  echo "$as_me: failed program was:" >&5
     24227sed 's/^/| /' conftest.$ac_ext >&5
     24228
     24229LIBS="$flink_save_libs"
     24230                     echo "$as_me:$LINENO: result: no" >&5
     24231echo "${ECHO_T}no" >&6
     24232fi
     24233rm -f conftest.err conftest.$ac_objext \
     24234      conftest$ac_exeext conftest.$ac_ext
     24235      else
     24236        echo "$as_me:$LINENO: result: no" >&5
     24237echo "${ECHO_T}no" >&6
     24238      fi
     24239    fi
     24240    ;;
     24241esac
     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
     24247echo $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
     24254cat confdefs.h >>conftest.$ac_ext
     24255cat >>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
     24266int
     24267main ()
     24268{
     24269      call daxpy
     24270  ;
     24271  return 0;
     24272}
     24273_ACEOF
     24274rm -f conftest.$ac_objext conftest$ac_exeext
     24275if { (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
     24298echo "${ECHO_T}yes: $use_blas" >&6
     24299
     24300else
     24301  echo "$as_me: failed program was:" >&5
     24302sed 's/^/| /' conftest.$ac_ext >&5
     24303
     24304echo "$as_me:$LINENO: result: no" >&5
     24305echo "${ECHO_T}no" >&6
     24306fi
     24307rm -f conftest.err conftest.$ac_objext \
     24308      conftest$ac_exeext conftest.$ac_ext
     24309    ;;
     24310  c)
     24311    ac_ext=f
     24312ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24313ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24314ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24315case $ac_cv_f77_mangling in
     24316  upper*) ac_val="DAXPY" ;;
     24317  lower*) ac_val="daxpy" ;;
     24318  *)      ac_val="unknown" ;;
     24319esac
     24320case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24321
     24322cfuncdaxpy="$ac_val"
     24323
     24324ac_ext=c
     24325ac_cpp='$CPP $CPPFLAGS'
     24326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24328ac_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
     24336cat confdefs.h >>conftest.$ac_ext
     24337cat >>conftest.$ac_ext <<_ACEOF
     24338/* end confdefs.h.  */
     24339void $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
     24348int
     24349main ()
     24350{
     24351$cfuncdaxpy()
     24352  ;
     24353  return 0;
     24354}
     24355_ACEOF
     24356rm -f conftest.$ac_objext conftest$ac_exeext
     24357if { (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
     24379else
     24380  echo "$as_me: failed program was:" >&5
     24381sed 's/^/| /' conftest.$ac_ext >&5
     24382
     24383flink_try=no
     24384fi
     24385rm -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
     24391echo "${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
     24400cat confdefs.h >>conftest.$ac_ext
     24401cat >>conftest.$ac_ext <<_ACEOF
     24402/* end confdefs.h.  */
     24403void $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
     24412int
     24413main ()
     24414{
     24415$cfuncdaxpy()
     24416  ;
     24417  return 0;
     24418}
     24419_ACEOF
     24420rm -f conftest.$ac_objext conftest$ac_exeext
     24421if { (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
     24446echo "${ECHO_T}yes: $use_blas" >&6
     24447
     24448
     24449else
     24450  echo "$as_me: failed program was:" >&5
     24451sed 's/^/| /' conftest.$ac_ext >&5
     24452
     24453LIBS="$flink_save_libs"
     24454                     echo "$as_me:$LINENO: result: no" >&5
     24455echo "${ECHO_T}no" >&6
     24456fi
     24457rm -f conftest.err conftest.$ac_objext \
     24458      conftest$ac_exeext conftest.$ac_ext
     24459      else
     24460        echo "$as_me:$LINENO: result: no" >&5
     24461echo "${ECHO_T}no" >&6
     24462      fi
     24463    fi
     24464    ;;
     24465  cc|cpp)
     24466    ac_ext=f
     24467ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24468ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24469ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24470case $ac_cv_f77_mangling in
     24471  upper*) ac_val="DAXPY" ;;
     24472  lower*) ac_val="daxpy" ;;
     24473  *)      ac_val="unknown" ;;
     24474esac
     24475case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24476
     24477cfuncdaxpy="$ac_val"
     24478
     24479ac_ext=c
     24480ac_cpp='$CPP $CPPFLAGS'
     24481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24483ac_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
     24491cat confdefs.h >>conftest.$ac_ext
     24492cat >>conftest.$ac_ext <<_ACEOF
     24493/* end confdefs.h.  */
     24494extern "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
     24503int
     24504main ()
     24505{
     24506$cfuncdaxpy()
     24507  ;
     24508  return 0;
     24509}
     24510_ACEOF
     24511rm -f conftest.$ac_objext conftest$ac_exeext
     24512if { (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
     24534else
     24535  echo "$as_me: failed program was:" >&5
     24536sed 's/^/| /' conftest.$ac_ext >&5
     24537
     24538flink_try=no
     24539fi
     24540rm -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
     24546echo "${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
     24555cat confdefs.h >>conftest.$ac_ext
     24556cat >>conftest.$ac_ext <<_ACEOF
     24557/* end confdefs.h.  */
     24558extern "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
     24567int
     24568main ()
     24569{
     24570$cfuncdaxpy()
     24571  ;
     24572  return 0;
     24573}
     24574_ACEOF
     24575rm -f conftest.$ac_objext conftest$ac_exeext
     24576if { (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
     24601echo "${ECHO_T}yes: $use_blas" >&6
     24602
     24603
     24604else
     24605  echo "$as_me: failed program was:" >&5
     24606sed 's/^/| /' conftest.$ac_ext >&5
     24607
     24608LIBS="$flink_save_libs"
     24609                     echo "$as_me:$LINENO: result: no" >&5
     24610echo "${ECHO_T}no" >&6
     24611fi
     24612rm -f conftest.err conftest.$ac_objext \
     24613      conftest$ac_exeext conftest.$ac_ext
     24614      else
     24615        echo "$as_me:$LINENO: result: no" >&5
     24616echo "${ECHO_T}no" >&6
     24617      fi
     24618    fi
     24619    ;;
     24620esac
     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
     24630echo $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
     24639cat confdefs.h >>conftest.$ac_ext
     24640cat >>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
     24651int
     24652main ()
     24653{
     24654      call daxpy
     24655  ;
     24656  return 0;
     24657}
     24658_ACEOF
     24659rm -f conftest.$ac_objext conftest$ac_exeext
     24660if { (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
     24686echo "${ECHO_T}yes: $use_blas" >&6
     24687
     24688else
     24689  echo "$as_me: failed program was:" >&5
     24690sed 's/^/| /' conftest.$ac_ext >&5
     24691
     24692echo "$as_me:$LINENO: result: no" >&5
     24693echo "${ECHO_T}no" >&6
     24694fi
     24695rm -f conftest.err conftest.$ac_objext \
     24696      conftest$ac_exeext conftest.$ac_ext
     24697    ;;
     24698  c)
     24699    ac_ext=f
     24700ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24701ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24702ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24703case $ac_cv_f77_mangling in
     24704  upper*) ac_val="DAXPY" ;;
     24705  lower*) ac_val="daxpy" ;;
     24706  *)      ac_val="unknown" ;;
     24707esac
     24708case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24709
     24710cfuncdaxpy="$ac_val"
     24711
     24712ac_ext=c
     24713ac_cpp='$CPP $CPPFLAGS'
     24714ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24715ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24716ac_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
     24724cat confdefs.h >>conftest.$ac_ext
     24725cat >>conftest.$ac_ext <<_ACEOF
     24726/* end confdefs.h.  */
     24727void $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
     24736int
     24737main ()
     24738{
     24739$cfuncdaxpy()
     24740  ;
     24741  return 0;
     24742}
     24743_ACEOF
     24744rm -f conftest.$ac_objext conftest$ac_exeext
     24745if { (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
     24767else
     24768  echo "$as_me: failed program was:" >&5
     24769sed 's/^/| /' conftest.$ac_ext >&5
     24770
     24771flink_try=no
     24772fi
     24773rm -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
     24782echo "${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
     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  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
     24840echo "${ECHO_T}yes: $use_blas" >&6
     24841
     24842
     24843else
     24844  echo "$as_me: failed program was:" >&5
     24845sed 's/^/| /' conftest.$ac_ext >&5
     24846
     24847LIBS="$flink_save_libs"
     24848                     echo "$as_me:$LINENO: result: no" >&5
     24849echo "${ECHO_T}no" >&6
     24850fi
     24851rm -f conftest.err conftest.$ac_objext \
     24852      conftest$ac_exeext conftest.$ac_ext
     24853      else
     24854        echo "$as_me:$LINENO: result: no" >&5
     24855echo "${ECHO_T}no" >&6
     24856      fi
     24857    fi
     24858    ;;
     24859  cc|cpp)
     24860    ac_ext=f
     24861ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     24862ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24863ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     24864case $ac_cv_f77_mangling in
     24865  upper*) ac_val="DAXPY" ;;
     24866  lower*) ac_val="daxpy" ;;
     24867  *)      ac_val="unknown" ;;
     24868esac
     24869case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     24870
     24871cfuncdaxpy="$ac_val"
     24872
     24873ac_ext=c
     24874ac_cpp='$CPP $CPPFLAGS'
     24875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     24876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     24877ac_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
     24885cat confdefs.h >>conftest.$ac_ext
     24886cat >>conftest.$ac_ext <<_ACEOF
     24887/* end confdefs.h.  */
     24888extern "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
     24897int
     24898main ()
     24899{
     24900$cfuncdaxpy()
     24901  ;
     24902  return 0;
     24903}
     24904_ACEOF
     24905rm -f conftest.$ac_objext conftest$ac_exeext
     24906if { (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
     24928else
     24929  echo "$as_me: failed program was:" >&5
     24930sed 's/^/| /' conftest.$ac_ext >&5
     24931
     24932flink_try=no
     24933fi
     24934rm -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
     24943echo "${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
     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  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
     25001echo "${ECHO_T}yes: $use_blas" >&6
     25002
     25003
     25004else
     25005  echo "$as_me: failed program was:" >&5
     25006sed 's/^/| /' conftest.$ac_ext >&5
     25007
     25008LIBS="$flink_save_libs"
     25009                     echo "$as_me:$LINENO: result: no" >&5
     25010echo "${ECHO_T}no" >&6
     25011fi
     25012rm -f conftest.err conftest.$ac_objext \
     25013      conftest$ac_exeext conftest.$ac_ext
     25014      else
     25015        echo "$as_me:$LINENO: result: no" >&5
     25016echo "${ECHO_T}no" >&6
     25017      fi
     25018    fi
     25019    ;;
     25020esac
     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
     25028echo $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
     25037cat confdefs.h >>conftest.$ac_ext
     25038cat >>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
     25049int
     25050main ()
     25051{
     25052      call daxpy
     25053  ;
     25054  return 0;
     25055}
     25056_ACEOF
     25057rm -f conftest.$ac_objext conftest$ac_exeext
     25058if { (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
     25084echo "${ECHO_T}yes: $use_blas" >&6
     25085
     25086else
     25087  echo "$as_me: failed program was:" >&5
     25088sed 's/^/| /' conftest.$ac_ext >&5
     25089
     25090echo "$as_me:$LINENO: result: no" >&5
     25091echo "${ECHO_T}no" >&6
     25092fi
     25093rm -f conftest.err conftest.$ac_objext \
     25094      conftest$ac_exeext conftest.$ac_ext
     25095    ;;
     25096  c)
     25097    ac_ext=f
     25098ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     25099ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25100ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     25101case $ac_cv_f77_mangling in
     25102  upper*) ac_val="DAXPY" ;;
     25103  lower*) ac_val="daxpy" ;;
     25104  *)      ac_val="unknown" ;;
     25105esac
     25106case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     25107
     25108cfuncdaxpy="$ac_val"
     25109
     25110ac_ext=c
     25111ac_cpp='$CPP $CPPFLAGS'
     25112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     25113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25114ac_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
     25122cat confdefs.h >>conftest.$ac_ext
     25123cat >>conftest.$ac_ext <<_ACEOF
     25124/* end confdefs.h.  */
     25125void $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
     25134int
     25135main ()
     25136{
     25137$cfuncdaxpy()
     25138  ;
     25139  return 0;
     25140}
     25141_ACEOF
     25142rm -f conftest.$ac_objext conftest$ac_exeext
     25143if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25144  (eval $ac_link) 2>conftest.er1
     25145  ac_status=$?
     25146  grep -v '^ *+' conftest.er1 >conftest.err
     25147  rm -f conftest.er1
     25148  cat conftest.err >&5
     25149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25150  (exit $ac_status); } &&
     25151         { ac_try='test -z "$ac_c_werror_flag"
     25152                         || test ! -s conftest.err'
     25153  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25154  (eval $ac_try) 2>&5
     25155  ac_status=$?
     25156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25157  (exit $ac_status); }; } &&
     25158         { ac_try='test -s conftest$ac_exeext'
     25159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25160  (eval $ac_try) 2>&5
     25161  ac_status=$?
     25162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25163  (exit $ac_status); }; }; then
     25164  flink_try=yes
     25165else
     25166  echo "$as_me: failed program was:" >&5
     25167sed 's/^/| /' conftest.$ac_ext >&5
     25168
     25169flink_try=no
     25170fi
     25171rm -f conftest.err conftest.$ac_objext \
     25172      conftest$ac_exeext conftest.$ac_ext
     25173    fi
     25174    if test $flink_try = yes; then
     25175      use_blas='-lblas'
     25176                       if test $coin_need_flibs = yes ; then
     25177                         use_blas="$use_blas $FLIBS"
     25178                       fi
     25179                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     25180echo "${ECHO_T}yes: $use_blas" >&6
     25181
     25182    else
     25183      if test x"$FLIBS" != x; then
     25184        flink_save_libs="$LIBS"
     25185        LIBS="$LIBS $FLIBS"
     25186        cat >conftest.$ac_ext <<_ACEOF
     25187/* confdefs.h.  */
     25188_ACEOF
     25189cat confdefs.h >>conftest.$ac_ext
     25190cat >>conftest.$ac_ext <<_ACEOF
     25191/* end confdefs.h.  */
     25192void $cfuncdaxpy();
     25193#ifdef F77_DUMMY_MAIN
     25194
     25195#  ifdef __cplusplus
     25196     extern "C"
     25197#  endif
     25198   int F77_DUMMY_MAIN() { return 1; }
     25199
     25200#endif
     25201int
     25202main ()
     25203{
     25204$cfuncdaxpy()
     25205  ;
     25206  return 0;
     25207}
     25208_ACEOF
     25209rm -f conftest.$ac_objext conftest$ac_exeext
     25210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25211  (eval $ac_link) 2>conftest.er1
     25212  ac_status=$?
     25213  grep -v '^ *+' conftest.er1 >conftest.err
     25214  rm -f conftest.er1
     25215  cat conftest.err >&5
     25216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25217  (exit $ac_status); } &&
     25218         { ac_try='test -z "$ac_c_werror_flag"
     25219                         || test ! -s conftest.err'
     25220  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25221  (eval $ac_try) 2>&5
     25222  ac_status=$?
     25223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25224  (exit $ac_status); }; } &&
     25225         { ac_try='test -s conftest$ac_exeext'
     25226  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25227  (eval $ac_try) 2>&5
     25228  ac_status=$?
     25229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25230  (exit $ac_status); }; }; then
     25231  LIBS="$flink_save_libs"
     25232                     coin_need_flibs=yes
     25233                     use_blas='-lblas'
     25234                       if test $coin_need_flibs = yes ; then
     25235                         use_blas="$use_blas $FLIBS"
     25236                       fi
     25237                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     25238echo "${ECHO_T}yes: $use_blas" >&6
     25239
     25240
     25241else
     25242  echo "$as_me: failed program was:" >&5
     25243sed 's/^/| /' conftest.$ac_ext >&5
     25244
     25245LIBS="$flink_save_libs"
     25246                     echo "$as_me:$LINENO: result: no" >&5
     25247echo "${ECHO_T}no" >&6
     25248fi
     25249rm -f conftest.err conftest.$ac_objext \
     25250      conftest$ac_exeext conftest.$ac_ext
     25251      else
     25252        echo "$as_me:$LINENO: result: no" >&5
     25253echo "${ECHO_T}no" >&6
     25254      fi
     25255    fi
     25256    ;;
     25257  cc|cpp)
     25258    ac_ext=f
     25259ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     25260ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25261ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     25262case $ac_cv_f77_mangling in
     25263  upper*) ac_val="DAXPY" ;;
     25264  lower*) ac_val="daxpy" ;;
     25265  *)      ac_val="unknown" ;;
     25266esac
     25267case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     25268
     25269cfuncdaxpy="$ac_val"
     25270
     25271ac_ext=c
     25272ac_cpp='$CPP $CPPFLAGS'
     25273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     25274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25275ac_compiler_gnu=$ac_cv_c_compiler_gnu
     25276
     25277    if test x"$coin_need_flibs" = xyes; then
     25278      flink_try=no;
     25279    else
     25280      cat >conftest.$ac_ext <<_ACEOF
     25281/* confdefs.h.  */
     25282_ACEOF
     25283cat confdefs.h >>conftest.$ac_ext
     25284cat >>conftest.$ac_ext <<_ACEOF
     25285/* end confdefs.h.  */
     25286extern "C" {void $cfuncdaxpy();}
     25287#ifdef F77_DUMMY_MAIN
     25288
     25289#  ifdef __cplusplus
     25290     extern "C"
     25291#  endif
     25292   int F77_DUMMY_MAIN() { return 1; }
     25293
     25294#endif
     25295int
     25296main ()
     25297{
     25298$cfuncdaxpy()
     25299  ;
     25300  return 0;
     25301}
     25302_ACEOF
     25303rm -f conftest.$ac_objext conftest$ac_exeext
     25304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25305  (eval $ac_link) 2>conftest.er1
     25306  ac_status=$?
     25307  grep -v '^ *+' conftest.er1 >conftest.err
     25308  rm -f conftest.er1
     25309  cat conftest.err >&5
     25310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25311  (exit $ac_status); } &&
     25312         { ac_try='test -z "$ac_c_werror_flag"
     25313                         || test ! -s conftest.err'
     25314  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25315  (eval $ac_try) 2>&5
     25316  ac_status=$?
     25317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25318  (exit $ac_status); }; } &&
     25319         { ac_try='test -s conftest$ac_exeext'
     25320  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25321  (eval $ac_try) 2>&5
     25322  ac_status=$?
     25323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25324  (exit $ac_status); }; }; then
     25325  flink_try=yes
     25326else
     25327  echo "$as_me: failed program was:" >&5
     25328sed 's/^/| /' conftest.$ac_ext >&5
     25329
     25330flink_try=no
     25331fi
     25332rm -f conftest.err conftest.$ac_objext \
     25333      conftest$ac_exeext conftest.$ac_ext
     25334    fi
     25335    if test $flink_try = yes; then
     25336      use_blas='-lblas'
     25337                       if test $coin_need_flibs = yes ; then
     25338                         use_blas="$use_blas $FLIBS"
     25339                       fi
     25340                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     25341echo "${ECHO_T}yes: $use_blas" >&6
     25342
     25343    else
     25344      if test x"$FLIBS" != x; then
     25345        flink_save_libs="$LIBS"
     25346        LIBS="$LIBS $FLIBS"
     25347        cat >conftest.$ac_ext <<_ACEOF
     25348/* confdefs.h.  */
     25349_ACEOF
     25350cat confdefs.h >>conftest.$ac_ext
     25351cat >>conftest.$ac_ext <<_ACEOF
     25352/* end confdefs.h.  */
     25353extern "C" {void $cfuncdaxpy();}
     25354#ifdef F77_DUMMY_MAIN
     25355
     25356#  ifdef __cplusplus
     25357     extern "C"
     25358#  endif
     25359   int F77_DUMMY_MAIN() { return 1; }
     25360
     25361#endif
     25362int
     25363main ()
     25364{
     25365$cfuncdaxpy()
     25366  ;
     25367  return 0;
     25368}
     25369_ACEOF
     25370rm -f conftest.$ac_objext conftest$ac_exeext
     25371if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25372  (eval $ac_link) 2>conftest.er1
     25373  ac_status=$?
     25374  grep -v '^ *+' conftest.er1 >conftest.err
     25375  rm -f conftest.er1
     25376  cat conftest.err >&5
     25377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25378  (exit $ac_status); } &&
     25379         { ac_try='test -z "$ac_c_werror_flag"
     25380                         || test ! -s conftest.err'
     25381  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25382  (eval $ac_try) 2>&5
     25383  ac_status=$?
     25384  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25385  (exit $ac_status); }; } &&
     25386         { ac_try='test -s conftest$ac_exeext'
     25387  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25388  (eval $ac_try) 2>&5
     25389  ac_status=$?
     25390  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25391  (exit $ac_status); }; }; then
     25392  LIBS="$flink_save_libs"
     25393                     coin_need_flibs=yes
     25394                     use_blas='-lblas'
     25395                       if test $coin_need_flibs = yes ; then
     25396                         use_blas="$use_blas $FLIBS"
     25397                       fi
     25398                       echo "$as_me:$LINENO: result: yes: $use_blas" >&5
     25399echo "${ECHO_T}yes: $use_blas" >&6
     25400
     25401
     25402else
     25403  echo "$as_me: failed program was:" >&5
     25404sed 's/^/| /' conftest.$ac_ext >&5
     25405
     25406LIBS="$flink_save_libs"
     25407                     echo "$as_me:$LINENO: result: no" >&5
     25408echo "${ECHO_T}no" >&6
     25409fi
     25410rm -f conftest.err conftest.$ac_objext \
     25411      conftest$ac_exeext conftest.$ac_ext
     25412      else
     25413        echo "$as_me:$LINENO: result: no" >&5
     25414echo "${ECHO_T}no" >&6
     25415      fi
     25416    fi
     25417    ;;
     25418esac
     25419
     25420    LIBS="$coin_save_LIBS"
     25421  fi
     25422
     25423  # If we have no other ideas, consider building BLAS.
     25424  if test -z "$use_blas" ; then
     25425    use_blas=BUILD
     25426  fi
     25427fi
     25428
     25429if test "x$use_blas" = xBUILD ; then
     25430
     25431echo "$as_me:$LINENO: checking for COIN-OR package Blas" >&5
     25432echo $ECHO_N "checking for COIN-OR package Blas... $ECHO_C" >&6
     25433
     25434coin_has_blas=notGiven
     25435
     25436# check if user wants to skip package in any case
     25437if test x"$COIN_SKIP_PROJECTS" != x; then
     25438  for dir in $COIN_SKIP_PROJECTS; do
     25439    if test $dir = "Blas"; then
     25440      coin_has_blas=skipping
     25441    fi
     25442  done
     25443fi
     25444
     25445if test "$coin_has_blas" != skipping; then
     25446
     25447# Check whether --with-m4_tolower(Blas) or --without-m4_tolower(Blas) was given.
     25448if test "${with_blas+set}" = set; then
     25449  withval="$with_blas"
     25450  if test "$withval" = no ; then
     25451       coin_has_blas=skipping
     25452     fi
     25453
     25454fi;
     25455fi
     25456
     25457BLAS_LIBS=
     25458BLAS_CFLAGS=
     25459BLAS_DATA=
     25460BLAS_DEPENDENCIES=
     25461BLAS_PCLIBS=
     25462BLAS_PCREQUIRES=
     25463BLAS_DATA=
     25464
     25465
     25466
     25467
     25468
     25469
     25470
     25471
     25472
     25473
     25474
     25475
     25476
     25477
     25478
     25479
     25480
     25481#check if user provided LIBS, CFLAGS, or DATA for package or disables use of package
     25482if test $coin_has_blas != skipping; then
     25483
     25484# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
     25485if test "${with_blas_lib+set}" = set; then
     25486  withval="$with_blas_lib"
     25487  if test "$withval" = no ; then
     25488       coin_has_blas=skipping
     25489     else
     25490       coin_has_blas=yes
     25491       BLAS_LIBS="$withval"
     25492       BLAS_PCLIBS="$withval"
     25493
     25494         HSL_PCLIBS="$withval $HSL_PCLIBS"
     25495         HSL_LIBS="$withval $HSL_LIBS"
     25496
     25497       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25498       if test -z "$PKG_CONFIG" ; then
     25499         BLAS_LIBS_INSTALLED="$withval"
     25500         HSL_LIBS_INSTALLED="$withval $HSL_LIBS_INSTALLED"
     25501       fi
     25502     fi
     25503
     25504fi;
     25505fi
     25506
     25507if test $coin_has_blas != skipping; then
     25508
     25509# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
     25510if test "${with_blas_incdir+set}" = set; then
     25511  withval="$with_blas_incdir"
     25512  if test "$withval" = no ; then
     25513       coin_has_blas=skipping
     25514     else
     25515       coin_has_blas=yes
     25516       BLAS_CFLAGS="-I`${CYGPATH_W} $withval`"
     25517       HSL_CFLAGS="-I`${CYGPATH_W} $withval` $HSL_CFLAGS"
     25518       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25519       if test -z "$PKG_CONFIG" ; then
     25520         BLAS_CFLAGS_INSTALLED="$BLAS_CFLAGS"
     25521         HSL_CFLAGS_INSTALLED="$BLAS_CFLAGS $HSL_CFLAGS_INSTALLED"
     25522       fi
     25523     fi
     25524
     25525fi;
     25526fi
     25527
     25528if test $coin_has_blas != skipping; then
     25529
     25530# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
     25531if test "${with_blas_datadir+set}" = set; then
     25532  withval="$with_blas_datadir"
     25533  if test "$withval" = no ; then
     25534       coin_has_blas=skipping
     25535     else
     25536       coin_has_blas=yes
     25537       BLAS_DATA="$withval"
     25538       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     25539       if test -z "$PKG_CONFIG" ; then
     25540         BLAS_DATA_INSTALLED="$withval"
     25541       fi
     25542     fi
     25543
     25544fi;
     25545fi
     25546
     25547if test $coin_has_blas = notGiven; then
     25548  if test -n "$PKG_CONFIG" ; then
     25549    # set search path for pkg-config
     25550    # need to export variable to be sure that the following pkg-config gets these values
     25551    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     25552    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     25553    export PKG_CONFIG_PATH
     25554
     25555    # let pkg-config do it's magic
     25556
     25557
     25558
     25559if test -n "$PKG_CONFIG" ; then
     25560  if $PKG_CONFIG --exists "coinblas"; then
     25561    BLAS_VERSIONS=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null | tr '\n' ' '`
     25562     cflags=`$PKG_CONFIG --cflags "coinblas" 2>/dev/null`
     25563    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     25564        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     25565        # but only do this if is not trivial
     25566    if test "$CYGPATH_W" != "echo" ; then
     25567      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     25568      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25569    fi
     25570    BLAS_CFLAGS="$cflags"
     25571    BLAS_LIBS=`$PKG_CONFIG --libs "coinblas" 2>/dev/null`
     25572    BLAS_DATA=`$PKG_CONFIG --variable=datadir "coinblas" 2>/dev/null`
     25573     coin_has_blas=yes
     25574        echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5
     25575echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6
     25576
     25577        # adjust linker flags for (i)cl compiler
     25578        # 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)
     25579        if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     25580        then
     25581          BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     25582        fi
     25583        BLAS_PCREQUIRES="coinblas"
     25584
     25585        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in HSL
     25586
     25587          HSL_PCREQUIRES="coinblas $HSL_PCREQUIRES"
     25588          HSL_CFLAGS="$BLAS_CFLAGS $HSL_CFLAGS"
     25589          HSL_LIBS="$BLAS_LIBS $HSL_LIBS"
     25590
     25591
     25592
     25593  else
     25594    BLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"`
     25595      coin_has_blas=notGiven
     25596        echo "$as_me:$LINENO: result: not given: $BLAS_PKG_ERRORS" >&5
     25597echo "${ECHO_T}not given: $BLAS_PKG_ERRORS" >&6
     25598
     25599  fi
     25600else
     25601  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Blas without pkg-config\"" >&5
     25602echo "$as_me: error: \"Cannot check for existance of module Blas without pkg-config\"" >&2;}
     25603   { (exit 1); exit 1; }; }
     25604fi
     25605
     25606
     25607
     25608
     25609    # reset PKG_CONFIG_PATH variable
     25610    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     25611    export PKG_CONFIG_PATH
     25612
     25613  else
     25614    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     25615echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     25616
     25617echo "$as_me:$LINENO: checking for COIN-OR package Blas (fallback)" >&5
     25618echo $ECHO_N "checking for COIN-OR package Blas (fallback)... $ECHO_C" >&6
     25619
     25620coin_has_blas=notGiven
     25621BLAS_LIBS=
     25622BLAS_LIBS_INSTALLED=
     25623BLAS_CFLAGS=
     25624BLAS_CFLAGS_INSTALLED=
     25625BLAS_DATA=
     25626BLAS_DATA_INSTALLED=
     25627BLAS_PCLIBS=
     25628BLAS_PCREQUIRES=
     25629
     25630# initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x, != x)
     25631projtoprocess="coinblas"
     25632
     25633# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
     25634# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     25635# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
     25636# also, we setup the DATA variable
     25637allproj=""
     25638allpcfiles=""
     25639allpcifiles=""
     25640while test "x$projtoprocess" != x ; do
     25641
     25642  for proj in $projtoprocess ; do
     25643    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     25644    pcfile=""
     25645    save_IFS="$IFS"
     25646    IFS=":"
     25647    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     25648      # 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
     25649      if test -r "$dir/${proj}-uninstalled.pc" ; then
     25650        pcfile="$dir/$proj-uninstalled.pc"
     25651        if test -r "$dir/${proj}.pc" ; then
     25652          pcifile="$dir/${proj}.pc"
     25653        else
     25654          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     25655echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     25656          pcifile=
     25657        fi
     25658        break
     25659      fi
     25660    done
     25661    IFS="$save_IFS"
     25662
     25663    if test "x$pcfile" != x ; then
     25664      # read dependencies from $pcfile and filter it
     25665      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     25666
     25667      # add projrequires to the front of the list of projects that have to be processed next
     25668      # at the same time, remove $proj from this list
     25669      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
     25670
     25671      # read DATA from $pcfile, if _DATA is still empty
     25672      if test "x$BLAS_DATA" = x ; then
     25673        projdatadir=
     25674        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     25675        eval `sh -c "$pcfilemod"`
     25676        BLAS_DATA="$projdatadir"
     25677      fi
     25678
     25679      allproj="$allproj $proj"
     25680      allpcfiles="$pcfile:$allpcfiles"
     25681
     25682    else
     25683      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     25684echo "${ECHO_T}no, dependency $proj not available" >&6
     25685      allproj=fail
     25686      break 2
     25687    fi
     25688
     25689    if test "x$pcifile" != x ; then
     25690      allpcifiles="$pcifile:$allpcifiles"
     25691
     25692      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     25693      if test "x$BLAS_DATA_INSTALLED" = x ; then
     25694        projdatadir=
     25695        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     25696        eval `sh -c "$pcifilemod"`
     25697        if test "${CYGPATH_W}" != "echo"; then
     25698          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     25699        fi
     25700        BLAS_DATA_INSTALLED="$projdatadir"
     25701      fi
     25702
     25703    fi
     25704
     25705    break
     25706  done
     25707
     25708  # remove spaces on begin of $projtoprocess
     25709  projtoprocess=`echo $projtoprocess | sed -e 's/^ *//'`
     25710
     25711done
     25712
     25713if test "$allproj" != fail ; then
     25714
     25715  # now go through the list of .pc files and assemble compiler and linker flags
     25716  # important is here to obey the reverse order that has been setup before,
     25717  # since then libraries that are required by several others should be after these other libraries
     25718  pcfilesprocessed=""
     25719
     25720  save_IFS="$IFS"
     25721  IFS=":"
     25722  for pcfile in $allpcfiles ; do
     25723
     25724    # if $pcfile has been processed already, skip this round
     25725    if test "x$pcfilesprocessed" != x ; then
     25726      for pcfiledone in $pcfilesprocessed ; do
     25727        if test "$pcfiledone" = "$pcfile" ; then
     25728          continue 2
     25729        fi
     25730      done
     25731    fi
     25732
     25733    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25734    #   replace "Libs:" by "echo projlibs="
     25735    #   replace "Cflags:" by "echo projcflags="
     25736    #   remove every line starting with <some word>:
     25737    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
     25738
     25739    # set projcflags and projlibs variables by running $pcfilemod
     25740    # 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
     25741    projcflags=
     25742    projlibs=
     25743    IFS="$save_IFS"
     25744    eval `sh -c "$pcfilemod"`
     25745    IFS=":"
     25746
     25747    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     25748    if test "${CYGPATH_W}" != "echo"; then
     25749      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25750    fi
     25751    BLAS_CFLAGS="$projcflags $BLAS_CFLAGS"
     25752
     25753    # set LIBS variable
     25754    BLAS_LIBS="$projlibs $BLAS_LIBS"
     25755
     25756    # remember that we have processed $pcfile
     25757    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     25758
     25759  done
     25760  IFS="$save_IFS"
     25761
     25762
     25763  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     25764  # important is here again to obey the reverse order that has been setup before,
     25765  # since then libraries that are required by several others should be after these other libraries
     25766  pcfilesprocessed=""
     25767
     25768  save_IFS="$IFS"
     25769  IFS=":"
     25770  for pcfile in $allpcifiles ; do
     25771
     25772    # if $pcfile has been processed already, skip this round
     25773    if test "x$pcfilesprocessed" != x ; then
     25774      for pcfiledone in $pcfilesprocessed ; do
     25775        if test "$pcfiledone" = "$pcfile" ; then
     25776          continue 2
     25777        fi
     25778      done
     25779    fi
     25780
     25781    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25782    #   replace "Libs:" by "echo projlibs="
     25783    #   replace "Cflags:" by "echo projcflags="
     25784    #   remove every line starting with <some word>:
     25785    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
     25786
     25787    # set projcflags and projlibs variables by running $pcfilemod
     25788    # 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
     25789    projcflags=
     25790    projlibs=
     25791    IFS="$save_IFS"
     25792    eval `sh -c "$pcfilemod"`
     25793    IFS=":"
     25794
     25795    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     25796    if test "${CYGPATH_W}" != "echo"; then
     25797      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25798    fi
     25799    BLAS_CFLAGS_INSTALLED="$projcflags $BLAS_CFLAGS_INSTALLED"
     25800
     25801    # set LIBS variable
     25802    BLAS_LIBS_INSTALLED="$projlibs $BLAS_LIBS_INSTALLED"
     25803
     25804    # remember that we have processed $pcfile
     25805    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     25806
     25807  done
     25808  IFS="$save_IFS"
     25809
     25810
     25811  # finish up
     25812  coin_has_blas=yes
     25813  echo "$as_me:$LINENO: result: yes" >&5
     25814echo "${ECHO_T}yes" >&6
     25815
     25816cat >>confdefs.h <<\_ACEOF
     25817#define COIN_HAS_BLAS 1
     25818_ACEOF
     25819
     25820
     25821  # adjust linker flags for (i)cl compiler
     25822  # 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),
     25823  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
     25824  #    everything of the form "-lname" by "libname.lib", and
     25825  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`
     25826  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     25827  then
     25828    BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     25829    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'`
     25830  fi
     25831
     25832  BLAS_PCREQUIRES="coinblas"
     25833
     25834    HSL_PCREQUIRES="coinblas $HSL_PCREQUIRES"
     25835    HSL_CFLAGS="$BLAS_CFLAGS $HSL_CFLAGS"
     25836    HSL_LIBS="$BLAS_LIBS $HSL_LIBS"
     25837    HSL_CFLAGS_INSTALLED="$BLAS_CFLAGS_INSTALLED $HSL_CFLAGS_INSTALLED"
     25838    HSL_LIBS_INSTALLED="$BLAS_LIBS_INSTALLED $HSL_LIBS_INSTALLED"
     25839
     25840
     25841fi
     25842
     25843
     25844
     25845if test $coin_has_blas != notGiven &&
     25846                test $coin_has_blas != skipping; then
     25847  COIN_HAS_BLAS_TRUE=
     25848  COIN_HAS_BLAS_FALSE='#'
     25849else
     25850  COIN_HAS_BLAS_TRUE='#'
     25851  COIN_HAS_BLAS_FALSE=
     25852fi
     25853
     25854
     25855
     25856  fi
     25857
     25858else
     25859  echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     25860echo "${ECHO_T}$coin_has_blas" >&6
     25861fi
     25862
     25863if test $coin_has_blas != skipping &&
     25864   test $coin_has_blas != notGiven ; then
     25865
     25866cat >>confdefs.h <<\_ACEOF
     25867#define COIN_HAS_BLAS 1
     25868_ACEOF
     25869
     25870
     25871  # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given.
     25872if test "${enable_interpackage_dependencies+set}" = set; then
     25873  enableval="$enable_interpackage_dependencies"
     25874
     25875else
     25876  enable_interpackage_dependencies=yes
     25877fi;
     25878
     25879  if test $enable_interpackage_dependencies = yes ; then
     25880     # construct dependencies variables from LIBS variables
     25881     # we add an extra space in LIBS so we can substitute out everything starting with " -"
     25882     # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* as used on Windows
     25883     # then remove everything of the form -xxx
     25884     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
     25885     BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25886
     25887       HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     25888
     25889  fi
     25890
     25891  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     25892    if test -n "$BLAS_CFLAGS" ; then
     25893      { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5
     25894echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;}
     25895    fi
     25896    if test -n "$BLAS_LIBS" ; then
     25897      { echo "$as_me:$LINENO: Blas LIBS   are $BLAS_LIBS" >&5
     25898echo "$as_me: Blas LIBS   are $BLAS_LIBS" >&6;}
     25899    fi
     25900    if test -n "$BLAS_DEPENDENCIES" ; then
     25901      { echo "$as_me:$LINENO: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&5
     25902echo "$as_me: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&6;}
     25903    fi
     25904    if test -n "$BLAS_DATA" ; then
     25905      { echo "$as_me:$LINENO: Blas DATA   is  $BLAS_DATA" >&5
     25906echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
     25907    fi
     25908    if test -n "$BLAS_PCLIBS" ; then
     25909      { echo "$as_me:$LINENO: Blas PCLIBS are $BLAS_PCLIBS" >&5
     25910echo "$as_me: Blas PCLIBS are $BLAS_PCLIBS" >&6;}
     25911    fi
     25912    if test -n "$BLAS_PCREQUIRES" ; then
     25913      { echo "$as_me:$LINENO: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&5
     25914echo "$as_me: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&6;}
     25915    fi
     25916
     25917      { echo "$as_me:$LINENO: HSL CFLAGS are $HSL_CFLAGS" >&5
     25918echo "$as_me: HSL CFLAGS are $HSL_CFLAGS" >&6;}
     25919      { echo "$as_me:$LINENO: HSL LIBS   are $HSL_LIBS" >&5
     25920echo "$as_me: HSL LIBS   are $HSL_LIBS" >&6;}
     25921      { echo "$as_me:$LINENO: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&5
     25922echo "$as_me: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&6;}
     25923
     25924  fi
     25925fi
     25926
     25927# Define the Makefile conditional
     25928
     25929
     25930if test $coin_has_blas != notGiven &&
     25931                test $coin_has_blas != skipping; then
     25932  COIN_HAS_BLAS_TRUE=
     25933  COIN_HAS_BLAS_FALSE='#'
     25934else
     25935  COIN_HAS_BLAS_TRUE='#'
     25936  COIN_HAS_BLAS_FALSE=
     25937fi
     25938
     25939
     25940
     25941
     25942elif test "x$use_blas" != x && test "$use_blas" != no; then
     25943  coin_has_blas=yes
     25944
     25945
     25946if test 0 = 0; then
     25947  COIN_HAS_BLAS_TRUE=
     25948  COIN_HAS_BLAS_FALSE='#'
     25949else
     25950  COIN_HAS_BLAS_TRUE='#'
     25951  COIN_HAS_BLAS_FALSE=
     25952fi
     25953
     25954
     25955cat >>confdefs.h <<\_ACEOF
     25956#define COIN_HAS_BLAS 1
     25957_ACEOF
     25958
     25959  BLAS_LIBS="$use_blas"
     25960  BLAS_CFLAGS=
     25961  BLAS_DATA=
     25962
     25963
     25964
     25965
     25966    HSL_PCLIBS="$BLAS_LIBS $HSL_PCLIBS"
     25967    HSL_LIBS="$BLAS_LIBS $HSL_LIBS"
     25968    HSL_LIBS_INSTALLED="$BLAS_LIBS $HSL_LIBS_INSTALLED"
     25969
     25970
     25971else
     25972  coin_has_blas=no
     25973
     25974
     25975if test 0 = 1; then
     25976  COIN_HAS_BLAS_TRUE=
     25977  COIN_HAS_BLAS_FALSE='#'
     25978else
     25979  COIN_HAS_BLAS_TRUE='#'
     25980  COIN_HAS_BLAS_FALSE=
     25981fi
     25982
     25983fi
     25984
     25985
     25986
     25987
     25988
     25989
     25990
     25991
     25992  if test $coin_has_blas != yes ; then
     25993    { { echo "$as_me:$LINENO: error: MA57 requires BLAS, which is not found." >&5
     25994echo "$as_me: error: MA57 requires BLAS, which is not found." >&2;}
     25995   { (exit 1); exit 1; }; }
     25996  fi
    2262325997else
    2262425998
     
    2263026004  COIN_HAS_METIS_TRUE='#'
    2263126005  COIN_HAS_METIS_FALSE=
     26006fi
     26007
     26008
     26009
     26010if test 0 = 1; then
     26011  COIN_HAS_BLAS_TRUE=
     26012  COIN_HAS_BLAS_FALSE='#'
     26013else
     26014  COIN_HAS_BLAS_TRUE='#'
     26015  COIN_HAS_BLAS_FALSE=
    2263226016fi
    2263326017
     
    2307126455   { (exit 1); exit 1; }; }
    2307226456fi
     26457if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
     26458  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26459Usually this means the macro was only invoked conditionally." >&5
     26460echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26461Usually this means the macro was only invoked conditionally." >&2;}
     26462   { (exit 1); exit 1; }; }
     26463fi
     26464if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
     26465  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26466Usually this means the macro was only invoked conditionally." >&5
     26467echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26468Usually this means the macro was only invoked conditionally." >&2;}
     26469   { (exit 1); exit 1; }; }
     26470fi
     26471if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
     26472  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26473Usually this means the macro was only invoked conditionally." >&5
     26474echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26475Usually this means the macro was only invoked conditionally." >&2;}
     26476   { (exit 1); exit 1; }; }
     26477fi
     26478if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
     26479  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26480Usually this means the macro was only invoked conditionally." >&5
     26481echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26482Usually this means the macro was only invoked conditionally." >&2;}
     26483   { (exit 1); exit 1; }; }
     26484fi
    2307326485if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then
    2307426486  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined.
    2307526487Usually this means the macro was only invoked conditionally." >&5
    2307626488echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined.
     26489Usually this means the macro was only invoked conditionally." >&2;}
     26490   { (exit 1); exit 1; }; }
     26491fi
     26492if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
     26493  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     26494Usually this means the macro was only invoked conditionally." >&5
     26495echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
    2307726496Usually this means the macro was only invoked conditionally." >&2;}
    2307826497   { (exit 1); exit 1; }; }
     
    2379227211s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2379327212s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
     27213s,@BLAS_LIBS@,$BLAS_LIBS,;t t
     27214s,@BLAS_CFLAGS@,$BLAS_CFLAGS,;t t
     27215s,@BLAS_DATA@,$BLAS_DATA,;t t
     27216s,@BLAS_DEPENDENCIES@,$BLAS_DEPENDENCIES,;t t
     27217s,@BLAS_LIBS_INSTALLED@,$BLAS_LIBS_INSTALLED,;t t
     27218s,@BLAS_CFLAGS_INSTALLED@,$BLAS_CFLAGS_INSTALLED,;t t
     27219s,@BLAS_DATA_INSTALLED@,$BLAS_DATA_INSTALLED,;t t
     27220s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t
     27221s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t
    2379427222s,@COIN_HAS_MC19_TRUE@,$COIN_HAS_MC19_TRUE,;t t
    2379527223s,@COIN_HAS_MC19_FALSE@,$COIN_HAS_MC19_FALSE,;t t
  • ThirdParty/HSL/trunk/configure.ac

    r2256 r2434  
    142142    AC_MSG_ERROR([MA57 requires METIS, which is not found.])
    143143  fi
     144  AC_COIN_CHECK_PACKAGE_BLAS(HSL)
     145  if test $coin_has_blas != yes ; then
     146    AC_MSG_ERROR([MA57 requires BLAS, which is not found.])
     147  fi
    144148else
    145149  AM_CONDITIONAL(COIN_HAS_METIS, [test 0 = 1])
     150  AM_CONDITIONAL(COIN_HAS_BLAS, [test 0 = 1])
    146151fi
    147152
Note: See TracChangeset for help on using the changeset viewer.