diff options
author | Ted Gould <ted@canonical.com> | 2009-01-16 16:34:04 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-16 16:34:04 -0600 |
commit | ba631e9419ab5ca3fe2971d50804649e4b23c3d5 (patch) | |
tree | 4384843fdc9b0a06687b26144c82cfd6632d79ae /configure.ac | |
parent | 09d01e604a2ab80a9a9c5d59a30021993adbf93b (diff) | |
parent | e3f1f4e35e606e7bcb01da73bfdf70720b9739f3 (diff) | |
download | libayatana-indicator-ba631e9419ab5ca3fe2971d50804649e4b23c3d5.tar.gz libayatana-indicator-ba631e9419ab5ca3fe2971d50804649e4b23c3d5.tar.bz2 libayatana-indicator-ba631e9419ab5ca3fe2971d50804649e4b23c3d5.zip |
Adding the GObject Introspection files into the build and the
packaging.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dc408e3..3ec1ed7 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,22 @@ PKG_CHECK_MODULES(LIBINDICATE, glib-2.0 >= $GLIB_REQUIRED_VERSION AC_SUBST(LIBINDICATE_CFLAGS) AC_SUBST(LIBINDICATE_LIBS) +# GObject Introspection + +PKG_CHECK_MODULES(GOBJECT_INTROSPECTION, [gobject-introspection-1.0 >= 0.6]) + +G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` +AC_SUBST(G_IR_SCANNER) +G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` +AC_SUBST(G_IR_COMPILER) +G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` +AC_SUBST(G_IR_GENERATE) + +GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` +AC_SUBST(GIRDIR) +TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" +AC_SUBST(TYPELIBDIR) + ########################### # Internationalization ########################### |