Changeset 2711
- Timestamp:
- Mar 31, 2013 4:41:02 PM (8 years ago)
- Location:
- ThirdParty/Glpk/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Glpk/trunk/INSTALL.Glpk
r2639 r2711 14 14 You may download 15 15 16 ftp://ftp.gnu.org/gnu/glpk/glpk-4.4 7.tar.gz16 ftp://ftp.gnu.org/gnu/glpk/glpk-4.48.tar.gz 17 17 18 18 and unpack it in this directory: 19 19 20 gunzip glpk-4.4 7.tar.gz21 tar xf glpk-4.4 7.tar20 gunzip glpk-4.48.tar.gz 21 tar xf glpk-4.48.tar 22 22 23 23 Then you need to rename the directory 24 glpk-4.4 724 glpk-4.48 25 25 into 26 26 glpk -
ThirdParty/Glpk/trunk/configure
r2652 r2711 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] … … 1905 1906 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;} 1906 1907 fi 1908 1909 1910 # Check whether --enable-static-standardlibs or --disable-static-standardlibs was given. 1911 if test "${enable_static_standardlibs+set}" = set; then 1912 enableval="$enable_static_standardlibs" 1913 case "$enableval" in 1914 no | yes | auto ) ;; 1915 *) 1916 { { echo "$as_me:$LINENO: error: invalid argument for --enable-static-standardlibs: $enableval" >&5 1917 echo "$as_me: error: invalid argument for --enable-static-standardlibs: $enableval" >&2;} 1918 { (exit 1); exit 1; }; } ;; 1919 esac 1920 use_static_standardlibs=$enableval 1921 else 1922 use_static_standardlibs=no 1923 fi; 1924 1907 1925 1908 1926 … … 3031 3049 CFLAGS="$OPT_CFLAGS" 3032 3050 fi 3051 3033 3052 else 3034 3053 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" … … 3198 3217 ;; 3199 3218 esac 3219 3220 # check whether to add flags for static linking against standard libraries to LDFLAGS 3221 if test x$use_static_standardlibs != xno ; then 3222 case $build in 3223 *-mingw*) 3224 static_standardlib_flag=-static 3225 ;; 3226 *) 3227 static_standardlib_flag=-static-libgcc 3228 ;; 3229 esac 3230 case " $LDFLAGS " in 3231 *" $static_standardlib_flag "* ) ;; 3232 *) 3233 echo "$as_me:$LINENO: checking whether linking with $static_standardlib_flag works" >&5 3234 echo $ECHO_N "checking whether linking with $static_standardlib_flag works... $ECHO_C" >&6 3235 coin_save_LDFLAGS="$LDFLAGS" 3236 LDFLAGS="$LDFLAGS $static_standardlib_flag" 3237 cat >conftest.$ac_ext <<_ACEOF 3238 /* confdefs.h. */ 3239 _ACEOF 3240 cat confdefs.h >>conftest.$ac_ext 3241 cat >>conftest.$ac_ext <<_ACEOF 3242 /* end confdefs.h. */ 3243 3244 int 3245 main () 3246 { 3247 int i=0; 3248 ; 3249 return 0; 3250 } 3251 _ACEOF 3252 rm -f conftest.$ac_objext conftest$ac_exeext 3253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3254 (eval $ac_link) 2>conftest.er1 3255 ac_status=$? 3256 grep -v '^ *+' conftest.er1 >conftest.err 3257 rm -f conftest.er1 3258 cat conftest.err >&5 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3260 (exit $ac_status); } && 3261 { ac_try='test -z "$ac_c_werror_flag" 3262 || test ! -s conftest.err' 3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3264 (eval $ac_try) 2>&5 3265 ac_status=$? 3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3267 (exit $ac_status); }; } && 3268 { ac_try='test -s conftest$ac_exeext' 3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3270 (eval $ac_try) 2>&5 3271 ac_status=$? 3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3273 (exit $ac_status); }; }; then 3274 echo "$as_me:$LINENO: result: yes" >&5 3275 echo "${ECHO_T}yes" >&6 3276 else 3277 echo "$as_me: failed program was:" >&5 3278 sed 's/^/| /' conftest.$ac_ext >&5 3279 3280 echo "$as_me:$LINENO: result: no" >&5 3281 echo "${ECHO_T}no" >&6 3282 LDFLAGS="$coin_save_LDFLAGS" 3283 if test $use_static_standardlibs = yes ; then 3284 { { echo "$as_me:$LINENO: error: failed to link with $static_standardlib_flag" >&5 3285 echo "$as_me: error: failed to link with $static_standardlib_flag" >&2;} 3286 { (exit 1); exit 1; }; } 3287 fi 3288 3289 fi 3290 rm -f conftest.err conftest.$ac_objext \ 3291 conftest$ac_exeext conftest.$ac_ext 3292 ;; 3293 esac 3294 fi 3200 3295 3201 3296 ac_ext=c … … 5048 5143 *-*-irix6*) 5049 5144 # Find out which ABI we are using. 5050 echo '#line 5 050"configure"' > conftest.$ac_ext5145 echo '#line 5145 "configure"' > conftest.$ac_ext 5051 5146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5052 5147 (eval $ac_compile) 2>&5 … … 6647 6742 6648 6743 # Provide some information about the compiler. 6649 echo "$as_me:6 649:" \6744 echo "$as_me:6744:" \ 6650 6745 "checking for Fortran 77 compiler version" >&5 6651 6746 ac_compiler=`set X $ac_compile; echo $2` … … 7714 7809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7715 7810 -e 's:$: $lt_compiler_flag:'` 7716 (eval echo "\"\$as_me:7 716: $lt_compile\"" >&5)7811 (eval echo "\"\$as_me:7811: $lt_compile\"" >&5) 7717 7812 (eval "$lt_compile" 2>conftest.err) 7718 7813 ac_status=$? 7719 7814 cat conftest.err >&5 7720 echo "$as_me:7 720: \$? = $ac_status" >&57815 echo "$as_me:7815: \$? = $ac_status" >&5 7721 7816 if (exit $ac_status) && test -s "$ac_outfile"; then 7722 7817 # The compiler can only warn and ignore the option if not recognized … … 7982 8077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7983 8078 -e 's:$: $lt_compiler_flag:'` 7984 (eval echo "\"\$as_me: 7984: $lt_compile\"" >&5)8079 (eval echo "\"\$as_me:8079: $lt_compile\"" >&5) 7985 8080 (eval "$lt_compile" 2>conftest.err) 7986 8081 ac_status=$? 7987 8082 cat conftest.err >&5 7988 echo "$as_me: 7988: \$? = $ac_status" >&58083 echo "$as_me:8083: \$? = $ac_status" >&5 7989 8084 if (exit $ac_status) && test -s "$ac_outfile"; then 7990 8085 # The compiler can only warn and ignore the option if not recognized … … 8086 8181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8087 8182 -e 's:$: $lt_compiler_flag:'` 8088 (eval echo "\"\$as_me:8 088: $lt_compile\"" >&5)8183 (eval echo "\"\$as_me:8183: $lt_compile\"" >&5) 8089 8184 (eval "$lt_compile" 2>out/conftest.err) 8090 8185 ac_status=$? 8091 8186 cat out/conftest.err >&5 8092 echo "$as_me:8 092: \$? = $ac_status" >&58187 echo "$as_me:8187: \$? = $ac_status" >&5 8093 8188 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8094 8189 then … … 10431 10526 lt_status=$lt_dlunknown 10432 10527 cat > conftest.$ac_ext <<EOF 10433 #line 10 433"configure"10528 #line 10528 "configure" 10434 10529 #include "confdefs.h" 10435 10530 … … 10531 10626 lt_status=$lt_dlunknown 10532 10627 cat > conftest.$ac_ext <<EOF 10533 #line 10 533"configure"10628 #line 10628 "configure" 10534 10629 #include "confdefs.h" 10535 10630 … … 12875 12970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12876 12971 -e 's:$: $lt_compiler_flag:'` 12877 (eval echo "\"\$as_me:12 877: $lt_compile\"" >&5)12972 (eval echo "\"\$as_me:12972: $lt_compile\"" >&5) 12878 12973 (eval "$lt_compile" 2>conftest.err) 12879 12974 ac_status=$? 12880 12975 cat conftest.err >&5 12881 echo "$as_me:12 881: \$? = $ac_status" >&512976 echo "$as_me:12976: \$? = $ac_status" >&5 12882 12977 if (exit $ac_status) && test -s "$ac_outfile"; then 12883 12978 # The compiler can only warn and ignore the option if not recognized … … 12979 13074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12980 13075 -e 's:$: $lt_compiler_flag:'` 12981 (eval echo "\"\$as_me:1 2981: $lt_compile\"" >&5)13076 (eval echo "\"\$as_me:13076: $lt_compile\"" >&5) 12982 13077 (eval "$lt_compile" 2>out/conftest.err) 12983 13078 ac_status=$? 12984 13079 cat out/conftest.err >&5 12985 echo "$as_me:1 2985: \$? = $ac_status" >&513080 echo "$as_me:13080: \$? = $ac_status" >&5 12986 13081 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12987 13082 then … … 14549 14644 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14550 14645 -e 's:$: $lt_compiler_flag:'` 14551 (eval echo "\"\$as_me:14 551: $lt_compile\"" >&5)14646 (eval echo "\"\$as_me:14646: $lt_compile\"" >&5) 14552 14647 (eval "$lt_compile" 2>conftest.err) 14553 14648 ac_status=$? 14554 14649 cat conftest.err >&5 14555 echo "$as_me:14 555: \$? = $ac_status" >&514650 echo "$as_me:14650: \$? = $ac_status" >&5 14556 14651 if (exit $ac_status) && test -s "$ac_outfile"; then 14557 14652 # The compiler can only warn and ignore the option if not recognized … … 14653 14748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14654 14749 -e 's:$: $lt_compiler_flag:'` 14655 (eval echo "\"\$as_me:14 655: $lt_compile\"" >&5)14750 (eval echo "\"\$as_me:14750: $lt_compile\"" >&5) 14656 14751 (eval "$lt_compile" 2>out/conftest.err) 14657 14752 ac_status=$? 14658 14753 cat out/conftest.err >&5 14659 echo "$as_me:14 659: \$? = $ac_status" >&514754 echo "$as_me:14754: \$? = $ac_status" >&5 14660 14755 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14661 14756 then … … 16860 16955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16861 16956 -e 's:$: $lt_compiler_flag:'` 16862 (eval echo "\"\$as_me:16 862: $lt_compile\"" >&5)16957 (eval echo "\"\$as_me:16957: $lt_compile\"" >&5) 16863 16958 (eval "$lt_compile" 2>conftest.err) 16864 16959 ac_status=$? 16865 16960 cat conftest.err >&5 16866 echo "$as_me:16 866: \$? = $ac_status" >&516961 echo "$as_me:16961: \$? = $ac_status" >&5 16867 16962 if (exit $ac_status) && test -s "$ac_outfile"; then 16868 16963 # The compiler can only warn and ignore the option if not recognized … … 17128 17223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17129 17224 -e 's:$: $lt_compiler_flag:'` 17130 (eval echo "\"\$as_me:17 130: $lt_compile\"" >&5)17225 (eval echo "\"\$as_me:17225: $lt_compile\"" >&5) 17131 17226 (eval "$lt_compile" 2>conftest.err) 17132 17227 ac_status=$? 17133 17228 cat conftest.err >&5 17134 echo "$as_me:17 134: \$? = $ac_status" >&517229 echo "$as_me:17229: \$? = $ac_status" >&5 17135 17230 if (exit $ac_status) && test -s "$ac_outfile"; then 17136 17231 # The compiler can only warn and ignore the option if not recognized … … 17232 17327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17233 17328 -e 's:$: $lt_compiler_flag:'` 17234 (eval echo "\"\$as_me:17 234: $lt_compile\"" >&5)17329 (eval echo "\"\$as_me:17329: $lt_compile\"" >&5) 17235 17330 (eval "$lt_compile" 2>out/conftest.err) 17236 17331 ac_status=$? 17237 17332 cat out/conftest.err >&5 17238 echo "$as_me:17 238: \$? = $ac_status" >&517333 echo "$as_me:17333: \$? = $ac_status" >&5 17239 17334 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17240 17335 then … … 20150 20245 echo "$as_me:$LINENO: result: ${glpkmajorver}.${glpkminorver}" >&5 20151 20246 echo "${ECHO_T}${glpkmajorver}.${glpkminorver}" >&6 20152 if test x$glpkmajorver != x4 || test x$glpkminorver != x4 7; then20153 { { echo "$as_me:$LINENO: error: \"Incorrect GLPK version. This build system is made for GLPK 4.4 7. Please update by rerunning get.GLPK\"" >&520154 echo "$as_me: error: \"Incorrect GLPK version. This build system is made for GLPK 4.4 7. Please update by rerunning get.GLPK\"" >&2;}20247 if test x$glpkmajorver != x4 || test x$glpkminorver != x48 ; then 20248 { { echo "$as_me:$LINENO: error: \"Incorrect GLPK version. This build system is made for GLPK 4.48. Please update by rerunning get.GLPK\"" >&5 20249 echo "$as_me: error: \"Incorrect GLPK version. This build system is made for GLPK 4.48. Please update by rerunning get.GLPK\"" >&2;} 20155 20250 { (exit 1); exit 1; }; } 20156 20251 fi -
ThirdParty/Glpk/trunk/configure.ac
r2652 r2711 62 62 glpkminorver=`awk '/define GLP_MINOR_VERSION/ {print $3}' $srcdir/glpk/src/glpk.h` 63 63 AC_MSG_RESULT([${glpkmajorver}.${glpkminorver}]) 64 if test x$glpkmajorver != x4 || test x$glpkminorver != x4 7; then65 AC_MSG_ERROR(["Incorrect GLPK version. This build system is made for GLPK 4.4 7. Please update by rerunning get.GLPK"])64 if test x$glpkmajorver != x4 || test x$glpkminorver != x48 ; then 65 AC_MSG_ERROR(["Incorrect GLPK version. This build system is made for GLPK 4.48. Please update by rerunning get.GLPK"]) 66 66 fi 67 67 AC_SUBST(glpkmajorver) -
ThirdParty/Glpk/trunk/get.Glpk
r2639 r2711 2 2 3 3 set -e 4 glpk_ver=4.4 74 glpk_ver=4.48 5 5 6 6 wgetcmd=wget
Note: See TracChangeset
for help on using the changeset viewer.