[x264-devel] commit: Two compatibility fixes (Loic Minier )

git at videolan.org git at videolan.org
Sun Mar 28 04:44:27 CEST 2010


x264 | branch: master | Loic Minier <loic.minier at ubuntu.com> | Wed Mar 10 05:26:46 2010 -0800| [6b585097ec92eb40e5785d8beee8b236781d5d86] | committer: Jason Garrett-Glaser 

Two compatibility fixes
Add IA64 support in configure.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=6b585097ec92eb40e5785d8beee8b236781d5d86
---

 common/display-x11.c |    1 +
 configure            |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/common/display-x11.c b/common/display-x11.c
index d659426..0245f85 100644
--- a/common/display-x11.c
+++ b/common/display-x11.c
@@ -21,6 +21,7 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "display.h"
diff --git a/configure b/configure
index d46d849..0a2eaa7 100755
--- a/configure
+++ b/configure
@@ -393,6 +393,9 @@ case $host_cpu in
   parisc|parisc64)
     ARCH="PARISC"
     ;;
+  ia64)
+    ARCH="IA64"
+    ;;
   *)
     ARCH="$(echo $host_cpu | tr a-z A-Z)"
     ;;
@@ -418,7 +421,7 @@ elif cc_check '' -std=c99 ; then
     CFLAGS="$CFLAGS -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE"
 fi
 
-if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" \) ] ; then
+if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" -o $ARCH = "IA64" \) ] ; then
     pic="yes"
 fi
 



More information about the x264-devel mailing list