zfsonlinux/zfs — pull request #1431 by clopez (2013-04-27 18:21:30+00:00)
Title: Ensure that --with-spl-timeout waits for both SPL spl_config.h and symvers files

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.