@@ -894,17 +894,28 @@ # autogenerated SWIG header files for fname in filenames: if _is_public_include(fname): - hdrs = { self._domain["proxy.swg"][0]: None } + hdrs = { self._domain["proxy.swg"][0]: None, } + #self._domain["apr.swg"][0]: None, + #fname: None } for h in self._deps[fname].keys(): if _is_public_include(h): hdrs[_swig_include_wrapper(h)] = None else: - hdrs[h] = None + raise RuntimeError, "Public include '%s' depends on '%s', " \ + "which is not a public include! What's going on?" % (fname, h) swig_fname = _swig_include_wrapper(fname) swig_bname = os.path.basename(swig_fname) self._deps[swig_fname] = hdrs