homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dmalcolm
Recipients dmalcolm, georg.brandl
Date 2010年02月22日.23:53:59
SpamBayes Score 1.5557592e-07
Marked as misclassified No
Message-id <1266882841.0.0.727782074241.issue7997@psf.upfronthosting.co.za>
In-reply-to
Content
http://www.python.org/dev/faq/ doesn't seem to explain how to regenerate "configure"
Here's an attempt at answering that question; I hope the following is appropriate and factually correct:
How to regenerate the "configure" script (e.g. to add a new configuration parameter)
Python's "configure" script is generated from "configure.in" from autoconf. Do not edit "configure"; instead, edit "configure.in" and run "autoreconf". You should run "./configure --help" to verify that your changes are documented as expected.
Python's "configure.in" script typically requires a specific version of autoconf. At the moment, this reads:
 version_required(2.61)
If the system copy of autoconf does not match this version, you will need to install your own copy of autoconf and use this.
1. Go to http://ftp.gnu.org/gnu/autoconf/ and download the version of autoconf matching the one in configure.in
 For example:
 $ wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
2. Unpack the tarball:
 $ tar -jxf autoconf-2.61.tar.bz2 
3. Build the specified version of autoconf and install it to a writable location (e.g. within your home directory):
$ pushd autoconf-2.61.tar.bz2
$ ./configure --prefix=$HOME/autoconf-2.6.1
$ make ; make install
This drops a copy of the appropriate version of autoconf into ~/autoconf-2.6.1
4. Go back to the python source and rerun autoconf, pointing PATH at the specific copy of autoconf:
 $ popd
 $ PATH=~/autoconf-2.6.1/bin:$PATH autoreconf
5. "autoconf" should now have updated your local copy of "configure" to reflect your changes.
6. Run "./configure --help" to verify that your changes have been applied
History
Date User Action Args
2010年02月22日 23:54:01dmalcolmsetrecipients: + dmalcolm, georg.brandl
2010年02月22日 23:54:01dmalcolmsetmessageid: <1266882841.0.0.727782074241.issue7997@psf.upfronthosting.co.za>
2010年02月22日 23:53:59dmalcolmlinkissue7997 messages
2010年02月22日 23:53:59dmalcolmcreate

AltStyle によって変換されたページ (->オリジナル) /