[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-commits
Subject: [2/2] git commit: Replaced PKG_CHECK_MODULES with AC_CHECKs in libprocess configure.ac.
From: jieyu () apache ! org
Date: 2014-08-27 18:56:37
Message-ID: 471992e0b96a4d9f880360b0045a0f5b () git ! apache ! org
[Download RAW message or body]
Replaced PKG_CHECK_MODULES with AC_CHECKs in libprocess configure.ac.
Review: https://reviews.apache.org/r/25031
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/358901a6
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/358901a6
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/358901a6
Branch: refs/heads/master
Commit: 358901a6d56ff9179ffa67077994ed618044179c
Parents: 66ecc37
Author: Jie Yu <yujie.jay@gmail.com>
Authored: Wed Aug 27 11:55:46 2014 -0700
Committer: Jie Yu <yujie.jay@gmail.com>
Committed: Wed Aug 27 11:56:01 2014 -0700
----------------------------------------------------------------------
3rdparty/libprocess/configure.ac | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/358901a6/3rdparty/libprocess/configure.ac
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/configure.ac b/3rdparty/libprocess/configure.ac
index 053cf66..408b0db 100644
--- a/3rdparty/libprocess/configure.ac
+++ b/3rdparty/libprocess/configure.ac
@@ -405,9 +405,12 @@ if test "x$without_bundled_protobuf" = "xyes" || \
fi
# Check for protobuf.
- PKG_CHECK_MODULES([PROTOBUFPREFIX],
- [protobuf],
- [found_protobuf=yes])
+ # TODO(jieyu): Symbol _init is not available for libs on OS X.
+ # Consider checking lib using AX_CXX_CHECK_LIB.
+ AC_CHECK_HEADERS([google/protobuf/message.h],
+ [AC_CHECK_LIB([protobuf],
+ [_init],
+ [found_protobuf=yes])])
if test "x$found_protobuf" = "xyes"; then
with_bundled_protobuf=no
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic