~sil2100/nux/revert_640

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2012-08-08 12:58:24 UTC
  • Revision ID: lukasz.zemczak@canonical.com-20120808125824-12o0md3gbv5jrawm
Reverting revision 640, as it was causing many serious regressions. The direct cause seems to be libgeis, not the nux changes themselves - but this is the easiest way of resolving the problem. This code can be re-added once geis is fixed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# The number format is : year/month/day
23
23
# e.g.: december 5th, 2011 is: 20111205
24
24
# To make more than one API change in a day, add a number to the date. Like 20111205.xx
25
 
m4_define([nux_abi_version], [20120801.01])
 
25
m4_define([nux_abi_version], [20120725.01])
26
26
 
27
27
m4_define([nux_version],
28
28
          [nux_major_version.nux_minor_version.nux_micro_version])
155
155
                  xxf86vm
156
156
                  sigc++-2.0
157
157
                              xinerama
 
158
                  libgeis
158
159
                  )
159
160
AC_SUBST(NUX_GRAPHICS_CFLAGS)
160
161
AC_SUBST(NUX_GRAPHICS_LIBS)
192
193
AC_SUBST(IBUS_CFLAGS)
193
194
AC_SUBST(IBUS_LIBS)
194
195
 
195
 
dnl *********************************************************
196
 
dnl Enable/disable gestures (geis, from Open Input Framework)
197
 
dnl *********************************************************
198
 
 
199
 
GEIS_PKGS="libgeis"
200
 
AC_ARG_ENABLE(gestures,
201
 
              AC_HELP_STRING(--disable-gestures, Disables multitouch gestures support (default: auto-detect)),
202
 
              [],
203
 
              [enable_gestures=auto])
204
 
 
205
 
 
206
 
# Check for geis as an optional dependency
207
 
AS_IF([test "x$enable_gestures" = "xauto"],
208
 
      [
209
 
        PKG_CHECK_MODULES(GEIS,
210
 
                          [libgeis >= 2.2.10],
211
 
                          [have_geis=yes],
212
 
                          [have_geis=no])
213
 
      ])
214
 
 
215
 
 
216
 
AS_IF([test "x$enable_gestures" = "xyes"],
217
 
      [
218
 
        PKG_CHECK_MODULES(GEIS,
219
 
                          [libgeis >= 2.2.10],
220
 
                          [have_geis=yes],
221
 
                          [
222
 
                            AC_MSG_ERROR([libgeis not found!])
223
 
                            have_geis=no
224
 
                          ])
225
 
      ])
226
 
 
227
 
AS_IF([test "x$enable_gestures" = "xno"],
228
 
      [have_geis=no])
229
 
 
230
 
AS_IF([test "x$have_geis" = "xyes"],
231
 
      [
232
 
        NUX_GESTURES_SUPPORT="NUX_GESTURES_SUPPORT"
233
 
        AM_CONDITIONAL(HAVE_GEIS, true)
234
 
      ],
235
 
      [
236
 
        NUX_GESTURES_SUPPORT="NUX_NO_GESTURES_SUPPORT"
237
 
        AM_CONDITIONAL(HAVE_GEIS, false)
238
 
        GEIS_PKGS=""
239
 
      ])
240
 
 
241
 
AC_SUBST(NUX_GESTURES_SUPPORT)
242
 
 
243
 
AC_SUBST(GEIS_CFLAGS)
244
 
AC_SUBST(GEIS_LIBS)
245
 
AC_SUBST(GEIS_PKGS)
246
196
 
247
197
dnl ************************************
248
198
dnl Enable/disable tests
387
337
  Nux/Makefile
388
338
  Nux/nux.pc
389
339
  Nux/ABI.h
390
 
  Nux/Features.h
391
340
  examples/Makefile
392
341
  tests/Makefile
393
342
  tools/Makefile
423
372
echo -e "        Build Examples     : ${BOLD_WHITE}${enable_examples}${RESET}"
424
373
echo -e "        Build Gpu Tests    : ${BOLD_WHITE}${enable_gputests}${RESET}"
425
374
echo -e "        Build Nux Tests    : ${BOLD_WHITE}${enable_tests}${RESET}"
426
 
echo -e "        Gestures support   : ${BOLD_WHITE}${have_geis}${RESET}"
427
375
echo ""
428
376
 
429
377
echo -e "${RESET}"