+2004-05-30 Ken Raeburn <raeburn@mit.edu>
+
+ * aclocal.m4 (KRB5_AC_GCC_ATTRS): On AIX 4, mark the destructor
+ attribute as always not working, until we can construct a good
+ test for the order of destructors in the multiple shared library
+ case.
+
2004-05-04 Ken Raeburn <raeburn@mit.edu>
* configure.in: Generate a makefile in util/support. Include
int main () { return 0; }],
[test -r conftest.1 || a=yes
test -r conftest.2 || b=yes], , AC_MSG_ERROR(Cannot test for constructor/destructor support when cross compiling))
+case $krb5_cv_host in
+*-*-aix4.*)
+ # Under AIX 4.3.3, at least, shared library destructor functions
+ # appear to get executed in reverse link order (right to left),
+ # so that a library's destructor function may run after that of
+ # libraries it depends on, and may still have to access in the
+ # destructor.
+ #
+ # That counts as "not working", for me, but it's a much more
+ # complicated test case to set up.
+ b=no
+ ;;
+esac
krb5_cv_attr_constructor_destructor="$a,$b"
])
# Okay, krb5_cv_... should be set now.