File: configure.in

package info (click to toggle)
libsdl-console 1.3-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 360 kB
  • ctags: 145
  • sloc: ansic: 1,387; sh: 153; makefile: 134
file content (19 lines) | stat: -rw-r--r-- 390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AC_INIT(CON_console.c)
AC_PROG_INSTALL
AC_PROG_CC 

dnl Check for libs
AC_CHECK_LIB(SDL_image, IMG_Load, have_sdlimage=yes)
if test "$have_sdlimage" != "yes"; then
   AC_MSG_ERROR([
*** Unable to find SDL_image library (http://www.libsdl.org/projects/SDL_image)
])
fi

dnl Check for headers
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(SDL/SDL.h SDL/SDL_image.h)


AC_OUTPUT(Makefile)