AC_PREREQ(2.59)
-AC_INIT(openflow, v0.1.8, info@openflowswitch.org)
+AC_INIT(openflow, v0.1.9, info@openflowswitch.org)
AM_INIT_AUTOMAKE
AC_PROG_CC
AM_CONDITIONAL([NDEBUG], [test x$ndebug = xtrue])
CHECK_LINUX(l26, 2.6, 2.6, KSRC26, L26_ENABLED)
-CHECK_LINUX(uml, 2.6, 2.6-uml, KSRCUML, UML_ENABLED)
CHECK_LINUX(l24, 2.4, 2.4, KSRC24, L24_ENABLED)
AC_CHECK_HEADER([linux/netlink.h],
[HAVE_NETLINK=no],
[#include <sys/socket.h>])
AM_CONDITIONAL([HAVE_NETLINK], [test "$HAVE_NETLINK" = yes])
+ if test "$HAVE_NETLINK" = yes; then
+ AC_DEFINE([HAVE_NETLINK], [1],
+ [Define to 1 if Netlink protocol is available.])
+ fi
+
+ PKG_CHECK_MODULES([SSL], [libssl],
+ [HAVE_OPENSSL=yes],
+ [HAVE_OPENSSL=no
+ AC_MSG_WARN([Cannot find libssl:
+
+ $SSL_PKG_ERRORS
+
+ OpenFlow will not support SSL connections.])])
+ AM_CONDITIONAL([HAVE_OPENSSL], [test "$HAVE_OPENSSL" = yes])
+ if test "$HAVE_OPENSSL" = yes; then
+ AC_DEFINE([HAVE_OPENSSL], [1], [Define to 1 if OpenSSL is installed.])
+ fi
AC_CHECK_LIB([socket], [connect])
AC_CHECK_LIB([resolv], [gethostbyname])
datapath/tests/Makefile
third-party/Makefile
datapath/linux-2.6/Makefile
-datapath/linux-2.6-uml/Makefile
datapath/linux-2.4/Makefile])
AC_OUTPUT