diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-03-16 09:38:38 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-03-16 09:38:38 +0000 |
commit | 760a4bdf5dd5679cf17b4eacf8c5e178cec30839 (patch) | |
tree | b98920b0811b6463becf292ceeb6c8a1f24e7b4a /configure | |
parent | 01a31912491efa232e08f71057edb258986b5508 (diff) | |
download | sg3_utils-760a4bdf5dd5679cf17b4eacf8c5e178cec30839.tar.gz |
Add little/big endian specializations to sg_unaligned.h
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@762 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -787,6 +787,7 @@ enable_linuxbsg enable_win32_spt_direct enable_scsistrings enable_nvme_supp +enable_fast_lebe ' ac_precious_vars='build_alias host_alias @@ -1447,6 +1448,7 @@ Optional Features: --disable-scsistrings Disable full SCSI sense strings and NVMe status strings --disable-nvme-supp remove all or most NVMe code + --disable-fast-lebe use generic little-endian/big-endian code instead Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -12301,6 +12303,18 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi +for ac_header in byteswap.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default" +if test "x$ac_cv_header_byteswap_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BYTESWAP_H 1 +_ACEOF + +fi + +done + # check for functions for ac_func in getopt_long @@ -12745,6 +12759,16 @@ _ACEOF fi +# Check whether --enable-fast-lebe was given. +if test "${enable_fast_lebe+set}" = set; then : + enableval=$enable_fast_lebe; +cat >>confdefs.h <<_ACEOF +#define IGNORE_FAST_LEBE 1 +_ACEOF + +fi + + ac_config_files="$ac_config_files Makefile include/Makefile lib/Makefile src/Makefile doc/Makefile scripts/Makefile" |