~ubuntu-branches/ubuntu/oneiric/libmng/oneiric

« back to all changes in this revision

Viewing changes to contrib/gcc/sdl-mngplay/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Shiju p. Nair
  • Date: 2006-04-07 09:49:11 UTC
  • mfrom: (0.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060407094911-ay3179o63gvlh4ll
Tags: 1.0.9-1
* New upstream release. (closes: #303968, #271979)
* Patch from Aurelien Jarno <aurel32@debian.org> to support GNU/kFreeBSD.
  Closes: #314696)
* Patch from Christopher Bodenstein <cb@physicman.net> to support
  hurd-i386. (closes: #361103)
* README.Debian provide information on what options are compiled in to
  libmng.(closes: #174523)

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
 
 
3
 
dnl Version of this release
4
 
VERSION=0.1
5
 
 
6
 
AC_INIT(mngplay.c)
7
 
AM_INIT_AUTOMAKE(mngplay, $VERSION)
8
 
 
9
 
dnl AC_CANONICAL_SYSTEM
10
 
AC_LANG_C
11
 
 
12
 
dnl Checks for programs.
13
 
AC_PROG_CC
14
 
 
15
 
dnl Checks for header files.
16
 
AC_HEADER_STDC
17
 
 
18
 
dnl check for Simple Direct Media Layer
19
 
AC_CHECK_PROG(HAS_SDL, sdl-config, yes)
20
 
if test "x$HAS_SDL" != "xyes"; then
21
 
    AC_MSG_ERROR([ SDL library not found!
22
 
    You need this for any display to happen. (rather the point)
23
 
    You can get a copy at <http://libsdl.org/>])
24
 
fi
25
 
CFLAGS="$CFLAGS `sdl-config --cflags`"
26
 
 
27
 
mngplay_LDADD="`sdl-config --libs`"
28
 
mngplay_static_LDADD="`sdl-config --static-libs`"
29
 
AC_SUBST(mngplay_LDADD)
30
 
AC_SUBST(mngplay_static_LDADD)
31
 
 
32
 
dnl check for libmng - macro in acinclude.m4
33
 
LIBMNG_CHECK()
34
 
 
35
 
AC_OUTPUT(Makefile)
 
1
dnl Process this file with autoconf to produce a configure script.
 
2
 
 
3
dnl Version of this release
 
4
VERSION=0.1
 
5
 
 
6
AC_INIT(mngplay.c)
 
7
AM_INIT_AUTOMAKE(mngplay, $VERSION)
 
8
 
 
9
dnl AC_CANONICAL_SYSTEM
 
10
AC_LANG_C
 
11
 
 
12
dnl Checks for programs.
 
13
AC_PROG_CC
 
14
 
 
15
dnl Checks for header files.
 
16
AC_HEADER_STDC
 
17
 
 
18
dnl check for Simple Direct Media Layer
 
19
AC_CHECK_PROG(HAS_SDL, sdl-config, yes)
 
20
if test "x$HAS_SDL" != "xyes"; then
 
21
    AC_MSG_ERROR([ SDL library not found!
 
22
    You need this for any display to happen. (rather the point)
 
23
    You can get a copy at <http://libsdl.org/>])
 
24
fi
 
25
CFLAGS="$CFLAGS `sdl-config --cflags`"
 
26
 
 
27
mngplay_LDADD="`sdl-config --libs`"
 
28
mngplay_static_LDADD="`sdl-config --static-libs`"
 
29
AC_SUBST(mngplay_LDADD)
 
30
AC_SUBST(mngplay_static_LDADD)
 
31
 
 
32
dnl check for libmng - macro in acinclude.m4
 
33
LIBMNG_CHECK()
 
34
 
 
35
AC_OUTPUT(Makefile)