-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
38 lines (27 loc) · 1 KB
/
configure.ac
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
37
38
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.69)
AC_INIT(cip-server, 0.1, [email protected])
AM_INIT_AUTOMAKE
#AC_CONFIG_SRCDIR([src/cip_server.c])
#AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
AC_CHECK_LIB(uv, uv_run,
[],
[AC_MSG_ERROR([libuv libraries not found.])]
)
AC_CHECK_LIB(x264, x264_encoder_encode,
[],
[AC_MSG_ERROR([x264 libraries not found.])]
)
AC_CHECK_LIB([X11-xcb],[],AC_MSG_ERROR([ *** Unable to find xcb library]))
AC_CHECK_LIB([xcb-composite],[],AC_MSG_ERROR([ *** Unable to find xcb-composite library]))
AC_CHECK_LIB([xcb-damage],[],AC_MSG_ERROR([ *** Unable to find xcb-damage library]))
AC_CHECK_LIB([xcb-xtest],[],AC_MSG_ERROR([ *** Unable to find xcb-xtest library]))
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT