summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
Diffstat (limited to 'php')
-rw-r--r--php/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/php/Makefile.am b/php/Makefile.am
index 7652b66e..220f13a9 100644
--- a/php/Makefile.am
+++ b/php/Makefile.am
@@ -17,6 +17,9 @@
include $(top_srcdir)/subdir-rules.mk
+# Old RHEL 5 autoconf doesn't have abs_srcdir.
+abs_srcdir ?= $(shell cd $(top_srcdir)/php && pwd)
+
generator_built = \
extension/php_guestfs_php.h \
extension/guestfs_php.c