modifications that were necessary in order to compile liboptv on Mac OS X

mkdir m4
autoreconf
automake --add-missing
autoreconf

Edit configure.ac, add two lines as in the commited version

libtoolize
automake --add-missing
autoreconf
automake --add-missing
autoreconf

./configure CC="gcc -arch i386"
make
make check
sudo make install