You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2014/11/10 08:32:26 UTC
[1/2] mesos git commit: Added check for apr and svn headers besides
libraries
Repository: mesos
Updated Branches:
refs/heads/master 3bfb136e9 -> f8c89e8ed
Added check for apr and svn headers besides libraries
Review: https://reviews.apache.org/r/27701
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/42458bf2
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/42458bf2
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/42458bf2
Branch: refs/heads/master
Commit: 42458bf2ad7fde97b18b167ba79b67effe43b0e9
Parents: 3bfb136
Author: Timothy Chen <tn...@gmail.com>
Authored: Thu Nov 6 14:01:33 2014 -0800
Committer: Timothy Chen <tn...@gmail.com>
Committed: Sun Nov 9 23:34:01 2014 -0800
----------------------------------------------------------------------
configure.ac | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/42458bf2/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 4504006..c287a17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -651,8 +651,13 @@ else
CPPFLAGS="-I/usr/include/apr-1 -I/usr/include/apr-1.0 $CPPFLAGS"
fi
-AC_CHECK_LIB([apr-1], [apr_initialize], [],
- [AC_MSG_ERROR([cannot find libapr-1
+AC_CHECK_HEADERS([apr_pools.h],
+ [AC_CHECK_LIB([apr-1], [apr_initialize], [],
+ [AC_MSG_ERROR([cannot find libapr-1
+-------------------------------------------------------------------
+libapr-1 is required for mesos to build.
+-------------------------------------------------------------------
+ ])])], [AC_MSG_ERROR([cannot find libapr-1 headers
-------------------------------------------------------------------
libapr-1 is required for mesos to build.
-------------------------------------------------------------------
@@ -670,15 +675,25 @@ else
CPPFLAGS="-I/usr/include/subversion-1 $CPPFLAGS"
fi
-AC_CHECK_LIB([svn_subr-1], [svn_stringbuf_create_ensure], [],
- [AC_MSG_ERROR([cannot find libsvn_subr-1
+AC_CHECK_HEADERS([svn_version.h],
+ [AC_CHECK_LIB([svn_subr-1], [svn_stringbuf_create_ensure], [],
+ [AC_MSG_ERROR([cannot find libsvn_subr-1
+-------------------------------------------------------------------
+libsubversion-1 is required for mesos to build.
+-------------------------------------------------------------------
+ ])])], [AC_MSG_ERROR([cannot find libsvn_subr-1 headers
-------------------------------------------------------------------
libsubversion-1 is required for mesos to build.
-------------------------------------------------------------------
])])
-AC_CHECK_LIB([svn_delta-1], [svn_txdelta], [],
- [AC_MSG_ERROR([cannot find libsvn_delta-1
+AC_CHECK_HEADERS([svn_delta.h],
+ [AC_CHECK_LIB([svn_delta-1], [svn_txdelta], [],
+ [AC_MSG_ERROR([cannot find libsvn_delta-1
+-------------------------------------------------------------------
+libsubversion-1 is required for mesos to build.
+-------------------------------------------------------------------
+ ])])], [AC_MSG_ERROR([cannot find libsvn_delta-1 headers
-------------------------------------------------------------------
libsubversion-1 is required for mesos to build.
-------------------------------------------------------------------
[2/2] mesos git commit: Added check for apr and svn headers besides
libraries in 3rdparty
Posted by tn...@apache.org.
Added check for apr and svn headers besides libraries in 3rdparty
Review: https://reviews.apache.org/r/27704
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f8c89e8e
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f8c89e8e
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f8c89e8e
Branch: refs/heads/master
Commit: f8c89e8eda098be9c9a592e53edadc457796d3de
Parents: 42458bf
Author: Timothy Chen <tn...@gmail.com>
Authored: Thu Nov 6 14:01:43 2014 -0800
Committer: Timothy Chen <tn...@gmail.com>
Committed: Sun Nov 9 23:34:03 2014 -0800
----------------------------------------------------------------------
3rdparty/libprocess/configure.ac | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/f8c89e8e/3rdparty/libprocess/configure.ac
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/configure.ac b/3rdparty/libprocess/configure.ac
index 18eb681..314c8b8 100644
--- a/3rdparty/libprocess/configure.ac
+++ b/3rdparty/libprocess/configure.ac
@@ -203,8 +203,13 @@ else
CPPFLAGS="-I/usr/include/apr-1 -I/usr/include/apr-1.0 $CPPFLAGS"
fi
-AC_CHECK_LIB([apr-1], [apr_initialize], [],
- [AC_MSG_ERROR([cannot find libapr-1
+AC_CHECK_HEADERS([apr_pools.h],
+ [AC_CHECK_LIB([apr-1], [apr_initialize], [],
+ [AC_MSG_ERROR([cannot find libapr-1
+-------------------------------------------------------------------
+libapr-1 is required for mesos to build.
+-------------------------------------------------------------------
+ ])])], [AC_MSG_ERROR([cannot find libapr-1 headers
-------------------------------------------------------------------
libapr-1 is required for mesos to build.
-------------------------------------------------------------------
@@ -222,15 +227,25 @@ else
CPPFLAGS="-I/usr/include/subversion-1 $CPPFLAGS"
fi
-AC_CHECK_LIB([svn_subr-1], [svn_stringbuf_create_ensure], [],
- [AC_MSG_ERROR([cannot find libsvn_subr-1
+AC_CHECK_HEADERS([svn_version.h],
+ [AC_CHECK_LIB([svn_subr-1], [svn_stringbuf_create_ensure], [],
+ [AC_MSG_ERROR([cannot find libsvn_subr-1
+-------------------------------------------------------------------
+libsubversion-1 is required for mesos to build.
+-------------------------------------------------------------------
+ ])])], [AC_MSG_ERROR([cannot find libsvn_subr-1 headers
-------------------------------------------------------------------
libsubversion-1 is required for mesos to build.
-------------------------------------------------------------------
])])
-AC_CHECK_LIB([svn_delta-1], [svn_txdelta], [],
- [AC_MSG_ERROR([cannot find libsvn_delta-1
+AC_CHECK_HEADERS([svn_delta.h],
+ [AC_CHECK_LIB([svn_delta-1], [svn_txdelta], [],
+ [AC_MSG_ERROR([cannot find libsvn_delta-1
+-------------------------------------------------------------------
+libsubversion-1 is required for mesos to build.
+-------------------------------------------------------------------
+ ])])], [AC_MSG_ERROR([cannot find libsvn_delta-1 headers
-------------------------------------------------------------------
libsubversion-1 is required for mesos to build.
-------------------------------------------------------------------