]> git.saurik.com Git - apt.git/blob - buildlib/apti18n.h.in
Call make clean and distclean before removing build/
[apt.git] / buildlib / apti18n.h.in
1 // -*- mode: cpp; mode: fold -*-
2 // $Id: apti18n.h.in,v 1.4 2002/10/16 05:24:02 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 # ifdef DOMAIN
14 # define _(x) dgettext(DOMAIN,x)
15 # else
16 # define _(x) gettext(x)
17 # endif
18 #else
19 // apt will not use any gettext
20 # define setlocale(a, b)
21 # define _(x) x
22 #endif