forked from OpenStratos/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
38 lines (30 loc) · 999 Bytes
/
configure.ac
File metadata and controls
38 lines (30 loc) · 999 Bytes
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.68])
AC_INIT(OpenStratos, 1.0, https://github.com/OpenStratos/server/issues)
AC_CONFIG_SRCDIR([openstratos.cc])
AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_CHECK_PROG([HAVE_RASPICAM], [raspivid], [yes])
AS_IF([test "x$HAVE_RASPICAM" = xyes],
[AC_DEFINE([RASPICAM], [1], [Define to 1 if you have raspicam available.])])
# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([wiringPi], [wiringPiSetup])
# Checks for header files.
AC_CHECK_HEADERS([string.h])
AC_LANG([C++])
AX_CXX_COMPILE_STDCXX_11()
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_CHECK_FUNCS([stpcpy strstr])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT