-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfigure.scan
101 lines (94 loc) · 3.1 KB
/
configure.scan
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.72])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([libasmir/config.h.in])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_AR
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_YACC
# Checks for libraries.
# FIXME: Replace 'main' with a function in '-lbfd':
AC_CHECK_LIB([bfd], [main])
# FIXME: Replace 'main' with a function in '-ldl':
AC_CHECK_LIB([dl], [main])
# FIXME: Replace 'main' with a function in '-linkall':
AC_CHECK_LIB([inkall], [main])
# FIXME: Replace 'main' with a function in '-linkpkg':
AC_CHECK_LIB([inkpkg], [main])
# FIXME: Replace 'main' with a function in '-lopcodes':
AC_CHECK_LIB([opcodes], [main])
# FIXME: Replace 'main' with a function in '-lprotobuf':
AC_CHECK_LIB([protobuf], [main])
# FIXME: Replace 'main' with a function in '-lpthread':
AC_CHECK_LIB([pthread], [main])
# FIXME: Replace 'main' with a function in '-lz':
AC_CHECK_LIB([z], [main])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h inttypes.h malloc.h stdint.h sys/socket.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_INT8_T
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_CHECK_FUNCS([floor getpagesize memset munmap rint sqrt])
AC_CONFIG_FILES([Makefile
VEX/Makefile
VEX/switchback/Makefile
batteries/Makefile
batteries/build/camlzip/Makefile
batteries/examples/benchmark/Makefile
batteries/examples/euler/Makefile
batteries/libs/estring/Makefile
doc/Makefile
doc/fig/Makefile
doc/just-formals/Makefile
libasmir/Makefile
libasmir/apps/Makefile
libasmir/src/Makefile
libtracewrap/Makefile
objsize-0.16/Makefile
ocaml-proj.example/Makefile
ocaml/Makefile
pcre-ocaml/Makefile
pcre-ocaml/examples/cloc/Makefile
pcre-ocaml/examples/count_hash/Makefile
pcre-ocaml/examples/pcregrep/Makefile
pcre-ocaml/examples/subst/Makefile
pcre-ocaml/lib/Makefile
pintraces/Makefile
pintraces/examples/bof1/Makefile
piqi-files/Makefile
tests-proj.example/Makefile
tests/C/Makefile
tests/Makefile
tests/asm/Makefile
utils-proj.example/Makefile
utils/Makefile])
AC_CONFIG_SUBDIRS([libtracewrap/libtrace
ocamlgraph-1.8
ounit
zarith-1.0])
AC_OUTPUT