From: Ken Raeburn Date: Tue, 24 Aug 2004 15:49:01 +0000 (+0000) Subject: * aclocal.m4 (KRB5_AC_PRAGMA_WEAK_REF): Fix to work with AIX compiler when optimizing X-Git-Tag: krb5-1.4-beta1~128 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ddfcc74d19eb9bd654ed9ada9d8617efc971e340;p=krb5.git * aclocal.m4 (KRB5_AC_PRAGMA_WEAK_REF): Fix to work with AIX compiler when optimizing git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16684 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 2834d332c..8965c5fb0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-08-24 Ken Raeburn + + * aclocal.m4 (KRB5_AC_PRAGMA_WEAK_REF): Fix to work with AIX + compiler when optimizing. + 2004-08-18 Ken Raeburn * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Check for diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 273bf0d0d..69a0e45ad 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1672,7 +1672,7 @@ AC_DEFUN([KRB5_AC_PRAGMA_WEAK_REF], [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])