]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Don't define abs_* variables ourselves
authorAndrea Bolognani <abologna@redhat.com>
Tue, 12 Mar 2019 15:33:05 +0000 (16:33 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 14 Mar 2019 09:05:32 +0000 (10:05 +0100)
Apparently this was necessary in the past because old versions
of autoconf/automake didn't make them available, but these
days all of the platforms we target include recent enough
autotools - as evidenced by the fact that, for example, we
already use abs_top_srcdir in tools/ despite the fact that
tools/Makefile.am is missing the same boilerplate.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/Makefile.am
tests/Makefile.am

index 0d3d2318895a09631d335d556d643f97b5817104..4294bd1c6c68c543b53ebaa1ba3a6490f2e05094 100644 (file)
 ## License along with this library.  If not, see
 ## <http://www.gnu.org/licenses/>.
 
-# old automake does not provide abs_{src,build}dir variables
-abs_builddir = $(shell pwd)
-abs_top_builddir = $(shell cd .. && pwd)
-abs_srcdir = $(shell cd $(srcdir) && pwd)
-abs_top_srcdir = $(shell cd $(top_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.
index 858ed047e8124f612bf95205fa52256f9f363b95..7ce327c9e8ea3d4591a172594bbab7c5965b6776 100644 (file)
 ## License along with this library.  If not, see
 ## <http://www.gnu.org/licenses/>.
 
-# old automake does not provide abs_{src,build}dir variables
-abs_builddir = $(shell pwd)
-abs_top_builddir = $(shell cd .. && pwd)
-abs_srcdir = $(shell cd $(srcdir) && pwd)
-abs_top_srcdir = $(shell cd $(top_srcdir) && pwd)
-
 SHELL = $(PREFERABLY_POSIX_SHELL)
 
 AM_CPPFLAGS = \