summaryrefslogtreecommitdiff
path: root/gprof/configure
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-31 20:32:45 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-31 20:32:45 +0000
commit4b150a9452f1536385f9a99e1c2898792742193a (patch)
treef1f60a2c9a0c53f96f7f6db5c8f2eb5a319041ca /gprof/configure
parentd6b5f153179eda1863e93ee2d229d16aa999764a (diff)
downloadbinutils-redhat-4b150a9452f1536385f9a99e1c2898792742193a.tar.gz
2005-01-31 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only set ENABLE_NLS when gettext is present.
Diffstat (limited to 'gprof/configure')
-rwxr-xr-xgprof/configure12
1 files changed, 7 insertions, 5 deletions
diff --git a/gprof/configure b/gprof/configure
index 3ab41ec9c3..70bb404b6f 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