From 4b79a4a10de3de8275997d97226b02a0388b2f19 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 13 Sep 2021 21:46:41 +0900 Subject: [PATCH] Add message when checking UDP_SEGMENT in linux/udp.h --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a31360c6..06487861 100644 --- a/configure.ac +++ b/configure.ac @@ -991,6 +991,7 @@ AC_CHECK_DECL([UDP_SEGMENT], [have_netinet_udp_h_udp_segment=yes], if test "x$have_netinet_udp_h_udp_segment" = "xno"; then have_linux_udp_h_udp_segment=no + AC_MSG_CHECKING([whether UDP_SEGMENT is defined as 103 in linux/udp.h]) AC_RUN_IFELSE([AC_LANG_PROGRAM( [[ #include @@ -1000,8 +1001,10 @@ if test "x$have_netinet_udp_h_udp_segment" = "xno"; then exit(1) #endif ]])], - [have_linux_udp_h_udp_segment=yes], - [have_linux_udp_h_udp_segment=no]) + [have_linux_udp_h_udp_segment=yes + AC_MSG_RESULT([yes])], + [have_linux_udp_h_udp_segment=no + AC_MSG_RESULT([no])]) if test "x$have_linux_udp_h_udp_segment" = "xyes"; then EXTRA_DEFS="$EXTRA_DEFS -DUDP_SEGMENT=103"