]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
src: Remove $(builddir) usage
authorAndrea Bolognani <abologna@redhat.com>
Fri, 9 Oct 2015 09:20:06 +0000 (11:20 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 9 Oct 2015 11:04:56 +0000 (13:04 +0200)
Commit 4e8032272f1704f7 used $(builddir) in the header search
path to fix a build issue; however, $(builddir) is not defined
by old autoconf versions such as the one available in CentOS 5,
resulting in the following error:

  cc1: error: /util: No such file or directory
  make[3]: *** [libvirt_driver_la-fdstream.lo] Error 1

Since $(builddir) is defined to always be '.', just use that
value directly instead.

src/Makefile.am

index 01e816af88d1302b680aef7fad1cbd0ef1b8dbb9..d5dd9fbf73774d64da7d540424d01c3c9404b01e 100644 (file)
@@ -31,7 +31,7 @@ INCLUDES =    -I../gnulib/lib                                 \
                -I../include                                    \
                -I$(top_srcdir)/include                         \
                -I$(srcdir)/util                                \
-               -I$(builddir)/util                              \
+               -I./util                                        \
                -DIN_LIBVIRT                                    \
                -Dabs_topbuilddir="\"$(abs_topbuilddir)\""      \
                -Dabs_topsrcdir="\"$(abs_topsrcdir)\""          \