Add autom4te wrapper to keep submodules clean

Disable autom4te cache creation during autoconf runs by setting AUTOM4TE
to a wrapper that passes --no-cache. This prevents autom4te.cache directories
from appearing in submodules (pcre, etc.) and making them show as dirty.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Vaczi 2025-12-27 09:21:31 +01:00
commit 23a23fd7a6
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/bash
# autom4te wrapper - disables cache to keep submodules clean
# This prevents autom4te.cache directories from being created in source trees
#
# Unset AUTOM4TE to prevent infinite recursion when autoconf calls autom4te
unset AUTOM4TE
exec autom4te --no-cache "$@"