Add detection for <sys/byteorder.h>.

(Logical change 1.396)
edge.strict_endians
cantab.net!aia21 2004-05-24 13:54:07 +00:00
parent b803a16d8c
commit bc60f44a05
3 changed files with 10 additions and 6 deletions

View File

@ -155,6 +155,9 @@
`HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
#undef HAVE_ST_BLOCKS
/* Define to 1 if you have the <sys/byteorder.h> header file. */
#undef HAVE_SYS_BYTEORDER_H
/* Define to 1 if you have the <sys/endian.h> header file. */
#undef HAVE_SYS_ENDIAN_H

7
configure vendored
View File

@ -20026,14 +20026,15 @@ fi
for ac_header in fcntl.h libintl.h limits.h locale.h mntent.h stddef.h \
stdint.h stdlib.h stdio.h stdarg.h string.h strings.h errno.h time.h \
unistd.h utime.h wchar.h getopt.h features.h endian.h byteswap.h \
sys/endian.h sys/param.h sys/ioctl.h sys/mount.h sys/stat.h \
sys/types.h sys/vfs.h linux/major.h linux/fd.h linux/hdreg.h \
machine/endian.h
sys/byteorder.h sys/endian.h sys/param.h sys/ioctl.h sys/mount.h \
sys/stat.h sys/types.h sys/vfs.h linux/major.h linux/fd.h \
linux/hdreg.h machine/endian.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then

View File

@ -193,9 +193,9 @@ AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h libintl.h limits.h locale.h mntent.h stddef.h \
stdint.h stdlib.h stdio.h stdarg.h string.h strings.h errno.h time.h \
unistd.h utime.h wchar.h getopt.h features.h endian.h byteswap.h \
sys/endian.h sys/param.h sys/ioctl.h sys/mount.h sys/stat.h \
sys/types.h sys/vfs.h linux/major.h linux/fd.h linux/hdreg.h \
machine/endian.h])
sys/byteorder.h sys/endian.h sys/param.h sys/ioctl.h sys/mount.h \
sys/stat.h sys/types.h sys/vfs.h linux/major.h linux/fd.h \
linux/hdreg.h machine/endian.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL