build: fix gobject-introspection detection

so that HAVE_INTROSPECTION is properly defined
This commit is contained in:
Jiří Klimeš 2014-06-20 13:02:15 +02:00
parent aaf0ef42dd
commit 142e2c4726

View file

@ -267,7 +267,7 @@ AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
GOBJECT_INTROSPECTION_CHECK([0.9.6])
if test -z "$INTROSPECTION_MAKEFILE"; then
if test -n "$INTROSPECTION_MAKEFILE"; then
AC_DEFINE(HAVE_INTROSPECTION, [1], [Define if you have gobject-introspection])
fi