AC_CHECK_LIB([glpk],[glp_create_prob], , [gplk=false])
# GLPK must support atm MLP presolving, version >= 4.32
AC_CHECK_MEMBERS(glp_iocp.presolve, ,[gplk=false],[[#include <glpk.h>]])
-if test $gplk == false
+if test $gplk = false
then
AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk != x$gplk])
- AC_MSG_ERROR([GNUnet requires GLPK >= 4.32])
+ AC_MSG_WARN([GNUnet requires GLPK >= 4.32])
else
AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk = x$gplk])