~ubuntu-branches/ubuntu/quantal/zaz/quantal

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Package Import Robot
  • Author(s): Miriam Ruiz
  • Date: 2011-11-16 02:28:10 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111116022810-d3tehh974q280vit
Tags: 1.0.0~dfsg1-1
* New Upstream Release
* Upgraded Standards-Version from 3.8.3 to 3.9.2
* New homepage: http://phuzzboxmedia.com/index.php/games/open-sourced-zaz
* Refreshed patches
* Moved package to DebSrc 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl Process this file with autoconf to produce a configure script.
2
 
dnl Created by Anjuta application wizard.
3
 
 
4
 
AC_INIT(zaz, 0.2.9)
 
1
AC_INIT(zaz, 1.0.0)
5
2
 
6
3
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
4
AM_CONFIG_HEADER([config.h])
13
10
AC_HEADER_STDC
14
11
AC_PROG_RANLIB
15
12
 
16
 
PKG_CHECK_MODULES(ZAZ, [sdl vorbisfile gl theora ftgl])
 
13
PKG_CHECK_MODULES(ZAZ, [sdl vorbisfile theoraenc theoradec])
 
14
PKG_CHECK_MODULES(FTGL, ftgl >= 2.1.3)
17
15
 
18
 
AC_CHECK_LIB(GLU, gluLookAt, [], AC_MSG_ERROR(no libGLU found))
19
16
AC_CHECK_LIB(SDL_image, IMG_Load, [], AC_MSG_ERROR(no SDL_image found))
20
17
AC_CHECK_LIB(vorbisenc, vorbis_encode_init, [], AC_MSG_ERROR(no vorbisenc found))
21
 
 
22
 
AC_CHECK_HEADER(GL/glu.h, [], AC_MSG_ERROR(no GL/glu.h found))
23
 
AC_CHECK_HEADER(SDL/SDL_image.h, [], AC_MSG_ERROR(no SDL/SDL_image.h found))
 
18
AC_CHECK_LIB(GL, main, [], AC_MSG_ERROR([OpenGL library not found.]))
 
19
 
 
20
AC_CHECK_HEADER(GL/gl.h, [], AC_MSG_ERROR(no GL/gl.h found))
 
21
dnl AC_CHECK_HEADER(SDL/SDL_image.h, [], AC_MSG_ERROR(no SDL/SDL_image.h found))
 
22
 
 
23
AC_ARG_WITH(icondir,
 
24
        AS_HELP_STRING([--with-icondir=DIR],[icon files [DATAROOTDIR/pixmaps]]),
 
25
        [ with_icondir=${withval} ], [ with_icondir=${datadir}/pixmaps ])
 
26
AC_SUBST([icondir], [${with_icondir}])
 
27
 
 
28
AC_ARG_WITH(applicationdir,
 
29
        AS_HELP_STRING([--with-applicationdir=DIR],[application files [DATAROOTDIR/applications]]),
 
30
        [ with_applicationdir=${withval} ], [ with_applicationdir=${datadir}/applications ])
 
31
AC_SUBST([applicationdir], [${with_applicationdir}])
 
32
 
 
33
ac_enable_splash=true
 
34
AC_ARG_ENABLE([splash],
 
35
    AS_HELP_STRING([--disable-splash], [disable splash screen]),
 
36
    [ac_enable_splash=false], [ac_enable_splash=true])
 
37
 
 
38
AC_SUBST([enable_splash], [${ac_enable_splash}])
24
39
 
25
40
AC_OUTPUT([ po/Makefile.in
26
41
Makefile