Commit Graph

13 Commits

Author SHA1 Message Date
Gary Lowell
ea546aef0c Build: Change build to always use system leveldb
Dynamically link to the leveldb installed on the system rather than
statically linking ceph copy.  Remove the --with-system-leveldb config
option, and add a requirement for leveldb libraries for rpm and debian
packages.  Bug 3945.

Signed-off-by: Gary Lowell  <gary.lowell@inktank.com>
2013-02-26 20:07:49 -08:00
Danny Al-Gaaf
59aad34795 configure.ac: check for org.junit.rules.ExternalResource
Check for org.junit.rules.ExternalResource if build with
--enable-cephfs-java and --with-debug. Checking for junit4
isn't enough since junit4 has this class not before 4.7.

Added some m4 files to get some JAVA related macros. Changed
autogen.sh to work with local m4 files/macros.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-01-09 19:52:05 -08:00
Gary Lowell
f525534b5f autogen.sh: On some platforms, the m4 is created earlier. 2012-10-15 14:14:35 -07:00
Gary Lowell
d28ba52b5f autogen.sh: Create m4 directory for leveldb submodule. 2012-10-15 14:14:35 -07:00
Samuel Just
d9b130faf0 Added LevelDBStore
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2012-03-01 10:11:42 -08:00
Tommi Virtanen
9b0d577696 Use Google Test framework for unit tests.
Use ``make check`` to run the tests.

The src/gtest directory comes from ``svn export
http://googletest.googlecode.com/svn/tags/release-1.5.0 src/gtest``
and running "git add -f src/gtest".

gtest is licensed under the New BSD license, see src/gtest/COPYING.
For more on Google Test, see http://code.google.com/p/googletest/

Changed autogen.sh regenerate gtest automake files too. Make sure to
run ``./autogen.sh && ./configure`` after merging this commit, or
incremental builds may fail. The automake integration is inspired
heavily by the protobuf project, and may still be problematic.

Make git ignore files generated by gtest compilation.

Currently putting in just one new-style unit test, refactoring old
tests to fit will come in separate commits.

Note: if you are starting daemons, listening on TCP ports, using
multiple machines, mounting filesystems, etc, it's not a unit test
and does not belong in this setup. A framework for system/integration
tests will be provided later.
2011-01-10 15:19:45 -08:00
Colin Patrick McCabe
f015c9894a autogen.sh: check for pkg-config
To avoid seeing confusing errors later in the configure process, in
autogen.sh, check to make sure the pkg-config program is installed.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-11-05 11:34:11 -07:00
Sage Weil
a7769755c1 automake: some clean up 2010-05-18 08:01:23 -07:00
Sage Weil
6fd390d3af rados: build librados, libcrush using libtool
Finally?
2009-05-11 21:06:14 -07:00
Sage Weil
33c6a6b771 no more m4 dir 2008-07-11 12:04:59 -07:00
Sage Weil
57db9eba54 libcrushwrapper.so now builds, yay 2008-03-12 19:36:54 -07:00
Sage Weil
3c38bb6bdd getting closer to building swig stuff 2008-03-12 17:26:38 -07:00
Sage Weil
78532348f0 autogen.sh 2008-01-28 11:54:53 -08:00