mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Add i18n support
This will be needed to get better error messages to users of the D-Bus API. We use glib's builtin gettext support. No strings marked as translatable yet, we'll need to mark those user-visible strings carefully and review them.
This commit is contained in:
committed by
Daniel Drake
parent
6cbb079619
commit
3ad569b66a
@ -1,11 +1,17 @@
|
||||
AC_INIT([fprintd], [0.1])
|
||||
AM_INIT_AUTOMAKE
|
||||
AC_CONFIG_SRCDIR([src/main.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AC_PREREQ([2.50])
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
GETTEXT_PACKAGE=fprintd
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
|
||||
PKG_CHECK_MODULES(FPRINT, [libfprint > 0.1.0])
|
||||
AC_SUBST(FPRINT_LIBS)
|
||||
AC_SUBST(FPRINT_CFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user