summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.in
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-29 05:29:08 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-29 05:29:08 (GMT)
commit3de16f3db4ae7e557719bbc8694598f348f89247 (patch)
tree4fc630d29cb67453a3427fd5c2143b73caf6fb18 /Modules/Setup.in
parentffdc48f45c7f942192ad19c26766207826ba99fd (diff)
downloadcpython-3de16f3db4ae7e557719bbc8694598f348f89247.zip
cpython-3de16f3db4ae7e557719bbc8694598f348f89247.tar.gz
cpython-3de16f3db4ae7e557719bbc8694598f348f89247.tar.bz2
Improve explanation of how to build the pyexpat module.
Diffstat (limited to 'Modules/Setup.in')
-rw-r--r--Modules/Setup.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in
index d59bfcb..abab8e4 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -416,10 +416,16 @@ cPickle cPickle.c
# http://www.jclark.com/xml/expat.html, the current production release is
# always ftp://ftp.jclark.com/pub/xml/expat.zip.
#
-# (Note: the expat build process doesn't yet build a libexpat.a; you can
-# do this manually while we try convince the author to add it.)
+# EXPAT_DIR, below, should point to the expat/ directory created by
+# unpacking the Expat source distribution.
#
-#EXPAT_DIR=/usr/local/src/expat/
+# Note: the expat build process doesn't yet build a libexpat.a; you can
+# do this manually while we try convince the author to add it. To do so,
+# cd to EXPAT_DIR, run "make" if you have not done so, then run:
+#
+# ar cr xmltok/*.o xmlparse/*.o
+#
+#EXPAT_DIR=/usr/local/src/expat
#pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat