diff options
author | Kip <kip@thevertigo.com> | 2021-08-10 23:30:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 23:30:38 -0700 |
commit | 250ce69c8ddc51c2958a33d4ebf42fd7e31b20b4 (patch) | |
tree | 52cd1b8943ea6082bc3d6ae6fa828c366259bdf7 /m4/ax_gcc_x86_cpu_supports.m4 | |
parent | 0fbee2a29b67cc7867cfe19d473e9fb1f729f771 (diff) | |
download | autoconf-archive-250ce69c8ddc51c2958a33d4ebf42fd7e31b20b4.tar.gz |
ax_gcc_x86_cpu_supports.m4: Fix AC_LANG clobbered...
AX_GCC_X86_CPU_SUPPORTS expands _AX_GCC_X86_CPU_INIT, which in turn expands an AC_LANG_PUSH([C]) without a corresponding AC_LANG_POP([C])...
Diffstat (limited to 'm4/ax_gcc_x86_cpu_supports.m4')
-rw-r--r-- | m4/ax_gcc_x86_cpu_supports.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/ax_gcc_x86_cpu_supports.m4 b/m4/ax_gcc_x86_cpu_supports.m4 index fd37b4f..f48bc2c 100644 --- a/m4/ax_gcc_x86_cpu_supports.m4 +++ b/m4/ax_gcc_x86_cpu_supports.m4 @@ -57,7 +57,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 3 +#serial 4 AC_DEFUN_ONCE([_AX_GCC_X86_CPU_INIT], [AC_LANG_PUSH([C]) @@ -69,6 +69,7 @@ AC_DEFUN_ONCE([_AX_GCC_X86_CPU_INIT], ], [ax_cv_gcc_check_x86_cpu_init=yes], [ax_cv_gcc_check_x86_cpu_init=no])]) + AC_LANG_POP([C]) AS_IF([test "X$ax_cv_gcc_check_x86_cpu_init" = "Xno"], [AC_MSG_ERROR([Need GCC to support X86 CPU features tests])]) ]) |