From 5cc3ba83fd9c5563709f3c80a48f4820c82473f4 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Tue, 31 Aug 2010 16:51:20 +0000 Subject: 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 --- aclocal/ax_thrift_internal.m4 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'aclocal') 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!). ]) -- cgit v1.2.1