aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-23 13:46:57 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-23 13:46:57 +0000
commit92866521234732bd0266da0ed0483eee919bb345 (patch)
treef546eff309c8edef6b6ee96ee2a96f6591d663d8 /include/asterisk
parentc5fd13bbcdc2e31ca024914388b9fe137d2122ec (diff)
Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76523 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/autoconfig.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in
index 94e8449dd..660649d39 100644
--- a/include/asterisk/autoconfig.h.in
+++ b/include/asterisk/autoconfig.h.in
@@ -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