-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
64 lines (50 loc) · 1.36 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.71])
AC_INIT([emdros-example-programs], [1.0.1], [[email protected]])
AC_CONFIG_MACRO_DIRS([m4])
LT_INIT
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/cli/HAL/hal.cpp])
AC_CONFIG_HEADERS([emdros-example-programs-config.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AX_CXX_COMPILE_STDCXX(11, noext, optional)
EMDROS_BUILDENV
EMDROS_SOLARIS
EMDROS_MACOS
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([stdint.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_C_RESTRICT
AC_TYPE_SIZE_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([memset strtol])
# Do wxWidgets, if necessary
EMDROS_WX_SUPPORT
PKG_CHECK_MODULES([EMDROS], [emdros])
EMDROS_STATIC_LIBS=`pkg-config --libs --static emdros`
AC_SUBST(EMDROS_STATIC_LIBS)
AC_CONFIG_FILES([Makefile
emdros-example-programs.spec
doc/Makefile
src/Makefile
src/cli/Makefile
src/cli/HAL/Makefile
src/cli/HAL/doc/Makefile
src/gui/Makefile
src/gui/art/Makefile
src/gui/chunkingtool/Makefile
src/gui/chunkingtool/doc/Makefile
])
AC_OUTPUT