Changeset 2905
- Timestamp:
- Sep 12, 2013 6:03:17 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Blas/trunk/configure
r2886 r2905 1083 1083 icl/link). Default when mentioned: mingw. Default 1084 1084 when not mentioned: disabled. 1085 1086 1085 --disable-pkg-config disable use of pkg-config (if available) 1087 1086 --enable-static[=PKGS] … … 1923 1922 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1924 1923 fi 1925 1926 1927 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given.1928 if test "${enable_static_standardlibs+set}" = set; then1929 enableval="$enable_static_standardlibs"1930 case "$enableval" in1931 no | yes | auto ) ;;1932 *)1933 { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&51934 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;}1935 { (exit 1); exit 1; }; } ;;1936 esac1937 use_static_standardlibs=$enableval1938 else1939 use_static_standardlibs=no1940 fi;1941 1942 1924 1943 1925 … … 3079 3061 CFLAGS="$OPT_CFLAGS" 3080 3062 fi 3081 3082 3063 else 3083 3064 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3248 3229 esac 3249 3230 3250 # check whether to add flags for static linking against standard libraries to LDFLAGS3251 if test x$use_static_standardlibs != xno ; then3252 case $build in3253 *-mingw*)3254 static_standardlib_flag=-static3255 ;;3256 *)3257 static_standardlib_flag=-static-libgcc3258 ;;3259 esac3260 case " $LDFLAGS " in3261 *" $static_standardlib_flag "* ) ;;3262 *)3263 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&53264 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&63265 coin_save_LDFLAGS="$LDFLAGS"3266 LDFLAGS="$LDFLAGS $static_standardlib_flag"3267 cat >conftest.$ac_ext <<_ACEOF3268 /* confdefs.h. */3269 _ACEOF3270 cat confdefs.h >>conftest.$ac_ext3271 cat >>conftest.$ac_ext <<_ACEOF3272 /* end confdefs.h. */3273 3274 int3275 main ()3276 {3277 int i=0;3278 ;3279 return 0;3280 }3281 _ACEOF3282 rm -f conftest.$ac_objext conftest$ac_exeext3283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53284 (eval $ac_link) 2>conftest.er13285 ac_status=$?3286 grep -v '^ *+' conftest.er1 >conftest.err3287 rm -f conftest.er13288 cat conftest.err >&53289 echo "$as_me:$LINENO: \$? = $ac_status" >&53290 (exit $ac_status); } &&3291 { ac_try='test -z "$ac_c_werror_flag"3292 || test ! -s conftest.err'3293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53294 (eval $ac_try) 2>&53295 ac_status=$?3296 echo "$as_me:$LINENO: \$? = $ac_status" >&53297 (exit $ac_status); }; } &&3298 { ac_try='test -s conftest$ac_exeext'3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53300 (eval $ac_try) 2>&53301 ac_status=$?3302 echo "$as_me:$LINENO: \$? = $ac_status" >&53303 (exit $ac_status); }; }; then3304 echo "$as_me:$LINENO: result: yes" >&53305 echo "${ECHO_T}yes" >&63306 else3307 echo "$as_me: failed program was:" >&53308 sed 's/^/| /' conftest.$ac_ext >&53309 3310 echo "$as_me:$LINENO: result: no" >&53311 echo "${ECHO_T}no" >&63312 LDFLAGS="$coin_save_LDFLAGS"3313 if test $use_static_standardlibs = yes ; then3314 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&53315 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}3316 { (exit 1); exit 1; }; }3317 fi3318 3319 fi3320 rm -f conftest.err conftest.$ac_objext \3321 conftest$ac_exeext conftest.$ac_ext3322 ;;3323 esac3324 fi3325 3326 3231 ac_ext=c 3327 3232 ac_cpp='$CPP $CPPFLAGS' … … 3344 3249 *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;; 3345 3250 esac 3346 3347 3251 3348 3252 … … 3560 3464 3561 3465 # Provide some information about the compiler. 3562 echo "$as_me:3 562:" \3466 echo "$as_me:3466:" \ 3563 3467 "checking for Fortran 77 compiler version" >&5 3564 3468 ac_compiler=`set X $ac_compile; echo $2` … … 3937 3841 FFLAGS="$OPT_FFLAGS" 3938 3842 fi 3939 3940 3843 else 3941 3844 FFLAGS="$FFLAGS $ADD_FFLAGS" … … 4080 3983 esac 4081 3984 4082 # check whether to add flag for static linking against standard libraries to LDFLAGS4083 if test x$use_static_standardlibs != xno ; then4084 case $build in4085 *-mingw*)4086 static_standardlib_flag=-static4087 ;;4088 *)4089 static_standardlib_flag=-static-libgfortran4090 ;;4091 esac4092 case " $LDFLAGS " in4093 *" $static_standardlib_flag "* ) ;;4094 *)4095 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&54096 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&64097 coin_save_LDFLAGS="$LDFLAGS"4098 LDFLAGS="$LDFLAGS $static_standardlib_flag"4099 cat >conftest.$ac_ext <<_ACEOF4100 program main4101 integer i4102 end4103 _ACEOF4104 rm -f conftest.$ac_objext conftest$ac_exeext4105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54106 (eval $ac_link) 2>conftest.er14107 ac_status=$?4108 grep -v '^ *+' conftest.er1 >conftest.err4109 rm -f conftest.er14110 cat conftest.err >&54111 echo "$as_me:$LINENO: \$? = $ac_status" >&54112 (exit $ac_status); } &&4113 { ac_try='test -z "$ac_f77_werror_flag"4114 || test ! -s conftest.err'4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54116 (eval $ac_try) 2>&54117 ac_status=$?4118 echo "$as_me:$LINENO: \$? = $ac_status" >&54119 (exit $ac_status); }; } &&4120 { ac_try='test -s conftest$ac_exeext'4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54122 (eval $ac_try) 2>&54123 ac_status=$?4124 echo "$as_me:$LINENO: \$? = $ac_status" >&54125 (exit $ac_status); }; }; then4126 echo "$as_me:$LINENO: result: yes" >&54127 echo "${ECHO_T}yes" >&64128 else4129 echo "$as_me: failed program was:" >&54130 sed 's/^/| /' conftest.$ac_ext >&54131 4132 echo "$as_me:$LINENO: result: no" >&54133 echo "${ECHO_T}no" >&64134 LDFLAGS="$coin_save_LDFLAGS"4135 if test $use_static_standardlibs = yes ; then4136 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&54137 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}4138 { (exit 1); exit 1; }; }4139 fi4140 4141 fi4142 rm -f conftest.err conftest.$ac_objext \4143 conftest$ac_exeext conftest.$ac_ext4144 ;;4145 esac4146 fi4147 4148 3985 ac_ext=c 4149 3986 ac_cpp='$CPP $CPPFLAGS' … … 4208 4045 ac_save_FFLAGS=$FFLAGS 4209 4046 FFLAGS="$FFLAGS $ac_verb" 4210 (eval echo $as_me:4 210: \"$ac_link\") >&54047 (eval echo $as_me:4047: \"$ac_link\") >&5 4211 4048 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4212 4049 echo "$ac_f77_v_output" >&5 … … 4286 4123 ac_save_FFLAGS=$FFLAGS 4287 4124 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4288 (eval echo $as_me:4 288: \"$ac_link\") >&54125 (eval echo $as_me:4125: \"$ac_link\") >&5 4289 4126 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4290 4127 echo "$ac_f77_v_output" >&5 … … 6896 6733 *-*-irix6*) 6897 6734 # Find out which ABI we are using. 6898 echo '#line 6 898"configure"' > conftest.$ac_ext6735 echo '#line 6735 "configure"' > conftest.$ac_ext 6899 6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6900 6737 (eval $ac_compile) 2>&5 … … 9373 9210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9374 9211 -e 's:$: $lt_compiler_flag:'` 9375 (eval echo "\"\$as_me:9 375: $lt_compile\"" >&5)9212 (eval echo "\"\$as_me:9212: $lt_compile\"" >&5) 9376 9213 (eval "$lt_compile" 2>conftest.err) 9377 9214 ac_status=$? 9378 9215 cat conftest.err >&5 9379 echo "$as_me:9 379: \$? = $ac_status" >&59216 echo "$as_me:9216: \$? = $ac_status" >&5 9380 9217 if (exit $ac_status) && test -s "$ac_outfile"; then 9381 9218 # The compiler can only warn and ignore the option if not recognized … … 9641 9478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9642 9479 -e 's:$: $lt_compiler_flag:'` 9643 (eval echo "\"\$as_me:9 643: $lt_compile\"" >&5)9480 (eval echo "\"\$as_me:9480: $lt_compile\"" >&5) 9644 9481 (eval "$lt_compile" 2>conftest.err) 9645 9482 ac_status=$? 9646 9483 cat conftest.err >&5 9647 echo "$as_me:9 647: \$? = $ac_status" >&59484 echo "$as_me:9484: \$? = $ac_status" >&5 9648 9485 if (exit $ac_status) && test -s "$ac_outfile"; then 9649 9486 # The compiler can only warn and ignore the option if not recognized … … 9745 9582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9746 9583 -e 's:$: $lt_compiler_flag:'` 9747 (eval echo "\"\$as_me:9 747: $lt_compile\"" >&5)9584 (eval echo "\"\$as_me:9584: $lt_compile\"" >&5) 9748 9585 (eval "$lt_compile" 2>out/conftest.err) 9749 9586 ac_status=$? 9750 9587 cat out/conftest.err >&5 9751 echo "$as_me:9 751: \$? = $ac_status" >&59588 echo "$as_me:9588: \$? = $ac_status" >&5 9752 9589 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9753 9590 then … … 12162 11999 lt_status=$lt_dlunknown 12163 12000 cat > conftest.$ac_ext <<EOF 12164 #line 12 164"configure"12001 #line 12001 "configure" 12165 12002 #include "confdefs.h" 12166 12003 … … 12262 12099 lt_status=$lt_dlunknown 12263 12100 cat > conftest.$ac_ext <<EOF 12264 #line 12 264"configure"12101 #line 12101 "configure" 12265 12102 #include "confdefs.h" 12266 12103 … … 14622 14459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14623 14460 -e 's:$: $lt_compiler_flag:'` 14624 (eval echo "\"\$as_me:14 624: $lt_compile\"" >&5)14461 (eval echo "\"\$as_me:14461: $lt_compile\"" >&5) 14625 14462 (eval "$lt_compile" 2>conftest.err) 14626 14463 ac_status=$? 14627 14464 cat conftest.err >&5 14628 echo "$as_me:14 628: \$? = $ac_status" >&514465 echo "$as_me:14465: \$? = $ac_status" >&5 14629 14466 if (exit $ac_status) && test -s "$ac_outfile"; then 14630 14467 # The compiler can only warn and ignore the option if not recognized … … 14726 14563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14727 14564 -e 's:$: $lt_compiler_flag:'` 14728 (eval echo "\"\$as_me:14 728: $lt_compile\"" >&5)14565 (eval echo "\"\$as_me:14565: $lt_compile\"" >&5) 14729 14566 (eval "$lt_compile" 2>out/conftest.err) 14730 14567 ac_status=$? 14731 14568 cat out/conftest.err >&5 14732 echo "$as_me:14 732: \$? = $ac_status" >&514569 echo "$as_me:14569: \$? = $ac_status" >&5 14733 14570 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14734 14571 then … … 16296 16133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16297 16134 -e 's:$: $lt_compiler_flag:'` 16298 (eval echo "\"\$as_me:16 298: $lt_compile\"" >&5)16135 (eval echo "\"\$as_me:16135: $lt_compile\"" >&5) 16299 16136 (eval "$lt_compile" 2>conftest.err) 16300 16137 ac_status=$? 16301 16138 cat conftest.err >&5 16302 echo "$as_me:16 302: \$? = $ac_status" >&516139 echo "$as_me:16139: \$? = $ac_status" >&5 16303 16140 if (exit $ac_status) && test -s "$ac_outfile"; then 16304 16141 # The compiler can only warn and ignore the option if not recognized … … 16400 16237 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16401 16238 -e 's:$: $lt_compiler_flag:'` 16402 (eval echo "\"\$as_me:16 402: $lt_compile\"" >&5)16239 (eval echo "\"\$as_me:16239: $lt_compile\"" >&5) 16403 16240 (eval "$lt_compile" 2>out/conftest.err) 16404 16241 ac_status=$? 16405 16242 cat out/conftest.err >&5 16406 echo "$as_me:16 406: \$? = $ac_status" >&516243 echo "$as_me:16243: \$? = $ac_status" >&5 16407 16244 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16408 16245 then … … 18607 18444 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18608 18445 -e 's:$: $lt_compiler_flag:'` 18609 (eval echo "\"\$as_me:18 609: $lt_compile\"" >&5)18446 (eval echo "\"\$as_me:18446: $lt_compile\"" >&5) 18610 18447 (eval "$lt_compile" 2>conftest.err) 18611 18448 ac_status=$? 18612 18449 cat conftest.err >&5 18613 echo "$as_me:18 613: \$? = $ac_status" >&518450 echo "$as_me:18450: \$? = $ac_status" >&5 18614 18451 if (exit $ac_status) && test -s "$ac_outfile"; then 18615 18452 # The compiler can only warn and ignore the option if not recognized … … 18875 18712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18876 18713 -e 's:$: $lt_compiler_flag:'` 18877 (eval echo "\"\$as_me:18 877: $lt_compile\"" >&5)18714 (eval echo "\"\$as_me:18714: $lt_compile\"" >&5) 18878 18715 (eval "$lt_compile" 2>conftest.err) 18879 18716 ac_status=$? 18880 18717 cat conftest.err >&5 18881 echo "$as_me:18 881: \$? = $ac_status" >&518718 echo "$as_me:18718: \$? = $ac_status" >&5 18882 18719 if (exit $ac_status) && test -s "$ac_outfile"; then 18883 18720 # The compiler can only warn and ignore the option if not recognized … … 18979 18816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18980 18817 -e 's:$: $lt_compiler_flag:'` 18981 (eval echo "\"\$as_me:18 981: $lt_compile\"" >&5)18818 (eval echo "\"\$as_me:18818: $lt_compile\"" >&5) 18982 18819 (eval "$lt_compile" 2>out/conftest.err) 18983 18820 ac_status=$? 18984 18821 cat out/conftest.err >&5 18985 echo "$as_me:18 985: \$? = $ac_status" >&518822 echo "$as_me:18822: \$? = $ac_status" >&5 18986 18823 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18987 18824 then
Note: See TracChangeset
for help on using the changeset viewer.