Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Add AC_MSG_RESULT yes/no to the uio checks.



details:   https://anonhg.NetBSD.org/src/rev/9f37aebe3710
branches:  trunk
changeset: 973222:9f37aebe3710
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Jun 24 14:39:01 2020 +0000

description:
Add AC_MSG_RESULT yes/no to the uio checks.

diffstat:

 tools/compat/configure.ac |  16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 3f25be0f13be -r 9f37aebe3710 tools/compat/configure.ac
--- a/tools/compat/configure.ac Wed Jun 24 14:33:08 2020 +0000
+++ b/tools/compat/configure.ac Wed Jun 24 14:39:01 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: configure.ac,v 1.97 2019/06/22 13:42:53 hannken Exp $
+#      $NetBSD: configure.ac,v 1.98 2020/06/24 14:39:01 uwe Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -121,8 +121,11 @@
 #ifdef HAVE_SYS_UIO_H
 #include <sys/uio.h>
 #endif]],
-[[enum uio_rw rw;]])],[AC_DEFINE([HAVE_ENUM_UIO_RW], 1,
-                           [Define if you have the enum uio_rw type.])],)
+[[enum uio_rw rw;]])],
+[AC_MSG_RESULT(yes)
+ AC_DEFINE([HAVE_ENUM_UIO_RW], 1,
+    [Define if you have the enum uio_rw type.])],
+[AC_MSG_RESULT(no)])
 
 AC_MSG_CHECKING([for enum uio_seg])
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
@@ -130,8 +133,11 @@
 #ifdef HAVE_SYS_UIO_H
 #include <sys/uio.h>
 #endif]],
-[[enum uio_seg seg;]])],[AC_DEFINE([HAVE_ENUM_UIO_SEG], 1,
-                           [Define if you have the enum uio_seg type.])],)
+[[enum uio_seg seg;]])],
+[AC_MSG_RESULT(yes)
+ AC_DEFINE([HAVE_ENUM_UIO_SEG], 1,
+    [Define if you have the enum uio_seg type.])],
+[AC_MSG_RESULT(no)])
 
 dnl XXX - This is UGLY.  Need a better way to homogenize the bitsized types,
 dnl including use of compiler primitive types via AC_CHECK_SIZEOF.



Home | Main Index | Thread Index | Old Index