[telepathy-gabble/master] Append configured subdir to _AC_LIST_SUBDIRS

Sjoerd Simons sjoerd.simons at collabora.co.uk
Sun Dec 20 09:12:44 PST 2009


_AC_LIST_SUBDIRS is used to by ./configure --help=recursive to show the
options of the submodules. AX_CONFIG_DIR should do the same
---
 m4/ax_config_dir.m4 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/m4/ax_config_dir.m4 b/m4/ax_config_dir.m4
index dbe2d7c..d72b51c 100644
--- a/m4/ax_config_dir.m4
+++ b/m4/ax_config_dir.m4
@@ -11,7 +11,9 @@ dnl code based on a simplification of _AC_OUTPUT_SUBDIRS in
 dnl /usr/share/autoconf/autoconf/status.m4 which implements part of 
 dnl AC_CONFIG_SUBDIRS
 
-AC_DEFUN([AX_CONFIG_DIR], [
+AC_DEFUN([AX_CONFIG_DIR],
+[m4_append([_AC_LIST_SUBDIRS], [$1], [])]
+[
   # Remove --cache-file and --srcdir arguments so they do not pile up.
   ax_sub_configure_args=
   ax_prev=
-- 
1.5.6.5




More information about the telepathy-commits mailing list