--- a/aclocal.m4 +++ b/aclocal.m4 @@ -1347,7 +1347,7 @@ AC_RUN_IFELSE( 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)]) + [], [a=yes b=yes]) case $krb5_cv_host in *-*-aix4.*) # Under AIX 4.3.3, at least, shared library destructor functions --- a/configure +++ b/configure @@ -7117,7 +7117,7 @@ b=no # blindly assume we have 'unlink' and unistd.h. if test "$cross_compiling" = yes then : - as_fn_error $? "Cannot test for constructor/destructor support when cross compiling" "$LINENO" 5 + a=yes b=yes else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */