diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2006-06-13 08:02:20 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2006-06-13 08:02:20 +0000 |
commit | 44ef17d08204423a0e458d1b0ea2b7ba9bcf5b85 (patch) | |
tree | 66183ea52dc6dfb743037e96a96f5feaf15dba8f /config/gettext-sister.m4 | |
parent | 8155f0a0955a9fd94b74f666dfb17be438288939 (diff) | |
download | gdb-44ef17d08204423a0e458d1b0ea2b7ba9bcf5b85.zip gdb-44ef17d08204423a0e458d1b0ea2b7ba9bcf5b85.tar.gz gdb-44ef17d08204423a0e458d1b0ea2b7ba9bcf5b85.tar.bz2 |
Richard Earnshaw <rearnsha@arm.com>
Alexandre Oliva <aoliva@redhat.com>
* (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
argument for where to search for NLS config file.
Diffstat (limited to 'config/gettext-sister.m4')
-rw-r--r-- | config/gettext-sister.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/gettext-sister.m4 b/config/gettext-sister.m4 index 700d31f..e8e6b66 100644 --- a/config/gettext-sister.m4 +++ b/config/gettext-sister.m4 @@ -19,8 +19,9 @@ INCINTL= AC_SUBST(INCINTL) XGETTEXT= AC_SUBST(XGETTEXT) GMSGFMT= AC_SUBST(GMSGFMT) POSUB= AC_SUBST(POSUB) -if test -f ../intl/config.intl; then - . ../intl/config.intl + +if test -f ifelse([$1],,[../intl],[$1])/config.intl; then + . ifelse([$1],,[../intl],[$1])/config.intl fi AC_MSG_CHECKING([whether NLS is requested]) if test x"$USE_NLS" != xyes; then |