1
dnl Process this file with autoconf to produce a configure script.
2
dnl Created by Anjuta application wizard.
6
3
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
4
AM_CONFIG_HEADER([config.h])
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)
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))
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.]))
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))
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}])
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}])
34
AC_ARG_ENABLE([splash],
35
AS_HELP_STRING([--disable-splash], [disable splash screen]),
36
[ac_enable_splash=false], [ac_enable_splash=true])
38
AC_SUBST([enable_splash], [${ac_enable_splash}])
25
40
AC_OUTPUT([ po/Makefile.in