Ensure --with-spl-timeout waits for spl_config.h and symvers
authorCarlos Alberto Lopez Perez <clopez@igalia.com>
Sat, 27 Apr 2013 18:18:11 +0000 (20:18 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 2 May 2013 22:40:44 +0000 (15:40 -0700)
commit5165473737e488447edfe25209c68704e08b3a2d
tree737df0e49bea4b7d2781d90fe14cb3d1c514f1e8
parenta4914d38a794915c774670307d6f61480eba2046
Ensure --with-spl-timeout waits for spl_config.h and symvers

The previous code was only waiting for the symver file. But the
postinst target of the DKMS script for SPL will not only create
the symvers file, but also the header spl_config.h.

If we are waiting in the configure script of ZFS for the SPL
symvers file, then we also need to wait for spl_config.h.
Otherwise the configure script will abort because the spl_config.h
is not yet available.

On top of that, the function ZFS_AC_SPL_MODULE_SYMVERS is moved
to the end of the function ZFS_AC_SPL to allow both checks share
the with-spl-timeout parameter.

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