forked from jimmy516/openptv-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
47 lines (34 loc) · 1.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
39
40
41
42
43
44
45
46
47
# Process this file with autoconf to produce a configure script.
# Prelude.
AC_PREREQ([2.59])
AC_INIT([PTV], [0.3], [check-devel AT lists.sourceforge.net])
# unique source file --- primitive safety check
AC_CONFIG_SRCDIR([.])
# place to put some extra build scripts installed
AC_CONFIG_AUX_DIR([build-aux])
# fairly severe build strictness
# change foreign to gnu or gnits to comply with gnu standards
AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.11 silent-rules])
AM_SILENT_RULES
# Checks for programs.
AM_PROG_AR
AC_PROG_CC
AC_PROG_LIBTOOL
AM_PROG_CC_C_O
# Checks for libraries.
# This macro is defined in check.m4 and tests if check.h and
# libcheck.a are installed in your system. It sets CHECK_CFLAGS and
# CHECK_LIBS accordingly.
PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_FUNC_MALLOC
# Output files
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile
src_c/Makefile
tests_c/Makefile])
AC_OUTPUT