RPM Community Forums

Mailing List Message of <rpm-devel>

beecrypt include dir

From: Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>
Date: Mon 28 May 2007 - 11:12:55 CEST
Message-Id: <200705281112.58940.olivier.thauvin@aerov.jussieu.fr>
Hi,

I am currently able to build rpm from CVS only when using:

"./configure --prefix /usr"

The issue come from beecrypt include dir, configure.ac search "beecrypt/any.h" 
but later hardcode "-I/beecrypt" and so in this  
is "/usr/local/include" whereas beecrypt is installed into "/usr/include/".

Also in rpmio_internal.h we have such code:
#include "beecrypt.h"

but it should be "beecrypt/beecrypt.h" except when using internal one.

Suggest fix:

- removing "-I/beecrypt" if found
- adding a define in config.h "#RPM_INTERNAL_BEECRYPT"
- changing {.h,.c} to something like

#ifdef #RPM_INTERNAL_BEECRYPT
#include "beecrypt.h"
#else
#include "beecrypt/beecrypt.h"
#endif

Do you agree with that ?

Regards.



  • application/pgp-signature attachment: stored
Received on Mon May 28 12:28:10 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.