r7360: Add check for sys/ioctl.h - set HAVE_SYS_IOCTL_H. https://savannah.gnu.org/bugs/index.php?64188 --- configure.orig 2023-05-08 19:03:27.000000000 -0500 +++ configure 2023-07-07 22:22:36.000000000 -0500 @@ -23928,30 +23922,10 @@ printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h fi - -ac_fn_cxx_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" -if test "x$ac_cv_header_netdb_h" = xyes +ac_fn_cxx_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_ioctl_h" = xyes then : - printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h - -fi -ac_fn_cxx_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" -if test "x$ac_cv_header_termios_h" = xyes -then : - printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h - -fi - -ac_fn_cxx_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" -if test "x$ac_cv_header_netdb_h" = xyes -then : - printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h - -fi -ac_fn_cxx_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" -if test "x$ac_cv_header_termios_h" = xyes -then : - printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h fi --- ddd/config.h.in.orig 2023-05-08 19:03:28.000000000 -0500 +++ ddd/config.h.in 2023-07-07 22:46:55.000000000 -0500 @@ -462,6 +462,9 @@ */ #undef HAVE_SYS_DIR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IOCTL_H + /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H