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

dev at openvswitch.org dev at openvswitch.org
Fri Feb 17 00:44:18 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.2 has been updated
       via  bec1d0603df9af3145c520bbd18b024b7d00af59 (commit)
      from  93d1f7f44eedee39bd6a86c240b9ae692eda570e (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 bec1d0603df9af3145c520bbd18b024b7d00af59
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bec1d0603df9af3145c520bbd18b024b7d00af59
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