diff options
author | rbuj <[email protected]> | 2021-02-18 12:25:55 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-24 16:29:19 +0100 |
commit | 59ce19333e004c55645951beb850dc5a3abd5444 (patch) | |
tree | 9678914f86d8463a1d50e66ebe284dcce7986053 /configure.ac | |
parent | d8d3f21b1a6e1cc9a4e82ff9c9a6e2aded0394bd (diff) | |
download | mate-notification-daemon-59ce19333e004c55645951beb850dc5a3abd5444.tar.bz2 mate-notification-daemon-59ce19333e004c55645951beb850dc5a3abd5444.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index af9be0d..a544d39 100644 --- a/configure.ac +++ b/configure.ac @@ -75,9 +75,10 @@ dnl --------------------------------------------------------------------------- dnl i18n stuff dnl --------------------------------------------------------------------------- +AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.8]) AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8]) -AM_GNU_GETTEXT([external]) +AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"]) AC_SUBST([GETTEXT_PACKAGE], [mate-notification-daemon]) AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext package name.]) @@ -314,6 +315,7 @@ echo " warning flags: ${WARN_CFLAGS} Wayland support: ${have_wayland} X11 support: ${have_x11} + Native Language support: ${USE_NLS} dbus-1 system.d $DBUS_SYS_DIR dbus-1 services $DBUS_SERVICES_DIR |