Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checking for SDL properly, and building again.
[vor.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
3d08e2e
..
1804a30
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-3,7
+3,7
@@
AC_PREREQ([2.63])
AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor)
AC_PREREQ([2.63])
AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor)
-AC_CONFIG_SRCDIR([file.h])
+AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
@@
-12,9
+12,15
@@
AC_PROG_INSTALL
AC_PROG_MAKE_SET
# Checks for libraries.
AC_PROG_MAKE_SET
# Checks for libraries.
-AC_CHECK_LIB([SDL_image], [IMG_Load])
+AC_CHECK_LIB([SDL_image], [IMG_LoadPNG_RW])
AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
+SDL_VERSION=1.2.0
+AM_PATH_SDL($SDL_VERSION,
+ :,
+ AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
+)
+
# Checks for header files.
AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
# Checks for header files.
AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])