Changeset 1179 for ThirdParty/Glpk/stable/1.4/configure.ac
- Timestamp:
- Sep 14, 2008 7:43:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Glpk/stable/1.4/configure.ac
r1138 r1179 70 70 if test x"$use_thirdpartyglpk" = xbuild ; then 71 71 touch $MAKEOKFILE 72 #CoinUtils and SYMPHONY include glpmpl.h and have HAVE_CONFIG_H defined 73 #so we put a dummy config.h file into the glpk include directory 74 touch ${GLPKINCDIR}/config.h 72 75 AC_MSG_CHECKING([GLPK version]) 73 76 majorver=`awk '/define GLP_MAJOR_VERSION/ {print $3}' ${GLPKINCDIR}/glpk.h` 74 77 minorver=`awk '/define GLP_MINOR_VERSION/ {print $3}' ${GLPKINCDIR}/glpk.h` 75 78 AC_MSG_RESULT([${majorver}.${minorver}]) 76 if test $majorver != 4 || test $minorver != 3 0; then77 AC_MSG_ERROR(["Incorrect GLPK version. This build system is made for GLPK 4.3 0. Please update by rerunning get.GLPK"])79 if test $majorver != 4 || test $minorver != 31 ; then 80 AC_MSG_ERROR(["Incorrect GLPK version. This build system is made for GLPK 4.31. Please update by rerunning get.GLPK"]) 78 81 fi 79 82 else
Note: See TracChangeset
for help on using the changeset viewer.