diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-31 20:30:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-31 20:30:37 +0000 |
commit | b1e9db255a908d27c195571e0f2f69bc5a835145 (patch) | |
tree | 4ca4829ec6379fc710dfb777c2e6e96b1d952a6e /bfd | |
parent | af79c5a259e9c383d5b5fc3ca2ebdadd1f863187 (diff) | |
download | gdb-b1e9db255a908d27c195571e0f2f69bc5a835145.tar.gz |
2005-01-31 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only set ENABLE_NLS when gettext is present.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rwxr-xr-x | bfd/configure | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f8b51e1306e..b0f0666a6ed 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2005-01-31 Andrew Cagney <cagney@gnu.org> + + * configure: Regenerate to track ../gettext.m4. + 2005-01-31 Mark Mitchell <mark@codesourcery.com> * elf32-arm.c (elf32_arm_symbian_special_sections): Do not set diff --git a/bfd/configure b/bfd/configure index b9612487087..3d34ebaef07 100755 --- a/bfd/configure +++ b/bfd/configure @@ -7241,11 +7241,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 @@ -8035,6 +8030,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 |