pike.git
/
src
/
modules
/
Yp
/
configure.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/Yp/configure.in:1:
-
# $Id: configure.in,v 1.
11
2004
/
04
/
14
12
:
06
:
29
grubba Exp $
+
# $Id: configure.in,v 1.
12
2005
/
12
/
19
20
:
27
:
59
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.