set AWK to gawk and use it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10226 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2005-07-15 18:58:17 +00:00
parent f808947022
commit 05680d3e4f
4 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2005-07-15 <lgb@tandberg.net>
* configure.ac: set AWK to gawk and subsitute
2005-07-15 José Matos <jamatos@lyx.org>
* configure.ac: Add support for python, and add Makefile to

View File

@ -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

View File

@ -1,3 +1,7 @@
2005-07-15 <lgb@tandberg.net>
* Makefile.in.in: use AWK variable
2005-07-11 Helge Hafting <helge.hafting@aitel.hist.no>
* no.po: The branch inset name is translated, several correct

View File

@ -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);\