From bc60f44a0577132fda8f2fdc02ad4b3d9e8fb937 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Mon, 24 May 2004 13:54:07 +0000 Subject: [PATCH] Add detection for . (Logical change 1.396) --- config.h.in | 3 +++ configure | 7 ++++--- configure.ac | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/config.h.in b/config.h.in index fcb99e06..8fd0f7b9 100644 --- a/config.h.in +++ b/config.h.in @@ -155,6 +155,9 @@ `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */ #undef HAVE_ST_BLOCKS +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_BYTEORDER_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_ENDIAN_H diff --git a/configure b/configure index a8071ed4..16fc9532 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index fc2064a3..a3084848 100644 --- a/configure.ac +++ b/configure.ac @@ -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