Changeset 2434
- Timestamp:
- Sep 20, 2011 5:38:52 AM (8 years ago)
- Location:
- ThirdParty/HSL/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/HSL/trunk/Makefile.in
r2256 r2434 150 150 AUX_DIR = @AUX_DIR@ 151 151 AWK = @AWK@ 152 BLAS_CFLAGS = @BLAS_CFLAGS@ 153 BLAS_CFLAGS_INSTALLED = @BLAS_CFLAGS_INSTALLED@ 154 BLAS_DATA = @BLAS_DATA@ 155 BLAS_DATA_INSTALLED = @BLAS_DATA_INSTALLED@ 156 BLAS_DEPENDENCIES = @BLAS_DEPENDENCIES@ 157 BLAS_LIBS = @BLAS_LIBS@ 158 BLAS_LIBS_INSTALLED = @BLAS_LIBS_INSTALLED@ 152 159 BUILDTOOLSDIR = @BUILDTOOLSDIR@ 153 160 BUILD_COINHSL_FALSE = @BUILD_COINHSL_FALSE@ … … 160 167 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@ 161 168 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@ 169 COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@ 170 COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@ 162 171 COIN_HAS_MA27_FALSE = @COIN_HAS_MA27_FALSE@ 163 172 COIN_HAS_MA27_TRUE = @COIN_HAS_MA27_TRUE@ -
ThirdParty/HSL/trunk/config.h.in
r2256 r2434 30 30 /* Release Version number of project */ 31 31 #undef COINHSL_VERSION_RELEASE 32 33 /* If defined, the BLAS Library is available. */ 34 #undef COIN_HAS_BLAS 32 35 33 36 /* Define to 1 if the Metis package is available */ -
ThirdParty/HSL/trunk/configure
r2352 r2434 473 473 #endif" 474 474 475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COINHSL_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE BUILD_COINHSL_TRUE BUILD_COINHSL_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion COINHSL_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED FLIBS EGREP FC FCFLAGS ac_ct_FC LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED HSL_CFLAGS HSL_LIBS HSL_PCLIBS HSL_PCREQUIRES HSL_DEPENDENCIES HSL_CFLAGS_INSTALLED HSL_LIBS_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE BUILD_COINHSL_TRUE BUILD_COINHSL_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1126 1126 --with-metis-incdir directory with header files for using package Metis 1127 1127 --with-metis-datadir directory with data files for using package Metis 1128 --with-blas specify BLAS library (or BUILD to enforce use of 1129 ThirdParty/Blas) 1130 --with-blas-lib linker flags for using package Blas 1131 --with-blas-incdir directory with header files for using package Blas 1132 --with-blas-datadir directory with data files for using package Blas 1128 1133 1129 1134 Some influential environment variables: … … 3476 3481 3477 3482 # Provide some information about the compiler. 3478 echo "$as_me:34 78:" \3483 echo "$as_me:3483:" \ 3479 3484 "checking for Fortran 77 compiler version" >&5 3480 3485 ac_compiler=`set X $ac_compile; echo $2` … … 4249 4254 ac_save_FFLAGS=$FFLAGS 4250 4255 FFLAGS="$FFLAGS $ac_verb" 4251 (eval echo $as_me:425 1: \"$ac_link\") >&54256 (eval echo $as_me:4256: \"$ac_link\") >&5 4252 4257 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4253 4258 echo "$ac_f77_v_output" >&5 … … 4327 4332 ac_save_FFLAGS=$FFLAGS 4328 4333 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4329 (eval echo $as_me:43 29: \"$ac_link\") >&54334 (eval echo $as_me:4334: \"$ac_link\") >&5 4330 4335 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4331 4336 echo "$ac_f77_v_output" >&5 … … 5205 5210 5206 5211 # Provide some information about the compiler. 5207 echo "$as_me:52 07:" \5212 echo "$as_me:5212:" \ 5208 5213 "checking for Fortran compiler version" >&5 5209 5214 ac_compiler=`set X $ac_compile; echo $2` … … 6977 6982 *-*-irix6*) 6978 6983 # Find out which ABI we are using. 6979 echo '#line 69 79"configure"' > conftest.$ac_ext6984 echo '#line 6984 "configure"' > conftest.$ac_ext 6980 6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6981 6986 (eval $ac_compile) 2>&5 … … 9454 9459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9455 9460 -e 's:$: $lt_compiler_flag:'` 9456 (eval echo "\"\$as_me:94 56: $lt_compile\"" >&5)9461 (eval echo "\"\$as_me:9461: $lt_compile\"" >&5) 9457 9462 (eval "$lt_compile" 2>conftest.err) 9458 9463 ac_status=$? 9459 9464 cat conftest.err >&5 9460 echo "$as_me:946 0: \$? = $ac_status" >&59465 echo "$as_me:9465: \$? = $ac_status" >&5 9461 9466 if (exit $ac_status) && test -s "$ac_outfile"; then 9462 9467 # The compiler can only warn and ignore the option if not recognized … … 9722 9727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9723 9728 -e 's:$: $lt_compiler_flag:'` 9724 (eval echo "\"\$as_me:972 4: $lt_compile\"" >&5)9729 (eval echo "\"\$as_me:9729: $lt_compile\"" >&5) 9725 9730 (eval "$lt_compile" 2>conftest.err) 9726 9731 ac_status=$? 9727 9732 cat conftest.err >&5 9728 echo "$as_me:97 28: \$? = $ac_status" >&59733 echo "$as_me:9733: \$? = $ac_status" >&5 9729 9734 if (exit $ac_status) && test -s "$ac_outfile"; then 9730 9735 # The compiler can only warn and ignore the option if not recognized … … 9826 9831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9827 9832 -e 's:$: $lt_compiler_flag:'` 9828 (eval echo "\"\$as_me:98 28: $lt_compile\"" >&5)9833 (eval echo "\"\$as_me:9833: $lt_compile\"" >&5) 9829 9834 (eval "$lt_compile" 2>out/conftest.err) 9830 9835 ac_status=$? 9831 9836 cat out/conftest.err >&5 9832 echo "$as_me:983 2: \$? = $ac_status" >&59837 echo "$as_me:9837: \$? = $ac_status" >&5 9833 9838 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9834 9839 then … … 12243 12248 lt_status=$lt_dlunknown 12244 12249 cat > conftest.$ac_ext <<EOF 12245 #line 122 45"configure"12250 #line 12250 "configure" 12246 12251 #include "confdefs.h" 12247 12252 … … 12343 12348 lt_status=$lt_dlunknown 12344 12349 cat > conftest.$ac_ext <<EOF 12345 #line 123 45"configure"12350 #line 12350 "configure" 12346 12351 #include "confdefs.h" 12347 12352 … … 14703 14708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14704 14709 -e 's:$: $lt_compiler_flag:'` 14705 (eval echo "\"\$as_me:147 05: $lt_compile\"" >&5)14710 (eval echo "\"\$as_me:14710: $lt_compile\"" >&5) 14706 14711 (eval "$lt_compile" 2>conftest.err) 14707 14712 ac_status=$? 14708 14713 cat conftest.err >&5 14709 echo "$as_me:147 09: \$? = $ac_status" >&514714 echo "$as_me:14714: \$? = $ac_status" >&5 14710 14715 if (exit $ac_status) && test -s "$ac_outfile"; then 14711 14716 # The compiler can only warn and ignore the option if not recognized … … 14807 14812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14808 14813 -e 's:$: $lt_compiler_flag:'` 14809 (eval echo "\"\$as_me:148 09: $lt_compile\"" >&5)14814 (eval echo "\"\$as_me:14814: $lt_compile\"" >&5) 14810 14815 (eval "$lt_compile" 2>out/conftest.err) 14811 14816 ac_status=$? 14812 14817 cat out/conftest.err >&5 14813 echo "$as_me:1481 3: \$? = $ac_status" >&514818 echo "$as_me:14818: \$? = $ac_status" >&5 14814 14819 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14815 14820 then … … 16377 16382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16378 16383 -e 's:$: $lt_compiler_flag:'` 16379 (eval echo "\"\$as_me:163 79: $lt_compile\"" >&5)16384 (eval echo "\"\$as_me:16384: $lt_compile\"" >&5) 16380 16385 (eval "$lt_compile" 2>conftest.err) 16381 16386 ac_status=$? 16382 16387 cat conftest.err >&5 16383 echo "$as_me:1638 3: \$? = $ac_status" >&516388 echo "$as_me:16388: \$? = $ac_status" >&5 16384 16389 if (exit $ac_status) && test -s "$ac_outfile"; then 16385 16390 # The compiler can only warn and ignore the option if not recognized … … 16481 16486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16482 16487 -e 's:$: $lt_compiler_flag:'` 16483 (eval echo "\"\$as_me:1648 3: $lt_compile\"" >&5)16488 (eval echo "\"\$as_me:16488: $lt_compile\"" >&5) 16484 16489 (eval "$lt_compile" 2>out/conftest.err) 16485 16490 ac_status=$? 16486 16491 cat out/conftest.err >&5 16487 echo "$as_me:164 87: \$? = $ac_status" >&516492 echo "$as_me:16492: \$? = $ac_status" >&5 16488 16493 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16489 16494 then … … 18688 18693 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18689 18694 -e 's:$: $lt_compiler_flag:'` 18690 (eval echo "\"\$as_me:1869 0: $lt_compile\"" >&5)18695 (eval echo "\"\$as_me:18695: $lt_compile\"" >&5) 18691 18696 (eval "$lt_compile" 2>conftest.err) 18692 18697 ac_status=$? 18693 18698 cat conftest.err >&5 18694 echo "$as_me:1869 4: \$? = $ac_status" >&518699 echo "$as_me:18699: \$? = $ac_status" >&5 18695 18700 if (exit $ac_status) && test -s "$ac_outfile"; then 18696 18701 # The compiler can only warn and ignore the option if not recognized … … 18956 18961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18957 18962 -e 's:$: $lt_compiler_flag:'` 18958 (eval echo "\"\$as_me:189 58: $lt_compile\"" >&5)18963 (eval echo "\"\$as_me:18963: $lt_compile\"" >&5) 18959 18964 (eval "$lt_compile" 2>conftest.err) 18960 18965 ac_status=$? 18961 18966 cat conftest.err >&5 18962 echo "$as_me:1896 2: \$? = $ac_status" >&518967 echo "$as_me:18967: \$? = $ac_status" >&5 18963 18968 if (exit $ac_status) && test -s "$ac_outfile"; then 18964 18969 # The compiler can only warn and ignore the option if not recognized … … 19060 19065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19061 19066 -e 's:$: $lt_compiler_flag:'` 19062 (eval echo "\"\$as_me:1906 2: $lt_compile\"" >&5)19067 (eval echo "\"\$as_me:19067: $lt_compile\"" >&5) 19063 19068 (eval "$lt_compile" 2>out/conftest.err) 19064 19069 ac_status=$? 19065 19070 cat out/conftest.err >&5 19066 echo "$as_me:190 66: \$? = $ac_status" >&519071 echo "$as_me:19071: \$? = $ac_status" >&5 19067 19072 if (exit $ac_status) && test -s out/conftest2.$ac_objext 19068 19073 then … … 22557 22562 # construct dependencies variables from LIBS variables 22558 22563 # we add an extra space in LIBS so we can substitute out everything starting with " -" 22559 # remove everything of the form -framework xxx as used on Mac and mkl xxxas used on Windows22564 # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* as used on Windows 22560 22565 # then remove everything of the form -xxx 22561 22566 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 22562 METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`22563 22564 HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`22567 METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22568 22569 HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22565 22570 22566 22571 fi … … 22621 22626 { (exit 1); exit 1; }; } 22622 22627 fi 22628 22629 22630 # Check whether --with-blas or --without-blas was given. 22631 if test "${with_blas+set}" = set; then 22632 withval="$with_blas" 22633 use_blas="$withval" 22634 else 22635 use_blas= 22636 fi; 22637 22638 # if user specified --with-blas-lib, then we should give COIN_CHECK_PACKAGE 22639 # preference 22640 22641 # Check whether --with-blas-lib or --without-blas-lib was given. 22642 if test "${with_blas_lib+set}" = set; then 22643 withval="$with_blas_lib" 22644 use_blas=BUILD 22645 fi; 22646 22647 # Check if user supplied option makes sense 22648 if test x"$use_blas" != x; then 22649 if test "$use_blas" = "BUILD"; then 22650 # we come to this later 22651 : 22652 elif test "$use_blas" != "no"; then 22653 echo "$as_me:$LINENO: checking whether user supplied BLASLIB=\"$use_blas\" works" >&5 22654 echo $ECHO_N "checking whether user supplied BLASLIB=\"$use_blas\" works... $ECHO_C" >&6 22655 coin_need_flibs=no 22656 coin_save_LIBS="$LIBS" 22657 LIBS="$use_blas $LIBS" 22658 case $ac_ext in 22659 f) 22660 cat >conftest.$ac_ext <<_ACEOF 22661 /* confdefs.h. */ 22662 _ACEOF 22663 cat confdefs.h >>conftest.$ac_ext 22664 cat >>conftest.$ac_ext <<_ACEOF 22665 /* end confdefs.h. */ 22666 22667 #ifdef F77_DUMMY_MAIN 22668 22669 # ifdef __cplusplus 22670 extern "C" 22671 # endif 22672 int F77_DUMMY_MAIN() { return 1; } 22673 22674 #endif 22675 int 22676 main () 22677 { 22678 call daxpy 22679 ; 22680 return 0; 22681 } 22682 _ACEOF 22683 rm -f conftest.$ac_objext conftest$ac_exeext 22684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22685 (eval $ac_link) 2>conftest.er1 22686 ac_status=$? 22687 grep -v '^ *+' conftest.er1 >conftest.err 22688 rm -f conftest.er1 22689 cat conftest.err >&5 22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22691 (exit $ac_status); } && 22692 { ac_try='test -z "$ac_c_werror_flag" 22693 || test ! -s conftest.err' 22694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22695 (eval $ac_try) 2>&5 22696 ac_status=$? 22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22698 (exit $ac_status); }; } && 22699 { ac_try='test -s conftest$ac_exeext' 22700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22701 (eval $ac_try) 2>&5 22702 ac_status=$? 22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22704 (exit $ac_status); }; }; then 22705 if test $coin_need_flibs = yes ; then 22706 use_blas="$use_blas $FLIBS" 22707 fi 22708 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 22709 echo "${ECHO_T}yes: $use_blas" >&6 22710 else 22711 echo "$as_me: failed program was:" >&5 22712 sed 's/^/| /' conftest.$ac_ext >&5 22713 22714 echo "$as_me:$LINENO: result: no" >&5 22715 echo "${ECHO_T}no" >&6 22716 { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5 22717 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;} 22718 { (exit 1); exit 1; }; } 22719 fi 22720 rm -f conftest.err conftest.$ac_objext \ 22721 conftest$ac_exeext conftest.$ac_ext 22722 ;; 22723 c) 22724 ac_ext=f 22725 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 22726 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22727 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 22728 case $ac_cv_f77_mangling in 22729 upper*) ac_val="DAXPY" ;; 22730 lower*) ac_val="daxpy" ;; 22731 *) ac_val="unknown" ;; 22732 esac 22733 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 22734 22735 cfuncdaxpy="$ac_val" 22736 22737 ac_ext=c 22738 ac_cpp='$CPP $CPPFLAGS' 22739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22741 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22742 22743 if test x"$coin_need_flibs" = xyes; then 22744 flink_try=no; 22745 else 22746 cat >conftest.$ac_ext <<_ACEOF 22747 /* confdefs.h. */ 22748 _ACEOF 22749 cat confdefs.h >>conftest.$ac_ext 22750 cat >>conftest.$ac_ext <<_ACEOF 22751 /* end confdefs.h. */ 22752 void $cfuncdaxpy(); 22753 #ifdef F77_DUMMY_MAIN 22754 22755 # ifdef __cplusplus 22756 extern "C" 22757 # endif 22758 int F77_DUMMY_MAIN() { return 1; } 22759 22760 #endif 22761 int 22762 main () 22763 { 22764 $cfuncdaxpy() 22765 ; 22766 return 0; 22767 } 22768 _ACEOF 22769 rm -f conftest.$ac_objext conftest$ac_exeext 22770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22771 (eval $ac_link) 2>conftest.er1 22772 ac_status=$? 22773 grep -v '^ *+' conftest.er1 >conftest.err 22774 rm -f conftest.er1 22775 cat conftest.err >&5 22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22777 (exit $ac_status); } && 22778 { ac_try='test -z "$ac_c_werror_flag" 22779 || test ! -s conftest.err' 22780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22781 (eval $ac_try) 2>&5 22782 ac_status=$? 22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22784 (exit $ac_status); }; } && 22785 { ac_try='test -s conftest$ac_exeext' 22786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22787 (eval $ac_try) 2>&5 22788 ac_status=$? 22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22790 (exit $ac_status); }; }; then 22791 flink_try=yes 22792 else 22793 echo "$as_me: failed program was:" >&5 22794 sed 's/^/| /' conftest.$ac_ext >&5 22795 22796 flink_try=no 22797 fi 22798 rm -f conftest.err conftest.$ac_objext \ 22799 conftest$ac_exeext conftest.$ac_ext 22800 fi 22801 if test $flink_try = yes; then 22802 if test $coin_need_flibs = yes ; then 22803 use_blas="$use_blas $FLIBS" 22804 fi 22805 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 22806 echo "${ECHO_T}yes: $use_blas" >&6 22807 else 22808 if test x"$FLIBS" != x; then 22809 flink_save_libs="$LIBS" 22810 LIBS="$LIBS $FLIBS" 22811 cat >conftest.$ac_ext <<_ACEOF 22812 /* confdefs.h. */ 22813 _ACEOF 22814 cat confdefs.h >>conftest.$ac_ext 22815 cat >>conftest.$ac_ext <<_ACEOF 22816 /* end confdefs.h. */ 22817 void $cfuncdaxpy(); 22818 #ifdef F77_DUMMY_MAIN 22819 22820 # ifdef __cplusplus 22821 extern "C" 22822 # endif 22823 int F77_DUMMY_MAIN() { return 1; } 22824 22825 #endif 22826 int 22827 main () 22828 { 22829 $cfuncdaxpy() 22830 ; 22831 return 0; 22832 } 22833 _ACEOF 22834 rm -f conftest.$ac_objext conftest$ac_exeext 22835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22836 (eval $ac_link) 2>conftest.er1 22837 ac_status=$? 22838 grep -v '^ *+' conftest.er1 >conftest.err 22839 rm -f conftest.er1 22840 cat conftest.err >&5 22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22842 (exit $ac_status); } && 22843 { ac_try='test -z "$ac_c_werror_flag" 22844 || test ! -s conftest.err' 22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22846 (eval $ac_try) 2>&5 22847 ac_status=$? 22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22849 (exit $ac_status); }; } && 22850 { ac_try='test -s conftest$ac_exeext' 22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22852 (eval $ac_try) 2>&5 22853 ac_status=$? 22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22855 (exit $ac_status); }; }; then 22856 LIBS="$flink_save_libs" 22857 coin_need_flibs=yes 22858 if test $coin_need_flibs = yes ; then 22859 use_blas="$use_blas $FLIBS" 22860 fi 22861 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 22862 echo "${ECHO_T}yes: $use_blas" >&6 22863 22864 else 22865 echo "$as_me: failed program was:" >&5 22866 sed 's/^/| /' conftest.$ac_ext >&5 22867 22868 LIBS="$flink_save_libs" 22869 echo "$as_me:$LINENO: result: no" >&5 22870 echo "${ECHO_T}no" >&6 22871 { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5 22872 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;} 22873 { (exit 1); exit 1; }; } 22874 fi 22875 rm -f conftest.err conftest.$ac_objext \ 22876 conftest$ac_exeext conftest.$ac_ext 22877 else 22878 echo "$as_me:$LINENO: result: no" >&5 22879 echo "${ECHO_T}no" >&6 22880 { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5 22881 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;} 22882 { (exit 1); exit 1; }; } 22883 fi 22884 fi 22885 ;; 22886 cc|cpp) 22887 ac_ext=f 22888 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 22889 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22890 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 22891 case $ac_cv_f77_mangling in 22892 upper*) ac_val="DAXPY" ;; 22893 lower*) ac_val="daxpy" ;; 22894 *) ac_val="unknown" ;; 22895 esac 22896 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 22897 22898 cfuncdaxpy="$ac_val" 22899 22900 ac_ext=c 22901 ac_cpp='$CPP $CPPFLAGS' 22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22905 22906 if test x"$coin_need_flibs" = xyes; then 22907 flink_try=no; 22908 else 22909 cat >conftest.$ac_ext <<_ACEOF 22910 /* confdefs.h. */ 22911 _ACEOF 22912 cat confdefs.h >>conftest.$ac_ext 22913 cat >>conftest.$ac_ext <<_ACEOF 22914 /* end confdefs.h. */ 22915 extern "C" {void $cfuncdaxpy();} 22916 #ifdef F77_DUMMY_MAIN 22917 22918 # ifdef __cplusplus 22919 extern "C" 22920 # endif 22921 int F77_DUMMY_MAIN() { return 1; } 22922 22923 #endif 22924 int 22925 main () 22926 { 22927 $cfuncdaxpy() 22928 ; 22929 return 0; 22930 } 22931 _ACEOF 22932 rm -f conftest.$ac_objext conftest$ac_exeext 22933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22934 (eval $ac_link) 2>conftest.er1 22935 ac_status=$? 22936 grep -v '^ *+' conftest.er1 >conftest.err 22937 rm -f conftest.er1 22938 cat conftest.err >&5 22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22940 (exit $ac_status); } && 22941 { ac_try='test -z "$ac_c_werror_flag" 22942 || test ! -s conftest.err' 22943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22944 (eval $ac_try) 2>&5 22945 ac_status=$? 22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22947 (exit $ac_status); }; } && 22948 { ac_try='test -s conftest$ac_exeext' 22949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22950 (eval $ac_try) 2>&5 22951 ac_status=$? 22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22953 (exit $ac_status); }; }; then 22954 flink_try=yes 22955 else 22956 echo "$as_me: failed program was:" >&5 22957 sed 's/^/| /' conftest.$ac_ext >&5 22958 22959 flink_try=no 22960 fi 22961 rm -f conftest.err conftest.$ac_objext \ 22962 conftest$ac_exeext conftest.$ac_ext 22963 fi 22964 if test $flink_try = yes; then 22965 if test $coin_need_flibs = yes ; then 22966 use_blas="$use_blas $FLIBS" 22967 fi 22968 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 22969 echo "${ECHO_T}yes: $use_blas" >&6 22970 else 22971 if test x"$FLIBS" != x; then 22972 flink_save_libs="$LIBS" 22973 LIBS="$LIBS $FLIBS" 22974 cat >conftest.$ac_ext <<_ACEOF 22975 /* confdefs.h. */ 22976 _ACEOF 22977 cat confdefs.h >>conftest.$ac_ext 22978 cat >>conftest.$ac_ext <<_ACEOF 22979 /* end confdefs.h. */ 22980 extern "C" {void $cfuncdaxpy();} 22981 #ifdef F77_DUMMY_MAIN 22982 22983 # ifdef __cplusplus 22984 extern "C" 22985 # endif 22986 int F77_DUMMY_MAIN() { return 1; } 22987 22988 #endif 22989 int 22990 main () 22991 { 22992 $cfuncdaxpy() 22993 ; 22994 return 0; 22995 } 22996 _ACEOF 22997 rm -f conftest.$ac_objext conftest$ac_exeext 22998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22999 (eval $ac_link) 2>conftest.er1 23000 ac_status=$? 23001 grep -v '^ *+' conftest.er1 >conftest.err 23002 rm -f conftest.er1 23003 cat conftest.err >&5 23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23005 (exit $ac_status); } && 23006 { ac_try='test -z "$ac_c_werror_flag" 23007 || test ! -s conftest.err' 23008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23009 (eval $ac_try) 2>&5 23010 ac_status=$? 23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23012 (exit $ac_status); }; } && 23013 { ac_try='test -s conftest$ac_exeext' 23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23015 (eval $ac_try) 2>&5 23016 ac_status=$? 23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23018 (exit $ac_status); }; }; then 23019 LIBS="$flink_save_libs" 23020 coin_need_flibs=yes 23021 if test $coin_need_flibs = yes ; then 23022 use_blas="$use_blas $FLIBS" 23023 fi 23024 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23025 echo "${ECHO_T}yes: $use_blas" >&6 23026 23027 else 23028 echo "$as_me: failed program was:" >&5 23029 sed 's/^/| /' conftest.$ac_ext >&5 23030 23031 LIBS="$flink_save_libs" 23032 echo "$as_me:$LINENO: result: no" >&5 23033 echo "${ECHO_T}no" >&6 23034 { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5 23035 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;} 23036 { (exit 1); exit 1; }; } 23037 fi 23038 rm -f conftest.err conftest.$ac_objext \ 23039 conftest$ac_exeext conftest.$ac_ext 23040 else 23041 echo "$as_me:$LINENO: result: no" >&5 23042 echo "${ECHO_T}no" >&6 23043 { { echo "$as_me:$LINENO: error: user supplied BLAS library \"$use_blas\" does not work" >&5 23044 echo "$as_me: error: user supplied BLAS library \"$use_blas\" does not work" >&2;} 23045 { (exit 1); exit 1; }; } 23046 fi 23047 fi 23048 ;; 23049 esac 23050 23051 LIBS="$coin_save_LIBS" 23052 fi 23053 else 23054 # Try to autodetect the library for blas based on build system 23055 #AC_MSG_CHECKING([default locations for BLAS]) 23056 skip_lblas_check=no 23057 case $build in 23058 *-sgi-*) 23059 echo "$as_me:$LINENO: checking whether -lcomplib.sgimath has BLAS" >&5 23060 echo $ECHO_N "checking whether -lcomplib.sgimath has BLAS... $ECHO_C" >&6 23061 coin_need_flibs=no 23062 coin_save_LIBS="$LIBS" 23063 LIBS="-lcomplib.sgimath $LIBS" 23064 case $ac_ext in 23065 f) 23066 cat >conftest.$ac_ext <<_ACEOF 23067 /* confdefs.h. */ 23068 _ACEOF 23069 cat confdefs.h >>conftest.$ac_ext 23070 cat >>conftest.$ac_ext <<_ACEOF 23071 /* end confdefs.h. */ 23072 23073 #ifdef F77_DUMMY_MAIN 23074 23075 # ifdef __cplusplus 23076 extern "C" 23077 # endif 23078 int F77_DUMMY_MAIN() { return 1; } 23079 23080 #endif 23081 int 23082 main () 23083 { 23084 call daxpy 23085 ; 23086 return 0; 23087 } 23088 _ACEOF 23089 rm -f conftest.$ac_objext conftest$ac_exeext 23090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23091 (eval $ac_link) 2>conftest.er1 23092 ac_status=$? 23093 grep -v '^ *+' conftest.er1 >conftest.err 23094 rm -f conftest.er1 23095 cat conftest.err >&5 23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23097 (exit $ac_status); } && 23098 { ac_try='test -z "$ac_c_werror_flag" 23099 || test ! -s conftest.err' 23100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23101 (eval $ac_try) 2>&5 23102 ac_status=$? 23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23104 (exit $ac_status); }; } && 23105 { ac_try='test -s conftest$ac_exeext' 23106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23107 (eval $ac_try) 2>&5 23108 ac_status=$? 23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23110 (exit $ac_status); }; }; then 23111 use_blas="-lcomplib.sgimath" 23112 if test $coin_need_flibs = yes ; then 23113 use_blas="$use_blas $FLIBS" 23114 fi 23115 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23116 echo "${ECHO_T}yes: $use_blas" >&6 23117 23118 else 23119 echo "$as_me: failed program was:" >&5 23120 sed 's/^/| /' conftest.$ac_ext >&5 23121 23122 echo "$as_me:$LINENO: result: no" >&5 23123 echo "${ECHO_T}no" >&6 23124 fi 23125 rm -f conftest.err conftest.$ac_objext \ 23126 conftest$ac_exeext conftest.$ac_ext 23127 ;; 23128 c) 23129 ac_ext=f 23130 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 23131 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23132 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 23133 case $ac_cv_f77_mangling in 23134 upper*) ac_val="DAXPY" ;; 23135 lower*) ac_val="daxpy" ;; 23136 *) ac_val="unknown" ;; 23137 esac 23138 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 23139 23140 cfuncdaxpy="$ac_val" 23141 23142 ac_ext=c 23143 ac_cpp='$CPP $CPPFLAGS' 23144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23146 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23147 23148 if test x"$coin_need_flibs" = xyes; then 23149 flink_try=no; 23150 else 23151 cat >conftest.$ac_ext <<_ACEOF 23152 /* confdefs.h. */ 23153 _ACEOF 23154 cat confdefs.h >>conftest.$ac_ext 23155 cat >>conftest.$ac_ext <<_ACEOF 23156 /* end confdefs.h. */ 23157 void $cfuncdaxpy(); 23158 #ifdef F77_DUMMY_MAIN 23159 23160 # ifdef __cplusplus 23161 extern "C" 23162 # endif 23163 int F77_DUMMY_MAIN() { return 1; } 23164 23165 #endif 23166 int 23167 main () 23168 { 23169 $cfuncdaxpy() 23170 ; 23171 return 0; 23172 } 23173 _ACEOF 23174 rm -f conftest.$ac_objext conftest$ac_exeext 23175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23176 (eval $ac_link) 2>conftest.er1 23177 ac_status=$? 23178 grep -v '^ *+' conftest.er1 >conftest.err 23179 rm -f conftest.er1 23180 cat conftest.err >&5 23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23182 (exit $ac_status); } && 23183 { ac_try='test -z "$ac_c_werror_flag" 23184 || test ! -s conftest.err' 23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23186 (eval $ac_try) 2>&5 23187 ac_status=$? 23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23189 (exit $ac_status); }; } && 23190 { ac_try='test -s conftest$ac_exeext' 23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23192 (eval $ac_try) 2>&5 23193 ac_status=$? 23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23195 (exit $ac_status); }; }; then 23196 flink_try=yes 23197 else 23198 echo "$as_me: failed program was:" >&5 23199 sed 's/^/| /' conftest.$ac_ext >&5 23200 23201 flink_try=no 23202 fi 23203 rm -f conftest.err conftest.$ac_objext \ 23204 conftest$ac_exeext conftest.$ac_ext 23205 fi 23206 if test $flink_try = yes; then 23207 use_blas="-lcomplib.sgimath" 23208 if test $coin_need_flibs = yes ; then 23209 use_blas="$use_blas $FLIBS" 23210 fi 23211 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23212 echo "${ECHO_T}yes: $use_blas" >&6 23213 23214 else 23215 if test x"$FLIBS" != x; then 23216 flink_save_libs="$LIBS" 23217 LIBS="$LIBS $FLIBS" 23218 cat >conftest.$ac_ext <<_ACEOF 23219 /* confdefs.h. */ 23220 _ACEOF 23221 cat confdefs.h >>conftest.$ac_ext 23222 cat >>conftest.$ac_ext <<_ACEOF 23223 /* end confdefs.h. */ 23224 void $cfuncdaxpy(); 23225 #ifdef F77_DUMMY_MAIN 23226 23227 # ifdef __cplusplus 23228 extern "C" 23229 # endif 23230 int F77_DUMMY_MAIN() { return 1; } 23231 23232 #endif 23233 int 23234 main () 23235 { 23236 $cfuncdaxpy() 23237 ; 23238 return 0; 23239 } 23240 _ACEOF 23241 rm -f conftest.$ac_objext conftest$ac_exeext 23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23243 (eval $ac_link) 2>conftest.er1 23244 ac_status=$? 23245 grep -v '^ *+' conftest.er1 >conftest.err 23246 rm -f conftest.er1 23247 cat conftest.err >&5 23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23249 (exit $ac_status); } && 23250 { ac_try='test -z "$ac_c_werror_flag" 23251 || test ! -s conftest.err' 23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23253 (eval $ac_try) 2>&5 23254 ac_status=$? 23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23256 (exit $ac_status); }; } && 23257 { ac_try='test -s conftest$ac_exeext' 23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23259 (eval $ac_try) 2>&5 23260 ac_status=$? 23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23262 (exit $ac_status); }; }; then 23263 LIBS="$flink_save_libs" 23264 coin_need_flibs=yes 23265 use_blas="-lcomplib.sgimath" 23266 if test $coin_need_flibs = yes ; then 23267 use_blas="$use_blas $FLIBS" 23268 fi 23269 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23270 echo "${ECHO_T}yes: $use_blas" >&6 23271 23272 23273 else 23274 echo "$as_me: failed program was:" >&5 23275 sed 's/^/| /' conftest.$ac_ext >&5 23276 23277 LIBS="$flink_save_libs" 23278 echo "$as_me:$LINENO: result: no" >&5 23279 echo "${ECHO_T}no" >&6 23280 fi 23281 rm -f conftest.err conftest.$ac_objext \ 23282 conftest$ac_exeext conftest.$ac_ext 23283 else 23284 echo "$as_me:$LINENO: result: no" >&5 23285 echo "${ECHO_T}no" >&6 23286 fi 23287 fi 23288 ;; 23289 cc|cpp) 23290 ac_ext=f 23291 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 23292 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23293 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 23294 case $ac_cv_f77_mangling in 23295 upper*) ac_val="DAXPY" ;; 23296 lower*) ac_val="daxpy" ;; 23297 *) ac_val="unknown" ;; 23298 esac 23299 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 23300 23301 cfuncdaxpy="$ac_val" 23302 23303 ac_ext=c 23304 ac_cpp='$CPP $CPPFLAGS' 23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23308 23309 if test x"$coin_need_flibs" = xyes; then 23310 flink_try=no; 23311 else 23312 cat >conftest.$ac_ext <<_ACEOF 23313 /* confdefs.h. */ 23314 _ACEOF 23315 cat confdefs.h >>conftest.$ac_ext 23316 cat >>conftest.$ac_ext <<_ACEOF 23317 /* end confdefs.h. */ 23318 extern "C" {void $cfuncdaxpy();} 23319 #ifdef F77_DUMMY_MAIN 23320 23321 # ifdef __cplusplus 23322 extern "C" 23323 # endif 23324 int F77_DUMMY_MAIN() { return 1; } 23325 23326 #endif 23327 int 23328 main () 23329 { 23330 $cfuncdaxpy() 23331 ; 23332 return 0; 23333 } 23334 _ACEOF 23335 rm -f conftest.$ac_objext conftest$ac_exeext 23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23337 (eval $ac_link) 2>conftest.er1 23338 ac_status=$? 23339 grep -v '^ *+' conftest.er1 >conftest.err 23340 rm -f conftest.er1 23341 cat conftest.err >&5 23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23343 (exit $ac_status); } && 23344 { ac_try='test -z "$ac_c_werror_flag" 23345 || test ! -s conftest.err' 23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23347 (eval $ac_try) 2>&5 23348 ac_status=$? 23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23350 (exit $ac_status); }; } && 23351 { ac_try='test -s conftest$ac_exeext' 23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23353 (eval $ac_try) 2>&5 23354 ac_status=$? 23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23356 (exit $ac_status); }; }; then 23357 flink_try=yes 23358 else 23359 echo "$as_me: failed program was:" >&5 23360 sed 's/^/| /' conftest.$ac_ext >&5 23361 23362 flink_try=no 23363 fi 23364 rm -f conftest.err conftest.$ac_objext \ 23365 conftest$ac_exeext conftest.$ac_ext 23366 fi 23367 if test $flink_try = yes; then 23368 use_blas="-lcomplib.sgimath" 23369 if test $coin_need_flibs = yes ; then 23370 use_blas="$use_blas $FLIBS" 23371 fi 23372 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23373 echo "${ECHO_T}yes: $use_blas" >&6 23374 23375 else 23376 if test x"$FLIBS" != x; then 23377 flink_save_libs="$LIBS" 23378 LIBS="$LIBS $FLIBS" 23379 cat >conftest.$ac_ext <<_ACEOF 23380 /* confdefs.h. */ 23381 _ACEOF 23382 cat confdefs.h >>conftest.$ac_ext 23383 cat >>conftest.$ac_ext <<_ACEOF 23384 /* end confdefs.h. */ 23385 extern "C" {void $cfuncdaxpy();} 23386 #ifdef F77_DUMMY_MAIN 23387 23388 # ifdef __cplusplus 23389 extern "C" 23390 # endif 23391 int F77_DUMMY_MAIN() { return 1; } 23392 23393 #endif 23394 int 23395 main () 23396 { 23397 $cfuncdaxpy() 23398 ; 23399 return 0; 23400 } 23401 _ACEOF 23402 rm -f conftest.$ac_objext conftest$ac_exeext 23403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23404 (eval $ac_link) 2>conftest.er1 23405 ac_status=$? 23406 grep -v '^ *+' conftest.er1 >conftest.err 23407 rm -f conftest.er1 23408 cat conftest.err >&5 23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23410 (exit $ac_status); } && 23411 { ac_try='test -z "$ac_c_werror_flag" 23412 || test ! -s conftest.err' 23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23414 (eval $ac_try) 2>&5 23415 ac_status=$? 23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23417 (exit $ac_status); }; } && 23418 { ac_try='test -s conftest$ac_exeext' 23419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23420 (eval $ac_try) 2>&5 23421 ac_status=$? 23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23423 (exit $ac_status); }; }; then 23424 LIBS="$flink_save_libs" 23425 coin_need_flibs=yes 23426 use_blas="-lcomplib.sgimath" 23427 if test $coin_need_flibs = yes ; then 23428 use_blas="$use_blas $FLIBS" 23429 fi 23430 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23431 echo "${ECHO_T}yes: $use_blas" >&6 23432 23433 23434 else 23435 echo "$as_me: failed program was:" >&5 23436 sed 's/^/| /' conftest.$ac_ext >&5 23437 23438 LIBS="$flink_save_libs" 23439 echo "$as_me:$LINENO: result: no" >&5 23440 echo "${ECHO_T}no" >&6 23441 fi 23442 rm -f conftest.err conftest.$ac_objext \ 23443 conftest$ac_exeext conftest.$ac_ext 23444 else 23445 echo "$as_me:$LINENO: result: no" >&5 23446 echo "${ECHO_T}no" >&6 23447 fi 23448 fi 23449 ;; 23450 esac 23451 23452 LIBS="$coin_save_LIBS" 23453 ;; 23454 23455 # Ideally, we'd use -library=sunperf, but it's an imperfect world. Studio 23456 # cc doesn't recognise -library, it wants -xlic_lib. Studio 12 CC doesn't 23457 # recognise -xlic_lib. Libtool doesn't like -xlic_lib anyway. Sun claims 23458 # that CC and cc will understand -library in Studio 13. The main extra 23459 # function of -xlic_lib and -library is to arrange for the Fortran run-time 23460 # libraries to be linked for C++ and C. We can arrange that explicitly. 23461 *-*-solaris*) 23462 echo "$as_me:$LINENO: checking for BLAS in libsunperf" >&5 23463 echo $ECHO_N "checking for BLAS in libsunperf... $ECHO_C" >&6 23464 coin_need_flibs=no 23465 coin_save_LIBS="$LIBS" 23466 LIBS="-lsunperf $FLIBS $LIBS" 23467 case $ac_ext in 23468 f) 23469 cat >conftest.$ac_ext <<_ACEOF 23470 /* confdefs.h. */ 23471 _ACEOF 23472 cat confdefs.h >>conftest.$ac_ext 23473 cat >>conftest.$ac_ext <<_ACEOF 23474 /* end confdefs.h. */ 23475 23476 #ifdef F77_DUMMY_MAIN 23477 23478 # ifdef __cplusplus 23479 extern "C" 23480 # endif 23481 int F77_DUMMY_MAIN() { return 1; } 23482 23483 #endif 23484 int 23485 main () 23486 { 23487 call daxpy 23488 ; 23489 return 0; 23490 } 23491 _ACEOF 23492 rm -f conftest.$ac_objext conftest$ac_exeext 23493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23494 (eval $ac_link) 2>conftest.er1 23495 ac_status=$? 23496 grep -v '^ *+' conftest.er1 >conftest.err 23497 rm -f conftest.er1 23498 cat conftest.err >&5 23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23500 (exit $ac_status); } && 23501 { ac_try='test -z "$ac_c_werror_flag" 23502 || test ! -s conftest.err' 23503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23504 (eval $ac_try) 2>&5 23505 ac_status=$? 23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23507 (exit $ac_status); }; } && 23508 { ac_try='test -s conftest$ac_exeext' 23509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23510 (eval $ac_try) 2>&5 23511 ac_status=$? 23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23513 (exit $ac_status); }; }; then 23514 use_blas='-lsunperf' 23515 if test $coin_need_flibs = yes ; then 23516 use_blas="$use_blas $FLIBS" 23517 fi 23518 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23519 echo "${ECHO_T}yes: $use_blas" >&6 23520 23521 else 23522 echo "$as_me: failed program was:" >&5 23523 sed 's/^/| /' conftest.$ac_ext >&5 23524 23525 echo "$as_me:$LINENO: result: no" >&5 23526 echo "${ECHO_T}no" >&6 23527 fi 23528 rm -f conftest.err conftest.$ac_objext \ 23529 conftest$ac_exeext conftest.$ac_ext 23530 ;; 23531 c) 23532 ac_ext=f 23533 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 23534 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23535 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 23536 case $ac_cv_f77_mangling in 23537 upper*) ac_val="DAXPY" ;; 23538 lower*) ac_val="daxpy" ;; 23539 *) ac_val="unknown" ;; 23540 esac 23541 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 23542 23543 cfuncdaxpy="$ac_val" 23544 23545 ac_ext=c 23546 ac_cpp='$CPP $CPPFLAGS' 23547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23549 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23550 23551 if test x"$coin_need_flibs" = xyes; then 23552 flink_try=no; 23553 else 23554 cat >conftest.$ac_ext <<_ACEOF 23555 /* confdefs.h. */ 23556 _ACEOF 23557 cat confdefs.h >>conftest.$ac_ext 23558 cat >>conftest.$ac_ext <<_ACEOF 23559 /* end confdefs.h. */ 23560 void $cfuncdaxpy(); 23561 #ifdef F77_DUMMY_MAIN 23562 23563 # ifdef __cplusplus 23564 extern "C" 23565 # endif 23566 int F77_DUMMY_MAIN() { return 1; } 23567 23568 #endif 23569 int 23570 main () 23571 { 23572 $cfuncdaxpy() 23573 ; 23574 return 0; 23575 } 23576 _ACEOF 23577 rm -f conftest.$ac_objext conftest$ac_exeext 23578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23579 (eval $ac_link) 2>conftest.er1 23580 ac_status=$? 23581 grep -v '^ *+' conftest.er1 >conftest.err 23582 rm -f conftest.er1 23583 cat conftest.err >&5 23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23585 (exit $ac_status); } && 23586 { ac_try='test -z "$ac_c_werror_flag" 23587 || test ! -s conftest.err' 23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23589 (eval $ac_try) 2>&5 23590 ac_status=$? 23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23592 (exit $ac_status); }; } && 23593 { ac_try='test -s conftest$ac_exeext' 23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23595 (eval $ac_try) 2>&5 23596 ac_status=$? 23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23598 (exit $ac_status); }; }; then 23599 flink_try=yes 23600 else 23601 echo "$as_me: failed program was:" >&5 23602 sed 's/^/| /' conftest.$ac_ext >&5 23603 23604 flink_try=no 23605 fi 23606 rm -f conftest.err conftest.$ac_objext \ 23607 conftest$ac_exeext conftest.$ac_ext 23608 fi 23609 if test $flink_try = yes; then 23610 use_blas='-lsunperf' 23611 if test $coin_need_flibs = yes ; then 23612 use_blas="$use_blas $FLIBS" 23613 fi 23614 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23615 echo "${ECHO_T}yes: $use_blas" >&6 23616 23617 else 23618 if test x"$FLIBS" != x; then 23619 flink_save_libs="$LIBS" 23620 LIBS="$LIBS $FLIBS" 23621 cat >conftest.$ac_ext <<_ACEOF 23622 /* confdefs.h. */ 23623 _ACEOF 23624 cat confdefs.h >>conftest.$ac_ext 23625 cat >>conftest.$ac_ext <<_ACEOF 23626 /* end confdefs.h. */ 23627 void $cfuncdaxpy(); 23628 #ifdef F77_DUMMY_MAIN 23629 23630 # ifdef __cplusplus 23631 extern "C" 23632 # endif 23633 int F77_DUMMY_MAIN() { return 1; } 23634 23635 #endif 23636 int 23637 main () 23638 { 23639 $cfuncdaxpy() 23640 ; 23641 return 0; 23642 } 23643 _ACEOF 23644 rm -f conftest.$ac_objext conftest$ac_exeext 23645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23646 (eval $ac_link) 2>conftest.er1 23647 ac_status=$? 23648 grep -v '^ *+' conftest.er1 >conftest.err 23649 rm -f conftest.er1 23650 cat conftest.err >&5 23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23652 (exit $ac_status); } && 23653 { ac_try='test -z "$ac_c_werror_flag" 23654 || test ! -s conftest.err' 23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23656 (eval $ac_try) 2>&5 23657 ac_status=$? 23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23659 (exit $ac_status); }; } && 23660 { ac_try='test -s conftest$ac_exeext' 23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23662 (eval $ac_try) 2>&5 23663 ac_status=$? 23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23665 (exit $ac_status); }; }; then 23666 LIBS="$flink_save_libs" 23667 coin_need_flibs=yes 23668 use_blas='-lsunperf' 23669 if test $coin_need_flibs = yes ; then 23670 use_blas="$use_blas $FLIBS" 23671 fi 23672 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23673 echo "${ECHO_T}yes: $use_blas" >&6 23674 23675 23676 else 23677 echo "$as_me: failed program was:" >&5 23678 sed 's/^/| /' conftest.$ac_ext >&5 23679 23680 LIBS="$flink_save_libs" 23681 echo "$as_me:$LINENO: result: no" >&5 23682 echo "${ECHO_T}no" >&6 23683 fi 23684 rm -f conftest.err conftest.$ac_objext \ 23685 conftest$ac_exeext conftest.$ac_ext 23686 else 23687 echo "$as_me:$LINENO: result: no" >&5 23688 echo "${ECHO_T}no" >&6 23689 fi 23690 fi 23691 ;; 23692 cc|cpp) 23693 ac_ext=f 23694 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 23695 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23696 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 23697 case $ac_cv_f77_mangling in 23698 upper*) ac_val="DAXPY" ;; 23699 lower*) ac_val="daxpy" ;; 23700 *) ac_val="unknown" ;; 23701 esac 23702 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 23703 23704 cfuncdaxpy="$ac_val" 23705 23706 ac_ext=c 23707 ac_cpp='$CPP $CPPFLAGS' 23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23711 23712 if test x"$coin_need_flibs" = xyes; then 23713 flink_try=no; 23714 else 23715 cat >conftest.$ac_ext <<_ACEOF 23716 /* confdefs.h. */ 23717 _ACEOF 23718 cat confdefs.h >>conftest.$ac_ext 23719 cat >>conftest.$ac_ext <<_ACEOF 23720 /* end confdefs.h. */ 23721 extern "C" {void $cfuncdaxpy();} 23722 #ifdef F77_DUMMY_MAIN 23723 23724 # ifdef __cplusplus 23725 extern "C" 23726 # endif 23727 int F77_DUMMY_MAIN() { return 1; } 23728 23729 #endif 23730 int 23731 main () 23732 { 23733 $cfuncdaxpy() 23734 ; 23735 return 0; 23736 } 23737 _ACEOF 23738 rm -f conftest.$ac_objext conftest$ac_exeext 23739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23740 (eval $ac_link) 2>conftest.er1 23741 ac_status=$? 23742 grep -v '^ *+' conftest.er1 >conftest.err 23743 rm -f conftest.er1 23744 cat conftest.err >&5 23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23746 (exit $ac_status); } && 23747 { ac_try='test -z "$ac_c_werror_flag" 23748 || test ! -s conftest.err' 23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23750 (eval $ac_try) 2>&5 23751 ac_status=$? 23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23753 (exit $ac_status); }; } && 23754 { ac_try='test -s conftest$ac_exeext' 23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23756 (eval $ac_try) 2>&5 23757 ac_status=$? 23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23759 (exit $ac_status); }; }; then 23760 flink_try=yes 23761 else 23762 echo "$as_me: failed program was:" >&5 23763 sed 's/^/| /' conftest.$ac_ext >&5 23764 23765 flink_try=no 23766 fi 23767 rm -f conftest.err conftest.$ac_objext \ 23768 conftest$ac_exeext conftest.$ac_ext 23769 fi 23770 if test $flink_try = yes; then 23771 use_blas='-lsunperf' 23772 if test $coin_need_flibs = yes ; then 23773 use_blas="$use_blas $FLIBS" 23774 fi 23775 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23776 echo "${ECHO_T}yes: $use_blas" >&6 23777 23778 else 23779 if test x"$FLIBS" != x; then 23780 flink_save_libs="$LIBS" 23781 LIBS="$LIBS $FLIBS" 23782 cat >conftest.$ac_ext <<_ACEOF 23783 /* confdefs.h. */ 23784 _ACEOF 23785 cat confdefs.h >>conftest.$ac_ext 23786 cat >>conftest.$ac_ext <<_ACEOF 23787 /* end confdefs.h. */ 23788 extern "C" {void $cfuncdaxpy();} 23789 #ifdef F77_DUMMY_MAIN 23790 23791 # ifdef __cplusplus 23792 extern "C" 23793 # endif 23794 int F77_DUMMY_MAIN() { return 1; } 23795 23796 #endif 23797 int 23798 main () 23799 { 23800 $cfuncdaxpy() 23801 ; 23802 return 0; 23803 } 23804 _ACEOF 23805 rm -f conftest.$ac_objext conftest$ac_exeext 23806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23807 (eval $ac_link) 2>conftest.er1 23808 ac_status=$? 23809 grep -v '^ *+' conftest.er1 >conftest.err 23810 rm -f conftest.er1 23811 cat conftest.err >&5 23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23813 (exit $ac_status); } && 23814 { ac_try='test -z "$ac_c_werror_flag" 23815 || test ! -s conftest.err' 23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23817 (eval $ac_try) 2>&5 23818 ac_status=$? 23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23820 (exit $ac_status); }; } && 23821 { ac_try='test -s conftest$ac_exeext' 23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23823 (eval $ac_try) 2>&5 23824 ac_status=$? 23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23826 (exit $ac_status); }; }; then 23827 LIBS="$flink_save_libs" 23828 coin_need_flibs=yes 23829 use_blas='-lsunperf' 23830 if test $coin_need_flibs = yes ; then 23831 use_blas="$use_blas $FLIBS" 23832 fi 23833 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23834 echo "${ECHO_T}yes: $use_blas" >&6 23835 23836 23837 else 23838 echo "$as_me: failed program was:" >&5 23839 sed 's/^/| /' conftest.$ac_ext >&5 23840 23841 LIBS="$flink_save_libs" 23842 echo "$as_me:$LINENO: result: no" >&5 23843 echo "${ECHO_T}no" >&6 23844 fi 23845 rm -f conftest.err conftest.$ac_objext \ 23846 conftest$ac_exeext conftest.$ac_ext 23847 else 23848 echo "$as_me:$LINENO: result: no" >&5 23849 echo "${ECHO_T}no" >&6 23850 fi 23851 fi 23852 ;; 23853 esac 23854 23855 LIBS="$coin_save_LIBS" 23856 ;; 23857 23858 *-cygwin* | *-mingw*) 23859 # On cygwin, consider -lblas only if doscompile is disabled. The prebuilt 23860 # library will want to link with cygwin, hence won't run standalone in DOS. 23861 if test "$enable_doscompile" = mingw; then 23862 skip_lblas_check=yes 23863 fi 23864 case "$CC" in 23865 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 23866 coin_save_LIBS="$LIBS" 23867 echo "$as_me:$LINENO: checking for BLAS in MKL (32bit)" >&5 23868 echo $ECHO_N "checking for BLAS in MKL (32bit)... $ECHO_C" >&6 23869 LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS" 23870 case $ac_ext in 23871 f) 23872 cat >conftest.$ac_ext <<_ACEOF 23873 /* confdefs.h. */ 23874 _ACEOF 23875 cat confdefs.h >>conftest.$ac_ext 23876 cat >>conftest.$ac_ext <<_ACEOF 23877 /* end confdefs.h. */ 23878 23879 #ifdef F77_DUMMY_MAIN 23880 23881 # ifdef __cplusplus 23882 extern "C" 23883 # endif 23884 int F77_DUMMY_MAIN() { return 1; } 23885 23886 #endif 23887 int 23888 main () 23889 { 23890 call daxpy 23891 ; 23892 return 0; 23893 } 23894 _ACEOF 23895 rm -f conftest.$ac_objext conftest$ac_exeext 23896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23897 (eval $ac_link) 2>conftest.er1 23898 ac_status=$? 23899 grep -v '^ *+' conftest.er1 >conftest.err 23900 rm -f conftest.er1 23901 cat conftest.err >&5 23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23903 (exit $ac_status); } && 23904 { ac_try='test -z "$ac_c_werror_flag" 23905 || test ! -s conftest.err' 23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23907 (eval $ac_try) 2>&5 23908 ac_status=$? 23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23910 (exit $ac_status); }; } && 23911 { ac_try='test -s conftest$ac_exeext' 23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23913 (eval $ac_try) 2>&5 23914 ac_status=$? 23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23916 (exit $ac_status); }; }; then 23917 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 23918 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 23919 echo "${ECHO_T}yes: $use_blas" >&6 23920 23921 else 23922 echo "$as_me: failed program was:" >&5 23923 sed 's/^/| /' conftest.$ac_ext >&5 23924 23925 echo "$as_me:$LINENO: result: no" >&5 23926 echo "${ECHO_T}no" >&6 23927 fi 23928 rm -f conftest.err conftest.$ac_objext \ 23929 conftest$ac_exeext conftest.$ac_ext 23930 ;; 23931 c) 23932 ac_ext=f 23933 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 23934 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23935 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 23936 case $ac_cv_f77_mangling in 23937 upper*) ac_val="DAXPY" ;; 23938 lower*) ac_val="daxpy" ;; 23939 *) ac_val="unknown" ;; 23940 esac 23941 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 23942 23943 cfuncdaxpy="$ac_val" 23944 23945 ac_ext=c 23946 ac_cpp='$CPP $CPPFLAGS' 23947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23949 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23950 23951 if test x"$coin_need_flibs" = xyes; then 23952 flink_try=no; 23953 else 23954 cat >conftest.$ac_ext <<_ACEOF 23955 /* confdefs.h. */ 23956 _ACEOF 23957 cat confdefs.h >>conftest.$ac_ext 23958 cat >>conftest.$ac_ext <<_ACEOF 23959 /* end confdefs.h. */ 23960 void $cfuncdaxpy(); 23961 #ifdef F77_DUMMY_MAIN 23962 23963 # ifdef __cplusplus 23964 extern "C" 23965 # endif 23966 int F77_DUMMY_MAIN() { return 1; } 23967 23968 #endif 23969 int 23970 main () 23971 { 23972 $cfuncdaxpy() 23973 ; 23974 return 0; 23975 } 23976 _ACEOF 23977 rm -f conftest.$ac_objext conftest$ac_exeext 23978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23979 (eval $ac_link) 2>conftest.er1 23980 ac_status=$? 23981 grep -v '^ *+' conftest.er1 >conftest.err 23982 rm -f conftest.er1 23983 cat conftest.err >&5 23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23985 (exit $ac_status); } && 23986 { ac_try='test -z "$ac_c_werror_flag" 23987 || test ! -s conftest.err' 23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23989 (eval $ac_try) 2>&5 23990 ac_status=$? 23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23992 (exit $ac_status); }; } && 23993 { ac_try='test -s conftest$ac_exeext' 23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23995 (eval $ac_try) 2>&5 23996 ac_status=$? 23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23998 (exit $ac_status); }; }; then 23999 flink_try=yes 24000 else 24001 echo "$as_me: failed program was:" >&5 24002 sed 's/^/| /' conftest.$ac_ext >&5 24003 24004 flink_try=no 24005 fi 24006 rm -f conftest.err conftest.$ac_objext \ 24007 conftest$ac_exeext conftest.$ac_ext 24008 fi 24009 if test $flink_try = yes; then 24010 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 24011 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24012 echo "${ECHO_T}yes: $use_blas" >&6 24013 24014 else 24015 if test x"$FLIBS" != x; then 24016 flink_save_libs="$LIBS" 24017 LIBS="$LIBS $FLIBS" 24018 cat >conftest.$ac_ext <<_ACEOF 24019 /* confdefs.h. */ 24020 _ACEOF 24021 cat confdefs.h >>conftest.$ac_ext 24022 cat >>conftest.$ac_ext <<_ACEOF 24023 /* end confdefs.h. */ 24024 void $cfuncdaxpy(); 24025 #ifdef F77_DUMMY_MAIN 24026 24027 # ifdef __cplusplus 24028 extern "C" 24029 # endif 24030 int F77_DUMMY_MAIN() { return 1; } 24031 24032 #endif 24033 int 24034 main () 24035 { 24036 $cfuncdaxpy() 24037 ; 24038 return 0; 24039 } 24040 _ACEOF 24041 rm -f conftest.$ac_objext conftest$ac_exeext 24042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24043 (eval $ac_link) 2>conftest.er1 24044 ac_status=$? 24045 grep -v '^ *+' conftest.er1 >conftest.err 24046 rm -f conftest.er1 24047 cat conftest.err >&5 24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24049 (exit $ac_status); } && 24050 { ac_try='test -z "$ac_c_werror_flag" 24051 || test ! -s conftest.err' 24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24053 (eval $ac_try) 2>&5 24054 ac_status=$? 24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24056 (exit $ac_status); }; } && 24057 { ac_try='test -s conftest$ac_exeext' 24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24059 (eval $ac_try) 2>&5 24060 ac_status=$? 24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24062 (exit $ac_status); }; }; then 24063 LIBS="$flink_save_libs" 24064 coin_need_flibs=yes 24065 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 24066 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24067 echo "${ECHO_T}yes: $use_blas" >&6 24068 24069 24070 else 24071 echo "$as_me: failed program was:" >&5 24072 sed 's/^/| /' conftest.$ac_ext >&5 24073 24074 LIBS="$flink_save_libs" 24075 echo "$as_me:$LINENO: result: no" >&5 24076 echo "${ECHO_T}no" >&6 24077 fi 24078 rm -f conftest.err conftest.$ac_objext \ 24079 conftest$ac_exeext conftest.$ac_ext 24080 else 24081 echo "$as_me:$LINENO: result: no" >&5 24082 echo "${ECHO_T}no" >&6 24083 fi 24084 fi 24085 ;; 24086 cc|cpp) 24087 ac_ext=f 24088 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 24089 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24090 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 24091 case $ac_cv_f77_mangling in 24092 upper*) ac_val="DAXPY" ;; 24093 lower*) ac_val="daxpy" ;; 24094 *) ac_val="unknown" ;; 24095 esac 24096 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 24097 24098 cfuncdaxpy="$ac_val" 24099 24100 ac_ext=c 24101 ac_cpp='$CPP $CPPFLAGS' 24102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24104 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24105 24106 if test x"$coin_need_flibs" = xyes; then 24107 flink_try=no; 24108 else 24109 cat >conftest.$ac_ext <<_ACEOF 24110 /* confdefs.h. */ 24111 _ACEOF 24112 cat confdefs.h >>conftest.$ac_ext 24113 cat >>conftest.$ac_ext <<_ACEOF 24114 /* end confdefs.h. */ 24115 extern "C" {void $cfuncdaxpy();} 24116 #ifdef F77_DUMMY_MAIN 24117 24118 # ifdef __cplusplus 24119 extern "C" 24120 # endif 24121 int F77_DUMMY_MAIN() { return 1; } 24122 24123 #endif 24124 int 24125 main () 24126 { 24127 $cfuncdaxpy() 24128 ; 24129 return 0; 24130 } 24131 _ACEOF 24132 rm -f conftest.$ac_objext conftest$ac_exeext 24133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24134 (eval $ac_link) 2>conftest.er1 24135 ac_status=$? 24136 grep -v '^ *+' conftest.er1 >conftest.err 24137 rm -f conftest.er1 24138 cat conftest.err >&5 24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24140 (exit $ac_status); } && 24141 { ac_try='test -z "$ac_c_werror_flag" 24142 || test ! -s conftest.err' 24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24144 (eval $ac_try) 2>&5 24145 ac_status=$? 24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24147 (exit $ac_status); }; } && 24148 { ac_try='test -s conftest$ac_exeext' 24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24150 (eval $ac_try) 2>&5 24151 ac_status=$? 24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24153 (exit $ac_status); }; }; then 24154 flink_try=yes 24155 else 24156 echo "$as_me: failed program was:" >&5 24157 sed 's/^/| /' conftest.$ac_ext >&5 24158 24159 flink_try=no 24160 fi 24161 rm -f conftest.err conftest.$ac_objext \ 24162 conftest$ac_exeext conftest.$ac_ext 24163 fi 24164 if test $flink_try = yes; then 24165 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 24166 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24167 echo "${ECHO_T}yes: $use_blas" >&6 24168 24169 else 24170 if test x"$FLIBS" != x; then 24171 flink_save_libs="$LIBS" 24172 LIBS="$LIBS $FLIBS" 24173 cat >conftest.$ac_ext <<_ACEOF 24174 /* confdefs.h. */ 24175 _ACEOF 24176 cat confdefs.h >>conftest.$ac_ext 24177 cat >>conftest.$ac_ext <<_ACEOF 24178 /* end confdefs.h. */ 24179 extern "C" {void $cfuncdaxpy();} 24180 #ifdef F77_DUMMY_MAIN 24181 24182 # ifdef __cplusplus 24183 extern "C" 24184 # endif 24185 int F77_DUMMY_MAIN() { return 1; } 24186 24187 #endif 24188 int 24189 main () 24190 { 24191 $cfuncdaxpy() 24192 ; 24193 return 0; 24194 } 24195 _ACEOF 24196 rm -f conftest.$ac_objext conftest$ac_exeext 24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24198 (eval $ac_link) 2>conftest.er1 24199 ac_status=$? 24200 grep -v '^ *+' conftest.er1 >conftest.err 24201 rm -f conftest.er1 24202 cat conftest.err >&5 24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24204 (exit $ac_status); } && 24205 { ac_try='test -z "$ac_c_werror_flag" 24206 || test ! -s conftest.err' 24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24208 (eval $ac_try) 2>&5 24209 ac_status=$? 24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24211 (exit $ac_status); }; } && 24212 { ac_try='test -s conftest$ac_exeext' 24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24214 (eval $ac_try) 2>&5 24215 ac_status=$? 24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24217 (exit $ac_status); }; }; then 24218 LIBS="$flink_save_libs" 24219 coin_need_flibs=yes 24220 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 24221 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24222 echo "${ECHO_T}yes: $use_blas" >&6 24223 24224 24225 else 24226 echo "$as_me: failed program was:" >&5 24227 sed 's/^/| /' conftest.$ac_ext >&5 24228 24229 LIBS="$flink_save_libs" 24230 echo "$as_me:$LINENO: result: no" >&5 24231 echo "${ECHO_T}no" >&6 24232 fi 24233 rm -f conftest.err conftest.$ac_objext \ 24234 conftest$ac_exeext conftest.$ac_ext 24235 else 24236 echo "$as_me:$LINENO: result: no" >&5 24237 echo "${ECHO_T}no" >&6 24238 fi 24239 fi 24240 ;; 24241 esac 24242 24243 LIBS="$coin_save_LIBS" 24244 24245 if test "x$use_blas" = x ; then 24246 echo "$as_me:$LINENO: checking for BLAS in MKL (64bit)" >&5 24247 echo $ECHO_N "checking for BLAS in MKL (64bit)... $ECHO_C" >&6 24248 LIBS="mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib $LIBS" 24249 case $ac_ext in 24250 f) 24251 cat >conftest.$ac_ext <<_ACEOF 24252 /* confdefs.h. */ 24253 _ACEOF 24254 cat confdefs.h >>conftest.$ac_ext 24255 cat >>conftest.$ac_ext <<_ACEOF 24256 /* end confdefs.h. */ 24257 24258 #ifdef F77_DUMMY_MAIN 24259 24260 # ifdef __cplusplus 24261 extern "C" 24262 # endif 24263 int F77_DUMMY_MAIN() { return 1; } 24264 24265 #endif 24266 int 24267 main () 24268 { 24269 call daxpy 24270 ; 24271 return 0; 24272 } 24273 _ACEOF 24274 rm -f conftest.$ac_objext conftest$ac_exeext 24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24276 (eval $ac_link) 2>conftest.er1 24277 ac_status=$? 24278 grep -v '^ *+' conftest.er1 >conftest.err 24279 rm -f conftest.er1 24280 cat conftest.err >&5 24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24282 (exit $ac_status); } && 24283 { ac_try='test -z "$ac_c_werror_flag" 24284 || test ! -s conftest.err' 24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24286 (eval $ac_try) 2>&5 24287 ac_status=$? 24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24289 (exit $ac_status); }; } && 24290 { ac_try='test -s conftest$ac_exeext' 24291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24292 (eval $ac_try) 2>&5 24293 ac_status=$? 24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24295 (exit $ac_status); }; }; then 24296 use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib' 24297 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24298 echo "${ECHO_T}yes: $use_blas" >&6 24299 24300 else 24301 echo "$as_me: failed program was:" >&5 24302 sed 's/^/| /' conftest.$ac_ext >&5 24303 24304 echo "$as_me:$LINENO: result: no" >&5 24305 echo "${ECHO_T}no" >&6 24306 fi 24307 rm -f conftest.err conftest.$ac_objext \ 24308 conftest$ac_exeext conftest.$ac_ext 24309 ;; 24310 c) 24311 ac_ext=f 24312 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 24313 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24314 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 24315 case $ac_cv_f77_mangling in 24316 upper*) ac_val="DAXPY" ;; 24317 lower*) ac_val="daxpy" ;; 24318 *) ac_val="unknown" ;; 24319 esac 24320 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 24321 24322 cfuncdaxpy="$ac_val" 24323 24324 ac_ext=c 24325 ac_cpp='$CPP $CPPFLAGS' 24326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24328 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24329 24330 if test x"$coin_need_flibs" = xyes; then 24331 flink_try=no; 24332 else 24333 cat >conftest.$ac_ext <<_ACEOF 24334 /* confdefs.h. */ 24335 _ACEOF 24336 cat confdefs.h >>conftest.$ac_ext 24337 cat >>conftest.$ac_ext <<_ACEOF 24338 /* end confdefs.h. */ 24339 void $cfuncdaxpy(); 24340 #ifdef F77_DUMMY_MAIN 24341 24342 # ifdef __cplusplus 24343 extern "C" 24344 # endif 24345 int F77_DUMMY_MAIN() { return 1; } 24346 24347 #endif 24348 int 24349 main () 24350 { 24351 $cfuncdaxpy() 24352 ; 24353 return 0; 24354 } 24355 _ACEOF 24356 rm -f conftest.$ac_objext conftest$ac_exeext 24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24358 (eval $ac_link) 2>conftest.er1 24359 ac_status=$? 24360 grep -v '^ *+' conftest.er1 >conftest.err 24361 rm -f conftest.er1 24362 cat conftest.err >&5 24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24364 (exit $ac_status); } && 24365 { ac_try='test -z "$ac_c_werror_flag" 24366 || test ! -s conftest.err' 24367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24368 (eval $ac_try) 2>&5 24369 ac_status=$? 24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24371 (exit $ac_status); }; } && 24372 { ac_try='test -s conftest$ac_exeext' 24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24374 (eval $ac_try) 2>&5 24375 ac_status=$? 24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24377 (exit $ac_status); }; }; then 24378 flink_try=yes 24379 else 24380 echo "$as_me: failed program was:" >&5 24381 sed 's/^/| /' conftest.$ac_ext >&5 24382 24383 flink_try=no 24384 fi 24385 rm -f conftest.err conftest.$ac_objext \ 24386 conftest$ac_exeext conftest.$ac_ext 24387 fi 24388 if test $flink_try = yes; then 24389 use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib' 24390 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24391 echo "${ECHO_T}yes: $use_blas" >&6 24392 24393 else 24394 if test x"$FLIBS" != x; then 24395 flink_save_libs="$LIBS" 24396 LIBS="$LIBS $FLIBS" 24397 cat >conftest.$ac_ext <<_ACEOF 24398 /* confdefs.h. */ 24399 _ACEOF 24400 cat confdefs.h >>conftest.$ac_ext 24401 cat >>conftest.$ac_ext <<_ACEOF 24402 /* end confdefs.h. */ 24403 void $cfuncdaxpy(); 24404 #ifdef F77_DUMMY_MAIN 24405 24406 # ifdef __cplusplus 24407 extern "C" 24408 # endif 24409 int F77_DUMMY_MAIN() { return 1; } 24410 24411 #endif 24412 int 24413 main () 24414 { 24415 $cfuncdaxpy() 24416 ; 24417 return 0; 24418 } 24419 _ACEOF 24420 rm -f conftest.$ac_objext conftest$ac_exeext 24421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24422 (eval $ac_link) 2>conftest.er1 24423 ac_status=$? 24424 grep -v '^ *+' conftest.er1 >conftest.err 24425 rm -f conftest.er1 24426 cat conftest.err >&5 24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24428 (exit $ac_status); } && 24429 { ac_try='test -z "$ac_c_werror_flag" 24430 || test ! -s conftest.err' 24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24432 (eval $ac_try) 2>&5 24433 ac_status=$? 24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24435 (exit $ac_status); }; } && 24436 { ac_try='test -s conftest$ac_exeext' 24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24438 (eval $ac_try) 2>&5 24439 ac_status=$? 24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24441 (exit $ac_status); }; }; then 24442 LIBS="$flink_save_libs" 24443 coin_need_flibs=yes 24444 use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib' 24445 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24446 echo "${ECHO_T}yes: $use_blas" >&6 24447 24448 24449 else 24450 echo "$as_me: failed program was:" >&5 24451 sed 's/^/| /' conftest.$ac_ext >&5 24452 24453 LIBS="$flink_save_libs" 24454 echo "$as_me:$LINENO: result: no" >&5 24455 echo "${ECHO_T}no" >&6 24456 fi 24457 rm -f conftest.err conftest.$ac_objext \ 24458 conftest$ac_exeext conftest.$ac_ext 24459 else 24460 echo "$as_me:$LINENO: result: no" >&5 24461 echo "${ECHO_T}no" >&6 24462 fi 24463 fi 24464 ;; 24465 cc|cpp) 24466 ac_ext=f 24467 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 24468 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24469 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 24470 case $ac_cv_f77_mangling in 24471 upper*) ac_val="DAXPY" ;; 24472 lower*) ac_val="daxpy" ;; 24473 *) ac_val="unknown" ;; 24474 esac 24475 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 24476 24477 cfuncdaxpy="$ac_val" 24478 24479 ac_ext=c 24480 ac_cpp='$CPP $CPPFLAGS' 24481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24483 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24484 24485 if test x"$coin_need_flibs" = xyes; then 24486 flink_try=no; 24487 else 24488 cat >conftest.$ac_ext <<_ACEOF 24489 /* confdefs.h. */ 24490 _ACEOF 24491 cat confdefs.h >>conftest.$ac_ext 24492 cat >>conftest.$ac_ext <<_ACEOF 24493 /* end confdefs.h. */ 24494 extern "C" {void $cfuncdaxpy();} 24495 #ifdef F77_DUMMY_MAIN 24496 24497 # ifdef __cplusplus 24498 extern "C" 24499 # endif 24500 int F77_DUMMY_MAIN() { return 1; } 24501 24502 #endif 24503 int 24504 main () 24505 { 24506 $cfuncdaxpy() 24507 ; 24508 return 0; 24509 } 24510 _ACEOF 24511 rm -f conftest.$ac_objext conftest$ac_exeext 24512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24513 (eval $ac_link) 2>conftest.er1 24514 ac_status=$? 24515 grep -v '^ *+' conftest.er1 >conftest.err 24516 rm -f conftest.er1 24517 cat conftest.err >&5 24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24519 (exit $ac_status); } && 24520 { ac_try='test -z "$ac_c_werror_flag" 24521 || test ! -s conftest.err' 24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24523 (eval $ac_try) 2>&5 24524 ac_status=$? 24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24526 (exit $ac_status); }; } && 24527 { ac_try='test -s conftest$ac_exeext' 24528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24529 (eval $ac_try) 2>&5 24530 ac_status=$? 24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24532 (exit $ac_status); }; }; then 24533 flink_try=yes 24534 else 24535 echo "$as_me: failed program was:" >&5 24536 sed 's/^/| /' conftest.$ac_ext >&5 24537 24538 flink_try=no 24539 fi 24540 rm -f conftest.err conftest.$ac_objext \ 24541 conftest$ac_exeext conftest.$ac_ext 24542 fi 24543 if test $flink_try = yes; then 24544 use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib' 24545 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24546 echo "${ECHO_T}yes: $use_blas" >&6 24547 24548 else 24549 if test x"$FLIBS" != x; then 24550 flink_save_libs="$LIBS" 24551 LIBS="$LIBS $FLIBS" 24552 cat >conftest.$ac_ext <<_ACEOF 24553 /* confdefs.h. */ 24554 _ACEOF 24555 cat confdefs.h >>conftest.$ac_ext 24556 cat >>conftest.$ac_ext <<_ACEOF 24557 /* end confdefs.h. */ 24558 extern "C" {void $cfuncdaxpy();} 24559 #ifdef F77_DUMMY_MAIN 24560 24561 # ifdef __cplusplus 24562 extern "C" 24563 # endif 24564 int F77_DUMMY_MAIN() { return 1; } 24565 24566 #endif 24567 int 24568 main () 24569 { 24570 $cfuncdaxpy() 24571 ; 24572 return 0; 24573 } 24574 _ACEOF 24575 rm -f conftest.$ac_objext conftest$ac_exeext 24576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24577 (eval $ac_link) 2>conftest.er1 24578 ac_status=$? 24579 grep -v '^ *+' conftest.er1 >conftest.err 24580 rm -f conftest.er1 24581 cat conftest.err >&5 24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24583 (exit $ac_status); } && 24584 { ac_try='test -z "$ac_c_werror_flag" 24585 || test ! -s conftest.err' 24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24587 (eval $ac_try) 2>&5 24588 ac_status=$? 24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24590 (exit $ac_status); }; } && 24591 { ac_try='test -s conftest$ac_exeext' 24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24593 (eval $ac_try) 2>&5 24594 ac_status=$? 24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24596 (exit $ac_status); }; }; then 24597 LIBS="$flink_save_libs" 24598 coin_need_flibs=yes 24599 use_blas='mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib' 24600 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24601 echo "${ECHO_T}yes: $use_blas" >&6 24602 24603 24604 else 24605 echo "$as_me: failed program was:" >&5 24606 sed 's/^/| /' conftest.$ac_ext >&5 24607 24608 LIBS="$flink_save_libs" 24609 echo "$as_me:$LINENO: result: no" >&5 24610 echo "${ECHO_T}no" >&6 24611 fi 24612 rm -f conftest.err conftest.$ac_objext \ 24613 conftest$ac_exeext conftest.$ac_ext 24614 else 24615 echo "$as_me:$LINENO: result: no" >&5 24616 echo "${ECHO_T}no" >&6 24617 fi 24618 fi 24619 ;; 24620 esac 24621 24622 LIBS="$coin_save_LIBS" 24623 fi 24624 ;; 24625 esac 24626 ;; 24627 24628 *-darwin*) 24629 echo "$as_me:$LINENO: checking for BLAS in Veclib" >&5 24630 echo $ECHO_N "checking for BLAS in Veclib... $ECHO_C" >&6 24631 coin_need_flibs=no 24632 coin_save_LIBS="$LIBS" 24633 LIBS="-framework vecLib $LIBS" 24634 case $ac_ext in 24635 f) 24636 cat >conftest.$ac_ext <<_ACEOF 24637 /* confdefs.h. */ 24638 _ACEOF 24639 cat confdefs.h >>conftest.$ac_ext 24640 cat >>conftest.$ac_ext <<_ACEOF 24641 /* end confdefs.h. */ 24642 24643 #ifdef F77_DUMMY_MAIN 24644 24645 # ifdef __cplusplus 24646 extern "C" 24647 # endif 24648 int F77_DUMMY_MAIN() { return 1; } 24649 24650 #endif 24651 int 24652 main () 24653 { 24654 call daxpy 24655 ; 24656 return 0; 24657 } 24658 _ACEOF 24659 rm -f conftest.$ac_objext conftest$ac_exeext 24660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24661 (eval $ac_link) 2>conftest.er1 24662 ac_status=$? 24663 grep -v '^ *+' conftest.er1 >conftest.err 24664 rm -f conftest.er1 24665 cat conftest.err >&5 24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24667 (exit $ac_status); } && 24668 { ac_try='test -z "$ac_c_werror_flag" 24669 || test ! -s conftest.err' 24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24671 (eval $ac_try) 2>&5 24672 ac_status=$? 24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24674 (exit $ac_status); }; } && 24675 { ac_try='test -s conftest$ac_exeext' 24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24677 (eval $ac_try) 2>&5 24678 ac_status=$? 24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24680 (exit $ac_status); }; }; then 24681 use_blas='-framework vecLib' 24682 if test $coin_need_flibs = yes ; then 24683 use_blas="$use_blas $FLIBS" 24684 fi 24685 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24686 echo "${ECHO_T}yes: $use_blas" >&6 24687 24688 else 24689 echo "$as_me: failed program was:" >&5 24690 sed 's/^/| /' conftest.$ac_ext >&5 24691 24692 echo "$as_me:$LINENO: result: no" >&5 24693 echo "${ECHO_T}no" >&6 24694 fi 24695 rm -f conftest.err conftest.$ac_objext \ 24696 conftest$ac_exeext conftest.$ac_ext 24697 ;; 24698 c) 24699 ac_ext=f 24700 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 24701 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24702 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 24703 case $ac_cv_f77_mangling in 24704 upper*) ac_val="DAXPY" ;; 24705 lower*) ac_val="daxpy" ;; 24706 *) ac_val="unknown" ;; 24707 esac 24708 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 24709 24710 cfuncdaxpy="$ac_val" 24711 24712 ac_ext=c 24713 ac_cpp='$CPP $CPPFLAGS' 24714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24716 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24717 24718 if test x"$coin_need_flibs" = xyes; then 24719 flink_try=no; 24720 else 24721 cat >conftest.$ac_ext <<_ACEOF 24722 /* confdefs.h. */ 24723 _ACEOF 24724 cat confdefs.h >>conftest.$ac_ext 24725 cat >>conftest.$ac_ext <<_ACEOF 24726 /* end confdefs.h. */ 24727 void $cfuncdaxpy(); 24728 #ifdef F77_DUMMY_MAIN 24729 24730 # ifdef __cplusplus 24731 extern "C" 24732 # endif 24733 int F77_DUMMY_MAIN() { return 1; } 24734 24735 #endif 24736 int 24737 main () 24738 { 24739 $cfuncdaxpy() 24740 ; 24741 return 0; 24742 } 24743 _ACEOF 24744 rm -f conftest.$ac_objext conftest$ac_exeext 24745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24746 (eval $ac_link) 2>conftest.er1 24747 ac_status=$? 24748 grep -v '^ *+' conftest.er1 >conftest.err 24749 rm -f conftest.er1 24750 cat conftest.err >&5 24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24752 (exit $ac_status); } && 24753 { ac_try='test -z "$ac_c_werror_flag" 24754 || test ! -s conftest.err' 24755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24756 (eval $ac_try) 2>&5 24757 ac_status=$? 24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24759 (exit $ac_status); }; } && 24760 { ac_try='test -s conftest$ac_exeext' 24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24762 (eval $ac_try) 2>&5 24763 ac_status=$? 24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24765 (exit $ac_status); }; }; then 24766 flink_try=yes 24767 else 24768 echo "$as_me: failed program was:" >&5 24769 sed 's/^/| /' conftest.$ac_ext >&5 24770 24771 flink_try=no 24772 fi 24773 rm -f conftest.err conftest.$ac_objext \ 24774 conftest$ac_exeext conftest.$ac_ext 24775 fi 24776 if test $flink_try = yes; then 24777 use_blas='-framework vecLib' 24778 if test $coin_need_flibs = yes ; then 24779 use_blas="$use_blas $FLIBS" 24780 fi 24781 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24782 echo "${ECHO_T}yes: $use_blas" >&6 24783 24784 else 24785 if test x"$FLIBS" != x; then 24786 flink_save_libs="$LIBS" 24787 LIBS="$LIBS $FLIBS" 24788 cat >conftest.$ac_ext <<_ACEOF 24789 /* confdefs.h. */ 24790 _ACEOF 24791 cat confdefs.h >>conftest.$ac_ext 24792 cat >>conftest.$ac_ext <<_ACEOF 24793 /* end confdefs.h. */ 24794 void $cfuncdaxpy(); 24795 #ifdef F77_DUMMY_MAIN 24796 24797 # ifdef __cplusplus 24798 extern "C" 24799 # endif 24800 int F77_DUMMY_MAIN() { return 1; } 24801 24802 #endif 24803 int 24804 main () 24805 { 24806 $cfuncdaxpy() 24807 ; 24808 return 0; 24809 } 24810 _ACEOF 24811 rm -f conftest.$ac_objext conftest$ac_exeext 24812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24813 (eval $ac_link) 2>conftest.er1 24814 ac_status=$? 24815 grep -v '^ *+' conftest.er1 >conftest.err 24816 rm -f conftest.er1 24817 cat conftest.err >&5 24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24819 (exit $ac_status); } && 24820 { ac_try='test -z "$ac_c_werror_flag" 24821 || test ! -s conftest.err' 24822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24823 (eval $ac_try) 2>&5 24824 ac_status=$? 24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24826 (exit $ac_status); }; } && 24827 { ac_try='test -s conftest$ac_exeext' 24828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24829 (eval $ac_try) 2>&5 24830 ac_status=$? 24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24832 (exit $ac_status); }; }; then 24833 LIBS="$flink_save_libs" 24834 coin_need_flibs=yes 24835 use_blas='-framework vecLib' 24836 if test $coin_need_flibs = yes ; then 24837 use_blas="$use_blas $FLIBS" 24838 fi 24839 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24840 echo "${ECHO_T}yes: $use_blas" >&6 24841 24842 24843 else 24844 echo "$as_me: failed program was:" >&5 24845 sed 's/^/| /' conftest.$ac_ext >&5 24846 24847 LIBS="$flink_save_libs" 24848 echo "$as_me:$LINENO: result: no" >&5 24849 echo "${ECHO_T}no" >&6 24850 fi 24851 rm -f conftest.err conftest.$ac_objext \ 24852 conftest$ac_exeext conftest.$ac_ext 24853 else 24854 echo "$as_me:$LINENO: result: no" >&5 24855 echo "${ECHO_T}no" >&6 24856 fi 24857 fi 24858 ;; 24859 cc|cpp) 24860 ac_ext=f 24861 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 24862 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24863 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 24864 case $ac_cv_f77_mangling in 24865 upper*) ac_val="DAXPY" ;; 24866 lower*) ac_val="daxpy" ;; 24867 *) ac_val="unknown" ;; 24868 esac 24869 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 24870 24871 cfuncdaxpy="$ac_val" 24872 24873 ac_ext=c 24874 ac_cpp='$CPP $CPPFLAGS' 24875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24877 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24878 24879 if test x"$coin_need_flibs" = xyes; then 24880 flink_try=no; 24881 else 24882 cat >conftest.$ac_ext <<_ACEOF 24883 /* confdefs.h. */ 24884 _ACEOF 24885 cat confdefs.h >>conftest.$ac_ext 24886 cat >>conftest.$ac_ext <<_ACEOF 24887 /* end confdefs.h. */ 24888 extern "C" {void $cfuncdaxpy();} 24889 #ifdef F77_DUMMY_MAIN 24890 24891 # ifdef __cplusplus 24892 extern "C" 24893 # endif 24894 int F77_DUMMY_MAIN() { return 1; } 24895 24896 #endif 24897 int 24898 main () 24899 { 24900 $cfuncdaxpy() 24901 ; 24902 return 0; 24903 } 24904 _ACEOF 24905 rm -f conftest.$ac_objext conftest$ac_exeext 24906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24907 (eval $ac_link) 2>conftest.er1 24908 ac_status=$? 24909 grep -v '^ *+' conftest.er1 >conftest.err 24910 rm -f conftest.er1 24911 cat conftest.err >&5 24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24913 (exit $ac_status); } && 24914 { ac_try='test -z "$ac_c_werror_flag" 24915 || test ! -s conftest.err' 24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24917 (eval $ac_try) 2>&5 24918 ac_status=$? 24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24920 (exit $ac_status); }; } && 24921 { ac_try='test -s conftest$ac_exeext' 24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24923 (eval $ac_try) 2>&5 24924 ac_status=$? 24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24926 (exit $ac_status); }; }; then 24927 flink_try=yes 24928 else 24929 echo "$as_me: failed program was:" >&5 24930 sed 's/^/| /' conftest.$ac_ext >&5 24931 24932 flink_try=no 24933 fi 24934 rm -f conftest.err conftest.$ac_objext \ 24935 conftest$ac_exeext conftest.$ac_ext 24936 fi 24937 if test $flink_try = yes; then 24938 use_blas='-framework vecLib' 24939 if test $coin_need_flibs = yes ; then 24940 use_blas="$use_blas $FLIBS" 24941 fi 24942 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 24943 echo "${ECHO_T}yes: $use_blas" >&6 24944 24945 else 24946 if test x"$FLIBS" != x; then 24947 flink_save_libs="$LIBS" 24948 LIBS="$LIBS $FLIBS" 24949 cat >conftest.$ac_ext <<_ACEOF 24950 /* confdefs.h. */ 24951 _ACEOF 24952 cat confdefs.h >>conftest.$ac_ext 24953 cat >>conftest.$ac_ext <<_ACEOF 24954 /* end confdefs.h. */ 24955 extern "C" {void $cfuncdaxpy();} 24956 #ifdef F77_DUMMY_MAIN 24957 24958 # ifdef __cplusplus 24959 extern "C" 24960 # endif 24961 int F77_DUMMY_MAIN() { return 1; } 24962 24963 #endif 24964 int 24965 main () 24966 { 24967 $cfuncdaxpy() 24968 ; 24969 return 0; 24970 } 24971 _ACEOF 24972 rm -f conftest.$ac_objext conftest$ac_exeext 24973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 24974 (eval $ac_link) 2>conftest.er1 24975 ac_status=$? 24976 grep -v '^ *+' conftest.er1 >conftest.err 24977 rm -f conftest.er1 24978 cat conftest.err >&5 24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24980 (exit $ac_status); } && 24981 { ac_try='test -z "$ac_c_werror_flag" 24982 || test ! -s conftest.err' 24983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24984 (eval $ac_try) 2>&5 24985 ac_status=$? 24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24987 (exit $ac_status); }; } && 24988 { ac_try='test -s conftest$ac_exeext' 24989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24990 (eval $ac_try) 2>&5 24991 ac_status=$? 24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24993 (exit $ac_status); }; }; then 24994 LIBS="$flink_save_libs" 24995 coin_need_flibs=yes 24996 use_blas='-framework vecLib' 24997 if test $coin_need_flibs = yes ; then 24998 use_blas="$use_blas $FLIBS" 24999 fi 25000 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 25001 echo "${ECHO_T}yes: $use_blas" >&6 25002 25003 25004 else 25005 echo "$as_me: failed program was:" >&5 25006 sed 's/^/| /' conftest.$ac_ext >&5 25007 25008 LIBS="$flink_save_libs" 25009 echo "$as_me:$LINENO: result: no" >&5 25010 echo "${ECHO_T}no" >&6 25011 fi 25012 rm -f conftest.err conftest.$ac_objext \ 25013 conftest$ac_exeext conftest.$ac_ext 25014 else 25015 echo "$as_me:$LINENO: result: no" >&5 25016 echo "${ECHO_T}no" >&6 25017 fi 25018 fi 25019 ;; 25020 esac 25021 25022 LIBS="$coin_save_LIBS" 25023 ;; 25024 esac 25025 25026 if test -z "$use_blas" && test $skip_lblas_check = no; then 25027 echo "$as_me:$LINENO: checking whether -lblas has BLAS" >&5 25028 echo $ECHO_N "checking whether -lblas has BLAS... $ECHO_C" >&6 25029 coin_need_flibs=no 25030 coin_save_LIBS="$LIBS" 25031 LIBS="-lblas $LIBS" 25032 case $ac_ext in 25033 f) 25034 cat >conftest.$ac_ext <<_ACEOF 25035 /* confdefs.h. */ 25036 _ACEOF 25037 cat confdefs.h >>conftest.$ac_ext 25038 cat >>conftest.$ac_ext <<_ACEOF 25039 /* end confdefs.h. */ 25040 25041 #ifdef F77_DUMMY_MAIN 25042 25043 # ifdef __cplusplus 25044 extern "C" 25045 # endif 25046 int F77_DUMMY_MAIN() { return 1; } 25047 25048 #endif 25049 int 25050 main () 25051 { 25052 call daxpy 25053 ; 25054 return 0; 25055 } 25056 _ACEOF 25057 rm -f conftest.$ac_objext conftest$ac_exeext 25058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25059 (eval $ac_link) 2>conftest.er1 25060 ac_status=$? 25061 grep -v '^ *+' conftest.er1 >conftest.err 25062 rm -f conftest.er1 25063 cat conftest.err >&5 25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25065 (exit $ac_status); } && 25066 { ac_try='test -z "$ac_c_werror_flag" 25067 || test ! -s conftest.err' 25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25069 (eval $ac_try) 2>&5 25070 ac_status=$? 25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25072 (exit $ac_status); }; } && 25073 { ac_try='test -s conftest$ac_exeext' 25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25075 (eval $ac_try) 2>&5 25076 ac_status=$? 25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25078 (exit $ac_status); }; }; then 25079 use_blas='-lblas' 25080 if test $coin_need_flibs = yes ; then 25081 use_blas="$use_blas $FLIBS" 25082 fi 25083 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 25084 echo "${ECHO_T}yes: $use_blas" >&6 25085 25086 else 25087 echo "$as_me: failed program was:" >&5 25088 sed 's/^/| /' conftest.$ac_ext >&5 25089 25090 echo "$as_me:$LINENO: result: no" >&5 25091 echo "${ECHO_T}no" >&6 25092 fi 25093 rm -f conftest.err conftest.$ac_objext \ 25094 conftest$ac_exeext conftest.$ac_ext 25095 ;; 25096 c) 25097 ac_ext=f 25098 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 25099 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25100 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 25101 case $ac_cv_f77_mangling in 25102 upper*) ac_val="DAXPY" ;; 25103 lower*) ac_val="daxpy" ;; 25104 *) ac_val="unknown" ;; 25105 esac 25106 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 25107 25108 cfuncdaxpy="$ac_val" 25109 25110 ac_ext=c 25111 ac_cpp='$CPP $CPPFLAGS' 25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu 25115 25116 if test x"$coin_need_flibs" = xyes; then 25117 flink_try=no; 25118 else 25119 cat >conftest.$ac_ext <<_ACEOF 25120 /* confdefs.h. */ 25121 _ACEOF 25122 cat confdefs.h >>conftest.$ac_ext 25123 cat >>conftest.$ac_ext <<_ACEOF 25124 /* end confdefs.h. */ 25125 void $cfuncdaxpy(); 25126 #ifdef F77_DUMMY_MAIN 25127 25128 # ifdef __cplusplus 25129 extern "C" 25130 # endif 25131 int F77_DUMMY_MAIN() { return 1; } 25132 25133 #endif 25134 int 25135 main () 25136 { 25137 $cfuncdaxpy() 25138 ; 25139 return 0; 25140 } 25141 _ACEOF 25142 rm -f conftest.$ac_objext conftest$ac_exeext 25143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25144 (eval $ac_link) 2>conftest.er1 25145 ac_status=$? 25146 grep -v '^ *+' conftest.er1 >conftest.err 25147 rm -f conftest.er1 25148 cat conftest.err >&5 25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25150 (exit $ac_status); } && 25151 { ac_try='test -z "$ac_c_werror_flag" 25152 || test ! -s conftest.err' 25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25154 (eval $ac_try) 2>&5 25155 ac_status=$? 25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25157 (exit $ac_status); }; } && 25158 { ac_try='test -s conftest$ac_exeext' 25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25160 (eval $ac_try) 2>&5 25161 ac_status=$? 25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25163 (exit $ac_status); }; }; then 25164 flink_try=yes 25165 else 25166 echo "$as_me: failed program was:" >&5 25167 sed 's/^/| /' conftest.$ac_ext >&5 25168 25169 flink_try=no 25170 fi 25171 rm -f conftest.err conftest.$ac_objext \ 25172 conftest$ac_exeext conftest.$ac_ext 25173 fi 25174 if test $flink_try = yes; then 25175 use_blas='-lblas' 25176 if test $coin_need_flibs = yes ; then 25177 use_blas="$use_blas $FLIBS" 25178 fi 25179 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 25180 echo "${ECHO_T}yes: $use_blas" >&6 25181 25182 else 25183 if test x"$FLIBS" != x; then 25184 flink_save_libs="$LIBS" 25185 LIBS="$LIBS $FLIBS" 25186 cat >conftest.$ac_ext <<_ACEOF 25187 /* confdefs.h. */ 25188 _ACEOF 25189 cat confdefs.h >>conftest.$ac_ext 25190 cat >>conftest.$ac_ext <<_ACEOF 25191 /* end confdefs.h. */ 25192 void $cfuncdaxpy(); 25193 #ifdef F77_DUMMY_MAIN 25194 25195 # ifdef __cplusplus 25196 extern "C" 25197 # endif 25198 int F77_DUMMY_MAIN() { return 1; } 25199 25200 #endif 25201 int 25202 main () 25203 { 25204 $cfuncdaxpy() 25205 ; 25206 return 0; 25207 } 25208 _ACEOF 25209 rm -f conftest.$ac_objext conftest$ac_exeext 25210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25211 (eval $ac_link) 2>conftest.er1 25212 ac_status=$? 25213 grep -v '^ *+' conftest.er1 >conftest.err 25214 rm -f conftest.er1 25215 cat conftest.err >&5 25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25217 (exit $ac_status); } && 25218 { ac_try='test -z "$ac_c_werror_flag" 25219 || test ! -s conftest.err' 25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25221 (eval $ac_try) 2>&5 25222 ac_status=$? 25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25224 (exit $ac_status); }; } && 25225 { ac_try='test -s conftest$ac_exeext' 25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25227 (eval $ac_try) 2>&5 25228 ac_status=$? 25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25230 (exit $ac_status); }; }; then 25231 LIBS="$flink_save_libs" 25232 coin_need_flibs=yes 25233 use_blas='-lblas' 25234 if test $coin_need_flibs = yes ; then 25235 use_blas="$use_blas $FLIBS" 25236 fi 25237 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 25238 echo "${ECHO_T}yes: $use_blas" >&6 25239 25240 25241 else 25242 echo "$as_me: failed program was:" >&5 25243 sed 's/^/| /' conftest.$ac_ext >&5 25244 25245 LIBS="$flink_save_libs" 25246 echo "$as_me:$LINENO: result: no" >&5 25247 echo "${ECHO_T}no" >&6 25248 fi 25249 rm -f conftest.err conftest.$ac_objext \ 25250 conftest$ac_exeext conftest.$ac_ext 25251 else 25252 echo "$as_me:$LINENO: result: no" >&5 25253 echo "${ECHO_T}no" >&6 25254 fi 25255 fi 25256 ;; 25257 cc|cpp) 25258 ac_ext=f 25259 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 25260 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25261 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 25262 case $ac_cv_f77_mangling in 25263 upper*) ac_val="DAXPY" ;; 25264 lower*) ac_val="daxpy" ;; 25265 *) ac_val="unknown" ;; 25266 esac 25267 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 25268 25269 cfuncdaxpy="$ac_val" 25270 25271 ac_ext=c 25272 ac_cpp='$CPP $CPPFLAGS' 25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu 25276 25277 if test x"$coin_need_flibs" = xyes; then 25278 flink_try=no; 25279 else 25280 cat >conftest.$ac_ext <<_ACEOF 25281 /* confdefs.h. */ 25282 _ACEOF 25283 cat confdefs.h >>conftest.$ac_ext 25284 cat >>conftest.$ac_ext <<_ACEOF 25285 /* end confdefs.h. */ 25286 extern "C" {void $cfuncdaxpy();} 25287 #ifdef F77_DUMMY_MAIN 25288 25289 # ifdef __cplusplus 25290 extern "C" 25291 # endif 25292 int F77_DUMMY_MAIN() { return 1; } 25293 25294 #endif 25295 int 25296 main () 25297 { 25298 $cfuncdaxpy() 25299 ; 25300 return 0; 25301 } 25302 _ACEOF 25303 rm -f conftest.$ac_objext conftest$ac_exeext 25304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25305 (eval $ac_link) 2>conftest.er1 25306 ac_status=$? 25307 grep -v '^ *+' conftest.er1 >conftest.err 25308 rm -f conftest.er1 25309 cat conftest.err >&5 25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25311 (exit $ac_status); } && 25312 { ac_try='test -z "$ac_c_werror_flag" 25313 || test ! -s conftest.err' 25314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25315 (eval $ac_try) 2>&5 25316 ac_status=$? 25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25318 (exit $ac_status); }; } && 25319 { ac_try='test -s conftest$ac_exeext' 25320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25321 (eval $ac_try) 2>&5 25322 ac_status=$? 25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25324 (exit $ac_status); }; }; then 25325 flink_try=yes 25326 else 25327 echo "$as_me: failed program was:" >&5 25328 sed 's/^/| /' conftest.$ac_ext >&5 25329 25330 flink_try=no 25331 fi 25332 rm -f conftest.err conftest.$ac_objext \ 25333 conftest$ac_exeext conftest.$ac_ext 25334 fi 25335 if test $flink_try = yes; then 25336 use_blas='-lblas' 25337 if test $coin_need_flibs = yes ; then 25338 use_blas="$use_blas $FLIBS" 25339 fi 25340 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 25341 echo "${ECHO_T}yes: $use_blas" >&6 25342 25343 else 25344 if test x"$FLIBS" != x; then 25345 flink_save_libs="$LIBS" 25346 LIBS="$LIBS $FLIBS" 25347 cat >conftest.$ac_ext <<_ACEOF 25348 /* confdefs.h. */ 25349 _ACEOF 25350 cat confdefs.h >>conftest.$ac_ext 25351 cat >>conftest.$ac_ext <<_ACEOF 25352 /* end confdefs.h. */ 25353 extern "C" {void $cfuncdaxpy();} 25354 #ifdef F77_DUMMY_MAIN 25355 25356 # ifdef __cplusplus 25357 extern "C" 25358 # endif 25359 int F77_DUMMY_MAIN() { return 1; } 25360 25361 #endif 25362 int 25363 main () 25364 { 25365 $cfuncdaxpy() 25366 ; 25367 return 0; 25368 } 25369 _ACEOF 25370 rm -f conftest.$ac_objext conftest$ac_exeext 25371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 25372 (eval $ac_link) 2>conftest.er1 25373 ac_status=$? 25374 grep -v '^ *+' conftest.er1 >conftest.err 25375 rm -f conftest.er1 25376 cat conftest.err >&5 25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25378 (exit $ac_status); } && 25379 { ac_try='test -z "$ac_c_werror_flag" 25380 || test ! -s conftest.err' 25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25382 (eval $ac_try) 2>&5 25383 ac_status=$? 25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25385 (exit $ac_status); }; } && 25386 { ac_try='test -s conftest$ac_exeext' 25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25388 (eval $ac_try) 2>&5 25389 ac_status=$? 25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25391 (exit $ac_status); }; }; then 25392 LIBS="$flink_save_libs" 25393 coin_need_flibs=yes 25394 use_blas='-lblas' 25395 if test $coin_need_flibs = yes ; then 25396 use_blas="$use_blas $FLIBS" 25397 fi 25398 echo "$as_me:$LINENO: result: yes: $use_blas" >&5 25399 echo "${ECHO_T}yes: $use_blas" >&6 25400 25401 25402 else 25403 echo "$as_me: failed program was:" >&5 25404 sed 's/^/| /' conftest.$ac_ext >&5 25405 25406 LIBS="$flink_save_libs" 25407 echo "$as_me:$LINENO: result: no" >&5 25408 echo "${ECHO_T}no" >&6 25409 fi 25410 rm -f conftest.err conftest.$ac_objext \ 25411 conftest$ac_exeext conftest.$ac_ext 25412 else 25413 echo "$as_me:$LINENO: result: no" >&5 25414 echo "${ECHO_T}no" >&6 25415 fi 25416 fi 25417 ;; 25418 esac 25419 25420 LIBS="$coin_save_LIBS" 25421 fi 25422 25423 # If we have no other ideas, consider building BLAS. 25424 if test -z "$use_blas" ; then 25425 use_blas=BUILD 25426 fi 25427 fi 25428 25429 if test "x$use_blas" = xBUILD ; then 25430 25431 echo "$as_me:$LINENO: checking for COIN-OR package Blas" >&5 25432 echo $ECHO_N "checking for COIN-OR package Blas... $ECHO_C" >&6 25433 25434 coin_has_blas=notGiven 25435 25436 # check if user wants to skip package in any case 25437 if test x"$COIN_SKIP_PROJECTS" != x; then 25438 for dir in $COIN_SKIP_PROJECTS; do 25439 if test $dir = "Blas"; then 25440 coin_has_blas=skipping 25441 fi 25442 done 25443 fi 25444 25445 if test "$coin_has_blas" != skipping; then 25446 25447 # Check whether --with-m4_tolower(Blas) or --without-m4_tolower(Blas) was given. 25448 if test "${with_blas+set}" = set; then 25449 withval="$with_blas" 25450 if test "$withval" = no ; then 25451 coin_has_blas=skipping 25452 fi 25453 25454 fi; 25455 fi 25456 25457 BLAS_LIBS= 25458 BLAS_CFLAGS= 25459 BLAS_DATA= 25460 BLAS_DEPENDENCIES= 25461 BLAS_PCLIBS= 25462 BLAS_PCREQUIRES= 25463 BLAS_DATA= 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 25476 25477 25478 25479 25480 25481 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 25482 if test $coin_has_blas != skipping; then 25483 25484 # Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given. 25485 if test "${with_blas_lib+set}" = set; then 25486 withval="$with_blas_lib" 25487 if test "$withval" = no ; then 25488 coin_has_blas=skipping 25489 else 25490 coin_has_blas=yes 25491 BLAS_LIBS="$withval" 25492 BLAS_PCLIBS="$withval" 25493 25494 HSL_PCLIBS="$withval $HSL_PCLIBS" 25495 HSL_LIBS="$withval $HSL_LIBS" 25496 25497 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25498 if test -z "$PKG_CONFIG" ; then 25499 BLAS_LIBS_INSTALLED="$withval" 25500 HSL_LIBS_INSTALLED="$withval $HSL_LIBS_INSTALLED" 25501 fi 25502 fi 25503 25504 fi; 25505 fi 25506 25507 if test $coin_has_blas != skipping; then 25508 25509 # Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given. 25510 if test "${with_blas_incdir+set}" = set; then 25511 withval="$with_blas_incdir" 25512 if test "$withval" = no ; then 25513 coin_has_blas=skipping 25514 else 25515 coin_has_blas=yes 25516 BLAS_CFLAGS="-I`${CYGPATH_W} $withval`" 25517 HSL_CFLAGS="-I`${CYGPATH_W} $withval` $HSL_CFLAGS" 25518 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25519 if test -z "$PKG_CONFIG" ; then 25520 BLAS_CFLAGS_INSTALLED="$BLAS_CFLAGS" 25521 HSL_CFLAGS_INSTALLED="$BLAS_CFLAGS $HSL_CFLAGS_INSTALLED" 25522 fi 25523 fi 25524 25525 fi; 25526 fi 25527 25528 if test $coin_has_blas != skipping; then 25529 25530 # Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given. 25531 if test "${with_blas_datadir+set}" = set; then 25532 withval="$with_blas_datadir" 25533 if test "$withval" = no ; then 25534 coin_has_blas=skipping 25535 else 25536 coin_has_blas=yes 25537 BLAS_DATA="$withval" 25538 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25539 if test -z "$PKG_CONFIG" ; then 25540 BLAS_DATA_INSTALLED="$withval" 25541 fi 25542 fi 25543 25544 fi; 25545 fi 25546 25547 if test $coin_has_blas = notGiven; then 25548 if test -n "$PKG_CONFIG" ; then 25549 # set search path for pkg-config 25550 # need to export variable to be sure that the following pkg-config gets these values 25551 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 25552 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED" 25553 export PKG_CONFIG_PATH 25554 25555 # let pkg-config do it's magic 25556 25557 25558 25559 if test -n "$PKG_CONFIG" ; then 25560 if $PKG_CONFIG --exists "coinblas"; then 25561 BLAS_VERSIONS=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null | tr '\n' ' '` 25562 cflags=`$PKG_CONFIG --cflags "coinblas" 2>/dev/null` 25563 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 25564 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 25565 # but only do this if is not trivial 25566 if test "$CYGPATH_W" != "echo" ; then 25567 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 25568 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 25569 fi 25570 BLAS_CFLAGS="$cflags" 25571 BLAS_LIBS=`$PKG_CONFIG --libs "coinblas" 2>/dev/null` 25572 BLAS_DATA=`$PKG_CONFIG --variable=datadir "coinblas" 2>/dev/null` 25573 coin_has_blas=yes 25574 echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5 25575 echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6 25576 25577 # adjust linker flags for (i)cl compiler 25578 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl) 25579 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 25580 then 25581 BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25582 fi 25583 BLAS_PCREQUIRES="coinblas" 25584 25585 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in HSL 25586 25587 HSL_PCREQUIRES="coinblas $HSL_PCREQUIRES" 25588 HSL_CFLAGS="$BLAS_CFLAGS $HSL_CFLAGS" 25589 HSL_LIBS="$BLAS_LIBS $HSL_LIBS" 25590 25591 25592 25593 else 25594 BLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"` 25595 coin_has_blas=notGiven 25596 echo "$as_me:$LINENO: result: not given: $BLAS_PKG_ERRORS" >&5 25597 echo "${ECHO_T}not given: $BLAS_PKG_ERRORS" >&6 25598 25599 fi 25600 else 25601 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Blas without pkg-config\"" >&5 25602 echo "$as_me: error: \"Cannot check for existance of module Blas without pkg-config\"" >&2;} 25603 { (exit 1); exit 1; }; } 25604 fi 25605 25606 25607 25608 25609 # reset PKG_CONFIG_PATH variable 25610 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 25611 export PKG_CONFIG_PATH 25612 25613 else 25614 echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5 25615 echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6 25616 25617 echo "$as_me:$LINENO: checking for COIN-OR package Blas (fallback)" >&5 25618 echo $ECHO_N "checking for COIN-OR package Blas (fallback)... $ECHO_C" >&6 25619 25620 coin_has_blas=notGiven 25621 BLAS_LIBS= 25622 BLAS_LIBS_INSTALLED= 25623 BLAS_CFLAGS= 25624 BLAS_CFLAGS_INSTALLED= 25625 BLAS_DATA= 25626 BLAS_DATA_INSTALLED= 25627 BLAS_PCLIBS= 25628 BLAS_PCREQUIRES= 25629 25630 # initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x, != x) 25631 projtoprocess="coinblas" 25632 25633 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 25634 # further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards 25635 # the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples 25636 # also, we setup the DATA variable 25637 allproj="" 25638 allpcfiles="" 25639 allpcifiles="" 25640 while test "x$projtoprocess" != x ; do 25641 25642 for proj in $projtoprocess ; do 25643 # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it 25644 pcfile="" 25645 save_IFS="$IFS" 25646 IFS=":" 25647 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 25648 # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again 25649 if test -r "$dir/${proj}-uninstalled.pc" ; then 25650 pcfile="$dir/$proj-uninstalled.pc" 25651 if test -r "$dir/${proj}.pc" ; then 25652 pcifile="$dir/${proj}.pc" 25653 else 25654 { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5 25655 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 25656 pcifile= 25657 fi 25658 break 25659 fi 25660 done 25661 IFS="$save_IFS" 25662 25663 if test "x$pcfile" != x ; then 25664 # read dependencies from $pcfile and filter it 25665 projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[ ]\{0,\}[^ ]\{1,\}//g'` 25666 25667 # add projrequires to the front of the list of projects that have to be processed next 25668 # at the same time, remove $proj from this list 25669 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 25670 25671 # read DATA from $pcfile, if _DATA is still empty 25672 if test "x$BLAS_DATA" = x ; then 25673 projdatadir= 25674 pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile` 25675 eval `sh -c "$pcfilemod"` 25676 BLAS_DATA="$projdatadir" 25677 fi 25678 25679 allproj="$allproj $proj" 25680 allpcfiles="$pcfile:$allpcfiles" 25681 25682 else 25683 echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5 25684 echo "${ECHO_T}no, dependency $proj not available" >&6 25685 allproj=fail 25686 break 2 25687 fi 25688 25689 if test "x$pcifile" != x ; then 25690 allpcifiles="$pcifile:$allpcifiles" 25691 25692 # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty 25693 if test "x$BLAS_DATA_INSTALLED" = x ; then 25694 projdatadir= 25695 pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile` 25696 eval `sh -c "$pcifilemod"` 25697 if test "${CYGPATH_W}" != "echo"; then 25698 projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`" 25699 fi 25700 BLAS_DATA_INSTALLED="$projdatadir" 25701 fi 25702 25703 fi 25704 25705 break 25706 done 25707 25708 # remove spaces on begin of $projtoprocess 25709 projtoprocess=`echo $projtoprocess | sed -e 's/^ *//'` 25710 25711 done 25712 25713 if test "$allproj" != fail ; then 25714 25715 # now go through the list of .pc files and assemble compiler and linker flags 25716 # important is here to obey the reverse order that has been setup before, 25717 # since then libraries that are required by several others should be after these other libraries 25718 pcfilesprocessed="" 25719 25720 save_IFS="$IFS" 25721 IFS=":" 25722 for pcfile in $allpcfiles ; do 25723 25724 # if $pcfile has been processed already, skip this round 25725 if test "x$pcfilesprocessed" != x ; then 25726 for pcfiledone in $pcfilesprocessed ; do 25727 if test "$pcfiledone" = "$pcfile" ; then 25728 continue 2 25729 fi 25730 done 25731 fi 25732 25733 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 25734 # replace "Libs:" by "echo projlibs=" 25735 # replace "Cflags:" by "echo projcflags=" 25736 # remove every line starting with <some word>: 25737 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 25738 25739 # set projcflags and projlibs variables by running $pcfilemod 25740 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 25741 projcflags= 25742 projlibs= 25743 IFS="$save_IFS" 25744 eval `sh -c "$pcfilemod"` 25745 IFS=":" 25746 25747 # add CYGPATH_W cludge into include flags and set CFLAGS variable 25748 if test "${CYGPATH_W}" != "echo"; then 25749 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 25750 fi 25751 BLAS_CFLAGS="$projcflags $BLAS_CFLAGS" 25752 25753 # set LIBS variable 25754 BLAS_LIBS="$projlibs $BLAS_LIBS" 25755 25756 # remember that we have processed $pcfile 25757 pcfilesprocessed="$pcfilesprocessed:$pcfile" 25758 25759 done 25760 IFS="$save_IFS" 25761 25762 25763 # now go through the list of .pc files for installed projects and assemble compiler and linker flags 25764 # important is here again to obey the reverse order that has been setup before, 25765 # since then libraries that are required by several others should be after these other libraries 25766 pcfilesprocessed="" 25767 25768 save_IFS="$IFS" 25769 IFS=":" 25770 for pcfile in $allpcifiles ; do 25771 25772 # if $pcfile has been processed already, skip this round 25773 if test "x$pcfilesprocessed" != x ; then 25774 for pcfiledone in $pcfilesprocessed ; do 25775 if test "$pcfiledone" = "$pcfile" ; then 25776 continue 2 25777 fi 25778 done 25779 fi 25780 25781 # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags: 25782 # replace "Libs:" by "echo projlibs=" 25783 # replace "Cflags:" by "echo projcflags=" 25784 # remove every line starting with <some word>: 25785 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 25786 25787 # set projcflags and projlibs variables by running $pcfilemod 25788 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 25789 projcflags= 25790 projlibs= 25791 IFS="$save_IFS" 25792 eval `sh -c "$pcfilemod"` 25793 IFS=":" 25794 25795 # add CYGPATH_W cludge into include flags and set CFLAGS variable 25796 if test "${CYGPATH_W}" != "echo"; then 25797 projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 25798 fi 25799 BLAS_CFLAGS_INSTALLED="$projcflags $BLAS_CFLAGS_INSTALLED" 25800 25801 # set LIBS variable 25802 BLAS_LIBS_INSTALLED="$projlibs $BLAS_LIBS_INSTALLED" 25803 25804 # remember that we have processed $pcfile 25805 pcfilesprocessed="$pcfilesprocessed:$pcfile" 25806 25807 done 25808 IFS="$save_IFS" 25809 25810 25811 # finish up 25812 coin_has_blas=yes 25813 echo "$as_me:$LINENO: result: yes" >&5 25814 echo "${ECHO_T}yes" >&6 25815 25816 cat >>confdefs.h <<\_ACEOF 25817 #define COIN_HAS_BLAS 1 25818 _ACEOF 25819 25820 25821 # adjust linker flags for (i)cl compiler 25822 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 25823 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 25824 # everything of the form "-lname" by "libname.lib", and 25825 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 25826 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 25827 then 25828 BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25829 BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 25830 fi 25831 25832 BLAS_PCREQUIRES="coinblas" 25833 25834 HSL_PCREQUIRES="coinblas $HSL_PCREQUIRES" 25835 HSL_CFLAGS="$BLAS_CFLAGS $HSL_CFLAGS" 25836 HSL_LIBS="$BLAS_LIBS $HSL_LIBS" 25837 HSL_CFLAGS_INSTALLED="$BLAS_CFLAGS_INSTALLED $HSL_CFLAGS_INSTALLED" 25838 HSL_LIBS_INSTALLED="$BLAS_LIBS_INSTALLED $HSL_LIBS_INSTALLED" 25839 25840 25841 fi 25842 25843 25844 25845 if test $coin_has_blas != notGiven && 25846 test $coin_has_blas != skipping; then 25847 COIN_HAS_BLAS_TRUE= 25848 COIN_HAS_BLAS_FALSE='#' 25849 else 25850 COIN_HAS_BLAS_TRUE='#' 25851 COIN_HAS_BLAS_FALSE= 25852 fi 25853 25854 25855 25856 fi 25857 25858 else 25859 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 25860 echo "${ECHO_T}$coin_has_blas" >&6 25861 fi 25862 25863 if test $coin_has_blas != skipping && 25864 test $coin_has_blas != notGiven ; then 25865 25866 cat >>confdefs.h <<\_ACEOF 25867 #define COIN_HAS_BLAS 1 25868 _ACEOF 25869 25870 25871 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 25872 if test "${enable_interpackage_dependencies+set}" = set; then 25873 enableval="$enable_interpackage_dependencies" 25874 25875 else 25876 enable_interpackage_dependencies=yes 25877 fi; 25878 25879 if test $enable_interpackage_dependencies = yes ; then 25880 # construct dependencies variables from LIBS variables 25881 # we add an extra space in LIBS so we can substitute out everything starting with " -" 25882 # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* as used on Windows 25883 # then remove everything of the form -xxx 25884 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 25885 BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25886 25887 HSL_DEPENDENCIES=`echo " $HSL_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25888 25889 fi 25890 25891 if test 1 = 0 ; then #change this test to enable a bit of debugging output 25892 if test -n "$BLAS_CFLAGS" ; then 25893 { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5 25894 echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;} 25895 fi 25896 if test -n "$BLAS_LIBS" ; then 25897 { echo "$as_me:$LINENO: Blas LIBS are $BLAS_LIBS" >&5 25898 echo "$as_me: Blas LIBS are $BLAS_LIBS" >&6;} 25899 fi 25900 if test -n "$BLAS_DEPENDENCIES" ; then 25901 { echo "$as_me:$LINENO: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&5 25902 echo "$as_me: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&6;} 25903 fi 25904 if test -n "$BLAS_DATA" ; then 25905 { echo "$as_me:$LINENO: Blas DATA is $BLAS_DATA" >&5 25906 echo "$as_me: Blas DATA is $BLAS_DATA" >&6;} 25907 fi 25908 if test -n "$BLAS_PCLIBS" ; then 25909 { echo "$as_me:$LINENO: Blas PCLIBS are $BLAS_PCLIBS" >&5 25910 echo "$as_me: Blas PCLIBS are $BLAS_PCLIBS" >&6;} 25911 fi 25912 if test -n "$BLAS_PCREQUIRES" ; then 25913 { echo "$as_me:$LINENO: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&5 25914 echo "$as_me: Blas PCREQUIRES are $BLAS_PCREQUIRES" >&6;} 25915 fi 25916 25917 { echo "$as_me:$LINENO: HSL CFLAGS are $HSL_CFLAGS" >&5 25918 echo "$as_me: HSL CFLAGS are $HSL_CFLAGS" >&6;} 25919 { echo "$as_me:$LINENO: HSL LIBS are $HSL_LIBS" >&5 25920 echo "$as_me: HSL LIBS are $HSL_LIBS" >&6;} 25921 { echo "$as_me:$LINENO: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&5 25922 echo "$as_me: HSL DEPENDENCIES are $HSL_DEPENDENCIES" >&6;} 25923 25924 fi 25925 fi 25926 25927 # Define the Makefile conditional 25928 25929 25930 if test $coin_has_blas != notGiven && 25931 test $coin_has_blas != skipping; then 25932 COIN_HAS_BLAS_TRUE= 25933 COIN_HAS_BLAS_FALSE='#' 25934 else 25935 COIN_HAS_BLAS_TRUE='#' 25936 COIN_HAS_BLAS_FALSE= 25937 fi 25938 25939 25940 25941 25942 elif test "x$use_blas" != x && test "$use_blas" != no; then 25943 coin_has_blas=yes 25944 25945 25946 if test 0 = 0; then 25947 COIN_HAS_BLAS_TRUE= 25948 COIN_HAS_BLAS_FALSE='#' 25949 else 25950 COIN_HAS_BLAS_TRUE='#' 25951 COIN_HAS_BLAS_FALSE= 25952 fi 25953 25954 25955 cat >>confdefs.h <<\_ACEOF 25956 #define COIN_HAS_BLAS 1 25957 _ACEOF 25958 25959 BLAS_LIBS="$use_blas" 25960 BLAS_CFLAGS= 25961 BLAS_DATA= 25962 25963 25964 25965 25966 HSL_PCLIBS="$BLAS_LIBS $HSL_PCLIBS" 25967 HSL_LIBS="$BLAS_LIBS $HSL_LIBS" 25968 HSL_LIBS_INSTALLED="$BLAS_LIBS $HSL_LIBS_INSTALLED" 25969 25970 25971 else 25972 coin_has_blas=no 25973 25974 25975 if test 0 = 1; then 25976 COIN_HAS_BLAS_TRUE= 25977 COIN_HAS_BLAS_FALSE='#' 25978 else 25979 COIN_HAS_BLAS_TRUE='#' 25980 COIN_HAS_BLAS_FALSE= 25981 fi 25982 25983 fi 25984 25985 25986 25987 25988 25989 25990 25991 25992 if test $coin_has_blas != yes ; then 25993 { { echo "$as_me:$LINENO: error: MA57 requires BLAS, which is not found." >&5 25994 echo "$as_me: error: MA57 requires BLAS, which is not found." >&2;} 25995 { (exit 1); exit 1; }; } 25996 fi 22623 25997 else 22624 25998 … … 22630 26004 COIN_HAS_METIS_TRUE='#' 22631 26005 COIN_HAS_METIS_FALSE= 26006 fi 26007 26008 26009 26010 if test 0 = 1; then 26011 COIN_HAS_BLAS_TRUE= 26012 COIN_HAS_BLAS_FALSE='#' 26013 else 26014 COIN_HAS_BLAS_TRUE='#' 26015 COIN_HAS_BLAS_FALSE= 22632 26016 fi 22633 26017 … … 23071 26455 { (exit 1); exit 1; }; } 23072 26456 fi 26457 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then 26458 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined. 26459 Usually this means the macro was only invoked conditionally." >&5 26460 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined. 26461 Usually this means the macro was only invoked conditionally." >&2;} 26462 { (exit 1); exit 1; }; } 26463 fi 26464 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then 26465 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined. 26466 Usually this means the macro was only invoked conditionally." >&5 26467 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined. 26468 Usually this means the macro was only invoked conditionally." >&2;} 26469 { (exit 1); exit 1; }; } 26470 fi 26471 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then 26472 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined. 26473 Usually this means the macro was only invoked conditionally." >&5 26474 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined. 26475 Usually this means the macro was only invoked conditionally." >&2;} 26476 { (exit 1); exit 1; }; } 26477 fi 26478 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then 26479 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined. 26480 Usually this means the macro was only invoked conditionally." >&5 26481 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined. 26482 Usually this means the macro was only invoked conditionally." >&2;} 26483 { (exit 1); exit 1; }; } 26484 fi 23073 26485 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then 23074 26486 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined. 23075 26487 Usually this means the macro was only invoked conditionally." >&5 23076 26488 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined. 26489 Usually this means the macro was only invoked conditionally." >&2;} 26490 { (exit 1); exit 1; }; } 26491 fi 26492 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then 26493 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined. 26494 Usually this means the macro was only invoked conditionally." >&5 26495 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined. 23077 26496 Usually this means the macro was only invoked conditionally." >&2;} 23078 26497 { (exit 1); exit 1; }; } … … 23792 27211 s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t 23793 27212 s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t 27213 s,@BLAS_LIBS@,$BLAS_LIBS,;t t 27214 s,@BLAS_CFLAGS@,$BLAS_CFLAGS,;t t 27215 s,@BLAS_DATA@,$BLAS_DATA,;t t 27216 s,@BLAS_DEPENDENCIES@,$BLAS_DEPENDENCIES,;t t 27217 s,@BLAS_LIBS_INSTALLED@,$BLAS_LIBS_INSTALLED,;t t 27218 s,@BLAS_CFLAGS_INSTALLED@,$BLAS_CFLAGS_INSTALLED,;t t 27219 s,@BLAS_DATA_INSTALLED@,$BLAS_DATA_INSTALLED,;t t 27220 s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t 27221 s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t 23794 27222 s,@COIN_HAS_MC19_TRUE@,$COIN_HAS_MC19_TRUE,;t t 23795 27223 s,@COIN_HAS_MC19_FALSE@,$COIN_HAS_MC19_FALSE,;t t -
ThirdParty/HSL/trunk/configure.ac
r2256 r2434 142 142 AC_MSG_ERROR([MA57 requires METIS, which is not found.]) 143 143 fi 144 AC_COIN_CHECK_PACKAGE_BLAS(HSL) 145 if test $coin_has_blas != yes ; then 146 AC_MSG_ERROR([MA57 requires BLAS, which is not found.]) 147 fi 144 148 else 145 149 AM_CONDITIONAL(COIN_HAS_METIS, [test 0 = 1]) 150 AM_CONDITIONAL(COIN_HAS_BLAS, [test 0 = 1]) 146 151 fi 147 152
Note: See TracChangeset
for help on using the changeset viewer.