configure: Fix --enable-XX-bit flags by moving LT_INIT where it should
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Sat, 23 Nov 2013 01:06:20 +0000 (20:06 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 22:36:06 +0000 (23:36 +0100)
commit2af28040d639dddbb7c258981a00eaf3dfcbcf03
tree57fc60bf9a42c367ec9199fb8dc713f4d0986154
parent469416f988bcd471fb6058cdfb5ffebe840545da
configure: Fix --enable-XX-bit flags by moving LT_INIT where it should

Moving LT_INIT after setting completely (AM_)C(XX)FLAGS and LDFLAGS.
LT_INIT needs them as they are expected to be used all along
the compilation when the macro runs its tests to determine among other
things the host type.

For info, see http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50754
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Tested-by: Tapani Palli <lemody@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac