AC_ARG_ENABLE has the following usage: AC_ARG_ENABLE (feature, help-string, action-if-given, action-if-not-given) The third argument is evaluated whenever the option is used in any form (i.e. both for --enable and --disable), and the fourth otherwise. AC_ARG_ENABLE(tests, [AS_HELP_STRING([--enable-tests],[enable validation test framework @<:@default=@<:@disabled@:>@@:>@])], enable_tests=yes, enable_tests=no) means that tests will be enabled whenever --enable-tests or --disable-tests is used, and disabled only if the option is not used at all. You probably want to use the following instead: AC_ARG_ENABLE(tests, [AS_HELP_STRING([--enable-tests],[enable validation test framework @<:@default=@<:@disabled@:>@@:>@])], enable_tests=$withval, enable_tests=no)
Created attachment 7457 Fix incorrect use of AC_ARG_ENABLE(tests..)
Thank you Michał !
The wrong patch has been attached -_-
Romain B referenced this bugreport in commit 19f8aa608efdd35d79d074d21ecd488b2da425f3 Fix incorrect use of AC_ARG_ENABLE(tests..) https://git.xfce.org/xfce/libxfce4ui/commit?id=19f8aa608efdd35d79d074d21ecd488b2da425f3
Marking resolved.