Changeset 2911
- Timestamp:
- Sep 12, 2013 6:04:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/FilterSQP/trunk/configure
r2882 r2911 1084 1084 icl/link). Default when mentioned: mingw. Default 1085 1085 when not mentioned: disabled. 1086 1087 1086 --disable-pkg-config disable use of pkg-config (if available) 1088 1087 --disable-dependency-tracking speeds up one-time build … … 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 … … 7557 7394 *-*-irix6*) 7558 7395 # Find out which ABI we are using. 7559 echo '#line 7 559"configure"' > conftest.$ac_ext7396 echo '#line 7396 "configure"' > conftest.$ac_ext 7560 7397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7561 7398 (eval $ac_compile) 2>&5 … … 10143 9980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10144 9981 -e 's:$: $lt_compiler_flag:'` 10145 (eval echo "\"\$as_me: 10145: $lt_compile\"" >&5)9982 (eval echo "\"\$as_me:9982: $lt_compile\"" >&5) 10146 9983 (eval "$lt_compile" 2>conftest.err) 10147 9984 ac_status=$? 10148 9985 cat conftest.err >&5 10149 echo "$as_me: 10149: \$? = $ac_status" >&59986 echo "$as_me:9986: \$? = $ac_status" >&5 10150 9987 if (exit $ac_status) && test -s "$ac_outfile"; then 10151 9988 # The compiler can only warn and ignore the option if not recognized … … 10411 10248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10412 10249 -e 's:$: $lt_compiler_flag:'` 10413 (eval echo "\"\$as_me:10 413: $lt_compile\"" >&5)10250 (eval echo "\"\$as_me:10250: $lt_compile\"" >&5) 10414 10251 (eval "$lt_compile" 2>conftest.err) 10415 10252 ac_status=$? 10416 10253 cat conftest.err >&5 10417 echo "$as_me:10 417: \$? = $ac_status" >&510254 echo "$as_me:10254: \$? = $ac_status" >&5 10418 10255 if (exit $ac_status) && test -s "$ac_outfile"; then 10419 10256 # The compiler can only warn and ignore the option if not recognized … … 10515 10352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10516 10353 -e 's:$: $lt_compiler_flag:'` 10517 (eval echo "\"\$as_me:10 517: $lt_compile\"" >&5)10354 (eval echo "\"\$as_me:10354: $lt_compile\"" >&5) 10518 10355 (eval "$lt_compile" 2>out/conftest.err) 10519 10356 ac_status=$? 10520 10357 cat out/conftest.err >&5 10521 echo "$as_me:10 521: \$? = $ac_status" >&510358 echo "$as_me:10358: \$? = $ac_status" >&5 10522 10359 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10523 10360 then … … 12932 12769 lt_status=$lt_dlunknown 12933 12770 cat > conftest.$ac_ext <<EOF 12934 #line 12 934"configure"12771 #line 12771 "configure" 12935 12772 #include "confdefs.h" 12936 12773 … … 13032 12869 lt_status=$lt_dlunknown 13033 12870 cat > conftest.$ac_ext <<EOF 13034 #line 1 3034"configure"12871 #line 12871 "configure" 13035 12872 #include "confdefs.h" 13036 12873 … … 15392 15229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15393 15230 -e 's:$: $lt_compiler_flag:'` 15394 (eval echo "\"\$as_me:15 394: $lt_compile\"" >&5)15231 (eval echo "\"\$as_me:15231: $lt_compile\"" >&5) 15395 15232 (eval "$lt_compile" 2>conftest.err) 15396 15233 ac_status=$? 15397 15234 cat conftest.err >&5 15398 echo "$as_me:15 398: \$? = $ac_status" >&515235 echo "$as_me:15235: \$? = $ac_status" >&5 15399 15236 if (exit $ac_status) && test -s "$ac_outfile"; then 15400 15237 # The compiler can only warn and ignore the option if not recognized … … 15496 15333 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15497 15334 -e 's:$: $lt_compiler_flag:'` 15498 (eval echo "\"\$as_me:15 498: $lt_compile\"" >&5)15335 (eval echo "\"\$as_me:15335: $lt_compile\"" >&5) 15499 15336 (eval "$lt_compile" 2>out/conftest.err) 15500 15337 ac_status=$? 15501 15338 cat out/conftest.err >&5 15502 echo "$as_me:15 502: \$? = $ac_status" >&515339 echo "$as_me:15339: \$? = $ac_status" >&5 15503 15340 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15504 15341 then … … 17066 16903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17067 16904 -e 's:$: $lt_compiler_flag:'` 17068 (eval echo "\"\$as_me:1 7068: $lt_compile\"" >&5)16905 (eval echo "\"\$as_me:16905: $lt_compile\"" >&5) 17069 16906 (eval "$lt_compile" 2>conftest.err) 17070 16907 ac_status=$? 17071 16908 cat conftest.err >&5 17072 echo "$as_me:1 7072: \$? = $ac_status" >&516909 echo "$as_me:16909: \$? = $ac_status" >&5 17073 16910 if (exit $ac_status) && test -s "$ac_outfile"; then 17074 16911 # The compiler can only warn and ignore the option if not recognized … … 17170 17007 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17171 17008 -e 's:$: $lt_compiler_flag:'` 17172 (eval echo "\"\$as_me:17 172: $lt_compile\"" >&5)17009 (eval echo "\"\$as_me:17009: $lt_compile\"" >&5) 17173 17010 (eval "$lt_compile" 2>out/conftest.err) 17174 17011 ac_status=$? 17175 17012 cat out/conftest.err >&5 17176 echo "$as_me:17 176: \$? = $ac_status" >&517013 echo "$as_me:17013: \$? = $ac_status" >&5 17177 17014 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17178 17015 then … … 19377 19214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19378 19215 -e 's:$: $lt_compiler_flag:'` 19379 (eval echo "\"\$as_me:19 379: $lt_compile\"" >&5)19216 (eval echo "\"\$as_me:19216: $lt_compile\"" >&5) 19380 19217 (eval "$lt_compile" 2>conftest.err) 19381 19218 ac_status=$? 19382 19219 cat conftest.err >&5 19383 echo "$as_me:19 383: \$? = $ac_status" >&519220 echo "$as_me:19220: \$? = $ac_status" >&5 19384 19221 if (exit $ac_status) && test -s "$ac_outfile"; then 19385 19222 # The compiler can only warn and ignore the option if not recognized … … 19645 19482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19646 19483 -e 's:$: $lt_compiler_flag:'` 19647 (eval echo "\"\$as_me:19 647: $lt_compile\"" >&5)19484 (eval echo "\"\$as_me:19484: $lt_compile\"" >&5) 19648 19485 (eval "$lt_compile" 2>conftest.err) 19649 19486 ac_status=$? 19650 19487 cat conftest.err >&5 19651 echo "$as_me:19 651: \$? = $ac_status" >&519488 echo "$as_me:19488: \$? = $ac_status" >&5 19652 19489 if (exit $ac_status) && test -s "$ac_outfile"; then 19653 19490 # The compiler can only warn and ignore the option if not recognized … … 19749 19586 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19750 19587 -e 's:$: $lt_compiler_flag:'` 19751 (eval echo "\"\$as_me:19 751: $lt_compile\"" >&5)19588 (eval echo "\"\$as_me:19588: $lt_compile\"" >&5) 19752 19589 (eval "$lt_compile" 2>out/conftest.err) 19753 19590 ac_status=$? 19754 19591 cat out/conftest.err >&5 19755 echo "$as_me:19 755: \$? = $ac_status" >&519592 echo "$as_me:19592: \$? = $ac_status" >&5 19756 19593 if (exit $ac_status) && test -s out/conftest2.$ac_objext 19757 19594 then
Note: See TracChangeset
for help on using the changeset viewer.