This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [c++] enable __cxa_atexit by default if found
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, jakub at redhat dot com
- Date: Tue, 6 Aug 2002 23:36:10 -0700
- Subject: Re: [c++] enable __cxa_atexit by default if found
- References: <200208070451.g774pgJ02473@fillmore.constant.com>
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.