forked from named-data/PyCCN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
41 lines (30 loc) · 993 Bytes
/
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([PyCCN], [0.2], [takeda@takeda.tk])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux])
AC_CONFIG_SRCDIR([csrc/pyccn.c])
AM_INIT_AUTOMAKE([foreign 1.11 silent-rules parallel-tests color-tests -Wall -Werror])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE([disable])
# Checks for programs.
AC_PROG_CC
# Required by automake 1.12, not recognized by automake 1.11
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT
# Checks for libraries.
AX_CHECK_CCN([], AC_MSG_ERROR([CCNx is required to compile PyCCN]))
# Checks for header files.
AX_PYTHON_DEVEL([>= 2.7])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
csrc/Makefile
python/Makefile
tests/Makefile
])
AC_CONFIG_FILES([tests/run], [chmod +x tests/run])
AC_OUTPUT