~ubuntu-branches/ubuntu/trusty/xfce4-settings/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/xubuntu_improved-mouse-touchpad-dialog.patch/configure.ac

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-01-23 21:10:18 UTC
  • Revision ID: package-import@ubuntu.com-20120123211018-g3wszngv4plljt2p
Tags: 4.8.3-1ubuntu1
* debian/control: add xfce4-dev-tools, autoconf, automake and libtool
  to build-depends, needed for xdt-autogen, and exo-utils, needed for
  exo-csource.
* debian/rules: run xdt-autogen before configure, and clean up autogenerated
  files after build.
* debian/patches:
  - xubuntu_improved-mouse-touchpad-dialog.patch: added, backport the new
    pointing device dialog from master. lp: #818131
  - xubuntu_refreshed-translations.patch: added, new translations taken
    from master.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl
 
2
dnl This file was autogenerated from "configure.ac.in".
 
3
dnl Edit that file instead!
 
4
dnl
 
5
 
 
6
dnl
 
7
dnl Copyright (c) 2006 - 2009
 
8
dnl         The Xfce development team. All rights reserved.
 
9
dnl
 
10
dnl Originally written for Xfce by Benedikt Meurer <benny@xfce.org>
 
11
dnl Modified by Stephan Arts <stephan@xfce.org>
 
12
dnl
 
13
 
 
14
dnl ***************************
 
15
dnl *** Version information ***
 
16
dnl ***************************
 
17
m4_define([xfce4_settings_version_major], [4])
 
18
m4_define([xfce4_settings_version_minor], [8])
 
19
m4_define([xfce4_settings_version_micro], [3])
 
20
m4_define([xfce4_settings_version_nano], [])
 
21
m4_define([xfce4_settings_version_build], [0d5c2a8])
 
22
m4_define([xfce4_settings_version_tag], []) # Leave empty for releases
 
23
m4_define([xfce4_settings_version], [xfce4_settings_version_major().xfce4_settings_version_minor().xfce4_settings_version_micro()ifelse(xfce4_settings_version_nano(), [], [], [.xfce4_settings_version_nano()])ifelse(xfce4_settings_version_tag(), [git], [xfce4_settings_version_tag()-xfce4_settings_version_build()], [xfce4_settings_version_tag()])])
 
24
 
 
25
dnl *******************************************
 
26
dnl *** Debugging support for GIT snapshots ***
 
27
dnl *******************************************
 
28
m4_define([xfce4_settings_debug_default], [ifelse(xfce4_settings_version_tag(), [git], [full], [minimum])])
 
29
 
 
30
dnl ***************************
 
31
dnl *** Initialize autoconf ***
 
32
dnl ***************************
 
33
AC_COPYRIGHT([Copyright (c) 2008-2011
 
34
        The Xfce development team. All rights reserved.])
 
35
AC_INIT([xfce4-settings], [xfce4_settings_version], [http://bugzilla.xfce.org/])
 
36
AC_PREREQ([2.50])
 
37
AC_REVISION([0d5c2a8])
 
38
 
 
39
dnl ***************************
 
40
dnl *** Initialize automake ***
 
41
dnl ***************************
 
42
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar])
 
43
AM_CONFIG_HEADER([config.h])
 
44
AM_MAINTAINER_MODE()
 
45
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
46
 
 
47
dnl *******************************
 
48
dnl *** Check for UNIX variants ***
 
49
dnl *******************************
 
50
AC_AIX()
 
51
AC_ISC_POSIX()
 
52
AC_MINIX()
 
53
 
 
54
dnl ********************************
 
55
dnl *** Check for basic programs ***
 
56
dnl ********************************
 
57
AC_PROG_CC()
 
58
AM_PROG_CC_C_O
 
59
AC_PROG_LD()
 
60
AC_PROG_INSTALL()
 
61
AC_PROG_INTLTOOL([0.31], [no-xml])
 
62
 
 
63
dnl **************************
 
64
dnl *** Initialize libtool ***
 
65
dnl **************************
 
66
AC_PROG_LIBTOOL()
 
67
 
 
68
dnl **********************************
 
69
dnl *** Check for standard headers ***
 
70
dnl **********************************
 
71
AC_CHECK_HEADERS([errno.h memory.h math.h stdlib.h string.h unistd.h signal.h])
 
72
 
 
73
dnl ******************************
 
74
dnl *** Check for i18n support ***
 
75
dnl ******************************
 
76
XDT_I18N([ar ast bn ca cs da de el en_GB es eu fi fr gl he hr hu id is it ja kk ko lv nb nl pa pl pt_BR pt ro ru si sk sv te tr ug uk ur_PK ur zh_CN zh_TW ])
 
77
 
 
78
dnl ***********************************
 
79
dnl *** Check for required packages ***
 
80
dnl ***********************************
 
81
XDT_CHECK_PACKAGE([EXO], [exo-1], [0.6.0])
 
82
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0])
 
83
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.16.0])
 
84
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.8.0])
 
85
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
 
86
XDT_CHECK_PACKAGE([LIBXFCE4KBD_PRIVATE], [libxfce4kbd-private-2], [4.8.0])
 
87
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.8.0])
 
88
XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.34])
 
89
 
 
90
XDT_CHECK_PACKAGE([XI], [xi], [1.2.0], [],
 
91
[
 
92
  for dir in /usr/X11R6 /usr/X11 /opt/X11R6 /opt/X11; do
 
93
    test -z "$XI_CFLAGS" || break
 
94
    saved_CFLAGS="$CFLAGS"
 
95
    saved_LIBS="$LIBS"
 
96
    CFLAGS="$CFLAGS -I$dir/include"
 
97
    LIBS="$LIBS -L$dir/lib"
 
98
    AC_CHECK_LIB([Xi], [XListInputDevices],
 
99
    [
 
100
      XI_CFLAGS="-I$dir/include"
 
101
      XI_LIBS="-L$dir/lib -lXi"
 
102
      AC_SUBST(XI_CFLAGS)
 
103
      AC_SUBST(XI_LIBS)
 
104
    ])
 
105
    CFLAGS="$saved_CFLAGS"
 
106
    LIBS="$saved_LIBS"
 
107
  done
 
108
  if test -z "$XI_CFLAGS"; then
 
109
    echo "*** The required package Xi was not found on your system."
 
110
    echo "*** Please install Xi or adjust the PKG_CONFIG_PATH environment"
 
111
    echo "*** variable if you installed the package in a nonstandard"
 
112
    echo "*** prefix so that pkg-config is able to find it."
 
113
    exit 1
 
114
  fi
 
115
])
 
116
 
 
117
XDT_CHECK_PACKAGE([LIBX11], [x11], [1.0.0], [], [XDT_CHECK_LIBX11_REQUIRE])
 
118
XDT_CHECK_PACKAGE([INPUTPROTO], [inputproto], [1.4.0])
 
119
 
 
120
dnl ***********************************
 
121
dnl *** Optional support for Xrandr ***
 
122
dnl ***********************************
 
123
XDT_CHECK_OPTIONAL_PACKAGE([XRANDR], [xrandr], [1.2.0],
 
124
                           [xrandr], [Xrandr support])
 
125
 
 
126
dnl ***********************************
 
127
dnl *** Optional support for hwdata ***
 
128
dnl ***********************************
 
129
AC_ARG_WITH([pnp-ids-path],
 
130
            [AC_HELP_STRING([--with-pnp-ids-path],
 
131
                            [Specify the path to pnp.ids (default=\${datadir}/hwdata/pnp.ids)])],
 
132
            [with_pnp_ids_path=$withval],
 
133
            [with_pnp_ids_path="\${datadir}/hwdata/pnp.ids"])
 
134
PNP_IDS=$with_pnp_ids_path
 
135
AC_SUBST(PNP_IDS)
 
136
 
 
137
dnl **************************************
 
138
dnl *** Optional support for Libnotify ***
 
139
dnl **************************************
 
140
XDT_CHECK_OPTIONAL_PACKAGE([LIBNOTIFY], [libnotify], [0.1.3],
 
141
                           [libnotify], [Notification support])
 
142
 
 
143
dnl ************************************
 
144
dnl *** Optional support for Xcursor ***
 
145
dnl ************************************
 
146
XDT_CHECK_OPTIONAL_PACKAGE([XCURSOR], [xcursor], [1.1.0],
 
147
                           [xcursor], [Cursor themes support])
 
148
 
 
149
dnl ****************************************
 
150
dnl *** Optional support for Libxklavier ***
 
151
dnl ****************************************
 
152
XDT_CHECK_OPTIONAL_PACKAGE([LIBXKLAVIER], [libxklavier], [0.3.0],
 
153
                           [libxklavier], [Keyboard layout selection])
 
154
XDT_CHECK_OPTIONAL_PACKAGE([LIBXKLAVIER4], [libxklavier], [4.0],
 
155
                           [libxklavier], [Keyboard layout selection])
 
156
XDT_CHECK_OPTIONAL_PACKAGE([LIBXKLAVIER5], [libxklavier], [5.0],
 
157
                           [libxklavier], [Keyboard layout selection])
 
158
 
 
159
dnl ************************************
 
160
dnl *** Xsettings daemon is optional ***
 
161
dnl ************************************
 
162
AC_ARG_ENABLE([xsettings-daemon],
 
163
              [AC_HELP_STRING([--disable-xsettings-daemon],
 
164
                              [Build the XSETTINGS daemon (default=enabled)])],
 
165
              [build_xfsettingsd=$enableval],
 
166
              [build_xfsettingsd=yes])
 
167
AM_CONDITIONAL([BUILD_XFSETTINGSD], [test "x$build_xfsettingsd" = "xyes"])
 
168
 
 
169
dnl make pluggable settings dialogs optional
 
170
AC_ARG_ENABLE([pluggable-dialogs],
 
171
              [AC_HELP_STRING([--enable-pluggable-dialogs],
 
172
                              [Enable support for embedded settings dialogs (default=disabled)])],
 
173
              [enable_pluggable_dialogs=$enableval],
 
174
              [enable_pluggable_dialogs=no])
 
175
if test x"$enable_pluggable_dialogs" = x"yes"; then
 
176
  AC_DEFINE([ENABLE_PLUGGABLE_DIALOGS], [1], [Define to enable embedded settings dialogs])
 
177
  ENABLE_PLUGGABLE_DIALOGS=1
 
178
fi
 
179
AC_SUBST(ENABLE_PLUGGABLE_DIALOGS)
 
180
 
 
181
dnl ****************************************
 
182
dnl *** Optional support for Libcanberra ***
 
183
dnl ****************************************
 
184
 
 
185
dnl Camberra XSettings
 
186
AC_ARG_ENABLE([sound-settings],
 
187
              [AC_HELP_STRING([--enable-sound-settings],
 
188
                              [Enable sound XSETTINGS in GUI (from libcanberra) (default=no)])],
 
189
              [enable_sound_settings=$enableval],
 
190
              [enable_sound_settings=no])
 
191
if test x"$enable_sound_settings" = x"yes"; then
 
192
  AC_DEFINE([ENABLE_SOUND_SETTINGS], [1], [Define to enable sound control in UI])
 
193
  ENABLE_SOUND_SETTINGS=1
 
194
fi
 
195
AC_SUBST(ENABLE_SOUND_SETTINGS)
 
196
 
 
197
dnl ***********************************
 
198
dnl *** Check for debugging support ***
 
199
dnl ***********************************
 
200
XDT_FEATURE_DEBUG([xfce4_settings_debug_default])
 
201
 
 
202
dnl **************************************
 
203
dnl *** Check for linker optimizations ***
 
204
dnl **************************************
 
205
XDT_FEATURE_LINKER_OPTS()
 
206
 
 
207
dnl *********************************
 
208
dnl *** Substitute platform flags ***
 
209
dnl *********************************
 
210
AC_MSG_CHECKING([PLATFORM_CPPFLAGS])
 
211
AC_MSG_RESULT([$PLATFORM_CPPFLAGS])
 
212
AC_SUBST([PLATFORM_CPPFLAGS])
 
213
AC_MSG_CHECKING([PLATFORM_CFLAGS])
 
214
AC_MSG_RESULT([$PLATFORM_CFLAGS])
 
215
AC_SUBST([PLATFORM_CFLAGS])
 
216
AC_MSG_CHECKING([PLATFORM_LDFLAGS])
 
217
AC_MSG_RESULT([$PLATFORM_LDFLAGS])
 
218
AC_SUBST([PLATFORM_LDFLAGS])
 
219
 
 
220
AC_OUTPUT([
 
221
Makefile
 
222
po/Makefile.in
 
223
dialogs/Makefile
 
224
dialogs/appearance-settings/Makefile
 
225
dialogs/accessibility-settings/Makefile
 
226
dialogs/display-settings/Makefile
 
227
dialogs/keyboard-settings/Makefile
 
228
dialogs/mouse-settings/Makefile
 
229
xfce4-settings-helper/Makefile
 
230
xfce4-settings-manager/Makefile
 
231
xfce4-settings-editor/Makefile
 
232
xfsettingsd/Makefile
 
233
])
 
234
 
 
235
dnl ***************************
 
236
dnl *** Print configuration ***
 
237
dnl ***************************
 
238
echo
 
239
echo "Build Configuration:"
 
240
echo
 
241
echo "* Installation prefix:       $prefix"
 
242
echo "* Debug Support:             $enable_debug"
 
243
if test x"$XRANDR_FOUND" = x"yes"; then
 
244
echo "* Xrandr support:            yes"
 
245
else
 
246
echo "* Xrandr support:            no"
 
247
fi
 
248
if test x"$LIBNOTIFY_FOUND" = x"yes"; then
 
249
echo "* Libnotify support:         yes"
 
250
else
 
251
echo "* Libnotify support:         no"
 
252
fi
 
253
if test x"$XCURSOR_FOUND" = x"yes"; then
 
254
echo "* Xcursor support:           yes"
 
255
else
 
256
echo "* Xcursor support:           no"
 
257
fi
 
258
if test x"$ENABLE_PLUGGABLE_DIALOGS" = x"1"; then
 
259
echo "* Embedded settings dialogs  yes"
 
260
else
 
261
echo "* Embedded settings dialogs  no"
 
262
fi
 
263
if test x"$ENABLE_SOUND_SETTINGS" = x"1"; then
 
264
echo "* Sounds settings support    yes"
 
265
else
 
266
echo "* Sounds settings support    no"
 
267
fi
 
268
if test x"$LIBXKLAVIER_FOUND" = x"yes"; then
 
269
echo "* Libxklavier support:       yes"
 
270
else
 
271
echo "* Libxklavier support:       no"
 
272
fi
 
273
echo
 
274
 
 
275