-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
51 lines (38 loc) · 975 Bytes
/
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
# Process this file with autoconf to produce a configure script.
AC_INIT([gamecheater],[0.6],[[email protected]])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIRS([m4])
# Checks for programs.
AC_PROG_CC
LT_INIT
AC_SUBST(LIBTOOL_DEPS)
LIB_CURRENT=0
LIB_REVERSION=0
LIB_AGE=0
VERSION_INFO="$LIB_CURRENT:$LIB_REVERSION:$LIB_AGE"
AC_SUBST(VERSION_INFO)
# Checks for libraries.
PKG_CHECK_MODULES(DEPS, gtk+-3.0 >= 3.0 glib-2.0 >= 2.6)
AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS)
AC_CHECK_INCLUDES_DEFAULT
AC_PROG_EGREP
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(stdlib.h string.h unistd.h)
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_FUNC_STAT
AC_CHECK_FUNCS(ptrace memcpy memcmp)
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.21)
ALL_LINGUAS="zh_CN"
AC_CONFIG_FILES([
Makefile
libgcheater/Makefile
src/Makefile
pixmaps/Makefile
ui/Makefile
po/Makefile.in
])
AC_OUTPUT