diff -ru libdvdnav-0.1.10.orig/configure libdvdnav-0.1.10/configure --- libdvdnav-0.1.10.orig/configure 2004-06-10 17:13:17.000000000 -0400 +++ libdvdnav-0.1.10/configure 2008-04-22 10:55:11.000000000 -0400 @@ -21464,7 +21464,7 @@ -case "`id`" in +case dontmatch in uid=0\(* ) echo "$as_me:$LINENO: checking for aclocal directory" >&5 echo $ECHO_N "checking for aclocal directory... $ECHO_C" >&6 diff -ru libdvdnav-0.1.10.orig/src/dvdread/bswap.h libdvdnav-0.1.10/src/dvdread/bswap.h --- libdvdnav-0.1.10.orig/src/dvdread/bswap.h 2004-01-11 16:43:13.000000000 -0500 +++ libdvdnav-0.1.10/src/dvdread/bswap.h 2006-03-02 20:38:09.000000000 -0500 @@ -84,6 +84,12 @@ (((x) & 0x000000000000ff00) << 40) | \ (((x) & 0x00000000000000ff) << 56)) +#elif defined(__APPLE__) +#include +#define B2N_16(x) x = OSSwapInt16(x) +#define B2N_32(x) x = OSSwapInt32(x) +#define B2N_64(x) x = OSSwapInt64(x) + #else /* If there isn't a header provided with your system with this functionality