2006-12-19 23:05:23 +01:00
|
|
|
AC_INIT([Sugar],[0.61],[],[sugar])
|
2006-04-26 06:18:21 +02:00
|
|
|
|
|
|
|
AC_PREREQ([2.59])
|
|
|
|
|
2006-08-21 21:28:16 +02:00
|
|
|
GNOME_COMMON_INIT
|
2006-08-25 14:03:48 +02:00
|
|
|
GNOME_COMPILE_WARNINGS
|
2006-08-21 21:28:16 +02:00
|
|
|
|
2006-08-21 15:59:40 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2006-04-26 06:18:21 +02:00
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_CONFIG_SRCDIR([configure.ac])
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
|
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(PYGTK, pygtk-2.0)
|
2006-10-12 12:47:17 +02:00
|
|
|
PKG_CHECK_MODULES(LIB, gtk+-2.0 xulrunner-gtkmozembed)
|
|
|
|
|
|
|
|
MOZILLA_HOME="`$PKG_CONFIG --variable=libdir xulrunner-gtkmozembed`"
|
|
|
|
AC_SUBST(MOZILLA_HOME)
|
2006-09-27 14:45:55 +02:00
|
|
|
|
2006-10-24 17:22:32 +02:00
|
|
|
MOZILLA_INCLUDE_DIR="`$PKG_CONFIG --variable=includedir xulrunner-gtkmozembed`"
|
|
|
|
AC_SUBST(MOZILLA_INCLUDE_DIR)
|
|
|
|
|
2006-09-27 14:45:55 +02:00
|
|
|
GNOMEPYTHONEXTRAS_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
|
|
|
|
AC_SUBST(GNOMEPYTHONEXTRAS_DEFSDIR)
|
2006-08-25 11:19:27 +02:00
|
|
|
|
2006-10-12 15:49:11 +02:00
|
|
|
PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
|
|
|
|
AC_SUBST(PYGTK_DEFSDIR)
|
|
|
|
|
2006-07-05 17:00:11 +02:00
|
|
|
#
|
|
|
|
# Setup GETTEXT
|
|
|
|
#
|
2006-07-11 15:32:10 +02:00
|
|
|
ALL_LINGUAS="it ha ig yo"
|
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
|
2006-10-12 12:47:17 +02:00
|
|
|
lib/Makefile
|
2006-10-25 15:43:37 +02:00
|
|
|
lib/data/Makefile
|
2006-10-12 12:47:17 +02:00
|
|
|
lib/src/Makefile
|
|
|
|
lib/python/Makefile
|
|
|
|
lib/threadframe/Makefile
|
2006-09-15 13:54:16 +02:00
|
|
|
services/Makefile
|
2006-09-15 15:49:52 +02:00
|
|
|
services/presence/Makefile
|
2006-10-26 19:04:39 +02:00
|
|
|
services/nm/Makefile
|
2006-11-15 13:56:19 +01:00
|
|
|
services/clipboard/Makefile
|
2006-12-11 13:55:01 +01:00
|
|
|
services/datastore/Makefile
|
2006-06-21 20:23:18 +02:00
|
|
|
shell/Makefile
|
2006-07-19 17:49:34 +02:00
|
|
|
shell/data/Makefile
|
2006-09-15 13:23:21 +02:00
|
|
|
shell/view/Makefile
|
|
|
|
shell/view/home/Makefile
|
|
|
|
shell/view/frame/Makefile
|
2006-09-15 12:52:37 +02:00
|
|
|
shell/model/Makefile
|
2006-11-16 13:09:07 +01:00
|
|
|
shell/console/Makefile
|
|
|
|
shell/console/plugins/Makefile
|
|
|
|
shell/console/plugins/clean_size/Makefile
|
|
|
|
shell/console/plugins/cpu/Makefile
|
|
|
|
shell/console/plugins/dirty_size/Makefile
|
|
|
|
shell/console/plugins/memphis_init/Makefile
|
|
|
|
shell/console/procmem/Makefile
|
2006-05-12 08:32:03 +02:00
|
|
|
sugar/Makefile
|
|
|
|
sugar/__installed__.py
|
2006-06-21 22:05:52 +02:00
|
|
|
sugar/activity/Makefile
|
2006-05-12 08:32:03 +02:00
|
|
|
sugar/chat/Makefile
|
2006-05-22 03:31:57 +02:00
|
|
|
sugar/chat/sketchpad/Makefile
|
2006-11-15 13:56:19 +01:00
|
|
|
sugar/clipboard/Makefile
|
2006-10-02 01:50:43 +02:00
|
|
|
sugar/graphics/Makefile
|
2006-05-12 08:32:03 +02:00
|
|
|
sugar/p2p/Makefile
|
2006-06-13 00:31:26 +02:00
|
|
|
sugar/presence/Makefile
|
2006-12-11 13:55:01 +01:00
|
|
|
sugar/datastore/Makefile
|
2006-07-05 17:00:11 +02:00
|
|
|
po/Makefile.in
|
2006-08-04 15:54:28 +02:00
|
|
|
tools/Makefile
|
|
|
|
tools/sugar-setup-activity
|
2006-04-26 06:18:21 +02:00
|
|
|
])
|