-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
55 lines (48 loc) · 1.43 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.67])
AC_INIT([hinversi],[0.8.2],[[email protected]])
AC_CONFIG_SRCDIR([lib/othello.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
# AC_PROG_MSGFMT
# AC_PROG_RANLIB
LT_INIT
PKG_CHECK_MODULES([CHECK], [check >= 0.9.4], [HAVE_CHECK=yes],
[
AC_MSG_WARN(check not found. Checks disabled.)
])
AM_CONDITIONAL([HAVE_CHECK], [test "x$HAVE_CHECK" = "xyes"])
AM_PROG_CC_C_O
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([float.h libintl.h limits.h locale.h stdlib.h string.h sys/time.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
# Checks for library functions.
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.15])
AC_FUNC_MALLOC
AC_CHECK_FUNCS([gettimeofday memset setlocale])
AC_CONFIG_FILES([Makefile
check/Makefile
human-cli/Makefile
cgi/Makefile
lib/Makefile
po/Makefile.in
lib/libhinversi.pc
doc/Doxyfile
doc/Makefile])
AC_OUTPUT