diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2011-04-16 15:04:30 -0700 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-04-16 15:06:47 -0700 |
commit | fe524741da78ee7d2de10982cd9ba56bd96ce160 (patch) | |
tree | 8436e4cf506e57f1fb841cde0fdd1313b96ea485 /configure.ac | |
parent | bccb1c25a5ad354571eb042a778ffb36f7342241 (diff) | |
download | caribou-fe524741da78ee7d2de10982cd9ba56bd96ce160.tar.gz |
Added an introspectable C library for simulating kb events.
We will use this library more extensively later for layout changes,
and different XKB ops.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 977e08f..366da21 100644 --- a/configure.ac +++ b/configure.ac @@ -6,27 +6,45 @@ AC_INIT([caribou], AC_CONFIG_MACRO_DIR([m4]) +AM_PROG_LIBTOOL + AM_INIT_AUTOMAKE([1.11]) AM_MAINTAINER_MODE([enable]) # Support silent build rules. Disable by either passing --disable-silent-rules # to configure or passing V=1 to make AM_SILENT_RULES([yes]) + +AM_PATH_GLIB_2_0(2.27.5,,,gobject) +if test "$GLIB_LIBS" = ""; then + AC_MSG_ERROR(GLIB 2.27.5 or later is required to build libcaribou) +fi + dnl == check for python == AM_PATH_PYTHON(2.4) dnl == Library dependencies == PYGOBJECT_REQUIRED=2.27.92 -GTK_REQUIRED=2.91.8 +GTK_REQUIRED=3.0.0 CLUTTER_REQUIRED=1.5.11 +GDK_REQUIRED=3.0.0 PKG_CHECK_MODULES(CARIBOU, [ pygobject-2.0 >= $PYGOBJECT_REQUIRED, gtk+-3.0 >= $GTK_REQUIRED, - clutter-1.0 >= $CLUTTER_REQUIRED]) + clutter-1.0 >= $CLUTTER_REQUIRED + ]) AC_SUBST(CARIBOU_CFLAGS) AC_SUBST(CARIBOU_LIBS) +PKG_CHECK_MODULES(LIBCARIBOU, [ + gdk-3.0 >= $GDK_REQUIRED, + xtst, + x11 + ]) +AC_SUBST(LIBCARIBOU_CFLAGS) +AC_SUBST(LIBCARIBOU_LIBS) + dnl == i18n == GETTEXT_PACKAGE=caribou AC_SUBST(GETTEXT_PACKAGE) @@ -41,6 +59,9 @@ IT_PROG_INTLTOOL([0.35.0]) dnl == Documentation == GNOME_DOC_INIT +dnl == GObject introspection == +GOBJECT_INTROSPECTION_CHECK([0.10.7]) + dnl == generate makefiles == AC_OUTPUT([ Makefile @@ -53,4 +74,5 @@ bin/Makefile bin/caribou data/Makefile data/keyboards/Makefile +libcaribou/Makefile ]) |