[PATCH] add configure test for IRIX' getpwent_r and getpwent_r
to fix the build
Stefan (metze) Metzmacher
metze at samba.org
Thu Jan 10 16:48:37 GMT 2008
Hi Björn,
> +AC_VERIFY_C_PROTOTYPE([struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)],
> + [
> + #ifndef HAVE_GETPWENT_R_DECL
> + #error missing getpwent_r prototype
> + #endif
> + return NULL;
> + ],[
> + AC_DEFINE(SOLARIS_GETPWENT_R, 1, [getpwent_r irix function prototype])
IRIX_... :-)
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080110/36b1d21d/signature.bin
More information about the samba-technical
mailing list