Add AC_MSG_RESULT yes/no to the uio checks.
This commit is contained in:
parent
632d3e3518
commit
6072166471
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue