From d2749460d8f5e3b26011be6b0ba3fcc12cb9f54a Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 13 Jun 2006 08:02:20 +0000 Subject: Richard Earnshaw Alexandre Oliva * (ZW_GNU_GETTEXT_SISTER_DIR): Add optional argument for where to search for NLS config file. --- config/ChangeLog | 6 ++++++ config/gettext-sister.m4 | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/ChangeLog b/config/ChangeLog index 012fd5c676a..d5e0440ca9b 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,9 @@ +2006-06-13 Richard Earnshaw + Alexandre Oliva + + * (ZW_GNU_GETTEXT_SISTER_DIR): Add optional + argument for where to search for NLS config file. + 2006-05-31 Daniel Jacobowitz * gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Provide some diff --git a/config/gettext-sister.m4 b/config/gettext-sister.m4 index 700d31fcf87..e8e6b668416 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 -- cgit v1.2.1