1 /* localize.h (i18n/l10n) */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 1998-2011 The OpenLDAP Foundation.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
12 * A copy of this license is available in file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
17 #ifndef _AC_LOCALIZE_H
18 #define _AC_LOCALIZE_H
25 /* enable i18n/l10n */
26 # define gettext_noop(s) s
27 # define _(s) gettext(s)
28 # define N_(s) gettext_noop(s)
29 # define ldap_pvt_setlocale(c,l) ((void) setlocale(c, l))
30 # define ldap_pvt_textdomain(d) ((void) textdomain(d))
31 # define ldap_pvt_bindtextdomain(p,d) ((void) bindtextdomain(p, d))
35 /* disable i18n/l10n */
38 # define ldap_pvt_setlocale(c,l) ((void) 0)
39 # define ldap_pvt_textdomain(d) ((void) 0)
40 # define ldap_pvt_bindtextdomain(p,d) ((void) 0)
44 #endif /* _AC_LOCALIZE_H */