diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-04-24 12:58:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-04-24 13:01:08 -0700 |
commit | d3e22572b348e2d20c6c6221dac6b218ed50fd27 (patch) | |
tree | fe19fd75c2604a2e0fba081b0382f793cb85f336 /configure.ac | |
parent | bbb39579ec340aba9cda4c7033dd934b620423ea (diff) | |
download | nasm-d3e22572b348e2d20c6c6221dac6b218ed50fd27.tar.gz |
Clean up byteorder functions
Move byte order handling functions to their own header file, and try
to be more specific about how exactly to handle things.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 8ee20798..26f61f43 100644 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,7 @@ AC_CHECK_HEADERS(stdnoreturn.h) AC_CHECK_HEADERS(io.h) AC_CHECK_HEADERS(fcntl.h) AC_CHECK_HEADERS(unistd.h) -AC_CHECK_HEADERS(sys/param.h) +AC_CHECK_HEADERS(endian.h) AC_CHECK_HEADERS(sys/mman.h) AC_CHECK_HEADERS(sys/types.h) AC_CHECK_HEADERS(sys/stat.h) @@ -165,10 +165,6 @@ AC_SUBST([PDFOPT]) dnl dnl Look for byte-swapping support... dnl -PA_ADD_HEADERS(endian.h asm/byteorder.h) -PA_HAVE_FUNC(__cpu_to_le16, (0)) -PA_HAVE_FUNC(__cpu_to_le32, (0)) -PA_HAVE_FUNC(__cpu_to_le64, (0)) PA_HAVE_FUNC(cpu_to_le16, (0)) PA_HAVE_FUNC(cpu_to_le32, (0)) PA_HAVE_FUNC(cpu_to_le64, (0)) |