Fix AX_GCC_FUNC_ATTRIBUTE failure

This commit is contained in:
Remi Collet 2024-03-22 10:30:00 +01:00 committed by Remi Collet
parent 741570c30f
commit 09a36812c1
No known key found for this signature in database
GPG Key ID: DC9FF8D3EE5AF27F

View File

@ -216,7 +216,7 @@ AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
static int bar( void ) __attribute__(($1("foo")));
],
[target], [
static int bar( void ) __attribute__(($1("sse2")));
int bar( void ) __attribute__(($1("sse2")));
],
[
m4_warn([syntax], [Unsupported attribute $1, the test may fail])