summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 3aab2ab8db1279b8f1f720479a816e0144bafd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
dnl -*- Autoconf -*-

AC_INIT(Sly, 0.1)
AC_CONFIG_SRCDIR(sly)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
AM_SILENT_RULES([yes])

AC_CONFIG_FILES([Makefile doc/Makefile examples/Makefile data/Makefile])
AC_CONFIG_FILES([env], [chmod +x env])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])

GUILE_PROGS([2.0.11])
GUILE_MODULE_REQUIRED([sdl sdl])
GUILE_MODULE_REQUIRED([sdl mixer])
GUILE_MODULE_REQUIRED([sdl ttf])
GUILE_MODULE_REQUIRED([gl])

dnl Freeimage doesn't have a pkg-config file, so use this primitive
dnl test instead.
AC_CHECK_LIB([freeimage], [FreeImage_GetVersion],,
  [AC_MSG_ERROR([freeimage not found.])])

PKG_CHECK_MODULES([GSL], [gsl])

AC_OUTPUT