configure: move SHAVE_INIT behind all checks
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 6 Jan 2010 18:50:43 +0000 (18:50 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 6 Jan 2010 18:50:43 +0000 (18:50 +0000)
commit9a4f0d8ca31af2b48313d19b2dc67a5bea5c50f6
tree6633b7f0d3cefbbea2358fd6c7c6028ad076fcb8
parent9f99d056a263e71a5e6181224829def906cf0226
configure: move SHAVE_INIT behind all checks

Move SHAVE_INIT behind all other checks, in particular AG_GST_CHECK_CHECKS.
This should fix problems with header checking and checking for localtime_r,
which causes compilation errors with clean checkouts where common/shave has
not been created yet when those checks are run. It seems like SHAVE_INIT
changes the environment so that checks depending on a compiler need shave
to exist at that point, which will fail if AC_OUTPUT hasn't created it yet.

Fixes #605930.
configure.ac