diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-17 22:59:46 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-21 13:13:36 +0100 |
commit | 3d48d4cd81a3cf4e54d2e3de63555707a4dbd3c3 (patch) | |
tree | 8f24f70bf516b9870ecbbe3f58a8099574a1625e /src/inspect_fs_unix.c | |
parent | 2e219394d67030a6d0a7d6920ad1e19722b2d967 (diff) | |
download | libguestfs-3d48d4cd81a3cf4e54d2e3de63555707a4dbd3c3.tar.gz libguestfs-3d48d4cd81a3cf4e54d2e3de63555707a4dbd3c3.tar.xz libguestfs-3d48d4cd81a3cf4e54d2e3de63555707a4dbd3c3.zip |
build: Define builddir and abs_srcdir when they are missing.
RHEL 5-era autoconf did not define these, so define them manually
when they are missing.
Define builddir as '.' The scripts require this. It won't work
in the srcdir != builddir case, but we don't care about that for
RHEL 5.
This commit also moves the builddir / abs_srcdir variable setting
above the include of subdir-rules.mk, in case that include uses
these variables.
Useful script:
for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do
if ! grep -q '^abs_srcdir' $f; then
echo missing in $f
fi
done
(cherry picked from commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6)
Diffstat (limited to 'src/inspect_fs_unix.c')
0 files changed, 0 insertions, 0 deletions