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 53c65fe..658070b 100644 (file)
@@ -14,7 +14,7 @@ SUBDIRS = \
        third-party \
        debian
 if HAVE_EXT
-SUBDIRS += ext
+SUBDIRS += $(EXT)
 distdir = $(PACKAGE)+ext-$(VERSION)
 endif
 
index 8b80249..0c016a8 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])])