1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Removed the use of g10defs.h.

This required some code cleanups and the introduction of
a few accessor ducntions in mpi.
This commit is contained in:
Werner Koch 2006-12-11 19:54:53 +00:00
parent d382fece03
commit 9f433cccca
29 changed files with 267 additions and 157 deletions

View file

@ -1,3 +1,10 @@
2006-12-11 Werner Koch <wk@g10code.com>
* Makefile.am (AM_CPPFLAGS): Use in place of INCLUDES. Define
LOCALEDIR.
* shmtest.c (i18n_init): s/G10_LOCALEDIR/LOCALEDIR/.
* mpicalc.c (i18n_init): Ditto.
2006-04-20 David Shaw <dshaw@jabberwocky.com>
* make-dns-cert.c (main): Small exit code tweak from Peter

View file

@ -20,10 +20,17 @@
## Process this file with automake to produce Makefile.in
EXTRA_DIST = lspgpot ring-a-party mail-signed-keys convert-from-106
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/intl
if ! HAVE_DOSISH_SYSTEM
AM_CPPFLAGS += -DLOCALEDIR="\"$(localedir)\""
endif
needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
bin_PROGRAMS = gpgsplit
noinst_PROGRAMS = mpicalc bftest clean-sat mk-tdata shmtest make-dns-cert

View file

@ -50,7 +50,7 @@ i18n_init(void)
{
#ifdef ENABLE_NLS
setlocale( LC_ALL, "" );
bindtextdomain( PACKAGE, G10_LOCALEDIR );
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain( PACKAGE );
#endif
}

View file

@ -68,7 +68,7 @@ i18n_init(void)
{
#ifdef ENABLE_NLS
setlocale( LC_ALL, "" );
bindtextdomain( PACKAGE, G10_LOCALEDIR );
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain( PACKAGE );
#endif
}

View file

@ -57,7 +57,7 @@ i18n_init(void)
{
#ifdef ENABLE_NLS
setlocale( LC_ALL, "" );
bindtextdomain( PACKAGE, G10_LOCALEDIR );
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain( PACKAGE );
#endif
}