From 33b42ce86edd190c44db5814967981844e96b421 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 12 Jan 2022 23:05:25 +0000 Subject: Use the default CMake modules for finding gettext instead of our own. --- src/language.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/language.cpp') diff --git a/src/language.cpp b/src/language.cpp index 8c39941b4..219bf846c 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -15,7 +15,7 @@ #include "config.h" #include "language.h" -#if GETTEXT_FOUND +#if HAVE_LOCALIZATION # include #endif @@ -24,7 +24,7 @@ std::vector Language::Domains; void Language::InitLanguages() { -#if GETTEXT_FOUND +#if HAVE_LOCALIZATION Log(LOG_DEBUG) << "Initializing Languages..."; Languages.clear(); @@ -73,7 +73,7 @@ const char *Language::Translate(const NickCore *nc, const char *string) return Translate(nc ? nc->language.c_str() : "", string); } -#if GETTEXT_FOUND +#if HAVE_LOCALIZATION #if defined(__GLIBC__) && defined(__USE_GNU_GETTEXT) extern "C" int _nl_msg_cat_cntr; -- cgit