diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-01-29 13:05:19 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-01-29 13:05:19 +0000 |
commit | 6ddb091a949d1c7ef107307aedf980bc34f6aa57 (patch) | |
tree | ba90499124857ba1d25aba33afaca34310384895 /recordmydesktop/configure.ac | |
parent | 46028c7ea0c7cd37d6c5e6c6196978afc950dce4 (diff) |
added check in configure.ac for machine/endian.h (BSD).
Fixed fpe in FlushBlock
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@268 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/configure.ac')
-rw-r--r-- | recordmydesktop/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recordmydesktop/configure.ac b/recordmydesktop/configure.ac index 4661b60..cfd413d 100644 --- a/recordmydesktop/configure.ac +++ b/recordmydesktop/configure.ac @@ -41,6 +41,12 @@ AC_ARG_ENABLE(oss, esac],[oss=false]) AC_CHECK_HEADER([alsa/asoundlib.h]) +AC_CHECK_HEADER([endian.h],default_endian=true) +if test x$default_endian != xtrue; then +AC_CHECK_HEADER([machine/endian.h], + AC_DEFINE([HAVE_MACHINE_ENDIAN_H],1, + endian.h in $include_path/machine/ subdirectory)) +fi AC_CHECK_HEADER([sys/soundcard.h]) AC_CHECK_HEADERS([sys/time.h unistd.h vorbis/vorbisfile.h fcntl.h]) |