-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.ac
49 lines (38 loc) · 1.51 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
AC_PREREQ(2.57)
AC_INIT([mate-file-manager-share],[1.6.0])
AC_CONFIG_SRCDIR([src/mate-file-manager-share.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign 1.9 -Wall])
AC_PROG_INTLTOOL([0.29])
CAJA_REQUIRED=1.1.0
GLIB_REQUIRED=2.4.0
AC_PROG_CC
AC_PROG_LIBTOOL
PKG_CHECK_MODULES(CAJA, libcaja-extension >= $CAJA_REQUIRED)
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
dnl ========================================================
dnl Get caja extensionsdir
dnl ========================================================
caja_extensiondir=`$PKG_CONFIG --variable=extensiondir libcaja-extension`
AC_SUBST([caja_extensiondir])
dnl ========================================================
dnl Set interfacesdir
dnl ========================================================
AC_SUBST([interfacesdir], ['${pkgdatadir}/interfaces'])
dnl ========================================================
dnl Translations
dnl ========================================================
ALL_LINGUAS="ar as ast bn_IN ca ca@valencia cs da de el en_GB eo es et de dz eu fi fr gl gu he hu id it kn ko lt lv ml mr nb oc pa pl pt pt_BR ro ru sk sl sv ta te uk vi zh_CN zh_HK zh_TW"
GETTEXT_PACKAGE=mate-file-manager-share
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext package name])
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR(CAJA_SHARE_LOCALEDIR)
dnl ========================================================
AC_CONFIG_FILES([
Makefile
src/Makefile
interfaces/Makefile
po/Makefile.in
])
AC_OUTPUT