]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/configure.ac
re PR c++/54601 (AIX uses atexit which causes unloading of shared modules to break)
[thirdparty/gcc.git] / gcc / configure.ac
index 9ae560489059d1c4a6cfe5e92b3bc3434f7b97a2..811c296cb81c30d7224b76061858432f54cb60c6 100644 (file)
@@ -1455,6 +1455,9 @@ if test x$enable___cxa_atexit = xyes || \
       *-*-mingw32*)
        use_cxa_atexit=yes
        ;;
+      powerpc-ibm-aix*)
+       use_cxa_atexit=yes
+       ;;
       *)
        AC_CHECK_FUNC(__cxa_atexit,[use_cxa_atexit=yes],
          [echo "__cxa_atexit can't be enabled on this target"])