diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-31 20:32:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-31 20:32:45 +0000 |
commit | c46f8c5116f1207b4675c247287b5020f4bae1d1 (patch) | |
tree | 289068a7faa62da4afca9d11518d7d04a2d9fef8 /gettext.m4 | |
parent | 5cd3778de9c6505cbc54a3e6368d7d325a6b907b (diff) | |
download | gdb-c46f8c5116f1207b4675c247287b5020f4bae1d1.zip gdb-c46f8c5116f1207b4675c247287b5020f4bae1d1.tar.gz gdb-c46f8c5116f1207b4675c247287b5020f4bae1d1.tar.bz2 |
2005-01-31 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only set ENABLE_NLS when gettext is present.
Diffstat (limited to 'gettext.m4')
-rw-r--r-- | gettext.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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], |