Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@robertkirkman
Copy link

  • Fixes building using Autotools + Clang causes PF_PACKET support detection to fail #109

  • AC_TRY_COMPILE macro's second argument is a function body, not a
    complete function definition. Placing a complete function defintion
    here results in m4 generating a malformed test program with a function
    definition inside another function defintion, which would break the
    check to make it always evaluate false whenever Clang is used, since
    Clang rejects programs that use GCC-only extensions like function
    definition inside another function definition.

  • Autotools files regenerated, necessary to apply the ETH_P_ALL function body change to the configure script

    • aclocal --force run
    • autoreconf -fi run
    • autom4te.cache, which appeared afterward, added to .gitignore

…on definition

- Fixes ofalk#109

- `AC_TRY_COMPILE` macro's second argument is a function body, not a
  complete function definition. Placing a complete function defintion
  here results in m4 generating a malformed test program with a function
  definition inside another function defintion, which would break the
  check to make it always evaluate false whenever Clang is used, since
  Clang rejects programs that use GCC-only extensions like function
  definition inside another function definition.
- Necessary to apply the `ETH_P_ALL` function body change to the
  `configure` script, in order to fix ofalk#109

- `aclocal --force` run

- `autoreconf -fi` run

- `autom4te.cache`, which appeared afterward, added to `.gitignore`
@ofalk ofalk merged commit 03adad1 into ofalk:devel Jul 13, 2025
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants