2007-12-30 17:41:49 +01:00
|
|
|
dnl ---- configure.ac for gb.sdl
|
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
|
|
|
AC_INIT(gambas3-gb-sdl-sound, GB_VERSION, GB_MAIL, [], GB_URL)
|
2009-08-17 00:07:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 23:22:43 +02:00
|
|
|
|
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(
|
2012-05-18 03:19:15 +02:00
|
|
|
sdlsound, SDLSOUND, gb.sdl.sound, [src],
|
2007-12-30 17:41:49 +01: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 15:50:09 +02:00
|
|
|
[-lSDL_mixer -lSDL],
|
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
|