]> git.ipfire.org Git - thirdparty/shadow.git/commit
configure: Fix incorrect use of AM_CONDITIONAL
authorEvgeny Grin (Karlson2k) <k2k@drgrin.dev>
Sat, 12 Jul 2025 14:32:29 +0000 (16:32 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Sat, 19 Jul 2025 04:42:33 +0000 (06:42 +0200)
commitc3878390a69a39fc533346e401567227fe9190e4
treea12fd144ebc0d8cbb15625e6e029c0fdc60d9cf9
parent50f88ab8be751497abf3f84e4790721028bba977
configure: Fix incorrect use of AM_CONDITIONAL

AM_CONDITIONAL() must not be used in shell's if branches.  Instead it
must be specified one time only (per conditional variable) with test
"something" as a second parameter.
See https://www.gnu.org/software/automake/manual/html_node/Usage-of-Conditionals.html#index-AM_005fCONDITIONAL-2

Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
configure.ac