From 85ebf71a809eb9abdfae779bda89c88f6f0f319f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 8 Sep 2008 00:09:28 +0200 Subject: add/usr/local/lib/pkgconfig to PKG_CONFIG_PATH automatically if it makes sense --- skype/configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'skype') diff --git a/skype/configure.ac b/skype/configure.ac index 29856fb4..95441c80 100644 --- a/skype/configure.ac +++ b/skype/configure.ac @@ -29,6 +29,10 @@ AC_SUBST(SHARED_EXT) dnl Check for bitlbee AC_MSG_CHECKING(for BitlBee) +if test -d /usr/local/lib/pkgconfig; then + PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig + export PKG_CONFIG_PATH +fi pkg-config --exists bitlbee if test "$?" != "0"; then AC_MSG_RESULT(no) -- cgit v1.2.3