--- nono/configure 2026/04/29 17:05:11 1.1.1.11 +++ nono/configure 2026/04/29 17:05:15 1.1.1.12 @@ -4767,6 +4767,35 @@ rm -f core conftest.err conftest.$ac_obj fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wsuggest-override" >&5 +printf %s "checking whether c++ accepts -Wsuggest-override... " >&6; } + old_CXXFLAGS="${CXXFLAGS}" + CXXFLAGS="${CXXFLAGS} -Werror -Wsuggest-override" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + eval `echo cxx_has-Wsuggest-override=yes | sed -e 's/-/_/g'` + WARNFLAGS_CXX="${WARNFLAGS_CXX} -Wsuggest-override" +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS="${old_CXXFLAGS}" + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c++ accepts -Wvla-extension" >&5 printf %s "checking whether c++ accepts -Wvla-extension... " >&6; } old_CXXFLAGS="${CXXFLAGS}" @@ -6531,7 +6560,7 @@ else $as_nop fi -ac_config_files="$ac_config_files Makefile.cfg host/Makefile wx/Makefile util/mkcgrom/Makefile util/viewcgrom/Makefile" +ac_config_files="$ac_config_files Makefile.cfg host/Makefile wx/Makefile util/viewcgrom/Makefile" ac_config_headers="$ac_config_headers config-nono.h" @@ -7223,7 +7252,6 @@ do "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;; "host/Makefile") CONFIG_FILES="$CONFIG_FILES host/Makefile" ;; "wx/Makefile") CONFIG_FILES="$CONFIG_FILES wx/Makefile" ;; - "util/mkcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/mkcgrom/Makefile" ;; "util/viewcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/viewcgrom/Makefile" ;; "config-nono.h") CONFIG_HEADERS="$CONFIG_HEADERS config-nono.h" ;;