diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index df4008a59..6fe16b1df 100644 --- a/configure.ac +++ b/configure.ac @@ -2018,7 +2018,7 @@ then fi AST_EXT_TOOL_CHECK([GMIME], [gmime-config], [], [], [#include <gmime/gmime.h>], [gboolean q = g_mime_check_version(0,0,0);]) -if test "x${PBX_GMIME}" = "x0"; then +if test "x${PBX_GMIME}" = "x0" -a "${PKGCONFIG}" != "No"; then # Later versions of GMime use pkg-config for ver in 2.0 2.2 2.4; do if ! ${PKGCONFIG} --exists gmime-$ver; then @@ -2172,7 +2172,7 @@ fi AC_SUBST(PBX_LAUNCHD) PBX_GTK2=0 -if test ! "x${PKGCONFIG}" = xNo; then +if test "${PKGCONFIG}" != "No"; then GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags 2>/dev/null) GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs) PBX_GTK2=1 |