Richard Earnshaw <rearnsha@arm.com>
authorRichard Earnshaw <richard.earnshaw@arm.com>
Tue, 13 Jun 2006 08:02:20 +0000 (08:02 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Tue, 13 Jun 2006 08:02:20 +0000 (08:02 +0000)
Alexandre Oliva <aoliva@redhat.com>

* (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
argument for where to search for NLS config file.

config/ChangeLog
config/gettext-sister.m4

index 012fd5c676ae60332422bf014e2ee3318d14387d..d5e0440ca9be6901e0d5608f51a572bc5427187e 100644 (file)
@@ -1,3 +1,9 @@
+2006-06-13  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.
+
 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Provide some
index 700d31fcf877fd97284867484425aafaedc70bb5..e8e6b668416ba2347b580b1dc34dc4fd53f101b1 100644 (file)
@@ -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
This page took 0.031338 seconds and 4 git commands to generate.