configure: error: C preprocessor “/lib/cpp” fails sanity check

Trying to build for Android x86 on a Mac. configure fails with the error in the subject.

OS X El Cap 10.11.6
Android NDK r10e
Xcode 8.0 Build version 8A218a
config.log: http://pastebin.com/Rx2Dt8VG

My configure command:
$ ./configure –with-tarballs=/Users/Shared/xbmc-depends/tarballs –host=i686-linux-android –with-sdk-path=/Users/poertel/Library/Android/sdk –with-ndk=/Users/poertel/Library/Android/sdk/ndk-bundle –with-toolchain=/Volumes/android-dev/android/android-toolchain-x86/android-17 –prefix=/Volumes/android-dev/android/xbmc-depends

fwiw, how I built the toolchain:
./make-standalone-toolchain.sh –ndk-dir=../../ –install-dir=/Volumes/android-dev/android/android-toolchain-x86/android-17 –platform=android-17 –toolchain=x86-4.8 –arch=x86 –system=linux-x86_64

Any idea what I’m doing wrong?