brew doctor: add check for outdated compilers

A common source of build problems on Xcode 4.3+ is outdated compilers,
usually when a user has installed over top of an old version and hasn't
installed the CLT. Since the compilers from the previous Xcode are still
around, brew doctor wouldn't complain.

This adds a hash containing a list of the canonical compiler versions
for supported versions of Xcode, and adds a check against that to determine
whether a given installation has any compilers which are out of date.

Closes #11518.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
openjpeg: switch to configure

Switch the formula to use configure.
Openjpeg can be built using configure or cmake.  They don't install
identically, though.  When built with cmake, one header is absent.
Switching to configure gets us the unversioned one also, i.e.

    openjpeg/1.5.0/include/openjpeg-1.5/openjpeg.h
    openjpeg/1.5.0/include/openjpeg.h

While only three formula currently depend_on openjpeg, they all
contain code that expects the unversioned file, i.e.

    #include <openjpeg.h>

Closes #11576.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
brew-pull: Fix detecting issue #

Fixes a regression introduced in c27a575eb6b2dfc0d662aaab2cf9d754647fbadd
This is why I wish 1.8.x had named captures.
brew-leaves: fix for recent deps overhaul

Fixes #11567.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
fltk: fails with clang

Fixes #11292.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
fltk devel 1.3.x-r9327

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
mtr: clarify caveats, style nits

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Implement <=> for Dependency

Fixes #11587.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
deps: fix --tree for new deps

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Python 2.7.3 + distribute 0.6.26
Python3 3.2.3 + distribute 0.6.26
Don't warn about .o files in lib
media-info 0.7.56

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
atlassian-plugin-sdk 3.9.3

Closes #11588.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
elasticsearch 0.19.2

Includes addition of 'Upgrade from 0.18.x' instructions in caveat.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Fix StandardCompilers check

* Return true if Xcode version is not in hash, not nil
* Use two-digit version numbers for 4.0, 4.2, 4.3
swftools 0.9.2 + add deps on ungif, fftw

* Upgrade swftools to version 0.9.2.
* Add a dep on ungif.
* Add a dep on fftw that is new to this version and used to speed up
resizing 2D images and increase their quality.
* Remove the optional qualifier on lame which had no effect.
* Remove the ENV.minimal_optimization, same reason, and it works.
* Remove the caveat about swfc segfaults on Snow Lep.  It works.
* Add a patch for configure to fix a syntax error in a conftest for
fftw that was causing it to be considered not found.  It now builds
and links all the binaries against libfftwf.dylib.
* The patch is merged in HEAD.  Remove at 0.9.3.  Noted in formula.

Tested on Lion and 64bit Snow Leopard with all five compilers from
XCode-4.3.2 and 4.0.2.

This would fix #11520

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
the_silver_searcher 0.5

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Python checks for pkg-config at configure time
xclip 0.12

Closes #11597.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>