summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authordscho <dscho>2004-06-08 19:46:12 +0000
committerdscho <dscho>2004-06-08 19:46:12 +0000
commit1afc2a04e4f662f691fafccba49943fe0ee4ecec (patch)
tree23815e35049f8d560a25ec155bff0fdae97c75b4 /configure.ac
parent68422b630936d61dff8a489168417cd4f7c34161 (diff)
downloadlibvncserver-1afc2a04e4f662f691fafccba49943fe0ee4ecec.zip
libvncserver-1afc2a04e4f662f691fafccba49943fe0ee4ecec.tar.gz
fix test for sdl
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index ebd8e69..48c8423 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,10 +29,6 @@ AC_ARG_WITH(24bpp,
if test "x$with_24bpp" = "xyes"; then
AC_DEFINE(ALLOW24BPP)
fi
-AH_TEMPLATE(SDL_CONFIG, [Use sdl-config (for SDLvncviewer)])
-AC_ARG_WITH(sdl,
- [ --with-sdl use sdl-config],
- , [ with_sdl=yes ])
AH_TEMPLATE(FFMPEG, [Use ffmpeg (for vnc2mpg)])
AC_ARG_WITH(ffmpeg,
[ --with-ffmpeg=dir set ffmpeg home directory],,)
@@ -95,7 +91,7 @@ AM_CONDITIONAL(HAVE_LIBPTHREAD, test ! -z "$HAVE_LIBPTHREAD")
AM_CONDITIONAL(HAVE_LIBZ, test ! -z "$HAVE_ZLIB_H")
AM_CONDITIONAL(HAVE_LIBJPEG, test ! -z "$HAVE_JPEGLIB_H")
if test -z "$with_sdl"; then
- if sdl-config >/dev/null 2>&1; then
+ if sdl-config --version >/dev/null 2>&1; then
with_sdl=yes
else
with_sdl=no
OpenPOWER on IntegriCloud