-
Notifications
You must be signed in to change notification settings - Fork 8
/
configure.ac
36 lines (29 loc) · 820 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
AC_PREREQ(2.60)
AC_INIT([tbo], [1.0], [[email protected]])
AC_CONFIG_AUX_DIR([build])
AM_INIT_AUTOMAKE([1.9.6 -Wall -Werror dist-bzip2])
GNOME_COMMON_INIT
AC_PROG_CC
# Compiling sources with per-target flags requires AM_PROG_CC_C_O
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AM_PATH_GTK_3_0([3.0.0],,AC_MSG_ERROR([Gtk+ 3.0.0 or higher required.]))
PKG_CHECK_MODULES(PACKAGE, "gtk+-3.0 cairo librsvg-2.0")
# *******************************
# Internationalization
# *******************************
AC_PROG_INTLTOOL
GETTEXT_PACKAGE=tbo
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
AM_GLIB_GNU_GETTEXT
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
data/Makefile
data/doodle/Makefile
po/Makefile.in
])
AC_OUTPUT