summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-18 21:42:44 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-06-21 12:52:16 +0100
commit2078360d59793df5f98e9d981a34f612a9c63669 (patch)
tree272a8b5f20ecd924578118092dc045d09c338f90
parent591adbea7d1bf9327453407e7175595ca9e2866f (diff)
downloadlibguestfs-2078360d59793df5f98e9d981a34f612a9c63669.tar.gz
libguestfs-2078360d59793df5f98e9d981a34f612a9c63669.tar.xz
libguestfs-2078360d59793df5f98e9d981a34f612a9c63669.zip
build: Define abs_builddir if not defined already.
This is missing on RHEL 5. This updates commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6. (cherry picked from commit bc7f1a5ef156576c069f47ea33f4977979ac032d)
-rw-r--r--gobject/docs/Makefile.am3
-rw-r--r--sysprep/Makefile.am3
-rw-r--r--tests/extra/Makefile.am3
3 files changed, 9 insertions, 0 deletions
diff --git a/gobject/docs/Makefile.am b/gobject/docs/Makefile.am
index 5aadef12..0ee8c6f9 100644
--- a/gobject/docs/Makefile.am
+++ b/gobject/docs/Makefile.am
@@ -21,6 +21,9 @@ builddir ?= .
# Old RHEL 5 autoconf doesn't have abs_srcdir.
abs_srcdir ?= $(shell cd $(top_srcdir)/gobject/docs && pwd)
+# Old RHEL 5 autoconf doesn't have abs_builddir.
+abs_builddir ?= $(shell pwd)
+
# The name of the module, e.g. 'glib'.
DOC_MODULE=guestfs
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index ef47075e..5155f3f2 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -21,6 +21,9 @@ builddir ?= .
# Old RHEL 5 autoconf doesn't have abs_srcdir.
abs_srcdir ?= $(shell cd $(top_srcdir)/sysprep && pwd)
+# Old RHEL 5 autoconf doesn't have abs_builddir.
+abs_builddir ?= $(shell pwd)
+
include $(top_srcdir)/subdir-rules.mk
EXTRA_DIST = \
diff --git a/tests/extra/Makefile.am b/tests/extra/Makefile.am
index 9bcb9881..4e56aedc 100644
--- a/tests/extra/Makefile.am
+++ b/tests/extra/Makefile.am
@@ -51,6 +51,9 @@
# Old RHEL 5 autoconf doesn't have abs_srcdir.
abs_srcdir ?= $(shell cd $(top_srcdir)/tests/extra && pwd)
+# Old RHEL 5 autoconf doesn't have abs_builddir.
+abs_builddir ?= $(shell pwd)
+
EXTRA_DIST = pick-guests.pl suppressions
VG = $(VALGRIND) \