-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigure.in
56 lines (40 loc) · 1002 Bytes
/
configure.in
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
m4_include([VERSION.m4])
AC_INIT(sqlite4, VERSION_NUMBER, [email protected])
AC_CONFIG_AUX_DIR(config)
PACKAGE=sqlite4
AC_SUBST(VERSION, $VERSION_NUMBER)
AC_CANONICAL_HOST
AC_MSG_NOTICE([Host = ${host}])
case ${host} in
*-FreeBSD*)
AC_SUBST(OS_MAKEFILE, Make.freebsd)
;;
*-linux*)
AC_SUBST(OS_MAKEFILE, Make.linux)
;;
*-*-mingw32*)
AC_SUBST(OS_MAKEFILE, Make.mingw)
;;
*-solaris*)
AC_SUBST(OS_MAKEFILE, Make.solaris)
;;
esac
AC_CONFIG_HEADERS(config.h)
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_AWK
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
#AC_CHECK_HEADERS(utime.h)
#AC_CHECK_HEADERS(sys/epoll.h, AC_DEFINE([LINUX_26],[],[Linux 2.6]), AC_DEFINE([LINUX_24],[],[Linux 2.4]))
#AC_CHECK_HEADERS(sys/epoll.h)
AC_FUNC_UTIME_NULL
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT