summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in27
1 files changed, 17 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 8833754..b31bf49 100644
--- a/configure.in
+++ b/configure.in
@@ -18,16 +18,17 @@ if test x$with_client != xno && test -z "$CLIENT"; then
CLIENT_DIR=client
AC_SUBST(CLIENT_DIR)
- dnl =====================
- dnl Check for SDL library
- dnl =====================
- SDL_VERSION=1.2.0
- AM_PATH_SDL($SDL_VERSION,:,AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
-# CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
-# LDFLAGS="$LDFLAGS $SDL_LIBS"
- AC_SUBST(SDL_CFLAGS)
- AC_SUBST(SDL_LIBS)
-
+# dnl =====================
+# dnl Check for SDL library
+# dnl =====================
+# SDL_VERSION=1.2.0
+# AM_PATH_SDL($SDL_VERSION,:,AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
+## CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
+## LDFLAGS="$LDFLAGS $SDL_LIBS"
+# AC_SUBST(SDL_CFLAGS)
+# AC_SUBST(SDL_LIBS)
+#
+
dnl =====================
dnl Check for QT library
dnl =====================
@@ -38,6 +39,12 @@ if test x$with_client != xno && test -z "$CLIENT"; then
AC_SUBST(QT_LDADD)
dnl ======================
+ dnl Check for the Xv extension
+ dnl ======================
+ AC_CHECK_HEADER(X11/extensions/Xvlib.h, , AC_MSG_ERROR([*** The Xv extension include files not found!]))
+ AC_CHECK_LIB(Xv, XvQueryExtension, , AC_MSG_ERROR([*** The Xv extension library (libXv.a) not found!]))
+
+ dnl ======================
dnl Check for raw1394 library
dnl ======================
AC_CHECK_HEADER(libraw1394/raw1394.h, , AC_MSG_ERROR([*** libraw1394 headers not found!]))