mkproto.awk, and structs that don't exist.

Luke Kenneth Casson Leighton lkcl at switchboard.net
Wed Oct 7 17:49:42 GMT 1998


can mkproto.awk be made to use the #ifdefs from autoconf?  so, if
HAVE_ACL doesn't exist, the c compiler won't generate the code.
_however_, mkproto will still generate a function prototype in proto.h,
therefore you get a compilation error (e.g aclent_t undefined) or a
warning error in every single compile (e.g struct stat64 defined in the
prototype which is probably not what you want).

luke



More information about the samba-technical mailing list