r14970: Add configure stuff for Python to tdb and ldb standalone builds.