From ddfcc74d19eb9bd654ed9ada9d8617efc971e340 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 24 Aug 2004 15:49:01 +0000 Subject: [PATCH] * 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 --- src/ChangeLog | 5 +++++ src/aclocal.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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]) -- 2.26.2