Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e4cfcb

Browse files
committed
Unsupport --without-universal-newlines.
1 parent 93344ab commit 7e4cfcb

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ longer:
245245
- Systems defining PY_PTHREAD_D4, PY_PTHREAD_D6,
246246
or PY_PTHREAD_D7 in thread_pthread.h
247247
- Systems using --with-dl-dld
248+
- Systems using --without-universal-newlines
248249

249250
Platform specific notes
250251
-----------------------
@@ -957,7 +958,7 @@ Modules/getpath.o.
957958
any of \r, \n or \r\n is acceptable as end-of-line character.
958959
If enabled import and execfile will automatically accept any newline
959960
in files. Python code can open a file with open(file, 'U') to
960-
read it in universal newline mode.
961+
read it in universal newline mode. THIS OPTION IS UNSUPPORTED.
961962

962963

963964
Building for multiple architectures (using the VPATH feature)

configure

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.374 .
2+
# From configure.in Revision: 1.375 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53 for python 2.3.
55
#
@@ -11653,7 +11653,9 @@ fi;
1165311653
if test -z "$with_universal_newlines"
1165411654
then with_universal_newlines="yes"
1165511655
fi
11656-
if test "$with_universal_newlines" != "no"
11656+
if test "$with_universal_newlines" = "no"
11657+
echo --without-universal-newlines is unsupported, see README
11658+
exit 1
1165711659
then
1165811660
1165911661
cat >>confdefs.h <<\_ACEOF

configure.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,9 @@ AC_ARG_WITH(universal-newlines,
16061606
if test -z "$with_universal_newlines"
16071607
then with_universal_newlines="yes"
16081608
fi
1609-
if test "$with_universal_newlines" != "no"
1609+
if test "$with_universal_newlines" = "no"
1610+
echo --without-universal-newlines is unsupported, see README
1611+
exit 1
16101612
then
16111613
AC_DEFINE(WITH_UNIVERSAL_NEWLINES, 1,
16121614
[Define if you want to read files with foreign newlines.])

0 commit comments

Comments
 (0)