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 /gdb | |
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 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/configure | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a700249..acd5de0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + 2005-01-29 Baurzhan Ismagulov <ibr@radix50.net> * MAINTAINERS: Add myself to "Write After Approval". diff --git a/gdb/configure b/gdb/configure index 975c526..9eb8f97 100755 --- a/gdb/configure +++ b/gdb/configure @@ -4847,11 +4847,6 @@ echo "${ECHO_T}$USE_NLS" >&6 USE_INCLUDED_LIBINTL=no if test "$USE_NLS" = "yes"; then - -cat >>confdefs.h <<\_ACEOF -#define ENABLE_NLS 1 -_ACEOF - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 @@ -5641,6 +5636,13 @@ echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6 + if test "x$CATOBJEXT" != "x"; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_NLS 1 +_ACEOF + + fi if test "x$CATOBJEXT" != "x"; then |