Changeset 2678 for ThirdParty/Blas/trunk
- Timestamp:
- Dec 2, 2012 10:45:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Blas/trunk/configure
r2670 r2678 1083 1083 icl/link). Default when mentioned: mingw. Default 1084 1084 when not mentioned: disabled. 1085 1085 1086 --disable-pkg-config disable use of pkg-config (if available) 1086 1087 --enable-static[=PKGS] … … 1922 1923 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1923 1924 fi 1925 1926 1927 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given. 1928 if test "${enable_static_standardlibs+set}" = set; then 1929 enableval="$enable_static_standardlibs" 1930 case "$enableval" in 1931 no | yes | auto ) ;; 1932 *) 1933 { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&5 1934 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;} 1935 { (exit 1); exit 1; }; } ;; 1936 esac 1937 use_static_standardlibs=$enableval 1938 else 1939 use_static_standardlibs=no 1940 fi; 1941 1924 1942 1925 1943 … … 3048 3066 CFLAGS="$OPT_CFLAGS" 3049 3067 fi 3068 3050 3069 else 3051 3070 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3216 3235 esac 3217 3236 3237 # check whether to add flags for static linking against standard libraries to LDFLAGS 3238 if test x$use_static_standardlibs != xno ; then 3239 case $build in 3240 *-mingw*) 3241 static_standardlib_flag=-static 3242 ;; 3243 *) 3244 static_standardlib_flag=-static-libgcc 3245 ;; 3246 esac 3247 case " $LDFLAGS " in 3248 *" $static_standardlib_flag "* ) ;; 3249 *) 3250 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5 3251 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6 3252 coin_save_LDFLAGS="$LDFLAGS" 3253 LDFLAGS="$LDFLAGS $static_standardlib_flag" 3254 cat >conftest.$ac_ext <<_ACEOF 3255 /* confdefs.h. */ 3256 _ACEOF 3257 cat confdefs.h >>conftest.$ac_ext 3258 cat >>conftest.$ac_ext <<_ACEOF 3259 /* end confdefs.h. */ 3260 3261 int 3262 main () 3263 { 3264 int i=0; 3265 ; 3266 return 0; 3267 } 3268 _ACEOF 3269 rm -f conftest.$ac_objext conftest$ac_exeext 3270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3271 (eval $ac_link) 2>conftest.er1 3272 ac_status=$? 3273 grep -v '^ *+' conftest.er1 >conftest.err 3274 rm -f conftest.er1 3275 cat conftest.err >&5 3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3277 (exit $ac_status); } && 3278 { ac_try='test -z "$ac_c_werror_flag" 3279 || test ! -s conftest.err' 3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3281 (eval $ac_try) 2>&5 3282 ac_status=$? 3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3284 (exit $ac_status); }; } && 3285 { ac_try='test -s conftest$ac_exeext' 3286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3287 (eval $ac_try) 2>&5 3288 ac_status=$? 3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3290 (exit $ac_status); }; }; then 3291 echo "$as_me:$LINENO: result: yes" >&5 3292 echo "${ECHO_T}yes" >&6 3293 else 3294 echo "$as_me: failed program was:" >&5 3295 sed 's/^/| /' conftest.$ac_ext >&5 3296 3297 echo "$as_me:$LINENO: result: no" >&5 3298 echo "${ECHO_T}no" >&6 3299 LDFLAGS="$coin_save_LDFLAGS" 3300 if test $use_static_standardlibs = yes ; then 3301 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5 3302 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;} 3303 { (exit 1); exit 1; }; } 3304 fi 3305 3306 fi 3307 rm -f conftest.err conftest.$ac_objext \ 3308 conftest$ac_exeext conftest.$ac_ext 3309 ;; 3310 esac 3311 fi 3312 3218 3313 ac_ext=c 3219 3314 ac_cpp='$CPP $CPPFLAGS' … … 3236 3331 *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;; 3237 3332 esac 3333 3238 3334 3239 3335 … … 3451 3547 3452 3548 # Provide some information about the compiler. 3453 echo "$as_me:3 453:" \3549 echo "$as_me:3549:" \ 3454 3550 "checking for Fortran 77 compiler version" >&5 3455 3551 ac_compiler=`set X $ac_compile; echo $2` … … 3818 3914 FFLAGS="$OPT_FFLAGS" 3819 3915 fi 3916 3820 3917 else 3821 3918 FFLAGS="$FFLAGS $ADD_FFLAGS" … … 3960 4057 esac 3961 4058 4059 # check whether to add flag for static linking against standard libraries to LDFLAGS 4060 if test x$use_static_standardlibs != xno ; then 4061 case $build in 4062 *-mingw*) 4063 static_standardlib_flag=-static 4064 ;; 4065 *) 4066 static_standardlib_flag=-static-libgfortran 4067 ;; 4068 esac 4069 case " $LDFLAGS " in 4070 *" $static_standardlib_flag "* ) ;; 4071 *) 4072 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5 4073 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6 4074 coin_save_LDFLAGS="$LDFLAGS" 4075 LDFLAGS="$LDFLAGS $static_standardlib_flag" 4076 cat >conftest.$ac_ext <<_ACEOF 4077 program main 4078 integer i 4079 end 4080 _ACEOF 4081 rm -f conftest.$ac_objext conftest$ac_exeext 4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4083 (eval $ac_link) 2>conftest.er1 4084 ac_status=$? 4085 grep -v '^ *+' conftest.er1 >conftest.err 4086 rm -f conftest.er1 4087 cat conftest.err >&5 4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4089 (exit $ac_status); } && 4090 { ac_try='test -z "$ac_f77_werror_flag" 4091 || test ! -s conftest.err' 4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4093 (eval $ac_try) 2>&5 4094 ac_status=$? 4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); }; } && 4097 { ac_try='test -s conftest$ac_exeext' 4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4099 (eval $ac_try) 2>&5 4100 ac_status=$? 4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4102 (exit $ac_status); }; }; then 4103 echo "$as_me:$LINENO: result: yes" >&5 4104 echo "${ECHO_T}yes" >&6 4105 else 4106 echo "$as_me: failed program was:" >&5 4107 sed 's/^/| /' conftest.$ac_ext >&5 4108 4109 echo "$as_me:$LINENO: result: no" >&5 4110 echo "${ECHO_T}no" >&6 4111 LDFLAGS="$coin_save_LDFLAGS" 4112 if test $use_static_standardlibs = yes ; then 4113 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5 4114 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;} 4115 { (exit 1); exit 1; }; } 4116 fi 4117 4118 fi 4119 rm -f conftest.err conftest.$ac_objext \ 4120 conftest$ac_exeext conftest.$ac_ext 4121 ;; 4122 esac 4123 fi 4124 3962 4125 ac_ext=c 3963 4126 ac_cpp='$CPP $CPPFLAGS' … … 4022 4185 ac_save_FFLAGS=$FFLAGS 4023 4186 FFLAGS="$FFLAGS $ac_verb" 4024 (eval echo $as_me:4 024: \"$ac_link\") >&54187 (eval echo $as_me:4187: \"$ac_link\") >&5 4025 4188 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4026 4189 echo "$ac_f77_v_output" >&5 … … 4100 4263 ac_save_FFLAGS=$FFLAGS 4101 4264 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4102 (eval echo $as_me:4 102: \"$ac_link\") >&54265 (eval echo $as_me:4265: \"$ac_link\") >&5 4103 4266 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4104 4267 echo "$ac_f77_v_output" >&5 … … 5004 5167 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 5005 5168 if test "x${prefix}" = xNONE ; then 5006 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib /pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"5007 else 5008 COIN_PKG_CONFIG_PATH="${prefix}/lib /pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"5169 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib64/pkgconfig:${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 5170 else 5171 COIN_PKG_CONFIG_PATH="${prefix}/lib64/pkgconfig:${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 5009 5172 fi 5010 5173 … … 6702 6865 *-*-irix6*) 6703 6866 # Find out which ABI we are using. 6704 echo '#line 6 704"configure"' > conftest.$ac_ext6867 echo '#line 6867 "configure"' > conftest.$ac_ext 6705 6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6706 6869 (eval $ac_compile) 2>&5 … … 9179 9342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9180 9343 -e 's:$: $lt_compiler_flag:'` 9181 (eval echo "\"\$as_me:9 181: $lt_compile\"" >&5)9344 (eval echo "\"\$as_me:9344: $lt_compile\"" >&5) 9182 9345 (eval "$lt_compile" 2>conftest.err) 9183 9346 ac_status=$? 9184 9347 cat conftest.err >&5 9185 echo "$as_me:9 185: \$? = $ac_status" >&59348 echo "$as_me:9348: \$? = $ac_status" >&5 9186 9349 if (exit $ac_status) && test -s "$ac_outfile"; then 9187 9350 # The compiler can only warn and ignore the option if not recognized … … 9447 9610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9448 9611 -e 's:$: $lt_compiler_flag:'` 9449 (eval echo "\"\$as_me:9 449: $lt_compile\"" >&5)9612 (eval echo "\"\$as_me:9612: $lt_compile\"" >&5) 9450 9613 (eval "$lt_compile" 2>conftest.err) 9451 9614 ac_status=$? 9452 9615 cat conftest.err >&5 9453 echo "$as_me:9 453: \$? = $ac_status" >&59616 echo "$as_me:9616: \$? = $ac_status" >&5 9454 9617 if (exit $ac_status) && test -s "$ac_outfile"; then 9455 9618 # The compiler can only warn and ignore the option if not recognized … … 9551 9714 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9552 9715 -e 's:$: $lt_compiler_flag:'` 9553 (eval echo "\"\$as_me:9 553: $lt_compile\"" >&5)9716 (eval echo "\"\$as_me:9716: $lt_compile\"" >&5) 9554 9717 (eval "$lt_compile" 2>out/conftest.err) 9555 9718 ac_status=$? 9556 9719 cat out/conftest.err >&5 9557 echo "$as_me:9 557: \$? = $ac_status" >&59720 echo "$as_me:9720: \$? = $ac_status" >&5 9558 9721 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9559 9722 then … … 11968 12131 lt_status=$lt_dlunknown 11969 12132 cat > conftest.$ac_ext <<EOF 11970 #line 1 1970"configure"12133 #line 12133 "configure" 11971 12134 #include "confdefs.h" 11972 12135 … … 12068 12231 lt_status=$lt_dlunknown 12069 12232 cat > conftest.$ac_ext <<EOF 12070 #line 12 070"configure"12233 #line 12233 "configure" 12071 12234 #include "confdefs.h" 12072 12235 … … 14428 14591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14429 14592 -e 's:$: $lt_compiler_flag:'` 14430 (eval echo "\"\$as_me:14 430: $lt_compile\"" >&5)14593 (eval echo "\"\$as_me:14593: $lt_compile\"" >&5) 14431 14594 (eval "$lt_compile" 2>conftest.err) 14432 14595 ac_status=$? 14433 14596 cat conftest.err >&5 14434 echo "$as_me:14 434: \$? = $ac_status" >&514597 echo "$as_me:14597: \$? = $ac_status" >&5 14435 14598 if (exit $ac_status) && test -s "$ac_outfile"; then 14436 14599 # The compiler can only warn and ignore the option if not recognized … … 14532 14695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14533 14696 -e 's:$: $lt_compiler_flag:'` 14534 (eval echo "\"\$as_me:14 534: $lt_compile\"" >&5)14697 (eval echo "\"\$as_me:14697: $lt_compile\"" >&5) 14535 14698 (eval "$lt_compile" 2>out/conftest.err) 14536 14699 ac_status=$? 14537 14700 cat out/conftest.err >&5 14538 echo "$as_me:14 538: \$? = $ac_status" >&514701 echo "$as_me:14701: \$? = $ac_status" >&5 14539 14702 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14540 14703 then … … 16102 16265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16103 16266 -e 's:$: $lt_compiler_flag:'` 16104 (eval echo "\"\$as_me:16 104: $lt_compile\"" >&5)16267 (eval echo "\"\$as_me:16267: $lt_compile\"" >&5) 16105 16268 (eval "$lt_compile" 2>conftest.err) 16106 16269 ac_status=$? 16107 16270 cat conftest.err >&5 16108 echo "$as_me:16 108: \$? = $ac_status" >&516271 echo "$as_me:16271: \$? = $ac_status" >&5 16109 16272 if (exit $ac_status) && test -s "$ac_outfile"; then 16110 16273 # The compiler can only warn and ignore the option if not recognized … … 16206 16369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16207 16370 -e 's:$: $lt_compiler_flag:'` 16208 (eval echo "\"\$as_me:16 208: $lt_compile\"" >&5)16371 (eval echo "\"\$as_me:16371: $lt_compile\"" >&5) 16209 16372 (eval "$lt_compile" 2>out/conftest.err) 16210 16373 ac_status=$? 16211 16374 cat out/conftest.err >&5 16212 echo "$as_me:16 212: \$? = $ac_status" >&516375 echo "$as_me:16375: \$? = $ac_status" >&5 16213 16376 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16214 16377 then … … 18413 18576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18414 18577 -e 's:$: $lt_compiler_flag:'` 18415 (eval echo "\"\$as_me:18 415: $lt_compile\"" >&5)18578 (eval echo "\"\$as_me:18578: $lt_compile\"" >&5) 18416 18579 (eval "$lt_compile" 2>conftest.err) 18417 18580 ac_status=$? 18418 18581 cat conftest.err >&5 18419 echo "$as_me:18 419: \$? = $ac_status" >&518582 echo "$as_me:18582: \$? = $ac_status" >&5 18420 18583 if (exit $ac_status) && test -s "$ac_outfile"; then 18421 18584 # The compiler can only warn and ignore the option if not recognized … … 18681 18844 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18682 18845 -e 's:$: $lt_compiler_flag:'` 18683 (eval echo "\"\$as_me:18 683: $lt_compile\"" >&5)18846 (eval echo "\"\$as_me:18846: $lt_compile\"" >&5) 18684 18847 (eval "$lt_compile" 2>conftest.err) 18685 18848 ac_status=$? 18686 18849 cat conftest.err >&5 18687 echo "$as_me:18 687: \$? = $ac_status" >&518850 echo "$as_me:18850: \$? = $ac_status" >&5 18688 18851 if (exit $ac_status) && test -s "$ac_outfile"; then 18689 18852 # The compiler can only warn and ignore the option if not recognized … … 18785 18948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18786 18949 -e 's:$: $lt_compiler_flag:'` 18787 (eval echo "\"\$as_me:18 787: $lt_compile\"" >&5)18950 (eval echo "\"\$as_me:18950: $lt_compile\"" >&5) 18788 18951 (eval "$lt_compile" 2>out/conftest.err) 18789 18952 ac_status=$? 18790 18953 cat out/conftest.err >&5 18791 echo "$as_me:18 791: \$? = $ac_status" >&518954 echo "$as_me:18954: \$? = $ac_status" >&5 18792 18955 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18793 18956 then
Note: See TracChangeset
for help on using the changeset viewer.