-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
44 lines (36 loc) · 1.03 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
AC_INIT([vala-terminal], [1.3.0], [[email protected]], [vala-terminal])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PROG_CC
AM_PROG_CC_C_O
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
VALA_REQUIRED=0.12.0
AC_PATH_PROG(VALAC, valac, valac)
AC_SUBST(VALAC)
m4_ifdef([AM_PROG_VALAC], [AM_PROG_VALAC([$VALA_REQUIRED])])
AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
GETTEXT_PACKAGE=vala-terminal
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
PKG_PROG_PKG_CONFIG
GLIB_REQUIRED=2.12.0
GTK_REQUIRED=2.10.0
VTE_REQUIRED=0.16.9
PKG_CHECK_MODULES(VALA_TERMINAL,
glib-2.0 >= $GLIB_REQUIRED
gobject-2.0 >= $GLIB_REQUIRED
gtk+-2.0 >= $GTK_REQUIRED
vte >= $VTE_REQUIRED)
AC_SUBST(VALA_TERMINAL_CFLAGS)
AC_SUBST(VALA_TERMINAL_LIBS)
AC_CONFIG_FILES([Makefile data/Makefile
po/Makefile.in])
AC_OUTPUT