Include file nonsense..

Nicolas Baradakis nbk at sitadelle.com
Fri Nov 11 18:00:16 CET 2005


Alan DeKok wrote:

>   Except when you install files from version X, and try to build files
> with version Y.  They get confused.  This is exactly the behavior
> we're seeing on Solaris, where it finds "md5.h", and as a result,
> doesn't use the one needed to build the server.

Yes, that's right.

>   My $0.0.2 is that the server code should use
> <freeradius-devel/file.h> during build time, and the installed header
> files should be in /usr/include/freeradius, and include each other as
> <freeradius/file.h>.  This make take some install-time hacks, but I
> think it's worth it.

You're suggesting to run sed (or perl) on the header files at install
time? That'd prevent any confusion with the FreeRADIUS own build tree,
indeed.

-- 
Nicolas Baradakis




More information about the Freeradius-Devel mailing list