configure: Do a real check for -idirafter anyhow.

(The CMake project cheats around this by asking "are we GCC or Clang?" and I'm
inclined to leave it like that for now.)
2 files changed