summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorokin Alexei <[email protected]>2015-12-12 16:49:22 +0300
committerWolfgang Ulbrich <[email protected]>2015-12-12 16:31:31 +0100
commit47e9b0064b89332794f3e621c8a20ab1898b70c3 (patch)
tree1385746a36b4ddb7133b527673a22f956a406e33
parentf2778c8a2b3879faa04d75ea0904ee8d41fac44c (diff)
downloadeom-47e9b0064b89332794f3e621c8a20ab1898b70c3.tar.bz2
eom-47e9b0064b89332794f3e621c8a20ab1898b70c3.tar.xz
Fix compilation with enabled GObject Introspection
-rw-r--r--configure.ac2
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 98063f4..b24bda7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,8 @@ else
have_introspection=no
fi
+AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$have_introspection" = xyes)
+
# ***************
# ZLIB (required)
# ***************
diff --git a/src/main.c b/src/main.c
index a581e55..f4d24c9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -30,7 +30,7 @@
#include <dbus/dbus-glib-bindings.h>
#include <gdk/gdkx.h>
#endif
-#ifdef HAVE_INSTROSPECTION
+#ifdef HAVE_INTROSPECTION
#include <girepository.h>
#endif