X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gettext.m4;h=2c54fb8c140969ca267e610e52c064fc16863f66;hb=0c6c36d54e826591b93243797475f801148a70d1;hp=f3deafa61dc45ca6098307e3fb1e2287c04ef6d1;hpb=a53bf5062454ed1308388b951b461a042d6d21bd;p=deliverable%2Fbinutils-gdb.git diff --git a/gettext.m4 b/gettext.m4 index f3deafa61d..2c54fb8c14 100644 --- a/gettext.m4 +++ b/gettext.m4 @@ -24,7 +24,6 @@ AC_DEFUN([CY_WITH_NLS], dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then - AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested]) AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, [ --with-included-gettext use the GNU gettext library included here], @@ -156,6 +155,9 @@ AC_DEFUN([CY_WITH_NLS], AC_SUBST(INTLOBJS) AC_SUBST(POFILES) AC_SUBST(POSUB) + if test "x$CATOBJEXT" != "x"; then + AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested]) + fi ]) AC_DEFUN([CY_GNU_GETTEXT],