diff options
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 12 |
1 files changed, 7 insertions, 5 deletions
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 |