summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-08 15:23:52 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-08 15:30:03 +0200
commitb0a7443ca8bd224994f98c1c1e25de88f2573224 (patch)
tree4fe9aea785b9d93f8ec64f07a5183aced203283e /configure.ac
parent332f179db7c38310db1f752d45f51b6d8301fd30 (diff)
configure.ac: axe redundant SDL test
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 6bfa74c40..314840329 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1584,6 +1584,7 @@ if test "$KDRIVE" = yes; then
AC_DEFINE(TSLIB, 1, [Have tslib support])
fi
+ AC_CHECK_HEADERS([SDL/SDL.h])
if test x"$ac_cv_header_SDL_SDL_h" = xyes && test "x$XSDL" = xauto; then
XSDL=yes
fi
@@ -1642,12 +1643,6 @@ if test "$KDRIVE" = yes; then
AC_CHECK_FUNC([nanosleep], [],
AC_CHECK_LIB([rt], [nanosleep], XEPHYR_LIBS="$XEPHYR_LIBS -lrt"))
- # check for SDL SDK
- AC_CHECK_HEADERS([SDL/SDL.h])
- if test "x$XSDL" = xauto; then
- XSDL="$ac_cv_header_SDL_SDL_h"
- fi
-
AC_SUBST([XEPHYR_LIBS])
AC_SUBST([XEPHYR_INCS])
AC_SUBST([XSDL_LIBS])