summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorokin Alexei <[email protected]>2015-12-12 16:49:22 +0300
committerSorokin Alexei <[email protected]>2015-12-12 16:49:22 +0300
commit3d34cc10a5e62686f661a6653d43e2c42e6a26a2 (patch)
treea056d2240c398161f3d286396d78792594746baf
parenta5e837c4d101bdbebe1dd6ca5140ed52d7a29a50 (diff)
downloadeom-3d34cc10a5e62686f661a6653d43e2c42e6a26a2.tar.bz2
eom-3d34cc10a5e62686f661a6653d43e2c42e6a26a2.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 9b829d0..b3d398f 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 cc999e2..f1b92f7 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