Don't perform regex search when CFLAGS isn't set in unixcompiler.py

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-9 into branch/default

Created originally on Bitbucket by dlo (Dan Loewenherz)

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

I was compiling PIL and ran into the following error on Mac OS X Lion:

http://pastie.org/2638071

I change unixcompiler.py to perform a check that cflags is set before performing the regex search.

Merge request reports