2007-12-30 16:41:49 +00:00
|
|
|
dnl ---- configure.ac for gb.sdl
|
|
|
|
|
2014-04-05 21:22:43 +00:00
|
|
|
m4_include([../version.m4])
|
|
|
|
AC_INIT(gambas3-gb-sdl-sound, GB_VERSION, GB_MAIL, [], GB_URL)
|
2009-08-16 22:07:48 +00:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 21:22:43 +00:00
|
|
|
|
2007-12-30 16:41:49 +00:00
|
|
|
GB_INIT(gb.sdl.sound)
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
dnl TODO: add a version test in GB_COMPONENT!
|
2007-12-31 15:19:15 +00:00
|
|
|
GB_PATH_SDL(1.2.8, [] , [touch DISABLED])
|
2007-12-30 16:41:49 +00:00
|
|
|
|
|
|
|
dnl check for SDL libs
|
|
|
|
GB_COMPONENT(
|
2012-05-18 01:19:15 +00:00
|
|
|
sdlsound, SDLSOUND, gb.sdl.sound, [src],
|
2007-12-30 16:41:49 +00:00
|
|
|
[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)],
|
2014-08-28 13:50:09 +00:00
|
|
|
[-lSDL_mixer -lSDL],
|
2007-12-30 16:41:49 +00:00
|
|
|
[$SDL_CFLAGS])
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
src/Makefile \
|
|
|
|
)
|
2010-07-14 01:50:18 +00:00
|
|
|
|
|
|
|
GB_PRINT_MESSAGES
|