diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-24 20:01:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-24 20:01:09 +0000 |
commit | 45181ed16d3a823fbd73ee23d94833f5aa906b98 (patch) | |
tree | bbfa76549d5dc7f30ea31e624e7975f616c97cdf /gettext.m4 | |
parent | 7fe1cadb0579e90acfe352ceb4f2e7fef5a786c1 (diff) | |
download | gdb-45181ed16d3a823fbd73ee23d94833f5aa906b98.zip gdb-45181ed16d3a823fbd73ee23d94833f5aa906b98.tar.gz gdb-45181ed16d3a823fbd73ee23d94833f5aa906b98.tar.bz2 |
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only fall back to ../intl/ when it's present.
Diffstat (limited to 'gettext.m4')
-rw-r--r-- | gettext.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -81,9 +81,9 @@ AC_DEFUN([CY_WITH_NLS], dnl In the standard gettext, we would now check for catgets. dnl However, we never want to use catgets for our releases. - if test "$CATOBJEXT" = "NONE"; then - dnl Neither gettext nor catgets in included in the C library. - dnl Fall back on GNU gettext library. + if test "$CATOBJEXT" = "NONE" && 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 |