Bug 666424: Don't use GLIB_CONFIG if if has the value 'no'. r=khuey

This commit is contained in:
Joey Armstrong 2011-06-30 09:16:21 -07:00
parent f53a61be9d
commit 1b81109eda

View File

@ -8451,7 +8451,10 @@ if test -z "${GLIB_CFLAGS}" -o -z "${GLIB_LIBS}" ; then
fi
fi
if test -z "${GLIB_GMODULE_LIBS}" -a -n "${GLIB_CONFIG}"; then
if test -z "${GLIB_GMODULE_LIBS}" \
-a -n "${GLIB_CONFIG}"\
-a "${GLIB_CONFIG}" != no\
; then
GLIB_GMODULE_LIBS=`$GLIB_CONFIG gmodule --libs`
fi