File: configure.in

package info (click to toggle)
gnome-themes 2.22.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 11,344 kB
  • ctags: 28
  • sloc: sh: 8,736; xml: 4,649; makefile: 1,620; lisp: 13; ansic: 8
file content (244 lines) | stat: -rw-r--r-- 9,013 bytes parent folder | download
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
AC_PREREQ(2.53)

AC_INIT([gnome-themes], [2.22.2],
        [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-themes])
AC_CONFIG_SRCDIR([icon-themes])

AM_INIT_AUTOMAKE([1.9 tar-ustar])
AM_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE

dnl Honor aclocal flags
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
AC_SUBST(ACLOCAL_AMFLAGS)

IT_PROG_INTLTOOL([0.35.0])

AC_PROG_CC
# Checks for header files.
AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
# Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(setenv putenv)

AM_PROG_LIBTOOL

# theme engines
PKG_CHECK_MODULES(THEME_ENGINE,
 [gtk+-2.0 >= 2.0.0 dnl
  gdk-pixbuf-2.0 >= 2.0.0 dnl
  gtk-engines-2 >= 2.9.0 ])

GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
AC_SUBST(GTK_VERSION)

# icon-naming-utils
UTILS_REQUIRED=0.8.0
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`"
   case "$host" in
      *-*-solaris*) ICONMAP="icon-name-mapping" ;;
      *) ICONMAP="$UTILS_PATH/icon-name-mapping" ;;
   esac
   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-themes])
fi

# gettext stuff
GETTEXT_PACKAGE=gnome-themes
AC_SUBST(GETTEXT_PACKAGE)

AM_GLIB_GNU_GETTEXT

AC_ARG_ENABLE(all-themes,
 AC_HELP_STRING([--enable-all-themes],
     [Install all a11y theme sets, default is core a11y themes only]),,
 [enable_all_themes=no])
AM_CONDITIONAL(CORE_THEMES_ONLY, test "$enable_all_themes" = no)

### Icon sizes for all large print themes

LARGEPRINT_DND="48,48"
LARGEPRINT_MENU="32,32"
LARGEPRINT_PANEL_MENU="48,48"
LARGEPRINT_LARGE_TOOLBAR="48,48"
LARGEPRINT_SMALL_TOOLBAR="32,32"
LARGEPRINT_BUTTON="32,32"
LARGEPRINT_DIALOG="64,64"
LARGEPRINT_MINI_COMMANDER="24,24"

LARGEPRINT_ICON_SIZES="mini-commander-icon=$LARGEPRINT_MINI_COMMANDER:print-manager=$LARGEPRINT_DIALOG:panel-button=$LARGEPRINT_BUTTON:gtk-dnd=$LARGEPRINT_DND:gtk-menu=$LARGEPRINT_MENU:panel-menu=$LARGEPRINT_PANEL_MENU:gtk-large-toolbar=$LARGEPRINT_LARGE_TOOLBAR:gtk-small-toolbar=$LARGEPRINT_SMALL_TOOLBAR:gtk-button=$LARGEPRINT_BUTTON:gtk-dialog=$LARGEPRINT_DIALOG"

LARGEPRINT_FONT="sans 18"
LARGEPRINT_DOCUMENTS_FONT="sans 18"
LARGEPRINT_DESKTOP_FONT="sans 18"
LARGEPRINT_WINDOW_FONT="sans 18"
LARGEPRINT_MONOSPACE_FONT="monospace 18"


AC_SUBST(LARGEPRINT_ICON_SIZES)
AC_SUBST(LARGEPRINT_FONT)
AC_SUBST(LARGEPRINT_DOCUMENTS_FONT)
AC_SUBST(LARGEPRINT_DESKTOP_FONT)
AC_SUBST(LARGEPRINT_WINDOW_FONT)
AC_SUBST(LARGEPRINT_MONOSPACE_FONT)

dnl used to substitute in common sections of theme gtkrc files
gtk_stock_icons_rc=${srcdir}/common/gtk-stock-icons.rc
panel_stock_icons_rc=${srcdir}/common/panel-stock-icons.rc
media_stock_icons_rc=${srcdir}/common/media-stock-icons.rc
capplet_stock_icons_rc=${srcdir}/common/capplet-stock-icons.rc
metacity_stock_icons_rc=${srcdir}/common/metacity-stock-icons.rc
AC_SUBST_FILE(gtk_stock_icons_rc)
AC_SUBST_FILE(panel_stock_icons_rc)
AC_SUBST_FILE(media_stock_icons_rc)
AC_SUBST_FILE(capplet_stock_icons_rc)
AC_SUBST_FILE(metacity_stock_icons_rc)

AC_CONFIG_FILES([
Makefile
gnome-themes.spec
common/Makefile
desktop-themes/Makefile
desktop-themes/Crux/Makefile
desktop-themes/Clearlooks/Makefile
desktop-themes/Glider/Makefile
desktop-themes/Glossy/Makefile
desktop-themes/HighContrast/Makefile
desktop-themes/HighContrastInverse/Makefile
desktop-themes/HighContrastLargePrint/Makefile
desktop-themes/HighContrastLargePrint/index.theme.in
desktop-themes/HighContrastLargePrintInverse/Makefile
desktop-themes/HighContrastLargePrintInverse/index.theme.in
desktop-themes/LargePrint/Makefile
desktop-themes/LargePrint/index.theme.in
desktop-themes/LowContrast/Makefile
desktop-themes/LowContrastLargePrint/Makefile
desktop-themes/LowContrastLargePrint/index.theme.in
desktop-themes/Mist/Makefile
metacity-themes/Makefile
gtk-themes/Makefile
gtk-themes/Glider/Makefile
gtk-themes/Glossy/Makefile
gtk-themes/ClearlooksClassic/Makefile
gtk-themes/HighContrast/Makefile
gtk-themes/HighContrast/gtkrc
gtk-themes/HighContrastInverse/Makefile
gtk-themes/HighContrastInverse/gtkrc
gtk-themes/HighContrastLargePrint/Makefile
gtk-themes/HighContrastLargePrint/gtkrc
gtk-themes/HighContrastLargePrint/pixmaps/Makefile
gtk-themes/HighContrastLargePrintInverse/Makefile
gtk-themes/HighContrastLargePrintInverse/gtkrc
gtk-themes/HighContrastLargePrintInverse/pixmaps/Makefile
gtk-themes/Inverted/Makefile
gtk-themes/LargePrint/Makefile
gtk-themes/LargePrint/gtkrc
gtk-themes/LowContrast/Makefile
gtk-themes/LowContrast/gtkrc
gtk-themes/LowContrastLargePrint/Makefile
gtk-themes/LowContrastLargePrint/gtkrc
gtk-themes/LowContrastLargePrint/pixmaps/Makefile
gtk-themes/Simple/Makefile
icon-themes/Makefile
icon-themes/Crux/Makefile
icon-themes/Crux/16x16/Makefile
icon-themes/Crux/16x16/actions/Makefile
icon-themes/Crux/16x16/status/Makefile
icon-themes/Crux/16x16/places/Makefile
icon-themes/Crux/22x22/Makefile
icon-themes/Crux/22x22/actions/Makefile
icon-themes/Crux/22x22/status/Makefile
icon-themes/Crux/22x22/places/Makefile
icon-themes/Crux/24x24/Makefile
icon-themes/Crux/24x24/actions/Makefile
icon-themes/Crux/24x24/status/Makefile
icon-themes/Crux/24x24/places/Makefile
icon-themes/Crux/32x32/Makefile
icon-themes/Crux/32x32/actions/Makefile
icon-themes/Crux/32x32/status/Makefile
icon-themes/Crux/32x32/places/Makefile
icon-themes/Crux/scalable/Makefile
icon-themes/Crux/scalable/actions/Makefile
icon-themes/Crux/scalable/status/Makefile
icon-themes/Crux/scalable/places/Makefile
icon-themes/HighContrast/Makefile
icon-themes/HighContrastInverse/Makefile
icon-themes/HighContrastLargePrint/Makefile
icon-themes/HighContrastLargePrint/36x36/Makefile
icon-themes/HighContrastLargePrint/36x36/apps/Makefile
icon-themes/HighContrastLargePrint/48x48/Makefile
icon-themes/HighContrastLargePrint/48x48/apps/Makefile
icon-themes/HighContrastLargePrint/48x48/mimetypes/Makefile
icon-themes/HighContrastLargePrint/48x48/filesystems/Makefile
icon-themes/HighContrastLargePrint/48x48/devices/Makefile
icon-themes/HighContrastLargePrint/48x48/emblems/Makefile
icon-themes/HighContrastLargePrintInverse/Makefile
icon-themes/HighContrastLargePrintInverse/36x36/Makefile
icon-themes/HighContrastLargePrintInverse/36x36/apps/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/apps/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/devices/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/emblems/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/mimetypes/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/places/Makefile
icon-themes/HighContrastLargePrintInverse/48x48/status/Makefile
icon-themes/HighContrast-SVG/Makefile
icon-themes/HighContrast-SVG/48x48/Makefile
icon-themes/HighContrast-SVG/48x48/animations/Makefile
icon-themes/HighContrast-SVG/scalable/Makefile
icon-themes/HighContrast-SVG/scalable/actions/Makefile
icon-themes/HighContrast-SVG/scalable/apps/Makefile
icon-themes/HighContrast-SVG/scalable/categories/Makefile
icon-themes/HighContrast-SVG/scalable/devices/Makefile
icon-themes/HighContrast-SVG/scalable/emblems/Makefile
icon-themes/HighContrast-SVG/scalable/emotes/Makefile
icon-themes/HighContrast-SVG/scalable/mimetypes/Makefile
icon-themes/HighContrast-SVG/scalable/places/Makefile
icon-themes/HighContrast-SVG/scalable/status/Makefile
icon-themes/HighContrast-SVG/scalable/actions-extra/Makefile
icon-themes/HighContrast-SVG/scalable/apps-extra/Makefile
icon-themes/HighContrast-SVG/scalable/categories-extra/Makefile
icon-themes/HighContrast-SVG/scalable/devices-extra/Makefile
icon-themes/HighContrast-SVG/scalable/emblems-extra/Makefile
icon-themes/HighContrast-SVG/scalable/emotes-extra/Makefile
icon-themes/HighContrast-SVG/scalable/mimetypes-extra/Makefile
icon-themes/HighContrast-SVG/scalable/places-extra/Makefile
icon-themes/HighContrast-SVG/scalable/status-extra/Makefile
icon-themes/LargePrint/Makefile
icon-themes/Mist/Makefile
icon-themes/Mist/16x16/Makefile
icon-themes/Mist/16x16/actions/Makefile
icon-themes/Mist/16x16/status/Makefile
icon-themes/Mist/16x16/places/Makefile
icon-themes/Mist/22x22/Makefile
icon-themes/Mist/22x22/actions/Makefile
icon-themes/Mist/22x22/status/Makefile
icon-themes/Mist/22x22/places/Makefile
icon-themes/Mist/24x24/Makefile
icon-themes/Mist/24x24/actions/Makefile
icon-themes/Mist/24x24/status/Makefile
icon-themes/Mist/24x24/places/Makefile
icon-themes/Mist/32x32/Makefile
icon-themes/Mist/32x32/actions/Makefile
icon-themes/Mist/32x32/status/Makefile
icon-themes/Mist/32x32/places/Makefile
icon-themes/Mist/scalable/Makefile
icon-themes/Mist/scalable/actions/Makefile
icon-themes/Mist/scalable/status/Makefile
icon-themes/Mist/scalable/places/Makefile
po/Makefile.in
])

AC_OUTPUT