Re: Inline function in header depends on config.h

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

 



William Turner <wturner@xxxxxxxxxxxxxx> writes:

> I have a member function of a class in a library that, for performance
> reasons, needs to be inline, and therefore needs to be in the header
> file. However, the operation of the function depends on the contents
> of config.h, which is not installed when the library is, presenting
> difficulty when a user of the library needs to make use of the inlined
> function. What's the best way to resolve this,

Use the autoconf-generated script to modify the header in question,
and then install the modified header.  You'll need to hack on
configure.ac (or its equivalent) a bit.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux