4593670 [rkeene@sledge /home/rkeene/projects/build]$ cat x264.txt
# SHORT DESC: Free H264 Encoder
# LONG DESC: x264 is a free library for encoding H264/AVC video streams. The code is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Måns Rullgård, Radek Czyz, Christian Heine (asm), Alex Izvorski, and Alex Wright. It is released under the terms of the GPL license.

# COMPILE REQUIREMENT: yasm


for opts in {--enable-shared,}_{--enable-pthread,}_{,--disable-asm}_{--enable-mp4-output,}; do
	make distclean >/dev/null 2>/dev/null

	opts=`echo $opts | sed 's@__*@ @g'`
	echo ./configure ${opts}
	./configure ${opts} || continue

	touch CONFIGURE_WORKED
	break
done
if [ ! -f CONFIGURE_WORKED ]; then
	echo 'Could not find working set of configure options, aborting.'
	exit 1
fi

make prefix=/usr libdir="${libdir}" || exit 1

make prefix=/usr libdir="${libdir}" install || exit 1
4593671 [rkeene@sledge /home/rkeene/projects/build]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2012-05-07 00:52:06