diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-04-18 10:58:30 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-04-18 10:58:30 +0000 |
commit | 380281f0da9caa065cfe99a458b3538cc3f5d71a (patch) | |
tree | e850962612010b0d91308ec80ce8364351b1b442 /m4 | |
parent | 9097e252e477e18182f08a032d8860bdee9a0416 (diff) |
Make --disable-nls to work
Original commit message from CVS:
* common/m4/gst-gettext.m4:
* gst/gst-i18n-lib.h:
Make --disable-nls to work
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gst-gettext.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/gst-gettext.m4 b/m4/gst-gettext.m4 index f87b2e6..a63651b 100644 --- a/m4/gst-gettext.m4 +++ b/m4/gst-gettext.m4 @@ -5,7 +5,11 @@ dnl defines GETTEXT_PACKAGE and LOCALEDIR AC_DEFUN([AG_GST_GETTEXT], [ - GETTEXT_PACKAGE=[$1] + if test "$USE_NLS" = "yes"; then + GETTEXT_PACKAGE=[$1] + else + GETTEXT_PACKAGE=[NULL] + fi AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [gettext package name]) |