Just check for poll.h, don't fail if it's not present.
This commit is contained in:
parent
e3b5b1897b
commit
4fb03019c2
|
@ -2293,7 +2293,7 @@ fi
|
||||||
for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
|
for ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
|
||||||
sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
|
sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
|
||||||
assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
|
assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
|
||||||
netdb.h poll.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
|
netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
|
||||||
termios.h unistd.h
|
termios.h unistd.h
|
||||||
do
|
do
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||||
|
@ -2514,7 +2514,7 @@ fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_header in sys/sysmacros.h sys/syslimits.h \
|
for ac_header in sys/sysmacros.h sys/syslimits.h \
|
||||||
features.h malloc.h stddef.h
|
features.h malloc.h poll.h stddef.h
|
||||||
do
|
do
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||||
echo "$as_me:2520: checking for $ac_header" >&5
|
echo "$as_me:2520: checking for $ac_header" >&5
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: configure.ac,v 1.27 2002/10/06 12:09:34 lukem Exp $
|
# $NetBSD: configure.ac,v 1.28 2002/10/07 18:12:36 briggs Exp $
|
||||||
#
|
#
|
||||||
# Autoconf definition file for libnbcompat.
|
# Autoconf definition file for libnbcompat.
|
||||||
#
|
#
|
||||||
|
@ -30,14 +30,14 @@ AC_CHECK_LIB(z, gzdopen,,
|
||||||
AC_CHECK_HEADERS(sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
|
AC_CHECK_HEADERS(sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
|
||||||
sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
|
sys/stat.h sys/time.h sys/types.h sys/utsname.h sys/wait.h \
|
||||||
assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
|
assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
|
||||||
netdb.h poll.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
|
netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
|
||||||
termios.h unistd.h,,
|
termios.h unistd.h,,
|
||||||
AC_MSG_ERROR([standard system header file not found]))
|
AC_MSG_ERROR([standard system header file not found]))
|
||||||
|
|
||||||
# Find headers that may not be available.
|
# Find headers that may not be available.
|
||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_CHECK_HEADERS(sys/sysmacros.h sys/syslimits.h \
|
AC_CHECK_HEADERS(sys/sysmacros.h sys/syslimits.h \
|
||||||
features.h malloc.h stddef.h)
|
features.h malloc.h poll.h stddef.h)
|
||||||
AC_CHECK_HEADERS(machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
|
AC_CHECK_HEADERS(machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
|
||||||
err.h inttypes.h libgen.h paths.h stdint.h util.h,,
|
err.h inttypes.h libgen.h paths.h stdint.h util.h,,
|
||||||
[test -f include/$ac_header || touch include/$ac_header])
|
[test -f include/$ac_header || touch include/$ac_header])
|
||||||
|
|
Loading…
Reference in New Issue