diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-15 08:13:05 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-15 08:13:05 (GMT) |
commit | c90b17ec8233009e4745dd8f77401f52c5d4a8d5 (patch) | |
tree | d92962c214b958b54437664cc1c3812ced231636 /Makefile.pre.in | |
parent | adcd25e7facaf107bd2b94f33f6b9f818ab6a177 (diff) | |
download | cpython-c90b17ec8233009e4745dd8f77401f52c5d4a8d5.zip cpython-c90b17ec8233009e4745dd8f77401f52c5d4a8d5.tar.gz cpython-c90b17ec8233009e4745dd8f77401f52c5d4a8d5.tar.bz2 |
Patch #1161914: Add python-config.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 5ddcdc2..91d4849 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -826,6 +826,11 @@ libainstall: all $(INSTALL_DATA) Modules/Setup.config $(DESTDIR)$(LIBPL)/Setup.config $(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makesetup $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh + # Substitution happens here, as the completely-expanded BINDIR + # is not available in configure + sed -e "s,@BINDIR@,$(BINDIR)," < $(srcdir)/Misc/python-config.in >python-config + $(INSTALL_SCRIPT) python-config $(BINDIR)/python-config + rm python-config @if [ -s Modules/python.exp -a \ "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \ echo; echo "Installing support files for building shared extension modules on AIX:"; \ |