Changeset 903
- Timestamp:
- Jan 5, 2008 7:44:47 PM (13 years ago)
- Location:
- ThirdParty/Lapack/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Lapack/trunk/Makefile.in
r874 r903 19 19 # This file is distributed under the Common Public License. 20 20 21 # Copyright (C) 2006 International Business Machines and others.21 # Copyright (C) 2006, 2007 International Business Machines and others. 22 22 # All Rights Reserved. 23 23 # This file is distributed under the Common Public License. … … 301 301 $(VPATH_DISTCLEANFILES) 302 302 DocFiles = README AUTHORS LICENSE 303 DocInstallDir = $(prefix)/share/doc/ $(PACKAGE_NAME)303 DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME) 304 304 all: all-am 305 305 … … 647 647 648 648 649 install-doc: 649 install-doc: $(DocFiles) 650 650 test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)" 651 651 for file in $(DocFiles); do \ -
ThirdParty/Lapack/trunk/configure
r807 r903 1075 1075 --enable-doscompile Under Cygwin, compile so that executables run under 1076 1076 DOS. Set to mingw to use gcc/g++/ld with 1077 -mno-cygwin. Set to msvc to use cl/link . Default1078 when mentioned: mingw. Default when not mentioned:1079 disabled.1077 -mno-cygwin. Set to msvc to use cl/link (or 1078 icl/link). Default when mentioned: mingw. Default 1079 when not mentioned: disabled. 1080 1080 --enable-static[=PKGS] 1081 1081 build static libraries [default=no] … … 1849 1849 if test x"$CXX" != x; then 1850 1850 case "$CXX" in 1851 cl* | */cl* | CL* | */CL* )1851 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1852 1852 if test x"$CC" = x; then 1853 1853 CC="$CXX" … … 1876 1876 *-cygwin* | *-mingw*) 1877 1877 if test "$enable_doscompile" = msvc ; then 1878 comps=" cl"1878 comps="icl cl" 1879 1879 else 1880 1880 comps="gcc cl" … … 2761 2761 coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 2762 2762 coin_dbg_cflags='-MTd' 2763 ;; 2764 icl* | */icl* | ICL* | */ICL*) 2765 coin_opt_cflags='-MT -Ox' 2766 coin_add_cflags='-nologo -D_CRT_SECURE_NO_DEPRECATE' 2767 coin_dbg_cflags='-MTd -debug' 2763 2768 ;; 2764 2769 esac … … 3068 3073 # Correct ADDLIBS initialization if we are using the MS compiler 3069 3074 case "$CC" in 3070 cl* | */cl* | CL* | */CL* )3075 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3071 3076 ADDLIBS= 3072 3077 case $build in … … 3275 3280 3276 3281 # Provide some information about the compiler. 3277 echo "$as_me:32 77:" \3282 echo "$as_me:3282:" \ 3278 3283 "checking for Fortran 77 compiler version" >&5 3279 3284 ac_compiler=`set X $ac_compile; echo $2` … … 5414 5419 *-*-irix6*) 5415 5420 # Find out which ABI we are using. 5416 echo '#line 54 16"configure"' > conftest.$ac_ext5421 echo '#line 5421 "configure"' > conftest.$ac_ext 5417 5422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5418 5423 (eval $ac_compile) 2>&5 … … 7843 7848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7844 7849 -e 's:$: $lt_compiler_flag:'` 7845 (eval echo "\"\$as_me:78 45: $lt_compile\"" >&5)7850 (eval echo "\"\$as_me:7850: $lt_compile\"" >&5) 7846 7851 (eval "$lt_compile" 2>conftest.err) 7847 7852 ac_status=$? 7848 7853 cat conftest.err >&5 7849 echo "$as_me:78 49: \$? = $ac_status" >&57854 echo "$as_me:7854: \$? = $ac_status" >&5 7850 7855 if (exit $ac_status) && test -s "$ac_outfile"; then 7851 7856 # The compiler can only warn and ignore the option if not recognized … … 8111 8116 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8112 8117 -e 's:$: $lt_compiler_flag:'` 8113 (eval echo "\"\$as_me:811 3: $lt_compile\"" >&5)8118 (eval echo "\"\$as_me:8118: $lt_compile\"" >&5) 8114 8119 (eval "$lt_compile" 2>conftest.err) 8115 8120 ac_status=$? 8116 8121 cat conftest.err >&5 8117 echo "$as_me:81 17: \$? = $ac_status" >&58122 echo "$as_me:8122: \$? = $ac_status" >&5 8118 8123 if (exit $ac_status) && test -s "$ac_outfile"; then 8119 8124 # The compiler can only warn and ignore the option if not recognized … … 8215 8220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8216 8221 -e 's:$: $lt_compiler_flag:'` 8217 (eval echo "\"\$as_me:82 17: $lt_compile\"" >&5)8222 (eval echo "\"\$as_me:8222: $lt_compile\"" >&5) 8218 8223 (eval "$lt_compile" 2>out/conftest.err) 8219 8224 ac_status=$? 8220 8225 cat out/conftest.err >&5 8221 echo "$as_me:822 1: \$? = $ac_status" >&58226 echo "$as_me:8226: \$? = $ac_status" >&5 8222 8227 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8223 8228 then … … 10560 10565 lt_status=$lt_dlunknown 10561 10566 cat > conftest.$ac_ext <<EOF 10562 #line 1056 2"configure"10567 #line 10567 "configure" 10563 10568 #include "confdefs.h" 10564 10569 … … 10660 10665 lt_status=$lt_dlunknown 10661 10666 cat > conftest.$ac_ext <<EOF 10662 #line 1066 2"configure"10667 #line 10667 "configure" 10663 10668 #include "confdefs.h" 10664 10669 … … 13004 13009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13005 13010 -e 's:$: $lt_compiler_flag:'` 13006 (eval echo "\"\$as_me:130 06: $lt_compile\"" >&5)13011 (eval echo "\"\$as_me:13011: $lt_compile\"" >&5) 13007 13012 (eval "$lt_compile" 2>conftest.err) 13008 13013 ac_status=$? 13009 13014 cat conftest.err >&5 13010 echo "$as_me:1301 0: \$? = $ac_status" >&513015 echo "$as_me:13015: \$? = $ac_status" >&5 13011 13016 if (exit $ac_status) && test -s "$ac_outfile"; then 13012 13017 # The compiler can only warn and ignore the option if not recognized … … 13108 13113 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13109 13114 -e 's:$: $lt_compiler_flag:'` 13110 (eval echo "\"\$as_me:1311 0: $lt_compile\"" >&5)13115 (eval echo "\"\$as_me:13115: $lt_compile\"" >&5) 13111 13116 (eval "$lt_compile" 2>out/conftest.err) 13112 13117 ac_status=$? 13113 13118 cat out/conftest.err >&5 13114 echo "$as_me:1311 4: \$? = $ac_status" >&513119 echo "$as_me:13119: \$? = $ac_status" >&5 13115 13120 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13116 13121 then … … 14678 14683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14679 14684 -e 's:$: $lt_compiler_flag:'` 14680 (eval echo "\"\$as_me:1468 0: $lt_compile\"" >&5)14685 (eval echo "\"\$as_me:14685: $lt_compile\"" >&5) 14681 14686 (eval "$lt_compile" 2>conftest.err) 14682 14687 ac_status=$? 14683 14688 cat conftest.err >&5 14684 echo "$as_me:1468 4: \$? = $ac_status" >&514689 echo "$as_me:14689: \$? = $ac_status" >&5 14685 14690 if (exit $ac_status) && test -s "$ac_outfile"; then 14686 14691 # The compiler can only warn and ignore the option if not recognized … … 14782 14787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14783 14788 -e 's:$: $lt_compiler_flag:'` 14784 (eval echo "\"\$as_me:1478 4: $lt_compile\"" >&5)14789 (eval echo "\"\$as_me:14789: $lt_compile\"" >&5) 14785 14790 (eval "$lt_compile" 2>out/conftest.err) 14786 14791 ac_status=$? 14787 14792 cat out/conftest.err >&5 14788 echo "$as_me:147 88: \$? = $ac_status" >&514793 echo "$as_me:14793: \$? = $ac_status" >&5 14789 14794 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14790 14795 then … … 16989 16994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16990 16995 -e 's:$: $lt_compiler_flag:'` 16991 (eval echo "\"\$as_me:1699 1: $lt_compile\"" >&5)16996 (eval echo "\"\$as_me:16996: $lt_compile\"" >&5) 16992 16997 (eval "$lt_compile" 2>conftest.err) 16993 16998 ac_status=$? 16994 16999 cat conftest.err >&5 16995 echo "$as_me:1 6995: \$? = $ac_status" >&517000 echo "$as_me:17000: \$? = $ac_status" >&5 16996 17001 if (exit $ac_status) && test -s "$ac_outfile"; then 16997 17002 # The compiler can only warn and ignore the option if not recognized … … 17257 17262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17258 17263 -e 's:$: $lt_compiler_flag:'` 17259 (eval echo "\"\$as_me:172 59: $lt_compile\"" >&5)17264 (eval echo "\"\$as_me:17264: $lt_compile\"" >&5) 17260 17265 (eval "$lt_compile" 2>conftest.err) 17261 17266 ac_status=$? 17262 17267 cat conftest.err >&5 17263 echo "$as_me:1726 3: \$? = $ac_status" >&517268 echo "$as_me:17268: \$? = $ac_status" >&5 17264 17269 if (exit $ac_status) && test -s "$ac_outfile"; then 17265 17270 # The compiler can only warn and ignore the option if not recognized … … 17361 17366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17362 17367 -e 's:$: $lt_compiler_flag:'` 17363 (eval echo "\"\$as_me:1736 3: $lt_compile\"" >&5)17368 (eval echo "\"\$as_me:17368: $lt_compile\"" >&5) 17364 17369 (eval "$lt_compile" 2>out/conftest.err) 17365 17370 ac_status=$? 17366 17371 cat out/conftest.err >&5 17367 echo "$as_me:173 67: \$? = $ac_status" >&517372 echo "$as_me:17372: \$? = $ac_status" >&5 17368 17373 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17369 17374 then … … 20101 20106 *-cygwin* | *-mingw*) 20102 20107 case "$CXX" in 20103 cl* | */cl* | CL* | */CL* )20108 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 20104 20109 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 20105 20110 echo "$as_me: Applying patches to libtool for cl compiler" >&6;} … … 20302 20307 ac_save_FFLAGS=$FFLAGS 20303 20308 FFLAGS="$FFLAGS $ac_verb" 20304 (eval echo $as_me:2030 4: \"$ac_link\") >&520309 (eval echo $as_me:20309: \"$ac_link\") >&5 20305 20310 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 20306 20311 echo "$ac_f77_v_output" >&5 … … 20380 20385 ac_save_FFLAGS=$FFLAGS 20381 20386 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 20382 (eval echo $as_me:2038 2: \"$ac_link\") >&520387 (eval echo $as_me:20387: \"$ac_link\") >&5 20383 20388 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 20384 20389 echo "$ac_f77_v_output" >&5 … … 22158 22163 22159 22164 ;; 22165 *-cygwin* | *-mingw*) 22160 22166 # On cygwin, consider -lblas only if doscompile is disabled. The prebuilt 22161 22167 # library will want to link with cygwin, hence won't run standalone in DOS. 22162 *-cygwin*)22163 22168 if test "$enable_doscompile" = mingw; then 22164 22169 skip_lblas_check=yes 22165 22170 fi 22171 case "$CC" in 22172 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 22173 SAVE_LIBS="$LIBS" 22174 echo "$as_me:$LINENO: checking for BLAS in MKL" >&5 22175 echo $ECHO_N "checking for BLAS in MKL... $ECHO_C" >&6 22176 LIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $LIBS" 22177 case $ac_ext in 22178 f) 22179 cat >conftest.$ac_ext <<_ACEOF 22180 /* confdefs.h. */ 22181 _ACEOF 22182 cat confdefs.h >>conftest.$ac_ext 22183 cat >>conftest.$ac_ext <<_ACEOF 22184 /* end confdefs.h. */ 22185 22186 #ifdef F77_DUMMY_MAIN 22187 22188 # ifdef __cplusplus 22189 extern "C" 22190 # endif 22191 int F77_DUMMY_MAIN() { return 1; } 22192 22193 #endif 22194 int 22195 main () 22196 { 22197 call daxpy 22198 ; 22199 return 0; 22200 } 22201 _ACEOF 22202 rm -f conftest.$ac_objext conftest$ac_exeext 22203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22204 (eval $ac_link) 2>conftest.er1 22205 ac_status=$? 22206 grep -v '^ *+' conftest.er1 >conftest.err 22207 rm -f conftest.er1 22208 cat conftest.err >&5 22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22210 (exit $ac_status); } && 22211 { ac_try='test -z "$ac_c_werror_flag" 22212 || test ! -s conftest.err' 22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22214 (eval $ac_try) 2>&5 22215 ac_status=$? 22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22217 (exit $ac_status); }; } && 22218 { ac_try='test -s conftest$ac_exeext' 22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22220 (eval $ac_try) 2>&5 22221 ac_status=$? 22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22223 (exit $ac_status); }; }; then 22224 echo "$as_me:$LINENO: result: yes" >&5 22225 echo "${ECHO_T}yes" >&6 22226 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 22227 ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS" 22228 else 22229 echo "$as_me: failed program was:" >&5 22230 sed 's/^/| /' conftest.$ac_ext >&5 22231 22232 echo "$as_me:$LINENO: result: no" >&5 22233 echo "${ECHO_T}no" >&6 22234 LIBS="$SAVE_LIBS" 22235 fi 22236 rm -f conftest.err conftest.$ac_objext \ 22237 conftest$ac_exeext conftest.$ac_ext 22238 ;; 22239 c) 22240 ac_ext=f 22241 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 22242 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22243 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 22244 case $ac_cv_f77_mangling in 22245 upper*) ac_val="DAXPY" ;; 22246 lower*) ac_val="daxpy" ;; 22247 *) ac_val="unknown" ;; 22248 esac 22249 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 22250 22251 cfuncdaxpy="$ac_val" 22252 22253 ac_ext=c 22254 ac_cpp='$CPP $CPPFLAGS' 22255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22257 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22258 22259 if test x"$coin_need_flibs" = xyes; then 22260 flink_try=no; 22261 else 22262 cat >conftest.$ac_ext <<_ACEOF 22263 /* confdefs.h. */ 22264 _ACEOF 22265 cat confdefs.h >>conftest.$ac_ext 22266 cat >>conftest.$ac_ext <<_ACEOF 22267 /* end confdefs.h. */ 22268 void $cfuncdaxpy(); 22269 #ifdef F77_DUMMY_MAIN 22270 22271 # ifdef __cplusplus 22272 extern "C" 22273 # endif 22274 int F77_DUMMY_MAIN() { return 1; } 22275 22276 #endif 22277 int 22278 main () 22279 { 22280 $cfuncdaxpy() 22281 ; 22282 return 0; 22283 } 22284 _ACEOF 22285 rm -f conftest.$ac_objext conftest$ac_exeext 22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22287 (eval $ac_link) 2>conftest.er1 22288 ac_status=$? 22289 grep -v '^ *+' conftest.er1 >conftest.err 22290 rm -f conftest.er1 22291 cat conftest.err >&5 22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22293 (exit $ac_status); } && 22294 { ac_try='test -z "$ac_c_werror_flag" 22295 || test ! -s conftest.err' 22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22297 (eval $ac_try) 2>&5 22298 ac_status=$? 22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22300 (exit $ac_status); }; } && 22301 { ac_try='test -s conftest$ac_exeext' 22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22303 (eval $ac_try) 2>&5 22304 ac_status=$? 22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22306 (exit $ac_status); }; }; then 22307 flink_try=yes 22308 else 22309 echo "$as_me: failed program was:" >&5 22310 sed 's/^/| /' conftest.$ac_ext >&5 22311 22312 flink_try=no 22313 fi 22314 rm -f conftest.err conftest.$ac_objext \ 22315 conftest$ac_exeext conftest.$ac_ext 22316 fi 22317 if test $flink_try = yes; then 22318 echo "$as_me:$LINENO: result: yes" >&5 22319 echo "${ECHO_T}yes" >&6 22320 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 22321 ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS" 22322 else 22323 if test x"$FLIBS" != x; then 22324 flink_save_libs="$LIBS" 22325 LIBS="$LIBS $FLIBS" 22326 cat >conftest.$ac_ext <<_ACEOF 22327 /* confdefs.h. */ 22328 _ACEOF 22329 cat confdefs.h >>conftest.$ac_ext 22330 cat >>conftest.$ac_ext <<_ACEOF 22331 /* end confdefs.h. */ 22332 void $cfuncdaxpy(); 22333 #ifdef F77_DUMMY_MAIN 22334 22335 # ifdef __cplusplus 22336 extern "C" 22337 # endif 22338 int F77_DUMMY_MAIN() { return 1; } 22339 22340 #endif 22341 int 22342 main () 22343 { 22344 $cfuncdaxpy() 22345 ; 22346 return 0; 22347 } 22348 _ACEOF 22349 rm -f conftest.$ac_objext conftest$ac_exeext 22350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22351 (eval $ac_link) 2>conftest.er1 22352 ac_status=$? 22353 grep -v '^ *+' conftest.er1 >conftest.err 22354 rm -f conftest.er1 22355 cat conftest.err >&5 22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22357 (exit $ac_status); } && 22358 { ac_try='test -z "$ac_c_werror_flag" 22359 || test ! -s conftest.err' 22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22361 (eval $ac_try) 2>&5 22362 ac_status=$? 22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22364 (exit $ac_status); }; } && 22365 { ac_try='test -s conftest$ac_exeext' 22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22367 (eval $ac_try) 2>&5 22368 ac_status=$? 22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22370 (exit $ac_status); }; }; then 22371 LIBS="$flink_save_libs" 22372 echo "$as_me:$LINENO: result: yes" >&5 22373 echo "${ECHO_T}yes" >&6 22374 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 22375 ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS" 22376 coin_need_flibs=yes 22377 else 22378 echo "$as_me: failed program was:" >&5 22379 sed 's/^/| /' conftest.$ac_ext >&5 22380 22381 LIBS="$flink_save_libs" 22382 echo "$as_me:$LINENO: result: no" >&5 22383 echo "${ECHO_T}no" >&6 22384 LIBS="$SAVE_LIBS" 22385 fi 22386 rm -f conftest.err conftest.$ac_objext \ 22387 conftest$ac_exeext conftest.$ac_ext 22388 else 22389 echo "$as_me:$LINENO: result: no" >&5 22390 echo "${ECHO_T}no" >&6 22391 LIBS="$SAVE_LIBS" 22392 fi 22393 fi 22394 ;; 22395 cc|cpp) 22396 ac_ext=f 22397 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 22398 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22399 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 22400 case $ac_cv_f77_mangling in 22401 upper*) ac_val="DAXPY" ;; 22402 lower*) ac_val="daxpy" ;; 22403 *) ac_val="unknown" ;; 22404 esac 22405 case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac 22406 22407 cfuncdaxpy="$ac_val" 22408 22409 ac_ext=c 22410 ac_cpp='$CPP $CPPFLAGS' 22411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22413 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22414 22415 if test x"$coin_need_flibs" = xyes; then 22416 flink_try=no; 22417 else 22418 cat >conftest.$ac_ext <<_ACEOF 22419 /* confdefs.h. */ 22420 _ACEOF 22421 cat confdefs.h >>conftest.$ac_ext 22422 cat >>conftest.$ac_ext <<_ACEOF 22423 /* end confdefs.h. */ 22424 extern "C" {void $cfuncdaxpy();} 22425 #ifdef F77_DUMMY_MAIN 22426 22427 # ifdef __cplusplus 22428 extern "C" 22429 # endif 22430 int F77_DUMMY_MAIN() { return 1; } 22431 22432 #endif 22433 int 22434 main () 22435 { 22436 $cfuncdaxpy() 22437 ; 22438 return 0; 22439 } 22440 _ACEOF 22441 rm -f conftest.$ac_objext conftest$ac_exeext 22442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22443 (eval $ac_link) 2>conftest.er1 22444 ac_status=$? 22445 grep -v '^ *+' conftest.er1 >conftest.err 22446 rm -f conftest.er1 22447 cat conftest.err >&5 22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22449 (exit $ac_status); } && 22450 { ac_try='test -z "$ac_c_werror_flag" 22451 || test ! -s conftest.err' 22452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22453 (eval $ac_try) 2>&5 22454 ac_status=$? 22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22456 (exit $ac_status); }; } && 22457 { ac_try='test -s conftest$ac_exeext' 22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22459 (eval $ac_try) 2>&5 22460 ac_status=$? 22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22462 (exit $ac_status); }; }; then 22463 flink_try=yes 22464 else 22465 echo "$as_me: failed program was:" >&5 22466 sed 's/^/| /' conftest.$ac_ext >&5 22467 22468 flink_try=no 22469 fi 22470 rm -f conftest.err conftest.$ac_objext \ 22471 conftest$ac_exeext conftest.$ac_ext 22472 fi 22473 if test $flink_try = yes; then 22474 echo "$as_me:$LINENO: result: yes" >&5 22475 echo "${ECHO_T}yes" >&6 22476 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 22477 ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS" 22478 else 22479 if test x"$FLIBS" != x; then 22480 flink_save_libs="$LIBS" 22481 LIBS="$LIBS $FLIBS" 22482 cat >conftest.$ac_ext <<_ACEOF 22483 /* confdefs.h. */ 22484 _ACEOF 22485 cat confdefs.h >>conftest.$ac_ext 22486 cat >>conftest.$ac_ext <<_ACEOF 22487 /* end confdefs.h. */ 22488 extern "C" {void $cfuncdaxpy();} 22489 #ifdef F77_DUMMY_MAIN 22490 22491 # ifdef __cplusplus 22492 extern "C" 22493 # endif 22494 int F77_DUMMY_MAIN() { return 1; } 22495 22496 #endif 22497 int 22498 main () 22499 { 22500 $cfuncdaxpy() 22501 ; 22502 return 0; 22503 } 22504 _ACEOF 22505 rm -f conftest.$ac_objext conftest$ac_exeext 22506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22507 (eval $ac_link) 2>conftest.er1 22508 ac_status=$? 22509 grep -v '^ *+' conftest.er1 >conftest.err 22510 rm -f conftest.er1 22511 cat conftest.err >&5 22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22513 (exit $ac_status); } && 22514 { ac_try='test -z "$ac_c_werror_flag" 22515 || test ! -s conftest.err' 22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22517 (eval $ac_try) 2>&5 22518 ac_status=$? 22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22520 (exit $ac_status); }; } && 22521 { ac_try='test -s conftest$ac_exeext' 22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22523 (eval $ac_try) 2>&5 22524 ac_status=$? 22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22526 (exit $ac_status); }; }; then 22527 LIBS="$flink_save_libs" 22528 echo "$as_me:$LINENO: result: yes" >&5 22529 echo "${ECHO_T}yes" >&6 22530 use_blas='mkl_intel_c.lib mkl_sequential.lib mkl_core.lib' 22531 ADDLIBS="mkl_intel_c.lib mkl_sequential.lib mkl_core.lib $ADDLIBS" 22532 coin_need_flibs=yes 22533 else 22534 echo "$as_me: failed program was:" >&5 22535 sed 's/^/| /' conftest.$ac_ext >&5 22536 22537 LIBS="$flink_save_libs" 22538 echo "$as_me:$LINENO: result: no" >&5 22539 echo "${ECHO_T}no" >&6 22540 LIBS="$SAVE_LIBS" 22541 fi 22542 rm -f conftest.err conftest.$ac_objext \ 22543 conftest$ac_exeext conftest.$ac_ext 22544 else 22545 echo "$as_me:$LINENO: result: no" >&5 22546 echo "${ECHO_T}no" >&6 22547 LIBS="$SAVE_LIBS" 22548 fi 22549 fi 22550 ;; 22551 esac 22552 22553 ;; 22554 esac 22166 22555 ;; 22167 22556 esac … … 24633 25022 fi 24634 25023 case "$CC" in 24635 cl* | */cl* | CL* | */CL* )25024 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 24636 25025 coin_link_input_cmd=cp ;; 24637 25026 esac … … 24651 25040 24652 25041 case "$CC" in 24653 cl* | */cl* | CL* | */CL* )25042 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 24654 25043 LIBEXT=lib ;; 24655 25044 *) LIBEXT=a ;;
Note: See TracChangeset
for help on using the changeset viewer.