a2a721f961
instead of doing AC_CHECK_HEADERS+AC_CHECK_LIB and only using the result of the former. Thanks to Paul Hargrove for reporting the issue (OMPI build with -m32). (cherry picked from open-mpi/hwloc@9549fd59af)