-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
106 lines (96 loc) · 3.95 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(SickToolbox,1.1,[email protected])
AC_CONFIG_SRCDIR([c++/drivers/base/src/SickConfig.hh.in])
AC_CONFIG_AUX_DIR(misc)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([c++/drivers/base/src/SickConfig.hh])
# Set source dirs
AX_SICK_LD_SRC_DIR(sickld)
AX_SICK_LMS_1XX_SRC_DIR(sicklms1xx)
AX_SICK_LMS_2XX_SRC_DIR(sicklms2xx)
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_PROG_LIBTOOL
AX_PROG_GNUPLOT
# Configure and check for doxygen
DX_HTML_FEATURE(ON)
DX_CHM_FEATURE(OFF)
DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(ON)
DX_RTF_FEATURE(OFF)
DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(ON)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN(sicktoolbox,doxygen.cfg)
# Checks for libraries.
ACX_PTHREAD(,[AC_MSG_ERROR([Couldn't find pthread lib!])])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h string.h sys/ioctl.h sys/socket.h sys/time.h termios.h unistd.h],,[AC_MSG_ERROR([Couldn't find a required header!])])
AX_HEADER_LINUX_SERIAL
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_C_BIGENDIAN
AC_HEADER_TIME
AC_TYPE_INT16_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gettimeofday memset select socket strcasecmp],,[AC_MSG_ERROR([Couldn't find a required function!])])
AC_CONFIG_FILES([Makefile
c++/Makefile
c++/examples/Makefile
c++/examples/ld/Makefile
c++/examples/ld/ld_config/Makefile
c++/examples/ld/ld_config/src/Makefile
c++/examples/ld/ld_more_config/Makefile
c++/examples/ld/ld_more_config/src/Makefile
c++/examples/ld/ld_multi_sector/Makefile
c++/examples/ld/ld_multi_sector/src/Makefile
c++/examples/ld/ld_single_sector/Makefile
c++/examples/ld/ld_single_sector/src/Makefile
c++/examples/lms1xx/Makefile
c++/examples/lms1xx/lms1xx_simple_app/Makefile
c++/examples/lms1xx/lms1xx_simple_app/src/Makefile
c++/examples/lms1xx/lms1xx_plot_values/Makefile
c++/examples/lms1xx/lms1xx_plot_values/src/Makefile
c++/examples/lms2xx/Makefile
c++/examples/lms2xx/lms2xx_config/Makefile
c++/examples/lms2xx/lms2xx_config/src/Makefile
c++/examples/lms2xx/lms2xx_mean_values/Makefile
c++/examples/lms2xx/lms2xx_mean_values/src/Makefile
c++/examples/lms2xx/lms2xx_partial_scan/Makefile
c++/examples/lms2xx/lms2xx_partial_scan/src/Makefile
c++/examples/lms2xx/lms2xx_plot_values/Makefile
c++/examples/lms2xx/lms2xx_plot_values/src/Makefile
c++/examples/lms2xx/lms2xx_real_time_indices/Makefile
c++/examples/lms2xx/lms2xx_real_time_indices/src/Makefile
c++/examples/lms2xx/lms2xx_set_variant/Makefile
c++/examples/lms2xx/lms2xx_set_variant/src/Makefile
c++/examples/lms2xx/lms2xx_simple_app/Makefile
c++/examples/lms2xx/lms2xx_simple_app/src/Makefile
c++/examples/lms2xx/lms2xx_stream_range_and_reflect/Makefile
c++/examples/lms2xx/lms2xx_stream_range_and_reflect/src/Makefile
c++/examples/lms2xx/lms2xx_subrange/Makefile
c++/examples/lms2xx/lms2xx_subrange/src/Makefile
c++/drivers/Makefile
c++/drivers/ld/Makefile
c++/drivers/ld/sickld/Makefile
c++/drivers/lms1xx/Makefile
c++/drivers/lms1xx/sicklms1xx/Makefile
c++/drivers/lms2xx/Makefile
c++/drivers/lms2xx/sicklms2xx/Makefile])
AC_OUTPUT