I've just installed Homebrew onto my machine, after which I ran
brew doctor which threw up two warnings.
I didn't appear to have the command line tools for Xcode installed, which I have now. The second warning is:
Warning: You have a non-Homebrew 'pkg-config' in your PATH: /opt/sm/pkg/active/bin/pkg-config `./configure` may have problems finding brew-installed packages using this other pkg-config.
What can I do to remedy this?