diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-12-19 16:21:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-12-19 16:21:49 (GMT) |
commit | 7e4cfcb6bc6e6913fb69a7964bd61684ca3ad639 (patch) | |
tree | 34c66d8678e1dd36ad7c3c40704a734caf975d01 | |
parent | 93344ab0365c4b55ef895c9fd3873dd06690ca00 (diff) | |
download | cpython-7e4cfcb6bc6e6913fb69a7964bd61684ca3ad639.zip cpython-7e4cfcb6bc6e6913fb69a7964bd61684ca3ad639.tar.gz cpython-7e4cfcb6bc6e6913fb69a7964bd61684ca3ad639.tar.bz2 |
Unsupport --without-universal-newlines.
-rw-r--r-- | README | 3 | ||||
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.in | 4 |
3 files changed, 9 insertions, 4 deletions
@@ -245,6 +245,7 @@ longer: - Systems defining PY_PTHREAD_D4, PY_PTHREAD_D6, or PY_PTHREAD_D7 in thread_pthread.h - Systems using --with-dl-dld +- Systems using --without-universal-newlines Platform specific notes ----------------------- @@ -957,7 +958,7 @@ Modules/getpath.o. any of \r, \n or \r\n is acceptable as end-of-line character. If enabled import and execfile will automatically accept any newline in files. Python code can open a file with open(file, 'U') to - read it in universal newline mode. + read it in universal newline mode. THIS OPTION IS UNSUPPORTED. Building for multiple architectures (using the VPATH feature) @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.374 . +# From configure.in Revision: 1.375 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for python 2.3. # @@ -11653,7 +11653,9 @@ fi; if test -z "$with_universal_newlines" then with_universal_newlines="yes" fi -if test "$with_universal_newlines" != "no" +if test "$with_universal_newlines" = "no" + echo --without-universal-newlines is unsupported, see README + exit 1 then cat >>confdefs.h <<\_ACEOF diff --git a/configure.in b/configure.in index f41b11d..c6fd6a1 100644 --- a/configure.in +++ b/configure.in @@ -1606,7 +1606,9 @@ AC_ARG_WITH(universal-newlines, if test -z "$with_universal_newlines" then with_universal_newlines="yes" fi -if test "$with_universal_newlines" != "no" +if test "$with_universal_newlines" = "no" + echo --without-universal-newlines is unsupported, see README + exit 1 then AC_DEFINE(WITH_UNIVERSAL_NEWLINES, 1, [Define if you want to read files with foreign newlines.]) |