Fix boot.sh for the case where the extensions repository is not available.
authorBen Pfaff <blp@nicira.com>
Fri, 19 Sep 2008 21:57:19 +0000 (14:57 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 19 Sep 2008 21:57:19 +0000 (14:57 -0700)
Reported by Justin.

Makefile.am
acinclude.m4

index 53c65fefd7f3e96274adf8ba7306d50c683bdb15..658070b3ebc1c75f0317332625f3ac0a8c65dae8 100644 (file)
@@ -14,7 +14,7 @@ SUBDIRS = \
        third-party \
        debian
 if HAVE_EXT
-SUBDIRS += ext
+SUBDIRS += $(EXT)
 distdir = $(PACKAGE)+ext-$(VERSION)
 endif
 
index 8b80249d9d92712c9938ae1b67b4b351eef97046..0c016a8d4067f857149fa1dc7be38365c734cd61 100644 (file)
@@ -134,6 +134,7 @@ AC_DEFUN([OFP_ENABLE_EXT],
      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])])