Bundling schema

php.internals

Sterling Hughes

23 years ago
Hi, Well, since people had some objections about removing Expat entirely. I decided to work on that bundling scheme I was talking about awhile ago. I have a commit pending that achieves this, initially by changing the expat extension. Essentially what it does is separate the bundling of expat itself with the xml extension. By creating ext/bundle and storing expat in ext/bundle/expat, I have the following options cleanly available: ./configure --disable-xml (disables the xml extension, but bundles expat) ./configure --disable-bundle-all (don't bundle any libraries) ./configure --enable-bundle-all (bundle all the libraries) ./configure (bundle defaults) ./configure --disable-bundle-expat --with-expat-dir=/usr/local/ (use the expat libraries in /usr/local/) If no one has any major objections, I'll commit this to cvs. -Sterling
-- "I can't give you a brain, so I'll give you a diploma" - The Great Oz, The Wizard of Oz

Unnamed Person

23 years ago
You got the best way, again...
-- Regards. M.CHAILLAN Nicolas nicos@php.net www.WorldAKT.com Hébergement de sites internets. "Sterling Hughes" <sterling@bumblebury.com> a écrit dans le message news: 1051807268.23351.1203.camel@hasele...

Jani Taskinen

23 years ago
On 1 May 2003, Sterling Hughes wrote:
>By creating ext/bundle and storing expat in ext/bundle/expat, I have the >following options cleanly available: > >./configure --disable-xml > >(disables the xml extension, but bundles expat)
Why?
>./configure --disable-bundle-all > >(don't bundle any libraries)
Huh? There's --disable-all already.
>./configure --enable-bundle-all > >(bundle all the libraries)
This is same as ./configure currently..
>./configure > >(bundle defaults) > >./configure --disable-bundle-expat --with-expat-dir=/usr/local/ > >(use the expat libraries in /usr/local/)
Same is achieved already, WITHOUT that weird '--disable-bundle-expat'. --Jani