Changeset 3256


Ignore:
Timestamp:
Sep 2, 2014 6:41:08 AM (5 years ago)
Author:
kelman
Message:

fix HSL dependency linking, and account for MA97 depending on LAPACK

Location:
ThirdParty/HSL/stable/1.4
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/stable/1.4/Makefile.am

    r2696 r3256  
    6161else
    6262  libcoinhsl_la_SOURCES += metis_dummy.c
     63endif
     64
     65if DEPENDENCY_LINKING
     66libcoinhsl_la_LIBADD = $(HSL_LIBS) $(HSL_PCLIBS)
    6367endif
    6468
  • ThirdParty/HSL/stable/1.4/Makefile.in

    r3092 r3256  
    9696libLTLIBRARIES_INSTALL = $(INSTALL)
    9797LTLIBRARIES = $(lib_LTLIBRARIES)
    98 libcoinhsl_la_LIBADD =
     98am__DEPENDENCIES_1 =
     99@BUILD_COINHSL_TRUE@@DEPENDENCY_LINKING_TRUE@libcoinhsl_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
     100@BUILD_COINHSL_TRUE@@DEPENDENCY_LINKING_TRUE@   $(am__DEPENDENCIES_1)
    99101am__libcoinhsl_la_SOURCES_DIST = coinhsl/common/deps.f \
    100102        coinhsl/mc19/mc19d.f coinhsl/ma27/ma27d.f coinhsl/ma28/ma28d.f \
     
    219221COIN_HAS_HSL_MC68_FALSE = @COIN_HAS_HSL_MC68_FALSE@
    220222COIN_HAS_HSL_MC68_TRUE = @COIN_HAS_HSL_MC68_TRUE@
     223COIN_HAS_LAPACK_FALSE = @COIN_HAS_LAPACK_FALSE@
     224COIN_HAS_LAPACK_TRUE = @COIN_HAS_LAPACK_TRUE@
    221225COIN_HAS_MA27_FALSE = @COIN_HAS_MA27_FALSE@
    222226COIN_HAS_MA27_TRUE = @COIN_HAS_MA27_TRUE@
     
    279283INSTALL_SCRIPT = @INSTALL_SCRIPT@
    280284INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     285LAPACK_CFLAGS = @LAPACK_CFLAGS@
     286LAPACK_CFLAGS_INSTALLED = @LAPACK_CFLAGS_INSTALLED@
     287LAPACK_DATA = @LAPACK_DATA@
     288LAPACK_DATA_INSTALLED = @LAPACK_DATA_INSTALLED@
     289LAPACK_DEPENDENCIES = @LAPACK_DEPENDENCIES@
     290LAPACK_LIBS = @LAPACK_LIBS@
     291LAPACK_LIBS_INSTALLED = @LAPACK_LIBS_INSTALLED@
    281292LDFLAGS = @LDFLAGS@
    282293LIBEXT = @LIBEXT@
     
    390401@BUILD_COINHSL_TRUE@    $(am__append_8) $(am__append_10) \
    391402@BUILD_COINHSL_TRUE@    $(am__append_12) $(am__append_14)
     403@BUILD_COINHSL_TRUE@@DEPENDENCY_LINKING_TRUE@libcoinhsl_la_LIBADD = $(HSL_LIBS) $(HSL_PCLIBS)
    392404@BUILD_COINHSL_TRUE@libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS)
    393405
  • ThirdParty/HSL/stable/1.4/config.h.in

    r2763 r3256  
    4848/* If defined, the BLAS Library is available. */
    4949#undef COIN_HAS_BLAS
     50
     51/* If defined, the LAPACK Library is available. */
     52#undef COIN_HAS_LAPACK
    5053
    5154/* Define to 1 if the Metis package is available */
  • ThirdParty/HSL/stable/1.4/configure

    r3213 r3256  
    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_ct_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 DEPENDENCY_LINKING_TRUE DEPENDENCY_LINKING_FALSE LT_LDFLAGS COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_HSL_MA77_TRUE COIN_HAS_HSL_MA77_FALSE COIN_HAS_HSL_MA86_TRUE COIN_HAS_HSL_MA86_FALSE COIN_HAS_HSL_MA97_TRUE COIN_HAS_HSL_MA97_FALSE COIN_HAS_HSL_MC68_TRUE COIN_HAS_HSL_MC68_FALSE COIN_HAS_DEPSF90_TRUE COIN_HAS_DEPSF90_FALSE BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE 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_ct_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 DEPENDENCY_LINKING_TRUE DEPENDENCY_LINKING_FALSE LT_LDFLAGS COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_HSL_MA77_TRUE COIN_HAS_HSL_MA77_FALSE COIN_HAS_HSL_MA86_TRUE COIN_HAS_HSL_MA86_FALSE COIN_HAS_HSL_MA97_TRUE COIN_HAS_HSL_MA97_FALSE COIN_HAS_HSL_MC68_TRUE COIN_HAS_HSL_MC68_FALSE COIN_HAS_DEPSF90_TRUE COIN_HAS_DEPSF90_FALSE BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE LAPACK_LIBS LAPACK_CFLAGS LAPACK_DATA LAPACK_DEPENDENCIES LAPACK_LIBS_INSTALLED LAPACK_CFLAGS_INSTALLED LAPACK_DATA_INSTALLED COIN_HAS_LAPACK_TRUE COIN_HAS_LAPACK_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE 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
     
    11251125  --with-blas-incdir directory with header files for using package Blas
    11261126  --with-blas-datadir directory with data files for using package Blas
     1127  --with-lapack           specify LAPACK library (or BUILD to enforce use of
     1128                          ThirdParty/Lapack)
     1129  --with-lapack-lib linker flags for using package Lapack
     1130  --with-lapack-incdir directory with header files for using package Lapack
     1131  --with-lapack-datadir directory with data files for using package Lapack
    11271132  --with-metis-lib linker flags for using package Metis
    11281133  --with-metis-incdir directory with header files for using package Metis
     
    20432048             fi
    20442049             ;;
     2050  *-*-darwin*) comps="clang gcc" ;;
    20452051  *-linux-gnu*) comps="gcc cc pgcc icc xlc" ;;
    20462052  *-linux-*) comps="xlc gcc cc pgcc icc" ;;
     
    34003406
    34013407# Provide some information about the compiler.
    3402 echo "$as_me:3402:" \
     3408echo "$as_me:3408:" \
    34033409     "checking for Fortran 77 compiler version" >&5
    34043410ac_compiler=`set X $ac_compile; echo $2`
     
    41084114ac_save_FFLAGS=$FFLAGS
    41094115FFLAGS="$FFLAGS $ac_verb"
    4110 (eval echo $as_me:4110: \"$ac_link\") >&5
     4116(eval echo $as_me:4116: \"$ac_link\") >&5
    41114117ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    41124118echo "$ac_f77_v_output" >&5
     
    41864192ac_save_FFLAGS=$FFLAGS
    41874193FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4188 (eval echo $as_me:4188: \"$ac_link\") >&5
     4194(eval echo $as_me:4194: \"$ac_link\") >&5
    41894195ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    41904196echo "$ac_f77_v_output" >&5
     
    50655071
    50665072# Provide some information about the compiler.
    5067 echo "$as_me:5067:" \
     5073echo "$as_me:5073:" \
    50685074     "checking for Fortran compiler version" >&5
    50695075ac_compiler=`set X $ac_compile; echo $2`
     
    68616867*-*-irix6*)
    68626868  # Find out which ABI we are using.
    6863   echo '#line 6863 "configure"' > conftest.$ac_ext
     6869  echo '#line 6869 "configure"' > conftest.$ac_ext
    68646870  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    68656871  (eval $ac_compile) 2>&5
     
    93389344   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93399345   -e 's:$: $lt_compiler_flag:'`
    9340    (eval echo "\"\$as_me:9340: $lt_compile\"" >&5)
     9346   (eval echo "\"\$as_me:9346: $lt_compile\"" >&5)
    93419347   (eval "$lt_compile" 2>conftest.err)
    93429348   ac_status=$?
    93439349   cat conftest.err >&5
    9344    echo "$as_me:9344: \$? = $ac_status" >&5
     9350   echo "$as_me:9350: \$? = $ac_status" >&5
    93459351   if (exit $ac_status) && test -s "$ac_outfile"; then
    93469352     # The compiler can only warn and ignore the option if not recognized
     
    96069612   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    96079613   -e 's:$: $lt_compiler_flag:'`
    9608    (eval echo "\"\$as_me:9608: $lt_compile\"" >&5)
     9614   (eval echo "\"\$as_me:9614: $lt_compile\"" >&5)
    96099615   (eval "$lt_compile" 2>conftest.err)
    96109616   ac_status=$?
    96119617   cat conftest.err >&5
    9612    echo "$as_me:9612: \$? = $ac_status" >&5
     9618   echo "$as_me:9618: \$? = $ac_status" >&5
    96139619   if (exit $ac_status) && test -s "$ac_outfile"; then
    96149620     # The compiler can only warn and ignore the option if not recognized
     
    97109716   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    97119717   -e 's:$: $lt_compiler_flag:'`
    9712    (eval echo "\"\$as_me:9712: $lt_compile\"" >&5)
     9718   (eval echo "\"\$as_me:9718: $lt_compile\"" >&5)
    97139719   (eval "$lt_compile" 2>out/conftest.err)
    97149720   ac_status=$?
    97159721   cat out/conftest.err >&5
    9716    echo "$as_me:9716: \$? = $ac_status" >&5
     9722   echo "$as_me:9722: \$? = $ac_status" >&5
    97179723   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    97189724   then
     
    1212712133  lt_status=$lt_dlunknown
    1212812134  cat > conftest.$ac_ext <<EOF
    12129 #line 12129 "configure"
     12135#line 12135 "configure"
    1213012136#include "confdefs.h"
    1213112137
     
    1222712233  lt_status=$lt_dlunknown
    1222812234  cat > conftest.$ac_ext <<EOF
    12229 #line 12229 "configure"
     12235#line 12235 "configure"
    1223012236#include "confdefs.h"
    1223112237
     
    1458714593   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1458814594   -e 's:$: $lt_compiler_flag:'`
    14589    (eval echo "\"\$as_me:14589: $lt_compile\"" >&5)
     14595   (eval echo "\"\$as_me:14595: $lt_compile\"" >&5)
    1459014596   (eval "$lt_compile" 2>conftest.err)
    1459114597   ac_status=$?
    1459214598   cat conftest.err >&5
    14593    echo "$as_me:14593: \$? = $ac_status" >&5
     14599   echo "$as_me:14599: \$? = $ac_status" >&5
    1459414600   if (exit $ac_status) && test -s "$ac_outfile"; then
    1459514601     # The compiler can only warn and ignore the option if not recognized
     
    1469114697   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1469214698   -e 's:$: $lt_compiler_flag:'`
    14693    (eval echo "\"\$as_me:14693: $lt_compile\"" >&5)
     14699   (eval echo "\"\$as_me:14699: $lt_compile\"" >&5)
    1469414700   (eval "$lt_compile" 2>out/conftest.err)
    1469514701   ac_status=$?
    1469614702   cat out/conftest.err >&5
    14697    echo "$as_me:14697: \$? = $ac_status" >&5
     14703   echo "$as_me:14703: \$? = $ac_status" >&5
    1469814704   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1469914705   then
     
    1626116267   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1626216268   -e 's:$: $lt_compiler_flag:'`
    16263    (eval echo "\"\$as_me:16263: $lt_compile\"" >&5)
     16269   (eval echo "\"\$as_me:16269: $lt_compile\"" >&5)
    1626416270   (eval "$lt_compile" 2>conftest.err)
    1626516271   ac_status=$?
    1626616272   cat conftest.err >&5
    16267    echo "$as_me:16267: \$? = $ac_status" >&5
     16273   echo "$as_me:16273: \$? = $ac_status" >&5
    1626816274   if (exit $ac_status) && test -s "$ac_outfile"; then
    1626916275     # The compiler can only warn and ignore the option if not recognized
     
    1636516371   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1636616372   -e 's:$: $lt_compiler_flag:'`
    16367    (eval echo "\"\$as_me:16367: $lt_compile\"" >&5)
     16373   (eval echo "\"\$as_me:16373: $lt_compile\"" >&5)
    1636816374   (eval "$lt_compile" 2>out/conftest.err)
    1636916375   ac_status=$?
    1637016376   cat out/conftest.err >&5
    16371    echo "$as_me:16371: \$? = $ac_status" >&5
     16377   echo "$as_me:16377: \$? = $ac_status" >&5
    1637216378   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1637316379   then
     
    1857218578   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1857318579   -e 's:$: $lt_compiler_flag:'`
    18574    (eval echo "\"\$as_me:18574: $lt_compile\"" >&5)
     18580   (eval echo "\"\$as_me:18580: $lt_compile\"" >&5)
    1857518581   (eval "$lt_compile" 2>conftest.err)
    1857618582   ac_status=$?
    1857718583   cat conftest.err >&5
    18578    echo "$as_me:18578: \$? = $ac_status" >&5
     18584   echo "$as_me:18584: \$? = $ac_status" >&5
    1857918585   if (exit $ac_status) && test -s "$ac_outfile"; then
    1858018586     # The compiler can only warn and ignore the option if not recognized
     
    1884018846   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1884118847   -e 's:$: $lt_compiler_flag:'`
    18842    (eval echo "\"\$as_me:18842: $lt_compile\"" >&5)
     18848   (eval echo "\"\$as_me:18848: $lt_compile\"" >&5)
    1884318849   (eval "$lt_compile" 2>conftest.err)
    1884418850   ac_status=$?
    1884518851   cat conftest.err >&5
    18846    echo "$as_me:18846: \$? = $ac_status" >&5
     18852   echo "$as_me:18852: \$? = $ac_status" >&5
    1884718853   if (exit $ac_status) && test -s "$ac_outfile"; then
    1884818854     # The compiler can only warn and ignore the option if not recognized
     
    1894418950   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1894518951   -e 's:$: $lt_compiler_flag:'`
    18946    (eval echo "\"\$as_me:18946: $lt_compile\"" >&5)
     18952   (eval echo "\"\$as_me:18952: $lt_compile\"" >&5)
    1894718953   (eval "$lt_compile" 2>out/conftest.err)
    1894818954   ac_status=$?
    1894918955   cat out/conftest.err >&5
    18950    echo "$as_me:18950: \$? = $ac_status" >&5
     18956   echo "$as_me:18956: \$? = $ac_status" >&5
    1895118957   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1895218958   then
     
    2507325079BLAS_PCLIBS=
    2507425080BLAS_PCREQUIRES=
    25075 BLAS_DATA=
    2507625081
    2507725082
     
    2562025625fi
    2562125626
     25627# MA97 requires LAPACK (dpotrf)
     25628if test $coin_has_hsl_ma97 != no ; then
     25629
     25630
     25631# Check whether --with-lapack or --without-lapack was given.
     25632if test "${with_lapack+set}" = set; then
     25633  withval="$with_lapack"
     25634  use_lapack=$withval
     25635else
     25636  use_lapack=
     25637fi;
     25638
     25639#if user specified --with-lapack-lib, then we should give COIN_HAS_PACKAGE preference
     25640
     25641# Check whether --with-lapack-lib or --without-lapack-lib was given.
     25642if test "${with_lapack_lib+set}" = set; then
     25643  withval="$with_lapack_lib"
     25644  use_lapack=BUILD
     25645fi;
     25646
     25647# Check if user supplied option makes sense
     25648if test x"$use_lapack" != x; then
     25649  if test "$use_lapack" = "BUILD"; then
     25650    # we come to this later
     25651    :
     25652  elif test "$use_lapack" != no; then
     25653    echo "$as_me:$LINENO: checking whether user supplied LAPACKLIB=\"$use_lapack\" works" >&5
     25654echo $ECHO_N "checking whether user supplied LAPACKLIB=\"$use_lapack\" works... $ECHO_C" >&6
     25655    coin_need_flibs=no
     25656    use_lapack="$use_lapack $BLAS_LIBS"
     25657    coin_save_LIBS="$LIBS"
     25658    LIBS="$use_lapack $LIBS"
     25659    case $ac_ext in
     25660  f)
     25661    cat >conftest.$ac_ext <<_ACEOF
     25662/* confdefs.h.  */
     25663_ACEOF
     25664cat confdefs.h >>conftest.$ac_ext
     25665cat >>conftest.$ac_ext <<_ACEOF
     25666/* end confdefs.h.  */
     25667
     25668#ifdef F77_DUMMY_MAIN
     25669
     25670#  ifdef __cplusplus
     25671     extern "C"
     25672#  endif
     25673   int F77_DUMMY_MAIN() { return 1; }
     25674
     25675#endif
     25676int
     25677main ()
     25678{
     25679      call dsyev
     25680  ;
     25681  return 0;
     25682}
     25683_ACEOF
     25684rm -f conftest.$ac_objext conftest$ac_exeext
     25685if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25686  (eval $ac_link) 2>conftest.er1
     25687  ac_status=$?
     25688  grep -v '^ *+' conftest.er1 >conftest.err
     25689  rm -f conftest.er1
     25690  cat conftest.err >&5
     25691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25692  (exit $ac_status); } &&
     25693         { ac_try='test -z "$ac_c_werror_flag"
     25694                         || test ! -s conftest.err'
     25695  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25696  (eval $ac_try) 2>&5
     25697  ac_status=$?
     25698  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25699  (exit $ac_status); }; } &&
     25700         { ac_try='test -s conftest$ac_exeext'
     25701  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25702  (eval $ac_try) 2>&5
     25703  ac_status=$?
     25704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25705  (exit $ac_status); }; }; then
     25706  if test $coin_need_flibs = yes ; then
     25707                         use_lapack="$use_lapack $FLIBS"
     25708                       fi
     25709                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     25710echo "${ECHO_T}yes: $use_lapack" >&6
     25711
     25712else
     25713  echo "$as_me: failed program was:" >&5
     25714sed 's/^/| /' conftest.$ac_ext >&5
     25715
     25716echo "$as_me:$LINENO: result: no" >&5
     25717echo "${ECHO_T}no" >&6
     25718                       { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
     25719echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
     25720   { (exit 1); exit 1; }; }
     25721fi
     25722rm -f conftest.err conftest.$ac_objext \
     25723      conftest$ac_exeext conftest.$ac_ext
     25724    ;;
     25725  c)
     25726    ac_ext=f
     25727ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     25728ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25729ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     25730case $ac_cv_f77_mangling in
     25731  upper*) ac_val="DSYEV" ;;
     25732  lower*) ac_val="dsyev" ;;
     25733  *)      ac_val="unknown" ;;
     25734esac
     25735case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     25736
     25737cfuncdsyev="$ac_val"
     25738
     25739ac_ext=c
     25740ac_cpp='$CPP $CPPFLAGS'
     25741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     25742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25743ac_compiler_gnu=$ac_cv_c_compiler_gnu
     25744
     25745    if test x"$coin_need_flibs" = xyes; then
     25746      flink_try=no;
     25747    else
     25748      cat >conftest.$ac_ext <<_ACEOF
     25749/* confdefs.h.  */
     25750_ACEOF
     25751cat confdefs.h >>conftest.$ac_ext
     25752cat >>conftest.$ac_ext <<_ACEOF
     25753/* end confdefs.h.  */
     25754void $cfuncdsyev();
     25755#ifdef F77_DUMMY_MAIN
     25756
     25757#  ifdef __cplusplus
     25758     extern "C"
     25759#  endif
     25760   int F77_DUMMY_MAIN() { return 1; }
     25761
     25762#endif
     25763int
     25764main ()
     25765{
     25766$cfuncdsyev()
     25767  ;
     25768  return 0;
     25769}
     25770_ACEOF
     25771rm -f conftest.$ac_objext conftest$ac_exeext
     25772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25773  (eval $ac_link) 2>conftest.er1
     25774  ac_status=$?
     25775  grep -v '^ *+' conftest.er1 >conftest.err
     25776  rm -f conftest.er1
     25777  cat conftest.err >&5
     25778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25779  (exit $ac_status); } &&
     25780         { ac_try='test -z "$ac_c_werror_flag"
     25781                         || test ! -s conftest.err'
     25782  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25783  (eval $ac_try) 2>&5
     25784  ac_status=$?
     25785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25786  (exit $ac_status); }; } &&
     25787         { ac_try='test -s conftest$ac_exeext'
     25788  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25789  (eval $ac_try) 2>&5
     25790  ac_status=$?
     25791  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25792  (exit $ac_status); }; }; then
     25793  flink_try=yes
     25794else
     25795  echo "$as_me: failed program was:" >&5
     25796sed 's/^/| /' conftest.$ac_ext >&5
     25797
     25798flink_try=no
     25799fi
     25800rm -f conftest.err conftest.$ac_objext \
     25801      conftest$ac_exeext conftest.$ac_ext
     25802    fi
     25803    if test $flink_try = yes; then
     25804      if test $coin_need_flibs = yes ; then
     25805                         use_lapack="$use_lapack $FLIBS"
     25806                       fi
     25807                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     25808echo "${ECHO_T}yes: $use_lapack" >&6
     25809
     25810    else
     25811      if test x"$FLIBS" != x; then
     25812        flink_save_libs="$LIBS"
     25813        LIBS="$LIBS $FLIBS"
     25814        cat >conftest.$ac_ext <<_ACEOF
     25815/* confdefs.h.  */
     25816_ACEOF
     25817cat confdefs.h >>conftest.$ac_ext
     25818cat >>conftest.$ac_ext <<_ACEOF
     25819/* end confdefs.h.  */
     25820void $cfuncdsyev();
     25821#ifdef F77_DUMMY_MAIN
     25822
     25823#  ifdef __cplusplus
     25824     extern "C"
     25825#  endif
     25826   int F77_DUMMY_MAIN() { return 1; }
     25827
     25828#endif
     25829int
     25830main ()
     25831{
     25832$cfuncdsyev()
     25833  ;
     25834  return 0;
     25835}
     25836_ACEOF
     25837rm -f conftest.$ac_objext conftest$ac_exeext
     25838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25839  (eval $ac_link) 2>conftest.er1
     25840  ac_status=$?
     25841  grep -v '^ *+' conftest.er1 >conftest.err
     25842  rm -f conftest.er1
     25843  cat conftest.err >&5
     25844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25845  (exit $ac_status); } &&
     25846         { ac_try='test -z "$ac_c_werror_flag"
     25847                         || test ! -s conftest.err'
     25848  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25849  (eval $ac_try) 2>&5
     25850  ac_status=$?
     25851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25852  (exit $ac_status); }; } &&
     25853         { ac_try='test -s conftest$ac_exeext'
     25854  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25855  (eval $ac_try) 2>&5
     25856  ac_status=$?
     25857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25858  (exit $ac_status); }; }; then
     25859  LIBS="$flink_save_libs"
     25860                     coin_need_flibs=yes
     25861                     if test $coin_need_flibs = yes ; then
     25862                         use_lapack="$use_lapack $FLIBS"
     25863                       fi
     25864                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     25865echo "${ECHO_T}yes: $use_lapack" >&6
     25866
     25867
     25868else
     25869  echo "$as_me: failed program was:" >&5
     25870sed 's/^/| /' conftest.$ac_ext >&5
     25871
     25872LIBS="$flink_save_libs"
     25873                     echo "$as_me:$LINENO: result: no" >&5
     25874echo "${ECHO_T}no" >&6
     25875                       { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
     25876echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
     25877   { (exit 1); exit 1; }; }
     25878fi
     25879rm -f conftest.err conftest.$ac_objext \
     25880      conftest$ac_exeext conftest.$ac_ext
     25881      else
     25882        echo "$as_me:$LINENO: result: no" >&5
     25883echo "${ECHO_T}no" >&6
     25884                       { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
     25885echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
     25886   { (exit 1); exit 1; }; }
     25887      fi
     25888    fi
     25889    ;;
     25890  cc|cpp)
     25891    ac_ext=f
     25892ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     25893ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25894ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     25895case $ac_cv_f77_mangling in
     25896  upper*) ac_val="DSYEV" ;;
     25897  lower*) ac_val="dsyev" ;;
     25898  *)      ac_val="unknown" ;;
     25899esac
     25900case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     25901
     25902cfuncdsyev="$ac_val"
     25903
     25904ac_ext=c
     25905ac_cpp='$CPP $CPPFLAGS'
     25906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     25907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     25908ac_compiler_gnu=$ac_cv_c_compiler_gnu
     25909
     25910    if test x"$coin_need_flibs" = xyes; then
     25911      flink_try=no;
     25912    else
     25913      cat >conftest.$ac_ext <<_ACEOF
     25914/* confdefs.h.  */
     25915_ACEOF
     25916cat confdefs.h >>conftest.$ac_ext
     25917cat >>conftest.$ac_ext <<_ACEOF
     25918/* end confdefs.h.  */
     25919extern "C" {void $cfuncdsyev();}
     25920#ifdef F77_DUMMY_MAIN
     25921
     25922#  ifdef __cplusplus
     25923     extern "C"
     25924#  endif
     25925   int F77_DUMMY_MAIN() { return 1; }
     25926
     25927#endif
     25928int
     25929main ()
     25930{
     25931$cfuncdsyev()
     25932  ;
     25933  return 0;
     25934}
     25935_ACEOF
     25936rm -f conftest.$ac_objext conftest$ac_exeext
     25937if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     25938  (eval $ac_link) 2>conftest.er1
     25939  ac_status=$?
     25940  grep -v '^ *+' conftest.er1 >conftest.err
     25941  rm -f conftest.er1
     25942  cat conftest.err >&5
     25943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25944  (exit $ac_status); } &&
     25945         { ac_try='test -z "$ac_c_werror_flag"
     25946                         || test ! -s conftest.err'
     25947  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25948  (eval $ac_try) 2>&5
     25949  ac_status=$?
     25950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25951  (exit $ac_status); }; } &&
     25952         { ac_try='test -s conftest$ac_exeext'
     25953  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     25954  (eval $ac_try) 2>&5
     25955  ac_status=$?
     25956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     25957  (exit $ac_status); }; }; then
     25958  flink_try=yes
     25959else
     25960  echo "$as_me: failed program was:" >&5
     25961sed 's/^/| /' conftest.$ac_ext >&5
     25962
     25963flink_try=no
     25964fi
     25965rm -f conftest.err conftest.$ac_objext \
     25966      conftest$ac_exeext conftest.$ac_ext
     25967    fi
     25968    if test $flink_try = yes; then
     25969      if test $coin_need_flibs = yes ; then
     25970                         use_lapack="$use_lapack $FLIBS"
     25971                       fi
     25972                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     25973echo "${ECHO_T}yes: $use_lapack" >&6
     25974
     25975    else
     25976      if test x"$FLIBS" != x; then
     25977        flink_save_libs="$LIBS"
     25978        LIBS="$LIBS $FLIBS"
     25979        cat >conftest.$ac_ext <<_ACEOF
     25980/* confdefs.h.  */
     25981_ACEOF
     25982cat confdefs.h >>conftest.$ac_ext
     25983cat >>conftest.$ac_ext <<_ACEOF
     25984/* end confdefs.h.  */
     25985extern "C" {void $cfuncdsyev();}
     25986#ifdef F77_DUMMY_MAIN
     25987
     25988#  ifdef __cplusplus
     25989     extern "C"
     25990#  endif
     25991   int F77_DUMMY_MAIN() { return 1; }
     25992
     25993#endif
     25994int
     25995main ()
     25996{
     25997$cfuncdsyev()
     25998  ;
     25999  return 0;
     26000}
     26001_ACEOF
     26002rm -f conftest.$ac_objext conftest$ac_exeext
     26003if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26004  (eval $ac_link) 2>conftest.er1
     26005  ac_status=$?
     26006  grep -v '^ *+' conftest.er1 >conftest.err
     26007  rm -f conftest.er1
     26008  cat conftest.err >&5
     26009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26010  (exit $ac_status); } &&
     26011         { ac_try='test -z "$ac_c_werror_flag"
     26012                         || test ! -s conftest.err'
     26013  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26014  (eval $ac_try) 2>&5
     26015  ac_status=$?
     26016  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26017  (exit $ac_status); }; } &&
     26018         { ac_try='test -s conftest$ac_exeext'
     26019  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26020  (eval $ac_try) 2>&5
     26021  ac_status=$?
     26022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26023  (exit $ac_status); }; }; then
     26024  LIBS="$flink_save_libs"
     26025                     coin_need_flibs=yes
     26026                     if test $coin_need_flibs = yes ; then
     26027                         use_lapack="$use_lapack $FLIBS"
     26028                       fi
     26029                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26030echo "${ECHO_T}yes: $use_lapack" >&6
     26031
     26032
     26033else
     26034  echo "$as_me: failed program was:" >&5
     26035sed 's/^/| /' conftest.$ac_ext >&5
     26036
     26037LIBS="$flink_save_libs"
     26038                     echo "$as_me:$LINENO: result: no" >&5
     26039echo "${ECHO_T}no" >&6
     26040                       { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
     26041echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
     26042   { (exit 1); exit 1; }; }
     26043fi
     26044rm -f conftest.err conftest.$ac_objext \
     26045      conftest$ac_exeext conftest.$ac_ext
     26046      else
     26047        echo "$as_me:$LINENO: result: no" >&5
     26048echo "${ECHO_T}no" >&6
     26049                       { { echo "$as_me:$LINENO: error: user supplied LAPACK library \"$use_lapack\" does not work" >&5
     26050echo "$as_me: error: user supplied LAPACK library \"$use_lapack\" does not work" >&2;}
     26051   { (exit 1); exit 1; }; }
     26052      fi
     26053    fi
     26054    ;;
     26055esac
     26056
     26057    LIBS="$coin_save_LIBS"
     26058  fi
     26059else
     26060  if test x$coin_has_blas = xyes; then
     26061    # First try to see if LAPACK is already available with BLAS library
     26062    echo "$as_me:$LINENO: checking whether LAPACK is already available with BLAS library" >&5
     26063echo $ECHO_N "checking whether LAPACK is already available with BLAS library... $ECHO_C" >&6
     26064    coin_save_LIBS="$LIBS"
     26065    coin_need_flibs=no
     26066    LIBS="$BLAS_LIBS $LIBS"
     26067    case $ac_ext in
     26068  f)
     26069    cat >conftest.$ac_ext <<_ACEOF
     26070/* confdefs.h.  */
     26071_ACEOF
     26072cat confdefs.h >>conftest.$ac_ext
     26073cat >>conftest.$ac_ext <<_ACEOF
     26074/* end confdefs.h.  */
     26075
     26076#ifdef F77_DUMMY_MAIN
     26077
     26078#  ifdef __cplusplus
     26079     extern "C"
     26080#  endif
     26081   int F77_DUMMY_MAIN() { return 1; }
     26082
     26083#endif
     26084int
     26085main ()
     26086{
     26087      call dsyev
     26088  ;
     26089  return 0;
     26090}
     26091_ACEOF
     26092rm -f conftest.$ac_objext conftest$ac_exeext
     26093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26094  (eval $ac_link) 2>conftest.er1
     26095  ac_status=$?
     26096  grep -v '^ *+' conftest.er1 >conftest.err
     26097  rm -f conftest.er1
     26098  cat conftest.err >&5
     26099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26100  (exit $ac_status); } &&
     26101         { ac_try='test -z "$ac_c_werror_flag"
     26102                         || test ! -s conftest.err'
     26103  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26104  (eval $ac_try) 2>&5
     26105  ac_status=$?
     26106  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26107  (exit $ac_status); }; } &&
     26108         { ac_try='test -s conftest$ac_exeext'
     26109  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26110  (eval $ac_try) 2>&5
     26111  ac_status=$?
     26112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26113  (exit $ac_status); }; }; then
     26114  use_lapack="$BLAS_LIBS"
     26115                       if test $coin_need_flibs = yes ; then
     26116                         use_lapack="$use_lapack $FLIBS"
     26117                       fi
     26118                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26119echo "${ECHO_T}yes: $use_lapack" >&6
     26120
     26121else
     26122  echo "$as_me: failed program was:" >&5
     26123sed 's/^/| /' conftest.$ac_ext >&5
     26124
     26125echo "$as_me:$LINENO: result: no" >&5
     26126echo "${ECHO_T}no" >&6
     26127fi
     26128rm -f conftest.err conftest.$ac_objext \
     26129      conftest$ac_exeext conftest.$ac_ext
     26130    ;;
     26131  c)
     26132    ac_ext=f
     26133ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     26134ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26135ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     26136case $ac_cv_f77_mangling in
     26137  upper*) ac_val="DSYEV" ;;
     26138  lower*) ac_val="dsyev" ;;
     26139  *)      ac_val="unknown" ;;
     26140esac
     26141case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     26142
     26143cfuncdsyev="$ac_val"
     26144
     26145ac_ext=c
     26146ac_cpp='$CPP $CPPFLAGS'
     26147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     26148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26149ac_compiler_gnu=$ac_cv_c_compiler_gnu
     26150
     26151    if test x"$coin_need_flibs" = xyes; then
     26152      flink_try=no;
     26153    else
     26154      cat >conftest.$ac_ext <<_ACEOF
     26155/* confdefs.h.  */
     26156_ACEOF
     26157cat confdefs.h >>conftest.$ac_ext
     26158cat >>conftest.$ac_ext <<_ACEOF
     26159/* end confdefs.h.  */
     26160void $cfuncdsyev();
     26161#ifdef F77_DUMMY_MAIN
     26162
     26163#  ifdef __cplusplus
     26164     extern "C"
     26165#  endif
     26166   int F77_DUMMY_MAIN() { return 1; }
     26167
     26168#endif
     26169int
     26170main ()
     26171{
     26172$cfuncdsyev()
     26173  ;
     26174  return 0;
     26175}
     26176_ACEOF
     26177rm -f conftest.$ac_objext conftest$ac_exeext
     26178if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26179  (eval $ac_link) 2>conftest.er1
     26180  ac_status=$?
     26181  grep -v '^ *+' conftest.er1 >conftest.err
     26182  rm -f conftest.er1
     26183  cat conftest.err >&5
     26184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26185  (exit $ac_status); } &&
     26186         { ac_try='test -z "$ac_c_werror_flag"
     26187                         || test ! -s conftest.err'
     26188  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26189  (eval $ac_try) 2>&5
     26190  ac_status=$?
     26191  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26192  (exit $ac_status); }; } &&
     26193         { ac_try='test -s conftest$ac_exeext'
     26194  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26195  (eval $ac_try) 2>&5
     26196  ac_status=$?
     26197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26198  (exit $ac_status); }; }; then
     26199  flink_try=yes
     26200else
     26201  echo "$as_me: failed program was:" >&5
     26202sed 's/^/| /' conftest.$ac_ext >&5
     26203
     26204flink_try=no
     26205fi
     26206rm -f conftest.err conftest.$ac_objext \
     26207      conftest$ac_exeext conftest.$ac_ext
     26208    fi
     26209    if test $flink_try = yes; then
     26210      use_lapack="$BLAS_LIBS"
     26211                       if test $coin_need_flibs = yes ; then
     26212                         use_lapack="$use_lapack $FLIBS"
     26213                       fi
     26214                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26215echo "${ECHO_T}yes: $use_lapack" >&6
     26216
     26217    else
     26218      if test x"$FLIBS" != x; then
     26219        flink_save_libs="$LIBS"
     26220        LIBS="$LIBS $FLIBS"
     26221        cat >conftest.$ac_ext <<_ACEOF
     26222/* confdefs.h.  */
     26223_ACEOF
     26224cat confdefs.h >>conftest.$ac_ext
     26225cat >>conftest.$ac_ext <<_ACEOF
     26226/* end confdefs.h.  */
     26227void $cfuncdsyev();
     26228#ifdef F77_DUMMY_MAIN
     26229
     26230#  ifdef __cplusplus
     26231     extern "C"
     26232#  endif
     26233   int F77_DUMMY_MAIN() { return 1; }
     26234
     26235#endif
     26236int
     26237main ()
     26238{
     26239$cfuncdsyev()
     26240  ;
     26241  return 0;
     26242}
     26243_ACEOF
     26244rm -f conftest.$ac_objext conftest$ac_exeext
     26245if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26246  (eval $ac_link) 2>conftest.er1
     26247  ac_status=$?
     26248  grep -v '^ *+' conftest.er1 >conftest.err
     26249  rm -f conftest.er1
     26250  cat conftest.err >&5
     26251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26252  (exit $ac_status); } &&
     26253         { ac_try='test -z "$ac_c_werror_flag"
     26254                         || test ! -s conftest.err'
     26255  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26256  (eval $ac_try) 2>&5
     26257  ac_status=$?
     26258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26259  (exit $ac_status); }; } &&
     26260         { ac_try='test -s conftest$ac_exeext'
     26261  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26262  (eval $ac_try) 2>&5
     26263  ac_status=$?
     26264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26265  (exit $ac_status); }; }; then
     26266  LIBS="$flink_save_libs"
     26267                     coin_need_flibs=yes
     26268                     use_lapack="$BLAS_LIBS"
     26269                       if test $coin_need_flibs = yes ; then
     26270                         use_lapack="$use_lapack $FLIBS"
     26271                       fi
     26272                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26273echo "${ECHO_T}yes: $use_lapack" >&6
     26274
     26275
     26276else
     26277  echo "$as_me: failed program was:" >&5
     26278sed 's/^/| /' conftest.$ac_ext >&5
     26279
     26280LIBS="$flink_save_libs"
     26281                     echo "$as_me:$LINENO: result: no" >&5
     26282echo "${ECHO_T}no" >&6
     26283fi
     26284rm -f conftest.err conftest.$ac_objext \
     26285      conftest$ac_exeext conftest.$ac_ext
     26286      else
     26287        echo "$as_me:$LINENO: result: no" >&5
     26288echo "${ECHO_T}no" >&6
     26289      fi
     26290    fi
     26291    ;;
     26292  cc|cpp)
     26293    ac_ext=f
     26294ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     26295ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26296ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     26297case $ac_cv_f77_mangling in
     26298  upper*) ac_val="DSYEV" ;;
     26299  lower*) ac_val="dsyev" ;;
     26300  *)      ac_val="unknown" ;;
     26301esac
     26302case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     26303
     26304cfuncdsyev="$ac_val"
     26305
     26306ac_ext=c
     26307ac_cpp='$CPP $CPPFLAGS'
     26308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     26309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26310ac_compiler_gnu=$ac_cv_c_compiler_gnu
     26311
     26312    if test x"$coin_need_flibs" = xyes; then
     26313      flink_try=no;
     26314    else
     26315      cat >conftest.$ac_ext <<_ACEOF
     26316/* confdefs.h.  */
     26317_ACEOF
     26318cat confdefs.h >>conftest.$ac_ext
     26319cat >>conftest.$ac_ext <<_ACEOF
     26320/* end confdefs.h.  */
     26321extern "C" {void $cfuncdsyev();}
     26322#ifdef F77_DUMMY_MAIN
     26323
     26324#  ifdef __cplusplus
     26325     extern "C"
     26326#  endif
     26327   int F77_DUMMY_MAIN() { return 1; }
     26328
     26329#endif
     26330int
     26331main ()
     26332{
     26333$cfuncdsyev()
     26334  ;
     26335  return 0;
     26336}
     26337_ACEOF
     26338rm -f conftest.$ac_objext conftest$ac_exeext
     26339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26340  (eval $ac_link) 2>conftest.er1
     26341  ac_status=$?
     26342  grep -v '^ *+' conftest.er1 >conftest.err
     26343  rm -f conftest.er1
     26344  cat conftest.err >&5
     26345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26346  (exit $ac_status); } &&
     26347         { ac_try='test -z "$ac_c_werror_flag"
     26348                         || test ! -s conftest.err'
     26349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26350  (eval $ac_try) 2>&5
     26351  ac_status=$?
     26352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26353  (exit $ac_status); }; } &&
     26354         { ac_try='test -s conftest$ac_exeext'
     26355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26356  (eval $ac_try) 2>&5
     26357  ac_status=$?
     26358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26359  (exit $ac_status); }; }; then
     26360  flink_try=yes
     26361else
     26362  echo "$as_me: failed program was:" >&5
     26363sed 's/^/| /' conftest.$ac_ext >&5
     26364
     26365flink_try=no
     26366fi
     26367rm -f conftest.err conftest.$ac_objext \
     26368      conftest$ac_exeext conftest.$ac_ext
     26369    fi
     26370    if test $flink_try = yes; then
     26371      use_lapack="$BLAS_LIBS"
     26372                       if test $coin_need_flibs = yes ; then
     26373                         use_lapack="$use_lapack $FLIBS"
     26374                       fi
     26375                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26376echo "${ECHO_T}yes: $use_lapack" >&6
     26377
     26378    else
     26379      if test x"$FLIBS" != x; then
     26380        flink_save_libs="$LIBS"
     26381        LIBS="$LIBS $FLIBS"
     26382        cat >conftest.$ac_ext <<_ACEOF
     26383/* confdefs.h.  */
     26384_ACEOF
     26385cat confdefs.h >>conftest.$ac_ext
     26386cat >>conftest.$ac_ext <<_ACEOF
     26387/* end confdefs.h.  */
     26388extern "C" {void $cfuncdsyev();}
     26389#ifdef F77_DUMMY_MAIN
     26390
     26391#  ifdef __cplusplus
     26392     extern "C"
     26393#  endif
     26394   int F77_DUMMY_MAIN() { return 1; }
     26395
     26396#endif
     26397int
     26398main ()
     26399{
     26400$cfuncdsyev()
     26401  ;
     26402  return 0;
     26403}
     26404_ACEOF
     26405rm -f conftest.$ac_objext conftest$ac_exeext
     26406if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26407  (eval $ac_link) 2>conftest.er1
     26408  ac_status=$?
     26409  grep -v '^ *+' conftest.er1 >conftest.err
     26410  rm -f conftest.er1
     26411  cat conftest.err >&5
     26412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26413  (exit $ac_status); } &&
     26414         { ac_try='test -z "$ac_c_werror_flag"
     26415                         || test ! -s conftest.err'
     26416  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26417  (eval $ac_try) 2>&5
     26418  ac_status=$?
     26419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26420  (exit $ac_status); }; } &&
     26421         { ac_try='test -s conftest$ac_exeext'
     26422  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26423  (eval $ac_try) 2>&5
     26424  ac_status=$?
     26425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26426  (exit $ac_status); }; }; then
     26427  LIBS="$flink_save_libs"
     26428                     coin_need_flibs=yes
     26429                     use_lapack="$BLAS_LIBS"
     26430                       if test $coin_need_flibs = yes ; then
     26431                         use_lapack="$use_lapack $FLIBS"
     26432                       fi
     26433                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26434echo "${ECHO_T}yes: $use_lapack" >&6
     26435
     26436
     26437else
     26438  echo "$as_me: failed program was:" >&5
     26439sed 's/^/| /' conftest.$ac_ext >&5
     26440
     26441LIBS="$flink_save_libs"
     26442                     echo "$as_me:$LINENO: result: no" >&5
     26443echo "${ECHO_T}no" >&6
     26444fi
     26445rm -f conftest.err conftest.$ac_objext \
     26446      conftest$ac_exeext conftest.$ac_ext
     26447      else
     26448        echo "$as_me:$LINENO: result: no" >&5
     26449echo "${ECHO_T}no" >&6
     26450      fi
     26451    fi
     26452    ;;
     26453esac
     26454
     26455    LIBS="$coin_save_LIBS"
     26456  fi
     26457  if test -z "$use_lapack"; then
     26458    # Try to autodetect the library for lapack based on build system
     26459    case $build in
     26460      # TODO: Is this check actually needed here, since -lcomplib.sigmath should have been recognized as Blas library,
     26461      #       and above it is checked whether the Blas library already contains Lapack
     26462      *-sgi-*)
     26463        echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has LAPACK" >&5
     26464echo $ECHO_N "checking whether -lcomplib.sgimath has LAPACK... $ECHO_C" >&6
     26465        coin_save_LIBS="$LIBS"
     26466        coin_need_flibs=no
     26467        LIBS="-lcomplib.sgimath $BLAS_LIBS $LIBS"
     26468        case $ac_ext in
     26469  f)
     26470    cat >conftest.$ac_ext <<_ACEOF
     26471/* confdefs.h.  */
     26472_ACEOF
     26473cat confdefs.h >>conftest.$ac_ext
     26474cat >>conftest.$ac_ext <<_ACEOF
     26475/* end confdefs.h.  */
     26476
     26477#ifdef F77_DUMMY_MAIN
     26478
     26479#  ifdef __cplusplus
     26480     extern "C"
     26481#  endif
     26482   int F77_DUMMY_MAIN() { return 1; }
     26483
     26484#endif
     26485int
     26486main ()
     26487{
     26488      call dsyev
     26489  ;
     26490  return 0;
     26491}
     26492_ACEOF
     26493rm -f conftest.$ac_objext conftest$ac_exeext
     26494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26495  (eval $ac_link) 2>conftest.er1
     26496  ac_status=$?
     26497  grep -v '^ *+' conftest.er1 >conftest.err
     26498  rm -f conftest.er1
     26499  cat conftest.err >&5
     26500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26501  (exit $ac_status); } &&
     26502         { ac_try='test -z "$ac_c_werror_flag"
     26503                         || test ! -s conftest.err'
     26504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26505  (eval $ac_try) 2>&5
     26506  ac_status=$?
     26507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26508  (exit $ac_status); }; } &&
     26509         { ac_try='test -s conftest$ac_exeext'
     26510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26511  (eval $ac_try) 2>&5
     26512  ac_status=$?
     26513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26514  (exit $ac_status); }; }; then
     26515  use_lapack="-lcomplib.sgimath $BLAS_LIBS"
     26516                           if test $coin_need_flibs = yes ; then
     26517                             use_lapack="$use_lapack $FLIBS"
     26518                           fi
     26519                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26520echo "${ECHO_T}yes: $use_lapack" >&6
     26521
     26522else
     26523  echo "$as_me: failed program was:" >&5
     26524sed 's/^/| /' conftest.$ac_ext >&5
     26525
     26526echo "$as_me:$LINENO: result: no" >&5
     26527echo "${ECHO_T}no" >&6
     26528fi
     26529rm -f conftest.err conftest.$ac_objext \
     26530      conftest$ac_exeext conftest.$ac_ext
     26531    ;;
     26532  c)
     26533    ac_ext=f
     26534ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     26535ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26536ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     26537case $ac_cv_f77_mangling in
     26538  upper*) ac_val="DSYEV" ;;
     26539  lower*) ac_val="dsyev" ;;
     26540  *)      ac_val="unknown" ;;
     26541esac
     26542case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     26543
     26544cfuncdsyev="$ac_val"
     26545
     26546ac_ext=c
     26547ac_cpp='$CPP $CPPFLAGS'
     26548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     26549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26550ac_compiler_gnu=$ac_cv_c_compiler_gnu
     26551
     26552    if test x"$coin_need_flibs" = xyes; then
     26553      flink_try=no;
     26554    else
     26555      cat >conftest.$ac_ext <<_ACEOF
     26556/* confdefs.h.  */
     26557_ACEOF
     26558cat confdefs.h >>conftest.$ac_ext
     26559cat >>conftest.$ac_ext <<_ACEOF
     26560/* end confdefs.h.  */
     26561void $cfuncdsyev();
     26562#ifdef F77_DUMMY_MAIN
     26563
     26564#  ifdef __cplusplus
     26565     extern "C"
     26566#  endif
     26567   int F77_DUMMY_MAIN() { return 1; }
     26568
     26569#endif
     26570int
     26571main ()
     26572{
     26573$cfuncdsyev()
     26574  ;
     26575  return 0;
     26576}
     26577_ACEOF
     26578rm -f conftest.$ac_objext conftest$ac_exeext
     26579if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26580  (eval $ac_link) 2>conftest.er1
     26581  ac_status=$?
     26582  grep -v '^ *+' conftest.er1 >conftest.err
     26583  rm -f conftest.er1
     26584  cat conftest.err >&5
     26585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26586  (exit $ac_status); } &&
     26587         { ac_try='test -z "$ac_c_werror_flag"
     26588                         || test ! -s conftest.err'
     26589  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26590  (eval $ac_try) 2>&5
     26591  ac_status=$?
     26592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26593  (exit $ac_status); }; } &&
     26594         { ac_try='test -s conftest$ac_exeext'
     26595  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26596  (eval $ac_try) 2>&5
     26597  ac_status=$?
     26598  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26599  (exit $ac_status); }; }; then
     26600  flink_try=yes
     26601else
     26602  echo "$as_me: failed program was:" >&5
     26603sed 's/^/| /' conftest.$ac_ext >&5
     26604
     26605flink_try=no
     26606fi
     26607rm -f conftest.err conftest.$ac_objext \
     26608      conftest$ac_exeext conftest.$ac_ext
     26609    fi
     26610    if test $flink_try = yes; then
     26611      use_lapack="-lcomplib.sgimath $BLAS_LIBS"
     26612                           if test $coin_need_flibs = yes ; then
     26613                             use_lapack="$use_lapack $FLIBS"
     26614                           fi
     26615                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26616echo "${ECHO_T}yes: $use_lapack" >&6
     26617
     26618    else
     26619      if test x"$FLIBS" != x; then
     26620        flink_save_libs="$LIBS"
     26621        LIBS="$LIBS $FLIBS"
     26622        cat >conftest.$ac_ext <<_ACEOF
     26623/* confdefs.h.  */
     26624_ACEOF
     26625cat confdefs.h >>conftest.$ac_ext
     26626cat >>conftest.$ac_ext <<_ACEOF
     26627/* end confdefs.h.  */
     26628void $cfuncdsyev();
     26629#ifdef F77_DUMMY_MAIN
     26630
     26631#  ifdef __cplusplus
     26632     extern "C"
     26633#  endif
     26634   int F77_DUMMY_MAIN() { return 1; }
     26635
     26636#endif
     26637int
     26638main ()
     26639{
     26640$cfuncdsyev()
     26641  ;
     26642  return 0;
     26643}
     26644_ACEOF
     26645rm -f conftest.$ac_objext conftest$ac_exeext
     26646if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26647  (eval $ac_link) 2>conftest.er1
     26648  ac_status=$?
     26649  grep -v '^ *+' conftest.er1 >conftest.err
     26650  rm -f conftest.er1
     26651  cat conftest.err >&5
     26652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26653  (exit $ac_status); } &&
     26654         { ac_try='test -z "$ac_c_werror_flag"
     26655                         || test ! -s conftest.err'
     26656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26657  (eval $ac_try) 2>&5
     26658  ac_status=$?
     26659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26660  (exit $ac_status); }; } &&
     26661         { ac_try='test -s conftest$ac_exeext'
     26662  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26663  (eval $ac_try) 2>&5
     26664  ac_status=$?
     26665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26666  (exit $ac_status); }; }; then
     26667  LIBS="$flink_save_libs"
     26668                     coin_need_flibs=yes
     26669                     use_lapack="-lcomplib.sgimath $BLAS_LIBS"
     26670                           if test $coin_need_flibs = yes ; then
     26671                             use_lapack="$use_lapack $FLIBS"
     26672                           fi
     26673                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26674echo "${ECHO_T}yes: $use_lapack" >&6
     26675
     26676
     26677else
     26678  echo "$as_me: failed program was:" >&5
     26679sed 's/^/| /' conftest.$ac_ext >&5
     26680
     26681LIBS="$flink_save_libs"
     26682                     echo "$as_me:$LINENO: result: no" >&5
     26683echo "${ECHO_T}no" >&6
     26684fi
     26685rm -f conftest.err conftest.$ac_objext \
     26686      conftest$ac_exeext conftest.$ac_ext
     26687      else
     26688        echo "$as_me:$LINENO: result: no" >&5
     26689echo "${ECHO_T}no" >&6
     26690      fi
     26691    fi
     26692    ;;
     26693  cc|cpp)
     26694    ac_ext=f
     26695ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     26696ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26697ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     26698case $ac_cv_f77_mangling in
     26699  upper*) ac_val="DSYEV" ;;
     26700  lower*) ac_val="dsyev" ;;
     26701  *)      ac_val="unknown" ;;
     26702esac
     26703case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     26704
     26705cfuncdsyev="$ac_val"
     26706
     26707ac_ext=c
     26708ac_cpp='$CPP $CPPFLAGS'
     26709ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     26710ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26711ac_compiler_gnu=$ac_cv_c_compiler_gnu
     26712
     26713    if test x"$coin_need_flibs" = xyes; then
     26714      flink_try=no;
     26715    else
     26716      cat >conftest.$ac_ext <<_ACEOF
     26717/* confdefs.h.  */
     26718_ACEOF
     26719cat confdefs.h >>conftest.$ac_ext
     26720cat >>conftest.$ac_ext <<_ACEOF
     26721/* end confdefs.h.  */
     26722extern "C" {void $cfuncdsyev();}
     26723#ifdef F77_DUMMY_MAIN
     26724
     26725#  ifdef __cplusplus
     26726     extern "C"
     26727#  endif
     26728   int F77_DUMMY_MAIN() { return 1; }
     26729
     26730#endif
     26731int
     26732main ()
     26733{
     26734$cfuncdsyev()
     26735  ;
     26736  return 0;
     26737}
     26738_ACEOF
     26739rm -f conftest.$ac_objext conftest$ac_exeext
     26740if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26741  (eval $ac_link) 2>conftest.er1
     26742  ac_status=$?
     26743  grep -v '^ *+' conftest.er1 >conftest.err
     26744  rm -f conftest.er1
     26745  cat conftest.err >&5
     26746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26747  (exit $ac_status); } &&
     26748         { ac_try='test -z "$ac_c_werror_flag"
     26749                         || test ! -s conftest.err'
     26750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26751  (eval $ac_try) 2>&5
     26752  ac_status=$?
     26753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26754  (exit $ac_status); }; } &&
     26755         { ac_try='test -s conftest$ac_exeext'
     26756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26757  (eval $ac_try) 2>&5
     26758  ac_status=$?
     26759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26760  (exit $ac_status); }; }; then
     26761  flink_try=yes
     26762else
     26763  echo "$as_me: failed program was:" >&5
     26764sed 's/^/| /' conftest.$ac_ext >&5
     26765
     26766flink_try=no
     26767fi
     26768rm -f conftest.err conftest.$ac_objext \
     26769      conftest$ac_exeext conftest.$ac_ext
     26770    fi
     26771    if test $flink_try = yes; then
     26772      use_lapack="-lcomplib.sgimath $BLAS_LIBS"
     26773                           if test $coin_need_flibs = yes ; then
     26774                             use_lapack="$use_lapack $FLIBS"
     26775                           fi
     26776                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26777echo "${ECHO_T}yes: $use_lapack" >&6
     26778
     26779    else
     26780      if test x"$FLIBS" != x; then
     26781        flink_save_libs="$LIBS"
     26782        LIBS="$LIBS $FLIBS"
     26783        cat >conftest.$ac_ext <<_ACEOF
     26784/* confdefs.h.  */
     26785_ACEOF
     26786cat confdefs.h >>conftest.$ac_ext
     26787cat >>conftest.$ac_ext <<_ACEOF
     26788/* end confdefs.h.  */
     26789extern "C" {void $cfuncdsyev();}
     26790#ifdef F77_DUMMY_MAIN
     26791
     26792#  ifdef __cplusplus
     26793     extern "C"
     26794#  endif
     26795   int F77_DUMMY_MAIN() { return 1; }
     26796
     26797#endif
     26798int
     26799main ()
     26800{
     26801$cfuncdsyev()
     26802  ;
     26803  return 0;
     26804}
     26805_ACEOF
     26806rm -f conftest.$ac_objext conftest$ac_exeext
     26807if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26808  (eval $ac_link) 2>conftest.er1
     26809  ac_status=$?
     26810  grep -v '^ *+' conftest.er1 >conftest.err
     26811  rm -f conftest.er1
     26812  cat conftest.err >&5
     26813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26814  (exit $ac_status); } &&
     26815         { ac_try='test -z "$ac_c_werror_flag"
     26816                         || test ! -s conftest.err'
     26817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26818  (eval $ac_try) 2>&5
     26819  ac_status=$?
     26820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26821  (exit $ac_status); }; } &&
     26822         { ac_try='test -s conftest$ac_exeext'
     26823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26824  (eval $ac_try) 2>&5
     26825  ac_status=$?
     26826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26827  (exit $ac_status); }; }; then
     26828  LIBS="$flink_save_libs"
     26829                     coin_need_flibs=yes
     26830                     use_lapack="-lcomplib.sgimath $BLAS_LIBS"
     26831                           if test $coin_need_flibs = yes ; then
     26832                             use_lapack="$use_lapack $FLIBS"
     26833                           fi
     26834                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26835echo "${ECHO_T}yes: $use_lapack" >&6
     26836
     26837
     26838else
     26839  echo "$as_me: failed program was:" >&5
     26840sed 's/^/| /' conftest.$ac_ext >&5
     26841
     26842LIBS="$flink_save_libs"
     26843                     echo "$as_me:$LINENO: result: no" >&5
     26844echo "${ECHO_T}no" >&6
     26845fi
     26846rm -f conftest.err conftest.$ac_objext \
     26847      conftest$ac_exeext conftest.$ac_ext
     26848      else
     26849        echo "$as_me:$LINENO: result: no" >&5
     26850echo "${ECHO_T}no" >&6
     26851      fi
     26852    fi
     26853    ;;
     26854esac
     26855
     26856        LIBS="$coin_save_LIBS"
     26857        ;;
     26858
     26859      # See comments in COIN_CHECK_PACKAGE_BLAS.
     26860      # TODO: Is this check actually needed here, since -lsunperf should have been recognized as Blas library,
     26861      #       and above it is checked whether the Blas library already contains Lapack
     26862      *-*-solaris*)
     26863        echo "$as_me:$LINENO: checking for LAPACK in libsunperf" >&5
     26864echo $ECHO_N "checking for LAPACK in libsunperf... $ECHO_C" >&6
     26865        coin_need_flibs=no
     26866        coin_save_LIBS="$LIBS"
     26867        LIBS="-lsunperf $BLAS_LIBS $FLIBS $LIBS"
     26868        case $ac_ext in
     26869  f)
     26870    cat >conftest.$ac_ext <<_ACEOF
     26871/* confdefs.h.  */
     26872_ACEOF
     26873cat confdefs.h >>conftest.$ac_ext
     26874cat >>conftest.$ac_ext <<_ACEOF
     26875/* end confdefs.h.  */
     26876
     26877#ifdef F77_DUMMY_MAIN
     26878
     26879#  ifdef __cplusplus
     26880     extern "C"
     26881#  endif
     26882   int F77_DUMMY_MAIN() { return 1; }
     26883
     26884#endif
     26885int
     26886main ()
     26887{
     26888      call dsyev
     26889  ;
     26890  return 0;
     26891}
     26892_ACEOF
     26893rm -f conftest.$ac_objext conftest$ac_exeext
     26894if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26895  (eval $ac_link) 2>conftest.er1
     26896  ac_status=$?
     26897  grep -v '^ *+' conftest.er1 >conftest.err
     26898  rm -f conftest.er1
     26899  cat conftest.err >&5
     26900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26901  (exit $ac_status); } &&
     26902         { ac_try='test -z "$ac_c_werror_flag"
     26903                         || test ! -s conftest.err'
     26904  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26905  (eval $ac_try) 2>&5
     26906  ac_status=$?
     26907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26908  (exit $ac_status); }; } &&
     26909         { ac_try='test -s conftest$ac_exeext'
     26910  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26911  (eval $ac_try) 2>&5
     26912  ac_status=$?
     26913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26914  (exit $ac_status); }; }; then
     26915  use_lapack='-lsunperf $BLAS_LIBS'
     26916                           if test $coin_need_flibs = yes ; then
     26917                             use_lapack="$use_lapack $FLIBS"
     26918                           fi
     26919                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     26920echo "${ECHO_T}yes: $use_lapack" >&6
     26921
     26922else
     26923  echo "$as_me: failed program was:" >&5
     26924sed 's/^/| /' conftest.$ac_ext >&5
     26925
     26926echo "$as_me:$LINENO: result: no" >&5
     26927echo "${ECHO_T}no" >&6
     26928fi
     26929rm -f conftest.err conftest.$ac_objext \
     26930      conftest$ac_exeext conftest.$ac_ext
     26931    ;;
     26932  c)
     26933    ac_ext=f
     26934ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     26935ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26936ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     26937case $ac_cv_f77_mangling in
     26938  upper*) ac_val="DSYEV" ;;
     26939  lower*) ac_val="dsyev" ;;
     26940  *)      ac_val="unknown" ;;
     26941esac
     26942case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     26943
     26944cfuncdsyev="$ac_val"
     26945
     26946ac_ext=c
     26947ac_cpp='$CPP $CPPFLAGS'
     26948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     26949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     26950ac_compiler_gnu=$ac_cv_c_compiler_gnu
     26951
     26952    if test x"$coin_need_flibs" = xyes; then
     26953      flink_try=no;
     26954    else
     26955      cat >conftest.$ac_ext <<_ACEOF
     26956/* confdefs.h.  */
     26957_ACEOF
     26958cat confdefs.h >>conftest.$ac_ext
     26959cat >>conftest.$ac_ext <<_ACEOF
     26960/* end confdefs.h.  */
     26961void $cfuncdsyev();
     26962#ifdef F77_DUMMY_MAIN
     26963
     26964#  ifdef __cplusplus
     26965     extern "C"
     26966#  endif
     26967   int F77_DUMMY_MAIN() { return 1; }
     26968
     26969#endif
     26970int
     26971main ()
     26972{
     26973$cfuncdsyev()
     26974  ;
     26975  return 0;
     26976}
     26977_ACEOF
     26978rm -f conftest.$ac_objext conftest$ac_exeext
     26979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     26980  (eval $ac_link) 2>conftest.er1
     26981  ac_status=$?
     26982  grep -v '^ *+' conftest.er1 >conftest.err
     26983  rm -f conftest.er1
     26984  cat conftest.err >&5
     26985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26986  (exit $ac_status); } &&
     26987         { ac_try='test -z "$ac_c_werror_flag"
     26988                         || test ! -s conftest.err'
     26989  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26990  (eval $ac_try) 2>&5
     26991  ac_status=$?
     26992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26993  (exit $ac_status); }; } &&
     26994         { ac_try='test -s conftest$ac_exeext'
     26995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     26996  (eval $ac_try) 2>&5
     26997  ac_status=$?
     26998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     26999  (exit $ac_status); }; }; then
     27000  flink_try=yes
     27001else
     27002  echo "$as_me: failed program was:" >&5
     27003sed 's/^/| /' conftest.$ac_ext >&5
     27004
     27005flink_try=no
     27006fi
     27007rm -f conftest.err conftest.$ac_objext \
     27008      conftest$ac_exeext conftest.$ac_ext
     27009    fi
     27010    if test $flink_try = yes; then
     27011      use_lapack='-lsunperf $BLAS_LIBS'
     27012                           if test $coin_need_flibs = yes ; then
     27013                             use_lapack="$use_lapack $FLIBS"
     27014                           fi
     27015                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27016echo "${ECHO_T}yes: $use_lapack" >&6
     27017
     27018    else
     27019      if test x"$FLIBS" != x; then
     27020        flink_save_libs="$LIBS"
     27021        LIBS="$LIBS $FLIBS"
     27022        cat >conftest.$ac_ext <<_ACEOF
     27023/* confdefs.h.  */
     27024_ACEOF
     27025cat confdefs.h >>conftest.$ac_ext
     27026cat >>conftest.$ac_ext <<_ACEOF
     27027/* end confdefs.h.  */
     27028void $cfuncdsyev();
     27029#ifdef F77_DUMMY_MAIN
     27030
     27031#  ifdef __cplusplus
     27032     extern "C"
     27033#  endif
     27034   int F77_DUMMY_MAIN() { return 1; }
     27035
     27036#endif
     27037int
     27038main ()
     27039{
     27040$cfuncdsyev()
     27041  ;
     27042  return 0;
     27043}
     27044_ACEOF
     27045rm -f conftest.$ac_objext conftest$ac_exeext
     27046if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27047  (eval $ac_link) 2>conftest.er1
     27048  ac_status=$?
     27049  grep -v '^ *+' conftest.er1 >conftest.err
     27050  rm -f conftest.er1
     27051  cat conftest.err >&5
     27052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27053  (exit $ac_status); } &&
     27054         { ac_try='test -z "$ac_c_werror_flag"
     27055                         || test ! -s conftest.err'
     27056  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27057  (eval $ac_try) 2>&5
     27058  ac_status=$?
     27059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27060  (exit $ac_status); }; } &&
     27061         { ac_try='test -s conftest$ac_exeext'
     27062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27063  (eval $ac_try) 2>&5
     27064  ac_status=$?
     27065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27066  (exit $ac_status); }; }; then
     27067  LIBS="$flink_save_libs"
     27068                     coin_need_flibs=yes
     27069                     use_lapack='-lsunperf $BLAS_LIBS'
     27070                           if test $coin_need_flibs = yes ; then
     27071                             use_lapack="$use_lapack $FLIBS"
     27072                           fi
     27073                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27074echo "${ECHO_T}yes: $use_lapack" >&6
     27075
     27076
     27077else
     27078  echo "$as_me: failed program was:" >&5
     27079sed 's/^/| /' conftest.$ac_ext >&5
     27080
     27081LIBS="$flink_save_libs"
     27082                     echo "$as_me:$LINENO: result: no" >&5
     27083echo "${ECHO_T}no" >&6
     27084fi
     27085rm -f conftest.err conftest.$ac_objext \
     27086      conftest$ac_exeext conftest.$ac_ext
     27087      else
     27088        echo "$as_me:$LINENO: result: no" >&5
     27089echo "${ECHO_T}no" >&6
     27090      fi
     27091    fi
     27092    ;;
     27093  cc|cpp)
     27094    ac_ext=f
     27095ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     27096ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     27097ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     27098case $ac_cv_f77_mangling in
     27099  upper*) ac_val="DSYEV" ;;
     27100  lower*) ac_val="dsyev" ;;
     27101  *)      ac_val="unknown" ;;
     27102esac
     27103case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     27104
     27105cfuncdsyev="$ac_val"
     27106
     27107ac_ext=c
     27108ac_cpp='$CPP $CPPFLAGS'
     27109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     27110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     27111ac_compiler_gnu=$ac_cv_c_compiler_gnu
     27112
     27113    if test x"$coin_need_flibs" = xyes; then
     27114      flink_try=no;
     27115    else
     27116      cat >conftest.$ac_ext <<_ACEOF
     27117/* confdefs.h.  */
     27118_ACEOF
     27119cat confdefs.h >>conftest.$ac_ext
     27120cat >>conftest.$ac_ext <<_ACEOF
     27121/* end confdefs.h.  */
     27122extern "C" {void $cfuncdsyev();}
     27123#ifdef F77_DUMMY_MAIN
     27124
     27125#  ifdef __cplusplus
     27126     extern "C"
     27127#  endif
     27128   int F77_DUMMY_MAIN() { return 1; }
     27129
     27130#endif
     27131int
     27132main ()
     27133{
     27134$cfuncdsyev()
     27135  ;
     27136  return 0;
     27137}
     27138_ACEOF
     27139rm -f conftest.$ac_objext conftest$ac_exeext
     27140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27141  (eval $ac_link) 2>conftest.er1
     27142  ac_status=$?
     27143  grep -v '^ *+' conftest.er1 >conftest.err
     27144  rm -f conftest.er1
     27145  cat conftest.err >&5
     27146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27147  (exit $ac_status); } &&
     27148         { ac_try='test -z "$ac_c_werror_flag"
     27149                         || test ! -s conftest.err'
     27150  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27151  (eval $ac_try) 2>&5
     27152  ac_status=$?
     27153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27154  (exit $ac_status); }; } &&
     27155         { ac_try='test -s conftest$ac_exeext'
     27156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27157  (eval $ac_try) 2>&5
     27158  ac_status=$?
     27159  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27160  (exit $ac_status); }; }; then
     27161  flink_try=yes
     27162else
     27163  echo "$as_me: failed program was:" >&5
     27164sed 's/^/| /' conftest.$ac_ext >&5
     27165
     27166flink_try=no
     27167fi
     27168rm -f conftest.err conftest.$ac_objext \
     27169      conftest$ac_exeext conftest.$ac_ext
     27170    fi
     27171    if test $flink_try = yes; then
     27172      use_lapack='-lsunperf $BLAS_LIBS'
     27173                           if test $coin_need_flibs = yes ; then
     27174                             use_lapack="$use_lapack $FLIBS"
     27175                           fi
     27176                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27177echo "${ECHO_T}yes: $use_lapack" >&6
     27178
     27179    else
     27180      if test x"$FLIBS" != x; then
     27181        flink_save_libs="$LIBS"
     27182        LIBS="$LIBS $FLIBS"
     27183        cat >conftest.$ac_ext <<_ACEOF
     27184/* confdefs.h.  */
     27185_ACEOF
     27186cat confdefs.h >>conftest.$ac_ext
     27187cat >>conftest.$ac_ext <<_ACEOF
     27188/* end confdefs.h.  */
     27189extern "C" {void $cfuncdsyev();}
     27190#ifdef F77_DUMMY_MAIN
     27191
     27192#  ifdef __cplusplus
     27193     extern "C"
     27194#  endif
     27195   int F77_DUMMY_MAIN() { return 1; }
     27196
     27197#endif
     27198int
     27199main ()
     27200{
     27201$cfuncdsyev()
     27202  ;
     27203  return 0;
     27204}
     27205_ACEOF
     27206rm -f conftest.$ac_objext conftest$ac_exeext
     27207if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27208  (eval $ac_link) 2>conftest.er1
     27209  ac_status=$?
     27210  grep -v '^ *+' conftest.er1 >conftest.err
     27211  rm -f conftest.er1
     27212  cat conftest.err >&5
     27213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27214  (exit $ac_status); } &&
     27215         { ac_try='test -z "$ac_c_werror_flag"
     27216                         || test ! -s conftest.err'
     27217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27218  (eval $ac_try) 2>&5
     27219  ac_status=$?
     27220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27221  (exit $ac_status); }; } &&
     27222         { ac_try='test -s conftest$ac_exeext'
     27223  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27224  (eval $ac_try) 2>&5
     27225  ac_status=$?
     27226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27227  (exit $ac_status); }; }; then
     27228  LIBS="$flink_save_libs"
     27229                     coin_need_flibs=yes
     27230                     use_lapack='-lsunperf $BLAS_LIBS'
     27231                           if test $coin_need_flibs = yes ; then
     27232                             use_lapack="$use_lapack $FLIBS"
     27233                           fi
     27234                           echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27235echo "${ECHO_T}yes: $use_lapack" >&6
     27236
     27237
     27238else
     27239  echo "$as_me: failed program was:" >&5
     27240sed 's/^/| /' conftest.$ac_ext >&5
     27241
     27242LIBS="$flink_save_libs"
     27243                     echo "$as_me:$LINENO: result: no" >&5
     27244echo "${ECHO_T}no" >&6
     27245fi
     27246rm -f conftest.err conftest.$ac_objext \
     27247      conftest$ac_exeext conftest.$ac_ext
     27248      else
     27249        echo "$as_me:$LINENO: result: no" >&5
     27250echo "${ECHO_T}no" >&6
     27251      fi
     27252    fi
     27253    ;;
     27254esac
     27255
     27256        LIBS="$coin_save_LIBS"
     27257        ;;
     27258        # On cygwin, do this check only if doscompile is disabled. The prebuilt library
     27259        # will want to link with cygwin, hence won't run standalone in DOS.
     27260    esac
     27261  fi
     27262
     27263  if test -z "$use_lapack" ; then
     27264    echo "$as_me:$LINENO: checking whether -llapack has LAPACK" >&5
     27265echo $ECHO_N "checking whether -llapack has LAPACK... $ECHO_C" >&6
     27266    coin_need_flibs=no
     27267    coin_save_LIBS="$LIBS"
     27268    LIBS="-llapack $BLAS_LIBS $LIBS"
     27269    case $ac_ext in
     27270  f)
     27271    cat >conftest.$ac_ext <<_ACEOF
     27272/* confdefs.h.  */
     27273_ACEOF
     27274cat confdefs.h >>conftest.$ac_ext
     27275cat >>conftest.$ac_ext <<_ACEOF
     27276/* end confdefs.h.  */
     27277
     27278#ifdef F77_DUMMY_MAIN
     27279
     27280#  ifdef __cplusplus
     27281     extern "C"
     27282#  endif
     27283   int F77_DUMMY_MAIN() { return 1; }
     27284
     27285#endif
     27286int
     27287main ()
     27288{
     27289      call dsyev
     27290  ;
     27291  return 0;
     27292}
     27293_ACEOF
     27294rm -f conftest.$ac_objext conftest$ac_exeext
     27295if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27296  (eval $ac_link) 2>conftest.er1
     27297  ac_status=$?
     27298  grep -v '^ *+' conftest.er1 >conftest.err
     27299  rm -f conftest.er1
     27300  cat conftest.err >&5
     27301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27302  (exit $ac_status); } &&
     27303         { ac_try='test -z "$ac_c_werror_flag"
     27304                         || test ! -s conftest.err'
     27305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27306  (eval $ac_try) 2>&5
     27307  ac_status=$?
     27308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27309  (exit $ac_status); }; } &&
     27310         { ac_try='test -s conftest$ac_exeext'
     27311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27312  (eval $ac_try) 2>&5
     27313  ac_status=$?
     27314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27315  (exit $ac_status); }; }; then
     27316  use_lapack='-llapack'
     27317                       if test $coin_need_flibs = yes ; then
     27318                         use_lapack="$use_lapack $FLIBS"
     27319                       fi
     27320                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27321echo "${ECHO_T}yes: $use_lapack" >&6
     27322
     27323else
     27324  echo "$as_me: failed program was:" >&5
     27325sed 's/^/| /' conftest.$ac_ext >&5
     27326
     27327echo "$as_me:$LINENO: result: no" >&5
     27328echo "${ECHO_T}no" >&6
     27329fi
     27330rm -f conftest.err conftest.$ac_objext \
     27331      conftest$ac_exeext conftest.$ac_ext
     27332    ;;
     27333  c)
     27334    ac_ext=f
     27335ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     27336ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     27337ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     27338case $ac_cv_f77_mangling in
     27339  upper*) ac_val="DSYEV" ;;
     27340  lower*) ac_val="dsyev" ;;
     27341  *)      ac_val="unknown" ;;
     27342esac
     27343case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     27344
     27345cfuncdsyev="$ac_val"
     27346
     27347ac_ext=c
     27348ac_cpp='$CPP $CPPFLAGS'
     27349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     27350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     27351ac_compiler_gnu=$ac_cv_c_compiler_gnu
     27352
     27353    if test x"$coin_need_flibs" = xyes; then
     27354      flink_try=no;
     27355    else
     27356      cat >conftest.$ac_ext <<_ACEOF
     27357/* confdefs.h.  */
     27358_ACEOF
     27359cat confdefs.h >>conftest.$ac_ext
     27360cat >>conftest.$ac_ext <<_ACEOF
     27361/* end confdefs.h.  */
     27362void $cfuncdsyev();
     27363#ifdef F77_DUMMY_MAIN
     27364
     27365#  ifdef __cplusplus
     27366     extern "C"
     27367#  endif
     27368   int F77_DUMMY_MAIN() { return 1; }
     27369
     27370#endif
     27371int
     27372main ()
     27373{
     27374$cfuncdsyev()
     27375  ;
     27376  return 0;
     27377}
     27378_ACEOF
     27379rm -f conftest.$ac_objext conftest$ac_exeext
     27380if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27381  (eval $ac_link) 2>conftest.er1
     27382  ac_status=$?
     27383  grep -v '^ *+' conftest.er1 >conftest.err
     27384  rm -f conftest.er1
     27385  cat conftest.err >&5
     27386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27387  (exit $ac_status); } &&
     27388         { ac_try='test -z "$ac_c_werror_flag"
     27389                         || test ! -s conftest.err'
     27390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27391  (eval $ac_try) 2>&5
     27392  ac_status=$?
     27393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27394  (exit $ac_status); }; } &&
     27395         { ac_try='test -s conftest$ac_exeext'
     27396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27397  (eval $ac_try) 2>&5
     27398  ac_status=$?
     27399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27400  (exit $ac_status); }; }; then
     27401  flink_try=yes
     27402else
     27403  echo "$as_me: failed program was:" >&5
     27404sed 's/^/| /' conftest.$ac_ext >&5
     27405
     27406flink_try=no
     27407fi
     27408rm -f conftest.err conftest.$ac_objext \
     27409      conftest$ac_exeext conftest.$ac_ext
     27410    fi
     27411    if test $flink_try = yes; then
     27412      use_lapack='-llapack'
     27413                       if test $coin_need_flibs = yes ; then
     27414                         use_lapack="$use_lapack $FLIBS"
     27415                       fi
     27416                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27417echo "${ECHO_T}yes: $use_lapack" >&6
     27418
     27419    else
     27420      if test x"$FLIBS" != x; then
     27421        flink_save_libs="$LIBS"
     27422        LIBS="$LIBS $FLIBS"
     27423        cat >conftest.$ac_ext <<_ACEOF
     27424/* confdefs.h.  */
     27425_ACEOF
     27426cat confdefs.h >>conftest.$ac_ext
     27427cat >>conftest.$ac_ext <<_ACEOF
     27428/* end confdefs.h.  */
     27429void $cfuncdsyev();
     27430#ifdef F77_DUMMY_MAIN
     27431
     27432#  ifdef __cplusplus
     27433     extern "C"
     27434#  endif
     27435   int F77_DUMMY_MAIN() { return 1; }
     27436
     27437#endif
     27438int
     27439main ()
     27440{
     27441$cfuncdsyev()
     27442  ;
     27443  return 0;
     27444}
     27445_ACEOF
     27446rm -f conftest.$ac_objext conftest$ac_exeext
     27447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27448  (eval $ac_link) 2>conftest.er1
     27449  ac_status=$?
     27450  grep -v '^ *+' conftest.er1 >conftest.err
     27451  rm -f conftest.er1
     27452  cat conftest.err >&5
     27453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27454  (exit $ac_status); } &&
     27455         { ac_try='test -z "$ac_c_werror_flag"
     27456                         || test ! -s conftest.err'
     27457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27458  (eval $ac_try) 2>&5
     27459  ac_status=$?
     27460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27461  (exit $ac_status); }; } &&
     27462         { ac_try='test -s conftest$ac_exeext'
     27463  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27464  (eval $ac_try) 2>&5
     27465  ac_status=$?
     27466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27467  (exit $ac_status); }; }; then
     27468  LIBS="$flink_save_libs"
     27469                     coin_need_flibs=yes
     27470                     use_lapack='-llapack'
     27471                       if test $coin_need_flibs = yes ; then
     27472                         use_lapack="$use_lapack $FLIBS"
     27473                       fi
     27474                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27475echo "${ECHO_T}yes: $use_lapack" >&6
     27476
     27477
     27478else
     27479  echo "$as_me: failed program was:" >&5
     27480sed 's/^/| /' conftest.$ac_ext >&5
     27481
     27482LIBS="$flink_save_libs"
     27483                     echo "$as_me:$LINENO: result: no" >&5
     27484echo "${ECHO_T}no" >&6
     27485fi
     27486rm -f conftest.err conftest.$ac_objext \
     27487      conftest$ac_exeext conftest.$ac_ext
     27488      else
     27489        echo "$as_me:$LINENO: result: no" >&5
     27490echo "${ECHO_T}no" >&6
     27491      fi
     27492    fi
     27493    ;;
     27494  cc|cpp)
     27495    ac_ext=f
     27496ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     27497ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     27498ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     27499case $ac_cv_f77_mangling in
     27500  upper*) ac_val="DSYEV" ;;
     27501  lower*) ac_val="dsyev" ;;
     27502  *)      ac_val="unknown" ;;
     27503esac
     27504case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
     27505
     27506cfuncdsyev="$ac_val"
     27507
     27508ac_ext=c
     27509ac_cpp='$CPP $CPPFLAGS'
     27510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     27511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     27512ac_compiler_gnu=$ac_cv_c_compiler_gnu
     27513
     27514    if test x"$coin_need_flibs" = xyes; then
     27515      flink_try=no;
     27516    else
     27517      cat >conftest.$ac_ext <<_ACEOF
     27518/* confdefs.h.  */
     27519_ACEOF
     27520cat confdefs.h >>conftest.$ac_ext
     27521cat >>conftest.$ac_ext <<_ACEOF
     27522/* end confdefs.h.  */
     27523extern "C" {void $cfuncdsyev();}
     27524#ifdef F77_DUMMY_MAIN
     27525
     27526#  ifdef __cplusplus
     27527     extern "C"
     27528#  endif
     27529   int F77_DUMMY_MAIN() { return 1; }
     27530
     27531#endif
     27532int
     27533main ()
     27534{
     27535$cfuncdsyev()
     27536  ;
     27537  return 0;
     27538}
     27539_ACEOF
     27540rm -f conftest.$ac_objext conftest$ac_exeext
     27541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27542  (eval $ac_link) 2>conftest.er1
     27543  ac_status=$?
     27544  grep -v '^ *+' conftest.er1 >conftest.err
     27545  rm -f conftest.er1
     27546  cat conftest.err >&5
     27547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27548  (exit $ac_status); } &&
     27549         { ac_try='test -z "$ac_c_werror_flag"
     27550                         || test ! -s conftest.err'
     27551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27552  (eval $ac_try) 2>&5
     27553  ac_status=$?
     27554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27555  (exit $ac_status); }; } &&
     27556         { ac_try='test -s conftest$ac_exeext'
     27557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27558  (eval $ac_try) 2>&5
     27559  ac_status=$?
     27560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27561  (exit $ac_status); }; }; then
     27562  flink_try=yes
     27563else
     27564  echo "$as_me: failed program was:" >&5
     27565sed 's/^/| /' conftest.$ac_ext >&5
     27566
     27567flink_try=no
     27568fi
     27569rm -f conftest.err conftest.$ac_objext \
     27570      conftest$ac_exeext conftest.$ac_ext
     27571    fi
     27572    if test $flink_try = yes; then
     27573      use_lapack='-llapack'
     27574                       if test $coin_need_flibs = yes ; then
     27575                         use_lapack="$use_lapack $FLIBS"
     27576                       fi
     27577                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27578echo "${ECHO_T}yes: $use_lapack" >&6
     27579
     27580    else
     27581      if test x"$FLIBS" != x; then
     27582        flink_save_libs="$LIBS"
     27583        LIBS="$LIBS $FLIBS"
     27584        cat >conftest.$ac_ext <<_ACEOF
     27585/* confdefs.h.  */
     27586_ACEOF
     27587cat confdefs.h >>conftest.$ac_ext
     27588cat >>conftest.$ac_ext <<_ACEOF
     27589/* end confdefs.h.  */
     27590extern "C" {void $cfuncdsyev();}
     27591#ifdef F77_DUMMY_MAIN
     27592
     27593#  ifdef __cplusplus
     27594     extern "C"
     27595#  endif
     27596   int F77_DUMMY_MAIN() { return 1; }
     27597
     27598#endif
     27599int
     27600main ()
     27601{
     27602$cfuncdsyev()
     27603  ;
     27604  return 0;
     27605}
     27606_ACEOF
     27607rm -f conftest.$ac_objext conftest$ac_exeext
     27608if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     27609  (eval $ac_link) 2>conftest.er1
     27610  ac_status=$?
     27611  grep -v '^ *+' conftest.er1 >conftest.err
     27612  rm -f conftest.er1
     27613  cat conftest.err >&5
     27614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27615  (exit $ac_status); } &&
     27616         { ac_try='test -z "$ac_c_werror_flag"
     27617                         || test ! -s conftest.err'
     27618  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27619  (eval $ac_try) 2>&5
     27620  ac_status=$?
     27621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27622  (exit $ac_status); }; } &&
     27623         { ac_try='test -s conftest$ac_exeext'
     27624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     27625  (eval $ac_try) 2>&5
     27626  ac_status=$?
     27627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     27628  (exit $ac_status); }; }; then
     27629  LIBS="$flink_save_libs"
     27630                     coin_need_flibs=yes
     27631                     use_lapack='-llapack'
     27632                       if test $coin_need_flibs = yes ; then
     27633                         use_lapack="$use_lapack $FLIBS"
     27634                       fi
     27635                       echo "$as_me:$LINENO: result: yes: $use_lapack" >&5
     27636echo "${ECHO_T}yes: $use_lapack" >&6
     27637
     27638
     27639else
     27640  echo "$as_me: failed program was:" >&5
     27641sed 's/^/| /' conftest.$ac_ext >&5
     27642
     27643LIBS="$flink_save_libs"
     27644                     echo "$as_me:$LINENO: result: no" >&5
     27645echo "${ECHO_T}no" >&6
     27646fi
     27647rm -f conftest.err conftest.$ac_objext \
     27648      conftest$ac_exeext conftest.$ac_ext
     27649      else
     27650        echo "$as_me:$LINENO: result: no" >&5
     27651echo "${ECHO_T}no" >&6
     27652      fi
     27653    fi
     27654    ;;
     27655esac
     27656
     27657    LIBS="$coin_save_LIBS"
     27658  fi
     27659
     27660  # If we have no other ideas, consider building LAPACK.
     27661  if test -z "$use_lapack" ; then
     27662    use_lapack=BUILD
     27663  fi
     27664fi
     27665
     27666if test "x$use_lapack" = xBUILD ; then
     27667
     27668echo "$as_me:$LINENO: checking for COIN-OR package Lapack" >&5
     27669echo $ECHO_N "checking for COIN-OR package Lapack... $ECHO_C" >&6
     27670
     27671coin_has_lapack=notGiven
     27672
     27673# check if user wants to skip package in any case
     27674if test x"$COIN_SKIP_PROJECTS" != x; then
     27675  for dir in $COIN_SKIP_PROJECTS; do
     27676    if test $dir = "Lapack"; then
     27677      coin_has_lapack=skipping
     27678    fi
     27679  done
     27680fi
     27681
     27682if test "$coin_has_lapack" != skipping; then
     27683
     27684# Check whether --with-m4_tolower(Lapack) or --without-m4_tolower(Lapack) was given.
     27685if test "${with_lapack+set}" = set; then
     27686  withval="$with_lapack"
     27687  if test "$withval" = no ; then
     27688       coin_has_lapack=skipping
     27689     fi
     27690
     27691fi;
     27692fi
     27693
     27694LAPACK_LIBS=
     27695LAPACK_CFLAGS=
     27696LAPACK_DATA=
     27697LAPACK_DEPENDENCIES=
     27698LAPACK_PCLIBS=
     27699LAPACK_PCREQUIRES=
     27700
     27701
     27702
     27703
     27704
     27705
     27706
     27707
     27708
     27709
     27710
     27711
     27712
     27713
     27714
     27715
     27716
     27717#check if user provided LIBS, CFLAGS, or DATA for package or disables use of package
     27718if test $coin_has_lapack != skipping; then
     27719
     27720# Check whether --with-m4_tolower(Lapack)-lib or --without-m4_tolower(Lapack)-lib was given.
     27721if test "${with_lapack_lib+set}" = set; then
     27722  withval="$with_lapack_lib"
     27723  if test "$withval" = no ; then
     27724       coin_has_lapack=skipping
     27725     else
     27726       coin_has_lapack=yes
     27727       LAPACK_LIBS="$withval"
     27728       LAPACK_PCLIBS="$withval"
     27729
     27730         HSL_PCLIBS="$withval $HSL_PCLIBS"
     27731         HSL_LIBS="$withval $HSL_LIBS"
     27732
     27733       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     27734       if test -z "$PKG_CONFIG" ; then
     27735         LAPACK_LIBS_INSTALLED="$withval"
     27736         HSL_LIBS_INSTALLED="$withval $HSL_LIBS_INSTALLED"
     27737       fi
     27738     fi
     27739
     27740fi;
     27741fi
     27742
     27743if test $coin_has_lapack != skipping; then
     27744
     27745# Check whether --with-m4_tolower(Lapack)-incdir or --without-m4_tolower(Lapack)-incdir was given.
     27746if test "${with_lapack_incdir+set}" = set; then
     27747  withval="$with_lapack_incdir"
     27748  if test "$withval" = no ; then
     27749       coin_has_lapack=skipping
     27750     else
     27751       coin_has_lapack=yes
     27752       LAPACK_CFLAGS="-I`${CYGPATH_W} $withval`"
     27753       HSL_CFLAGS="-I`${CYGPATH_W} $withval` $HSL_CFLAGS"
     27754       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     27755       if test -z "$PKG_CONFIG" ; then
     27756         LAPACK_CFLAGS_INSTALLED="$LAPACK_CFLAGS"
     27757         HSL_CFLAGS_INSTALLED="$LAPACK_CFLAGS $HSL_CFLAGS_INSTALLED"
     27758       fi
     27759     fi
     27760
     27761fi;
     27762fi
     27763
     27764if test $coin_has_lapack != skipping; then
     27765
     27766# Check whether --with-m4_tolower(Lapack)-datadir or --without-m4_tolower(Lapack)-datadir was given.
     27767if test "${with_lapack_datadir+set}" = set; then
     27768  withval="$with_lapack_datadir"
     27769  if test "$withval" = no ; then
     27770       coin_has_lapack=skipping
     27771     else
     27772       coin_has_lapack=yes
     27773       LAPACK_DATA="$withval"
     27774       # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables
     27775       if test -z "$PKG_CONFIG" ; then
     27776         LAPACK_DATA_INSTALLED="$withval"
     27777       fi
     27778     fi
     27779
     27780fi;
     27781fi
     27782
     27783if test $coin_has_lapack = notGiven; then
     27784  if test -n "$PKG_CONFIG" ; then
     27785    # set search path for pkg-config
     27786    # need to export variable to be sure that the following pkg-config gets these values
     27787    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     27788    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     27789    export PKG_CONFIG_PATH
     27790
     27791    # let pkg-config do it's magic
     27792
     27793
     27794
     27795if test -n "$PKG_CONFIG" ; then
     27796  if $PKG_CONFIG --exists "coinlapack"; then
     27797    LAPACK_VERSIONS=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null | tr '\n' ' '`
     27798     cflags=`$PKG_CONFIG --cflags "coinlapack" 2>/dev/null`
     27799    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     27800        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     27801        # but only do this if is not trivial
     27802    if test "$CYGPATH_W" != "echo" ; then
     27803      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     27804      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     27805    fi
     27806    LAPACK_CFLAGS="$cflags"
     27807    LAPACK_LIBS=`$PKG_CONFIG --libs "coinlapack" 2>/dev/null`
     27808    LAPACK_DATA=`$PKG_CONFIG --variable=datadir "coinlapack" 2>/dev/null`
     27809     coin_has_lapack=yes
     27810        echo "$as_me:$LINENO: result: yes: $LAPACK_VERSIONS" >&5
     27811echo "${ECHO_T}yes: $LAPACK_VERSIONS" >&6
     27812
     27813        # adjust linker flags for (i)cl compiler
     27814        # 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)
     27815        if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     27816        then
     27817          LAPACK_LIBS=`echo " $LAPACK_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     27818        fi
     27819        LAPACK_PCREQUIRES="coinlapack"
     27820
     27821        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in HSL
     27822
     27823          HSL_PCREQUIRES="coinlapack $HSL_PCREQUIRES"
     27824          HSL_CFLAGS="$LAPACK_CFLAGS $HSL_CFLAGS"
     27825          HSL_LIBS="$LAPACK_LIBS $HSL_LIBS"
     27826
     27827
     27828
     27829  else
     27830    LAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"`
     27831      coin_has_lapack=notGiven
     27832        echo "$as_me:$LINENO: result: not given: $LAPACK_PKG_ERRORS" >&5
     27833echo "${ECHO_T}not given: $LAPACK_PKG_ERRORS" >&6
     27834
     27835  fi
     27836else
     27837  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Lapack without pkg-config\"" >&5
     27838echo "$as_me: error: \"Cannot check for existance of module Lapack without pkg-config\"" >&2;}
     27839   { (exit 1); exit 1; }; }
     27840fi
     27841
     27842
     27843
     27844
     27845    # reset PKG_CONFIG_PATH variable
     27846    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     27847    export PKG_CONFIG_PATH
     27848
     27849  else
     27850    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     27851echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     27852
     27853echo "$as_me:$LINENO: checking for COIN-OR package Lapack (fallback)" >&5
     27854echo $ECHO_N "checking for COIN-OR package Lapack (fallback)... $ECHO_C" >&6
     27855
     27856coin_has_lapack=notGiven
     27857LAPACK_LIBS=
     27858LAPACK_LIBS_INSTALLED=
     27859LAPACK_CFLAGS=
     27860LAPACK_CFLAGS_INSTALLED=
     27861LAPACK_DATA=
     27862LAPACK_DATA_INSTALLED=
     27863LAPACK_PCLIBS=
     27864LAPACK_PCREQUIRES=
     27865
     27866# initial list of dependencies is "coinlapack", but we need to filter out version number specifications (= x, <= x, >= x, != x)
     27867projtoprocess="coinlapack"
     27868
     27869# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
     27870# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     27871# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
     27872# also, we setup the DATA variable
     27873allproj=""
     27874allpcfiles=""
     27875allpcifiles=""
     27876while test "x$projtoprocess" != x ; do
     27877
     27878  for proj in $projtoprocess ; do
     27879    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     27880    pcfile=""
     27881    save_IFS="$IFS"
     27882    IFS=":"
     27883    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     27884      # 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
     27885      if test -r "$dir/${proj}-uninstalled.pc" ; then
     27886        pcfile="$dir/$proj-uninstalled.pc"
     27887        if test -r "$dir/${proj}.pc" ; then
     27888          pcifile="$dir/${proj}.pc"
     27889        else
     27890          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     27891echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     27892          pcifile=
     27893        fi
     27894        break
     27895      fi
     27896    done
     27897    IFS="$save_IFS"
     27898
     27899    if test "x$pcfile" != x ; then
     27900      # read dependencies from $pcfile and filter it
     27901      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     27902
     27903      # add projrequires to the front of the list of projects that have to be processed next
     27904      # at the same time, remove $proj from this list
     27905      projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"`
     27906
     27907      # read DATA from $pcfile, if _DATA is still empty
     27908      if test "x$LAPACK_DATA" = x ; then
     27909        projdatadir=
     27910        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     27911        eval `sh -c "$pcfilemod"`
     27912        LAPACK_DATA="$projdatadir"
     27913      fi
     27914
     27915      allproj="$allproj $proj"
     27916      allpcfiles="$pcfile:$allpcfiles"
     27917
     27918    else
     27919      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     27920echo "${ECHO_T}no, dependency $proj not available" >&6
     27921      allproj=fail
     27922      break 2
     27923    fi
     27924
     27925    if test "x$pcifile" != x ; then
     27926      allpcifiles="$pcifile:$allpcifiles"
     27927
     27928      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     27929      if test "x$LAPACK_DATA_INSTALLED" = x ; then
     27930        projdatadir=
     27931        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     27932        eval `sh -c "$pcifilemod"`
     27933        if test "${CYGPATH_W}" != "echo"; then
     27934          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     27935        fi
     27936        LAPACK_DATA_INSTALLED="$projdatadir"
     27937      fi
     27938
     27939    fi
     27940
     27941    break
     27942  done
     27943
     27944  # remove spaces on begin of $projtoprocess
     27945  projtoprocess=`echo $projtoprocess | sed -e 's/^ *//'`
     27946
     27947done
     27948
     27949if test "$allproj" != fail ; then
     27950
     27951  # now go through the list of .pc files and assemble compiler and linker flags
     27952  # important is here to obey the reverse order that has been setup before,
     27953  # since then libraries that are required by several others should be after these other libraries
     27954  pcfilesprocessed=""
     27955
     27956  save_IFS="$IFS"
     27957  IFS=":"
     27958  for pcfile in $allpcfiles ; do
     27959
     27960    # if $pcfile has been processed already, skip this round
     27961    if test "x$pcfilesprocessed" != x ; then
     27962      for pcfiledone in $pcfilesprocessed ; do
     27963        if test "$pcfiledone" = "$pcfile" ; then
     27964          continue 2
     27965        fi
     27966      done
     27967    fi
     27968
     27969    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     27970    #   replace "Libs:" by "echo projlibs="
     27971    #   replace "Cflags:" by "echo projcflags="
     27972    #   remove every line starting with <some word>:
     27973    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
     27974
     27975    # set projcflags and projlibs variables by running $pcfilemod
     27976    # 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
     27977    projcflags=
     27978    projlibs=
     27979    IFS="$save_IFS"
     27980    eval `sh -c "$pcfilemod"`
     27981    IFS=":"
     27982
     27983    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     27984    if test "${CYGPATH_W}" != "echo"; then
     27985      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     27986    fi
     27987    LAPACK_CFLAGS="$projcflags $LAPACK_CFLAGS"
     27988
     27989    # set LIBS variable
     27990    LAPACK_LIBS="$projlibs $LAPACK_LIBS"
     27991
     27992    # remember that we have processed $pcfile
     27993    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     27994
     27995  done
     27996  IFS="$save_IFS"
     27997
     27998
     27999  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     28000  # important is here again to obey the reverse order that has been setup before,
     28001  # since then libraries that are required by several others should be after these other libraries
     28002  pcfilesprocessed=""
     28003
     28004  save_IFS="$IFS"
     28005  IFS=":"
     28006  for pcfile in $allpcifiles ; do
     28007
     28008    # if $pcfile has been processed already, skip this round
     28009    if test "x$pcfilesprocessed" != x ; then
     28010      for pcfiledone in $pcfilesprocessed ; do
     28011        if test "$pcfiledone" = "$pcfile" ; then
     28012          continue 2
     28013        fi
     28014      done
     28015    fi
     28016
     28017    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     28018    #   replace "Libs:" by "echo projlibs="
     28019    #   replace "Cflags:" by "echo projcflags="
     28020    #   remove every line starting with <some word>:
     28021    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile`
     28022
     28023    # set projcflags and projlibs variables by running $pcfilemod
     28024    # 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
     28025    projcflags=
     28026    projlibs=
     28027    IFS="$save_IFS"
     28028    eval `sh -c "$pcfilemod"`
     28029    IFS=":"
     28030
     28031    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     28032    if test "${CYGPATH_W}" != "echo"; then
     28033      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     28034    fi
     28035    LAPACK_CFLAGS_INSTALLED="$projcflags $LAPACK_CFLAGS_INSTALLED"
     28036
     28037    # set LIBS variable
     28038    LAPACK_LIBS_INSTALLED="$projlibs $LAPACK_LIBS_INSTALLED"
     28039
     28040    # remember that we have processed $pcfile
     28041    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     28042
     28043  done
     28044  IFS="$save_IFS"
     28045
     28046
     28047  # finish up
     28048  coin_has_lapack=yes
     28049  echo "$as_me:$LINENO: result: yes" >&5
     28050echo "${ECHO_T}yes" >&6
     28051
     28052cat >>confdefs.h <<\_ACEOF
     28053#define COIN_HAS_LAPACK 1
     28054_ACEOF
     28055
     28056
     28057  # adjust linker flags for (i)cl compiler
     28058  # 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),
     28059  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
     28060  #    everything of the form "-lname" by "libname.lib", and
     28061  #    everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path`
     28062  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     28063  then
     28064    LAPACK_LIBS=`echo " $LAPACK_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     28065    LAPACK_LIBS_INSTALLED=`echo " $LAPACK_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'`
     28066  fi
     28067
     28068  LAPACK_PCREQUIRES="coinlapack"
     28069
     28070    HSL_PCREQUIRES="coinlapack $HSL_PCREQUIRES"
     28071    HSL_CFLAGS="$LAPACK_CFLAGS $HSL_CFLAGS"
     28072    HSL_LIBS="$LAPACK_LIBS $HSL_LIBS"
     28073    HSL_CFLAGS_INSTALLED="$LAPACK_CFLAGS_INSTALLED $HSL_CFLAGS_INSTALLED"
     28074    HSL_LIBS_INSTALLED="$LAPACK_LIBS_INSTALLED $HSL_LIBS_INSTALLED"
     28075
     28076
     28077fi
     28078
     28079
     28080
     28081if test $coin_has_lapack != notGiven &&
     28082                test $coin_has_lapack != skipping; then
     28083  COIN_HAS_LAPACK_TRUE=
     28084  COIN_HAS_LAPACK_FALSE='#'
     28085else
     28086  COIN_HAS_LAPACK_TRUE='#'
     28087  COIN_HAS_LAPACK_FALSE=
     28088fi
     28089
     28090
     28091
     28092  fi
     28093
     28094else
     28095  echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
     28096echo "${ECHO_T}$coin_has_lapack" >&6
     28097fi
     28098
     28099if test $coin_has_lapack != skipping &&
     28100   test $coin_has_lapack != notGiven ; then
     28101
     28102cat >>confdefs.h <<\_ACEOF
     28103#define COIN_HAS_LAPACK 1
     28104_ACEOF
     28105
     28106
     28107  # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given.
     28108if test "${enable_interpackage_dependencies+set}" = set; then
     28109  enableval="$enable_interpackage_dependencies"
     28110
     28111else
     28112  enable_interpackage_dependencies=yes
     28113fi;
     28114
     28115  if test $enable_interpackage_dependencies = yes ; then
     28116     # construct dependencies variables from LIBS variables
     28117     # we add an extra space in LIBS so we can substitute out everything starting with " -"
     28118     # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* and wsock32.lib as used on Windows
     28119     # then remove everything of the form -xxx
     28120     # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl)
     28121     LAPACK_DEPENDENCIES=`echo " $LAPACK_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ wsock32[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     28122
     28123       HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ wsock32[^ ]*//g' -e 's/ -framework  *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     28124
     28125  fi
     28126
     28127  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     28128    if test -n "$LAPACK_CFLAGS" ; then
     28129      { echo "$as_me:$LINENO: Lapack CFLAGS are $LAPACK_CFLAGS" >&5
     28130echo "$as_me: Lapack CFLAGS are $LAPACK_CFLAGS" >&6;}
     28131    fi
     28132    if test -n "$LAPACK_LIBS" ; then
     28133      { echo "$as_me:$LINENO: Lapack LIBS   are $LAPACK_LIBS" >&5
     28134echo "$as_me: Lapack LIBS   are $LAPACK_LIBS" >&6;}
     28135    fi
     28136    if test -n "$LAPACK_DEPENDENCIES" ; then
     28137      { echo "$as_me:$LINENO: Lapack DEPENDENCIES are $LAPACK_DEPENDENCIES" >&5
     28138echo "$as_me: Lapack DEPENDENCIES are $LAPACK_DEPENDENCIES" >&6;}
     28139    fi
     28140    if test -n "$LAPACK_DATA" ; then
     28141      { echo "$as_me:$LINENO: Lapack DATA   is  $LAPACK_DATA" >&5
     28142echo "$as_me: Lapack DATA   is  $LAPACK_DATA" >&6;}
     28143    fi
     28144    if test -n "$LAPACK_PCLIBS" ; then
     28145      { echo "$as_me:$LINENO: Lapack PCLIBS are $LAPACK_PCLIBS" >&5
     28146echo "$as_me: Lapack PCLIBS are $LAPACK_PCLIBS" >&6;}
     28147    fi
     28148    if test -n "$LAPACK_PCREQUIRES" ; then
     28149      { echo "$as_me:$LINENO: Lapack PCREQUIRES are $LAPACK_PCREQUIRES" >&5
     28150echo "$as_me: Lapack PCREQUIRES are $LAPACK_PCREQUIRES" >&6;}
     28151    fi
     28152
     28153      { echo "$as_me:$LINENO: HSL CFLAGS are $HSL_CFLAGS" >&5
     28154echo "$as_me: HSL CFLAGS are $HSL_CFLAGS" >&6;}
     28155      { echo "$as_me:$LINENO: HSL LIBS   are $HSL_LIBS" >&5
     28156echo "$as_me: HSL LIBS   are $HSL_LIBS" >&6;}
     28157      { echo "$as_me:$LINENO: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&5
     28158echo "$as_me: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&6;}
     28159
     28160  fi
     28161fi
     28162
     28163# Define the Makefile conditional
     28164
     28165
     28166if test $coin_has_lapack != notGiven &&
     28167                test $coin_has_lapack != skipping; then
     28168  COIN_HAS_LAPACK_TRUE=
     28169  COIN_HAS_LAPACK_FALSE='#'
     28170else
     28171  COIN_HAS_LAPACK_TRUE='#'
     28172  COIN_HAS_LAPACK_FALSE=
     28173fi
     28174
     28175
     28176
     28177
     28178elif test "x$use_lapack" != x && test "$use_lapack" != no; then
     28179  coin_has_lapack=yes
     28180
     28181
     28182if test 0 = 0; then
     28183  COIN_HAS_LAPACK_TRUE=
     28184  COIN_HAS_LAPACK_FALSE='#'
     28185else
     28186  COIN_HAS_LAPACK_TRUE='#'
     28187  COIN_HAS_LAPACK_FALSE=
     28188fi
     28189
     28190
     28191cat >>confdefs.h <<\_ACEOF
     28192#define COIN_HAS_LAPACK 1
     28193_ACEOF
     28194
     28195  LAPACK_LIBS="$use_lapack"
     28196  LAPACK_CFLAGS=
     28197  LAPACK_DATA=
     28198
     28199
     28200
     28201
     28202    HSL_PCLIBS="$LAPACK_LIBS $HSL_PCLIBS"
     28203    HSL_LIBS="$LAPACK_LIBS $HSL_LIBS"
     28204    HSL_LIBS_INSTALLED="$LAPACK_LIBS $HSL_LIBS_INSTALLED"
     28205
     28206
     28207else
     28208  coin_has_lapack=no
     28209
     28210
     28211if test 0 = 1; then
     28212  COIN_HAS_LAPACK_TRUE=
     28213  COIN_HAS_LAPACK_FALSE='#'
     28214else
     28215  COIN_HAS_LAPACK_TRUE='#'
     28216  COIN_HAS_LAPACK_FALSE=
     28217fi
     28218
     28219fi
     28220
     28221
     28222
     28223
     28224
     28225
     28226
     28227
     28228  if test $coin_has_lapack != yes ; then
     28229    { { echo "$as_me:$LINENO: error: Required package LAPACK not found." >&5
     28230echo "$as_me: error: Required package LAPACK not found." >&2;}
     28231   { (exit 1); exit 1; }; }
     28232  fi
     28233else
     28234
     28235
     28236if test 0 = 1; then
     28237  COIN_HAS_LAPACK_TRUE=
     28238  COIN_HAS_LAPACK_FALSE='#'
     28239else
     28240  COIN_HAS_LAPACK_TRUE='#'
     28241  COIN_HAS_LAPACK_FALSE=
     28242fi
     28243
     28244fi
     28245
    2562228246# MA57, MA77, MA97, and MC68 can use Metis
    2562328247# if Metis is not available, then we compile a dummy metis.f that defines the Metis function symbol
     
    2565628280METIS_PCLIBS=
    2565728281METIS_PCREQUIRES=
    25658 METIS_DATA=
    2565928282
    2566028283
     
    2662629249Usually this means the macro was only invoked conditionally." >&5
    2662729250echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     29251Usually this means the macro was only invoked conditionally." >&2;}
     29252   { (exit 1); exit 1; }; }
     29253fi
     29254if test -z "${COIN_HAS_LAPACK_TRUE}" && test -z "${COIN_HAS_LAPACK_FALSE}"; then
     29255  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29256Usually this means the macro was only invoked conditionally." >&5
     29257echo "$as_me: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29258Usually this means the macro was only invoked conditionally." >&2;}
     29259   { (exit 1); exit 1; }; }
     29260fi
     29261if test -z "${COIN_HAS_LAPACK_TRUE}" && test -z "${COIN_HAS_LAPACK_FALSE}"; then
     29262  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29263Usually this means the macro was only invoked conditionally." >&5
     29264echo "$as_me: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29265Usually this means the macro was only invoked conditionally." >&2;}
     29266   { (exit 1); exit 1; }; }
     29267fi
     29268if test -z "${COIN_HAS_LAPACK_TRUE}" && test -z "${COIN_HAS_LAPACK_FALSE}"; then
     29269  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29270Usually this means the macro was only invoked conditionally." >&5
     29271echo "$as_me: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29272Usually this means the macro was only invoked conditionally." >&2;}
     29273   { (exit 1); exit 1; }; }
     29274fi
     29275if test -z "${COIN_HAS_LAPACK_TRUE}" && test -z "${COIN_HAS_LAPACK_FALSE}"; then
     29276  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29277Usually this means the macro was only invoked conditionally." >&5
     29278echo "$as_me: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29279Usually this means the macro was only invoked conditionally." >&2;}
     29280   { (exit 1); exit 1; }; }
     29281fi
     29282if test -z "${COIN_HAS_LAPACK_TRUE}" && test -z "${COIN_HAS_LAPACK_FALSE}"; then
     29283  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_LAPACK\" was never defined.
     29284Usually this means the macro was only invoked conditionally." >&5
     29285echo "$as_me: error: conditional \"COIN_HAS_LAPACK\" was never defined.
    2662829286Usually this means the macro was only invoked conditionally." >&2;}
    2662929287   { (exit 1); exit 1; }; }
     
    2735930017s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t
    2736030018s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t
     30019s,@LAPACK_LIBS@,$LAPACK_LIBS,;t t
     30020s,@LAPACK_CFLAGS@,$LAPACK_CFLAGS,;t t
     30021s,@LAPACK_DATA@,$LAPACK_DATA,;t t
     30022s,@LAPACK_DEPENDENCIES@,$LAPACK_DEPENDENCIES,;t t
     30023s,@LAPACK_LIBS_INSTALLED@,$LAPACK_LIBS_INSTALLED,;t t
     30024s,@LAPACK_CFLAGS_INSTALLED@,$LAPACK_CFLAGS_INSTALLED,;t t
     30025s,@LAPACK_DATA_INSTALLED@,$LAPACK_DATA_INSTALLED,;t t
     30026s,@COIN_HAS_LAPACK_TRUE@,$COIN_HAS_LAPACK_TRUE,;t t
     30027s,@COIN_HAS_LAPACK_FALSE@,$COIN_HAS_LAPACK_FALSE,;t t
    2736130028s,@METIS_LIBS@,$METIS_LIBS,;t t
    2736230029s,@METIS_CFLAGS@,$METIS_CFLAGS,;t t
  • ThirdParty/HSL/stable/1.4/configure.ac

    r3213 r3256  
    180180fi
    181181
     182# MA97 requires LAPACK (dpotrf)
     183if test $coin_has_hsl_ma97 != no ; then
     184  AC_COIN_CHECK_PACKAGE_LAPACK(HSL)
     185  if test $coin_has_lapack != yes ; then
     186    AC_MSG_ERROR([Required package LAPACK not found.])
     187  fi
     188else
     189  AM_CONDITIONAL(COIN_HAS_LAPACK, [test 0 = 1])
     190fi
     191
    182192# MA57, MA77, MA97, and MC68 can use Metis
    183193# if Metis is not available, then we compile a dummy metis.f that defines the Metis function symbol
Note: See TracChangeset for help on using the changeset viewer.