summaryrefslogtreecommitdiffstats
path: root/contrib/amd/m4/macros/try_compile_rpc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/amd/m4/macros/try_compile_rpc.m4')
-rw-r--r--contrib/amd/m4/macros/try_compile_rpc.m423
1 files changed, 0 insertions, 23 deletions
diff --git a/contrib/amd/m4/macros/try_compile_rpc.m4 b/contrib/amd/m4/macros/try_compile_rpc.m4
deleted file mode 100644
index 17b3f4c..0000000
--- a/contrib/amd/m4/macros/try_compile_rpc.m4
+++ /dev/null
@@ -1,23 +0,0 @@
-dnl ######################################################################
-dnl Compile a program with RPC headers to try and find a feature.
-dnl The headers part are fixed. Only three arguments are allowed:
-dnl [$1] is the program to compile (2nd arg to AC_TRY_COMPILE)
-dnl [$2] action to take if the program compiled (3rd arg to AC_TRY_COMPILE)
-dnl [$3] action to take if program did not compile (4rd arg to AC_TRY_COMPILE)
-AC_DEFUN(AC_TRY_COMPILE_RPC,
-[# try to compile a program which may have a definition for a structure
-AC_TRY_COMPILE(
-[
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif /* HAVE_SYS_TYPES_H */
-#ifdef HAVE_RPC_RPC_H
-# include <rpc/rpc.h>
-#endif /* HAVE_RPC_RPC_H */
-/* Prevent multiple inclusion on Ultrix 4 */
-#if defined(HAVE_RPC_XDR_H) && !defined(__XDR_HEADER__)
-# include <rpc/xdr.h>
-#endif /* defined(HAVE_RPC_XDR_H) && !defined(__XDR_HEADER__) */
-], [$1], [$2], [$3])
-])
-dnl ======================================================================
OpenPOWER on IntegriCloud