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

Skip to content

Commit 0f4c16e

Browse files
committed
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
1 parent 273cd18 commit 0f4c16e

8 files changed

Lines changed: 12 additions & 10 deletions

File tree

Include/patchlevel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* Python version identification scheme.
33
44
When the major or minor version changes, the VERSION variable in
5-
configure.in must also be changed.
5+
configure.ac must also be changed.
66
77
There is also (independent) API version information in modsupport.h.
88
*/

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ SRCDIRS= @SRCDIRS@
151151
SUBDIRSTOO= Include Lib Misc Demo
152152

153153
# Files and directories to be distributed
154-
CONFIGFILES= configure configure.in acconfig.h pyconfig.h.in Makefile.pre.in
154+
CONFIGFILES= configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in
155155
DISTFILES= README ChangeLog $(CONFIGFILES)
156156
DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
157157
DIST= $(DISTFILES) $(DISTDIRS)
@@ -1137,7 +1137,7 @@ recheck:
11371137
$(SHELL) config.status --recheck
11381138
$(SHELL) config.status
11391139

1140-
# Rebuild the configure script from configure.in; also rebuild pyconfig.h.in
1140+
# Rebuild the configure script from configure.ac; also rebuild pyconfig.h.in
11411141
autoconf:
11421142
(cd $(srcdir); autoconf)
11431143
(cd $(srcdir); autoheader)

Misc/README.OpenBSD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ script to disable certain options. Search for a line that looks like:
2929

3030
If your version is not in that list, e.g., 3.9, add the version
3131
number. In this case, you would just need to add a 9 after the 8.
32-
If you modify configure.in, you will need to regenerate configure
32+
If you modify configure.ac, you will need to regenerate configure
3333
with autoconf.
3434

3535
If your version is already in the list, this is not a known problem.

PC/pyconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
344344
# define SIZEOF_FPOS_T 8
345345
# define SIZEOF_HKEY 8
346346
# define SIZEOF_SIZE_T 8
347-
/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
347+
/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
348348
sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
349349
On Win64 the second condition is not true, but if fpos_t replaces off_t
350350
then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64

Python/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <stdlib.h>
2525

2626
#ifdef __sgi
27-
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
27+
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.ac */
2828
#undef _POSIX_THREADS
2929
#endif
3030
#endif

configure

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision.
2+
# From configure.ac Revision.
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.68 for python 3.1.
55
#
@@ -769,8 +769,7 @@ CFLAGS
769769
LDFLAGS
770770
LIBS
771771
CPPFLAGS
772-
CPP
773-
CPPFLAGS'
772+
CPP'
774773

775774

776775
# Initialize some variables set by options.
File renamed without changes.

pyconfig.h.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* pyconfig.h.in. Generated from configure.in by autoheader. */
1+
/* pyconfig.h.in. Generated from configure.ac by autoheader. */
22

33

44
#ifndef Py_PYCONFIG_H
@@ -1102,6 +1102,9 @@
11021102
/* This must be defined on some systems to enable large file support. */
11031103
#undef _LARGEFILE_SOURCE
11041104

1105+
/* This must be defined on AIX systems to enable large file support. */
1106+
#undef _LARGE_FILES
1107+
11051108
/* Define to 1 if on MINIX. */
11061109
#undef _MINIX
11071110

0 commit comments

Comments
 (0)