Search for the Linux version in the correct header
authorRuss Allbery <rra@stanford.edu>
Tue, 7 Jul 2009 00:19:26 +0000 (17:19 -0700)
committerDerrick Brashear <shadow@dementia.org>
Tue, 7 Jul 2009 13:14:58 +0000 (07:14 -0600)
commitecd3fc42d1d6dca23bb2e2728a0066d3db8eceb6
treecc702a9dfcc9e6d8982b2e265b540ab88b94c02a
parent002363adb9526f4c0bc2937b0b6589fae0e5334e
Search for the Linux version in the correct header

src/config/linux-version already had support for handling either versioned
or unversioned kernel source directories, but the grep for UTS_RELEASE
was unconditionally done against the versioned source tree, ignoring the
previous determination of where the header file was.

Instead, check instead the header file location that we'd previously
determined.

This patch has been tested in the Debian OpenAFS 1.4.11~pre3+dfsg-1
package.

Reviewed-on: http://gerrit.openafs.org/4
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/config/linux-version