This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use $CFLAGS to calculate multi_os_directory in configure.ac.


On 03/03/14 15:34, Dominik Vogt wrote:
> On Mon, Mar 03, 2014 at 03:02:47PM +0200, Samuli Suominen wrote:
>> On 03/03/14 14:56, Dominik Vogt wrote:
>>> While we're talking about installations paths:  "make istall"
>>> should really install ffi.h to <prefix>/include/libffi... and not
>>> to <prefix>/lib/libffi.../include.  It doen't respect --installdir=
>>> either.
>> The headers are arch specific and belong to libdir.
> Still, "./configure --help" claims that --includedir= works, but it
> doesn't:
>
>  $ ./configure --help
>  ...
>  --includedir=DIR        C header files [PREFIX/include]
>                          ^^^^^^^^^^^^^^
>
> Ciao
>
> Dominik ^_^  ^_^
>

I hear you. Indeed, there should be an ./configure switch to override
the default. But since not everyone
is realizing the headers are arch specific, there should at the very
least be ./configure --help 'information'
about to let people know it's not a good idea.
Possibly it shouldn't be --includedir=, but something like
--with-override-includedir=
Likewise for --with-override-libdir= for the other case of multi os
directory


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]