ceph/autogen.sh

24 lines
449 B
Bash
Raw Normal View History

2008-01-28 02:12:20 +00:00
#!/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
}
2008-01-28 02:12:20 +00:00
rm -f config.cache
2008-07-11 19:04:59 +00:00
aclocal #-I m4
check_for_pkg_config
libtoolize --force --copy
2008-01-28 02:12:20 +00:00
autoconf
autoheader
2010-05-18 15:01:03 +00:00
automake -a --add-missing -Wall
( cd src/gtest && autoreconf -fvi; )
( cd src/leveldb && mkdir m4 && autoreconf -fvi; )
2008-01-28 02:12:20 +00:00
exit