-
Notifications
You must be signed in to change notification settings - Fork 3
/
configure.ac
64 lines (47 loc) · 1.37 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
56
57
58
59
60
61
62
63
64
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.60])
AC_INIT([peasy],[0.13],[[email protected]])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/peasy-plugin.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
AC_SUBST([PACKAGE],[$PACKAGE_NAME])
AC_SUBST([VERSION],[$PACKAGE_VERSION])
LT_INIT
AC_PROG_INSTALL
AC_PROG_MKDIR_P
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_VALAC([0.30],[],[AC_MSG_ERROR([suitable valac is required])])
AC_SUBST([GETTEXT_PACKAGE], ["peasy"])
AC_DEFINE([GETTEXT_PACKAGE], ["peasy"], [Gettext package.])
AC_SUBST([install_sh], ["`pwd`/build-aux/install-sh"])
GP_CHECK_GEANY([1.28])
GP_CHECK_GTK_VERSION
CHECK_MINGW
AM_ICONV_LINK
GOBJECT_INTROSPECTION_CHECK
gtk_modules="$GP_GTK_PACKAGE >= $GP_GTK_VERSION"
PKG_CHECK_MODULES([GTK], [$gtk_modules])
AC_SUBST([GTK_CFLAGS])
AC_SUBST([GTK_LIBS])
gir_modules="gobject-introspection-1.0 >= 1.39.0"
PKG_CHECK_MODULES([GIR], [$gir_modules])
AC_SUBST([DEPENDENCIES], [$gir_modules])
AC_SUBST([GIR_CFLAGS])
AC_SUBST([GIR_LIBS])
GOBJECT_INTROSPECTION_REQUIRE(1.39.0)
PKG_CHECK_MODULES([PEAS], [libpeas-1.0 >= 1.12.0])
AC_SUBST([PEAS_CFLAGS])
AC_SUBST([PEAS_LIBS])
AM_ICONV_LINK
GOBJECT_INTROSPECTION_CHECK([1.30.0])
VAPIGEN_CHECK([0.32])
AM_PATH_PYTHON([2.7])
AC_CONFIG_FILES([
autoconf.mk
Makefile
po/Makefile.in])
AC_OUTPUT