From 05680d3e4fa9b80c48e099be3787a8cb0df45264 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Fri, 15 Jul 2005 18:58:17 +0000 Subject: [PATCH] set AWK to gawk and use it git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10226 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 4 ++++ configure.ac | 3 +++ po/ChangeLog | 4 ++++ po/Makefile.in.in | 12 +++++++----- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 219c0b78d1..4baf693d37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-07-15 + + * configure.ac: set AWK to gawk and subsitute + 2005-07-15 José Matos * configure.ac: Add support for python, and add Makefile to diff --git a/configure.ac b/configure.ac index 8e3de3d27a..2b048dea12 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,9 @@ done ### Check for programs AC_PROG_MAKE_SET AC_PROG_INSTALL + +AC_SUBST(AWK,[gawk]) + #AC_PROG_RANLIB AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :) if test "x$KPSEWHICH" = xkpsewhich ; then diff --git a/po/ChangeLog b/po/ChangeLog index 620cfec0eb..7d0d2f8aff 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2005-07-15 + + * Makefile.in.in: use AWK variable + 2005-07-11 Helge Hafting * no.po: The branch inset name is translated, several correct diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 54ceb168c2..b2795cab81 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -31,6 +31,8 @@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = @MKINSTALLDIRS@ mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) +AWK = @AWK@ + GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ @@ -377,7 +379,7 @@ l10n_pots: xforms_l10n.pot qt_l10n.pot layouts_l10n.pot languages_l10n.pot ui_l1 xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd LC_ALL=C ; export LC_ALL ; \ - awk -v top_srcdir="$(top_srcdir)" ' \ + $(AWK) -v top_srcdir="$(top_srcdir)" ' \ function fixupfilename() \ {\ return substr(FILENAME, length(top_srcdir "/") + 1);\ @@ -406,7 +408,7 @@ xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui LC_ALL=C ; export LC_ALL ; \ - awk -v top_srcdir="$(top_srcdir)" ' \ + $(AWK) -v top_srcdir="$(top_srcdir)" ' \ function fixupfilename() \ {\ return substr(FILENAME, length(top_srcdir "/") + 1);\ @@ -428,7 +430,7 @@ qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*.inc LC_ALL=C ; export LC_ALL ; \ - awk -v top_srcdir="$(top_srcdir)" ' \ + $(AWK) -v top_srcdir="$(top_srcdir)" ' \ function fixupfilename() \ {\ return substr(FILENAME, length(top_srcdir "/") + 1);\ @@ -467,7 +469,7 @@ layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/* ${top_srcdir}/lib/layouts/*.layout ${top_srcdir}/lib/layouts/*.inc > $@ languages_l10n.pot: $(top_srcdir)/lib/languages - awk -v top_srcdir="$(top_srcdir)" ' \ + $(AWK) -v top_srcdir="$(top_srcdir)" ' \ function fixupfilename() \ {\ return substr(FILENAME, length(top_srcdir "/") + 1);\ @@ -486,7 +488,7 @@ languages_l10n.pot: $(top_srcdir)/lib/languages ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui LC_ALL=C ; export LC_ALL ; \ - awk -v top_srcdir="$(top_srcdir)" ' \ + $(AWK) -v top_srcdir="$(top_srcdir)" ' \ function fixupfilename() \ {\ return substr(FILENAME, length(top_srcdir "/") + 1);\ -- 2.39.5