]> git.alsa-project.org Git - alsa-utils.git/commit
gitcompile: restore ACLOCAL_FLAGS ability to use
authorMarc Herbert <marc.herbert@intel.com>
Thu, 1 Aug 2024 01:34:50 +0000 (18:34 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 6 Aug 2024 16:39:20 +0000 (18:39 +0200)
commit5b511024e9c5f360703c05605850801a85d70cd8
treed52889da06b353012bd067d0b7f001851aad99af
parentcbebb86a56991042b86286625be06c894b050675
gitcompile: restore ACLOCAL_FLAGS ability to use

Fixes cryptic "error macro 'AM_PATH_ALSA' not found in library
configure.ac:22" when attempting a local install as described at
https://thesofproject.github.io/latest/getting_started/build-guide/build-from-scratch.html#build-alsa-lib-and-alsa-utils-from-source

Fixes giant commit f9e6010d5ec7 ("topology: plugins - add Intel nhlt
encoder plugin") which added a second invocation of `aclocal` in 2021
but forgot the extra `$alsa_m4_flags`.

To avoid duplication, do not fix by adding the missing `$alsa_m4_flags`
to the second aclocal invocation. Instead, drop that variable and append
`-I ../alsa-lib/utils` directly to $ACLOCAL_FLAGS

Closes: https://github.com/alsa-project/alsa-utils/pull/272
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
gitcompile