Revert "configure: Fix --enable-XX-bit flags by moving LT_INIT where it should"
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 13 Aug 2014 16:55:39 +0000 (17:55 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 Aug 2014 14:36:49 +0000 (15:36 +0100)
commit957a28e63c8a205d01c48cb8fa03c3c1abe4b499
treec085e53aa6f61883d9851312b22b4b90eb32f0df
parent2c50212b14da27de4e3da62488ae4e35c069d84e
Revert "configure: Fix --enable-XX-bit flags by moving LT_INIT where it should"

This reverts commit 2af28040d639dddbb7c258981a00eaf3dfcbcf03.

The commit was resolving an issue where libtool will not setup the
environment correctly when one explicitly provides --enable-{32,64}-bit
at configure time. It was caused due to the "-m32,64" C{,XX}FLAGS being
set too late relative to LT_INIT.

At the same time this cases the enable_static to be incorrectly set,
amongst others leading to build issues. Rather than being smart and
trying to handle 32/64 bit build ourselves it may be better to delegate
it to the builder/maintainer. The latter should now know better which is
the correct(most appropriate) method.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82536
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82546
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
configure.ac