in configure.ac please change libewf_open to libewf_get_version.
libewf_open is v1 API, libewf_handle_open is v2, libewf_get_version should be in both.
So you suggest we should check for libewf_get_version instead?
If you solely want to detect the presence of libewf on the system, then yes checking for libewf_get_version() works for both the v1 and v2 API.
Fixed in master:
[master ee55152] Fixed detection of libewf v2 API