2008-05-18 20:19:18 +02:00
|
|
|
AC_INIT([sugar-toolkit],[0.79.7],[],[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
|
|
|
|
|
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-02-06 10:20:33 +01:00
|
|
|
PKG_CHECK_MODULES(EXT, pygtk-2.0 gtk+-2.0)
|
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-02-06 10:20:33 +01:00
|
|
|
ALL_LINGUAS=""
|
2006-07-05 17:00:11 +02:00
|
|
|
GETTEXT_PACKAGE=sugar
|
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/clipboard/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
|
|
|
])
|