diff -r e43d30273f74 -r c997c0978665 src/test/resources/golden-sample/configure2 --- a/src/test/resources/golden-sample/configure2 Tue Sep 19 19:29:19 2023 +0200 +++ b/src/test/resources/golden-sample/configure2 Wed Sep 20 18:41:58 2023 +0200 @@ -560,24 +560,30 @@ if dependency_error_sqlite ; then # "auto" features can fail and are just disabled in this case if [ "$FEATURE_DB" = "auto" ]; then - unset FEATURE_DB - else + DISABLE_FEATURE_DB=1 + else DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED sqlite " ERROR=1 fi fi + if [ -n "$DISABLE_FEATURE_DB" ]; then + unset FEATURE_DB + fi fi if [ -n "$FEATURE_GUI" ]; then # check dependency if dependency_error_gtk3 ; then # "auto" features can fail and are just disabled in this case if [ "$FEATURE_GUI" = "auto" ]; then - unset FEATURE_GUI - else + DISABLE_FEATURE_GUI=1 + else DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED gtk3 " ERROR=1 fi fi + if [ -n "$DISABLE_FEATURE_GUI" ]; then + unset FEATURE_GUI + fi fi # Option: --toolkit