Unbalanced AC_LANG_PUSH / POP with ax_check_x86_features / ax_gcc_x86_cpu_supports

Kip Warner <[email protected]> Fri, 18 Aug 2017 19:11:08 -0700
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
Hey list,

My configure.ac sets AC_LANG([C++]). I conduct a variety of tests, both
before and after running AX_CHECK_X86_FEATURES. 

I noticed, however, that after inserting this latter test the
subsequent ones which depend on a C++ compiler fail, such as
AC_CHECK_HEADERS([cassert]). 

I did a little bit of digging and it appears as though there is a
temporary workaround by appending an AC_LANG([C++]) immediately after
executing AX_CHECK_X86_FEATURES. 

My guess is either AX_CHECK_X86_FEATURES or AX_GCC_X86_CPU_SUPPORTS may
have unbalanced AC_LANG_PUSH / AC_LANG_POPs.

Yours truly,

-- 
Kip Warner | Senior Software Engineer
OpenPGP signed/encrypted mail preferred
http://www.thevertigo.com
signature.asc (application/pgp-signature, 163 B)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlmXnjwACgkQLXnfK7bii21wiQCcCh6Wfo20uNIDVhjpeeZvDG6C
oJkAn1H827qp6nWGfn0FCkIj5dntG09a
=Y+gu
-----END PGP SIGNATURE-----