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

version» Context lines:

pike.git/src/modules/Yp/configure.in:28:   # The above strategy is unfortunately not enough to satify TCC,   # so we do it the hard way anyway...   #   AC_MSG_CHECKING(the type of the last argument to yp_order)   AC_CACHE_VAL(pike_cv_yp_order_type, [    old_ac_compile="[$]ac_compile"    ac_compile="[$]old_ac_compile 2>conftezt.out.2"    for order_type in "unsigned long" "long" "unsigned int" "int"; do    for str_type in "char" "const char"; do    AC_TRY_COMPILE([ - #ifdef HAVE_SYS_TYPES_H +    #include <sys/types.h> - #endif /* HAVE_SYS_TYPES_H */ +    #ifdef HAVE_RPC_TYPES_H   #include <rpc/types.h>   #endif /* HAVE_RPC_TYPES_H */   #ifdef HAVE_RPC_RPC_H   #include <rpc/rpc.h>   #endif /* HAVE_RPC_RPC_H */   #ifdef HAVE_RPC_CLNT_H   #include <rpc/clnt.h>   #endif /* HAVE_RPC_CLNT_H */   #include <rpcsvc/yp_prot.h>
pike.git/src/modules/Yp/configure.in:78:   AC_DEFINE_UNQUOTED(YP_ORDER_TYPE, $pike_cv_yp_order_type)   AC_MSG_RESULT($pike_cv_yp_order_type)      AC_CHECK_FUNCS(yperr_string)      if test "$av_cv_func_yperr_string" = "yes"; then    AC_MSG_CHECKING(if we need a prototype for yperr_string)    AC_CACHE_VAL(pike_cv_prototype_yperr_string_missing, [    AC_TRY_COMPILE([   #if defined(HAVE_RPCSVC_YPCLNT_H) && defined(HAVE_RPCSVC_YP_PROT_H) - #ifdef HAVE_SYS_TYPES_H +    #include <sys/types.h> - #endif /* HAVE_SYS_TYPES_H */ +    #ifdef HAVE_RPC_TYPES_H   #include <rpc/types.h>   #endif /* HAVE_RPC_TYPES_H */   #ifdef HAVE_RPC_RPC_H   #include <rpc/rpc.h>   #endif /* HAVE_RPC_RPC_H */   #ifdef HAVE_RPC_CLNT_H   #include <rpc/clnt.h>   #endif /* HAVE_RPC_CLNT_H */   #include <rpcsvc/yp_prot.h>