]> git.notmuchmail.org Git - notmuch/commitdiff
configure: Clarify pkg-config warning now that Makefile does not invoke pkg-config.
authorCarl Worth <cworth@cworth.org>
Wed, 2 Dec 2009 02:13:43 +0000 (18:13 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 2 Dec 2009 02:13:43 +0000 (18:13 -0800)
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).

configure

index 92b6710fdef8ff020954e9e01709fca1efb23ee0..65411956f0ebd35c8a5958f6aa685c9af0247586 100755 (executable)
--- a/configure
+++ b/configure
@@ -115,17 +115,17 @@ package names may be different, (such as "devel" in place of "dev").
 EOF
     if [ $have_pkg_config -eq 0 ]; then
 cat <<EOF
-Note: the pkg-config program is not available. Both this configure
-script and the Makefile of notmuch use pkg-config to find the
-compilation flags required to link against the various libraries
-needed by notmuch. It's possible you simply need to install pkg-config
-with a command such as:
+Note: the pkg-config program is not available. This configure script
+uses pkg-config to find the compilation flags required to link against
+the various libraries needed by notmuch. It's possible you simply need
+to install pkg-config with a command such as:
 
        sudo apt-get install pkg-config
 
 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
-CFLAGS and LDFLAGS to the correct values without calling pkg-config.
+to modify the configure script to manually set the cflags and ldflags
+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
     fi