configure: Clarify pkg-config warning now that Makefile does not invoke pkg-config.

It's probably a bit more work to use this configure script without
pkg-config, but it's at least possible, (and we could make it even
easier if this becomes an important use case).
This commit is contained in:
Carl Worth 2009-12-01 18:13:43 -08:00
parent a4d3f07e51
commit c621465dd7

14
configure vendored
View file

@ -115,17 +115,17 @@ package names may be different, (such as "devel" in place of "dev").
EOF EOF
if [ $have_pkg_config -eq 0 ]; then if [ $have_pkg_config -eq 0 ]; then
cat <<EOF cat <<EOF
Note: the pkg-config program is not available. Both this configure Note: the pkg-config program is not available. This configure script
script and the Makefile of notmuch use pkg-config to find the uses pkg-config to find the compilation flags required to link against
compilation flags required to link against the various libraries the various libraries needed by notmuch. It's possible you simply need
needed by notmuch. It's possible you simply need to install pkg-config to install pkg-config with a command such as:
with a command such as:
sudo apt-get install pkg-config sudo apt-get install pkg-config
But if pkg-config is not available for your system, then you will need But if pkg-config is not available for your system, then you will need
to manually edit the notmuch Makefile to set the variables such as to modify the configure script to manually set the cflags and ldflags
CFLAGS and LDFLAGS to the correct values without calling pkg-config. variables to the correct values to link against each library in each
case that pkg-config could not be used to determine those values.
EOF EOF
fi fi