summaryrefslogtreecommitdiffstats
path: root/kbx/kbxutil.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-04-06 12:01:04 +0200
committerWerner Koch <wk@gnupg.org>2004-04-06 12:01:04 +0200
commitd84d632583c1c61180d40ce9b91f185160ab02d6 (patch)
tree95f50ee6802e523b69a99d7bd49405e715923e55 /kbx/kbxutil.c
parentAdd STATUS_NEWSIG (diff)
downloadgnupg2-d84d632583c1c61180d40ce9b91f185160ab02d6.tar.xz
gnupg2-d84d632583c1c61180d40ce9b91f185160ab02d6.zip
* configure.ac: Require libgcrypt 1.1.94.
Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
Diffstat (limited to 'kbx/kbxutil.c')
-rw-r--r--kbx/kbxutil.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbx/kbxutil.c b/kbx/kbxutil.c
index abca4faa9..76678619c 100644
--- a/kbx/kbxutil.c
+++ b/kbx/kbxutil.c
@@ -117,20 +117,20 @@ my_strusage( int level )
static void
i18n_init(void)
{
- #ifdef USE_SIMPLE_GETTEXT
- set_gettext_file( PACKAGE );
- #else
- #ifdef ENABLE_NLS
+#ifdef USE_SIMPLE_GETTEXT
+ set_gettext_file( PACKAGE_GT );
+#else
+#ifdef ENABLE_NLS
#ifdef HAVE_LC_MESSAGES
setlocale( LC_TIME, "" );
setlocale( LC_MESSAGES, "" );
#else
setlocale( LC_ALL, "" );
#endif
- bindtextdomain( PACKAGE, LOCALEDIR );
- textdomain( PACKAGE );
- #endif
- #endif
+ bindtextdomain( PACKAGE_GT, LOCALEDIR );
+ textdomain( PACKAGE_GT );
+#endif
+#endif
}