HAVE_EXT=no
;;
(*)
- if test -e "$srcdir/ext/configure"; then
+ if test -e "$srcdir/ext/automake.mk"; then
HAVE_EXT=yes
else
HAVE_EXT=no
;;
esac
if test $HAVE_EXT = yes; then
- if test -e "$srcdir/ext/configure"; then
+ if test -e "$srcdir/ext/automake.mk"; then
:
else
AC_MSG_ERROR([cannot configure extensions without "ext" directory])
fi
- AC_CONFIG_SUBDIRS([ext])
AC_DEFINE([HAVE_EXT], [1],
[Whether the OpenFlow extensions submodule is available])
- AC_SUBST([EXT], [ext])
fi
- AC_SUBST([ofp_top_srcdir], ['$(top_srcdir)'])
AM_CONDITIONAL([HAVE_EXT], [test $HAVE_EXT = yes])])
dnl Checks for dpkg-buildpackage. If this is available then we check