File: configure.in

package info (click to toggle)
gmchess 0.29.6-2.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 4,264 kB
  • ctags: 1,568
  • sloc: cpp: 13,600; sh: 11,062; makefile: 268
file content (76 lines) | stat: -rw-r--r-- 1,603 bytes parent folder | download | duplicates (2)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.63])
AC_INIT(gmchess, 0.29.6, lerosua@gmail.com)
AC_CONFIG_SRCDIR([src/Pgnfile.cc])
AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE(gmchess,0.29.6)


IT_PROG_INTLTOOL([0.35.0])
AC_PROG_LIBTOOL


# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP

# Checks for libraries.
pkg_modules="gtkmm-2.4 >= 2.6.0"
PKG_CHECK_MODULES(PACKAGE, $pkg_modules)
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)






# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h libintl.h locale.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/timeb.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_INT8_T
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T

# Checks for library functions.
AC_FUNC_FORK
AC_CHECK_FUNCS([dup2 ftime gethostbyname memchr memset select setlocale socket strchr strncasecmp strrchr])


GETTEXT_PACKAGE=gmchess
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])

AM_GLIB_GNU_GETTEXT


AC_CONFIG_FILES([Makefile
	src/Makefile
	src/engine/Makefile
	data/Makefile
	data/themes/Makefile
	data/themes/wood/Makefile
	data/themes/wood-small/Makefile
	data/themes/west/Makefile
	data/themes/west-small/Makefile
	data/sound/Makefile
	po/Makefile.in
	doc/Makefile
	doc/gmchess.6
	doc/convert_pgn.6
	doc/eleeye_engine.6
	])

AC_OUTPUT