For SNAT, don't store the pre-fragment L2 header before actions are applied.
[sliver-openvswitch.git] / acinclude.m4
index 8b80249..0036ac1 100644 (file)
@@ -118,7 +118,7 @@ AC_DEFUN([OFP_ENABLE_EXT],
        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
@@ -126,16 +126,14 @@ AC_DEFUN([OFP_ENABLE_EXT],
        ;;
    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])
    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