From c46f8c5116f1207b4675c247287b5020f4bae1d1 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 31 Jan 2005 20:32:45 +0000 Subject: 2005-01-31 Andrew Cagney * gettext.m4: Only set ENABLE_NLS when gettext is present. --- gprof/ChangeLog | 4 ++++ gprof/configure | 12 +++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'gprof') diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 36ad792..e5b9820 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +2005-01-31 Andrew Cagney + + * configure: Regenerate to track ../gettext.m4. + 2005-01-31 Nick Clifton * po/vi/po: New file: Vietnamese translation. diff --git a/gprof/configure b/gprof/configure index 3ab41ec..70bb404 100755 --- a/gprof/configure +++ b/gprof/configure @@ -7095,11 +7095,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 @@ -7889,6 +7884,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 -- cgit v1.1