summaryrefslogtreecommitdiff
path: root/xtrans.m4
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-08-17 19:10:49 +0000
committerEric Anholt <anholt@freebsd.org>2005-08-17 19:10:49 +0000
commit79db37c65905823b66411533152ab54407f04004 (patch)
tree55320259e3fe35f154aa4f486705902cb56bd1e9 /xtrans.m4
parent5165ebdb8144cd5be706e49957f5c8b51b762821 (diff)
On FreeBSD, some of the symbols necessary for secure RPC support are in
librpcsvc, so check for their presence in rpcsvc so that the library will be added.
Diffstat (limited to 'xtrans.m4')
-rw-r--r--xtrans.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/xtrans.m4 b/xtrans.m4
index 229ad63..7da4f94 100644
--- a/xtrans.m4
+++ b/xtrans.m4
@@ -1,4 +1,4 @@
-dnl $XdotOrg: $
+dnl $XdotOrg: lib/xtrans/xtrans.m4,v 1.6 2005/07/26 18:59:11 alanc Exp $
dnl
dnl Copyright 2005 Sun Microsystems, Inc. All rights reserved.
dnl
@@ -100,6 +100,8 @@ AC_DEFUN([XTRANS_SECURE_RPC_FLAGS],
fi
SECURE_RPC="no"
else
+ dnl FreeBSD keeps getsecretkey in librpcsvc
+ AC_SEARCH_LIBS(getsecretkey, [rpcsvc])
SECURE_RPC="yes"
fi
fi