source: trunk/third/control-center/configure.in @ 21321

Revision 21321, 17.2 KB checked in by ghudson, 20 years ago (diff)
Merge with control-center 2.8.2.
Line 
1AC_INIT(control-center)
2
3AM_CONFIG_HEADER(config.h)
4AM_INIT_AUTOMAKE(control-center, 2.8.2)
5
6AM_MAINTAINER_MODE
7
8AC_PROG_INTLTOOL
9GNOME_COMPILE_WARNINGS
10
11AC_ISC_POSIX
12AC_PROG_CC
13AC_STDC_HEADERS
14AM_PROG_LIBTOOL
15
16
17m4_define(fontilus_version, 0.4)
18m4_define(gnomevfs_minver, 2.0.0)
19m4_define(fontconfig_minver, 1.0.0)
20m4_define(xft_minver, 2.0.0)
21m4_define(gtk_minver, 2.0.0)
22m4_define(libbonobo_minver, 2.0.0)
23m4_define(libgnomeui_minver, 2.1.90)
24
25changequote(,)dnl
26if test "x$GCC" = "xyes"; then
27  case " $CFLAGS " in
28  *[\ \ ]-Wall[\ \      ]*) ;;
29  *) CFLAGS="$CFLAGS -Wall" ;;
30  esac
31fi
32changequote([,])dnl
33
34# Internationalization support
35ALL_LINGUAS="af am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko lt lv mk ml mn ms nb nl nn no nso pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sv ta th tr uk vi wa zh_CN zh_TW zu"
36
37GETTEXT_PACKAGE=control-center-2.0
38AC_SUBST(GETTEXT_PACKAGE)
39AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
40
41AM_GLIB_GNU_GETTEXT
42
43AC_CHECK_FUNCS(usleep)
44AC_CHECK_FUNCS(putenv)
45AC_CHECK_FUNCS(setenv)
46
47AC_PATH_XTRA
48x_libs="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
49
50AC_CHECK_FUNC(XScreenSaverQueryInfo, [
51  TYPING_BREAK="typing-break"],[
52  AC_MSG_CHECKING([for XScreenSaverQueryInfo in -lXss])
53  save_LDFLAGS=$LDFLAGS
54  save_LIBS=$LIBS
55  LIBS="$LIBS $X_PRE_LIBS $X_LIBS -lXss -lXext -lX11"
56  AC_TRY_LINK([#include <X11/Xlib.h>
57#include <X11/extensions/scrnsaver.h>],[
58XScreenSaverQueryInfo(NULL, 0, NULL);],[
59  AC_MSG_RESULT(yes)
60  TYPING_BREAK="typing-break"
61  SCREENSAVER_LIBS="$X_PRE_LIBS $X_LIBS -lXss -lXext -lX11"],[
62  AC_MSG_RESULT(no)])
63  LIBS=$save_LIBS
64  LDFLAGS=$save_LDFLAGS])
65AC_SUBST(TYPING_BREAK)
66AC_SUBST(SCREENSAVER_LIBS)
67
68dnl keyboard-properties-capplet
69savecppflags=$CPPFLAGS
70CPPFLAGS="$CPPFLAGS $X_CFLAGS"
71AC_CHECK_HEADERS([X11/Xlib.h])
72AC_CHECK_HEADERS([X11/extensions/xf86misc.h], [XF86MISC_LIBS="-lXxf86misc"],[],
73[#if HAVE_X11_XLIB_H
74#include <X11/Xlib.h>
75#endif
76])
77AC_SUBST(XF86MISC_LIBS)
78AC_CHECK_HEADERS(X11/extensions/XKB.h)
79CPPFLAGS=$savecppflags
80
81
82dnl ==============================================
83dnl Check that we meet the  dependencies
84dnl ==============================================
85
86COMMON_MODULES="gtk+-2.0 >= 2.3.0 gconf-2.0 libgnomeui-2.0 >= 2.2.0 libglade-2.0 >= 1.99.12 libbonobo-2.0 libbonoboui-2.0 libglade-2.0 gconf-2.0 gnome-desktop-2.0 >= 2.2.0"
87PKG_CHECK_MODULES(CAPPLET, $COMMON_MODULES)
88PKG_CHECK_MODULES(GNOMECC, $COMMON_MODULES libxml-2.0 gnome-desktop-2.0 gnome-vfs-2.0)
89PKG_CHECK_MODULES(GNOME_SETTINGS_DAEMON, gtk+-2.0 gconf-2.0 libgnomeui-2.0 esound gnome-desktop-2.0 libglade-2.0)
90PKG_CHECK_MODULES(OLD_CAPPLET, libgnomeui-2.0 libglade-2.0)
91PKG_CHECK_MODULES(GNOME, libgnomeui-2.0)
92PKG_CHECK_MODULES(GTK, gtk+-2.0)
93PKG_CHECK_MODULES(VFS_CAPPLET, $COMMON_MODULES gnome-vfs-module-2.0 gnome-vfs-2.0)
94PKG_CHECK_MODULES(GNOME_DESKTOP, gnome-desktop-2.0)
95PKG_CHECK_MODULES(SOUND_CAPPLET, esound)
96PKG_CHECK_MODULES(METACITY, libmetacity-private)
97PKG_CHECK_MODULES(LIBXKLAVIER, libxklavier >= 1.02,,
98    AC_MSG_ERROR([Upcoming releases of gnome-control-center will depend on libxklavier.
99The latest release is available from http://prdownloads.sourceforge.net/gswitchit], 1))
100
101dnl
102dnl Check for Xft version 2; we build in extra functionality to the font capplet
103dnl when we have it.
104dnl
105xft_modules=
106if $PKG_CONFIG --exists xft ; then
107  xft_modules="xft"
108  AC_DEFINE(HAVE_XFT2,,[Build Xft functionality to the font capplet])
109fi
110
111PKG_CHECK_MODULES(FONT_CAPPLET, $COMMON_MODULES $xft_modules)
112
113PKG_CHECK_MODULES(AT_CAPPLET, $COMMON_MODULES)
114                               
115dnl
116dnl Check for XRandR, needed for display capplet
117dnl             
118       
119have_randr=no
120AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
121  [AC_CHECK_HEADER(X11/extensions/Xrandr.h,
122     have_randr=yes
123     RANDR_LIBS="-lXrandr -lXrender"
124     AC_DEFINE(HAVE_RANDR, 1, Have the Xrandr extension library),
125          :, [#include <X11/Xlib.h>])], : ,
126       -lXrandr -lXrender $x_libs)
127AM_CONDITIONAL(HAVE_RANDR, [test $have_randr = yes])
128       
129PKG_CHECK_MODULES(DISPLAY_CAPPLET, $COMMON_MODULES)
130
131DISPLAY_CAPPLET_LIBS="$DISPLAY_CAPPLET_LIBS $RANDR_LIBS"
132
133CAPPLET_LIBS="$CAPPLET_LIBS $x_libs"
134GNOMECC_LIBS="$GNOMECC_LIBS $x_libs"
135GNOME_SETTINGS_DAEMON_LIBS="$GNOME_SETTINGS_DAEMON_LIBS $x_libs"
136
137AC_PATH_PROG(GCONFTOOL, gconftool-2)
138
139dnl
140dnl Check for XCursor support.  If it exists, then we compile the
141dnl mouse capplet with support for it turned on
142dnl
143have_xcursor=no
144AC_CHECK_HEADER(X11/Xcursor/Xcursor.h, have_xcursor=yes
145                                       AC_DEFINE(HAVE_XCURSOR, 1, Have the Xcursor extension),
146                                       :, [#include <X11/Xlib.h>])
147AM_CONDITIONAL(HAVE_XCURSOR, [test $have_xcursor=yes])
148
149dnl
150dnl Check for gtk+ with multihead support
151dnl
152AC_MSG_CHECKING([for gtk+ multihead support])
153if $PKG_CONFIG --atleast-version 2.1.0 gtk+-2.0; then
154   AC_DEFINE(HAVE_GTK_MULTIHEAD,,[gtk+ with multihead support found])
155   AC_MSG_RESULT(yes)
156else
157   AC_MSG_RESULT(no)
158fi
159
160dnl ==============
161dnl gswitchit
162dnl ==============
163dnl Make sure the new cvs virtual include has been checked out
164AC_MSG_CHECKING([for inclusion of libgswitchit])
165if test ! -d "$srcdir/libgswitchit"; then
166    AC_MSG_RESULT(no)
167    AC_MSG_ERROR([Your checkout of gnome-control-center is out of date.
168    The 'libgswitchit' module has been virtually included into
169    gnome-control-center by CVS as a subdirectory.  Please check
170    out again (this can be done on top of your existing checkout])
171else
172   AC_MSG_RESULT(yes)
173fi
174AM_CONDITIONAL(INCLUDE_GSWITCHIT_DEVEL, false)  dnl pull devel from applet
175
176dnl ==============================================
177dnl themus and fontilust dependencies
178dnl ==============================================
179
180AC_ARG_ENABLE(vfs-methods, [  --disable-vfs-methods        Do not build the fonts:/// and themes:/// uri schemes],, enable_vfs_methods=yes)
181
182if test x$enable_vfs_methods = xyes; then
183
184  PKG_CHECK_MODULES(THEME_METHOD, gnome-vfs-module-2.0 >= 2.2.0 gnome-vfs-2.0 >= 2.2.0)
185  PKG_CHECK_MODULES(THEMUS_THUMBNAILER, gdk-2.0 >= 2.2.0 libgnomeui-2.0 >= 2.2.0 libmetacity-private gnome-vfs-2.0 >= 2.2.0)
186  PKG_CHECK_MODULES(THEMUS_COMPONENT, glib-2.0 >= 2.2.0 gtk+-2.0 >= 2.2.0 atk >= 1.2.0 libgnome-2.0 >= 2.2.0 libgnomeui-2.0 >= 2.2.0 gnome-vfs-2.0 >= 2.2.0 libbonobo-2.0 >= 2.2.0 libbonoboui-2.0 >= 2.2.0 libnautilus >= 2.2.0 libglade-2.0)
187  PKG_CHECK_MODULES(FONT_METHOD,  [gnome-vfs-module-2.0 >= gnomevfs_minver  fontconfig >= fontconfig_minver])
188  PKG_CHECK_MODULES(FONT_THUMBNAILER, [gnome-vfs-2.0 >= gnomevfs_minver gdk-pixbuf-2.0 >= gtk_minver])
189  PKG_CHECK_MODULES(FONT_CONTEXT_MENU, [gnome-vfs-2.0 >= gnomevfs_minver libbonobo-2.0 >= libbonobo_minver])
190  PKG_CHECK_MODULES(FONT_VIEW, [gnome-vfs-2.0 >= gnomevfs_minver  xft >= xft_minver gtk+-2.0 >= gtk_minver libgnomeui-2.0 >= libgnomeui_minver])
191
192  # Add freetype flags to the thumbnailer script
193  AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
194  if test "x$FREETYPE_CONFIG" = xno; then
195      AC_MSG_ERROR([Could not find freetype-config script])
196  fi
197  FONT_THUMBNAILER_CFLAGS="$FONT_THUMBNAILER_CFLAGS `$FREETYPE_CONFIG --cflags`"
198  FONT_THUMBNAILER_LIBS="$FONT_THUMBNAILER_LIBS `$FREETYPE_CONFIG --libs`"
199
200  THEMUS=themus
201  FONTILUS=fontilus
202
203  AC_SUBST(THEME_METHOD_CFLAGS)
204  AC_SUBST(THEME_METHOD_LIBS)
205  AC_SUBST(THEMUS_THUMBNAILER_CFLAGS)
206  AC_SUBST(THEMUS_THUMBNAILER_LIBS)
207  AC_SUBST(THEMUS_COMPONENT_CFLAGS)
208  AC_SUBST(THEMUS_COMPONENT_LIBS)
209  AC_SUBST(THEMUS)
210  AC_SUBST(FONT_THUMBNAILER_CFLAGS)
211  AC_SUBST(FONT_THUMBNAILER_LIBS)
212  AC_SUBST(FONT_VIEW_CFLAGS)
213  AC_SUBST(FONT_VIEW_LIBS)
214  AC_SUBST(FONT_METHOD_CFLAGS)
215  AC_SUBST(FONT_METHOD_LIBS)
216  AC_SUBST(FONT_METHOD_CFLAGS)
217  AC_SUBST(FONT_METHOD_LIBS)
218  AC_SUBST(FONT_CONTEXT_MENU_CFLAGS)
219  AC_SUBST(FONT_CONTEXT_MENU_LIBS)
220  AC_SUBST(FONTILUS)
221
222  # update LIBS for $export_dynamic
223  if test -n "$export_dynamic"; then
224    FONT_VIEW_LIBS=`echo $FONT_VIEW_LIBS | sed -e "s/$export_dynamic//"`
225  fi
226
227  if test -n "$export_dynamic"; then
228    FONT_CONTEXT_MENU_LIBS=`echo $CONTEXT_MENU_LIBS | sed -e "s/$export_dynamic//"`
229  fi
230
231  if test -n "$export_dynamic"; then
232    FONT_THUMBNAILER_LIBS=`echo FONT_$THUMBNAILER_LIBS | sed -e "s/$export_dynamic//"`
233  fi
234
235  if test -n "$export_dynamic"; then
236    FONT_METHOD_LIBS=`echo $FONT_METHOD_LIBS | sed -e "s/$export_dynamic//"`
237  fi
238  GLIB_DEFINE_LOCALEDIR(FONTILUS_LOCALEDIR)
239fi
240
241dnl ==============================================
242dnl End: Check that we meet the  dependencies
243dnl ==============================================
244
245dnl ==============================================
246dnl IDL settings
247dnl ==============================================
248
249# orbit-idl
250ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
251AC_SUBST(ORBIT_IDL)
252
253# idl directories
254LIBBONOBO_IDL_DIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
255AC_SUBST(LIBBONOBO_IDL_DIR)
256BONOBO_ACTIVATION_IDL_DIR="`$PKG_CONFIG --variable=idldir bonobo-activation-2.0`"
257AC_SUBST(BONOBO_ACTIVATION_IDL_DIR)
258
259# check for nautilus
260PKG_CHECK_MODULES(NAUTILUS, libnautilus)
261AC_SUBST(NAUTILUS_LIBS)
262AC_SUBST(NAUTILUS_CFLAGS)
263
264# esd
265ESDSERVERDIR=`$PKG_CONFIG --variable=esd_serverdir esound`
266if test x"$ESDSERVERDIR" = x; then
267   ESD_SERVER="esd"
268else
269   ESD_SERVER="$ESDSERVERDIR/esd"
270fi
271AC_SUBST(ESD_SERVER)
272
273AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no)
274
275if test x"$GDK_PIXBUF_CSOURCE" = xno; then
276  AC_PATH_PROG(GDK_PIXBUF_CSOURCE_32, gdk-pixbuf-csource-32, no)
277  if test x"$GDK_PIXBUF_CSOURCE_32" = xno; then
278    AC_MSG_ERROR([gdk-pixbuf-csource executable not found in your path - should be installed with GTK])
279  else
280    GDK_PIXBUF_CSOURCE=$GDK_PIXBUF_CSOURCE_32
281  fi
282fi
283 
284AC_SUBST(GDK_PIXBUF_CSOURCE)
285
286AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)
287
288if test x"$GLIB_GENMARSHAL" = xno; then
289  AC_MSG_ERROR([glib-genmarshal executable not found in your path - should be installed with glib])
290fi
291
292AC_SUBST(GLIB_GENMARSHAL)
293
294dnl ==============================================
295dnl Special GConf section
296dnl ==============================================
297
298AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
299
300if test x"$GCONFTOOL" = xno; then
301  AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
302fi
303
304AM_GCONF_SOURCE_2
305
306dnl ==============================================
307dnl OSS section
308dnl ==============================================
309have_oss=no
310AC_TRY_COMPILE([
311        #ifdef __NetBSD__
312        #include <sys/param.h>
313        #include <sys/sysctl.h>
314        #include <soundcard.h>
315        #else
316        #include <sys/soundcard.h>
317        #endif
318        ],[
319        int arg = SNDCTL_DSP_SETFRAGMENT;
320        ],[
321        have_oss=yes
322])
323AC_MSG_CHECKING(for OSS audio support)
324AC_MSG_RESULT($have_oss)
325AM_CONDITIONAL(HAVE_OSS, test x"$have_oss" = "xyes")
326
327dnl ==============================================
328dnl ALSA section
329dnl ==============================================
330have_alsa=no
331AC_ARG_ENABLE(alsa,
332       AC_HELP_STRING([--disable-alsa],[Turn off support for ALSA version 0.9 or higher]),
333       [case "${enableval}" in
334               yes) WANT_ALSA=yes ;;
335               no)  WANT_ALSA=no ;;
336               *) AC_MSG_ERROR(bad value ${enableval} for --enable-alsa) ;;
337       esac],
338       [WANT_ALSA=yes]) dnl Default value
339
340if test x$WANT_ALSA = xyes ; then
341       PKG_CHECK_MODULES(ALSA, alsa >= 0.9.0,
342               have_alsa=yes,
343               AC_MSG_RESULT(*** All of ALSA dependent parts will be disabled ***))
344else
345       have_alsa=no
346fi
347
348AM_CONDITIONAL(HAVE_ALSA, test x"$have_alsa" = "xyes")
349AC_SUBST(ALSA_LIBS)
350AC_SUBST(ALSA_CFLAGS)
351
352dnl ==============================================
353dnl GStreamer section
354dnl ==============================================
355AC_ARG_ENABLE(gstreamer,
356AC_HELP_STRING([--enable-gstreamer],[use gstreamer, if available]),
357[case "${enableval}" in
358 yes) ENABLE_GSTREAMER=yes ;;
359 no)  ENABLE_GSTREAMER=no ;;
360 *) AC_MSG_ERROR(bad value ${enableval} for --enable-gstreamer) ;;
361esac],
362[ENABLE_GSTREAMER=yes]) dnl Default value
363
364if test "x$ENABLE_GSTREAMER" = "xyes"; then
365   have_gstreamer=no
366   PKG_CHECK_MODULES(GST, gstreamer-interfaces-0.8 >= 0.8.0,
367                   have_gstreamer=yes,
368                   AC_MSG_RESULT(*** All of GStreamer dependent parts will be disabled ***))
369else
370   have_gstreamer=disabled
371   AC_MSG_RESULT(*** GStreamer has been explicitly disabled ***)
372fi
373AM_CONDITIONAL(HAVE_GSTREAMER, test x"$have_gstreamer" = "xyes")
374AC_SUBST(GST_LIBS)
375AC_SUBST(GST_CFLAGS)
376
377dnl ==============================================
378dnl FB Level section
379dnl ==============================================
380have_fb=no
381AC_TRY_COMPILE([
382        #include <linux/fb.h>
383        #include <linux/pmu.h>
384        ],[
385        int arg = 0;
386        ],[
387        have_fb=yes
388])
389AC_MSG_CHECKING(for Brightness control support)
390AC_MSG_RESULT($have_fb)
391AM_CONDITIONAL(HAVE_FB, test x"$have_fb" = "xyes")
392
393dnl ==============================================
394dnl Define the main variables
395dnl ==============================================
396COMMON_CFLAGS="-I\$(top_srcdir)/capplets/common"
397COMMON_LIBS="\$(top_builddir)/capplets/common/libcommon.la"
398
399EXTRA_CFLAGS="-I\$(top_srcdir)/ -DG_LOG_DOMAIN=\"\\\"\$(cappletname)-properties\\\"\" -DGNOMELOCALEDIR=\"\\\"${prefix}/${DATADIRNAME}/locale\\\"\""
400
401GNOMECC_CAPPLETS_CFLAGS="${COMMON_CFLAGS} ${CAPPLET_CFLAGS} ${EXTRA_CFLAGS}"
402GNOMECC_CAPPLETS_LIBS="${COMMON_LIBS} ${CAPPLET_LIBS}"
403
404GNOMECC_CAPPLETS_CLEANFILES="\$(desktop) \$(desktop).in"
405GNOMECC_CAPPLETS_EXTRA_DIST="ChangeLog \$(desktop).in.in \$(cappletname)-capplet.png \$(cappletname)-properties.glade \$(pixmaps_DATA)"
406
407AC_SUBST(GNOMECC_CAPPLETS_EXTRA_DIST)
408AC_SUBST(GNOMECC_CAPPLETS_CLEANFILES)
409AC_SUBST(GNOMECC_CAPPLETS_CFLAGS)
410AC_SUBST(GNOMECC_CAPPLETS_LIBS)
411
412AC_SUBST(GTK_CFLAGS)
413AC_SUBST(GTK_LIBS)
414
415AC_SUBST(GNOME_CFLAGS)
416AC_SUBST(GNOME_LIBS)
417
418AC_SUBST(GNOME_SETTINGS_DAEMON_CFLAGS)
419AC_SUBST(GNOME_SETTINGS_DAEMON_LIBS)
420
421AC_SUBST(VFS_CAPPLET_CFLAGS)
422AC_SUBST(VFS_CAPPLET_LIBS)
423
424AC_SUBST(SOUND_CAPPLET_CFLAGS)
425AC_SUBST(SOUND_CAPPLET_LIBS)
426
427AC_SUBST(FONT_CAPPLET_CFLAGS)
428AC_SUBST(FONT_CAPPLET_LIBS)
429
430AC_SUBST(AT_CAPPLET_CFLAGS)
431AC_SUBST(AT_CAPPLET_LIBS)
432
433AC_SUBST(DISPLAY_CAPPLET_CFLAGS)
434AC_SUBST(DISPLAY_CAPPLET_LIBS)
435
436AC_SUBST(GNOMECC_CFLAGS)
437AC_SUBST(GNOMECC_LIBS)
438
439AC_SUBST(GNOME_DESKTOP_CFLAGS)
440AC_SUBST(GNOME_DESKTOP_LIBS)
441
442AC_SUBST(METACITY_CFLAGS)
443AC_SUBST(METACITY_LIBS)
444
445AC_SUBST(LIBXKLAVIER_CFLAGS)
446AC_SUBST(LIBXKLAVIER_LIBS)
447
448dnl ==============================================
449dnl End: Define the main variables
450dnl ==============================================
451
452GCONF_CONFIG_SOURCE=
453AC_ARG_ENABLE(gconf-source, [  --enable-gconf-source=sourceaddress      Where to install schema files.],GCONF_CONFIG_SOURCE=$enable_gconf_source,)
454
455if test "x$GCONF_CONFIG_SOURCE" = "x"; then
456        GCONF_CONFIG_SOURCE="xml::\${DESTDIR}\${sysconfdir}/gconf/gconf.xml.defaults"
457fi
458
459AC_SUBST(GCONF_CONFIG_SOURCE)
460AC_SUBST(INSTALL_GCONF_CONFIG_SOURCE)
461
462
463ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
464AC_SUBST(ORBIT_IDL)
465
466LIBBONOBO_IDL_DIR="`$PKG_CONFIG --variable=idldir libbonobo-2.0`"
467AC_SUBST(LIBBONOBO_IDL_DIR)
468
469BONOBO_ACTIVATION_IDL_DIR="`$PKG_CONFIG --variable=idldir bonobo-activation-2.0`"
470AC_SUBST(BONOBO_ACTIVATION_IDL_DIR)
471
472
473dnl ==============================================
474dnl Define the directories
475dnl ==============================================
476if test "x${prefix}" = "xNONE"; then
477  real_prefix=${ac_default_prefix}
478else
479  real_prefix=${prefix}
480fi
481
482AC_DEFINE_UNQUOTED(GNOMECC_DATA_DIR, "${real_prefix}/share/${GETTEXT_PACKAGE}",[Path to gnomecc data files])
483AC_DEFINE_UNQUOTED(PREFIX, "$prefix", [install prefix])
484GNOMECC_ICONS_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/icons'
485AC_SUBST(GNOMECC_ICONS_DIR)
486GNOMECC_DESKTOP_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/capplets'
487AC_SUBST(GNOMECC_DESKTOP_DIR)
488GNOMECC_GLADE_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/interfaces'
489AC_SUBST(GNOMECC_GLADE_DIR)
490GNOMECC_PIXMAPS_DIR='$(datadir)/'${GETTEXT_PACKAGE}'/pixmaps'
491AC_SUBST(GNOMECC_PIXMAPS_DIR)
492dnl ==============================================
493dnl End: Define the directories
494dnl ==============================================
495
496dnl =======================================
497dnl Variables for config_archiverConf.sh.in
498dnl =======================================
499CONFIG_ARCHIVER_LIBDIR='-L${libdir}'
500CONFIG_ARCHIVER_LIBS="$CONFIG_ARCHIVER_LIBS -lconfig_archiver"
501CONFIG_ARCHIVER_INCLUDEDIR="$CONFIG_ARCHIVER_CFLAGS -I${includedir}"
502
503AC_SUBST(CONFIG_ARCHIVER_LIBDIR)
504AC_SUBST(CONFIG_ARCHIVER_LIBS)
505AC_SUBST(CONFIG_ARCHIVER_INCLUDEDIR)
506dnl =======================================
507dnl End: Variables for config_archiverConf.sh.in
508dnl =======================================
509
510AC_OUTPUT([
511Makefile
512po/Makefile.in
513idl/Makefile
514gnome-settings-daemon/Makefile
515gnome-settings-daemon/xrdb/Makefile
516gnome-settings-daemon/actions/Makefile
517control-center/Makefile
518control-center/GNOME_ControlCenter.server
519libbackground/Makefile
520libwindow-settings/Makefile
521libwindow-settings/gnome-window-settings-2.0.pc
522libgswitchit/Makefile
523libkbdraw/Makefile
524capplets/Makefile
525capplets/common/Makefile
526capplets/default-applications/Makefile
527capplets/background/Makefile
528capplets/desktop-links/Makefile
529capplets/display/Makefile
530capplets/font/Makefile
531capplets/keybindings/Makefile
532capplets/keyboard/Makefile
533capplets/mouse/Makefile
534capplets/sound/Makefile
535capplets/theme-switcher/Makefile
536capplets/ui-properties/Makefile
537capplets/accessibility/Makefile
538capplets/accessibility/keyboard/Makefile
539capplets/accessibility/at-properties/Makefile
540capplets/network/Makefile
541capplets/windows/Makefile
542typing-break/Makefile
543schemas/Makefile
544libsounds/Makefile
545vfs-methods/Makefile
546vfs-methods/themus/Makefile
547vfs-methods/fontilus/Makefile
548control-center.spec
549])
550dnl due to a bug in intltool we need to expand something from the root last control-center.spec
Note: See TracBrowser for help on using the repository browser.