Add '--with-spl-timeout' option
authorPrakash Surya <surya1@llnl.gov>
Wed, 8 Aug 2012 00:07:55 +0000 (17:07 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 8 Aug 2012 22:20:55 +0000 (15:20 -0700)
commit5085d55817f67e2333366e517c6cc7a6fdda50f7
tree35c711bac298253db373ccb47f7eb712c8128ef0
parentd96eb2b1538db13ee7a716ec0e1162f5735edc12
Add '--with-spl-timeout' option

When checking for the SPL Module.symvers file, a timeout can now be
passed in which will pause the configure step while it waits for this
file to be generated. By default, the configure behavior is unchanged as
a timeout of 0 is used. If a positive number of seconds is passed,
configure will wait that number of seconds for the Module.symvers file
before moving on.

The main motivation for this change was to support parallel execution of
'./configure && make' for the SPL and ZFS packages in preparation of
supporting DKMS based packages.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/kernel.m4
configure