[PATCH imake 2/4] Use AC_PROG_SED to find sed
Yaakov (Cygwin/X)
yselkowitz at users.sourceforge.net
Tue Apr 27 17:40:53 PDT 2010
From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
AC_PROG_SED 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).
Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
Makefile.am | 2 --
configure.ac | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index d7048a3..8f09364 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -130,8 +130,6 @@ appman_DATA = $(bin_PROGRAMS:%$(EXEEXT)=%. at APP_MAN_SUFFIX@) $(bin_SCRIPTS:%=%. at A
EXTRA_DIST += $(appman_PRE)
CLEANFILES += $(appman_DATA)
-SED = sed
-
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
diff --git a/configure.ac b/configure.ac
index 78722d9..ff613f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_CPP
-AC_PATH_PROG(SED, sed)
+AC_PROG_SED
XORG_PROG_RAWCPP
CPP_PROGRAM=${RAWCPP}
AC_SUBST(CPP_PROGRAM)
--
1.7.0.4
More information about the xorg-devel
mailing list