sugar-toolkit-gtk3/configure.ac

124 lines
2.9 KiB
Plaintext
Raw Normal View History

2006-12-21 21:20:56 +01:00
AC_INIT([Sugar],[0.63],[],[sugar])
2006-04-26 06:18:21 +02:00
AC_PREREQ([2.59])
2006-08-21 21:28:16 +02:00
GNOME_COMMON_INIT
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
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)
PKG_CHECK_MODULES(PYCAIRO, pycairo)
PKG_CHECK_MODULES(LIB, gtk+-2.0)
PKG_CHECK_MODULES(SHELL, gtk+-2.0 gstreamer-0.10 gstreamer-plugins-base-0.10)
2007-01-23 22:13:03 +01:00
PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
AC_SUBST(PYGTK_DEFSDIR)
#
# Mozilla
#
AC_ARG_WITH(libxul_sdk,
AC_HELP_STRING([--with-libxul-sdk=DIR], [Path to libxul SDK]))
if test -d "$with_libxul_sdk"; then
# xulrunner 1.9
GECKO_CFLAGS="-I$with_libxul_sdk/sdk/include -DXPCOM_GLUE"
XPCOMGLUE_LIBS="-L$with_libxul_sdk/sdk/lib -lxpcomglue"
MOZILLA_INCLUDE_DIR="$with_libxul_sdk/include"
XPIDL="$with_libxul_sdk/sdk/bin/xpidl"
MOZILLA_IDL_DIR="$with_libxul_sdk/sdk/idl"
AC_SUBST(XPCOMGLUE_LIBS)
AC_SUBST(GECKO_CFLAGS)
AC_SUBST(MOZILLA_INCLUDE_DIR)
AC_SUBST(XPIDL)
AC_SUBST(MOZILLA_IDL_DIR)
else
AC_MSG_ERROR([Must specify the xulrunner sdk dir (--with-libxul-sdk)])
fi
2006-07-05 17:00:11 +02:00
#
# Setup GETTEXT
#
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
AC_CONFIG_FILES([bin/sugar], [chmod +x sugar])
2006-04-26 06:18:21 +02:00
AC_OUTPUT([
Makefile
bin/Makefile
data/Makefile
browser/Makefile
browser/components/Makefile
browser/components/sessionstore/Makefile
browser/components/browserhelper/Makefile
services/Makefile
2006-09-15 15:49:52 +02:00
services/presence/Makefile
services/clipboard/Makefile
2007-01-04 20:17:10 +01:00
shell/Makefile
shell/extensions/Makefile
2007-02-25 23:53:10 +01:00
shell/intro/Makefile
shell/hardware/Makefile
2007-01-04 20:17:10 +01:00
shell/view/Makefile
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
shell/view/home/Makefile
2007-01-04 20:17:10 +01:00
shell/model/Makefile
shell/model/devices/Makefile
2007-03-15 21:37:15 +01:00
shell/model/devices/network/Makefile
services/console/lib/Makefile
services/console/lib/procmem/Makefile
services/console/Makefile
services/console/interface/Makefile
services/console/interface/xo/Makefile
services/console/interface/memphis/plugins/clean_size/Makefile
services/console/interface/memphis/plugins/dirty_size/Makefile
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
services/console/interface/logviewer/Makefile
services/console/interface/terminal/Makefile
sugar/Makefile
sugar/activity/Makefile
sugar/browser/Makefile
sugar/clipboard/Makefile
sugar/graphics/Makefile
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-04-26 06:18:21 +02:00
])