mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-05 11:15:20 +02:00
8e31364f6d
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
32 lines
776 B
Plaintext
32 lines
776 B
Plaintext
AC_INIT(configure.in)
|
|
AM_INIT_AUTOMAKE(gmenu2x, 0.1)
|
|
|
|
AC_ISC_POSIX
|
|
AC_PROG_CC
|
|
AC_HEADER_STDC
|
|
AC_PROG_CPP
|
|
AC_PROG_CXX
|
|
AC_PROG_CXXCPP
|
|
|
|
AC_LANG_CPLUSPLUS
|
|
|
|
# Check for SDL
|
|
SDL_VERSION=1.2.8
|
|
AM_PATH_SDL($SDL_VERSION, :,
|
|
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
|
|
|
|
AC_ARG_WITH(sdl-image-prefix,
|
|
[ --with-sdl-image-prefix=DIR specify where SDL_image library is installed],
|
|
[SDL_IMAGE_PREFIX="$withval"])
|
|
|
|
AC_CHECK_LIB(SDL_image, IMG_LoadPNG_RW,,check_sdl_image="no")
|
|
|
|
AC_ARG_WITH(sdl-gfx-prefix,
|
|
[ --with-sdl-gfx-prefix=DIR specify where SDL_gfx library is installed],
|
|
[SDL_GFX_PREFIX="$withval"])
|
|
|
|
AC_CHECK_LIB(SDL_gfx, rotozoomSurfaceXY,,check_sdl_gfx="no")
|
|
|
|
|
|
AC_OUTPUT(Makefile src/Makefile)
|