autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make install : config.h?


From: Daniel Pocock
Subject: make install : config.h?
Date: Wed, 24 Jul 2013 09:53:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

I've come across a project that is installing config.h when "make
install" is invoked

The project in question is the SRTP library.  Some of the headers are
actually dependent on some config.h stuff, for example:

https://github.com/cisco/libsrtp/blob/master/crypto/include/integers.h

has a lot of conditional logic

The result of including that extra copy of config.h is that when I build
other projects, the compiler has two copies of config.h available and
complains about the redefinition of things like PACKAGE_NAME.  It's
quite possible that there are less obvious side-effects as well.

Can anybody comment on the right way to do this?  Should integers.h
(above) be changed?  Or should other projects using libsrtp find ways to
work around this?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]