configure.ac: we should only create ldb.pc when use the internal ldb