--- nono/configure 2026/04/29 17:05:11 1.1.1.11 +++ nono/configure 2026/04/29 17:05:18 1.1.1.13 @@ -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}" @@ -4857,13 +4886,6 @@ then : fi -ac_fn_cxx_check_header_compile "$LINENO" "histedit.h" "ac_cv_header_histedit_h" "$ac_includes_default" -if test "x$ac_cv_header_histedit_h" = xyes -then : - printf "%s\n" "#define HAVE_HISTEDIT_H 1" >>confdefs.h - -fi - ac_fn_cxx_check_header_compile "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default" if test "x$ac_cv_header_kqueue_sys_event_h" = xyes then : @@ -6262,11 +6284,6 @@ else $as_nop fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -# libedit (editline) -if test x"$ac_cv_header_histedit_h" = xyes; then - LIBS="${LIBS} -ledit -ltermcap" -fi - # libkqueue on Linux { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5 printf %s "checking for kqueue in -lkqueue... " >&6; } @@ -6531,7 +6548,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 +7240,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" ;;