summaryrefslogtreecommitdiff
path: root/configure.in
blob: 3aa489ccfc2a0e0a80b810e1f2be9d346072cc3f (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)

AC_INIT([gnome-icon-theme], [2.16.0.1],
        [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-icon-theme])
AC_CONFIG_SRCDIR(index.theme.in)

AM_INIT_AUTOMAKE([1.9 tar-ustar])

IT_PROG_INTLTOOL([0.35.0])
PKG_PROG_PKG_CONFIG([0.19])

GETTEXT_PACKAGE="${PACKAGE}"
AC_SUBST(GETTEXT_PACKAGE)

AM_GLIB_GNU_GETTEXT

# AM_GLIB_GNU_GETTEXT above subst. $DATADIRNAME
# this is the directory where the *.{mo,gmo} files are installed
localedir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(localedir)

# Workaround to make aclocal get the right flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")

# Define the toplevel path here
AC_SUBST(themedir, "\${datadir}/icons/gnome")

UTILS_REQUIRED=0.8.1

AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED])
PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED,
                 have_utils=yes, have_utils=no)
if test "x$have_utils" = "xyes"; then
   UTILS_PATH="`$PKG_CONFIG --variable=program_path icon-naming-utils`"
   ICONMAP="$UTILS_PATH/icon-name-mapping"
   AC_SUBST(ICONMAP)
   AC_MSG_RESULT([yes])
else
   AC_MSG_RESULT([no])
   AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build
                 and install gnome-icon-theme])
fi

AC_CONFIG_FILES([
Makefile
gnome-icon-theme.pc
8x8/Makefile
16x16/Makefile
22x22/Makefile
24x24/Makefile
32x32/Makefile
48x48/Makefile
scalable/Makefile
8x8/emblems/Makefile
16x16/actions/Makefile
16x16/animations/Makefile
16x16/apps/Makefile
16x16/categories/Makefile
16x16/devices/Makefile
16x16/emblems/Makefile
16x16/filesystems/Makefile
16x16/mimetypes/Makefile
16x16/places/Makefile
16x16/status/Makefile
16x16/stock/Makefile
16x16/stock/chart/Makefile
16x16/stock/code/Makefile
16x16/stock/data/Makefile
16x16/stock/document/Makefile
16x16/stock/emoticons/Makefile
16x16/stock/form/Makefile
16x16/stock/generic/Makefile
16x16/stock/image/Makefile
16x16/stock/io/Makefile
16x16/stock/media/Makefile
16x16/stock/navigation/Makefile
16x16/stock/net/Makefile
16x16/stock/object/Makefile
16x16/stock/table/Makefile
16x16/stock/text/Makefile
22x22/actions/Makefile
22x22/animations/Makefile
22x22/apps/Makefile
22x22/categories/Makefile
22x22/devices/Makefile
22x22/emblems/Makefile
22x22/mimetypes/Makefile
22x22/places/Makefile
22x22/status/Makefile
24x24/actions/Makefile
24x24/animations/Makefile
24x24/apps/Makefile
24x24/categories/Makefile
24x24/devices/Makefile
24x24/emblems/Makefile
24x24/filesystems/Makefile
24x24/mimetypes/Makefile
24x24/places/Makefile
24x24/status/Makefile
24x24/stock/Makefile
24x24/stock/chart/Makefile
24x24/stock/code/Makefile
24x24/stock/data/Makefile
24x24/stock/document/Makefile
24x24/stock/form/Makefile
24x24/stock/generic/Makefile
24x24/stock/image/Makefile
24x24/stock/io/Makefile
24x24/stock/media/Makefile
24x24/stock/navigation/Makefile
24x24/stock/net/Makefile
24x24/stock/object/Makefile
24x24/stock/table/Makefile
24x24/stock/text/Makefile
32x32/actions/Makefile
32x32/animations/Makefile
32x32/apps/Makefile
32x32/categories/Makefile
32x32/devices/Makefile
32x32/emblems/Makefile
32x32/mimetypes/Makefile
32x32/places/Makefile
32x32/status/Makefile
48x48/actions/Makefile
48x48/animations/Makefile
48x48/apps/Makefile
48x48/categories/Makefile
48x48/devices/Makefile
48x48/emblems/Makefile
48x48/filesystems/Makefile
48x48/stock/Makefile
48x48/stock/code/Makefile
48x48/stock/data/Makefile
48x48/stock/document/Makefile
48x48/stock/generic/Makefile
48x48/stock/io/Makefile
48x48/stock/net/Makefile
scalable/actions/Makefile
scalable/apps/Makefile
scalable/categories/Makefile
scalable/devices/Makefile
scalable/emblems/Makefile
scalable/mimetypes/Makefile
scalable/places/Makefile
scalable/status/Makefile
scalable/stock/Makefile
scalable/stock/generic/Makefile
po/Makefile.in
])

AC_OUTPUT