blob: 68cfcf7f0e5c66eac32cccde1eed0e7879552875 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
AC_INIT(xvideo-tests, 0.0.1)
AC_PREREQ(2.59)
AC_CONFIG_SRCDIR(src/test-xvideo.c)
AM_INIT_AUTOMAKE()
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_CHECK_HEADERS([X11/extensions/Xvlib.h],[],[AC_MSG_ERROR([Cannot find X headers])],[[#include <X11/Xlib.h>]])
ENABLE_DEBUG=no
AC_ARG_ENABLE(debug,
[ --enable-debug enable debugging, default is 'no'],
ENABLE_DEBUG=$enableval,
ENABLE_DEBUG=no)
if test x$ENABLE_DEBUG = xyes ; then
DEBUG_FLAG=__DEBUG
else
DEBUG_FLAG=__NO_DEBUG
fi
AC_SUBST(DEBUG_FLAG)
AC_CONFIG_FILES([
Makefile
src/Makefile
data/Makefile
])
AC_OUTPUT()
|