mirror of
https://github.com/ceph/ceph
synced 2024-12-12 22:46:21 +00:00
f015c9894a
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>
22 lines
361 B
Bash
Executable File
22 lines
361 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
|
|
exit
|