2007-06-20 12:05:17 +02:00
|
|
|
AC_INIT([Sugar],[0.65],[],[sugar])
|
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)
|
|
|
|
|
2007-06-14 21:49:29 +02:00
|
|
|
PKG_CHECK_MODULES(SHELL, pygtk-2.0 gtk+-2.0)
|
2007-01-23 22:35:59 +01:00
|
|
|
|
2007-06-29 13:15:36 +02:00
|
|
|
PKG_CHECK_MODULES(NATIVE_FACTORY, dbus-1)
|
|
|
|
|
2007-08-11 01:00:53 +02:00
|
|
|
PKG_CHECK_MODULES(LIBUI, gtk+-2.0)
|
|
|
|
PKG_CHECK_MODULES(LIBUI_BINDINGS, pygtk-2.0)
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(LIB_BINDINGS, pygobject-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
|
|
|
|
#
|
2007-07-29 12:43:48 +02:00
|
|
|
ALL_LINGUAS="ar el es fr ha ig it mk pl pt_BR 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
|
|
|
|
|
2007-08-13 23:57:05 +02:00
|
|
|
AC_ARG_ENABLE(update-mimedb,
|
|
|
|
AC_HELP_STRING([--disable-update-mimedb],
|
|
|
|
[disable the update-mime-database after install [default=no]]),,
|
|
|
|
enable_update_mimedb=yes)
|
|
|
|
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
|
|
|
|
|
2007-03-22 20:34:07 +01:00
|
|
|
AC_CONFIG_FILES([bin/sugar], [chmod +x sugar])
|
|
|
|
|
2006-04-26 06:18:21 +02:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
2007-03-22 20:34:07 +01:00
|
|
|
bin/Makefile
|
|
|
|
data/Makefile
|
2007-05-21 17:36:08 +02:00
|
|
|
lib/Makefile
|
2007-07-27 20:15:31 +02:00
|
|
|
lib/ui/Makefile
|
2006-09-15 13:54:16 +02:00
|
|
|
services/Makefile
|
2007-08-08 18:33:10 +02:00
|
|
|
services/shell/Makefile
|
2007-01-04 20:17:10 +01:00
|
|
|
shell/Makefile
|
2007-02-25 23:53:10 +01:00
|
|
|
shell/intro/Makefile
|
2007-02-25 01:07:05 +01:00
|
|
|
shell/hardware/Makefile
|
2007-01-04 20:17:10 +01:00
|
|
|
shell/view/Makefile
|
2007-02-20 11:48:03 +01:00
|
|
|
shell/view/devices/Makefile
|
2007-03-15 21:37:15 +01:00
|
|
|
shell/view/devices/network/Makefile
|
2007-01-04 20:17:10 +01:00
|
|
|
shell/view/frame/Makefile
|
2007-02-20 11:48:03 +01:00
|
|
|
shell/view/home/Makefile
|
2007-01-04 20:17:10 +01:00
|
|
|
shell/model/Makefile
|
2007-02-20 11:48:03 +01:00
|
|
|
shell/model/devices/Makefile
|
2007-03-15 21:37:15 +01:00
|
|
|
shell/model/devices/network/Makefile
|
2007-01-08 18:06:59 +01:00
|
|
|
services/console/lib/Makefile
|
2007-06-10 23:19:59 +02:00
|
|
|
services/console/lib/graphics/Makefile
|
2007-01-08 18:06:59 +01:00
|
|
|
services/console/lib/procmem/Makefile
|
2007-08-13 05:34:17 +02:00
|
|
|
services/console/lib/net/Makefile
|
2007-08-22 20:56:29 +02:00
|
|
|
services/console/lib/ui/Makefile
|
2007-01-08 18:06:59 +01:00
|
|
|
services/console/Makefile
|
|
|
|
services/console/interface/Makefile
|
|
|
|
services/console/interface/xo/Makefile
|
|
|
|
services/console/interface/memphis/plugins/clean_size/Makefile
|
2007-08-08 10:34:11 +02:00
|
|
|
services/console/interface/memphis/plugins/smaps/Makefile
|
2007-01-08 18:06:59 +01:00
|
|
|
services/console/interface/memphis/plugins/Makefile
|
|
|
|
services/console/interface/memphis/plugins/memphis_init/Makefile
|
|
|
|
services/console/interface/memphis/plugins/cpu/Makefile
|
|
|
|
services/console/interface/memphis/Makefile
|
2007-08-13 05:34:17 +02:00
|
|
|
services/console/interface/network/Makefile
|
2007-01-08 18:06:59 +01:00
|
|
|
services/console/interface/logviewer/Makefile
|
|
|
|
services/console/interface/terminal/Makefile
|
2006-05-12 08:32:03 +02:00
|
|
|
sugar/Makefile
|
2006-06-21 22:05:52 +02:00
|
|
|
sugar/activity/Makefile
|
2006-11-15 13:56:19 +01:00
|
|
|
sugar/clipboard/Makefile
|
2006-10-02 01:50:43 +02:00
|
|
|
sugar/graphics/Makefile
|
2007-05-23 11:55:21 +02:00
|
|
|
sugar/objects/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-04-26 06:18:21 +02:00
|
|
|
])
|