-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfigure.ac
60 lines (44 loc) · 1.33 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
48
49
50
51
52
53
54
55
56
57
58
59
60
AC_PREREQ(2.59)
AC_INIT([libworkqueue priority workqueue scheduler], [0.1], [[email protected]])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_PROG_CC
AC_PROG_CXX
AM_PROG_AR
AC_PROG_LIBTOOL
AM_PROG_CC_C_O
######################################################################
# DOXYGEN SUPPORT
######################################################################
DX_HTML_FEATURE(ON)
DX_CHM_FEATURE(OFF)
DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(OFF)
DX_RTF_FEATURE(OFF)
DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN([$PACKAGE_NAME],[Doxyfile])
######################################################################
AC_CONFIG_HEADERS([libworkqueue-config.h])
AC_LANG([C])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string])
AC_ARG_ENABLE([examples],
AS_HELP_STRING([--disable-examples], [don't build example programs]),
[enable_examples="$enableval"], [enable_examples="yes"])
AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = "yes"])
AC_CONFIG_FILES([Makefile
lib/Makefile
examples/Makefile
examples/high_load_test/Makefile
examples/job_control/Makefile
examples/serial_port_test/Makefile
examples/simple_test/Makefile
examples/simple_cpp/Makefile
examples/time_sort/Makefile
examples/periodic_test/Makefile
examples/pthread_wrap_ex/Makefile
])
AC_OUTPUT