mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
Allow the Thrift compiler to be built without the PHP generator.
- Use AX_THRIFT_GEN to make configure support --disable-gen-php - Update the compiler Makefile.am to exclude the generator. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745240 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bba692833d
commit
32272d9bd8
@ -10,7 +10,6 @@ thrift_SOURCES = src/thrifty.yy \
|
||||
src/main.cc \
|
||||
src/md5.c \
|
||||
src/generate/t_generator.cc \
|
||||
src/generate/t_php_generator.cc \
|
||||
src/globals.h \
|
||||
src/main.h \
|
||||
src/platform.h \
|
||||
@ -54,6 +53,9 @@ endif
|
||||
if THRIFT_GEN_perl
|
||||
thrift_SOURCES += src/generate/t_perl_generator.cc
|
||||
endif
|
||||
if THRIFT_GEN_php
|
||||
thrift_SOURCES += src/generate/t_php_generator.cc
|
||||
endif
|
||||
if THRIFT_GEN_erl
|
||||
thrift_SOURCES += src/generate/t_erl_generator.cc
|
||||
endif
|
||||
|
@ -162,6 +162,8 @@ AX_THRIFT_GEN(rb, [Ruby], yes)
|
||||
AM_CONDITIONAL([THRIFT_GEN_rb], [test "$ax_thrift_gen_rb" = "yes"])
|
||||
AX_THRIFT_GEN(perl, [Perl], yes)
|
||||
AM_CONDITIONAL([THRIFT_GEN_perl], [test "$ax_thrift_gen_perl" = "yes"])
|
||||
AX_THRIFT_GEN(php, [PHP], yes)
|
||||
AM_CONDITIONAL([THRIFT_GEN_php], [test "$ax_thrift_gen_php" = "yes"])
|
||||
AX_THRIFT_GEN(erl, [Erlang], yes)
|
||||
AM_CONDITIONAL([THRIFT_GEN_erl], [test "$ax_thrift_gen_erl" = "yes"])
|
||||
AX_THRIFT_GEN(cocoa, [Cocoa], yes)
|
||||
|
Loading…
Reference in New Issue
Block a user