diff -r 925a345ea298 -r 0b3b2b650bd7 configure --- a/configure Sat Dec 27 22:18:48 2025 +0100 +++ b/configure Sat Dec 27 22:35:49 2025 +0100 @@ -85,7 +85,10 @@ printhelp() { echo "Usage: $0 [OPTIONS]..." - echo 'Configuration:' + if [ $has_overridable_config_vars__ -eq 1 ] ; then + echo + echo "Configuration:" + fi cat << '__EOF__' Build Types: @@ -116,6 +119,7 @@ touch "$TEMP_DIR/features" # config variables +has_overridable_config_vars__=0 # features @@ -236,16 +240,13 @@ # generate vars.mk -cat > "$TEMP_DIR/vars.mk" << __EOF__ -__EOF__ - +echo '# configuration' > "$TEMP_DIR/vars.mk" +echo >> "$TEMP_DIR/vars.mk" # # DEPENDENCIES # - - # create buffer for make variables required by dependencies echo > "$TEMP_DIR/make.mk" @@ -940,6 +941,11 @@ break fi fi + if checkopt_toolkit_libadwaita ; then + echo " toolkit: libadwaita" >> "$TEMP_DIR/options" + ERROR=0 + break + fi if checkopt_toolkit_gtk4 ; then echo " toolkit: gtk4" >> "$TEMP_DIR/options" ERROR=0 @@ -950,6 +956,11 @@ ERROR=0 break fi + if checkopt_toolkit_qt5 ; then + echo " toolkit: qt5" >> "$TEMP_DIR/options" + ERROR=0 + break + fi if checkopt_toolkit_gtk2 ; then echo " toolkit: gtk2" >> "$TEMP_DIR/options" ERROR=0 @@ -1126,8 +1137,10 @@ if [ -n "$TOOLCHAIN_CSTD" ]; then echo " default C std: $TOOLCHAIN_CSTD" fi -echo -echo "Config:" +if [ $has_overridable_config_vars__ -eq 1 ]; then + echo + echo "Config:" +fi echo echo "Options:" cat "$TEMP_DIR/options"