Add configure flag to disable multi-os-directory support
authorCarl Perry <caperry@edolnx.net>
Fri, 30 Oct 2015 03:50:42 +0000 (22:50 -0500)
committerCarl Perry <caperry@edolnx.net>
Fri, 30 Oct 2015 03:50:42 +0000 (22:50 -0500)
commit877ea9bf9ac2c98cb858c12f5a6aeeec13cf978f
treeb6b7aecab889dff2d1d58f4390cca1fcba7b2668
parente9de7e35f2339598b16cbb375f9992643ed81209
Add configure flag to disable multi-os-directory support

In some environments, installing the library to GCC's
multi-os-directory is not perferable. This patch adds a switch
to configure "--disable-multi-os-directory" which will disable
that check, typically falling back to ${libdir} unless
cross-compiling.

Original patch was written by Stewart Brodie, and was found at
https://sourceware.org/ml/libffi-discuss/2013/msg00144.html

I've just updated it to work with the current version.
configure.ac