2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.sdl
|
|
|
|
|
|
|
|
AC_INIT(configure.ac)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2007-12-30 17:41:49 +01:00
|
|
|
GB_INIT(gb.sdl.sound)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
dnl TODO: add a version test in GB_COMPONENT!
|
2007-12-31 16:19:15 +01:00
|
|
|
GB_PATH_SDL(1.2.8, [] , [touch DISABLED])
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
dnl check for SDL libs
|
|
|
|
GB_COMPONENT(
|
2008-09-17 13:39:37 +02:00
|
|
|
sdlsound,
|
|
|
|
SDLSOUND,
|
2007-12-30 17:41:49 +01:00
|
|
|
[SDL sound],
|
|
|
|
[src],
|
|
|
|
[GB_FIND(SDL_mixer.h SDL_cdrom.h, `sdl-config --prefix`, include/SDL)],
|
|
|
|
[GB_FIND(libSDL_mixer.$SHLIBEXT, /usr /usr/local `sdl-config --prefix`, lib)],
|
2009-07-04 01:41:55 +02:00
|
|
|
[-lSDL_mixer],
|
2007-12-30 17:41:49 +01:00
|
|
|
[$SDL_CFLAGS])
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|
2010-07-14 03:50:18 +02:00
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|