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

Skip to content

Commit e8aea58

Browse files
committed
Move WITH_UNIVERSAL_NEWLINES template into configure.in.
1 parent 16f9055 commit e8aea58

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

configure

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.309 .
2+
# From configure.in Revision: 1.310 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53.
55
#
@@ -10949,7 +10949,8 @@ then with_universal_newlines="yes"
1094910949
fi
1095010950
if test "$with_universal_newlines" != "no"
1095110951
then
10952-
cat >>confdefs.h <<\_ACEOF
10952+
10953+
cat >>confdefs.h <<\_ACEOF
1095310954
#define WITH_UNIVERSAL_NEWLINES 1
1095410955
_ACEOF
1095510956

configure.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,8 @@ then with_universal_newlines="yes"
14551455
fi
14561456
if test "$with_universal_newlines" != "no"
14571457
then
1458-
AC_DEFINE(WITH_UNIVERSAL_NEWLINES)
1458+
AC_DEFINE(WITH_UNIVERSAL_NEWLINES, 1,
1459+
[Define if you want to read files with foreign newlines.])
14591460
fi
14601461
AC_MSG_RESULT($with_universal_newlines)
14611462

pyconfig.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,6 @@
715715
/* Define if you want to compile in cycle garbage collection. */
716716
#undef WITH_CYCLE_GC
717717

718-
/* Define if you want to read files with foreign newlines. */
719-
#undef WITH_UNIVERSAL_NEWLINES
720-
721718
/* Define if you want to emulate SGI (IRIX 4) dynamic linking. This is
722719
rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), Sequent Symmetry
723720
(Dynix), and Atari ST. This requires the 'dl-dld' library,
@@ -747,6 +744,9 @@
747744
/* Define if you want to compile in rudimentary thread support */
748745
#undef WITH_THREAD
749746

747+
/* Define if you want to read files with foreign newlines. */
748+
#undef WITH_UNIVERSAL_NEWLINES
749+
750750
/* Define to 1 if your processor stores words with the most significant byte
751751
first (like Motorola and SPARC, unlike Intel and VAX). */
752752
#undef WORDS_BIGENDIAN

0 commit comments

Comments
 (0)