i18n: build fixes: #if -> #ifdef for ENABLE_NLS

This commit is contained in:
Stefan Kost 2010-03-22 17:26:37 +02:00
parent 352241b6b2
commit f1a75adcbc
5 changed files with 5 additions and 4 deletions

View file

@ -31,7 +31,7 @@
static gboolean
plugin_init (GstPlugin * plugin)
{
#if ENABLE_NLS
#ifdef ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

View file

@ -34,7 +34,7 @@ GST_DEBUG_CATEGORY (pulse_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
#if ENABLE_NLS
#ifdef ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

View file

@ -37,7 +37,7 @@ plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (wavpack_debug, "wavpack", 0, "Wavpack elements");
#if ENABLE_NLS
#ifdef ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

View file

@ -20,7 +20,7 @@
#define _LIBGETTEXT_H 1
/* NLS can be disabled through the configure --disable-nls option. */
#if ENABLE_NLS
#ifdef ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>

View file

@ -28,6 +28,7 @@
#include <gst/gst.h>
#include <gst/base/gstbasesink.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>