diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-03-31 15:43:31 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-03-31 15:43:31 (GMT) |
commit | b7f105371f05d16a2d724d3662c98550d311bdfb (patch) | |
tree | d588862a55ee9e390812b617c8603c786e9f7a58 /Modules/Setup.in | |
parent | 6a6a77c6af928a266eae7672c4765f1ac5a89603 (diff) | |
download | cpython-b7f105371f05d16a2d724d3662c98550d311bdfb.zip cpython-b7f105371f05d16a2d724d3662c98550d311bdfb.tar.gz cpython-b7f105371f05d16a2d724d3662c98550d311bdfb.tar.bz2 |
Added Python interface to Expat XML parser.
The Setup.in entry is sort of a lie; it links with -lexpat, but
Expat's Makefile doesn't actually build a libexpat.a. I'll send
Expat's author a patch to do that; if he doesn't accept it, this
rule will have to list Expat's object files (ick!), or have a
comment explaining how to build a .a file.
Diffstat (limited to 'Modules/Setup.in')
-rw-r--r-- | Modules/Setup.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Setup.in b/Modules/Setup.in index 447e74b..efd39c2 100644 --- a/Modules/Setup.in +++ b/Modules/Setup.in @@ -425,5 +425,9 @@ cPickle cPickle.c # See http://www.cdrom.com/pub/infozip/zlib/ #zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz +# Interface to the Expat XML parser +#EXPAT_DIR=/usr/local/src/expat/ +#pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat + # Example -- included for reference only: # xx xxmodule.c |