ifdef for i18n stuff
[ntk/apt.git] / buildlib / apti18n.h.in
1 // -*- mode: cpp; mode: fold -*-
2 // $Id: apti18n.h.in,v 1.3 2002/01/09 04:16:33 jgg Exp $
3 /* Internationalization macros for apt. This header should be included last
4 in each C file. */
5
6 // Set by autoconf
7 #undef USE_NLS
8 #undef USE_INCLUDED_LIBINTL
9
10 #if USE_NLS==yes && USE_INCLUDED_LIBINTL==no
11 // apt will use the gettext implementation of the C library
12 # include <libintl.h>
13 # define _(x) gettext(x)
14 #else
15 // apt will not use any gettext
16 # define setlocale(a, b)
17 # define textdomain(a)
18 # define _(x) x
19 #endif