2009-08-25 19:14:37 +02:00
AC_INIT([sugar-toolkit],[0.85.4],[],[sugar-toolkit])
2006-04-26 06:18:21 +02:00
AC_PREREQ([2.59])
2006-08-21 15:59:40 +02:00
AC_CONFIG_MACRO_DIR([m4])
2006-04-26 06:18:21 +02:00
AC_CONFIG_SRCDIR([configure.ac])
AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
2006-08-21 15:59:40 +02:00
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
2008-08-12 01:53:28 +02:00
GNOME_COMPILE_WARNINGS(maximum)
2006-10-16 18:19:44 +02:00
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
2006-04-26 06:18:21 +02:00
AM_PATH_PYTHON
2006-08-21 15:59:40 +02:00
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
2006-04-26 06:18:21 +02:00
2006-08-25 11:19:27 +02:00
AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
2008-09-13 13:45:47 +02:00
PKG_CHECK_MODULES(EXT, pygtk-2.0 gtk+-2.0 sm ice alsa)
2007-01-23 22:13:03 +01:00
2007-01-23 22:35:59 +01:00
PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
AC_SUBST(PYGTK_DEFSDIR)
2006-07-05 17:00:11 +02:00
# Setup GETTEXT
#
2008-08-07 17:16:58 +02:00
ALL_LINGUAS="af am ar ay bg bn bn_IN ca de dz el en es fa fa_AF ff fr gu ha hi ht ig is it ja km ko mk ml mn mr mvo nb ne nl pa pap pis pl ps pt pt_BR qu ro ru rw sd si sl te th tpi tr ur vi yo zh_CN zh_TW"
2008-06-23 20:21:58 +02:00
GETTEXT_PACKAGE=sugar-toolkit
2006-10-13 21:56:27 +02:00
AC_PROG_INTLTOOL([0.33])
2006-07-05 17:00:11 +02:00
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
2006-04-26 06:18:21 +02:00
AC_OUTPUT([
Makefile
2008-04-29 14:58:34 +02:00
src/Makefile
src/sugar/Makefile
src/sugar/activity/Makefile
src/sugar/bundle/Makefile
src/sugar/graphics/Makefile
src/sugar/presence/Makefile
src/sugar/datastore/Makefile
2006-07-05 17:00:11 +02:00
po/Makefile.in
2006-04-26 06:18:21 +02:00
])