Jeffrey Walton <noloa...@gmail.com> wrote: > On Sun, Feb 25, 2024 at 2:09???AM Jeffrey Walton <noloa...@gmail.com> wrote: > > Is it safe to use ax_gcc_builtin to detect __builtin_offsetof? > Cancel. We can't use AX_GCC_BUILTIN in production. Using > AX_GCC_BUILTIN produces broken configure's: > ... > ./configure: line 15023: syntax error near unexpected token > `__builtin_offsetof' > ./configure: line 15023: `AX_GCC_BUILTIN(__builtin_offsetof)'
Any chance that AX_GCC_BUILTIN(offsetof) would do what you want?