summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5983291..ab76acb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,10 +3,12 @@
AC_PREREQ(2.56)
AC_INIT([mogltk], [0.0.1], [pixel@nobis-crew.org])
+AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(mogltk, 0.0.1)
AC_CONFIG_SRCDIR([intl/bindtextdom.c])
AM_CONFIG_HEADER(config.h)
+
AM_MAINTAINER_MODE
# Checks for programs.
@@ -36,6 +38,7 @@ AC_SEARCH_LIBS(gluPerspective, GLU, , [
LDFLAGS="-L/usr/X11R6/lib $LDFLAGS"
AC_SEARCH_LIBS(gluPerspective, GLU, , AC_MSG_ERROR([can't find GLU]))
])
+AC_SEARCH_LIBS(IMG_Load_RW, SDL_image, , [AC_MSG_ERROR([can't find SDL_image])])
# Checks for header files.
AC_FUNC_ALLOCA