Changeset 3335 for ThirdParty/HSL/trunk


Ignore:
Timestamp:
Jan 18, 2015 3:32:41 AM (5 years ago)
Author:
stefan
Message:

merge r3256 from stable/1.4

Location:
ThirdParty/HSL/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/trunk

  • ThirdParty/HSL/trunk/Makefile.am

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

    r3101 r3335  
    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/trunk/config.h.in

    r2762 r3335  
    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/trunk/configure

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

    r3301 r3335  
    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.