Verify --with-linux source directory exists
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Nov 2012 04:19:25 +0000 (20:19 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 29 Nov 2012 23:08:35 +0000 (15:08 -0800)
commit56a517ae3ab9b2d848a5e671d276396970ed4718
tree829ca292aa9d0aac8e901a3d38e169ee53db9fb8
parent38b344d22a80a173e50ab992f81b57b872e6da7c
Verify --with-linux source directory exists

Previously this check was only performed when ./configure was
attempting to autodetect your kernel source directory.  But we
should also handle the case where --with-linux was provided
and is obviously wrong.  This way we catch the error before
invoking make and compiling the source with an incorrect
autoconf results.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes zfsonlinux/spl#162
config/kernel.m4