diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-04-16 05:51:02 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-04-16 05:51:02 (GMT) |
commit | e8aea58b99c28bf7404cc9bf292c0a9edd3fd4e5 (patch) | |
tree | 715ead59bc16298152e7cd8e91d8e28c52e8b5a9 | |
parent | 16f9055a9bf1c28bd398ea7b82195d32f8ab44b1 (diff) | |
download | cpython-e8aea58b99c28bf7404cc9bf292c0a9edd3fd4e5.zip cpython-e8aea58b99c28bf7404cc9bf292c0a9edd3fd4e5.tar.gz cpython-e8aea58b99c28bf7404cc9bf292c0a9edd3fd4e5.tar.bz2 |
Move WITH_UNIVERSAL_NEWLINES template into configure.in.
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | configure.in | 3 | ||||
-rw-r--r-- | pyconfig.h.in | 6 |
3 files changed, 8 insertions, 6 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.309 . +# From configure.in Revision: 1.310 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -10949,7 +10949,8 @@ then with_universal_newlines="yes" fi if test "$with_universal_newlines" != "no" then - cat >>confdefs.h <<\_ACEOF + +cat >>confdefs.h <<\_ACEOF #define WITH_UNIVERSAL_NEWLINES 1 _ACEOF diff --git a/configure.in b/configure.in index 7aef29a..de9f216 100644 --- a/configure.in +++ b/configure.in @@ -1455,7 +1455,8 @@ then with_universal_newlines="yes" fi if test "$with_universal_newlines" != "no" then - AC_DEFINE(WITH_UNIVERSAL_NEWLINES) + AC_DEFINE(WITH_UNIVERSAL_NEWLINES, 1, + [Define if you want to read files with foreign newlines.]) fi AC_MSG_RESULT($with_universal_newlines) diff --git a/pyconfig.h.in b/pyconfig.h.in index cb8b1b5..24dc3d1 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -715,9 +715,6 @@ /* Define if you want to compile in cycle garbage collection. */ #undef WITH_CYCLE_GC -/* Define if you want to read files with foreign newlines. */ -#undef WITH_UNIVERSAL_NEWLINES - /* Define if you want to emulate SGI (IRIX 4) dynamic linking. This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), Sequent Symmetry (Dynix), and Atari ST. This requires the 'dl-dld' library, @@ -747,6 +744,9 @@ /* Define if you want to compile in rudimentary thread support */ #undef WITH_THREAD +/* Define if you want to read files with foreign newlines. */ +#undef WITH_UNIVERSAL_NEWLINES + /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN |