dovecot-2.0: configure: Use PKG_PROG_PKG_CONFIG to find pkg-conf...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 17 20:21:49 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/c1d8fb31c1ad
changeset: 12438:c1d8fb31c1ad
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 17 18:21:46 2010 +0000
description:
configure: Use PKG_PROG_PKG_CONFIG to find pkg-config binary.
diffstat:
configure.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r e7299f187938 -r c1d8fb31c1ad configure.in
--- a/configure.in Wed Nov 17 18:10:46 2010 +0000
+++ b/configure.in Wed Nov 17 18:21:46 2010 +0000
@@ -5,6 +5,7 @@
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
+PKG_PROG_PKG_CONFIG
ACLOCAL_AMFLAGS='-I $(top_srcdir)'
AC_SUBST(ACLOCAL_AMFLAGS)
@@ -1662,7 +1663,7 @@
have_ssl=no
if test $want_openssl != no && test $have_ssl = no; then
- if pkg-config --exists openssl 2>/dev/null; then
+ if test "$PKG_CONFIG" != "" && $PKG_CONFIG --exists openssl 2>/dev/null; then
PKG_CHECK_MODULES(SSL, openssl)
CFLAGS="$CFLAGS $SSL_CFLAGS"
have_openssl=yes
More information about the dovecot-cvs
mailing list