-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
47 lines (36 loc) · 1.16 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
m4_include([m4/version.m4])
AC_INIT([linux-ums], [VERSION_NUMBER], [[email protected]])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign 1.13])
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CC
LT_PREREQ([2.4])
LT_INIT
# Use the C language and compiler for the following checks
AC_LANG([C])
AC_ARG_ENABLE([examples],
[AS_HELP_STRING([--enable-examples], [Build examples])],
[],
[enable_examples=no])
AM_CONDITIONAL([BUILD_EXAMPLES], [test x$enable_examples != xno])
AC_ARG_ENABLE([benchmark],
[AS_HELP_STRING([--enable-benchmark], [Build benchmark])],
[],
[enable_benchmark=no])
AM_CONDITIONAL([BUILD_BENCHMARK], [test x$enable_benchmark != xno])
AC_DOCS_ENABLE
AC_CONFIG_FILES([Makefile
src/util/Makefile
doc/conf.py
doc/Makefile])
# Call configure scripts recursively
AC_CONFIG_SUBDIRS([ src/module
src/lib
examples
benchmark])
AC_OUTPUT