diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-08-24 15:49:01 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-08-24 15:49:01 +0000 |
commit | ddfcc74d19eb9bd654ed9ada9d8617efc971e340 (patch) | |
tree | a0cdb18447319b41468d649b3700ad3b02fb170e | |
parent | 0bd4d721cd649febc3a184fd21fc457f5da70e5f (diff) | |
download | krb5-ddfcc74d19eb9bd654ed9ada9d8617efc971e340.tar.gz krb5-ddfcc74d19eb9bd654ed9ada9d8617efc971e340.tar.xz krb5-ddfcc74d19eb9bd654ed9ada9d8617efc971e340.zip |
* 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
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/aclocal.m4 | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2834d332ce..8965c5fb0f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 273bf0d0d3..69a0e45ad2 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]) |