diff options
author | David Reiss <dreiss@apache.org> | 2010-08-31 16:51:20 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2010-08-31 16:51:20 +0000 |
commit | 5cc3ba83fd9c5563709f3c80a48f4820c82473f4 (patch) | |
tree | fcf8e65e210e79abf5e891fcbfff011a8c3d3eae /aclocal | |
parent | 351e22b52afcbe9b40e0933f80b06b479dff50f4 (diff) | |
download | thrift-5cc3ba83fd9c5563709f3c80a48f4820c82473f4.tar.gz |
THRIFT-505. Make configure give a summary of the enabled components
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991247 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/ax_thrift_internal.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal/ax_thrift_internal.m4 b/aclocal/ax_thrift_internal.m4 index 979bec6bd..a84cb9eff 100644 --- a/aclocal/ax_thrift_internal.m4 +++ b/aclocal/ax_thrift_internal.m4 @@ -22,6 +22,9 @@ AC_DEFUN([AX_THRIFT_GEN], [ax_thrift_gen_$1="$enableval"], [ax_thrift_gen_$1=$3] ) + if test "x$ax_thrift_gen_$1" = "xyes" ; then + thrift_generators="$thrift_generators $1" + fi dnl I'd like to run the AM_CONDITIONAL here, but automake likes dnl all AM_CONDITIONALs to be nice and explicit in configure.ac. dnl AM_CONDITIONAL([THRIFT_GEN_$1], [test "$ax_thrift_gen_$1" = "yes"]) @@ -34,6 +37,7 @@ AC_DEFUN([AX_THRIFT_LIB], [with_$1="$withval"], [with_$1=$3] ) + have_$1=no dnl What we do here is going to vary from library to library, dnl so we can't really generalize (yet!). ]) |