-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
49 lines (39 loc) · 1.19 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
AC_PREREQ(2.59)
AC_INIT(DidiWiki, 0.66, [email protected], didiwiki, https://gitlab.com/pepa65/didiwiki)
AC_CONFIG_SRCDIR([src/util.c])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE()
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_TIME
AC_STRUCT_TM
# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_FORK
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_STAT
AC_FUNC_STRFTIME
AC_CHECK_FUNCS([asprintf inet_ntoa memset mkdir putenv select socket strdup strncasecmp])
if test "x$GCC" = "xyes"; then
GCC_FLAGS="-g -Wall -fno-strict-aliasing"
fi
AC_SUBST(GCC_FLAGS)
AC_OUTPUT([
Makefile
src/Makefile
])
echo
echo " NOTE:"
echo " If you are upgrading from a earlier version of $PACKAGE, delete the"
echo " Home and Help pages and the CSS stylesheet in the home directory of"
echo " $PACKAGE, in order to use the ones that are built-in to the $PACKAGE"
echo " binary -- unless you want to keep local modifications of those files."
echo