Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2006-06-13 12:02:20 +0400
committerRichard Earnshaw <rearnsha@arm.com>2006-06-13 12:02:20 +0400
commitb44733c1c7151da4b774ce2a4728f19a15c50270 (patch)
tree78a10229aac4423abffc9d4e736a9a9688fdef90 /config/gettext-sister.m4
parenta4c5a5dc71f7f545137dd26565484d573ac7d2ba (diff)
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.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/config/gettext-sister.m4 b/config/gettext-sister.m4
index 700d31fcf..e8e6b6684 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