title: Build ffmpeg on OSX
body: <pre><code>./configure --enable-avfilter --enable-filter=movie --enable-gpl --enable-postproc \
      --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis \
      --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libfaac \
      --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --enable-nonfree \
      --enable-shared --enable-pthreads --disable-indevs --cc=/usr/bin/gcc-4.2 --arch=x86_64
  </code></pre>
  
  <p>gives an error:</p>
  
  <blockquote>
    <p>ERROR: libfaac not found</p>
    
    <p>If you think configure made a mistake,
    make sure you are using the latest
    version from SVN.  If the latest
    version fails, report the problem to
    the ffmpeg-user@mplayerhq.hu mailing
    list or IRC #ffmpeg on
    irc.freenode.net. Include the log file
    "config.log" produced by configure as
    this will help solving the problem.</p>
  </blockquote>
  
  <p>but <code>locate faac</code> gives</p>
  
  <pre><code>/opt/local/bin/faac
  /opt/local/include/faac.h
  /opt/local/include/faaccfg.h
  /opt/local/lib/libfaac.0.dylib
  /opt/local/lib/libfaac.a
  /opt/local/lib/libfaac.dylib
  </code></pre>
  
  <p>Any idea how I can tell the configure script how to find libfaac?</p>