1
dnl Process this file with autoconf to produce a configure script.
3
dnl Version of this release
7
AM_INIT_AUTOMAKE(mngplay, $VERSION)
9
dnl AC_CANONICAL_SYSTEM
12
dnl Checks for programs.
15
dnl Checks for header files.
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/>])
25
CFLAGS="$CFLAGS `sdl-config --cflags`"
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)
32
dnl check for libmng - macro in acinclude.m4
1
dnl Process this file with autoconf to produce a configure script.
3
dnl Version of this release
7
AM_INIT_AUTOMAKE(mngplay, $VERSION)
9
dnl AC_CANONICAL_SYSTEM
12
dnl Checks for programs.
15
dnl Checks for header files.
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/>])
25
CFLAGS="$CFLAGS `sdl-config --cflags`"
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)
32
dnl check for libmng - macro in acinclude.m4