Changeset 2682 for ThirdParty/Metis/trunk
- Timestamp:
- Dec 2, 2012 10:46:05 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Metis/trunk/configure
r2674 r2682 1067 1067 icl/link). Default when mentioned: mingw. Default 1068 1068 when not mentioned: disabled. 1069 1069 1070 --disable-pkg-config disable use of pkg-config (if available) 1070 1071 --enable-static[=PKGS] … … 1903 1904 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1904 1905 fi 1906 1907 1908 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given. 1909 if test "${enable_static_standardlibs+set}" = set; then 1910 enableval="$enable_static_standardlibs" 1911 case "$enableval" in 1912 no | yes | auto ) ;; 1913 *) 1914 { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&5 1915 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;} 1916 { (exit 1); exit 1; }; } ;; 1917 esac 1918 use_static_standardlibs=$enableval 1919 else 1920 use_static_standardlibs=no 1921 fi; 1922 1905 1923 1906 1924 … … 3029 3047 CFLAGS="$OPT_CFLAGS" 3030 3048 fi 3049 3031 3050 else 3032 3051 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3197 3216 esac 3198 3217 3218 # check whether to add flags for static linking against standard libraries to LDFLAGS 3219 if test x$use_static_standardlibs != xno ; then 3220 case $build in 3221 *-mingw*) 3222 static_standardlib_flag=-static 3223 ;; 3224 *) 3225 static_standardlib_flag=-static-libgcc 3226 ;; 3227 esac 3228 case " $LDFLAGS " in 3229 *" $static_standardlib_flag "* ) ;; 3230 *) 3231 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5 3232 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6 3233 coin_save_LDFLAGS="$LDFLAGS" 3234 LDFLAGS="$LDFLAGS $static_standardlib_flag" 3235 cat >conftest.$ac_ext <<_ACEOF 3236 /* confdefs.h. */ 3237 _ACEOF 3238 cat confdefs.h >>conftest.$ac_ext 3239 cat >>conftest.$ac_ext <<_ACEOF 3240 /* end confdefs.h. */ 3241 3242 int 3243 main () 3244 { 3245 int i=0; 3246 ; 3247 return 0; 3248 } 3249 _ACEOF 3250 rm -f conftest.$ac_objext conftest$ac_exeext 3251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3252 (eval $ac_link) 2>conftest.er1 3253 ac_status=$? 3254 grep -v '^ *+' conftest.er1 >conftest.err 3255 rm -f conftest.er1 3256 cat conftest.err >&5 3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3258 (exit $ac_status); } && 3259 { ac_try='test -z "$ac_c_werror_flag" 3260 || test ! -s conftest.err' 3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3262 (eval $ac_try) 2>&5 3263 ac_status=$? 3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3265 (exit $ac_status); }; } && 3266 { ac_try='test -s conftest$ac_exeext' 3267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3268 (eval $ac_try) 2>&5 3269 ac_status=$? 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3271 (exit $ac_status); }; }; then 3272 echo "$as_me:$LINENO: result: yes" >&5 3273 echo "${ECHO_T}yes" >&6 3274 else 3275 echo "$as_me: failed program was:" >&5 3276 sed 's/^/| /' conftest.$ac_ext >&5 3277 3278 echo "$as_me:$LINENO: result: no" >&5 3279 echo "${ECHO_T}no" >&6 3280 LDFLAGS="$coin_save_LDFLAGS" 3281 if test $use_static_standardlibs = yes ; then 3282 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5 3283 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;} 3284 { (exit 1); exit 1; }; } 3285 fi 3286 3287 fi 3288 rm -f conftest.err conftest.$ac_objext \ 3289 conftest$ac_exeext conftest.$ac_ext 3290 ;; 3291 esac 3292 fi 3293 3199 3294 ac_ext=c 3200 3295 ac_cpp='$CPP $CPPFLAGS' … … 3348 3443 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 3349 3444 if test "x${prefix}" = xNONE ; then 3350 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib /pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"3351 else 3352 COIN_PKG_CONFIG_PATH="${prefix}/lib /pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}"3445 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib64/pkgconfig:${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 3446 else 3447 COIN_PKG_CONFIG_PATH="${prefix}/lib64/pkgconfig:${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 3353 3448 fi 3354 3449 … … 5046 5141 *-*-irix6*) 5047 5142 # Find out which ABI we are using. 5048 echo '#line 5 048"configure"' > conftest.$ac_ext5143 echo '#line 5143 "configure"' > conftest.$ac_ext 5049 5144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5050 5145 (eval $ac_compile) 2>&5 … … 6645 6740 6646 6741 # Provide some information about the compiler. 6647 echo "$as_me:6 647:" \6742 echo "$as_me:6742:" \ 6648 6743 "checking for Fortran 77 compiler version" >&5 6649 6744 ac_compiler=`set X $ac_compile; echo $2` … … 7712 7807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7713 7808 -e 's:$: $lt_compiler_flag:'` 7714 (eval echo "\"\$as_me:7 714: $lt_compile\"" >&5)7809 (eval echo "\"\$as_me:7809: $lt_compile\"" >&5) 7715 7810 (eval "$lt_compile" 2>conftest.err) 7716 7811 ac_status=$? 7717 7812 cat conftest.err >&5 7718 echo "$as_me:7 718: \$? = $ac_status" >&57813 echo "$as_me:7813: \$? = $ac_status" >&5 7719 7814 if (exit $ac_status) && test -s "$ac_outfile"; then 7720 7815 # The compiler can only warn and ignore the option if not recognized … … 7980 8075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7981 8076 -e 's:$: $lt_compiler_flag:'` 7982 (eval echo "\"\$as_me: 7982: $lt_compile\"" >&5)8077 (eval echo "\"\$as_me:8077: $lt_compile\"" >&5) 7983 8078 (eval "$lt_compile" 2>conftest.err) 7984 8079 ac_status=$? 7985 8080 cat conftest.err >&5 7986 echo "$as_me: 7986: \$? = $ac_status" >&58081 echo "$as_me:8081: \$? = $ac_status" >&5 7987 8082 if (exit $ac_status) && test -s "$ac_outfile"; then 7988 8083 # The compiler can only warn and ignore the option if not recognized … … 8084 8179 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8085 8180 -e 's:$: $lt_compiler_flag:'` 8086 (eval echo "\"\$as_me:8 086: $lt_compile\"" >&5)8181 (eval echo "\"\$as_me:8181: $lt_compile\"" >&5) 8087 8182 (eval "$lt_compile" 2>out/conftest.err) 8088 8183 ac_status=$? 8089 8184 cat out/conftest.err >&5 8090 echo "$as_me:8 090: \$? = $ac_status" >&58185 echo "$as_me:8185: \$? = $ac_status" >&5 8091 8186 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8092 8187 then … … 10429 10524 lt_status=$lt_dlunknown 10430 10525 cat > conftest.$ac_ext <<EOF 10431 #line 10 431"configure"10526 #line 10526 "configure" 10432 10527 #include "confdefs.h" 10433 10528 … … 10529 10624 lt_status=$lt_dlunknown 10530 10625 cat > conftest.$ac_ext <<EOF 10531 #line 10 531"configure"10626 #line 10626 "configure" 10532 10627 #include "confdefs.h" 10533 10628 … … 12873 12968 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12874 12969 -e 's:$: $lt_compiler_flag:'` 12875 (eval echo "\"\$as_me:12 875: $lt_compile\"" >&5)12970 (eval echo "\"\$as_me:12970: $lt_compile\"" >&5) 12876 12971 (eval "$lt_compile" 2>conftest.err) 12877 12972 ac_status=$? 12878 12973 cat conftest.err >&5 12879 echo "$as_me:12 879: \$? = $ac_status" >&512974 echo "$as_me:12974: \$? = $ac_status" >&5 12880 12975 if (exit $ac_status) && test -s "$ac_outfile"; then 12881 12976 # The compiler can only warn and ignore the option if not recognized … … 12977 13072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12978 13073 -e 's:$: $lt_compiler_flag:'` 12979 (eval echo "\"\$as_me:1 2979: $lt_compile\"" >&5)13074 (eval echo "\"\$as_me:13074: $lt_compile\"" >&5) 12980 13075 (eval "$lt_compile" 2>out/conftest.err) 12981 13076 ac_status=$? 12982 13077 cat out/conftest.err >&5 12983 echo "$as_me:1 2983: \$? = $ac_status" >&513078 echo "$as_me:13078: \$? = $ac_status" >&5 12984 13079 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12985 13080 then … … 14547 14642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14548 14643 -e 's:$: $lt_compiler_flag:'` 14549 (eval echo "\"\$as_me:14 549: $lt_compile\"" >&5)14644 (eval echo "\"\$as_me:14644: $lt_compile\"" >&5) 14550 14645 (eval "$lt_compile" 2>conftest.err) 14551 14646 ac_status=$? 14552 14647 cat conftest.err >&5 14553 echo "$as_me:14 553: \$? = $ac_status" >&514648 echo "$as_me:14648: \$? = $ac_status" >&5 14554 14649 if (exit $ac_status) && test -s "$ac_outfile"; then 14555 14650 # The compiler can only warn and ignore the option if not recognized … … 14651 14746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14652 14747 -e 's:$: $lt_compiler_flag:'` 14653 (eval echo "\"\$as_me:14 653: $lt_compile\"" >&5)14748 (eval echo "\"\$as_me:14748: $lt_compile\"" >&5) 14654 14749 (eval "$lt_compile" 2>out/conftest.err) 14655 14750 ac_status=$? 14656 14751 cat out/conftest.err >&5 14657 echo "$as_me:14 657: \$? = $ac_status" >&514752 echo "$as_me:14752: \$? = $ac_status" >&5 14658 14753 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14659 14754 then … … 16858 16953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16859 16954 -e 's:$: $lt_compiler_flag:'` 16860 (eval echo "\"\$as_me:16 860: $lt_compile\"" >&5)16955 (eval echo "\"\$as_me:16955: $lt_compile\"" >&5) 16861 16956 (eval "$lt_compile" 2>conftest.err) 16862 16957 ac_status=$? 16863 16958 cat conftest.err >&5 16864 echo "$as_me:16 864: \$? = $ac_status" >&516959 echo "$as_me:16959: \$? = $ac_status" >&5 16865 16960 if (exit $ac_status) && test -s "$ac_outfile"; then 16866 16961 # The compiler can only warn and ignore the option if not recognized … … 17126 17221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17127 17222 -e 's:$: $lt_compiler_flag:'` 17128 (eval echo "\"\$as_me:17 128: $lt_compile\"" >&5)17223 (eval echo "\"\$as_me:17223: $lt_compile\"" >&5) 17129 17224 (eval "$lt_compile" 2>conftest.err) 17130 17225 ac_status=$? 17131 17226 cat conftest.err >&5 17132 echo "$as_me:17 132: \$? = $ac_status" >&517227 echo "$as_me:17227: \$? = $ac_status" >&5 17133 17228 if (exit $ac_status) && test -s "$ac_outfile"; then 17134 17229 # The compiler can only warn and ignore the option if not recognized … … 17230 17325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17231 17326 -e 's:$: $lt_compiler_flag:'` 17232 (eval echo "\"\$as_me:17 232: $lt_compile\"" >&5)17327 (eval echo "\"\$as_me:17327: $lt_compile\"" >&5) 17233 17328 (eval "$lt_compile" 2>out/conftest.err) 17234 17329 ac_status=$? 17235 17330 cat out/conftest.err >&5 17236 echo "$as_me:17 236: \$? = $ac_status" >&517331 echo "$as_me:17331: \$? = $ac_status" >&5 17237 17332 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17238 17333 then
Note: See TracChangeset
for help on using the changeset viewer.