mirror of
https://github.com/ceph/ceph
synced 2024-12-21 02:42:48 +00:00
59aad34795
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>
24 lines
461 B
Bash
Executable File
24 lines
461 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; )
|
|
( cd src/leveldb && mkdir -p m4 && autoreconf -fvi; )
|
|
exit
|