~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-02-06 22:22:58 UTC
  • mfrom: (1.1.103)
  • Revision ID: package-import@ubuntu.com-20120206222258-28gah1dnl2ij0kw0
Tags: 1:3.3.5-0ubuntu1
* New upstream release.
  - Performance was improved in Iagno, Mahjongg & Mines
  - Statusbar was removed from Iagno and Mines
  - Mines has a new game screen
  - Quadrapassel was ported to Vala
  - Quadrapassel has a new option to show where block
    will land
* debian/control.in:
  - Bump vala to valac-0.16 and GTK to 3.3.11
  - Build-Depend on yelp-tools instead of gnome-doc-utils
* Update install files for new help install location
* debian/patches/01_lpi.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
4
AC_PREREQ([2.53])
5
 
AC_INIT([GNOME Games], [3.3.4.1],
 
5
AC_INIT([GNOME Games], [3.3.5],
6
6
  [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-games],
7
7
  [gnome-games])
8
8
 
22
22
# we support and which features to check for
23
23
 
24
24
# This is the canonical list of all game subdirectories.
25
 
allgames="glchess glines gnect gnibbles gnobots2 gnomine gnotravex gnotski gtali iagno lightsoff mahjongg quadrapassel gnome-sudoku"
 
25
allgames="glchess glines gnect gnibbles gnobots2 gnomine gnotravex gnotski gtali iagno lightsoff mahjongg quadrapassel gnome-sudoku swell-foop"
26
26
AC_SUBST([allgames])
27
 
staginggames="swell-foop"
 
27
staginggames=""
28
28
AC_SUBST([staginggames])
29
29
 
30
30
gamelist=""
107
107
 
108
108
# Feature matrix
109
109
 
110
 
need_cxx=no
111
110
need_vala=no
112
111
need_rsvg=no
113
112
need_sqlite=no
115
114
need_glx=no
116
115
need_python=no
117
116
need_clutter=no
 
117
need_gmenu=no
118
118
 
119
119
for game in $gamelist; do
120
120
  case $game in
121
 
    quadrapassel) need_cxx=yes ;;
122
 
    *) ;;
123
 
  esac
124
 
  case $game in
125
 
    glchess|gnomine|gnotravex|iagno|lightsoff|mahjongg) need_vala=yes ;;
 
121
    glchess|gnomine|gnotravex|iagno|lightsoff|mahjongg|quadrapassel) need_vala=yes ;;
126
122
    *) ;;
127
123
  esac
128
124
  case $game in
149
145
    quadrapassel|lightsoff|swell-foop|gnibbles) need_clutter=yes ;;
150
146
    *) ;;
151
147
  esac
 
148
  case $game in
 
149
    gnotravex) need_gmenu=yes ;;
 
150
    *) ;;
 
151
  esac
152
152
done
153
153
 
154
154
# Set a conditional for each game to build
186
186
AC_PROG_SED
187
187
 
188
188
if test "$need_vala" = "yes"; then
189
 
  AM_PROG_VALAC([0.13.0])
190
 
fi
191
 
 
192
 
if test "$need_cxx" = "yes"; then
193
 
  AC_PROG_CXX
194
 
 
195
 
  # Check whether a C++ was found (AC_PROG_CXX sets $CXX to "g++" even when it
196
 
  # doesn't exist)
197
 
  AC_LANG_PUSH([C++])
198
 
  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[],[AC_MSG_ERROR([No C++ compiler found])])
199
 
  AC_LANG_POP([C++])
 
189
  AM_PROG_VALAC([0.15.1])
200
190
fi
201
191
 
202
192
AM_PROG_CC_C_O
206
196
GNOME_COMMON_INIT
207
197
GNOME_DEBUG_CHECK
208
198
GNOME_COMPILE_WARNINGS([maximum])
209
 
GNOME_CXX_WARNINGS([yes])
210
199
GNOME_MAINTAINER_MODE_DEFINES
211
200
 
212
201
dnl ****************************************************************************
259
248
 
260
249
PYGOBJECT_REQUIRED=2.28.3
261
250
 
262
 
GTK_REQUIRED=2.91.7
 
251
GTK_REQUIRED=3.0.0
263
252
RSVG_REQUIRED=2.32.0
264
253
LIBCANBERRA_GTK_REQUIRED=0.26
265
254
GIO_REQUIRED=2.25.7
266
255
GSTREAMER_REQUIRED=0.10.11
267
256
 
 
257
if test "$need_gmenu" = "yes"; then
 
258
  GTK_REQUIRED=3.3.11
 
259
fi
 
260
 
268
261
# Check for common modules
269
262
 
270
263
PKG_CHECK_MODULES([GMODULE],[gmodule-2.0])
412
405
# ********
413
406
 
414
407
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS"
415
 
AM_CXXFLAGS="$AM_CXXFLAGS $WARN_CXXFLAGS"
416
408
 
417
409
# ****
418
410
# i18n
429
421
# Documentation
430
422
# *************
431
423
 
432
 
GNOME_DOC_INIT
 
424
YELP_HELP_INIT
433
425
 
434
426
# *************
435
427
# setgid checks
485
477
 
486
478
AC_SUBST([AM_CPPFLAGS])
487
479
AC_SUBST([AM_CFLAGS])
488
 
AC_SUBST([AM_CXXFLAGS])
489
480
AC_SUBST([AM_LDFLAGS])
490
481
 
491
482
##############################################
494
485
AC_CONFIG_FILES([
495
486
Makefile
496
487
po/Makefile.in
497
 
sounds/Makefile
498
488
libgames-support/Makefile
499
489
gnect/Makefile
500
490
gnect/src/Makefile