[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tunnel-list] libSDL_image checking in configure.ac
From: |
solicit |
Subject: |
[tunnel-list] libSDL_image checking in configure.ac |
Date: |
Sat, 20 Mar 2004 18:37:00 +0200 (EET) |
Hi!
This is a trivial patch for configure.ac to give an error
if the user doesn't have the libSDL_image library installed.
--- configure.ac.orig 2004-03-20 19:28:54.000000000 +0200
+++ configure.ac 2004-03-20 19:34:13.000000000 +0200
@@ -96,7 +96,7 @@
AM_PATH_SDL(1.2.5, , AC_MSG_ERROR(tunnel needs SDL 1.2.5 or later))
LIBS="$LIBS $SDL_LIBS"
CFLAGS="$CFLAGS $SDL_CFLAGS"
-AC_CHECK_LIB([SDL_image], [IMG_Load])
+AC_CHECK_LIB([SDL_image], [IMG_Load], , AC_MSG_ERROR(tunnel needs the
SDL_image library))
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
--
Peep Pullerits
http://solicit.estprog.ee
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [tunnel-list] libSDL_image checking in configure.ac,
solicit <=