--- glusterfs-3.8.7/configure.ac.orig 2017-01-06 15:23:00.285940821 -0500 +++ glusterfs-3.8.7/configure.ac 2017-01-06 15:23:43.169940821 -0500 @@ -726,7 +726,7 @@ [BUILD_FIREWALLD="${enableval}"], [BUILD_FIREWALLD="no"]) if test "x${BUILD_FIREWALLD}" = "xyes"; then - if !(which firewalld 1>/dev/null 2>&1) ; then + if !(test -d /usr/lib/firewalld/services 1>/dev/null 2>&1) ; then BUILD_FIREWALLD="no (firewalld not installed)" fi fi