~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to aktion/configure.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl ************************************************************************
 
2
dnl Checking for XFree86 VidMode Extensions
 
3
AC_MSG_CHECKING([for XFree86-VidModeExtension])
 
4
 
 
5
AC_CACHE_VAL(ac_cv_lib_vm,
 
6
 [ac_save_LIBS="$LIBS"
 
7
 LIBS="-L/usr/X11R6/lib -lXxf86dga -lXxf86vm -lXext -lX11"
 
8
 AC_TRY_LINK( [
 
9
              #include <X11/Xlib.h>
 
10
              #include <X11/Xatom.h>
 
11
              #include <X11/extensions/xf86vmode.h>
 
12
              ],
 
13
              [],
 
14
              eval "ac_cv_lib_vm='-lXxf86dga -lXxf86vm'",
 
15
              eval "ac_cv_lib_vm=no")
 
16
 LIBS="$ac_save_LIBS"
 
17
])
 
18
 
 
19
if eval "test ! \"`echo $ac_cv_lib_vm`\" = no"; then
 
20
dnl  
 
21
  LIBVM="$ac_cv_lib_vm"
 
22
  AC_DEFINE(XF86_VM, 1, [Define if you have libXxf86vm])
 
23
  AC_SUBST(LIBVM)
 
24
  AC_MSG_RESULT($ac_cv_lib_vm)
 
25
else
 
26
  AC_MSG_RESULT(no)
 
27
  LIBVM=""
 
28
  AC_SUBST(LIBVM)
 
29
fi
 
30