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

dev at openvswitch.org dev at openvswitch.org
Fri Feb 17 00:43:30 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, master has been updated
       via  fe0731b10011075ab40960e13eb2ae5f39771e90 (commit)
      from  2c999774c1758ebdb138bb73e89e8de01f134d26 (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 fe0731b10011075ab40960e13eb2ae5f39771e90
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fe0731b10011075ab40960e13eb2ae5f39771e90
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