Respect value of SED from configure

We now use libtool, which calls AC_PROG_SED and sets SED as the path to
a fully-functional 'sed' (which may also be called 'gsed' if GNU sed is
installed alongside a proprietary version).  Therefore we should respect
the value of SED so we are sure to use the correct one.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
Yaakov Selkowitz 2010-03-17 13:33:39 -05:00
parent 5e00f464c5
commit 9be4157391
3 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,6 @@
# Rules for generating files using the C pre-processor # Rules for generating files using the C pre-processor
# (Replaces CppFileTarget from Imake) # (Replaces CppFileTarget from Imake)
SED = sed
SUFFIXES = .pre .man .man.pre SUFFIXES = .pre .man .man.pre
# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM # Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM

View File

@ -109,7 +109,7 @@ MAN_SUBSTS = \
SUFFIXES = .$(APP_MAN_SUFFIX) .man SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX): .man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@ $(SED) $(MAN_SUBSTS) < $< > $@
EXTRA_DIST = $(appman_PRE) EXTRA_DIST = $(appman_PRE)

View File

@ -69,7 +69,7 @@ XORGRELSTRING = @PACKAGE_STRING@
MAN_SUBSTS = -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' MAN_SUBSTS = -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|'
.man.$(APP_MAN_SUFFIX): .man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@ $(SED) $(MAN_SUBSTS) < $< > $@
EXTRA_DIST = \ EXTRA_DIST = \
$(appman_PRE) \ $(appman_PRE) \