# Bundling schema

- Thread: https://externals.io/message/1128
- Original archive: https://news-web.php.net/php.internals/1128
- Started by Sterling Hughes on 2003-05-01T16:41:08+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #1128 — Sterling Hughes — 2003-05-01T16:41:08+00:00

URL: https://externals.io/message/1128#1128

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

---

## #1156 — Jani Taskinen — 2003-05-02T10:25:33+00:00

URL: https://externals.io/message/1128#1156 · In reply to: #1128

>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
