do not require gawk (bug 1980)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-09-13 13:53:42 +00:00
parent 087c1bf17d
commit 5c4d937af8
4 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* configure.ac: check for AWK and use --posix option if we found
gawk. (bug 1980)
2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
* configure.ac: version back to 1.4.0cvs

View File

@ -31,7 +31,8 @@ done
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_SUBST(AWK,[gawk])
AC_PROG_AWK
test "$AWK" = gawk && AWK="gawk --posix"
#AC_PROG_RANLIB
AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :)

View File

@ -1,3 +1,8 @@
2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* Makefile.in.in: when invoking awk, use POSIX regexps only.
(bug 1980)
2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
* he.po: move enum, appendix counter functionality here

View File

@ -446,8 +446,8 @@ layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*
/LabelString[A-Za-z]*/ { \
line=$$0; \
sub(/[[:space:]]*LabelString[A-Za-z]*[[:space:]]*/, "", line); \
gsub(/"/, "", line); \
gsub(/\\/, "\\\\", line); \
gsub(/\"/, "", line); \
gsub(/\/, "\\\\", line); \
if (line != "") \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
@ -455,14 +455,14 @@ layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*
/GuiName/ { \
line=$$0; \
sub(/[[:space:]]*GuiName[[:space:]]*/, "", line); \
gsub(/"/, "", line); \
gsub(/\"/, "", line); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
} \
/ListName/ { \
line=$$0; \
sub(/[[:space:]]*ListName[[:space:]]*/, "", line); \
gsub(/"/, "", line); \
gsub(/\"/, "", line); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
}' \