2008-10-31 00:22:44 -04:00
|
|
|
AC_INIT(gnome-shell, 0.0.1)
|
|
|
|
|
|
|
|
AC_CONFIG_AUX_DIR(config)
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
|
|
|
AC_CONFIG_HEADERS(config.h)
|
|
|
|
|
2008-11-12 16:35:17 -05:00
|
|
|
AC_DISABLE_STATIC
|
2008-10-31 00:22:44 -04:00
|
|
|
AC_PROG_CC
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
|
|
|
GETTEXT_PACKAGE=gnome-shell
|
|
|
|
AC_SUBST(GETTEXT_PACKAGE)
|
|
|
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
|
|
|
[The prefix for our gettext translation domains.])
|
|
|
|
|
2008-11-07 13:42:23 -05:00
|
|
|
PKG_CHECK_MODULES(MUTTER_PLUGIN, gtk+-2.0 metacity-plugins gjs-gi-1.0)
|
2008-11-14 16:26:00 -05:00
|
|
|
PKG_CHECK_MODULES(TIDY, clutter-0.8)
|
2008-12-01 18:01:52 -05:00
|
|
|
PKG_CHECK_MODULES(BIG, clutter-cairo-0.8 gtk+-2.0 librsvg-2.0)
|
2008-11-14 12:21:56 -05:00
|
|
|
PKG_CHECK_MODULES(TRAY, gtk+-2.0)
|
|
|
|
|
|
|
|
# Sets GLIB_GENMARSHAL and GLIB_MKENUMS
|
|
|
|
AM_PATH_GLIB_2_0()
|
2008-11-14 16:25:58 -05:00
|
|
|
G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
|
|
|
|
AC_SUBST(G_IR_SCANNER)
|
|
|
|
G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
|
|
|
|
AC_SUBST(G_IR_COMPILER)
|
|
|
|
G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
|
|
|
|
AC_SUBST(G_IR_GENERATE)
|
|
|
|
GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
|
|
|
|
AC_SUBST(GIRDIR)
|
|
|
|
TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
|
|
|
|
AC_SUBST(TYPELIBDIR)
|
2008-10-31 00:22:44 -04:00
|
|
|
|
|
|
|
changequote(,)dnl
|
|
|
|
if test "x$GCC" = "xyes"; then
|
|
|
|
case " $CFLAGS " in
|
|
|
|
*[\ \ ]-Wall[\ \ ]*) ;;
|
|
|
|
*) CFLAGS="$CFLAGS -Wall" ;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
case " $OBJCFLAGS " in
|
|
|
|
*[\ \ ]-Wall[\ \ ]*) ;;
|
|
|
|
*) OBJCFLAGS="$OBJCFLAGS -Wall" ;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
changequote([,])dnl
|
|
|
|
|
2008-11-14 16:25:58 -05:00
|
|
|
AC_PATH_PROG(metacity, [metacity])
|
|
|
|
AC_SUBST(metacity)
|
|
|
|
|
2008-10-31 00:22:44 -04:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
|
|
|
src/Makefile
|
|
|
|
])
|