Metze assures me that this will fix Heimdal et al.
authorTim Potter <tpot@samba.org>
Wed, 25 Jun 2003 12:20:29 +0000 (12:20 +0000)
committerTim Potter <tpot@samba.org>
Wed, 25 Jun 2003 12:20:29 +0000 (12:20 +0000)
I think the lesson to take away here is that refactoring configure.in
is a hazardous task and should only be attempted if you have a lot
of time and patience!

source/configure.in

index 3fef0402f1af2f0c52cd8f8cd076331101d433d3..0578baa22f1a046a235741826405e2d04ecef12d 100644 (file)
@@ -2353,7 +2353,7 @@ if test x"$with_ads_support" = x"yes"; then
   ########################################################
   # now see if we can find the krb5 libs in standard paths
   # or as specified above
-  AC_CHECK_LIB(krb5, krb5_mk_req_extended, [KRB5_LIBS="$KRB5_LIBS -lkrb5";
+  AC_CHECK_LIB(krb5, krb5_mk_req_extended, [KRB5_LIBS="$LIBS -lkrb5";
               KRB5_CFLAGS="$CFLAGS";
                AC_DEFINE(HAVE_KRB5,1,[Whether KRB5 is available])])