diff options
author | Shakeel Butt <shakeel.butt@gmail.com> | 2013-02-15 13:32:09 +0000 |
---|---|---|
committer | Shakeel Butt <shakeel.butt@gmail.com> | 2013-02-15 13:32:09 +0000 |
commit | 0943842a89d497d7ce406d364448abbb6519c635 (patch) | |
tree | 3abf008587cdfb94710a2614234410e19770dd99 | |
parent | 4308933102ae03cdc7782d8e8ed34fe455d7372d (diff) | |
download | xen-0943842a89d497d7ce406d364448abbb6519c635.tar.gz xen-0943842a89d497d7ce406d364448abbb6519c635.tar.bz2 xen-0943842a89d497d7ce406d364448abbb6519c635.zip |
configure: configure a subsystem when explicitly requested.
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>
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | m4/subsystem.m4 | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -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 : diff --git a/m4/subsystem.m4 b/m4/subsystem.m4 index 9e1e61f848..5e2eb581af 100644 --- a/m4/subsystem.m4 +++ b/m4/subsystem.m4 @@ -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) |