I think we have to implement it when we merge it to master.
Because it's difficult to know for other developers why they can't build it.
How about using AC_CHECK_LIB as a minimum implementation?