summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-26 21:59:15 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-26 21:59:15 -0700
commitc0bc3fb7ac4f719b96257e29eaa60c2d5ed11705 (patch)
tree9a2701eac45ebe1213716da68e6151f1ff45ab3c
parentff907e90a2fe95bb234049a7a11e8e3b10d54533 (diff)
Use AC_PROG_SED to find sed to use for man pages
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 02c30d0..2a76275 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -78,7 +78,7 @@ XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
Xau.$(LIB_MAN_SUFFIX): $(srcdir)/Xau.man
- $(AM_V_GEN)sed \
+ $(AM_V_GEN)$(SED) \
-e 's/__xorgversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \
< $(srcdir)/Xau.man > Xau.$(LIB_MAN_SUFFIX)
diff --git a/configure.ac b/configure.ac
index 2fe7853..81263b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,7 @@ AC_PROG_LN_S
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_PROG_MAKE_SET
+AC_PROG_SED
PKG_CHECK_MODULES(XAU, xproto)