* configure.ac: Use much more accurate method to determine whether