[c++] enable __cxa_atexit by default if found

H. J. Lu hjl@lucon.org
Tue Aug 6 23:36:00 GMT 2002


On Tue, Aug 06, 2002 at 09:51:42PM -0700, Benjamin Kosnik wrote:
>   AC_ARG_ENABLE(__cxa_atexit,
>   [  --enable-__cxa_atexit   enable __cxa_atexit for C++],
>   [], [])
> ! # Check for __cxa_atexit in libc.
> ! AC_CHECK_FUNC(__cxa_atexit, ac_cxa_atexit=yes, ac_cxa_atexit=no)
> ! # Enable if it's found, and wanted.
> ! if test x$enable___cxa_atexit != xno && test x$ac_cxa_atexit = xyes; then

I though it was for host, not target.


H.J.



More information about the Gcc-patches mailing list