diff options
author | Andre Vehreschild <vehre@gmx.de> | 2015-04-14 15:58:19 +0200 |
---|---|---|
committer | Andre Vehreschild <vehre@gmx.de> | 2015-04-14 15:58:19 +0200 |
commit | 93165dbdfd0406ae43d6dda7cb358fb8c1fcbad7 (patch) | |
tree | 69186c5617ba843643a58bafef5b351f811391c6 /libsanitizer/configure.ac | |
parent | b70cd7cb6fd66a6f5dfbfb988861cec47c6e2c7a (diff) | |
parent | 33a2aaa4b5b40e1d705587d8fb669473263baff3 (diff) | |
download | gcc-vehre/base.tar.gz |
Merge remote-tracking branch 'trunk' of git://gcc.gnu.org/git/gcc into vehre/allvehre/base
Diffstat (limited to 'libsanitizer/configure.ac')
-rw-r--r-- | libsanitizer/configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac index 031c2710a82..11e2d9961d6 100644 --- a/libsanitizer/configure.ac +++ b/libsanitizer/configure.ac @@ -312,6 +312,24 @@ if test "$have_getexecname" = "yes"; then AC_DEFINE(HAVE_GETEXECNAME, 1, [Define if getexecname is available.]) fi +# Check for rpc/xdr.h +AC_CHECK_HEADERS(rpc/xdr.h) +if test x"$ac_cv_header_rpc_xdr_h" = xyes; then + rpc_defs="$rpc_defs -DHAVE_RPC_XDR_H=1" +else + rpc_defs="$rpc_defs -DHAVE_RPC_XDR_H=0" +fi + +# Check for tirpc/rpc/xdr.h +AC_CHECK_HEADERS(tirpc/rpc/xdr.h) +if test x"$ac_cv_header_tirpc_rpc_xdr_h" = xyes; then + rpc_defs="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1" +else + rpc_defs="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0" +fi + +AC_SUBST([RPC_DEFS], [$rpc_defs]) + AM_CONDITIONAL(LIBBACKTRACE_SUPPORTED, [test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"]) |