projects
/
platform
/
upstream
/
gst-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9097e25
)
Make --disable-nls to work
author
Stefan Kost
<ensonic@users.sourceforge.net>
Wed, 18 Apr 2007 10:58:30 +0000
(10:58 +0000)
committer
Stefan Kost
<ensonic@users.sourceforge.net>
Wed, 18 Apr 2007 10:58:30 +0000
(10:58 +0000)
Original commit message from CVS:
* common/m4/gst-gettext.m4:
* gst/gst-i18n-lib.h:
Make --disable-nls to work
m4/gst-gettext.m4
patch
|
blob
|
history
diff --git
a/m4/gst-gettext.m4
b/m4/gst-gettext.m4
index f87b2e62facc29668b6f0c053d60dd0050b2f1bf..a63651bf843c343e85283a67e1cfe9dccb5f4dc7 100644
(file)
--- 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])