summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-18 00:32:38 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-18 01:01:11 +0200
commit4eebf4bc653a04f7e8c787bc7e8567cf507d6fbe (patch)
tree7220e00d9288945b0ad3feeac849823602fbfa94
parent2bc4450aae4aa6d6644c3c0e7fd9612d9301fb22 (diff)
Define SED var without requiring AC_PROG_SED
AC_PROG_SED was introduced in autoconf-2.59b from 2004-08-20, but radeonhd wants to be compatible with autoconf-2.57 (from 2002-12-03 :-), so we cannot require AC_PROG_SED and need a fallback option. Fixes the build problems commit 4134177e had on some systems.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9ab04b4..e73b9d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,8 @@ AM_MAINTAINER_MODE
# Program checks.
AC_DISABLE_STATIC
AC_PROG_CC
+dnl Define SED var without requiring AC_PROG_SED (new in autoconf-2.59b)
+m4_ifdef([AC_PROG_SED], [AC_PROG_SED], [AC_SUBST([SED], [${SED-sed}])])
CXX=no
F77=no
AC_PROG_LIBTOOL