diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-12-20 17:12:44 +0000 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-12-20 17:12:44 +0000 |
commit | 65e4514df2949262d11963f59f205375582533ad (patch) | |
tree | ab121d25147ad89dc02b88a7081fcf50b60ca6a1 | |
parent | 5211db62c20c9adbb681ce0c56aec29c2ad24fc4 (diff) |
Append configured subdir to _AC_LIST_SUBDIRS
_AC_LIST_SUBDIRS is used to by ./configure --help=recursive to show the
options of the submodules. AX_CONFIG_DIR should do the same
-rw-r--r-- | 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 dbe2d7ca5..d72b51c05 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= |