[PATCH xinput 1/2] man: Use AC_PROG_SED to find sed

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Thu Apr 1 22:30:48 PDT 2010


From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
 configure.ac    |    1 +
 man/Makefile.am |    4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 32facc7..c50b7b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,7 @@ AM_CONFIG_HEADER(config.h)
 
 AC_PROG_CC
 AC_PROG_INSTALL
+AC_PROG_SED
 
 
 # Checks for pkg-config packages
diff --git a/man/Makefile.am b/man/Makefile.am
index db77de2..7902ff7 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -27,8 +27,6 @@ appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
 EXTRA_DIST = $(appman_PRE)
 CLEANFILES = $(appman_DATA)
 
-SED = sed
-
 # Strings to replace in man pages
 XORGRELSTRING = @PACKAGE_STRING@
   XORGMANNAME = X Version 11
@@ -49,5 +47,5 @@ MAN_SUBSTS = \
 SUFFIXES = .$(APP_MAN_SUFFIX) .man
 
 .man.$(APP_MAN_SUFFIX):
-	sed $(MAN_SUBSTS) < $< > $@
+	$(SED) $(MAN_SUBSTS) < $< > $@
 
-- 
1.6.6.1



More information about the xorg-devel mailing list