diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-18 22:21:05 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-18 23:00:43 +0100 |
commit | 489da3ccdf96e995d3f53fe68eced37b16baa1d2 (patch) | |
tree | 0d40bbfa4f2fd32d24b6f9f4a744e04af3ecd898 | |
parent | bc7f1a5ef156576c069f47ea33f4977979ac032d (diff) | |
download | libguestfs-489da3ccdf96e995d3f53fe68eced37b16baa1d2.tar.gz libguestfs-489da3ccdf96e995d3f53fe68eced37b16baa1d2.tar.xz libguestfs-489da3ccdf96e995d3f53fe68eced37b16baa1d2.zip |
build: Workaround for AC_PROG_SED not existing.
This didn't exist on ancient autoconf in RHEL 5.
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 99330806..6a011f3d 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 |