+2004-08-24 Ken Raeburn <raeburn@mit.edu>
+
+ * aclocal.m4 (KRB5_AC_PRAGMA_WEAK_REF): Fix to work with AIX
+ compiler when optimizing.
+
2004-08-18 Ken Raeburn <raeburn@mit.edu>
* aclocal.m4 (KRB5_AC_ENABLE_THREADS): Check for
[AC_CACHE_CHECK([whether pragma weak references are supported],
krb5_cv_pragma_weak_ref,
[AC_TRY_LINK([#pragma weak flurbl
-extern int flurbl(void);],[if (&flurbl != 0) return 1;],
+extern int flurbl(void);],[if (&flurbl != 0) return flurbl();],
krb5_cv_pragma_weak_ref=yes,krb5_cv_pragma_weak_ref=no)])
if test $krb5_cv_pragma_weak_ref = yes ; then
AC_DEFINE(HAVE_PRAGMA_WEAK_REF,1,[Define if #pragma weak references work])