configure.ac: extract out AX_CHECK_NTL