AC_INIT([Sugar],[0.63],[],[sugar]) AC_PREREQ([2.59]) GNOME_COMMON_INIT GNOME_COMPILE_WARNINGS AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([configure.ac]) AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip]) AM_MAINTAINER_MODE AC_DISABLE_STATIC AC_PROG_LIBTOOL AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal]) AM_PATH_PYTHON AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no) PKG_CHECK_MODULES(PYGTK, pygtk-2.0) PKG_CHECK_MODULES(LIB, gtk+-2.0 xulrunner-gtkmozembed gstreamer-0.10 gstreamer-plugins-base-0.10) MOZILLA_HOME="`$PKG_CONFIG --variable=libdir xulrunner-gtkmozembed`" AC_SUBST(MOZILLA_HOME) MOZILLA_INCLUDE_DIR="`$PKG_CONFIG --variable=includedir xulrunner-gtkmozembed`" AC_SUBST(MOZILLA_INCLUDE_DIR) GNOMEPYTHONEXTRAS_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` AC_SUBST(GNOMEPYTHONEXTRAS_DEFSDIR) PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` AC_SUBST(PYGTK_DEFSDIR) PKG_CHECK_MODULES(PYCAIRO, pycairo) # # Setup GETTEXT # ALL_LINGUAS="it ha ig yo" GETTEXT_PACKAGE=sugar AC_PROG_INTLTOOL([0.33]) AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) AM_GLIB_GNU_GETTEXT AC_OUTPUT([ Makefile lib/Makefile lib/data/Makefile lib/src/Makefile lib/python/Makefile lib/threadframe/Makefile services/Makefile services/presence/Makefile services/nm/Makefile services/clipboard/Makefile services/datastore/Makefile shell/Makefile shell/data/Makefile shell/view/Makefile shell/view/home/Makefile shell/view/frame/Makefile shell/model/Makefile shell/console/lib/Makefile shell/console/lib/procmem/Makefile shell/console/Makefile shell/console/interface/Makefile shell/console/interface/xo/Makefile shell/console/interface/memphis/plugins/clean_size/Makefile shell/console/interface/memphis/plugins/dirty_size/Makefile shell/console/interface/memphis/plugins/Makefile shell/console/interface/memphis/plugins/memphis_init/Makefile shell/console/interface/memphis/plugins/cpu/Makefile shell/console/interface/memphis/Makefile shell/console/interface/logviewer/Makefile shell/console/interface/terminal/Makefile sugar/Makefile sugar/__installed__.py sugar/activity/Makefile sugar/chat/Makefile sugar/chat/sketchpad/Makefile sugar/clipboard/Makefile sugar/graphics/Makefile sugar/p2p/Makefile sugar/presence/Makefile sugar/datastore/Makefile po/Makefile.in tools/Makefile tools/sugar-setup-activity ])