aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-27 15:24:10 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-27 15:24:10 +0000
commite80937925fd99e09392fe3f76e4cce1b1b42105f (patch)
treec0c9df386cf14ee08304604f2e0e0374c0ea8d60 /gprof
parenta53bf5062454ed1308388b951b461a042d6d21bd (diff)
downloadgdb-e80937925fd99e09392fe3f76e4cce1b1b42105f.zip
gdb-e80937925fd99e09392fe3f76e4cce1b1b42105f.tar.gz
gdb-e80937925fd99e09392fe3f76e4cce1b1b42105f.tar.bz2
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rwxr-xr-xgprof/configure8
2 files changed, 9 insertions, 3 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index c1c74a5..7cad2a3 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-27 Andrew Cagney <cagney@gnu.org>
+
+ * configure: Regenerate to track ../gettext.m4 change.
+
2005-01-21 Ben Elliston <bje@au.ibm.com>
* gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.
diff --git a/gprof/configure b/gprof/configure
index 112aa5f..e772159 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -7117,7 +7117,7 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
nls_cv_header_intl=
nls_cv_header_libgt=
- CATOBJEXT=NONE
+ CATOBJEXT=
if test "${ac_cv_header_libintl_h+set}" = set; then
echo "$as_me:$LINENO: checking for libintl.h" >&5
@@ -7715,8 +7715,10 @@ fi
- if test "$CATOBJEXT" = "NONE"; then
- nls_cv_use_gnu_gettext=yes
+ if test x"$CATOBJEXT" = x && test -d $srcdir/../intl; then
+ # Neither gettext nor catgets in included in the C library.
+ # Fall back on GNU gettext library (assuming it is present).
+ nls_cv_use_gnu_gettext=yes
fi
fi