From e8aea58b99c28bf7404cc9bf292c0a9edd3fd4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 16 Apr 2002 05:51:02 +0000 Subject: [PATCH] Move WITH_UNIVERSAL_NEWLINES template into configure.in. --- configure | 5 +++-- configure.in | 3 ++- pyconfig.h.in | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 6bd6eca0360..6732c0a9354 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 7aef29a125f..de9f21652cd 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 cb8b1b576e4..24dc3d1a89c 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