diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-03-31 15:43:31 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-03-31 15:43:31 +0000 |
commit | 50e71706dc302a975bc9bc860ddc8a135ba22ca6 (patch) | |
tree | 34d2d4844d07acc5a1be744aff9255fe410f71b7 /Modules/Setup.in | |
parent | 44744e122587af2f9005f0bbb23f18fafcaa8e6e (diff) | |
download | cpython-50e71706dc302a975bc9bc860ddc8a135ba22ca6.tar.gz |
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 447e74bc5e..efd39c2e09 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 |