summaryrefslogtreecommitdiff
path: root/m4/gettext.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-03-13 05:17:50 +0000
committerJim Meyering <jim@meyering.net>1997-03-13 05:17:50 +0000
commitc230f7db00ee9926147d179826545697e06f2065 (patch)
treeda78a2f7f1128bea149d8bfaa705c0043ca21923 /m4/gettext.m4
parent5ed7bf6069bf4888e1abfe58f86d0843db06f462 (diff)
downloadcoreutils-c230f7db00ee9926147d179826545697e06f2065.tar.xz
Update from gettext-0.10.27.
Diffstat (limited to 'm4/gettext.m4')
-rw-r--r--m4/gettext.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index d3b86ec0f..555431f2e 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -1,7 +1,7 @@
# Macro to add for using GNU gettext.
# Ulrich Drepper <drepper@cygnus.com>, 1995.
-# serial 1
+# serial 2
AC_DEFUN(AM_WITH_NLS,
[AC_MSG_CHECKING([whether NLS is requested])
@@ -184,7 +184,7 @@ AC_DEFUN(AM_WITH_NLS,
AC_DEFUN(AM_GNU_GETTEXT,
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([AC_ISC_POSIX])dnl
AC_REQUIRE([AC_HEADER_STDC])dnl
AC_REQUIRE([AC_C_CONST])dnl
AC_REQUIRE([AC_C_INLINE])dnl
@@ -269,6 +269,10 @@ __argz_count __argz_stringify __argz_next])
fi
AC_SUBST(MKINSTALLDIRS)
+ dnl *** For now the libtool support in intl/Makefile is not for real.
+ l=
+ AC_SUBST(l)
+
dnl Generate list of files to be processed by xgettext which will
dnl be included in po/Makefile.
test -d po || mkdir po
@@ -281,6 +285,8 @@ __argz_count __argz_stringify __argz_next])
else
posrcprefix="../"
fi
+ rm -f po/POTFILES
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
< $srcdir/po/POTFILES.in > po/POTFILES
+ chmod a-w po/POTFILES
])