Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/configure.in
blob: 3116ae757fc1b112ae5d7d0166a425ce565d5b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
AC_INIT(art)

AM_CONFIG_HEADER(config.h)

AM_INIT_AUTOMAKE(olpc-artwork, 0.22)

# Honor aclocal flags
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"

AM_MAINTAINER_MODE

AM_DISABLE_STATIC
	
AC_PROG_CC
AC_HEADER_STDC
AC_PROG_LIBTOOL
AC_PROG_INTLTOOL

PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0,,
	          AC_MSG_ERROR([GTK+-2.0 is required to compile redhat-artwork]))

GDK_PIXBUF2_CFLAGS=`$PKG_CONFIG --cflags gdk-pixbuf-2.0`
GDK_PIXBUF2_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
AC_SUBST(GDK_PIXBUF2_CFLAGS)
AC_SUBST(GDK_PIXBUF2_LIBS)

PKG_CHECK_MODULES(ENGINE, gtk+-2.0 >= 2.0 gobject-2.0 >= 2.0 cairo >= 0.1.1)

dnl ===========================================================================
dnl Use lots of warning flags with GCC

WARN_CFLAGS=""
if test "x$GCC" = "xyes"; then
	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
	-Wmissing-prototypes -Wmissing-declarations \
	-Wnested-externs -fno-strict-aliasing"
fi
AC_SUBST(WARN_CFLAGS)
dnl ===========================================================================

AM_GLIB_GNU_GETTEXT
	
AC_OUTPUT([
Makefile
art/Makefile
art/cursor/Makefile
art/cursor/cursorthemegen/Makefile
art/cursor/Bluecurve/Makefile
art/icon-theme/Makefile
art/icon-theme/16x16/Makefile
art/icon-theme/16x16/stock/Makefile
art/icon-theme/16x16/stock/emoticons/Makefile
art/icon-theme/scalable/Makefile
art/icon-theme/scalable/activities/Makefile
art/icon-theme/scalable/stock/Makefile
gtk-engine/Makefile
gtk-engine/src/Makefile
gtk-engine/theme/Makefile
matchbox/Makefile
po/Makefile.in
])