summaryrefslogtreecommitdiff
path: root/source4/heimdal/cf/find-func.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-01 01:32:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:18 -0500
commit147878160354059a939263d68b30c8baf659b39d (patch)
tree1b86490b806260ec1979aa97a11a724cb69120aa /source4/heimdal/cf/find-func.m4
parent1b5cb7309d13b472eff12e1bfb5191ca8e0391ae (diff)
downloadsamba-147878160354059a939263d68b30c8baf659b39d.tar.gz
samba-147878160354059a939263d68b30c8baf659b39d.tar.bz2
samba-147878160354059a939263d68b30c8baf659b39d.zip
r9859: Enable (blocking) KDC resolution with DNS.
To enable, set: [libdefaults] dns_lookup_realm = true dns_lookup_kdc = true in your /etc/krb5.conf. In the future I may override the krb5.conf and set this on by default in Samba4. Andrew Bartlett (This used to be commit 32fb50d02560123b8d0ab13346041806c062f9bf)
Diffstat (limited to 'source4/heimdal/cf/find-func.m4')
-rw-r--r--source4/heimdal/cf/find-func.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/heimdal/cf/find-func.m4 b/source4/heimdal/cf/find-func.m4
new file mode 100644
index 0000000000..aa500283f2
--- /dev/null
+++ b/source4/heimdal/cf/find-func.m4
@@ -0,0 +1,9 @@
+dnl $Id: find-func.m4,v 1.2 2004/02/12 14:20:47 lha Exp $
+dnl
+dnl AC_FIND_FUNC(func, libraries, includes, arguments)
+AC_DEFUN([AC_FIND_FUNC], [
+AC_FIND_FUNC_NO_LIBS([$1], [$2], [$3], [$4])
+if test -n "$LIB_$1"; then
+ LIBS="$LIB_$1 $LIBS"
+fi
+])