# restore LIBS
LIBS=$SAVE_LIBS
+USE_ATS=false
-glpk=true
-# AC_CHECK_HEADERS(glpk.h, ,[gplk=false])
-# 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 x$gplk = xfalse
+if test x$USE_ATS = xtrue
then
-# AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
-# AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk != x$gplk])
- AC_MSG_WARN([GNUnet requires GLPK >= 4.32])
+ glpk=true
+ AC_MSG_WARN([ATS enabled])
+ AC_CHECK_HEADERS(glpk.h, ,[gplk=false])
+ 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 x$gplk = xfalse
+ then
+ AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
+ AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk != x$gplk])
+ 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])
+ fi
else
-# AM_CONDITIONAL(HAVE_GLPK, [test x$gplk = xtrue])
-# AM_CONDITIONAL(HAVE_LIBGLPK, [test x$gplk = x$gplk])
- AC_MSG_WARN([GLPK is installed])
+ AC_MSG_WARN([ATS disabled])
+ AM_CONDITIONAL(HAVE_GLPK, false)
+ AM_CONDITIONAL(HAVE_LIBGLPK, false)
fi
-AM_CONDITIONAL(HAVE_GLPK, false)
-AM_CONDITIONAL(HAVE_LIBGLPK, false)
# test for kvm and kstat (for CPU stats under BSD/Solaris)
AC_CHECK_LIB([kvm],[kvm_open])
AM_CONDITIONAL(HAVE_PYTHON_PEXPECT, 0)
fi
-# libesmtp
-esmtp=0
-AC_MSG_CHECKING([for libesmtp])
-AC_ARG_WITH(esmtp,
- [ --with-esmtp=PFX base of libesmtp installation],
- [AC_MSG_RESULT([$with_esmtp])
- case $with_esmtp in
- no)
- ;;
- yes)
- AC_CHECK_HEADERS(libesmtp.h,
- AC_CHECK_LIB([esmtp], [smtp_start_session],
- esmtp=1))
- ;;
- *)
- LDFLAGS="-L$with_esmtp/lib $LDFLAGS"
- CPPFLAGS="-I$with_esmtp/include $CPPFLAGS"
- AC_CHECK_HEADERS(libesmtp.h,
- AC_CHECK_LIB([esmtp], [smtp_start_session],
- EXT_LIB_PATH="-L$with_esmtp/lib $EXT_LIB_PATH"
- esmtp=1))
- ;;
- esac
- ],
- [AC_MSG_RESULT([--with-esmtp not specified])
- AC_CHECK_HEADERS(libesmtp.h,
- AC_CHECK_LIB([esmtp], [smtp_start_session],
- esmtp=1))])
-AM_CONDITIONAL(HAVE_ESMTP, test x$esmtp = x1)
-AC_DEFINE_UNQUOTED([HAVE_ESMTP], $esmtp, [We have libesmtp])
-# restore LIBS
-LIBS=$SAVE_LIBS
-
-
# check for gettext
AM_GNU_GETTEXT([external])
src/include/gnunet_directories.h
src/hostlist/Makefile
src/mesh/Makefile
-src/monkey/Makefile
src/nat/Makefile
src/peerinfo/Makefile
src/peerinfo-tool/Makefile