summaryrefslogtreecommitdiff
path: root/aclocal
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/ax_thrift_internal.m44
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!).
])