Changeset 2670 for ThirdParty/Blas/trunk
- Timestamp:
- Dec 1, 2012 2:46:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Blas/trunk/configure
r2661 r2670 1083 1083 icl/link). Default when mentioned: mingw. Default 1084 1084 when not mentioned: disabled. 1085 --enable-static-standardlibs1086 whether to link against static standard libraries1087 (libgcc, libgfortran, libstdc++)1088 1085 --disable-pkg-config disable use of pkg-config (if available) 1089 1086 --enable-static[=PKGS] … … 1925 1922 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1926 1923 fi 1927 1928 1929 1930 # check whether to add flags for static linking against standard libraries1931 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given.1932 if test "${enable_static_standardlibs+set}" = set; then1933 enableval="$enable_static_standardlibs"1934 case "$enableval" in1935 no | yes | auto ) ;;1936 *)1937 { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&51938 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;}1939 { (exit 1); exit 1; }; } ;;1940 esac1941 use_static_standardlibs=$enableval1942 else1943 if test $enable_shared = yes ; then1944 use_static_standardlibs = no1945 else1946 use_static_standardlibs = auto1947 fi1948 1949 1950 fi;1951 1952 1953 1924 1954 1925 … … 3077 3048 CFLAGS="$OPT_CFLAGS" 3078 3049 fi 3079 3080 3050 else 3081 3051 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3246 3216 esac 3247 3217 3248 # check whether to add flags for static linking against standard libraries to LDFLAGS3249 if test x$use_static_standardlibs != xno ; then3250 case $build in3251 *-mingw*)3252 static_standardlib_flag=-static3253 ;;3254 *)3255 static_standardlib_flag=-static-libgcc3256 ;;3257 esac3258 case " $LDFLAGS " in3259 *" $static_standardlib_flag "* ) ;;3260 *)3261 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&53262 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&63263 coin_save_LDFLAGS="$LDFLAGS"3264 LDFLAGS="$LDFLAGS $static_standardlib_flag"3265 cat >conftest.$ac_ext <<_ACEOF3266 /* confdefs.h. */3267 _ACEOF3268 cat confdefs.h >>conftest.$ac_ext3269 cat >>conftest.$ac_ext <<_ACEOF3270 /* end confdefs.h. */3271 3272 int3273 main ()3274 {3275 int i=0;3276 ;3277 return 0;3278 }3279 _ACEOF3280 rm -f conftest.$ac_objext conftest$ac_exeext3281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53282 (eval $ac_link) 2>conftest.er13283 ac_status=$?3284 grep -v '^ *+' conftest.er1 >conftest.err3285 rm -f conftest.er13286 cat conftest.err >&53287 echo "$as_me:$LINENO: \$? = $ac_status" >&53288 (exit $ac_status); } &&3289 { ac_try='test -z "$ac_c_werror_flag"3290 || test ! -s conftest.err'3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53292 (eval $ac_try) 2>&53293 ac_status=$?3294 echo "$as_me:$LINENO: \$? = $ac_status" >&53295 (exit $ac_status); }; } &&3296 { ac_try='test -s conftest$ac_exeext'3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53298 (eval $ac_try) 2>&53299 ac_status=$?3300 echo "$as_me:$LINENO: \$? = $ac_status" >&53301 (exit $ac_status); }; }; then3302 echo "$as_me:$LINENO: result: yes" >&53303 echo "${ECHO_T}yes" >&63304 else3305 echo "$as_me: failed program was:" >&53306 sed 's/^/| /' conftest.$ac_ext >&53307 3308 echo "$as_me:$LINENO: result: no" >&53309 echo "${ECHO_T}no" >&63310 LDFLAGS="$coin_save_LDFLAGS"3311 if test $use_static_standardlibs = yes ; then3312 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&53313 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}3314 { (exit 1); exit 1; }; }3315 fi3316 3317 fi3318 rm -f conftest.err conftest.$ac_objext \3319 conftest$ac_exeext conftest.$ac_ext3320 ;;3321 esac3322 fi3323 3324 3218 ac_ext=c 3325 3219 ac_cpp='$CPP $CPPFLAGS' … … 3342 3236 *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;; 3343 3237 esac 3344 3345 3238 3346 3239 … … 3558 3451 3559 3452 # Provide some information about the compiler. 3560 echo "$as_me:3 560:" \3453 echo "$as_me:3453:" \ 3561 3454 "checking for Fortran 77 compiler version" >&5 3562 3455 ac_compiler=`set X $ac_compile; echo $2` … … 3925 3818 FFLAGS="$OPT_FFLAGS" 3926 3819 fi 3927 3928 3820 else 3929 3821 FFLAGS="$FFLAGS $ADD_FFLAGS" … … 4068 3960 esac 4069 3961 4070 # check whether to add flag for static linking against standard libraries to LDFLAGS4071 if test x$use_static_standardlibs != xno ; then4072 case $build in4073 *-mingw*)4074 static_standardlib_flag=-static4075 ;;4076 *)4077 static_standardlib_flag=-static-libgfortran4078 ;;4079 esac4080 case " $LDFLAGS " in4081 *" $static_standardlib_flag "* ) ;;4082 *)4083 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&54084 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&64085 coin_save_LDFLAGS="$LDFLAGS"4086 LDFLAGS="$LDFLAGS $static_standardlib_flag"4087 cat >conftest.$ac_ext <<_ACEOF4088 program main4089 integer i4090 end4091 _ACEOF4092 rm -f conftest.$ac_objext conftest$ac_exeext4093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54094 (eval $ac_link) 2>conftest.er14095 ac_status=$?4096 grep -v '^ *+' conftest.er1 >conftest.err4097 rm -f conftest.er14098 cat conftest.err >&54099 echo "$as_me:$LINENO: \$? = $ac_status" >&54100 (exit $ac_status); } &&4101 { ac_try='test -z "$ac_f77_werror_flag"4102 || test ! -s conftest.err'4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54104 (eval $ac_try) 2>&54105 ac_status=$?4106 echo "$as_me:$LINENO: \$? = $ac_status" >&54107 (exit $ac_status); }; } &&4108 { ac_try='test -s conftest$ac_exeext'4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54110 (eval $ac_try) 2>&54111 ac_status=$?4112 echo "$as_me:$LINENO: \$? = $ac_status" >&54113 (exit $ac_status); }; }; then4114 echo "$as_me:$LINENO: result: yes" >&54115 echo "${ECHO_T}yes" >&64116 else4117 echo "$as_me: failed program was:" >&54118 sed 's/^/| /' conftest.$ac_ext >&54119 4120 echo "$as_me:$LINENO: result: no" >&54121 echo "${ECHO_T}no" >&64122 LDFLAGS="$coin_save_LDFLAGS"4123 if test $use_static_standardlibs = yes ; then4124 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&54125 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;}4126 { (exit 1); exit 1; }; }4127 fi4128 4129 fi4130 rm -f conftest.err conftest.$ac_objext \4131 conftest$ac_exeext conftest.$ac_ext4132 ;;4133 esac4134 fi4135 4136 3962 ac_ext=c 4137 3963 ac_cpp='$CPP $CPPFLAGS' … … 4196 4022 ac_save_FFLAGS=$FFLAGS 4197 4023 FFLAGS="$FFLAGS $ac_verb" 4198 (eval echo $as_me:4 198: \"$ac_link\") >&54024 (eval echo $as_me:4024: \"$ac_link\") >&5 4199 4025 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4200 4026 echo "$ac_f77_v_output" >&5 … … 4274 4100 ac_save_FFLAGS=$FFLAGS 4275 4101 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4276 (eval echo $as_me:4 276: \"$ac_link\") >&54102 (eval echo $as_me:4102: \"$ac_link\") >&5 4277 4103 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4278 4104 echo "$ac_f77_v_output" >&5 … … 5178 5004 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 5179 5005 if test "x${prefix}" = xNONE ; then 5180 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib 64/pkgconfig:${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"5181 else 5182 COIN_PKG_CONFIG_PATH="${prefix}/lib 64/pkgconfig:${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"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}" 5183 5009 fi 5184 5010 … … 6876 6702 *-*-irix6*) 6877 6703 # Find out which ABI we are using. 6878 echo '#line 6 878"configure"' > conftest.$ac_ext6704 echo '#line 6704 "configure"' > conftest.$ac_ext 6879 6705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6880 6706 (eval $ac_compile) 2>&5 … … 9353 9179 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9354 9180 -e 's:$: $lt_compiler_flag:'` 9355 (eval echo "\"\$as_me:9 355: $lt_compile\"" >&5)9181 (eval echo "\"\$as_me:9181: $lt_compile\"" >&5) 9356 9182 (eval "$lt_compile" 2>conftest.err) 9357 9183 ac_status=$? 9358 9184 cat conftest.err >&5 9359 echo "$as_me:9 359: \$? = $ac_status" >&59185 echo "$as_me:9185: \$? = $ac_status" >&5 9360 9186 if (exit $ac_status) && test -s "$ac_outfile"; then 9361 9187 # The compiler can only warn and ignore the option if not recognized … … 9621 9447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9622 9448 -e 's:$: $lt_compiler_flag:'` 9623 (eval echo "\"\$as_me:9 623: $lt_compile\"" >&5)9449 (eval echo "\"\$as_me:9449: $lt_compile\"" >&5) 9624 9450 (eval "$lt_compile" 2>conftest.err) 9625 9451 ac_status=$? 9626 9452 cat conftest.err >&5 9627 echo "$as_me:9 627: \$? = $ac_status" >&59453 echo "$as_me:9453: \$? = $ac_status" >&5 9628 9454 if (exit $ac_status) && test -s "$ac_outfile"; then 9629 9455 # The compiler can only warn and ignore the option if not recognized … … 9725 9551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9726 9552 -e 's:$: $lt_compiler_flag:'` 9727 (eval echo "\"\$as_me:9 727: $lt_compile\"" >&5)9553 (eval echo "\"\$as_me:9553: $lt_compile\"" >&5) 9728 9554 (eval "$lt_compile" 2>out/conftest.err) 9729 9555 ac_status=$? 9730 9556 cat out/conftest.err >&5 9731 echo "$as_me:9 731: \$? = $ac_status" >&59557 echo "$as_me:9557: \$? = $ac_status" >&5 9732 9558 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9733 9559 then … … 12142 11968 lt_status=$lt_dlunknown 12143 11969 cat > conftest.$ac_ext <<EOF 12144 #line 1 2144"configure"11970 #line 11970 "configure" 12145 11971 #include "confdefs.h" 12146 11972 … … 12242 12068 lt_status=$lt_dlunknown 12243 12069 cat > conftest.$ac_ext <<EOF 12244 #line 12 244"configure"12070 #line 12070 "configure" 12245 12071 #include "confdefs.h" 12246 12072 … … 14602 14428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14603 14429 -e 's:$: $lt_compiler_flag:'` 14604 (eval echo "\"\$as_me:14 604: $lt_compile\"" >&5)14430 (eval echo "\"\$as_me:14430: $lt_compile\"" >&5) 14605 14431 (eval "$lt_compile" 2>conftest.err) 14606 14432 ac_status=$? 14607 14433 cat conftest.err >&5 14608 echo "$as_me:14 608: \$? = $ac_status" >&514434 echo "$as_me:14434: \$? = $ac_status" >&5 14609 14435 if (exit $ac_status) && test -s "$ac_outfile"; then 14610 14436 # The compiler can only warn and ignore the option if not recognized … … 14706 14532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14707 14533 -e 's:$: $lt_compiler_flag:'` 14708 (eval echo "\"\$as_me:14 708: $lt_compile\"" >&5)14534 (eval echo "\"\$as_me:14534: $lt_compile\"" >&5) 14709 14535 (eval "$lt_compile" 2>out/conftest.err) 14710 14536 ac_status=$? 14711 14537 cat out/conftest.err >&5 14712 echo "$as_me:14 712: \$? = $ac_status" >&514538 echo "$as_me:14538: \$? = $ac_status" >&5 14713 14539 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14714 14540 then … … 16276 16102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16277 16103 -e 's:$: $lt_compiler_flag:'` 16278 (eval echo "\"\$as_me:16 278: $lt_compile\"" >&5)16104 (eval echo "\"\$as_me:16104: $lt_compile\"" >&5) 16279 16105 (eval "$lt_compile" 2>conftest.err) 16280 16106 ac_status=$? 16281 16107 cat conftest.err >&5 16282 echo "$as_me:16 282: \$? = $ac_status" >&516108 echo "$as_me:16108: \$? = $ac_status" >&5 16283 16109 if (exit $ac_status) && test -s "$ac_outfile"; then 16284 16110 # The compiler can only warn and ignore the option if not recognized … … 16380 16206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16381 16207 -e 's:$: $lt_compiler_flag:'` 16382 (eval echo "\"\$as_me:16 382: $lt_compile\"" >&5)16208 (eval echo "\"\$as_me:16208: $lt_compile\"" >&5) 16383 16209 (eval "$lt_compile" 2>out/conftest.err) 16384 16210 ac_status=$? 16385 16211 cat out/conftest.err >&5 16386 echo "$as_me:16 386: \$? = $ac_status" >&516212 echo "$as_me:16212: \$? = $ac_status" >&5 16387 16213 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16388 16214 then … … 18587 18413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18588 18414 -e 's:$: $lt_compiler_flag:'` 18589 (eval echo "\"\$as_me:18 589: $lt_compile\"" >&5)18415 (eval echo "\"\$as_me:18415: $lt_compile\"" >&5) 18590 18416 (eval "$lt_compile" 2>conftest.err) 18591 18417 ac_status=$? 18592 18418 cat conftest.err >&5 18593 echo "$as_me:18 593: \$? = $ac_status" >&518419 echo "$as_me:18419: \$? = $ac_status" >&5 18594 18420 if (exit $ac_status) && test -s "$ac_outfile"; then 18595 18421 # The compiler can only warn and ignore the option if not recognized … … 18855 18681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18856 18682 -e 's:$: $lt_compiler_flag:'` 18857 (eval echo "\"\$as_me:18 857: $lt_compile\"" >&5)18683 (eval echo "\"\$as_me:18683: $lt_compile\"" >&5) 18858 18684 (eval "$lt_compile" 2>conftest.err) 18859 18685 ac_status=$? 18860 18686 cat conftest.err >&5 18861 echo "$as_me:18 861: \$? = $ac_status" >&518687 echo "$as_me:18687: \$? = $ac_status" >&5 18862 18688 if (exit $ac_status) && test -s "$ac_outfile"; then 18863 18689 # The compiler can only warn and ignore the option if not recognized … … 18959 18785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18960 18786 -e 's:$: $lt_compiler_flag:'` 18961 (eval echo "\"\$as_me:18 961: $lt_compile\"" >&5)18787 (eval echo "\"\$as_me:18787: $lt_compile\"" >&5) 18962 18788 (eval "$lt_compile" 2>out/conftest.err) 18963 18789 ac_status=$? 18964 18790 cat out/conftest.err >&5 18965 echo "$as_me:18 965: \$? = $ac_status" >&518791 echo "$as_me:18791: \$? = $ac_status" >&5 18966 18792 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18967 18793 then
Note: See TracChangeset
for help on using the changeset viewer.