[ovs-git] Open vSwitch: configure: Try to extract kernel source directory from build Makefile. (branch-1.4)

dev at openvswitch.org dev at openvswitch.org
Fri Feb 17 00:44:00 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.4 has been updated
       via  f12bbb6bd9c8f8d985bf44ad09c1ba5dfd2ebcff (commit)
      from  2c3209cab3f476244bd87327f55cb2c3f2315fd6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f12bbb6bd9c8f8d985bf44ad09c1ba5dfd2ebcff
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f12bbb6bd9c8f8d985bf44ad09c1ba5dfd2ebcff
Author: Ben Pfaff <blp at nicira.com>
		
configure: Try to extract kernel source directory from build Makefile.
		
OVS needs to inspect the headers in the kernel source directory at build
time.  Debian keeps moving the source directory relative to the build
directory and doesn't provide an obvious way to find the source directory,
so in the past we've used some name-based heuristics to essentially guess
where it is.

This commit introduces a new heuristic that I hope will be more reliable:
extracting the source directory from the Makefile in the build directory.
In Debian's case, it looks like the Makefile generally contains a line of
the form "MAKEARGS := -C <srcdir> O=<outdir>".  This commit extracts the
source directory from that line.

To avoid regressions this commit retains the older heuristics as fallbacks.

CC: 659685 at bugs.debian.org
Reported-by: Thomas Goirand <zigo at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 acinclude.m4 |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list