mirror of
https://github.com/python/cpython.git
synced 2025-08-15 06:10:47 +00:00
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
This commit is contained in:
parent
c8ff46032f
commit
3cef2a931c
9 changed files with 321 additions and 298 deletions
|
@ -6,7 +6,7 @@
|
||||||
defined(PY_MAJOR_VERSION).
|
defined(PY_MAJOR_VERSION).
|
||||||
|
|
||||||
When the major or minor version changes, the VERSION variable in
|
When the major or minor version changes, the VERSION variable in
|
||||||
configure.in must also be changed.
|
configure.ac must also be changed.
|
||||||
|
|
||||||
There is also (independent) API version information in modsupport.h.
|
There is also (independent) API version information in modsupport.h.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -152,7 +152,7 @@ SRCDIRS= @SRCDIRS@
|
||||||
SUBDIRSTOO= Include Lib Misc Demo
|
SUBDIRSTOO= Include Lib Misc Demo
|
||||||
|
|
||||||
# Files and directories to be distributed
|
# Files and directories to be distributed
|
||||||
CONFIGFILES= configure configure.in acconfig.h pyconfig.h.in Makefile.pre.in
|
CONFIGFILES= configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in
|
||||||
DISTFILES= README ChangeLog $(CONFIGFILES)
|
DISTFILES= README ChangeLog $(CONFIGFILES)
|
||||||
DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
|
DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
|
||||||
DIST= $(DISTFILES) $(DISTDIRS)
|
DIST= $(DISTFILES) $(DISTDIRS)
|
||||||
|
@ -1165,7 +1165,7 @@ recheck:
|
||||||
$(SHELL) config.status --recheck
|
$(SHELL) config.status --recheck
|
||||||
$(SHELL) config.status
|
$(SHELL) config.status
|
||||||
|
|
||||||
# Rebuild the configure script from configure.in; also rebuild pyconfig.h.in
|
# Rebuild the configure script from configure.ac; also rebuild pyconfig.h.in
|
||||||
autoconf:
|
autoconf:
|
||||||
(cd $(srcdir); autoconf)
|
(cd $(srcdir); autoconf)
|
||||||
(cd $(srcdir); autoheader)
|
(cd $(srcdir); autoheader)
|
||||||
|
|
|
@ -29,7 +29,7 @@ script to disable certain options. Search for a line that looks like:
|
||||||
|
|
||||||
If your version is not in that list, e.g., 3.9, add the version
|
If your version is not in that list, e.g., 3.9, add the version
|
||||||
number. In this case, you would just need to add a 9 after the 8.
|
number. In this case, you would just need to add a 9 after the 8.
|
||||||
If you modify configure.in, you will need to regenerate configure
|
If you modify configure.ac, you will need to regenerate configure
|
||||||
with autoconf.
|
with autoconf.
|
||||||
|
|
||||||
If your version is already in the list, this is not a known problem.
|
If your version is already in the list, this is not a known problem.
|
||||||
|
|
|
@ -342,7 +342,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
|
||||||
# define SIZEOF_FPOS_T 8
|
# define SIZEOF_FPOS_T 8
|
||||||
# define SIZEOF_HKEY 8
|
# define SIZEOF_HKEY 8
|
||||||
# define SIZEOF_SIZE_T 8
|
# define SIZEOF_SIZE_T 8
|
||||||
/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
|
/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
|
||||||
sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
|
sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
|
||||||
On Win64 the second condition is not true, but if fpos_t replaces off_t
|
On Win64 the second condition is not true, but if fpos_t replaces off_t
|
||||||
then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
|
then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef __sgi
|
#ifdef __sgi
|
||||||
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
|
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.ac */
|
||||||
#undef _POSIX_THREADS
|
#undef _POSIX_THREADS
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
10
README
10
README
|
@ -241,7 +241,7 @@ longer:
|
||||||
- NeXT
|
- NeXT
|
||||||
- Irix 4 and --with-sgi-dl
|
- Irix 4 and --with-sgi-dl
|
||||||
- Linux 1
|
- Linux 1
|
||||||
- Systems defining __d6_pthread_create (configure.in)
|
- Systems defining __d6_pthread_create (configure.ac)
|
||||||
- Systems defining PY_PTHREAD_D4, PY_PTHREAD_D6,
|
- Systems defining PY_PTHREAD_D4, PY_PTHREAD_D6,
|
||||||
or PY_PTHREAD_D7 in thread_pthread.h
|
or PY_PTHREAD_D7 in thread_pthread.h
|
||||||
- Systems using --with-dl-dld
|
- Systems using --with-dl-dld
|
||||||
|
@ -680,10 +680,10 @@ platforms, additional compiler and/or linker options are required for
|
||||||
threads to work properly. Below is a table of those options,
|
threads to work properly. Below is a table of those options,
|
||||||
collected by Bill Janssen. We would love to automate this process
|
collected by Bill Janssen. We would love to automate this process
|
||||||
more, but the information below is not enough to write a patch for the
|
more, but the information below is not enough to write a patch for the
|
||||||
configure.in file, so manual intervention is required. If you patch
|
configure.ac file, so manual intervention is required. If you patch
|
||||||
the configure.in file and are confident that the patch works, please
|
the configure.ac file and are confident that the patch works, please
|
||||||
send in the patch. (Don't bother patching the configure script itself
|
send in the patch. (Don't bother patching the configure script itself
|
||||||
-- it is regenerated each time the configure.in file changes.)
|
-- it is regenerated each time the configure.ac file changes.)
|
||||||
|
|
||||||
Compiler switches for threads
|
Compiler switches for threads
|
||||||
.............................
|
.............................
|
||||||
|
@ -1201,7 +1201,7 @@ RISCOS/ Files specific to RISC OS port
|
||||||
Tools/ Some useful programs written in Python
|
Tools/ Some useful programs written in Python
|
||||||
pyconfig.h.in Source from which pyconfig.h is created (GNU autoheader output)
|
pyconfig.h.in Source from which pyconfig.h is created (GNU autoheader output)
|
||||||
configure Configuration shell script (GNU autoconf output)
|
configure Configuration shell script (GNU autoconf output)
|
||||||
configure.in Configuration specification (input for GNU autoconf)
|
configure.ac Configuration specification (input for GNU autoconf)
|
||||||
install-sh Shell script used to install files
|
install-sh Shell script used to install files
|
||||||
setup.py Python script used to build extension modules
|
setup.py Python script used to build extension modules
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* pyconfig.h.in. Generated from configure.in by autoheader. */
|
/* pyconfig.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
|
||||||
#ifndef Py_PYCONFIG_H
|
#ifndef Py_PYCONFIG_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue