From d8019131738cd13f56f2b1ac5770b0992d6aea84 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 18 Jun 2012 22:21:05 +0100 Subject: build: Workaround for AC_PROG_SED not existing. This didn't exist on ancient autoconf in RHEL 5. (cherry picked from commit 489da3ccdf96e995d3f53fe68eced37b16baa1d2) --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6a666112..3ed696c6 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,13 @@ gl_INIT AC_PROG_LIBTOOL -AC_PROG_SED +# Define $(SED). +m4_ifdef([AC_PROG_SED],[ + AC_PROG_SED +],[ + dnl ... else hope for the best + AC_SUBST([SED], "sed") +]) dnl Check for basic C environment. AC_PROG_CC_STDC -- cgit