Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-07-23 13:46:57 +00:00
parent ed1775bd10
commit 91c3d90e8f
4 changed files with 292 additions and 5 deletions

View File

@@ -68,6 +68,9 @@
/* Define to indicate the ${BKTR_DESCRIP} library version */
#undef HAVE_BKTR_VERSION
/* Define to 1 if byteswap.h macros are available. */
#undef HAVE_BYTESWAP_H
/* Define to 1 if you have the `bzero' function. */
#undef HAVE_BZERO
@@ -586,6 +589,13 @@
*/
#undef HAVE_SYS_DIR_H
/* Define to 1 if your sys/endian.h header file provides the bswap16 macro. */
#undef HAVE_SYS_ENDIAN_BSWAP16
/* Define to 1 if your sys/endian.h header file provides the __swap16 macro.
*/
#undef HAVE_SYS_ENDIAN_SWAP16
/* Define to 1 if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H