-
Notifications
You must be signed in to change notification settings - Fork 14
/
configure.ac
89 lines (84 loc) · 1.25 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
AC_PREREQ([2.68])
AC_INIT([io], [package], [https://github.com/gap-packages/io/issues], [io], [https://gap-packages.github.io/io/])
AC_CONFIG_SRCDIR([src/io.c])
AC_CONFIG_HEADERS([gen/pkgconfig.h:src/pkgconfig.h.in])
AC_CONFIG_MACRO_DIR([m4])
m4_include([m4/find_gap.m4])
AC_PROG_CC
FIND_GAP
# Checks for header files.
AC_CHECK_HEADERS_ONCE([
dirent.h
fcntl.h
netdb.h
netinet/in.h
netinet/tcp.h
signal.h
sys/param.h
sys/socket.h
sys/stat.h
sys/time.h
sys/types.h
sys/wait.h
time.h
unistd.h
])
# Checks for library functions.
AC_FUNC_FORK
AC_CHECK_FUNCS_ONCE([
accept
bind
chmod
chown
closedir
connect
dup
dup2
fchmod
fchown
fstat
gethostbyname
gethostname
getpid
getppid
getprotobyname
getsockname
getsockopt
gettimeofday
gmtime
kill
lchown
link
listen
localtime
lstat
lstat
memset
mkdir
mkdtemp
mkfifo
mknod
mkstemp
opendir
readdir
readlink
recv
recvfrom
rename
rewinddir
rmdir
seekdir
select
send
sendto
setsockopt
sigaction
signal
socket
stat
symlink
telldir
unlink
])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT