forked from jgke/gnome-extension-connman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
35 lines (25 loc) · 948 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
AC_PREREQ(2.63)
AC_INIT([gnome-extension-connman],[1.1],[https://github.com/jgke/gnome-extension-connman])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip foreign tar-ustar])
AC_PROG_SED
IT_PROG_INTLTOOL([0.40.1])
GETTEXT_PACKAGE=gnome-extension-connman
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[The prefix for our gettext translation domains.])
UUID=[[email protected]]
AC_SUBST(UUID)
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
PKG_PROG_PKG_CONFIG([0.22])
dnl Please keep this sorted alphabetically
AC_CONFIG_FILES([
Makefile
po/Makefile.in
src/Makefile
])
AC_OUTPUT
dnl XXX: Is there an other way to set the locale directory?
extensiontopdir=${datadir}/gnome-shell/extensions/${UUID}
${SED} -i -e "s%itlocaledir = .*%itlocaledir = ${extensiontopdir}/locale%g" po/Makefile