* ac_check_krb5.m4: Set LIBS rather than LDFLAGS
authorTom Yu <tlyu@mit.edu>
Tue, 25 Oct 2005 19:15:24 +0000 (19:15 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 25 Oct 2005 19:15:24 +0000 (19:15 +0000)
ticket: 2923
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17451 dc483132-0cff-0310-8789-dd5450dbe970

src/util/ChangeLog
src/util/ac_check_krb5.m4

index 59e24584d784d580ff61b2db2e4ede680b4dd902..432fa5f988157b35836639034df0c0eb82174a90 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-25  Tom Yu  <tlyu@mit.edu>
+
+       * ac_check_krb5.m4: Set LIBS rather than LDFLAGS.
+
 2005-10-18  Tom Yu  <tlyu@mit.edu>
 
        * ac_check_krb5.m4: Example autoconf macro to use krb5-config for
index 025da283a433514fadd6883411e497d60a4ef75e..e18183b650cb632cde8fbcbdb584d525759f71c1 100644 (file)
@@ -48,8 +48,8 @@ AC_DEFUN([AC_CHECK_KRB5],
                        K5CFLAGS=`"$KRB5CONF" --cflags $k5confopts`
                        CPPFLAGS="$CPPFLAGS $K5CFLAGS"
 
-                       K5LDFLAGS=`"$KRB5CONF" --libs $k5confopts`
-                       LDFLAGS="$LDFLAGS $K5LDFLAGS"
+                       K5LIBS=`"$KRB5CONF" --libs $k5confopts`
+                       LIBS="$LIBS $K5LIBS"
                else
                        AC_MSG_RESULT([no])
                        AC_MSG_WARN([--with-kerberos5 specified but krb5-config not found])