This option will provide the make variable DEFAULT_BRIDGE,
defaulting to the current default "xen-br0".

Signed-off-by: Klaus Aehlig <[email protected]>
---
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/configure.ac b/configure.ac
index 37b0b57..a930f2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -201,6 +201,15 @@ AC_ARG_WITH([iallocator-search-path],
   [iallocator_search_path="$libdir/$PACKAGE_NAME/iallocators"])
 AC_SUBST(IALLOCATOR_SEARCH_PATH, $iallocator_search_path)
 
+# --with-default-bridge=...
+AC_ARG_WITH([default-bridge],
+  [AS_HELP_STRING([--with-default-bridge=BRIDGE],
+    [default bridge (default is xen-br0)]
+  )],
+  [default_bridge="$withval"],
+  [default_bridge="xen-br0"])
+AC_SUBST(DEFAULT_BRIDGE, $default_bridge)
+
 # --with-xen-bootloader=...
 AC_ARG_WITH([xen-bootloader],
   [AS_HELP_STRING([--with-xen-bootloader=PATH],
-- 
2.1.0.rc2.206.gedb03e5

Reply via email to