From: Martin v. Löwis Date: Tue, 16 Apr 2002 05:51:02 +0000 (+0000) Subject: Move WITH_UNIVERSAL_NEWLINES template into configure.in. X-Git-Tag: v2.3c1~5923 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8aea58b99c28bf7404cc9bf292c0a9edd3fd4e5;p=thirdparty%2FPython%2Fcpython.git Move WITH_UNIVERSAL_NEWLINES template into configure.in. --- diff --git a/configure b/configure index 6bd6eca03607..6732c0a93540 100755 --- a/configure +++ b/configure @@ -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 7aef29a125fe..de9f21652cd6 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 cb8b1b576e41..24dc3d1a89c7 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