[cheese/gnome-3-14] Use AC_PROG_SED in configure.ac



commit 3a21ac4f1a83ffa99956a199240ff68261bf4af1
Author: David King <amigadave amigadave com>
Date:   Sat Oct 25 11:29:49 2014 +0100

    Use AC_PROG_SED in configure.ac

 Makefile.am  |    2 +-
 configure.ac |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c0f6950..469e3a4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -463,7 +463,7 @@ test-report perf-report full-report: $(check_PROGRAMS)
          echo '  <version>$(PACKAGE_VERSION)</version>' >> $  xml ; \
          echo "  <revision>$$REVISION</revision>" >> $  xml ; \
          echo '</info>' >> $  xml ; \
-         sed '1,1s/^<?xml\b[^>?]*?>//' < test-log.xml >> $  xml ; \
+         $(SED) '1,1s/^<?xml\b[^>?]*?>//' < test-log.xml >> $  xml ; \
          rm test-log.xml ; \
          echo >> $  xml ; \
          echo '</report-collection>' >> $  xml ; \
diff --git a/configure.ac b/configure.ac
index c9dd790..b32be22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ AM_SILENT_RULES([yes])
 # Check for programs
 AC_PROG_CC
 AM_PROG_CC_C_O
+AC_PROG_SED
 AM_PROG_VALAC([0.25.2])
 
 # Initialize libtool


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]