Guido van Rossum <guido@python.org> writes: > > autoheader: missing template: WITH_UNIVERSAL_NEWLINES > > > > Sorry, I have no idea why. > > I see this too. I'm guessing Jack missed some autoconf detail. > Martin? The "template" is the fragment /* Define if you want to read files with foreign newlines. */ #undef WITH_UNIVERSAL_NEWLINES autoheader generates this from the AC_DEFINE line. If that is not possible because the AC_DEFINE does not provide the docstring, it generates it from acconfig.h. If that is not possible because acconfig.h is not used, it complains (and puts noting into pyconfig.h.in). The fix for this is - AC_DEFINE(WITH_UNIVERSAL_NEWLINES) + AC_DEFINE(WITH_UNIVERSAL_NEWLINES, 1, + [Define if you want to read files with foreign newlines.]) Committed as configure.in 1.311. Regards, Martin P.S. The "1", which is the value this gets if defined, is not strictly necessary. However, explicit is better than implicit.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4