From dec8c54f8e30f9b8cddcf6069647eb03ffb06d83 Mon Sep 17 00:00:00 2001 From: Jake Farrell Date: Wed, 21 Sep 2011 00:15:27 +0000 Subject: Thrift-857: tests run by "make install" fail if generators are disabled Client: build Patch: jfarrell removes --enable-gen* from configure and adds all generators by default. git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1173436 13f79535-47bb-0310-9956-ffa450edef68 --- aclocal/ax_thrift_internal.m4 | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'aclocal') diff --git a/aclocal/ax_thrift_internal.m4 b/aclocal/ax_thrift_internal.m4 index a84cb9eff..8c0e3cbc1 100644 --- a/aclocal/ax_thrift_internal.m4 +++ b/aclocal/ax_thrift_internal.m4 @@ -15,21 +15,6 @@ dnl Copying and distribution of this file, with or without modification, dnl are permitted in any medium without royalty provided the copyright dnl notice and this notice are preserved. -AC_DEFUN([AX_THRIFT_GEN], - [ - AC_ARG_ENABLE([gen-$1], - AC_HELP_STRING([--enable-gen-$1], [enable the $2 compiler @<:@default=$3@:>@]), - [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"]) - ]) - AC_DEFUN([AX_THRIFT_LIB], [ AC_ARG_WITH($1, -- cgit v1.2.1