blob: 3db6bd4dfc2c29d3c4067f1c3df55ab15fde43eb (
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
32
33
34
35
36
|
AC_PREREQ([2.64])
AC_INIT([owfdrm],
[0.1],
[benjaminfranzke@googlemail.com],
[owfdrm],
[http://cgit.freedesktop.org/~bnf/owfdrm/])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2])
AM_SILENT_RULES([yes])
# Check for programs
AC_PROG_CC
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(OWFDRM, [libudev libdrm egl gbm])
PKG_CHECK_MODULES(TEST, [egl gl])
if test "x$GCC" = "xyes"; then
GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
fi
AC_SUBST([GCC_CFLAGS])
AC_CONFIG_FILES([Makefile
include/Makefile
src/Makefile
test/Makefile
openwfd.pc])
AC_OUTPUT
|