Changeset 2677
- Timestamp:
- Dec 2, 2012 10:45:50 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/trunk/configure
r2669 r2677 1071 1071 icl/link). Default when mentioned: mingw. Default 1072 1072 when not mentioned: disabled. 1073 1073 1074 --enable-static[=PKGS] 1074 1075 build static libraries [default=no] … … 1938 1939 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1939 1940 fi 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 1940 1958 1941 1959 … … 3064 3082 CFLAGS="$OPT_CFLAGS" 3065 3083 fi 3084 3066 3085 else 3067 3086 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3231 3250 ;; 3232 3251 esac 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 3233 3328 3234 3329 ac_ext=c … … 4853 4948 *-*-irix6*) 4854 4949 # Find out which ABI we are using. 4855 echo '#line 4 855"configure"' > conftest.$ac_ext4950 echo '#line 4950 "configure"' > conftest.$ac_ext 4856 4951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4857 4952 (eval $ac_compile) 2>&5 … … 6452 6547 6453 6548 # Provide some information about the compiler. 6454 echo "$as_me:6 454:" \6549 echo "$as_me:6549:" \ 6455 6550 "checking for Fortran 77 compiler version" >&5 6456 6551 ac_compiler=`set X $ac_compile; echo $2` … … 7519 7614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7520 7615 -e 's:$: $lt_compiler_flag:'` 7521 (eval echo "\"\$as_me:7 521: $lt_compile\"" >&5)7616 (eval echo "\"\$as_me:7616: $lt_compile\"" >&5) 7522 7617 (eval "$lt_compile" 2>conftest.err) 7523 7618 ac_status=$? 7524 7619 cat conftest.err >&5 7525 echo "$as_me:7 525: \$? = $ac_status" >&57620 echo "$as_me:7620: \$? = $ac_status" >&5 7526 7621 if (exit $ac_status) && test -s "$ac_outfile"; then 7527 7622 # The compiler can only warn and ignore the option if not recognized … … 7787 7882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7788 7883 -e 's:$: $lt_compiler_flag:'` 7789 (eval echo "\"\$as_me:7 789: $lt_compile\"" >&5)7884 (eval echo "\"\$as_me:7884: $lt_compile\"" >&5) 7790 7885 (eval "$lt_compile" 2>conftest.err) 7791 7886 ac_status=$? 7792 7887 cat conftest.err >&5 7793 echo "$as_me:7 793: \$? = $ac_status" >&57888 echo "$as_me:7888: \$? = $ac_status" >&5 7794 7889 if (exit $ac_status) && test -s "$ac_outfile"; then 7795 7890 # The compiler can only warn and ignore the option if not recognized … … 7891 7986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7892 7987 -e 's:$: $lt_compiler_flag:'` 7893 (eval echo "\"\$as_me:7 893: $lt_compile\"" >&5)7988 (eval echo "\"\$as_me:7988: $lt_compile\"" >&5) 7894 7989 (eval "$lt_compile" 2>out/conftest.err) 7895 7990 ac_status=$? 7896 7991 cat out/conftest.err >&5 7897 echo "$as_me:7 897: \$? = $ac_status" >&57992 echo "$as_me:7992: \$? = $ac_status" >&5 7898 7993 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7899 7994 then … … 10236 10331 lt_status=$lt_dlunknown 10237 10332 cat > conftest.$ac_ext <<EOF 10238 #line 10 238"configure"10333 #line 10333 "configure" 10239 10334 #include "confdefs.h" 10240 10335 … … 10336 10431 lt_status=$lt_dlunknown 10337 10432 cat > conftest.$ac_ext <<EOF 10338 #line 10 338"configure"10433 #line 10433 "configure" 10339 10434 #include "confdefs.h" 10340 10435 … … 12680 12775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12681 12776 -e 's:$: $lt_compiler_flag:'` 12682 (eval echo "\"\$as_me:12 682: $lt_compile\"" >&5)12777 (eval echo "\"\$as_me:12777: $lt_compile\"" >&5) 12683 12778 (eval "$lt_compile" 2>conftest.err) 12684 12779 ac_status=$? 12685 12780 cat conftest.err >&5 12686 echo "$as_me:12 686: \$? = $ac_status" >&512781 echo "$as_me:12781: \$? = $ac_status" >&5 12687 12782 if (exit $ac_status) && test -s "$ac_outfile"; then 12688 12783 # The compiler can only warn and ignore the option if not recognized … … 12784 12879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12785 12880 -e 's:$: $lt_compiler_flag:'` 12786 (eval echo "\"\$as_me:12 786: $lt_compile\"" >&5)12881 (eval echo "\"\$as_me:12881: $lt_compile\"" >&5) 12787 12882 (eval "$lt_compile" 2>out/conftest.err) 12788 12883 ac_status=$? 12789 12884 cat out/conftest.err >&5 12790 echo "$as_me:12 790: \$? = $ac_status" >&512885 echo "$as_me:12885: \$? = $ac_status" >&5 12791 12886 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12792 12887 then … … 14354 14449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14355 14450 -e 's:$: $lt_compiler_flag:'` 14356 (eval echo "\"\$as_me:14 356: $lt_compile\"" >&5)14451 (eval echo "\"\$as_me:14451: $lt_compile\"" >&5) 14357 14452 (eval "$lt_compile" 2>conftest.err) 14358 14453 ac_status=$? 14359 14454 cat conftest.err >&5 14360 echo "$as_me:14 360: \$? = $ac_status" >&514455 echo "$as_me:14455: \$? = $ac_status" >&5 14361 14456 if (exit $ac_status) && test -s "$ac_outfile"; then 14362 14457 # The compiler can only warn and ignore the option if not recognized … … 14458 14553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14459 14554 -e 's:$: $lt_compiler_flag:'` 14460 (eval echo "\"\$as_me:14 460: $lt_compile\"" >&5)14555 (eval echo "\"\$as_me:14555: $lt_compile\"" >&5) 14461 14556 (eval "$lt_compile" 2>out/conftest.err) 14462 14557 ac_status=$? 14463 14558 cat out/conftest.err >&5 14464 echo "$as_me:14 464: \$? = $ac_status" >&514559 echo "$as_me:14559: \$? = $ac_status" >&5 14465 14560 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14466 14561 then … … 16665 16760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16666 16761 -e 's:$: $lt_compiler_flag:'` 16667 (eval echo "\"\$as_me:16 667: $lt_compile\"" >&5)16762 (eval echo "\"\$as_me:16762: $lt_compile\"" >&5) 16668 16763 (eval "$lt_compile" 2>conftest.err) 16669 16764 ac_status=$? 16670 16765 cat conftest.err >&5 16671 echo "$as_me:16 671: \$? = $ac_status" >&516766 echo "$as_me:16766: \$? = $ac_status" >&5 16672 16767 if (exit $ac_status) && test -s "$ac_outfile"; then 16673 16768 # The compiler can only warn and ignore the option if not recognized … … 16933 17028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16934 17029 -e 's:$: $lt_compiler_flag:'` 16935 (eval echo "\"\$as_me:1 6935: $lt_compile\"" >&5)17030 (eval echo "\"\$as_me:17030: $lt_compile\"" >&5) 16936 17031 (eval "$lt_compile" 2>conftest.err) 16937 17032 ac_status=$? 16938 17033 cat conftest.err >&5 16939 echo "$as_me:1 6939: \$? = $ac_status" >&517034 echo "$as_me:17034: \$? = $ac_status" >&5 16940 17035 if (exit $ac_status) && test -s "$ac_outfile"; then 16941 17036 # The compiler can only warn and ignore the option if not recognized … … 17037 17132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17038 17133 -e 's:$: $lt_compiler_flag:'` 17039 (eval echo "\"\$as_me:17 039: $lt_compile\"" >&5)17134 (eval echo "\"\$as_me:17134: $lt_compile\"" >&5) 17040 17135 (eval "$lt_compile" 2>out/conftest.err) 17041 17136 ac_status=$? 17042 17137 cat out/conftest.err >&5 17043 echo "$as_me:17 043: \$? = $ac_status" >&517138 echo "$as_me:17138: \$? = $ac_status" >&5 17044 17139 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17045 17140 then … … 20088 20183 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20089 20184 if test "x${prefix}" = xNONE ; then 20090 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib /pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"20091 else 20092 COIN_PKG_CONFIG_PATH="${prefix}/lib /pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"20185 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib64/pkgconfig:${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20186 else 20187 COIN_PKG_CONFIG_PATH="${prefix}/lib64/pkgconfig:${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20093 20188 fi 20094 20189
Note: See TracChangeset
for help on using the changeset viewer.