Changeset 2681 for ThirdParty/Lapack/trunk
- Timestamp:
- Dec 2, 2012 10:46:03 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Lapack/trunk/configure
r2673 r2681 1087 1087 icl/link). Default when mentioned: mingw. Default 1088 1088 when not mentioned: disabled. 1089 1089 1090 --disable-pkg-config disable use of pkg-config (if available) 1090 1091 --disable-interpackage-dependencies … … 1940 1941 1941 1942 1943 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given. 1944 if test "${enable_static_standardlibs+set}" = set; then 1945 enableval="$enable_static_standardlibs" 1946 case "$enableval" in 1947 no | yes | auto ) ;; 1948 *) 1949 { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&5 1950 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;} 1951 { (exit 1); exit 1; }; } ;; 1952 esac 1953 use_static_standardlibs=$enableval 1954 else 1955 use_static_standardlibs=no 1956 fi; 1957 1958 1959 1942 1960 1943 1961 … … 3064 3082 CFLAGS="$OPT_CFLAGS" 3065 3083 fi 3084 3066 3085 else 3067 3086 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3232 3251 esac 3233 3252 3253 # check whether to add flags for static linking against standard libraries to LDFLAGS 3254 if test x$use_static_standardlibs != xno ; then 3255 case $build in 3256 *-mingw*) 3257 static_standardlib_flag=-static 3258 ;; 3259 *) 3260 static_standardlib_flag=-static-libgcc 3261 ;; 3262 esac 3263 case " $LDFLAGS " in 3264 *" $static_standardlib_flag "* ) ;; 3265 *) 3266 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5 3267 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6 3268 coin_save_LDFLAGS="$LDFLAGS" 3269 LDFLAGS="$LDFLAGS $static_standardlib_flag" 3270 cat >conftest.$ac_ext <<_ACEOF 3271 /* confdefs.h. */ 3272 _ACEOF 3273 cat confdefs.h >>conftest.$ac_ext 3274 cat >>conftest.$ac_ext <<_ACEOF 3275 /* end confdefs.h. */ 3276 3277 int 3278 main () 3279 { 3280 int i=0; 3281 ; 3282 return 0; 3283 } 3284 _ACEOF 3285 rm -f conftest.$ac_objext conftest$ac_exeext 3286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3287 (eval $ac_link) 2>conftest.er1 3288 ac_status=$? 3289 grep -v '^ *+' conftest.er1 >conftest.err 3290 rm -f conftest.er1 3291 cat conftest.err >&5 3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3293 (exit $ac_status); } && 3294 { ac_try='test -z "$ac_c_werror_flag" 3295 || test ! -s conftest.err' 3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3297 (eval $ac_try) 2>&5 3298 ac_status=$? 3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3300 (exit $ac_status); }; } && 3301 { ac_try='test -s conftest$ac_exeext' 3302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3303 (eval $ac_try) 2>&5 3304 ac_status=$? 3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3306 (exit $ac_status); }; }; then 3307 echo "$as_me:$LINENO: result: yes" >&5 3308 echo "${ECHO_T}yes" >&6 3309 else 3310 echo "$as_me: failed program was:" >&5 3311 sed 's/^/| /' conftest.$ac_ext >&5 3312 3313 echo "$as_me:$LINENO: result: no" >&5 3314 echo "${ECHO_T}no" >&6 3315 LDFLAGS="$coin_save_LDFLAGS" 3316 if test $use_static_standardlibs = yes ; then 3317 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5 3318 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;} 3319 { (exit 1); exit 1; }; } 3320 fi 3321 3322 fi 3323 rm -f conftest.err conftest.$ac_objext \ 3324 conftest$ac_exeext conftest.$ac_ext 3325 ;; 3326 esac 3327 fi 3328 3234 3329 ac_ext=c 3235 3330 ac_cpp='$CPP $CPPFLAGS' … … 3252 3347 *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;; 3253 3348 esac 3349 3254 3350 3255 3351 … … 3467 3563 3468 3564 # Provide some information about the compiler. 3469 echo "$as_me:3 469:" \3565 echo "$as_me:3565:" \ 3470 3566 "checking for Fortran 77 compiler version" >&5 3471 3567 ac_compiler=`set X $ac_compile; echo $2` … … 3834 3930 FFLAGS="$OPT_FFLAGS" 3835 3931 fi 3932 3836 3933 else 3837 3934 FFLAGS="$FFLAGS $ADD_FFLAGS" … … 3976 4073 esac 3977 4074 4075 # check whether to add flag for static linking against standard libraries to LDFLAGS 4076 if test x$use_static_standardlibs != xno ; then 4077 case $build in 4078 *-mingw*) 4079 static_standardlib_flag=-static 4080 ;; 4081 *) 4082 static_standardlib_flag=-static-libgfortran 4083 ;; 4084 esac 4085 case " $LDFLAGS " in 4086 *" $static_standardlib_flag "* ) ;; 4087 *) 4088 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5 4089 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6 4090 coin_save_LDFLAGS="$LDFLAGS" 4091 LDFLAGS="$LDFLAGS $static_standardlib_flag" 4092 cat >conftest.$ac_ext <<_ACEOF 4093 program main 4094 integer i 4095 end 4096 _ACEOF 4097 rm -f conftest.$ac_objext conftest$ac_exeext 4098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4099 (eval $ac_link) 2>conftest.er1 4100 ac_status=$? 4101 grep -v '^ *+' conftest.er1 >conftest.err 4102 rm -f conftest.er1 4103 cat conftest.err >&5 4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4105 (exit $ac_status); } && 4106 { ac_try='test -z "$ac_f77_werror_flag" 4107 || test ! -s conftest.err' 4108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4109 (eval $ac_try) 2>&5 4110 ac_status=$? 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4112 (exit $ac_status); }; } && 4113 { ac_try='test -s conftest$ac_exeext' 4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4115 (eval $ac_try) 2>&5 4116 ac_status=$? 4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4118 (exit $ac_status); }; }; then 4119 echo "$as_me:$LINENO: result: yes" >&5 4120 echo "${ECHO_T}yes" >&6 4121 else 4122 echo "$as_me: failed program was:" >&5 4123 sed 's/^/| /' conftest.$ac_ext >&5 4124 4125 echo "$as_me:$LINENO: result: no" >&5 4126 echo "${ECHO_T}no" >&6 4127 LDFLAGS="$coin_save_LDFLAGS" 4128 if test $use_static_standardlibs = yes ; then 4129 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5 4130 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;} 4131 { (exit 1); exit 1; }; } 4132 fi 4133 4134 fi 4135 rm -f conftest.err conftest.$ac_objext \ 4136 conftest$ac_exeext conftest.$ac_ext 4137 ;; 4138 esac 4139 fi 4140 3978 4141 ac_ext=c 3979 4142 ac_cpp='$CPP $CPPFLAGS' … … 4038 4201 ac_save_FFLAGS=$FFLAGS 4039 4202 FFLAGS="$FFLAGS $ac_verb" 4040 (eval echo $as_me:4 040: \"$ac_link\") >&54203 (eval echo $as_me:4203: \"$ac_link\") >&5 4041 4204 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4042 4205 echo "$ac_f77_v_output" >&5 … … 4116 4279 ac_save_FFLAGS=$FFLAGS 4117 4280 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4118 (eval echo $as_me:4 118: \"$ac_link\") >&54281 (eval echo $as_me:4281: \"$ac_link\") >&5 4119 4282 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4120 4283 echo "$ac_f77_v_output" >&5 … … 5016 5179 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 5017 5180 if test "x${prefix}" = xNONE ; then 5018 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib /pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"5019 else 5020 COIN_PKG_CONFIG_PATH="${prefix}/lib /pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"5181 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib64/pkgconfig:${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 5182 else 5183 COIN_PKG_CONFIG_PATH="${prefix}/lib64/pkgconfig:${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 5021 5184 fi 5022 5185 … … 10119 10282 *-*-irix6*) 10120 10283 # Find out which ABI we are using. 10121 echo '#line 10 121"configure"' > conftest.$ac_ext10284 echo '#line 10284 "configure"' > conftest.$ac_ext 10122 10285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10123 10286 (eval $ac_compile) 2>&5 … … 12596 12759 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12597 12760 -e 's:$: $lt_compiler_flag:'` 12598 (eval echo "\"\$as_me:12 598: $lt_compile\"" >&5)12761 (eval echo "\"\$as_me:12761: $lt_compile\"" >&5) 12599 12762 (eval "$lt_compile" 2>conftest.err) 12600 12763 ac_status=$? 12601 12764 cat conftest.err >&5 12602 echo "$as_me:12 602: \$? = $ac_status" >&512765 echo "$as_me:12765: \$? = $ac_status" >&5 12603 12766 if (exit $ac_status) && test -s "$ac_outfile"; then 12604 12767 # The compiler can only warn and ignore the option if not recognized … … 12864 13027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12865 13028 -e 's:$: $lt_compiler_flag:'` 12866 (eval echo "\"\$as_me:1 2866: $lt_compile\"" >&5)13029 (eval echo "\"\$as_me:13029: $lt_compile\"" >&5) 12867 13030 (eval "$lt_compile" 2>conftest.err) 12868 13031 ac_status=$? 12869 13032 cat conftest.err >&5 12870 echo "$as_me:1 2870: \$? = $ac_status" >&513033 echo "$as_me:13033: \$? = $ac_status" >&5 12871 13034 if (exit $ac_status) && test -s "$ac_outfile"; then 12872 13035 # The compiler can only warn and ignore the option if not recognized … … 12968 13131 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12969 13132 -e 's:$: $lt_compiler_flag:'` 12970 (eval echo "\"\$as_me:1 2970: $lt_compile\"" >&5)13133 (eval echo "\"\$as_me:13133: $lt_compile\"" >&5) 12971 13134 (eval "$lt_compile" 2>out/conftest.err) 12972 13135 ac_status=$? 12973 13136 cat out/conftest.err >&5 12974 echo "$as_me:1 2974: \$? = $ac_status" >&513137 echo "$as_me:13137: \$? = $ac_status" >&5 12975 13138 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12976 13139 then … … 15385 15548 lt_status=$lt_dlunknown 15386 15549 cat > conftest.$ac_ext <<EOF 15387 #line 15 387"configure"15550 #line 15550 "configure" 15388 15551 #include "confdefs.h" 15389 15552 … … 15485 15648 lt_status=$lt_dlunknown 15486 15649 cat > conftest.$ac_ext <<EOF 15487 #line 15 487"configure"15650 #line 15650 "configure" 15488 15651 #include "confdefs.h" 15489 15652 … … 17845 18008 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17846 18009 -e 's:$: $lt_compiler_flag:'` 17847 (eval echo "\"\$as_me:1 7847: $lt_compile\"" >&5)18010 (eval echo "\"\$as_me:18010: $lt_compile\"" >&5) 17848 18011 (eval "$lt_compile" 2>conftest.err) 17849 18012 ac_status=$? 17850 18013 cat conftest.err >&5 17851 echo "$as_me:1 7851: \$? = $ac_status" >&518014 echo "$as_me:18014: \$? = $ac_status" >&5 17852 18015 if (exit $ac_status) && test -s "$ac_outfile"; then 17853 18016 # The compiler can only warn and ignore the option if not recognized … … 17949 18112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17950 18113 -e 's:$: $lt_compiler_flag:'` 17951 (eval echo "\"\$as_me:1 7951: $lt_compile\"" >&5)18114 (eval echo "\"\$as_me:18114: $lt_compile\"" >&5) 17952 18115 (eval "$lt_compile" 2>out/conftest.err) 17953 18116 ac_status=$? 17954 18117 cat out/conftest.err >&5 17955 echo "$as_me:1 7955: \$? = $ac_status" >&518118 echo "$as_me:18118: \$? = $ac_status" >&5 17956 18119 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17957 18120 then … … 19519 19682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19520 19683 -e 's:$: $lt_compiler_flag:'` 19521 (eval echo "\"\$as_me:19 521: $lt_compile\"" >&5)19684 (eval echo "\"\$as_me:19684: $lt_compile\"" >&5) 19522 19685 (eval "$lt_compile" 2>conftest.err) 19523 19686 ac_status=$? 19524 19687 cat conftest.err >&5 19525 echo "$as_me:19 525: \$? = $ac_status" >&519688 echo "$as_me:19688: \$? = $ac_status" >&5 19526 19689 if (exit $ac_status) && test -s "$ac_outfile"; then 19527 19690 # The compiler can only warn and ignore the option if not recognized … … 19623 19786 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19624 19787 -e 's:$: $lt_compiler_flag:'` 19625 (eval echo "\"\$as_me:19 625: $lt_compile\"" >&5)19788 (eval echo "\"\$as_me:19788: $lt_compile\"" >&5) 19626 19789 (eval "$lt_compile" 2>out/conftest.err) 19627 19790 ac_status=$? 19628 19791 cat out/conftest.err >&5 19629 echo "$as_me:19 629: \$? = $ac_status" >&519792 echo "$as_me:19792: \$? = $ac_status" >&5 19630 19793 if (exit $ac_status) && test -s out/conftest2.$ac_objext 19631 19794 then … … 21830 21993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 21831 21994 -e 's:$: $lt_compiler_flag:'` 21832 (eval echo "\"\$as_me:21 832: $lt_compile\"" >&5)21995 (eval echo "\"\$as_me:21995: $lt_compile\"" >&5) 21833 21996 (eval "$lt_compile" 2>conftest.err) 21834 21997 ac_status=$? 21835 21998 cat conftest.err >&5 21836 echo "$as_me:21 836: \$? = $ac_status" >&521999 echo "$as_me:21999: \$? = $ac_status" >&5 21837 22000 if (exit $ac_status) && test -s "$ac_outfile"; then 21838 22001 # The compiler can only warn and ignore the option if not recognized … … 22098 22261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 22099 22262 -e 's:$: $lt_compiler_flag:'` 22100 (eval echo "\"\$as_me:22 100: $lt_compile\"" >&5)22263 (eval echo "\"\$as_me:22263: $lt_compile\"" >&5) 22101 22264 (eval "$lt_compile" 2>conftest.err) 22102 22265 ac_status=$? 22103 22266 cat conftest.err >&5 22104 echo "$as_me:22 104: \$? = $ac_status" >&522267 echo "$as_me:22267: \$? = $ac_status" >&5 22105 22268 if (exit $ac_status) && test -s "$ac_outfile"; then 22106 22269 # The compiler can only warn and ignore the option if not recognized … … 22202 22365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 22203 22366 -e 's:$: $lt_compiler_flag:'` 22204 (eval echo "\"\$as_me:22 204: $lt_compile\"" >&5)22367 (eval echo "\"\$as_me:22367: $lt_compile\"" >&5) 22205 22368 (eval "$lt_compile" 2>out/conftest.err) 22206 22369 ac_status=$? 22207 22370 cat out/conftest.err >&5 22208 echo "$as_me:22 208: \$? = $ac_status" >&522371 echo "$as_me:22371: \$? = $ac_status" >&5 22209 22372 if (exit $ac_status) && test -s out/conftest2.$ac_objext 22210 22373 then
Note: See TracChangeset
for help on using the changeset viewer.