]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add -lkrb5
authorMark Andrews <marka@isc.org>
Thu, 3 Jun 2010 13:28:35 +0000 (13:28 +0000)
committerMark Andrews <marka@isc.org>
Thu, 3 Jun 2010 13:28:35 +0000 (13:28 +0000)
configure
configure.in

index 0189f45e434ee11eeb8fce934fdc2fd627ceb6f8..dca6ddc8bf15ded92e459a08307a41ae3ae43528 100755 (executable)
--- a/configure
+++ b/configure
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 #
-# $Id: configure,v 1.473.22.6 2010/06/03 03:57:24 marka Exp $
+# $Id: configure,v 1.473.22.7 2010/06/03 13:28:35 marka Exp $
 #
 # Portions Copyright (C) 1996-2001  Nominum, Inc.
 #
@@ -29,7 +29,7 @@
 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-# From configure.in Revision: 1.489.22.7 .
+# From configure.in Revision: 1.489.22.8 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.62.
 #
@@ -24091,7 +24091,7 @@ $as_echo "$as_me: error: krb5.h not found" >&2;}
                    "-lgssapi" \
                    "-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \
                    "-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \
-                   "-lgss"
+                   "-lgss -lkrb5"
                do
                    # Note that this does not include $saved_libs, because
                    # on FreeBSD machines this configure script has added
@@ -24111,7 +24111,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 int
 main ()
 {
-gss_acquire_cred();
+gss_acquire_cred();krb5_init_context()
   ;
   return 0;
 }
index 657182f85e2ebf2250d743514ff84500f051715e..e386e0a42a4ce691e060361f3ca0e61866f86a0c 100644 (file)
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
 esyscmd([sed "s/^/# /" COPYRIGHT])dnl
 AC_DIVERT_POP()dnl
 
-AC_REVISION($Revision: 1.489.22.7 $)
+AC_REVISION($Revision: 1.489.22.8 $)
 
 AC_INIT(lib/dns/name.c)
 AC_PREREQ(2.59)
@@ -822,7 +822,7 @@ case "$use_gssapi" in
                    "-lgssapi" \
                    "-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \
                    "-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \
-                   "-lgss"
+                   "-lgss -lkrb5"
                do
                    # Note that this does not include $saved_libs, because
                    # on FreeBSD machines this configure script has added
@@ -831,7 +831,7 @@ case "$use_gssapi" in
                    # when you are trying to build with KTH in /usr/lib.
                    LIBS="-L$use_gssapi/lib $TRY_LIBS"
                    AC_MSG_CHECKING(linking as $TRY_LIBS)
-                   AC_TRY_LINK( , [gss_acquire_cred();],
+                   AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context()],
                                gssapi_linked=yes, gssapi_linked=no)
                    case $gssapi_linked in
                    yes) AC_MSG_RESULT(yes); break ;;