Changeset 2490 for ThirdParty/Lapack/trunk/configure
- Timestamp:
- Jan 28, 2012 10:26:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Lapack/trunk/configure
r2349 r2490 1953 1953 if test x"$CXX" != x; then 1954 1954 case "$CXX" in 1955 clang* ) ;; 1955 1956 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1956 1957 if test x"$CC" = x; then … … 2772 2773 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 2773 2774 case "$CC" in 2775 clang* ) ;; 2774 2776 cl* | */cl* | CL* | */CL* ) 2775 2777 if test "$ac_cv_prog_cc_g" = yes ; then … … 2784 2786 coin_cc_is_cl=false 2785 2787 case "$CC" in 2788 clang* ) ;; 2786 2789 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2787 2790 coin_cc_is_cl=true … … 2887 2890 *-cygwin* | *-mingw*) 2888 2891 case "$CC" in 2892 clang* ) ;; 2889 2893 cl* | */cl* | CL* | */CL*) 2890 2894 coin_opt_cflags='-MT -O2' … … 3208 3212 # Correct the LD variable if we are using the MS or Intel-windows compiler 3209 3213 case "$CC" in 3214 clang* ) ;; 3210 3215 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3211 3216 case $build in … … 3462 3467 3463 3468 # Provide some information about the compiler. 3464 echo "$as_me:346 4:" \3469 echo "$as_me:3469:" \ 3465 3470 "checking for Fortran 77 compiler version" >&5 3466 3471 ac_compiler=`set X $ac_compile; echo $2` … … 4033 4038 ac_save_FFLAGS=$FFLAGS 4034 4039 FFLAGS="$FFLAGS $ac_verb" 4035 (eval echo $as_me:40 35: \"$ac_link\") >&54040 (eval echo $as_me:4040: \"$ac_link\") >&5 4036 4041 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4037 4042 echo "$ac_f77_v_output" >&5 … … 4111 4116 ac_save_FFLAGS=$FFLAGS 4112 4117 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4113 (eval echo $as_me:411 3: \"$ac_link\") >&54118 (eval echo $as_me:4118: \"$ac_link\") >&5 4114 4119 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4115 4120 echo "$ac_f77_v_output" >&5 … … 6306 6311 fi 6307 6312 case "$CC" in 6313 clang* ) ;; 6308 6314 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 6309 6315 coin_save_LIBS="$LIBS" … … 8323 8329 # construct dependencies variables from LIBS variables 8324 8330 # we add an extra space in LIBS so we can substitute out everything starting with " -" 8325 # remove everything of the form -framework xxx as used on Mac and mkl xxxas used on Windows8331 # remove everything of the form -framework xxx as used on Mac and mkl* and libiomp5* as used on Windows 8326 8332 # then remove everything of the form -xxx 8327 8333 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 8328 BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`8329 8330 LAPACKLIB_DEPENDENCIES=`echo " $LAPACKLIB_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`8334 BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 8335 8336 LAPACKLIB_DEPENDENCIES=`echo " $LAPACKLIB_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ libiomp5[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 8331 8337 8332 8338 fi … … 10113 10119 *-*-irix6*) 10114 10120 # Find out which ABI we are using. 10115 echo '#line 101 15"configure"' > conftest.$ac_ext10121 echo '#line 10121 "configure"' > conftest.$ac_ext 10116 10122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10117 10123 (eval $ac_compile) 2>&5 … … 12590 12596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12591 12597 -e 's:$: $lt_compiler_flag:'` 12592 (eval echo "\"\$as_me:1259 2: $lt_compile\"" >&5)12598 (eval echo "\"\$as_me:12598: $lt_compile\"" >&5) 12593 12599 (eval "$lt_compile" 2>conftest.err) 12594 12600 ac_status=$? 12595 12601 cat conftest.err >&5 12596 echo "$as_me:12 596: \$? = $ac_status" >&512602 echo "$as_me:12602: \$? = $ac_status" >&5 12597 12603 if (exit $ac_status) && test -s "$ac_outfile"; then 12598 12604 # The compiler can only warn and ignore the option if not recognized … … 12858 12864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12859 12865 -e 's:$: $lt_compiler_flag:'` 12860 (eval echo "\"\$as_me:1286 0: $lt_compile\"" >&5)12866 (eval echo "\"\$as_me:12866: $lt_compile\"" >&5) 12861 12867 (eval "$lt_compile" 2>conftest.err) 12862 12868 ac_status=$? 12863 12869 cat conftest.err >&5 12864 echo "$as_me:128 64: \$? = $ac_status" >&512870 echo "$as_me:12870: \$? = $ac_status" >&5 12865 12871 if (exit $ac_status) && test -s "$ac_outfile"; then 12866 12872 # The compiler can only warn and ignore the option if not recognized … … 12962 12968 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12963 12969 -e 's:$: $lt_compiler_flag:'` 12964 (eval echo "\"\$as_me:129 64: $lt_compile\"" >&5)12970 (eval echo "\"\$as_me:12970: $lt_compile\"" >&5) 12965 12971 (eval "$lt_compile" 2>out/conftest.err) 12966 12972 ac_status=$? 12967 12973 cat out/conftest.err >&5 12968 echo "$as_me:129 68: \$? = $ac_status" >&512974 echo "$as_me:12974: \$? = $ac_status" >&5 12969 12975 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12970 12976 then … … 15379 15385 lt_status=$lt_dlunknown 15380 15386 cat > conftest.$ac_ext <<EOF 15381 #line 1538 1"configure"15387 #line 15387 "configure" 15382 15388 #include "confdefs.h" 15383 15389 … … 15479 15485 lt_status=$lt_dlunknown 15480 15486 cat > conftest.$ac_ext <<EOF 15481 #line 1548 1"configure"15487 #line 15487 "configure" 15482 15488 #include "confdefs.h" 15483 15489 … … 17839 17845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17840 17846 -e 's:$: $lt_compiler_flag:'` 17841 (eval echo "\"\$as_me:1784 1: $lt_compile\"" >&5)17847 (eval echo "\"\$as_me:17847: $lt_compile\"" >&5) 17842 17848 (eval "$lt_compile" 2>conftest.err) 17843 17849 ac_status=$? 17844 17850 cat conftest.err >&5 17845 echo "$as_me:178 45: \$? = $ac_status" >&517851 echo "$as_me:17851: \$? = $ac_status" >&5 17846 17852 if (exit $ac_status) && test -s "$ac_outfile"; then 17847 17853 # The compiler can only warn and ignore the option if not recognized … … 17943 17949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17944 17950 -e 's:$: $lt_compiler_flag:'` 17945 (eval echo "\"\$as_me:179 45: $lt_compile\"" >&5)17951 (eval echo "\"\$as_me:17951: $lt_compile\"" >&5) 17946 17952 (eval "$lt_compile" 2>out/conftest.err) 17947 17953 ac_status=$? 17948 17954 cat out/conftest.err >&5 17949 echo "$as_me:179 49: \$? = $ac_status" >&517955 echo "$as_me:17955: \$? = $ac_status" >&5 17950 17956 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17951 17957 then … … 19513 19519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19514 19520 -e 's:$: $lt_compiler_flag:'` 19515 (eval echo "\"\$as_me:195 15: $lt_compile\"" >&5)19521 (eval echo "\"\$as_me:19521: $lt_compile\"" >&5) 19516 19522 (eval "$lt_compile" 2>conftest.err) 19517 19523 ac_status=$? 19518 19524 cat conftest.err >&5 19519 echo "$as_me:195 19: \$? = $ac_status" >&519525 echo "$as_me:19525: \$? = $ac_status" >&5 19520 19526 if (exit $ac_status) && test -s "$ac_outfile"; then 19521 19527 # The compiler can only warn and ignore the option if not recognized … … 19617 19623 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19618 19624 -e 's:$: $lt_compiler_flag:'` 19619 (eval echo "\"\$as_me:196 19: $lt_compile\"" >&5)19625 (eval echo "\"\$as_me:19625: $lt_compile\"" >&5) 19620 19626 (eval "$lt_compile" 2>out/conftest.err) 19621 19627 ac_status=$? 19622 19628 cat out/conftest.err >&5 19623 echo "$as_me:1962 3: \$? = $ac_status" >&519629 echo "$as_me:19629: \$? = $ac_status" >&5 19624 19630 if (exit $ac_status) && test -s out/conftest2.$ac_objext 19625 19631 then … … 21824 21830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 21825 21831 -e 's:$: $lt_compiler_flag:'` 21826 (eval echo "\"\$as_me:218 26: $lt_compile\"" >&5)21832 (eval echo "\"\$as_me:21832: $lt_compile\"" >&5) 21827 21833 (eval "$lt_compile" 2>conftest.err) 21828 21834 ac_status=$? 21829 21835 cat conftest.err >&5 21830 echo "$as_me:2183 0: \$? = $ac_status" >&521836 echo "$as_me:21836: \$? = $ac_status" >&5 21831 21837 if (exit $ac_status) && test -s "$ac_outfile"; then 21832 21838 # The compiler can only warn and ignore the option if not recognized … … 22092 22098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 22093 22099 -e 's:$: $lt_compiler_flag:'` 22094 (eval echo "\"\$as_me:22 094: $lt_compile\"" >&5)22100 (eval echo "\"\$as_me:22100: $lt_compile\"" >&5) 22095 22101 (eval "$lt_compile" 2>conftest.err) 22096 22102 ac_status=$? 22097 22103 cat conftest.err >&5 22098 echo "$as_me:22 098: \$? = $ac_status" >&522104 echo "$as_me:22104: \$? = $ac_status" >&5 22099 22105 if (exit $ac_status) && test -s "$ac_outfile"; then 22100 22106 # The compiler can only warn and ignore the option if not recognized … … 22196 22202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 22197 22203 -e 's:$: $lt_compiler_flag:'` 22198 (eval echo "\"\$as_me:22 198: $lt_compile\"" >&5)22204 (eval echo "\"\$as_me:22204: $lt_compile\"" >&5) 22199 22205 (eval "$lt_compile" 2>out/conftest.err) 22200 22206 ac_status=$? 22201 22207 cat out/conftest.err >&5 22202 echo "$as_me:2220 2: \$? = $ac_status" >&522208 echo "$as_me:22208: \$? = $ac_status" >&5 22203 22209 if (exit $ac_status) && test -s out/conftest2.$ac_objext 22204 22210 then … … 24952 24958 *-cygwin* | *-mingw*) 24953 24959 case "$CXX" in 24960 clang* ) 24961 # we assume that libtool patches for CLANG are the same as for GNU compiler - correct??? 24962 { echo "$as_me:$LINENO: Applying patches to libtool for CLANG compiler" >&5 24963 echo "$as_me: Applying patches to libtool for CLANG compiler" >&6;} 24964 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 24965 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 24966 -e 's|libext="lib"|libext="a"|' \ 24967 libtool > conftest.bla 24968 ;; 24954 24969 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 24955 24970 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 … … 24967 24982 -e 's%old_archive_cmds="lib -OUT:\\$oldlib\\$oldobjs\\$old_deplibs"%old_archive_cmds="if test -r \\$oldlib; then bla=\\"\\$oldlib\\"; else bla=; fi; lib -OUT:\\$oldlib \\\\\\$bla\\$oldobjs\\$old_deplibs"%' \ 24968 24983 libtool > conftest.bla 24969 24970 mv conftest.bla libtool24971 chmod 755 libtool24972 24984 ;; 24973 24985 *) … … 24978 24990 -e 's|libext="lib"|libext="a"|' \ 24979 24991 libtool > conftest.bla 24980 24981 mv conftest.bla libtool24982 chmod 755 libtool24983 24992 ;; 24984 24993 esac 24994 mv conftest.bla libtool 24995 chmod 755 libtool 24996 24985 24997 ;; 24986 24998 *-darwin*) … … 25143 25155 fi 25144 25156 case "$CC" in 25157 clang* ) ;; 25145 25158 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 25146 25159 coin_link_input_cmd=cp ;; … … 25156 25169 25157 25170 case "$CC" in 25171 clang* ) 25172 LIBEXT=a ;; 25158 25173 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 25159 25174 LIBEXT=lib ;;
Note: See TracChangeset
for help on using the changeset viewer.