configure: configure a subsystem when explicitly requested.
authorShakeel Butt <shakeel.butt@gmail.com>
Fri, 15 Feb 2013 13:32:09 +0000 (13:32 +0000)
committerShakeel Butt <shakeel.butt@gmail.com>
Fri, 15 Feb 2013 13:32:09 +0000 (13:32 +0000)
Executing "./configure --enable-stubdom" doesn't call stubdom/configure, fix
this.

Signed-off-by: Shakeel Butt <shakeel.butt@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
configure
m4/subsystem.m4

index 69803a790792b1061168dba8a88e13b2627e4e9b..06c0e993828bb15c286a3298b07c56007e9acae6 100755 (executable)
--- a/configure
+++ b/configure
@@ -2000,6 +2000,9 @@ stubdom=n
 
 fi
 
+fi
+
+
 if test -e "stubdom/configure"; then :
 
 if test "x$stubdom" = "xy" || test "x$stubdom" = "x" ; then
@@ -2011,9 +2014,6 @@ fi
 
 
 
-fi
-
-
 
 # Check whether --enable-docs was given.
 if test "${enable_docs+set}" = set; then :
index 9e1e61f84884162d62e3be828a072617655cc627..5e2eb581af122b0841d51ac2b5b0c6c878529522 100644 (file)
@@ -39,10 +39,10 @@ AX_ENABLE_SUBSYSTEM([$1])
 ],[
 AX_DISABLE_SUBSYSTEM([$1])
 ])
+])
 AX_SUBSYSTEM_CONFIGURE([$1])
 AC_SUBST($1)
 ])
-])
 
 AC_DEFUN([AX_SUBSYSTEM_FINISH], [
 AC_SUBST(SUBSYSTEMS)