summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d3c2173..f2d70e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ AC_PROG_INSTALL
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([string.h math.h sys/types.h unistd.h locale.h])
+AC_CHECK_HEADERS([string.h math.h sys/types.h unistd.h libintl.h locale.h])
# =======================================================================
# Libtool
@@ -57,6 +57,18 @@ LT_PREREQ([2.2])
LT_INIT
# =======================================================================
+# Gettext
+# =======================================================================
+AM_GNU_GETTEXT_VERSION([0.18])
+AM_GNU_GETTEXT([external])
+
+IT_PROG_INTLTOOL([0.35.0])
+
+GETTEXT_PACKAGE=libmatemixer
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
+
+# =======================================================================
# Check for required packages
# =======================================================================
PKG_PROG_PKG_CONFIG
@@ -257,6 +269,7 @@ docs/Makefile
docs/reference/Makefile
docs/reference/version.xml
examples/Makefile
+po/Makefile.in
])
AC_OUTPUT