mirror of
https://github.com/ceph/ceph
synced 2024-12-21 10:54:42 +00:00
d9b130faf0
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
24 lines
437 B
Bash
Executable File
24 lines
437 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
|
|
check_for_pkg_config
|
|
libtoolize --force --copy
|
|
autoconf
|
|
autoheader
|
|
automake -a --add-missing -Wall
|
|
( cd src/gtest && autoreconf -fvi; )
|
|
( cd src/leveldb && autoreconf -fvi; )
|
|
exit
|