[ https://issues.apache.org/jira/browse/THRIFT-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895515#comment-13895515 ]
Roger Meier commented on THRIFT-2344: ------------------------------------- Hmm, let's discuss before I do some more work on this;-) today we use autoconf [Choosing Package Options | https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Package-Options.html] here: {noformat} --enable-tests build tests [default=yes] --enable-tutorial build tutorial [default=yes] --enable-coverage turn on -fprofile-arcs -ftest-coverage --enable-boostthreads use boost threads, instead of POSIX pthread (experimental) {noformat} and autoconf [Working With External Software | https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/External-Software.html] here: {noformat} --with-cpp build the C++ library [default=yes] --with-boost[=DIR] use boost [default=yes]. Optionally specify the root prefix dir where boost is installed --with-libevent[=DIR] use libevent [default=yes]. Optionally specify the root prefix dir where libevent is installed --with-zlib[=DIR] use zlib (default is yes) - it is possible to specify an alternate root directory for zlib --with-qt4 build the Qt library [default=yes] --with-c_glib build the C (GLib) library [default=yes] --with-csharp build the C# library [default=yes] --with-java build the Java library [default=yes] --with-erlang build the Erlang library [default=yes] --with-nodejs build the Nodejs library [default=yes] --with-python build the Python library [default=yes] --with-perl build the Perl library [default=yes] --with-php build the PHP library [default=yes] --with-php_extension build the PHP_EXTENSION library [default=yes] --with-ruby build the Ruby library [default=yes] --with-haskell build the Haskell library [default=yes] --with-go build the Go library [default=yes] --with-d build the D library [default=yes] --with-openssl=DIR root of the OpenSSL directory {noformat} I still think that the compiler only build should be an option, as far as I understand autoconf best practice. {noformat} --enable-libs build the Apache Thrift libraries [default=yes] {noformat} With is especially meant for external dependencies, what we have with all the languages and corresponding compilers. all the best! -roger > configure.ac: compiler-only option > ---------------------------------- > > Key: THRIFT-2344 > URL: https://issues.apache.org/jira/browse/THRIFT-2344 > Project: Thrift > Issue Type: Improvement > Reporter: Roger Meier > Priority: Minor > Attachments: THRIFT-2344_configure_disable-libs_option.patch > > > there are many use cases were you just want to build the compiler. > --compiler-only > or > --disable-libs > what do you think? > ;-r -- This message was sent by Atlassian JIRA (v6.1.5#6160)