summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorjcorgan2008-06-22 22:56:48 +0000
committerjcorgan2008-06-22 22:56:48 +0000
commit1adf4453962da0c2ebda1a8833ef3b5b849754e3 (patch)
tree6b5d11f3036b934983a1c35bb6ea4f66d184c897 /configure.ac
parentb48de00cfefac61414b0ea568e5014f2794e50cd (diff)
downloadgnuradio-1adf4453962da0c2ebda1a8833ef3b5b849754e3.tar.gz
gnuradio-1adf4453962da0c2ebda1a8833ef3b5b849754e3.tar.bz2
gnuradio-1adf4453962da0c2ebda1a8833ef3b5b849754e3.zip
Added autoconf independent bytesex routines to libgruel.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8654 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f20ca9e4e..529d91e77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,13 +128,16 @@ AC_CHECK_HEADERS(linux/ppdev.h dev/ppbus/ppi.h sys/mman.h sys/select.h sys/types
AC_CHECK_HEADERS(sys/resource.h stdint.h sched.h signal.h sys/syscall.h)
AC_CHECK_HEADERS(netinet/in.h)
AC_CHECK_HEADERS(windows.h)
+AC_CHECK_HEADER(byteswap.h, [GR_HAVE_BYTESWAP=1],[GR_HAVE_BYTESWAP=0])
+AC_SUBST(GR_HAVE_BYTESWAP)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
-AC_C_BIGENDIAN
+AC_C_BIGENDIAN([GR_ARCH_BIGENDIAN=1],[GR_ARCH_BIGENDIAN=0])
+AC_SUBST(GR_ARCH_BIGENDIAN)
AC_STRUCT_TM
dnl Checks for library functions.