Module Name: src
Committed By: uwe
Date: Wed Jun 24 14:39:01 UTC 2020
Modified Files:
src/tools/compat: configure.ac
Log Message:
Add AC_MSG_RESULT yes/no to the uio checks.
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/tools/compat/configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/compat/configure.ac
diff -u src/tools/compat/configure.ac:1.97 src/tools/compat/configure.ac:1.98
--- src/tools/compat/configure.ac:1.97 Sat Jun 22 13:42:53 2019
+++ src/tools/compat/configure.ac Wed Jun 24 14:39:01 2020
@@ -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 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#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 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#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.