summaryrefslogtreecommitdiff
path: root/config/gettext-sister.m4
diff options
context:
space:
mode:
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 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