-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfigure.ac
73 lines (56 loc) · 2.05 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
AC_INIT([gomotion], [1.30])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_SRCDIR([src/go.c])
AC_CONFIG_HEADERS([config/config.h])
AM_INIT_AUTOMAKE([subdir-objects])
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_RANLIB
AC_PROG_CXX
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([float.h stddef.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
# Checks for library functions.
AC_HAVE_LIBRARY(m)
AC_FUNC_STRTOD
AC_CHECK_FUNCS([pow sqrt])
AC_CHECK_FUNCS(sincos)
AC_CHECK_HEADERS([readline/readline.h])
AC_SEARCH_LIBS(socket, [socket nsl])
AC_SEARCH_LIBS(gethostname, [socket nsl])
AC_SEARCH_LIBS(tputs, [termcap])
AC_SEARCH_LIBS(readline, [readline])
# Checks for X development files. It adds the C compiler flags that X
# needs to output variable X_CFLAGS, and the X linker flags to
# X_LIBS. Define X_DISPLAY_ MISSING if X is not available. This macro
# also checks for special libraries that some systems need in order to
# compile X programs. It adds any that the system needs to output
# variable X_EXTRA_LIBS. And it checks for special X11R6 libraries that
# need to be linked with before -lX11, and adds any found to the output
# variable X_PRE_LIBS.
AC_PATH_XTRA
# All these are part of the preface to ACX_GOMOTION in gomotion.am,
# which also includes the test for the gomotion directory that we
# don't need here. Here, we just call the preface.
ACX_PRE_GOMOTION
######################################################################
# 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([gomotion],[Doxyfile],[doxygen-doc])
######################################################################
# MTCONNECT SUPPORT
######################################################################
ACX_MTCONNECT
AC_CONFIG_FILES([Makefile lib/Makefile bin/Makefile src/Makefile etc/Makefile])
AC_OUTPUT