Don't perform regex search when CFLAGS isn't set in

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:

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

Merge request reports