pike.git / src / modules / Yp / configure.in

version» Context lines:

pike.git/src/modules/Yp/configure.in:1: - # $Id: configure.in,v 1.12 2005/04/09 10:18:05 grubba Exp $ + # $Id: configure.in,v 1.13 2005/06/16 20:51:56 grubba Exp $   AC_INIT(yp.c)   AC_CONFIG_HEADER(config.h)      AC_MODULE_INIT()      AC_CHECK_LIB(nsl, gethostbyname)    - AC_HAVE_HEADERS(sys/types.h rpc/types.h rpc/rpc.h rpc/clnt.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h) + AC_HAVE_HEADERS(sys/types.h rpc/types.h rpc/rpc.h rpc/clnt.h \ +  rpcsvc/ypclnt.h rpcsvc/yp_prot.h,,,[ + #ifdef HAVE_RPC_TYPES_H + #include <rpc/types.h> + #endif + #ifdef HAVE_RPC_RPC_H + #include <rpc/rpc.h> + #endif + ])      #   # yp_order() is   #   # yp_order(char *, char *, int *) On most BSD's   # yp_order(char *, char *, unsigned int *) On OSF/1   # yp_order(char *, char *, unsigned long *) On SysV's   #   # int and unsigned int have the same size, so we only test if the last   # arg's an unsigned long * or not.