1
0
mirror of https://github.com/ceph/ceph synced 2024-12-20 18:33:44 +00:00
ceph/autogen.sh
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

23 lines
407 B
Bash
Executable File

#!/bin/sh
check_for_pkg_config() {
which pkg-config >/dev/null && return
echo
echo "Error: could not find pkg-config"
echo
echo "Please make sure you have pkg-config installed."
echo
exit 1
}
rm -f config.cache
aclocal -I m4 --install
check_for_pkg_config
libtoolize --force --copy
autoconf
autoheader
automake -a --add-missing -Wall
( cd src/gtest && autoreconf -fvi; )
exit