You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2014/02/09 21:14:44 UTC

git commit: THRIFT-2344 configure.ac: compiler-only option Patch: Roger Meier

Updated Branches:
  refs/heads/master 7fff60ff7 -> c92cda0d9


THRIFT-2344 configure.ac: compiler-only option
Patch: Roger Meier


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/c92cda0d
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/c92cda0d
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/c92cda0d

Branch: refs/heads/master
Commit: c92cda0d99820af884fb79c85ba9c738d0c7210f
Parents: 7fff60f
Author: Roger Meier <ro...@apache.org>
Authored: Sun Feb 9 21:13:53 2014 +0100
Committer: Roger Meier <ro...@apache.org>
Committed: Sun Feb 9 21:13:53 2014 +0100

----------------------------------------------------------------------
 configure.ac | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/c92cda0d/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index bb09c7c..7eea98f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,30 @@ AC_PROG_RANLIB
 AC_LANG([C++])
 AX_CXX_COMPILE_STDCXX_11([noext])
 
+AC_ARG_ENABLE([libs],
+  AS_HELP_STRING([--enable-libs], [build the Apache Thrift libraries [default=yes]]),
+  [], enable_libs=yes
+)
+have_libs=yes
+if test "$enable_libs" = "no"; then
+  have_libs="no"
+  with_cpp="no"
+  with_c_glib="no"
+  with_java="no"
+  with_csharp="no"
+  with_python="no"
+  with_ruby="no"
+  with_haskell="no"
+  with_perl="no"
+  with_php="no"
+  with_php_extension="no"
+  with_erlang="no"
+  with_go="no"
+  with_d="no"
+  with_nodejs="no"
+fi
+
+
 AX_THRIFT_LIB(cpp, [C++], yes)
 have_cpp=no
 if test "$with_cpp" = "yes";  then