config.h and its defines.

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

 



Hi,
I have this library, it includes autoconf generated config.h in its public headers. Now, config.h defines PACKAGE_* set of symbols. The problem is that if user programme or another library also uses autoconf and config.h, the PACKAGE_* (and also other) symbols are now being #defined twice, which results into warning/error.

What is the right approach to this? Am I supposed not to include config.h in public headers? Can I turn off PACKAGE_* symbols generation? The library itself does not need them that much.

--
VH

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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