Disable i18n if it's not there - this fixes build issues with older versions of libgnomeui, i18n-tools, etc.

Original commit message from CVS:
Disable i18n if it's not there - this fixes build issues with older versions of libgnomeui, i18n-tools, etc.
This commit is contained in:
Ronald S. Bultje 2003-11-22 21:46:07 +00:00
parent cb853c1bcf
commit 858d9bde08

View file

@ -393,8 +393,10 @@ init_pre (void)
/* we need threading to be enabled right here */ /* we need threading to be enabled right here */
_gst_debug_init(); _gst_debug_init();
#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, GST_LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, GST_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif /* ENABLE_NLS */
#ifndef GST_DISABLE_REGISTRY #ifndef GST_DISABLE_REGISTRY
{ {