Displaying 1 result from an estimated 1 matches for "enable_uml".
Did you mean:
  enable_pml
  
2012 Mar 26
1
[PATCH] configure.in: fix AC_ARG_ENABLE and AC_ARG_WITH
...d, 33 insertions(+), 17 deletions(-)
diff --git a/configure.in b/configure.in
index 2ea69f6..a03baf6 100644
--- a/configure.in
+++ b/configure.in
@@ -73,30 +73,44 @@ case $host_os in
 esac
 
 AC_ARG_ENABLE(uml,
-  AS_HELP_STRING([--enable-uml], [enable support for User Mode Linux]),
-  [ AC_DEFINE(ENABLE_UML, 1, [Support for UML])
-    uml=true
-  ]
+  AS_HELP_STRING([--disable-uml], [enable support for User Mode Linux]),
+  [ AS_IF([test "x$enable_uml" = "xyes"],
+      [ AC_DEFINE(ENABLE_UML, 1, [Support for UML])
+        uml=true
+      ],
+      [uml=false])
+  ],
+  [uml=disab...