diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-18 21:42:44 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-18 21:45:13 +0100 |
commit | bc7f1a5ef156576c069f47ea33f4977979ac032d (patch) | |
tree | 6f5d22e562d7ca870354e4bf8e34dc200028a247 | |
parent | baee3f52ef1c4018f6b19a805a5c9ed01cf8ce73 (diff) | |
download | libguestfs-bc7f1a5ef156576c069f47ea33f4977979ac032d.tar.gz libguestfs-bc7f1a5ef156576c069f47ea33f4977979ac032d.tar.xz libguestfs-bc7f1a5ef156576c069f47ea33f4977979ac032d.zip |
build: Define abs_builddir if not defined already.
This is missing on RHEL 5.
This updates commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6.
-rw-r--r-- | gobject/docs/Makefile.am | 3 | ||||
-rw-r--r-- | sysprep/Makefile.am | 3 | ||||
-rw-r--r-- | tests/extra/Makefile.am | 3 |
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 6fd2b87b..be233a91 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) \ |