From: Jiri Denemark Date: Fri, 14 Mar 2014 10:35:46 +0000 (+0100) Subject: build: Fix build with old automake X-Git-Tag: v1.2.3-rc1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aef4d96e0de299ea313a92c062402a0418331ba;p=thirdparty%2Flibvirt.git build: Fix build with old automake Ancient automake (such as from RHEL5) does not provide abs_srcdir and abs_builddir variables which are used by a recent commit of mine (e562e82). Signed-off-by: Jiri Denemark --- diff --git a/src/Makefile.am b/src/Makefile.am index 2eb7840db7..5ff178bc12 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,6 +16,10 @@ ## License along with this library. If not, see ## . +# old automake does not provide abs_{src,build}dir variables +abs_builddir = $(shell pwd) +abs_srcdir = $(shell cd $(srcdir) && pwd) + # No libraries with the exception of LIBXML should be listed # here. List them against the individual XXX_la_CFLAGS targets # that actually use them. Also keep GETTEXT_CPPFLAGS at the end.