*** ./common/cpu.c.ORIG Fri Apr 8 00:05:20 2011 --- ./common/cpu.c Fri Apr 8 00:05:59 2011 *************** *** 300,305 **** --- 300,312 ---- return X264_CPU_ALTIVEC; } + + #elif SYS_AIX + + uint32_t x264_cpu_detect( void ) + { + return 0; + } #endif #elif ARCH_ARM *** ./configure.ORIG Fri Apr 8 00:07:16 2011 --- ./configure Fri Apr 8 00:08:27 2011 *************** *** 419,424 **** --- 419,429 ---- LDFLAGS="$LDFLAGS -lm" HAVE_GETOPT_LONG=0 ;; + aix*) + SYS="AIX" + LDFLAGS="$LDFLAGS -lm" + HAVE_GETOPT_LONG=0 + ;; *) die "Unknown system $host, edit the configure" ;; *************** *** 820,826 **** CFLAGS="$CFLAGS -fPIC" ASFLAGS="$ASFLAGS -DPIC" # resolve textrels in the x86 asm ! cc_check stdio.h -Wl,-Bsymbolic && LDFLAGS="$LDFLAGS -Wl,-Bsymbolic" fi if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then --- 825,831 ---- CFLAGS="$CFLAGS -fPIC" ASFLAGS="$ASFLAGS -DPIC" # resolve textrels in the x86 asm ! # cc_check stdio.h -Wl,-Bsymbolic && LDFLAGS="$LDFLAGS -Wl,-Bsymbolic" fi if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then *** ./x264.c.ORIG Fri Apr 8 00:06:07 2011 --- ./x264.c Fri Apr 8 00:06:19 2011 *************** *** 29,35 **** #include #define _GNU_SOURCE ! #include #include "common/common.h" #include "x264cli.h" #include "input/input.h" --- 29,35 ---- #include #define _GNU_SOURCE ! #include "getopt.h" #include "common/common.h" #include "x264cli.h" #include "input/input.h" *** ./x264.h.ORIG Fri Apr 8 00:06:25 2011 --- ./x264.h Fri Apr 8 00:06:50 2011 *************** *** 28,34 **** #ifndef X264_X264_H #define X264_X264_H ! #if !defined(_STDINT_H) && !defined(_STDINT_H_) && \ !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) # ifdef _MSC_VER # pragma message("You must include stdint.h or inttypes.h before x264.h") --- 28,34 ---- #ifndef X264_X264_H #define X264_X264_H ! #if !defined(_STDINT_H) && !defined(_STDINT_H_) && !defined(_H_STDINT) && \ !defined(_INTTYPES_H) && !defined(_INTTYPES_H_) # ifdef _MSC_VER # pragma message("You must include stdint.h or inttypes.h before x264.h")