HomeFreeBSD

Ensure --with-spl-timeout waits for spl_config.h and symvers

Description

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

Details

Provenance
Carlos Alberto Lopez Perez <clopez@igalia.com>Authored on Apr 27 2013, 6:18 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 2 2013, 10:40 PM
Parents
rGa4914d38a794: Silence 'old_umask' uninit variable warning
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG5165473737e4: Ensure --with-spl-timeout waits for spl_config.h and symvers (authored by Carlos Alberto Lopez Perez <clopez@igalia.com>).May 2 2013, 10:40 PM