From c0bc3fb7ac4f719b96257e29eaa60c2d5ed11705 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 26 May 2010 21:59:15 -0700 Subject: Use AC_PROG_SED to find sed to use for man pages Signed-off-by: Alan Coopersmith --- Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3